Can't seem to find if there is already a question similar - though I do think there may.  Two similar questions; did Dumbledore really raise Harry like a pig for slaughter, and did he know Harry would survive in the end? At Severus puts it,   It seems that this is a complete betrayal of trust, though I have a feeling there is more than meets the eye (I.E, Dumbledore didn't really betray him). Did Dumbledore know Harry would live, or was he really just doing everything for the greater good?   Please provide references for your answers; quotes, etc..
Based on the following interchange between Harry and Dumbledore in the pivotal &quot;King's Cross&quot; chapter of Deathly Hallows, I was wondering when exactly Dumbledore put together that Harry would have to die in order to bring about Voldemort's ultimate demise:  &quot;And you knew this? You knew--all along?&quot; &quot;I guessed. But my guesses have usually been good,&quot; said Dumbledore (Deathly Hallows, 599, hardcover).  The conversation that spurred Harry's question includes material dating back to Halloween '81, but also specifically mentions the events of the graveyard from GoF. So, &quot;knowing all along&quot; could refer to everything (i.e., Harry must die, Voldemort ignorantly tethered him to life, etc.) or just that Voldemort tethered him to life. Other important information pertaining to this question can be found in OOTP, when Dumbledore confirms (if he didn't already know) that Harry contains part of Voldemort's soul. He uses the silver instrument to find out that Harry is just like Nagini, having the ability to share mind and soul with Voldemort. He also says the following:  &quot;I guessed, nearly fifteen years ago,&quot; said Dumbledore, &quot;when I saw the scar upon your forehead, what it might mean. I guessed that it might be the sign of a connection forged between you and Voldemort&quot; (Order of the Phoenix, 826-827, hardcover).  While confirming that he guessed that Harry might share a connection with Voldemort from the very beginning, Dumbledore does not confirm with this statement that he knew Harry would ultimately have to give up his life. In Philosopher's Stone, when Dumbledore drops off Harry on the Dursley's doorstep, we know he is not entirely truthful with McGonagall.  McGonagall asks: &quot;How in the name of heaven did Harry survive?&quot; &quot;We can only guess,&quot; said Dumbledore (Philosopher's Stone, 12, hardcover).  Of course, this was a lie. Dumbledore already knew how Harry survived, otherwise he wouldn't be delivering Harry to Lily's sister to extend the blood sacrifice. By proxy, he also knows that Voldemort will return b/c of Horcruxes, otherwise he wouldn't be so worried about Harry. Finally, when asked in the same scene if he could remove the scar, Dumbledore says:  &quot;Even if I could, I wouldn't. Scars can come in handy&quot; (Philosopher's Stone, 15, hardcover).  So, did Dumbledore know at this very moment that Harry would have to die? Did he at least guess it to be true during this scene? We know he gains perfect confirmation in OOTP, but did he know it &quot;all along,&quot; as a particular reading of the King's Cross interchange in DH would have us believe?
Proxying fake domain to a localhost port I'd like to do much the same thing described at  for web app development purposes, but with the twist that I'd like requests to fakedomain.com:80 to be routed to localhost:8080, say, so that I don't have to actually use my development machine's port 80.  I'd welcome answers that take the form of:   Small changes to configuration files like /etc/hosts, and/or An easy-to-configure proxy server I could run   Note:  takes the approach of setting a firewall rule to forward all incoming traffic on port 80 to port 20559. That may be an acceptable solution, but ideally, I'd like to forward only a specific domain + port combination. What is the easiest way to swap occurrences of two strings in Vim? E: Package 'guile-1.8-dev' has no installation candidate this is an error i got I have apt-get 0.7.23.1 on host machine. I do not have root, thus not able to update it, or install other packages.  I want to download .deb packages with it, but neither  apt-get -d bash   (Invalid operation bash)  nor  apt-get -d install bash   (do not have root)  work.  On my home machine with a newer version of apt-get I can  apt-get download bash   and it does exactly what I want it to.  How can I perform the same on the host machine? Using differentiation for computing $\int_{0}^{1}\frac{\arctan(ax)}{x\sqrt{1-x^2}}\,dx$ How can I prove that I can differentiate the integral:  $$ \int_{0}^{1} \frac{\arctan(ax)}{x\sqrt{1-x^2}}\,dx $$  First I have to prove this integral converges. Next I have to prove the integral $$ \int_{0}^{1} f_{a}'(x, a)\,dx $$ converges uniformly.  Then I can differentiate integral with Leibniz's rule.  I tried Weierstrass and Dirichlet's tests. Nothing succeeded.   Thank you for help in advance. I would really like to see all of my questions and answers on the profile page, even if some of them were deleted, and I don't have enough rep to see them on the site. (Note that some questions are  after 30 days or 1 year, and the author might be oblivious about what happened.)   , the &quot;deleted recent [questions/answers]&quot; links in one's own user profile now list all respective posts that were deleted in the past 60 days, rather than just those that were originally posted in the last 60 days. , users with the &quot;access to moderator tools&quot; privilege (10k+ on designed sites, 2k+ on beta and non-designed sites) can use the search operator deleted:1 to see all their own deleted posts. , deleted questions and answers that were posted in the past 60 days, can be seen using the &quot;deleted recent questions&quot; and &quot;deleted recent answers&quot; links on the questions and answers tabs (at the bottom of the tab) in your user profile. For older posts: as of 2013-04-23 you can  if you already have a link to them, but they still aren't linked from the user profiles (not even just for you). Nor do you see inbox notifications for comments on them if you come back a few hours later. You have to have thought to bookmark your question, or you have to go digging for it in your browser history. I am using ArcGIS 10.1 and I have a non-spatial table and some layers in a Data Frame.   When I switch to Layout View I want to be able to show the map in a data frame element and the table in another element (something that one could do with "Add Table To Layout" from Table Options, but I want to do this in one step without having to go to Table Options).   Is there a way to do this using ArcPy?   I couldn't find any function in the ArcPy library that would create a new Layout Element ... and then I also don't know how to add the contents of the table to the Layout Element. Definition of textbook RSA What is the definition of textbook or "raw" RSA?  What are some of the properties of textbook RSA?  How does it differ from other schemes based on RSA? What exactly goes into a transformer's VA rating? At a fundamental level it seems that there has to be a limit to what the VA rating can represent.  For example if I draw 2 Amps-RMS from the secondary of a 30VA rated transformer at 15 Vrms this makes sense as the maximum Complex Power I can draw. Still, at a power factor of 1 my maximum current in the transformer would be sqrt(2) * 2 Amps.   But what if my power factor is abysmally low (ie in a DC rectifier) due to harmonic distortion and while I still draw 2A-RMS I have brief current spikes of 15 Amps? Surely the transformer's magnetics couldn't handle these spikes as I'd expect the core would saturate.  My question is what is the practical limit for VA ratings of transformers? Would brief current spikes that reduce to only 2A-RMS in this case be fine? Obviously the secondary/primary copper losses play a part in the rating but how do the magnetics factor in?  I ask this because I am designing a simple bench power supply using a 125VA transformer with a 24Vrms secondary and am trying to figure out how much power I can draw before the current spikes into the inductor are too much for the transformer. I also don't want to have to resort to active PFC as I don't want to risk messing up any HVAC PCB design.  Thank you Connect iPhone to Mac Without Charging I am developing iOS apps and I hate, that always when I connect my iPhone to my Mac to install and test an app, the iPhone gets charged. Is there any possibility to connect my iPhone to my Mac without charging the phone?    My Environment: -  iPhone 4S (No Jailbreak) -  MacBook Air3,2 (Late 2010) extended stars-and-bars problem(where the upper limit of the variable is bounded) I am trying to get an Epson WF-2760 scanner that is network-connected working. I'm using Ubuntu 16.04.2 64-bit and the printer works a treat. I have installed the Epson drivers from their site, including the plugins. I have edited /etc/sane.d/dll.conf to enable epson, epson2, and epsonds. I have edited each of the respective .conf files to include the network address of the device (IPV4: 192.168.128.11).   The scanner is not detected in any software that I have tried (including Image Scan and Simple Scan).  Any help is appreciated! Prove from first princibles $\frac{x^2-4}{x-4} \rightarrow -5$ as $x \rightarrow 3$ Cyclic Group Generators of Order $n$ How to launch a command on network connection/disconnection? Integral of $\frac{\sqrt{x^2+1}}{x}$ So I have to do the integration of $\frac{\sqrt{x^2+1}}{x}$. Give me a hint. What should I replace? Should I do it with integration by parts? Why is cd not a program? A new version of Ubuntu has been released. I still can't find it on ubuntu.com. Where can it be downloaded from, or is it the only way to install it using update-manager to upgrade an existing installation? Analogue for Maple's dchange - change of variables in differential expressions Geomagnetic reversal? I have always been told that the geomagnetic field acts "as if" there were a bar magnet inside the Earth. I now this is not true, but I feel that knowing what is actually going on would help me understand the answer to the question that I'm about to ask:  Why does geomagnetic reversal happen? Is it something gradual or relatively fast?  (What is the origin of the geomagnetic field? Can we answer my questions starting from this mechanism? Using dynamic where clauses in Entity Framework