how to change string array to array. String[] to ArrayList format conversion
Create ArrayList from array
How to rsync files between two remotes? 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? I don't understand why the interior of $\mathbb{Q}$ in $\mathbb{R}$ is empty, since, for every ball with the center being a rational number, given an $\epsilon&gt;0$, I can find an infinite sequence of rational numbers that approach this point. For example, take $\frac{1}{2}$. The sequence $\frac{1}{2}+\frac{1}{n}$ can be made as close as I want to the number $\frac{1}{2}$, therefore I can always have open balls with center $\frac{1}{2}$ such that there are rationals inside it. How to gracefully handle files that exceed PHP's `post_max_size`? Compact vs Mirrorless - why pick one over another? What would be a reason for one to pick the compact (whatever it'd be P&amp;S or something more advanced) over mirrorless compact system camera  ?  Right now market is quite confusing — we have huge market of tiny-sensor compacts, we have mirrorless that use sensors in a size of these from P&amp;S cameras (Nikon 1 being notable example), we have compacts with sensors bigger than most popular mirrorless system (Canon G1X vs m4/3), we have lot of APS-C sensor mirrorless which are matched by some of the compacts (Fuji X100 being most notable example, but even Leica has its X2),  and to make it even more confusing — Sony released RX1 with full frame sensor, beating crap out of every mirrorless on a market.  So what are your arguments to pick compact over a mirrorless?  Why are they better, what's the reason behind logic of companies like Fujifilm which at the same time offers P&amp;S and X-mount mirrorless using same sensor size? Functions Which are non differentiable on a Given Set. What color codes can I use in my PS1 prompt? I used several colors in my PS1 prompt such as   \033]01;31\] # pink \033]00m\]   # white \033]01;36\] # bold green \033]02;36\] # green \033]01;34\] # blue \033]01;33\] # bold yellow   Where can I find a list of the color codes I can use?  I looked at  but it didn't answer my question about a list of the actual codes.  It would be nice if there was a more readable form also.  See also Using same modulus for RSA I know that there exist some attack when using same modulus.      But with a little modification, $m$ is the plain-text $N$ is the RSA modulus $r_1, r_2$ is the random padding $e, s$ is the public exponent $C_e, C_s$ is the cipher-text  encrypt as follow $$С_e = (m + r_1)^e   \bmod N$$ $$С_s = (m + r_2)^s   \bmod N$$  If attacker only knows $C_e, C_s, r_1, r_2, e, s, N$. Is it possible to know $m$?  It seems the  does not work? Getting the class name of an instance? How do I find out a name of class that created an instance of an object in Python if the function I am doing this from is the base class of which the class of the instance has been derived?  Was thinking maybe  might have helped me out here, but it doesn't seem to give me what I want. And short of parsing the __class__ member, I'm not sure how to get at this information. I've always wondered what the deal was with Darth Vader's "crotch door". Does he use a catheter (due to all his injuries) or does he simply flip the door up and whip it out? I've never really seen the the back of his suit under his cape to see if there a corresponding "back door".   It doesn't look like he carries a catheter bag nor a colostomy bag in his suit or anything.     Is this addressed anywhere either in canon or legends sources? I had a heck of time while editing my  question. But, I guess, I discovered a new weird problem in the editor while formatting hyperlink text next to  tag.  To illustrate this problem better, I would like to give the following examples:  Has problem with one or none white-space in between:  [meta-tag:status-planned] [details page reads:][2] [meta-tag:status-planned][details page reads:][2]     Gives weird output as:   [details page reads:]   [details page reads:]   But, its okay with two white-spaces in between:  [meta-tag:status-planned]  [details page reads:][2]   Gives the correct output as:      Something is strange here. I don't understand why do I have to insert two white-spaces instead of just one? Are the two white-spaces are mandatory when using [meta-tag:some-tag] with hyperlink text adjacent to it? Or, is it one of those  thing?  But wait, it's get even further complicated if I do like:   1. No white-spaces in between:  [meta-tag:status-planned][meta-tag:status-completed][Moderator-only Tags][3]     2. One white-space in between:  [meta-tag:status-planned] [meta-tag:status-completed] [Moderator-only Tags][3]       3. Two white-spaces in between:  [meta-tag:status-planned]  [meta-tag:status-completed]  [Moderator-only Tags][3]         They all seems to work perfectly fine. Now, thats very strange! Why would the two [meta-tag:some-tag] works like a charm with or without requiring to insert any white-spaces? Can anyone explain this in a better way. I don't want to jump on the conclusion by calling this as a bug yet, so I used  tag instead of  tag. Please share your thoughts. indentation of a whole paragraph Occasionally (very occasionally) when returning to the main page of a site by clicking on the logo I get the following message:     It was not possible to perform this tag search at this time due to an unexpected error.   This is odd because I'm not performing a tag search.  So far this has happened on both Movies &amp; TV and Cooking.  I have heard that others are getting this same message. Entire function with vanishing derivatives? Let $f:\mathbb{C}\rightarrow\mathbb{C}$ be an entire function. And assume that at each point, one of it's derivatives vanishes.  What can you say about $f$?  A hint suggests that $f$ must be a polynomial. In The Matrix Revolutions, when Neo and Trinity are trying to get to the Machine City, when the Machines launch weapons against them, Neo is able to destroy some of the incoming weapons. This is in the real world at this point, not in the Matrix.  How does Neo have any powers against the machines outside of the Matrix? Addendum: I'm looking for in universe answers only.  I would think that would be obvious, but I'm adding this after an answer that is essentially, &quot;It's a movie...&quot; Zero visibility while editing a message in a chat room Solving $\sin x\cos3x+\cos x\sin3x=\sqrt{3}/2$ in the interval $[0,2\pi]$ Solve the following trig equation: $$\sin(x)\cos(3x)+\cos(x)\sin(3x)=\frac{\sqrt{3}}{2}$$ in the interval $[0,2\pi]$.  Using trig identities, it is now at $$\sin(x+3x)=\sqrt{3}/2 \tag{1}$$ Next, it has become $$\sin(x+3x)=\sin 60^\circ \tag{2}$$ leading to $$\sin(x+3x)-\sin60^\circ=0 \tag{3}$$ From there, it is unclear what to do. Renaming hundreds of files at once for proper sorting I have a ton of files, all named stuff like 1.jpg, 2.jpg, 3.jpg, and so on up to 1439.jpg, however, I have a problem with one of my projects and alphabetizing. It will usually go in the order 1.jpg, 10.jpg, 11.jpg and so on.  What I need is some way to name the files so they are in the format such as 00001.jpg all the way up to 01439.jpg.  How would I be able to do this quickly and efficiently? How to check if a column exists in a SQL Server table? Suddenly Okular will not open any more I have made my laptop double boot a few months again, with Ubuntu 18.04.1 . I have been working with okular to open pdf files (for the commenting option) but suddenly okular doesn't work anymore. When trying to open okular I get the following error:     Unable to find the Okular component: Cannot load library /snap/okular/39/usr/lib/x86_64-linux-gnu/qt5/plugins/okularpart.so: (libKF5JSApi.so.5: cannot open shared object file: No such file or directory)   I don't understand how to solve this problem. Okular was working fine until today and I didn't change anything to my ubuntu system in the mean time. Perhaps the problem comes from the fact that I have been working on windows the last few days and also used the windows ubuntu app.   How can I make okular work again? Can md5 be used for encrypting data? I know that md5 shouldn't be used for password hashing because of collisions and possibility of making dictionary attacks e.g. using rainbow tables. But what about other uses? Can I use md5 for encrypting data?  Say, attacker gains access to database where sensitive data was stored using md5. He wants to know just this data that was hashed, not another data that gives this hash. Can he do it?  I know that there are better cryptographic hash functions so don't suggest to use them if md5 is enough.