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

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

By Peter Cooper / August 3, 2008

rubyist-thumb.jpg

The Rubyist – not to be confused with the Japanese Rubyist Magazine – a new paper-and-PDF based magazine for Ruby developers has released its first issue. This is a significant milestone, since it was just over a year I lamented about how the blogosphere killed the enthusiasm for Ruby magazines. In response to that post, Jeremy McAnally announced his intention to produce a Ruby magazine, and now, with the advent of simple Print On Demand magazines from MagCloud, it has become a reality.

The first issue is available in print for the United States only and costs $8 plus postage. Read More

By Peter Cooper / August 2, 2008

httparty.jpg

HTTParty is a new Ruby library by John Nunemaker (of railstips.org fame) that makes it a snap to build classes that can use Web-based APIs and related services. At its simplest, you include the HTTParty module within a class, which gives your class a “get” method that can retrieve data over HTTP. Further directives, however, instruct HTTParty to parse results (XML, JSON, and so on), define base URIs for the requests, and define HTTP authentication information.

HTTParty’s simplicity is demonstrated in the most “complex” example John gives in his introduction post – a Representative class that can retrieve information about US Representatives from whoismyrepresentative.com:

require ‘rubygems’
require ‘httparty’

class Representative
include HTTParty
base_uri ‘whoismyrepresentative.com’
default_params :output =’json’
format :json

def self.find_by_zip(zip)
get(‘/whoismyrep.php’, :query ={:zip =zip})
end

def self.get_all_by_name(last_name)
get(‘/getall_reps_byname.php’, :query ={:lastname =last_name})
end
end

puts Representative.get_all_by_name(‘Donnelly’).inspect
# {“results”=[{"district"="2", "last"="Donnelly", "first"="Joe", "state"="IN", "party"="D"}]}

That code will work for you after a simple gem install httparty. Read More

By Peter Cooper / August 1, 2008

rubyhoedown.png

Yee-haw! The Ruby Hoedown, the “Ruby conference for the South” enters its second year, taking place in Huntsville, Alabama on August 8th and 9th, 2008 (yes, in a week’s time!). Speakers include David Black, Chris Wanstrath, Giles Bowkett, Robert Dempsey, Gregg Pollack and Jason Seifer, and late registration is $199. If you fancy a last-minute trip to what should be a great sophomore Ruby event, register now!. Huntsville isn’t a crazy distance from Birmingham, Atlanta, or Nashville, so it shouldn’t be too hard to attend if you’re already in that corner of the country.

Describe Your Vision of the Perfect Ruby Conference.. Read More

By Shalev NessAiver / July 30, 2008

DocBox is the latest attempt to improve the Ruby/Rails documentation scene. Created as a Google Summer of Code project by Ian Ownbey (mentored by Jeremy McAnally) DocBox “sits on top of RDoc and allows users to update documentation through a wiki-like interface.” Changes to the ‘wiki’ are then folded back into your code and committed to a git documentation branch.

While still young, this project shows a lot of promise, as it allows anyone to write detailed, versioned, documentation without having to download or view any source code.

Naturally, DocBox is open source and is available at GitHub. Jeremy and Ian both encourage people to jump in. Read More

By Peter Cooper / July 29, 2008

Ruby on Bells is a demo of the Madrona fork of RAD (Ruby Arduino Development) itself a Ruby bridge to Arduino, an open source electronics prototyping platform. Powered by a simple Ruby script, a set of glasses are hit by small mallets on servos, resulting in a Philip Glass-esque cacophony. It’s a compelling demo, and if physical computing intrigues you, the tools available to Ruby and Arduino developers are now mature enough to bring interesting results within easy reach.

A longer “behind the scenes” video explaining how it was put together and how the code looks is also available. The code used is a very simple Ruby-based DSL. Read More

By Peter Cooper / July 28, 2008

norubyforyou.jpg
Photo credit: Blakespot. License: CC 2.0 Attribution

Yuki Sonoda has announced the release of Ruby 1.9.0-3, a snapshot release of the still-experimental Ruby 1.9 (wait until Christmas for the production ready 1.9.1). Minor releases aren’t typically covered here on Ruby Inside, but the dropping of support for nine platforms in Ruby 1.9 might be of significant interest to some:

Ruby 1.9 no longer supports the following platforms because they have no active maintainer.

  • BeOS
  • WinCE
  • OS/2
  • Interix
  • bcc32
  • Classic MacOS
  • djgpp
  • VMS
  • human68k

