We know that Harry didn't have to destroy the Horcruxes himself:     "Ron - ?"   The sword flashed, plunged: Harry threw himself out of the way, there was a clang of metal and a long, drawn-out scream. Harry whirled around, slipping in the snow, wand held ready to defend himself: but there was nothing to fight.   -Harry Potter and the Deathly Hallows, Chapter 19 ("The Silver Doe"), by J.K. Rowling   So why didn't Dumbledore tell any of the Order about the Horcruxes? Did he think it would be too dangerous? Did he not trust them?
Why didn't the Order of the Phoenix assist with the trio (i.e.  Harry Potter, Ron Weasley and Hermione Granger) in the Horcrux hunt?
Alright, I think we all agree that what happens with the following code is undefined, depending on what is passed,  void deleteForMe(int* pointer) {      delete[] pointer; }   The pointer could be all sorts of different things, and so performing an unconditional delete[] on it is undefined. However, let's assume that we are indeed passing an array pointer,  int main() {      int* arr = new int[5];      deleteForMe(arr);      return 0; }   My question is, in this case where the pointer is an array, who is it that knows this? I mean, from the language/compiler's point of view, it has no idea whether or not arr is an array pointer versus a pointer to a single int. Heck, it doesn't even know whether arr was dynamically created. Yet, if I do the following instead,  int main() {      int* num = new int(1);      deleteForMe(num);      return 0; }   The OS is smart enough to only delete one int and not go on some type of 'killing spree' by deleting the rest of the memory beyond that point (contrast that with strlen and a non-\0-terminated string -- it will keep going until it hits 0).  So whose job is it to remember these things? Does the OS keep some type of record in the background? (I mean, I realise that I started this post by saying that what happens is undefined, but the fact is, the 'killing spree' scenario doesn't happen, so therefore in the practical world someone is remembering.) Many To Many Relationships Is the "the ... the ..." construction governed by some grammatical rule? Why does jQuery or a DOM method such as getElementById not find the element? How do you use a variable in a regular expression? I would like to create a String.replaceAll() method in JavaScript and I'm thinking that using a regex would be most terse way to do it.  However, I can't figure out how to pass a variable in to a regex.  I can do this already which will replace all the instances of "B" with "A".  "ABABAB".replace(/B/g, "A");   But I want to do something like this:  String.prototype.replaceAll = function(replaceThis, withThis) {     this.replace(/replaceThis/g, withThis); };   But obviously this will only replace the text "replaceThis"...so how do I pass this variable in to my regex string? If $l$ and $n$ are any positive integers, is there a  proof of the identity     $$\sum_{k=0}^{n}(-1)^{k}\binom{n}{k}(l-k)^n=n!\;$$   which uses the Inclusion-Exclusion Principle?  (If necessary, restrict to the case where $l\ge n$.)    This question is closely related to   and also Traditional statistical tests, like the two sample t-test, focus on trying to eliminate the hypothesis that there is no difference between a function of two independent samples. Then, we choose a confidence level and say that if the difference of means is beyond the 95% level, we can reject the null hypothesis. If not, we "can't reject the null hypothesis". This seems to imply that we can't accept it either. Does it mean we're not sure if the null hypothesis is true?   Now, I want to design a test where my hypothesis is that a function of two samples is the same (which is the opposite of traditional statistics tests where the hypothesis is that the two samples are different). So, my null hypothesis becomes that the two samples are different. How should I design such a test? Will it be as simple as saying that if the p-value is lesser than 5% we can accept the hypothesis that there is no significant difference? Is there a way to rename (or do away with the name of) the bibliography page that is output using BibTeX?  If so, is the name dependent on the bibliographystyle, or is it something inherent within the BibTeX functionality? Will higher temperatures damage a computer over time, even when not reaching the maximum temperature? For example, if the maximum is 105 degrees celcius, will the computer break faster when continually having it on 80 degrees celsius instead of, for example, 60 degrees celcius. Asymptotic of a sum involving binomial coefficients Properties of $x_k=\frac{a_{k+1}-a_{k}}{a_{k+1}}$ where $\{a_n\}$ is unbounded, strictly increasing sequence of positive reals Most efficient way to randomly "sort" (Shuffle) a list of integers in C# table of contents no word separation Is it possible to have in the toc no word separation but have a word separation in the chaptername:  For example:   Contents  1. max Mustermann   Chapter  Max Muster- mann The mediation package in R returns results in which:   Average Direct Effect (ADE) (the unmediated effect) is not statistically significant The Average Causal Mediated Effect (ACME) (the effect of the mediator alone) is positive and statistically significant The Total Effect (ADE+ACME) is larger than the ADE and ACME alone, positive and statistically significant   Does this indicate that the variable being mediated can only act through the mediator DV? I'm not quite certain as to how this would be interpreted.  Thank you for any help. How to get the newest file in a directory in php Is the phrase "it's just a matter of semantics" meaningless? I hear this phrase from time to time, and I really don't know what it means.  Two people are debating, and one says "the difference between your position and mine is just a matter of semantics."   This would seem to me to be quite an important difference.  That is, if one person means one thing, and the other person means something else, then they really do have different positions.  If they said "it is just a matter of terminology" or "just a matter of phrasing" I would get it.  But if someone says "we differ only what we mean" ... it kinda makes me chuckle because it seems to be saying that their meaning is not important, as if the argument was primary and the positions they take a secondary consideration.  So I started looking around for examples of this. I guess it seems that there is a popular notion that semantics is about very fine distinctions, such as:   Another interpretation seems to be that semantics is the difference between two ways of saying the same thing:   Maybe it is just a way of stopping an annoying conversation:   And then there is some usage that I simply don't understand:    And also:   Still, to me it is just a meaningless phrase.  Am I missing an important meaning here? How do I get started working with JSON in Apex? Can there be more than one power series expansion for a function. I guess the answer is NO, for polynomials.  I know that there are more than one series expansion for every function.  But I am talking about power series here.  All Ideas are appreciated Escaping quotes in zsh alias Following on from  about stripping newlines out of text, I want to turn this into a zsh alias as follows:  alias striplines=' awk " /^$/ {print \"\n\"; } /./ {printf( \" %s \",$0);}"'   I've tried escaping the quotes inside the awk script, but I'm getting this error:  awk: (FILENAME=bspsrobustness FNR=1) fatal: division by zero attempted   (The file is called bspsrobustness)  Is there a way to do what I want? I suppose I could turn this into an awk script rather than a zsh alias, is that my best option? This questions has already been asked a million times, but nothing solved my issue so far.  Situation   I'm using Blender 2.72b.  I'm not using nodes, just the plain old vanilla settings. But apparently I messed them up somehow. I'm using the Mirror modifier. I'm completely new to blender (and 3D modelling in general) and use it for a couple of days now. I deleted the cube and made this model from scratch (no import).   In texture view everything looks fine:   In material view (and after rendering) everything is black:   Attempts to solve   I have a light source. I have a camera. I have no ceiling. I have a material. I have a texture. Shadows are activated. I tried using nodes and my output was well connected - no change, still black, so I stopped using nodes again (I had no idea what I was doing anyway). I checked out many solutions posted on the web.   As my last attempt, I opened the vanilla start-up file again. Everything works fine with the cube. So I compared the material und texture settings step by step. It all seems the same. This topic is so extraordinary complex and I'm so bloody inexperienced that I'm stuck at this point.