I have trigger Code:  Trigger AutoEmailsending on Order (after update)  {     Map<Id,Order> Orderdetail = new Map<Id,Order>();     Set<Id> Accountid = new Set<Id>();     for(order or1 : Trigger.new)     {         if(or1.Status == 'Submitted' && (or1.Subtype__c =='Offer' || or1.Subtype__c =='ASP'))         {             Orderdetail.put(or1.id,or1);             Accountid.add (or1.accountid);         }     }     List<Attachment> Attachmentlst = [Select Id,                                              ParentId,                                               Name,                                              BodyLength,                                              Body,                                              Description                                          From Attachment                                          where ParentId=:Orderdetail.keyset()];       for (attachment attachmentlst1 : attachmentlst )     {          String Emailaddress = UserInfo.getUserEmail();        Profile[] profiles = [select id from profile where name in ('Sales Rep - France','Sales Rep - Italy')];          String[] values = new String[0];          for(Profile Id: profiles)         values.add(Order_Configuration__c.getInstance(id));           //string SellingOfficePhone = Order_Configuration__c.getInstance().Selling_Office_Phone__c;          String SellingOfficePhone = Order_Configuration__c.getInstance(UserInfo.getProfileId()); String Market = Accountmap.get(Orderdetail.get(attachmentlst1.ParentId).accountid).Market__c;         CCaddress.add(emailaddress);         if(CustomerServiceEmail !=null)         CCaddress.add(CustomerServiceEmail);           Messaging.SingleEmailMessage mail = new                   Messaging.SingleEmailMessage();         mail.setToAddresses(Toaddress);         mail.setCcAddresses(CCaddress);         if(Orderdetail.get(attachmentlst1.ParentId).Subtype__c =='Offer' || Market=='FR')         {             mail.setSenderDisplayName('Trade Order-FR');              ResourceName = 'TC_for_France';             TCname = 'CONDITIONS_GENERALES_DEVENTE.pdf';                     strHtmlBody ='Hi,

';                         strHtmlBody+=+SellingOfficePhone +                       '                    mail.setHtmlBody(strHtmlBody);         }         else         {                  if(!String.isBlank(SellingOfficePhone))                 {                     {                       strHtmlBody +=                         +SellingOfficePhone+                      }                 }                  mail.setHtmlBody(strHtmlBody);         }            Messaging.Emailfileattachment efa = new Messaging.Emailfileattachment();         efa.setFileName(attachmentlst1.Name);         efa.setBody(attachmentlst1.Body);         fileAttachments.add(efa);         Messaging.Emailfileattachment efa1 = new Messaging.Emailfileattachment();         efa1.setFileName(TCname);         efa1.setBody(resources.get(resourceName));         fileAttachments.add(efa1);         mail.setFileAttachments(fileAttachments);         Messaging.sendEmail(new Messaging.SingleEmailMessage[] {mail});      } }   I have a order configuration Custom setting object is there and selling office phone field is there inside order configuration Custom setting object and the value is different for two profiles how do i access the profile value for selling office of custom setting in If and another profile value for selling office in else statement I have Tried so many times ,Anyone Guide me for the Answer


How do non airbenders determine who is the avatar?

The airbenders would use toys to determine the next avatar .  How do the other nations determine the avatar? For example how was it determined Korra was the next avatar?


It is easily proved that prime gaps can be arbitrarily large by constructing the sequence of composites $(n+1)! + 2, (n+1)! + 3, \dots, (n+1)! + (n+1)$, which are divisible by $2, \dots, n+1$ respectively. It is also easily proved that prime gaps of size $n$ do not exist generally: if $n > 1$ is odd, $p_{i+1} - p_i$ is the difference of two odd numbers and is thus even, so $p_{i+1} - p_i \not = n$.   My question is if it is known, generally, whether for even $n \in \mathbb N$, there exists an $i$ such that $p_{i+1} - p_i = n$, and if so how it may be proved.


Why can't I kill the shell using the PID obtained from the $$ special variable?

After I have learned that the $$ special variable holds the process number of the shell, I tried too kill the shell by simply: kill <pid obtained by echo $$>, however this did not work, I also tried some variations, but them also had no effect.


How to return till date part only from a SQL Server datetime datatype

My Source has   Date 2012-01-07   which is a date datatype  My target has  PostDate 2012-01-07 12:34:57.709   which is a DateTime datatype  I need to compare till date in the target to find whether both source  and target has same dates or not   Output  PostDate 2012-01-07


How exact does the wavelength of light have to be to be absorbed by an atom?

I have been reading sources such as  on absorption and emission which make statements such as:     The interesting thing is that each atom will only absorb photons with   exactly the right energy.   I am struggling to understand this because how exact does the energy/wavelength have to be? Would an atom absorb light with a wavelength of 455 nm but not 455.5 nm? or 455.05 nm etc?


Exception in thread "main" java.lang.NullPointerException...???? it was doing in Intellij IDE

