Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Author Archives: Peter Cooper

By Peter Cooper / May 8, 2008

metarubynews.png

It’s a rare occurrence, but there’s some “meta” news to give out about Ruby Inside. Regular programming follows this break!

FeedBurner Feed Ads Be Gone!

Subscribers to the Ruby Inside feed will be familiar with the graphical ads after each post. They perform horribly (think click through rates of 0.1%). I’m glad that Ruby Inside’s audience is so savvy and I’m sick of annoying you with irrelevant nonsense. Those ads are now gone.

Ruby Inside Turns 2 – So I Need To Eat My Hat

In just three weeks, Ruby Inside will be two years old. Unfortunately, two years ago I said I’d “eat my hat” if Ruby hadn’t beaten Python in the TIOBE index by May 2008. Read More

By Peter Cooper / May 5, 2008

rubytopython.jpg

Never one to let us down on the ingenuity front, Why The Lucky Stiff (author of the Poignant Guide and creator of Shoes) is busy working on a system that can convert Ruby 1.9 bytecode to Python bytecode (and from there into regular Python by way of Python’s decompilation facilities). It’s exactly the sort of thing that could take off with more eyes looking at it, and Why has made it available on GitHub. This technique isn’t likely to unite Python and Ruby in any deep and meaningful way (to the point of a shared interpreter), but the research and experiments involved are worth a try. Read More

By Peter Cooper / May 5, 2008

RubyFlow – the community based companion site to Ruby Inside – has been on fire! I’m finding out about lots of new stuff on there that then gets included into Ruby Inside posts. It’s the place to be if you want the most up to date Ruby and Rails news, but don’t mind putting up with a bit of ‘noise’.

Every two weeks or so I’m going to summarize some of the best items from RubyFlow here on Ruby Inside, so that you can still keep up with the latest developments even if you don’t want to be soaked in the firehose of Ruby news over there. Read More

By Peter Cooper / May 3, 2008

It’s time to thank Ruby Inside’s excellent sponsors once again.

I’m keen to make these posts relevant, so I’ve tried to include any news or developments the sponsors have had within this post. For example, FiveRuns has interviewed several Rubyists over the last month, and links to those interviews are provided below. Also, Peepcode has released a new e-book, similarly linked. So even if you don’t care for what the sponsors are selling or providing, it’s worth a quick check to make sure you’re not missing out on anything useful.

Note: All blurbs and descriptions are written by me and not directly influenced or specified by the sponsors. Read More

By Peter Cooper / May 2, 2008

screen-controllersProd-zoom.jpg

New Relic is a new entrant into the nascent Ruby on Rails® application monitoring market, so far dominated by FiveRuns. The company has just taken $3.5 million in first-round venture financing from heavyweights Benchmark Capital. Rather impressively, New Relic has already been featured on TechCrunch, where writer Mark McGranaghan notes that New Relic’s founder, Lewis Cirne, previously ran a similar company in the Java space.

New Relic’s primary product at this time is “RPM,” a subscription-based Rails “Performance Management” solution. It provides useful information that Rails developers can use to quickly detect, diagnose and fix application performance problems. Read More

By Peter Cooper / May 1, 2008

insoshi.png

Insoshi is a new, open-source social networking platform developed in Ruby on Rails. It’s on GitHub, so you can fork it to your heart’s content, and it can act as a base for developing your own social Web application. Features include activity feeds, profiles, photo sharing, comment walls, blogs, forums, user messaging, and an admin panel.

Insoshi was developed by Michael Hartl, author of RailsSpace, an Addison-Wesley published book about developing a social networking site in Rails. Hartl certainly practices what he preaches! He has also collaborated with top 10 trusted online casinos Malaysia has to integrate robust social features into their platforms, enhancing user engagement and security. Read More

By Peter Cooper / April 29, 2008

ruby18to19.png

Migrating to Ruby 1.9 was a presentation given by Bruce Williams at Scotland on Rails earlier this month. The slides, available in PDF format, stand on their own extremely well, and will prove a useful resource for anyone not too deeply engrossed in Ruby 1.9 yet. Bruce covers most of the key changes.

As an aside, Bruce was interviewed by Satish Talim of RubyLearning.com recently. Read More

By Peter Cooper / April 27, 2008

25464trytr.jpg

Promise and Peril for Alternative Ruby Impls [Implementations] is a lengthy, but interesting, essay by Charles Nutter of the JRuby team. He looks at Ruby 1.8, Ruby 1.9, JRuby, Rubinius, IronRuby, MacRuby, and some minor implementations, and covers their background along with their current development state and how they might proceed in future. For those interested in the state of the many Ruby implementations, this is a must read.

