Random quote – I feel productive

Some time ago, my colleague gave birth to a beautiful baby girl. As such, she cannot lunch with us for a while, because she needs the lunch hour to fulfil her motherly duties. She might not be able to bring her baby to the office to nurse, but she can definitely uhm, produce milk for uhm, takeaway.

So one fine day, I had a particularly effective morning, cranking out code while listening to my favourite songs. When my other colleagues and I were getting ready for lunch, the mother called out to me and said she would be joining us. When I asked about her uhm, motherly duties, she said she did it a bit earlier, and so she could join us.

We were happily talking, and strolling along to take the lift down. We caught up with the happenings of each other.

“Oh how are things with your baby?”
“She’s so cute. I’m so tired. Hey, how’s your trip?”

We went into the lift and down it went. Somewhere during the descent, there was a slight pause in our conversation flow. And the mother blurted out:

I feel productive

I couldn’t stop laughing…

Random Quote – Program X not social networking site

Today, my users got into a tangle. All of them got into a database deadlock.

Now my users have this habit of opening multiple windows so as to “appear busy”. Granted, my application wasn’t designed and programmed with many concurrent users in mind. Still, if more than 2 of them happen to access the same table, or heaven forbid, performing an update or delete operation on that table, the database throws up its hands in defeat and promptly denies further access. This includes other users accessing other tables.

So I did an sp_who (it’s a Sybase database) and found out the perpetrators. Then I wrote an email telling those who were doing non-critical tasks (and not still performing database transactions) to get the heck out of my database and log out of the application. And not return until half an hour later. Nicely coached in diplomatic language of course.

One of them asked if another colleague could continue, since that person was still performing a transaction. I said “Of course.” I also added something in the email that I thought was interesting (on hindsight):

Program X is not a social networking site. Log in, do your thing and log out.

Yes, I was a bit peeved and slightly mischievous at the time.