Week of 2008-11-01 17:00 to 2008-11-08 16:59

Change in behavior with Ruby comments in ERB

I ran into an interesting problem while working on a Rails project. The website was rendering incorrectly on my home machine but was fine on the server. After an hour or so of going through the code I finally got wise and used wget to download the pages and diff to find the differences. This proved effective as I found the section on html not being rendered. Of course, that didn’t answer why that section wasn’t being rendered. I finally found it was related to the fact that there was a comment in the code above it. Here are the details.

Looking at inexpensive sata controller cards

I have some older systems that need new hard drives. I came across a great deal on hard drives with the caveat that they were sata. Well, I would prefer sata drives in the machines for the cabling if nothing else. However these systems didn’t have sata ports so I decided to try and find out if I could find a sata controller card that was cheap enough to not ruin the value of the drives. It’s not easy to find out what chipset most cards use and then check the Linux compatibility but here’s what I found.

Creative Commons License Except where otherwise noted, content on this site is licensed under a Creative Commons by-nc-sa 3.0 License