Need easy method to make SciPy available in my scripts
Using 3rd party Python modules
javascript not working, working on fiddle but not on my webserver Desperate to locate and re-read exceptional book/series, but cannot remember the title. The high concept: The U.S. has just sent the first successful expedition to Mars, and it has just landed. As the astronauts make their initial exploration outside their ship, a tear in the fabric of space opens up right in front of them, and they look through to the insides of a laboratory (at a California university?) and two students who just figured out how to create arbitrary portals between two points in the Universe. The rest of the novel/series is a consequence of this breakthrough. But I can't remember the author and title(s). Surely someone reading this forum will remember it well! TIA.  (Reposted .) Meaning of $\int \phi^\dagger \hat A \psi \:\mathrm dx$ While analysing a problem in quantum Mechanics, I realized that I don't fully understand the physical meanings of certain integrals. I have been interpreting:    $\int \phi^\dagger \hat A \psi \:\mathrm dx$  as "(square root of) probability that a particle with state $|\psi\rangle$ will collapse to a state $|\phi\rangle$ when one tries to observe the observable corresponding to $\hat A$" $\int \phi^\dagger  \psi \:\mathrm dx$ as "(square root of) probability that a particle with state $|\psi\rangle$ will collapse to a state $|\phi\rangle$".   All integrals are over all space here, and all $\phi$s and $\psi$s are normalized.  Now, I realize that  interpretation of the first integral doesn't really make sense when put side by side with the second one.   For example, when $|\phi\rangle$ is an eigenstate of $\hat A$, I get two different expressions for "the square root of probability that one will get the corresponding eigenvalue of $\psi$ when one tries to observe the observable corresponding to $\hat A$". As far as I can tell, $\int \phi^\dagger \hat A \psi \:\mathrm dx \neq\int \phi^\dagger  \psi \:\mathrm dx $, even if $|\phi\rangle$ is an eigenstate of $\hat A$. I am inclined to believe that the second integral is the correct answer here (it comes naturally when you split $|\psi\rangle$ into a linear combination of basis vectors). But I am at a loss as to the interpretation of the first integral.  So, my question is, what are the physical interpretations of $\int \phi^\dagger \hat A \psi \:\mathrm dx$ and $\int \phi^\dagger  \psi \:\mathrm dx$?  (While I am familiar with the bra-ket notation, I have not used it in this question as I don't want to confuse myself further. Feel free to use it in your answer, though) Build a basic Python iterator What are the pros and cons of engineered hardwood? Are there any downsides to engineered hardwood? I'm looking to install hardwood in dining room and kitchen areas. Asking users to accept answer when they comment that it answers their question 2D collision detection Let's assume I'm using this character.  (source: ) How would you implement collision detection for it? Using a bounding box doesn't seem to be a good approximation, because the bird's shape is nowhere near a square. I was thinking of having a sort of quad tree data structure inside the object that represents portions of the image. Each leaf could be either false (in case it covers the white/transparent space outside the bird) or true (in case it represents an area of the bird i.e. beak, eye etc). Then somehow test the only obstacle in the scene for collision with the bird. But my problems in my approach are:  I don't know how to initialize the quad tree. Once the quad tree is initialized, I'm not sure how to traverse &amp; use it once the obstacle is within the coordinates of the image.  How would you do collision detection with non-squarish characters? LE: The other approach I've seen was to use multiple bounding boxes. For example I'd have one or a few bounding boxes for the beak, then a few of them for the hair or the tail. But it can get tedious. If this is a valid approach in my case, how would I generate those bounding boxes? I doubt I'd have to have them hardcoded in my program. LE2: I care about fairly precise collisions. I can't imagine how a single bounding box or circle can at least approximate decently that shape, so this approach won't work. How do I retrieve an HTML element's actual width and height? Suppose that I have a &lt;div&gt; that I wish to center in the browser's display (viewport). To do so, I need to calculate the width and height of the &lt;div&gt; element.   What should I use? Please include information on browser compatibility. Derivative of an even function is odd and vice versa How to remove spikes from switching transistor? How do we know photons have spin 1? What tool can I use to manage the configuration of my Windows Server environments I help manage environments for an application that uses cloud-based Windows server VMs. The application stack consists of Windows Server 2008 and Windows Server 2012, SQL Server 2008, IIS, and SharePoint 2010. I have several environments Dev/Test/Stage/Prod. I am looking for a way to do configuration management of those environments to make sure any environmental changes are applied in a consisent way and there is a way to verify that no changes have been made to one environment that have not been made to other environments.  I have been reading up on Puppet, Chef, etc and I like the idea of doing delcarative configuration management. What is a good method or tool to use to help manage the configuration of these environments. I know a little  about SCCM but it is too expensive for this particular situation although I would still be interested in knowing if it has the capabiltiy to do those things. Inserting an image in plain TeX I used the OzTeX implementation of TeX, also I used to typeset my docs in plain TeX, not LaTeX for me, so I had no problem to insert an image using the OzTeX, now I'm back to TeX docs, am using the TeXWorks frontend, but I can't insert an .eps image file, it seems the \includegraphics macro its only for LaTeX, so I can't use it, any idea on how to insert an image when using plain TeX? Trisect a quadrilateral into a $9$-grid; the middle has $1/9$ the area Elizabeth's Brooch - follow-up question If a black body is a perfect absorber, why does it emit anything? I'm trying to start understanding quantum mechanics, and the first thing I've come across that needs to be understood are black bodies. But I've hit a roadblock at the very first paragraphs. :( According to :     A black body (also, blackbody) is an idealized physical body that absorbs all incident electromagnetic radiation, regardless of frequency or angle of incidence.   OK, that's nice. It's an object that absorbs (takes in itself and stores/annihilates forever) any electromagnetic radiation that happens to hit it. An object that always looks totally black, no matter under what light you view it. Good. But then it follows with:     A black body in thermal equilibrium (that is, at a constant temperature) emits electromagnetic radiation called black-body radiation.   Say what? Which part of "absorbs" does this go with? How can it absorb anything if it just spits it right back out, even if modified? That's not a black body, that's a pretty white body if you ask me. Or a colored one, depending on how it transforms the incoming waves.  What am I missing here? Regex for splitting a string using space when not surrounded by single or double quotes I'm new to regular expressions and would appreciate your help.  I'm trying to put together an expression that will split the example string using all spaces that are not surrounded by single or double quotes. My last attempt looks like this: (?!") and isn't quite working. It's splitting on the space before the quote.  Example input:   This is a string that "will be" highlighted when your 'regular expression' matches something.   Desired output:  This is a string that will be highlighted when your regular expression matches something.   Note that "will be" and 'regular expression' retain the space between the words. Proof by Induction: For any integer $n > 0$, $3|(5^{2n} − 1)$. What's wrong with this demonstration?:  $$A \iff 1 = 1^1$$ $$A \implies 1 = 1^\frac{2}{2}$$ $$A \implies 1 = (1^2)^\frac{1}{2}$$ $$A \implies 1 = ((-1)^2)^\frac{1}{2}$$ $$A \implies 1 = (-1)^\frac{2}{2}$$ $$A \implies 1 = (-1)^1 = -1$$  So finaly we get  $$1 = -1$$ I've noticed this a few times on the Feed activity on the Android app, but never thought anything of it.  Why does this question (How To auto enable checkbox?) appear as "Unanswered" when there is an icon which denotes there are 5 answers, one of which has been marked as the answer?  Dragging down to refresh doesn't seem to clear the unanswered flag either.  Device: Nexus 5