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

By Peter Cooper / July 14, 2008

engineyardmomoney.jpg

Engine Yard, probably the first major Rails-focused hosting company, has today taken a second round of finance of $15m. This second round, from Benchmark Capital, Amazon.com, and New Enterprise Associates, follows on from January’s $3.5m from Benchmark.

So where will the money go? Ezra Zygmuntowicz says:

We’re going to use this money towards making Ruby the platform of choice for cloud computing and web development in startups and the enterprise alike.

This assertion is without doubt, as Engine Yard continues to fund and support the development of Rubinius and Merb, and supports several popular Ruby and Rails sites with sponsorships. Read More

By Peter Cooper / July 11, 2008

Ilya Grigorik of Igvita has put together a great article called 6 Optimization Tips for Ruby MRI. In it, he walks through six different things you can do to improve the performance of your code when running on the regular Ruby interpreter (MRI). For example, interpolation is quicker than concatenation when working with strings, destructive operations prevent wasteful object duplication, and hand-written blocks are a lot faster than Symbol#to_proc.

And.. metaprogramming, of course, comes in for some much deserved performance criticism:

Ruby has a wonderful property of being highly dynamic, which in turn, allows us to create all kinds of spectacular meta-programming scenarios. Read More

By Peter Cooper / July 9, 2008

shoes-clock.png

You’ve used Shoes, Why The Lucky Stiff’s GUI-app toolkit for Ruby, right? No? You’ve at least heard of it? (If the answer to this is also no, seriously chastise yourself now.)

Ernest Prabhakar has announced that two online “ShoesFests” will be taking place, involving why the lucky stiff and “friends,” with the hope of alluring wannabe hackers (whether on Shoes itself or Shoes-based applications):

The goal of these events is to write and share fun little applications using Shoes, a clever little cross-platform GUI toolkit written in Ruby. This will allow us to test, document, and file bugs on how the various Shoes features work on the different supported platforms (Linux, Windows, Mac), in preparation for our next major release on July 31st, 2008. Read More

By Peter Cooper / July 8, 2008

lonestar.png

Registration for Texas’s own Ruby conference, the Lone Star Ruby Conference, has opened. The overall event takes place between September 4 – 6, 2008 in the Norris Conference Center in Austin, TX. Tickets are $250 for the two-day conference portion, or $425 for one day of training / tutorials followed by the two day conference. The prices shoot up come August 10.

The schedule is bumper packed with some great sessions and tutorials. James Edward Gray II and Gregory Brown will be delivering a three hour training session on Ruby’s IO functionality, Jim Weirich and Joe O’Brien will be delivering a tutorial on Test Driven Development, Gregg Pollack and Jason Seifer (of RailsEnvy fame) will be giving an advanced ActiveRecord workshop, and lots more besides. Read More

By Peter Cooper / July 7, 2008

Trollop is a command-line argument processing library for Ruby. Developer William Morgan says Trollop is “designed to provide the maximal amount of GNU-style argument processing in the minimum number of lines of code.” It makes a refreshing change to the more popular, but generally scary, cmdparse. The homepage features some examples of its usage.

Once you’ve installed trollop with the usual gem install trollop, you could write:

require ‘trollop’

opts = Trollop::options do
opt :http_1_0, “Force HTTP/1.0″
opt :http_1_1, “Force HTTP/1.1″
opt :hide_referer, “Hide referer”, :default =true
opt :connections, “Set number of simultaneous connections”, :default =2
end

p opts

Running the script with no command line options would result in opt becoming:

{:http_1_0=false, :http_1_1=false, :hide_referer=true, :connections=2, :help=false}

You also get a –help (or -h) option for free that describes how to use the options:

Options:
–http-1-0, -h: Force HTTP/1.0
–http-1-1, -t: Force HTTP/1.1
–hide-referer, -i: Hide referer (default: true)
–connections, -c : Set number of simultaneous connections (default: 2)
–help, -e: Show this message

Note that trollop takes care of assigning the short-hand individual letter options, assigning the next letter within the string if the previous ones are taken. Read More

By Peter Cooper / July 7, 2008

rubykaigi08.png
(Credit: june29 – photo under CC 2.0 Attribution license)

RubyKaigi 2008 took place a couple of weeks ago. As the main Japanese Ruby conference, RubyKaigi is the de-facto authoritative Ruby conference, and the news that came out of the conference this year did little to shake its stature.

The online enterprise news publication InfoQ has covered the conference in two parts. The first features a mini interview with Matz, where he talks about the low adoption rate of Ruby in the enterprise and the role of certifications in the Ruby world. The second InfoQ post reveals that Matz is preparing to “standardize” Ruby, with the ultimate aim to submit a Ruby standard to the ISO, and Koichi Sasada reveals that Ruby 1.9.1 (notable, as it will be the first officially stable / production-ready release of Ruby 1.9) is set to arrive this December. Read More

By Peter Cooper / July 6, 2008

20080703-mqpqqhdk4e49x3yhhb8t2g9rjg.jpg

Dr Nic Williams has been busy playing with iPhone and Objective C development lately and, unsurprisingly, has found a way to bring Ruby into the mix. He has developed rbiphonetest, a Ruby-based testing framework for iPhone / Objective C applications that uses RubyCocoa to provide the necessary bridge. As well as producing an in-depth 20 minute demonstration screencast, he has also packed some key information into his blog post.

If you’re a Rubyist with ambitions of developing native iPhone applications using Objective C (and perhaps even Ruby one day), it’s certainly worth a look (as are all of Dr Nic’s projects, of course). Read More

