• Forkify 0.0.1 Ruby gem released, threadify with processes

    June 24, 2009

    I’m happy to announce the release of another tiny Ruby gem, Forkify. Forkify is basically Ara Howard’s Threadify (minus a few features), but instead of using threads, it uses fork to create multiple processes to perform the operations on an Enumerable type. It was born out of the desire to have the forkoff gem work […]

  • Nesting traps in Ruby with a quick monkeypatch

    June 9, 2009

    If you end up messing with traps a lot in Ruby, you’ll find that they don’t unbind when leaving function context, so you’re either stuck ‘ensuring’ that the trap is replaced by the old trap, or just dealing with it. Well, here’s a quick monkeypatch for adding a method that will do all the ensuring/retrapping […]

 
Powered by Wordpress and MySQL. Theme by Shlomi Noach, openark.org