Sometimes, while trying to edit a file, the editor says "cannot write to file because is taken by another process". So, is there a tool which takes an input a file name (with its path) and tells which process has taken it with write-only acces?  If not, what is the thecnical reason that cannot be answered?  I ask this because is so annoying that the message does not inform what is the damn process locking the file and cannot understand why the OS programmer didn't give that obvious vital information. Thanks!
How can I find out which process is locking a file or folder in Windows?  For instance, when trying to delete a folder, Windows reports this:     The action can't be completed because the folder is open in another program   Happens the same with a file, but how do I find out what program or application is currently using it and preventing me from deleting the file or folder?
Parsing JSON from URL How to set custom DNS server for Chrome browser? I have a local DNS server that resolves all URLs *.domain.tld to 127.0.0.1. Also, I have the production server with the same address *.domain.tld. They have the same names, because subdomains interact with each other, and I have hardcoded domain URLs. I can't change them in the production server.  The problem is to reach the production server from my developer computer without touching the DNS server and /etc/hosts.  I found some options for Chrome such as --dns-server, --host-rules, but none is working. I have Google Chrome 23.0.1271.64 and Chromium 22.0.1229.94 on Ubuntu 12.10 64-bit. Is the use of a hyphen between "non" and an adjective strictly necessary? Do I need to put a "-" between "non" and an adjective? As an example in physics we say "a non isolated photon", "non tight photon"... The context is very formal (paper publications and similar). Is there a general rule? Are there some differences between countries? How does the 2009 Star Trek film mesh with Enterprise canon? All of the events in the 2009 Star Trek movie would have taken place after the adventures of Captain Johnathan Archer and company.  So, unless J.J. Abrams and friends decide to completely hand-wave that bit of history as well, all of the events in Enterprise should (in theory) still be able to line up with this new timeline.  Are there any points of conflict in this?  How about any time-travel episodes in the Enterprise series which may have happened differently after the interventions of Nero?  Are there possible good explanations for such conflicts, or are there some which are irreconcilable?  NOTE:  I'm not arguing here whether or not ST2k9 is a part of Star Trek canon.  In fact, this question is specifically granting that it is.  I just want to know if there's any conflicts between the new movie and the existing Star Trek history that remains applicable to it. Escape velocity from a rotating black hole What is a wizard that makes them non-Muggle? Or, more directly, what ancestry does the witch/wizard gene follow? Is there a patriarchal wizard (or matriarchal witch) that Muggles have no part in? Elves perhaps? Stop reading here.  Purpose of the Question/History/Don't Read There seem to be solid consequences associated with being Muggle, or Muggle-related. A dominant theme in the novels is discrimination against the non-gifted race, but, when read into, the wizard bloodline doesn't appear all that well defined. JKR indicates that wizard-ness is genetic, or inherited:  &quot;Muggle-borns will have a witch or wizard somewhere on their family tree, in some cases many, many generations back. The gene resurfaces in some unexpected places.&quot;  By the above, it stands that a family that produces a squib (non-magical born of magical parents) must be a half-blooded family in some way, since half-blooded only requires one non-magical ancestor. Of course, we are dealing in magic genetics. Any other form of genetics would make this inherited, seemingly recessive trait (or squibs couldn't exist), never appear at all. Unless they were XMen. If it is so important, what does the wizard-bloodline follow? Other Mythos In other literature a wizard can be nearly anything, but magical powers are typically inherited as well as learned. Merlin of the Arthurian Legend (also mentioned in HP) is Cambian, meaning he is born of demonic intervention; this explains his source of enchantment. Gandalf of Middle Earth is a Maiar, as are all Wizards of Middle Earth. Wizards in Harry Potter seem to follow a bloodline, and it has been mentioned (in the question Gabe linked) that genetics have a heavy play in it, meaning that squibs and parents of Muggle-born wizards should have identical genetics. This bloodline must come from somewhere. Magical Creatures In Harry Potter it is common for magical creatures to &quot;mingle&quot; with humans, these beings are typically somewhat magical. Elves have been described to have very strong magic, but are for some unreasonable reason subservient to humans. I may be mistaken, but believe it was hinted that elves and the wizarding lineage had intersected at one time. Maybe I'm imagining this. Genocidal Allusions Voldemort hates muggles, and half-bloods, and whatever else is non-wizard. The presence of this theme, suggests that this wizardly bloodline must be at least defined if the main antagonist is so obsessed with keeping that mysterious bloodline pure. Since Slytherin himself was said to be a supremacist (circa a really long time ago) it suggests that this bloodline should have existed long before he was around, especially if he founded a school with people he was not related to, but were also magical. Typeset an = with an ! above I've seen an equals sign with a small exclamation mark on top being used to say "equals because of data that was given in the problem", for example for a boundary condition or initial value in a differential equation.  A rough picture of what I mean:       ! f(x) = 4   How do I typeset this in LaTeX? I've tried $=^!$ (which doesn't produce the desired result) and looked through the "relations" section of the  without success. Scheduling a team based activity with 10 different teams and X different games. Every team must meet each other ONCE but never twice, How to overload __init__ method based on argument type? Fibonacci combinatorial identity: $F_{2n} = {n \choose 0} F_0 + {n\choose 1} F_1 + ... {n\choose n} F_n$ Can someone explain how to prove the following identity involving Fibonacci sequence  $F_n$  $F_{2n} = {n \choose 0} F_0 + {n\choose 1} F_1 + ... {n\choose n} F_n$ ? How do you debug through a compressed JavaScript file? Objects disappear when looking through camera window.onbeforeunload and window.onunload is not working in Firefox, Safari, Opera? If I want my app to behave differently on a jailbroken iPhone, how would I go about determining this? How to get horizontal black line when coloring cells? "Never say die?" What's the deal with this idiom? I know what it means, but cannot wrap my head around its grammar structure. The sentence structure of     "Never say die"   looks like that of     "Never admit defeat"   but it does not make the same grammatical+semantical sense.  Is it an archaic use? Is it a contraction of a longer phrase? Was it originally misspoken by someone of note and survived memetically? What are its roots?  Edit: Well, the comments made me realize that I worded my question poorly. I'm not saying I think this phrase is ungrammatical. I'm asking how the heck "saying 'die'" came to mean what it means. Circuitikz symbols in TikZ circuit library Some time ago, I asked about . wh1t3 wrote: "However, as far as I know there is nothing the circuitikz package does that the TikZ circuit library can't."  So if it is true that the tikz library is more powerful, how do I get all the symbols described in the  using the TikZ circuit library?  Especially I am missing the symbols for ammeters and voltmeters. Is there a way to mix LIKE operator with IN ? Something Like  SELECT Id FROM Account WHERE Name LIKE IN:nameList   Where nameList is list of String? Is this is possible ? (I can make a dynamic query by doing OR with all the elements, but was looking for a more elegant way to do this) I have a scenario where i want to calculate sum of column   SAL|CAL|TAG|VAL 12.11"|"1.1"|"2.1"|"1.1 13.11"|"1.1"|"2.2"|"2.2 14.11"|"1.1"|"2.4"|"2.4   My below code not giving output giving output as 0.00  I need output for this column CAL VAL  awk -F'|' '{T+=$2} END { printf "%.2f\n", T }' demo.txt   output :  6.7 5.7 showing $\psi: R\to \mathbb C$ is ring isomorphism.