The link kindly provided by @animuson in the comments explains why it happens with eight blanks instead of four, but my question is, why does something which is not markup, but looks a bit like markup, get treated as markup.  I had assumed that questions regularly included code minus whitespace (it saves the code so much time to write, if not someone to read later) and thought it may be unique to the editing box. It is not.  So, the question remains, why does a&lt;b, with no closing &lt; even, get treated as markup. Is it possible for the edit box to say "this isn't really markup, so I'll display it"?   In addition, the second set of code in a "list" in the same question does not behave in the same way. This only require four leading spaces, not eight. Is it because it is 1.text rather than `1. text'. Yes, looking now, it seems so.  The list formatting requires a space after the full-stop/period. Is this correct? The OP edited both "item 2's", but only one broke.  If "1. Text" is to be automatically treated as a formal list, without original author or editor probably being aware, should "1.Text" be treated in the same way?  This suggested edit, , looked like the suggester had killed some code (look at the first point 2).  Having previously learned that looks can be deceiving, and to use both the views on the Review screen, it seems that all the scrunched-up code got the &lt;kidsArray.length;k++){ treated as the start of an html-style tag. So the rest of that code block disappeared.  Tricky, and the editor should have looked at the preview part of the edit screen and noticed the problem. Correctly rejected, and I edited/rolled back to confirm that the edit pickles the question.  The original seems to work because it has eight leading blanks. Change that to four, and it goes to pot. In fact, change it to seven. It is fun toggling between seven and eight leading blanks and watching the code disappear and reappear. OK, fun for a while.  There's even more fun. In attempting to prepare some screenshots of the here's-the-code-where's-the-code? scenario, it seems that the automatic list numbering may be causing a side-effect, or it may be the tabs in the original or something else, or some combination. Basically lots of different things happen when I mess with the post in the Edit box.  I can get the code to disappear (from the &lt; onwards). I can get it to reappear again, or reappear as plain lines of text.   It is such a mess, I don't have time to do justice to the screenshots.   If others have a play (I was deleting most of the text above and below to make a smaller screenshot, replacing tabs by space, removing spaces (or tabs, not sure) on the second line of the code block) perhaps I can get some confirmation that I'm not going nuts. There's at least four different behaviours, and life isn't long enough for one person to recreate them all when they should be cooking dinner :-)
Consider the following piece of Markdown code:  This is some regular text.      &gt;&gt;&gt; def factorial(n):     ...     return 1 if n &lt; 2 else n * factorial(n - 1)     ...   * This is a list item.      &gt;&gt;&gt; def factorial(n):     ...     return 1 if n &lt; 2 else n * factorial(n - 1)     ...    Notice that the second code block is preceded by a list item.   Why is the factorial code not properly formatted under these circumstances? To demonstrate the problem, I'll insert the Markdown code show above:    This is some regular text.  &gt;&gt;&gt; def factorial(n): ...     return 1 if n &lt; 2 else n * factorial(n - 1) ...     This is a list item                 def factorial(n):       ...     return 1 if n &lt; 2 else n * factorial(n - 1)       ...               This applies to numbered as well as unnumbered lists.
Why is there a discrepancy in disk usage reported by df and du? I have a Linux CentOS server, the OS+packages used around 5GB. Then, I transferred 97GB data from a Windows server to two folders on this Linux server, after calculated the disk usage, I see the total size of the two folders is larger than the disk used size.  Run du -sh on each folder, one use 50GB, the other one use 47GB  But run df -h, the used space is 96GB. (50GB + 47GB + 5GB) > 96GB  Is there any problem? Those two folders contain lots of files (1 million+). Thanks. I want to give a client access to my server, but I want to limit those users to their home directories. I will bind-mount in any files I want them to be able to see.  I've created a user called bob and added him to a new group called sftponly. They have a home directory at /home/bob. I've changed their shell to /bin/false to stop SSH logins. Here is their /etc/passwd line:  bob:x:1001:1002::/home/bob:/bin/false   I've also changed the /etc/ssh/sshd_config to include the following:  Match Group sftponly         ChrootDirectory /home/%u         ForceCommand internal-sftp         AllowTcpForwarding no   When I try to log in as them, here's what I see   $ sftp bob@server bob@server's password:  Write failed: Broken pipe Couldn't read packet: Connection reset by peer   If I comment out the ChrootDirectory line I can SFTP in but then they have free rein over the server. I have found that ChrootDirectory /home works, but it still gives them access to any home directory. I have explicitly tried ChrootDirectory /home/bob but that doesn't work either.  What am I doing wrong? How can I limit bob to /home/bob/?  ----EDIT-----  Okay so I just had a look at /var/log/auth.log and saw this:  May  9 14:45:48 nj sshd[5074]: pam_unix(sshd:session): session opened for user bob by (uid=0) May  9 14:45:48 nj sshd[5091]: fatal: bad ownership or modes for chroot directory component "/home/bob/" May  9 14:45:48 nj sshd[5074]: pam_unix(sshd:session): session closed for user bob   I'm not entirely sure what's going on there,  but it suggests something is wrong with the user directory. Here is the ls -h /home output:  drwxr-xr-x 26 oli      oli      4096 2012-01-19 17:19 oli drwxr-xr-x  3 bob      bob      4096 2012-05-09 14:11 bob Why is the area under a curve the integral? I understand how derivatives work based on the definition, and the fact that my professor explained it step by step until the point where I can derive it myself.  However when it comes to the area under a curve for some reason when you break it up into an infinite amount of rectangles, magically it turns into the anti-derivative. Can someone explain why that is the definition of the integral and how Newton figured this out? I want to install Open JDK or Oracle JDK to my machine but I got an error during installation. The error is:  Selecting previously unselected package oracle-java8-installer. dpkg: warning: files list file for package 'unity-scope-gourmet' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-guayadeque' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-gmusicbrowser' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-manpages' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-firefoxbookmarks' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-gdrive' missing; assuming package has no files currently installed dpkg: warning: files list file for package 'unity-scope-home' missing; assuming package has no files currently installed E: Sub-process /usr/bin/dpkg returned an error code (2)   I searched on Google and try to something for install/reinstall this packages. Finally i try to remove Unity. I faced this error for my every tries. I am using Xmonad. How can I fix this issue? How do I edit the boot order in the GRUB menu to have Windows first? I have a dual boot on my computer of Windows 7 and Xubuntu 12.10. The Linux boot is 1st and the Windows 2nd. I would like to reverse the boot order in the GRUB menu. I need to know the steps to go about editing GRUB. I do most of my work on Windows and need it to be 1st so I can boot up and not watch it. I'm trying to show that $\lvert \lVert x \rVert - \lVert y \rVert \rvert \overset{\heartsuit}{\leq} \lVert x-y \rVert$. A hint would be nice. My problem is how to somehow relate the the gcd and congruence. I know that $(a,b) = ax + by$. I also know that $a \equiv b \pmod n$ means $n\mid a-b$. Any hints?  Thanks! Input password into SSH without typing Display lost/negative reputation in topbar achievements When you get reputation, you get a +X green spot on your reputation feed telling you that you gained reputation and if you drop down the menu, you get more detail.  How about we make it that when you lose more than you got since the last time you checked, you see it red with a little -X.  For example, let's say you've just looked at the reputation bar so any old rep notification is gone and you ask a new question. 3 users downvote your question and 1 upvotes it. You will see it green because you gained 5 rep but you should see it red because you are at -1 rep.   This would help people improve their questions / answer by seeing, as soon as they get on the site, that they got negative feedback and that something needs to be checked / changed.    It shows here so it could very well be applied to the notification count: Is there any table or any other way(metadata/rest api) we can query the list views of a particular object that a user/group  has access.  Example:  SELECT Name FROM table_x WHERE UserOrGroupId = '1234..' AND  SobjectType = 'Account'   I can see an object named UserListView in workbench, but query on that returns no data. Is it deprecated? Why is the network configuration I set in /etc/network/interfaces ignored on Ubuntu 17.10? Lightning component scripts loading issues since Spring 17 update Prove that if for every $x \in \mathbb{R}^N$ $Ax=Bx$ then $A=B$ How does the tester screwdriver work? How does the tester screwdriver work? If I put the tester screwdriver inside the "hot wire" of an electrical socket, it lits up if I press my finger against the metal cap on top of the screwdriver. This happens also if I stand on a surface of isolating material, such as wood. I read elsewhere that this happens due to stray capacitance formed by the "hot wire", the human body, and the ground. One has  $$ Z = R + \dfrac{1}{j \omega C}  $$  for the impedance, so if C  is high enough, the impedance should be close to r , the "effective resistance" of the formed circuit. Here I get lost; why r  is small enough to cause a current in the range of mA  even if I stand on an isolating surface?  So really what I am asking is how one may represent the system hot wire - screwdriver - human body - wooden floor - building - ground as an electrical circuit, and which parts of the physical system contribute to the resistance, capacitance (and inductance?) and in which proportion, even very approximately. I converted a raster image to vector in Illustrator CS6 using Image Trace then the Expand option, though when I save as an svg the image looks embossed. I suspect it's due to the layer background being white and the paths not lining up, but I'm unsure how to fix it or prove that theory without manually having to adjust every path.   This is how it looks in Illustrator before I export it:    The image looks like this when saved/exported with art optimized option: Writing string at the same position using Console.Write in C# 2.0 I've always wondered this - why can't you declare variables after a case label in a switch statement?  In C++ you can declare variables pretty much anywhere (and declaring them close to first use is obviously a good thing) but the following still won't work:  switch (val)   {   case VAL:     // This won't work   int newVal = 42;     break; case ANOTHER_VAL:     ...   break; }     The above gives me the following error (MSC):     initialization of 'newVal' is skipped by 'case' label   This seems to be a limitation in other languages too.  Why is this such a problem? Can someone please elucidate the difference between "many" and "many a"? In what context of usage should we add an extra "a" beside the word "many"?  For example:         Many times, I had seen that . . . .   Many a times, I had seen that . . . .      I do not know if the example is accurate enough to support my question, but I would like to know the difference between how they are used. Globally disable "include online search results" I am trying to animate in 2d. I do it with planes that have textures on them. I recently came up with the idea of having a plane with an image sequence of mouths because animating actual lip syncing by hand takes too long and isn't really necessary for what I'm trying to acomplish. However, when playing back the animation in textured viewport shading the animated texture stays at the last frame until the animation stops. I can use the arrow keys and it works fine as well as scrubbing through the timeline, just not when playing back the animation with alt+a. Can anyone help me with this problem?