LWN.net Logo

This Week's Ruby News - Issue 121

From:  Ruby Weekly <rw-AT-peterc.org>
To:  <lwn-AT-lwn.net>
Subject:  This Week's Ruby News - Issue 121
Date:  Thu, 29 Nov 2012 13:34:08 +0000
Message-ID:  <0618f6a79d6bb9675f313ceb29659df23b6.20121129133339@mail259.us2.mcsv.net>
Archive-link:  Article, Thread

Ruby Weekly - A Weekly Ruby Newsletter
Issue #121 - November 29, 2012
================================================================================


Featured
--------

The 'Ruby Guy' T-Shirt
http://rubythreads.com/products/rubyguy


  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
http://blog.davidchelimsky.net/2012/11/28/myron-marston-a...

  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)
http://www.upgradingtorails4.com/


  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.
http://launchbit.com/taz/358-3073-9659df23b6


  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
src="*%7CLBPIXEL%7C**%7CEMAIL_UID%7C*">


Reading
-------

The Split is Not Enough: Unicode Whitespace Shenigans for Rubyists
http://www.rubyinside.com/the-split-is-not-enough-whitesp...

  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
http://alisnic.net/blog/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
http://blog.localeapp.com/2012/11/21/avoiding-the-tar-pit...

  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
http://charlie.bz/blog/recovering-from-segfaults-in-ruby


  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
http://evan.tiggerpalace.com/articles/2012/11/21/use-rail...

  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
http://www.mutuallyhuman.com/blog/2012/11/26/speeding-thi...

  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
https://coderwall.com/p/html5w


  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
http://blog.codeclimate.com/blog/2012/11/28/your-objects-...

Everything You Ever Wanted to Know About Constant Lookup in Ruby
http://cirw.in/blog/constant-lookup.html


Simple Authorization in Ruby On Rails Apps
http://www.elabs.se/blog/52-an-elegant-authorization-syst...

Improve Your Ruby Workflow by Integrating vim, tmux and pry
http://velvetpulse.com/2012/11/19/improve-your-ruby-workf...


Watching and Listening
----------------------

Rapid Programming Language Prototypes with Ruby and Racc
http://confreaks.com/videos/1319-rubyconf2012-rapid-progr...

  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
http://www.youtube.com/watch?v=9IX1NfwQP1s


  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
  in all.

RubyTapas 027: Macros and Modules
http://devblog.avdi.org/2012/11/27/rubytapas-027-macros-a...

  Avdi Grimm's latest Ruby screencast for non-subscribers to his Ruby video
  site.

A Rails 4.0 Roundup in 3 Videos
http://xterm.it/rails-4-roundup/


  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
http://rubyrogues.com/081-rr-rails-4-with-aaron-patterson/



Libraries and Code
------------------

Introducing the Rails API Project: Rails for API-only Applications
http://blog.steveklabnik.com/posts/2012-11-22-introducing...

  A set of tools to use Rails for building APIs for both heavy Javascript
  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
https://github.com/moviepilot/zuck


  An early, prototype-stage gem but you may still find it useful.

Falcon's Performance Patch for MRI ruby-1.9.3-p327
https://gist.github.com/4136373



Jobs
----

Blazing Cloud is looking for software artisans
http://blog.blazingcloud.net/2012/11/13/artisanal-softwar...

  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]
http://jobs.rubyinside.com/a/jbb/job-details/758752


Ruby on Rails Engineer at O.C. Tanner [Salt Lake City, Utah]
http://jobs.rubyinside.com/a/jbb/job-details/760254



Last but not least..
--------------------

Come Speak at O'Reilly Fluent 2013
http://fluentconf.com/fluent2013


  OK, it's slightly offtopic but I'm the co-chair for O'Reilly's JavaScript,
  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 rw@peterc.org in case of
problems/questions.

(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds