Ruby makes it trivial to pass a block of code into our method calls. But what do we do when a method needs two blocks of code or more? In this week's Codebrawl, we challenge you to write the most elegant way to allow a method to take multiple blocks. Oh, and we have a great prize for the winner!
Because our last ChunkyPNG contest was a great success, we decided to do another one. In this week's contest, we compete for the best Ruby program to apply the selective color effect to an image. Who needs expensive photo editing tools? We're programmers!
This week, the challenge is to create your own formatter for RSpec 2. Your solution should solve a problem you’re facing with the existing formatters (like, I don’t know how long my specs are going to take or I don’t notice when my suite is done running) or you can do something completely crazy and funny. Good luck!
I'm sure you've seen the image diffs Github released last month, which is a really nice way to see the differences between two versions of an image. In this article, I'll try to explain how a simple image diff could be built using pure Ruby and ChunkyPNG.
Over the last few weeks, I’ve become increasingly interested in computer vision. After having some problems with existing libraries, I decided to dive in to figure out how it actually works. In this article, I'll explain how I did colored blob detection to detect a clown's nose in pure Ruby (using ChunkyPNG).
It's been a while, but I finally got a chance to release Navvy 0.3 (the database agnostic Ruby background job processor). In this announcement I'll cover some of the changes and new features 0.3 introduces.
Introducing Navvy; a simple background job processor inspired by delayed_job, but aiming for database agnosticism. Currently Navvy supports ActiveRecord, MongoMapper and Sequel but it's extremely easy to write an adapter for your favorite ORM. It completely supports Rails Edge and there's a pretty good wiki.