You're rather inaccurate though. Not sure if you're talking about "Ruby for fun", but anyway:
- you wrote it for your own son;
- you're distributing it now on CC BY 4.
So, no, we're not at risk of losing good books from good authors, there are more incentives than just money.