Thursday, May 12, 2005

Happy fatherhood malli

Today, Shiyara, my brothers wife gave birth to two baby girls! The mother and the two babies are doing well at the NineWells Mother and BabyCare Hospital.

Happy parenthood you too!

Friday, May 06, 2005

Soul Assassins

Interesting article. Contrary to the general views. The article summary reads "The employees are probably the worst thing that happened to a company".

Well I've always known that there are people who thought otherwise. People who did not agree with the popular beliefs and culture. But when those people are trying to popularize their own contrary ideas and trying to become the popular culture, now that's something to think about.

An interesting article anyway. Read it. Soul Assassins

It puts out a few bold ideas hat most of us secretly admit. Most of us are not happy in our jobs. But we are not meant to find happiness. If we are working to make happy, the work may not necessarily make us happy. Of course if you are really passionate about your work and can go on engrossed in work for days, then maybe you are one of those happy people at work.

I guess you have to find some kind of meaning to your job. If you are just in the job for the money then you would not be motivated to do exceptional things. You would just do the minimum that is expected out of you. After all, if you are going to get paid the same if your company makes 1 million in profits or two million, would you care?

I guess the crux is, different people will find different factors that motivates them. And trying to apply the same formula to all of them and expecting uniform results, will not simply work.

Reminded me of something else that I read today: " Hire for attitude. Skills can be taught."

Bored!

Have been bored since yesterday cos I couldnt get my hands "Dirty". Need to get myself involved with some coding, prefrebly in .NET stuff. That keeps my mind ticking. And gives me a purpose to spend the time at office.

Well, I just re-started to re-do the conversion of ASP.NET portal Access data provider. Hopefully will be able to get it done. But the problem I am facing is that most of the logic of the portal is contained in Stored Procedures and Access does not support that much complexity in Access Queries. So it wont be a simple translation as I expected, most probably, I will have to add to coding as well. But heck, that should keep me occupied for sometime.

BTW, it's been raining cats and dogs. ANd most of the roads have been flooded restricting traffic to a single lane at most!

Wednesday, May 04, 2005

Loading an image residing on a remote web server to a image control.

This has been a question posted to me on an internet site. Initially i thought this had to be simple. But then I realized, in order to do this you need to do a few lines of coding. This was for a Pocket PC application. But anyways coding would not change much for any other platform.

Here it is:

'Give the url as a string
private void LoadImage1(string url, PictureBox pb){
HttpWebRequest wReq = null;
HttpWebResponse wRes = null;

try{
wReq = (HttpWebRequest)WebRequest.Create(url);
wRes = (HttpWebResponse)wReq.GetResponse();
pb.Image = new System.Drawing.Bitmap(wRes.GetResponseStream());
}
catch(Exception ex){
string s = ex.Message;
}
finally {
wRes.Close();
}
}

It's my birthday

Today's my birthday. Geez I'm getting old. I'm 29 now. No wonder I'm having grey hair now!

Anyways, it's been a great day so far. Got a 1:8 scaled Corvette remote controlled race car. Great toy! Looks pretty much real and they have paid a lot of attention to even the minor details. Thanks wifee! Thanks for the present and for all the love you have been giving me all this time. Your the best!

Cant wait to go home. I can play with the car. Also, ammi will be coming over as well. SO we are gonna have a party!