Running a command completely indepenently from script
Run a program from python, and have it continue to run after the script is killed
Show (within ZF Set Theory without choice) that for any sets $A,B,C:$   If $|A|^{|B|} = |B|$, then $|A| = 1 = |B|.$   That is, if there is a bijection from $|A|^{|B|}$ to $|B|$, then  $|A| = 1 = |B|.$  Please help me.. A coin with heads probability $p$ is flipped $n$ times. A "run" is a maximal sequence of consecutive flips that are all the same. For example, the sequence HTHHHTTH with $n=8$ has five runs, namely H, T, HHH, TT,H. Show that the expected number of runs is  $$1+2(n-1)p(1-p).$$  I have tried to use some generating function on this but calculus got pretty messy and didn't work. What figure of speech is this? Additional Drivers for Ubuntu 17.10 The Additional Drivers settings interface is no longer available in Ubuntu 17.10  How can I install proprietary drivers in Ubuntu 17.10?  I need drivers for Wifi &amp; Bluetooth (BCM43142) and Intel Graphics.  The earlier Additional Drivers program showed a package named jockey but it no longer seem to exist in repositories. Literal &#39; appears in flag panel instead of being escaped Handling mouse events for tool called by button? I have a dockable window with a 2 buttons that call 2 different tools (Draw Marker and Select Features), What i want to happen is when the user clicks on the relevant button on the dockable window and then clicks on the map, a onMouseUp event is called and it runs code i need to run.   Where does the onMouseUp event need to be placed so this can be done? Every time a user posts something containing &lt; or &gt; in a page in my web application, I get this exception thrown.  I don't want to go into the discussion about the smartness of throwing an exception or crashing an entire web application because somebody entered a character in a text box, but I am looking for an elegant way to handle this.  Trapping the exception and showing     An error has occurred please go back and re-type your entire form again, but this time please do not use &lt;   doesn't seem professional enough to me.  Disabling post validation (validateRequest="false") will definitely avoid this error, but it will leave the page vulnerable to a number of attacks.  Ideally: When a post back occurs containing HTML restricted characters, that posted value in the Form collection will be automatically HTML encoded. So the .Text property of my text-box will be something &amp; lt; html &amp; gt;  Is there a way I can do this from a handler? The lines wrap so much on v1.0.85 that only a few items can be displayed.  Edit: This is on the world's most low end tablet, Azpen A727.  Screenshots of the old:    and new, showing loss of quality I use a lot of lists and arrays but I have yet to come across a scenario in which the array list couldn't be used just as easily as, if not easier than, the linked list.  I was hoping someone could give me some examples of when the linked list is notably better. MySQL strip non-numeric characters to compare Contour integral of $\sqrt{z^2-1}$ on $|z| = 2$ I've been wrestling with this problem (available  ):  Evaluate the integral of $f(z) = \sqrt{z^2-1}$ around the circle $\{z: |z| = 2\}$, where the branch of the square root function is chosen so that $\sqrt{2^2-1} &gt; 0$.  I came up with the answer $$\int\limits_{|z| = 2} \sqrt{z^2-1} dz = \pi i$$ using the following argument, which seems a little like voodoo to me.  You notice that there are two points, at $z \pm 1$, where you might have to pick a branch of $log()$ to define the square root. Then, I convinced myself that as long as you exclude from your domain the real interval $-1 \le x \le 1$, the function $f(z)$ can be continuously defined (maybe the two branches somehow cancel?), and so is analytic on its domain.  Therefore you can shrink the contour of integration continuously using the Cauchy Closed Curve Integral Theorem, so that you wind up reducing it to the real integral $$2\int_{-1}^1 \sqrt{x^2-1} dx = \pi i$$  I'm not really sure the answer is correct, and I'm even less certain about the way I got it. I had a hard time convincing myself that $\sqrt{z^2-1}$ was not multi-valued on the domain. To try to get at that I tried $\sqrt{z^2-1} = \sqrt{z+1} \sqrt{z-1}$ and reasoned that the product makes the discontinuity disappear, using $$e^{\frac{\pi}{2}i}\cdot e^{\frac{\pi}{2}i} = -1 = e^{-\frac{\pi}{2}i}\cdot e^{-\frac{\pi}{2}i} $$ for the different branches of $log()$ you can choose.  I'd appreciate any input that would help me get a a better way to look at this.  Thanks!    EDIT  An attempt to use the Residue at infinity:  By substituting $z = 1/w$ you get \begin{eqnarray} \int\limits_{|z| = 2} \sqrt{z^2-1} dz &amp;=&amp; \int\limits_{|w| = 1/2} \frac{1}{w^2}\sqrt{\frac{1}{w^2}-1} dw \\ &amp;=&amp; \int\limits_{|w| = 1/2} \frac{1}{w^2}\sqrt{\frac{1-w^2}{w^2}} dw \\ &amp;=&amp; \int\limits_{|w| = 1/2} \frac{1}{w^3}\sqrt{1-w^2} dw \end{eqnarray} The integrand is analytic in $|w| \le 1/2$ except at $w = 0$, so we can apply the Residue Theorem. Near $w = 0$, $\sqrt{1-w^2} = 1 - \frac{1}{2}w^2 + \dots$, so the residue of $\frac{1}{w^3}\sqrt{1-w^2} $ at $w = 0$ is $-\frac{1}{2}$. Then the integral is $$\int\limits_{|z| = 2} \sqrt{z^2-1} dz = 2\pi i \cdot (-1/2) = -\pi i$$ Can you win a game of Splendor if you still have cards in reserve? I want to make a JavaScript application that's not open source, and thus I wish to learn how to can obfuscate my JS code? Is this possible? Is there a way to insert Keyboard Glyphs in Google Docs? Here on the StackExchange framework we have a nice feature, which is apparently called "Keyboard Glyphs" (cf. ):     CTRL+Z   Is there a way (e.g. with an Add-On) to do the same in Google Docs? I browsed the Add-Ons but did not find anything, maybe it's hidden somewhere different (e.g. in a Code Formatting Plugin). error: requested operation requires superuser privilege Missing settings in GNOME control center installed in Ubuntu MATE I installed GNOME Control Center following  to access Google Drive in Ubuntu MATE 16.04 LTS (MATE desktop environment 1.12.1)   The problem is GNOME Control Center is only showing language support, printers, firewall setup and backups... not online accounts or other settings.  This is what I get:  ~$ gnome-control-center gnome-online-accounts   ** (gnome-control-center:5744): WARNING **: Ignoring launcher landscape-client-settings (missing desktop file)  ** (gnome-control-center:5744): WARNING **: Invalid categories System;Settings; for panel software-properties-gtk.desktop  ** (gnome-control-center:5744): WARNING **: Ignoring launcher ubuntuone-installer (missing desktop file)  ** (gnome-control-center:5744): WARNING **: Could not find settings panel "gnome-online-accounts"   Any ideas?  Thanks! My table doesn't fit; what are my options? prove that : $\cos x \cdot \cos(x-60^{\circ}) \cdot \cos(x+60^{\circ})= \frac14 \cos3x$ I should prove this trigonometric identity. I think I should get to this point : $\cos(3x) = 4\cos^3 x - 3\cos x $ But I don't have any idea how to do it (I tried solving $\cos(x+60^{\circ})\cos(x-60^{\circ})$ but I got nothing) We know that the needle that is used in a compass is a permanently magnetized ferromagnetic material and commonly steel is used.  If we used an unmagnetized iron needle instead, would it still align with Earth's magnetic field lines? If yes, how? How to add a realistic flare How do I turn the little emission sphere into a realistic flaring sun. (This piece is animated with all the planets rotating and revolving)