Unhandled exceptions got you down? In today's episode we'll look at some alternatives for when things go wrong.
Tag: data
Episode #317: Transpose
Working with two-dimensional arrays can be a hassle. Today we'll learn about a method that can help.
Episode #315: Random Seed
It may seem counter-intuitive, but sometimes we need randomness to be predictable. Today's episode explores how we can accomplish this, and why we might want to.
Episode #311: Secure Random
Today we'll learn a little more about the SecureRandom module.
Episode #291: Advanced Chunk
Today we continue our look at the Enumerable#chunk method, this time applying it to the problem of a streaming network protocol.
Episode #290: Chunk
Chunking streams of data by some criterion is a technique with a broad range of applicability. In today's episode, we'll learn about Ruby's approach to chunking.
Episode #288: Partition
Today's is a quick episode about efficiently splitting a list into high- and low-priority subsets.
Episode #285: Flat Map
Today we look at how we can tighten up our code with the #flat_map method.