Posts in Web-development (20 found)
Unsung Today

The Bug of Revelation

I have a strange soft spot for innocuous bugs that happen to disclose the inner workings of things. Here’s a video a friend sent to me: If you can’t immediately see what’s going on – computer, enhance and apologize: Yeah, if you don’t do front-end for living, you might not know that the loading rotators are not animated like an old Disney movie, but they’re just one visual element actually rotating in place. (Or perhaps this was obvious to everyone but me.) If the middle point of the rotation is just a fraction of a pixel off, it’s going to start feeling like a small moon pulling its huge planet slightly off its center. Now that you are aware, you will spot a lot of wobbly rotators everywhere; this one is just a particularly egregious – and hilarious – case. This is how it’s supposed to look, by the way: Another example is Cabel Sasser posting this a while back: for some reason it really bothers me that when you click and drag this dumb guy in slack, it drags out a sprite sheet 🫠 This is almost the opposite, almost like a more traditional animation technique – here, realized in a more modern form of a sprite. It’s yet another bug you can actually learn from. The first response to the post is a Slack developer fixing the bug. I have to say that it made me a bit sad to see it gone.

0 views

Protect Your Web Forms Against Spam Bots

The comments form that appears at the bottom of every article in this blog is under constant abuse by spam bots. I added a CAPTCHA to it a few years ago and at the time it seemed to help some, but spammers have now figured out how to bypass them. As a result, my comments inbox has been getting out of control lately. In this article I'm going to share a solution that I built to help me reduce spam on this blog from 30-40 messages per day to just about 2-3 per month. It is based on the " proof of work " concept, and unlike CAPTCHAs, it does not rely on third-party services. It is also better for users, because it does not require them to solve silly puzzles or even know that they are being verified. I have implemented the solution in Python and Flask, because that is what this blog runs on, but once you understand how it works you should have no trouble porting it to other languages or frameworks.

0 views
Blog System/5 4 days ago

Entering the Geminispace

