Tuesday, July 22, 2008

Indian languages work better in Linux

I've been reading Hindi websites on Linux for a while now. Recently, I had the chance to try out Hindi on Windows, and was shocked at how poor the fonts were.

Have a look at the comparison of the same Google News website opened in a Windows installation versus a Linux installation: the difference in font quality is startling.

Here is a snippet of Google News in Hindi in Windows:



And here is the same in an Ubuntu session:


The Linux fonts are less choppy, and the page of text looks much more smooth.

For the comparison, I used a vanilla Windows XP with SP2 against Ubuntu Hardy Heron. Both are running Firefox 2 on the same website. No tweaking was done on either installation to change the font quality. No extra fonts were installed on either system. Full screen shots are provided here: please click on the images to see the entire window.

Click on the image to see the Windows session:



Click on the image to see the Linux session:


In addition to having beautiful fonts, Linux (Ubuntu, Fedora, SuSE) supports Hindi typing out of the box. For Windows, an extra download is required. All my tests relate to Hindi, but not other Indian languages. I suspect that support for other Indian languages is just as good -- perhaps someone else can post a comparison including other Indian languages as well.

Ideally, this post should have been written in Hindi. The reason this was still done in English was to convince people to try out local language websites, since this is something that many people are unaware of. Mac, Windows and Linux can all help you read local language websites.

Another reason for this post being in English is my laughably slow Hindi typing speed. With some help from klavaro and gtypist, this should stop being an hurdle.

Linux for India

A week ago, I turned off my home computer. By then, it had run nonstop for a month. This is a two year old computer, which is our primary home computer. It runs Linux.

In many ways, Linux is tailor made for India: the cost is minimal, the software is available in source form, which allows modifications, and there is a vast user base built around localizing it to Indian languages. This post is about two projects in particular that show how Linux is well-suited to the Indian market.

The first is about the Asus EEE PC. This computer generated a lot of interest when it was released in November last year. It is a tiny computer: about as big as a small hardcover book. It is less than 1kg in weight and comes with a Solid State Disk that works perfectly even in a rattling bus. The screen is small at seven inches, but very readable. At the desk, the EEE can be attached to an external monitor, keyboard and mouse. The external monitor can be driven at a maximum resolution of 1280x1024, which is not small by any means. The most inviting aspect of the EEE is the price: $400 for a medium configuration is quite cheap.

I bought the EEE in late December, and used it for a few months. It was my main home computer, and I enjoyed traveling with the tiny machine. The keyboard was cramped for long typing sessions, but I don't type too much when I'm on the move. Further, there were small, cheap and handy full-sized keyboards that I could attach via USB if I needed to. The computer worked really well for me till my father saw it, and wanted to try it for a while. This was the first Linux machine that he would use, so I wasn't sure it would work out. Today marks a month of his using the EEE. He loves the size, he loves the fact that it connects to the Internet wirelessly, and that it is perfect for checking his webmail. He was particularly happy that it wasn't Windows, because malicious online sites target Windows users. It looks like he is going to keep the EEE PC.

The initial EEE PC hype was surprising -- the blogs were rich with praise. After using it for under half a year, and seeing my father's response, I'm well convinced of its utility.


The EEE can easily serve as a home computer for a family. With an additional full-sized display, keyboard and mouse, it is just as comfortable as a home computer. It is a product that could only be possible with Linux. At $400 for the computer, there isn't much room to charge for a software license as well. Even at $50 for an OEM license of an operating system, the cost of the OS is significant.


This is an example of a project that wouldn't be possible without Linux. As the price of hardware drives down, there are two options: existing software becomes cheaper, or the existing software gets replaced. It is hard to justify a $300 license charge for a computer that costs $400.

The EEE has a slower processor, but even that is good enough. As computers get more powerful, even the slower processors can handle everyday tasks.

How powerful are today's computers? Well, for starters, you could allow two people to use the computer simultaneously, and neither would notice that there was anyone else on their computer. The second project that I'm excited about does exactly that. It is called Userful Desktop multiplier, and it allows more than one person to access the computer using his own keyboard, mouse and display. The userful program is proprietary, though they do hand out two user licenses for free. I have been using this for about a month, and my wife and I can simultaneously access the computer, without being able to tell that the other is on. Each user gets his own display, and can surf the web, read and write mail, and do everything else.

