Array-ifying Values

I can’t remember if I’ve written about this before. On the assumption that I haven’t, I’ll forge ahead. As I’ve mentioned in the past I hate null checks. They clutter…

Read More

My WebOS Makefile

One of the first things I do when developing with a new framework is automate as much as I can. When it comes to automating builds, GNU Make is still…

Read More

Programming WebOS

I’ve been too busy to blog lately. No deep technical content this time, but I thought an update was in order. A while back I decided I wanted to try…

Read More

Recursively Symbolize Keys

Given a YAML stream that looks like this: — drinks: martini: garnish: olive gibson: garnish: onion The Ruby-fied version looks like this: {“drinks”=>{“gibson”=>{“garnish”=>”onion”}, “martini”=>{“garnish”=>”olive”}}} But we don’t like string keys,…

Read More