Wednesday, May 25, 2011

[developerWorks] HTML5 fundamentals, Part 1

"HTML5 reflects the monumental changes in the way you now do business on the web and in the cloud. This article is the first in a four-part series designed to spotlight changes in HTML5, beginning with the new tags and page organization and providing high-level information on web page design, the creation of forms, the use and value of the APIs, and the creative possibilities that Canvas provides." more>>
The first in a multipart series, so you might want to bookmark this link. This particular instalment talks about some of the new tags that replace the heavily overused div tag. Looking forward to part 2.



Tuesday, May 24, 2011

Run multiple Node.js instances in one machine

If you want to run multiple versions of node.js in the same machine, for testing and/or dev work, try nvm. The steps to get up and running are simple.

  • git clone git://github.com/creationix/nvm.git ~/.nvm [Clones nvm from the git repo]
  • . ~/.nvm/nvm.sh [Activates nvm]
  • nvm install [ie: "nvm install v0.4.1"]

Once you have several node versions running, there are a few handy commands to keep track of them.

  • nvm ls [Lists node.js versions installed in your machine]
  • nvm use [ie: "nvm use v0.4.1"]
  • nvm deactivate [Deactivates nvm if you don't need it]

Thank you Cliff for the find :)

Thursday, May 12, 2011

It's been a while ...

... since I wrote something here. Quite a few things happened since my last post, that kept me away from writing. First, I sat for my final MBA semester exam last October (phew.. and got through with a ... wait for it ... 'Merit'). Immediately after that, I decided to migrate down under (that's Australia, in case you wonder).

So I resigned from my duties as Technical Lead & Product Manager @WSO2 and, by the end of last November, arrived in Melbourne. A new country, meeting new people, making new friends and ... after a few months' vacation enjoying the Melbourne summer, accepted an offer from Shine Technologies in March.

That's a quick 411 of things that kept me away from writing from the last post till now. What's keeping me busy these days are (a lot of) Node.js and Express along with good old CouchDB. All very RESTy and awesome.

Now... if only I can get back into the habit of writing actual posts instead of tweeting links from my phone......

UPDATE: Blogger decided to die the very day I posted this and forgot to restore a few comments added to the post. Just saying... that it wasn't me. If you wanna do a driveby target blogger.. aight?