I am trying to install Yeoman in my machine but i am getting the error  node outdated,when i checked my versions i got this.   node --version &amp;&amp; npm --version  v0.10.37 1.4.28   if my versions are ok then why i am getting these error.Whats the cause for this.      Running sanity checks on your system  ✔ No .bowerrc file in home directory ✔ Global configuration file is valid ✔ NODE_PATH matches the npm root ✖ Node.js version  List item  Your Node.js version is outdated. Upgrade to the latest version: https://nodejs.org  ✔ No .yo-rc.json file in home directory ✖ npm version  Your npm version is outdated.  Upgrade to the latest version by running: npm install -g npm   Found potential issues on your machine :( npm WARN unmet dependency /usr/lib/node_modules/npm/node_modules/npm-package-arg requires semver@'4' but will load npm WARN unmet dependency /usr/lib/node_modules/npm/node_modules/semver, npm WARN unmet dependency which is version 2.3.0 npm WARN unmet dependency /usr/lib/node_modules/npm/node_modules/rimraf/node_modules/glob requires inflight@'^1.0.4' but will load npm WARN unmet dependency /usr/lib/node_modules/npm/node_modules/inflight, npm WARN unmet dependency which is version 1.0.1 npm WARN unmet dependency /usr/lib/node_modules/npm/node_modules/rimraf/node_modules/glob requires minimatch@'^2.0.1' but will load npm WARN unmet dependency /usr/lib/node_modules/npm/node_modules/minimatch, npm WARN unmet dependency which is version 1.0.0 npm WARN unmet dependency /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/glob requires inflight@'^1.0.4' but will load npm WARN unmet dependency /usr/lib/node_modules/npm/node_modules/inflight, npm WARN unmet dependency which is version 1.0.1
I have installed nodeJS on Ubuntu with following code   sudo apt-get install nodejs   Since I am a new user for ubuntu I also ran this code too  sudo apt-get install npm   Now when I type    nodejs --version   It shows   v0.6.19   I checked and saw latest nodeJS version is 0.10.26   How can I update my version of nodeJS to 0.10.26?  I tried with    sudo apt-get install &lt;packagename&gt;  sudo apt-get install --only-upgrade &lt;packagename&gt;   but no luck.
Are there any best practices for choosing the title of web pages? There are a lot of resources online oriented toward SEO, but not toward users.  My impression is that most sites have something similar to Product - Page. But there are cases when switching this around is more useful. For example, if mail clients displayed the title like this:  Inbox (3) - Gmail  Instead of:  Gmail - Inbox (3)  You would be able to see the message count, even if the title was cut off. (I'm pretty sure Gmail used to do this).  I assume the title is mostly ignored by users except when:   using boorkmarks finding the right tab in the browser   What are the considerations for users when choosing a web page title? Are there different considerations for the home page, pages behind a login, etc? Updating global js variable within function and sending updated to HTML document Suppose a cleric casts Zone of Truth on a captured enemy. Unbeknownst to them, the enemy is a rakshasa. Zone of Truth says (PHB, p. 289):     You know whether each creature succeeds or fails on its saving throw.   But (MM, p. 257):     The rakshasa is immune to spells of 6th level or lower unless it wishes to be affected.   Assuming the rakshasa doesn't wish to be affected by the Zone of Truth spell, does the caster know this?  More generally, does a caster know when targets are unaffected by a spell they have cast, either because they have made saving throws, or because they are outright immune to the spell or its effects (e.g., casting Ray of Sickness on a shadow demon, which is immune to poison damage and the poisoned condition)? Proof that for $a,b,c\in \mathbb{R}$, hold that $\left |\sqrt {a^2+b^2}-\sqrt {a^2+c^2} \right |\leq \left |b-c \right |$. Proof that for $a,b,c\in \mathbb{R}$, hold that $\left |\sqrt {a^2+b^2}-\sqrt {a^2+c^2}  \right |\leq \left |b-c  \right |$. Give me a clue, I don't have any idea to work with that inequality. Journal vs conference publications when looking for a job in in computer science I'm currently a post doc in theoretical computer science and I have a double digit number of conference publications, about half of which are at so called "tier 1" conferences (SODA,STOC,...). Unfortunately I only have 1 journal publication so far, mainly due to coauthors dragging their feet.   Will the lack of journal publications have a great impact when applying for a faculty job in cs-theory at some point, and is it advisable to try to up this number before applying? Or is this fully compensated by having sufficiently many conference papers? In many scientific papers, the article before the word "Equation" is omitted. Is there any grammar statement behind this? For instance:     "Equation (8) contains various approximations, and we have to check their consistency." With services like Google Finance or Yahoo Finance it is very convenient to find the historical stock price metric of a listed company, but if the company is not listed, I can't find the data.  For example, I want to see the price metrics for Macromedia, which had been listed in 1993 on NASDAQ (MACR), then acquired by Adobe in 2005. How could I find its historical price metrics? The nose of Tom Riddle (as a student) was fine, as I have seen in the movies. But, Voldemort's nose doesn't look like a normal human nose. What really happened? Excel "if-then" formula IF(B4-40&lt;0,0,(B4-40))   Above is my formula to show only positive numbers above 40 in the given cell. If my hours are, let's say, 35, I do not want a value of -5; I want the cell value to be 0. Why is this not working? I've been trying to photograph lightning lately, as we have had some great storms in Colorado. I've had some difficulty getting a good vantage point, however, as almost all of these storms include rain as well. To keep my camera from getting drenched (I have weather-sealed lenses, but my camera body, a Canon 450D, is not weather sealed as far as I can tell), I've had to shoot under the eve of a building or under a thick canopy of trees, however that has greatly limited my ability to adapt to the changing weather and get get a vantage point on the best lightning.  Is there any equipment, something I can purchase or something home-made that has easy-to-find parts, that can help me protect my lens from the rain while still being able to shoot? Additionally, I've been getting rain on a UV filter I have on the front of my lenses, simply to prevent rain from getting on the front lens element itself. However, once a storm really gets going, so does the rain. Is there a simple solution to keep rain off the front of the lens? Primary question: A common speaking mistake is to exchange syllables of words, saying "It's trace rhyme!" instead of saying "It's race time!", or pronouncing "kickin' chackatory" instead of "chicken cacciatore." Is there an existing name in poetry, linguistics, or English studies for switching syllables of (quasi-)consecutive words? I am not especially interested in the case when switching syllables results in interpretable homonyms or portmanteaus, like in the first example.  Secondary question: if not, what would you call it?  Tertiary question: is there somewhere a (playful?) taxonomy of fruitful or unfruitful lingual aberrations? ASP.NET Call Code Behind Function From Javascript Can I use my Schengen visa for multiple purposes I was issued a Schengen visa for 90 days validity with multiple entry. Initially I planned for tourism to France and Switzerland and accordingly I have written the purpose as tourism only and I will be travelling as well for a week and coming back to India. First I am using for tourism for one week and travelling back to India.  Now, I also need to travel again to Schengen area to the same countries for business purpose for one week again. Can I use the same visa or do I need to get a new one? How to prove a cross is not locally homeomorphic to an euclidean space? Consider the subset $X = \{(x, 0) \mid -1 \lt x \lt 1\} \cup \{(0, y) \mid -1 \lt y \lt 1\} \subset \Bbb R^2$. It's just two open segments intersecting at $(0, 0)$.  How do you show that $X$, equipped with the subspace topology of $(\Bbb R^2, \lvert \lvert \cdot \rvert \rvert_2)$, is not locally homeomorphic to an euclidean space because of the point $(0, 0)$ ? Related:   I have put a bit of commentary enumerating my confusions in parentheses  I read in Black Holes and Time Warps (Kip Thorne), that quasars can generate their jets from four different processes. These all involved the accretion disk, but there was one which doesn't make quite as much sense. It was called the Blandford-Znajek process, and it involved magnetic field lines carrying current.  The process was visualized in two ways. A black hole, with magnetic field lines, is spinning. In the first visualisation (viewpoint actually), the magnetic field lines 'spin' along with the black hole, and nearby plasma is anchored onto the field lines by electrical forces (where did the electrical fields come from?). The plasma can slide along the field lines but not across them (why?).  Since the field lines are spinning, centrifugal forces will fling them up and down the field lines, forming jets.  The other viewpoint is this, and it makes even less sense (to me that is, I haven't had a formal education in GR): The magnetic fields and the swirl of space generate a voltage difference across the field lines (Why? How?). The voltage carries current across the magnetic field lines (why are the field lines behaving like wires?). This current travels across plasma, which accelerates it, creating the jets.  Now the main thing that doesn't make sense, is that magnetic field lines are behaving like wires. Why would they? I suspect the answer lies hidden somewhere in the equivalence of EM waves in different frames, but I can't think up any convincing argument from that side.  If the answer involves GR equations, you don't need to solve it here (wouldn't make sense to me), but if you have to, just refer to the equation and what you did to it, along with the final result. Thanks! modulo version of the quadratic formula and Euler's criterion Storing two kinds of point geometry in shapefile or creating multipoint shapefiles? Following , can I have a mixture of two kinds of geometry in a shapefile of type point. Just like I have about shapefiles of type polygon or I should always create a shapefile of type multipoint in order to support multipoints in my layer?    My problem is as you see at , I can't use ogrinfo in order to understand that the geometry type of a multipoint shapefile will be known as wkbMultipoint or wkbPointwhen I use this line of code:    OGRwkbGeometryType GeometryType = poLayer -&gt;GetGeomType();     for a layer of type multipoint before programming.     Will OGR know a layer of type multipoint as wkbpoint or wkbmultipoint?   When we create a shapefile in ArcCatalog, we have point and multipoint, but not multipolyline or multipolygon for polyline and polygon.Why? Is it possible to create an instance of a generic type in Java? I'm thinking based on what I've seen that the answer is no (due to type erasure), but I'd be interested if anyone can see something I'm missing:  class SomeContainer&lt;E&gt; {     E createContents()     {         return what???     } }   EDIT: It turns out that  could be used to resolve my issue, but it requires a lot of reflection-based code, as some of the answers below have indicated.  I'll leave this open for a little while to see if anyone comes up with anything dramatically different than Ian Robertson's . I've grown quite fond of HTTP reverse proxies in our development environment and found the DNS based virtual host reverse proxy quite useful. Having only one port (and the standard one) open on the firewall makes it much easier for management.  I'd like to find something similar to do SSH connections but haven't had much luck. I'd prefer not to simply use SSH tunneling since that requires opening port ranges other than the standard. Is there anything out there that can do this?  Could HAProxy do this? Core Data - Storing Images (iPhone)