Thursday, November 23, 2006
- Nooo!
 
That was what startled me from my TV viewing. It was coming from my wife in the bathroom where our oneyearold had just run in. I thought no more of it. It's not like that's really unusual.
 
- Shit! Ohhh! My Goood!
 
Ok. This was beginning to sound like a bit more than nothing. What's the matter, I asked.
 
- Shit! Your cellphone! He dropped it...
 
Oh..
 
- Into the bathwater!
 
OH! Crap! I ran in there. She had already picked it up and was drying it off with a towel. And my son was just standing there watching the action like he was getting the answer to his question: "I wonder what happens if...". I was ready to throw the baby out with the bathwater, literally.
 
Luckily, the phone made it. It was completely soaked in soapwater and baby oil, but after drying it properly in front of the air conditioner it's been working just fine.
posted on 11/23/2006 2:42:42 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]
 Wednesday, November 15, 2006
"The excellent developer and my former schoolmate Bent André Solheim just posted this great blogpost about two of my favorite refactoring techniques: Guard Clauses and Composed Methods. This is stuff that I can really recommend using. I've been using these techniques for a while and they really do make your code easy to read and maintain, and it has less bugs because of it."
posted on 11/15/2006 9:28:31 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]
 Friday, November 03, 2006
Have you ever wanted to debug some .Net code that you have running in some other process that you just can't get into? I recently had the problem with Custom Actions in a Windows Installer. The custom action is a .Net Installer class that I wanted to debug. But I couldn't just attach the debugger to the running msiexec instance. It wouldn't hit my breakpoints.
posted on 11/3/2006 2:43:47 PM (W. Europe Standard Time, UTC+01:00)  #    Comments [0]