Combining batch actions with manual actions in Adobe Photoshop I need some help. In the past few weeks I have found a large portion of archived ww2 documents. Now I'm trying  to make proper PDF's out of these files but there is one issue. The archiver who digitized the documents has left a black space around the documents which I obviously would like to remove. This issue however is that the documents differ in size, position and rotation. I have added an example file.  Now I'm wondering if it is possible to design an action which allows me to manually crop a file and then save and close it. in general the batch and action should open the image, allow me to crop and then continue to save and close the file for me. I want to have a minimum of mouse and keystroke actions as we are talking avout several 10.000 images which have to be processed.  Can any one help me?  Cheers
Action to crop a photo with user input. The batch processing I'm stumped.  All I need to do is open my photo, have the action stop to wait for me to decide where the crop should be (to center the important part of the photo), then close that photo so the batch processing can go get the next photo.  I see the "inset stop" is the key, but it never allows me to crop, it just moves on to the next photo.
Proper capitalization of commonly used acronyms and initialisms I was always under impression, that acronyms ought to be written all caps. However reading  site very often I see some of the common acronyms written as proper names (first cap). For example "Nato" instead of "NATO".   I know that BBC is quite strict in proper English usage, so what would be the reason behind this? In today's pattern recognition class my professor talked about PCA, eigenvectors and eigenvalues.   I understood the mathematics of it. If I'm asked to find eigenvalues etc. I'll do it correctly like a machine. But I didn't understand it. I didn't get the purpose of it. I didn't get the feel of it.        I strongly believe in the following quote:     You do not really understand something unless you can explain it to your grandmother. -- Albert Einstein   Well, I can't explain these concepts to a layman or grandma.   Why PCA, eigenvectors &amp; eigenvalues? What was the need for these concepts? How would you explain these to a layman? Why aren't particles constantly "measured" by the whole universe? Let's say we are doing the double slit experiment with electrons. We get an interference pattern, and if we put detectors at slits, then we get two piles pattern because we measure electrons' positions when going through slits. But an electron interacts with other particles in a lot of different ways, e.g. electric field, gravity. Seems like the whole universe is receiving information about the electron's position. Why is it not the case and the electron goes through slits "unmeasured"?  Bonus question: in real experiments do we face the problem of not "shielding" particles from "measurement" good enough and thus getting a mix of both patterns on the screen? What are the rules for splitting words at the end of a line? What are the rules in English language to split words at the end of a line?   Where exactly must the hyphen split the word? Has Stack Overflow been haiku-hacked? Hi I would like to know whether the trace of the inverse of a symmetric positive definite matrix $\mathrm{trace}(S^{-1})$ is convex.  Actually I know that the trace of a symmetric positive definite matrix $S\in M_{m,m}$ is convex since we can find $B\in M_{n,m}$ such that $S=B^T\times B$ then we can write the trace as the sum of scalar quadratic forms, i.e. $\mathrm{trace}(S)=\mathrm{trace}(B^T\times B)=\sum_{j=1}^mb_j^T\times b_j$ where $b_j$ is the $j^{th}$ column of $B$.  for instance if we have  $trace([\begin{array}{cc} 1 &amp; 2  \\ 3 &amp; 4  \\ \end{array}] \times [\begin{array}{cc} 1 &amp; 3  \\ 2 &amp; 4  \\ \end{array}])= [\begin{array}{cc} 1 &amp; 2  \\ \end{array}]\times [\begin{array}{c} 1   \\ 2   \\ \end{array}]+ [\begin{array}{cc} 3 &amp; 4  \\ \end{array}]\times [\begin{array}{c} 3   \\ 4   \\ \end{array}]=30$  And so I wonder if $\mathrm{trace}(S^{-1})$ is convex too.. This seems to be a chicken-egg problem. The most common task using sudo is installing and removing software.  sudo apt-get purge &lt;appname&gt;   But sudo itself can be removed.  sudo apt-get purge sudo # Do not run this command on production computers!   This is where the fun comes  ubuntu@ubuntu:~$ sudo bash: /usr/bin/sudo: No such file or directory   Although it's obvious that no person in his right mind will purge sudo (other than me), someone can be fooled to run this command (not directly, in its hex mode, or whatever it's called) or a person could SSH in disguised as tech guru and do the mess.  So is there a way of reinstalling sudo? Have you used any of the C++ interpreters (not compilers)? I am curious if anyone have used UnderC, Cint, Cling, Ch, or any other C++ interpreter and could share their experience. Add 'Page' above page numbers in Table of Contents Why do some tests have a (nonzero) minimum score? A random variable with neither probability density function nor probability mass function... is this example wrong? This is from Shreve's Stochastic Calculus for Finance II, Appendix A.3. Consider infinitely many independent coin tosses with outcomes $\omega_n$, $n = 1, 2, \dots$ such that $\omega_n$ can be either $H$ = heads or $T$ = tails. Define \begin{equation} Y_n\left(\omega\right) = \begin{cases}1 &amp; \text{ if }\omega_n = H \\ 0&amp; \text{ if } \omega_n = T\text{.} \end{cases} \end{equation}  Define $\displaystyle Y = \sum\limits_{n=1}^{\infty}\dfrac{2Y_n}{3^{n}}$. Shreve shows that $Y$ can only take values in the Cantor set, and since that particular set has measure zero, its Lebesgue measure is zero as well, thus it does not have a probability density function (since integrating such a density function would give a value of $0$). This part I understand, as well as my professor.  Now Shreve claims that $Y$ does not have a probability mass function.      If it did, then for some number $x \in C$ [the Cantor set] we would have $\mathbb{P}\left(Y=x\right) &gt; 0$. But $x$ has a unique base-three expansion    \begin{equation} x = \sum\limits_{n=1}^{\infty}\dfrac{x_n}{3^{n}}\text{,} \end{equation}   where each $x_n$ is either 0, 1, or 2 unless $x$ is of the form $\dfrac{k}{3^{n}}$ for some positive integers $k$ and $n$. In the latter case, $x$ has two base-three expansions... In either case, there at most two choices of $w \in \Omega_{\infty}$ [that is, the infinite coin-toss space] for which $Y(\omega) = x$. In other words, the set $\{\omega \in \Omega; Y(\omega) = x\}$ has either one or two elements. The probability of a set with one element is zero, and the probability of a set with two elements is $0 + 0 = 0$. Hence $\mathbb{P}\left\{Y = x\right\} = 0$.   My professor and I were able to follow this until the statement "The probability of a set with one element is zero." Is this a true statement? How so?   I thought it would be perhaps the fact that the Lebesgue measure of $[a, a] = \{a\}$ is zero, but I don't see any reason why Shreve would only use the Lebesgue measure, since it is not a general probability measure. Was it just coincidence that Tahir Mahmood went on stage? How to derive the formula for the sum of the first $n$ odd numbers: $n^2=\sum_{k=1}^n(2k-1).$ How to derive this formula?   $$n^2=\sum_{k=1}^n(2k-1).$$ Joint distribution of two dependent variables How do I join two lists in Java? I've looked through a number of the "Vote too old to be changed" questions, but I think this one's different.  I gave a downvote to an answer I thought had a critical defect, and I left a comment describing the defect. The answer was edited to satisfy my criticism, but it was done within the short grace period where edits aren't recorded as such. When I try to cancel my downvote I get the error - "Your vote is now locked in unless this answer is edited" - but it was edited!  In reference to this answer: I have a 2&nbsp;GB Kingston  card which is about three years old. I put it in a reader today in my Windows Vista computer, wrote a 32&nbsp;MB file onto it, safely removed it, and then tried to read it elsewhere. Nothing. Putting it back in the Windows Vista computer it now says:     You need to format the disk in drive F: before you can use it.   What should I do? I have access to many computers and OSes if your recommendations need that. I would be very sad if I lost all the contents of the card. Most of the data is backed up, but there are a few things that aren't. :(  Doing a   # dd if=/dev/sdg of=~/tmp/sd.bin   gives me a 2&nbsp;GB file, and  the file it seems like lots of my data is still there. How can I put it back together? I want my intent to be launched when the user goes to a certain url: for example, the android market does this with  urls. so does youtube. I want mine to do that too. A real solution to ambiguous tags Introduction Even within a site's relatively focused range of topics (it's unlikely anybody on SO will think  refers to the solar system's star), some tags are inherently ambiguous. There are currently two unsatisfying options:  Declare that the tag is only to be used for one of the possible meanings, write a tag wiki explaining it, and link from there to the newly created tags for the other meanings, and keep cleaning up the tag whenever someone ignores the tag wiki popup explaining the tag. Use alternative tags for all meanings (e.g. cd-command and compact-disk, instead of cd), and keep removing the undesired tag whenever it pops up again. And it will. The  is not deterring users from creating unnecessary or redundant tags.  Blacklisting tags is a complicated ritual occurring once in a blue moon, at most, and involves a dragon, a team member, and sacrifices to be burnt. It also makes those other, unambiguous tags not easier to discover, if it were applied to ambiguous tags. I don't consider this to be a viable option in this case. Proposal Here's the proposed : Just like a tag can be declared a synonym of another tag, basically changing all references to the synonym to references to that other, canonical tag, it should be possible to make it a disambiguation tag (or ambiguous tag) for multiple other tags. It's a logical progression from &quot;You entered a term with the same meaning as this other term&quot; to &quot;You entered a term with the same meaning as one of these other terms, please choose the correct meaning&quot;. Use of the tag should force the user to choose one of the alternatives presented:  &quot;, did you mean  or ?&quot; &quot;, did you mean , , or ?&quot; &quot;You entered 'vm', did you mean  or ?&quot; &quot;You entered 'sas', did you mean  or ?&quot; &quot;You entered 'kvm', did you mean  or ?&quot; &quot;You entered 'mono', did you mean  or ?&quot; &quot;You entered 'dsl', did you mean  or ?&quot;  Not all of these examples might be good (I'm not sure e.g. about the first two SO examples), but that's not really the point here anyway — they should just convey how this could be used. Note how some of these tags would probably never be used if users had to type them, and yet everything shorter is ambiguous. This could probably be mostly solved by extending the synonym/tag wiki excerpt dropdowns shown when a user enters the tags, proposing the alternatives for an ambiguous tag entered by the user (like a synonym suggestion, but with multiple options). If ignored, the user could still be shown an error message like with blacklisted tags, but by designing the selection dialog well, it should be possible to prevent that in most cases.  Related topics   This topic is related, but the user seems to have accepted the inclusion of tag wiki excerpts in the tag suggestions drop-down as sufficient.   This requires extensive discussion and team involvement (i.e. the status quo)   This topic has no real solution, except manual retagging. Vortex in liquid collects particles in center At xmas, I had a cup of tea with some debris at the bottom from the leaves.  With less than an inch of tea left, I'd shake the cup to get a little vortex going, then stop shaking and watch it spin.  At first, the particles were dispersed fairly evenly throughout the liquid, but as time went on (and the vortex slowed, although I don't know if it's relevant) the particles would collect in the middle, until, by the time the liquid appeared to almost no longer be turning, all the little bits were collected in this nice neat pile in the center.  What's the physical explanation of the accumulation of particles in the middle?  My guess is that it's something to do with a larger radius costing the particles more work through friction...