Beck Design Rules

Kent Beck came up with his four rules of simple design while he was developing ExtremeProgramming in the late 1990's

More

Using open-uri? Check your code - you're playing with fire!

Ruby's OpenURI is an easy-to-use wrapper for net/http, net/https and net/ftp. As far as I know it's the most popular way to read URL content, make a GET request or download a file. require "open-uri" internally patches Kernel.open leaving you one step away from remote code execution and reading local files! Here are some examples.

More

The Self-Pipe Trick Explained

The self-pipe trick is a cool Unix hack. It's a great example of combining some simple building blocks into a reliable solution. This article will help you wrap your head around it, building up an understanding of Unix signals, pipes, and IO multiplexing in the process.

More