Visualizing Thoughtbot’s OSS Ruby Inkling markets

by aaron

Last month, Thoughtbot decided to enable my gambling addiction by opening up an open-source prediction market to answer all the questions that keep you up at night like:

  • Who will win a Ruby Heroes Award at RailsConf 2009?
  • Which RESTful controller project should I use?
  • Which state machine project should I use?
  • What am I going to wear tomorrow?

What gambling addiction? You play poker by betting “pretty” colors.

To help visualize how these markets are playing out and for the obsessive compulsive, I wrote a little jQuery plugin which pulls the real-time follower data down from GitHub and generates a Google Chart with it (it’s a hack, I’ll admit it). Now you can see who’s the market leader faster than it takes for a flame war to start involving the words Twitter and Ruby.

Check it out (may take a second to load):

And all of that can be accomplished through just a little snippet of javascript:

<script type='text/javascript' src=""></script>
jQuery(function() {
  jQuery.rubyMarkets('#market-examples', [
    'RESTful controller',
    'state machine',
    'gem creation'

I’m most intimidating if I leave my cards face up in poker. No one else thinks so.

Unfortunately, it would appear as of today that Thoughtbot’s Inkling markets account expired and you can no longer participate. Fear not, I’m sure they’re aware of it. Update: The markets are back. Don’t forget, there’s a $1,295 value prize on the line for those of you making good bets. In the meantime, you can see a full visualization of the markets (using the above plugin) and their respective leaders here:

Open-source Ruby Prediction Markets

Feel free to embed these graphs on your own website using the plugin. Wear your market badge proud. Show those wall street brokers who’s boss.


One Response to “Visualizing Thoughtbot’s OSS Ruby Inkling markets”

  1. gabriel on April 12th, 2009 6:58 am

    Nice use of the github api. I also just wrote up a github api-based bookmarklet wrapped as a jquery plugin: