Entries from June 2008

June 20, 2008

Cutting glass with knapsacks

Suppose you are a thief and you stealthily enter a house carrying only a backpack. The residents astonishingly only have five objects in the house (as shown below). How do you maximize your profits so that everything you take fits in your backpack? If you can answer this question, then you have solved the knapsack [...]

June 14, 2008

Quickstart to Creating Firefox Extensions

It’s not very easy to start writing an extension in Firefox. There’s a bunch of configuration to do. It usually takes a while to even make your extension display an alert box. So, I have outlined in brief the steps to get a basic working skeleton of a Firefox extension. And then, you can work [...]

June 11, 2008

Twitsms

A friend of mine, Derrick, told me about a small problem he had with Twitter. He gets hundreds of SMSs a day if he turns on SMS for twitter. But actually, he only wants replies that are directed to him on his phone. Unfortunately, Twitter does not allow SMS only for replies.
So, while trying out [...]