Friday, September 16, 2005

Being a Numbers Guy

"What is the length of a Boeing 747 airplane?" asked Saleem Mirza, Software Development Manager at Techlogix during my interview there. I was surprised at this question because we were having serious technical discussion till that point. I thought for a moment and replied, "100 meters." He enquired further, "Not more than that?" I was confused and stepped back, "I am not much into airplanes and flying."

Fast forward...A few days ago, I was reading Jon Bentley's Programming Pearls, a highly recommended book for programming interviews at various software companies, including Microsoft. The 7th chapter starts as,

It was in the middle of a fascinating conversation on software engineering that Bob Martin asked me, "How much water flows out of the Mississippi River in a day?"

What is the use of knowing such stuff? Nothing. Then why is it important to be able to answer such questions?

It's all about your ability to estimate within reasonable bounds: Suppose, I tell you that one of my friends is 9 feet tall. Instead of being amazed, most probably, you will exhibit disbelief. What if I tell you that Pakistan's software export is $6 billion? Your reaction should be the same because it's way beyond a reasonable value.

Good estimates result in better planning and they are the basis of fruitful discussion. If you could regard the above two statements as "unreasonable" it was probably due to some comparison that you immediately performed in your head. Perhaps, you know that the world's tallest man is less than 9 feet. Similarly, you probably know that India's total software export is $8.8 billion and Pakistan's figure should be a fraction of it. In fact, Pakistan's total export (not just software) is stated to be at $12 billion.

Ebay recently decided to buy Skype for $2.6 billion. This figure is actually too high. I double checked it before telling it to my friends. I was pleasantly surprised when some friends showed disbelief.

Knowing some standard figures is very important because that's what actually becomes a reference for comparison and helps you come up with an estimate. How high is the ceiling of your room? What time is it? How far is Karachi from Islamabad? Even if the exact answer is not known, one should try to give a good estimate.

It's dumb to state a figure in millions when it should be in billions, or vice versa. I'd have exhibited that much dumbness quite a few times. It's better to remain silent if you have so much confusion about what you are going to say. I believe estimation is amongst the things that one can improve with a little practice. Just try to remember when you come to know of a "standard statistic" and always do comparison before coming up with an estimate. The idea is even more important for software developers who are the worst when it comes to estimating time and effort.

Thursday, September 08, 2005

Pakistani Students in Sweden

The highest percentage of international students coming to Sweden is from China, followed closely by Pakistan as this news report indicates.

Life is not easy here and getting a Swedish visa is not like winning a lottery, to the dismay of most of the Pakistanis coming here. You don't have to pay for studies but still, living is quite expensive and the economy is not as strong as that of the UK or the US, which means that many of the students will go back to Pakistan after completion of their studies. This could be a good thing, if viewed in a broader perspective.

But all is not bleak. Coming to Europe means that many countries are easily accessible. The quality of education is very good; there is an international atmosphere and people are extremely nice. Lastly, you can avail internship opportunities (and perhaps seek job as well) in France and Germany, amongst other countries.

There are very good chances of getting into PhD if you select your courses carefully and do a research-oriented thesis. A PhD student is considered to be a full-time employee of the university; it's well-paid in most countries in Europe (specially in Sweden and Netherlands); something like 2000 euros a month.

More unexpected thing is that now even female students from Pakistan are coming to Sweden. This is a bold step. I wish everyone best of luck.

Prepare well; lean Swedish and don't forget to join SAATFASE.