Would it not be useful to show, or at least link to, the StackStatus Twitter feed on the read-only homepage, to indicate to people why the site is in read-only mode and how long it might be before it's back up?
When the site is in read-only mode, I get a message like this:     This site is currently in read-only mode.   Would it be possible to update that message to provide links to these resources on SE's status:   : Official SE tweets on SE's status. : Official blog posts on SE's status.
How do I serialize a C# anonymous type to a JSON string? I'm attempting to use the following code to serialize an anonymous type to JSON:  var serializer = new DataContractJsonSerializer(thing.GetType()); var ms = new MemoryStream(); serializer.WriteObject(ms, thing); var json = Encoding.Default.GetString(ms.ToArray());    However, I get the following exception when this is executed:     Type   '&lt;>f__AnonymousType1`3[System.Int32,System.Int32,System.Object[]]'   cannot be serialized. Consider marking   it with the DataContractAttribute   attribute, and marking all of its   members you want serialized with the   DataMemberAttribute attribute.  See   the Microsoft .NET Framework   documentation for other supported   types.   I can't apply attributes to an anonymous type (as far as I know).  Is there another way to do this serialization or am I missing something? I have gridded depth points in CSV format that I'm trying to add other map data to, in additional columns. I've tried joining fields, hoping that I could link the Shapefile data to the csv, but when I try to display the csv by graduated symbols based on the new fields, it goes blank. I used Nathan's tips from , but imported the csv as csv since I want to add map info to that, rather than adding csv info to a map.  See this picture below for the sea bottom temperature &amp; salinity voronois by month, underneath the csv points (a sample subset), with the joins already made. I added columns on the csv for each of the fields i'm intending to append.    I also tried spatial joins as per  however it says the layers aren't the same CRS (I checked, they are), then gets to 15% and hangs.  I also also tried spatial join through  but it hit a python error. I can try this again and look to debug the problem if this is the right way to go.  In short: appending polygon data as fields on a points-grid csv: what's the best way in QGIS 2.0? Just looking for the difference between   2&gt;&amp;- 2&gt;/dev/null |&amp; &amp;&gt;/dev/null &gt;/dev/null 2&gt;&amp;1   and their portability with non-Bourne shells like tcsh, mksh, etc. This is probably a silly question but I need some help. I opened a file that I've been working on for about a month in the new 2.8 version of Blender. However when I tried to reopen the file in version 2.79, the scene is completely empty. Here is where the problem lies for me, I accidentally saved over the original file save while in version 2.8 . Please help. Thanks! su command + authentication failure I am having problems with the su command. I know my password and I am typing it correctly but su indicates authentication failure.  So I checked on the internet and then went into recovery mode and changed my username's password to what I was entering before.  Even now entering the same password on su gives me authentication failure.  Please suggest what am I doing wrong?? Prove that if $0\le p_n&lt; 1$ and $S=\sum p_n&lt; \infty$ then  $\prod (1-p_n)&gt;0$. Hint given: First show that if $S&lt;1$, then $\prod (1-p_n)\ge 1-S$.   Attempt: I was able to show the hint by using recursion setting $A_n=\prod_{i=1}^{n}(1-p_i)$ re expression the $\prod (1-p_n)$ as $1-S+\sum_{n_1, n_2=1,n_1&lt;n_2 }^{\infty} p_{n_1}p_{n_2}-..... $ and observed that every subsequent term is less than the previous term hence  $\prod (1-p_n)\ge 1-S$ which is $&gt;0$ if $S&lt;1$ but am unsure about how to extend it to $S\ge1$. Finding an example of a discrete-time strict local martingale. I am looking for      an example of a ring where unique factorization does not hold. However the ring is supposed to have the property that every irreducible is already a prime.    So unique factorization should fail because one cannot decompose every element into a finite product of irreducibles. In particular the ring must not be Noetherian. What is an example of such a ring? Matrices that can only be permutation matrices How to prove that if $A$ and $B$ are two $n×n$ matrices with non negative integer entries such that $AB=I$ then $A$ and $B$ are permutation matrices?  Permutation matrices are matrices with the columns just a permutation of the identity matrix. How do I proceed. Can somebody give hint? Explode MULTILINESTRING into individual segments in PostGIS 1.5 I have a MULTILINESTRING in PostGIS consisting of several LINESTRING's. Consider each LINESTRING to have a set of POINT's      P1, P2, ... PN   forming the line segments     L1, L2, ... LN-1   where LX is the line segment connecting PX to PX+1.  Using PostGIS 1.5 how can I explode the MULTILINESTRING into individual line segments of each LINESTRING? Can anyone please help and tell me if this sentence is correct?  &quot;A significant amount of zombies were detected in your city.&quot;  In my opinion it should be &quot;A significant amount of zombies was detected in your city.&quot; because &quot;amount&quot; should be in agreement with &quot;was&quot; even though amount usually refers to something plural. Are both (was and were) acceptable in this case? Edit1: Yes, &quot;number&quot; would be the correct one in this case. So allow me to ask one more thing.  &quot;A significant amount of purchases were detected...&quot;  Does the use of &quot;number&quot; apply in this case also? As purchase is not exactly a thing/person. And if no, is it correct to say &quot;A significant amount of purchases were detected...&quot;? Edit2: So, please tell me what is the correct phrasing?  &quot;A significant amount of purchases were detected...&quot; &quot;A significant amount of purchases was detected...&quot;  Or, since purchases are countable, is the use of &quot;number&quot; instead of &quot;amount&quot; correct here, as in:  &quot;A significant number of purchases were detected...&quot; &quot;A significant number of purchases was detected...&quot;  Or would amount be correct since a purchase involves money and it refers to the amount of money? Would greatly appreciate an answer, and if possible a detailed explanation. All Stack Exchange data dumps As I understand it, the hosts file is one of several system facilities that assists in addressing network nodes in a computer network. But what should be inside it? When I install Ubuntu by default   127.0.0.1 localhost    will be there. Why?   How does /etc/hosts work in case of JVM systems like Cassandra? When is DNS alternative, I guess not on a single computer? How can I install a package without root access? Google Docs thumbnails do not update, can I force an update? Limit as $x\to 2$ of $\frac{\cos(\frac \pi x)}{x-2} $ Sci-Fi Movie/Show Where a Soul is Captured in a Glass Vessel I remember very little of this, I was quite young -  It was on television in the mid 90's, but seemed older. My wife was telling me about the 21 grams experiment and the memory clicked into place. Setting Inside of a mad scientist sort of lab, with the plasma balls and everything else, a character (Who in my mind resembles Gene Wilder in Young Frankenstein) is conducting an experiment. The room is hazy, lots of hues of purple and red. He has an assistant present. They were conducting some sort of experiment to try to figure out the secrets of immortality (or possibly reanimation). I remember them &quot;trapping&quot; a human soul in a glass vessel to see what it weighed or what kind of volume it took up - I believe they shot someone in this vessel, and because their soul could not &quot;escape&quot;, they did not die. I am so confused by, for example, "People love their life or lives." How to run some code only when the rails console starts, kind of like an rc file? Completion handlers and return values