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

By Peter Cooper / August 29, 2008

It has not gone unnoticed that random announcements of individual events do not work well here on Ruby Inside. With events taking more of a local focus these days, it makes more sense to pool the announcements together. This post, therefore, is a rather uncelebrated launch of a new series of event-related compilation posts. Please make sure to post in comments if you have other events you want to mention or visit our Contact page.

merbcamp.png MerbCamp – October 11 and 12, 2008 – San Diego, CA, USA

MerbCamp is an upcoming official gathering for the Merb community. Confirmed keynotes are by Ezra Zygmuntowicz and Yehuda Katz. Read More

By Eldon Alameda / August 27, 2008

After tackling the difficult task of improving Rails deployment, Phusion – the creators of Passenger (mod_rails) recently announced the availability of daemon_controller – a library (rather than a stand-alone tool) for managing daemons. It lets you write applications that manage daemons in a robust manner (e.g. mongrel_cluster or UltraSphinx could be adapted to use this library).

The primary motivation for using daemon_controller is to make it easier to have other applications (such as Rails apps) start daemons without encountering race conditions or parallel attempts. With a little work, daemon_controller makes it possible for your app to safely launch all the daemons that its functionality relies upon (UltraSphinx, BackgrounDRb, etc.). Read More

By Shalev NessAiver / August 26, 2008

Videos from the recent Ruby Hoedown conference are now available at the Confreaks site.

The talks this year are split between traditional talks and “Lightning Talks” – 5 minute presentations that quickly highlight a single package or aspect of Ruby.  The talks cover a wide range of topics including Archaeopteryx – a Ruby MIDI/Music generator, easy phone calling with ruby, cloud computing, the usual excellent testing and design patterns talks, and a slew of other quirky and useful presentations.

If you don’t want to sit through the talks at normal speed, you can download the presentations in .mp4 format and increase the playback speed in your video viewer of choice.   Read More

By Peter Cooper / August 26, 2008

macklogo.png We first covered Mack in April, when I billed it as a “fast, best of the rest, Web app framework.” Mack, a Ruby-based Web application framework, developed by a team led by Mark Bates, has continued to grow over the past several months and today announced a significant release, Mack 0.7.0.

Mack is a unique Ruby Web app framework due to its heavy focus on reusability across multiple applications. Mack supports distributed objects – yes, between multiple applications, distributed views and layouts, and even distributed routing (all of your Mack apps can be aware of each other’s routing). Mack has a Google group for discussion purposes, and Mark has put together a great screencast demonstrating how to create a simple application with the framework. Read More

By Zach Inglis / August 25, 2008

Github is a great resource for finding new projects within the Ruby community. It has become an extremely popular place for Ruby and Rails developers to congregate lately, so I wanted to list some of the new projects, and some of the updated ones, that I have found interesting and that are too small for their own blog post. Let us know if you like this as we might turn it into a regular series on Ruby Inside!

This month’s picks:

  • Uppercut – A simple DSL for creating Jabber agents within Ruby. Seems quite young but full of potential.
  • AintABlog – Open-source tumblog application.
  • Read More

By Peter Cooper / August 25, 2008

neverblock.pngNeverBlock is a Ruby (1.9) library developed by eSpace – an Egyptian Web 2.0 development team – that could make your life a whole lot easier if you have to deal with blocking IO operations that hold up all your Ruby threads.

NeverBlock makes it easy to get the benefits of non-blocking IO (IO operations that aren’t held up by mutexes) in your Ruby apps without having to take the usual route of redesigning your app to be event-based. You get all the benefits of event-based code (lower CPU overhead, lower memory use, less hangups) but with the benefit of a normal program flow model. Read More

By Peter Cooper / August 22, 2008

difflanguages.png

WhatLanguage is a library by Peter Cooper (disclaimer: yes, that’s me) that makes it quick and easy to determine what language a supplied text is written in. It’s pretty accurate on anything from a short sentence up to several paragraphs in all of the languages supplied with the library (Dutch, English, Farsi, Russian, French, German, Portuguese, Spanish, Pinyin) and adding languages of your own choosing isn’t difficult.

The library works by checking for the presence of words with bloom filters built from dictionaries based on each source language. We’ve covered bloom filters on Ruby Inside before, but essentially they’re probabilistic data structures based on hashing a large set of content. Read More

By Peter Cooper / August 21, 2008

rinredesign.png

New Design

Till yesterday, Ruby Inside had been sporting the same tired design it had since launch in May 2006, but no more! Ruby Inside now has a more up to date design that focuses more on getting access to great Ruby (and some Rails) content from both Ruby Inside itself and other sites (like Ruby Flow).

If you only read Ruby Inside through the full text feed, please visit the site directly just to give it a look – pretty please? :)

Follow RubyInside on Twitter

The new design you see today is only step one of a longer-term process to make RubyInside.com more useful for all Ruby and Rails developers. Read More

By Eldon Alameda / August 21, 2008

apple_ruby-3.jpg While it was pretty momentous last year when Mac OS X (Leopard) was released with full support for Ruby and Rails included with the OS, it seems that the Ruby train is still rolling with Apple.