public class Login extends JFrame {     private JPanel panel1;     private JButton btnLogin;     private JTextField txtEmail;     private JPasswordField txtPassword;     public static Users users;      public Login(){          initComponent();     } private void initComponent(){         setContentPane(panel1); //here is the problema, Why?         setSize(600,400);         setDefaultCloseOperation(3);         setLocationRelativeTo(null);     }  ![The image is on the link :(][1] [1]: https://i.stack.imgur.com/ar5u8.jpg


Killing form on some Lie algebra $L$ is zero. Is $L$ necessarily nilpotent?

I've solved an exercise in  that said:     Show that if Lie algebra $L$ is nilpotent, then its Killing form is zero.   I'm wondering is the opposite true? In Humphreys, we work mainly with Lie algebras over an algebraically closed field of characteristic zero, so let's assume that.  This is what I've tried:  Let's assume that Killing form is zero. That gives us solvability of $L$, so we know (as a corollary of Lie's theorem) that there is a basis of $L$ in which all matrices in $ad \ L$ are upper triangular. Then, $\kappa(x,y) = tr(ad(x) \ ad(y))$ is a scalar product of diagonals of $ad(x)$ and $ad(y)$ in that basis. If I could show that this somehow implies that for every $x \in L$ diagonal of $ad(x)$ is all zeros, it would follow all eigenvalues of $ad(x)$ are zero and this would imply that $ad(x)$ is nilpotent. Then,  would give us nilpotency.  But I don't know how to do that.


Difference between long and int data types

Considering that the following statements return 4, what is the difference between the int and long types in C++?  sizeof(int) sizeof(long)


Do spells from the Ritual Caster feat need to be prepared when taken by a Cleric?

I split this off from this question:  at the recommendation of comments there because the Cleric's Ritual Caster class feature could have an effect on the answer.  Say I have a Cleric that takes the Ritual Caster feat. Do the spells learned from the feat have to be prepared by the Cleric before being cast as a ritual or do they always have the spells available to cast as a ritual?  My confusion stems from the fact that most of the mechanics from the Ritual Caster feat seems to mirror the way a Wizards casts spells. Wizards are the only class that are specifically allowed to cast spells as a ritual without preparation by default. However, nothing in the feat actually describes that it works the same as Wizard ritual casting or different from it. On top of that, the Cleric Ritual Caster class feature says that ritual spells do have to be prepared.


Why is the effective hard drive size lower than the actual size?

I just got a new Lenovo Laptop which has been installed with Windows 7 and is supposed to have 250 GB hard disk.   Windows 7 reports that the hard disk drive has two parts: 221 GB C: and 9.76 GB Lenovo Recovery. The sum of the two parts is 230.76 GB.  If I remember correctly, if divide 250 GB by 1024 three times, I will get 232.8 GB, which should be what the OS reports as the hard drive size. But why the sum 230.76 GB of the two parts of hard drive is still smaller than 232.8 GB?


In Terminator 2: Judgement Day, how does the T-1000 sense things? It's made of mimetic poly alloy; however, does it have a retinal scan camera like the T-X or T-800, or is just molecules that allow it to see what it does? In other words: let's say it is made out of nanobots. Would a group of these nanobots provide the capability of sight? Kind of like humans with cells that  make up the brain? I have always wondered whether James Cameron explained this on a special edition or if the topic was left up for insight from Terminator fans. From what I get from the whole mimetic poly alloy and some of the extra scenes, it seems to feel its way out to get information. Of course, it's very much not blind! Thoughts?


I used this command:  /testfor @p[score_Room1_min=2,score_Room1=2] {Inventory[{id:minecraft:dye,Damage:1s,tag:{display:{Name:"Body part"}},Count:10b}]}   It all works, but only when I have 10 body parts.  How can I test for at least 10, for example 11 or 12 without needing to make new command blocks?


Assuming the rings of Saturn started out as a disorganized cloud of debris, what forces made these rings so thin and flat? Does frame dragging play a part in this?


I'm using a /tellraw command to display some kind of menu to the player. How can I react to the clickEvent without posting something in the chat? When I try using the scoreboard, I get an output in my chat like this Set score of <objective> for player <playername> to <value>. The same thing happens, when trying /setblock, /entitydata or /trigger Is there any way, I can execute a command which commandblocks can detect without writing a success/fail message in the chat?  the only commands without a "real" response message I found were /say, /tell and /tellraw. But all of these are impossible to detect(also, they write something else in the chat).


apt-get or aptitude equivalent to yum whatprovides

Is there an equivalent to the yum "whatprovides" option in apt-get?   For example on CentOS  yum whatprovides /usr/share/gdm/themes/TreeFlower/background.png   Tells me   redhat-logos-4.9.99-11.el5.centos.noarch : CentOS-related icons and pictures. Repo        : base Matched from: Filename    : /usr/share/gdm/themes/TreeFlower/background.png   Can I get similar functionality on the command line in Ubuntu?


What are instructions on how to download videos from YouTube?    Notice: Terms of Service Violation  Please be aware that by following any of the answers below, you will be violating YouTube's . In particular, from Section 5.B.:     Content is provided to you AS IS. You may access Content for your information and personal use solely as intended through the provided functionality of the Service and as permitted under these Terms of Service. You shall not download any Content unless you see a “download” or similar link displayed by YouTube on the Service for that Content. You shall not copy, reproduce, distribute, transmit, broadcast, display, sell, license, or otherwise exploit any Content for any other purposes without the prior written consent of YouTube or the respective licensors of the Content. YouTube and its licensors reserve all rights not expressly granted in and to the Service and the Content.


Transiting through Canada without going through border control

I will be transiting through Canada on my way to Jamaica. My flight has a one-hour layover. I understand I will not exit the plane into at all during this time. The stop is to drop off and pick up passengers.  My question is, if I'm not exiting the plane or going through border control, do I still require a transit visa?


Google Chrome 35 - Installing older versions of browsers

I have some software that only works with Google chrome 35 and 37.  I want set one of my users up with this software - but I don't know where to find the download for 35 or 37.  Any ideas on a good resource for old browser's?


Why can I see my fingers connected when they haven't touched?

If you take a close look at one of your fingers with one eye, it’s like your finger has an atmosphere with several layers(!):    Now get two of your fingers so close that their atmospheres touch, you see a bridge connecting them that gets wider the more the atmospheres pass through each other


Let $f \in C^2[a,b]$ and $f(a) = f(b) = 0$, $f'(a) = 1$,$f'(b) = 0$, prove that $$\int_a^b|f''(x)|^2\,dx \geq \frac{4}{b-a}$$ Remark:   This question is in the book functional analysis of Peking University; We have$$u(x) = \int_a^xu'(t)\,dt$$so $|u(x)|^2 \leq (b-a)\int_a^bu'(x)\,dx$ by applying the Cauthy-Schwartz inequality. but I cannot get the number 4 I have construct a function of which satisfies the condition using quadratic function，and the infimum is attained, and $4$ is got from differentiating and squaring.


Permission denied: Could not open lock file /var/lib/apt/lists/lock

Earlier I ran apt update and upgrade as a root user and since then this issue is persisting  Running with gitlab-runner 12.3.0 (a8a019e0) on test runner XXXXXXXX Using Shell executor...  Running on IP-XX-XXX-XXX-XXX…  Fetching changes with git depth set to 50... Initialized empty Git repository in /home/gitlab-runner/builds/XXXXXXXX/0/XXXXXXXX/XXXX-XXXX/.git/ Created fresh repository. From http://XX-XXX-XXX-XXX/XXX/XXXX  * [new branch]        master     -> origin/master Checking out 2dca3aec as master... Skipping Git submodules setup  Checking the cache for default... Runtime platform  arch=amd64 os=linux pid=6537 revision=a8a019e0 version=12.3.0  No URL provided, the cache will not be downloaded from the shared cache server. Instead, a local version of the cache will be extracted.  Successfully extracted cache      $ apt-get update -yqq  E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ ERROR: Job failed: exit status 1


Collapse dual carriageway lines in PostGIS

I have OpenStreetMap data, which represents larger roads (e.g. dual carriageways, aka divided highways) as parallel lines.  The question is answered for ArcGIS or Skeletron , for example using ESRI's  or Collapse Dual Lines to Centerline tools.  Does anyone have suggestions for how to do this within PostGIS? I am working on a server without ArcGIS, and would like to avoid the overhead of transferring the data back and forth across machines.  Update The linked question isn't really answered, and is looking for a solution that is not PostGIS. This should be kept open.


We know that the maximum level a dweller can train to on any SPECIAL skill is 10, however this does not consider bonuses given from their outfit.    Is there any additional benefit for going over 10? For example, a dweller with an Intelligence skill of 10 wearing a lab coat that boosts Intelligence by 3?   If it is a hard cap, would it be more useful to use outfits that raise a secondary characteristic instead?


Is this answer stating that an external observer can see a black hole mass grow, correct?

Is this answer from  stating that an external observer can see a black hole mass grow,  correct?   This question (is an external observer can ever see the mass of a black hole increase--motivated by the standard view  that it will take an infinite time for the external observer to see the mass crossing the event horizon) is a question that comes time and again in [different variations][2] but asking basically the same. Many are marked as duplicates and when you go there that one is also marked as a duplicate in an endless loop (well, it ends somewhere). I also see this question is other physics forums. The multiple answers that really try to address the point are always similar: No, we cannot see it grow, or we "see" the mass growing but is actually outside the horizon (but at the same time we can never measure that), and many other variations. Many of the answers actually contradict a little each other. I do not know the actual identity of any of those who answer, and of the few that I know their identity; they are not really experts in the field.   Then I found the only answer different to all of them. It is  and it says that "he new matter to cross a critical surface that is outside the original event horizon of the smaller black hole. This occurs in finite time, even from the external observer's viewpoint, and the black hole simply grows in size" and " The time is infinite in the limit when the mass of the infalling object goes to zero and there's nothing else that makes the black hole grow. So the infalling object is just a "probe".


Different behaviour while comparing double

Hello I know that computer is limited by number precision, and some numbers cannot be represented accurately in binary system. That’s why I'm asking why such comparison  (0.1*3) == 0.3   in Java language evaluates to false while in C it evaluates to true, for me the Java behavior is a little bit more intuitive. Any of provided answers does not answer my question why they have different behaviors, since both use IEEE 754 standard.  @update I was using ideone to test condition.


IEEETran error when loading hyperref [TeX capacity exceeded]

When hyperref is loaded I receive the following error:     TeX capacity exceeded, sorry [input stack size=5000].   However, when I remove hyperref package it compiles successfully. I traced it back and found that \maketitle causes the error but don't know how to fix it. Is there any way to use hyperref in my setup.   Code:       %!TEX TS-program = xelatex     \documentclass[journal,transmag,]{IEEEtran}      \usepackage[hyphens]{url}     \usepackage{hyperref}      \usepackage{xunicode}      \usepackage{fontspec}      \usepackage{polyglossia}     \setmainlanguage{english}     \setotherlanguage{arabic}     \newfontfamily\arabicfont[Script = Arabic]{Amiri} % Replace 'Simplified Arabic' with a font from your system       \begin{document}     \title{A Very Nice Title}      \author{\IEEEauthorblockN{             John Doe\IEEEauthorrefmark{1}}%,~\IEEEmembership{Member,~IEEE}         \IEEEauthorblockA{\IEEEauthorrefmark{1}My address}         % <-this % stops an unwanted space         \thanks{Manuscript received mm dd, 20xx; revised mm dd, 20xx.               }     }      % The paper headers     \markboth{headers...}%     {Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for IEEE Transactions on Magnetics Journals}      \IEEEtitleabstractindextext{%         \begin{abstract}My Abstract.\end{abstract}          % Note that keywords are not normally used for peerreview papers.         \begin{IEEEkeywords}             Key 1, Key 2     \end{IEEEkeywords}}      \maketitle       \IEEEdisplaynontitleabstractindextext     % \IEEEdisplaynontitleabstractindextext has no effect when using     \IEEEpeerreviewmaketitle       \section{Introduction}     English Text      \begin{Arabic}      السَلَامُ عَلَيكُمْ     \end{Arabic}       \end{document}


Galois group of a non-separable polynomial

In my notes, I am given the definition of the Galois group of a polynomial only in the case when the polynomial is separable (if $f$ is a separable polynomial over $K$ with splitting field $L$, then $\mathrm{Gal}(f) = \mathrm{Gal}(L/K)$). This makes sense, since $L$ is a splitting field implies normality, and an extension generated by separable elements is separable, so $L$ is necessarily a Galois extension of $K$.   I should probably tell you that my definition of separable is the one which involves the irreducible factors of the polynomial having distinct roots in a splitting field (I'm aware there's another definition, and that they coincide when defining a separable extension).   When I look around online, I see that the Galois group is defined for any polynomial as the Galois group of its splitting field. Why is the splitting field necessarily Galois?  Thanks


Add manually installed application to 'Show Applications' grid in Ubuntu 18.04

I have manually (from command line) installed a software on my Ubuntu 18.04. How do I add it to the "show applications" grid?


How can I put a vertical line | within the \verb command to get something like this


How do I change the default settings of export operators?

I made a panel with an Export Modified Model STL button. Right now I am using... class Export_STL(bpy.types.Operator):     bl_idname = "diamond.export_stl"     bl_label = "Export Modified Model STL"      def execute(self, context):         bpy.ops.export_mesh.stl('INVOKE_DEFAULT')         self.report({'INFO'}, f"This is {self.bl_idname}")         return {'FINISHED'}  It works but I need the default settings to have "Batch Mode" to Object" and a check on the "Selection Only". How do I write this in the script?


We must prove :$\min\limits_{x+y=1}(x^n+y^n)=\frac{1}{2^{n-1}} $ for all $n \in \mathbb{N}_{>0}$  And to prove this we can use the inequality: $\frac{x+y}{2}\leq (\frac{x^n+y^n}{2})^{\frac{1}{n}}$ where equality is satisfied if $x=y=1/2$  My question is how we can prove inquality: $\frac{x+y}{2}\leq (\frac{x^n+y^n}{2})^{\frac{1}{n}}$ ?


What are good games to "earn your wings" with?

I believe that in order to become a good game developer, you need to make games.   From a programmer's perspective, what are some good entry level games to get your hands dirty? What skills and challenges do each of these games teach you?


JS: when add html dynamically, they go without the event

When I add html dynamically, the new elements go without reference at event. For example:  function create() {     addButton(); } function addButton() {     let button = `<button type='button' class='btn btn-secondary'>Button</button>`;     $('body').append(button); }  $('button').on('click', create);  create(); create(); create();   This script results in 3 buttons. That when clicked adds a new button. But this new buttons when clicked nothing happens, because they have not referenced the "create" function when clicked.  Why?    The buttons that are created when the script runs, have "event". Those that are dynamically created do not.


Prepared states and quantum entanglement

Imagine two entangled quantum particles in the singlet state, one held by Alice and the other by Bob.  Alice and Bob are both widely separated.  Bob measures his spin in some axis and finds it to be up (say).  And that puts his particle now into the prepared state of spin up. Entanglement means Alice, if she were to do a similar measurement would find spin down.  But assume Alice does not actually do any measurement. So does Bob doing his measurement mean that Alice's particle has immediately and spontaneously collapsed into a prepared state of spin down?  Or is the state of her unmeasured particle unchanged?  The literature, and popular press, are both vague and inconsistent on this seemingly important point.


I am confused about using *. The first_example works, but why doesn't the second_example work?  The error states:     UnboundLocalError: local variable 'a' referenced before assignment   What can I do to fix this error?  a, b, c, d, e, f, g, h, i = range(1,10) alphabet = [a, b, c, d, e, f, g, h, i]  def first_example(*alphabet):     j = g + i     print (j)     second_example(*alphabet)  def second_example(*alphabet):     a = a + 1     print (a)  first_example(*alphabet)


Who is the controller of an Aura with Enchant land placed on an opponent's land?

Say I enchant an opponent's land with . Who controls the Psychic Venom, me or my opponent? This is important to know in case I want to sacrifice it to , for example.


404 after transfer from old server to new server in WHM

I've just transferred a domain from one WHM/cpanel server to another newly setup server. I used the WHM transfer function, which seems great. The transfer went fine. No errors.  When I click the new domain's IP in the List Accounts section of WHM, the preview comes back as a 404.


Difference in meaning and use of future perfect forms

What is the difference in meaning and / or use between:     I will have worked here for two years by this time next year.   and     I will have been working here for two years by this time next year.    This is often a point of confusion for students and even 'experts' alike. There could be a number of reasons why a speaker chooses to use either construction:   The rest of the conversation was talking about the future using one form or the other, and to maintain consistency, or even because the speaker had been 'primed' by preceding language The attitude of the speaker reflects their attitude. The use of the progressive could indicate that the speaker feels it's more of a temporary solution.    So, is there a difference in meaning and use? Which one of the above (1 or 2) is more likely? Or is there a third I've not considered?


I am  an Indian citizen holding a valid residence permit for work from Sweden. I want to know how the 90/180 rule works for person holding a valid residence permit within a member state. Does this permit allow them to travel within other Schengen countries? If yes, then how can those 90 days be spent over 180 days? E.g. iIf I travel out from Sweden to another Schengen country only for 2 days, and returning back to Sweden (as per the rule, my stay inside Sweden on valid residence permit is not going to count) Does it mean that I was in Schengen only for 2 days? And I still have 88 days left? Is it possible to divide these 88 days over many trips within Schengen while returning back to Sweden after any short trip? Am I allowed to make my second trip after spending 2 months in Sweden as long as I'm not exceeding the 90 days limit?


how can i remove Lenovo thinkcentre m93p bios administrator password

I have a thinkcentre m93p. I don't know administrator password. Maybe it is default password. I want to install windows 10 via usb but i can't open boot menu because bios ask me password but i don't know. I removed bios battery for 10-15 minutes. I put back. It is not work. How can i remove/reset bios password?


I open Chromium and the browser ask me if I want to set it as my default browser. I click on "set as default" and close the browser.  But when I open Chromium again I get the same question. Ubuntu 11.04 seems not to set Chromium correctly as my default browser.  How to fix that?


On what Stack Exchange site should I ask tech/platform questions like this one?

Where should I ask this?     I need some help making some tech choices, and I'm not sure where else   to turn.      I realize answers to this question could be influenced by personal   opinion, but that's okay. I'm actually hoping to hear those opinions.      My challenge is this:      I am trying to develop a platform upon which non-engineers can produce   custom reports against transaction-level data. I have access to a data   team that maintains a data warehouse, which can be used to structure   data for said reports. The trick is, working out a platform that   supports the following criteria:      Primary Criteria      The data and presentation should be separate concerns. So, the report   builder would ideally not have to be terribly technical, and would   just be building a report template, if that makes sense.       I should be able to email the report to a user as either a link to an online   report, or as a static "PDF" version of the report. The sending of   emails would be triggered by application-level events.      Secondary Criteria      It would be wonderful if the reports could also be executed in an   offline state. That is, without requiring an internet connection. For   example, a JavaScript-generated report with JSON data objects behind   it.       An HTML-to-PDF generator that understands and honors bootstrap   styles, div elements, etc. That is, not having to write everything in   tables. I've used ABCPdf by webSupergoo and Aspose.Pdf, but both seem   to rely heavily on the use of tables, and struggle with bootstrap.


C - malloc doesn't allocate the requested memory

I've made a struct, and I wanted to make an array of that struct, I tried allocating memory using malloc() but it doesn't seem to allocate the requested memory.  #include<stdio.h> #include<stdlib.h>  typedef struct Players{     int level_;     char name_[15];     float progress_;     float health_; } player;  int main() {     player *n =  malloc(2 * sizeof(player));     printf("%d \n", sizeof(n));      free(n);      return 0; }   the allocated memory is 8, instead of 56.  Am I missing something?


Does $\lim_{n \to \infty} a_n = \alpha$ imply $\lim \left(1+ \frac {a_n}{n} \right) =e^\alpha$ for real value

Does $\lim_{n \to \infty}  a_n = \alpha$   imply $\lim_{n \to \infty} \left(1+ \frac {a_n}{n} \right)^n =e^\alpha$? I'm only considering real value and also, does the value of $\alpha$ makes a difference?\ I tried considering $$\left|\left(1+ \frac {a_n}{n} \right)^n-e^\alpha\right|\leq\left|\left(1+ \frac {a_n}{n} \right)^n-\left(1+ \frac {\alpha}{n} \right)^n\right|+\left|\left(1+ \frac {\alpha}{n} \right)^n-e^\alpha\right|$$ I know that for any fixed $\alpha$, $\left|\left(1+ \frac {\alpha}{n} \right)^n-e^\alpha\right|$ tends to zero. But I don't know how to deal with $$\left|\left(1+ \frac {a_n}{n} \right)^n-\left(1+ \frac {\alpha}{n} \right)^n\right|$$, I tried binomial expansion but didn't get anywhere. Is this where the value of $\alpha$ come to matter？ Thanks


Tangent Space of Symmetric Matrices vector space

In Loring Tu's Introduction to Manifolds, the author states:      "The tangent space of $S_n$ [the space of symmetric $n\times n$   matrices] at any point is canonically isomorphic to $S_n$ itself,   because $S_n$ is a vector space."   There are several questions on Math stackexchange, but in all of those that I've seen, the answers are either incomplete, leaving aside details that shouldn't - specially for someone who is learning this by themselves - or they are too terse and confusing. Also, they usually assume that we can differentiate the determinant. When Tu writes the sentence above, he still hasn't talked about what's the differential of a determinant.  So, I'm looking for a complete proof, with an effort from the author to be as clear as possible, and without using the differential of the determinant. This last condition is not binding.   Thanks.


So I'm learning C++.  I've got my "C++ Programming Language" and "Effective C++" out and I'm running through Project Euler.  Problem 1...dunzo.  Problem 2...not so much.  I'm working in VS2008 on a Win32 Console App.  Whats the Sum of all even terms of the Fibonacci Sequence under 4 million?    It wasn't working so I cut down to a test case of 100...  Here's what I wrote...  // Problem2.cpp : Defines the entry point for the console application. //  #include "stdafx.h" using namespace std;  int _tmain(int argc, _TCHAR* argv[]) {     cout << "Project Euler Problem 2:\n\n";     cout << "Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:\n\n";     cout << "1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...\n\n";     cout << "Find the sum of all the even-valued terms in the sequence which do not exceed four million.\n\n";     cout << "Answer:  " << Solve(); }  double Solve() {     int FibIndex = 0;     double result = 0.0;     double currentFib = GenerateNthFibonacciNumber(FibIndex);     while (currentFib < 100.0){         cout << currentFib << " " << (int)currentFib << " " << (int)currentFib % 2 << "\n";         if ((int)currentFib % 2 == 0){             result += currentFib;             cout<<(int)currentFib;         }         currentFib = GenerateNthFibonacciNumber(++FibIndex);     }     return result; }  double GenerateNthFibonacciNumber(const int n){     //This generates the nth Fibonacci Number using Binet's Formula     const double PHI = (1.0 + sqrt(5.0)) / 2.0;     return ((pow(PHI,n)-pow(-1.0/PHI,n)) / sqrt(5.0)); }   And here's the output...     Project Euler Problem 2:      Each new term in the Fibonacci   sequence is generated by adding the   previous two terms. By starting with 1   and 2, the first 10 terms will be:      1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...      Find the sum of all the even-valued   terms in the sequence which do not   exceed four million.      0 0 0  1 1 1  1 1 1  2 2   0 3 3 1 5 5 1 8 8 0 13   13 1 21 21 1 34 34 0 55 54   0 89 89 1 Answer:  99   So I have three columns of debug code...the number returned from the generate function, (int)generatedNumber, and (int)generatedNumber  % 2  So on the 11th term we have  55,54,0  Why does (int)55 = 54?


Ubuntu 16.04 memory full due to /var/log/cups/error_log

After recently updating from 14.04 to 16.04, I tried to update to 18.04. However, when I try to do this, it keeps on failing presumably because of no disk space. When I click "Properties" on the "Computer" tab in "Files", it says that I have absolutely no free disk space, which I found strange because I transferred 40GB to a hard disk just before trying to update to 18.04 for the first time. I only just realized that memory could be a problem, but till now, I have tried to update to 18.04 multiple times.   When I do dpkg -l linux-headers-\* linux-image-\* | grep ^ii, I get the following, probably because I tried to update to 18.04 a lot of times:  ii  linux-headers-4.4.0-141             4.4.0-141.167        all          Header files related to Linux kernel version 4.4.0 ii  linux-headers-4.4.0-141-generic     4.4.0-141.167        amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP ii  linux-headers-4.4.0-142             4.4.0-142.168        all          Header files related to Linux kernel version 4.4.0 ii  linux-headers-4.4.0-142-generic     4.4.0-142.168        amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP ii  linux-headers-generic               4.4.0.142.148        amd64        Generic Linux kernel headers ii  linux-image-3.16.0-43-generic       3.16.0-43.58~14.04.1 amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP ii  linux-image-4.4.0-141-generic       4.4.0-141.167        amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii  linux-image-4.4.0-142-generic       4.4.0-142.168        amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP ii  linux-image-extra-3.16.0-43-generic 3.16.0-43.58~14.04.1 amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP ii  linux-image-extra-4.4.0-141-generic 4.4.0-141.167        amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP ii  linux-image-extra-4.4.0-142-generic 4.4.0-142.168        amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP ii  linux-image-generic                 4.4.0.142.148        amd64        Generic Linux kernel image   Is the existence of so many images and headers causing the memory full issue? If yes, how do I delete the proper ones?  The cause for the memory full issue is that my /var/log/cups/error_log is 86GB! Can I just delete this or is there a better and safer solution?


How do I linearly interpolate between two vectors?

I have a velocity vector where my client is at and where its going, and I have the same vector that comes from the server telling where the client should be. Sometimes its a bit different, so I want to interpolate between my current position to the server correct position.    The black arrow is the client velocity vector, the red arrow is the client velocity  vector on the server and the blue arrow is the one that I want to calculate and interpolate to.  How do I calculate the blue vector? Then, how can I linear interpolate between them?


I have only Ubuntu 16.04 (no Partitions) running on my MacBook (My model is A1181) but I would like to install macOS, replacing Ubuntu. How should I go about doing this?


Where should I ask an "identify-this-music-video-clip" question?

I vaguely remember a video clip from a decade or so.. I need help from community to identify it (the band and the song).  Where should I ask for help ?


$f:\mathbb{R} \to \mathbb{R}$ be differentiable and $\lim\limits_{x\to\infty}f'(x)=1$, is $f(x)$ unbounded?

Suppose $f:\mathbb{R} \to \mathbb{R}$ is a differentiable function such that $\lim\limits_{x\to\infty}f'(x)=1$,then is it true necessarily true that $f(x)$ unbounded?   I think that it will always intersect $y=c$ for every $c\in \mathbb{R}$ and thus cannot be bounded!


To find positive integers $n$ such that $\dfrac {n(n+1)(n+2)}6$ is a perfect square

How many positive integers $n$ are there such that $\dfrac {n(n+1)(n+2)}6$ is a perfect square ? I know $n=1 , 2$ works ; are there any more ? Are there only finitely many such $n$ ?


It is a  and the other day it stopped charging.    The charger seems to have some output since one of the LEDs on the battery lights up. It is only one LED though and I believe I remember the other LEDs (in the column of LEDs) light up in a fashion when charging. I only measure 5V of output from the charger which might, or might not mean something. The charger can be so cunning as to output only a low voltage until it has found out a proper Bosch battery is attached and is ready to be charged.  I have tried taking the battery out of the charger and depress the button for 10 seconds as I have been told it resets the battery but to no avail. I have unplugged the charger, waited for some time, and replugged. Nothing is running hot, not battery nor charger.    I am taking both battery and charger back to the shop but before that, is there another trick or check?    For future reference I add what has happened so far: The dealer has software with a license dongle s/he had to buy from Bosch. S/he connected a computer and saw some logs about the battery being too hot (I am certain it has not been) or cold (inprobable) and it being bricked due to hardware failure. S/he saved the log and then resetted the battery. I can now use the battery again. Bosch has commented the error log with "no danger". So Bosch bricked my (very expensive) battery without any reason and then forced me (the dealer) to pay for a solution. That is not serious business.


If I currently have 700x23/25C tires on my bike, will 700x35C winter tires fit?

I understand that the first number is the tire diameter, so on that part I know it will fit, and that the second number is the tire width and that's my main concern.  I want to put winter tires on my bike and all the studded winter tires that I find are 35C. Will they fit on my wheels if I currently use 23C and 25C?


After watching some of DC's animated movies (Under the Red Hood and The Dark Knight Returns), I began wondering: Why don't other super heroes such as those in the Justice League help Batman? Or for that matter, why does each hero, in his or her own respective storyline, have to bear the burdens of crimefighting on their own shoulders?   While watching Batman getting brutally beaten in fights, I couldn't help but ask: Where the hell is Superman and co.?  Sorry if this question is out of place or is unnecessary. I've always just been curious about this.


How to change the position of x ticks from outside of chart frame to inside to the chart frame?

I want to have the marks on the x axis at the same position as in the left plotted figure.  \begin{figure}[ht!] \begin{tikzpicture}         \begin{axis}[width=7.5cm,                     ymin=0,                     xmin=0,                     xlabel=Zeit t\,/\,min,                     ytick={0,25,100,160,250},                     ylabel=Temperatur T\,/\,$^{\circ}$C,]             \addplot table[x=Zeit,y=Temperatur] {Daten/V27.csv};         \end{axis} \end{tikzpicture} \begin{tikzpicture} \begin{axis}[ybar,             width=7.5cm,             symbolic x coords={1,2,3,4,5,6,7,8},             xtick=data,             ymin=4.5,             ymax=6,             xlabel=Probennummer,             ylabel near ticks,             %xlabel near ticks,                         ylabel= Scherfestigkeit F\,/\,MPa,]              \addplot[fill=blue] coordinates {                 (1,5.30)                 (2,5.84)                 (3,5.64)                 (4,5.56)                 (5,4.69)                 (6,4.95)             }; \end{axis} \end{tikzpicture} \caption{Aufgezeichnete typische stress--strain Kurve und Mittelwerte der Scherergebnisse} \label{fig:anpress_scher} \end{figure}


Does XeLaTeX automatically select optical sizes for a given font, if available?

I've been intrigued by a great feature of XeLaTeX (perhaps it was already a feature of (La)TeX) for a long time -- its ability to automatically select the appropriate optical size of a font for a specific part of the text.  At least it seems to me -- when I open a PDF in Adobe Reader, it shows caption, display, regular, even semibold, etc.  So far I haven't come across a clear mention of it, so, does XeLaTeX really automatically select optimal optical sizes, and how?


Are ESD safe tools necessary with proper setup?

My current setup is an ESD mat and ESD wristband both connected via alligator clips to unpainted screws that are screwed into a secondary PC power supply (not mounted in a PC case.) This power supply is then connected to an outlet. Would this be a good solution to be safe from static discharge and component safety from it?   I use regular screwdrivers and some of them are from a gunsmithing set, some from an electronics set. Would these screwdrivers cause damage since they are not specified ESD safe? Wouldn’t me touching the screw drivers ground them to the same level as me?  Is this a good set up to prevent ESD damage to components?  Are ESD safe screwdrivers and tools necessary in this case?


Horde progression through the new Azeroth

So, Azeroth got shattered earlier this week.  Before the order of zones by level used to be something like: Kalimdor: Starting zone, The Barrens, Ashenvale, Thousand Needles Eastern Kingdoms: Starting zone, Silverpine, Hillsbrad, Alterac / Arathi / Stranglethorn  However, these zones, at least in Kalimdor, no longer connect this way.  What is the expected progression through the zones now?  Note: I'm actually curious all the way up to 60, but I understand the tree gets a lot more complicated if you go that far, as the number of zones of those levels increase.


Is Microsoft Access An Appropriate SO topic

Is SO an appropriate form to discuss the front end of Microsoft Access, specifically, Macros SQL, forms and VBA code? I know to keep Access DBA questions on Database Administrators, without any front-end design questions.


I am stuck in this problem of integrating $e^{x^2}$. I was solving the linear differential equation of second order for damped oscillations in which i got this to solve


How can I put a bit mask on /dev/zero so that I can get bytes other than zero?

How can I put a bit mask on /dev/zero so that I can have a source not only for 0x00 but also for any byte between 0x01 and 0xFF?


How to modify the system default background image

I am about to ship a new 10.04 installed system to a customer. This is the 1st system that we are shipping with our preinstalled software and an additional hardware test platform, so I thought it would be a nice idea to have the desktop wallpaper include our company's logo.  What I want to do is just to add the logo to the default background image. the questions are:   Where are the set of backgrounds stored? What are the rules for creating a custom background from scratch? If I create a background from scratch, how do I add it to the system's background set (i.e., not just save it in the user's Pictures directory - I want it to be available to all future users of the machine)?


Word that means "reduce to unique parts"

I'm working on a program that essentially removes all duplicates from a list, i.e. reducing the list to its unique components. Is there a single word or small compound word that conveys this transformation?


Yesterday, I installed Ubuntu 16.04 onto an LG laptop. Everything is working fine except the wireless connection. When I'm closer to the router, the connection is fast, but in my room the wireless is very slowly.  In Windows, I don't have this problem, but I don't want to use that system anymore.  Here is some output of lspci  00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) 00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04) 00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) 00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04) 00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) 00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) 00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) 00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04) 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) 00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04) 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723AE PCIe Wireless Network Adapter 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)`   I tried the driver suggested on , but unfortunately there was no improvement with that driver, the pages are slow to load, and the download rate is 200 – 300kbps (in Windows it was 1.0 – 1.1Mbps).  Is there any other alternative for this wireless      01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723AE PCIe Wireless Network Adapter 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)


Was Messi's Penalty Kick against Celta de Vigo in La Liga 2016 considered a miss?

Was Messi's Penalty Kick against Celta de Vigo in La Liga 2016 considered a miss, according to FIFA rules?  In  it's established that it is possible to 'pass' a penalty kick, however does it count as a miss?


Should I add $C$ (constant of integration) before or after calculation (or does it matter)?

For example, determine  $\int \left(\frac{1}{2x+1}\right)dx$.  Given that $f(x)$ = $\ln(2x+1)$ and $f'(x)$ = $\ln\left(\frac{2}{2x+1}\right)$.  Would this be $\frac{1}{2} \int\left (\frac{2}{2x+1}\right)dx = \frac{1}{2} (\ln(2x+1) + C)$ or  $\frac{1}{2} \int\left (\frac{2}{2x+1}\right)dx = \frac{1}{2}  (\ln(2x+1)) + C$?


How to produce a pretty plot of the results of k-means cluster analysis?

I'm using R to do K-means clustering. I'm using 14 variables to run K-means   What is a pretty way to plot the results of K-means?  Are there any existing implementations? Does having 14 variables complicate plotting the results?    I found something called GGcluster which looks cool but it is still in development.  I also read something about sammon mapping, but didn't understand it very well. Would this be a good option?


I was not able to find the answer for this myself.  As cron uses /bin/sh, im getting Syntax error's. I have a cron job, which uses the following command in it  2,17,32,47 * * * * tar -czvf /opt/SOMEFILES /var/lib/$(date +"%Y/%m/%d")  OR  2,17,32,47 * * * * tar -czvf /opt/$(date +"%Y/%m/%d")/somefiles /var/lib/$(date +"%Y/%m/%d")  Basically, this is just an example, the real cron job is a little different. Tried to give some type of an example.  $(date +"%Y/%m/%d") This is the part i am not sure how to use in Cron.  How could i use it in cron?  the curdate could even be a folder where it goes.


Show that $a^2 \bmod b = (a \bmod b)^2 \bmod b$

Show that  $$a^2 \mathrm{\ mod \ } b = (a \mathrm{\ mod \ } b)^2 \mathrm{\ mod\ } b$$ for $ a, b \in \mathbb{Z}^+ $.  this was derived from an Informatics olympiad question.


I am traying to make a mirror modifier popup, and i'ts working for the most part, but is saving the ''previous operations'' When i call it the first time it works as intended, i can choose the axis that it will mirror, but after if i call it again and press any button it will apply all the settings i have choosen previously. Can i reset it everytime or something?. Also, isn't there any better way to make modifiers popup instead of having to make all of it manually?  class DC_MT_popup_mirror(bpy.types.Operator):     bl_idname = "popup.dc_mirror"     bl_label = "Mirror Popup"     bl_space_type = "VIEW_3D"           def execute(self, context):        pass               def invoke(self, context, event):         wm = context.window_manager                return wm.invoke_popup(self, width=100)         return {'FINISHED'}                 def draw(self, context):         layout = self.layout         row = layout.row()                  layout.label(text="Mirror")                                row = layout.row()         row.operator('3dview.dc_mirror', text= "X").x_axis = True         row.operator('3dview.dc_mirror', text= "Y").y_axis = True         row.operator('3dview.dc_mirror', text= "Z").z_axis = True                       return {'FINISHED'}           class DC_OT_mirror_add(bpy.types.Operator):     bl_idname = '3dview.dc_mirror'     bl_label = 'Mirror Axis'              x_axis : bpy.props.BoolProperty(name = "X Axis", default = False)     y_axis : bpy.props.BoolProperty(name = "Y Axis", default = False)     z_axis : bpy.props.BoolProperty(name = "Z Axis", default = False)               #pos_axis :bpy.props.IntProperty(name = "X Axis", default = -1)          def execute(self, context):         ob = context.object         #x = x_axis                                                 if "dcMirror" not in ob.modifiers:             ob.modifiers.new(name="dcMirror", type='MIRROR')             ob.modifiers["dcMirror"].show_on_cage = True             ob.modifiers["dcMirror"].use_axis[0] = False             ob.modifiers["dcMirror"].use_clip = True                              if self.x_axis:             ob.modifiers["dcMirror"].use_axis[0] = self.x_axis             ob.modifiers["dcMirror"].use_bisect_axis[0] = self.x_axis                                           if self.y_axis:               ob.modifiers["dcMirror"].use_axis[1] = self.y_axis             ob.modifiers["dcMirror"].use_bisect_axis[1] = self.y_axis             ob.modifiers["dcMirror"].use_bisect_flip_axis[1] = self.y_axis                      if self.z_axis:               ob.modifiers["dcMirror"].use_axis[2] = self.z_axis             ob.modifiers["dcMirror"].use_bisect_axis[2] = self.z_axis                                          return {'FINISHED'}                       classes = (     DC_MT_popup_mirror,     DC_OT_mirror_add,    ) register, unregister = bpy.utils.register_classes_factory(classes)    if __name__ == "__main__":     register()```


Why there is ban on user having reputation below 15 to post image?

I am thinking about what happens when new people join Stack Overflow.  When they ask questions, sometimes they need to post a screenshot, but they can't do that; sometimes they feel that Stack Overflow can't help them.  Why do you need 15 points to post an image?


How to configure Win10 so it's safe to leave machine unattended for 30 minutes?

This is beyond maddening. I have been using Windows since the early 90s. I've never seen something so horribly designed.  I recently abandoned my beloved Win7, because security. I can mostly live with Win10's shortcomings. Except for this one. Today at 5pm I walked away from my machine for 30 minutes. Come back at 5:30pm to this popup telling me I have 4 minutes to prevent a reboot that I never asked for. And yes, I took this photo with a camera, since the popup commandeered all other input on my machine.  What if I was running a super important task that took 72 hours to complete and it was 99% finished? Is MS really ok with just forcefully rebooting client machines on a moment's notice? This is almost enough to make me stop using Windows entirely (I already have Linux and OSX machines, I only use Windows for gaming mostly).


Please show reputation when hovering over a user name in the flag queue (or flag view on a post) like you do for comments

When reviewing flags, either from the queue or from the flagged post, I often want to know what the flagger could have done in addition to, or instead of, flagging for mod attention.  Does he have the rep to downvote?  To comment?  To vote to delete?  Knowing this doesn't necessarily affect how I handle the flag, but if there's a possible teaching moment there I use the flag response to point it out.  But I can't find this out unless I click through to the user's profile (unless I already know this user, of course).  Would it be possible to get the flagger's reputation in a tooltip, like what's already done for comments?


Evaluate the limit $\lim_{n\rightarrow \infty}\frac{1}{\sqrt{n}}\left(1+\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{3}}+\ldots+\frac{1}{\sqrt{n}}\right)$

Evaluate the limit $\displaystyle \lim_{n\rightarrow \infty}\frac{1}{\sqrt{n}}\left(1+\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{3}}+\ldots+\frac{1}{\sqrt{n}}\right)$, without using a Riemann sum   $\bf{My\; Try:}$ Using the graph of $\displaystyle f(x) = \frac{1}{\sqrt{x}}\;,$ we get  $$\int_{1}^{n+1}\frac{1}{\sqrt{x}}dx <\left(1+\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{3}}+\ldots+\frac{1}{\sqrt{n}}\right)<1+\int_{1}^{n}\frac{1}{\sqrt{x}}dx$$  So we get $$2\sqrt{n+1}-2<\left(1+\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{3}}+\ldots+\frac{1}{\sqrt{n}}\right)<2\sqrt{n}-1$$  So $$\lim_{n\rightarrow \infty}\frac{2\sqrt{n+1}-2}{\sqrt{n}}=2<\lim_{n\rightarrow \infty}\frac{1}{\sqrt{n}}\left(1+\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{3}}+\ldots+\frac{1}{\sqrt{n}}\right)<\lim_{n\rightarrow \infty}\frac{2\sqrt{n}-1}{\sqrt{n}} = 2$$  So using the Sandwich Theorem, we get $\displaystyle \lim_{n\rightarrow \infty}\frac{1}{\sqrt{n}}\left(1+\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{3}}+\ldots+\frac{1}{\sqrt{n}}\right)=2$  My question is can we solve it by using any other method? If yes then please explain it here.