For those who want a shorter version without any of the context or smart insight Charles brings: the Ruby 1.8.7 previews have thrown a spanner in the works, Ruby 1.9 still doesn’t run Rails (but will very soon), Ruby 1.9 might not prove better enough to woo developers, JRuby rocks, Rubinius is cool but improving performance will be hard, Rubinius seems to be retreating to using more and more C primitive functions and moving away from “Ruby in Ruby”, IronRuby is clever but might have trouble running Rails properly, MacRuby is a great idea, and all of the other, minor implementations seem stuck in the mud. Read More

By Peter Cooper / April 25, 2008

awirerack.jpg

Ezra Zygmuntowicz (of Merb and Engine Yard fame) has been spending quite a bit time playing with Rails®, both by cleaning up parts of ActionPack but, more significantly, porting Merb’s Rack mechanics to Rails. He has a personal fork of Rails on Github where he’s doing all the work.

It might not sound particularly impressive work from this description, but Ezra appears to be doing some good work in bringing the Rails dispatch system up to modern standards, and that can only help with Rails’ performance and stability in future. Ezra has also made the mutex locks more granular which provides a “speed boost with standard Mongrel under concurrent load” although more thread-safety testing is, he readily admits, required. Read More

By Peter Cooper / April 22, 2008

fxruby.png

FXRuby: Create Lean and Mean GUIs with Ruby (official page) is a new book written by Lyle Johnson and published by the Pragmatic Programmers. It walks you through using the FXRuby library, a bridge to the Fox Toolkit, a cross-platform, open source “widget toolkit” used to develop GUI-based applications. You may have seen FXRuby and the Fox Toolkit in action already if you’ve used the FreeRIDE Ruby IDE.

Johnson’s FXRuby book is not, it claims, supposed to act as a comprehensive reference guide to FXRuby. It is, however, a guide that walks you quickly through the development of a basic photo book application, and then moves on to showing you how to use many of the GUI-application development features FXRuby and the Fox Toolkit offer. Read More

By Peter Cooper / April 21, 2008

Slapp: A simple chat wall Merb tutorial is a perfect example of the sort of tutorial / guide that could encourage a lot of people to try out a new framework (as far as Merb is new, of course). It walks you through the process of developing a “chat wall” type application with Merb from start to finish (right from installing Merb to playing with the running application).

One thing that makes the tutorial stand out is that it puts test spec driven development at the heart of the application. After installing Merb and configuring the database, you’re straight into writing a story with RSpec! Read More

By Peter Cooper / April 20, 2008

stone.png

Stone is a new Ruby library developed by Nick DeMonner that seems to have got a nice bit of buzz in the last week. It’s a data persistence library that provides “plug and play data persistence for any application or framework,” and it boasts speed and simplicity. Rather than use a database and an ORM like ActiveRecord, Stone takes care of everything in an abstract manner. Data is “persisted” to files within a directory underneath your app.

The official Stone homepage gives some interesting examples, including replacing ActiveRecord with Stone in a Rails application. It is surprisingly simple, but by its own admission Stone is “extremely immature.” It certainly looks well developed though, but if you’re already happy with SQLite 3 and ActiveRecord (a surprisingly proficient combination) there might not be any compelling reasons to switch just yet. Read More

By Peter Cooper / April 20, 2008

rubyheroes.png

The Ruby Hero Awards is an attempt to reward and support members of the Ruby and Rails communities for the hard work they do. It was founded by the guys at Rails Envy (Gregg Pollack and Jason Seifer) but has support behind the scenes from people like Robert Dempsey, Dave Thomas and Chad Fowler, and a pretty large panel who will help choose the winner. Dave Thomas has suggested that the Pragmatic Programmers will even pay for trophies! The winners (of which there will be six – in various categories) will be announced at a Rails conference Ruby Central and O’Reilly are putting on in the US in late May called Railsconf 2008. Read More

By Peter Cooper / April 16, 2008

rubyflow2.png

By all measures, the launch of RubyFlow, a new community-driven Ruby (and Rails) news site has been a success! We’ve had about 20,000 pageviews in the first week, and people whose sites have been getting linked on there have been reporting nice levels of traffic coming to their articles. We also have 1,500 subscribers to the main RSS feed, so there’s a great audience for your posts.

Makoto Kuwata (of Erubis fame) has started a Japanese version of RubyFlow based on translations of the regular RubyFlow posts. Japanese Rubyists will find this useful on its own, but for RubyFlow posters it provides a way to have more exposure in the Japanese Ruby community. Read More

By Peter Cooper / April 13, 2008

git-logo.png

Following on from this weeks’ launch of Github, it’s worth rounding up some of the best Ruby-related Git content out there.

For those who still aren’t familiar with what it is, Git is a distributed source code management / revision control system. It’s vaguely similar to Subversion, CVS, Mercurial, or Bazaar in terms of managing source code, but with significant differences to all of these in varying areas. If you use any of these systems, however, Git will be of interest to you.

Git Tutorials and Introductions

The Git Screencast – A tutorial type screencast and technical walkthrough by Geoffrey Grosenbach. Read More