A guide to running nodejs on Windows (almost)


nodejs doesnt work with windows.

So imo the best thing we can do if we want to join the community is run a virtual machine.

Here's how:

1) Install virtual box

http://www.virtualbox.org/wiki/Downloads

2) Get an unbuntu iso

http://www.ubuntu.com/GetUbuntu/download


3) Install the ubuntu iso. For detailed instructions visit

http://psychocats.net/ubuntu/virtualbox


3) Install vbox guest additions. For detailed instructions visit

http://helpdeskgeek.com/linux-tips/install-virtualbox-guest-additions-in-ubuntu/

4) Open a terminal on your ubuntu virtual machine.

5) Type in the following into your terminal to grab git and the build-essential packages

sudo apt-get install build-essential git-core

6) Type in the following into your terminal to grab node.js from git

git clone git://github.com/ry/node.git

7) Configure, make and install... type the following into your terminal:

./configure

make

make install

node.js is now installed on your machine.

Posted in Labels: | 6 comments | Post a comment

DOJO and the elusive GridTree

If you look in the current release of dojo you wont find a GridTree.

However, if you are willing to pull down the full dojo source code (including dojox and the utils etc) from the svn repository and apply the patch associated with ticket #7402, when you build the source, you'll find yourself the proud owner of an unsupported dojox.grid.TreeGrid.

It works well and if you look in the dojox grid tests directory you'll find the file test_tree_grid.html which is a good example of how to use it.

Posted in Labels: , , | 0 comments | Post a comment

The Physicist and the dairy farmer

A bunch of dairy farmers want to increase milk yield so they hire a physicist (who they are told understands all things and can model anything) who spends a year studying cows, their diet, yields, and slowly understanding everything there is to know about dairy farming.

After a year he gathers the farmers together to present his findings and starts his lecture by drawing a circle on a blackboard and saying "Imagine a perfectly spherical cow..."

Posted in Labels: | 0 comments | Post a comment