04 Apr '13, 1pm

TIL: The difference between throw/catch and raise/rescue in ruby:

Ruby is a language that tries to anticipate your needs as a programmer. One common need is a way to terminate execution early when we find there is no further work to be done. Unlike in some languages, where we would have to either abuse the exception mechanism or use multiple loop breaks and method returns to achieve the same effect, Ruby provides us with the catch and throw mechanism to quickly and cleanly make an early escape. This leaves begin/raise/rescue free to be used for errors, and nothing else.

Full article: http://rubylearning.com/blog/2011/07/12/throw-catch-raise...

Tweets

China is overfishing its official catch number by 12x (!!!), report shows

China is overfishing its official catch number ...

treehugger.com 04 Apr '13, 3pm

estimates how much fish China's distant-water fleet has been catching around the world between 2000 and 2011, and the numb...

"It is provably unsafe to be able to kill a tar...

blog.headius.com 04 Apr '13, 3am

Although you don't have to take my word for it, eventually you're going to have to accept the truth. Thread#kill, Thread#r...