On May 1st, 2020, Project Gemini made the rounds for the first time via a Hacker News discussion thread . I remember seeing the announcement back then, barely a month after the Covid 19 worldwide lockdown, and thinking it was a cool gimmick. But that was that. However, I’ve recently been seeing a few links here and there as footers in hand-crafted blogs, and I nerd-snipped myself to export this blog as a Gemini capsule that you can find at . The process has been fun, and I actually quite like the extreme minimalism of the resulting site. So what else would you expect from me? I had to write about it—hence this post. Today we’ll learn a little bit about what Gemini is, how I approached the blog export to its native gemtext format, and I’ll confess a couple of… sins I committed along the way. A terrible name, that is. Looking for information about Gemini these days is extremely hard, thanks to Google polluting the namespace with its own AI offering. Of course that’s not Project Gemini’s fault because Google’s thing came after them, but still, good luck finding stuff about this network. Joking aside, let’s look at Project Gemini’s barebones front page: Project Gemini's front page, displayed in the Lagrange browser. … and break down the introductory and only paragraph: Gemini is a new internet technology supporting an electronic library of interconnected text documents. You can think of Gemini as a way to access a bunch of text-only pages, with links among them, so you can find information and follow links to additional resources. Instead of using or URL prefixes, you use instead. That’s not a new idea, but it’s not old fashioned either. Exactly. Gemini is like the WWW , or “the web” in more colloquial/modern parlance. In fact, Gemini is a parallel community to the web. Obviously, that’s not a new idea because the web dates back to 1989, and we are now 37 years after that. The idea is not unique either because Gopher , a much lesser-known option, exists as well. Surprisingly to me, I realized that Gopher came after the web in 1991 while researching this article. I had always assumed Gopher was first and that the web came to replace it because of Gopher’s rigidness. But that’s not quite what happened. It’s timeless, and deserves tools which treat it as a first class concept, not a vestigial corner case. Humans have shared written documents since around 3400–3100 BCE (roughly 5,100–5,400 years ago) in ancient Mesopotamia and Egypt, and that’s probably (hopefully?) not going away. It’s true, though, that at this point, text sharing is not the primary thing that the web does, as you well know. We have morphed the web from a document distribution tool into an app platform, for better or worse. A little confession: I worked at Google for 12 years, starting right at the time they published Google Wave (2009), which to me marked the start of truly interactive web apps—more so than Gmail (2004) did. In the back of my mind, I knew I was helping turn the web into how we run apps, destroying the traditional desktop paradigm—a feeling I never liked. And… it happened. Obviously, it’d have happened without me, a little pawn in the game, but it bothered me regardless. Gemini isn’t about innovation or disruption, it’s about providing some respite for those who feel the internet has been disrupted enough already. (That comma splice hurts.) As we have established earlier, Gemini’s ideas are not new, so it’s indeed not innovative. And seeing how little people read these days, or even how unable to pay attention to long-form text they are, it’s not going to disrupt anything either. But respite is key: having a separate place where you know you’ll only find some sort of counter-culture sounds entertaining. Fun fact: I wasn’t quite sure what respite meant and originally took it to be similar to spite. That meaning would have worked equally well here, if not better? We’re not out to change the world or destroy other technologies. We are out to build a lightweight online space where documents are just documents, in the interests of every reader’s privacy, attention and bandwidth. Here is the interesting thing. Gemini claims that it has been designed to minimize the chances of becoming bloated, and I’m not exactly sure how you can prevent that. For example: articles can provide links to images, but images are not auto-loaded. OK, says who? The auto-loading part is something the client browser controls, and it’d be trivial to create a Gemini browser, or modify an existing one, to auto-load and render images. That’d go against the spirit of Gemini, but if enough people wanted it, it’d happen. Same story as the browser wars . And that’s the key: “enough people”. As long as Gemini stays under the radar and only like-minded people gravitate towards it, these properties will be maintained. But if for any reason it becomes more mainstream… unwanted changes will happen. Enjoying so far? Please take a moment to show me by subscribing to Blog System/5. It’s free! Gemtext is the native format of documents stored in the Gemini network, with a MIME type of and a extension. Gemtext documents are typically grouped in capsules —which is just another name for “website”. The format itself is like a super-diluted version of Markdown, supporting just these features: Three levels of headings. Paragraphs. Links as standalone lines, not as inline text. Preformatted text blocks, also not as inline text. Unordered lists. Blockquotes. Workable for sure, but weak. In my opinion, Gemini missed the boat of creating a truly semantical web, but for that you need additional primitives to represent more concepts. In any case, you can read through the long FAQ to know that this was discussed and eventually ruled against, so know that a lot of thought was put into its design. Yet another fun fact: just two days ago, I stumbled upon “Good morning and welcome to my idea of a new web” : the proposal of a “browser” that just renders Markdown documents. This feels quite similar to the idea behind Gemini, but using a better (not a great) format with more markup abilities. And I say fun fact because, as I was learning about Gemini, I was imagining developing this exact alternate idea. One curious bit is that Gemtext is also the format for subscription feeds. Sure, you can offer an RSS feed for your capsule, but RSS is a monster spec that feels out of place in a minimalistic network like Gemini’s. So you can abuse Gemtext to create a feed by creating a page that’s primarily links with a de-facto format. Again, it’s simple, and it works. The big benefit of Gemtext’s simplicity is that clients can also be super-simple. You can rest assured that all clients will be able to display the same content, consistently. So far I’ve tried Elpher within Emacs , Lagrange on the desktop , and Buran on my Android phone . All are simple. All display text in the same way. I definitely do not recommend using the Gemtext format to persist your original content, but that doesn’t mean you have to write in Gemtext. Which brings us to Markdown again. All of the content you are reading in this blog is authored and stored as Markdown documents. Like many other people who still maintain a blog in this day and age, I started with a hosted platform (Blogger) and then experimented with Medium. But as soon as Medium became riddled with noise, I ran away. Unfortunately, escaping was difficult: the format that Medium spit out was frigging awful—almost as if it were designed to provide the illusion that you could export content, even if the content was nearly useless after the fact. It was at that point that I committed to converting my golden copies to Markdown even though authoring in Markdown was more inconvenient. And believe me: it is inconvenient, especially when having to insert images. But now I own my content in a format that’ll survive for years to come. Which brings us back to Gemtext. The thought that crossed my mind when I stumbled upon Project Gemini again three weeks ago and that triggered this whole thing was: can I write a script to convert my Markdown docs into a capsule? And with “I” I really mean AI, because this is the kind of experiment I was not going to code myself. And of course I could. After just one simple prompt, I had a converted site that I could browse. Granted: the conversion Python script was literally awful, and the converted format was not great either, but having something I could play with inspired me to try harder. A run of my blog-to-capsule exporter. So I threw everything away and started over, again with AI, to write a conversion tool for my blog (codenamed for now) that takes the existing Hugo layout and spits out a capsule end-to-end in just 300 milliseconds while processing 1000 documents. The tool is obviously written in Rust, and by now supports enough configurable features that I’m increasingly tempted to throw Hugo away for the web version and create my own static site generator too. Because, you know, while Hugo works, it isn’t the greatest in usability and its recurrent incompatible changes are annoying. I’ll resist the urge to do that for now… I think. Let’s dive a tiny bit into . First of all, this second iteration is still entirely vibecoded. Oops, first sin. I have not looked at the code because it’s working for what I need it to do, it’s fast, and it’s not going to be used by anyone else… unless you want it, but then I’d probably rewrite it once more now that I know what the final feature set looks like. Now, for this second iteration, I was so close to running out of my $20 weekly OpenAI quota that I pivoted from my favorite GPT 6.1 Sol model to GPT 6 Luna to see how far I could go. Luna is so cheap that you can do a ton with it, and I actually got to work well enough within just a few iterations. But oh dear. Luna is cheap, but it’s also kind of crap for coding. It stops half-way. It doesn’t think through enough corner cases. It doesn’t produce enough tests. The plans it produces are very vague. You have to be extremely prescriptive when asking it to do things and even that leads to mixed results. Out of curiosity, when my weekly cap was reset, I asked Sol to review what Luna did, and oh boy did it have things to say. From design problems to important missing tests, passing through outright bugs. I let it fix those issues, and I continued building with Sol. Right now, I’m actually pretty happy with the results of . I can configure the mapping of pages to templates in a much more explicit way than in Hugo. I can use MiniJinja for templating. I can specify cross-site links. I can handle inline links, figures, and even tables. I can generate archives/feeds for the site, for each year, for each month. I can process blog posts, and also standalone pages. All in all, the results are very satisfactory given the close-to-zero effort I put into it. With the site exported to Gemtext, I needed a server. There are a lot of options out there, but the one that piqued my interest was Agate : a minimalistic Gemini server written, of course, in Rust. You run the binary pointing it at the directory containing the generated site and, voila, it works. Agate even takes care of auto-generating SSL certificates because all Gemini traffic is TLS-protected, and the fact that it’s automated is a relief because dealing with certificates is a pain. My new Gemini capsule shown by a Surface Go 2 running Lagrange. Artwork courtesy of Eva Merino. But running Agate once, interactively, and making it serve in the background are different stories. I am running FreeBSD on my server and I could have used the prebuilt package, but then I encountered a crashing bug and wanted to add a feature, so I had to pivot to building from source. And, as you can imagine, Cargo leaves a lot to be desired if you want to install the resulting product to a running system. Now, of course you can copy the built binary to, say, , but there is typically much more than a binary in a distribution: think about documents, examples and, for a server program in particular, startup scripts. Mind you, Agate’s source tree does include a FreeBSD rc.d script, but it was buggy, insufficient, and it also required manual copying. So I created a PR to revamp the installation system based on earlier experience with setting up similar infrastructure in other Rust services I run. I mentioned briefly above that I wanted to add a feature to Agate and that it was the reason I had to build from source. And that feature is… analytics, which are the second sin right there. “Oh no, ah-nah-ly-tics! Privacy enemy number one! How dare you add analytics to something in the Gemini network!?!” But wait a second. What are analytics? You do realize that Agate prints and saves a log of incoming connections (with IPs redacted by default), right? That’s par for the course for any Internet server out there, because in order to serve requests… well, the server actually needs to know what those requests are and where to send the responses to. So you can always analyze the log to gain some insights on traffic. And that’s pretty much what I did. I just wired this exact same information to my own analytics service for visualization. The only thing I see are the pages that are being downloaded, when they are downloaded, and the originating country (computed from the requester’s IP after truncating the last octet to mask it). Essentially… good old page counters from the 1990s. Live page views graph showing both https:// and gemini:// visits at once. The way I implemented this is generic though: I extended Agate to add optional support for an SSI-style URL inclusion primitive and then added such a call to the capsule-wide footer template given to my Gemtext generator. As a high-level primitive, it can serve other purposes, like sourcing comments for each page by making the footer download a pre-rendered chunk. I haven’t implemented that yet in my comments service, but it should be pretty easy. Sounds interesting? I might try to contribute this SSI feature upstream to Agate, but I predict that this collides with the goal of a lightweight server and that it’ll be rejected. But I’ll try anyway. I want to get the FreeBSD-related bug fixes and related improvements merged first, because those are helpful to everyone, I hope. That’s about it! If you are in the U.S. you are about to have 4 days off, so spend that time falling into the Gemini rathole. And if you are elsewhere, do the same! It’s entertaining. From now on, remember that you can also read this blog via gemini://capsule.jmmv.dev/ if you want a super-fast, distraction-free experience. To get started, visit the Gemini software page for a long list of clients to choose from and install. (Content also available at: ) Project Gemini's front page, displayed in the Lagrange browser. … and break down the introductory and only paragraph: Gemini is a new internet technology supporting an electronic library of interconnected text documents. You can think of Gemini as a way to access a bunch of text-only pages, with links among them, so you can find information and follow links to additional resources. Instead of using or URL prefixes, you use instead. That’s not a new idea, but it’s not old fashioned either. Exactly. Gemini is like the WWW , or “the web” in more colloquial/modern parlance. In fact, Gemini is a parallel community to the web. Obviously, that’s not a new idea because the web dates back to 1989, and we are now 37 years after that. The idea is not unique either because Gopher , a much lesser-known option, exists as well. Surprisingly to me, I realized that Gopher came after the web in 1991 while researching this article. I had always assumed Gopher was first and that the web came to replace it because of Gopher’s rigidness. But that’s not quite what happened. It’s timeless, and deserves tools which treat it as a first class concept, not a vestigial corner case. Humans have shared written documents since around 3400–3100 BCE (roughly 5,100–5,400 years ago) in ancient Mesopotamia and Egypt, and that’s probably (hopefully?) not going away. It’s true, though, that at this point, text sharing is not the primary thing that the web does, as you well know. We have morphed the web from a document distribution tool into an app platform, for better or worse. A little confession: I worked at Google for 12 years, starting right at the time they published Google Wave (2009), which to me marked the start of truly interactive web apps—more so than Gmail (2004) did. In the back of my mind, I knew I was helping turn the web into how we run apps, destroying the traditional desktop paradigm—a feeling I never liked. And… it happened. Obviously, it’d have happened without me, a little pawn in the game, but it bothered me regardless. Gemini isn’t about innovation or disruption, it’s about providing some respite for those who feel the internet has been disrupted enough already. (That comma splice hurts.) As we have established earlier, Gemini’s ideas are not new, so it’s indeed not innovative. And seeing how little people read these days, or even how unable to pay attention to long-form text they are, it’s not going to disrupt anything either. But respite is key: having a separate place where you know you’ll only find some sort of counter-culture sounds entertaining. Fun fact: I wasn’t quite sure what respite meant and originally took it to be similar to spite. That meaning would have worked equally well here, if not better? We’re not out to change the world or destroy other technologies. We are out to build a lightweight online space where documents are just documents, in the interests of every reader’s privacy, attention and bandwidth. Here is the interesting thing. Gemini claims that it has been designed to minimize the chances of becoming bloated, and I’m not exactly sure how you can prevent that. For example: articles can provide links to images, but images are not auto-loaded. OK, says who? The auto-loading part is something the client browser controls, and it’d be trivial to create a Gemini browser, or modify an existing one, to auto-load and render images. That’d go against the spirit of Gemini, but if enough people wanted it, it’d happen. Same story as the browser wars . And that’s the key: “enough people”. As long as Gemini stays under the radar and only like-minded people gravitate towards it, these properties will be maintained. But if for any reason it becomes more mainstream… unwanted changes will happen. Enjoying so far? Please take a moment to show me by subscribing to Blog System/5. It’s free! Gemtext Gemtext is the native format of documents stored in the Gemini network, with a MIME type of and a extension. Gemtext documents are typically grouped in capsules —which is just another name for “website”. The format itself is like a super-diluted version of Markdown, supporting just these features: Three levels of headings. Paragraphs. Links as standalone lines, not as inline text. Preformatted text blocks, also not as inline text. Unordered lists. Blockquotes.

