Thursday, October 16, 2008

Viewing PDF from within Firefox on Mac

I was searching for the firefox plugin to view pdf files within the browser (embedded). I was not able to find the anything useful via google search. But Yahoo! search got me the result, that too first one...

Here is the page

Hurray.. At last I can read PDFs within Firefox without downloading it on to my desktop. No more folder clutter..

Tuesday, October 7, 2008

How to setup grid using Erlang?

Erlang is a functional programming language with the built-in support for concurrency and distributed computing. Nodes running erlang virtual machine can communicate with each other without any additional coding.

Erlang use light weight process model to achieve the distributed computing. Erlang processes are lighter than linux thread. One erlang node can run more than 10k (sometime more than 100k) processes on a single node.

Erlang process is started using spawn or spawn_link function. A process can be started on the current vm (virtual machine) or on any other vm in the grid by just adding one additional parameter to these functions.

In order for 2 nodes to communicate with each other, both nodes should have the same cookie. In a grid, all erlang nodes should have the same secret (set via -setcookie command line option or using erlang:set_cookie/2 function)

Erlang nodes follow the following naming convention.

name@hostname where name can be any arbitrary name

In this example, I am assuming that I have 2 hosts namely and

Run the erlang vm on each node with short name


erl -sname foo -setcookie mysecret


erl -sname bar -setcookie mysecret

On, ping node2.


Wednesday, October 1, 2008

Why Microsoft just don't get it?

Today Microsoft's Live Search announced SearchPerks program. Users are given point when they use Live Search. These points can be re-deemed for X-Box games, t-shirts etc. But the catch is you have to use Internet Explorer 6.0 or higher.

To earn value for your searches and join the SearchPerks! promotion you must have Internet Explorer 6.0 or higher to participate

Microsoft just don't get that Internet is a open space and users should be allowed to use whatever browser they are using.

Book Promotion