An airport runway beside the sea

Dynamic Programming

Video lectures of MIT course 6-00Fall-2008 “Introduction to Computer Science and Programming” are available as part of open courseware. One of the topics is “Dynamic Programming” where the knapsack problem is discussed. The programming language used in the course is Python. I wish however that scala or haskell was used instead.

Google Maps: We cater to your delusions

In today’s news: While China continues to claim Arunachal Pradesh as its own, technology giant Google seems to have decided to take a line to please both Beijing and New Delhi. On the Google Maps site localised for users in China (http://ditu.google.cn), Arunachal Pradesh appears as part of China. On the site for users in … Read more

If you have to learn just one programming language

It is a very good idea to learn several programming languages. It makes you a better programmer. But if you want to devote all your energies to becoming a proficient and productive programmer and want to learn one powerful, freely available, high level general-purpose language (not domain specific), what would you choose?

Google Web Toolkit and Google App Engine: Java end to end

Now Google has come to the rescue by adding another language to the app engine — Java. Now you can have ‘java’ on the client and java on the server. The former is made possible by GWT (Google Web Toolkit) which takes the code you write in Java and translates it into separate targeted javascript code for the 5 of the most common browsers.

For your eyes only — unless you have a telescopic lens

You may encounter a plot like this in a bad spy novel. It goes something like this:

A top ranking anti-terrorism official enters 10 Downing Street clutching a folder containing a “For your eyes only” document. He briefs the Prime Minister — about an ongoing stakeout involving potential terrorists

Indian Elections: Power to the people — literally

Typically, at this time of the year, you will have to endure frequent power cuts. However, this summer in Bangalore, power cuts have been rare. It’s possible that the demand for electricity has gone down because of the slowing economy, but that does not explain it completely. The elections are round the corner: the incumbents … Read more

Eclipse of the Sun

I worked for many years at Sun and am sad to see that it is being gobbled up by IBM for under 7 billion. The writing was on the wall for many years and in a sense was inevitable. IBM will take the parts that make sense and discard the rest. This will be the … Read more

Incredible Union — Barack and Piyush

A few years back, say about the time when a certain Hussein was being hanged, who would have thought — or wagered — that another Husein would soon be giving USA’s State of the Union speech. Wait, there is more. Who could have imagined that a certain Piyush Jindal will be asked to give the … Read more