Comma needed in 30-day, money-back guarantee?

Is a comma needed in the phrases '30-day, money-back guarantee' and '90-day, no-risk trial'?  If so, why? If not, why not?  I see them written both ways -- that is, with and without the comma -- but certainly one way has to be more correct than the other way.  Thanks for any feedback.


Should I include information about my mental health in my masters personal statements?

I graduated in 2016 with a 2:2, which I feel was lower than what I could have achieved.  I had had some minor issues before starting university, however I had an amazing support system and managed to get these in check. I completed my first year with only the normal issues (homesickness at first and adjusting to living away from home) until just before the end. I failed the last two exams of the year, partly due to the same issues that reoccurred later.   I had been struggling with one of my elective modules and after talking with my tutor, he recommended not worrying about it as I could fail 20 credits and as a 10 credit module, it would not affect my grade. However, the day of I woke up and completely panicked, zoning in and out all morning. I walked to the exam, and blanked and ended up in my department building instead of the exam hall, which was 20 minutes away and I had to run down a very steep hill to make it to the exam. But I made it and sat the exam.  I injured my knee while running. The problem with this is that my main coping method is exercise and I was on crutches. I then managed to completely space out for the last exam of the year. Meaning I failed both these modules, which was my 20 credit allowance. Despite this I averaged a high 2:1 for the year.  I went into my second year, with added roles and responsibilities. I had lived in catered accommodation in first year and moved to self catered in my second year. I became the social secretary of the physics society and started another sport (total of three) I had been a super human in my first year and wanted to do more. This turned out to be a bad idea, as my mental health started to decline, and my grades took a hit.  I then tried to pull them back up in my third year, but poor living conditions caused a physical health decline, which then exacerbated the mental health problems to a point where some days I couldn't get out of bed.  The main problem being that in my third year I was living with some really shitty people and they were really scathing of mental health issues, meaning I didn't seek the help I needed and am now getting and didn't apply for special circumstance. Hindsight really is 20:20.  I have taken time out of my career to get this sorted and to make sure that I am taking the right path for me. I have now ruled it down to three possible paths and want to apply to see what I can do.   I just want to know whether I should mention these issues and the steps I've taken in my time off to overcome these, on my personal statement. I don't seem to get anywhere else to put this and none of my previous lecturers know about this to mention on any references.


