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…

Read More

Dotenv for multiple environments

Lately I’ve been handling configuration entirely through environment variables for my apps, as the 12 Factor App recommends, and I can’t recommend this approach enough. As a constraint it helps…

Read More

Debugging an HTTP Client Library

I’ve been trying to use Benoit Chesneau’s hackney library to hit the Wistia API from an Elixir program. Between the fact that hackney is still under rapid development, and the…

Read More