There are many advantages to having one computer rather than two. The big advantage is cost, since you only need to purchase a single computer. The additional cost of a keyboard, mouse and display are minimal, and would be required for two computers anyway. Other advantages include lower maintenance, and much less noise. Further, when you upgrade one computer, both your terminals are upgraded. The biggest saving would be power -- over the life of a computer, we spend more for electricity than the cost of the computer itself. This is not true of laptops currently, since they are expensive and power efficient, but is true for nearly all desktops.

The computer that we are using with Userful is a two year old, entry level computer. It has 1.5G of RAM, which is its strongest feature. Apart from that, it has a standard Celeron processor. The video card was purchased separately, since it needs to be able to drive two displays. That is a simple requirement, and such video cards can be bought for $20 and up.

Userful is another example of a software that no existing company would be much interested in. Intel would sell fewer processors if two computers in every home were replaced by a single one. Microsoft would sell half as many software licenses. Further, the current Microsoft Windows license does not allow two users to simultaneously access a computer. For that, you have to buy the server version, which costs significantly higher. I am sure that Windows can be made to support two simultaneous users on a single computer, but Microsoft has no incentive to do so. The Userful corporation could do it, but then you'd need to purchase two licenses from Microsoft, increasing the cost.

Userful is tailor made for computer labs around the world. Even with the free license, one can halve the number of computers used in the lab. That alone will reduce the ongoing costs associated with computer labs in schools and cybercafes around India. Further, since many cybercafes and labs need a backup power generator: this reduces the price for the generator and the fuel.

Both the EEE PC and Userful are examples of ventures that have been made possible by Linux. They give more choice and power to the user rather than the software/hardware vendor. They work well for a specific need where the user stands to gain a lot, and it is a need that is not being currently met. Specifically for price-sensitive markets like the Indian home, both these approaches hold a great deal of potential.

Tuesday, July 01, 2008

Movies at home: the premium experience

I recently went for a movie in a theater. This is something I do once a year, even though my wife and I end up watching a lot of movies at home. This time around, we went to watch a new movie, "Kung Fu Panda", which has been getting glowing reviews. Our experience was not a pleasing one. It is not something we plan on repeating.

Firstly, there was the issue of parking. We went to the AMC Mercado, which is a short drive from our place. Our first attempt was to go there on Friday evening to watch a movie called Wall-E, another critic favorite. Alas, we couldn't find parking. After twenty minutes of driving around searching for some place to abandon our car, we drove back home. The second attempt was made on Sunday afternoon, when we hoped all sane humans would be at home sipping tea and having savories to go with it. I did find parking this time, since I started looking for parking in lots very far away from the theater entrance. The parking spots near the theater were crowded with cars waiting for parking. While this is not a fault of the theater owner: they must know how many people to expect, and they're all going to drive. That said, I don't hold parking against them. My wife and I could just as easily have bicycled to the place. The bigger problem was with the audience.

The movie we watched is a children's animation. No fault then for the hall to be filled with lots and lots of kids. But I had underestimated how noisy the hall could be. There was the chatter of kids, and laughs, giggles and cries that one expects. But the kids were the best behaved. The worst behavior was by the adults. A person sitting behind me had his phone ring, loudly, during the call. And he answered it! I turned back and gave him an astonished "que?" look, but he was unperturbed. And he had come there with some kids, perhaps his own. During the movie, adults left the hall, and entered with snacks and popcorn. It felt more like a crowded bar than a movie hall. We had taken a friend of ours along for the movie, and he watches many more movies than my wife and I. He is too young to enter a crowded bar, but he agreed that the theater was remarkably noisy, and distracting.

Lastly, the movie started with trailer after trailer of upcoming movies. I guess there were at least five trailers. Even at two minutes each, that is ten minutes of forced advertisements. I thought I paid for a movie here! One of the advertisements was for a movie that is due to be released in January, 2009! That is more than six months away. If I am expected to get excited about it early, the promoters failed horribly -- I don't even remember the name of the movie. If I am paying for content, I don't want it preceeded by brainwashing.


It could be that after watching movies on our tiny 19" computer screen at home has spoiled us. At least we get peace and quiet, and we can pause it to prepare snacks, or answer a telephone call. Further, we can skip the advertisements. Our home movie watching rig is not comparable to home theater systems that can be purchased these days. All it involves is a single Linux computer, and speakers that have been donated by a friend.


Our original intent was to watch Wall-E in theater. After this experience, we have decided to wait for the DVD, and watch it at home instead.