Can Datepicker Automatically Fill in the Date Textbox After Page Loading?

I want to get today date from jquery datepicker and insert it to text field when page is loaded. How should I do it?


How do I find the average annual inflation between two dates?

I'm trying to figure out the average inflation between 1926 and 2015 so I can subtract it from the cumulative annual growth rate of average annual bond return during that period (5.4% according to Vanguard). I tried a few different online calculators and got over 1000%—I think it should be around 3%, apparently I'm doing something wrong. Sadly my math knowledge is at maybe a 7th grade level.


PTR record (rDNS) for multiple domains on a shared IP address

I host multiple domains on a single IP address:    cats.com  A @ --> 10.20.30.40 A mail --> 10.20.30.40 MX @ --> mail  dogs.com A @ --> 10.20.30.40 A mail --> 10.20.30.40 MX @ --> mail   I need to set up a PTR record for the IP address. This is so that forward-confirmed reverse DNS will succeed for other mail servers.  DNS query type PTR on 10.20.30.40 --> returns PTR-record="cats.com" (1 result) DNS query type A on "cats.com" --> returns A-record=10.20.30.40 (1 result)   If I can only have one PTR record for my IP, that points to cats.com, how will FCrDNS ever succeed for dogs.com?    Can I just use the domain name they both share (80.70.60.50.static.host.net) in the PTR ?  Thanks!


