
Friday, October 27, 2006

Thursday, October 26, 2006

Tuesday, October 10, 2006
Cool Page Transition Effects
I have implemented some cool page transition effects. These tags eliminate the flashing when the page loads (when you click on a link etc). Thanks to Nikhil for giving this excellent piece of code.
<meta http-equiv="Page-Exit" content="progid:DXImageTransform.Microsoft.Fade(duration=.5)" /> ASP.NET
10/10/2006 2:06:40 AM (GMT Daylight Time, UTC+01:00)
|
|

Monday, October 09, 2006

Thursday, October 05, 2006
SQL: Return "identity" rowID after inserting data and naming stored procedures
Often times as a developer we all need to insert new records into a table in a database and also retrieve the identity id of the most recently added row. The most common solution to this situation is use @@Identity. Simple eh? No, because @@Identity returns the most recently created identity for your connection. So if there is any other operation going on like a trigger, the identity created by the trigger would be returned instead of yours.
So it is better to use scope_identity() always.
Naming stored procedure with a prefix of sp_ is pretty common, i should say that is the current norm. But Apparently this is a bad habbit because the system databases are the only ones that should be named with prefix sp_. Long story short, SQL server starts looking for any stored procedure with a prefix sp_ in the Master database.
For more on the above feature, go here . Pretty cool dont's info on SQL practices SQL
10/5/2006 5:01:33 AM (GMT Daylight Time, UTC+01:00)
|
|

Wednesday, October 04, 2006
You do not need an IPOD to listen to Podcasts
there is so much ignorance among the so called "tech savvy" guys. I was at an electronic retail shop recently and came across this interesting conversation between the sales guy and a middle aged customer. The sales guys basically told his customer that he needs the best(expensive) IPOD to be able to listen to Podcasts. Normally, I would not venture into some private conversation but this time I had to barge in..
Is there a moral in this story?
General
10/4/2006 5:29:15 AM (GMT Daylight Time, UTC+01:00)
|
|

Friday, September 29, 2006
QA Testing
QA testing of software application is always a boring task for programmers. what is fun in it, when you know how to make it work correctly. The real fun begins when the tester or worse the client lets you know about a bug. no matter how much you test it, if you are the developer of what you are testing you are bound to miss it.
Take a look at this long list of "Did i Remember to?" from Michael Hunter.
It is an extensive list of things to check before shipping/deploying something to production.
General
9/29/2006 4:31:53 AM (GMT Daylight Time, UTC+01:00)
|
|
UPDATE
work has been pretty busy lately. so couldn't find time to do any pet projects. hence no bloggin. this is one of unintentional/unavoidable breaks i had to take. i hope to be back soon..
General
9/29/2006 3:56:36 AM (GMT Daylight Time, UTC+01:00)
|
|

Tuesday, September 12, 2006