Enable Button after Background Worker is Complete (C#)
How to use WPF Background Worker
Getting ssh to execute a command in the background on target machine This is a follow-on question to the  question.  If I want to execute a command on the remote machine that runs in the background on that machine, how do I get the ssh command to return?  When I try to just include the ampersand (&amp;) at the end of the command it just hangs.  The exact form of the command looks like this: ssh user@target &quot;cd /some/directory; program-to-execute &amp;&quot;  Any ideas?  One thing to note is that logins to the target machine always produce a text banner and I have SSH keys set up so no password is required. I have a simple page that has some iframe sections (to display RSS links). How can I apply the same CSS format from the main page to the page displayed in the iframe? I use wubi to install Ubuntu 10.10 on my ntfs partition. So I want to change the home folder to a folder on the ntfs partition. I could keep the personal configuration, software and so on after reinstalling the Ubuntu.  So I use ntfs-config to manage the disk partition, it's mounted when system is startup. And the permission of all files and directories are 777.  Then I modified the /etc/passwd to set the home folder to the folder on the ntfs partition. I can successfully login the account, however it looks like the .bashrc and .profile are not loaded correctly. I can't use the input method(even can't configure ibus), no sound device. However everything works well after changing the home folder back to /home/.  Could anybody give me a hint to make it work? Thanks. I'd like to understand  and its contents as to what it implies in a bit simpler terms. I am familiar with mathematics unto Calculus 1,2,3 and some linear algebra and group theory. I am familiar with that for each symmetry there is a conservation law.    Now is there a one-one correspondence between these two always? What about laws like conservation of charge?  And conservation of energy?  And conservation of mass?  Considering our view of nature was changed as Special Relativity was introduced and thus, what earlier the theorem would have asserted as mass and energy to be originating from different symmetries then how did we reconcile these two as just one symmetry? wrong positioning of figure with tabular in xelatex Direction of $d\mathbf{l}$ A solid sphere has charge $q$ and radius $R$. Find the potential at a point a distance $r$ from the center of the sphere where $r&gt;R$, using infinity as the reference point.  My attempt:  From Gauss' theorem we may deduce that $\displaystyle\mathbf{E}=\frac{1}{4\pi\epsilon_0}\frac{q}{r'^2}\hat{\mathbf{r}}$ where $r'$ is the distance of an arbitrary point from the center of the sphere provided $r'&gt;R$.  $V=-\int_\infty^\mathbf{r}\mathbf{E}\cdot d\mathbf{l}$  My question: What is $d\mathbf{l}$? Since we are traversing in the direction opposite to $\hat{\mathbf{r}}$, I think it should be $-dr'\hat{\mathbf{r}}$. But when I use it to find $V$, I get a sign error. Please help! How can I disable Alt-Scroll zoom in XFCE4 (Xubuntu) In XFCE4 desktop environments, alt+scroll wheel zooms my entire desktop. I'm finding this very annoying because sometimes I flick the scroll wheel to go to the top of a document then press the alt key for a some unrelated keyboard shortcut and find myself zoomed in so far I can't see anything at all. Is there any way to disable this feature? We will call a matrix positive matrix if all elements in the matrix are positive, and we will denote the largest eigenvalue with $\lambda_{\max}$, what is exist because of the .  Theorem. Let $A$ be a positive square matrix. If any element increases in the matrix then $\lambda_{\max}$ increases.  My questions.    Is there a name for this theorem and can anybody say books or papers what refer to it? How to prove it? I ran into an interesting behavior recently.  It seems that if I override .equals() to take a parameter other than Object, it doesn't get called.  Can anyone explain to me why this is happening?  It seems to violate my understanding of polymorphism in OOP, but maybe I'm missing something.  Here's much simpler code that shows what I'm seeing:  public class MyClass {   private int x;   public MyClass(int n) { x = n; }   public boolean equals(Object o) { return false; }   public boolean equals(MyClass mc) { return x == mc.x; }   public static void main(String[] args) {     List&lt;MyClass&gt; list = new ArrayList&lt;MyClass&gt;();     list.add(new MyClass(3));     System.out.println("Contains 3? " + list.contains(new MyClass(3)));   } }   When this is run, it prints "Contains 3? false".  It looks like the equals(Object) function is called, even though there is another that would work.  By contrast, if I write equals like this the code works as expected:  public boolean equals(Object o) {   if(!(o instanceof MyClass))     return false;   MyClass mc = (MyClass)o;   return x == mc.x; }   Why isn't it figuring out which version of the function to call based on the type of the parameter? World edit wood rotation How to Expand , Resize "extended partition"? How to run a command that requires sudo at login Pass commands as input to another command (su, ssh, sh, etc) What is the difference between the "jessie" and "jessie-updates" distributions in /etc/apt/sources.list? The  gives this example file:  deb http://httpredir.debian.org/debian jessie main deb-src http://httpredir.debian.org/debian jessie main  deb http://httpredir.debian.org/debian jessie-updates main deb-src http://httpredir.debian.org/debian jessie-updates main  deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main   What is the difference between the jessie and jessie-updates distribution entries? Why is ridge regression called "ridge", why is it needed, and what happens when $\lambda$ goes to infinity? What is the opposite of "parallel" in architecture? The two towers of the Verrazano Bridge are not parallel: they are slightly [???] to account for the curvature of the earth.    What is that word? I read a novel where several enemy alien species were stranded together on an interdicted planet.  They had to recycle everything and keep hidden. By "keep hidden" I mean make sure there is no evidence of their presence visible from space. They recycled everything and lived in camouflaged dwellings.  The younger generation was building a mixed culture community until the older home species showed up.  One of the alien races had a body made of rings or donuts of gases that mixed to express itself. Members of this species could be taken over and controlled by rings transferred from another member of the species.  The book may be 20 years old or more. Expected Value of Normal CDF I am trying to calculate the expected value of a Normal CDF, but I have gotten stuck. I want to find the expected value of $\Phi( \frac{a-bX}{c} )$ where $X$ is distributed as $\mathcal{N}(0,1)$ and $\Phi$ is the standard normal CDF.  I know I can transform $\frac{a-bX}{c}$ to be a normal random variable $\mathcal{N}\left(\frac{a}{c},\frac{b^2}{c^2}\right)$ where $\frac{b^2}{c^2}$ is the variance of the normal random variable. I'm not sure if this helps though.  I think that the expected value of a CDF is $0.5$ but since $\Phi$ is the CDF of a standard normal CDF and $\frac{a-bX}{c}$ is not standard normal I do not think the expected value should be 0.5. I tried integrating the CDF, but I do not believe I did it correctly.  When $a = -2.3338$, $b = 0.32164$, $c = 0.94686$, I believe the correct answer is approximately $0.009803$. I found this through simulation.  I would appreciate any help or suggestions. How to pass variable number of arguments to printf/sprintf Some fields like Economics and Maths have their work in progress published as "working papers" with notes like "work in progress, do not cite or quote without the author's permission."Sometimes they upload these to their own websites or to their universities websites. I don't see much of this going on in my own field (sociology). I have heard from people that are afraid of having their work scooped or that fear that work published in this way will not be considered as "unpublished" by journals and conferences.  What are the advantages of making work in progress available in this way?