Someone needs to make a Hacker News bingo card. "Doesn't work with JS disabled" would definitely be on there.
Re:How to write a programming book
by throwaway_pdp09 on Saturday May 23, 2020 @11:13AM
(#23283569)
Along with "you need JS for the modern web"
"it's just text and images"
I'm working on that. I just used a stock template for the website.
Cheers! Much appreciated. :-)
The low contrast text is also really hard to read.
> Would it be possible to display text without enabling JS?
No, because then how would it set up pullquotes like "If you don't set a baseline somewhere, you risk starting a book that grows backward" that you can tweet at the push of a button? (Is that really a thing? I guess it must be somewhere, but it's new to me on a (I guess) programmer's blog.)
You can't actually send a tweet at the push of a button (unless you're connected with twitter oauth with the right permissions), but what you can do (and that button does) is opens the tweet composer pre-filled with the quote, ready for you to then just hit "Tweet"
I used to do that on my blog. Example: http://beza1e1.tuxen.de/team_building.html
Stopped doing it as I got negative feedback about it being annoying. I never tracked how many tweets I get out of it though. So if you aim for popularity (unlike me) it might still be worth it.
It was one of the big reasons I used RestructuredText as markup language for my static website generator. It is extensible enough to make these tweet-blocks with just:
.. tweetable :: Psychological Safety is THE core factor for Great Teams says GoogleThey are just links to Twitter, no JS involved on those fragments.
I have read several IT books recently and they aren't good. Basic stuff like visibility of diagrams, presenting advanced subject matter but also supposedly in a way that will teach you programming, or having pages of code to illustrate something trivial.