In   HNQ of Unix and Linux SE, I saw that the accepted answer, with 248 votes, is below another answer with 1382 votes (Yes, I am talking about gimme gimme gimme!) . But as far as my knowledge goes (which doesn't go very far :P), accepted answers flow on top of the list, so why is it happening so in the above linked question? Is it any special feature for an answer with 1000+ or 500+ votes?
On , sorted by votes, the accepted answer is #3 in order of votes.  It appears as number 3 in the list as well. Is this new behavior intended?
Why is compactness so important? I've read many times that 'compactness' is such an extremely important and useful concept, though it's still not very apparent why. The only theorems I've seen concerning it are the Heine-Borel theorem, and a proof continuous functions on R from closed subintervals of R are bounded. It seems like such a strange thing to define; why would the fact every open cover admits a finite refinement be so useful? Especially as stating "for every" open cover makes compactness a concept that must be very difficult thing to prove in general - what makes it worth the effort?  If it helps answering, I am about to enter my third year of my undergraduate degree, and came to wonder this upon preliminary reading of introductory topology, where I first found the definition of compactness. Coincidence, purposeful definition, or something else in formulas for energy In the small amount of physics that I have learned thus far, there seems to be a (possibly superficial pattern) that I have been wondering about.  The formula for the kinetic energy of a moving particle is $\frac{1}{2}mv^2$.  The formula for kinetic rotational energy is $\frac{1}{2}I\omega^2$.  The formula for energy stored in a capacitor is $\frac{1}{2}C \Delta V^2$.  The formula for energy delivered to an inductor is $\frac{1}{2}LI^2$.  Finally, everyone is aware of Einstein's famous formula $e=mc^2$.  I realize there are other energy formulas (gravitational potential energy, for example) that do not take this form, but is there some underlying reason why the formulas above take a similar form? Is it a coincidence? Or is there a motivation for physicists and textbook authors to present these formulas the way they do? Prove : $p$(n│even number of ODD parts)=$p$(n│distinct parts ,number of ODD parts is even ) What do I need to install LED strip lighting? I've been looking to install LED strips, either RGB or white for lighting and ambiance. It wouldn't be the main lighting of the room, so no necessity for high power LEDs.  The perimeter of the room is a little less than 25 meters. Looking around in online stores, I saw that the reels come in maximum lengths of 5 meters, so I would need five of those.  What I'm not sure is how to connect the strips together.  I was looking at , or  with .  If I choose the white LEDs, what power supply, controller, and connector would you recommend to be able to daisy chain the strips?  If I choose the RGB LEDs, what kind of data repeaters would work to be able to control all the strips at once? Periodic function implies periodic primitive? If $f$ is a periodic function with $T = \pi$, does that mean that $F$ (a primitive of $f$) has the same period ? What about the inverse implication (periodic primitive implies periodic function) ? Multi-core vs Multi-CPU I am requesting a new server from our Server team. Which is better for SQL Server performance: 2 CPUs with 8 cores per CPU or 1 CPU with 16 cores? Terminal not displaying colors for directory listings I don't know why my bash session doesn't show colors. I have tried Terminal as well as iTerm.  I have tried:   ls -G Setting export CLICOLOR=1 and export LSCOLORS=GxFxCxDxBxegedabagaced Using different themes such as solarized and something else   The versions of my software are:   bash: GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13) osx: 10.9.2   I have Homebrew installed  I don't know what other information might be helpful. I spend a lot of time on the shell, this problem is becoming very annoying :)  edit: in terminal preferences, I have 'Declare terminal as: xterm-256color' and 'Display ANSI colors' along with 'Use bright colors for bold text' How to read from two input files using while loop I wanted to know if there is any way of reading from two input files in a nested while loop one line at a time. For example, lets say I have two files FileA and FileB.   FileA:  [jaypal:~/Temp] cat filea this is File A line1 this is File A line2 this is File A line3   FileB:  [jaypal:~/Temp] cat fileb this is File B line1 this is File B line2 this is File B line3   Current Sample Script:  [jaypal:~/Temp] cat read.sh  #!/bin/bash while read lineA     do echo $lineA      while read lineB         do echo $lineB          done &lt; fileb done &lt; filea   Execution:  [jaypal:~/Temp] ./read.sh  this is File A line1 this is File B line1 this is File B line2 this is File B line3 this is File A line2 this is File B line1 this is File B line2 this is File B line3 this is File A line3 this is File B line1 this is File B line2 this is File B line3   Problem and desired output:  This loops over FileB completely for each line in FileA. I tried using continue, break, exit but none of them are meant for achieving the output I am looking for. I would like the script to read just one line from File A and then one line from FileB and exit the loop and continue with second line of File A and second line of File B. Something similar to the following script -  [jaypal:~/Temp] cat read1.sh  #!/bin/bash count=1 while read lineA     do echo $lineA          lineB=`sed -n "$count"p fileb`         echo $lineB         count=`expr $count + 1` done &lt; filea  [jaypal:~/Temp] ./read1.sh  this is File A line1 this is File B line1 this is File A line2 this is File B line2 this is File A line3 this is File B line3   Is this possible to achieve with while loop? How to redirect users to custom lostpassword page? For the ring $\Bbb{Z}[\sqrt{d}]=\{a+b\sqrt{d}\mid a,b \in \Bbb{Z}\}$ where $d$ is not divisible by the square of a prime, prove that the norm $N(a+b\sqrt{d})= |a^2-db^2|$ satisfies the assertions: $N(x)=0$ if and only if $x=0$; $N(xy)=N(x)N(y)$ for all $x$ and $y$; $x$ is a unit if and only if $N(x)=1$; and if $N(x)$ is prime, then $x$ is irreducible in $\Bbb{Z}[\sqrt{d}]$. Is there a difference in disenchanting strong items vs. weak ones? Possible Duplicate:           states that the strength of the enchantment doesn't matter when disenchanting items to learn new enchantments.  Am I reading that right? If I have novice robes with 50% faster regen and disenchant it and my enchantment skill is at 5/5, when I enchant that item will it be the same result as disenchanting master robes with 150% faster regen? Because if you do the math, 5/5 enchanting will give you 100% better enchantment.   Therefore wouldn't it be better to disenchant more powerful items than weaker ones? Is it possible to connect two monitors on a laptop, one through HDMI and the other through DisplayPort? For example the Alienware m17x offers 3 connections, HDMI, DisplayPort, and VGA. Is it possible to connect two independent external monitors, one through the DisplayPort and one through the HDMI port? Capitalize and punctuate "let us continue this discussion in chat" Eulerian Paths in a Complete Graph $K_5$ As the title suggests, I’m simply looking for a method to compute the number of Eulerian Paths in the complete graph $K_5$, where all paths start from the same node. Since there are 5 nodes, all Eulerian paths must be Eulerian circuits as well.  Thanks. Is it normal for DC wall adapter power supplies to provide voltages above the nominal ones? When I measure a 9V DC wall adapter power supply with a multimeter it shows 11.8V. When connected to my board this voltage lowers to 10V. Is this normal? Should I be afraid of toasting my  supplied board when using this adapter?  Edit: This regulator accepts up to 12V inputs. So that will be no problem. A second "9V" adapter yields 15V to the multimeter. Will this one burn my circuit? Is there a LaTeX/TeX preprocessor/inliner that replaces only selected macros with their definitions? Firstly, this is a homework problem so please do not just give an answer away. Hints and suggestions are really all I'm looking for.  I must prove the following using mathematical induction:     For all $n\in\mathbb{Z^+}$, $1+2+2^2+2^3+\cdots+2^n=2^{n+1}-1$.   This is what I have in my proof so far:     Proof: Let $p\left(n\right)$ be $\sum_{j=0}^n 2^j=1+2+2^2+\cdots+2^n=2^{n+1}-1$. Then $P\left(0\right)$ is    \begin{align} \sum\limits_{j=0}^0 2^j=1=2^1-1.\tag{1} \end{align} Hence    $P\left(0\right)$ is true. Next, for some $k\in\mathbb{Z^+}$, assume    $P\left(k\right)$ is true. Then \begin{align}  \sum\limits_{j=0}^{k+1}2^j&amp;=\left(\sum\limits_{j=0}^k  2^j\right)+2^{k+1}\tag{2}\\ &amp;=2^{k+1}-1+2^{k+1}\tag{3} \\ &amp;=2\cdot 2^{k+1}-1\tag{4}\\ &amp;=2^{k+2}-1\tag{5}\\ &amp;=2^{\left(k+1\right)+1}-1.\tag{6} \end{align}   Therefore, $P\left(n\right)$ holds for all $n$.$\;\;\;\;\blacksquare$   Is everything right? My professor went over the methodology in class quite fast (and I had a bit too much coffee that night) and I want to make sure I have it down for tomorrow night's exam. Moment generating function of the inner product of two gaussian random vectors Can anybody please suggest how I can compute the moment generating function of the inner product of two Gaussian random vectors, each distributed as $\mathcal N(0,\sigma^2)$, independent of each other? Is there some standard result available for this? Any pointer is highly appreciated. pain of browser back button Which side of wave-particle duality to choose in a given situation How does one know whether, in treating a certain problem, one should consider particles as waves or as point-like objects? Are there certain guidelines regarding this?