Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    P

    PragDave

    pragdave.blogs.pragprog.com · Personal blog · on HN since 2007

    Dave Thomas, co-founder of the Pragmatic Bookshelf, writes about Ruby, programming practice, publishing, and occasional experiments such as his email one.

    Visit blogHN submissions
    ProgrammingLanguages & Compilers
    What HN says

    HN links it for his Ruby 1.9 posts on procs and fibers, his email experiment follow-up, and his critique of overly natural-language DSLs.

    Stats for nerds
    22HN people shared it
    20linked in comments
    376story points
    Aug 2013last shared
    2008people per year2013

    Top posts on HN

    1. 1
      PragDave: I'm on vacation, and I've deleted your message—really
      1 person · 170 points · first shared 2011 · 72 comments on HN
    2. 2
      PragDave: Followup on the EMail Experiment
      2 people · 82 points · first shared 2011 · 27 comments on HN
    3. 3
      If you work for Apple, we need your help...
      1 person · 43 points · first shared 2008 · 16 comments on HN
    4. 4
      Pragmatic Bookshelf Royalty Rates
      2 people · 26 points · first shared 2009 · 2 comments on HN
    5. 5
      Natural language considered harmful
      2 people · 15 points · first shared 2008 · 1 comments on HN
    6. 6
      Fun with Ruby 1.9 Regular Expressions
      1 person · 8 points · first shared 2008 · 1 comments on HN
    7. 7
      A New PickAxe Book (featuring Ruby 1.9)
      1 person · 7 points · first shared 2007 · Discussion on HN
    8. 8
      Twitter Should Move Away from Ruby
      2 people · 5 points · first shared 2009 · 5 comments on HN
    9. 9
      PragDave: Fun with Ruby 1.9 File Encodings
      1 person · 4 points · first shared 2008 · Discussion on HN
    10. 10
      Ruby Symbols in 1.9 — End of an Era (and a good thing, too)
      1 person · 3 points · first shared 2008 · Discussion on HN

    What HN people wrote when they linked it

    • lukestevensJan 2011

      It means the money the publisher gets after the retailer takes their cut (which is usually 50%).

      Generally speaking, tech publishers have a sausage factory-like production line books get pushed through. There's editors, designers, marketing, and acquisitions people involved in taking the author's manuscript through to a finished product, so that's where the money goes.

      It also gets spent on all the dreck tech publishers (again, in general) pump out -- they work on a hits model, so they publish 20 books and hope one of them takes off. Their main function is to nag authors to get their work done.

      I've heard "[book] publishing is broken" over and again, and it's true. Tech publishers only pay peanuts, so authors get pushed to finish the book quickly (if they start at all), so the quality isn't very good, so people don't buy many books, so tech publishers can only afford to pay peanuts...

      Sadly, not much has changed for the major tech publishers since the late 90s at least, when Philip Greenspun wrote about his experience in 1997: http://philip.greenspun.com/wtr/dead-trees/story

      That said, there are publishers which give their authors a better deal -- Pragmatic Programmers for one (which Peter Cooper discusses -- see link in his comment), who pay 50% as discussed here: http://pragdave.blogs.pragprog.com/pragdave/2009/10/pragmatic-bookshelf-royalty-rates.html . They may not do the same volume as the majors, but I doubt it's 5x less.
      Anyway, I agree it would be more healthy…

    • yebyenAug 2013

      Awesome! I was looking for this article about 12 months ago. Still just as useful to know today as it was then.

      For anyone who doesn't already know this inside and out, the tl;dr spoiler: the surprises are that procs do not even care how many arguments they are passed, and that they can return on behalf of the function in which they are executed.

      Compared to lambdas, which spew runtime errors if they don't get the right number of arguments passed in, and which always return control to the line after where they were executed, regardless of whether the return keyword is used.

      I'm reminded of the Dave Thomas pipelines using fibers series of articles. I'll just leave this here:

      http://pragdave.blogs.pragprog.com/pragdave/2007/12/pipelines-using.html
      http://pragdave.blogs.pragprog.com/pragdave/2008/01/pipelines-using.html

    • compaySep 2008

      DSL's are great as long as you don't take them too far towards the "natural language" style of coding.

      For example, I find RSpec's story runner uncomfortable to work with because of the overly English-like syntax it uses.

      This blog post has some "before and after" code showing the same tests/specs implemented at unit tests, and as Rspec stories:

      http://evang.eli.st/blog/2007/9/1/user-stories-with-rspec-s-story-runner

      To me the heavily DSL-oriented story code is easier to read as far as intent, but as a programmer trying to figure out what the code is actually doing, it's sort of a big WTF.

      Dave Thomas has an interesting writeup on "DSL's going too far" at:

      http://pragdave.blogs.pragprog.com/pragdave/2008/03/the-language-in.html

    • jamesbrittJan 2011

      It's very true. And if you decide to fork it
      than that's what you hear: "OMG, YOU CAN'T
      FORK RUBY. ARE YOU CRAZY? THAT WOULD BE TERRIBLE."

      Or not:

      http://pragdave.blogs.pragprog.com/pragdave/2008/12/forking-rubymy-rubyconf-keynote-is-now-up.html

    • rufoMay 2009

      Not anymore. http://pragdave.blogs.pragprog.com/pragdave/2009/05/amazon-tighten-their-grip-on-kindle-distribution-.html

      To summarize: The price of e-mailing your Kindle is now 15c/MB, rounded up.

    • bradlyNov 2011

      Dave just wrote a followup post that can be read here: http://pragdave.blogs.pragprog.com/pragdave/2011/11/followup-on-the-email-experiment.html

    Related

    Dave Thomaspragdave.me43 people

    Agile Is Dead (Long Live Agility)

    Dave Thomas
    Personal · last shared 2023
    Ruby Best Practicesblog.rubybestpractices.com21 people

    Ruby Best Practices (full book available for download)

    Ruby Best Practices
    Company · last shared 2013
    The Pragmatic Engineernewsletter.pragmaticengineer.com292 people

    Inside the longest Atlassian outage

    The Pragmatic Engineer
    Personal · last shared 2026
    Mislav Marohnićmislav.uniqpath.com100 people

    Vim: revisited

    Mislav Marohnić
    Personal · last shared 2015
    DHHworld.hey.com/dhh654 people

    The Framework Desktop is a beast

    DHH
    Personal · last shared 2026
    Ruby Insiderubyinside.com147 people

    Sinatra 1.0 Released: Major Milestone for Ruby’s Best Webapp DSL

    Ruby Inside
    Publication · last shared 2021
    David Bryant Copelandnaildrivin5.com60 people

    Why I'd never work for Google, Twitter, or Facebook

    David Bryant Copeland
    Personal · last shared 2026
    Tom Stuartcodon.com50 people

    Compilers for Free

    Tom Stuart
    Personal · last shared 2021