Ubuntu killed Window partition  Hey guys, I have this trouble. At first my Lap has Ubuntu and Window. But the grub has crashed and the best way to save it was backup data and reinstall OS.  I chose to install Window7 first, after that was Ubuntu. The mistake happened and i didn't recognize was The volume after shrinked for Ubuntu was LOGICAL. And when then I let Ubuntu chose the place to live automatically so it killed my former Window ~cry~  Anyone have some info about how to gparted this Volume and re-install Window7 from Ubuntu OS ? Give me some instruction or links as possible.
I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this? I can't lose my Ubuntu files, and I'm afraid that I might break . Go  for UEFI only!
How do I pass this array of c strings correctly? How to check type of files without extensions in python? Variational Derivation of Schrodinger Equation bug with varargs and overloading? What does the -f parameter do in the tar command When using tar I always include -f in the parameters but I have no idea why.  I looked up the man and it said;  -f, --file [HOSTNAME:]F  use archive file or device F (default "-", meaning stdin/stdout)   But to be honest I have no idea what that means.  Can anyone shed any light on it? How to return to original .pdf presentation after open a .pdf linked file? I'm preparing a beamer presentation and I'm using hyperlinks for the first time; When I do something like:  \href{name_file_to_open.pdf}{here I put a link to a figure which is working well}   It works just fine and open the .pdf document; Problem is I can't return to my presentation, cause when I close the linked.pdf I close it all. (I try this with movie and indicating an area to the file open like \href[width=3cm,height=2cm] but then it doesn't work)  Can anyone please has any suggestion to this problem? What are weapon damage dice? Following discussion , what constitutes a weapon damage die?  Is it any damage die dealt by the weapon? For example, consider a  longsword.     While the sword is ablaze, it deals an extra 2d6 fire damage to any target it hits.   What are the weapon damage dice? Just the 1d8 from the longsword? Or do the 2d6 Fire damage also count? I understand that for resistors in series we need to add R for each resistor to get the equivalent resistance, where R is resistance. I also understand the mathematical manipulations that show that for resistors in parallel we need to add the 1/R for each resistor to get the equivalent resistance. However I have a couple of questions that have to do with the physical interpretation of the mathematical manipulations involved.   First, I am trying to understand why in the case of parallel resistors we have to add 1/R's instead of adding R's as in the case of resistors in series i.e. could it be thought that the current in the wire is like a sort of water flow in the pipe that has two horizontal parallel pipes positioned one on top of the other and in between connected by a number of vertical pipes that have a tap each that could be adjusted to represent different resistances. Then at the top of each vertical pipe the water pressure P exists and at the bottom the pressure will be reduced by P*R.   For example, suppose we have three vertical pipes, so then the pressure at the bottom of each (after the tap) is P*R for the total of 3*P*R so why is the equivalent resistance not 3*R*P but 1/R = (1/R1 + 1/R2 + 1/R3) and how can I be able to visualize this relation? Proof of linear independence of $e^{at}$ What is the "canary thread" and why is it starving? Running a 32-bit application in Debian Wheezy 64 bits: Missing libraries I want to play the game Aquaria in a Debian Wheezy 64 bits. The installation went ok, but when trying to play the game I get these errors:  ALSA lib conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so ALSA lib control.c:951:(snd_ctl_open_noupdate) Invalid CTL hw:0 AL lib: alsa.c:1000: control open (0): No such file or directory Message: SDL_GL_LoadLibrary Error: Failed loading libGL.so.1   I have added 32 bit compatibility with dpkg --add-architecture i386 and I think that the required libraries are present in the system since typing locate libasound_module_conf_pulse.so yields:  /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_conf_pulse.so  and locate libGL.so.1:  /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/x86_64-linux-gnu/fglrx/fglrx-libGL.so.1.2 /usr/lib/x86_64-linux-gnu/fglrx/libGL.so.1   However, it seems that Debian is ignoring them. What can I do to play Aquaria?  EDIT 1: ldd aquaria  linux-gate.so.1 =&gt;  (0xf77e1000) libSDL-1.2.so.0 =&gt; /opt/Aquaria/./libSDL-1.2.so.0 (0xf7748000) libopenal.so.1 =&gt; /opt/Aquaria/./libopenal.so.1 (0xf76fa000) libstdc++.so.6 =&gt; /opt/Aquaria/./libstdc++.so.6 (0xf760d000) libm.so.6 =&gt; /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf75c3000) libgcc_s.so.1 =&gt; /opt/Aquaria/./libgcc_s.so.1 (0xf75b8000) libc.so.6 =&gt; /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7455000) libdl.so.2 =&gt; /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf7451000) libpthread.so.0 =&gt; /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf7437000) librt.so.1 =&gt; /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf742e000) /lib/ld-linux.so.2 (0xf77e2000) In a Silverlight application I'm trying to find out when a property on a usercontrol has changed. I'm interested in one particular DependencyProperty, but unfortunately the control itself doesn't implement INotifyPropertyChanged.  Is there any other way of determining if the value has changed? Is there ever a right time to upgrade to full frame camera body? Context  I've been shooting with an a6000 (APS_C mirrorless) and I plan to move on up to full frame, preferably mirrorless as well. I'm debating on when to upgrade, and probably don't plan to buy until next year.  I know I'll need to buy new full frame lens.  Question  Is there a "right" time to buy camera bodies, both mirrorless in my case as well as DSLRs? (I've seen the a7rII and like it but there might also be an a9 looming.) I feel that this is like smartphones in which the best time to buy is now as you might always be waiting until the next upgrade.   Related, are full frame bodies discounted during the holiday season or is that limited only to entry level bodies and older full frame bodies?  Related Can Dropbox be used with multiple accounts on one computer? How can I find the product key of Office 2011 after restoring from backup? I had to restore my iMac from a Time Machine backup.  Everything seemed fine until I tried to start Office 2011 and it is asking me to re-enter my product key. I am trying to locate my key (I believe I downloaded this version originally and it should be in my email but I can't find it)  I tried a program that is supposed to "find the keys for products installed on your computer" (Mac Product Key Finder) and it found my very old Office 2008 key, but not 2011.  I am surprised that if I had a totally working install before recovering from back-up that this wasn't restored as well - do I have any options to find it hiding somewhere on my drive?  Note: The recovery was after a hard drive was replaced by the Apple store - if that makes a difference, so this is a new internal drive. How to fix AppArmor `could not open` error when installing php+mysql? What is the person called who always thinks negative? E.g.        Mr. X always thinks negative.   Mr. X has negative attitude.      What we can use either? Is there any particular word for this? How do I use multirow in LaTeX? Taking advantage of one-time pad key reuse? Suppose Alice wants to send encryptions (under a one-time pad) of $m_1$ and $m_2$ to Bob over a public channel.  Alice and Bob have a shared key $k$; however, both messages are the same length as the key $k$.  Since Alice is extraordinary lazy (and doesn't know about stream ciphers), she decides to just reuse the key.  Alice sends ciphertexts $c_1 = m_1 \oplus k$ and $c_2 = m_2 \oplus k$ to Bob through a public channel.  Unfortunately, Eve intercepts both of these ciphertexts and calculates $c_1 \oplus c_2 = m_1 \oplus m_2$.     What can Eve do with $m_1 \oplus m_2$?     Intuitively, it makes sense that Alice and Bob would not want $m_1 \oplus m_2$ to fall into Eve's hands, but how exactly should Eve continue with her attack? Downloading multiple files with youtube-dl I use youtube-dl to download files from YouTube. I have tried downloading multiple files, but it is not working out for me. I have to open multiple terminals and start afresh every time I want to download a video.   Can you help me to download multiple files with a single terminal window by just mentioning all the URLs at once? I use Ubuntu 12.04 64-bit.