Using math to help people
Can I use my powers for good?
I seem to remember from first year physics that we can calculate the RMS speed of a stationary, ideal gas with $v=\sqrt{\frac{3RT}{M}}$. Does a similar equation exist for liquids? Cardinality of cartesian product of an infinite set with N This is a  about understanding and remediating the Heartbleed security issue.   What exactly is CVE-2014-0160 AKA "Heartbleed"? What is the cause, what OSs and versions of OpenSSL are vulnerable, what are the symptoms, are there any methods to detect a successful exploit?   How can I check to see if my system is affected? How can this vulnerability be mitigated? Should I be concerned that my keys or other private data have been compromised? What other side effects should I be concerned about? (Almost) double light speed When can we use 'much' in affirmative clauses? I found the below in  web-site:     We use much in questions and negative clauses to talk about degrees of something.      We don’t use much in affirmative clauses.   Also, it the same web-site, I found the following:     She runs much faster than he does.    also I noticed that some web-sites use much with affirmative clauses:     May we all be having this much fun and getting this much exercise when we're his age!    Is it Okey to use much in affirmative clauses? If yes, when can we use it? and what is the rules?  Update:  Here is another example on how often the word "much" is used  in informal style:     After much consideration I will NOT be performing at the Inauguration with my improv group Capitol Hill-arious Cost Distance Analyst In QGIS? Are there any tools, plugins or methods in QGIS which allows for an analysis of the best path between two points using least cost path method? As shown below ArcGIS has several distance tools. Is there a way to search the latest version of every file in TFS for a specific string or regex? This is probably the only thing I miss from Visual Source Safe...    Currently I perform a Get Latest on the entire codebase and use Windows Search, but this gets quite painful with over 1GB of code in 75,000 files.    EDIT: Tried the powertools mentioned, but the "Wildcard Search" option appears to only search filenames and not contents.  UPDATE: We have implemented a customised search option in an existing MOSS (Search Server) installation. I'm taking a look at  (now removed), which all seem to be pretty much the same.  Should any be downvoted/flagged, and if so, which ones? Why is ridge regression called "ridge", why is it needed, and what happens when $\lambda$ goes to infinity? I would like to understand a couple of fact on maximum likelihood estimators (MLEs) for logistic regressions.   Is it true that, in general, the MLE for logistic regression is biased? I would say "yes". I know, for example, that sample dimension is related to the asymptotic bias of MLEs.   Do you know any elementary examples of this phenomenon? If the MLE is biased, is it true that the covariance matrix of the MLEs is the inverse of the Hessian of the maximum likelihood function?   edit: I have met this formula quite often and without any proof; it seems a quite arbitrary choice to me. Is there a ZIP code I can enter when paying-at-the-pump in the USA with a foreign credit card? In the USA, many  fuel dispensers that accept credit cards require a  that corresponds to the billing address of the credit card.  In Canada, for instance, we have , so it's not obvious what you're supposed to type in since the gas dispensers have only numeric keypads.  Entering '00000' or '90210' seems to always result in failed authorization.  Is there a zip code that works for credit cards with foreign billing addresses? This is a  about Server Security - Responding to Breach Events (Hacking)   See Also:                  Canonical Version I suspect that one or more of my servers is compromised by a hacker, virus, or other mechanism:   What are my first steps? When I arrive on site should I disconnect the server, preserve "evidence", are there other initial considerations? How do I go about getting services back online? How do I prevent the same thing from happening immediately again? Are there best practices or methodologies for learning from this incident? If I wanted to put a Incident Response Plan together, where would I start? Should this be part of my Disaster Recovery or Business Continuity Planning?   Original Version       2011.01.02 - I'm on my way into work at 9.30 p.m. on a Sunday because our server has been compromised somehow and was resulting in a    attack on our provider. The servers access to the Internet   has been shut down which means over 5-600 of our clients sites are now   down. Now this could be an FTP hack, or some weakness in code   somewhere. I'm not sure till I get there.      How can I track this down quickly? We're in for a whole lot of   litigation if I don't get the server back up ASAP. Any help is   appreciated. We are running Open SUSE 11.0.            2011.01.03 - Thanks to everyone for your help. Luckily I WASN'T the only person responsible for this server, just the nearest. We managed   to resolve this problem, although it may not apply to many others in a   different situation. I'll detail what we did.      We unplugged the server from the net. It was performing (attempting to   perform) a Denial Of Service attack on another server in Indonesia,   and the guilty party was also based there.      We firstly tried to identify where on the server this was coming from,   considering we have over 500 sites on the server, we expected to be   moonlighting for some time. However, with SSH access still, we ran a   command to find all files edited or created in the time the attacks   started. Luckily, the offending file was created over the winter   holidays which meant that not many other files were created on the   server at that time.      We were then able to identify the offending file which was inside the   uploaded images folder within a  website.      After a short cigarette break we concluded that, due to the files   location, it must have been uploaded via a file upload facility that   was inadequetly secured. After some googling, we found that there was   a security vulnerability that allowed files to be uploaded, within the   ZenCart admin panel, for a picture for a record company. (The section   that it never really even used), posting this form just uploaded any   file, it did not check the extension of the file, and didn't even   check to see if the user was logged in.      This meant that any files could be uploaded, including a PHP file for   the attack. We secured the vulnerability with ZenCart on the infected   site, and removed the offending files.      The job was done, and I was home for 2 a.m.            The Moral   - Always apply security patches for ZenCart, or any other CMS system for that matter. As when security updates are released, the whole   world is made aware of the vulnerability.   - Always do backups, and backup your backups.   - Employ or arrange for someone that will be there in times like these. To prevent anyone from relying on a panicy post on Server   Fault. Confused about AMD/Intel When I go to the downloads page to get Ubuntu, it automatically downloads the AMD version, but my computer has no hardware with AMD on it. I only have Intel and Nvidia. Also, when I install this AMD version on my computer, it works (other than the constant random freezing of the computer when I use Ubuntu). I don't really understand why the amd version works on a computer with an intel processor. How to get the directory of open blend file? (from Python) What's the best way to get the full directory of the current Blender file in Python?  It should be cross-platform. I have text file. Task - get first and last line from file after   $ cat file | grep -E "1|2|3|4" | commandtoprint  $ cat file 1 2 3 4 5   Need this without cat output (only 1 and 5).  ~$ cat file | tee &gt;(head -n 1) &gt;(wc -l) 1 2 3 4 5 5 1   Maybe awk and more shorter solution exist... What are the benefits to marking a field as `readonly` in C#? What are the benefits of having a member variable declared as read only?  Is it just protecting against someone changing its value during the lifecycle of the class or does using this keyword result in any speed or efficiency improvements? I have four competing models which I use to predict a binary outcome variable (say, employment status after graduating, 1 = employed, 0 = not-employed) for n subjects. A natural metric of model performance is hit rate which is the percentage of correct predictions for each one of the models.   It seems to me that I cannot use ANOVA in this setting as the data violates the assumptions underlying ANOVA. Is there an equivalent procedure I could use instead of ANOVA in the above setting to test for the hypothesis that all four models are equally effective? I am stuck while calculating the peak current in the boost converter through the inductor.  Can you please check if I am right?  Ipeak=(Max Voltage/ R2) = 18/1000=0.018. So, my peak current through the inductor is just 18mA? Am I doing it correct. If this is correct, how will I account for the Vce drop inside the pin1 and pin2 of the IC. The darlington transistor inside the IC is just like a normal transistor. I have added two transistor outside the IC instead of using the darlington switch in the IC for thermal purposes.   Can you please help me with the calculation of Vswce and Ipeak. The calculation of Vswce is not mentioned in the datasheet. So, please help. And the calculation of Peak current is mentioned in the datasheet. But is my approach of calculating the peak current through the inductor right? Comment submission broken for comments that end with @username $(\mathbb R, \oplus)$ is a group. Define a multiplication with which we get a field. Where $a \oplus b = a + b +1$ I have this problem from the book Real Analysis of Miklos Laczkovich ():     Let $\oplus : \mathbb R \times \mathbb R\to \mathbb R $, where $(a,b) \mapsto a + b +1$. Then,  $(\mathbb R, \oplus)$ is a group. Define a multiplication with which we get a field.   But in the exercise there are no hints. Could anyone help me?