Save data to CSV and encode to utf-8
UTF-8 all the way through
How do I transcode a Javascript string to ISO-8859-1? How to solve "Extra junk at end of file" when using apt? I'm trying to configure some proxies for a guest virtual machine and now I'm getting:  sudo apt-get update E: Syntax error /etc/apt/apt.conf.d/95proxy:4: Extra junk at end of file   The content of the file is:  cat /etc/apt/apt.conf.d/95proxy   Acquire::http::proxy  "http://10.0.0.60:3128/" Acquire::ftp::proxy "http://10.0.0.60:3128/" Acquire::https::proxy "http://10.0.0.60:3128/" Confidence interval for the p-value estimate when doing Monte Carlo testing The second paragraph of the  section of the Wikipedia article on resampling statistics, the values of a confidence interval for a p-value from a MC sampling is given:     After $N$ random permutations, it is possible to obtain a confidence interval for the p-value based on the Binomial distribution. For example, if after $N = 10000$ random permutations the p-value is estimated to be $\hat{p}=0.05$, then a 99% confidence interval for the true $p$ (the one that would result from trying all possible permutations) is $[0.044, 0.056]$.   What's the formula to calculate it? Consider the factorization into irreducibles of $6$ in $\mathbb{Z}[\sqrt{-5}]$. We have $6=2 \times 3$ and  $6=(1+\sqrt{-5}) \times (1-\sqrt{-5})$, i.e. $2$ distinct factorizations. And,  $$6^2=3 \times 3\times2\times2$$ $$=(1+\sqrt{-5}) \times (1-\sqrt{-5}) \times (1+\sqrt{-5}) \times (1-\sqrt{-5})$$ $$=(1+\sqrt{-5}) \times (1-\sqrt{-5})\times3\times2.$$ More generally, $6^n$ will have $n+1$ distinct factorizations into irreducibles in $\mathbb{Z}[\sqrt{-5}]$ by a simple combinatorial argument. But, can we construct a ring in which there exists an element that has an infinite number of distinct factorizations into irreducibles? To make life harder, can we construct an extension of $\mathbb{Z}$ in which this happens? I have been thinking about this for a while and have managed to find no foothold.. Any help is appreciated. Too many of your edits were rejected, try again in 7 days jQuery - regexp selecting and removeClass()? Use Stack Exchange icon for Stack Exchange blog posts in the Community Bulletin is used to host global Stack Exchange blog posts and is using favicon of Stack Exchange itself. All good. However, when published in the bulletin, the Meta Stack Exchange icon is used for some reason:    Can it be changed please to using the &quot;full&quot; icon? I need to remove the annoying new "locking" screen that shows a giant clock: I can't remove it with just moving the mouse (as with any other desktop environment), the animation is slow, and it isn't asking me for a password!  I managed to disable it, just to discover that now I can't lock my screen on purpose, so I can't go away from the computer.  Just to clarify, I want to:   After some time the screen could go black, but if I move the mouse or press any key then I can use it directly (like a normal screensaver). If I press super-L then it is locked, and I must type the password to unlock (like a normal lock screen).   I found several "solutions", but none seems to work: View the change history of a file using Git versioning How can I view the change history of an individual file in Git, complete details with what has changed?  I have got as far as:   git log -- [filename]   which shows me the commit history of the file, but how do I get at the content of each of the file changes?  I'm trying to make the transition from MS SourceSafe and that used to be a simple right-click → show history. Short example of regular expression converted to a state machine? Matlab arrays operation $f$ strictly increasing does not imply $f'>0$ We know that a function $f: [a,b] \to \mathbb{R}$ continuous on $[a,b]$ and differentiable on $(a,b)$, and if $f'&gt;0 \mbox{ on} (a,b)$ , f is strictly increasing on $[a,b]$. Is there any counterexample that shows the converse fails?   I have been trying to come up with simple examples but they all involve functions that are discontinuous or has derivative $f'=0$ which does not agree with the hypothesis hmmm Creating files in C++ How to solve a difference equation? So I have the difference equation $4y_{k+1} = 2y_k$.  I need to solve this equation, first with the initial condition $y_0 = 0$ and then with the initial condition $y_0 = 2$.  The professor wrote on the answer sheet that applying iteratively the recurrence relation it is easy to check that:  $y_k= (1/2)^k y_0 $.  Since I missed the lecture where he explained this, can somebody explain how to come about with this question?  I imagine that once I get the equation, then the initial condition $y_0 = 0$ gives us the particular solution $y_k = 0$. Thus the other initial condition $y_0 = 2$ is verified by the solution $y_k = 2(1/2)^k$.  Any help on how to get to the equation $y_k= (1/2)^k y_0$ will be appreciated. What is the difference between "What are you?" and "Who are you?"? I am often asked "Who are you?" and "What are you?", but I don't know the difference between these two questions.  Please explain it to me. I changed my Blender Units to Metric System, but when I'm building things, my meshes are transparent, i.e. I can see through faces like in wireframe even though my wireframe is turned off. All faces have a light white in non-wireframe mode, but I can still see through them.   How do I reverse this?  Another issue I get is this    Looks like clipping is not working properly. Filesystem shows /dev/nvme0n1p1 instead of /dev/sda I installed a dual boot of Ubuntu 16.04 (Windows being my other OS) two months ago to try it out. I want to allot more space to it on my hard drive. I was looking up tutorials, and I noticed that my filesystem names don't look anything like those in the tutorials. For example:  df -h   outputs:    How would I allot more space to Ubuntu (in layman's terms)? Partial SSL in rails In-universe explanation for single line of planetary entry/departure in Star Wars Right-click on Touchpad not working after update to 18.04 LTS