First off I am loving the book. Great job and very much needed.
In the Riak chapter I found it frustrating trying to get the JS functions into cURL via stdin (because I make typos every second line). I found it much easier to put my JS in a file and then @my_file.js instead of @- to pass it to cURL. Just a thought.