The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Detecting duplicate images with Ruby
Phashion is a Ruby wrapper around the pHash library, an API for detecting duplicate and near-duplicate image, audio and video files. It currently only supports images but your help is welcome!
Reflexive: Live Class And Source Code Browser
Reflexive is a web based live class and source code browser. It’s meant to simplify navigating the code bases which make heavy use of metaprogramming techniques and/or have large amount of classes dispersed between many files. Checkout introduction blog post as well!
Scalable Work Queues with Beanstalk
Beanstalk is a fast, in-memory work queue system - a memcached of work queues. A look at the features, advanced recipes, and its use at PostRank, with Ruby examples, of course.
CodeRack - an open Rack middleware directory is launched
CodeRack contest site has been converted into an open Rack middleware directory. Read more here
Ruby and Javascript S Expression Differences
I just made a litte gist of comparison between sexp of ruby and javascript usign Johnson and rubyparser. Is also a test for using v8 with ruby. Check also on my blog post in italian.
Google releases VP8 web video codec under BSD!
It isn’t exactly ruby related but it’s important for us all in the open source community. Google has released VP8 under the name WebM and it aims to become the primary video codec in use on the web!
Submit A Workshop Or Session for AAC2010
The call for proposals for Acts as Conference 2010 is open! Submit a workshop or session proposal right now. For the past two years of Acts As Conference we have brought the most leading edge tech in the Ruby on Rails world to our community. This year we’re taking it up a few notches. This year we want to help people remain competitive with workshops and sessions focusing on software craftsmanship, web development, Agile development, and Ruby on Rails.
How to get the most out of programming books
This is not Ruby-specific, but I thought I’d share some tips on how beginners can get the most value of out “how to program” books. Click here to read the article.
Irb Autocompletions Generated from Documentation
The latest version of bond comes with the ability to generate gem-specific irb autocompletions from a gem’s yard documentation. This release also features the ability for gems to ship with their own irb autocompletions (i.e. hirb) and allows for bond to be used within emacs’ inf-ruby mode. Read more about it.
Using RabbitMQ and AMQP with Ruby
AMQP stands for Advanced Message Queuing Protocol. RabbitMQ is a server that implements the protocol. In this edition of Ruby on Cloud, I show a sample publisher and consumer code using AMQP.
Everything You Need to Know About Unicorn
…in an easy-to-consume FAQ’like format. Check it out!
aspect4r - Aspect Oriented Programming for Ruby
I am releasing my first gem - aspect4r. It allows one to extract common logic from multiple methods using before_method/after_method/around_method etc. It also provides a approach to split large methods into small pieces. I hope you guys find it useful. It might undergo some API changes before 1.0 after I put it in use in one of my projects. I’ll also be doing some benchmark testing next and improving its internals.
Interview with Miles Forrest - Part 1
I recently interviewed interviewed Miles Forrest for the Teach Me To Code (formerly Rails Coach) Podcast. We had a great talk about podcasting, programming, life, and building Ruby Brigades.
Cinch: The IRC Bot Building Framework version 0.3
I have just bumped the latest version of Cinch to 0.3. Cinch provides an easy DSL for creating IRC Bots with easy. It’s literally a Cinch! See the Ruby Inside post here. Cinch comes boxed with a ton of examples, and major features are going to be implemented soon, so stay tuned! PS: Remember if you were watching Cinch on GitHub you may have been removed from the watch list, so please re-watch!
Are You One Of Those Developers Who Don't Know About Closures?
There are a great many decent developers out there who don’t know what a closure is, but functional languages have been making a comeback recently so it really behooves you to know about functional concepts. Here is a simple explanation of closures using Ruby to demonstrate.
Ruby Libxml Tutorial - Reader API
The libxml provides a StAX API for processing XML. The Ruby binding of libxml exposes it via XML::Reader. I have written a tutorial on using the XML::Reader API. I believe it is the first tutorial to cover this topic.
Newton – Adding new forces to your bots
Inspired by Isaac and Cinch but disappointed by the lack of abstraction, I wrote Newton, a fully OO but yet lightweight bot framework. Check it out!
A pseudo-intellisense for Textmate
A lot of programmers have developed the bad habit of consulting the migrations to identify which attributes are available on an Active Record model. This certainly is not the smartest way to do this. [more inside]
Database and Performance in Web Apps
I just wrote up a long post on database performance in web applications that hopefully will be interesting to folks.
BDDCasts launches new series
Often when updating an older site, you find yourself having a bunch of outdated gems. See in the first episode of URLAgg updates the steps needed to move a Rails 2.3.x project to Bundler. The move is facilitated by using RVM Gemsets to update the out of date gems without interfering with the rest of your development environment.
Benchmarking MacRuby 0.6
Recently MacRuby 0.6 was released. The development team put a lot of emphasis on improving compatibility with Ruby 1.9, and the viability of MacRuby as a tool for developing Mac OS X applications. Focus on these aspects took precedence over performance, but I was still curious to see how well it performed when compared to Ruby 1.8.7 and Ruby 1.9, respectively.
openSUSE as a ruby development platform
Post describing ruby on openSUSE, community repositories, gem rpm packages and more.
Typhoeus 0.1.25, monster_mash 0.1.1 released
The latest Typhoeus is out, at version 0.1.25. A few bugfixes, plus the new addition of automatic gzip compression if both the client and server support it. [more inside]
Rack Session Store in MongoDB
I just pushed mongo-store 0.1.1, a Rack session store in MongoDB. It passes all the Rack specs, but I haven’t had a chance to use it in production yet.