However, how can a blogging programmer make some money off its blog then? Donations or micro-donations (think Flattr/Gratipay/etc) is the only idea I can think of.
But if you have a trustworthy relationship to your readers, it's usually appreciated if they get tips on books or software that helps them. If you get a few bucks for a recommendation, everybody wins.
Also, you could start your own product (e. g. an ebook or a tutorial about something), although this requires clearly more effort.
The advantage of affiliate is that you get to select the products you recommend, unlike with most ads.
Same to hardware reviewers, product reviewers, etcetera, etcetera.
Consumers themselves paying, I don't see it that often, but there's the "donations" model that seems to be popular among streamers, etc., I haven't donated myself but I could see myself doing so.
But in general there's too many mediocre and crappy blogs to say I'd pay money for them. Seriously, why would I pay money to read the millionth article about some random guy just discovering Haskell?
IMO, maintaining a blog is like having a Facebook account.
I have a sneaky suspicion that the same is true for these popups you see all over the internet. I have a basic rule: If there is a popup, I just close the tab. I don't care how good the content is. It can't be that good if the webmaster needs to catch my attention like a needy girlfriend by flashing stuff in my eyes. Close and gone.
I wonder if I'm in such a minority such that it doesn't matter, or if this is intentional segmentation or just plain stupidity on the side of webmasters.