Explorations of specific application domains, such as UNIX systems programming, or e-commerce.
Marching right along in our reimplementation of UNIX tail(1), today we tackle the problem of dumping the tail of the file to STDOUT once we've found the starting point.
As we continue to rewrite a subset of the UNIX tail(1) command, we learn how to write a do...while loop in Ruby.
This episode kicks off a short miniseries on re-implementing a small subset of the UNIX "tail" command in Ruby. We'll start by learning how to jump around to arbitrary positions …
The last Gem-Love episode had me creating a command-line client. This time around, I use Rack and Sinatra to build a simple server. Source code can be found here: https://github.com/avdi/gem-love/tree/rubytapas-069
Web services are slow to request and often have rate caps. A cache can cut down on requests to remote APIs. But how best to design the interface between the …
Factoring out a high-level interface for PulseAudio.
Returning to my Gem-Love project in this episode, I use TDD to drive out a client-side implementation for the first feature. In the process, I talk about message-first design. Check …
Tieing methods together with the Composed Method pattern.
Test-driving some more methods in our PulseAudio library.