Vagrant + vbox on server 16.04 - how to get it working?

I am trying to setup vagrant with virtual box on my ubuntu server 16.04. Atm I think that the error I get is due to I miss a GUI. 0x80004005 is the error it spits out. First I thought is was a permissons error but no, after a while I reinstalled all software packages. Still no luck.  Anyone has any suggestions what I am dong wrong?  This is my output:  vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm", "bd4ed1d2-8ddc-4faa-b993-9ab4526e80ab", "--type", "headless"] Stderr: VBoxManage: error: The virtual machine 'admin_default_1496300210785_96841' has terminated unexpectedly during startup with exit code 1 (0x1) VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine


For my Java game server I send the Action ID of the packet which basically tells the server what the packet is for. I want to map each Action ID (an integer) to a function. Is there a way of doing this without using a switch?


Windows 7 update doesn't progress beyond 0 KB 0%

I have tried the answers in this question     I have all ready installed the Update kb3102810, Installing and searching for updates is slow and high CPU usage occurs in Windows 7 and Windows Server 2008 R2  I have waited about 45 minutes and it has gone no where.  WindowsUpdate.log latest lines in file.   2016-02-11  17:36:23:677     356    1374    DnldMgr ***********  DnldMgr: New download job [UpdateId = {CB2E949C-7B90-4826-9DB0-0E5FA8B3651A}.201]  *********** 2016-02-11  17:36:23:677     356    1374    DnldMgr   * Queueing update for download handler request generation. 2016-02-11  17:36:23:677     356    1374    DnldMgr Generating download request for update {CB2E949C-7B90-4826-9DB0-0E5FA8B3651A}.201 2016-02-11  17:36:23:724     356    1374    Handler Generating request for CBS update CB2E949C-7B90-4826-9DB0-0E5FA8B3651A in sandbox C:\windows\SoftwareDistribution\Download\902a68569cfad0482255ed6e0f029c53 2016-02-11  17:36:23:724     356    1374    Handler Selected payload type is ptExpress 2016-02-11  17:36:23:740     356    1374    Handler Detected download state is dsHaveDownloadResponses 2016-02-11  17:36:24:052     356    1374    Handler Request generation for CBS update complete with hr=0x0 and pfResetSandbox=0  2016-02-11  17:36:24:114     356    1374    DnldMgr ***********  DnldMgr: New download job [UpdateId = {CB2E949C-7B90-4826-9DB0-0E5FA8B3651A}.201]  *********** 2016-02-11  17:36:24:114     356    1374    DnldMgr   * All files for update were already downloaded and are valid. 2016-02-11  17:36:24:130     356    1368    DnldMgr BITS job {14558046-1C04-40F1-9F69-5F5ED05C967E} completed successfully 2016-02-11  17:36:24:301     356    1368    DnldMgr   Download job bytes total = 431847, bytes transferred = 77616 2016-02-11  17:36:24:301     356    1368    DnldMgr ***********  DnldMgr: New download job [UpdateId = {FF010B0B-353D-4561-BDF7-59A5D6E56D3A}.201]  *********** 2016-02-11  17:36:24:301     356    1368    DnldMgr   * Queueing update for download handler request generation. 2016-02-11  17:36:24:301     356    1368    DnldMgr Generating download request for update {FF010B0B-353D-4561-BDF7-59A5D6E56D3A}.201 2016-02-11  17:36:24:442     356    1368    Handler Generating request for CBS update FF010B0B-353D-4561-BDF7-59A5D6E56D3A in sandbox C:\windows\SoftwareDistribution\Download\7c8467ad7aaf7387919d0296e8dfd0dc 2016-02-11  17:36:24:442     356    1368    Handler Selected payload type is ptExpress 2016-02-11  17:36:24:457     356    1368    Handler Detected download state is dsHaveDownloadResponses 2016-02-11  17:36:24:816     356    1368    Handler Request generation for CBS update complete with hr=0x0 and pfResetSandbox=0  2016-02-11  17:36:24:910     356    1368    DnldMgr ***********  DnldMgr: New download job [UpdateId = {FF010B0B-353D-4561-BDF7-59A5D6E56D3A}.201]  *********** 2016-02-11  17:36:24:910     356    1368    DnldMgr   * All files for update were already downloaded and are valid.   Task Manager Process List.