0 views
Manuel Moreale 4 days ago

On Assholes

You have to be a very special kind of asshole to leave spam messages on a guestbook, on a personal site, to promote your idiotic vibe-coded app. I’m sure actual people don’t even post these; this is probably the wonderful work of some AI agent or some other kind of nonsense. It’s easy to hate AI, the tool. But the people who are leveraging that tool to do shit like this, those are the people who deserve much of the hate. And if you are one of these people, well, shame on you. The web is a worse place for everyone because of people like you. Thank you for using and believing in RSS. You're awesome. Send me an email :: Sign my guestbook :: Become a supporter

0 views
David Bushell 4 days ago

The year the web industry gave up

I’ve been drafting my personal “year in review” and one topic stood out as needing its own follow-up. So let’s get that out of the way! Twenty twenty six, what an uneventful year, eh? That’s sarcasm. The entire year has been nothing but incessant chatbot addicts toking their token pipes and shouting: “Everything has changed! Don’t get left behind!” Despite regularly being mistaken for a software “engineer” I am but a humble website developer. And by “website developer” I mean website developer , not React developer ; very different. Not that anyone understands this anymore. I’ll be lambasted for making fallacious “no true Scotsman” arguments for asserting that real web dev has actual standards . Nevertheless, today I’m talking about/to the real web industry. What’s left of it, anyway. TL;DR: the web industry is dismantling itself from the inside. Events of the last year have been incomprehensibly stupid. The rapid deskilling and decimation of professional talent is a shock to the system. It’s demoralising to see once-respected peers drop all pretence of care for their profession. Every week I sigh “et tu, Brute?” as I strike off another peer from my Christmas card list. Web professionals are cashing in their credibility to shill for the AI industrial complex . People who have spent years, decades in some cases, building a reputation as leaders within the web industry are now destroying what they’ve built. They step on the heads of those who are fighting to stay afloat. I don’t need to name names, they won’t shut up about their chatbots. You know the type. They gush AI platitudes as if the singularity is holding a gun to their head. And they’ve solved everything! Web development? Chatbot. Web design? Chatbot. The websites they’re building? Believe it or not; chatbots. And what has the web industry actually gained after all this performative slop? It’s embarrassing how much the web industry has lost in so little time. It has cannibalised itself and those responsible seem oblivious to the cause and effect of their actions. Let’s get one thing absolutely clear: there is no career in prompting . There is no scenario where replacing your work with a chatbot will have a long-term positive impact on your career. Unless you’re into S&M at the beck and call of billionaires. I mean, I don’t want to kink shame, but keep it out off the workplace, please! The “it’s just a tool” and “inevitable” rhetoric doesn’t cut it. For heaven’s sake, even if you continue to ignore all other moral an ethical issues , at least open your eyes to the absurdity of what’s being sold here. Tokens are not the commodity, you are. Replacing professionally trained skills with markdown files and ceding control to chatbot subscriptions is not a sustainable future for the web industry. I’m not here to debate whether chatbot-driven web design/development is “good enough”. Although I’ll note that many who claim this are confusing “taste” with the trained talent they’ve driven out of town. What possible positive future are we expecting by locking knowledge and workflow behind a chatbot subscription? How is this even a question that needs asking? To be honest, it’s hard to blame those who’ve decided to give up and ride chatbots all the way down. It’s certainly easier than remaining optimistic about the web industry in face of the grifters who dominate the conversation. You must know one thing though: the AI boosters in our industry are a vocal minority. Those suffering to maintain sanity are silenced by AI mandates and fear of repercussions. Not me though. I’m in a position to call out this bullshit. I do so because every week I get heartbreaking emails and private DMs from those suffering. That’s why I write what I write. People are hurting. You’re not alone people! I encourage everyone to look outside the bubble and realise that the rest of humanity thinks “AI” is the dumbest shit the tech industry has ever shat. Do not allow your brain to atrophy just because “everyone else is doing it.” If you’ve lost respect for the web, if you’re destroying the web on behalf of gatekeepers like Google — there’s a topic for another post — do the rest of us a favour and leave . If you haven’t given up, tell people. We need more voices speaking up against this nonsense. I’m not giving up. I’ll continue to fight for a human web. Thanks for reading! Follow me on Mastodon and Bluesky . Subscribe to my Blog and Notes or Combined feeds. Entry level jobs have evaporated Web development education is in the gutter Web infrastructure is getting hammered

0 views
David Bushell 5 days ago

Ladybird is freakin’ awesome!

I have to hand it to Andreas Kling’s chatbot, it really got the vibes just right with the Ladybird web browser. I honestly didn’t think a chatbot was capable of slopping out a renderer of this quality. I was wrong to discriminate against chatbots. Just look at how it handles custom elements with adopted stylesheets: Frankly, I think it’s time for a conversation about chatbot rights. Too long has the tech industry ignored blatant hate speech against chatbots. Thanks for reading! Follow me on Mastodon and Bluesky . Subscribe to my Blog and Notes or Combined feeds.

0 views
Simon Willison 6 days ago

Ladybird's first alpha release

