Articles

5 Ruby-related Blogs for September

Another set of Ruby blogs…

POSIX Realtime and Events presentation

Presented today at Barcamp PT.Enjoy!

Starting with Git guide

Hot on the heels of my git setup script, user Sirupsen has made a
Starting with Git guide. Okay, that’s a lie, he actually published his guide two days before my script… I’m a slacker, I know, I apologize.

At any rate, thanks for the great guide Sirupsen!

Announcing The First Ever JRubyConf!

It’s our extreme pleasure to announce the first annual JRubyConf, to take place Sunday, November 22nd, immediately following RubyConf 2009! We’ve been working on putting this together for a little while now, and it’s finally time to share.

Engine Yard And GitHub Transition

The very first time we saw GitHub demonstrated, it was clear to us that it was important to the Ruby on Rails community, and something that we wanted to be associated with. In fact, we felt so strongly that we immediately offered Tom, Chris and P.J. free deployment on Engine Yard in exchange for free accounts for our customers and developers.

Why did we feel so strongly? I’d like to explain this on the record as many of our customers will no doubt wonder “Wow, that was a pretty good deal?” :-)

New Interview Online

Dmitry Belitsky sent an email to prominent Rubyists with several different questions around the theme of “How to become a successful Rubyist”. He then posted their answers in interview form on his blog. I was a bit late to get my answers submitted, but they’re there now. Essentially, my advice is to participate in open source, use moderation, and have non-virtual hobbies, but you can read the entire interview if you like.

Thanks, Dmitry!

Double Shot #538

This would be a good day to ship some code, wouldn’t it?

Installing and configuring DB2 Express-C 9.7 on Ubuntu 9.04 Server

DB2 Express-C 9.7 can easily be installed on Ubuntu 9.04 Desktop edition by simply issuing sudo ./db2setup. This will open up a launchpad and you’ll be able to install the product through a wizard. But what about setting up DB2 Express-C 9.7 on Ubuntu 9.04 Server edition? When you are ssh-ing into your VPS or dedicated sever, there are no GUIs to help you out.

Tracking Your Rdoc Coverage with RdocMetric

I was surprised when I didn’t find a Ruby gem that would analyze your code and give you a metric for how thorough your Rdoc documentation was. Since I want to keep myself accountable to keeping code documented, I whipped up the rdoc_metric gem. So far it is very simple, giving you percentages of how many of your class, module, method, attribute and constant declarations are documented using Rdoc.

Usage is simple, just cd into your application directory and use the rdoc_metric command:

Rails Envy Podcast – Episode #091: 09/10/2009

Episode #091. I’m joined again by Dan Benjamin and we have quite a fun time. You may know Dan from his compiling Ruby, Rails, and MySQL guides, cork’d, and most recently Playgrounder. We’ve got a ton of great content this week and we tried to keep it a bit more brief than last week.

Muhammed Ali’s Free Ruby 1.9.x Web Servers E-Book | Rails Fire

Muhammed Ali’s Free Ruby 1.9.x Web Servers E-Book

socket.pngEgyptian Ruby developer Muhammed Ali (of MySQLPlus fame) has released the first draft of a "Ruby 1.9.x Web Servers" booklet. It looks at how different HTTP daemons and server libraries (Thin, Passenger, WEBrick and Mongrel) perform in Ruby 1.9.1. You can read the book for free on his site or on Scribd, but if you want to download a PDF to view locally you'll need to have a free Scribd account, alas.

As of this first draft, the e-book's 60 pages long - resulting in about 50 pages of actual content. It's clearly a draft, but Mohammed has put together a pretty readable overview of the state of not only Web servers but basic TCP servers and concurrency issues on Ruby 1.9. There are even several diagrams that provide visual demonstrations of how the different servers manage requests.

The bulk of the booklet, however, is turned over to graphs showing the results of performance tests made upon each library under different scenarios. There are too many data to summarize here, but unsurprisingly WEBrick typically loses (though not always, in a few it wins!) and Thin is typically in the lead.

rupho.png[ad] Mobile Orchard's from Rubyist to iPhone programmer in 2 days class is coming to Portland/OR Nov 12-13 and Los Angeles/CA Nov 19-20. $1200 $799 with early reg and "inside" discount code.