Issues » 172

A little shorter for Thanksgiving :-) Previous issues | Read this issue on the Web
Ruby Weekly Issue 172
November 28, 2013
MRI Ruby 1.8, 1.9, 2.0 and 2.1 Affected by Heap Overflow in Floating Point Parsing
CVE-2013-4164 is forcing Rubyists using the official Ruby interpreter to upgrade as particular conversions of strings to floats are causing heap overflows. As a result, Ruby 1.9.3-p484 and Ruby 2.0.0-p353 have been released.
Official Ruby News
Ruby 2.1.0 Preview 2 Released; Ruby Gets A New Exception#cause Method
The process of reaching the final Ruby 2.1 release is progressing smoothly. This latest preview isn’t a significant update over preview 1 but fixes the heap overflow issue (above) and a variety of other issues. One interesting new addition is the Exception#cause method.
Ruby News
From our Sponsor
New Relic’s Giving Away an Xbox One or PS4 Every Day until December 15
For your chance to win, just deploy New Relic to your web or mobile app. Installing New Relic now guarantees you code-level visibility and actionable insights into your app—plus a chance to win a new toy. Deploy and enter to win here.
New Relic
Demystifying the Ruby 2.0 Garbage Collector
A look at MRI Ruby 2.0’s garbage collector (which uses a bitmapped mark and sweep approach). A lot to enjoy here if you appreciate digging around in what MRI is up to.
Sam Saffron
Speed Up Your Rails App using WebP Images
WebP is an image format developed by Google that employs both lossy and lossless compression. Support is limited but it’s possible to show WebP images in browsers that support it and PNG, JPG or GIFs in the others.
Alexey Vasiliev
'Learn Ruby on Rails' Is Free Till Saturday
Saturday is the last day to support the Kickstarter campaign for Daniel Kehoe’s new “Learn Ruby on Rails” book. Luckily, until Saturday, you can download an advance version of the book for free. Daniel’s also written a post about how crowdfunding has worked out for him so far.
Daniel Kehoe
Anti-Pattern: Iteratively Building a Collection
Mike Burns demonstrates some common tasks involving collections first using a common but inefficient iterative technique and then a better approach.
Visualizing Garbage Collection in Ruby and Python
Pat presents an introduction to the concepts behind garbage collection before diving into a comparison of Ruby and Python’s approaches. Lots of diagrams and a fabulous read.
Pat Shaughnessy
Travis Foundation Launches Open Source Grants with Paymill and RVM
Travis Foundation is an institution aiming to foster the Open Source community through hand-picking projects to help fund. First up is RVM which they will be funding for the next two months.
Travis CI Blog
How Does Bundler Do Its Magic?
A quick look at how Bundler.setup, Bundler.require, binstubs, and ‘bundle exec’ work.
Hany el-Kerdany
How to Optimize Unicorn Workers in a Ruby on Rails App
Screen Scraping With A Saw: A Nokogiri Tutorial With Examples
Thai Wood
Advanced Memoization in Ruby
Gavin Miller
Powering Actions with Elasticsearch Percolate
Ben Ubois
Pro Tips for Writing Better RSpec Tests
Siva Gollapalli
Watching and Listening
Diving Into the New Amazon Web Services SDK for Ruby
An hour long walkthrough with Trevor Rowe and Loren Segal from Amazon’s AWS re:Invent event.
The Ruby Rogues look at Threading with Emily Stolfo
Ruby Rogues
Software Developer at Collaborative Drug Discovery (Burlingame, CA)
Are you looking to develop products that really matter? Join us in our quest to make usable and intuitive applications for life science research. No science background required.
Ruby Developer at Econify [Manhattan, NY]
Econify is a Ruby development shop that primarily works with established companies, leading them through complicated technology challenges. We’re currently seeking one more senior developer to work with our fantastic clients
Senior Software Engineers at HouseTrip (London, UK)
We’re 21 developers, 6 product managers and 2 designers, passionate about building the best holiday rental website. We write good code to build an outstanding product. We need your help. If you are a passionate senior software engineer, and think you have some of the skills, drive and talent to help us to build up our team, we’d really like to hire you.
Libraries, Code and Tools
Ruboto 0.16.0: The JRuby on Android Platform
Adds support for Android 4.4 KitKat and ‘ruboto setup’ now downloads and installs HAXM which gives a 10 times speedup of the Android emulator. Ruby 2.1 is also now supported when using JRuby 9000 (a.k.a. JRuby 2.0) builds.
RubyMine 6.0 Released: A Major Release for the Ruby and Rails IDE
sbire: Command Line Tool That Recognizes Your Voice Commands
Guriec Corbel
Last but not least..
(Sponsored Item)
Published by Cooper Press.
Want to sponsor an issue? See our Q2 2014 media kit.

© 2014 Cooper Press Ltd. Email policy Privacy policy
Office 30, Fairfield Enterprise Centre, Louth, LN11 0LS, UK
Update your email address
or unsubscribe here

ONE e-mail each Thursday. Easy to unsubscribe. No spam — your e-mail address is safe
Published by Cooper Press and curated by Peter Cooper