alan
banner
alanwsmith.com
alan
@alanwsmith.com
my current thing is bitty. a free, open-source web component for making pages interactive without a framework: https://bitty.alanwsmith.com/
October 26, 2025 at 4:18 AM
ah yes, there you are, SVG viewBox. I was wondering where my ol' archnemesis has been
October 24, 2025 at 3:29 AM
October 23, 2025 at 3:02 AM
October 23, 2025 at 12:20 AM
(testing using SVGs as image uploads)
October 23, 2025 at 12:05 AM
I've been browsing The Met's open access collection of free art work. Picked "Illustrated Legends of the Kitano Tenjin Shrine" for my new terminal background. More details on the image here: www.metmuseum.org/art/collecti...
October 12, 2025 at 9:35 PM
one of these days, my keyboard layout is gonna be perfect
September 18, 2025 at 3:07 PM
Movie you’ve watched more than six times with a gif. “Hard mode” no Star Wars, Star Trek, Lord of the Rings, or Marvel.
June 27, 2025 at 3:48 AM
June 21, 2025 at 4:29 PM
been working on error messages for bitty (my reactive web component). Making them the best they can be is an explicit part of the project. Here's the current iteration

Adding the messages more than doubled the number of lines of code (from about ~130 to ~410). I'm more than happy to make that trade
June 5, 2025 at 7:39 PM
Still working on a tagline. This ain't a bad start
June 4, 2025 at 1:09 PM
Further refinement to the color picker

I cut out the high-contrast modes. I'll have them as a customization, but browsers only have light/dark preferences right now. So, I'm going with that by default.
May 23, 2025 at 11:44 PM
a linter, but every time you open a file the whitespace is increased by one
May 22, 2025 at 11:03 PM
color picker is almost done. just gotta filter the output and add a copy button. (probably some spell checking too)
May 20, 2025 at 2:13 AM
I _think_ I've finalized the design for my color picker.

Working today on outputting the CSS to copy/paste into a site. That'll wrap up the first version.
May 17, 2025 at 4:58 PM
Dear New Programmers,

I've been slinging code for 30 years. I still do stuff like this

~~~~~~

Spoiler: This is JavaScript where three equal signs compares things. A single equal sign, attempts to assign one thing to the other. When you're trying to compare things, this is not helpful
May 16, 2025 at 1:59 PM
making progress my color picker design

goal is to remove as much as possible for the initial experience

next step is to collapse the individual pickers under tabs (without that you end up having to scroll up and down too much which can make it hard to see the what you're changing)
May 16, 2025 at 12:36 AM
I saw the note from @pjpscriv.com about this being part of an overall test for comments. Based on the -75 vote count, it seems I'm not the only one who dislikes it

source: meta.stackoverflow.com/q/433817/102...
May 15, 2025 at 11:14 PM
my quest to make a point and click color picker continues. still work to do, but it's shaping up nicely
May 12, 2025 at 6:47 PM
The urge to make these numbers match, even for just a moment, is strong
May 1, 2025 at 2:40 PM
I was going to write a quick python script. Unfortunately, my formatter is drunk.
April 29, 2025 at 8:26 PM
oh god.

I hit some weird hotkey and my terminal went to light mode.

It fine for now. The window's open and it's daylight outside. It's gonna be a problem come night though.
April 29, 2025 at 7:20 PM
Brain decided to riff on Clarke's Third Law

#showerthoughts
April 23, 2025 at 2:57 PM
Just started a new post. It's possible I'm manic, but mentally, I'm here.
April 10, 2025 at 11:50 AM
hard pass
February 5, 2025 at 6:46 PM