05.06.08

Posted in Rants at 8:05 pm by jasonb

The current economic climate in the U.S. is causing downsizing of customer options in leiu of price increases. Recently, Subway nuked the small drink size option. Panera no longer allows a half sandwich order. It’s a defacto price increase. Store hours are among the casualties, too.

04.25.08

Posted in Rails at 1:44 pm by jasonb

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 was female to female. She starts to grab one of those expensive monster cable sets, but I waive her off.

Read the rest of “Okay, I am done with RadioShack forever” »

04.24.08

Posted in Quick Guides at 1:12 pm by jasonb

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.

Read the rest of “gnump3d and downsampling mp3s” »

04.21.08

Posted in Rants at 6:28 pm by jasonb

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 I am unsubscribed, again.

Read the rest of “TigerDirect CompUSA spam” »

04.12.08

Posted in Rails at 12:23 am by jasonb

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 inserted it into my environment.rb presently.

Read the rest of “Rails STI resouce routes routing” »

04.05.08

Posted in Quick Guides at 10:49 pm by jasonb

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.

Read the rest of “DokuWiki and HOWTO migration” »

04.01.08

Posted in Rails at 12:35 pm by jasonb

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.

Read the rest of “has_many :through and with_scope protected” »

12.14.07

Posted in Rants at 4:33 pm by jasonb

I was flipping through craigslist today and came cross a job posting for Web Freaks worthy of a ticket to planet clue. Let’s take a trip down the rabbit hole.

Read the rest of “Hilarious craigslist job post for Web Freaks” »

12.03.07

Posted in Rants at 11:57 pm by jasonb

Today I received my third email from someone claiming to be a Daniel Suarte, writing about filing open IT positions. However, I’ve never heard of this person before and I have no company or positions to fill. Clearly, this lamer is a spammer. He’s posting from a gmail account Daniel.Suarte@gmail.com. The email was not sent via gmail.

Read the rest of “Daniel Suarte, IT Services spammer” »

10.18.07

Posted in Rails at 5:16 pm by jasonb

Nothing fancy. It works.

Read the rest of “ed2k helper with Ruby” »

09.24.07

Posted in Money at 6:06 pm by jasonb

I’ve been investigating a switch from gnucash to Moneydance. There’s no way to export data directly from gnucash. Fortunately, someone wrote a Java app that will parse the XML and produce a basic QIF export with your accounts and transactions.

Read the rest of “Moneydance, cross-platform money tracking” »

08.16.07

Posted in Rails at 5:03 pm by jasonb

I download a prerelease of the latest Engines earlier in the summer with piston. My tests were failing in strange and magical ways. I spent quite a bit of time trying different things, then finally resorted to a fresh Rails app that I slowly populated with relevant files. Quickly I discovered the problem was my Engines plugin. I really thought I had the full release, but clearly not.

Read the rest of “piston saves!” »

08.11.07

Posted in JavaScript at 1:38 am by jasonb

Usually I love mootools, really. Usually. I found CSS Guy’s form field hints posting inspiring, so I modified it to work with mootools. The result is something simple and easy.

Read the rest of “mootools and form field hints” »

08.06.07

Posted in Rails at 4:25 pm by jasonb

I find myself having to validate an email address in a couple of different models. I’ve had to refine the pattern a couple of times, but don’t always remember to do it in every place, which is silly anyway. Since I don’t feel the need to delve into a new validation, like a validates_email_address or whatever, the following lets me simply reuse an existing validation in multiple places.

Read the rest of “dry model validations with class_eval” »

07.24.07

Posted in Rails at 11:14 pm by jasonb

Oh, I have such love for plugins that copy files around in production. I especially love it when the Rails app doesn’t have permission to write to the filesystem — why would it in production? — and Mongrel simply goes away. Running Mongrel without backgrounding it with start-stop-daemon reveals the trickery in action.

Read the rest of “ActiveScaffold and Mongrel death in production” »

« Previous entries ·