Friday, September 24, 2010

A monument with a stellar cost

According to this article, the Government of Pakistan has approved construction of a monument in honor of former Prime Minister, Benazir Bhutto. The cost is estimated at $11 Million.
According to a Daily Times news Item, the construction of the monument was challenged in Lahore High Court. Spread the word and advocate public opinion against this total waste of money at a time when the Government talks about austerity, the poor man is struggling to feed his family and one in every eight Pakistani is made homeless by the recent floods.

A new take on web searches

Well, it might not be new, but is as far as my limited knowledge is concerned. This report on Dawn points out that several search engines have sprung up on the web that are geared to not provide search results containing indecent content. These search engines are gaining in popularity and are developed and used not just by muslims but by people from other faiths as well.

End of a long tour

Pakistan team has returned from a four month long tour of England. Several things stand out from this tour.
I think that the first noteworthy point is Afridi's incompetence at captaincy. He's been in and out of captaincy and he's been playing cricket for a long time now. He should've learnt his lessons by now. Granted Pakistani fielding is not good, but he has thrown away bowling advantage over and over due to defensive tactics. Time and again, when the batting side can be taken under pressure, he has applied defensive tactics, concentrating on saving runs instead of attacking to take wickets.
Second, I think Shoaib Akhtar staged a nice comeback. I didn't expect much of him, but he bowled well out there. For the first time, I am of the opinion that he should be included in the side consistently. I think he has shown signs of maturity.
Thirdly, no need to even mention the childishness and unreasonably defensive response shown by Pakistan Cricket Board over reactions to as yet unproven match fixing allegations.

Upcoming Microsoft community events in Pakistan

Microsoft is bringing a community event to Pakistan. It is called Open Doors. It will be held in Karachi and Lahore next month, i.e., October. I'm contacting the source to update the dates, which seem to have changed (based on inside information). Stay tuned!
The idea behind Open Doors is to bring Microsoft Professional Developer Conference (PDC) and TechEd quality content to a wider community's doorsteps.

Research Assistant Position at LUMS

I received this advertisement today. Contact the mentioned email if the opportunity interests you. Pasting the adv below:

Research Position in Computer-Aided Diagnosis (CAD)
For a collaborative project with Dept. of Radiology, Shaukat Khanum Memorial Cancer Centre, we are seeking a highly motivated RA or Student RA to develop image processing and computer-aided diagnosis algorithms.

The ideal candidate will demonstrate a strong aptitude for problem solving in 3D image processing, along with a capacity to grasp the medical significance of this project. Highly motivated candidates lacking experience, but showing a keen willingness to learn, will be considered.

This is a compensated position, and demands at least a commitment of 20 hours per
week, and the ability to travel to SKMCC as required.

Pre-requisites: Willingness to learn or knowledge of programming and the basic notions of image processing. Excellent written and verbal communication skills.

Familiarity with human anatomy, computerized tomography or image processing will be
a plus.

Interested candidates should email their CVs to Dr. Usman Qazi, Biology,
(usmanqazi@lums.edu.pk) or Dr. Sultan Sial, Mathematics (ssial@lums.edu.pk).

Thursday, September 23, 2010

Upbringing

I visited Dr. Iftikhar Waris' homeopathic clinic, Gulberg Homeopathic Clinic in Gulberg, Lahore, yesterday to get some medicine for my three years old. Whenever I go there, I see some interesting characters who are obviously living in some other country within the one that I live in. Women with short and see-through clothes are abundant. Dr. Iram Hassan's Hassan Medical Center beats Dr. Iftikhar's clinic, though. But that's besides the point.
Anyway, back to the point. A family came in as we were waiting for the medicine to be prepared. They had two servants to take care of their one and a half year old son. One was your typical mulazima, whose only duty was to tail the kid, pick him up if needed etc. The other one was probably looked like she belonged to the Phillipines. The way she interacted with the child in English made it quite obvious that she had been employed to teach him good manners typical of the western nations and missing in us uncivilized Pakistanis. I can personally relate to their concern for a spoilt child.
The climax, however, was when I discovered that their attempts at "the cure" weren't working for them either, just as mine aren't working for me. When the boy started protesting and crying over something, nothing worked. Neither the gentle words in English from the foreigner, nor the desi mulazimas words of love. I could not tell a difference between his behavior and that of my daughter when she was his age. Unfortunate! Well, I didn't have to spend as much as they do over a child that embarrasses you with his/her misbehavior in public.

Oh, the games they play

Mismanagement and corruption is a real menace. It is sad to see that an international games event, the Commonwealth Games is in such a huge mess. All this while, the powers that be had apparently been sleeping.

