It is true that one image is worth a thousand words, but unfortunately it is also true that one image takes up at least as much bytes as a thousand words!
Having one single page to rule them all is of course the ideal setup for a website, as you can Ctrl + F one ToC and quickly find what you want.
And, with Linux Kernel Module Cheat Ciro noticed that it is very hard to write so much intelligent prose that becomes larger than reasonable to load on a single webpage.
He then started using this technique for everything he writes, including this page and Chinese government.
However, if there are too many images on the page, the loading of the last images would take forever in case users want to view the last sections.
There are two solutions to that:
- be traditional and create separate web pages
- be bold and load images as they appear on the viewport: stackoverflow.com/questions/2321907/how-do-you-make-images-load-only-when-they-are-in-the-viewport/57389607#57389607Edit: OK, it was standardized with
loading=lazy
, without need JavaScript!Now the last awesome thing would be a method that loads first images in viewport, then those below, and then those above, that would be the ultimate solution.This question comes close: stackoverflow.com/questions/7906348/change-loading-order-of-images-already-on-page
Ciro is still deciding between those two. The traditional approach works for sure but loses the one page to rule them all benefits.
The innovative approach will work for interactive viewing, but archive.org will fail to load the images for example, and there may be other unforseen consequences.
Wikimedia Commons is awesome and automatically converts and serves smaller versions of images, so always choose the smallest images size needed by the output document. Readers can then find the higher resolution versions by following the page source.
This also comes to mind: motherfuckingwebsite.com
zettelkasten.de/posts/overview/ from zettelkasten:
How many Zettelkästen should I have? The answer is, most likely, only one for the duration of your life. But there are exceptions to this rule.
rwxrob.github.io/zet visible at rwxrob.github.io/zet/dex/changes Custom closed source system? No table of contents.
Interesting and weird dude who is into livestreaming and living off his limousine and mentoring people about programming:
This is not "open" content. It is illegal to copy anything from this zettelkasten for any other purpose whatsoever that is not guaranteed under American "fair use" copyright law. Violators will be prosecuted. This is to protect myself from people straight-up lying about me and my current position on any topic based on what is here. I'm very serious about prosecution. I will find you and ensure you receive consequences if you abuse this content and misrepresent me in any way.
Also into bikes: rwxrob.github.io/zet/2587/ which is cool:The doing loops thing makes a lot of sense, it is how Ciro Santilli also likes to explore and eventually get bored of his current location.
Wherever my wife is. I am not a solo digital nomad. I’m a guy who lives for months at a time while traveling around all over either in my car or on my bike. In fact, finding a temporary “home” for my car is usually the harder question. I like to drive to a centralized destination and do big loops of bike touring returning to that spot. Then, when I need a break, I drive home to my wife, Doris, recuperate, and prepare for next season.