Friday, 24 August 2007

Room with a view

Earlier tonight I visited the website of a professor whose undergraduate courses I took a few years back. On it she has a link to the view from her office. Could there be a correlation between the lovely summer's day and the empty parking lot in front of the Department of Computer Science?

From my office I look out over the Eindhoven city centre. In the distance I can just see the beautiful old Philips light bulb factory, De Witte Dame. If I look carefully, between the trees I can also see Le Corbusier's Objet Mathématique, the last remnant of the Philips pavilion at the 1958 World Exposition in Brussels. Not the purple Jacaranda trees of my home town, but not bad either.

I recently visited a friend who used to share my office, and view, in Eindhoven. After graduation he got a position with a first-class research lab. His new office does not have any windows. So much for a room with a view.

Saturday, 18 August 2007

Serious about recycling

When it comes to the environment, Belgians are quick to point out that their government enforces recycling by law. Apparently, Belgium is serious about recycling and will slap you with a fine if you are not.

I recycle because I subscribe to the idea of sustainability and not because I fear the Belgians. As I often do, this morning I set out early to our local recycling depot. Unfortunately, I was told that today they cannot accept paper. This is the fourth time this has happened. The following flashed through my mind. Get serious!

Thursday, 16 August 2007

Independence day

Today India celebrates sixty years of independence from Britain. My son also set his first small step toward independence. This morning my wife and I took him to daycare for the first time. A great day for freedom? I am not sure. As I left my blue-eyed boy with strangers, I felt rather like a villain.

Wednesday, 15 August 2007

Travel, but not as we know it

Friday, 27 July 2007

The Back of Your Head

When I was a child, my mother had two mirrors inside opposing doors of her wardrobe. When you opened both doors at an angle of roughly 90° (facing each other), you could see what the back of your head looked like.

Even more intriguing was the Droste effect that resulted from the recursive bouncing back and forth of light between the mirrors. There were infinitely many me's getting progressively smaller! I also remember staring at my mother's tins of Royal baking powder. Each tin had a picture of an identical, but smaller tin on it. And on this tin, there was a picture of another tin. I remember squinting my eyes to see the picture on this third really tiny tin. Although I could not see it, I was convinced it must there.

These were my first encounters with recursion. I would meet it many times more. For instance, on the cover of Pink Floyd's album Ummagumma. (Apart from repeating, the band members also switch positions in every nested photo.) Of course, recursion is also found in computer science. Here it refers to the practice of defining a function such that its definition contains a call to the same function.

The past week I kept coming across programming problems for which recursion gives an elegant, easy to implement solution. Every time I do, I cannot help giving a little whoop. My colleagues assure me that this is very uncool. After all, we all have seen recursion many times before. I disagree. Every now and again, I think it is good to delight in opening that wardrobe to see what the back of your head looks like. Even if you have seen it many times before.

Sunday, 22 July 2007

Walking the Dog - Part II

Apparently I am way out of touch. In a previous post, I wrote about the revelation I had regarding contemporary dog owners in European cities.

Yesterday, I was again doing my rounds in the neighbourhood park with my baby boy. On my way there a cyclist towing a doggy trailer flashed past. "Oh look, a cyclist towing a doggy trailer... Hold on, a cyclist towing what?!" This was no home-made effort either. No sir, this was a commercially made kennel-on-wheels. I put myself at ease by reasoning that if huskies have been pulling sleighs for hundreds of years, then this dog is just getting some justice for his northern cousins.

No sooner had I forgotten about the trailer encounter than one of those dog-in-a-baby-carriage-ladies appeared. Not being naïve enough to be thrown again by this sort of thing, I didn't winch. Only, it wasn't a baby carriage. Her canine companion was getting a free ride in a pushchair specially made for dogs. As with the trailer, there is a company out there that earns revenue making buggies for dogs. Fascinating. Right?

When I got home, I told my wife about my amazing discoveries. She said she had recently seen an television item about a dog boutique. In the very city we live in! Go figure, doggy couture. Here is a million dollar idea: a dog breed with a Burberry plaid or Yves Saint Laurent chequered coat.

Getting the Work Done

Last Friday my wife needed the car, so I worked from home. With me I had some source code for a research prototype that I had been working on. I got up bright and early, started up my C++ compiler and started "working".

There was just one problem, at home I have a different compiler than the one I use at the office. The source code that compiled without any problem at work now suddenly gave me linking errors. I quickly went through the list of usual suspects (circular inclusions of headers, outdated object files etc). To no avail. A few hours later I was still scratching (banging?) my head and loudly sighing in self-pity. (Of course, at least to some degree, by now it had also become an issue of pride and outsmarting the compiler.)

My wife came in and asked "what's wrong?"
"I'm not getting any work done,"
I said.
"What do you mean? You've been sitting there since 7 this morning."
I grunted in frustration, "Yeah, but I can't get it to compile and I can't find the problem."
"Well, you're still working."
"But I'm not getting any work done!"
"But honey, searching for and solving problems IS getting the work done."


I finally did solve the problem (with a workaround). But I'm still not convinced that dealing with different compiler idiosyncrasies is "getting the work done". Maybe I am just too impatient (another point my wife never fails to emphasize).