What does the expression (i,j) in c signifies?
What does the comma operator , do?
Is there a NumPy function to return the first index of something in an array? I know there is a method for a Python list to return the first index of something:  &gt;&gt;&gt; l = [1, 2, 3] &gt;&gt;&gt; l.index(2) 1   Is there something like that for NumPy arrays? How would you represent "religion" in an icon, neutrally? I'm trying to identify a book I read in school, though I can't recall at what grade level; let's say it had to have been published before I graduated high school in 2000. Despite being required reading, it didn't feel much like a classic.  The story took place on Earth, after some catastrophe had caused the air to become poisonous. However, one teenage girl was able to survive because her house was in a valley which was somehow protected from the poisonous winds and was able to sustain its own ecosystem. One day, a man wearing a protective full-body suit and gas mask appears in the valley, and both are rather surprised to find someone else alive. She feeds and shelters the man and shows him how she had come to survive in the valley. Rather abruptly…      the man attempts to rape her, but she overpowers him somehow. She steals his protective suit and starts to leave the valley. He tells her that he had seen birds in a certain direction away from the valley, indicating there might be life there as well, and she leaves.   I believe there was an author's note either at the beginning or end of the book stating that the author had actually died while writing the manuscript, and that their friends or family had finished the book by going off the author's original notes, which I suppose may explain the abruptness of the ending.  In case it wasn't clear from the above, I didn't really like the book. But I'm curious about it regardless. Prove that $\mathbb{Z}$ is not isomorphic to additive group of any vector space over any field.  Proof.  Surpose that: $\phi : (A, +) \rightarrow  \mathbb{Z} $ is an isomorphism. Then there is some $r∈A $ such that $ϕ(r)=1_\mathbb{Z}$. We have $$ 1_\mathbb{Z}=ϕ(r)=ϕ(2(r/2))=2ϕ(r/2)$$  or equivalently that $ϕ(r/2)=\frac{1}{2}$. But this is not in $ \mathbb{Z}$, so there can be no such morphism.  Is my proof above correct? Thanks Inductive proof that ${2n\choose n}=\sum{n\choose i}^2.$ I would like to prove inductively that $${2n\choose n}=\sum_{i=0}^n{n\choose i}^2.$$  I know a couple of non-inductive proofs, but I can't do it this way. The inductive step eludes me. I tried naively things like $${2n+2\choose n+1}={2n+2\over n+1}{2n+1\choose n}=2\cdot {2n+1\over n+1}{2n\choose n},$$  But I don't think it can lead me anywhere. I would like the proof to be as simple as possible. How can I use 3rd party libraries on QGIS plugins on Windows?   I've developed a plugin that uses rasterio and numpy for a customer, but he's having problems installing rasterio and numpy.  Actually rasterio and numpy were installed in it's main system Python (C:\Python27), but I need QGIS Python to recognize it. Why does everyone do 9-overlord, not 10-overlord? What is the advantage on saving the money for the overlord when you have 9 drones, and not filling your supply first and then getting the overlord?  In my theory, in the first case you get to wait the saving time with 9 drones, and get to wait almost the same time with 10 drones in the second case. Second case should be better, since 10 drones mine faster than 9? So why does everybody go with the first case?  All this is assuming you go 12 pool or something like that, where you will get more drones after the overlord. 6- and 8-pools are obviously different. How do I recover or "undelete" files that I accidentally deleted? I've accidentally deleted some really important files on my machine, and I'm looking to find out how to recover them.  Using the Trash bins "restore" isn't an option, as the files aren't there (mostly likely I wasn't paying attention and permanently deleted them from there).  Is there any way that I can un-delete these files? How to use more than 10 tab stops in bmatrix or other amsmath matrix environments? I'm using bmatrix environment from the amsmath package, and I'm trying to do something like this:  \documentclass{article} \usepackage{amsmath}   \begin{document}      \begin{equation}          \begin{bmatrix}              1 &amp; 2 &amp; 3 &amp; 4 &amp; 5 &amp; 6 &amp; 7 &amp; 8 &amp; 9 &amp; 10 &amp; 11\\          \end{bmatrix}     \end{equation}  \end{document}   However, pdfLaTeX returns an error: "Extra alignment tab has been changed to \cr", and in the output the extra element is moved to the next row. (If I remove one element, then it works perfectly fine). I guess this means that I've hit some hard limit on the number of tab stops in a matrix. Is there a way to change this?  The elements in the matrix are short and could fit perfectly on a single row. What's the difference between "cardinal" and "ordinal" as adjectives? Implementing the decorator pattern in Python Explicit vs implicit SQL joins Is there any efficiency difference in an explicit vs implicit inner join? For example:  SELECT * FROM table a INNER JOIN table b ON a.id = b.id;   vs.  SELECT a.*, b.* FROM table a, table b WHERE a.id = b.id; Diacritics and non-English letters in anglicized loan words: keep 'em, dump 'em, italicize the words, or what? AppleScript to read all notifications in the Notification Center OSX 10.10 Yosemite It seems like the following AppleScript is no longer working in the latest version of the OS X 10.10 (Yosemite): on run     tell application &quot;System Events&quot;         tell process &quot;Notification Center&quot;             set theseWindows to every window             display notification (count of theseWindows)         end tell     end tell end run  This were supposed to get all notifications listed in the Notification Center. However, the count attribute always returns 0. Does anyone know how to retrieve all notifications in the Notification Center different than the script above? How to split bibliography into "works cited" and "works not cited"? I need two bib-like sections: a "References" giving works explicitly cited in my text, and a "Bibliography" (or "Further reading" if you prefer) giving everything from my bibfile that didn't already appear in "References". The first is of course completely standard, but the second... I'm stumped.  Further loose constraints: I'm somewhat committed to biblatex and the biblatex-apa style. But I'll happily accept an answer not related to them if there's any chance I can adapt it. In-universe explanation for single line of planetary entry/departure in Star Wars Is stats maths or not?   Given that it's all numbers, mostly taught by maths departments and you get maths credits for it, I wonder whether people just mean it half-jokingly when they say it, like saying it's a minor part of maths, or just applied maths.   I wonder if something like statistics, where you can't build everything on basic axioms can be considered maths. For example, the $p$-value, which is a concept that arose to make sense of data, but it's not a logical consequence of more basic principles. Diff is a great tool to display the changes between two files. But how to display the similarities of two text files (while ignoring the differences)?  I.e. sample input:  a: Foo Bar X Hello World 42  b: Foo Baz Hello World 23   Pseudo output (something like this):  @@ 2,3 =Hello World   Just sorting both files and using comm is not enough, because in that case the line information is lost. Variance of a linear combination of vectors Let $A$ and $B$ be two constant matrices and let $x$ and $ y$ be two random vectors, what is the general formula for $Var(Ax+By)$? I know the formula for when $x$ and $y$ are scalar random variables and $A$ and $B$ are constants, but what about the matrix case? Python Argument Binders How can I bind arguments to a Python method to store a nullary functor for later invocation?  Similar to C++'s boost::bind.  For example:  def add(x, y):     return x + y  add_5 = magic_function(add, 5) assert add_5(3) == 8