The same book is available for $25.56 on Amazon (vs $44.95 on No Starch and O'Reilly). How can Amazon afford such a huge discount on a new book? And how does O'Reilly survive with such competition?
O'Reilly survives because as a publisher, they are making money on every book sold, whether you buy it directly from them or through a retailer. Their direct retail sales are just a sideline.
I've sold some books in the past, mostly for fun and to learn about online retail. I'd love to have a chat with you about your experience. Can I email you somewhere? Or if you don't mind, could you please drop me a line? (see profile)