How can I rsync files between two remote servers?  I need to transfer files between two remote hosts, but it seems rsync doesn't support synchronization.    Some more information: I have 2 servers A and B, and there is no direct connectivity between A and B. So direct rsync is not possible. But I have a 3rd server from when I have uni-directional connectivity.. Like I have the connectivity from C to A and C to B.  So can anybody help me here to rsync the file from server A to server B by using mediator as C?  Thanks in advance.
I would like to transfer files between two remote hosts using on local shell, but it seems rsync doesn't support synchronisation if two remotes are specified as follow:  $ rsync -vuar host1:/var/www host2:/var/www The source and destination cannot both be remote.   What other workarounds/commands I could use to achieve similar results?
Blending colors in photoshop and illustrator I am working on a print for my wall and I am trying to create something like this:      I have already created the letters in Illustrator and now I am adding the colors in Illustrator and then exporting everything to Photoshop and then using the liquify tool to blend the colors to create a similar effect. I also used the healing patch tool to blend in the hard edges.  Is that the right way of doing it? Or is there another way? Are there any advantages to stunning an alien besides being able to interrogate it? Aside from being able to interrogate an alien in the Alien Containment chamber, are there any particular advantages to risk trying to stun an alien instead of just killing it outright? I recently bought one of these ESR meters, a 'MESR-100':       It claims to be able to test capacitor ESR with the caps left in-circuit.  It appears to work well from my tests so far.  However, how much can I trust the in-circuit readings?  Are they going to be less accurate?  Are there certain circuit configurations where it wouldn't be possible to measure ESR in-circuit accurately?  [EDIT: Added the model as requested] : How to obtain Hamiltonian formalism and phase space for Lagrangian with second-derivatives? Unable to install rJava in R 3.0 in Ubuntu 13.04 Why are some galaxies flat? What is the explanation for the flatness of some galaxies?   (If it's due to their rotation then why they are rotating, why some other galaxies are not flat etc., I would like to hear a nice and complete answer :) ) Find the sum $\sum_{n=1}^{\infty} \frac{\ln n}{n(n- \ln n)}$ Find the following sum : $\sum_{n=1}^{\infty} \frac{\ln n }{n(n- \ln n)}$  I couldn't find any way to solve.   I just want a hint, how to initiate? Is there a specific reason for having a very short window for passengers to get to the boarding gate before closing it? I am not a frequent traveler but it's been like this with all the flights I have been on. Here is the most recent example:  Below is my boarding pass    As you can see Gate Closes at 20:20  Here is the departures board at 18:32, clearly it says that they will announce the boarding gate at 20:10  ?!    I was hoping they will do that earlier but at 19:41 it's still the same    In fact they announced it at 20:11 but since I was freaking out and had to leg it to the gate I didn't have the time to take a photo.  You might think 9 minutes is enough, well below are the times required to reach the gates from the closest place to them     And that's for a healthy young person, no way my grandmother could be able to be at the gates within 9 minutes.  Is there a specific reason? it's not like they allocate the gate dynamically! The staff must have known about the gate hours ago as I don't expect the pilot to drive the airplane from the garage to the gate within 9 minutes? Can the expression $\sqrt{n} + \sqrt{m}$ be rational if neither $n,m \in \mathbb{N}$ are perfect squares? It doesn't seem likely, the only way that could happen is if for example $\sqrt{m} = a-\sqrt{n}, \ \ a \in \mathbb{Q}$, which I don't think is possible, but how to show it? Use variable inside bash brace expansion I have a program that generates a variable number of pictures, ordered like that: 1.jpg, 2.jpg [...] 10.jpg..etc  I can't use *.jpg as input because the 10 will be processed before 2, 3, etc. so I want to use:  convert page_{1..$N}.jpg out.pdf   but does not work. How should the command be? Why can I not place a pregnant woman to work but others work while pregnant? I am playing Fallout Shelter, have 3 kids in my shelter, all going well, thought I would make one more kid with big strength numbers and decent agility/perception (kids take on SPECIAL stats from their parents). All the women who are pregnant work in my shelter, apart from this one. She can not me put to work, can not be moved from the living shelter, can not be moved to a job via the clipboard short cut.  TL;DR One of the NPC females who is pregnant can not be put to work, can not be moved from the living shelter room, she just walks about as if she is carrying a mammoth inside her. I have NOT moved the shelter, have not let the dad die, have not done anything at all. I'll be generous and say it might be reasonable to assume that nature would tend to minimize, or maybe even maximize, the integral over time of $T-V$.  Okay, fine.  You write down the action functional, require that it be a minimum (or maximum), and arrive at the Euler-Lagrange equations.  Great.  But now you want these Euler-Lagrange equations to not just be derivable from the Principle of Least Action, but you want it to be equivalent to the Principle of Least Action.  After thinking about it for awhile, you realize that this implies that the Principle of Least Action isn't really the Principle of Least Action at all:  it's the "Principle of Stationary Action".  Maybe this is just me, but as generous as I may be, I will not grant you that it is "natural" to assume that nature tends to choose the path that is stationary point of the action functional.  Not to mention, it isn't even obvious that there is such a path, or if there is one, that it is unique.  But the problems don't stop there.  Even if you grant the "Principle of Stationary Action" as fundamentally and universally true, you realize that not all the equations of motions that you would like to have are derivable from this if you restrict yourself to a Lagrangian of the form $T-V$.  As far as I can tell, from here it's a matter of playing around until you get a Lagrangian that produces the equations of motion you want.  From my (perhaps naive point of view), there is nothing at all particularly natural (although I will admit, it is quite useful) about the formulation of classical mechanics this way.  Of course, this wouldn't be such a big deal if these classical ideas stayed with the classical physics, but these ideas are absolutely fundamental to how we think about things as modern as quantum field theory.  Could someone please convince me that there is something natural about the choice of the Lagrangian formulation of classical mechanics (I don't mean in comparison with the Hamiltonian formulation; I mean period), and in fact, that it is so natural that we would not even dare abandon these ideas? I can read the MySQL documentation and it's pretty clear. But, how does one decide which character set to use? On what data does collation have an effect?  I'm asking for an explanation of the two and how to choose them. How does the Higgs mechanism work? I'm not a particle physicist, but I did manage to get through the Feynman lectures without getting too lost. Is there a way to explain how the Higgs field works, in a way that people like me might have a hope of understanding? What book describes consuming vials of vampire blood to pseudo-Rage? How to encrypt in VBScript using AES? I am looking to encrypt some data using  in  using a specific key and  value. Are there any good function libraries or COM components that would be good to use?  I looked at ; it allows a passphrase only, and won't allow setting specific key and IV values. Sign of determinant when using $det A^\top A$ We have been given matrix: $$A =          \begin{pmatrix}         a&amp; b&amp; c &amp;d \\         b &amp;−a&amp; d&amp; −c\\         c&amp; −d &amp;−a&amp; b \\         d &amp;c&amp; −b&amp; −a\\         \end{pmatrix}     $$ ...and have been asked to calculate $\det(A)$ using $AA^T$.  We see that:  $$AA^T=\begin{pmatrix}         a^2+ b^2+ c^2+ d^2&amp; 0&amp; 0&amp;0\\         0 &amp;a^2+ b^2+ c^2+ d^2&amp; 0&amp; 0\\         0&amp; 0 &amp;a^2+ b^2+ c^2+ d^2&amp; b \\        0 &amp;0&amp; 0&amp; a^2+ b^2+ c^2+ d^2\\         \end{pmatrix}     $$   So, $\det(AA^T)= (a^2+ b^2+ c^2+ d^2)^4$  Now which should I choose: $(a^2+ b^2+ c^2+ d^2)^2 $ or $ -(a^2+ b^2+ c^2+ d^2)^2$ ?  Please explain me which one and why. If the big bang was the birth of everything, and the big bang was an event in the sense that it had a location and a time (time 0), wouldn't that mean that our universe has a center?  Where was the big bang? What is there now? Are we moving away from the center still? Are these even valid questions? How would you make a comma-separated string from a list of strings? What would be your preferred way to concatenate strings from a sequence such that between every two consecutive pairs a comma is added. That is, how do you map, for instance, ['a', 'b', 'c'] to 'a,b,c'? (The cases ['s'] and [] should be mapped to 's' and '', respectively.)  I usually end up using something like ''.join(map(lambda x: x+',',l))[:-1], but also feeling somewhat unsatisfied. I just installed Ubuntu 12.10 on an ASUS X401U, and after installation there is no list of wireless connections. I didn't have that problem with an installation on HP. What I can do to enable Wifi?  07:00.0 Network controller [0280]: Ralink corp. Device [1814:3290]