I have written a technical book with a publisher in the past. It was a nice experience, but same as the author in this (great) post, I don’t think I would do it again. It is very time consuming, and IMO not worth the time spent.
But I admire people who dedicate so much time writing high-quality books. On my side, I chose to invest more in writing short books, practical and solving one problem at a time. Yes it isn’t as high-quality, but I’m convinced there space for all kinds of books :)