To fix or not to fix

Today's edition of The News carries this interesting news item. The item is based on a correspondent's conversation with former Pakistan test cricketer, Aamir Sohail. Aamir Sohail has done a really thorough and interesting analysis of the issue.
Aamir's analysis has strengthened my hunch that the Pakistani team is unfairly caught in a mess they did not create. According to Aamir, the whole thing is based on a war between legal and illegal bookies. He says that the former are pissed off that the latter are scooping up lots of their profits. The legal bookies, he mentions, pay taxes and sponsor cricketing events and are not happy at losing millions of Pounds (Sterlings, not in body weight).

Road Safety

It is good to know that some attention is being paid to safety on the Lahore Ring Road. See my earlier related post.

Wednesday, September 22, 2010

Really silly error

This morning, I found a really silly error in my simulator. It's part of a bug that I've been after for a long time. Finally, I think I've squashed that bug which has been causing random core dumps.

It turns out that in a collection of integers, when swapping two numbers, say a and b, I was doing the following:

temp = a;
a = b;
b = a;

Instead of the blatantly obvious:

temp = a;
a = b;
b = temp;

It is utterly unbelievable how such an error could have slipped my attention. Oh, well, us MVPs are also mere mortals after all.

iPhone vs BlackBerry


When buying a smartphone, one is often confronted with the option of whether to buy a BlackBerry or an iPhone. I have never owned one and it doesn't seem likely that I'll buy one in the near future, but I know of several people who own one or the other and I've often seen them compare their handsets. Based on their experiences, I've tried to summarize the comparison of these two options.

Based on the feedback I have received, Blackberry loses on almost all counts. The BlackBerry is not flexible in terms of email sources, whereas with the iPhone, you can pull emails from a variety of different commonly used email services. Furthermore, the iPhone has a much wider third party application market. This includes office productivity, communication and collaboration applications as well as games. For instance, you can easily install Skype on an iPhone. Many of these third party applications are free, too.

So, if you ask my advice on whether to buy an iPhone or a BlackBerry, I'd say go for an iPhone.

(Image courtesy puremobile.ca)

Tuesday, September 21, 2010

U-turns on Lahore Ring Road

I have recently traveled on the Lahore Ring Road on a couple of trips to Sialkot. I found it to be extremely useful. It helped us avoid terrible city traffic. Whereas, I used to take one and a half hours to reach Muridke, on the ring road, the travel time dropped to just fifty five minutes.
One concern that I had on the Lahore Ring Road, though, is that there are several locations for taking U-turns on it. For a road where there is little traffic and vehicles travel at speeds near 100 kph, U-turns can and will result in terrible accidents. Accidents due to vehicles taking U-turns will be much fewer in comparison to those caused by pedestrians and animal carts and other slow moving vehicles moving from one side of the road to the other. I believe that educating people is the only permanent solution, but the U-turns should also be shutdown. One in need of turning around can safely take the next exit, make a U-turn on the side road and then re-embark upon the Lahore Ring Road. I hope someone in some avenue of power gets a word.

IT ka-BOOM

The IT sector has lately bloomed creating lots of tech jobs in Pakistan. Foreign projects also brought diversified experience to Pakistani IT workers and added valuable expertise to their skillset. However, this report in today's edition of The News about a trend of foreign companies closing down their business in Pakistan is alarming.
Of course, it is not completely unexpected on two accounts. First, you need first class connectivity to the rest of the world. While Pakistan's Internet connectivity is several times better than what it used to be ten years ago, but it still can not be termed reliable and first class. The Internet connectivity business is not where it should be. Second, we can not guarantee uninterrupted business operation due to the prevalent and consistently deteriorating condition of law and order.
Unfortunately, proper heed has not been paid to these alarming conditions. One can only hope that some urgent attention will be paid to these trouble areas, soon. Otherwise, I'm afraid that the IT boom will go ka-BOOM.

World can't fully pay

According to US Special Representative for Pakistan and Afghanistan, the world can't fully pay for Pakistan floods disaster. But the fact of the matter is, believe it or not, Pakistanis alone are enough to take care of the whole mess.

Smuggling goes on through Nato’s NLC containers: SC - TheNews Internationl

An alarming report. Smuggling goes on through Nato’s NLC containers: SC.

Switching banks

I've been an unwilling National Bank of Pakistan customer for a long time. I'm primarily an ATM user, and their ATM is open 24 hours A YEAR. Forget about 1-Link services to access my account using a different bank's ATM, I have only been able to access my account through NBP's ATMs at only two other branches in Lahore a few times.
I've been unsatisfied with their service for years. I finally mustered the strength to make the switch today. I went to Standard Chartered Bank at DHA and opened an account with them. Start of a new banking era for me.

