So I have installed Ubuntu to a 1 TB hard drive.(I have a laptop) I want to install Windows 7 to another 500 Gb hard drive and be able to switch out between the two hard drives. Is this possible? Will this cause a fuss with GRUB / Windows bootloader? Does having only one HDD slot in my laptop affect this? Help appreciated.
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!
I have built a peak detector circuit using op-amps/comparators to amplify the signal from an electret microphone, hold the peak signal and create a sharp logic edge when a peak is detected to be sent to a microcontroller.  I have built the circuit as follows setting up OA1 as a non inverting amplifier with a gain of 1000, but the voltage out from the OA1 remains fixed at about 4.5V no matter how much noise I make into the microphone. The comparator part of the circuit is outputting approximately 2V low and 5V high depending on how I set the potentiometer. All the components appear to be working.         &ndash; Schematic created using Proving surjectivity of $\cos(z)$ and $\sin(z)$ and find all $z : \cos(z) \in \mathbb R$ and all $z: \sin(z) \in \mathbb R$ Is it possible to switch from one area of graduate study to another in US universities? For example, suppose someone has enrolled in a computer science phd program. Can he switch over to math(or physics) phd program in the same school later?(or say from applied mathematics to pure mathematics?)  What are the steps for doing for doing that? Powershell Try Catch Continue As a result, I am able to be understanding and accommodating to the people that I work with, including clients, which I believe is an important asset for a professional to have.   I wanted to make sure it is absolutely known that I mean to acknowledge clients as a class of people I can work with. Is this the right way to include it with commas? Very thin white line in colortbl Whenever I use the colortbl package to format tables, a thin white space between the cells sometimes shows up on screen (not in print for as far as I can tell). For example in this table:    Is there an easy way to enlarge each rectangle by a tiny amount so that the white space is not visible anymore?  (My guess is that the white space appears due to rounding in my pdf viewer, evince. I don't know if other pdf viewers have the same issue. Regardless, I would like to have my pdf file look good in common pdf readers) ShareLaTeX compilation flags Is it possible and if so how can you pass flags to the ShareLaTeX compiler which one would have passed as parameters to the LaTeX compiler?  I am using the minted package and need to pass the -shell-escape flag. Convert a javascript associative array into json object using stringify and vice versa Remount drive without physically disconnecting? So I have unmounted a usb external hard drive but I went to re-mount it.  Is there a command that I can use to remount the drive?  Only way I know to re-mount a drive is to disconnect the usb cable from my Mac and reconnect it. Schwarz's Lemma and functions with positive real part Problem:     Let $D = \{ z \in \mathbb C : |z| &lt; 1 \}$. Suppose $f : D \to \mathbb C$ is a non-constant analytic function such that $\mathrm{Re} f(z) \geq 0$ for all $z \in D$.      (a) Show that $\mathrm{Re} f(z) \neq 0$ for all $z \in D$.      (b) Using a Möbius transformation and Schwarz's lemma, prove that if   $f(0) = 1$, then $$ |f(z)| \leq {1+|z| \over 1-|z|}. $$   What can be said if $f(0) \neq 1$?      (c) Show that if $f(0) = 1$, then $f$ also satisfies $$ |f(z)| \geq {1-|z| \over 1+|z|}. $$   Progress:  (a) We can use the open mapping theorem.  (b) We can compose a Möbius transformation $m$ that sends the right-half plane to $D$ with $f$. Then $h = m \circ f$ satisfies the hypotheses of Schwarz's lemma by construction. Simple manipulations of the inequality from Schwarz's lemma give the result.  (c) Looking at part (a), we know that $\mathrm{Re} f(z) \neq 0$, and so $f(z) \neq 0$. Thus, we can use the function $g = 1/f$ in the statement of part (b).  Question:  What about when $f(0) \neq 1$? I don't think you can get anything from $f(z)-f(0)+1$ unless $\mathrm{Re} f(0) &lt; 1$. And you can't in general rearrange the inputs of $f$ because $1$ isn't necessarily in the image of $f$. Also, I don't think you can get anything from $f(z)/f(0)$ unless $f(0)$ is real, because otherwise the range of $f(z)/f(0)$ could extend into the left-half plane. I have a server running with the timezone set to UTC. It seemed like that was generally a good practice (please correct me if I'm wrong).  Anyhow, one of the servers I connect to, in order to scp files, is running on EDT and stores files that I need to copy in the format /path/to/filename/data20120913  I looked at trying to rsync files using something like find's -mtime -1 flag for files modified in the last day, but I didn't have any luck.  I don't mind just using scp to copy the current day's file, but as of right now there is a 4-hour window where running date +%Y%m%d will give a different day on each server and that bugs me a little.  Looking through man date I see that I can have the time output as UTC, but I don't see a way to have it output as another timezone like EDT  I suppose I could also use something like the GNU date extension date -d 20100909 +%s to get the date in seconds from the epoch, apply a manual 4 * 60 * 60 second calculation, and see about rendering that as a date - but then when daylight time kicks in it will still be an hour off.  Is there a simpler way to output the date in a YYYYMMDD format for EDT on a server that is set to UTC ? When in many rooms, user's info goes off screen So, I wanted to check what low-number rooms are still active so I joined a bunch of rooms in the chat.  This is the result:    Bug also exists when expending rooms on the side:    Since the position is fixed I can't scroll down.  Proposed fix:  Only show the first 10 rooms, and show ... pointing to the user's profile for other rooms. How to fix apt: Signature by key uses weak digest algorithm (SHA1)? I started setting up by adding repositories and then went to run a sudo apt-get update again before I started installing other software, and I get the Signature key lines and it stops. So it essentially won't let me update any packages now.  d@EliteBook:~/Downloads$ sudo apt-get update Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease Hit:2 http://dl.google.com/linux/chrome/deb stable Release                      Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease               Get:5 http://ca.archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Hit:6 http://ca.archive.ubuntu.com/ubuntu xenial-updates InRelease Hit:7 http://ca.archive.ubuntu.com/ubuntu xenial-backports InRelease Fetched 247 kB in 0s (256 kB/s)                    Reading package lists... Done W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by  key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest algorithm (SHA1) d@EliteBook:~/Downloads$   I've never seen this before whenever I setup and start installing things in Ubuntu. Is there something else I can do? Are there alternatives to LibreOffice? How do you convert a byte array to a hexadecimal string, and vice versa? The following code works as expected in both Python 2.5 and 3.0:  a, b, c = (1, 2, 3)  print(a, b, c)  def test():     print(a)     print(b)     print(c)    # (A)     #c+=1       # (B) test()   However, when I uncomment line (B), I get an UnboundLocalError: 'c' not assigned at line (A). The values of a and b are printed correctly. This has me completely baffled for two reasons:   Why is there a runtime error thrown at line (A) because of a later statement on line (B)? Why are variables a and b printed as expected, while c raises an error?   The only explanation I can come up with is that a local variable c is created by the assignment c+=1, which takes precedent over the "global" variable c even before the local variable is created. Of course, it doesn't make sense for a variable to "steal" scope before it exists.  Could someone please explain this behavior? work done is zero if displacement of point of application of force is zero but why can't we assume forces on COM and its displacement Short, Politically Correct word for Native Americans No more than four syllables, more PC than Indians.  EDIT: I arbitrarily chose four syllables because any more seemed like a mouthful. I like to be PC and not have to stumble over 6+ syllables. I want to transfer my current system hard drive to a larger hard drive. Doing so, I thought of creating an image of my system hard drive which is 320 GB in size.   Would I be able to restore this image on a larger hard drive? I plan buying a 1TB hard drive.  If yes, how? I prefer no data loss.  I am using Windows 7 I have designed a circuit where I want to give a pulse of very short duration using a switch. How can I implement it in spice.