This is my last post in the Code Safari series here on Ruby Source. I have really enjoyed writing it and trying out a new format which I hope you have found useful. For my concluding article, I want to leave you…
Continue Reading… Last week I came across an excellent presentation from the Scotland Ruby Conference: “Literary Criticism for the Idle Programmer” by Roland Swingler. It introduced me to a crazy little ruby script that allows you to write programs entirely in underscores! That’s a…
Continue Reading… A few weeks ago, I wrote an article about splitting out work to be done into threads to improve performance of a URL checker. A commenter noted that the parallel gem could be used to achieve the same result, which got me…
Continue Reading… Last week we started working through the implementation of HAML, a popular templating language for HTML. We got through the parsing step, leaving the compile step to cover this week. If you haven’t read the previous article, I encourage you to do so now. This article will make a lot more sense that way
Continue Reading… With the recent release of HAML 3.1, I decided to venture into its depths to figure out what makes it tick. What beasts lurk in the bowels of a templating system?
Continue Reading… Randomly failing tests and specs are the bane of any developer’s existence. Sometimes, you just need to break out the spelunking tools and investigate the bugs yourself. In this week’s Code Safari, Xavier dons the safety helmet and explores the inner workings of one of the most popular Ruby testing tools—Selenium.
Continue Reading… For those of us used to the plush comfort of Ruby land, dropping down to C is a scary prospect. The spectre of segfaults haunts the boundary, forcing unprepared travellers to turn back at the first glimpse of a semi-colon. Thankfully, Xavier is here to guide us into the murky depths with his latest episode of Code Safari
Continue Reading… In this week’s episode of Code Safari, Xavier digs into the `nanoc` gem and uses `Lingua` to analyse the readability of his writing.
Continue Reading… In this week’s Code Safari, Xavier reaches into his bag of Ruby tricks and explores some of the features of the Ruby standard library—namely, Threads.
Continue Reading… Continuing with his Code Safari series, Xavier Shay unravels the eight sublimely obfuscated lines of code which make up the pico-framework that is Almost Sinatra
Continue Reading…