Messaging in the context of application architecture (grandly referred to as message oriented middleware on Wikipedia) is similar to messaging in the real world. If you want to ask your colleague to do something, you’ll send him a message of some sort. And if your app needs to ask another app to do something it can do the same, send a message to another app or process to run a command or send an e-mail, for example.
I hang out in #nwrug on Freenode, the IRC channel of a Ruby user group here in the UK, and floated the idea of doing a PostgreSQL (a.k.a. Postgres) installation tutorial for Ruby Inside. Coincidentally, it turned out 37signals sysadmin Will Jessop was already working on one so, I present.. Setting up PostgreSQL for Ruby on Rails development on OS X by Will Jessop :-)
Will’s post is a walkthrough of the process from sitting at an empty terminal prompt through to having a barebones Rails 3 app running on a Postgres powered database. It’s entirely Mac OS X focused, so don’t expect to enjoy it too much if you’re on Linux or Windows! Read More
A few days ago I told the story of ruby-head (MRI) getting 36% faster loading, perfect for tackling those file-heavy Rails 3 apps. Awesome for Ruby 1.9.3 but not so good for us now, right? Todd Fisher to the rescue! He’s created a patch backporting the performance tweak to Ruby 1.9.2-p180.
Tip: If you’re still on 1.8, check out The Ruby 1.9 Walkthrough, a mega screencast aimed at Ruby 1.8.7 developers who want to learn all about what’s new, what’s gone, and what’s different in Ruby 1.9.2 and 1.9.3.
First, The Results
As the current production version of Ruby, a boost for Ruby 1.9.2-p180 should benefit most of you so I knew I had to share Todd’s work as soon as I’d given it a test run. Read More
Xavier Shay is an Australian Rubyist who shares an issue with most of us: slow loading Rails 3 apps on Ruby 1.9.2! Unlike most of us, he put together a solution for ruby-head (what I’m calling 1.9.3 but isn’t technically*) that, in my own tests, slashed 37% off the boot time of my Rails 3.0 app. He shared his work just a week ago. Awesome! But some other developments have occurred since..
* Just because things are in ruby-head doesn’t mean they’ll definitely make it into Ruby 1.9.3. Pragmatically, though, ruby-head seems to have attracted the ‘Ruby 1.9.3′ moniker and it makes for a better headline. Read More
The topic of ‘hiring’ always generates a lot of discussion. And why not? Talking about hiring is a convenient way to pass judgment on large groups of people while keeping a professional, detached demeanor.. Ouch! But the topic has enough technical basis to warrant the interest of experienced developers, so here we are.
This post is for those who handle the technical evaluation necessary to hire candidates, especially in the Ruby and Rails scenes, although the overall strategies are language-agnostic (though I’d hope if you’re hiring folks to work on missiles and nuclear power plants, all bets are off).
You’ve given Rubinius a spin, right? And contributed code to the project? If you didn’t already know, Rubinius is an ‘alternative’ Ruby-sorta-written-in-Ruby implementation that’s production ready and has been going from strength to strength recently (I post about it quite a bit). And whatever your answers to those questions, the Rubinius team are kicking things up a notch by bribing you to get involved!
The Rubinius Rewards Program
The Rubinius team has announced the “Rubinius Rewards” program. The good part is that they have lots of “general availability” stickers and t-shirts available for anyone who wants to write in and claim one. Read More
Ruby Inside wouldn’t be what it is without you, eager reader, but it’s time for us to thank the companies who help to keep Ruby Inside going by kindly sponsoring our work. Thanks to all of you! We take care not to accept sponsors who have little of interest to the Ruby scene so hopefully you’ll find out something useful from the below :-)
Jumpstart Lab – Rails Training Experts
Jumpstart Lab, headed by Jeff Casimir, is a training company specializing in Ruby on Rails. Their classes are usually two days long and while their prescheduled classes tend to be in Washington DC, where they’re based, they’ll travel anywhere if you have (or can find) at least six attendees. Read More
Just over 3 years ago in May 2008, I wrote about New Relic for the first time. Since then they’ve grown rapidly and dominate the Ruby and Rails application monitoring scene with their RPM service. Today, they’ve made some major tweaks..
Yo Ho Ho and a Bottle of RUM (Real User Monitoring)
New Relic’s CEO Lew Cirne (whose name is an anagram of New Relic – geddit?) invited me onto a call to tell me about a new feature that they call “Real User Monitoring” (a.k.a. RUM). Essentially it’s a significant expansion to the things that the New Relic system tracks. Read More
Ruby on Rails’ creator David Heinemeier Hansson is currently at RailsConf 2011 along with hundreds of other Ruby and Rails developers. In a first for RailsConf, there’s a live stream of some of the event which is was embedded below so you could watch DHH’s keynote.
DHH’s keynote starts started at around 9.15am Eastern on May 17, 2011 and while I had a embedded live stream here, I’ve now replaced it with the final archive video from YouTube:
If you can’t see the video above, you’re in a feed reader/similar that doesn’t support embedded streams and you’ll need to click through to Ruby Inside to view it. Read More
I haven’t posted in a long time. Oops. But I have good (and soon to be exciting) reasons! Anyway, it all kicks off again right here with the announcement of a new Ruby podcast I’ve become involved in – it’s called Ruby Rogues.
Ruby Rogues is a new Ruby podcast chaired by Charles Max Wood (of Teach Me To Code fame) and featuring David Brady (Tourbus), James Edward Gray II (Ruby Quiz), Aaron “tenderlove” Patterson (of Nokogiri, Ruby core and Rails core fame), and me. It’s recorded each Thursday (though there’s only one episode so far) and, over time, the line up will probably vary a bit due to our various conflicting schedules. Read More
Maybe I’m weird (actually, there’s no maybe about it) but when I first heard about Rails 3.1 getting CoffeeScript and Sass out of the box, I wanted to see how it worked and how smooth the process would be. So like quite a few people on IRC I’ve seen, I installed edge Rails (currently 3.1.0-beta) and got playing. (Yes, it’s PRE-RELEASE. Expect mischief!)
I hit a couple of stumbling blocks on my way so I thought I’d explain what I found to be the smoothest way through to getting to play with the new Rails 3.1 goodies. I’ll only take you as far as making some changes and seeing the results, though – you’re on your own from there! Read More
Guess what? Yep, the forthcoming Rails 3.1 is going to be bringing in a few new friends as dependencies: CoffeeScript, jQuery, and Sass. What does this mean? Why has this been controversial? I’m going to quickly run through the details here.
jQuery – A Non-Controversial Switch
It was back in March (2011) when David Heinemeier Hansson, creator of Rails, dropped an interesting nugget of info on Twitter:
Today there are *drumroll* 18 new jobs to share from the Ruby Jobs board from companies like Expedia, Brightbox (the British Rails hosting guys) and LivingSocial.
To promote a job, see the Post A Job page. A bonus is your ad gets into the 4500 subscriber Ruby Weekly for free. In terms of overall reach to Rubyists, nothing beats what we can offer with Ruby Inside, Ruby Flow, Rails Inside and Ruby Weekly.
So, there are some beauties in here.. they spanning the USA and UK and one even includes a $10K signup bonus:
Rails Software Engineer with MS stack experience – Bellevue, Washington
Expedia, Inc (you know, the travel site) is looking for a Software Development Engineer with a minimum of 2 years’ Web development experience with a proven ability to design and deploy Rails based apps in a corporate environment. Read More
As an outspoken and opinionated guy, David Heinemeier Hansson (a.k.a. DHH), creator of Rails, is no stranger to a little bit of controversy. He frequently sets off interesting debates on Twitter from his @dhh account. The latest is, perhaps, the most involved yet and has been rattling on for a couple of hours today.
So what’s the beef? RSpec and Cucumber versus.. Test::Unit. It’s no secret that DHH is a happy Test::Unit (and fixtures) user. Last October he tweeted:
But here’s what kicked off today’s debate:
Naturally, this brought a plethora of heckles, support, snark, and questions from DHH’s followers, including:
More specifically, though, DHH noted that this gist comparing some Test::Unit tests to RSpec triggered his statements. Read More
Watchr is a development tool that monitors a directory tree and triggers a user defined action (in Ruby) whenever an observed file is modified. Its most typical use is continuous testing, and as such it is a more flexible alternative to autotest. It is maintained by Martin Aumont and available on GitHub.
Watchr works by allowing you to specify the path to the file or files you want to monitor. When the file is changed it executes whatever block of Ruby code you give it. As the README states its most common use case is as a replacement for autotest. After using Watchr for a couple years now, I have learned that it’s much more than that. Read More