• images
  • April 12, 2006

Darpan Gogia has an article on .NET Decompilation and Source Code Protection. I’ve used ildasm a few times before to look into the details of other peoples programs, but it never occured to me to use it to aid porting a project from one managed language to another.

I was kind of disappointed that he mentioned a rather poor product in the last section of his article that proports to provide protection for .Net assemblies by merely precompiling your IL to native code, thus losing any optimizations you might gain from JITing it on it’s intended platform. I’m hoping Darpan was just trying to be thorough in his article and doesn’t seriously endorse this stuff.

My webhosting company is very good, but for some reason they have this one nickel and dime feature. I can have as many domains as I want pointed to the root directory of my account. However, if I want to point a domain to a subdirectory of my account, they want to charge an additional $15/year. Since I have 4 different domains (soon to be five) pointed to my account and being OCAR (obsessive compulsive anal retentive) I was driven to find another way to do this and save myself the annual $60 tax for being lazy and stupid. So what did I do? I start hacking. Most of my techie friends and I use the term hacking to discribe the process of trying to jury-rig a solution together to work around the limits of a technology.

I had seperately decided to use WordPress on each of my sites to make updating quick and easy. During the installation I read in the online documentation (Real men may not read directions, but real geeks at least scan them) that you could share the same database with multiple installs by merely changing the table prefix in the wp-config.php file. So I was thinking if I could just hack the wp-config.php to change the table prefix based on which domain I came in on, I’d have me 5 websites all running on one hacked installation of WordPress. The first thing I needed to do was learn some PHP. It took me less than a second to google extensive documention on PHP including a few samples that I could cut and paste into an index.php and upload and run on my site. In under an hour I had pieced together the code and had everything up and running. The reason I call this hacking is because before this, I knew nothing about PHP and now I still know almost nothing, but it works. 🙂

  • images
  • March 19, 2006

GPS on a train

While riding a train from Seattle down to Los Angeles, I was surprised to find a Windows desktop computer with a copy of Microsoft Streets and Trips connected to a GPS. You can’t really see the screen well in the photo, but it sure was nice to be able to show the kids where we were and how far we had left to go. The trip took almost 40 hours, so you can imagine how nice it was to be able to answer the “Are we there yet?” question. I found out later that this wasn’t provided by the railroad company but rather a conductor had seen the Microsoft Streets and Trips GPS bundle at Costco and bought it to install on an old home machine for the passengers. What a neat guy.

  • images
  • March 11, 2006





Most of my friends don’t believe me when I tell them that my kids favorite restaurant is Sushiland. They love the conveyor belt thing and they are willing to try stuff I won’t even eat. I didn’t start eating Sushi myself until I starting working in the Windows division at Microsoft. The only thing my co-workers would do together outside of work is eat Sushi, so I learned to enjoy it. Now the whole family get excited if I suggest going out for dinner.