5 ms·
What I've Earned (And Learned) From Writing a Ruby Programming Book
- redorb 17y ago- "That’s why most tech books seem to either be by authors who’ve written one book or many books." All books are written by people who have written (1) book or many books.
- sant0sk1 17y agoExcept, of course, those books which are written by people who have written a couple (2) books or a few (3) books.
- petercooper 17y agoAn interesting semantic snafu! I've changed it to "a single book" rather than "one book." Since, yes, anyone who's written, say 10 books has written "1 book," "2 books," and so on - technically speaking ;-)
- percept 17y agoMade sense to me. I got that "previously" was implied. You meant those who weren't first-time authors.
- rufo 17y agoThanks for sharing, Peter - one always hears numbers being tossed around, but it's interesting to hear the whole story. It sounds as if you've burned your bridges with Apress to some degree - do you have any interest in continuing to write books with a better deal (e.g., with Pragmatic Programmers) or are you burnt out of the whole thing entirely?
- petercooper 17y agoI don't think I've burned my bridges - though they might disagree! I've mostly appreciated the experience with them; it's just some of the institutional policies I take umbrage with. I bet many writers feel the same way about publishers they work with time and time again :) I don't think that being OK with people pirating my book is detrimental to Apress either. They already let other authors "open" their books (e.g. Scott Chacon, Mark Pilgrim) and I want to boost print sales which benefits them far more than me. On the second question, I definitely want to write more books. I didn't think this after completing the first edition of Beginning Ruby but the reviews I got just blew me away. I suspect I've sorta prematurely burned any bridge I had to the Pragmatics (as cool as they are) with a slightly hasty negative reference to one of their books a while back (I've been nice since, honest - sorry!) but if I were sticking to the Ruby theme, I have a big enough audience with my own Ruby sites to self publish (and maybe avoid print entirely).
- mattmaroon 17y ago"I bet many writers feel the same way about publishers they work with time and time again." Almost every time in my experience. It sounds like the deal they give you is good though, better than I would have expected really. Self-pub is definitely the way to go if you can pull it off. It's not hard to get 5x profit per volume if you have any volume at all, and programmers are extremely easy to make aware of your product, especially once you've established your name.
- silkodyssey 17y agoYou mention that apress lets other authors release open version of their books. Did these authors release their books for free initially or have they been with apress since the beginning?
- matthewcford 17y agoI was burned out (from writing) after almost completing the beginning Merb book, which Apress cancelled after the Rails/Merb merger. I must admit if I were to write a book again, it wouldn't be with Apress. I'd be knocking on PragProg or PeepCode's door.
- tptacek 17y agoIn fairness to Apress, why would they move forward marketing a title for an obsoleted technology?
- matthewcford 17y agoThere was talk of rewriting it for Rails 3, but as it was pretty much vaporware at the time and I had enough of the extremely tight deadlines by that point, the decision to stop was mutual. My comment wasn't against Apress for canceling the book, well within their right to do so. However their processes are a bit backwards and I'm sure not all authors get the same treatment, echoing peter's comment about the git/python books being available online. Before the apress book I started an open source Merb book, after I saw how awesome the online Django book was and I would have liked beginning merb to have going the same way with peer review.
- edw519 17y agoSee the 30% withholding in taxes at the bottom right?...the US tax man will still steal 30% of your royalties The good news for US citizens: you pay no FICA (Social Security & Medicare, currently about 16%) on royalties, which are not considered regular income.
- mosburger 17y agoWhat about self-employment tax?
- petercooper 17y agoI can't answer the US question, but for any UK potential (or existing) authors who are reading.. you have two options: 1) Treat the after-tax "net" amounts you receive as regular income - which are then taxed in the usual way - and "forget" the US taxes paid. 2) Treat the pre-tax "gross" amount as income, then fill out a separate "Foreign Income" form on your self assessment. On this, fill in the gross US-earned amount, the amount of US taxes paid, and calculate the UK tax deduction. This is a mega pain in the butt, but if you earned over, say, $10k, you can get a nice savings. About £600 worth in my case - it's not worth it for much lower though.. The HMRC is okay with either, but you can't do both ;-)
- cstross 17y agoAlternatively: get an ITIN (individual taxpayer ID number) from the US IRS, and jump through the hoops under the UK-USA double taxation treaty to declare yourself as a UK taxpayer. Double taxation treaties are bilateral arrangements between countries so that taxpayers can declare one of the signatory countries to be their country of residence and pay income tax earned in the other place in their home country. Result: you get back the US withholding tax money, although you have a larger income and consequently pay more tax to HMRC.
- petercooper 17y agoMinus the ITIN part, that's what I'm going to be doing for 2008-09 (and what I outlined in option 2 above). It's not necessary to have an ITIN and to declare anything to fill out the "Foreign" portion of the tax return and use the treaty's benefits to deduct the withheld US tax locally. Though if you know any more, I'd love to learn more :)
- tomjen2 17y agoNice find, but sadly it only demonstrate how insane the system abuses authors - I though pragmatic programmers 50% was way too high, but this just seems an industry that badly needs to be shaken up.
- datums 17y agoPeter I've always been curious about how these sort of agreements worked. After publishing a few books, you hope negotiating gets easier. $170,000 in 2 years is a nice return. Thanks.
- tptacek 17y agoJust to be clear: $170k is what Apress made off of him. He himself made $19,000. His book was an unusually strong seller (it outsold Resig's book). For most books, the advance is calibrated to cover all the expected royalties. Authorship contracts are a ripoff.
- dschobel 17y agoI'm almost afraid to ask, but what happens if the sales don't cover the advance?
- petercooper 17y agoWith most publishing contracts I'm aware of, nothing. From what I understand, this is in stark contrast to the music industry where artists can need to pay back certain expenses. In terms of Apress (and, I believe most non-fiction publishers), the money you get in advance is, I believe, non returnable. That's why the advances aren't that generous.
- percept 17y agoIIRC most of the authors used to view the advance as the only real money. Any royalties that might appear were like manna from heaven. I hope everybody doesn't mind me brain-dumping in this thread--it's the only place this stuff can go.
- tptacek 17y agoIn the circumstances I'm familiar with, the advance is yours. Who cares, though? Everyone who has ever written a technical book --- with the possible exception of Graham, who is a different kind of writer --- will tell you that finishing a book is far more difficult than they thought it would be at first, and most people allocate multiple months to their original estimate. Against your lowest conceivable contracting rate, you will never come within radio telescope detectability of breaking even by writing a book for a major publisher. Publishers know you know that, so their entire pitch will be, "authoring a book will be excellent for your reputation and career". This is true in the same sense as getting a Microsoft MVP merit badge is good for your career; look at some of the people who write books, present company excepted.
- ScottWhigham 17y agoPeter - loved the writeup. After being in the technical education industry for so long, I know that no one writes "just one book" and makes money but it's good to show people in such an easy to understand way (like you did). There were a few things that I had questions on - since you are answering here at HN, I'll try you here! You mentioned, "I’d argue that unless you’re writing a very niche book (that’s unlikely to earn back its advance) ..., you should avoid the major publishers and instead find a mid-sized publisher that can offer more attractive royalties..." It has been my experience that, "the bigger the publisher, the bigger the advance" and/or "the smaller the royalty, the bigger the advance". When I think of this conundrum, I always think back to, "Why is this author writing this 'very niche book' - what is their motivation?" If it is money, then I would suggest they perhaps follow your advice and go with whoever gives them the biggest advance (and just forget about negotiating royalties since they are 'unlikely to earn back' in your words). However money is often not the major motivator as you mentioned. For example, if the motivator was, "I want to increase my profile so that I can speak at big events and raise my consulting rates", they are probably better off going with a bigger company who can flood the market with marketing instead of a small/mid-sized company. Sure they'll give up royalties but they will receive what they want. Small and medium-sized publishers will generally not have the resources and expertise to perform those same functions at the scale a big publishing house can do them. Also, I would ask the author, "What is success to you for this book?" Some will say, "I want it to sell a bunch of copies because of x, y, and z" then they won't be as likely to do that with most small/mid publishers. Your case of selling 8500 copies through Apress vs. 2000 through Pragmatic Programmer is important since some might perceive that the book was a failure because it "only" sold 2,000 copies. And those "some people" might include potential employers, industry colleagues or the author. It also does not take into account the perceived prestige someone might feel with being accepted to be an Apress author vs. a PP author (again "some people" might have never heard of PP books and so it might not have the same weight). The final bit I'd say is that negotiating the best possible advance + royalty rate for yourself may not always be the wisest thing to do long term. Example: Let's say that you went with PP and had written "Beginning Ruby" and it was a moderate success selling 2,000 copies over at PP. Apress starts to take notice and they hire someone to write the Beginning Ruby book for them and they market the shit out of it. What do you do now? You l-o-s-e, that's what. PP can't afford to market your book - they don't have any budget left after your 50% royalty and paying their staff - so you are SOL. Your "greed" (and I don't mean "you" as in Peter Cooper; I mean the collective "you") let you miss out on an opportunity: the opportunity to write a beginner-level non-time-specific book (which generally outsell more advanced titles or, as you say, time-specific titles) for a major publisher that will sell for 10-20 years (or as long as (a) the language is popular, and (b) you create new editions). You opted for a small, short-term payday with instead of the potential longer-term success which, yes will have certain confines that aren't ideal, but would be more predictable and more stable. Trust me: although major publishers may not be cutting edge with their titles/technologies, they are paying attention to the small/mid-sized markets. Once something becomes popular, the big guys will emulate it. Full disclosure: I am the founder of a small publisher (http://www.learnitfirst.com/ http://www.learnitfirst.com/) albeit in the ebook and video markets exclusively. I know that it sounds like I'm arguing for Apress but I'm not - just a different point of view, I suppose.
- _pius 17y agoGreat writeup and thanks for sharing! All of the numbers and specifics were great, but I really think this bit of imagery made the piece: The only compromise that was reached was that a couple of chapters could be released per month, separately – which is about as appealing to readers as getting a tenth of a blowjob at a time.
- kscaldef 17y agoCan I suggest that you remove or change the blowjob analogy? It's needlessly sexual, somewhat jarringly out of place in the rest of the article, and also carries an implication that all of the readers of your book are male. We've seen far worse recently, and I don't think there's anything demeaning in what you said, but still I wonder: why go there?
- petercooper 17y agoThanks - I've made it more gender neutral. I think a sexual reference makes the point stronger though, because I wouldn't find getting 10% of anything else at a time to be so frustrating (though ideas are welcomed!). Even 10% of a Big Mac wouldn't be that bad ;-)
- _pius 17y agoMaybe a tenth of an orgasm?
- zyb09 17y agoGod, is this the only thing you can comment on after reading the article? Let people use strong language in a blog post or a comment if they want to emphasize a point. We're all grown up and can talk directly to each other - no need to make yourself look like a smug.
- deleted 17y ago[deleted]
- wallflower 17y ago> but the Apress contract states that if you don’t, they have the right to do it without you, have someone else’s name slapped on the book Trying to find the original interview, but I remember reading an article with Laura Lemay (of 'Teach Yourself HTML' fame) of how they basically abused her name to sell books (even after she said she didn't want to write any more books). She lost control and there ended up being a whole franchise of 'Teach yourself X with Laura Lemay' books. EDIT: Found the link. Thanks archive.org! "I wrote a lot of books from 1994 to 2000. Both my HTML and Java books did really well, and I had a series that I didn’t write that nonetheless had my name on it. It felt like I was riding this wave of popularity, I would probably never be this successful again, and I felt that I had to milk it, to push it as far as it would go. My publisher was all too happy to accommodate me in this goal. They reworked my writing over and over again, customizing it, repackaging it, reselling it under different titles and for different purposes. I cheerfully and naively agreed to a lot of this repurposing, but a lot of it happened without my knowing it under the terms of existing contracts. I would go into bookstores and find books there with my name on them that I had never seen or agreed to or had any idea they existed. With this much writing being produced not all of it had to be great. Towards the end not much of it was. By the end I didn’t feel like I had much control over my own work. even with the writing I was actually doing I was so stretched and overworked that the quality wasn’t there. Eventually I felt I didn’t even have any control over my own identity. Who is this Laura Lemay person who has her name all over all these books? Me, I think I’m an OK writer, I’m good at explaining stuff to people. Laura Lemay just produces huge numbers of not very good books. I felt really overwhelmed and disassociated from my own work and from my own name." http://web.archive.org/web/20061027193901/www.dispatchesfromblogistan.com/interview-with-laura-lemay/ http://web.archive.org/web/20061027193901/www.dispatchesfrom...
- SwellJoe 17y agoI was solicited by APress to write a book a few years ago, based on another book I'd written, and after having such a good experience with No Starch Press, I was somewhat keen to do it again (though the pay for tech writing sucks, it's still satisfying to see your book on the shelf at a book store, and it's good for most other aspects of business to have a book)...but the APress contract was not pretty. It granted them rather incredible rights to second editions with no involvement by the original author, several routes to making future versions of the book worth less or nothing for the original author, and a somewhat disappointing royalty rate and advance payment. I wasn't finding them very flexible on those terms, either, and frankly, I didn't really want to work with anyone that, by default, considered me a cog in their machine. Needless to say, I passed on that opportunity. I can recommend No Starch Press, however. Nice folks all around. And, when I moved to California, they went to rather impressive lengths to track me down so they could send me my royalty checks (tiny at this point, six years after publication, but still coming).
- percept 17y agoThe best way to use a book is to promote some other product or service, because for the most part when you calculate the time spent writing, rewriting, and re-rewriting you realize you're working for less than minimum wage. This probably works out okay as part of an overall strategy for Mr. Cooper, who is building a publishing empire. :) However as a money-making strategy, I believe most of the people here at HN could make more doing almost anything else. In the mid-90s Laura Lemay (graciously) introduced me to her publisher after no more than a simple e-mail query. As a result I got to contribute a chapter to a Web-related title and officially became a published author (yay!). After that I somehow connected with an agent who started bringing opportunities to my attention. One was for the second or third edition of a semi-successful title; however as part of the deal I'd have to share the (already meager) royalties with the original author. Thanks but no thanks! The next opportunity seemed golden: the chance to write a brand new title as part of a very well-known series (something like "Selling Online for the Technically-Challenged Among Us"). I started submitting outlines and sample chapters, and assembled a list of e-commerce software ranging from open source to commercial packages (mostly written in Perl). After each submission came the feedback and tiring rewrites, but I still thought it would work out. And that's when it happened. ;) Apparently the whole department at the publisher had just returned from a Microsoft conference, and had learned about the new software package that was going to set the world of e-commerce on fire: Site Server (maybe Mr. Graham will get a chuckle out of that). It was expensive, large, and proprietary, and in my opinion not a good match for most of the small-to-medium businesses I thought would most benefit from the book. But guess what (I was told) should be the focus of the new book? In the end it just wasn't worth the hassle. So that ended my publishing career, but it was sort of fun while it lasted. P.S.: IIRC some of the big guys, like the first Word and HTML authors, made seven figures.
- kiba 17y agoI thought of books as a way to grow my web presence over the long term. Then I would use that web traffic that been building up over the years to make lot more with dead-tree formats. I used new chapters or pages as pieces to promote on suitable social news site to create a boost in traffic, and hopefully linking side effects. It works most of the time.
- tptacek 17y agoThere are a couple books I've wanted to write for a long time. I'd like to pay a copyeditor to fix my long-winded prose, and pay a designer to typeset it, then post it online as a PDF that will cost, say, $15. Peter Cooper's unusually successful Ruby book sold ~8000 copies in print and 500 copies as ebooks. He made $19,000. To gross $19,000 with a $15 PDF, I'd have to sell ~1260 copies. Compare to ~8000/500 paper/print, noting that the PDF will be the only available format for the book, and this doesn't sound impossible. If I raised the prices to a place that still undercut an Apress ebook, I could get that number down to 900 copies. Of course, whatever number I hit, I own the book free and clear, at all points. I'm interested in what Cooper thinks about the strategy of foregoing publishers altogether.
- petercooper 17y agoDespite having done a lot of reading and researching about self publishing - and knowing people who've done it - I don't have any hard experience with it, so there are probably 101 HN readers with better answers, but.. I think a publisher like Apress can provide a lot of value. They have dedicated copyeditors, lawyers, and editors. They have design templates and workflows, ready to go. They can take imperfect content and make it sell. If you'd need to outsource many of these functions, perhaps a publisher is the way to go. There are a lot of "not so good" or poorly presented self published books out there that just don't sell. Self publishing can work wonders, however, in situations where you're confident about the tasks involved. From my experience, the average HN reader or the average writers of stuff that HN links to are solid enough writers to not bother with independent editors - though you'd need to build up some willpower to be good at chopping ;-) Technical reviewers would be more important, IMHO - and you can lean on your contacts/friends for this. This is one of the greatest assets a publisher provides. Last, if you have even a slight eye for design, you can pick up half reasonable layout and typesetting skills (in something like Indesign) in weeks. Keep in mind, too, that Beginning Ruby is a 650 page book. Publishers seem to encourage long books, but I doubt you'd need to produce something so long - so making less money might not be such an issue. I think PeepCode does okay with its PDFs even at $9 a pop because most are 100 pages or fewer and don't take several months to produce. Lastly, you need some way to get those sales. You either need the audience already (a popular blog, say) or have your marketing skills up to scratch. There's a lot I could write on this topic but this comment is getting a bit long, and I'll just end with.. consider doing it. If your topic is good and your writing solid, selling it shouldn't be the world's biggest problem to solve ;-)
- dkarl 17y agoAbout Apress refusing to make the eBook free, I think you're too hard on them: What really flipped my lid, though, was seeing other Apress books like Dive Into Python and Pro Git getting the treatment I wanted. You can read both of these awesome titles online, in full, for free. Offering electronic content for free to promote print book sales isn’t an alien concept to Apress so someone’s playing favorites over there. More likely, the idea sounds crazy and/or scary to them, but they decided to try it out with a few of their books to see how well it works. You're in the control group. Maybe that's the result of "playing favorites," but a less whiny way to put it would be that other authors had more influence or did a better job of advocacy. Or you were just unlucky. But you can take comfort in the possibility that your campaign to make the Beginning Ruby PDF free helped convince Apress to make some of their other PDFs free.
- petercooper 17y agoWhile Pro Git is a newish book, I believe Dive Into Python had that licensing long before my suggestions. There might be some history there though, as I think that book might have been developed online initially.