Is my paper under review (or similar) for too long and if yes, how should I react?

I submitted a paper to a journal, and I suspect that it is handled too slowly.   How can I decide whether my suspicion is correct? What handling times should I expect? Given some expected handling times, when should I act? How much leeway should I give? How should I act? Whom should I contact and what should I (roughly) write?   Note that I am interested on how I should approach this situation in general, and do not seek specific numbers for my specific situation. I am therefore looking for general answers that are independent of such factors as the field or individual journal (but mention them if they are relevant factors).  This is a canonical question on this topic as per . Due to its nature, it is rather broad and not exemplary for a regular question on this site. Please feel free to improve this question.


Calculating area weighted average of attribute in one layer by shape in another using ArcGIS for Desktop?

For a project I am working on I would like to intersect fire station response districts with income data to determine the median income per response district. However the borders of the layers obviously do not line up.  What is the best method to go about manipulating the data to have the output show the median income based on the response districts?  I am using ArcMap 10.2.2 for this analysis. I have a polygon shapefile with median income information and a polygon shapefile of fire stations first in response areas.


change of font-weight to bold is unwantingly changing width of element

Whilst creating a navigation bar for my site I decided to make the active page tab show up in bold for usability purposes, but when I change the font-weight on the element it only slightly makes the element wider, an example I made using hover effects instead demonstrates my issue and i've never known a way to solve it..    HTML

         Link 1

         Link 2

         Link 3

   CSS  * {     font-family: Arial;     font-size: 14px;     list-style: none;     margin: 0;     padding: 0;     text-decoration: none; }  #mainNav {     background: RGB(200, 230, 240);     border-bottom: 1px solid RGB(0, 0, 0);     height: 30px;     margin: 0 auto;     position: relative;     width: 100%; }  .navItem {     display: block;     float: left;     position: relative; }  .navItem:last-child .navLink {     border-right: 1px solid RGB(0, 0, 0); }  .navLink {     border-bottom: 1px solid RGB(0, 0, 0);     border-left: 1px solid RGB(0, 0, 0);     display: inline-block;     height: 30px;     line-height: 30px;     padding: 0 15px;     white-space: nowrap; }  .navItem:hover .navLink {     background: RGB(120, 200, 250);     color: RGB(255, 255, 255);     cursor: pointer;     font-weight: bold; }  #activeLink {     background: RGB(90, 170, 220);     color: RGB(255, 255, 255);     font-weight: bold; }  #activeLink:hover {     background: RGB(110, 190, 240); }  .navItem:hover .subNav {     display: block; }


I can't install gnome schedule on Ubuntu 16.04

I would like to install gnome-schedule in my recent Ubuntu 16.04 but I can't find the how. It is not in ubuntu software and if I type sudo apt-get install gnome-schedule, I get it's not found. I would like to use it because I find it quick and easy to use. I've been looking for alternatives but instead of "when" which I don't like, I can't find anything else, so help is welcome.


Is it ok to give two different answers to a question?

A moderator has deleted one of my answers in two different cases. If a person comes up with two substantially different answers that are based on substantially different viewpoints, is it not appropriate to post them both?  Posting two substantially different answers allows readers to vote on them. Is that not considered acceptable practice in a case where it is not obvious which answer is correct?  In these particular cases I am not certain which answer is correct. The ultimate determination may end up depending on obtaining some more information from the branch of the FAA that is responsible for airspace design, but that hasn't happened yet. At such point as it does, I would expect to be able to delete one of the answers.  Alternatively, some reader may be able to speak authoritatively as to which answer is correct and why, and which is incorrect and why, in a comment. That cannot happen if one answer is deleted.


How to check the vertex/edge/polygon count of one or more object?

Is there a way to check the selected object(s) vertex/edge/polygon count?


how get the distance in years,months and day from two timestamp

Suppose I have two timestamp:  var timestamp1=Date.now(); var timestamp2=Date.now();   and we know that timestamp1


My 13 year old step-son told his mother yesterday that he wants to be a "."   A couple days ago he decided he wanted to make a cat costume. I just shake my head most of the time when he comes up with these ideas and try to remind him he's 13 now and that might not be the priority at the moment (like saving for a car and other teen boy interests). He has ADHD, so his personality is that of a very sensitive and slightly immature nature.  He ended up making his costume and wearing it to school. I didn't know this until after the fact. But his mother (my wife) said that while no one laughed or made fun of him in front of him there was probably some talk behind his back. It is a very small school in a very rural part of the US.  This prompted my wife to have him Google what a "furry" is and after doing so discussing it a bit further on his feelings about that topic. I'm sure the whole concept was introduced to him from spending too much time on YouTube and coming across things which may seem innocent but have longer term effects or other connotations attached to them.  He said he wanted to do this "because he can be who he is." I think the whole thing was pretty innocent but a bit off for a 13 y/o. After the later discussion he expressed that the costuming and what-not would just be a hobby for him, that its not some kind of lifestyle change or related to fetishism.   I'm concerned for a number of reasons. While I struggle with the idea, I worry more for him dealing with it all. I don't see his bio-father taking it well nor his maternal grandfather. Maybe that won't be a big deal if its only a costume making hobby. Should it be a regular thing to wear to school, etc., I see problems. Being in a small town, yet big enough for weirdos as it is, people are very judgmental.   My Question is this:   What should I do? How can we be supportive of him in his choices without him being bullied? Do we help him embrace this or try to deter him away from it? Are we over-thinking this at this point in time?


Has anyone ever created a formal system for quantum mechanics?

I've heard that quantum mechanics is really hard to teach people how to fully understand. Maybe there are some statements that some people seem to be able to prove are true according to a certain quantum theory but those statements are not normal statements and other people can't ever be made to understand what those statements mean. I'm wondering if despite that, a formal system has been created by some of those who claim to fully understand a certain quantum theory and other people can be taught how to write a formal proof in that system and taught how to formalize the question of the density of water at any internal energy and pressure as a string of characters that represents a statement in that system and write a formal proof of the formalization of statement of its density as a function of pressure and internal energy without worrying about not being able to learn what the statement actually means.  More specifically, my question is whether a formal system has been created for a simplified theory of the universe electrons and nuclei are point charges with no nuclear chemistry and gravity, dark matter, and the cosmological constant don't exist. If so, has that system also been mathematically proven to be consistent. I'm pretty sure that if the system includes the second law of thermodynamics as an axiom, then it's inconsistent because according to , the second law of thermodynamics hasn't been proven to be an absolute law.  I read the first bit of the Wikipedia article  and it didn't say whether it was the type of formal system I described here. I don't really feel like reading more because I don't want to take the risk that after wasting a lot of my life doing a whole lot of reading on that topic, it will be all for nothing and I will still not understand what they're saying.


Why is $ℤ[X]/(X^2-1)$ not isomorphic with $ℤ×ℤ$?

Why is $ℤ[X]/(X^2-1)$ not isomorphic with $ℤ ×ℤ$ ?   I understand why this is true in the case of $\mathbb{Q}$. But $(X-1)+(X+1) ≠ℤ[X]$, so therefore I can't use the same reasoning. I don't see how I can proof that there can't be an isomorphism.


How to create a subpanel that has a checkbox - Python Blender

I am creating an Addon with Python and BPY, and I would want to have something like this:  How are these things called? Subpanels? I have been looking and couldn't find any info. I would like to know how to create them, I have a panel that needs to be better organized and I want it to have multiple "subpanels" with checkboxes so I can disable them like this one:


I need some help with the following question.     Show that $(\mathbb{Z}/2^n \mathbb{Z})^{\times}$ is not cyclic for any $n > 3.$    There is the following  hint in my book: find two distinct subgroups of order $2.$  But I don't see any subgroups of order $2.$   Is group $(\mathbb{Z}/2  \mathbb{Z})^{\times}$  subgroup of $(\mathbb{Z}/2^n \mathbb{Z})^{\times}?$ Show the second  subgroup, please.


