Else code is executed even if condition is true
How do I compare strings in Java?
I have a virtual instance of redhat running that I can ssh to from any host on the corporate network.  My ssh session was dropped while running some scripts that may or not have caused me to disconnect.  The who command locally still lists the dropped connection. Reconnecting with ssh starts a whole new session.  Is there a way to connect to the original session?  If not can I kill it?  I have root and physical access.  I was not using screen in the original session. Finding the radius of convergence for $\sum_{n=0}^{\infty} \frac{(n!)^kx^n}{(kn)!}$ I'm reviewing some calculus concepts right now, and this series stumped me. I'm trying to figure out what its radius of convergence is, but it's not falling for any of my old tricks. Using the root-test, I want to compute: $$ L_1=\lim_{n\rightarrow\infty} \left|\sqrt[n]{\frac{(n!)^k}{(kn)!}}\right| $$  where $k$ is some positive integer. Passing the limit through the absolute-value bars and $n$th root symbol, I now want to compute the simpler (?) $$ L_2 = \lim_{n\rightarrow\infty} \sqrt[n]{\frac{(n!)^k}{(kn)!}}$$  Which I can't seem to pin down. Numerical tests indicate it goes to 0, and that jives with an intuitive notion I have that there are always $k$ terms on the numerator, but $kn$ terms in the denominator. But since all of these terms themselves depend on $n$, proving that $L_2 = 0$ escapes me. Once we get this result (if it's correct), then clearly $L_1$ is also 0, and the radius of convergence of the series is $\mathbb{R}$. Thanks for any ideas you may have. How do you reset timers? I tried out the clock setting cheat on a throw-away vault but somehow it also messed up my real one so now they both have 3000+ hours on radio station and 70d+ on returning wastelanders..   Any way to reset all the timers to default?  For some reason my phone refuses to change time at all anymore.. Graph editor for shape key animation I have animation where object changes his shape using shape keys, and I want to make some animation smoothing with graph editor. Is there a way to use graph editor for shape key animation? Solve the recurrence $T(n) = 2T(n-1) + n$ Javascript to sort contents of select element is there a quick way to sort the items of a select element? Or I have to resort to writing javascript?  Please any ideas.  &lt;select size="4" name="lstALL" multiple="multiple" id="lstALL" tabindex="12" style="font-size:XX-Small;height:95%;width:100%;"&gt; &lt;option value="0"&gt; XXX&lt;/option&gt; &lt;option value="1203"&gt;ABC&lt;/option&gt; &lt;option value="1013"&gt;MMM&lt;/option&gt; &lt;/select&gt; From this  on Bayesian Least Mean Square estimation:  $$\mathbf E\left[(\Theta -\hat\theta)^2\right] = \rm{var}(\Theta -\hat\theta) + \left(\mathbf E[\Theta -\hat\theta]\right)^2 = \rm{var}(\Theta) + \left(\mathbf E[\Theta -\hat\theta]\right)^2$$  which is to say that $\rm{var}(\Theta -\hat\theta) = \rm{var}(\Theta)$.  I would like to ask how that comes about?  Thanks.  $\Theta$ is the random variable being estimated, and $\hat\theta$ is a constant estimate. Integral $\int\!\sqrt{\cot x}\,dx $ Seeking GeoServer tutorials? What are sources where I can learn how to use GeoServer?  I know of these two sites:    - which in fact is not working (at least at the moment)  - not only (tutorials) for GeoServer   But I am interested in more complex information, and not to read only documentation. Sometimes I want to underline some text, and it extends past the end of a line.  Why does \underline{} not automatically wrap my text for me ?    Also, how can I underline text so that it will still wrap ? Is there a better way to do optional function parameters in JavaScript? Conditional Rendering inside Visualforce pages How to put a '+' sign inside a square like xor I am a first year Ph. D student, and I have been working on a new topic of research.  I worked day and night to prove something new and verified it. I began my Ph. D while my supervisor was on travel, but he returned before I had been here for long.  When he returned, he told me we have to stop and not continue without any reasonable reasons.  After a few months he began treating me poorly---always belittling and underestimating---although I got two grants from a top conference, made videos and podcasts, and constantly received praise for my good work and personality.    It seems that I have been treated as a competitor, not a collaborator.  Although agreeing with my approaches in private, my supervisor said false words to the committee to take the decision and stop my Ph. D work!  It is not surprising, as there was another former senior Ph. D student who I met on campus, who was not allowed to defend his Ph. D: this same supervisor claimed he was not able to finish his dissertation although he had published in a peer reviewed journal and having citation as well, it was scary and not familiar.  In front of committee, he lied, and said something without proving. I asked if he can make a detailed constructive criticism, but he could not.  All I can say that they are a gang literally, and he said words that show that he is jealous and doesn't want to see me having self confidence in my self. I know no one will believe me, but this is the truth.  Honestly, I am distressed and I'm losing sleep.  I had this dream where there were many people who saw me fail.  All things considered, I don't know whether what happened is good or bad, and I definitely don't know what I should do next!  I would be grateful for your advice and whether there is someone has encountered any similar situation. I have been thinking of getting a flash to improve my low light photography (particularly indoors). However, there seem to be a number of different models available at similar price points (budget of INR 8,000-12,000 ~$150-250). What features and functionality should I look for to choose a suitable flash?  I'm using a Canon 550D with the 18-55mm IS &amp; 55-250mm IS lenses. Metz seems to be one of the brands easily available in India (beside the OEM flashes). Currently, I am considering the Metz 36 AF-5, 44 AF-1 and 50 AF-1, which seem to be considerably cheaper than their Canon counterparts. My multimeter is rated to 600V.  How can I readily (and safely) use it to measure higher voltages? How to find the sum of the sequence $\frac{1}{1+1^2+1^4} +\frac{2}{1+2^2+2^4} +\frac{3}{1+3^2+3^4}+.....$ Problem :   How to find the sum of the sequence $\frac{1}{1+1^2+1^4} +\frac{2}{1+2^2+2^4} +\frac{3}{1+3^2+3^4}+.....$  I am unable to find out how to proceed in this problem.. this is a problem of arithmetic progression... Please suggest how to proceed...Thanks.. Travelling with two different passports Abstract, Interface, Classes OH MY - Question on Approach Who owns the copyright to S[OFU] content? What with  today, possibly this is a good time to ask: who actually owns the copyright to questions, answers and comments submitted to StackOverflow and relatives?  Over in , we have the OP reaching the conclusion that SO owns the copyright and is licensing it under CC-Attribution-Sharealike, with no apparent confirmation or denial from staff, and in  we have a moderator asserting that Jeff owns the copyright to SO content.  As I note in a comment on the latter, though (which was met with deafening silence), I'm failing to find any evidence that this is the case.  I've looked for any kind of terms of service I may have agreed to indicating that I am signing over ownership of my words when I hit submit, and I can't find one.  Certainly the fact that I'm agreeing to CC-Attribution-Sharealike licensing is clear enough, but it seems to me as if I am retaining copyright while agreeing to those licensing terms, and S[OFU] is using what I have written under that license.  What's the deal?  Did I forget about something that I agreed to in the signup process (and if so, why can't I find it afterward)?  Do the owners and administrators of S[OFU] believe that they own copyright to the UGC?  Just what is going on here?  Edit as to why this matters (from answer comment thread): If I retain copyright, I can also choose to license the original content to other parties under other terms (such as using a zero-requirements license, using an attribution-required license without sharealike, etc). If SO has the copyright, I can't.