By Peter Cooper / July 1, 2008

jobsjobsjobsjobs.gif
(Remix of an original CC 2.0 licensed work by Joichi Ito.)

From the Ruby Inside job board (costs $99 for a 60 day listing – and you get featured on Ruby Inside like this) come a few new opportunities:

Senior Java Developer with Ruby (Vonage, New Jersey) – Vonage, the well known VoIP company, are looking for a software developer with both Java and Ruby experience. They offer a fun, casual and relaxed environment, a $100/month food credit, dry cleaning and laundry service, medical, dental and vision plans, as well as stock options. In return, you should have both strong knowledge and experience of both Java and Ruby. Read More

By Peter Cooper / July 1, 2008

railscampuk.png

Note: This item has also been posted on Rails Inside. I don’t tend to make it a habit of crossposting items, but as Rails Inside is still very new, I am sure many Ruby Inside readers will want to know about it. Beware, however, you will need to subscribe to Rails Inside to get the skinny on new Rails events in the long term :)

Following on from the outstanding success of the “Rails Camp” events that have taken place in Australia, comes Rails Camp UK, the equivalent for Brits (and brave travellers). The first is from Friday, August 15th to Monday, August 18th and takes place just a 30 minute train ride away from London, in Orpington, Kent (my teenage stomping grounds, as it happens). Read More

By Peter Cooper / June 30, 2008

railsinside.gif

It’s been years in the making, but it has finally arrived.. Rails Inside, the Rails-only equivalent of Ruby Inside! Featuring an all-new template, Rails Inside presents information in a similar format and style to Ruby Inside but with a focus entirely on the Ruby on Rails scene. If Rails is your main thing, or a significant part of your development life, get over there and subscribe (by RSS or e-mail – the e-mail version actually looks surprisingly nice I’ve found).

Rails stories will still crop up on Ruby Inside but in slightly lower numbers. With its focus, Rails Inside will feature lots more interesting Rails stories and cover smaller (but still interesting) announcements that Ruby Inside wouldn’t traditionally pick up anyway. Read More

By Peter Cooper / June 29, 2008

userfriendly.png

A light hearted entry, but Ruby has featured quite significantly in the latest edition of the popular User Friendly comic strip series. Unfortunately, a bearded Perl and Emacs fan gives Ruby the slap down, but what’s new?

Update: It seems this comic strip might not be as new as it initially seems.. see comments. Read More

By Peter Cooper / June 27, 2008

iamawesome.gif
(Photo credit: slushpup – License: CC 2.0 Attribution)

Six months ago, we featured 11 Tips on Hiring a Rails Developer here on Ruby Inside (and it got a crazy number of comments), but now Ryan Ritirisi has put together a great list of 15 Questions to Ask During a Ruby Interview. They include questioning developers in a way that can separate professional Ruby developers from the hobbyists (or those who are only familiar with Ruby through Rails templates, say).

Pete Forde of Unspace suggests, however, that asking clever questions isn’t necessarily the best way:

The best way to recruit amazing talent is to approach people that you already know are at the top of their game. Read More

By Peter Cooper / June 27, 2008

erubycon.png

erubycon is a Ruby conference taking place in Columbus, Ohio between August 15 and 17, 2008. The e seemingly stands for “enterprise” with The Enterprise (and not the Star Trek variety) being a key focus. Earlybird registration is $199.00 and is open till July 4.

The speaker list is quite substantial and includes Neal Ford (Thoughtworks), Stuart Halloway (Relevance, Inc), Jim Weirich, Josh Holmes, Giles Bowkett (is there a conference Giles doesn’t speak at?), Evan Light, Anthony Eden, Michael Letterie (IronRuby), Brian Sam-Bodden, Jeremy McAnally (ENTP and the Humble Little Ruby Book) and Lance Carlson (Ruby Skills).

The schedule so far appears to have a focus on solid, information-rich practical presentations rather than airy keynotes and fluffy thought pieces, so it could prove to be quite a learning experience. Read More

By Peter Cooper / June 22, 2008

dontpanic.jpg
Photo by JL2003 – CC 2.0 Attribution License

The official Ruby blog is reporting “multiple vulnerabilities” in the official Ruby interpreter (MRI). A significant number of versions are affected:

  • All versions prior to 1.8.5
  • All 1.8.5 versions prior to patch 231
  • All 1.8.6 versions prior to patch 230
  • All 1.8.7 versions prior to patch 22
  • All 1.9.0 versions prior to 1.9.0-2

Jeremy Kemper, at the official Rails blog, advised upgrading immediately, but with the warning that Ruby 1.8.7 only works with Rails 2.1 and later. Numerous commenters, however, have noted significant issues with Rails applications once they’ve upgraded to Ruby 1.8.6p230 and 1.8.5p231. Read More

By Peter Cooper / June 20, 2008

beginning-ruby-cover.png

I’ve had word from Apress that they’re doing a one-off 24 hour $10 sale on the e-book version of Beginning Ruby as part of their “daily deal” series. The 24 hours is up – sorry! – but the e-book is still available from Apress at the usual rate of $27.99. It comes as a password protected PDF – no crazy DRM.

Beginning Ruby (Amazon link to the print version) is the ideal book for those new to Ruby, whether fresh to programming or coming from other languages. As well as covering Ruby in a general sense, it also covers the community, a handful of interesting RubyGems, database programming & SQL, object orientation (from the ground up), Rails (though very briefly), and network programming. Read More

Recently Popular Posts