I will remove platform-specific codes for them from Ruby, unless someone become a maintainer by 25 Sep. Read More

By Peter Cooper / July 28, 2008

It’s time to thank Ruby Inside’s excellent sponsors!

I want these posts to be relevant and useful, so I try to include any news or developments the sponsors have had, 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. If you have any suggestions on how these posts could be better then, of course, leave a comment.

Note: All blurbs and descriptions are written by me and not directly influenced or specified by the sponsors. As such, any opinions stated are mine and not necessarily shared by the sponsor(s)! Read More

By Peter Cooper / July 26, 2008

17125v1.jpg

Until last week, Mark McGranaghan was a full-time Ruby developer for TechCrunch, the popular Web 2.0 news site. He worked extensively on CrunchBase, a wiki-style database of companies, people, and investors in the world of Web 2.0. His last assignment was the free-to-use CrunchBase API which went live last week.

I caught up with Mark to ask him about his time working at one of the world’s most famous blogs with one of the world’s most famous bloggers! You might be surprised to learn that head Cruncher Michael Arrington – who is never slow to point out Twitter’s downtime – is pretty cool with Rails and what works well for his developers works for him. Read More

By Peter Cooper / July 24, 2008

ironruby.png

IronRuby is a .NET implementation of Ruby being developed by Microsoft (specifically, by John Lam). The project has matured significantly in the past year, and IronRuby is well on its way to running Rails applications (it already works with very simple ones). IronRuby’s major benefit is that it allows Ruby code to access a massive range of .NET libraries and services.

Justin Etheredge has put together a great set of tutorial blog posts designed to get you up to speed with IronRuby:

  • Getting IronRuby Up and Running walks you through getting the source code, compiling it with Visual Studio 2008 (if you don’t have this, a link to the free “Express” edition is provided), associating the .rb file extension, and running some initial tests.
  • Read More

By Peter Cooper / July 22, 2008

redcloth.png

RedCloth is a popular Ruby library for converting Textile-formatted text into HTML. Initially developed by WhyTheLuckyStiff, it’s now under the guardianship of Jason Garber, who has just released version 4 (RubyForge or Github). This is a significant update, following on from 3.0.4 which was released almost three years ago, and features a handful of significant improvements and changes:

  • New SuperRedCloth (RedCloth 4.0) is a total rewrite using Ragel for the parsing.
  • Markdown support has been removed.
  • Single newlines become <br> tags, just as in traditional RedCloth and other Textile parsers.
  • HTML special characters are automatically escaped inside code signatures, like Textile 2.
  • Read More

By Peter Cooper / July 22, 2008

foscon.png

FOSCON is a “free, fun gathering” of Ruby developers held alongside the O’Reilly OSCON conference currently taking place in Portland, Oregon. It’s tomorrow (Wednesday, July 23) at CubeSpace (near the Oregon Convention Center) from 6pm. The always proactive Portland Ruby Brigade have organized it, and a surprising number of interesting presentations are already planned, including one on IronRuby from John Lam of Microsoft. A live coding competition will also be taking place. Read More

By Peter Cooper / July 22, 2008

starling.png

It’s been around for a while now, but Starling is a “light-weight persistent queue server that speaks the MemCache protocol.” Starling makes it ridiculously easy to set up a network-accessible queue (or many queues) for, say, asynchronous job processing between multiple processes and machines. It was developed by Twitter to handle the heavy amount of queueing necessary to keep their service ticking over. Starling is proven in production, with not only Twitter using it in anger, but FiveRuns too. FiveRuns have even created their own fork that, they say, is significantly faster.

Why the sudden interest in Starling? Well, Glenn Gillen has written an excellent introductory guide to setting up Starling over at RubyPond.com. Read More

By Peter Cooper / July 21, 2008

rubyfringecrowd.png
(Photo credit: Kieran Huggins)

RubyFringedescribed as a “pricey, limited-attendance smoozefest” by Ruby documentation co-ordinator James Britt or as “an avant-garde conference for developers that are excited about emerging technologies outside of the Ruby on Rails monoculture” by the organizers – went ahead last week and appears to have been a significant hit. A small conference with a reasonably high ticket price (though far less than RailsConf Europe!), RubyFringe was set to be a very unique sort of conference with parties, drinks and out-of-hours entertainment laid on, and a limited number of tickets made available to ensure a more intimate gathering. Read More

Recently Popular Posts