JSON.parse not working for valid json
json parse error with double quotes
$(K[x,y,z]/(x^2+y^3+z^7))_{(x,y,z)}$ is a UFD. In The Witness, I was walking along the coast, and I came upon this:    Now, since I've learned      that mazes can be embedded in the environment,   I see the puzzle here, but I just can't get the pieces to line up well enough.  Standing on the couch and walking all around it doesn't seem to get me a       functional maze.   Where do I need to stand to activate the puzzle successfully? I'm heading to India next week and have a connection in Munich, Germany. I made the mistake of booking a flight with only an hour and a half layover (freaking out!) and I'm wondering if I'll have to go through customs in Munich or if I can pass right on through. I have a 64-bit version of Ubuntu 13.10.  I want to run a 32-bit version of a program.  However I see ia32-libs is not included in 13.10.  Is there a replacement package for this or what? How to Fix "Read-only file system" error when I run something as sudo and try to make a folder/file? Determine the SQL Server version and edition from the available set up, before actually installing it? As I understand it Q&amp;A style questions are  but a self answered question should be judged independently of the answer. Often after I've solved a problem I would like to share the question and answer on stack overflow (and have on a couple of occasions) but how to show &quot;minimal understanding of the problem&quot; is always challenging. For example I have been looking into the following question  How can I plot a straight line in the JMonkey Engine library I'm trying to plot straight lines between vertices that I specify using the JMonkey Engine 3D graphics library. So for example if I was to try to plot between: (2,0,0) (-1,0,1) (0,1,1) (1,1,1) (1,4,0) Then I would get:   This is something I do (and forget how to do) relatively often and the answer is harder to find than you'd imagine ( provides everything needed to figure it out but its spread out over several posts and isn't a complete solution on its own). Therefore I want to provide a Q&amp;A for it but at present this question feels like it would fail the minimal understanding test  Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work  Should I make up some imaginary problem? (Probably the final source code messed up a bit) Or mention in the question that I’m self answering to assuage some of the normal &quot;This is not a do your work for you site&quot; comments. Adding space around section title for in-register in KOMA-script context How to check a large backpack? When travelling on airlines based in the US with a large backpack, I prefer to carry the bag onto the plane as part of my hand baggage allowance.  Most foreign flag carriers, however, have a significantly more restrictive hand baggage allowance.  I was caught off guard by this one time on New Zealand airlines and received my backpack with multiple broken straps and clips.  I managed to repair it, and I'm still using the same pack, but I would like to avoid so many broken parts in the future.    Once, when flying Alitalia (flight was actually booked through Delta) I carried plastic wrap to the airport, and wrapped the entire bag in it before handing it over to the airline.  @jpatokal recommends putting it into a giant, heavy-duty garbage bag in his answer to .     What are the pros and cons of using plastic wrap or a garbage bag?   Can anyone recommend any other, more effective techniques? How do I determine the size of an object in Python? I want to know how to get size of objects like a string, integer, etc. in Python.  Related question:   I am using an XML file which contains size fields that specify the size of value. I must parse this XML and do my coding. When I want to change the value of a particular field, I will check the size field of that value. Here I want to compare whether the new value that I'm gong to enter is of the same size as in XML. I need to check the size of new value. In case of a string I can say its the length. But in case of int, float, etc. I am confused. Why do I get compiler errors with this Java code?  1  public List&lt;? extends Foo&gt; getFoos() 2  { 3    List&lt;? extends Foo&gt; foos = new ArrayList&lt;? extends Foo&gt;(); 4    foos.add(new SubFoo()); 5    return foos; 6  }  Where 'SubFoo' is a concrete class that implements Foo, and Foo is an interface.  Errors I get with this code:   On Line 3: "Cannot instantiate ArrayList&lt;? extends Foo&gt;" On Line 4: "The method add(capture#1-of ? extends Foo) in the type List&lt;capture#1-of ? extends Foo&gt; is not applicable for the arguments (SubFoo)"   Update: Thanks to Jeff C, I can change Line 3 to say "new ArrayList&lt;Foo&gt;();".  But I'm still having the issue with Line 4. Why am I getting 50V at a light when the switch is off? I am trying to put in a switch and a light it controls in a storage building and  is how I wired it.   Click for larger view  When I checked the wiring it registered 120V when the switch was on, and right around 50V when the switch was off.  Why would power still be getting to the light (I'm guessing there is a problem with the switch) and why would it only be 50V?  Oh, and where everything branches off at the beginning I have a junction box there where all of the wires are joined there. What is a word/idiom for 'unable to decide'? Let's say I have an important decision to make and I can't decide between two competing things (like break up with a girl or not break up with her). What would be a word/idiom to express that? Let $S$ be the collection of all groups. Deﬁne a relation on $S$ by $G \sim H$ iﬀ $G ≈ H$. Prove that this is an equivalence relation. So $S$ is partitioned into isomorphism classes.   Proof: Let $S$ be a relation on S defined by $G \sim H$ iﬀ $G ≈ H$. Show reflexive, symmetric, transitive. It is obvious that $G≈G$ so $G\sim G$.  Assume $G\sim H$, thus $G≈H$, which implies that $H≈G$, so $H\sim G$, thus symmetric.  Assume $G\sim H$ and $H\sim K$, for $K$ a group in $S$. Thus $G≈H$ and $H≈K$. (I have already shown that if $G≈H$ and $H≈K$, then $G≈K$). From earlier this implies that $G≈K$, so $\sim$ is an equivalence relation.  Thus $S$ is partitioned into isomorphism classes. QED. Extract substring in Bash Given a filename in the form someletters_12345_moreleters.ext, I want to extract the 5 digits and put them into a variable.  So to emphasize the point, I have a filename with x number of characters then a five digit sequence surrounded by a single underscore on either side then another set of x number of characters.  I want to take the 5 digit number and put that into a variable.  I am very interested in the number of different ways that this can be accomplished. If I pay off lease amount early for a car, is there any impact on my credit?  Let's say I'm paying $400/month for 36 months, which is 14,400 total. If I pay 14,400 within 6 months, are there any disadvantages on my credit? Where to start looking up if there's something wrong with cck field variables? in short: Something in my zen-based custom theme is keeping a couple of cck fields from being display on my page. Basically my question is where to get access to the variables that are supposed to contain the html for the cck fields (which are missing when I was looking them in firebug). Below I explain why I think it's looking up the variables that might bring me closer to a solution  So I made this custom node type (events) with cck fields added. Also made some content using those fields. Added some css and it all displayed fine. Later the taxonomy terms below the title and some metadata bugged me so I followed along with a 'theming cookbook' pdf book that taught me how to make a node-events.tpl.php and simply deleted php variables like $terms. This worked great.     Obviously this also means that all this time, the view permissions of those fields have been checked and also that the display options under 'display fields' have been set to standard all the time. I also ruled out that the issue could be anything else than theme related as my cck fields do show up in a stock Drupal theme. The theme for my site is a zen-based custom theme.   So then even later, after I made a view for this node type and started adding css to that view I noticed at some point that my image field and two other fields are missing. It's hard to tell if they disappeared because of things that I did when creating the view and adding css (which would surprise me) Find $\min(\operatorname{trace}(AA^T))$ for invertible $A_{n\times n}$ For invertible $A_{n\times n}$ find $\min(\operatorname{trace}(AA^T))$  (a) $0$ (b) $1$ (c) $n$ (d) $n^2$  Clearly for $A=I$, it is $n$, and I am unable to get any lower values, but how do I prove it. Why do we need a diagonal matrix? Apart from simplifying matrix powers, why do want to diagonalize a matrix? Do they have any appealing application which can be used to motivate to study diagonal matrices.  Thanks for any answers. If I short sell stocks of a company but do not close my position by buying them back, what will happen? I realize it is a bad thing, but what exactly? I will need to pay a penalty?