As we continue to rewrite a subset of the UNIX tail(1) command, we learn how to write a do...while loop in Ruby.
Tag: systems
Episode #072: Tail Part 1: Random Access
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 …
Episode #065: FFI Part 7: The Last Refactor
Factoring out a high-level interface for PulseAudio.
Episode #061: FFI Part 6: PulseFFI Awakens
Tieing methods together with the Composed Method pattern.
Episode #060: Ascend
Now that we've been formally introduced to the Enumerator class, it's time to apply that knowledge in a concrete way. In this episode we use Pathname and Enumerator to locate …
Episode #058: ARGF
This episode explores ARGF, a powerful object for working with input files in command-line programs.
Episode #057: FFI Part 5: The Mock API
Test-driving some more methods in our PulseAudio library.
Episode #054: FFI Part 4: Test of the Mainloop
Beginning on the implementation of a Ruby PulseAudio API.