A recent InfoQ article highlights some ways that Apple is using Ruby that you might have missed – including:

  • The iPhone Configuration Web Utility – A tool written in Ruby on Rails for allowing enterprise customers to manage iPhones.
  • The SproutCore JavaScript framework – Which is designed for making desktop-like applications on the web and is used in Apple’s new MobileMe applications. SproutCore is installed as a gem, uses generators written in Ruby to create resources and it utilizes Merb to generate HTML artifacts.
  • Read More

By Peter Cooper / August 20, 2008

yahooboss.gifRecently, Yahoo! launched BOSS – the “Build Your Own Search Service.” In all but name, it appears very similar to their older Yahoo! Search API, as it allows you to query Yahoo’s search index programatically. Under the surface though, Yahoo has removed the 5,000 query per day limit, you’re unrestricted in how you present the data returned, you can re-order the data, and no attribution is required.

For Rubyists ready to play with BOSS, Jay Pignata has developed BOSSMan, a library for interacting with the Yahoo! BOSS Web service. Either get it with Git or install with RubyGems like so:

gem sources -a http://gems.github.com
gem install jpignata-bossman

Once you’ve got the library, make sure you’ve got an application ID from Yahoo (this is unavoidable, alas) and then you can start to play:

require ‘rubygems’
require ‘bossman’
include BOSSMan

BOSSMan.application_id = “Your Application ID here”

news = BOSSMan::Search.news(“Barack Obama”, 0, 3)
news.results.each do |result|
puts “#{result.title} [from #{result.source}]”
end

BOSSMan supports Web, news, and image searches out of the box. Read More

By Peter Cooper / August 15, 2008

shoesnew.png

It was about a year ago now that Rubyist extraordinaire Why The Lucky Stiff first showed his “Shoes” Ruby cross-platform GUI application toolkit off to the world. Since then, he’s not let up with the development.

Previously, we’ve featured the release of The Shoebox – a Shoes application repository – and Nobody Knows Shoes – a short book about Shoes, done a roundup of Shoes tutorials, and looked at how to write a drawing program with Shoes on OS X.

Now, Shoes has a new official homepage – located at http://shoooes.net/ (yes, that’s three os). Complete with a picture of an Amstrad CPC and gloriously pixellated logo, there’s now a reasonably non-technical place to go to download Shoes, get into the wiki, and get access to the book. Read More

By Peter Cooper / August 12, 2008

ruby19samruby.png

Ruby 1.9: What To Expect is an online slideshow by Sam Ruby that covers a lot of the differences between the Ruby 1.8 that we all know and love and the currently experimental Ruby 1.9. Sam’s examples are to the point, easily digestible, and span 47 slides. He gave the original presentation at OSCON in Portland a couple of weeks ago.

Sam’s presentation is quite similar to “Migrating to Ruby 1.9” by Bruce Williams which we posted about in April. It never hurts, however, to frequently revise the changes since Ruby 1.9 will be production-ready in just four short months..! Read More

By Peter Cooper / August 8, 2008

dontpanic.jpg
Photo by JL2003 – CC 2.0 Attribution License

In June, a serious security advisory was put out about the official (MRI) Ruby interpreter for all versions prior to 1.8.5, 1.8.6 prior to patch 231, 1.8.7 prior to patch 22, and 1.9.0 prior to 1.9.0-2. Now (August 8, 2008) a new set of vulnerabilities have been discovered and announced. They affect all 1.8.5 releases, 1.8.6 patch 285 and prior, 1.8.7 patch 70 and prior, and Ruby 1.9 r18423 and prior. This almost certainly means an upgrade is required for most users as all but very recent versions are affected.

The vulnerabilities discovered this time around aren’t, on the surface, quite as serious as those last time around. Read More

By Peter Cooper / August 6, 2008

There are some really amazing sounding jobs this month! The focus is definitely on Rails – and working environments include the skunkworks at an adult entertainment provider, a gaming startup, a mansion in Los Angeles, and one of the biggest companies in America. All the jobs are in the US, alas, but on both coasts and in-between!

From the Ruby Inside job board (costs $99 for a 60 day listing – and you get featured on Ruby Inside like this) comes a whole batch of interesting opportunities:

kiha.png Web Developer for a Mobile Start Up (Seattle, WA) – Kiha are looking for a general Web developer with Ruby, Ajax, and MySQL experience (and preferably some Java). Read More

By Peter Cooper / August 4, 2008

prawn.png

Prawn is a new pure Ruby PDF generation library developed primarily by Gregory Brown.

Back in March, Gregory tried to raise $13000 so he could spend six months working on Ruby-related open source projects. He eventually raised $5525 from the community (plus $5000 from Ruby Central and $500 from Mountain West RubyConf) and has spent the last few months working on Prawn.

Prawn can be installed from a pull from GitHub or, for those of us who are less adventurous, with a gem install prawn. Once installed, you can give it a quick test run:

require ‘prawn’

Prawn::Document.generate(“test.pdf”) do
font “#{Prawn::BASEDIR}/data/fonts/DejaVuSans.ttf”
text “this is a test ” * 100
end

Prawn comes with 11 typefaces, including Helvetica, Courier, DejaVuSans, Times, and everyone’s favorite – Comic Sans. Read More

Recently Popular Posts