10 ms·
The economics of writing technical books
- costco 2y agoI don't think I'd have the stomach to spend a year writing something that I think is really good only for it to end up on libgen a couple days later.
- isoprophlex 2y ago... and for its contents to be interrogated by users of the LLM du jour without you seeing a single cent for your efforts
- deleted 2y ago[deleted]
- Swizec 2y agoYes, don’t write technical books for the money. But also do! If you approach the book as a business venture, there’s plenty of money to be made. Here’s my recap of making almost $400k over a few years of working on books-and-such as a sidebiz alongside a full-time job. Not all of it was from books directly, a lot was from opportunities that the books unlocked. And that’s not even counting how the books enabled me to sponsor my own visa/greencard to come into USA and unlock oodles of opportunities. The main insight I’ve learned is that the book is a product. Write your thing for someone to benefit from. What [useful thing] will they be able to do after reading your book that they weren’t able to before? How does it help them get more of what they want faster? https://swizec.com/blog/5-years-of-books-and-courses-or-how-i-made-dollar369000-on-the-side/ https://swizec.com/blog/5-years-of-books-and-courses-or-how-... Sharing this to encourage, not to brag. We need more insightful and useful books out there. If you’re gonna do this, I strongly recommend picking up a copy of Write Useful Books first. Wish it existed when I started. http://writeusefulbooks.com/ http://writeusefulbooks.com/
- drzzhan 2y agoAwesome! I probably won't write book for money but at least I want it to be useful.
- mattgreenrocks 2y agoHow much is this income do you think was a result of your following? From here, you look quite established. My pet peeve is indie dev influencers who tweet “anyone can do it” while ignoring their own built up momentum. I don’t know enough about you to ascertain either way.
- Swizec 2y agoThis is how I got established and built a following :)
- __mharrison__ 2y agoLots of influencers out there claiming that anyone can follow their outlier performance. Super annoying but gets eyeballs (at least on LinkedIn). I've been writing books for over 10 years (have published over a dozen). If you keep at it, there is good money to be made. Because you learn how to market and treat it like a business. I now make more from my books than I make when I was in industry. But it took a long time. And a lot of work.
- recursivedoubts 2y agoWriting a technical book is an extremely bad idea that could only be pursued by idealistic fools, blow hards and obsessive ideologues. Here's mine: https://hypermedia.systems https://hypermedia.systems
- abathur 2y agoThanks for the chuckle :) Good to see you here--I noticed your manuscript on GH (probably sometime last year?) during a ~vanity search because it quotes one of my blog posts. (https://hypermedia.systems/tricks-of-the-htmx-masters/#html-notes--semantic-html https://hypermedia.systems/tricks-of-the-htmx-masters/#html-...) I went to check on it and noticed that the repo I have starred is archived and that there's a new one recently put up. I don't see an explanation--can you reflect on or link to anything about the update? (Is this a content update, just ~refactoring how the book is built, etc.?)
- deniz-a 2y agoCo-author here. We rewrote the book in Typst. On the hypermedia.systems website, the new EPUB ebook release is built from the new codebase. I'm working on a blog post with details on why we switched and what the process was like. The content of the book has not meaningfully changed.
- abathur 2y agoThanks :) Generally curious about new authoring/markup tools and systems, so I'll keep an eye out for the post. (The quoted blog post is part of an effort to explain some work I've been doing to single-source documentation and output multiple formats while taking advantage of the idioms/affordances of each format. I spent quite a bit of time reviewing and trying markup systems before deciding what I wanted didn't quite exist. Typst wasn't released when I did all of that; I'm aware of it but I haven't read enough to pull it out of my blind spot.)
- __mharrison__ 2y agoI'm curious about using typst for printed technical books. What was the experience like? What features is it missing?
- PreInternet01 2y agoAs the article correctly states, writing a book is a good idea for many reasons, but generating income isn't among those. My personal experience: during the golden days of the technical book market, a good 15-20 years ago, writing a chapter would net you $1500 (for, like, 2-3 weeks of work, better pay than a magazine article that would take approximately the same time but pay a bit less) an entire book maybe $25K, but that would take you at least 6 months to complete. Of course, that was just the upon-completion payment, with the promise of later royalties if the book did well, but, unless you were very lucky, that pretty much never happened. Still, a payment of $2500-in-todays-dollars for less than a month of work isn't entirely bad, and being a published author did have its perks for getting consulting gigs. But these days, "a magazine or book deal that pays actual money" just isn't a thing anymore, so, yeah...
- Harmohit 2y agoI enjoy reading posts like this. Very thorough description. I am wondering if someone has insights into how the publishing model for more traditional publishers like Wiley and Elsevier work. Those guys are selling books for more than $200. Does the author get more money from their sales or is it all absorbed by the publisher?
- alberth 2y agoSlight OT: can anyone recommend websites that have good technical documentation? What I mean by “good”, is the design & layout of the technical documentation is easy to consume and visually appealing. (I’m revamping my customer facing tech reference docs and wanting have a visually appealing doc but not so much visually appeal it becomes distracting)
- henrikeh 2y agoI think Mathematica’s documentation is beyond excellent. Here is the documentation for the Flatten function: https://reference.wolfram.com/language/ref/Flatten.html https://reference.wolfram.com/language/ref/Flatten.html Just look at the amount of examples and details for this function. It is like that for every function.
- nomilk 2y agoI haven't used mathematica but look forward to learning it one day as an indulgence. I code mostly in R, and it's renowned for having some hurdles to jump through in order to get a package published on its primary repository (CRAN), but what that high standard means is you can download almost any library and expect to find extremely well documented functions with examples that can be run with minimal (usually zero) additional data/dependencies. It's a real treat, and I miss it massively when using languages with less rigorous and less uniform approaches to documentation.
- nborwankar 2y ago+1 for Mathematica’s documentation system. It is the best of any software doc, OSS/free or closed/commercial. By far.
- WillAdams 2y agoThe Gitbook layout seems a workable baseline --- the free level is moderately customizable --- I use it for: https://willadams.gitbook.io/design-into-3d https://willadams.gitbook.io/design-into-3d The paid option includes an export to PDF which is okay for a quick print or free PDF to put on a tablet, but would need a lot of work to make a book.
- beej71 2y agoOn that note, you can just do it for the good of the world. A lot of us have high-paying day jobs that can support us and good writing can be done on the side. Benefits include not needing to hit some page count (so you can be concise), and bug reports from the community. I don't look down at people who make money from books at all. I admire all writers and editors. (Some publishers can go f themselves, though. :) But there is another path available to many of us, one that isn't driven by money. Remember the old hacker ethic!
- namaria 2y agoHistorically, great books and great science has not been made by people seeking to be paid. The profit motive muddles the water. Herodotos, Newton, Darwin, these guys were writing things worth thinking about. This is what makes society tick forward. This whole idea of greed is good and the profit motive being the prime mover is a very recent and arguably detrimental mindset for the long term development of civilization.
- dinkleberg 2y agoThis does seem like the better path for a lot of people. A good article on this is https://sive.rs/balance https://sive.rs/balance.
- johnnyanmac 2y ago>A lot of us have high-paying day jobs that can support us and good writing can be done on the side. Meanwhile, me as a laid off gamedev counting pennies from the bits of freelance I can grab... I guess that explains why so much gamedev literature is behind closed doors ($500 vault access for GDC. Or just oral knowledge inside industry) or non-existant. We can barely get good documentation, let alone technical literature. I'm guessing the energy expended from potentially 70+ hour crunch weeks doesn't leave much left for passion writing either.
- lofaszvanitt 2y agoNah, people should pay, at least a minimum amount for others's work. Look at open source, it's a mess, exactly because of the nonexisting payment layer. And what they used open source code? To bootstrap llms, for free.
- WoodenChair 2y agoI've had four technical books published and I've finished writing my fifth which I'm in the midst of negotiation with publishers about distributing. I've seen many similar articles to this one before, but I want to complement the author by saying that this one rings the most true and is the most comprehensive of all of them. However, I want to emphasize a paragraph from his article, that I think needs more emphasis: > I heard from publishers that 10k copies sold is considered a success, and the publisher may ask you to write another one. According to this blog, 96% of books (mostly fiction) sell less than 5000 copies per year. For technical books, it may be worse. I've heard that 10k number before. I've also been told by one of my publishers that 2k copies is the break even point for them. While I've had the fortune of three out of four of my prior books selling more than 2k copies (and one selling many, many more), it seems that a significant number of traditionally published programming books do not. And I'm sure that ratio is even worse for self-published books. In fact, I think the "Reality Check" section of the article is not harsh enough. The author cherry-picked some data on very well selling technical books, which doesn't make the point well. The reality is simple: the vast, vast majority of programming books do not sell "well" (let's consider "well" 10,000 copies) and many don't even break the 2,000 copy barrier, even from traditional publishers. So, what are the economics of technical book writing? Not good. And it's only going to get worse as the market gets flooded with LLM-generated garbage. So, do it because you really want to do it for another reason (career, teaching, etc.). Not to make money.
- richrichie 2y agoI disagree. This is the case for anything entrepreneurial. Vast majority of ventures fail. Reward/Risk ratio (in finance we call it Sharpe ratio) generally equalises across the spectrum. That is there is no free lunch. You can choose an activity that has better odds of making money. But you will make leas money on average.
- hilux 2y agoI think you underestimate the cost of writing a well-researched book. Pre-publication, the process consumes lots of time and energy and money while generating zero revenue, output, or other benefit. Very different from most business ventures. Source: I have written a book, and have also started my own business and have worked for many startups. (VC-backed startups pay their employees.)
- Zigurd 2y agoI wrote several books. My first book was terrible but sold very well because there was no Stackoverflow, OS platforms did not spend enough to support developers, and their documentation sucked. None of these are true anymore. Also printed books as a medium is in sharp decline. My later books were much better books but sold fewer and fewer copies. Now I do tiktoks on current topics of interest mixed with my project management content. That will probably turn into a series of YouTube long form video lessons.
- WoodenChair 2y agoI took the liberty of looking up your books from your Hacker News profile. Perhaps they are not all listed there, but the most recent one you listed I think is on a much more niche topic ("Enterprise Android" as opposed to say your prior title "Programming Android") than the prior ones. Even if it's a better book, that won't outweigh that there's just a much smaller audience. Personally, I think my first book, 10 years ago, was my best book but it sold much worse than my later books because the topic was too niche. Also, there are many, many more programmers now than there were before. Maybe they don't read books as much as their predecessors did, but to say Stack Overflow and open source platforms killed technical book publishing is highly inaccurate. I honestly think you're projecting a "you" situation to talk about the whole market. Please don't take that as an attack, but just as an additional perspective.
- Zigurd 2y agoMy first book C Programing Techniques for the Macintosh was pretty niche. For example, it required third-party compilers and other tools to do self-hosted development on a 512k Mac. But you had to buy it because Apple's documentation had no tutorial content at all, just an API reference. If you look at Google's documentation of Android now, you don't need to supplement it.
- WoodenChair 2y ago> If you look at Google's documentation of Android now, you don't need to supplement it. Which speaks to the lack of need for books in certain elements of the Android market, but not to technical publishing more generally.
- CalChris 2y agoDonald Knuth's Mathematical Writing had a lecture from Jeffrey Ullman, On Getting Rich. https://jmlr.csail.mit.edu/reviewing-papers/knuth_mathematical_writing.pdf https://jmlr.csail.mit.edu/reviewing-papers/knuth_mathematic... Things haven't changed much. The absolute numbers are similar and discounting for inflation, worse.
- kkukshtel 2y agoFor anyone else interested, I highly recommend reading through Rob Fitzpatrick's "Write Useful Books": https://www.amazon.com/Write-Useful-Books-recommendable-nonfiction/dp/1919621601 https://www.amazon.com/Write-Useful-Books-recommendable-nonf... It isn't about technical books exactly but it does speak mostly on how to write recommendable non-fiction, some of which can obviously be technical. It's got a lot of practical advice for the actual "doing" of the book, and has inspired me to at least start dipping my toes in.
- deleted 2y ago[deleted]
- telepathy 2y agoIs this really how anyone under 60 learns technical information in 2024? I realize SWE job posts are down but... this is a terrible idea lol
- mattgreenrocks 2y agoAs shocking as it may seem, you probably won’t learn compiler dev from TikTok.
- telepathy 2y agoI'm all about scrolls and slates. As shocking as it may seem, you won't learn philosophy from a printing press.
- djaychela 2y agoI have written a textbook on using Cubase (a DAW), but including all the background that I think you need to be well-rounded (music theory, audio concepts, mixing, effects, instruments, etc). It took me 2 years to write, one of which was all my spare time, so probably about 9 months to a year's full-time work. Then I found out no-one bought it! Only pure chance led to it being promoted by someone in the industry, maybe 2 years later. I've kept it updated (started on Cubase 6, now on Cubase 13), and it sells reasonably well; maybe £400 a month in revenue, typically for me. So it's not a big earner, but it pays some of my bills, and means it's worth the 2 weeks of work (average) to update it each time Cubase releases a new version. All of this is selling via Amazon, worldwide, print-on-demand. Previously on Lulu but they were really just sub-contracting on Amazon and while you get less money per copy on Amazon, it out-sells Lulu by 3x (and then Lulu discontinued the sizes I was using so it was a no-brainer). I've done another book (which is less of a seller in terms of price and numbers), and quite enjoy them, but it's difficult and I think it's more a case of "if I have the time spare I can put this work in and eventually it will pay me back" - possibly over a year or two...
- WorkerBee28474 2y agoTo fuess some numbers for this, Cubase 6 was ~2011, so sales would start in 2013, 11 years is 132 months, at $400/month that's $52,800 total over the years, and that was for about a year of work. So it paid something, but probably not as much as a 1 year full time job would have.
- djaychela 2y agoI wish the numbers were that good. It only paid that much over the last ~4 years or so. The first 3 years it sold precisely 7 copies, all of which were to students of mine (and I was specifically not selling to them, they asked me about it, as I don't like the conflict of interest there).
- Simon_ORourke 2y agoI had to look-up what Cubase was (it's music software) to figure out the niche.
- jdriselvato 2y agoIn 2020 I wrote a book on FFmpeg after going through the entire FFmpeg documentation. I wanted to learn FFmpeg inside and out by actually using it to convert audio/video based on what the documentation offered. In the end I open sourced the results as an extension to the official docs[0] and then released in on Kindle as well[1]. In the last 4 years I've sold 743 books which is just shy of $2000. Still I love the fact that every month I'll get a KDP payout email and it feels more gratifying than my own FAANG+ paycheck for some reason. [0] https://github.com/jdriselvato/FFmpeg-For-Beginners-Ebook https://github.com/jdriselvato/FFmpeg-For-Beginners-Ebook [1] https://www.amazon.com/dp/B087GYV15Y/ https://www.amazon.com/dp/B087GYV15Y/
- sameoldtune 2y ago> for some reason Because it was entirely^ the fruits of your own labor! ^well everything is connected, I guess you didn’t write ffmpeg nor are you responsible for the creation of video encoding or camera technology, but I’ll go back to splitting my own hairs
- at_a_remove 2y agoThis has been in my "to buy" for a while. I am decent with ffmpeg but I could always learn more.
- jdriselvato 2y agoThe ebook (.epub or pdf) is for free on the GitHub: https://github.com/jdriselvato/FFmpeg-For-Beginners-Ebook/tree/main/download https://github.com/jdriselvato/FFmpeg-For-Beginners-Ebook/tr...
- at_a_remove 2y agoI mean, that's well and good but I bought it because that kind of thing deserves at least some sort of compensation for the work.
- langcss 2y agoThat is cool! I turned to ffmpeg to reduce the size of some family videos because despite the command line it was possible whereas the Windows flavour of the year editor just can't do it. This made me think that hey why not use it for all video editing needs! Although harder to use than a UI the commands will be the same in 2050 as they are now! Plus it is scriptable.
- deleted 2y ago[deleted]
- paulpauper 2y agoIt would seem like the real $ in in Substack. Lots of writers making >$50k year of passive, recurring income to write maybe one or two articles a month. Good work if you can get it, compared to writing a full-blown technical book and earning less.
- ghssds 2y agoOTOH, from all the articles that get posted on HN, I know I'll have the worst reading experience when an article is from substack, because of their terrible website.
- __mharrison__ 2y agoPretty good article. Publishing anything these days is a long tail game. Outliers make $. If you want to make money from a book, you need to promote it, self published or not.
- julian_t 2y agoI wrote and contributed to several programming books, back in the glory days when your local bookstore had shelves of 1500 page tomes on programming topics. It really is true that you didn't do it for the money - up to six months work for a couple of £k up front and then meager royalties if it sold. ISTR that in my case 6k sold was when the royalties kicked in. I did it mainly because I was starting up as a consultant and trainer, and having your name and picture on a book was a huge plus. A second benefit was that you learn a lot when writing a book; not just about the dark corners of the topic, but also about long form writing and how to express yourself. But publishers, though... I'll just say that if I was going to do another book I'd try self-publishing, make more from my labour, and save myself a lot of hassle.
- ryanbigg 2y agoI have written a few tech books: https://ryanbigg.com/books https://ryanbigg.com/books Off these, I’ve made $65,000USD. That’s over 13 years. None of these books have sold anywhere near as close to the Unicorn Project! (Which imo is fanfic for the tech-inclined) The money is nice, but hearing from people who’ve read the books (especially those who ask questions!) is the best part. Huh, maybe it is the friends we make along the way after all.
- WalterBright 2y agoThe prospects for making money selling as an artist (author, painter, athlete, musician, actor) are so poor why do they care so much about copyright law? The route to riches for, say, a musician is to become famous and charge for the coliseum seats to hear him play. To become famous doesn't it make more sense to give the music away? Being famous means you get high consulting rates, get paid for personal appearances, get paid for putting your name on sneakers, etc. A famous author could get paid for writing movie scripts or snagging a professorship or teaching seminars. If copyright law disappeared tomorrow, would the artists really be worse off?
- onlytime 2y agoI am anti-copyright, but I think you're considering this through the lens of a computer scientist/rocket engineer instead of someone who's had to work a worthless desk job or wait tables or paint houses. As someone who recently (and probably unsustainably) got out of the cycle of worthless jobs and knows a handful of musicians, here's my perspective: Indie (and indie label) musicians can actually do fairly well with recorded music. No, they won't be rich. Middle class is at most the target, usually under. Live in a third-tier city and have few expenses. You don't need to sell very much for a baseline livable state. $10000 a month isn't an achievable target for most working artists. $800, on the other hand, is, even without touring. Sell a handful of Bandcamp copies, sell a few physical copies (cassettes are best for this in the current moment, being cheap to produce and having a fairly loyal audience), have your back catalog do well enough on streaming. $800 is enough to live on, if you're living with roommates. In many ways, living with $800/month and no unfulfilling 40hr job is much better than living with $1800 and an unfulfilling 40hr job. Even if you don't want to live with roommates, it cuts the amount of work for an employer you have to do by a great deal. Working low-skill work is soul-crushing. For authors, from what I understand, this baseline is even more achievable. If you have no hopes of getting rich, the current copyright system is fine.
- WalterBright 2y agoI'm surprised they can even reach $800/mo. But there are multiple other avenues for revenue. One can sell merchandise, such as the ever-popular band t-shirt. And there are still many who will want to buy an official cassette rather than just download a song. There are also paid gigs - a live performance is not replaceable with a download. One can livestream a performance, and get paid for the ad placements.
- rebeccaskinner 2y agoI think this is a fairly accurate article, although I think it overlooks the indirect benefits of writing a book. My book, Effective Haskell (https://pragprog.com/titles/rshaskell/effective-haskell/ https://pragprog.com/titles/rshaskell/effective-haskell/), is a pretty well reviewed book on a fairly niche technology. It's been in print for about a year, and was in beta for around 6 months before that. I'd estimate I spent around 4,500 hours over 5 years writing my book and the royalties so far mean that the value of that time was around $5/hour pre-tax. That hourly rate will go up slowly over time until the book stops selling, but it's pretty hard to argue that it's objectively worth it just for the royalties. My motivation for writing the book was never the money, and I've generally treated the royalties as a nice bonus. I started writing because I cared a lot about the technology, and I wanted to share it with other people. Writing the book was my way of contributing something to a community that I'd benefited from a lot in my career. In addition to the satisfaction, there have been other benefits I've seen to writing a book. It's opened up opportunities for other side income. I've had paid speaking opportunities, and I've been invited as a guest lecturer at a couple of universities and been offered to chance to design and teach a course at a well ranked local university. If I wanted to actively pursue consulting as a side gig I think the reputational gain would help me there as well. Writing a book has also helped me in my career. In a direct way, I think the benefit to my reputation helped me get interviews. The communication and technical writing skills I gained writing a book have also helped me as I've moved into a leadership role. It's impossible to know precisely how much writing a book contributed or to put a clear monetary value on that, but I do think it's contributed. The other side of this is that, a year after finishing writing on my book I'm still recovering a bit from the burnout of working so intensely on a side project for so long. I still have some follow-up work (extended solutions to all exercises, errata, fixing up and publishing some cut chapters as free content) that I intend to take on and it's been really hard to find the energy to do it. I'd like to write a second book one day, but I'd still advise people to be mindful of the amount of work it takes and to avoid writing one unless they are absolutely certain that it's something they want to do.
- danielovichdk 2y agoAs a person, you, having written a book on FP, would you consider this book an okay starting point for a programmer, me, with very little FP knowledge ? Kudos for spending so many years on this, that's very inspiring.
- wjgilmore 2y agoI've written 9 technical books, including 4 for a major publisher (Apress), and 5 independently (https://wjgilmore.com/ https://wjgilmore.com/). One of these books (Beginning PHP and MySQL) has incredibly reached its 20th year in print[1], and has been translated into a bunch of languages. Many years ago I also wound up editing ~70 or so books for Apress plus a few for Wiley. In summary I know this business pretty well, and still follow it closely despite not having participated in it for several years. My advice is this: if you want to write a book, then write it. But if you do have this sick, twisted desire to spend countless hours writing and editing your work, telling yourself you are an idiot, not good enough, and a horrible writer, then at least do so with the thinking people are going to read it and as a result you will make money. Set yourself up for the possibility of success. How can you do this? * Package the book in different ways (print, print + videos, print + videos + consultation). This has been extraordinarily successful for me personally. * Use the amazing Leanpub.com to do the book production (turn your Markdown into PDF, epub, etc). Not an affiliate or whatever, just mentioning it because you will save untold hours of pain. * If you want to work with a publisher (and in 2024 I don't suggest you do), then choose very, very wisely. There are two who I would even consider working with today, and even in those cases I would absolutely not cede the usual rights. Hope this helps, Jason [1] As of this fifth edition my name is no longer on the book due to a disagreement with the publisher.
- thevagrant 2y agoI would also recommend writers to keep their digital books up to date and current. The book should not be considered finished the day it is released. Jeff Geerling gave his devops books away (free) on multiple occasions. I chose to pay for them as he kept working on and improving them well after release. If more writers took this approach, the quality would increase.
- Suppafly 2y ago> [1] As of this fifth edition my name is no longer on the book due to a disagreement with the publisher. oh man, I'm sure you can't share, but now I really want to know.
- smithclay 2y agoThere’s a hack if you work in Developer Relations for a tech company. 1. You write the book as part of your job during the workday. 2. Your company buys the published book to distribute at events and conferences for free. 3. The book seems successful and you get paid. 4. The book gives you credibility in industry events and may even help you get a special visa if you need one. Full disclosure: I have never written a technical book, but you should if you work in Developer Relations.
- Jiahang 2y agoso writing books at GitHub
- langsoul-com 2y agoOne big thing about selling books or courses is the constant social media promotion required to maintain sales. Lots of YouTube channels are really just a platform to advertise their product.
- jslakro 2y agoThis lengthy article can be converted into a publishable book sellable on Amazon