Explorations of specific application domains, such as UNIX systems programming, or e-commerce.
Category: Applications
Episode #098: Gem-Love Part 9
In today's concluding slice of this live-coding session, I wrap up my work on adding users to Gem-Love by TDDing the server side support for API keys. This is a …
Episode #097: Gem-Love 8
As I continue to add the concepts of users to Gem-Love, I tackle the problem of making the client side auth-token aware. This is a live episode, so there is …
Episode #096: Gem-Love 7
In this continuation of episode 95, I finish writing new acceptance test helpers, and get to my first proper test failure. This is a live episode, so no script today. …
Episode #095: Gem-Love Part 6
Diving back into my Gem-Love project, today I begin the process of adding users to the system. Because this is a larger feature, it will be split across multiple episodes. …
Episode #088: Gem Love Part 5
In this continuation of the Gem-Love project, I complete the end-to-end acceptance test, verifying that the client can talk to the server. Source code here: https://github.com/avdi/gem-love/tree/rubytapas-088 Just a reminder, I'm collecting …
Episode #078: Tail Part 7: Cooperating Objects
In a final refactoring to our pseudo-tail(1), we use an enumerator to encapsulate the process of searching text chunks for newlines.
Episode #077: Tail Part 6: Process As Object
Continuing to refactor our minimal tail(1) implementation, today we clean up a loop by encapsulating its state in a new object.
Episode #076: Tail Part 5: Idiom
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 …
Episode #074: Tail Part 3: #rindex
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.