How do I join someone else's LAN world on Minecraft? My brother and I are trying to join each others worlds on it and are having trouble.


What is the name for verbs applied to the wrong subject?

For example, when one says "that apple tastes good", obviously they don't mean that the apple is tasting anything - apples can't taste. Rather, the person eating it does the tasting.  You can also see this in the southern US when people say things like "I'm gonna learn you a thing or two". The person talking in that example is teaching, not learning. The person they're speaking to is learning.


jquery code does not work on data in appended html file

I'm still new to jquery and all that, and right now I'm having a little problem that might just border on the lack of basic knowledge. So I just wanna say sry and thanks in advance for reading:  I have 2 html files ("main.html" and "content.html"). Both uses some jquery, which i have within one .js file ("script.js"). The jquery are some basic clicks on div-elements etc.  Now, the "main.html" is my base, so having header info, js-links, css-links, body etc. The "content.html" file has just some divs. Now I load the "content.html" within the "main.html" file via:  $.get('content.html', function(data) { $('body').append(data);});   well that works perfect, so far so good. Problem is, that the click functions that refer to divs within the "content.html" just don't work now. They only work when I declare/load the "script.js" within the "content.html" aswell. But now the js-file is loaded twice, triggering click functions for divs in the "main.html" file twice.  How can I fix that? Can I just reinitialize the js-file instead of loading it a new or something?  Thanks again, ANB_Seth


How can I install .deb files that look like a sealed box in the file folder to install on my ubuntu 16.04 lts desktop

i have successfully downloaded a file, but the file does not open when in the folder, these are all .deb files and the icon is like a sealed box,


Is there any way to pre-plan my adventure like in Ingress?

In , there is an  that allows you to see what portals/links/fields are where and the status of each portal. With that, I'm able to plan  my journey and know what to do so that I can efficiently plan my operations in the game.    With that said, is there any way I can do the same in Pokemon Go? Obviously, not to take down portals, but to weave my daily commute to school to pass through as many PokeStops or Gyms (and Portals) as possible for the sake of resource gathering?  Edit: Mind the BAF (Big-As Field). Feel free to edit with an area without the Big-As Field.


How can I change my code to accept user inputs

I have working code that encrypts a phrase using a caesar cipher but this is with predetermined inputs (HELLOWORLD and 4 as the sift). What I would like to do is enable a user to choose their own input and shift. More specifically in the format: e.g. $java Caesar 3 HELLOWORLD and so "HELLOWORLD" is shifted 3 times


Incremental (delta) backup of a encrypted data

I have several files that I need to keep encrypted on my home hard disk.  I currently use a TrueCrypt file container, currently around 100MB in size. I need to backup this file daily, and I'm looking for an incremental backup solution.  I read that on encrypted volumes even a small change in a file would change the whole volume and prevent the use of an efficient incremental backup solution. Any ideas how to backup in this case in an efficient way which would allow incremental solution?  I currently use TrueCrypt as my backup solution and CrashPlan as my backup utility, but I'm willing to experiment with alternatives.


Fermat's Little Theorem's Combinatorial Proof.

The following is a Combinatorial proof of Fermat's Little Theorem from Arthur Engel's book:Problem Solving Strategies.  We have pearls with $a$ colors. From these we make necklaces with exactly $p$ pearls. First, we make a string of pearls. There are $a^p$ different strings. If we throw away the a one-colored strings $a^p − a$ strings will remain. We connect the ends of each string to get necklaces. We find that two strings that differ only by a cyclic permutation of its pearls result in indistinguishable necklaces. But there are $p$ cyclic permutations of p pearls on a string. Hence the number of distinct necklaces is $(a^p − a)/p$. Because of its interpretation this is an integer. So $$p | (a^p − a)$$.  I can't figure out how the primality of $p$ is utilised in this proof. Please Explain.


QGIS export to GPX: Error "Geometry type of 'multi polygon' not supported" (GPS tools)

I am trying to convert a shapefile with multiple polygons to a GPX file in QGIS 3.10.3, which has now repeatedly failed with varying export settings since "MultiPolygon" is not supported.  I have already merged all the different polygons in the shapefile, so I only have one polygon in the attribute table. Still I get this error code. Any tips?   Thanks in advance!   Elena   PS: my final goal is to import these shapefiles to my Garmin Etrex Vista HCx.


I'm trying to set up an SSH server.  I put my public key in the authorized_keys file, made sure the permissions were correct, etc.  When I restart the server (really just Ubuntu 12.04 desktop) and I ssh to it without first logging in on the server, I am asked for a password.  If, however, I log into the server, I can ssh without being asked for a password.  auth.log has these lines when I have not logged in on the actual server:  mordor sshd[1605]: debug1: trying public key file /home/buck/.ssh/authorized_keys mordor sshd[1605]: debug1: Could not open authorized keys '/home/buck/.ssh/authorized_keys': No such file or directory


Empty layer after import into PostGIS Database. Pyqgis

I'm facing troubles to import a layer into a PostGIS database with pyqgis in a script. Here is my code:  Nombre_BBDD='test' host='localhost'  puerto='5432' usuario='postgres' password='xxxxxxx' Nombre_Tabla='table' Llave_primaria='id' Capa_a_procesar='/xxxxxxx/shapefile.SHP' Tipo_geometria='POLYGON'  capaImportar = QgsVectorLayer(Capa_a_procesar, 'capaImportar', 'ogr') uri = """dbname='"""+Nombre_BBDD+"""' host='"""+host+"""'    port="""+puerto+""" user='"""+usuario+"""' password='"""+password+"""' key="""+Llave_primaria+""" type="""+Tipo_geometria+""" table=\"public\".\""""+Nombre_Tabla+"""\" (geom) sql=""" crs = QgsCoordinateReferenceSystem(25830) error = QgsVectorLayerImport.importLayer(capaImportar, uri, "postgres", crs, False, True)   I was trying to do it how is recommended in this .  It seems everything is right, but when I try to load the layer this is empty and the python console throws this error:     Exception RuntimeError: 'wrapped C/C++ object of type PGVectorTable has been deleted' in bound method PGTableDataModel.del of db_manager.db_plugins.postgis.data_model.PGTableDataModel object at 0x7f3f24190d60 ignored   I'm working with qgis 2.18.10 in a Kubuntu 16.04


How to Translate Content type name using i18n module?

I am developing a multilingual site that supports English and Norsk bokmal. I have set English as my default language. I wanted to translate the contents and the other things in the site.  My real problem started when I found that I was unable to see the translation of the content type's name. I went to admin/config/regional/translate/translate and translated everything, but still my content type's name is not translated.  I have attached a screenshot of the translation page. Still I don't find a way to translate the content type's name.


I received my copy from a friend, and when I try to upgrade, it keeps saying there is a problem with my Internet connection, but I can access everything online.  Also I can not install anything so please help thank you.   I don't know much about Ubuntu, I just like how stable it is.


I found code that can swap two variable without a third one, and i don't understand why it works?

I was browsing Facebook when i found the following code that is supposed to swap two variables without a third one:  #include <stdio.h>  void swap_vars (int* x, int* y) {     *x = *y ^ *x;     *y = *y ^ *x;     *x = *y ^ *x; }  int main () {     int my_int = 1;     int my_int2 = 2;     swap_vars(&my_int, &my_int2);     printf("my_int = %d, my_int2 = %d. \n", my_int, my_int2);     return 0; }   And i was surprised when i discovered that it actually works, why?


I'm a bit new to OO programming and I'm trying to understand all facets of this kind of practice : inheritance, polymorphism and such, but there's a thing my brain DOESN'T WANT to fully understand: Interfaces.  I can understand the benefits of using interfacing instead of class-inheritance (mostly because a class can't inherit from multiple parents) but here's where I'm stuck:  Let's say I have something like this:  /** a bunch of interfaces **/ public interface IMoveable {     void MoveMethod(); }  public interface IKilleable() {     void KillMethod(); }  public interface IRenderable() {     void RenderMethod(); }  /** and the classes that implement them **/ public class ClassOne : IMoveable {     public void MoveMethod() { ... } }  public class ClassTwo: IMoveable, IKilleable {     public void MoveMethod() { ... }     public void KillMethod() { ... } }  public class ClassThree: IMoveable, IRenderable {     public void MoveMethod() { ... }     public void RenderMethod() { ... } }  public class ClassFour: IMoveable, IKilleable, IRenderable {     public void MoveMethod() { ... }     public void KillMethod() { ... }     public void RenderMethod() { ... } }   By using interfaces here, I would have to declare MoveMethod, KillMethod and RenderMethod each time, in each classes... That means duplicating my code. There must be something wrong, because I don't find this really practical.  So should I implement interfaces only on a few classes? Or should I find a way to mix inheritance and interfaces?


What is the name of this thing in English?

What is the name of the thing where objects are well connected and pass through different sections to finally help do one thing at the end in a creative way. Where an object moves along a specific path, hits another which has a new path which moves along and hits another etc? :)


How to determine if all points on a map are identical in arcpy?

My eventual goal is to automate kernel density calculations for a large corpus of point data; however, if all points are identical (for example, if there are 7 points all stacked on top of one another because they have the same long/lat values), the  in arcpy will not work. It will result in the following error:  "Error 010246: All input points are identical A valid window must be specified"   Since this will be an automated process, I need a way to check the points in the current input to be sure they aren't all the same using python/arcpy. Is there a way to do that?   EDIT: I specified a grid size and an extent, so a lot of the errors are fixed; however, identical points still give me the "valid window must be specified." I have tried to use the FindIdentical function to look for identical points, but this returns a DBF file, that I cannot read in the script. Is there some way to read a DBF easily in python, or can I find if all points are identical in another way?


Do other planets and their government learn who Princess Leia of Alderaan's biological father is?

I want to know if Luke and Leia being Vader's kids becomes public knowledge? Presumably people would be more suspicious of them if they knew the truth.Does Poe know his General is connected to the Empire?


mean of two consecutive number helps proving both number equals..


I need to construct a bijection from an arbitrary interval $(a,b) \to\Bbb R$. I was thinking of somehow using the tangent function because it's asymptotic, but i'm not sure how to get started.


Can I dualboot UBUNTU with Windows 8.1 on my pc?

My PC specs:  NVIDIA GeForce GT610  Intel Core i3-4170 3.7GHz  64-bit 8GB RAM  Windows 8.1 Enterprise  I was planning to install 14.04 but I need to know if I can run it on my pc.


