Blue Orange Green Pink Purple

Why’s Poignant Guide to Ruby (LaTeX PDF)

Posted in Programming on Tuesday, August 10th, 2010 by Michael.
Aug 10
2010

If you are interested in Ruby, or already a Ruby programmer, you might be interested in a wee little precious gem called Why’s Poignant Guide to Ruby, written by why the lucky stiff. It is not only a mindboggling trip into the depths of the language – it has cartoon foxes, it has a mad genius misunderstood by the world, why, it even comes with its own soundtrack!

Before going all the way and building my own hip holster, I needed to print the book and so, feeling uncomfortable with the HTML PDF version, I made a LaTeX-powered PDF out of it, and here it is: Why’s Poignant Guide to Ruby (9.8 MiB). Update: Thanks to Alexandre Gravier who made a great contribution by improving the PDF in many ways. Alexandre also set up a GitHub repository.

For a comfortable always-carrying-the-book-around-everywhere-you-go experience, the PDF has a weird paper size of 6.8″ x 8.8″. Copy shops should be able able to cut 100+ pages to a custom size. Otherwise, feel free to scale the printout accordingly.

What’s not in the PDF:

  1. The Tiger’s Vest expansion pack
  2. The sidebars, as I felt that they would disrupt the reading flow.

If you are interested in Ruby, or already a Ruby programmer, you might be interested in a wee little precious gem called Why’s Poignant Guide to Ruby, written by why...

21 Comments

  1. Moritz Angermann on October 20th, 2010

    Hi,
    this is some great work. I really appreciate it, but what’s with these strange g’s around the code samples? (see http://j.mp/dhp06R) I assume there’s been some unicode messup or alike.

  2. Michael on October 20th, 2010

    Thanks for pointing this out! You were right, it was a unicode mess up. It’s fixed now and unless your browser doesn’t try to give you a cached version, things should be fine now.

  3. Eilif on October 23rd, 2010

    Thanks for the gem …

    An interesting talk comparing ruby and python …

    Python vs. Ruby: A Battle to The Death

    http://vimeo.com/9471538

  4. Eilif on October 23rd, 2010

    A lecture of the freelance professor himself …

    http://www.vimeo.com/5047563

  5. Sarath on April 4th, 2011

    Excellent work, Michael.

  6. yumeyao on April 6th, 2011

    Hi, Michael

    Guided here from wikipedia.

    I noticed there are mistakes in your pdf where ‘ are converted to ’. I mean, the marks used for indicating a string are mis-converted to the marks used in phrase “I’m”.

    That’s really a pity, anyway thanks for your work.

  7. Michael on April 8th, 2011

    Hey yumeyao,

    thanks for pointing this out – I can fix most things and update the PDF regularly. However, I am not sure what you mean. I use ’ and ” to denote strings in the source code where it is monospaced, and in the normal paragraph text, I use typographic quotation marks. Could you tell me which page you are talking about?

    Thanks,
    Michael.

  8. yumeyao on April 10th, 2011

    Just a little simple example:

    On page 15, you’ve got to seen the following piece:
    [’toast’, ’cheese’, ’wine’].each { |food| print food.capitalize }

    Try running it inside ruby. It’s blocked by the ‘ mark.

    It should be ‘, not ’

  9. yumeyao on April 10th, 2011

    Well damn the ‘ mark is always auto-converted by your blog system. You should try out it yourself.

  10. Michael on April 10th, 2011

    Hey yumeyao,

    I fixed the issue – thanks for pointing it out, I have never tried to copypaste the code into an irb before! The updated PDF is online.

    Ahoy,
    Micha.

  11. John Werner on April 21st, 2011

    hi Michael and friends. I’m new to Ruby, new to oop, trying to learn Ruby on my own. I ordered a beginner’s book but UPS lost it. Should I just learn online with Books similar to Why’s Poignant….? It keeps popping up. Is it meant for a beginner to programming?

    thanks for your help — John

  12. Michael on April 22nd, 2011

    Hi John,

    yes it is, yes you should!

    Micha.

  13. John Werner on April 22nd, 2011

    thanks M. so far it’s a blast.

  14. joseareland on April 25th, 2011

    Thanks, good work, it works for my kindle, but unfortunately the device couldn’t show the meaning for the words like other formats of PDF. Is there a way to change the PDF format from your file or even create a .mobi file?

  15. joseareland on April 25th, 2011

    I found a way, and it works perfect.

  16. roberto on July 3rd, 2011

    joseareland: any chance you could share the mobi or how you converted it?

    Thanks!

  17. anon on March 16th, 2012

    Could this be updated with Chapter 8 and The Tiger’s Vest expansion pack?

  18. Michael on March 16th, 2012

    anon: Luckily, somebody already did this and I have updated the PDF link accordingly. The PDF now also contains the expansion pack.

    However, as far as I know, chapter 8 was never finished. What a drama. It’s like a cliffhanger at the end of an episode and then production gets cancelled in the middle of the season.

  19. Josh on April 19th, 2012

    Thanks a lot for this great PDF version!

    But don’t you think the sidebars are needed so it is a “complete” version? I didn’t read anything of the book yet, just wanted to hear a bit more from your opinion about this.

    I’m just sending the link to the PDF to a friend who’s working in a copy show… Yaayyyy, this will be a lot of fun! :-)

  20. Michael Specht on April 20th, 2012

    Yeah, you’re right. I just didn’t like the starmonkey sidebar at all. Feel free to add the sidebars if you wish, it’s on GitHub: https://github.com/agravier/wpgtr-latex

  21. felven on July 17th, 2012

    nice job, I am loving it.



Leave a Reply

thinkingaloud.net

  • About
      This is an archive of various things I have done or I am currently working on, and I'm publishing this in case somebody working on the same things might find something useful.
  • Categories
    • Delicacies
    • Music
    • Programming
  • Recent Articles
    • Chromacoding – hiding secret files in images
    • Mmmh… double chocolate cookies!
    • Why’s Poignant Guide to Ruby (LaTeX PDF)
    • Collateral damage
    • Birabuto!
    • New song
  • Archives
    • April 2011
    • September 2010
    • August 2010
    • October 2009
    • June 2009
    • October 2004
    • September 2004
    • August 2003
    • March 2003
    • February 2003
    • January 2003
  • Search






  • Home
  • About
  • Link to About

© Copyright thinkingaloud.net. All rights reserved.
Designed by FTL Free WordPress Themes brought to you by [i] Website Templates

Back to Top