19 Apr '13, 5pm

Ruby's timeout is a disaster for multi-threaded processes, using it is risky at best. More info:

(NOTE: Due to an issue migrating my blog from one Google account to another, this URL now points at a *copy* of the original post . If you would like to add further comments, please do so there.) I'm taking a break from some bug fixing to bring you this public service announcement: Ruby's Thread#raise, Thread#kill, and the timeout.rb standard library based on them are inherently broken and should not be used for <span style="font-weight: bold;">any purpose</span>. And by extension, net/protocol.rb and all the net/* libraries that use timeout.rb are also currently broken (but they can be fixed). I will explain, starting with timeout.rb. You see, timeout.rb allows you to specify that a given block of code should only run for a certain amount of time. If it runs longer, an error is raised. If it completes before the timeout, all is well. Sounds innocuous enough, right? Well, ...

Full article: http://blog.headius.com/2008/02/rubys-threadraise-threadk...

Tweets

“@0x6D6172696F: I wonder if there's many applic...

api.rubyonrails.org 21 Apr '13, 7pm

Class HTML::Sanitizer < Object actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb

Starting to understand the "cult of _why" even a song [Ruby was just the medium! Msg ws Beat!]

Starting to understand the "cult of _why" even ...

mislav.uniqpath.com 19 Apr '13, 11am

Caring For You. And Your Wellness. I need you to be in a good mental state for the latter half of this book. Now is the ti...

"Clean code is easier to change, & since change...

pragmaticstudio.com 22 Apr '13, 12am

If you learn Ruby, you can master Rails. Are you using Rails but find yourself getting stuck, or even bogged down? Do you ...

How to make #ruby bundler use local checkouts i...

gembundler.com 18 Apr '13, 7am

Now instead of checking out the remote git repository, the local override will be used. Similar to a path source, every ti...

@ahealthydesign @amilum reading a pretty good i...

humblelittlerubybook.com 20 Apr '13, 10pm

Like to write code in a functional style a la Haskell or Scheme? That's cool; Ruby does that. Really dig object orientatio...

Ruby 2.0 has been released and @rubinius has st...

rubini.us 26 Apr '13, 3pm

The Rubinius team is now focused on pushing Rubinius into the hands of all developers. To that end, the current highlevel ...

I came to this thread by googling for "verbs us...

ruby-forum.com 26 Apr '13, 5am

On Tue, Jan 18, 2011 at 9:16 AM, Edmond Kachale <[email protected]> wrote: > Rubists, > > What is the most r...

Стеб @whitequark попал в Fetured Ruby Weekly

rubyweekly.com 18 Apr '13, 8pm

Detecting Faces with Ruby: FFI in a Nutshell Ruby's FFI (foreign function interface) library makes it possible to interact...

Double Shot #1112: Mergit – Merge all of your r...

afreshcup.com 22 Apr '13, 12pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

@andr3 Are you using ruby 1.8? Vide

sass-lang.com 29 Apr '13, 12pm

Whether an error in the Sass code should cause Sass to provide a detailed description within the generated CSS file. If se...