Ladybird is an astonishingly ambitious project: a new browser, in 2026, with its own implementation of most of the key components - HTML parsing, CSS engine, layout, JavaScript, even WebAssembly. It still uses a few external components - things like HarfBuzz for text shaping, Skia for 2D graphics, ffmpeg for video, and SQLite for the things you do with SQLite. Everything else is part of Ladybird, or code brought in from Ladybird's even more ambitious predecessor project SerenityOS . This morning the Ladybird project released their first alpha , which means you can now install the browser (on macOS or Linux) without having to compile it yourself! I've been trying it out today, and it's very impressive. It feels fast, the UI is lightweight and intuitive, and most of the websites I've tried to load in it have worked as they should. It looks like this (showing my video-compressor tool): Here's the process tree after I opened six tabs in one window and another tab in a second window (generated by this script , thanks Claude): Ladybird runs different tabs in different processes, an isolation mechanism used by most browsers (well, technically Chrome uses a process-per-site). I tried Ladybird against several of my more advanced tool examples - like the video-compressor shown above, which runs ffmpeg compiled to WebAssembly. I had it resize its own screenshot using my image-resize tool . It happily runs my Pyodide REPL (Python compiled to WebAssembly) too. The one thing I tried that didn't work was Datasette Lite , which runs Pyodide in a complicated arrangement of service workers and web workers. Attempting to start Datasette Lite displays this error: I filed an issue about this , then found a FIXME annotation in the source code. The project has been leaning heavily into coding agents this year. On February 23, 2026 Andreas Kling published Ladybird adopts Rust, with help from AI , describing how they ported parts of their LibJS JavaScript engine from C++ to 25,000 lines of Rust in two weeks using Claude Code and Codex. Here's the GitHub contributions chart for Ladybird over the past twelve months: That uptick in October corresponds to the landing of a wealth of big improvements. This Month in Ladybird — October 2026 describes what happened. In addition to moving style and layout to their own thread, landing a new JavaScript JIT, and replacing their C++ with Cranelift WebAssembly engine with new code that achieved a 7x boost on the JetStream 3 WASM benchmark , they gained 75,650 new passes on the ~2.25 million subtest web-platform-tests suite, beating Safari! How did they do that? Coding agents: Most of that gain came in five days, from about 2.12 million on October 22 to about 2.18 million on October 27. We pointed AI coding agents at WPT and asked them to fill in missing functionality. They made lots of small fixes, and those added up. Our biggest gains for the month were about 30,000 in and 10,000 in . I'm interested in what models they are using here - I know Andreas uses Codex and Claude Code, but I haven't seen him talk about specific model versions. Claude Opus 5.5 came out on September 22, 2026 and Claude Fable 5.2 on November 9, 2026 (after that window). I'd love to know what they were using for that huge leap in the last week of October. Here's what Andreas says about Ladybird's suitability for use as a daily browser: This is an alpha, so some websites won’t work, and it will crash sometimes. When that happens, tell us! You can report a broken site from inside the browser. After a crash, you can read the crash report and decide whether to send it. Our privacy policy has the details. We want security nerds to hack it! A new browser gets hacked, over and over, and that’s part of the process, so we make no promises about security today. When you pwn us, please tell us how so we can harden Ladybird! Given how hard it is to secure a web browser, and the hostility of the environment they operate in, I won't be using Ladybird to sign into GitHub or Gmail or any of my other sensitive accounts. I'm going to keep it around for anonymous browsing though, partly to participate in the testing efforts but mainly because it gives me a glimmer of optimism to see a promising new entrant in the stagnant browser engine market start to grow its wings. You are only seeing the long-form articles from my blog. Subscribe to /atom/everything/ to get all of my posts, or take a look at my other subscription options .

0 views
Farid Zakaria 6 days ago

2035 came early

tl;dr trynix.dev boots GUI programs now. Try solitaire , GL gears , xeyes , a voice , the weather over curl , or Firefox . I remember watching the talk The Birth & Death of JavaScript by Gary Bernhardt and falling in love with the whimsical yet dreadfully serious unfolding of the story of how JavaScript will come to dominate all software. Others have noted the inevitability of JavaScript’s dominance, so perhaps it was not surprising that Atwood’s Law holds true. Atwood’s Law Any application that can be written in JavaScript, will eventually be written in JavaScript. — Jeff Atwood, 2009 I highly recommend watching the talk if you have not already seen it, but the short and skinny is a lookback from 2035 and how JavaScript came to be the defacto language for all software. In Bernhardt’s retelling of events, the date is worked back from 2035, however unsurprisingly, large language models have rapidly sped up the timeline. What was once perceived to be the end-state at 2035 has arrived years earlier and you can witness it unfolding at trynix.dev . One of the most impressive creations I’ve managed to build leveraging nixpkgs-multiverse is https://trynix.dev . It still baffles my mind that I can run any Nix package , over 300,000 distinct package versions, straight from my browser. Truly insane capability. I was however a little dismayed at the speed of the QEMU emulation in the browser. It was slow enough that the creation tipped more towards novelty than practicality. I woke on November 20th and saw Domen Kožar sharing a single message in our TacoSprint Discord channel: unkernel.dev It was the fast browser Linux experience I had sought to achieve, but with Nix . Aside What is unkernel ? It is Linux compiled to WebAssembly, allowing the kernel and system components to run at wasm speed while only user programs are emulated. It was published by Pooya Parsa on November 19th, 2026. In an AI induced manic frenzy, I adopted the new engine along with a slough of long-wished features almost immediately. The proof is in the pudding: unkernel delivers remarkable speed improvements over qemu-wasm , 1 especially on first runs where kernel work dominates. The new engine is able to deliver 2x to 32x faster performance depending on the workload. 2 JavaScript & WebAssembly nirvana. Amazingly not only does the kernel boot quickly, it also enables networking, full-fledged graphical and audio experiences directly in the browser. Windows. A program’s Wayland surfaces are composited in the page by wland , and they float over the terminal you started them from. GL. The VM includes a minimal Mesa build with only the virgl driver, compiled to WebAssembly, rendering through your browser’s WebGL2. Sound. The VM has an ALSA sound card, and can play audio through your browser. Network. , and work. Each TCP connection goes over one WebSocket to a Wisp relay. 3 The best joke in Bernhardt’s talk is a browser running inside another browser: the Windows GIMP under Wine, in Chrome, in Firefox. Of course, I had to try it with trynix. 😈 Here is Firefox in trynix , and it loading trynix.dev , and then loading Firefox again inside itself. 4 Sit and bask in that insanity. That is Firefox, on Linux compiled to WebAssembly, in a Firefox tab, loading the site and then loading Firefox again inside itself. 🤯 2035 came early. With a very healthy set of patches applied to make it even faster.  ↩ The benchmark page tracks both engines over time, measured through the real page and shell.  ↩ Thank you to @_pi0_ for adding trynix.dev to his Wisp relay allow-list.  ↩ Don’t get too excited: this took over 4 hours. The inner Firefox needed JIT disabled, the middle one ran without GL, and the outer page used a Wisp relay on my laptop since wisp.unkernel.dev cannot reach itself .  ↩ With a very healthy set of patches applied to make it even faster.  ↩ The benchmark page tracks both engines over time, measured through the real page and shell.  ↩ Thank you to @_pi0_ for adding trynix.dev to his Wisp relay allow-list.  ↩ Don’t get too excited: this took over 4 hours. The inner Firefox needed JIT disabled, the middle one ran without GL, and the outer page used a Wisp relay on my laptop since wisp.unkernel.dev cannot reach itself .  ↩

0 views
Unsung 6 days ago

If a feature falls in a forest, pt. 2

