Skip to content

Monthly Archives: December 2008

How to drive interest in Computer Science

Obviously we’ve been doing it wrong. Which would you rather read?    Check out the other alternative book covers. [via Dave Thomas's blog]

Integrating Timeline with Google Spreadsheets

You’ve just finished learning all about Timeline, you have a working example on your own website, and you’re dreading having to manage an XML or JSON eventsource file. One good solution is Google Spreadsheets – you can manage your events in a standard spreadsheet, then export them in JSON format to Timeline. Even better, Google [...]

Fix Apache on Mac OS X Leopard (10.5.x)

The Apache installed on Mac OS X Leopard (10.5.x) is initially configured extremely conservatively, at first glance it appears broken when you try to visit your user account directory and you get: This is supposed to display the contents of /Users/jpeacock/Site To fix this you need to add a directory configuration for your user account [...]

RoR: acts_as_versioned

I’m jump-starting this new blog by copying over the one tech post I have from my personal site. Enjoy! acts_as_versioned is pretty awesome..but it lacks documentation regarding how it interacts with optimistic locking. If you have a column named lock_version, then ActiveRecord will use optimistic locking. (yay!) But it also means that acts_as_versioned will not [...]