Tuesday, August 23, 2005

3 years of software engineering

ok I am pretty late. Its 3 years and 11 days now :-). Seems only yesterday when I wrote this post.
Professionally, this year has been an excellent one and I have been able to achieve a few things that I had planned at the start of my career but seemed distant last year.
Personally, a different story. But let me tell that some other day.

Wednesday, August 03, 2005

Geeky Gift

A elderly person going to meet a relative is likely to carry sweets with him. A boy going to meet a girl is likely to carry chocolates. What would a geek carry when going to meet another geeky friend.
The other day, A friend of mine got me 2 uncommon mp3s in a flash drive :)

Thursday, July 28, 2005

24 hrs of non-internet bewilderness

Due to heavy rains (37 inches) in mumbai in the past 24 hrs, most of the mumbai based ISPs were unable to provide internet services yesterday.
Sitting in office for the whole day without internet can be frustating to a software engineer. It is days like this when you get to know how much connectivity and networking the internet has bought in our lives. Bill Payments, Bank transactions, giving and taking tech/non-tech consultancy to friends, and college style timepass in case one is getting bored :-).

I have not yet been able to write a post on the merits/de-merits of messenger and my take on it getting banned in software companies, but just to think how many phone calls it saves me everyday and how it non-intrusively works as a phone, voice mail, sms service alongwith capabilities of virtual meetings, discussions ... non-intrusive being the keyword, it certainly brings lots of buisness value to a software company.
Just to counter the point that messenger decreases employee productivity, think how much productivity is lost when you are in a meeting and the phone rings every minute. Cause phones are intrusive, there is no way out but to pick them even if they are low priority.
Of course there are downsides, but that is analogous to the dialogue by Om Puri in Maachis "maachis ki tili, khana bhi paka sakti hai aur ghar bhi jala sakti hai"

internet in its full form is a necessity in today's world and some company cannot simply take it away from an employee on security/bandwidth or "employee productivity" concerns.

Thursday, July 21, 2005

Firefox market share up to 10%

Triumph of the Open Source :) ... While most open source software has been confined to the geeks till now, this killer app is actually reaching the masses. After all, its not everyday that a M$ product loses its 10% market share to an opensource freeware.

Monday, July 18, 2005

Good Trip, New Place

The vacations are over. It had been a long time since I last went for an outing. These have been pretty good vacations in that respect.

Its seriously amazing to see the what all people can do for religion here. 12 km uphill and another 12 km back, >24hrs continuous, no sleep and people > 60 yrs doing all this stuff that even young trekkers will think once before stepping into. Anyways, it was lot of fun with beautiful landscapes to view enroute and full satisfaction of getting mata's darshan.

To complete the change, I joined the new office today. Its pretty interesting working in a place like this, with employees number in single digit. Its a completely different experience and I feel that life is going to change a lot in next few months.

Thursday, July 07, 2005

Time for Change

Its time for another career move. I remember more than an year ago when I was looking for a change, I had this huge discussion with a HR manager who thought that I do not really like to stick with a company for long. At that time, looking for a 3rd change in 2 years, I really couldn't blame her for thinking like that. My arguement at that point of time was that getting into the industry in a time when US and India were facing their biggest slump, I really didn't have much choice but to stick with whatever I had.

Today, getting prepared for my 4th change, my track record can still make any HR manager raise the same questions. However, I have hopes that the kind of profile I have been looking for all these years is finally coming along.
I have never been more optimistic and I hope things go as I want this time.

Tomorrow would be my last day in this office and then I would be off the technical world for a week. A 16km up the hill trip to Vaishno Devi awaits me next weekend and a new office after that.

Wednesday, June 08, 2005

Copy -> Brain -> Paste

People say that all that software engineers do is "Copy Paste". Here's a real life example why the Brain component is important.
I once wrote a code to get some data and cache it to make second time retrieval faster. Here's what the code for retrieval looked like that I wrote:

public ShowDetail getShowDesc(String territoryId,String showId) {
HashMap cmap = (HashMap)cache.get("somekey");
if(cmap==null) {
cmap = new HashMap();
}
ShowDetail showDesc = (ShowDetail) cmap.get(showId);
if(showDesc == null) {
logger.debug(showId+" not found in Cache ... Getting from Webservice");
showDesc = pwm.getShowDetail(territoryId,showId);
if(showDesc != null) {
cmap.put(showId,showDesc);
cache.put("somekey",cmap);
}
}
return showDesc;
}


Basically checking if the data exists in cache, if not, getting it from webservice and putting in cache.
Another fella needed to reuse the entire code (translation: copy paste everything). He probably didn't understand the concept of cache, or probably he did understand but didn't want to use it. Whatever be the case, here's the code that finally came out:

public ShowDetail getShowDesc(String territoryId,String showId) {
HashMap cmap = null;
if(cmap==null) {
cmap = new HashMap();
}
ShowDetail showDesc = (ShowDetail) cmap.get(showId);
if(showDesc == null) {
log.debug(showId+" not found in Cache ... Getting from Webservice");
showDesc = pwm.getShowDetail(territoryId,showId);
}
return showDesc;
}


The first 2 lines itself are amusing enough for starters. I used to laugh on such things some time back, but it not funny anymore.