I recently installed Ubuntu 16 alongside windows 10. Now i want to uninstall Ubuntu and without touching windows 10
I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.
Excuse me for the confusing title. I was asked to find $gcd(x^2+3x+2,x^2+x)$  What i did is i factorized both polynomials $x^2+x=(x+1)x$  $x^2+3x+2=(x+1)(x+2)$  So i expected the gcd to be $x+1$   But using the euclidean algorithm i found out the gcd to be $2x+2$. Why is factorizing wrong? Is it because $K[X]$ is not factorial ? Would the euclidean algorithm also work if the polynomials are in $\Bbb Z[X]$ ??? Stop setInterval call in JavaScript What is the significance of a mostly blank user card? C# Lambda expressions: Why should I use them? For example:     There's two options here   or     There are two options here   I hear a lot of people say the first line (or something similar), but isn't that incorrect? Isn't it plural and therefore you should use "there are"? Using 3rd party Python modules I'm currently developing a script for Blender to handle Mesh Frequency Decomposition.  The script is nearly complete, but i need one more thing: The SciPy library to compute eigenvalues and eigenvectors.  Following the installation instructions on , I'm able to install it as well as Numpy. Numpy works fine, but I can't even import SciPy:  Traceback (most recent call last): File "/CAF_FD.py", line 4, in &lt;module&gt; ImportError: No module named 'scipy' Error: Python script fail, look in the console for now...   By the way, I'm working on Linux 64 bit and I've installed SciPy and Numpy with my package manager.  Edit: When I try to use SciPy with a terminal prompt, it works. How can I do a brute force (ciphertext only) attack on an CBC-encrypted message? Given a CBC ciphertext and IV, how can I find the encryption key?  We are limited with an 8 chars key, each char in the range of [a..h], so I can generate every possible key (these are only $8^8 = 2^{24}$ (about 4 million) different possible keys).  How would I go about finding the correct one though? What is the difference between ref and out parameters in .NET? What are the situations where one can be more useful than the other? What would be a code snippet where one can be used and another can't? Can I ignore coefficients for non-significant levels of factors in a linear model? I have two laptops: Dell xps M1210 and Dell vostro 1400. On MS windows the output volume is so loud that I just need to set volume to around 20% to listen music and watch videos. I use Bose TriPort In-Ear Headphones most of the times. On ubuntu, even if I set 100% volume on the multimedia player, on the desktop volume manager as well, and also on the ncurses GUI of alsa mixer, I get very low volume output. Sometimes while playing some vidoes the volume is so low that I barely hear any words. I have struggled for two years since I started to use ubuntu to solve this mystery. The same sound card which gives excellent sound on MS windows fails miserably on GNU/Linux. Few weeks back I bought an Asus 100PX EEE PC. To my surprise even it also has the same issue. I have tried many versions of ubuntu and also I have done manual compiles of alsa modules without any success. I have asked and read about it in every possible forums and howto's. Nothing has helped me to address the issue. In 5e's version of the flesh to stone spell, if the spell is maintained for the full minute duration, the effect (petrification) lasts until "removed".  How can this petrification be removed? I would like to show that  $$\forall n\in\mathbb{N}^*, \quad \sqrt{\frac{n}{n+1}}\notin  \mathbb{Q}$$  I'm interested in more ways of proofing this.  My method :  suppose that $\sqrt{\frac{n}{n+1}}\in  \mathbb{Q}$ then there exist $(p,q)\in\mathbb{Z}\times \mathbb{N}^*$ such that $\sqrt{\frac{n}{n+1}}=\frac{p}{q}$ thus   $$\dfrac{n}{n+1}=\dfrac{p^2}{q^2} \implies nq^2=(n+1)p^2 \implies n(q^2-p^2)=p^2$$ since $p\neq q\implies p^2\neq q^2$ then  $$n=\dfrac{p^2}{(q^2-p^2)}$$  since $n\in \mathbb{N}^*$ then $n\in  \mathbb{Q}$   I'm stuck here and I would like to see different ways to prove $\sqrt{\frac{n}{n+1}}\notin  \mathbb{Q}$ UK coastline shapefile? I'm trying to enable alsa on different prefix than default through winetricks.  More specifically, the prefix that has Rosetta Stone on it, as it cannot see my microphone.  When I open winetricks, it only lets me select default.  I tried anyway, on default, and it did not resolve the issue.  I saw some answers online, through the terminal, but that didn't work either.  Maybe I have the syntax wrong?  steve@stevelap:~$ WINEPREFIX=~/.PlayOnLinux/wineprefix/Rosetta sh winetricks alsa sh: 0: Can't open winetricks steve@stevelap:~$ sudo WINEPREFIX=~/.PlayOnLinux/wineprefix/Rosetta sh winetricks alsa [sudo] password for steve:  sh: 0: Can't open winetricks   Could anyone please offer assistance?  Thanks! How to change root password for mysql and phpmyadmin I've set up mysql and phpmyadmin and chose not to set a password when installing hoping that once set up i could login with root and no password but i get the following error from phpmyadmin:  Login without a password is forbidden by configuration (see AllowNoPassword)   I have previously moved the phpmyadmin folder to /var/www/   I have tried changing the following line  $cfg['Servers'][$i]['AllowNoPassword'] = false;   to  $cfg['Servers'][$i]['AllowNoPassword'] = true;   but still had no success, so i am wondering is there a way i can change the root passwords for both so i can access phpmyadmin and create databases. which adjective can I use to describe my neighbor, who is always trying to keep eye on my personal matters like what am I bringing from market or what am I cooking etc?  Regards, Note: this is intended to be a canonical question about summoning sickness.  "Summoning sickness", broadly, is the rule that stops you from attacking or paying {T} costs with a creature that you just played. But how exactly does it work? How does it interact with other rules and effects?  For example, if I'm trying to figure out how a creature is affected:   Does the status matter (tapped/untapped, face down/face up, etc.)? What if it came into play, but I didn't cast it? What if it's a token? What if it was on the battlefield when my turn started, but it wasn't a creature? What if it stops being a creature? What if it's a creature and also another card type? What if it's a double-faced card that just transformed? What if it changes control? What if it's a copy of another creature? Which of the creature's activated abilities can I use? Are any of its other abilities affected? Can I tap the creature to pay a cost that is not a {T} cost?   (These examples are primarily taken from questions about summoning sickness that have already been asked on the site) We completed development on our dev environment and I copied the files over from the dev server to the production server through FTP.   Then through back up and migrade module, I made a back up of the SQL database. I created a new database through Plesk with the same name, username and password. I then imported the SQL database into the new server through phpmyadmin. I go to the URL and get the Site Maintenance message (which is correct, I placed the site in maintenance mode before copying the files over) but cannot navigate to any sub pages. Generally I can add /user or /admin to the end of the url and get the login screen. However all I get are 404 errors. setuid root does not work Objective : Run a program as root (C++ binary). The same as :   And :   ./a.out output:  E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? psurana  //output for "whoami" Look below for the code.   ls -l output:  -rwsrwxr-x 1 root    root    46136 Jun  7 20:13 a.out  The Code :   #include &lt;string&gt; #include &lt;stdlib.h&gt; int main(int argc, char *argv[]){         std::string input = "apt-get install " + std::string(argv[1]);         system(input.c_str());         system("whoami");         return 0; }   Details: : compiled the program and then did chown root:root a.out &amp;&amp; chmod u+s a.out. Please look above for ls -l output.  I still do not get the root privileges and the output for system("whoami") in the code is my own username on the machine.  Reading the two linked questions did not yield me anywhere. :(. both the creator and the owner of the file are root. The setuid bit is set, so it should work. The filesystem is not external either, it is my own machine. How can I make this work? When watching US television news or reading US news articles there is this affectation where instead of saying:     "Spotify music-streaming service to launch in U.S. on Thursday" ()   or      "Leading credit rating agency Moody's said on Wednesday that the U.S. government's impeccable credit..." ()   The on preposition is missed out.  Is this just a peculiar US journalistic "news speak" shortcut or do American non-journalist writers write this way too?