Miscellaneous

The Great Ruby Benchmark Shootout (on Windows)

This post contains the results of a Ruby shootout on Windows that I recently conducted. [..] All tests were run on Windows 7 x64, on an Intel Core 2 Quad Q6600 2.40 GHz, 8 GB DDR2 RAM, with two 500 GB 7200 rpm disks.

Read more →

Gregg Pollack on Screencasting and Podcasting for Developers (in 10 minutes)

I've been itching to do some audio or video interviews on Ruby Inside - here's the first! Gregg Pollack of EnvyLabs and Ruby5 (previously of RailsEnvy fame) is doing a screencasting and podcasting workshop at BizConf so I thought I'd ask him what that entails and how developers can benefit from learning about these media. (I like things short and simple so the interview is just 10 minutes long.)

Read more →

sexy_scopes: Syntactic sugar for ActiveRecord 3.0 and Arel

sexy_scope is a small wrapper around Arel::Attribute that adds a little syntactic sugar when creating scopes in ActiveRecord. It adds an attribute class method which takes an attribute name and returns an Arel::Attribute wrapper, which responds to common operators to return predicates objects that can be used as arguments to ActiveRecord::Base.where.

Read more →

Glyph – A Ruby-Powered Document Authoring Framework

I’ve been writing technical documents for a living for the past four years, and I can tell you: there is no easy way to go about it. I love Textile and Markdown. When people aren’t looking, I even use them at work to generate HTML code, because it’s just so much faster.

Read more →

Hampton Catlin’s Ruby Survey 2010

I finally got off my ass and got the results of Ruby Survey 2008/2009 online. Some really interesting stuff in there! And, along with releasing that information, I'm launching the 2010 survey with more questions about testing frameworks and etc.

Read more →

The State of Building PDF Documents in Ruby

If you've ever generated PDFs in Ruby before, you know that it can be both tedious and difficult using the standard go-to PDF libraries out there. Let's face it, we're web developers. Coming from HTML+CSS-based layouts, writing Ruby code for that stuff is a major pain.

Read more →

MongoMapper 0.8 Released

Features added include a sexy query language, scopes, attr_accessible, a fancy cache key helper, a :typecast option for array/set keys, and a bajillion little improvements. Let’s run through each of them just for fun.

Read more →

Fog: A Powerful “Cloud Services” Gem

fog is a Ruby gem by Wesley Beary to control a variety of cloud services through a unified API. It deals with both server cloud and storage based services and supports Amazon S3 and Rackspace Files; as well as servers and on Amazon EC2, Rackspace Servers, Terremark vCloud and Slicehost. Support is also available for Amazon ELB and SimpleDB.

Read more →

Public Domain-Suffix Extraction Library for Ruby

The Public Suffix List is a cross-vendor initiative to provide an accurate list of domain name suffixes. [..] It is available for use in any software, but was originally created to meet the needs of browser manufacturers.

Read more →

Fastr – A new EventMachine-based Ruby Web framework

Rails can scale, but it is not inherently very good when it comes to an individual instance’s performance. While this is hopefully changing in Rails 3, I wanted to see what kind of concurrency and performance I could get out of a simple EventMachine web application. Thus, fastr was born. [..]

Read more →