Archive

Archive for October, 2005

Gaj

October 27th, 2005

Tomorrow is Gaj’s last day at Interwoven. It’s really sad to see him go — again. You would think that I’d have gotten used to it by now. ;-)

We had a farewell “high tea” of sorts today. Good food after a long time at Interwoven. Will post some pics soon.

By the way, the grapevine says that somebody will be working on open source stuff soon. :P

No More Third Person

October 27th, 2005

This has gotten boring now. Back to first person.

It wasn’t rosy all the way anyway. I kept forgetting that I’m supposed to write in the third person. Usually I would compose a post in the first person and publish it. The realization would dawn after a while, and I would be back editing the post again. This really sucks.

PS – The blog template may take a while to get fixed. :P

Narsing has a blog

October 24th, 2005

For all ye Interwovenators (yes, that’s term someone used in an All Hands): Narsing has a new blog. Check it out – Shoonya.

For those of you who don’t know him, Dr. Narsing Rao is the Director of Technology at Interwoven, Bangalore. He’s really into Music, Vedas, Sanskrit and a horde of other great stuff.

Sure, the photo looks official. It was pulled off the intranet site. :)

Assertions rock

October 22nd, 2005

While he was writing some code yesterday, he put in some assert statements to verify object state at the beginning of a method just for fun. And it turned out to be such a great thing to do.

He has a Server class which has methods Connect() and Disconnect(). The Server class also has a private boolean field called connected that remembers the state of the server connection. At the beginning of the Connect() and Disconnect methods, he put in Assert() statements to make sure that the state was right before proceeding with the operation.


sealed class Server
{
  private bool connected;
  internal void Connect() {...}
  internal void Disconnect() {...}
}

When he ran the program after a day, he was shocked to see that the assertion failed in particular situation. After some inspection, it turned out that he was not changing the value of the connected field in the Disconnect() method.

Such a trivial thing. Yet, it would have been really hard to figure out that something was wrong had he not used these assertions. I’m sure that more of these assertions will be going into his code in the future.

And you blamed George?

October 7th, 2005

Says Bush,

God told me to invade Iraq

Still Alive

October 6th, 2005

He’s making this post just to inform people that he is still alive. Have faith in God. (He hates making pointless posts like this, but it is important that people know that he has not retired from blogging yet.)