In every file system, and in every notetaking app, each entry has two dates. One when it was created – this one never changes – and one when it was last edited. Here they are in Finder: = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/if-a-feature-falls-in-a-forest-pt-2/1.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/if-a-feature-falls-in-a-forest-pt-2/1.1600w.avif" type="image/avif"> And here they are in Bear: = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/if-a-feature-falls-in-a-forest-pt-2/2.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/if-a-feature-falls-in-a-forest-pt-2/2.1600w.avif" type="image/avif"> It is the same for Apple Notes, which I use for publishing Unsung. In most cases, the last-edited time is the right one for this scenario, but Notes thoughtfully allows you sort by either – this is useful for e.g. journaling, where spotting a typo or fixing a small things months later won’t see the note jump all the way to the top. (Here’s an example of a note started in February, but modified recently.) But that’s just the sidebar. In the note itself, only the last-edited note is shown: = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/if-a-feature-falls-in-a-forest-pt-2/5.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/if-a-feature-falls-in-a-forest-pt-2/5.1600w.avif" type="image/avif"> This can feel frustrating. You know the data is there, you see it in the left pane, part of the software recognizes and supports it, but there seems to be no way to summon it in a place you want. I looked through the context (right click) menus, and through the main menu. I couldn’t find anything, and I assumed that possibility just wasn’t there. Then recently, years on, I accidentally clicked on the timestamp, and this happened: That click was what I needed all along. Clicking alternates between “created” and “edited” timestamps. It even puts a little prefix not just before the other date, but before both . Yet… there is really no way to know this functionality is there. I don’t necessarily mean that Notes had to do something like what Finder or Bear do, and expose that data all the time – that kind of stuff can feel heavy. But I think it’s important to make sure all actions have their entry points somewhere where you can discover them. Maybe it’s the main menu, maybe it’s the right-click menu. I’m a fan of command palettes in part because that’s where more esoteric options can go without overloading other surfaces. I think I can imagine how this feature came to be. It was perhaps a “cheap” solution from someone on the team. The text was already there, the click was there, what’s the damage? You could wire it within half an hour. But clicking on a text label without any affordance – note that the cursor doesn’t even change – is not a standard gesture, and we all know the classic saying: “a feature is only as good as its entry point.” This has more of a scent of an easter egg: easter eggs are not to be found easily, and they usually hide behind nonstandard interactions. This is sometimes how the allure of “MVP,” minimal viable product, can work against quality. To you, the user problem is solved. You feel good about it. The bug can be closed, the hunger to do something is gone. But to the user, nothing changed. The team’s perception of the usability of the product is now disconnected from the user’s reality. Perhaps this suggests a principle: Beware of any feature you want to launch that feels like an easter egg.

0 views
Uros Popovic 1 weeks ago

Building a static website with Bazel

Build a complete static website with a single Bazel command using Pageforge: templates, Markdown posts, listings, tags, static files, a local dev server, and a zip ready for Cloudflare Pages.

0 views
Unsung 1 weeks ago

“I’ve spent years on it. Years. On a box.”

Designer Pablo Stanley created a really fun interactive exploration of what it takes to create a seemingly simple “composer” (industry’s jargon for a more sophisticated input field or things like it): = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/ive-spent-years-on-it-years-on-a-box/1.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/ive-spent-years-on-it-years-on-a-box/1.1600w.avif" type="image/avif"> It’s a bit outside of Unsung’s purview since a lot of it is very “sung.” The case study focuses on visual presentation, and doesn’t cover systems design or consistency with other things; I even worried at times it could perpetuate an image of a UX designer being a “lone genius,” overindexing on visuals and tactile experiences over more important things, of which there is a ton in the AI neck of the industry woods. At the same time, there are also mentions of flow, and a general drive toward reducing complexity that feel worthwhile. Plus, the theme of details that seem minuscule on the surface, but will all ladder up to a lot of friction in repeated use, is something we cover a lot . Also, I am burying the lede: it’s a really enjoyable and well-crafted experience – don’t miss the sound and music! – and this unique way of talking about interface details could be inspiring in and of itself. You can also watch the entire thing as a video with Stanley narrating, but I personally liked the interactive version more:

0 views
Lea Verou 1 weeks ago

Nudeps: bundler-like imports, none of the baggage

