|| ||Ruby Weekly <rw-AT-peterc.org> |
|| ||<lwn-AT-lwn.net> |
|| ||This Week's Ruby News - Issue 121 |
|| ||Thu, 29 Nov 2012 13:34:08 +0000|
|| ||Article, Thread
Ruby Weekly - A Weekly Ruby Newsletter
Issue #121 - November 29, 2012
The 'Ruby Guy' T-Shirt
Grab a t-shirt with a cute 'Ruby Guy' mascot on the front in time for
Christmas. Comes in both male and female styles in varying sizes. Only
available for 6 more days though as it's part of a temporary Teespring
campaign (Note: I have no connection to this, it just looks cool.)
David Chelimsky Hands Over RSpec to New Project Leads
After several years at the helm, David Chelimsky is handing over the reins
to Myron Marston and Andy Lindeman for RSpec and rspec-rails respectively.
Thanks for all your hard work, David.
Upgrading to Rails 4: A Forthcoming Book (in Beta)
Andy Lindeman of the RSpec core team is working on a new book designed to
bring you up to speed with Rails 4. It's in beta so you can support him
now, if you like.
From Our Sponsor
Get AppFog, your Cloud-as-a-Service.
Our Ruby, Java, Node, PHP and other developers have the freedom to quickly deploy apps and easily
move between infrastructures--all with the best pricing in the cloud. Try AppFog today. <img
The Split is Not Enough: Unicode Whitespace Shenigans for Rubyists
It may sound obvious but Unicode whitespace and regular ASCII spaces are
not the same thing and this can cause problems in Ruby. But once we get
over the initial problems, you can torture your pair, terrify your
audience, or just give yourself a laugh by putting Unicode's non-breaking
spaces to evil use.
Making Your Ruby Fly
Andrei Lisnic demonstrates a few compile time 'tricks' you can use to make
your MRI Ruby 1.9.3 faster. The benchmark results are compelling.
Avoiding the Tar Pits of Localization
Jeff Casimir gave a talk on the 'Ruby Hangout' about the trickiness of
handling internationalization and localization and some tools and libraries
you can use to help. Lots of notes here or you can watch the video.
Recovering From Segfaults in Ruby, The Sneaky Way
We've probably all seen the dreaded 'segmentation fault' from Ruby before.
Charlie Somerville demonstrates a rather clever but sneaky way you can
'recover' from them in plain Ruby. As he says, you probably don't want to
use this trick seriously.
Use Rails Until It Hurts
Evan Light pushes back a little against the recent wave of OO purity and,
as DHH calls it, 'pattern vision.'
Speeding Things Up With jRuby
MRI's global interpreter lock prevents running code in parallel without
forking the Ruby process. That's where JRuby can help.
Try RubyGems 2.0
Michal Papis demonstrates how you can give the forthcoming RubyGems 2.0 a
spin using RVM.
Your Objects, the Unix Way: Applying the Unix Philosophy to Object-Oriented Design
Everything You Ever Wanted to Know About Constant Lookup in Ruby
Simple Authorization in Ruby On Rails Apps
Improve Your Ruby Workflow by Integrating vim, tmux and pry
Watching and Listening
Rapid Programming Language Prototypes with Ruby and Racc
At RubyConf 2012, Tom Lee demonstrated how you can use Racc, a LALR(1)
parser generator that emits Ruby code from a grammar file, in the process
of creating a simple programming language of your own.
A Tour Into An Oddity With Ruby's Struct Class
In which I look into why Struct.new(:foo?).new(true).foo? doesn't work,
even though the Struct-produced class and its instances are valid. I dive
into the MRI source code a bit to get to the bottom of things. 12 minutes
RubyTapas 027: Macros and Modules
Avdi Grimm's latest Ruby screencast for non-subscribers to his Ruby video
A Rails 4.0 Roundup in 3 Videos
A summary and links to three Rails 4 related videos (all linked in RW
before) by Marco Campana. A handy catch up if you didn't already.
The Ruby Rogues Discuss Rails 4 with Aaron 'tenderlove' Patterson
Libraries and Code
Introducing the Rails API Project: Rails for API-only Applications
applications as well as non-Web API clients. This isn't entirely new but
the project has now become more formally established.
Zuck: A Little Helper to Access Facebook's Advertising API
An early, prototype-stage gem but you may still find it useful.
Falcon's Performance Patch for MRI ruby-1.9.3-p327
Blazing Cloud is looking for software artisans
to join us in handcrafting beautiful mobile experiences. We are looking for
people who believe in a whole product-approach and agile development
practices, and have a strong sense of quality.
Software Developer at Dominion Enterprises [Pittsfield, Massachusetts]
Ruby on Rails Engineer at O.C. Tanner [Salt Lake City, Utah]
Last but not least..
Come Speak at O'Reilly Fluent 2013
HTML5 and browser technology event and I know many Rubyists are also
involved in these areas. Our CFP is open until December 10 and we have lots
of awesome stuff lined up.
You opted in for Ruby Weekly at http://rubyweekly.com/ to get weekly e-mails
about the Ruby programming language.
Our mailing address is: Office 30, Lincoln Way, Fairfield Enterprise Centre,
Louth, Lincs, UK, LN11 9EJ.
You can e-mail the list maintainer directly at email@example.com in case of
to post comments)