Archive for the 'Ruby' Category

Ruby at OSCON 2008

Here are the Ruby and Rails related technical talks given at the O’Reilly Open Source Convention 2008. A PDF of the presentation is availble for each talk, but no video at this time.

Technorati Tags: , , , , , , ,

The Rubyist: July Edition

Here is a recap of the top Ruby-related links for the month of July 2008. Links for The Rubyist are provided by A Rubyist Railstastic Adventure, a tumblelog.

News and Opinion

Tutorials

iPhone and Mobile

JRuby

Technorati Tags: , , , , , , ,

The Rubyist: June Edition

Here is a recap of the top Ruby-related links for the month of June. The month of June saw a lot of articles, interviews, and video from RailsConf 2008. The big excitement from RailsConf was news of MagLev, a ruby implementation built on top of a Smalltalk VM. Other big news items to in the Ruby sphere was several security concerns. Links for The Rubyist are provided by A Rubyist Railstastic Adventure, a tumblelog.

Scaling and Security

RailsConf and RubyConf

News and Announcements

Tools and Tutorials

Opinion

Jobs

Technorati Tags: , , , , , ,

MagLev

The big hype and spin cycle out of RailsConf this year is the news of a new Ruby implementation, MagLev. MagLev is only the nth implementation of Ruby to make waves, after JRuby, Rubinius, and IronRuby. MagLev is based and powered by a SmallTalk VM from GemStone. Avi Bryant described as a ‘full stack Ruby implementation.’ Avi also said that MagLeve still does not run Rails and is not RubySpec compliant, but it will soon be. From the language in the news and articles available on MagLev, it seems that this implementation of Ruby will be positioned as a ‘enterprise-y’ implementation for large-scale deployment.

Technorati Tags: , , , , ,

Using Hpricot

Hpricot is a HTML parser for the Ruby programming language. With Hpricot you can scan and scape a HTML document. To illustrate how to use Hpricot i’ll write a list the code of a short script I recently wrote. The script grabs all the links for the past week from A Rubyist Railstastic Adventure, a tumblelog.

The general structure of the HTML used by the web page that I will be scraping is something like the following.

One thing to note about the HTML produced by the site we will scape is that the date is optional in the post. The date is only displayed once for a day, so some posts don’t have a given date. Also, there are several other types of posts such as quotes, images, etc. We are only interested in posts with links. Again, the Ruby/Hpricot script will only gather the links for the past week.

Technorati Tags: , , , ,

This Week in Ruby

This week we saw news of Rails running on Rubinius and several news items regarding Passenger (mod_rails), in particular Dreamhost now has Passenger support. Links for This Week in Ruby are provided by A Rubyist Railstastic Adventure, a tumblelog.

Technorati Tags: , , , , , ,

Next Page »