Menu Sidebar


Playing with JSON in Postgres

I can fetch a JSON list of subscribers like this:

Then there’s jq, which is basically AWK for JSON. The following invocation simply breaks a top-level JSON array into an object per line.

And then there’s Postgres, which has a COPY command that will (by default) accept a row per line, with columns […]

Linkdump #5

What would Feynman do? – Fabulous Adventures In Coding – Site Home – MSDN Blogs One of the most entertaining software development articles I’ve read in a long time. tags: development feynman No one I know at Microsoft asks those godawful "lateral-thinking puzzle" interview questions anymore. Maybe someone still does, I don’t know. But rumour […]

Virtuous Code

"The three virtues of a programmer: laziness, impatience, and hubris" — Larry Wall

Books and Screencasts

RubyTapas Screencasts

RubyTapas Screencasts

Small plates of gourmet Ruby code.

Confident Ruby

Confident Ruby cover

32 Patterns for joyful coding.

The Making of

Confident Ruby cover

Watch me build an app in Sinatra and Rails

Objects on Rails

Objects on Rails

A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.

Exceptional Ruby

Exceptional Ruby

The definitive guide to exceptions and failure handling in Ruby.