Live data from Hacker News

I just released an eBook about exceptions and failure handling in Ruby

exceptionalruby.com

11–20 of 39 posts

Re: I just released an eBook about exceptions and failure handling in Ruby

#12

I'm loving the recent explosion in self-published books, but as a (general) request: they are so, so much more useful when they come in multiple formats (mobi, epub and pdf).

FWIW we (getdpd.com) totally agree and are working on adding this feature to our system soon. Vendors will be able to upload the file variants themselves or we will do the conversion on the backend.

Re: I just released an eBook about exceptions and failure handling in Ruby

#13

I'm loving the recent explosion in self-published books, but as a (general) request: they are so, so much more useful when they come in multiple formats (mobi, epub and pdf).

What to say when comment upvote counts are gone. Can't upvote this enough. (For me, mobi prefered.)

Me as well. And pdfs tend to look/read very poorly on a Kindle (especially if they contain code blocks).

Re: I just released an eBook about exceptions and failure handling in Ruby

#15
post #5

Bought the book, found out Ruby has retry. Money well spent.

Wow, the timing could not be more perfect as Im trying to deal with a validate_uniqueness race condition :)

P.S. Just for that, im buying the book...

Re: I just released an eBook about exceptions and failure handling in Ruby

#16

I'm loving the recent explosion in self-published books, but as a (general) request: they are so, so much more useful when they come in multiple formats (mobi, epub and pdf).

+1 .mobi for kindle

avdi: let me know if you'd like any help packing a .mobi, I'm working on a quick-tutorial post.

Re: I just released an eBook about exceptions and failure handling in Ruby

#18

After seeing Avdi talk about this at Ruby on Ales, I've started using `fail` almost exclusively instead of `raise.` It's the little things.

I quick check of the Ruby documentation (http://www.ruby-doc.org/core/) suggests that raise and fail are the same method.

Is there an actual difference between these methods?

Re: I just released an eBook about exceptions and failure handling in Ruby

#19
post #18

After seeing Avdi talk about this at Ruby on Ales, I've started using `fail` almost exclusively instead of `raise.` It's the little things.

I quick check of the Ruby documentation ( http://www.ruby-doc.org/core/ ) suggests that raise and fail are the same method. Is there an actual difference between these methods?

Nope! It's strictly a style issue. As I explain in the video (or the book if you buy it), as a result of a conversation with Jim Weirich I'm starting to use "fail" once again.

Re: I just released an eBook about exceptions and failure handling in Ruby

#20

I'm loving the recent explosion in self-published books, but as a (general) request: they are so, so much more useful when they come in multiple formats (mobi, epub and pdf).

I'm gathering feedback on which format to work on next. So far the most-requested has been .epub.
Post reply on HN