Monday, September 20, 2010

Sialkot water

Both of my parents were born in Sialkot. My father used to point out to me that most Mr. Pakistan title holders are from the Gujranwala district, which is where Sialkot is situated. He used to tell me that it is because the water in that district is very good. We used to notice how we start feeling hungry when we drink water in Sialkot whereas Karachi's water fills one's stomach leaving no appetite.
Yesterday, during my recent visit to Sialkot, I noticed how yellowish the water was. Alas, Sialkot's water, it seems, isn't what it used to be. The baltis, maggas and floors are stained yellowish. Lots of people fetch drinking water from a water filtration plant.

Who's in control

I am wondering, who is in control? Not philosophically, but in Pakistan. Is the President the ruler? Is the Prime Minister the ruler? How do I check? I guess if I asked them to get rid of the shortage of gasoline in the country for just one hour, if they were in control, they could do it. Or maybe at least for fifteen minutes. Heck, if they can get rid of the shortage for even one minute at will, I'd accept that they are in control. But they can't. So, who really is in charge?

jazba-e-qurbani

I was driving with my family from Sialkot to Lahore yesterday. During the road trip, I really noticed the spirit of sacrifice that the pedestrians displayed. They were really willing to sacrifice their life by coming in front of the traffic on G.T. Road.

73A, PK 302, Sep 16, 2010

After eid, on September 16, 2010, I traveled back to Lahore from Karachi on PIA's flight PK 302. I was assigned a window seat 73A. When I boarded the aircraft, the Boeing 747, I discovered that a girl was already sitting on the aisle seat next to mine. I requested her some room so that I could sit. She pointed to a different seat and requested if I could sit on that seat nearby instead. I suggested that the other seat might have been assigned to someone else. She requested if I could take that seat anyway until anyone comes to it. I agreed.
As I took the other seat, a group of women requested the crew to reassign their seating so that they wouldn't have to sit next to strange men and would sit together. I vacated the seat that I had temporarily occupied, so that the crew would get an accurate picture of what was available. After I had stood for a few minutes, the girl next to my originally assigned seat perhaps felt pity for me and asked me to take my original seat, 73A. I thanked her and took my seat. She then asked if I'd like to switch seats. I told her it was her call, I was equally OK with a window or aisle seat. She requested that we switch seats, and so we did.
During the flight, she kept nodding off to sleep for short intervals. Throughout the flight, I kept feeling sorry that she was in a naturally uncomfortable position. I wouldn't even look toward the window because it might look like I was looking at her. I squeezed myself into one side of the seat near the isle. I kept trying to muster enough strength to apologize to her for any inconvenience I must've caused her, but I was too nervous to do that. What if she thought "free honay key koshish ker raha hay"? Whenever I thought I had the strength to say it, she seemed to have drifted off to sleep. Whenever she would wake up, I'd lose my strength. Well, eventually, after the plane had landed, I spoke in a small voice, "I'm sorry, I made you uncomfortable during the flight." She nicely replied, "Oh, not at all."
It turned out, she was a really nice person. She asked me if I traveled to Lahore a lot. I told her that I don't travel often, but my parents live in Karachi and I've been living in Lahore because of my PhD studies. She asked me where I'm doing my PhD at and I told her that I'm going to LUMS. In reply, she asked me which subject I'm doing my PhD in, and I told her that I was doing a PhD in Computer Science.
Conscious as I was of not engaging her too much, I didn't say a word after that. Later on, I thought that there was nothing to be afraid of. She was a nice person and wouldn't have considered it odd if I asked her what she did. It would've made her feel a bit more at ease, perhaps. I guess it's too late now.
When the queue of passengers started moving off the plane, I asked her if she had a bag in the overhead compartment that she needed help with. She guided me towards her bag, which I took down for her. It wasn't too heavy or anything. I was in front of her in the queue of passengers getting off the plane when I spotted a couple of bags belonging to my parents in an overhead compartment (my parents were also traveling on the same flight). I squeezed into a seat row to allow her move on before I took those two bags. She insisted that I go ahead before her, but I suggested otherwise. The two bags were a bit heavy and I didn't want her to wait on my account. And that was that.
Pretty ordinary stuff for most people, but for me, it's been a while since I've met a girl who is nice. Most girls I see these days are, for lack of a nice word, bitchy. And to think that I didn't even ask her name, or tell her mine. All I said when parting was that it was nice to meet her, and that wasn't a formality. It certainly was very nice to meet her.