Monthly Archives: April 2008

CoolMax CN 350 NAS

I recently picked up the CoolMax CN-350 NAS for only $20 after a $30 mail-in rebate and a $10 Google Checkout signup bonus. So far I have been pleased with the device. It comes with the following noteworthy features.
* Fast Ethernet (100Mbps)
* USB2
* CIFS/SMB or FTP access (network)
* Attached [...]

Okay, I am done with RadioShack forever

I wander into my local RadioShack for a simple RCA to S-Video adapter (or SVHS). After looking around, I ask the lady and she finds one for me. It looks unimpressive enough. I ponder a cable to plugin to it, since the original one being replaced was male to female and this [...]

gnump3d and downsampling mp3s

Recently I discovered gnump3d. It supports downsampling, which is a feature I especially need. However, the example reencoding command for handling MP3s doesn’t seem to work. Instead, I am using a different variant.

downsample_medium_mp3 = \
/usr/bin/sox -t mp3 $FILENAME -t wav - | /usr/bin/toolame -b 128 - -

The original uses [...]

TigerDirect CompUSA spam

What a perfect marriage. I never liked CrapUSA. It seems TigerDirect has bought them out, and now I am getting weekly spam about the CrapUSA store re-openings. I honestly don’t care. I unsubscribed — supposedly — after receiving the second email about them, but today I have yet another. Supposedly [...]

Rails STI resouce routes routing

After hours of Googling and an ill timed browser reload while typing this the first time, I finally happened upon RoR ticket 10454 which details the problem I am having with inferred routes and STI models. I modified it to supposedly support any level of model nesting. Seems to work now. I [...]

DokuWiki and HOWTO migration

Since I deployed DokuWiki last fall, I’ve found it to be an excellent tool for managing documentation. It enhances the quality of the final documentation product whilest not getting in the way of writing it. I rather enjoy it.
I am now migrating some of my existing HOWTO documents over to the wiki. [...]

has_many :through and with_scope protected

If you were following the excellent has_many :through blog, you may find you can’t use with_scope in the methods defined on your association. Instead, just send :with_scope along.

has_many :active_campaigns, :through => :campaign_distributions do
def