Thursday, June 25, 2009


A co-worker introduced me to Radiolab recently. It is a radio show that is also available as a free podcast. Each show discusses a specific topic from a scientific angle: why we sleep, how we remember things, even love! It is, without doubt, the best radio show that I have heard. Go get it now, get all the episodes. Buy a music player if you don't have one already, if only for Radiolab.

The hosts of RadioLab are Jad Abumrad and Robert Krulwich, and they do a wonderful job of interviewing people to bring out the joy of inquiry. Each show leaves me with a sense of wonder for the topic. In addition to the excellent production quality, Jad and Robert have a knack for finding the experts and asking insightful questions.

This might just be the second coming of radio. The Internet has allowed good content to find its audience. Without the Internet, a show like RadioLab would be confined to the few cities that broadcast it, and at very specific times. Now, a student in India can listen to Jad and Robert at whatever time is most convenient.

Monday, June 22, 2009

"Indians are smart!"

This is a statement heard often in schools and companies in the US: "Indians are smart", or "Indians are good at Math". Sometimes it is Asians (Chinese, Japanese, Koreans) instead of Indians, but this notion persists. Since this is such a common perception, it helps to understand where it originates.

Most Indians that are visible to Americans are university students, co-workers, or other hard-working geek types. This is a very select group of people: those who were good at school, loved standardized tests and were willing to work hard and travel a long distance from their families. (People claim this is the cream of Indian intelligence, which is too generous. There are many smart people who choose to stay in India, because they can't bear the thought of leaving friends, family, food behind.)

So when you come across one of these folks in the university or at work, it occurs to you how all Indians are so different from the average American. What's more, every Indian seems to be hard working and reasonably sharp. After meeting a few such people, you cannot help forming an opinion that, "All Indians are Smart". Bang! You may have generalized a bit too far!

Back home in India, I made similar generalizations myself. I had met some foreign students studying in India and I was amazed at how bright they all were. Of course, they knew the university coursework, but they also knew about art, music, cooking and wine. They knew more Indian history than I did! Had I seen enough of such exchange students, I would have concluded that Western students are brilliant at everything they do. Similarly, many of my father's Japanese colleagues seemed to be exceptionally interesting, hard-working and sharp. But if you think about it - these were men with a high levels of responsibility so a dull person would automatically be disqualified from the job.

Something similar happens when Indians watch TV, and conclude that all Americans look gorgeous. Big mistake! They haven't encountered the average American, with his excess baggage of fat.

This is just a Sampling Bias, which was my original title for this post. However, a technical term would scare off half the audience, so I selected a suitably sensational title.

Thursday, June 18, 2009

Android Developer Videos from Google IO 2009

I've been having a lot of fun programming the Android. The Android talks from Google IO this year were informative and are a great resource for android programmers. You can view all the talks at the Google Code page listing IO 2009 videos.

Google has released these videos under the Creative Commons Attribution-Share Alike license so you can download them in the US from Youtube. For everyone outside the US, I created a torrent with Android developer videos from Google IO 2009 that you can download.

You can read the full details about the Creative Commons Attribution Share-Alike license to ensure that your use of the videos is legal.

Have fun programming the Android!

Sunday, June 14, 2009

Best Place to Work

Google gets held up as the best place to work, year after year. Reporters seem to focus almost entirely on the following factors:
  • Free gourmet food
  • Free massages
  • Free fitness centre
  • Awesome transportation options
Sounds good, doesn't it? Well, I'm here to tell you that reporters are wrong. None of those matter, or at least, none of those matter too greatly. What really matters is the work environment and peers. I can buy gourmet food, massages, can pay for a gym membership and drive to work. All those things cost money, but are easily available. What I cannot control, and cannot buy is a work environment. If my peers are jerks, I cannot do anything about it, short of leaving altogether. I haven't worked at many places, but from conversations I've had with friends, I maintain that Google is great because of their work environment. Here are some examples:
  • Google encourages people to work on something they enjoy. Don't like what you're doing: you're free to shift, within reason, to a project you enjoy. There's plenty that a smart engineer can do, and Google appreciates that.
  • Managers are technically sharp and have tremendous organization and communication skills. I've attended plenty of meetings, and have always walked away with renewed respect for how well the managers understand all aspects of an issue. After one scintillating meeting, a peer observed this as he remarked, "Well, the brilliance was at display there, wasn't it"?
  • The people I work with are warm individuals who care about their colleagues. When I had an unfortunate accident, my manager specifically instructed me to stay at home and recuperate. He also personally offered to transport things from my office to my house. I wouldn't need it, but it was a remarkably warm gesture: and this is just one example. I can recount countless such examples.
  • Peers are talented and sharp people: to the point that I reserve Mondays and Tuesdays for feeling like an idiot. Most people seem to understand complex issues faster than it takes me to describe them. The people I have worked with are sharp, and yet they are humble. They encourage inquisitiveness, and lack egotism. And this is a team consisting of people who have authored text books in this field.
  • My location, attire and timings don't matter to anyone. I can work from home on days that I'm feeling ill, or just too lazy to get out of bed. As far as I get my job done, why should it matter what clothing I have on? I have never been asked to be present at specific times, or specific places. Sure, there are meetings that I could attend: but if they're not related to my immediate work, I'm not required.
  • I have a choice of computing environment. I choose to run Linux on both my desktop and laptop, and both are well supported by the administrators.
  • Beyond the immediate work environment, Google seems to be a fertile ground for meeting other sharp people. All around, people are reading interesting books, having fascinating discussions, and building cool things in their spare time. The Google doctor is the best doctor I have ever seen, and her reputation confirms this. You can have great discussions about world cuisine with cafe staff, and they'll follow up the discussions with email.
  • Even walking around the office is a rewarding experience. People post interesting snippets along office walls, and there are mini-libraries and common bookshelves stocked with interesting books. Large meeting rooms are abuzz with interesting talks by authors and technical experts.
It is this wonderful environment that employees enjoy. Take away these positive interactions and no amount of free food or massages will retain employees.

Friday, June 05, 2009

Worse than an error

I've been using website quality as a metric of the quality of an organization, and it has been surprisingly accurate. Organizations that put effort into their website tend to be customer focussed. A sloppy website means that either nobody uses the site or that the site owner doesn't care about the users.

I had heard that Indian census data was online, and I was always curious to find out what the Indian divorce rates are. So I visited the census site at You can see a picture of the website here. It is a very poor, shoddily designed website. A summer intern can do better with a day's work.

But what's better is not a single link works.

You can replace the server with a toaster and nobody would notice.

That entire website is worse than an error page!

Some of the links take you to the site. Let's ignore the two domains, maybe there is a strong reason to have two different domains for data. Let's focus on the content. I spent the next ten minutes clicking on links that don't work. Here is a collection of images of error screens I got. As before, most of the links have very sparse content, and many of the links result in errors.

Here is another error screen:

Despite having very little content, they did go through the effort of adding links for translation (through Google Translate). So you can view the website in any language. Given that you will be looking at error pages most of the time, here is the entire website summarized in Russian!

Those two sites are absolute user interface nightmares. The second website does have some useful data after you go through a hilarious registration screen. Instead of putting up a single data file, they have elaborate drop downs that show you information in nibble-sized chunks. The site does not contain links to actually download the data. But they do have CDROMs and books in their "store" if you are eager for more. If you were to do any meaningful analysis, you'd have to spend hours just navigating their interface. Here's a radical suggestion: why not just put the data online and do away with the flashy images, the registration, the 'store', and the labyrinth of drop-down boxes? You know, like the rest of the world does? The site has been developed by LogicSoft, just so you know where the blame lies.

I was showing this to Neha, and we were discussing how bad the websites themselves were. Neha had a wonderful story which was related to the subject. Many years ago, while she was a Statistics student, she figured that it would be interesting to play with real-world data. She was in Delhi, and the relevant government offices were nearby. So she and a friend went over to the office to ask for data. They were treated with such utter contempt that they gave up any hopes of ever working with government data. Further, their story was a cautionary tale to other students in their university, who quickly steered away from any area even remotely connected with the Indian government data. Some of them were considering jobs that would have involved Indian government data, which they quickly abandoned for better employment.

Maybe there is something connecting the quality of the website and the organization. The census bureau website does turn out to be a good indicator of the attitude of people working at the Indian census bureau.