Issue #18 - December 2, 2010
Welcome to issue 18 of Ruby Weekly. Reader Alexander Gromnitsky rightly pointed out to me this week that MailChimp - the service I use to send Ruby Weekly - keeps an archive of old newsletter issues automatically. I'm still looking to have them on the RubyWeekly.com site itself, but that should make a good stop gap for now if you want to see back issues (issue 4 onward).
This week's top news
RubyMine 3.0 Released: A High Quality Ruby and Rails 3.0 IDE
This week, JetBrains (of IntelliJ IDEA fame) released RubyMine 3.0, the latest version of its cross-platform Ruby and Rails IDE. It's commercial and cross-platform (Linux, Windows, OS X) and includes a custom Ruby debugger, version control integration, and strong test library support. I'm not into IDEs, but RubyMine always seem to pick up good user reviews, so it's worth checking out.
MacRuby Aiming for 1.0
In a briefing to the MacRuby developers' mailing list this week, Laurent Sansonetti outlined the way forward for MacRuby and an ultimate 1.0 release in 2011. Of note is a 'bug smash' day scheduled for Saturday, 6th December that you might like to take part in.
RailsConf 2011: Call For Proposals Now Open
The call for (speaking) proposals has opened for RailsConf 2011 (May 16-19, 2011 in Baltimore, MD). RailsConf is the largest official Rails conference and chairs Chad Fowler and Ben Scofield are inviting proposals for conference sessions and tutorials. The due date for all proposals is February 17, 2011.
This week's top articles
Pragmatic Programmer Magazine: Special Ruby Issue
The Pragmatic Programmers have put together a 'special Ruby issue' of their monthly PragPub magazine, including features from Dave Thomas, Andy Hunt, and Paolo Perrotta. There are 9 articles to read and you can read them all on the Web without signing up, so check it out.
Refinements in Ruby
At RubyConf 2010 Shugo Maeda talked about Refinements, a proposal for a new feature in Ruby that allows you to easily override methods without affecting other parts of your program. Mangus Holm takes us on a tour of how refinements work.
Ruby 2.0 Refinements in Practice
Separately to Magnus's writeup of Refinements (above), Yehuda Katz casts his experienced eye over the proposed language addition and shows off a few Rails-specific improvements they could facilitate. Of note are the comments, particularly one by Charles Nutter of the JRuby project in which he links to his critique of the feature from an implementation development standpoint.
JRuby, Windows, and C Extensions
You've found a really useful RubyGem but can't use it on your JRuby Windows machine because it's a native C extension. Except.. you can! Jon Forums shows you how.
Latent Semantic Analysis in Ruby
Joseph Wilk elegantly demonstrates how to perform Latent Semantic Analysis (LSA) in Ruby. LSA is a mathematical method that brings out latent relationships in a collection of documents. Rather than looking at each document in isolation, LSA uses all the documents and the terms within them to identify relationships.
Getting hired: fog edition
Wesley Beary of Engine Yard demonstrates how to use the 'fog' cloud computing library to make yourself more hirable by uploading your resume to S3, Rackspace CloudFiles and Google Storage. The conceit is just to demonstrate how easy 'fog' makes it to interact with multiple cloud services with a single API.
Unit testing Cocoa code with MacRuby
Juri Pakaste briefly talks about the state of running tests on Cocoa apps and announces 'RCRunner', a GUI-based test runner for MacRuby and Cocoa.
Basic Deployment with Capistrano Screencast
Charles Max Wood of Teach Me To Code presents a 7 minute introductory screencast to setting up a basic deployment process for a Rails 3 app with the popular Capistrano tool.
Interesting new libraries and code
RubyDrop: A Dropbox Clone in Ruby
RubyDrop is an open source Dropbox clone based on Ruby and Git. It only tackles the basics of the file syncing features that have made Dropbox popular but shows promise as a longer-term project.
Picky: The Ruby small text search engine
Picky is a new Ruby-based 'small text' search engine built by Florian Hanke. It's well suited for cases where you have limited amounts of categorized data you want to search but without the overhead of Solr or Sphinx. Florian's put together a great site about it and there's even an 8 minute screencast and a 25 minute presentation from EuRuKo 2010 about the tool.
BigTuna: Rails 3-based Continuous Integration Software
BigTuna is a simple continuous integration server built on Rails 3 by Michal Bugno and Antek Piechnik. It allows multiple projects on a single instance and claims to be easy to extend.
In other news..
TextMate shortcuts you should be using
It's not Ruby specific, but TextMate enjoys a high level of popularity in the Ruby and Rails community, and Przemyslaw Kowalczyk has put together a handy list of tips and explanations of common keyboard shortcuts that could come in handy.