rubyflow.com Archives - 24 November 2012, Saturday

  • Controlling "random" behavior in Ruby

    rubyflow.com 24 Nov '12, 6pm

    Controlling "random" behavior in Ruby Posted by sleeplessgeek on November 24, 2012 — 0 comments Did you know that you can control the behavior of "random" methods in Ruby - things like `sample` and `shuffle` and `rand`? I just wrote a blog post explaining how. Comments “ ” Post a Comm...

  • Hats are obselete: Ruby Secret Santa assignment script

    rubyflow.com 24 Nov '12, 5pm

    Hats are obselete: Ruby Secret Santa assignment script Posted by sleeplessgeek on November 24, 2012 — 0 comments Christmas, as 2 solid months of in-store nostalgia have ensured we know, is coming soonish. But how can we do our shopping from the safety of home until we know who to buy ...

  • Concurrency Patterns in Ruby: Futures

    rubyflow.com 22 Nov '12, 7am

    Concurrency Patterns in Ruby: Futures Posted by jpignata on November 19, 2012 — 0 comments Concurrency! Threads! Ooh, scary! Don't be afraid. Sometimes we just need to reach for patterns that help us reason about what we're asking our computers to do. In this article, I take a closer ...

  • API for extracting semantic image data - colors, faces, Exif data and more

    rubyflow.com 21 Nov '12, 10am

    API for extracting semantic image data - colors, faces, Exif data and more Posted by Cloudinary on November 21, 2012 — 0 comments This blog post describes a new cloud-based API that helps you improve your website using semantic information hidden in your user uploaded images. You can ...

  • My 2012 Mac setup for Ruby Development

    rubyflow.com 20 Nov '12, 7pm

    My 2012 Mac setup for Ruby Development Posted by kfaustino on November 20, 2012 — 0 comments I just bought a new Macbook Air and decided to share my setup for Ruby development with Mountain Lion Comments “ ” Post a Comment Comment abilities for non registered users are currently deact...

  • Active Record Identity Map

    rubyflow.com 20 Nov '12, 8am

    Active Record Identity Map Posted by gravis on November 20, 2012 — 1 comment AR Identity Map makes it easier to stub Model dependencies, learn how it helps to test your controllers with ease here Comments “ ” Wont IdentityMap be gone with Rails 4?rmoriz - November 20, 2012 09:41 “ ” P...

  • sportdb/console - Try sport.db w/ Interactive Ruby Console

    rubyflow.com 20 Nov '12, 8am

    sportdb/console - Try sport.db w/ Interactive Ruby Console Posted by geraldbauer on November 20, 2012 — 0 comments I've added support for the interactive Ruby console (irb) to the open sports database gem. Use irb -r sportdb/console and you're ready to go. Try en = Country.find_by_key...

  • How we autoscale our EC2 infrastructure

    rubyflow.com 19 Nov '12, 7pm

    How we autoscale our EC2 infrastructure Posted by oBeLx on November 19, 2012 — 0 comments This is part two of our Amazon blogposts which deals with how exactly we autoscale our infrastructure and what our plans are for the future. You should read Part 1 as well as it lays out why we w...

  • Daybreak: a simple key-value store for ruby

    rubyflow.com 19 Nov '12, 5pm

    Daybreak: a simple key-value store for ruby Posted by thejefflarson on November 19, 2012 — 0 comments Daybreak is an append-only-file key value store written in ruby with Enumerable niceties. Comments “ ” Post a Comment Comment abilities for non registered users are currently deactiva...

  • Parse Extensive Metadata from Images using ImageMagick (corrected gem name)

    rubyflow.com 19 Nov '12, 3pm

    Parse Extensive Metadata from Images using ImageMagick (corrected gem name) Posted by cavneb on November 19, 2012 — 0 comments A few days back I posted a link to a gem which used RMagick to gather extensive metadata for images. This has now been renamed to magick-metadata. After relea...

  • chruby: ultra-minimal ruby switcher

    rubyflow.com 19 Nov '12, 7am

    chruby: ultra-minimal ruby switcher Posted by postmodern on November 19, 2012 — 0 comments chruby is an ultra-minimal alternative to RVM and rbenv. chruby allows one to install rubies into /usr/local/$ruby , /opt/$ruby or ~/.rubies/$ruby , but install gems into ~/.gem/$ruby/$version ....

    Related:
    1. Refining Ruby blog.headius.com 19 Nov '12, 2pm
  • Glib-Eventable

    rubyflow.com 18 Nov '12, 3pm

    Glib-Eventable Posted by c00lryguy on November 18, 2012 — 0 comments glib-eventable is a helper gem for ruby-gnome2 applications. Instead of writing: class Window def initialize super signal_connect('destroy') { Gtk.main_quit } end end This allows you to write: class Window event dest...

  • How to speed up your test suite

    rubyflow.com 17 Nov '12, 8am

    When you practice test-driven development, most of the time you need to run only a small number of tests to validate your recent code changes. Unfortunately things change once you start refactoring. Refactoring models implicates your entire application. So in order to keep things from...

  • IChannel v1.0.0: A modern & flexible interprocess communication(IPC) primitive.

    rubyflow.com 16 Nov '12, 9pm

    IChannel v1.0.0: A modern & flexible interprocess communication(IPC) primitive. Posted by robgleeson on November 16, 2012 — 0 comments I just launched IChannel , a modern & flexible interprocess communication(IPC) primitive that can be used to send Ruby objects between a parent proces...

  • a redis-backed git server to replace gitolite

    rubyflow.com 15 Nov '12, 7pm

    a redis-backed git server to replace gitolite Posted by themgt on November 15, 2012 — 0 comments Pogoapp recently replaced it's gitolite server and automation code with a significantly simpler, faster set of redis-backed ruby scripts. If you're trying to scale up complex multi-user gi...

  • Why do engineers suck at finding the right jobs

    rubyflow.com 15 Nov '12, 5pm

    Why do engineers suck at finding the right jobs Posted by mattetti on November 15, 2012 — 0 comments Even though we live in a very lucky time for software engineers, most of us have a hard time building a career and picking the right jobs , read why we suck at that, my own experience ...

  • Roswell: simple self-hosted password management server

    rubyflow.com 15 Nov '12, 2pm

    Roswell: simple self-hosted password management server Posted by blahed on November 15, 2012 — 0 comments Roswell is a simple rails app that allows you to share passwords, notes, and software licenses with select groups of people. It has user and group management, search, favorites an...

  • Asynchronous Processing in Ruby Series

    rubyflow.com 15 Nov '12, 8am

    Every web application has slow requests and the need for background jobs. Just published an article on the Miso engineering blog about asynchronous processing ; how it works, why you should never use a database for it, and what we should use. Check out the first part of what will be a...

  • Wait, Chrome DevTools could do THAT?

    rubyflow.com 14 Nov '12, 10pm

    Wait, Chrome DevTools could do THAT? Posted by igrigorik on November 14, 2012 — 0 comments Your browser is one of the most and best instrumented development platforms - you may just not realize it yet. Check out these videos to learn how to debug network, rendering, and javascript per...

  • Custom Wizard Urls in Rails with Wicked Gem

    rubyflow.com 14 Nov '12, 6pm

    Custom Wizard Urls in Rails with Wicked Gem Posted by schneems on November 14, 2012 — 0 comments You've heard of the Wicked gem, that awesome library for making step-by-step wizards in Rails. Wicked just added the ability to use custom urls in your wizards . It's simple, easy, and fle...

  • Why Ruby Class Methods Resist Refactoring

    rubyflow.com 14 Nov '12, 4pm

    Why Ruby Class Methods Resist Refactoring Posted by brynary on November 14, 2012 — 0 comments I just wrote a blog post about Why Ruby Class Methods Resist Refactoring , the implications, and what you can do about it. Comments “ ” Post a Comment Comment abilities for non registered use...

  • JRuby at OpenFeint - a JRuby migration success story

    rubyflow.com 14 Nov '12, 8am

    JRuby at OpenFeint - a JRuby migration success story Posted by flyerhzm on November 14, 2012 — 0 comments JRuby at OpenFeint - a JRuby migration success story Comments “ ” Post a Comment Comment abilities for non registered users are currently deactivated, pending time to add a proper...

  • rspec-rails and capybara 2.0: what you need to know

    rubyflow.com 13 Nov '12, 7pm

    rspec-rails and capybara 2.0: what you need to know Posted by alindeman on November 13, 2012 — 0 comments I blog about some changes coming down the pipeline in capybara 2.0. Comments “ ” Post a Comment Comment abilities for non registered users are currently deactivated, pending time ...

  • Parse Extensive Metadata from Images using RMagick

    rubyflow.com 12 Nov '12, 10pm

    Parse Extensive Metadata from Images using RMagick Posted by cavneb on November 12, 2012 — 0 comments I wrote a gem which parses extensive metadata from images using RMagick. Check it out at https://github.com/cavneb/rmagick-metadata Comments “ ” Post a Comment Comment abilities for n...

  • Phusion Passenger Enterprise - Nedap Healthcare Case Study

    rubyflow.com 12 Nov '12, 7pm

    Phusion Passenger Enterprise - Nedap Healthcare Case Study Posted by FooBarWidget on November 12, 2012 — 0 comments In this case study , we see how the $100MM annual revenue Nedap Healthcare uses Phusion Passenger Enterprise to serve over 150,000 clients in the healthcare sector per d...

  • Collecting a list of Colleges/Universities that teach Ruby and/or Rails

    rubyflow.com 11 Nov '12, 7pm

    Collecting a list of Colleges/Universities that teach Ruby and/or Rails Posted by bcardarella on November 11, 2012 — 0 comments If you know of any please take a moment to list them I will follow up with the listing in about a week. Comments “ ” Post a Comment Comment abilities for non...

  • How do you check whether a date is in a date range?

    rubyflow.com 11 Nov '12, 6pm

    How do you check whether a date is in a date range? Posted by julian7 on November 11, 2012 — 0 comments We all know (start_date..end_date).include?(this_date) is quite slow. If you have seen Ben Orenstein's talk about refactoring , you might know (...).cover? is much faster... but is ...

  • "System" Gem Back Under Development

    rubyflow.com 11 Nov '12, 9am

    "System" Gem Back Under Development Posted by c00lryguy on November 11, 2012 — 0 comments It has almost been 3 years since the system gem has last seen a git commit, but the project is now back in development ! System is a cross-platform and cross-implementation interface to gather sy...

  • Making RABL and your Ruby APIs Fast

    rubyflow.com 11 Nov '12, 1am

    is one of the most popular and easiest ways to craft high quality APIs in Ruby as used in large projects like Spree and foreman . As RABL's popularity has grown, I often get questions about improving performance of APIs as the volume of traffic for the web service increases. I release...

    Related:
    1. Ruby 1.9.3-p327 is released ruby-lang.org 09 Nov '12, 8pm
  • sport.db JSON(P) API Sample w/ Sinatra - Football Fixtures Web Service

    rubyflow.com 10 Nov '12, 7pm

    sport.db JSON(P) API Sample w/ Sinatra - Football Fixtures Web Service Posted by geraldbauer on November 10, 2012 — 0 comments I have created a little JSON/JSONP API service for the open sports database (that is, sport.db) using the Sinatra Ruby gem. For example, /api/event/en.2012_13...