Rake Part 4: Pathmap

Continuing our series on Rake, today we look at one of its most powerful (and little-known!) features Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | Leave a comment

Rake Part 3: Rules

In this episode, we teach Rake how to intelligently discover the right source file for a given target. Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | Leave a comment

Rake Part 2: File Lists

How to pick out all the files we want, and none we don’t, using Rake’s FileList class. Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | 4 Comments

Rake Part 1: Files and Rules

Part one of a series on the Rake build utility. In this post we start with Rake basics. Continue reading

Posted in Ruby, RubyTapas Samples, Screencasts | Tagged , | Leave a comment

How to Suck at Conference Talks

Justin Searls pinged me on Twitter asking if I had anything to add to his advice on building and presenting conference talks. First off, go read his article. He’s clearly put more thought into this stuff than I have. It … Continue reading

Posted in Presentations | 2 Comments

Why does Amazon hate ebook authors?

In theory, Amazon has been a boon to ebook authors. They created the world’s first widely-accepted dedicated ebook reader hardware. Their Kindle Direct Publishing program makes it easy for self-published authors to get their stuff featured next to works from … Continue reading

Posted in Books, Rants | 9 Comments

Rumors of Ruby’s Demise

Periodically someone on the Internet becomes aware of concurrency-oriented programming languages like Erlang or Scala, and climbs up the bell tower to sound the “is Ruby dying” bell. This topic came up on Parley recently. A few people asked me … Continue reading

Posted in Rants | 25 Comments

Why DuckDuckGo is better for web development, a pictorial guide

Selection_062

(Click for larger version)

Posted in Tools | Tagged | 6 Comments

The Passion Gospel

Warning: reading the following may render you unemployable at some startups. Continue reading

Posted in Rants | Tagged | 31 Comments

Playing with JSON in Postgres

I can fetch a JSON list of subscribers like this: curl -u $API_LOGIN:$API_PASSWORD https://example.org/subscribers 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. cat subscribers.json | … Continue reading

Posted in Howto | Tagged , , | 3 Comments