Sunday, January 25, 2004

So What! - Updated...


I put a little scratch in the bumper of my car while backing out of the parking lot. I was looking for obstructions in the side view mirror and didn't see the support pillar in the lot. I goofed up but should I kill myself over it? I think not! As Scott Adams says, even the smartest people on this earth can't be intelligent 24x7 and hey, I'm not even close to being the smartest on this earth - so I deserve my leeway :) I'm sorry, but this is something that money can fix so no point feeling like shit about it...

This has been a pretty relaxed week. Saw two pretty light movies too, hung out with Vijay and Anu and tidied up my act. Now I wait for my passport application to be approved and the process to begin - have I delayed too much, I guess only time will tell. Somewhere inside I still harbour the hope that I will find my old passport - wishful thinking.

Dil Chahta Hai is a fun movie especially when you are armed with a remote equipped with the FF button :) As you can imagine, we FFed through most of the serious parts in the movie (those with Mr Akshaye Khanna ruminating) and saw Saif and Aamir do their thing. I think Preity Zinta is immaculately cute (yes so I'm a fan) and it didn't help much to see Kate Bosworth today in Win A Date With Tad Hamilton. After seeing such pretty women it's hard to come back to reality and pick someone to be with. But a man's gotta do what a man's gotta do :) Ohh, now I know why I didn't see the pillar, I was thinking of Kate... :)

Update: The White Girl or Indian Girl dilemma continues...

Tuesday, January 20, 2004

Yahoo! News - New Worm Attacks Windows Computers


The worm infects your machine if you click on the attachment, which is an exe. Though in today's day and age, if people are naive enough to double click on an exe, maybe their computers deserve to be infected. Someone has to say it, I did. And like divine justice, my computer might be the first one to actually get infected... :)

Sunday, January 18, 2004

The Sun might rise from the West


I just read this article at Network World Fusion - Sun to Windows-certify x86 hardware - and couldn't believe what I was reading. The Sun-Windows rivalry has become the stuff of lore; the one thing Microsoft hates from the cockles of it's heart is Sun (and I'm sure the feelings are reciprocated). Sun certifying it's computers to run Windows marks the opening of a new chapter in this rivalry - Sun has always claimed Microsoft Windows is an inferior operating system compared to Solaris but it's giving in to the Windows juggernaut indicates that (supposed) superiority isn't bigger than the laws of economics - you might be ostensibly superior but might not necessarily be the most successful or popular among consumers. Just to clear the air though, Windows is Number 1 today, whichever way you look at it...

Wednesday, January 14, 2004

The Da Vinci Code


I don't particularly read novels; let me be honest here, I don't read too much outside of the Time magazine I get every week and random articles in the news. So when I borrowed The Da Vinci Code from Adana last Saturday night, I was wondering if I would actually take the trouble of reading the book or just return it unread like the other books I'd borrow from the library. I had heard myriad reports about the book; "The best book written in 2003" wasn't the most glowing recommendation since every book seems to have that distinction. But to have 458 holds placed against a book at ipac.kcls.org, that's something. Thought, lets give this a shot...

When I was done with the Prologue, the clock read 4:54am, Sunday morning/Saturday night (it's still night if I haven't slept yet :) When I eventually slept at 8:45 Sunday morning, I had been transported to another world in Paris marvelling at the adventures of Robert Langdon and his unlikely accomplice, Sophie Princess Nevue, a cryptographist with the Judicial Department of French Police. The story starts with the murder of an elderly curator of the Louvre. Left to die in the Great chamber of the Louvre, the curator has just enough time to leave an encoded cipher right by his dead body and calls on the attention of Robert and unbeknownest to the police, his grand-daughter. This single act sets the pace for the pair's treasure hunt through Paris and London, the cipher being the first clue in an involved puzzle that could potentially lead them to the location of the Holy Grail. Two things helped me battle sleep that night; the subject matter of the Holy Grail has become the source of inspiration for a number of books that question the Church's message that Jesus was divine, not human and the actual puzzles that lead to the next clue to actually finding it.

Brunch with the Karans was the only other intermission in the unabated reading spree that ensued that Sunday afternoon. My interest in the book was sustained by virtue of the plausibility of the plot and the manner in which the author enmeshed reality with fiction, to a point that I couldn't tell one from the other. Often times, I'd do my own research to corroborate what I'd just read to determine whether Dan Brown had crossed the line and everytime, he had walked the line to perfection. The chapters were short and unlike many books I've read in the past, each page took the story to it's next logical juncture, dead-end or precipice. And trust me, the protagonists had to pit their wits against some insurmountable odds at some points in the book; solving puzzles with archaic and obscure clues and at times, facing imminent death but living on only to hit their next roadblock. When I was done with the last page, it was near 5am Monday morning and I was exhausted, more from the intensity of the material I had just read rather than from sleep-deprivation... In closing, here is one of my favourite lines from the book:

What is history, a fable agreed upon

A must read... And yeah, the fact that both a Harvard Professor and a cryptographer can be hot gives me hope - I'll find a pretty geek girl too ;)

Bad eating


I want a girl with the right allocations
Who's fast and thorough And sharp as a tack
She's playing with her jewelry She's putting up her hair
She's touring the facility And picking up slack


So where was I again, oh yeah - bad eating. No more cookies, no more PBJs, I'm gonna eat healthy come this very night. But no more cookies PLEASE...

Monday, January 12, 2004

IE CSS/Layout bug


I've spent the better part of the afternoon after lunch trying to track down and resolve a rendering bug in IE that occurs, lo and behold, where else but on the page you are currently viewing :) If you are viewing this in IE, you will notice that the entire page does not get displayed, some updates get clipped. If you are more observant, you will notice that the clipping occurs exactly after the last row of text is displayed in the sidebar (that contains news, links, etc, etc). Interestingly enough, if you slightly resize the IE window, the clipping disappears and the entire page can be viewed again.

Here is my analysis and it's not for the faint of heart - if you aren't into HTML/CSS, you can quit reading right now. The sidebar has lesser text than the mainbar, which contains all my ramblings. Once the browser is done laying out the text in the sidebar, it dictates the height of the page based on the height of the sidebar and clips the entire page based on the height. The resize operation causes the document to be reflowed and that's when the layout engine realizes that the height shouldn't be the height of the sidebar but max{height-sidebar, height-mainbar}.

I don't have a solution to this issue YET - but I'll work on it more at night. Now, time to get back to some Microsoft work I say...