So I'd like to do something along the line:  \mybox{Some content on the first line \\ some content on the second line \\ and this boxes border are fitting the content}   So I want a box around content which actually fits the content and also respects things like line breaks. How can I do that?


Noether's theorem with Newtons's approach

I know Noether's theorem can be applied to symmetries of the action, which is defined within the Lagrangian approach to mechanics.  However, does the same theorem still apply if I use a Newtonian approach with vectorial laws of motion?  I know that these laws of motion have the same form for all inertial observers, and this sounds like a symmetry to me. However, this is NOT a symmetry of the action as well (different inertial observers will calculate different kinetic energy --> different actions for the same system).  So in conclusion we have a symmetry in Newtonian approach that is not a symmetry in Lagrangian approach. Should I deduce that Noether's theorem does not apply to Newtonian approach, but only to Lagrangian approach?


How to make mesh lights brighter without washing out in the render?

Sometimes to get a mesh light to illuminate a scene fully I need to crank the emission value way up, however this causes the object itself to be washed out in the render.  Is there any way to keep this from happening?


Series as an integral (sophomore's dream)

I need help with this exercise.  I need to prove $$\int_{0}^{1}x^{-x}\ dx=\sum_{n=1}^{\infty}n^{-n}$$  I think I should use some convergence theorem, but I'm stuck.  Thanks a lot!


How do I create a header on only one page in Microsoft Word?

I'm writing a multi-page resume and I have a long bulleted list that breaks in between page one and two. Since I have a lot of details about my time at one company I want to have the company's name followed by "(cont.)" as a header on page 2 but leave page 1 alone. That is to say, I don't want anything resembling a header on any page except page 2, so the top margin of page 1 should be unaffected. How do I do this?


does anyone know if there is a simple way to bind a textblock to a List. What I've done so far is create a listview and bind it to the List and then I have a template within the listview that uses a single textblock.  what I'd really like to do is just bind the List to a textblock and have it display all the lines.  In Winforms there was a "Lines" property that I could just throw the List into, but I'm not seeing it on the WPF textblock, or TextBox.  Any ideas?  did I miss something simple?  Here's the code  <UserControl x:Class="QSTClient.Infrastructure.Library.Views.WorkItemLogView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"          Width="500" Height="400"> <StackPanel>     <ListView ItemsSource="{Binding Path=Logs}" >         <ListView.View>             <GridView>                 <GridViewColumn Header="Log Message">                     <GridViewColumn.CellTemplate>                         <DataTemplate>                             <TextBlock Text="{Binding}"/>                         </DataTemplate>                     </GridViewColumn.CellTemplate>                 </GridViewColumn>             </GridView>         </ListView.View>     </ListView> </StackPanel>     and the WorkItem Class  public class WorkItem {     public string Name { get; set; }     public string Description { get; set; }     public string CurrentLog { get; private set; }     public string CurrentStatus { get; private set; }     public WorkItemStatus Status { get; set; }     public ThreadSafeObservableCollection<string> Logs{get;private set;}   I'm using Prism to create the control and put it into a WindowRegion          WorkItemLogView newView = container.Resolve<WorkItemLogView>();         newView.DataContext = workItem;         regionManager.Regions["ShellWindowRegion"].Add(newView);   thanks


Before I met her I had a poor opinion of her.   As person had a poor opinion before a particular time in past (before He met her) so I think there should be had had.   There are some more example like this:   Before I went to the university, I worked/had worked as a carpenter for 5 years. Before I opened the door, I put/had put the key in the lock. Before I opened the door, I looked/had looked carefully into the barn for snipers.   In all these sentence, for me, it should be perfect tense.  I asked that question on another platform where I was told that if sequence of past event is obvious and sentences uses "before"and "after", we often use past tense. Which means we should use past tense in all these sentences. But I have another sentence "The train had left before I reached the station." If I follow above mentioned rule there should be "left" instead of "had left". But I am damn sure this sentence is correct with "had left".   Am I correct?  Thank you


Is the extension $ \mathbb{Q}(\sqrt{2}, \sqrt{3}) $ simple?

Intuitively, it is not.   Can anyone give a proof?


Recently I'm seeing my time machine backups get big. On a typical daily time machine backup, they've gone from a gig,  to 5 gigs,  to today... Time machine wants to back up 329gb. I've not moved huge files around. I've not fired up VMs.  So far it's backed up 17gb of 329gb. What's going on? I'm running 10.9 on a 500gb SSD


Is it possible to travel on cargo airplanes?

Some time ago I heard someone telling about travelling in cargo planes. Apparently some of those planes have a limited amount of extra seats and companies would sell them for an extra profit.  Does anyone have any information about this? Is that still possible?


How to verify two images using Selenium WebDriver?

Webdriver does not provide direct any function to image verification, but we can verify images by taking two screenshots of the whole web page using TakeScreenshot WebDriver function, one at script creation time and another at execution time.  I have created a sample script in which first I captured a Google home page screen shot and saved (input.jpg) into my project, another screen shot (output.jpg) captured on the same page at test execution time and saved into the project. I want to compare both the images if they are not same then test script will fail.  How should I apply logic in image verification using selenium?


I'm new to Blender and have been playing with rigid body simulations. I have noticed that collisions are not very accurate, which is usually okay, but, in this instance, it makes objects fly through each other.    This simulation moved the plane upwards, smashing a cylinder into pieces. Note that there are pieces below the plane which didn't perform collision checks correctly. How can such occurrences be prevented?


Do jumbo loan limits apply to the amount borrowed or to the property price? Can I avoid a jumbo with a higher down payment?

I live in an area of the United States where it would be very difficult to get a home for less than the $417,000 conforming loan limit. Unfortunately, jumbo loans seem to have a hard 20% downpayment requirement and higher interest rates (around half a percentage point higher, from what I've seen) than conforming loans.  But one thing I haven't been able to clarify is whether the $417k limit is on the price of the home or the amount to be borrowed. In other words, if the home is $450k and I put down $45k, the size of the loan is only $405k. Do I then have a conforming loan (because the amount to be borrowed is lower than $417k), or a jumbo loan (because the price of the property exceeds $417k)?   If it's the former, then is it always possible to avoid getting a jumbo by simply putting enough money down so that the loan amount falls below the limit, turning that loan into a conforming loan?


Easy way to insert lines from one file to another

I have two massive text files containing more than 10000 lines.   I need to make from them a new file that contains a line from each file.     File1     line a   line b   line c     File2     line 1    line 2    line 3   output   New File     line a    line 1    line b    line 2    line c    line 3


Someone or something small yet capable of having big influence?

What is a word or phrase that means a person or thing which is quite small yet capable of having big influence and impact on society?


I need to translate some reserved word of paragraph environment to my own language; like Chapter, Table of Content, Example, Bibliography, and some more. How do I achieve that? I'm using LyX in Linux. Book document class.


Could someone explain to me the grammar of this sentence?

"My train arrives at 7.30 tomorrow".. or "My train will arrive at 7.30 tomorrow" Which one is gramatically correct? Usually I use the future but I heard a lot of people that use the first sentence and I don't understand why. Thank you in advance


Is it acceptable for me (an undergrad) to call professors and other research professionals by their first names?

I'm a second-year undergrad, and I've always been on a first-name basis with anyone in academia or in a research setting. I first worked in a laboratory in high school, and since everyone was on a first-name basis with everyone else there, I sort of just applied that logic to other labs and to my college professors.   But when I was talking to a researcher (my "supervisor", if that's relevant) at the lab I'm currently interning at this summer, one of my fellow interns told me afterwards she thought it was "odd" and "unprofessional" to call him by his first name. I understand where she's coming from, but if this were any other type of environment (say a business office), I think it would be awkward to call my boss anything but his first name (Mr. X seems a bit too formal for the boss-employee relationship).   For what it's worth, my boss doesn't seem put off by the way I address him, and I don't think my professors are, either. Maybe my perspective's a bit skewed because of how I was introduced to the scientific/academic culture. Am I out of line here? What did you call your professors/advisors/bosses as an undergrad?


Linux list only selected groups a user is part of?

When I use the command groups userid  it list out over 100 groups currently assigned to the user. I need to list only the groups that contain abc. When I do groups userid | grep abc In the output all the groups are listed (over 100) with groups matching abc highlighted. Is it possible to list only the groups that contain abc?


How SO handles close reason on equal number of Close votes different catagories

Possible Duplicate:                When a question is closed! It will highlight the reason for closure (ie, based on the maximum number of votes for a category is received)  considering the example below: if a question has received two close votes for being off-topic, two as well for not being a not-a-real question. Also someONE found it to be too-localized!  With total number of 5 close votes, question will be closed. But since both the number of off-topic votes and not-a-real question votes are equal ie 2. What will be the reason highlighted on the question after getting closed. Does it depend on the reputation of close voters?  like if (total reputation of close voters for off-topic > total reputation of close voters for not-real-question) then close question as off-topic  This scenario ideally shouldn't happen! But if it happens then how it is handled and is this how it works?     two users have voted for off-topic and two for not-real .. the last   person chose too-localized. Then what will be the close reason?


I am not familiar with the posting mechanism of SO. My questions are answered quickly most of the time.  Recently, I've ran into some questions that are not very well known to people, or are too much trouble to follow. Anyway, I haven't been answered for days on that one.  So I posted another question. Since I've kept working on the problem, it moved on a little, so the new question is a bit different, though it is highly related to the last one.  Then someone came up and asked me not to post duplicate questions. I fully understand his/her point, and I didn't mean to do it. Actually, I found SO is very helpful and I like it a lot. I would like to contribute to it.  My question is, given the massive amount of questions posted on SO everyday, and since we should not post duplicate questions, how to draw attention from potential respondents and not let the question sink?


Is there a way to open terminal rather than terminal emulator?

I mean the system terminal, without the need for window manager and emulators...  On linux that was achievable via ALT+Fx, but it's not like that for OS X.


PowerShell scripts are disabled to run in my system

I was recently watching a YouTube video of Hak5 and one of his videos were of the vulnerability of bypassing UAC and escalation of privileges through a .ps1 script. You can check the video out . But when experimenting on my own machine, PowerShell throws an error:  Image Source: StanleyUlili Scripts are disabled to be run in my PowerShell. I searched on the web but did not find a good solution neither many of them worked. How can I enable running scripts in PowerShell without running PowerShell as an administrator? Any help is highly appreciated.


I'm using Code-Blocks IDE in my Ubuntu 12.10.But when I'm trying to debug any project, I got the following warning:  warning: GDB: Failed to set controlling terminal: Operation not permitted   What should I do now ?