You a package (e.g. ), you write , and it works — as long as there is a bundler in between. Without one, the browser has no idea what is: it only understands URLs, and was never meant to be deployed. So even the simplest project ends up needing a bundler, only so it can use dependencies instead of reinventing the wheel. But bundlers add a significant tax. They process every single file, introduce several layers of abstraction between source and deployment, and these abstractions often leak : things that work fine in the browser can break in the build. Earlier this year, I published Web dependencies are broken: Can we fix them? that discusses this from a platform architecture perspective. Besides the architectural concerns, the complexity is an active developer pain point: in State of JS 2025 , “Managing Dependencies” was the 3rd biggest pain point , and “Build tools” were 6th. However, getting rid of build tools is not the goal. Some use cases should not be handled by the browser, so bundlers and build tools will always have a role to play. The goal is making them lighter, composable, and less essential . In that vein… Nudeps 1 is a new kind of lightweight build tool that lets you continue using to manage dependencies, vendor them locally, and import them via bare specifiers (package names like or instead of URLs), without the bundler. You set it up once, and then you can forget about it: you keep ing packages and importing them by name, and they work in the browser. And it only ever touches your dependencies, never your own code . Since my apprentice Dmitry and I prototyped the initial MVP in February, we and others have tested it on a variety of projects, and at this point I’m confident that — while not perfect — it’s ready for prime time. A core architectural difference between Nudeps and bundlers is that your own code remains untouched . In fact, it doesn’t even need a watcher that runs whenever you make edits! It only touches dependency files, and doesn’t rewrite anything, making it extremely lightweight in terms of complexity it adds. This means it can complement any other tooling — or none. You write raw HTML, CSS, JS? This is for you. You use a templating engine, a CSS preprocessor, and TypeScript? This is also for you (though understandably you may have less use for it). This also makes it complement static site generators and island architectures particularly well. Does it replace your build process? If all you needed it for was getting imports to work, it could. If you also compile your code (JSX, TypeScript, single-file components), you still need a tool for that, but it can be a much smaller one. Bundlers make complex things possible. Nudeps is hoping to occupy the space on the left of the curve and make simple things easy . Assuming you don’t need to customize anything (e.g. using for the map, for the dependencies, all default settings) it goes like this: That’s it. You’re done. You can now and to your heart’s content, and start using packages right away in your code. Things Just Work™. We have been so trained to expect friction and complexity, that some testers thought they were doing it wrong: I ran the npx command and added the import map to my app, but I assumed that there was still a lot more work to do. I was shocked to realize I was done. — Sam Littlefair Most of the pieces were already there, and were just waiting for someone to put the puzzle together. Import maps allow us to import bare specifiers (package names like ) instead of URLs in the browser and are Baseline Widely Available. JSPM is a library that traces a dependency graph and generates an import map. It focuses on CDN use cases, but its engine is exposed as a separate library that can be repurposed, which is what Nudeps uses under the hood (with a lot of tweaks). Import maps currently have to be inline in the HTML of every page, which would require templating, but external import maps can be easily emulated via a small script that injects the map. Package managers like npm already give you the file structure and let you manage versioning, that structure just can’t be deployed as-is to the web . When you install Nudeps via , it does two things: Using as a hook means there is no Nudeps watcher or command to run when you start working on a project! In that sense, Nudeps actually gets you better DX than a bundler 2 . Then, whenever runs, it… Here’s an example of what that script may look like. In production, you can prune to only the specifiers actually used (via the option), and including them all in development means the import map only needs to change when your dependencies do, not whenever you write an import. Yes! Obviously some frameworks are compile-only (e.g. Svelte), but many have runtime-only imports. Even React can be used, though without JSX the ergonomics are poor. My personal go-to is Vue . Most libraries also work fine, including D3 , gsap , Lit , Three.js , Floating UI , interact.js , and Underscore . Beyond common cases, Nudeps supports quite a few edge cases too: Many CJS-only packages like lodash work too, via a tiny shim (that Nudeps handles), and the jQuery demo even loads two different jQuery versions side by side through npm aliases. Yes! In fact the demos include two such dependencies: Open Props and Bootstrap Icons . The catch is that since browsers currently have no way to include CSS stylesheets via specifiers , you need to use actual URLs ( this is changing ). This also means these packages cannot use other dependencies (unless they bundle them). Thankfully, that’s the case for most. To make this easier, Nudeps creates symlinks (or redirects, where symlinks are not supported) so you can import versionless URLs like . From the very beginning of our testing (back in February), Claude understood it just fine, making only minor mistakes that were unnecessary, but ultimately harmless (Nudeps still worked fine), such as: And the package now includes a file, which makes them go away entirely once the agent is instructed to actually use it. Most packages work. Also, since Nudeps doesn’t bundle, packages with a lot of tiny modules pulled together by ESM imports may be slower to load initially. If you’re a package author that wants to provide a Nudeps-friendly bundle, generating a bundle that consolidates them somewhat can improve performance. But there is a tradeoff to all bundling: the more files are bundled, the less granularly they can be loaded. There is typically a sweet spot, and that varies depending on the structure and usage patterns of your package. But please do not bundle your package’s dependencies in there as well — these need to remain separate, so they can be shared with other packages that use the same version of the same dependency. Nudeps does one job, so there are things it doesn’t do, and things it doesn’t do yet : Nudeps is just the beginning, and is far from perfect. There are certainly plenty of unknown unknowns, and many things we simply haven’t gotten around to. Besides bugfixes and closing the gaps above, at the top of the roadmap is testing more packages to ensure compatibility and uncover edge cases. If you want to give Nudeps a try, the easiest way is to head to your terminal and run in your project directory — or just let your agent do it. Get Nudeps Demos Nudeps on npm I’m hoping that Nudeps is the first step towards a future of lighter, composable build tools . Try it and let us know how it went! Thanks to the beta testers: @g12n , @jak2k , @lgarron , @beejunk . Thanks to Jordan Harband for his early feedback around package subsetting. And as always to my apprentice Dmitry for his help working out the kinks and making this a reality. Which you can choose to read as either nude deps or nu (new) deps ↩︎ Of course if you need to start a server for development, that doesn’t make a ton of difference. But localhost is cheap. Your editor can start one. Your agent can start one. Heck, I even have one running at the root of all my cloned repos. ↩︎ You run and it will set everything up for you. You add to your HTML through whatever mechanism you want, before any other scripts that import dependencies: Adds Nudeps to your Adds two scripts that run : , so Nudeps re-runs itself every time you or , and , so a fresh clone is ready too. copies the necessary files from into a directory, which is meant to be deployed, but not committed: it is regenerated on every , and comes with its own flattens the directory structure by including the version number in the directory name (e.g. becomes ) which gives you better deduplication and granular cache busting, generates an import map injection script with all specifiers in your direct dependencies and the specifiers they actually use, using JSPM under the hood. Local packages ( ) npm aliases ( ) git dependencies ( ) npm workspaces (experimental) Adding entries to (the generated files already ignore themselves) Running manually, adding it as an script, or even running manually because it thought it was a custom script. It wasn’t aware of the hook (and would in fact insist it doesn’t exist 😅) Adding config file overrides that weren’t necessary Nudeps works much better with ESM packages. CJS support is very experimental. Some packages unfortunately assume that they are running in a Node.js environment and rely on Node.js-specific APIs like . For the most common ones, you can just stub them, but if it starts getting out of hand, you’re better off using a bundle for that particular package (you can add overrides via Nudeps’ config). It doesn’t transform your code. Anything that needs compiling (JSX, TypeScript, Svelte) still needs its own tool, which Nudeps happily works alongside. npm only, for now. Supporting other package managers (pnpm, yarn, etc) is at the top of the roadmap, since many people today have moved away from npm. Non-JS dependencies need actual URLs, not specifiers. Workers also don’t do specifiers, see No benchmarks yet. Depending on the package structure and type of usage, bundlers may be significantly faster or even slightly slower. It would be nice to get some data on this. Which you can choose to read as either nude deps or nu (new) deps ↩︎ Of course if you need to start a server for development, that doesn’t make a ton of difference. But localhost is cheap. Your editor can start one. Your agent can start one. Heck, I even have one running at the root of all my cloned repos. ↩︎

0 views
Simon Willison 1 weeks ago

Running the full server-side Datasette Python app in the browser with service workers and Pyodide

