03 Apr '12, 9pm

Implementing signal handlers - some caveats #ruby

USP: Implementing signal handlers - some caveats 2012-03-27 00:25, written by Eric Wong Signal handlers may run at any time If your program receives a signal, Ruby will invoke the associated signal handler as soon as it is able to. This means a signal handler can hijack your existing code flow just about anywhere in your program (including inside methods of any libraries you use). Normal code execution resumes once the signal handler finishes execution. This is a big difference from most event-driven programming frameworks where callbacks for a given object/event fire synchronously and will not step over existing code flow. Reentrancy vs thread-safety While reentrancy and thread-safety are related concepts, it is absolutely critical to understand is they are NOT the same, and one does not imply the other. (There are existing articles on this, so I won’t dive into this more...

Full article: http://blog.rubybestpractices.com/posts/ewong/016-Impleme...

Tweets

Ruby Certification: Ruby Study Notes - Best Rub...

rubylearning.com 04 Apr '12, 8am

The Ruby Association Certified Ruby Programmer examinations are intended for such people as engineers who design, develop,...

Ruby, Concurrency, and You

engineyard.com 04 Apr '12, 12am

Switching back to Ruby implementations, let’s look at MRI 1.9. As has been previously reported, MRI 1.9 removes the “green...

A must-read blog for every Javascript and Ruby ...

yehudakatz.com 11 Apr '12, 12pm

A little over a year ago, I got my first serious glimpse at SproutCore, the JavaScript framework Apple used to build Mobil...

“Bundler: The best way to manage Ruby applicati...

gembundler.com 04 Apr '12, 3pm

Make sure all dependencies in your Gemfile are available to your application. $ bundle install [--system] Gems will be ins...

Start writing Ruby apps with #OrientDB: #nosql ...

rubygems.org 06 Apr '12, 2pm

This gem uses the OrientDB Network Binary Protocol to provide connectivity to an OrientDB Server

Numbers in Ruby: Ruby Study Notes - Best Ruby Guide, Ruby Tutorial:

Numbers in Ruby: Ruby Study Notes - Best Ruby G...

rubylearning.com 09 Apr '12, 10pm

Let's play with Numbers. In Ruby, numbers without decimal points are called integers, and numbers with decimal points are ...

Building and implementing a Single Sign-On solu...

rubyflow.com 04 Apr '12, 3pm

Building and implementing a Single Sign-On solution Posted by mattetti on April 04, 2012 — 0 comments In my latest blog po...

Building and implementing a Single Sign-On solution

Building and implementing a Single Sign-On solu...

merbist.com 04 Apr '12, 3pm

You might want to safely encrypt the data in a way that allows the clients to verify and trust that the token comes from a...

Advice For Ruby Beginners 1

rubylearning.com 08 Apr '12, 3pm

It’s a fantastic language to introduce you in the world of real OOP. Not the latched-on variety of OOP that is Python or C...

Impressive site just using SVG

intertwingly.net 07 Apr '12, 12pm

Hacked Mon 02 Apr 2012 at 11:16 This site was hacked. A reader of the site noted that Google’s index of this site had been...

New blog post: The particular reddish only boot...

singaporesales.sg 09 Apr '12, 6am

Just before reddish only shoes or boots created, no person would certainly look closely at the only real shade, generally ...

What is difference between render & redirect me...

ruby-forum.com 04 Apr '12, 11am

On Mar 22, 2006, at 11:21, Tom Mornini wrote: > This causes a 'server side' redirect, and causes > the other action to be ...