I need to batch replace the white background on several thousand images. Is there a better way of doing this aside from setting up an action, selecting the white background and filling in colour?
I have got hundreds images of products with clear white backgrounds. I would like to change the white background color to become transparent.   Is there a means of batch processing this particular process with Photoshop or any other applications?
Running tcpdump starts ssh flood I have runtime Linux running in a PLC. My development machine is running Ubuntu 14.04. The PLC and the development machine are connected through a five port switch. I ssh to PLC from my development machine to transfer executable of a networking application that I develop on my development machine.   I run tcpdump on PLC to debug the kind of packets my network application is receiving BUT as soon as I start tcpdump, there starts a flood of ssh sync and acks back and forth from my ubuntu machine to the PLC. The LED lights of ethernet controller of PLC as well on the switch start blinking rapidly. The flood overwhelms the PLC and it almost dies down while all other packets get dropped. It feels like a DOS attack whenever I run tcpdump but as soon as I stop tcpdump, everything calms down and gets back to the normal.   I would like know remedy on this problem and why it happens?     Any help would be appreciated. Why was Dumbledore worried by the cut in Harry's arm? In the Goblet of Fire, Harry is cut in the arm by Pettigrew. When Dumbledore learns it, he's extremely worried and wants to check Harry's arm.  Why?     When Harry told of Wormtail piercing his arm with the dagger, however, Sirius let out a vehement exclamation and Dumbledore stood up so quickly that Harry   started. Dumbledore walked around the desk and told Harry to stretch out his arm.   Harry showed them both the place where his robes were torn and the cut beneath   them.      "He said my blood would make him stronger than if he'd used someone else's,"   Harry told Dumbledore. "He said the protection my - my mother left in me - he'd   have it too. And he was right - he could touch me without hurting himself, he   touched my face."      For a fleeting instant, Harry thought he saw a gleam of something like triumph in   Dumbledore's eyes. But next second. Harry was sure he had imagined it, for when   Dumbledore had returned to his seat behind the desk, he looked as old and weary   as Harry had ever seen him.      "Very well," he said, sitting down again. "Voldemort has overcome that particular   barrier. Harry, continue, please.     Edit:  Plz explain this sentence specifically:     "Dumbledore walked around the desk and told Harry to stretch out his   arm." Last digits, numbers Can anyone please help me?  1) Find the last digit of $7^{12345}$   2) Find the last 2 digits of $3^{3^{2014}}$.  Attempt: 1)  By just setting the powers of $7$ we have $7^1 = 7$, $7^2=49$, $7^3=343$, $7^4 = 2401$, $7^5 = 16807$, $7^6 = 117649$, $\dots$  After the power of $4$, the last digits will repeat. Then by noticing the pattern the digits will end in $7,9,3$ and $1$.  Then we can divide the exponent $(12345)$ by $4$ since this is the cycle that makes it repeat. Then $12345 : 4$ has remainder $1$. So $7^1 = 7$ is the unit digit to $7^{12345}$.   So the last digit is $7$.   I know how to do it like this, the problem does not state how to find the last digit, but I know it has something do do with Euler's theorem.  for part $2$) I don't know how to start. Can anyone please help me?   Thank you for the help. How do I pluralize Italian foods, like pasta noodles (spaghetti, macaroni)? Possible Duplicate:             Is it proper to say spaghettis for more than one spaghetti noodle?  What about macaronis as a plural for more than one macaroni noodle? A word similar to "Donate" but more freely provided to How to resize partitions? Retrieving the last record in each group - MySQL The context is soccer (association football) and the sentence in question is:       The forward received the ball from the midfielder's pass.     I have already ask about this  and received alot of good answers, and I tried to leave it at that.  But then the World Cup 2014 is upon us, and I am starting to have doubts about this football usage of "from", to the point that I have semi-nightmares about it.  The use of "from" in the football example continues to bother me.  I seem to disagree (subconsciously) about how a ball (physical object) could be "from" a pass (action) unless that action creates that object.       Some people were hit by debris from the explosion.   The use of "from" in "debris from the explosion" makes excellent sense to me, because the explosion does create the debris.  But in soccer/football, the ball cannot possibly be "created" by a pass.    Is there any non-football usage of "from" similar to my football example sentence? Why the number of indexed pages decreased for a "site:" search Recently I created a website with hundreds of thousands of unique pages. A week ago, Google had indexed about 250,000 pages. It has now decreased to 90k URLs (using a site:domain.com query).   What should I do to have Google index all the pages again? Why did all these pages get de-indexed from Google?. How is light emitted by an incandescent lamp As soon as I start SQL Server with no application querying, in the task manager it starts to consume memory very fast till it consumes around 15GB. How can I resolve this issue? Should Stack Exchange have a spam filter? (Does it already and I’m not aware?) Of course spam posts should be flagged, and if they come up in review, rejected.  Over on Mi Yodeya during the past 24 hours I’ve helped delete and reject four spam posts through the review queue, and I can only imagine that others were posted over the course of the night. To clarify, I’m referring to edits and answers that were about 99.274% words that I don’t think any decent person would use in everyday discussions, even if someone got them really angry.   Thing is, if the only thing we can do as a community is delete his posts/reject his edits, and as moderators to ban his account, can’t he just create a new account? Further, some of these posts . Maybe the mods can ban his IP address? I’m not one, so I have no idea what kind of power they wield in that respect. But he can always just get a new computer.   I don’t have the numbers to see what this is like on other sites, but I know this doesn’t happen often on Mi Yodeya. I wonder, then, whether this is the optimal solution, or whether an automatic spam filter be put into place - say, a new review queue that automatically deletes posts or rejects edits that can then be voted on whether to be reposted if it’s a false alarm. Perhaps it can be automatically triggered by certain keywords (like ****, %$#^, or @$+^).   Now, all of these posts that I voted to delete/reject came up in Suggested Edits and First Posts. Maybe such edits would show up in Low Quality in general, and that just wasn’t the case here because of precedence rules. I don’t know. But perhaps the above would be a better solution, if this is even as big of a problem as I’m making it out to be. Could a Homorphus Charm Change a Werewolf Back Into a Human Before the Moon Cycle Ends? ‘Nice loud howl, Harry – exactly – and then, if you’ll believe it, I pounced – like this – slammed [the werewolf] to the floor – thus – with one hand, I managed to hold him down – with my other, I put my wand to his throat – I then screwed up my remaining strength and performed the immensely complex Homorphus Charm – he let out a piteous moan – go on, Harry – higher than that – good – the fur vanished – the fangs shrank – and he turned back into a man. Simple, yet effective – and another village will remember me forever as the hero who delivered them from the monthly terror of werewolf attacks.’   Gilderoy Lockhart - Chamber of Secrets - chapter 10 - The Rogue Bludger   Yeah, yeah. I know: consider the source! We all know Gilderoy Lockhart is a fake and a fraud in that he took credit for other heroic wizards' work. However, it occurred to me that in order to sell his books, he would have had to have written accurate and real spells and charms and potions, etc, into the books, or else everyone would have known right away that he was a turkey.   So is it possible there's an actual Homorphus Charm that will change a werewolf back into a human before the werewolf's moon cycle is over? If so, why on earth would they not have used it on Remus Lupin (for Lupin's safety) or Fenrir Greyback (for the community's safety)? I have a model which you can see here (camera perspective).    In the second image, you can see how the render turned out.    I'm at my wit's end trying to figure our why it's not showing up in the render. If anyone needs more information, just ask and I'll get it to you. I've already checked the normals and they're not the cause. Why don't digital cameras shoot video at full sensor resolution, or do continuous drive at video framerates? PHP: how do I copy a temp file upload to multiple places? Can virtual particles be thought of as off-shell Fourier components of a field? I just found  blog post, which gives an interpretation of virtual particles I haven't seen before.  Consider a 1D system of springs and masses, where the springs are slightly nonlinear. A "real particle" is a regular $\cos(kx-\omega t)$ wavepacket moving through the line, where $\omega$ satisfies the dispersion relation $\omega = \omega(k)$. When two real particles collide, the region where they collide temporarily looks really weird, as they interact nonlinearly, pulling and pushing on each other.  Formally, we can write this weird region as the sum of a bunch of $\cos(kx-\omega t)$ waves, but there's no guarantee they'll have the right dispersion relation. Thus, each term in the resulting expansion is a off-shell "virtual particle". If you add up all the virtual particles, you get the actual intermediate field state, which is just a weird ripple in the field where the two particles are interacting.  As another example, consider the statement "a static EM field is made of virtual particles". Under this interpretation, what that really means is, "a static field (e.g. $1/r^2$) is not equal to $\cos(kx-\omega t)$, but may be expanded in terms of such sinusoids", which is much less mysterious sounding. In fact, this is exactly what we do when we consider scattering off a potential in normal QM, e.g. in the Born approximation.  The above gives some intuition for what a 'virtual particle' means in classical field theory. They are the Fourier components of the field with $(\omega, k)$ not satisfying the dispersion relation, and they are useful in classical perturbation theory. However, they are not propagating degrees of freedom, so they only appear during interactions.   The picture above is entirely classical. Does this picture generalize to quantum field theory, giving a physical intuition for virtual particles there? Version Control: Entire site or just pieces? I've been using git to track changes in the plugins and themes I've developed for different sites. Each plugin or theme has their own repository in whichever local install of WordPress I happen to be using for that project. This works fine when I'm just working on one solitary plugin or theme.  But when I have a local version of an entire site which is a collection of different plugins, themes, WordPress core, etc. Should I be keeping that entire directory under version control?  Is there a best practice to always have a collection of repositories for each theme/plugin, or for each client site to have one monolithic repository that includes all the code used in the project (including the latest copy of WordPress via svn.) Contains and Custom Label in Rule Criteria - Workflow I have a picklist field-XYZ which contains a lot of values.Lets say (A,b,c,d...z) I am trying to write a rule criteria which will execute if the picklist value is any of the following (A,b,c...p).So instead of mentioning all the values in rule criteria , i created a custom label and put the values (a,b,c,d..p) in that and wrote the following in the rule criteria :   CONTAINS(TEXT(XYZ__c) ,$Label.CustomLabel))   This is not working even is the value of the picklist is equal to the one mentioned in the Custom Label.I guess the CONTAINS function is matching the whole value of custom label with Picklist.Is there other workaround/solution for this? How to prove that exponential grows faster than polynomial?