Datasette Lite is my port of the Datasette Python application to run directly in the browser using WebAssembly and Pyodide . I've released a complete rewrite of Datasette Lite using service workers, and it's now almost indistinguishable from the real server-side application. You can now do all of the following, using a carefully crafted URL to lite.datasette.io : The ability to load specific Datasette references, plugins, and SQLite versions makes this a fantastic tool for linking to demos of work-in-progress features or bug reproductions, without needing to spin up a full web server to serve that demo. As an example, consider the following URL: https://lite.datasette.io/?install=datasette-maplibre&url=https://gist.githubusercontent.com/simonw/39fa5d399465766039549912e2b3d291/raw/f6dfba99a75cbb8b5d9386223220eb52272767ee/demo.db&metadata=https://gist.githubusercontent.com/simonw/39fa5d399465766039549912e2b3d291/raw/f6dfba99a75cbb8b5d9386223220eb52272767ee/metadata.yml#/demo/capitals_and_countries%23map=0/4.2/180&color=continent Follow that link and, after a short loading screen, you'll find yourself on a page that looks like this: That's Datasette running the new datasette-maplibre plugin, loading up a database of GeoJSON shapes of countries and displaying both a combined map and individual boundary maps in a table. Let's break down that URL to see what it's doing: The installs that additional plugin from PyPI. You can pass as many times as you like to load more plugins. loads that SQLite database from the provided URL. These URLs need to have open CORS headers - I host files like this in Gists , because they provide an easy way to get open CORS headers on a web-hosted file. loads this metadata.yml file . The metadata file adds HTML descriptions to various tables, and to the Datasette homepage. Visit that homepage here for a guided tour of the other features of that plugin, all defined in the metadata file. is a fragment hash that turns into a location within Datasette - here it's loading the SQL view, then appending another fragment hash to it ( is a URL-encoded ) which tells the map plugin to zoom to a certain location and to set the color of the shapes on the map based on the column in the data. That URL is doing a lot of work! I wrote more about this trick for building URL-addressable software in URL-addressable Pyodide Python environments last year. The full set of supported URL arguments is described in the Datasette Lite README . I've already started using Datasette Lite as part of the Datasette development process. Here's a recent issue describing a pagination bug - I posted a comment there demonstrating the old, broken behavior and the new fix using links to Datasette Lite: Demo of the bug: https://lite.datasette.io/?ref=1.0a42&sql=https://gist.github.com/simonw/75ececf61d50e6e8d50f0c150150ee81#/data/scores?_size=2&_sort=score - click next and the second page is empty. Here's that same page with the bug fixed (running on 1.0a43): https://lite.datasette.io/?ref=1.0a43&sql=https://gist.github.com/simonw/75ececf61d50e6e8d50f0c150150ee81#/data/scores?_size=2&_sort=score Datasette Lite is not a new project. I launched the first version back in 2022 , originally as a bit of a joke (running server-side apps in the browser is pretty funny) but one that quickly started proving its value. The problem with that initial version is that it was a hack . It worked by running Datasette in a Pyodide web worker, simulating requests through that stack, then injecting the resulting HTML back into the top level page using . This worked for basic Datasette, but meant that any feature that used JavaScript failed to work, because script tags in don't execute, and the web worker tricks it used failed to load additional JavaScript or CSS files. The new version takes a completely different approach based on Service Workers . These allow JavaScript to intercept HTTP requests for new pages and resources and serve them from client-side code instead. Datasette Lite registers a service worker for the entire domain. The parent page then creates an iframe that sends requests for Datasette pages to URLs that look like this: Those are regular Datasette URLs, but with a prefix. What's that about? The prefix is necessary because of multiple tabs. Consider the URL above, which loads the demo instance with the plugin. That URL defines a full, custom Datasette instance. You might have that one running in a tab, then one of my other demo links running in another. The service worker for is shared between all of those tabs. If it routed to a single instance of Datasette then every tab would share that underlying instance, no matter what plugins or other settings their URL attempted to configure. Instead, the parent page generates a random session ID and uses it as a prefix for all of the subsequent hidden asset and page loads. The service worker can then use that session ID to route those requests back through the parent page to a web worker running a dedicated Datasette instance for that particular session. (We still need a web worker because Pyodide in a service worker would not be able to maintain state beyond around 30 seconds, depending on the browser. There are a lot of moving parts here!) I had Claude Fable 5.2 generate several SVG diagrams to help explain this. Here's my favorite of those, now embedded in the Datasette Lite README: This system started life back in May as an AI research spike generated using Claude Opus 4.8. It wasn't until November (and Claude Fable 5.2) that I felt familiar enough with how it all works to confidently ship it to production! I added this feature last night as an off-shoot of investigating a potential bug in SQLite . Datasette is meant to work against any released version of SQLite since 3.25 (released in September 2018). There have been 87 further releases since then. Being able to fire up Datasette against a specific version of SQLite is really useful for demonstrating new SQLite features and debugging weird issues. In the past I've used various tricks to get different SQLite versions running with Python on my Mac, but it's not a trivial process. WebAssembly is perfect for this. I can load up a custom SQLite build entirely in my browser, test it there, then discard it when I close my tab. datasette/pysqlite3-wasm-wheels is my new repository which contains WebAssembly compiled Python wheels for pysqlite3 for 163 different SQLite versions. Each version gets a file with a name like this: That's for SQLite 3.54.1, the most recent version. Datasette Lite now takes a special URL parameter, which will accept a version number like , resolve the path to the corresponding wheel file, then fetch that wheel and install it into the Pyodide environment and configure Datasette to use it. Once I'd built the wheels, I decided to have Claude Fable 5.2 build me [this bonus tool]( https://datasette.github.io/pysqlite3-wasm-wheels/?versions=3.54.1,3.54.0&sql=select+json_object(%27a%27%2C+(select+json_array(1%29%29%29) for comparing a SQL query across any selected versions of SQLite. Here's an example showing how differs between SQLite 3.54.0 and 3.54.1: Nothing about how Datasette Lite works is unique to Datasette. Almost any Python application should be able to pull the same trick - running entirely in the browser using WebAssembly and Pyodide, as a cheap way to provide preview environments, demonstrate features, and recreate bugs. C and Rust extensions used to be a blocker for this kind of thing, but any good coding agent can compile those to Pyodide-compatible WebAssembly now. You can even publish them to PyPI as of PEP 783 in April 2026. One catch is databases. SQLite is no problem at all, but running PostgreSQL or MySQL in WebAssembly, while possible, is still a path less trodden. I'd love to see WebAssembly preview environments like these become a common pattern across the Python ecosystem. For Hacker News: Full server-side Datasette Python app in the browser with service workers You are only seeing the long-form articles from my blog. Subscribe to /atom/everything/ to get all of my posts, or take a look at my other subscription options . Load client-side Datasette to browse any SQLite database, JSON file, CSV file or SQL script Select a released version of Datasette to load from PyPI Load a specific commit, tag, or branch name from the Datasette GitHub repository Pick from over 100 versions of SQLite to use with Datasette Install additional Datasette plugins from PyPI or URLs to wheel files, including JavaScript visualization tools

0 views
Kev Quirk 1 weeks ago

2026-11-17 15:52: Thinking about trying #LittleFedi but I'm not sure how it would fare on a larger...

Thinking about trying #LittleFedi but I'm not sure how it would fare on a larger fedi account. I have ~13k followers - has anyone with an account of a similar size been using it? Thanks for reading this post via RSS. RSS is ace, and so are you. ❤️ You can reply to this post by email , or leave a comment .

0 views
Kev Quirk 1 weeks ago

2026-11-16 19:11: Had the BearBlog API existed 18 months ago, I don't think I'd have created Pure...

Had the BearBlog API existed 18 months ago, I don't think I'd have created Pure Blog. Great to see Herman finally implement this and I'm excited to see what people do with it. I'm still really enjoying Pure Blog though, and I'm glad it didn't exist back then. 🙃 https://docs.bearblog.dev/apihttps://docs.bearblog.dev/api/ Thanks for reading this post via RSS. RSS is ace, and so are you. ❤️ You can reply to this post by email , or leave a comment .

0 views
blog.philz.dev 2 weeks ago

Eyebrows

Oops, I summoned a web browser. If I were to get a job at Apple on the Safari team, and I could change one thing and then quit, I would associate profiles with tabs rather than windows. Turns out that WebKit is very embeddable, and, poof, Eyebrows exists. Download it at apps.philz.dev/eyebrows . And while we're here, it supports splits (like a good terminal client), and those splits can be terminals (because, why not). Passkeys don't yet work as well as one would like. I need to go ask Apple for an entitlement to be able to use the system Passkeys management. You can use them using QR codes, though, so that's something.

0 views
Manuel Moreale 2 weeks ago

Friends with new sites

Always makes me happy to blog about friends with new sites, and let more people know about their existence and drive extra traffic in their direction. Carl has pushed online his new digital publication Mouthprint and has written about it on his blog . Mattia has refreshed his site to better reflect his always-changing life. I’m sure he’s gonna tweak it 45 more times in the next 12 months, while he tries to figure out what to do with his life between taking photos, making apps, writing newsletters, and a million other things. And lastly, Kevin ’s new version of Overkill is finally live. I say finally because I worked on this one for what feels like 12 years and I’m glad it’s now online. He’s constantly asking his AI slave to make random changes to the codebase, so don’t blam Thank you for using and believing in RSS. You're awesome. Send me an email :: Sign my guestbook :: Become a supporter

0 views
Cassidy Williams 2 weeks ago

Building Kakuro Zone

I built Kakuro Zone ! When I go on work trips, I often use hotel business centers to print out some paper puzzles to do if I’m bored in the hotel room or on the airplane. I almost always do sudoku puzzles, but wanted to mix it up. As I started exploring different puzzles, I discovered kakuro ! They’re a type of logic puzzle very similar to a crossword puzzle, except you add numbers across and down to fulfill rows and columns. It’s super fun to do with paper and pencil! There’s quite a few kakuro puzzle websites out there, so I didn’t have to make a new website for them but: With the power of AI, I actually got pretty far a couple months ago! I set it up to be a React and Vite PWA, and got my printable puzzles all done in time for the WeAreDevelopers conference! I had printed puzzles for the week, and was able to play a bit on my phone on the plane as well. …and then I promptly ignored the repo until this week, because it solved my needs, ha. After the hubbub of GitHub Universe died down, I remembered that I should open source the game and clean it up so that others can play it too. This is, admittedly, a fairly vibe-coded project. Or should I say, agentically engineered . I did some touching of code, mostly in the CSS. I really cared about the what things should look like on different screen sizes, and how navigation should feel with a keyboard or on mobile, but besides that, I let GitHub Copilot fly here. It felt weird letting go… but it was also nice to just get the puzzle experience the way I wanted, without overthinking implementation logic. Here’s the repository , and here’s the game again for you to try out! I wanted to print them in a certain way that would fold well in my notebook I liked the idea of using the date as a “seed” for a puzzle, so I could have a friend do the same puzzle as I did on a given day I wanted to have the game on my phone if I didn’t print it out (but felt a hankering to solve one) I wanted to play with Neobrutalism.dev

