Why does sort ignore dollar ($) at beginning of line?
Why does this sort ignore the +/- character prefix?
If asking a question or giving instruction towards a group of objects where the number is unknown (and possibly could be one) what is the correct way to phrase the sentence? Which of the following sentences are more correct:     Has there been any studies regarding this and if so what has been the   conclusion?   OR     Has there been any studies regarding this and if so what have been the   conclusions? I'm working on a map in Bedrock Edition, and I need to have a command block at the end that says "Congratulations [player], you win!" Because it's a map, I cant just have it say a specific player's name, and I've seen maps that do exactly what I want mine to do. How do I format the command to allow this? What do we call someone who's in between -a friend and an enemy! He's a friend of mine   The message is clear. He's my friend. He wishes all good for me and helps me whenever I need one.      He's an enemy of mine   The message is clear again. He's my enemy. He wishes all bad for me and never helps me whenever I need!     He's ...... of mine!   The message is clear. He's neither friend nor enemy. He's in between. At times, he may help me but then I cannot always rely on him. He's not a friend of mine.   Other times, he does really bad to me but maybe, there was no any other go for him. He's not an enemy of mine! :) "No such file or directory" when trying to remove a file, but the file exists? What's the best way to parse an XML dateTime in Java? Do you need line of sight to cast spells on someone? warning message at command line `sudo` Obtain the joint PDF of $\theta_{1} - \theta_{2}$ and $\theta_{1}$ where $\theta_{1}$ and $\theta_{2}$ are i.i.d $\text{Uniform}[0, 2\pi)$ I have 2 i.i.d Uniform random variables $\theta_{1}$ and $\theta_{2}$ on $[0, 2\pi)$. Here the problem pushes us to consider that all operations are made modulo $2\pi$. My question is how to obtain the joint PDF of $\theta_{1} - \theta_{2}$ and $\theta_{1}$ and then obtain the conditional PDF of $\theta_{1}$ given $\theta_{1} - \theta_{2}$??. For the second part It can be deduced from the first by writing it as the joint PDF divided by the PDF of $\theta_{1}$. But for the first part, A common idea that I saw is to derive the $\text{CDF}(x, y) = P(\theta_{1} - \theta_{2} \le x$, $\theta_{1} \le y$) and then perform derivations respect to $x$ and $y$. Is this a right approach? If yes, how to proceed with CDF especially with our uniform distribution restrictions? I am doing a project where my electronics runs on 5V which I wanted to power from a 7.2v lipo regulated down to that voltage. I'd really like to include the opportunity to charge the lipo without removing it from the project. What kind of circuit/components do I need to do it properly?  Say, would putting a battery charging ic at the battery's terminals in parallel to my system be enough to achieve what I need? What are the options for traveling to the airports in Paris? Paris has 3 airports (Orly, Roissy, Beauvais), what are the options to go to or to come from there?  (There is also Vatry (XCR) but there is very few flights and i see the shuttle system is currently off.) Alignment of the titles in a ToC and \Roman{section} There is a problem with the alignment of the numbering of the ToC: When we use   \renewcommand{\thesection}{\Roman{section}}   the numbers encroach on the titles. When the command is commented out, the numbers are all aligned [from the first number on the left] but the titles do not begin at the same position.  What I want is to use \Roman{section} but with the numbers being displaced after V (or 9 in arabic) so that the first letters of the  titles are all aligned !  An illustration:  %\RequirePackage{fix-cm} \documentclass[a4paper, 11pt, twoside]{article}  \renewcommand{\thesection}{\Roman{section}}  \begin{document}   \tableofcontents \normalfont %\cleardoublepage  \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY} \section{QWERTY}  \end{document} Proving $\int_{0}^1\frac{x-1}{\log x}dx=\log 2$ and $\int_{0}^1\frac{\log x}{x-1}dx=\frac{\pi^2}{6}$ I would like to know how to prove the following two definite integrals.  A: $$\int_{0}^1\frac{x-1}{\log x}dx=\log 2$$  B:$$\int_{0}^1\frac{\log x}{x-1}dx=\frac{\pi^2}{6}$$  I found these two by using wolfram-alpha, but I can't prove them. I suspect that the following relations might be used.  $$\log 2=1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+\cdots=\sum_{n=1}^\infty\frac{(-1)^{n-1}}{n}$$and$$\frac{\pi^2}{6}=\frac{1}{1^2}+\frac{1}{2^2}+\frac{1}{3^2}+\frac{1}{4^2}+\cdots=\sum_{n=1}^\infty\frac{1}{n^2}$$  I need your help. A tool to measure signal strength of wireless I want to know if there exists any command line option or GUI tool (Ubuntu 11.10) so that I can measure the strength of wireless signal at a given location. I have a house where the wireless is not easily accessible at all corners I want to know at which corners or rooms the signal is weak. Why don't you have to press CTRL+ALT+DEL to logon anymore in Windows 8? In previous versions of Windows, you had to press Ctrl + Alt + Delete to logon, or to unlock a locked workstation.  This was because this key sequence was recognized only by the OS and thus other software couldn't intercept it and display a spoofed logon screen to capture passwords.  Starting with Windows 8, you now just have to press Enter to get to the logon screen.  What is to stop someone from writing a fake logon screen?  Did Windows 8 add some sort of new security mechanism to mitigate this security issue? I have read , but it was asked in the context of servers not desktops or notebooks.  If a good amount of RAM is installed on a notebook, say 8 GB, do we still need a swap space? Maximum likelihood when usual procedure doesn't work I am trying to get the maximum likelihood estimate for the parameter $p$. The distribution is the following:   $$ f(x\mid p) = \begin{cases} \frac{p}{x^2} &amp;\text{for} \ p\leq x &lt; \infty  \ \\ 0 &amp;\text{if not} \end{cases} $$  The sample has size $n$.  The problem is, when I try to estimate it by the procedure I know, I would have to estimate the likelihood function and obtain the derivative of the log-likelihood. We'd have:   $$ L(p; x) = \frac{p^n}{\prod_{i=1}^{n} x^2_i}$$  $$ \ln L(p;x) = n \ln(p) - \sum_{i=1}^{n} \ln(x_i^2) $$   For the derivative:  $$ l'(p;x) = \frac{n}{p} = 0$$   And I am stuck because it has no solution for $p$. How do I evaluate this?  Thanks!   EDIT:  So in this case I can use the indicator variable to write:   $$ L(p;x) = \frac{p^n}{\prod_{i=1}^{n}x_i^2} I_{(x_i \geq p)}$$   for $i = 1,2, \ldots n$ in the indicator variable. So the "closest" non-null value of $x \in X$ to $p$ is $min(X_1, \ldots X_n)$. Is that the point? How do I search for questions with specific tags?       For more information about searching, see &quot;&quot; in the . Firefox 33 doesn't see Java Plugin I am trying to enable Java (not JavaScript) in my Firefox v. 33 so that I can use applets within the browser.  Currently, I just get a dark gray box across the whole screen when I try to load an applet, without any error message or prompt to install plugin.  As per , I tried going into the Firefox plugin page to activate it, however, it wasn't there listed.  I do have Java 7 installed and it is in the path:  &gt;java -version java version "1.7.0_71" Java(TM) SE Runtime Environment (build 1.7.0_71-b14) Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)   What do I need to do to get Firefox to see my Java installation and recognize it as a plugin so that I can enable it and view applets inside the browser? Why with two classes, LDA gives only one dimension? Ubuntu Wifi drivers not working after getting update