Wanting to write units properly
What package should I use to typeset units?
How to keep glasses dry in the rain? Can't install/uninstall packages in Debian I'm trying to install/uninstall packages in Debian but getting errors.    I can't remove or add any package, always getting the error.   I tried:  apt-get --remove purge package apg-get remove package dpkg -r package How to restore original size and unboot my bootable USB pendrive What is the variance of the weighted mixture of two gaussians? Say I have two normal distributions A and B with means $\mu_A$ and $\mu_B$ and variances $\sigma_A$ and $\sigma_B$. I want to take a weighted mixture of these two distributions using weights $p$ and $q$ where $0\le p \le 1$ and $q = 1-p$. I know that the mean of this mixture would be $\mu_{AB} = (p\times\mu_A) + (q\times\mu_B)$.  What would the variance be?    A concrete example would be if I knew the parameters for the distribution of male and female height. If I had a room of people that was 60% male, I could produce the expected mean height for the whole room, but what about the variance? Embedding a link (or other html) in a JSF message Does it look good to edit the question you're answering? I have a question about editing practices:  Does it look good to edit a question you have just answered?  For example: say I had just answered a question, then saw that the question had some minor formatting issues. Should I edit it? Does it turn up voters off when they see that I am answering a question I changed, possibly to better suit my answer? Prove $\chi(G)\chi(\bar{G}) \geq n$ for chromatic number of graph and its complement Evaluating $\int_{I^n} \left( \min_{1\le i \le n}x_i \right)^{\alpha}\,\, dx$ Let $\alpha \in \mathbb R$ and let's call $I:=[0,1]$. Evaluate   $$  \int_{I^n} \left( \min_{1\le i \le n}x_i \right)^{\alpha}\,\, dx.  $$   Well, the case $n=1$ is easy and the integral equals $\frac{1}{\alpha+1}$, for every $\mathbb R \ni \alpha \ne - 1$.  I've done also the case $n=2$ and, if I'm not wrong, it's $\displaystyle \frac{2}{(\alpha+1)(\alpha+2)}$.  My big problem is that I cannot understand how to deal with the general case. Any ideas?   Thanks in advance. How to set shell to wrap words for long commands? I've noticed that the majority of Ubuntu help websites present apt commands in the following format:  sudo add-apt-repository ppa:[ppa-address] sudo apt-get update sudo apt-get install [application-name]   But I know that apt commands like this one work too:  sudo add-apt-repository ppa:[ppa-address] &amp;&amp; sudo apt-get update &amp;&amp; sudo apt-get install [application-name]   Is there a particular reason that most sites present in the first format? Are there known issues with chaining commands with &amp;&amp;, or to put it another way are there any benefits/drawbacks to using either method?  Further, other then loss of internet, are there any circumstances in which an apt command might fail? opengl storing multiple indices into indices buffer How can I know which apps are currently connecting to the Internet? I have a Samsung Spica running Eclair (rooted). I've noticed on a number of occasions that inspite of the Autosync option turned off, the sync icon appears in the notification bar. By default, Gmail, Calendar &amp; Contacts are set to sync whenever the Autosync option is turned on.  I don't use any scheduler app like Locale or Tasker.  Is there an app or some way to see which app is connecting to the Internet at any given time? Or can someone verify if this sort of behaviour of the sync icon appearing is normal? Interscholastic Mathematics League Senior B Division #2 Points $P$, $Q$, $R$ and $S$ are chosen on the sides of parallelogram $ABCD$, so that $P$ is on line $AB$, $Q$ is on line $BC$, $R$ is on line $CD$, $S$ is on line $DA$, and $AP=BQ=CR=DS=\frac{1}{3}(AB)$. Compute the ratio of the area of $PQRS$ to the area of $ABCD$. I use Lyx 2.1, document class : Report. My problem is that the titles of figures are written on the numbers at List of Figures. Solution for A/C Condensate Drain Line that doesn't require emptying a bucket of water every day? I've got this one file, favicon.ico. It's actually a large group of nested files, but purely for example, just this one.  If I do cp favicon.ico favicon2.ico, Apache can read the second one just fine.  If I do mv favicon.ico favicon3.ico, Apache throws a 403 on favicon3.ico.  If I su apache, I can read the file as apache.  stat says both files are identical, except for the inode number.  Is there some hidden flag somewhere or something that I'm missing? I've never seen anything like this.  error_log says (13)Permission denied: access to /favicon3.ico denied I would like to know if there is some way to share a variable or an object between two or more Servlets, I mean some "standard" way. I suppose that this is not a good practice but is a easier way to build a prototype.  I don't know if it depends on the technologies used, but I'll use Tomcat 5.5    I want to share a Vector of objects of a simple class (just public attributes, strings, ints, etc). My intention is to have a static data like in a DB, obviously it will be lost when the Tomcat is stopped. (it's just for Testing) Using a foreign driver's license in California when staying with a J-1 visa I'm planning to attend a Californian university as a visiting scholar (not paid by the university) on a J-1 visa, for a total of four weeks; a colleague of mine will do the same, but for 12 weeks. I've been told (personally, ie. no citable sources) that, if you're staying on a J-1, you're effectively a California resident for the time you're there, and, therefore, need a Californian driver's license.  I've read up on this and found  that states:     If you are a visitor in California over 18 and have a valid driver   license from your home state or country, you may drive in this state   without getting a California driver license as long as your home state   license remains valid.      If you become a California resident, you must get a California driver   license within 10 days. Residency is established by voting in a   California election, paying resident tuition, filing for a homeowner's   property tax exemption, or any other privilege or benefit not   ordinarily extended to nonresidents.   I'm not planning to vote in any elections, nor will I own a home there, but I'm not sure what would constitute "privileges or benefits not ordinarily extended to nonresidents".  Do we need to get driver's licenses in California, or can we use our foreign licenses? How about day trips to Arizona or Nevada?  Note: this seems to be related to , but my question is specifically about staying there on a J-1. How to change default viewport shading in 2.8? Is it possible to change the default mesh color/shading in 2.8 to be more like 2.79? I'm finding it hard to see finer detail in 2.8. On the left is 2.8 and the right is 2.79 What's so special about standard deviation?