JObject tostring formatting issue for JArray
How to serialize a JObject without the formatting?
I see the following error while trying run the command shown below. I read somewhere that my /boot partition is low on disk space. How can I increase the size of the /boot partition so I can install more software? I have a 500GB hard disk, so there is enough space to play with.  sudo apt-get install libdvdread4  gzip: stdout: No space left on device                                                                                                                                                                                  E: mkinitramfs failure cpio 141 gzip 1                                                                                                                                                                                 update-initramfs: failed for /boot/initrd.img-3.2.0-33-generic with 1.                                                                                                                                                 run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1                                                                                                                                            Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-33-generic.postinst line 1010.                                                                                                        dpkg: error processing linux-image-3.2.0-33-generic (--configure):                                                                                                                                                      subprocess installed post-installation script returned error exit status 2                                                                                                                                            dpkg: dependency problems prevent configuration of linux-image-server:                                                                                                                                                 linux-image-server depends on linux-image-3.2.0-33-generic; however:                                                                                                                                                    Package linux-image-3.2.0-33-generic is not configured yet.    dpkg: error processing linux-image-server (--configure):     dependency problems - leaving unconfigured    dpkg: dependency problems prevent configuration of linux-server:     linux-server depends on linux-image-server (= 3.2.0.33.36); however:      Package linux-image-server is not configured yet.    dpkg: error processing linux-server (--configure):     dependency problems - leaving unconfigured    No apport report written because the error message indicates its a followup error from a   previous failure.                                                                                                           No apport report written because the error message indicates its a followup error from a previous failure.  Errors were encountered while processing:  linux-image-3.2.0-33-generic  linux-image-server  linux-server N: Ignoring file 'michael-gruz-canon-precise.list.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'michael-gruz-canon-precise.list.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension   Listed below is the output of du  Filesystem              1K-blocks      Used Available Use% Mounted on /dev/mapper/ubuntu-root 712660664 104095912 572363692  16% / udev                      3964792         4   3964788   1% /dev tmpfs                     1591012      1064   1589948   1% /run none                         5120         0      5120   0% /run/lock none                      3977528       684   3976844   1% /run/shm /dev/sda1                  233191    219821       929 100% /boot I wanted to tweet something on the lines of "Stack&nbsp;Overflow is awesome". When I do this kind of stuff, I usually use a username (for example: ) or a hashtag ()  I found , but it seems it is from someone unrelated with Stack&nbsp;Overflow.  Is there a Twitter account I can reference, or should I use a hash-tag? Should I just point to the site?  Thanks!  (Notice: I've seen lots of questions regarding Twitter and Stack&nbsp;Overflow, but those are mostly about integration/login with Twitter for the users accounts; I'm just asking for a single account for Stack&nbsp;Overflow; probably for announcements and PR, which is different) Inverse of a Positive Definite Let K be nonsingular symmetric matrix, prove that if K is a positive   definite so is $K^{-1}$ .   My attempt:  I have that $K = K^T$ so $x^TKx = x^TK^Tx = (xK)^Tx = (xIK)^Tx$ and then I don't know what to do next. How does Cantor's diagonal argument work? I'm having trouble understanding Cantor's diagonal argument.  Specifically, I do not understand how it proves that something is "uncountable".  My understanding of the argument is that it takes the following form (modified slightly from the  article, assuming base 2, where the numbers must be from the set $ \lbrace 0,1 \rbrace $):  \begin{align} s_1 &amp;= (\mathbf{0},1,0,\dots)\\ s_2 &amp;= (1,\mathbf{1},0,\dots)\\ s_3 &amp;= (0,0,\mathbf{1},\dots)\\ \vdots &amp;= (s_n \text{ continues}) \end{align}  In this case, the diagonal number is the bold diagonal numbers $(0, 1, 1)$, which when "flipped" is $(1,0,0)$, neither of which is $s_1$, $s_2$, or $s_3$.  My question, or misunderstanding, is: When there exists the possibility that more $s_n$ exist, as is the case in the example above, how does this "prove" anything?  For example:  \begin{align} s_0 &amp;= (1,0,0,\mathbf{0},\dots)\ \ \textrm{ (...the wikipedia flipped diagonal)}\\ s_1 &amp;= (\mathbf{0},1,0,\dots)\\ s_2 &amp;= (1,\mathbf{1},0,\dots)\\ s_3 &amp;= (0,0,\mathbf{1},\dots)\\ s_4 &amp;= (0,1,1,\mathbf{1},\dots)\\ s_4 &amp;= (1,0,0,\mathbf{1},\dots)\ \ \textrm{ (...alternate, flipped } s_4\textrm{)}\\ s_5 &amp;= (1,0,0,0,\dots)\\ s_6 &amp;= (1,0,0,1,\dots)\\ \vdots &amp;= (s_n \text{ continues}) \end{align}  In other words, as long as there is a $\dots \text{ continues}$ at the end, the very next number could be the "impossible diagonal number", with the caveat that it's not strictly identical to the "impossible diagonal number" as the wikipedia article defines it:     For each $m$ and $n$ let $s_{n,m}$ be the $m^{th}$ element of the $n^{th}$ sequence on the list; so for each $n$,      $$s_n = (s_{n,1}, s_{n,2}, s_{n,3}, s_{n,4}, \dots).$$      ...snip...      Otherwise, it would be possible by the above process to construct a sequence $s_0$ which would both be in $T$ (because it is a sequence of 0s and 1s which is by the definition of $T$ in $T$) and at the same time not in $T$ (because we can deliberately construct it not to be in the list). $T$, containing all such sequences, must contain $s_0$, which is just such a sequence. But since $s_0$ does not appear anywhere on the list, $T$ cannot contain $s_0$.      Therefore $T$ cannot be placed in one-to-one correspondence with the natural numbers. In other words, it is uncountable.   I'm not sure this definition is correct, because if we assume that $m = (1, \dots)$, then this definition says that "$s_n$ is equal to itself"&mdadsh;there is no "diagonalization" in this particular description of the argument, nor does it incorporate the "flipping" part of the argument, never mind the fact that we have very clearly constructed just such an impossible $T$ list above.  An attempt to correct the "diagonalization" and "flipping" problem:  $$s_n = (\lnot s_{m,m}, \lnot s_{m,m}, \dots) \quad \text{where $m$ is the element index and} \quad\begin{equation}\lnot s_{m,m} = \begin{cases}0 &amp; \mathrm{if\ } s_{m,m} = 1\\1 &amp; \mathrm{if\ } s_{m,m} = 0\end{cases}\end{equation}$$  This definition doesn't quite work either, as we immediately run in to problems with just $s_1 = (0),$ which is impossible because by definition $s_1$ must be $ = (1)$ if $s_1 = (0)$, which would also be impossible because...   Or more generally, with the revised definition there is a contradiction whenever $n = m$, which would seem to invalidate the revised formulation of the argument / proof.  Nothing about this argument / proof makes any sense to me, nor why it only applies to real numbers and makes them "uncountable". As near as I can tell it would seem to apply equal well to natural numbers, which are "countable".  What am I missing? If $f \circ g$ is surjective, then f is surjective Let $f: X \rightarrow Y$ and $g: Y \rightarrow X$  If $f \circ g$ is surjective, then f is surjective, too.  I think that is true.   Question: How can I proove that? I have so far:   $\forall y \in Y: \exists x \in X : f(x)=y$  $\forall x \in Y : \exists y \in Y : f \circ g(y)= x$ Unsupervised learning for anomaly detection I've started working on an anomaly detection in Python.  My dataset is a time series one. The data is being collected by some sensors which record and collect data on semiconductor making machines.  My dataset looks like this:  ContextID   Time_ms Ar_Flow_sccm    BacksGas_Flow_sccm 7289973 09:12:48.502    49.56054688 1.953125 7289973 09:12:48.603    49.56054688 2.05078125 7289973 09:12:48.934    99.85351563 2.05078125 7289973 09:12:49.924    351.3183594 2.05078125 7289973 09:12:50.924    382.8125    1.953125 7289973 09:12:51.924    382.8125    1.7578125 7289973 09:12:52.934    382.8125    1.7578125 7289999 09:15:36.434    50.04882813 1.7578125 7289999 09:15:36.654    50.04882813 1.7578125 7289999 09:15:36.820    50.04882813 1.66015625 7289999 09:15:37.904    333.2519531 1.85546875 7289999 09:15:38.924    377.1972656 1.953125 7289999 09:15:39.994    377.1972656 1.7578125 7289999 09:15:41.94     388.671875  1.85546875 7289999 09:15:42.136    388.671875  1.85546875 7290025 09:18:00.429    381.5917969 1.85546875 7290025 09:18:01.448    381.5917969 1.85546875 7290025 09:18:02.488    381.5917969 1.953125 7290025 09:18:03.549    381.5917969 14.453125 7290025 09:18:04.589    381.5917969 46.77734375   What I have to do is to apply some unsupervised learning technique on each and every parameter column individually and find any anomalies that might exist in there. The ContextID is more like a product number.  I would like to know which unsupervised learning techniques can be used for this kind of task at hand.  Thanks What is the correct possessive for nouns ending in "‑s"? What is the possessive of a noun ending in ‑s?  Are these both right, or is the second one wrong?   the boys' books the boss' car Number of ring homomorphisms from $\mathbb Z_{12}$ to $\mathbb Z_{28}$. Question:      Find the number of non trivial ring homomorphisms from $\mathbb Z_{12}$ to $\mathbb Z_{28}$. ($f$ is not necessarily unitary, i.e., $f(1)$ need not be $1$.)    Suppose $f$ is a ring homomorphism from $\mathbb Z_{12}$ to $\mathbb Z_{28}$.  Consider $f$ as a additive group homomorphism.  Let $k= |\ker f|$ and  $ t = |\operatorname{im}(f)|$. Then $k\mid 12$ and $t\mid 24$ and $kt=12$, by first isomorphism  theorem of groups.  There are two possibilities $k=3$, $t=4$   and $k=6$, $t=2$.  For the first case $f$ should map $1$ to an element of the subgroup generated by $7$ as there is a unique subgroup of $\mathbb Z_{28}$ of order $4$ generated by $7$. For the second case $1$ has to map to $14$, for the same reasoning.  So there are at most two ring homomorphisms from $\mathbb Z_{12}$ to $\mathbb Z_{28}$. Question is how to check the possible maps which are ring homomorphisms.  Thanks. How does iCloud Photo Library's "Optimize iPhone Storage" setting work in relation to other photo apps on iOS? If I have Optimize iPhone Storage enabled on my iPhone and my phone storage is completely full, I understand that iOS will only store a low-res thumbnail of many of my photos on the device. (The full high-res version of the image will only exist in iCloud and on devices with Download and Keep Originals enabled.)  But when only thumbnails exist on the device, how does that work in relation to other photo apps on iOS? For example, do third-party cloud-based photo apps (like Google Photos, Dropbox's Carousel, or Amazon Prime Photos) have access to the full high-res images from the iCloud Photo Library? Or will they only see the low-res thumbnails in some cases? 80's/90's movie: man and woman driving through a red desert planet How did nobody at Hogwarts (especially Dumbledore) figure out what killed Myrtle? The information is all clearly there, since Harry and Ron, two 12-year-olds, were able to figure it out (with a bit of help from a petrified Hermione), thought at the time Aragog was much younger and smaller and wouldn't have been as easy to find, so maybe the "spiders flee before it" clue would have been lost, although to be honest it's not exactly as vital a piece of the puzzle as the others.  Dumbledore himself is obviously a very capable and intelligent Wizard, and after Myrtle died she came back as a ghost and was able to provide (admittedly limited) details of her own death.  I don't know about you, but I'd have thought at least someone would have tried to piece it together at the time, and it wouldn't have taken them long to figure out "Oh, she saw a pair of big yellow eyes after hearing a boy speak a funny language in the bathroom and dropped dead? Sounds like she might have heard somebody order a Basilisk to look her in the eyes in parseltongue", especially if the investigator in question was someone like Dumbledore.  Do we have any info on why nobody seemed to have found out anything in 50 years prior to Harry Potter (and, probably more importantly, Hermione Granger) turning up at Hogwarts? Compute the radius of convergence of the power series $\sum_{n=0}^{\infty} n!x^n$ 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. It's not like there's anything else to do.   Shouldn't the speaker say: "There's something else to do." ? so what's the meaning of the sentence and what's the difference between the two of them? Thank you, Can you turn weather off in Minecraft? I have been experiencing an issue that once I have a material created and looking the way I want it, I cannot seem to export it correctly with the textures mixed.  I don't know the correct words to use, but in blender I have the material created using the nodes editor, and I have placed two textures inside of there (one for the rock texture and one for moss, my object is a rock). When I export this model and import to Unity (the game engine I am using), I find a materials folder but the material inside of it does not have the textures assigned, it's just a plain white material?  How can I export my material from blender in a way that it will allow me to import it WITH TEXTURES into Unity? tikz arc with -latex arrow tip Why the arc does not fit over the circle if we use -latex arrow tip? Maybe some bug or some bad math computations?    MWE  \documentclass[11pt,margin=2pt]{standalone} \usepackage{tikz} \usetikzlibrary{arrows.meta}  \begin{document} \begin{tikzpicture} \draw         (0:1cm) arc (0: 180:1cm) arc (180:0:1cm and 2cm); \draw         (0:1cm) arc (0:-180:1cm); \draw[-&gt;]     (0:1cm) arc (0:  80:1cm); \draw[-latex] (0:1cm) arc (0:- 80:1cm); \end{tikzpicture} \end{document} How can an 18 month old be taught that bullying is not ok? He seems to like causing the trouble it brings upon him, and bullying, mean acts also seem to please him. He likes to sit on his younger cousin (my son), push him down, and steal his toys. His parents seem to be at a loss about it, and I don't really have any good suggestions to give. Thanks. showing $\psi: R\to \mathbb C$ is ring isomorphism. Is the tabu package obsolete?