Method chaining has been all the rage lately and every database wrapper or aything else that’s uses queries seems to be doing it. But, how does it work? Let's figure it out!
At Codebrawl, we did an RSpec formatters contest before, but we're doing another one since a lot of you asked us to. Can you build the best RSpec formatter ever? Bring it on!
I published an article about slow spec helpers and loading dependencies in your Rails models, controllers, and initializers instead of letting Bundler pre-require everything all the time.
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).
I just published an article explaining how I tried to solve the problem of broken code being unable to test itself because it's broken. What do you think? :)
I wrote a short article on monday to announce StillMaintained, a simple Sinatra application that keeps track of open source maintenance states. Just log in via Github to add your projects. :)
An article about RSpec's fail_fast configuration option and command line argument that make RSpec immediately stop running after the first failure occurs.
Another article about why I'm still having issues with gem builders and .gemspec files and why I think you should consider using Bundler to bootstrap your RubyGems.
Bundler made gem dependencies in Rails projects a lot easier, but what about gems themselves? In this article I show you how Bundler makes managing your gem's gem dependencies a breeze.
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.
Yesterday I wrote “.gitignore your *.gemspec”, in which I suggest to stop putting .gemspecs in gem repositories.
Yehuda Katz replied with “Using .gemspecs as Intended”, in which he explains why you should put them in your repositories to be able to install gems from git.
Today I published “Don't put your *.gemspec in your Rakefile”, in which I explain myself some more and revisit some of my previous statements asking myself why I generated my .gemspec in the first place.
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.