Live data from Hacker News

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

exceptionalruby.com

21–30 of 39 posts

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

#21

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.

As I replied above, I'll probably work on Epub first because that's the format I got the most requests for when I did a survey. But after that I'd be happy to get some Mobi pointers. Email me!

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

#22

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).

It's shameless self-promotion, but my startup Leanpub (http://leanpub.com) lets you write in HTML or Markdown, embed external code samples, save your files in Dropbox and produce PDF, EPUB and MOBI with one click. We sell all 3 formats, with automatic update distribution to existing readers when you publish a new version (so you can sell your book while it's in progress). You keep the rights to your book, etc.

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

#23
post #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.

If you do go the epub route, let me know know if you're interested in trying eBookBurn.com (my startup's site), and I can issue you a promo code.

You'll also get a .mobi version simultaneously.

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

#24

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).

It's shameless self-promotion, but my startup Leanpub ( http://leanpub.com ) lets you write in HTML or Markdown, embed external code samples, save your files in Dropbox and produce PDF, EPUB and MOBI with one click. We sell all 3 formats, with automatic update distribution to existing readers when you publish a new version (so you can sell your book while it's in progress). You keep the rights to your book, etc.

Game on, my friend.

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

#28

I want to read this book because I'm curious as to how you can stretch this topic beyond two pages. But I don't want to pay $15 for that. Any ideas?

The sample has more than two pages: http://exceptionalruby.com/exceptional-ruby-sample.pdf

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

#29
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 :)

validate_uniqueness is a system that is completely broken once you have more than 1 ruby process running against the same database. It just can't work the way you want it to.

You must add constraints to the database and handle the resulting exceptions to ensure unique values.

They really need to kill validate_uniqueness since it is so totally broken

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

#30

I want to read this book because I'm curious as to how you can stretch this topic beyond two pages. But I don't want to pay $15 for that. Any ideas?

There's a video on the site of the conference talk that spawned the book, if that helps.
Post reply on HN