Even if there are certain locking spells can protect the lock against , can't a wizard just break through the walls on side? As one door is a part of a wall closing a room, can't a wizard blast through some nearby walls?
In the Harry Potter universe, there is a spell that unlocks things. In the books and movies, there are many occasions where the main characters use this spell to open doors in wizard buildings (such as the door leading to where the Philosopher's Stone is hidden, or a door in the Magical Congress Of USA headquarters). Hermione knows the spell in her first year, which seems to indicate it's pretty easy to learn/cast, especially for the average adult wizard.   What I'm wondering, then, is why do wizards lock their doors when it's so easy to unlock them? And if it's so easy to unlock locked doors, why aren't there more doors locked with enchantments?
How to run a cron job using the sudo command Is it possible to run a  job which needs the  command?  Like:   sudo rm somefile Remove Gnome Notifications or set Permanent Do not Disturb How do I recover files from an USB flash drive? Possible Duplicate:          I have a USB flash drive that claims it needs to be formatted every time I put it into my computer (Windows).  Yesterday the drive was healthy and had data on it.  The data is probalby still there.  Are there any free tools to restore the drive?  If not free, what tools are known to work in this situation? How to create this curved 90-degree-angle quickly I am looking for an option to require a passcode to power off my iPhone. That way, if the phone is lost, the person who finds it cannot simply turn it off, rendering Find My iPhone useless. Is there a way to accomplish this? I followed @Micha's instruction and successfully used the modules in GRASS. I use r.watershed to get the basin raster and the drainage line：  and I use r.water.outlet to get the watershed of one outlet：  I got the whole basin area of the green outlet point, but all I want is the little part of the original basin area, like this：part B is what I want  This schematic photo shows the idea of what I want：  Can I achieve this goal using r.water.outlet or other modules in GRASS？ Or all I can do is using the intersect tool in Geoprocessing tools in QGIS？  I want to find the watershed area, but using QGIS. I have following files to work with：  stream network shapefile(polyline) point shapefile clipped from the polyline shapefile a whole island(the stream is inside the island) DEM(I got 2 types:.lan &amp; .tiff)  I want to find the total watershed area located upstream of every point in the network, here's the schematic diagram：  the green, red, and yellow line enclose the watershed of each point(here I only take 3 points as the example), and I want to calculate their area. I already got the DEM file, and I must cut the region that contains the stream off, should I polygonize it first？ Can I directly use this form(.lan or .tiff) to work with GRASS？ I get the following error in my log files every time I try to upload a large file.  a client request body is buffered to a temporary file /var/lib/nginx/body/0000000001   Although the file uploads successfully, I always get the above error.  I increased the client_body_buffer_size to 1000m which is what I expect the largest file uploaded to be. However, this is was just a guess and although I don't get that error anymore I am wondering if this is an appropriate value to set for the client_body_buffer_size?  I would appreciate it if anyone can shed some light on this directive and how it should be used. How to center a listing? I'm trying to get some console output in my homework. I put it in a listings environment but I want it to be centered horizontally on the page.  The only thing I get centered is the caption ;-/  \begin{minipage}{1\textwidth} \begin{center} \begin{lstlisting}[caption={Ausgabe des C-Programms},label={ggt_c_ausgabe}] a  |  b  |  q  |  u  |  s  |  v  |  t   ---------------------------------------- 78 |  21 |   1 |     |   1 |   1 |  -1  21 |  15 |   3 |   1 |  -3 |  -1 |   4  15 |   6 |   1 |  -3 |   4 |   4 |  -5   6 |   3 |   2 |   4 | -11 |  -5 |  14   3 |     |   2 | -11 |  26 |  14 | -33  ---------------------------------------- \end{lstlisting} \end{center} \end{minipage} Can houseplants actually improve air quality? I'm doing some exercises on Apostol's calculus, on the floor function. Now, he doesn't give an explicit definition of $[x]$, so I'm going with this one:     DEFINITION Given  $x\in \Bbb R$, the integer part of $x$ is the unique $z\in \Bbb Z$ such that $$z\leq x &lt; z+1$$ and we denote it by $[x]$.   Now he asks to prove some basic things about it, such as: if $n\in \Bbb Z$, then $[x+n]=[x]+n$  So I proved it like this: Let $z=[x+n]$ and $z'=[x]$. Then we have that  $$z\leq x+n&lt;z+1$$  $$z'\leq x&lt;z'+1$$  Then $$z'+n\leq x+n&lt;z'+n+1$$  But since $z'$ is an integer, so is $z'+n$. Since $z$ is unique, it must be that $z'+n=z$.  However, this doesn't seem to get me anywhere to prove that  $$\left[ {2x} \right] = \left[ x \right] + \left[ {x + \frac{1}{2}} \right]$$  in and in general that   $$\left[ {nx} \right] = \sum\limits_{k = 0}^{n - 1} {\left[ {x + \frac{k}{n}} \right]} $$  Obviously one could do an informal proof thinking about "the carries", but that's not the idea, let alone how tedious it would be. Maybe there is some easier or clearer characterization of $[x]$ in terms of $x$ to work this out.  Another property is $$[-x]=\begin{cases}-[x]\text{ ; if }x\in \Bbb Z \cr-[x]-1 \text{ ; otherwise}\end{cases}$$  I argue: if $x\in\Bbb Z$, it is clear $[x]=x$. Then $-[x]=-x$, and $-[x]\in \Bbb Z$ so $[-[x]]=-[x]=[-x]$. For the other, I guess one could say:  $$n \leqslant x &lt; n + 1 \Rightarrow  - n - 1 &lt; x \leqslant -n$$  and since $x$ is not an integer, this should be the same as $$ - n - 1 \leqslant -x &lt; -n$$  $$ - n - 1 \leqslant -x &lt; (-n-1)+1$$  So $[-x]=-[x]-1$ What is Elrond's position/status, as compared to Galadriel's? In the Lord of the Rings books, Galadriel of Lorien is even more exalted than in the movies.  She is essentially a queen, and the deference shown to her far exceeds that shown to Elrond of Rivendell.  Yet in the films, we see her trying to persuade Elrond to intervene in the battle of Helm's Deep by sending Elf troops to reinforce Theoden's forces.  Eventually, Elrond relents, and orders the Elves into battle.  But the troops in question are Galadriel's, not Elrond's - they are led by Haldir, one of Galadriel's guards; the trip from Rivendell to Helm's Deep (500 miles as the crow flies) is about 2 times longer than the trip from Lorien to Helm's Deep (250 miles as the crow flies), far too long for the reinforcements to arrive in time.  But then Haldir greets Theoden of Rohan by saying he has come bearing a message from Elrond - not Galadriel.     I bring word from Lord Elrond of Rivendell. An Alliance once existed between Elves and Men. Long ago we fought and died together. We come to honor that allegiance.    This seems odd for a few reasons. The troops are Galadriel's, not Elrond's, and they come from Lorien, not Rivendell. She clearly wanted to send them to Helm's Deep - she was cajoling, prodding, and guilt-tripping him into doing just that.  She is also a queen, and could presumably order them into battle regardless of what Elrond says.    So why does she have to talk Elrond into letting her send her own troops into battle, especially when he is too far away to contribute manpower (elfpower) or materiel to the battle of Helm's Deep?  Why not say, "I'm not going to sit here doing nothing while Saruman runs roughshod over Rohan;  you can support me or not, Elrond, but if you aren't willing to help, you can at least get the hell out of the way"?  Why does her aide Haldir "bring word from Elrond" when the troops - and the impetus for sending them - came from Galadriel, and Elrond resisted sending them out for as long as he could?  And again, what is Elrond's official position/status/rank, and why would a queen need his permission to deploy her own troops? In C++/CLI, what does the hat character ^ do? I was reading Ivor Horton's Beginning Visual C++ 2008 and many of its CLR examples have this definition for main:  int main(array&lt;System::String ^&gt; ^args)   I went back, page by page, to the beginning of the book to find the first such instance with an explanation what it really means, but couldn't find one.  Obviously it means the same as the standard int main(int argc, char *argv[]), but I'd like to know when and why that ^ is really used, and why it even exists (does it do something that pointers * and references &amp; cannot represent)? How to write this boolean expression using only NOR gates? I'm having some trouble understanding how I can convert a boolean expression to a NOR-gate only expression.   What I'm working with looks like \$T = A B' C + A' B C' + A B\$. How would I go into implementing it with NOR gates? robots meta not blocking indexing We have a staging version of our website to test changes on at trailheadpaddleshack.ca/staging1. This never appeared in search before. Recently the staging site has appeared on Google and is affecting our search results.  I'm trying to figure out how the pages got there and how to remove them. The pages have always had &lt;meta name="robots" content="noindex, nofollow"&gt; in the head.  I am kinda new at this but was under the impression this should prevent Google from showing my site in results. I am pretty sure the results appeared in google after I accidently copy pasted some codes from the staging site to the live site that contained links to pages on the staging site. If anyone can point me in the right direction to figure out what happened and prevent it from happening again would be much appreciated.  robots.txt looks like this:  User-agent: * Disallow: /calendar-2/action~posterboard/ Disallow: /calendar-2/action~agenda/ Disallow: /calendar-2/action~oneday/ Disallow: /calendar-2/action~month/ Disallow: /calendar-2/action~week/ Disallow: /calendar-2/action~stream/ #Begin Attracta SEO Tools Sitemap. Do not remove sitemap: http://cdn.attracta.com/sitemap/4035112.xml.gz #End Attracta SEO Tools Sitemap. Do not remove   I also tried adding an X-Robots-Tag header and submited the site to be re-crawled. Did that a few days ago and I still see no changes. Here are the HTTP headers according to "Fetch as Google":  HTTP/1.1 200 OK X-Robots-Tag: noindex,nofollow Vary: Accept-Encoding Transfer-Encoding: chunked Date: Sun, 24 May 2015 16:26:49 GMT Server: LiteSpeed Connection: close X-Pingback: http://trailheadpaddleshack.ca/staging1/xmlrpc.php Content-Type: text/html; charset=UTF-8 Link: &lt;http://trailheadpaddleshack.ca/staging1/?p=170&gt;; rel=shortlink   I am now faced with a bunch of results I need to remove from Google asap as they contain out of date information and are affecting our search results. Webmaster Tools has something for removal of a single URL but I am looking to remove the entire /staging1/ subfolder. Any tips? What happened to Startups SE? I really enjoyed that site. I've only posted on it once, but I enjoyed seeing other people's posts and appreciated reading about entrepreneurial dilemmas. Wasn't the density of the universe at the moment after the Big Bang so great as to create a black hole? If the answer is that the universe/space-time can expand anyway what does it imply about what our universe looks like from the outside? I am attempting to return an integer (itemcount) of the items within a SP2013 list. I have done this easily using the stock standard json method. However I have a need of counting the splist items which contain a certain value. My silly knowledge immediately lead me to try and use filtering with the ItemCount parameter only to find out that it will always still return the count for all items and it will completely ignore the filter. I have searched for a way of doing this but have found absolutely nothing other than a single page with a comment stating that it is not possible with the REST api and that it can ONLY be done using CSOM.  My question is, firstly, is it true that there is NO way to filter itemcount with REST? If so, how else can I obtain my item count using this type of filtering? (Examples or sources will help vastly) Thanks.  Below is my attempted request:  var itemid = item.id;           MyService.ensureFormDigest(function (fDigest) {               $http.get(                   MyService.appWebUrl + '/_api/web/Lists/getbytitle(\'Items\')/ItemCount?$filter=SubjectsID eq' + itemid,                   {                       headers: {                           'Accept': 'application/json; odata=verbose',                           'X-RequestDigest': fDigest                       }                   }).success(function (d) {                       item.itemcode = d.d.ItemCount;                       alert(item.itemcode);                       callback();                   }).error(function (er) {                       alert("Error getting List Item Count: " + er);                   });           });       }   On another note, I was advised to try it as such: /Items?$filter=SubjectsID eq 3&amp;$select=Id  Then in the JS, in my success method:  data.d.results.length When I install "Installer for Microsoft TrueType core fonts" (ttf-mscorefonts-installer) from the Software Center on 14.04, it gives a positive response--but after this I get a download error. It seems that the files actually providing the fonts are never retrieved. Is there any way to resolve this? Clerical mistake in UK visa application: should I make a pen-and-ink correction or electronically edit the PDF? I've gone through all similar questions but I believe my specific question doesn't have an answer yet.  I've applied for a Standard Visitor visa. After I completed the application, made an appointment and paid the fee, I noticed that the way I spelled my name on the application differs from how it is spelled in the passport by 1 letter (this is partially because of myself being an idiot, but mainly because my new passport has an incorrect transliteration of my name, whereas my old passport and any other document in my life has the correct one).  So here are the options I see:   Print the application and make a pen-and-ink correction with a black ballpoint pen by crossing the printed name/letter and writing the correct one - as answers to other similar questions suggests. Edit the PDF electronically and print it so that there are no visible corrections. However, as the form is saved at their end, there will be a discrepance between the printed form and saved form with no visible signs of correction.   Which way has better chance for me to have my application accepted?  Also (probably doesn't matter much but still): if it's the pen-and-ink correction, is it better to cross-out the whole name or only the wrong letter? How do I change a user name in Windows 7?