I am running Ubuntu 12.04, which came with Cmake v 2.8.7.  I had need for a more current CMake, so I downloaded the source for 12.8.12.1, built, and installed it per directions.  The last step, make install I ran sudoed.  ./bootstrap make sudo make install   Now I want to run it, but I find that the old version is still invoked when I execute cmake from the command line:  jdibling@hurricane:/$ cd /; cmake --version; which cmake cmake version 2.8.7 /usr/local/bin/cmake jdibling@hurricane:/$    Odd, I think.  So I su and try it from there:  root@hurricane:~# cd /; cmake --version; which cmake cmake version 2.8.12.1 /usr/local/bin/cmake root@hurricane:/#    Why does which report the same directory, but cmake --version reports different versions?  How can I find where the new cmake was actually installed?  As suggested, I ran type:  jdibling@hurricane:/tmp/cmake-2.8.12.1$ type cmake cmake is hashed (/usr/bin/cmake) jdibling@hurricane:/tmp/cmake-2.8.12.1$ sudo su - root@hurricane:~# type cmake cmake is /usr/local/bin/cmake root@hurricane:~#
When looking for the path to an executable or checking what would happen if you enter a command name in a Unix shell, there's a plethora of different utilities (which, type, command, whence, where, whereis, whatis, hash, etc).  We often hear that which should be avoided. Why? What should we use instead?
Proof that the largest eigenvalue of a stochastic matrix is $1$ The largest eigenvalue of a  (i.e. a matrix whose entries are positive and whose rows add up to $1$) is $1$.  Wikipedia marks this as a special case of the , but I wonder if there is a simpler (more direct) way to demonstrate this result. How to get second last page as a number without hyperref? Area51 proposals are being advertised now all over the network? While happily browsing  I suddenly noticed this:        Curious, I clicked and landed . Appears to be ordinary Area51 proposal, one out of hundreds.  Do all proposals get such ad at some point? What is the criteria? Any way to ask for such ad? I am given the information that $ \vec{u} = \langle 1, 1/2 \rangle$ and $\vec{v} = \langle 2,3 \rangle$.   There are a few pieces I am asked to find, and these are the one I am having trouble with:   $\left\Vert \large \frac{\vec{u}}{|| \vec{u}||}\right\Vert$  The magnitude of vector u is $ \sqrt{5}/2$, of which I correctly calculated; the unit vector is then $ \langle \large \frac{2 \sqrt{5}}{5}, \frac{ \sqrt{5}}{5} \rangle$. However, when I go to find the magnitude of the unit vector, I get $ \sqrt \frac{3}{5}$, which is clearly not one. What did I do wrong? With Unix script, I'd like to add values in column 1 if text in column 2 is the same and print the sum.  I have a file that is:    7 GeneA 2 GeneB 6 GeneC 2 GeneB 9 GeneA   I want the output to look like:   16 GeneA 4  GeneB 6  GeneC   Thanks When do I have to use 'will' instead of 'going to'? Does going to only express an intention and will some kind of prediction that doesn't necessarily happen?  EDIT: Thanks for all your answers. I asked this question because I always fail to complete exercises like this from an ESL book:   We  will fly to Venice in June. (Correct: But, how can I be sure that I'm not sick in June?) Philipp will be 15 next Wednesday (Correct: Since his birthday is a fixed day, this will happen). They will get a new computer. (Wrong: Why?, If I need a new computer, I simply get a new one) In 2020 people are going to buy more hybrid cars.  (Wrong, Why? Who can tell for sure). I have a hard time formulating proofs.  For this problem, I  can see that if $n$ is equal to $8,$ this statement is true.  $(\mathbb{Z}/8\mathbb{Z})^{\times}$ includes elements:  $1,3,5,7$, and all of these are roots of $1-x^2 \pmod 8.$  And obviously $8$ divides $24.$  But how do I prove this without depending on number calculations and only using theorems?  Help Please?  I need a step by step walk through of how to do this proof and what theorems would be appropriate to use. "Give him a box that everyone knows what it contains."  Is this correct English? It sounds wrong to me. Windows 7's PATH and environment variables are corrupted Rendering 2D sprites in a 3D world? I need to delete some rows from one large table. The rows to delete shouldn't be in another table, example:  DELETE FROM LargeTable WHERE id IS NOT IN (SELECT DISTINCT foreign_id from EvenLargerTable)  but my server can't handle such blunt query, because there are almost a million records in the LargeTable and few million records in the EvenLargerTable  How can I solve it? Annoying lines ruining the image I was planning to do a 1920x1080 wallpaper from my favourite musician's cover. Everything was going good so far until I used correction brush which totally ruined my whole work. There are pixelated lines (how do I call these?!) everywhere! They're everywhere, it's very visible when zooming. Using Content-Aware Fill did nothing about it. I beg for help. Sorry if I did something wrong writing this post, i'm a beginner. Why can't I buy the Windhelm house (Hjerim)? Is there any way to tinker with the iPhone SDK on a Windows machine? Are there plans for an iPhone SDK version for Windows?  The only other way I can think of doing this is to run a Mac VM image on a VMWare server running on Windows, although I'm not too sure how legal this is. This  gives this comparison chart for the four Windows 8 Editions (Core is usually just called Windows 8). I notice specifically, about half-way down, the max physical processors is listed as 1 for "Core" and 2 for all other.  In the second image i see physical processors listed as 8 in a Windows 8 Task Manager.  My question is, what is the limit then? Can anyone verify the article or the screenshot?  Was this a mock-up? Another Edition? (Server perhaps?)      To clarify, i am looking for links to official microsoft.com articles detailing these specifications.  I have been unable to find any. The error message is :the grub-efi-amd64-signed package failed to install into /target/. Without the GRUB bootloader the system will not boot  I'm trying to install on HP pavilion g6-2303 TX using USB.  How do I fix this problem? The $ l^{\infty} $-norm is equal to the limit of the $ l^{p} $-norms. I'm from Central Pennsylvania, and apparently, we have a strange language construct in this area. I was recently talking about how "my car needs washed" to a friend from NJ, and she told me that my sentence was grammatically incorrect.   I realize she's right, and I realize my options are "my car needs to be washed" or "my car needs washing". But I'm not clear on the precise rule being invoked. Query works in SQL Server 2005 but syntax error for SQL Server 2000 Does anyone know a proof from the first principles that a nilpotent matrix has zero trace. No eigenvalues, no characteristic polynomials, just definition and basic facts about bases and matrices.