2008-12-14
"You Can Leave Any Feedback You Want..."
2008-10-16
EOF on the DDJ Subscription
2008-10-13
Indian Edition of the Purple Dragon Book
2008-08-19
Investment Basics for Indians
2008-07-17
ICFPC 2008
2008-07-02
Major Programming Contests This Month
There was also an article in DDJ about programming contests a couple of months back. It is an interesting read, but there is nothing new in there for those who are already familiar with TopCoder.
2008-06-15
Firefox 3
Firefox 3 comes with quite a lot of fixes and improvements. The "Field Guide to Firefox 3" is a nice page summarising the more important improvements. It seems to have improved a lot in terms of memory usage and speed. You just have to use Gmail to see the difference in speed for yourself. Since I never open too many tabs, use too many extensions or keep the browser open for too long, I have never personally run into memory-usage issues with previous releases of Firefox and I can't really say if the improvements in this area are that drastic.
One of the more important fixes for Indian users of Firefox on Linux is its improved support for complex text layout, which is used in quite a few Indic scripts. I have complained about it before and I am happy to report that it now seems to work fairly well:
The composite screen-shot above shows the difference between Firefox 2 and Firefox 3 when rendering Devanagari text (from Josh18) under Linux. I have circled some of the words that were rendered incorrectly by Firefox 2 and correctly by Firefox 3. (Click on the image above to see a larger version.)
It has not been all wonderful though. There are still some issues that make my experience with Firefox 3 less than ideal. The most egregious of these is how some web pages using Flash either cause Firefox 3 to freeze up or just crash with a segmentation fault (of course, this could be due to a badly-written Flash Player plug-in). The other issue that has persisted from Firefox 2 but now seems to have become worse for me is how Firefox would just freeze for a second or so every now and then, especially noticeable while scrolling up and down large web pages. This might be related to garbage-collection cycles, but I am not sure about it.
Incidentally while Firefox 3 itself mercifully does not require GNOME (I am a happy KDE-only user), its new crash-reporting tool does need a few of the GNOME libraries. This tool is now based on Google Breakpad. I found that the crash reporting tool itself would crash while trying to send a crash report to Mozilla. That was fixed only after I installed GConf, ORBit, libIDL, D-Bus and dbus-glib. It still failed to send the crash reports and it turned out that I must also install and configure Curl. Of course, ordinary Linux users with a typically-bloated Linux distribution would not run into such issues.
By the way, there is now a new pseudo-URL named "about:crashes" that would let you to lovingly admire the crash reports that your instance of Firefox has generated and submitted to Mozilla.
2008-05-24
ACM
2008-05-18
Electronic Book Readers
Besides saving lots of space and providing unprecedented portability, electronic books also have some additional advantages over ordinary books:
- There are lots of freely-available electronic books. For example, Project Gutenberg provides electronic versions of thousands of classic books.
- You can easily make backup copies of (non-DRM-crippled) electronic books. This is unlike ordinary books, which can get damaged, lost or stolen.
- It is much easier to search through an electronic book.
- It is easier to enlarge the font of an electronic book or have the text read out by a text-to-speech software to help the visually-impaired folks.
- You save trees from being cut to produce paper.
- Electronic books should be cheaper than ordinary books since the publisher can very easily produce as many copies of such books as it wants.
- The Internet makes it much faster to deliver an electronic book than an ordinary book, when you order them through an on-line retailer. You also save on the shipping costs.
- Since software is usually used to write and typeset books these days, electronic books can be produced with no additional effort.
Of course, electronic books will never quite have the "feel" of ordinary books. Some of us also love the different smells of different books. An electronic book reader is quite delicate and more expensive when compared to an ordinary book. Unless an electronic book is in an open format like plain-text, HTML or PDF, it is quite possible that future electronic book readers will not be able to read it. Some publishers intentionally cripple electronic books with DRM making it more difficult to do things that are otherwise quite simple to do with an ordinary book (for example, share it with a friend). Many of the electronic books are unreasonably priced compared to the corresponding paper versions in spite of the fact that it is far cheaper to produce and distribute an electronic version of a book.
All this aside, there has been a huge downside of electronic books till recently - reading electronic books has not been as comfortable as reading ordinary books for most people. It is quite straining on the eyes to read lots of text on a computer monitor or on the tiny LCD screens of smart-phones and PDAs. It is also difficult to read such text in bright light. Even the dedicated electronic book readers have suffered from this problem. You can print out an electronic book to ordinary paper, but this is either too expensive or not feasible for most people.
This has now changed due to the availability of "electronic paper" displays. These displays look just like ordinary paper and are therefore quite easy on the eyes. They only use power when the displayed image needs to be changed and thus can run on a battery charge for much longer periods than LCD displays. Though the technology has been around since the 1970s, it has only recently become commercially viable. There are now several electronic book readers based on this display technology and judging by the reviews of these devices, we might just have passed an inflection point in the history of electronic books.
Here are some of the electronic book reader devices based on electronic paper technology currently available in the market, along with their prices as advertised at the moment:
- Kindle, by Amazon, $400 (Ars Technica review of the Kindle)
- PRS-505, by Sony, $300 (Ars Technica review of the PRS-505)
- Iliad, by iRex, $784 (Ars Technica review of the Iliad)
- Cybook, by Bookeen, $480
- Hanlin, by Jinke, $300
- BEBOOK, by Endless Ideas, $400
- SoriBOOK, by Diginaru, $400
Ars Technica usually provides in-depth and unbiased reviews and therefore I have also linked to a review of a device on Ars Technica wherever available. MobileRead has a comparison-matrix of electronic book reader devices. You can also find a lot of nice videos on YouTube that show most of these devices in action, giving you a feel for these devices that is very difficult to get by just reading the reviews.
For example, here is a little video review of the Amazon Kindle:
Of these devices, the Amazon Kindle seems to have the best overall package in terms of price, connectivity and availability of electronic books. I like its integration with Project Gutenberg and Wikipedia. I also like its ability to look up the definition of a word in the integrated dictionary. Unfortunately, it also looks like the ugliest of the lot with some rather weird design choices in my opinion. It also cannot natively display PDF files. Amazon should release a newer version of the Kindle that rectifies these mistakes. Some of these devices, including the Kindle, are also unnecessarily saddled with DRM. Many of them have features that are of doubtful utility in an electronic book reader (for example, an MP3 player or a web browser with severely limited features).
Electronic paper still has some way to go before it can become an acceptable replacement for ordinary paper. The resolution of electronic paper still doesn't seem to be anywhere as good as ordinary paper. It cannot display colours other than black and white (or shades of grey), which is all right for ordinary text and figures but not for colourful photographs. The most troublesome aspect seems to be the manner in which the display is redrawn - there is a slight pause, followed by the blackening of the display followed by the final image. Depending on the person, this can either be very irritating or barely noticeable while turning pages.
These devices seem to be almost, but not quite, there. I think I will wait for the next generation of such devices before I buy one for myself.
2008-05-12
Disenfranchisement
When you consider the incredibly small impact that a single vote has on the outcome of an election, you might be tempted to ask "Why vote?". Given that the Congress, the BJP and the Janata Dal (S) are realistically the only parties that will be able to form a government in Karnataka and given their utterly shameless behaviour to grab power the last time round, it is natural for us to be dejected or at best feel apathetic towards this election. Some of us just don't want to take the trouble of going to a polling booth, standing in a queue and casting a vote.
However, democracy is how we have chosen to be governed in this country and voting in an election is the very least we can do to make sure it works as intended. The effect of a single vote might be negligible but the cumulative effect is considerable and is for the greater good of the society. It then feels like a shameful subversion of the democratic process when the names of willing and eligible voters go missing from the electoral rolls and they are thus disenfranchised.
Anyone even slightly familiar with a voters' list in India would agree that there are usually a lot of appalling mistakes in it. It is not uncommon to find a lot of people missing from a voters' list despite having valid EPICs and a lot of people who have long since died still lingering on in the list. Many people have had their names misspelt or their addresses mangled. For example, the last EPIC that I had managed to get everything about me (except my photograph and my sex) wrong in one way or another - it had incorrect entries for my name, my father's name, my address, my date of birth, etc. So I was not completely surprised to find my name missing from the voters' list, but I was surely disappointed.
Update (2009-04-22): This article in The Times of India offers a possible explanation for the mystery of vanishing names from the electoral rolls.

