LWN.net Logo

This Week's Ruby News - Issue 133

From:  Ruby Weekly <rw-AT-peterc.org>
To:  <lwn-AT-lwn.net>
Subject:  This Week's Ruby News - Issue 133
Date:  Thu, 21 Feb 2013 13:30:36 +0000
Message-ID:  <0618f6a79d6bb9675f313ceb29659df23b6.20130221133018@mail259.us2.mcsv.net>
Archive-link:  Article, Thread

Ruby Weekly - A Weekly Ruby Newsletter
Issue #133 - February 21, 2013
================================================================================


From the Editor's Desk..
------------------------

Just a few days until the final release of Ruby 2.0.0 folks, so if you're
online on Sunday, keep your eyes peeled for that. I'll be back to present a
roundup of all the best release related items next Thursday :-)


Featured
--------

Ruby MRI Source Code Idioms #3: Embedded Objects
http://patshaughnessy.net/2013/2/8/ruby-mri-source-code-i...

  Pat Shaughnessy is back with yet another wonderfully detailed look at how
  MRI does its stuff on the inside. This time he looks at optimizations
  involved in representing small objects and why arrays with 3 elements are
  created in under half the time of those with 4.

Tuning Rails 3 Day Workshop
http://www.starterleague.com/tuningrails


  A 3 day live workshop in Chicago with Joshua Sierles that focuses on how to
  tune and scale a Rails app (It's possible! Take that, Jason Seifer..)

Handling 1 Million Concurrent Connections with Ruby?
https://github.com/slivu/1mc2#aim



From our Sponsor
----------------

Get your yaml files professionally translated
http://www.localeapp.com/


  Stop worrying about finding translators and sorting out mangled variables
  or messed-up syntax. Use Locale to completely automate the translation
  process using professional translators - for just €0.10 a word. Translate
  your app with Locale today.


Reading
-------

Add Regex#to_proc to Ruby
http://bugs.ruby-lang.org/issues/7883


  An interesting suggestion on the MRI feature tracker that would enable
  things like this: <code>%w{foo bar baz}.reject &amp;/\Ab/</code> The added
  suggestion by Magnus Holm further down for an Object#to_proc presents even
  more opportunities.

Building a Minecraft Mod with RubyBukkit
http://loki.ws/code/2013/01/19/minecraft-mod-with-rubybuk...

  Looks like a fun way to get involved with the world of Minecraft scripting
  and could potentially encourage younger and more visual thinkers to
  program.

What Happens When RSpec Runs
http://interblah.net/how-rspec-works


  A little exploration into how RSpec does its thing by James Adam.

Rails 4's Routing Concerns
http://blog.envylabs.com/post/43076921318/rails-4-routing...

When and How to Use an FFI (Foreign Function Interface)
http://spin.atomicobject.com/2013/02/15/ffi-foreign-funct...

  Want to use a library written in a lower level language like C? There are a
  few ways to do it, but a convenient one is to wrap the library using Ruby's
  FFI tools. Here, John Croisant explains what FFI is and some basics of its
  usage.

XNI: An Alternative Native Interface for Accessing C/C++ Code From JRuby
http://ruby.11.n6.nabble.com/ANN-XNI-an-alternative-nativ...

  Wayne Meissner talks about his attempt at building a solid Ruby to C/C++
  interop API for JRuby, avoiding the issues of the legacy MRI interface and
  the use of JNI.

What You Did Not Know About Capistrano, Yet
http://benediktdeicke.com/2013/02/what-you-did-not-know-a...

Why We Don't Use A Rails Template
http://thunderboltlabs.com/posts/why-we-dont-use-a-rails-...


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

BackboneRails.com: Learn to Build Web Apps Using Backbone and Rails
http://www.backbonerails.com/


  A series of screencasts about using Backbone and Rails to build webapps
  with powerful JavaScript-based front-ends. The first few episodes are free.

The Ruby Rogues Discuss 'Security Exploits' with Patrick McKenzie (patio11)
http://rubyrogues.com/093-rr-security-exploits-with-patri...


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

CohortMe: Cohort Analysis for User Retention In a Rails App
http://ninjasandrobots.com/cohort-analysis-user-retention...

  Nathan Kontny wants to use the data he has to analyze how people use his
  app. He's built a library called CohortMe to help him do this and he shows
  it off here.

Handle Inbound Email in any Rack Application
https://www.honeybadger.io/blog/2013/02/19/incoming-gem-r...

  The 'Incoming!' gem talks to all the APIs so you don't have to. Takes a
  Rack::Request and gives you a Mail::Message back.

Spring: A Rails Application Preloader
https://github.com/jonleighton/spring


  A Rails app preloader along similar lines to Zeus and Spork but implemented
  in pure Ruby and more tightly integrated with Rails itself. Works with Ruby
  1.9.3 and 2.0.0 and Rails 3.2.

HolePicker: Pick Holes in Your Gemfiles
http://psionides.eu/2013/02/18/pick-holes-in-your-gemfiles/


  Jakub Suder has built a tool that checks your Gemfile.lock files for
  versions of gems with known vulnerabilities.

Attribution: Add Attributes to Ruby Objects
https://github.com/pjb3/attribution


  Define type-oriented attributes on a Ruby object so that getters and
  setters will handle typecasting. You can also define associations between
  objects in an ActiveRecord-style way.

rack-robustness: Rack Middleware to Ensure Robustness of Your Web Stack
https://github.com/blambeau/rack-robustness



Jobs
----

Full-stack Web App Engineer for fast-growing SaaS company
https://gist.github.com/lylo/aa7d782ca200a954e462


  FreeAgent are looking for a talented full-stack web app engineer to come
  and join their amazing team on their mission to democratize small business
  accounting.

Web Application Developer for Big Nerd Ranch
http://bignerdranch.theresumator.com/apply/PPxl0c/Web-App...

  Seeking smart, kind folks who want to make the world a little better
  through development, training and writing about cutting-edge code.

Senior Engineer at State (London) - new global platform for opinions
http://jobs.state.com/apply/M6YbAD/Senior-Software-Develo...

  Join our core engineering team to help us build smart algorithms, great
  interactions, high performance infrastructure and scaleable APIs. We're
  based in London, still early stage but moving fast, with incredible
  advisors from Tim Berners-Lee to Troy Carter.


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

BundleScout: E-mail Notifications of Library Updates
https://bundlescout.com/


  A service that sends daily e-mails letting you know about updates to your
  favorite libraries. Now <a
  href="http://bundlescout.tumblr.com/post/43015432727/now-with-gems">supports
  Ruby and gems.</a> <a href="https://gemnasium.com/">Gemnasium</a> is
  another service in this market and they do it right from your Gemfiles.
  Both offer a free and paid tier.



================================================================================

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 © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds