Monthly Archive for October, 2009

Finally, Someone Agrees with me About ORM

Way back in 2006, I spent a week or so trying to use ORM in a project I was working on, only to discover that rather than making my life easier, it constantly prevented me from doing what I wanted to do. I spent an inordinate amount of time trying to convert SQL queries into ORM, but I kept ending up with slower, more complicated messes. And since this particular project required me to pull information out of very large databases very quickly, I was never completely comfortable trusting an abstraction layer to optimize SQL queries as well as I could.

It’s been a few years since I’ve developed software full-time, but since I still encounter articles about how great ORM is, I figured that either the situation has improved since then, or maybe I was just too stupid to harness the power of ORM. But then I found someone who has come to the same conclusions I did way back in 2006, and has written about them a lot more eloquently than I did in my original rant. At least I’m not alone anymore!

Failed Hard Drive

Ugh. I woke up this morning to a hung server caused by a failed hard drive. I sure am glad I bought two! I’m still not sure why one failed drive in a RAID array would cause my server to hang, but I have a strong suspicion it has something to do with my crappy no-name SATA controller. The machine would not boot up past the Grub prompt with both drives connected, but if I removed the failed one, everything worked fine again. Annoying!