Episode #229 - December 9th, 2011
The 2011 Ruby Year in Review, RailsConf Videos, yslow from the command line, scaling mysql, HumaneJS, rein, GroupedScope, FireCSS, and your usual witty commentary on this episode of Ruby5
This episode is sponsored by New Relic
In an effort to provide you ever more information about your servers, NewRelic now employs the researchers formerly associated with the CIA's 'remote viewing' program. Select customers will now see a 'clarvoyant eye' on their dashboard that will show them future events on their server so they can plan accordingly. Going to run out of disk space next June? Is the data center going to have a router failure next Saturday at 2:36 am? You can now plan ahead rather than being woken up by your pager. Well, maybe not, but it sure feels like it sometimes. NewRelic now offers three kinds of monitoring in one tool - Real User Monitoring, Application Monitoring, and Server monitoring. If there is a piece of data to collect someplace between the seek time of the hard drive and your user's chair, NewRelic can get it for you.
Peter Cooper provides us with a month by month recap of the biggest Ruby stories of the year.
Confreaks are at it again... The RubyConf 2011 videos are out for your viewing pleasure. Yes, the audio says 'RubyNation' - Arild and I messed up - its understandable though - we are both in the middle of planning RubyNation 2012 so it was an easy slip up to make in recording.
YSlow is a great firefox plugin that grades your website on things that affects page load time. Now its available as a command-line tool.
The MySQL team at facebook has release a 2+ hour video from a presentation about scaling mysql. tl;dv, so if you find a gem, leave it as a comment in the show notes with a time marker.
Rein is a gem for adding constraints to your database. If you work in a situation where you need foreign key constraints for mysql or postgres, this can give it to you. But if you're using postgres, you can also contrain integers and dates to ranges, and strings to pre-set values.
This isn't too big a deal, but its more than trivia... The RubyGems website lost some data regarding download counts recently. Nick Quaranto described what went wrong in this postmortem. Thanks for sharing that Nick - I'm really happy to see efforts like this (as well as recent entries from Heroku and Github) that allow all to learn from the mistakes we all make.
GroupedScope provides an easy way to group objects and to allow those groups to share association collections via existing has_many relationships.
With FireCSS you can edit html and css in Firebug for Firefox and see the changes as you edit
Thanks to the efforts of 2000+ developers around the world who are interested in increasing their own mad coding skillz, the 2011 Global Day of Code Retreat was a resounding success. Thanks Corey, for championing such a great event!