Java Different between String s1 = "abc" and String s1 = new String("abc")?
Java Strings: "String s = new String("silly");"
Mothballs in the pantry: is it safe to keep food there? My roommate put some mothballs in the pantry and when I came home and saw them, I took them out.  They were probably only there for a few hours, but is it safe to store food in there?  Should I throw out the food that was in there together with the mothballs?  I'm leaning towards 'when in doubt throw it out' but I'm unsure whether that is overkill in this case. Why is $x^0 = 1$ except when $x = 0$? I'm in Belgium (french part) and I cannot find the proper keyboard layout in Settings > Region and Languages > Input Sources.  the closest I found is the french (AZERTY) one but for the symbols such as ! and _ it's not the same keys...  what can I do to solve it ?  Thank you. Rooting Stock Firmware - GSII with NFC How to install Anaconda on Ubuntu? Describe the equivalence classes in terms of familiar mathematical objects In Star Trek canon, what's the range of operation of Transporters? By "range of operation" of the transporter, I mean "distance up to which it could transport" or "distance from which it could transport something to its own location". The range of operation would have increased with time without a doubt but I want to know the average range at any period. It'll be better if you provide full stats of all times. making a big summation sign How can I make a big summation sign?   ‎\begin{align}‎ ‎\cos x‎ ‎=‎ ‎‎\sum\limits‎_‎{n=0}^{‎\‎‎infty‎} ‎\frac{(ix)^{2n‎}}{(2n)!}‎‎ \end{align}‎   this is the code which I'm using for summation How large would the steam explosion at Chernobyl have been? So the  of the HBO series began to cover the  that led to them sending three divers into the water below the reactor to drain the tanks.  This occurred after the initial explosion that destroyed the reactor, and after the fire in the core had been put out. But at this point the decay heat and remaining fission reaction kept the core at more than 1200°C, causing it to melt through the concrete floors below the reactor.  And below the reactor were water tanks which contained 7,000 cubic meters of water (according to the TV show. If anyone has a real figure, I'd love to hear). When the lava of the melted core hit it, it would cause an enormous .  Finally, my question: About how large would this explosion have been? The character in the show says "2-4 megatons" (of TNT equivalent, I assume). I'm pretty sure this is absurd and impossible. But real estimates are hard to come by. Other sources vary wildly, some repeating the "megatons" idea, and others saying it would've "". This still seems crazy.  tl;dr:  I know a lot of it hinges on unknowns and the dynamics of the structures and materials involved, so I can simplify it to a constrained physics question:  Assuming 7,000 cubic meters of water instantly flashes to steam, how much potential energy is momentarily stored in that volume of steam occupying the same volume as the water did?  I don't know what to assume the temperature of the steam is. There were hundreds of tons of core material at temperatures near 1200°C, so worst case scenario you could assume all the steam becomes that temperature as the materials mix. Best case scenario, I guess we could assume normal atmospheric boiling point (100°C)? Creating checkbox parameter in Python script tool for ArcGIS Desktop? I am working on creating an ArcGIS tool from a Python script I am writing.  I am wondering if it is possible to have a checkbox parameter.    I want to have a parameter where the user selects a feature class, then from the feature class the user will choose the field for the upper most layer in their model, then I want the user to be able to choose what layers they want the script to run on with a checkbox structure derived from the upper most layer field.    Is this possible with python, and ArcGIS Desktop? When would you use a voltage regulator vs a resistor voltage divider?  Are there any uses for which a resistor divider is particularly bad? Why did Itachi say that he needs to get someone's MS to get EMS while Sasuke only had a normal Sharingan? Why is "chmod -R 777 /" destructive? Do not disturb mode - but allow certain apps Sometimes it’s possible to use either a noun adjunct or the possessive case.     the shop door   the shop’s door   However, in certain phrases it’s not OK to do so.     the ship’s crew (the ship crew is wrong)   The questions are:   How can one find out what to use in such cases as “the shop(’s) door” when a noun adjunct option and the possessive case option are available?  How can one know which option is wrong in order to avoid the construction “ship crew”? Is there a difference in meaning between (a) the shop door (b) the shop’s door? Preserving order with LINQ I use LINQ to Objects instructions on an ordered array.  Which operations shouldn't I do to be sure the order of the array is not changed? I've been writing C and C++ code for almost twenty years, but there's one aspect of these languages that I've never really understood. I've obviously used regular casts i.e.  MyClass *m = (MyClass *)ptr;   all over the place, but there seem to be two other types of casts, and I don't know the difference. What's the difference between the following lines of code?  MyClass *m = (MyClass *)ptr; MyClass *m = static_cast&lt;MyClass *&gt;(ptr); MyClass *m = dynamic_cast&lt;MyClass *&gt;(ptr); What is a word that means to say in a positive sense? For instance, when writers say that a person was sexually assaulted instead of saying raped.  Or people use let go instead of fired.  What is that called? This is sort of a follow-up to a feature request that resulted in obscuring spam / offensive content from 10K-visible answers:   Suggest the same to be done for questions. As of now, spam questions (, ) preserve their titles and content. Suggest to revise the titles to something like     This question was marked as spam or offensive and is therefore not shown   And the text to something like:     This question was marked as spam or offensive and is therefore not shown - you can see the revision history for details".   Where "the revision history" links to the question revision history.    For those interested, here is a link to screen shots of how spam shines through my flagging summary page and is displayed to me when I click the link to one of deleted questions: .  For the sake of precision, flagger having less than 10K rep would see only upper screen shot - the one that lists question titles ("Call giRℒs blah blah &lt;phone number&gt;") - in their  page. Prevent people from downloading / copying / making a copy of data in Google doc