Today, in an episode requested by Admiral Akbar, we're going to delve into signals and, (of course) traps.
Guest chef Peter Cooper drops some binary science in today's episode!
Today's episode tackles a subject I've always wondered about: how accurate is Kernel#sleep?
In this episode we'll mimic the behavior of command-line tools like Git that automatically page their output if they detect that they are being run from a terminal.
In a final refactoring to our pseudo-tail(1), we use an enumerator to encapsulate the process of searching text chunks for newlines.
Continuing to refactor our minimal tail(1) implementation, today we clean up a loop by encapsulating its state in a new object.
So far, our reimplementation of tail(1) bears a striking resemblance to the style of code we might find in the C implementation of the same utility. In this episode we'll …
We've figured out how to read chunks of text backwards from a file, now it's time to tackle searching that text for the beginnings of lines.
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.