Legacy blog (2004–2016). This blog is no longer updated. For current content, visit DigitalHobbit's RPG Blog (tabletop RPGs) or GammaVibe (engineering & entrepreneurship).

YAML validation using Kwalify

Recently I've been using YAML files along with some Ruby scripts as a simple and convenient mechanism for importing content into our database. The YAML files will be maintained by content authors, and one of the questions that came up is that of validation. Luckily, there's a very nice solution in form of Kwalify, a small schema validator for YAML....

October 4, 2005 · 2 min · 278 words · DigitalHobbit

Ruby Support for Eclipse

The last time I mentioned the RDT (aka RubyEclipse) project about two months ago, I thought that development on this otherwise promising project had stalled. Since then I've started lurking on the RDT development mailing list, and I was happy to notice that the project appeared to be picking up speed again....

September 29, 2005 · 3 min · 535 words · DigitalHobbit

Pragmatic Fridays

Dave Thomas just announced a new Pragmatic Bookshelf series called Pragmatic Fridays. I have no idea what inspired the name "Friday" in this context, but a Pragmatic Friday is a short (60 - 100 pages), low-cost ($7.50 - $10), and focussed book on a specific topic. The books are available for download in PDF form only, and as with all downloadable Pragmatic Bookshelf titles, they contain no DRM....

September 28, 2005 · 2 min · 269 words · DigitalHobbit

Ruby GUI Support

I generally try to stay away from writing GUI applications and focus on server side development instead. Still, every once in a while I have an idea for a GUI tool that I'd like to build. My previous post on the upcoming Rapid GUI Development with QtRuby book prompted me to (once again) look into the available GUI toolkits for Ruby....

September 28, 2005 · 4 min · 733 words · DigitalHobbit

ActiveRecord Migrations

Here is a nice post on getting started with ActiveRecord migrations. I haven't played with it yet, but this definitely looks very useful. On my current Rails project, I've been going back and forth between using MySQL and using SQLite (although I'm probably sticking with SQLite for now), and I've had to manually keep the SQL schema creation scripts in sync between the two databases....

September 27, 2005 · 1 min · 126 words · DigitalHobbit