Today we look at a gem that can make command-line scripts more pleasant to use.
Category: Episodes
Episode #151: Sleep
Today's episode tackles a subject I've always wondered about: how accurate is Kernel#sleep?
Episode #150: Stats
Sooner or later you'll need to generate statistics from a collection. In this episode, we look at how to produce min, max, sum, average, median, and standard deviation from a …
Episode #149: Sum
Today's episode takes on a simple task--summing up a list of numbers--and uses it to demonstrate both the Enumerable#reduce method as well as Symbol#to_proc.
Episode #148: Rake Invoke
This episode looks at how to invoke Rake tasks from other programs.
Episode #147: Atomicity
Today's is another threading episode. This time around, we tackle the subject of "atomicity", and learn about the false assumption at the root of many threading bugs.
Episode #146: Monitor
Today we learn about the concept of a "recursive mutex" as we help a turtle-racing league update their software systems.
Episode #145: Active Object
Continuing with the general theme of threads and concurrency, today we look at another pattern for splitting up work in parallel.
Episode #144: Bulk Generation
In this episode we take some already-good code and make it even better.