Tag: web
-
Dynamically-Deployed Static Site Subdomains on Caddy
Continuing my effort to find a way to serve my various static sites that meets my need for ease-of-use and low-maintenance, I configured a wildcard Caddy server with webhook-based monitoring of a GitHub repository. Here's how it works...
-
Moving a static site from GitHub to Codeberg Pages
I was recently reminded that I wanted to try out Codeberg Pages, so I migrated a static site over from GitHub Pages. It mostly worked, and a learned a little along the way about how Codeberg Pages works.
-
Predictions in a Hat
Two decades ago this month my friend Matt posted five predictions about the future of the world. I've revisited these predictions twice since: ten years later and twenty years later, and "scored" his predictions both times.
I love that the Web's memory (and the persistence of URLs) makes this kind of long-term conversation possible. -
A Random List of Silly Things I Hate
Just a list of eleven random silly things that I hate, to various degrees.
-
Why Security Engineering needs a Hacker Mentality
Security engineering is about a lot of things, but the best security engineers show the 'hacker mindset' characteristics of curiosity and imagination. Here's an example of how I found an XSS vulnerability in a forum, mostly by accident, and how curiosity was the key.
-
I Am Experimenting with Blocking HTTP1.1
Andrew Stephens has added Caddy configuration to prohibit HTTP/1 clients from accessing most of the pages of his website. I decided to probe it and see how that works.
-
Introduction to the new HTML element 'geolocation'
Manuel Matuzoviฤ has done a nice write-up on HTML's new 'geolocation' element. It's not exactly what I'd have implemented, but its still an improvement upon the established geolocation API.
-
Highlight of my workday was debugging an issue that turned out to be nothing like what the reporter had diagnosed.
The report suggested that our system was having problems parsing URLs with colons in the pathname, suggesting perhaps an encoding issue. It wasn't until I took a deep dive into the logs that I realised that this was a secondary characteristic of many URLs found in customers' SharePoint installations. And many of those URLs get redirected. And SharePoint often uses relative URLs when it sends redirections. And it turned out that our systems' redirect handler... wasn't correctly handling relative URLs.
It all turned into a hundred line automated test to mock SharePoint and demonstrate the problem... followed by a tiny two-line fix to the actual code. And probably the most-satisfying part of my workday!
-
The internetโs hidden creative renaissance (and how to find it)
This article is good and touches on many sites, people, and topics that I care about... but it's painfully ironic that the author has written a post praising the independent Web... using Substack as their platform.
-
PHP 8.4 on Caddy on Debian 13... in Three Minutes
I just needed to spin up a new PHP webserver and I was amazed how fast and easy it was, nowadays. Just the stock package repositories and around five commands and my fresh box and it was serving PHP applications over HTTPS.
-
Death to the shadow DOM!
I usually agree with Chris Ferdinandi, but he and I aren't entirely in accord about the Shadow DOM. He thinks it's useless. But I think it's MOSTLY useless.
-
For anyone who :has :not yet seen the magic of modern CSS
CSS is all grown-up, and the combination of nested selectors, variables, :not, and :has unlocks a wealth of potential for interactivity and customisation without resorting to (the slower and brittler approach of) JavaScript. Let me show you two examples from my recent editor history.
-
CSS Lightbox with Alt Text Viewer
Off the back of my details/summary-based semantic HTML+CSS lightbox, I've come up with a way to add Mastodon-like 'show alt text' widgets in the same way, and I'll be applying both to images on my blog's new theme, in the New Year.
-
HTTP is not simple
After discovering it through a Gemini newsgroup, I very much enjoyed Daniel Stenberg's (of cURL fame) explanation that contrary to what you might think, HTTP (even version 1) is not a 'simple' protocol, and is full of weird and knotty underspecified loose ends.
-
Layitout! Terra is a CSS-only implementation of a customisable Transport Tycoon-like terrain generator, and it's left me impressed and confused!








