Robert is a voracious reader, Ruby aficionado, and other big words.

Robert's articles

  1. Common Trip-ups for New Rubyists, Part I

    Once internalized, Ruby is a fairly straightforward language. Until that happens, however, many potential converts are turned off by some of its more unusual aspects. This series hopes to clear up some of the confusion that newcomers face when learning Ruby. There will be an attempt to adhere to the RDoc notation for describing methods: […]

  2. GUI Applications with Shoes

    If you’ve been coding in Ruby for any length of time, you’ve probably at least heard of Shoes. Shoes is a DSL / GUI toolkit originally developed by the famed _why The Lucky Stiff. It’s also the basis for the Hackety Hack program that helps users learn Ruby and GUI programming. You can find the […]

  3. Parsing with the Parslet Gem

    Parsing is…complicated. And yet, we wouldn’t have many facets of the modern world without it. Our ability to get behavior out of a computer is limited by the expressiveness of our programming languages. And the programming languages available to us are limited by our parsing techniques. The construction of a programming language consists of at […]

  4. Forking and IPC in Ruby, Part I

    I like to think of forking as the underdog of the concurrency world. In fact, at this point, many programmers have probably never even heard of it. The term “multithreaded” has almost become synonymous with “concurrent” or “parallel.” The fork() system call creates a “copy” of the current process. For our purposes in Ruby, it […]

  5. A Guide to Ruby Collections IV: Tips and Tricks

    This entry is part 4 of 4 in the series A Guide to Ruby Collections

    This entry is part 4 of 4 in the series A Guide to Ruby Collections This is the last article in the Guide to Ruby Collections series. I want to finish up by providing some miscellaneous tips that you will hopefully find helpful during your Ruby adventures. More Detailed Array Creation In the introduction to […]

  6. A Guide to Ruby Collections, Part I: Arrays

    This entry is part 1 of 4 in the series A Guide to Ruby Collections

    This entry is part 1 of 4 in the series A Guide to Ruby Collections Programming consists largely of sorting and searching. In an older language like C, you might be expected to write your own data structures and algorithms for these tasks. However, with Ruby these constructs have been abstracted away in favor of […]

  7. A Tour Through Random Ruby

    This article covers various ways that you can generate random (usually pseudo-random) information with Ruby. Random information can be useful for a variety of things, in particular testing, content generation, and security. I used Ruby 2.0.0, but 1.9 should produce the same results. Kernel#rand and Random In the past, a random range of numbers might […]

  8. Winewatcher – Desktop Notifications in Ruby

    For the uninitiated, Wine (Wine Is Not an Emulator) is “a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, Mac OSX, and BSD.” It’s called “Not an Emulator” for a reason – instead of simulating an entire operating system in a virtual machine, it translates API calls in […]