I uploaded a local text file omitting the remote location and can't find the file (Ubuntu 16.04).  rsync -chavzP dump.sql user@ip-address   It's not in my home directory or anywhere else that I can tell:  find / -name dump.sql -print   I can re-upload with a remote location, but would like to at least find and remove that 6GB dump that I'm not using.
I accidentally rsynced .thunderbird to user@host instead of to user@host:/home/user.  Where is .thunderbird now?  Is there a good way to search for the folder?
Always when I'm going to travel to someplace, I book my hostel with precedence. Actually I look only for two Booking sites:      Is there a cheaper site than these two, which has the same service with same quality, with the same number or larger? What exactly happens to the signals hitting a common mode choke? I'm trying to better understand the principles behind the common mode choke. I made a few drawings to clarify.  &nbsp; Differential Mode Signals  Differential currents (driven by differential voltages) create equal but opposite magnetic fields B in the inductor core:    These magnetic fields cancel each other out, so the net flux in the core is zero. As such, these differential currents don't "feel" any impedance.  &nbsp; Common Mode Signals  In contrast, common mode currents generate equal and additive magnetic fields in the core. That's why they "feel" a high impedance, and cannot get through (or getting through means they are highly attenuated).    But what exactly happens? I have several theories, which I will describe below.  &nbsp; Common Mode Signals - Theory 1  My first thought would be that the common mode signal hits the choke and creates a magnetic flux inside. By doing this, lots of energy is lost (hysteresis and perhaps other effects) as heat. Only a small part gets through:      What kind of common mode choke would behave in this particular way? "Burning up" the voltage spike seems a very desirable effect to me.  &nbsp; Common Mode Signals - Theory 2  Perhaps the voltage spike doesn't really get the chance to build up much magnetic flux in the core, or maybe the core is simply not "lossy" enough. The voltage spike bounces off the core and turns back. Only small part gets through:    Although the system on the right side of the choke is protected, the system on the left has to deal with reflected signals. Nasty things like standing waves might appear.  &nbsp; My questions  I've got a few questions for you:   Do you think theory 1 or theory 2 is most plausible? Do you think certain types of common mode chokes tend to behave as described in theory 1, others like in theory 2? Perhaps both of my theories are just plain wrong. If so, what actually does happen?   Please enlighten me. Is there a more complete way of proving this theorem (that I devised)? OR does this theorem already exist and have a name? Last night, I was working on re-solidifying my understanding of parametric equations, and came up with a neat trick for evaluating certain definite integrals. I'm not sure if it exists as a formal theorem, though I refuse to believe I'm the first to notice such a relation. The 'theorem' is a useful trick to evaluate the definite integral of a continuous function over an interval where the function is either strictly increasing or strictly decreasing, given that the inverse of the function is 'nicer' to work with than the function itself. My idea goes as follows:  If $y = f(x)$ is a continuous function over the interval $I$, and either:  $f'(x) &gt; 0$   OR   $f'(x) &lt; 0$   for all values of $x \epsilon I$, then:  $\int_{a}^{b}{f(x)dx} = bf(b) - af(a) - \int_{f(a)}^{f(b)}{f^{-1}(x)dx}$  where $a,b \epsilon I$  Quasi-proof:  Clearly, if a function is strictly increasing or decreasing, it is injective. This is clear because no two values in the domain can correspond to a single value in the range. I feel intuitively that it must also be surjective (though I'm not entirely sure how to prove this part). Assuming it is both injective and surjective over $I$, the function must have an inverse.   If we were to draw two rectangles out of our bounds, they will have areas:  $af(a)$ and $bf(b)$, so that   $bf(b) - af(a)$ will be the area of the region we are observing.  This area is equivalent to the sum of the areas connecting the curve $f(x)$ to the $x$-axis and to the $y$-axis. Thus:  $bf(b) - af(a) = \int_{a}^{b}{f(x)dx} + \int_{f(a)}^{f(b)}{f^{-1}(x)dx}$  Solving for $\int_{a}^{b}{f(x)dx}$, we get:  $\int_{a}^{b}{f(x)dx} = bf(b) - af(a) - \int_{f(a)}^{f(b)}{f^{-1}(x)dx}$  A particularly illuminating example is evaluating:  $\int_{a}^{b}{ln(x)dx}$  $ln(x)$ is strictly increasing over any interval, so the 'theorem' applies.  $\int_{a}^{b}{ln(x)dx} = bln(b) - aln(a) - \int_{ln(a)}^{ln(b)}{e^xdx}$  $\int_{a}^{b}{ln(x)dx} = ln(b^b/a^a) - (e^{ln(b)} - e^{ln(a)})$  $\int_{a}^{b}{ln(x)dx} = ln(b^b/a^a) + a - b$  and so we've evaluated the integral without the need of integrating the function itself (by method of integration by parts), but rather by integrating its inverse, which is trivial to evaluate.!  Response to Jason DeVito's answer: [This image was taken from   () I think my son was trying to guess the passcode! What do I do?  I can't wait 42 years! Java method dispatch with null argument It'd be nice to see reputation updates in the app, as we get on both the desktop and mobile sites.  Mock-up of how this would look:        Other possible icon states:        While I understand reputation is shown in the feed, it's a bit unwieldy, and has no notification.   With this feature implemented, the feed could arguably lose both reputation and inbox items, and be left with the interesting questions that fill it up. This would make for a much more consistent UX across app and desktop. I have the string   a.b.c.d   I want to count the occurrences of '.' in an idiomatic way, preferably a one-liner.  (Previously I had expressed this constraint as "without a loop", in case you're wondering why everyone's trying to answer without using a loop). There are several algorithms to calculate distance between two latitude/longitude points.     Hubeny     But there are not so many algorithms (actually I can't finally find it) which can calculate latitude/longitude of point B from another latitude/longitude point A with bearing and distance.      I'm glad to know if there are any algorithms which is lesser accurate, but faster than Vincenty's formulae. Don't impose delay loading Close dialog when you haven't just loaded it Because of , clicking the "close" link on a question that's been edited (for me usually the edit comes in a half-second before, as I'm reaching for the link) reloads the question instead of opening the Close dialog. Clicking it again to actually open the close dialog says     You may only open the Close dialog every three seconds   I didn't open it, I refreshed the post.  And yes, there are lots of times when the post edit is so trivial it's obvious in less than a second that it doesn't affect the need to close the question. C# LINQ find duplicates in List In  it says that flagged comments can be handled automatically if flagged repeatedly (3 + (score / 3) flags = deletion). Which is great; mods are busy people.  In , the venerable Bill the Lizard says that if all comments on a post are obsolete, you can flag the post (or one of the comments) with a custom flag saying that they're all obsolete, and the mod can remove them with one fell swoop. Problem is, that requires a mod.  What should I do when some of the obsolete comments are mine? I can't flag my own comments, and I don't like raising custom flags if I can avoid it.  You're wondering why I don't just delete them. There are two scenarios where I don't, at least not immediately:   Someone has commented with incorrect information. In that situation, I reply to the comment telling them how they've got it wrong. (Sometimes, of course, they quite correctly reply telling me how I got it wrong, which is neither here nor there&nbsp;&mdash; we still end up with obsolete comments. :-) ) Frequently, they reply saying "you're right" but (near universally) leave the comment lying around. I can (and do) then comment again saying "Let's clean these up" and flag their comments as obsolete. But I can't flag mine. Nor do I want to remove mine while the incorrect comment is still there; it leaves a confusing situation for anyone coming to the post later. Someone has commented with correct information. In that situation, if appropriate (e.g., the post author isn't busily editing at the same time and I know enough to do it properly), I'll edit the comment into the post and reply with "You're right, edited that in." and flag their comment as obsolete. These are rarely removed by the commenter. And again I can't flag mine.   The first scenario is the more problematic, since I can go back 10-20 minutes later and remove my "edited that in" comment and there's no harm if their comment is still there.  I currently bookmark and check back periodically, but that's labor-intensive and I'd like a better way.  Ideally, I'd want to tie my comment to one I've flagged so that it's deleted automatically if the other one is (by flagging, or by the commenter). That's a fair bit of development, though, I'm guessing.  What should I do? Go with a custom flag saying "The conversation between X and me is now obsolete," even though that means dumping it on a mod? If $|G| = pq$,  $p,q$ primes, $p \gt q, q \nmid p-1 $, then how do I prove $G$ is cyclic without using Sylow's theorems? Removing duplicate rows from table in Oracle I'm testing something in Oracle and populated a table with some sample data, but in the process I accidentally loaded duplicate records, so now I can't create a primary key using some of the columns.  How can I delete all duplicate rows and leave only one of them? I have the below list of files  aro_tty-mIF-45875564pmo_opt aro_tty-mIF-45875664pmo_opt aro_tty-mIF-45875964pmo_opt aro_tty-mIF-45875514pmo_opt aro_tty-mIF-45875524pmo_opt   that I need to rename to  aro_tty-mImpFRA-45875564pmo_opt aro_tty-mImpFRA-45875664pmo_opt aro_tty-mImpFRA-45875964pmo_opt aro_tty-mImpFRA-45875514pmo_opt aro_tty-mImpFRA-45875524pmo_opt iOS Run Code Once a Day We are using .Net to make web service calls the Salesforce API. Is there a way to know for sure that the calls are using TLS 1.2? Are there any API logs or records of the protocol is use in Salesforce we can review to be confident the change is working? How to typeset subscript in usual text mode? I'd like to emulate HTML's infinite page height using LaTeX/XeTeX, i.e. have the PDF pages grow higher until a manual \newpage is issued.  This could be emulated by setting a very large page height and using pdfcrop on the output (or just setting the page height manually), but I'd like a pure TeX variant and if possible support for footnotes etc at the bottom of the cropped page. Find probability using distribution function method Is there a keyboard shortcut to "unselect" in Windows Explorer? If I've got a file (or files) selected in Windows Explorer, the only way I've found to "unselect" them is click with the mouse on some empty space.  I thought Esc would do this, but it doesn't. Also changing focus with Tab or Shift + Tab doesn't work; the file(s) are still selected even if focus goes to the address bar for instance.  Does anyone know of a keyboard shortcut to do this?