All my old coding projects. Static HTML generated from XML files with XQuery implemented in Pascal. Before that I was generating it with a custom Java-based generator language, which had a rudimentary version of functions, loops, and XPath, but mostly did string concatenation. Before that I had a Delphi-based generator, which only did string replacement, to create the same HTML layout. Is it not interesting that I ported it from Pascal to Java back to Pascal, because Pascal had much better performance than Java?
My site hearkens back to the spirit of the old days. Except for a custom web font, it doesn't have many visual frills. No CSS framework, almost no JS. Lots of random content; it's not just a blog or a resume, though it has those too.
Recently redesigned my blog to show previews of the posts before you read them. Though I can't say I thought of the idea on my own--it's inspired by the way Dan Luu screenshots the beginning of his blog posts whenever he posts them on twitter (for example, https://twitter.com/danluu/status/1472142011918471170?s=20&t...)
Thanks! At first they were rendered HTML of the entire article (because nextjs makes that easy), but that caused performance issues, especially on mobile Safari. So now they're auto-generated screenshots. Glad you like them!
That's kinda a shame from a size POV. The screenshots are 1/2MiB each for a bit of text and common styles. I wonder if it would be feasible to go back to HTML but somehow smartly decide where to chop off the article to avoid much overflow, image downloads and whatnot.
Seems like a really simple site that uses a mix of browser defaults with light CSS enhancements, but I put about 13k words of thought into it: https://seirdy.one/2020/11/23/website-best-practices.html It's really hard to get a site to work well on a <2-inch (<5cm) viewport with switch access for astigmatic colorblind users on a feature phone experiencing packet loss, but I think I pulled it off nicely. CSS-optional, no JS (blocked by CSP). Also has mirrors to a Tor hidden Web service and a Gemini capsule, all hosted on the same VPS. I like the "small web" and joined a few webrings (and Gemini orbits), and try to make this static site a member of the IndieWeb. Bookmarks are generated from my bookmarks manager, WIP music ratings from MPD coming soon. An incomplete list of use-cases I tried to accommodate: - Screen readers - Switch access - Keyboard navigation, with the Tab key or caret navigation - Navigating with hand-tremors - Content extraction (e.g. “Reader Mode”) - Low-bandwidth connections - Unreliable, lossy connections - Metered connections - Hostile networks - Downloading offline copies - Very narrow viewports (much narrower than a phablet) - Mobile devices in landscape mode - Frequent window-resizers (e.g. users of tiled-window setups) - Printouts, especially when paper and ink are rationed (common in schools) - Textual browsers - Uncommon graphical browsers - the Tor Browser (separate from “uncommon browsers” because of how “safest” mode is often incompatible with progressive enhancement and graceful degradation) - Disabling JavaScript (overlaps with the Tor Browser) - Non-default color palettes - Aggressive content blocking (e.g. blocking all third-party content, frames, images, and cookies) - User-selected custom fonts - Stylesheet removal, alteration, or replacement - Machine translation to right-to-left languages
Comments (1,383) 1051 threads
Earlier commentsAll my old coding projects. Static HTML generated from XML files with XQuery implemented in Pascal. Before that I was generating it with a custom Java-based generator language, which had a rudimentary version of functions, loops, and XPath, but mostly did string concatenation. Before that I had a Delphi-based generator, which only did string replacement, to create the same HTML layout. Is it not interesting that I ported it from Pascal to Java back to Pascal, because Pascal had much better performance than Java?
My site hearkens back to the spirit of the old days. Except for a custom web font, it doesn't have many visual frills. No CSS framework, almost no JS. Lots of random content; it's not just a blog or a resume, though it has those too.
Recently redesigned my blog to show previews of the posts before you read them. Though I can't say I thought of the idea on my own--it's inspired by the way Dan Luu screenshots the beginning of his blog posts whenever he posts them on twitter (for example, https://twitter.com/danluu/status/1472142011918471170?s=20&t...)
Continue this thread — 2 replies
Seems like a really simple site that uses a mix of browser defaults with light CSS enhancements, but I put about 13k words of thought into it:
https://seirdy.one/2020/11/23/website-best-practices.html
It's really hard to get a site to work well on a <2-inch (<5cm) viewport with switch access for astigmatic colorblind users on a feature phone experiencing packet loss, but I think I pulled it off nicely. CSS-optional, no JS (blocked by CSP).
Also has mirrors to a Tor hidden Web service and a Gemini capsule, all hosted on the same VPS.
I like the "small web" and joined a few webrings (and Gemini orbits), and try to make this static site a member of the IndieWeb.
Bookmarks are generated from my bookmarks manager, WIP music ratings from MPD coming soon.
An incomplete list of use-cases I tried to accommodate:
- Screen readers
- Switch access
- Keyboard navigation, with the Tab key or caret navigation
- Navigating with hand-tremors
- Content extraction (e.g. “Reader Mode”)
- Low-bandwidth connections
- Unreliable, lossy connections
- Metered connections
- Hostile networks
- Downloading offline copies
- Very narrow viewports (much narrower than a phablet)
- Mobile devices in landscape mode
- Frequent window-resizers (e.g. users of tiled-window setups)
- Printouts, especially when paper and ink are rationed (common in schools)
- Textual browsers
- Uncommon graphical browsers
- the Tor Browser (separate from “uncommon browsers” because of how “safest” mode is often incompatible with progressive enhancement and graceful degradation)
- Disabling JavaScript (overlaps with the Tor Browser)
- Non-default color palettes
- Aggressive content blocking (e.g. blocking all third-party content, frames, images, and cookies)
- User-selected custom fonts
- Stylesheet removal, alteration, or replacement
- Machine translation to right-to-left languages
All comments shown.
Couldn't load more comments. Check your connection and try again.