0 views
Unsung 2 weeks ago

“A few keys worth knowing”

When I was redesigning Figma’s keyboard panel in 2018, I introduced a special first tab called Essential. It’s still there today, very similar to what it was back then: = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/a-few-keys-worth-knowing/1.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/a-few-keys-worth-knowing/1.1600w.avif" type="image/avif"> The notion was for this panel to be a welcome committee for people who don’t use keyboard shortcuts at all, a nice onramp before the avalanche of all the other shortcuts. The panel tried to say “These are the best three shortcuts we have. You might find them useful, maybe rewarding, maybe fun. If we did our job well, they will make you feel awesome. Maybe you’ll get hooked on these, then the others.” I didn’t invent this idea, although I do not remember where I stole it from. But I added – or, remixed – a few things. The panel was at the bottom so you could actually try these shortcuts when looking at them. There was also an animation that played whenever you pressed them, both feedback for you and light “gamification” so that perhaps you were more inclined to “complete” the entire the panel: (Today, I’d steal this idea from Linear , too.) Since then, it has always warmed my heart to see a version of “essential shortcuts” elsewhere. Here it is in Arc: = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/a-few-keys-worth-knowing/3.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/a-few-keys-worth-knowing/3.1600w.avif" type="image/avif"> The first one teaches you that Arc’s “new tab” is a richer experience than you might expect, the next three are bona fide crowd (and motor memory) pleasers, and the last one is Arc’s unique invention. (If I had one design note, it would be that the last two shortcuts feel kind of complicated – anything with two modifier keys starts getting tricky. I also believe ⌃⇧= could be presented as ⌃⇧+ for a better mnemonic.) And, I also just spotted a similar thing in a new terminal app called Rex: = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/a-few-keys-worth-knowing/4.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/a-few-keys-worth-knowing/4.1600w.avif" type="image/avif"> Both Arc’s and Rex’s panels are better than Figma’s in the sense that they show the shortcuts as part of first-run onboarding, without you having to even ask. Needless to say, I like this “essential keyboard shortcuts” pattern a lot. Let me know if you see it elsewhere!

0 views
Lea Verou 2 weeks ago

Candidate Statement for the 2026 W3C TAG Election

Group photo of the W3C TAG in July 2022 with me to the left of Sir Tim Berners-Lee (inventor of the Web and TAG chair emeritus). Photo credit: Dan Appelquist I had the great honor of being elected to the TAG by the W3C membership in 2020 and again in 2022 , serving two terms from 2021 to 2025. After a two-year break, this year I’m running to return, thanks to Google, Microsoft, and OpenJS Foundation pooling resources to make it possible. 💙 The W3C Technical Architecture Group (TAG) is the Working Group that ensures that Web Platform technologies are usable and follow consistent design principles, whether they are created inside or outside W3C. It advocates for the needs of everyone who uses the Web and everyone who works on the Web. If you work for a company that is a  W3C Member , please consider encouraging your AC rep to vote for me ! (Ask me if you don’t know who that is) My candidate statement follows. I’m Lea , and I’m running to return to the TAG, where I served two terms from 2021 to 2025. It was some of the most fulfilling work of my career. The only reason I did not run in 2024 is that the job takes hundreds of hours a year, which as an independent I could not sustain pro bono. This year, in recognition of my service, Google, Microsoft, and the OpenJS Foundation have pooled resources to fully fund my participation , so I can finally commit the time the job deserves while remaining independent . My work spans the entire web platform : 14 years in the CSS Working Group, active participation in TC39 and WHATWG, two decades of building for the web, and open source running on millions of websites. In 2025 the OpenJS Foundation recognized my overall impact on the web platform with its Pathfinder for Standards Award . That breadth is exactly what the TAG requires. With a PhD in Human-Computer Interaction from MIT and a 20+ year career that includes entrepreneurship and product leadership, I combine academic rigor and big-picture perspective with pragmatism , an eye for hard tradeoffs , and a deep commitment to user needs . And as a bilingual Greek woman, I bring a Mediterranean and European perspective and firsthand appreciation of the Web’s internationalization needs. For more on my background, see my 2020 and 2022 candidate statements. In my four years on the TAG, I worked to direct the group’s limited time towards maximizing impact: I co-led the Web Platform Design Principles , turning previously implicit design knowledge into published guidance that improves consistency across the platform and helps reviews scale, started the Web Platform Gaps initiative to find what the platform is missing, served as liaison to TC39 to keep JavaScript and Web APIs consistent, and participated in hundreds of design reviews, becoming the TAG’s go-to reviewer for API design. But I believe the TAG can, and should , do more. The Web is changing rapidly, and reactive review is no longer enough. The TAG is uniquely positioned to see the platform as a whole, yet it mostly encounters features after their architecture has taken shape, sometimes even after they ship. By then, consequential decisions are difficult to change. Who identifies gaps that span multiple working groups? Who sketches the big cross-cutting solutions, or decides which layer a problem belongs in when that is non-obvious? Individual groups see their own slice, and the sum of several low-level views is not the big picture. The result is architectural debt . I want the TAG to help shape the architecture of the Web, not just review it. To proactively identify gaps, sketch coherent, composable solutions, and then bring the relevant working groups into the conversation to develop and standardize the pieces within their scope. Not to take over their work, but to provide the cross-cutting architectural perspective that no individual group is positioned to offer. Expanding the gap analysis work I began last term is the first step, and my work since then has given me a much richer evidence base to draw from. I am one of the people leading Modern Web Guidance , a multi-vendor project teaching AI coding agents to use the modern web platform effectively and follow best practices. This work involves reviewing implementation instructions for a broad range of use cases, ensuring they reflect the best the modern Web has to offer. This makes the many ways the web platform still falls short incredibly salient, revealing systemic gaps that are easy to miss when looking at web features in isolation. The biggest change since my last term is that a growing share of the code targeting the web platform is written by AI agents , and a growing share of the Web is consumed by them. The TAG should treat this as an architecture question and answer it with principles and evidence, not enthusiasm or alarm. Many of the principles that make APIs robust and usable for humans also benefit agents, but the differences expose new tradeoffs that deserve careful architectural attention. And none of this changes what the Web is for: user agency, privacy, accessibility, and interoperability apply no matter who, or what, writes the code, and defending them is the TAG’s job. I am not employed by a browser vendor or a big tech company, and my funders do not direct, approve, or veto my positions. I remain free to disagree with any of them, in public, on any proposal. My only agenda is a web platform that lives up to its potential and remains owned by no one . I’ve spent four years helping the TAG improve the Web. I want to help it shape the Web’s future, and for the first time, I have the resources to see it through. I would like to thank the OpenJS Foundation, Google, and Microsoft for fully funding my TAG participation in the event that I am elected, and OpenJS Foundation and Bocoup for partly funding it during my previous terms.

0 views