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

Interesting Ruby Tidbits #32: DataMapper, Screencasts, IP Addresses, Euruko 2010 and more

By Peter Cooper / June 1, 2010

The latest installment of my series of roundup posts, covering some of my latest findings in the world of all things Ruby. Why two "tidbits" posts in a row? Well, I'm radically redesigning/reworking Ruby Inside to be more interesting, both to you and me. This coupled with work on my new startup coder.io have reduced my available time a lot but, rest assured, everything will be crazy on Ruby Inside again within a week or so :-)

For now, enjoy!

DataMapper 1.0.0 RC3 Released

The third release candidate of popular Ruby ORM DataMapper has been released. I've become a bit of a MongoMapper and Redis guy myself lately, but ORMs like DataMapper and Sequel provide great alternatives to the ever-popular ActiveRecord ORM. 1.0 is considered a major release for most projects nowadays in terms of stability and support, so seeing DataMapper edging closer to that landmark is encouraging.

ThinkCode.TV Screencasts from Antonio Cangiano

ThinkCode.TV is a new screencast company from Antonio Cangiano (of Ruby benchmarking fame). Antonio got in touch with me so I could review a couple of his screencasts. I haven't had time, but I've seen good words about them and the productions seem tight. Of most relevance to Rubyists will be Introduction to MacRuby (recommended by Matt Aimonetti and Laurent Sansonetti of the MacRuby team!) and Guide to TDD. There's also an upgrading to Rails 3 video if that's your cup of tea.

Euruko 2010 Summaries

Markus Prinz has been summarizing the goings on at Europe's premier Ruby conference, Euruko - this year being held in Poland. He has a round up of day one and day two including notes on the presentations. I plan to do a big roundup post of Euruko on Ruby Inside in the next couple of weeks, but this is great for now.

RubyRow - Ruby Blog Advertising Network - Relaunch

James Avery, the mastermind behind .Net's popular The Lounge ad network, has announced the relaunch of his RubyRow advertising network. RubyRow is the biggest advertising network in the Ruby space, covering blogs from RailsTips, Thoughtbot, Giles Bowkett, Dr Nic, Jamis Buck, Obie Fernandez, Geoffrey Grosenbach and… yes, Ruby Inside, Rails Inside, and RubyFlow.

If you have something to advertise to the Ruby world, head on over to RubyRow.net and get in touch with James. I'd love to see your logo on the sidebar here or on RubyFlow ;-) (tip: RubyFlow is cheaper and the audience typically more technical, if that suits you better)

Real World Ruby and Cassandra

If you've been following the "NoSQL" debates lately, you might have heard of Apache Cassandra, a "highly scalable" distributed database system built around a column storage model. Despite Cassandra starting to become a household name with developers, it's often seen as being harder to get into than things like MongoDB and CouchDB, so Mike Subelsky has put together a blog post titled Real World Ruby and Cassandra to demonstrate how he uses Cassandra from Ruby, and what other pages you should read.

IPAddress - Handle IPv4 and IPv6 Addresses from Ruby

IPAddress is a new Ruby library by Marco Ceresa that goes beyond Ruby's "IPAddr" library and offers both powerful and easy handling of IP (v4 and v6) addresses from Ruby. It's fully object oriented and has some pretty extensive document with lots of examples. You can store IP addresses including a prefix (e.g. /24) or submask, determine the class of IP addresses, work with broadcast addresses, special formats (bits, IPv4→IPv6, long IP) and more. This is the sort of hard working cornerstone library that we could do with more of.

The Difference Between Ruby Procs and Lambdas

Alan Skorkin has written Ruby Procs and Lambdas which is a code heavy blog post that demonstrates what it says in its title. Alan's blog has been a common sight on the front page of Hacker News lately, and for good reason - he writes well and this post is no exception. You'll learn something from this.

RubyRags.com (Ruby Clothing Site) For Sale

Ryan Norbauer is selling his RubyRags.com, Ruby-related clothing site. In the last 2 years, it's taken in about $16K and fulfilment, etc, is handled by a third party. There's more information relating to the sale.

Phashion: A "Perceptual Hash" Library Wrapper

Phashion is a Ruby wrapper around the open source pHash library that provides "perceptual hashing" functionality. What's a perceptual hash? Well:

A perceptual hash is a fingerprint of a multimedia file derived from various features from its content. Unlike cryptographic hash functions which rely on the avalanche effect of small changes in input leading to drastic changes in the output, perceptual hashes are "close" to one another if the features are similar.

Interesting.

By the way, if you have a minute, drop over to coder.io and if it looks interesting, drop your e-mail in the box. It's very close to a beta launch and if you're into reading programming news like the above, you should get a lot out of it.

Comments

  1. Dan Kubb says:

    @Peter: DataMapper is more than just an ORM. It maps ruby classes onto almost any datastore. Currently there's support for ~40 datastores, with new ones being added by the community. There are even Redis (http://github.com/whoahbot/dm-redis-adapter) and Mongo (http://github.com/solnic/dm-mongo-adapter) adapters too.

  2. Peter Cooper says:

    Just testing..

Other Posts to Enjoy

Twitter Mentions