Sam Littlefair
banner
littlefair.ca
Sam Littlefair
@littlefair.ca
building @vowel.cc · documenting #storyblok · shooting #35mm · living #yhz

*posts reflect my views, not my employer’s
An important part of learning web development is going through the gauntlet of “X isn’t a real programming language” until you realize it’s a true-scotsman goose chase
November 13, 2025 at 6:24 PM
I had no idea what this meant when I saw this movie but for some reason it stuck with me.
November 5, 2025 at 5:49 PM
This is so cool!

I was thinking that this would be a good way to count words, but then I realized you could do the same with split(/\b/). I'm not sure if it would work as well, but .split(/\b/) runs in about 1/4 of the time by my test: jsbenchmark.com
JS Benchmark
A straightforward online JavaScript benchmarking tool and REPL with support for ES modules and libraries.
jsbenchmark.com
November 4, 2025 at 6:04 PM
I'm pretty amazed by the Unified ecosystem tbh. There are utilities to solve a lot of challenge that I've been thinking about.
November 3, 2025 at 6:42 PM
Next up, I'm going to build out the templating for proper web pages and add more features to the markdown parser. Then I'll add a dev server and hot updates. I'll try to keep it minimal so I can publish something that works well soon.
October 31, 2025 at 12:13 AM
Thank you 🧡
October 20, 2025 at 1:01 PM
I guess what I'm saying is: feel free to use chatbots responsibly if that's the right choice for you, but don't overlook the fulfillment you can get from the DIY approach.
October 17, 2025 at 2:36 PM
It’s mind-boggling, but maybe someday this will be a guiding principle 😅
October 16, 2025 at 4:00 PM
I remember @rich-harris.dev saying that the SvelteKit logic was synchronous after the initial data load (if I understood correctly), and that's become a guiding design principle for Vowel.

I'm imagining an await sandwich:

await loadData()
templatePages()
await writePages()
October 16, 2025 at 1:26 PM
I would probably opt to also keep the whole thing inside one `<strong>` tag to simplify authoring and denote that it's a single identifier.

Anyway, this is one of my favorite parts of my job.
October 10, 2025 at 2:59 PM
So it seems like the question might be misguided. It's not whether or not to bold the angle bracket (doesn't really matter), but you should properly label the angle bracket.

Once you put `aria-label="and then"` on the `>`, you can apply whatever font-weight you want with CSS.
October 10, 2025 at 2:59 PM
The official Google and Wordpress style guides say yes.

The official Microsoft and Atlassian style guides say no.

But Google also specifies that the angle bracket should have an aria-label, since the syntactic meaning "greater than" is inaccurate in this context.
October 10, 2025 at 2:59 PM
The bait-and-switch of chatbots for machine learning will prove to be one of the great cons of our time.

Chatbots take all of the credit for “AI” (read: “ML”) accomplishments, with none of the technical potential.
October 8, 2025 at 5:17 AM