Reading Hal Fulton's The Ruby Way Online #
I recently got my hands on a copy of Hal Fulton’s The Ruby Way, published in 2002 by Sams Publishing. It’s huge. I would not have the stamina to write something like this. Biblical in proportions.
Your assignment is pages 46-64, which encompasses the Ruby gotchas section. Parser wierdness, syntax subtleties, handy tricks. It’s an eighteen-page bulleted list.
Here’s a link chain to get you into the book on print.google.com:
- Search for ruby way on Google.
- Under Book Results, click the “ruby way” link. (600 pages by Hal Fulton, Guy Hurst.)
- You should be seeing a scan of page 10. Click on “More results from this book.”
- Check it out, every page of the book. Go to page 4 of the search results. Page 46 should be the first result.
I wanted to write a script to calculate the URL for you, but a solution was evading me. Perhaps someone else can give it a go?
flgr
Obviously Google does not want you to read the whole book online which is why they don’t list the pages in an useful order, have those weird URLs and stop you from requesting more than X pages from a result.
You can work around all this by using a proxy and some magickery in Ruby, of course, but you’re getting yourself on problematic legal terrain by doing so. (And by using the highlighting feature of the image generation script you could even do OCR fairly easily.)
Lucas Carlson
Doesn’t this URL work?
flgr
Only until you reach page 48.
booker
Of course, those of you who’d like to give the author his well-deserved cut might like to work out how to use Amazon (or bookseller of choice) to buy the book…
flgr
I actually own it since a bunch of months ago. :)
kybod4
Google print limits the number of pages viewable as well. Either with cookies or on IP. I didn’t bother to check. I also own the book, but a pdf would be handy on the powerbook. I bought pickaxe2 both as pdf and paper for that very reason
why
I think it’s a useful hack. Especially for those of you who’ve never heard of the book and may not have a bookstore where you can leisurely browse such titles.
booker
I hadn’t considered that – browsing the text is sensible, and these 18 pages obviously come highly recommended. I think I mean, “If you find them useful, then think about buying the book.”
I was just worried about gurus producing tools that allowed a small number of people to take advantage – that’s not the “Ruby Way” :)
phil
I’d also like to get a pdf of “The Ruby Way”. I could only bring a couple of dead tree books with me to Italy so I sometimes miss not having “Ruby Way” available as at home. It’s great to have the lightweight, Pickaxe II pdf, tho.
_why cult follower
I read it on safari. Still checked out, hoping that some small change will find its way to the author.
Comments are closed for this entry.