Issues » 156

This week's Ruby news Previous issues | Read this issue on the Web
Ruby Weekly Issue 156
August 1, 2013
From the Editor's Desk..
Welcome to issue 156 of Ruby Weekly. I think vacation season must have truly kicked in this week because it's been pretty quiet news wise. I hope you're enjoying the weather wherever you are :-)
Featured
PSD.rb: A Ruby Library That Opens Up The Adobe Photoshop PSD Format
LayerVault, a company that works on version control tools for designers, has created a Ruby library that can process Adobe Photoshop PSD files. More in their introductory blog post.
Bloc RubyWarrior: An Interactive Ruby Game in the Browser
A Web-based port of Ryan Bates' Ruby Warrior game complete with graphics and music. The game is designed to teach Ruby and artificial intelligence concepts in a fun, interactive way. (Note: Music autoplays.)
Beware Subclassing Ruby Core Classes
Steve Klabnik warns us that subclassing core Ruby classes can lead to unexpected side effects (and provides examples). He suggests using composition instead of inheritance in such cases.
Steve Klabnik
From our Sponsor
The Freedom to Build in your language of choice!
At Rackspace, we speak your language. Whether you write in Ruby, Java, PHP, JavaScript, Python, Perl, or C++, we have a Cloud Server for you. Build on The Rackspace Cloud so you can provision your favorite Linux distro, use our API and our SDKs, access persistent, elastic servers and experience Fanatical Support® from real people any time, day or night.
Reading
An Example Chat App Using Server-Sent Events with Rails 4
Mason Fischer wanted to play with Rails 4's live streaming functionality so put together a simple chat app to test the concepts.
How Beanstalk Migrated to Rails 4 and Ruby 2
Ilya Sabanin covers some of what was involved in taking a large Rails 2.3 and Ruby 1.8-based webapp up to the latest versions of both.
Simple Algebraic Data Types for Ruby
Job Vranish misses Haskell's algebraic data types when working in Ruby but has come up with a simple implementation which is explained here.
Atomic Spin
Lets Build a Sinatra App
A pragmatic walkthrough by Matt Weppler.
Matt Weppler
How to Create Postgres Indexes Concurrently in ActiveRecord Migrations
Postgres' CREATE INDEX CONCURRENTLY is an amazing feature that lets you add an index without locking the table.
How to Build a Port Scanner in Ruby
RubySource
Optimizing your Rails App Part 1: N + 1 Queries
Watching and Listening
Building and Maintaining A Ruby Team During The Rails Crisis of 2013
A talk by *gasp* a recruiter, but one of the better ones. Louis Goff-Beardsley provides some tips around starting and building a team of Rails developers.
YouTube
Write Your Ruby in Style
At RubyConf India 2013, Bhavin Javia gave a talk about the importance of code style when working within a team or in public. (Note: Audio is not great but listenable.)
YouTube
The Ruby Rogues Discuss Non-Rails Ruby Projects
Topics covered include Sinatra, daemon processes, the Raspberry Pi, and some of the tooling used behind the scenes of non Rails Ruby apps. (1hr 18m podcast.)
Libraries, Code and Tools
Searchkick: Intelligent Search Made Easy
An Elasticsearch based gem to add intelligent / learning search capabilities to ActiveRecord. There's also an introductory blog post.
Maildown: Write Your ActionMailer Email Templates in Markdown
And then send in HTML and plain text.
GitHub
RubyLuwak: A Compiler and Runtime for Ruby on the Java Virtual Machine
Aimed at Android development.
Zephyros: An OS X Window Manager for 'Hackers' That Supports Ruby 2.0
GitHub
Jobs
Service-Oriented, Web Application Hacker (San Francisco, CA)
Building scalable web services is hard and we need your help! We know mobile at Lookout but many of our challenges aren't in the app store, but in the data center. We're looking for experienced devs who can build services, design APIs and grok complex systems.
Harry Tuttle wanted at Zendesk
Seeking full stack ruby infrastructure engineer for hacking in the underbelly of Zendesk. Solve problems at scale and work with smart kids.
Ruby Developers at HouseTrip (London, UK)
Want to work with a 18-person team of passionate Ruby developers who love good code and care for their product in central London? We are currently hiring. Ranked by Wired Magazine the number two start-up in London (2012), HouseTrip is Europe’s largest holiday rental booking website!
Get your job listing in a future issue of Ruby Weekly
Last but not least..
Zombie Outlaws: A Rails 4 Course from Code School
Code School have a course aimed to help you 'build faster and more secure web apps with Rails 4.'
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