How can I get Windows 8 to access the same data as a Linux VM?
Is there a filesystem that is "friendly" to both windows and Linux?
How to use C++ 11 features in the latest version of g++ Newbie here. I just got an error running from the terminal a C++ program I wrote: error: ‘stoi’ is not a member of ‘std’. They told me the compiler is too old.  I'm using Ubuntu 14.04.  My g++ version is 4.8.4.  How do I upgrade? What is the proper way not to scare civilians? Reset or remove the BIOS password on my laptop limit of integral $n\int_{0}^{1} x^n f(x) \text{d}x$ as $n\rightarrow \infty$ I am trying to solve the following problem at the level of a senior undergrad analysis level. So, the problem is as follows: We are given a function $f$ which is continuous on the interval $\left [ 0,1 \right ]$, and the question is to find the limit: $$\lim_{n\rightarrow \infty}\int_{0}^{1}x^{n}f(x)dx\;.$$ The second part of the problem is to deduce the following limit: $$\lim_{n\rightarrow \infty}n\int_{0}^{1}x^{n}f(x)dx\;.$$  For the first part: I just did the following: For every $0\leq x&lt; 1$: $x\leq M$, where $0&lt; M&lt; 1$. Then: $$\int_{0}^{1}x^{n}f(x)dx\leq M^{n}\int_{0}^{1}f(x)dx\;.$$ Then: $$\lim_{n\rightarrow \infty }\int_{0}^{1}x^{n}f(x)dx\leq \lim_{n\rightarrow \infty }M^{n}\int_{0}^{1}f(x)dx= 0.\int_{0}^{1}f(x)dx=0\;,$$ so $$\lim_{n\rightarrow \infty }\int_{0}^{1}x^{n}f(x)dx=\lim_{n\rightarrow \infty }f(1)\int_{0}^{1}1dx=f(1)\;.$$ Does that make sense? If not, please show me the correct one.  As for the second part, I have no idea what to do. Any help? Why do cars gain lift while going at a high speed? I've been researching the physics involved with spoilers and I've just been turning up the same information about spoilers giving the back wheels of a car more traction by acting as an up side down airfoil.   So my question is, what exactly causes the car to apparently gain lift while moving quickly, so as to merit the use of a spoiler, and is this entirely due to the aerodynamics of the vehicle in question?   Edit: Clarity of question. I have a script that reads a text stream and generates a file of sed commands that is later run with sed -f. The generated sed commands are like:  s/cid:image002\.gif@01CC3D46\.926E77E0/https:\/\/mysite.com\/files\/1922/g s/cid:image003\.gif@01CC3D46\.926E77E0/https:\/\/mysite.com\/files\/1923/g s/cid:image004\.jpg@01CC3D46\.926E77E0/https:\/\/mysite.com\/files\/1924/g   Assume the script which generates the sed commands is something like:  while read cid fileid do     cidpat="$(echo $cid | sed -e s/\\./\\\\./g)"     echo 's/'"$cidpat"'/https:\/\/mysite.com\/files\/'"$fileid"'/g' &gt;&gt; sedscr done   How can I improve the script to ensure all regex metacharacters in the cid string are escaped and interpolated properly? Benefits of using QQ-plots over histograms In , Nick Cox wrote:     Binning into classes is an ancient method. While histograms can be useful, modern statistical software makes it easy as well as advisable to fit distributions to the raw data. Binning just throws away detail that is crucial in determining which distributions are plausible.   The context of this comment suggests using QQ-plots as an alternative means to evaluate the fit. The statement sounds very plausible, but I'd like to know about a reliable reference supporting this statement. Is there some paper which does a more thorough investigation of this fact, beyond a simple “well, this sounds obvious”? Any actual systematic comparisons of results or the likes?  I'd also like to see how far this benefit of QQ-plots over histograms can be stretched, to applications other than model fitting. Answers on  agree that “a QQ-plot […] just tells you that "something is wrong"”. I am thinking about using them as a tool to identify structure in observed data as compared to a null model and wonder whether there exist any established procedures to use QQ-plots (or their underlying data) to not only detect but also describe non-random structure in the observed data. References which include this direction would therefore be particularly useful. Caps-lock remapping stops working For each $y \in \mathbb{R}$ either no $x$ with $f(x) = y$ or two such values of $x$. Show that $f$ is discontinuous. RegEx for matching UK Postcodes MySQL Access denied for user 'root'@'localhost' In my server, everytime I try to access MySQL I get the error:        Access denied for user 'root'@'localhost' (using password: NO)   when I try mysqladmin -u root -p password I get        Access denied for user 'root'@'localhost' (using password: YES)   How can I access MySQL in my Ubuntu server 12.04? Leave only two decimal places after the dot English proverb for when a solution comes too late In Flemish we have a saying "Vijgen na pasen". Translated: "figs after Easter". It means a solution comes too late to be of any use.  What is the English equivalent for this?  Some googling gives me "Closing the barn door when the cow has bolted", but the explanation seems to point more towards the wrong solution for a problem. This question is related to  and explores an apparent inconsistency, given only the Harry Potter movies as source material.  The Hogwarts Express line seems to have an inconsistent existence between magical (invisible to ordinary humans aka muggles) and non-magical (muggle) realms; platform 9-3/4 is clearly hidden from muggles, but in Chamber of Secrets, when Harry and Ron take the car (in the muggle world) to catch up to the train, they make no explicit crossing into a magical realm, suggesting that the train is traveling the muggle world despite its departure from a magical platform.  In which realm (magical or muggle) does the Hogwarts Express exist? How is this apparent inconsistency resolved? During the Time War why didn't the Daleks blow up at least one TARDIS while in the Time Vortex? From the Cracks in time and space story arc it's known that if a TARDIS is blown up (possibly while in the Time Vortex) it rips creation itself apart. Also, from the Stolen Earth / Journey's End we learn the Daleks' masterplan which is subjugating creation itself via destroying it with the Reality Bomb (unfading Z-neutrino energy radiation).  In the Last Great Time War all sorts of temporal weapons were used and it's known that Daleks have the ability of time travel as well. Why didn't they use the Time Vortex back then to win the war once and for all via detonating a TARDIS while inside? selectively make contact groups silent Number of factors of a big number How to find the number of factors of $884466000$ without using a calculator? For example:     The word rarely turns up outside of those contexts.      The word turns up rarely outside of those contexts.   Which one is correct and why? So, I was messing around in the Skyrim console and increased my speed a lot. Now I want to reset my speed but the command player.setav speedmult 100 isn't working. Is there any way to reset this? Pre-1980s Sci-fi movie about killer aliens