<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:webfeeds="http://webfeeds.org/rss/1.0">
  <channel>
    <title>macwright.com Micro</title>
    <description>Snippets, tricks, hints</description>
    <link>https://macwright.com</link>
    <atom:link href="https://macwright.com/micro/rss.xml" rel="self" type="application/rss+xml" />
    <webfeeds:accentColor>00588F</webfeeds:accentColor>
    <webfeeds:icon>https://macwright.com/css/logo-simple.svg</webfeeds:icon>
    <item>
      <title>Val Town winding down</title>
      <dc:creator>Tom MacWright</dc:creator>
      <description>&lt;p&gt;&lt;a href=https://www.val.town/ &gt;Val Town&lt;/a&gt;, the company that I cofounded with &lt;a href=https://stevekrouse.com/ &gt;Steve Krouse&lt;/a&gt; almost four years ago, &lt;a href=https://blog.val.town/winding-down&gt;is winding down&lt;/a&gt;. That’s industry lingo for shutting down.&lt;/p&gt;&lt;p&gt;Lots of different emotions at this time. I’m feeling fine, better than fine, optimistic and somewhat relieved. I know what I’m doing next and will update the about page when that happens.&lt;/p&gt;</description>
      <pubDate>Tue, 10 Nov 2026 00:00:00 +0000</pubDate>
      <link>https://macwright.com/2026/11/10/val-town-winding-down.html</link>
      <guid isPermaLink="true">https://macwright.com/2026/11/10/val-town-winding-down.html</guid>
    </item>
    <item>
      <title>I was a fan of Deno&#39;s security model</title>
      <dc:creator>Tom MacWright</dc:creator>
      <description>&lt;p&gt;&lt;em&gt;This is in response to &lt;a href=https://goldstein.lol/posts/deno-security/ &gt;“I’m not a fan of Deno’s security model”&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;I spent most of the last four years working on &lt;a href=https://www.val.town/ &gt;Val Town&lt;/a&gt;. When I joined, we were running JavaScript code in &lt;a href=https://npmx.dev/package/vm2&gt;vm2&lt;/a&gt;, hoping that it was a sufficient sandbox. It was not. I advocated for Deno and we switched to Deno, in large part because it provided a stronger sandbox.&lt;/p&gt;&lt;p&gt;This decision wasn’t perfect: most of Deno’s core ideas lost in the end.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Node compatibility won out. Bun won a lot of users by being Node-compatible. Yes, a lot of Node-like APIs landed in &lt;a href=https://wintertc.org/ &gt;WinterTC&lt;/a&gt;, but lots didn’t. Actually the direction is toward a larger Node core, that includes testing, SQLite, and TypeScript support. Stuff that’s long been obviously userspace, like &lt;a href=https://nodejs.org/docs/latest/api/zlib.html#class-zlibzipentry&gt;generating ZIP files&lt;/a&gt;, is making its way to Node core. So, this is the radical opposite of the Deno philosophy in which the core would be small, mostly standardized JavaScript globals. Deno backtracked and implemented Node compatibility, but it was too little too late.&lt;/li&gt;&lt;li&gt;Deno’s &lt;a href=https://deno.com/blog/http-imports&gt;HTTP imports&lt;/a&gt;, which were a convenient feature for Val Town’s semantics - import code cross-account with zero friction - got rolled back again and again until Deno’s module system was identical to Node’s. The innovation on the module loading front is evolutionary, in the &lt;a href=https://www.vlt.io/ &gt;vlt.io&lt;/a&gt; sense, not radical like Deno thought it would be.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;But: Deno’s security model. In short: &lt;em&gt;it worked&lt;/em&gt;. We bet the company on the security of Deno’s runtime flags, and there were absolutely zero cases in which they were the culprit in a security sense. Now we were using it in a different way than the linked &lt;a href=https://goldstein.lol/posts/deno-security/ &gt;blog post&lt;/a&gt; describes: from day one, with &lt;code&gt;--no-prompt&lt;/code&gt;. Using a program and interactively approving or denying permissions is not what I imagine as a core usecase for the permissions system: the prompts are really there for you to learn what permissions are necessary and then bake them into configuration going forward. We also didn’t enable &lt;code&gt;--allow-run&lt;/code&gt; for anything, and yes, it’s confusing. Same with &lt;code&gt;--allow-env&lt;/code&gt;, code in Val Town always ran with an artificial environment. The linked post sort of supposes a different use-case - running new code interactively and wanting to loosen the sandbox a bit. If you run the code non-interactively with a strict sandbox, it’s pretty good?&lt;/p&gt;&lt;p&gt;Now: bwrap. cgroups. Linux namespaces. The &lt;em&gt;correct&lt;/em&gt; way to implement this system. Yes, I knew about all of that. And the decision of whether to switch from Deno’s process-based perhaps-faux-isolation to Linux’s strong, generic isolation was a constant topic of conversation.&lt;/p&gt;&lt;p&gt;The suggestion is always to &lt;em&gt;just&lt;/em&gt; bubblewrap it. Or to &lt;em&gt;just&lt;/em&gt; throw some cgroups on it. It’s always easy in abstract. On your local computer, sure, why not! Mostly we were aiming for cgroups, and it turns out that our hosting provider, as well as nearly every PaaS provider, runs processes inside of Docker, and unless you bless the Docker startup with &lt;code&gt;--cgroupns=host&lt;/code&gt; to grant it privileges to mess with the host’s cgroups settings, cgroups will not work. That rules out hosts like Render, Railway, etc. The same goes for linux namespaces: doing them on an unprivileged host is hard or impossible. And sure, you can control everything from top to bottom if you run your own servers on metal, but that requires a lot of devops commitment.&lt;/p&gt;&lt;p&gt;Deno, on the other hand, works anywhere. It works the same on macOS and Windows, &lt;a href=https://github.com/containers/bubblewrap/issues/393&gt;unlike bubblewrap&lt;/a&gt;, so you can reliably test it on developer machines. It’s clean and simple to deploy and scale.&lt;/p&gt;&lt;p&gt;And personally, I think that language VMs implementing controls like this is cool. For example, &lt;a href=https://github.com/bazelbuild/starlark/blob/master/spec.md#overview&gt;Starlark calls its execution ‘hermetic’ by default - unable to access the surrounding environment&lt;/a&gt;. &lt;a href=https://github.com/tv-labs/lua/blob/main/guides/sandboxing.md&gt;Lua supports sandboxing too&lt;/a&gt;. Probably the ultimate would be an in-language effect implementation in which a bootstrap script could declare which resources an import is able to use - &lt;a href=https://effect.website/ &gt;Effect&lt;/a&gt; in TypeScript can’t do that, but I believe &lt;a href=https://koka-lang.github.io/koka/doc/index.html&gt;Koka&lt;/a&gt; can.&lt;/p&gt;&lt;p&gt;In this era of untrusted code and exploits everywhere, wouldn’t it be cool if you could import some NPM module for doing date math and say up front that it can’t access the filesystem or environment variables? OS-level capabilities controls are powerful and reliable but coarse. Language-level controls could add an extra level trust &amp; compartmentalization for applications.&lt;/p&gt;&lt;p&gt;Deno’s security model isn’t perfect. But it was there when we needed it, its guarantees held, and it solved a real problem, and for that I appreciate it.&lt;/p&gt;</description>
      <pubDate>Mon, 09 Nov 2026 00:00:00 +0000</pubDate>
      <link>https://macwright.com/2026/11/09/deno-security-model.html</link>
      <guid isPermaLink="true">https://macwright.com/2026/11/09/deno-security-model.html</guid>
    </item>
    <item>
      <title>Convex hull</title>
      <dc:creator>Tom MacWright</dc:creator>
      <description>&lt;p&gt;I’m working through some basic computational geometry and today’s is the convex hull, which I &lt;a href=https://observablehq.com/@tmcw/convex-hull&gt;implemented on Observable&lt;/a&gt;. Check it out. It’s nothing special, the main thing that I learned is the application of cross products to quickly determining whether a line is making a left or right turn. That was pretty neat and I think it’ll come in handy soon.&lt;/p&gt;</description>
      <pubDate>Fri, 06 Nov 2026 00:00:00 +0000</pubDate>
      <link>https://macwright.com/2026/11/06/convex-hull.html</link>
      <guid isPermaLink="true">https://macwright.com/2026/11/06/convex-hull.html</guid>
    </item>
    <item>
      <title>Simple Statistics 8</title>
      <dc:creator>Tom MacWright</dc:creator>
      <description>&lt;p&gt;I didn’t expect it, but &lt;a href=&quot;https://www.youtube.com/watch?v=TV6LPx1ezYs&quot;&gt;some things last a long time&lt;/a&gt;, and a handful of my oldest open source projects just keep going, and I’m still having fun with them.&lt;/p&gt;&lt;pre&gt;&lt;code&gt;commit 0b049220e18e9c01cce618e19d71dd7353a09a7f
Author: Tom MacWright &amp;lt;tom@macwright.org&gt; Date: Wed Feb 8 13:18:12 2012 -0500
First commit
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I started &lt;a href=https://simple-statistics.github.io/ &gt;simple-statistics&lt;/a&gt; over &lt;em&gt;fourteen years ago&lt;/em&gt;. Crazy. It’s still going. Now has TypeScript types, lots of functionality, good tests, good documentation.&lt;/p&gt;&lt;p&gt;I just tagged the 8th major version of it: a breaking change that makes a few functions throw on empty inputs and stops downleveling code to be compatible with IE11. I’ve been following semver, so “version 8” can be a little arbitrary. I tagged version 6 when I removed bower and component compatibility - remember those things? Ancient technology.&lt;/p&gt;&lt;p&gt;The project has gotten a lot of contributions lately too. Everyone’s definitely using LLMs, but the quality is mostly high enough to merge after a little back &amp; forth. I’m still reading the code and trying to keep it consistent. Depending on how you measure, the module has really taken off in terms of downloads:&lt;/p&gt;&lt;p&gt;&lt;svg viewBox=&quot;0 -48 1000 648&quot; xmlns=http://www.w3.org/2000/svg aria-describedby=chart-instructions-fc4e20ed-7d23-4398-80ea-7d81fd207d30 aria-label=&quot;Chart visualization.&quot; aria-live=polite class=&quot;vue-data-ui-fulscreen--off vue-ui-xy-svg vue-data-ui-svg&quot; color=#2d353c font-family=&#39;&quot;Geist Mono&quot;,&quot;IBM Plex Sans Arabic&quot;,monospace,system-ui,-apple-system,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Arial,&quot;Noto Sans&quot;,&quot;Liberation Sans&quot;,sans-serif&#39; preserveAspectRatio=xMidYMid style=background-color:#fff tabindex=0 transform-origin=&quot;376px 225.598px&quot; xml:space=preserve&gt;&lt;g class=vue-data-ui-g&gt;&lt;desc aria-hidden=true xmlns=http://www.w3.org/1999/xhtml&gt;Composed with Vue Data UI 3.28.1&lt;/desc&gt;&lt;g class=vue-ui-xy-grid stroke=#cecece stroke-linecap=round&gt;&lt;path d=&quot;M121.406 23v442.278&quot; class=vue-ui-xy-y-axis&gt;&lt;/path&gt;&lt;path d=&quot;M121.406 465.278H855m-733.594-55.285H855m-733.594-55.285H855m-733.594-55.285H855m-733.594-55.284H855m-733.594-55.285H855m-733.594-55.285H855M121.406 78.285H855M121.406 23H855&quot; stroke-width=.5&gt;&lt;/path&gt;&lt;path d=&quot;M121.406 465.278v6m60.193-6v6m60.192-6v6m60.192-6v6m60.192-6v6m60.193-6v6m60.192-6v6m60.192-6v6m60.193-6v6m60.192-6v6m60.192-6v6m60.193-6v6m60.192-6v6m11.286-6v6&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;defs&gt;&lt;linearGradient color=#2d353c font-family=&#39;&quot;Geist Mono&quot;,&quot;IBM Plex Sans Arabic&quot;,monospace,system-ui,-apple-system,&quot;Segoe UI&quot;,Roboto,&quot;Helvetica Neue&quot;,Arial,&quot;Noto Sans&quot;,&quot;Liberation Sans&quot;,sans-serif&#39; id=a x1=0 x2=0 y1=0 y2=1&gt;&lt;stop offset=0% stop-color=#292929ff stop-opacity=.2&gt;&lt;/stop&gt;&lt;stop offset=100% stop-color=&quot;oklch(100% 0 0)&quot; stop-opacity=0&gt;&lt;/stop&gt;&lt;/linearGradient&gt;&lt;/defs&gt;&lt;g fill=transparent&gt;&lt;path d=&quot;M121.406 23h1.881v442.278h-1.881zm1.881 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.763 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278H221.1zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M254.958 23h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.763 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762z&quot;&gt;&lt;/path&gt;&lt;path d=&quot;M510.775 23h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.763 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278H706.4zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.763 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0h3.762v442.278h-3.762zm3.762 0H855v442.278h-1.881z&quot;&gt;&lt;/path&gt;&lt;/g&gt;&lt;path d=&quot;M121.406 465.278H855m-733.594 0h-6&quot; stroke=#cecece stroke-linecap=round&gt;&lt;/path&gt;&lt;text transform=&quot;translate(103.406 470.611)&quot; class=vue-data-ui-transition fill=#292929 font-size=16 text-anchor=end&gt;0&lt;/text&gt;&lt;path d=&quot;M121.406 409.993h-6&quot; stroke=#cecece stroke-linecap=round&gt;&lt;/path&gt;&lt;text transform=&quot;translate(103.406 415.326)&quot; class=vue-data-ui-transition fill=#292929 font-size=16 text-anchor=end&gt;200K&lt;/text&gt;&lt;path d=&quot;M121.406 354.708h-6&quot; stroke=#cecece stroke-linecap=round&gt;&lt;/path&gt;&lt;text transform=&quot;translate(103.406 360.042)&quot; class=vue-data-ui-transition fill=#292929 font-size=16 text-anchor=end&gt;400K&lt;/text&gt;&lt;path d=&quot;M121.406 299.423h-6&quot; stroke=#cecece stroke-linecap=round&gt;&lt;/path&gt;&lt;text transform=&quot;translate(103.406 304.757)&quot; class=vue-data-ui-transition fill=#292929 font-size=16 text-anchor=end&gt;600K&lt;/text&gt;&lt;path d=&quot;M121.406 244.139h-6&quot; stroke=#cecece stroke-linecap=round&gt;&lt;/path&gt;&lt;text transform=&quot;translate(103.406 249.472)&quot; class=vue-data-ui-transition fill=#292929 font-size=16 text-anchor=end&gt;800K&lt;/text&gt;&lt;path d=&quot;M121.406 188.854h-6&quot; stroke=#cecece stroke-linecap=round&gt;&lt;/path&gt;&lt;text transform=&quot;translate(103.406 194.187)&quot; class=vue-data-ui-transition fill=#292929 font-size=16 text-anchor=end&gt;1M&lt;/text&gt;&lt;path d=&quot;M121.406 133.569h-6&quot; stroke=#cecece stroke-linecap=round&gt;&lt;/path&gt;&lt;text transform=&quot;translate(103.406 138.903)&quot; class=vue-data-ui-transition fill=#292929 font-size=16 text-anchor=end&gt;1.2M&lt;/text&gt;&lt;path d=&quot;M121.406 78.285h-6&quot; stroke=#cecece stroke-linecap=round&gt;&lt;/path&gt;&lt;text transform=&quot;translate(103.406 83.618)&quot; class=vue-data-ui-transition fill=#292929 font-size=16 text-anchor=end&gt;1.4M&lt;/text&gt;&lt;path d=&quot;M121.406 23h-6&quot; stroke=#cecece stroke-linecap=round&gt;&lt;/path&gt;&lt;text transform=&quot;translate(103.406 28.333)&quot; class=vue-data-ui-transition fill=#292929 font-size=16 text-anchor=end&gt;1.6M&lt;/text&gt;&lt;g class=vue-ui-xy-zoom-geometry&gt;&lt;path d=&quot;m121.406 437.997 3.762-.71 3.762-.814 3.762.134 3.762-1.29 3.762.248 3.762-.922 3.762-.354 3.762-2.425 3.762 1.19 3.762 2.492 3.762-3.37 3.762 1.367 3.762 2.288 3.763-2.209 3.762 1.89 3.762-.86 3.762 2.116 3.762-.935 3.762-1.094 3.762.961 3.762-.286 3.762 2.944 3.762-2.265 3.762-1.83 3.762.944 3.762.806 3.762-1.438 3.762-3.144 3.762-4.356 3.762.893 3.762.508 3.762-2.613 3.762.635 3.762-4.27 3.762 8.842 3.762 3.369 3.762-1.813 3.762-1.8 3.762-1.033 3.762 10.692 3.762-8.158 3.762-2.341 3.762 3.783 3.762-4.785 3.762 3.243 3.762.693 3.762 7.079 3.762 6.533 3.762-11.74 3.762-3.41 3.762-2.1 3.762-.103 3.762-.47 3.762-.764 3.762 3.738 3.762-5.828 3.762 2.1 3.762-1.978 3.762-.181 3.762 3.123 3.762-1.618 3.762-4.816 3.762 4.738 3.762 2.234 3.762-3.206 3.763 4.82 3.762-1.829 3.762-.316 3.762.477 3.762-2.481 3.762-.316 3.762-8.792 3.762 5.46 3.762-4.178 3.762 3.165 3.762-10.056 3.762-1.567 3.762-1.63 3.762 2.592 3.762.528 3.762 4.183 3.762-9.827 3.762-.254 3.762-.906 3.762-1.813 3.762-7.086 3.762 11.177 3.762 4.546 3.762-3.655 3.762-3.64 3.762-4.922 3.762 10.137 3.762 5.729 3.762-18.728 3.762-8.479 3.762 11.493 3.762-6.08 3.762 2.655 3.762 15.257 3.762 32.712 3.762-14.952 3.762-18.133 3.762-3.361 3.762-6.571 3.762 3.218 3.762-4.265 3.762 2.705 3.762 1.29 3.762 1.973 3.762-5.605 3.762.752 3.762-.052 3.762-.773 3.762.274 3.762-.57 3.762 10.421 3.763-10.228 3.762 8.67 3.762-9.85 3.762-1.03 3.762.474 3.762-2.354 3.762-2.832 3.762-22.197 3.762-1.918 3.762 12.121 3.762 9.636 3.762 2.003 3.762 5.644 3.762-.232 3.762-2.215 3.762-5.334 3.762 6.047 3.762-5.731 3.762-6.45 3.762-3.519 3.762 1.52 3.762-7.577 3.762 1.527 3.762 9.814 3.762-5.616 3.762.618 3.762-21.958 3.762-5.136 3.762-.762 3.762.337 3.762 5.524 3.762 12.284 3.762-10.029 3.762 12.106 3.762 10.687 3.762 39.672 3.762-14.727 3.762-36.276 3.762 1.251 3.762-34.844 3.762-33.192 3.762-5.695 3.762-7.353 3.762 3.393 3.762-11.445 3.762-12.642 3.762.082 3.762-3.426 3.762-13.697 3.762 25.585 3.762-25.545 3.762 7.11 3.763-34.488 3.762-8.81 3.762-14.72 3.762-9.803 3.762 25.745 3.762-5.462 3.762-7.408 3.762-46.834 3.762 19.189 3.762 14 3.762 25.875 3.762-14.664 3.762-42.195 3.762-33.52 3.762-3.237 3.762-3.173 3.762 45.544 3.762-78.692 3.762 12.127 3.762 193.387 3.762-151.272 3.762-83.202 3.762-26.86 3.762 65.415 3.762-30.414 3.762 264.122 3.762-205&quot; stroke=#fff stroke-linecap=round fill=none stroke-dasharray=0 stroke-linejoin=round stroke-width=3.008 vector-effect=non-scaling-stroke class=serie_line_0&gt;&lt;/path&gt;&lt;g class=serie_line_0&gt;&lt;path d=&quot;M121.406 465.278v-27.28l3.762-.71 3.762-.815 3.762.134 3.762-1.29 3.762.248 3.762-.922 3.762-.354 3.762-2.425 3.762 1.19 3.762 2.492 3.762-3.37 3.762 1.367 3.762 2.288 3.763-2.209 3.762 1.89 3.762-.86 3.762 2.116 3.762-.935 3.762-1.094 3.762.961 3.762-.286 3.762 2.944 3.762-2.265 3.762-1.83 3.762.944 3.762.806 3.762-1.438 3.762-3.144 3.762-4.356 3.762.893 3.762.508 3.762-2.613 3.762.635 3.762-4.27 3.762 8.842 3.762 3.369 3.762-1.813 3.762-1.8 3.762-1.033 3.762 10.692 3.762-8.158 3.762-2.341 3.762 3.783 3.762-4.785 3.762 3.243 3.762.693 3.762 7.079 3.762 6.533 3.762-11.74 3.762-3.41 3.762-2.1 3.762-.103 3.762-.47 3.762-.764 3.762 3.738 3.762-5.828 3.762 2.1 3.762-1.978 3.762-.181 3.762 3.123 3.762-1.618 3.762-4.816 3.762 4.738 3.762 2.234 3.762-3.206 3.763 4.82 3.762-1.829 3.762-.316 3.762.477 3.762-2.481 3.762-.316 3.762-8.792 3.762 5.46 3.762-4.178 3.762 3.165 3.762-10.056 3.762-1.567 3.762-1.63 3.762 2.592 3.762.528 3.762 4.183 3.762-9.827 3.762-.254 3.762-.906 3.762-1.813 3.762-7.086 3.762 11.177 3.762 4.546 3.762-3.655 3.762-3.64 3.762-4.922 3.762 10.137 3.762 5.729 3.762-18.728 3.762-8.479 3.762 11.493 3.762-6.08 3.762 2.655 3.762 15.257 3.762 32.712 3.762-14.952 3.762-18.133 3.762-3.361 3.762-6.571 3.762 3.218 3.762-4.265 3.762 2.705 3.762 1.29 3.762 1.973 3.762-5.605 3.762.752 3.762-.052 3.762-.773 3.762.274 3.762-.57 3.762 10.421 3.763-10.228 3.762 8.67 3.762-9.85 3.762-1.03 3.762.474 3.762-2.354 3.762-2.832 3.762-22.197 3.762-1.918 3.762 12.121 3.762 9.636 3.762 2.003 3.762 5.644 3.762-.232 3.762-2.215 3.762-5.334 3.762 6.047 3.762-5.731 3.762-6.45 3.762-3.519 3.762 1.52 3.762-7.577 3.762 1.527 3.762 9.814 3.762-5.616 3.762.618 3.762-21.958 3.762-5.136 3.762-.762 3.762.337 3.762 5.524 3.762 12.284 3.762-10.029 3.762 12.106 3.762 10.687 3.762 39.672 3.762-14.727 3.762-36.276 3.762 1.251 3.762-34.844 3.762-33.192 3.762-5.695 3.762-7.353 3.762 3.393 3.762-11.445 3.762-12.642 3.762.082 3.762-3.426 3.762-13.697 3.762 25.585 3.762-25.545 3.762 7.11 3.763-34.488 3.762-8.81 3.762-14.72 3.762-9.803 3.762 25.745 3.762-5.462 3.762-7.408 3.762-46.834 3.762 19.189 3.762 14 3.762 25.875 3.762-14.664 3.762-42.195 3.762-33.52 3.762-3.237 3.762-3.173 3.762 45.544 3.762-78.692 3.762 12.127 3.762 193.387 3.762-151.272 3.762-83.202 3.762-26.86 3.762 65.415 3.762-30.414 3.762 264.122 3.762-205v336.355Z&quot; fill=url(#a)&gt;&lt;/path&gt;&lt;path d=&quot;m121.406 437.997 3.762-.71 3.762-.814 3.762.134 3.762-1.29 3.762.248 3.762-.922 3.762-.354 3.762-2.425 3.762 1.19 3.762 2.492 3.762-3.37 3.762 1.367 3.762 2.288 3.763-2.209 3.762 1.89 3.762-.86 3.762 2.116 3.762-.935 3.762-1.094 3.762.961 3.762-.286 3.762 2.944 3.762-2.265 3.762-1.83 3.762.944 3.762.806 3.762-1.438 3.762-3.144 3.762-4.356 3.762.893 3.762.508 3.762-2.613 3.762.635 3.762-4.27 3.762 8.842 3.762 3.369 3.762-1.813 3.762-1.8 3.762-1.033 3.762 10.692 3.762-8.158 3.762-2.341 3.762 3.783 3.762-4.785 3.762 3.243 3.762.693 3.762 7.079 3.762 6.533 3.762-11.74 3.762-3.41 3.762-2.1 3.762-.103 3.762-.47 3.762-.764 3.762 3.738 3.762-5.828 3.762 2.1 3.762-1.978 3.762-.181 3.762 3.123 3.762-1.618 3.762-4.816 3.762 4.738 3.762 2.234 3.762-3.206 3.763 4.82 3.762-1.829 3.762-.316 3.762.477 3.762-2.481 3.762-.316 3.762-8.792 3.762 5.46 3.762-4.178 3.762 3.165 3.762-10.056 3.762-1.567 3.762-1.63 3.762 2.592 3.762.528 3.762 4.183 3.762-9.827 3.762-.254 3.762-.906 3.762-1.813 3.762-7.086 3.762 11.177 3.762 4.546 3.762-3.655 3.762-3.64 3.762-4.922 3.762 10.137 3.762 5.729 3.762-18.728 3.762-8.479 3.762 11.493 3.762-6.08 3.762 2.655 3.762 15.257 3.762 32.712 3.762-14.952 3.762-18.133 3.762-3.361 3.762-6.571 3.762 3.218 3.762-4.265 3.762 2.705 3.762 1.29 3.762 1.973 3.762-5.605 3.762.752 3.762-.052 3.762-.773 3.762.274 3.762-.57 3.762 10.421 3.763-10.228 3.762 8.67 3.762-9.85 3.762-1.03 3.762.474 3.762-2.354 3.762-2.832 3.762-22.197 3.762-1.918 3.762 12.121 3.762 9.636 3.762 2.003 3.762 5.644 3.762-.232 3.762-2.215 3.762-5.334 3.762 6.047 3.762-5.731 3.762-6.45 3.762-3.519 3.762 1.52 3.762-7.577 3.762 1.527 3.762 9.814 3.762-5.616 3.762.618 3.762-21.958 3.762-5.136 3.762-.762 3.762.337 3.762 5.524 3.762 12.284 3.762-10.029 3.762 12.106 3.762 10.687 3.762 39.672 3.762-14.727 3.762-36.276 3.762 1.251 3.762-34.844 3.762-33.192 3.762-5.695 3.762-7.353 3.762 3.393 3.762-11.445 3.762-12.642 3.762.082 3.762-3.426 3.762-13.697 3.762 25.585 3.762-25.545 3.762 7.11 3.763-34.488 3.762-8.81 3.762-14.72 3.762-9.803 3.762 25.745 3.762-5.462 3.762-7.408 3.762-46.834 3.762 19.189 3.762 14 3.762 25.875 3.762-14.664 3.762-42.195 3.762-33.52 3.762-3.237 3.762-3.173 3.762 45.544 3.762-78.692 3.762 12.127 3.762 193.387 3.762-151.272 3.762-83.202 3.762-26.86 3.762 65.415 3.762-30.414 3.762 264.122 3.762-205&quot; stroke=#292929 stroke-linecap=round fill=none stroke-dasharray=0 stroke-linejoin=round stroke-width=2.256 vector-effect=non-scaling-stroke&gt;&lt;/path&gt;&lt;/g&gt;&lt;/g&gt;&lt;text transform=&quot;rotate(-90 140.07 104.07)&quot; fill=#292929 font-size=24 text-anchor=middle&gt;Weekly Downloads&lt;/text&gt;&lt;g fill=#2d353c font-size=14 paint-order=stroke stroke=#fff stroke-linecap=round stroke-linejoin=round stroke-width=3 text-anchor=end&gt;&lt;text transform=&quot;rotate(-30 968.11 16.592)&quot; class=vue-data-ui-time-label&gt;2023-01-31&lt;/text&gt;&lt;text transform=&quot;rotate(-30 998.206 -95.73)&quot; class=vue-data-ui-time-label&gt;2023-05-23&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1028.302 -208.049)&quot; class=vue-data-ui-time-label&gt;2023-09-12&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1058.398 -320.369)&quot; class=vue-data-ui-time-label&gt;2024-01-02&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1088.494 -432.688)&quot; class=vue-data-ui-time-label&gt;2024-04-23&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1118.59 -545.01)&quot; class=vue-data-ui-time-label&gt;2024-08-13&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1148.687 -657.33)&quot; class=vue-data-ui-time-label&gt;2024-12-03&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1178.783 -769.65)&quot; class=vue-data-ui-time-label&gt;2025-03-25&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1208.88 -881.971)&quot; class=vue-data-ui-time-label&gt;2025-07-15&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1238.975 -994.291)&quot; class=vue-data-ui-time-label&gt;2025-11-04&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1269.071 -1106.61)&quot; class=vue-data-ui-time-label&gt;2026-02-24&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1299.168 -1218.932)&quot; class=vue-data-ui-time-label&gt;2026-06-16&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1329.264 -1331.252)&quot; class=vue-data-ui-time-label&gt;2026-10-06&lt;/text&gt;&lt;text transform=&quot;rotate(-30 1334.907 -1352.312)&quot; class=vue-data-ui-time-label&gt;2026-10-27&lt;/text&gt;&lt;/g&gt;&lt;text fill=&quot;oklch(.046 0 0)&quot; font-size=20 x=871 y=128.922 dominant-baseline=middle paint-order=stroke stroke=&quot;oklch(1 0 0)&quot;&gt;1.2M&lt;/text&gt;&lt;rect fill=#292929 height=12 rx=3 width=12 x=133.406 y=16&gt;&lt;/rect&gt;&lt;text fill=&quot;oklch(.046 0 0)&quot; font-size=16 x=153.406 y=23 dominant-baseline=middle paint-order=stroke stroke=&quot;oklch(1 0 0)&quot;&gt;simple-statistics&lt;/text&gt;&lt;svg viewBox=&quot;0 0 330 125&quot; xmlns=http://www.w3.org/2000/svg fill=none height=37.879 width=100 x=450 y=562.121&gt;&lt;path d=&quot;M22.848 97V85.288h11.904V97zm33.563 10.56L85.594 25h7.68l-29.183 82.56zM121.269 97V46.12h7.392l.288 12.96-.96-.864q.96-4.512 3.456-7.392 2.592-2.976 6.144-4.416t7.488-1.44q5.856 0 9.696 2.592 3.936 2.592 5.952 7.008 2.016 4.32 2.016 9.696V97h-8.064V66.568q0-7.104-2.784-10.752-2.784-3.744-8.544-3.744-3.936 0-7.104 1.728-3.168 1.632-5.088 4.896-1.824 3.168-1.824 7.872V97zm52.378 14.4V46.12h7.488l.192 11.52-1.152-.576q1.92-5.952 6.337-9.024 4.511-3.072 10.368-3.072 7.584 0 12.384 3.744 4.896 3.744 7.2 9.792 2.303 6.048 2.303 13.056t-2.303 13.056q-2.304 6.048-7.2 9.792-4.8 3.744-12.384 3.744-3.936 0-7.393-1.344-3.36-1.344-5.76-3.744-2.304-2.4-3.168-5.664l1.152-1.344V111.4zm22.464-20.928q6.625 0 10.369-4.992 3.84-4.992 3.839-13.92t-3.839-13.92q-3.744-4.992-10.369-4.992-4.416 0-7.68 2.112-3.168 2.112-4.992 6.336-1.728 4.224-1.728 10.464t1.728 10.464 4.992 6.336 7.68 2.112M222.57 97V46.12h7.392l.288 11.328-.96-.192q.864-5.664 3.648-8.928 2.88-3.36 7.296-3.36 4.512 0 6.912 3.264 2.496 3.264 3.072 9.6h-.96q.864-5.952 3.84-9.408 3.072-3.456 7.68-3.456 6.144 0 8.928 4.224t2.784 14.016V97h-8.064V64.36q0-6.816-1.44-9.504-1.44-2.784-4.512-2.784-2.016 0-3.552 1.344-1.536 1.248-2.496 4.032-.864 2.784-.864 7.104V97h-8.064V64.36q0-6.528-1.44-9.408-1.344-2.88-4.512-2.88-2.016 0-3.552 1.344-1.536 1.248-2.496 4.032-.864 2.784-.864 7.104V97zm54.106 0 18.72-26.112-17.76-24.768h9.408l13.344 19.2 13.056-19.2h9.6L305.38 71.08 323.908 97H314.5l-14.112-20.544L286.276 97z&quot; fill=&quot;oklch(.046 0 0)&quot;&gt;&lt;/path&gt;&lt;/svg&gt;&lt;text fill=&quot;oklch(.28 0 0)&quot; font-size=12 text-anchor=middle x=500 y=556.121&gt;a fast, modern browser for the npm registry&lt;/text&gt;&lt;/g&gt;&lt;/svg&gt;&lt;/p&gt;&lt;p&gt;Probably some LLM scraping in there, maybe some LLM preference, maybe some big upstream consumers that I haven’t identified, but still in terms of vanity numbers, hitting peak weekly downloads of 1.6M is a real accomplishment for me. I’m trying my hardest to keep it stable and reliable. The release flow is well-tuned at this point and I just &lt;a href=https://simple-statistics.github.io/ &gt;reworked how the documentation happens&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;To another 14 years, I guess!&lt;/p&gt;</description>
      <pubDate>Wed, 28 Oct 2026 00:00:00 +0000</pubDate>
      <link>https://macwright.com/2026/10/28/simple-statistics-8.html</link>
      <guid isPermaLink="true">https://macwright.com/2026/10/28/simple-statistics-8.html</guid>
    </item>
    <item>
      <title>Uglify bug</title>
      <dc:creator>Tom MacWright</dc:creator>
      <description>&lt;p&gt;I was reading &lt;a href=https://web.stanford.edu/class/cs253/ &gt;Feross Aboukhadijeh’s course notes for CS 253 Web Security&lt;/a&gt;, specifically bcrypt’s &lt;a href=https://web.stanford.edu/class/cs253/lectures/Lecture%2018%20-%20Real-World%20Web%20Security.pdf&gt;slides about real-world security&lt;/a&gt;, and an unexpected face popped up (mine). I filed a &lt;a href=https://github.com/mishoo/UglifyJS/issues/751&gt;bug in the uglify project in 2015&lt;/a&gt; and didn’t think much more about it, but turns out, there’s a &lt;a href=https://blog.azuki.vip/backdooring-js/ &gt;blog post building on it as an exploit&lt;/a&gt;, a whole &lt;a href=https://nvd.nist.gov/vuln/detail/cve-2015-8857&gt;CVE in the national database&lt;/a&gt; and &lt;a href=https://github.com/advisories/GHSA-34r7-q49f-h37c&gt;a critical assignment on GitHub&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Fun! I don’t take any credit because I didn’t even come up with a good reduced test case, &lt;a href=https://github.com/wooorm&gt;Titus&lt;/a&gt; did more work on that, and &lt;a href=https://github.com/mishoo&gt;Mihai&lt;/a&gt; actually made the fix. But it’s cool to come across an old thread that had an unusually big impact.&lt;/p&gt;</description>
      <pubDate>Wed, 16 Sep 2026 00:00:00 +0000</pubDate>
      <link>https://macwright.com/2026/09/16/uglify-bug.html</link>
      <guid isPermaLink="true">https://macwright.com/2026/09/16/uglify-bug.html</guid>
    </item>
    <item>
      <title>New Observable</title>
      <dc:creator>Tom MacWright</dc:creator>
      <description>&lt;p&gt;&lt;a href=https://observablehq.com/@observablehq/a-new-observable&gt;Observable just released a brand new version&lt;/a&gt;. There’s a lot to like about it:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;It splits the editing &amp; viewing modes so that notebooks are less confusing for readers who don’t read code. Back when we tried to make editing a quick hop from reading, it was too easy to &lt;em&gt;accidentally&lt;/em&gt; edit, and that was really overwhelming for people.&lt;/li&gt;&lt;li&gt;Like &lt;a href=https://macwright.com/2025/07/31/observable-notebooks-2&gt;Notebook Kit&lt;/a&gt;, it supports JavaScript (and TypeScript) properly. &lt;a href=https://observablehq.com/@observablehq/observable-javascript&gt;Observable JavaScript&lt;/a&gt; (OJS) was a dialect of JavaScript with extra keywords, like &lt;code&gt;viewof&lt;/code&gt;, and different syntax, like anonymous blocks. The tradeoffs for a custom language are pretty bad with few exceptions, especially when it so closely resembles another language that people assume everything that works in one should work in another. Trust me - I’ve worked on CartoCSS, Observable JavaScript, and the dialect of JavaScript that &lt;a href=http://val.town/ &gt;Val Town&lt;/a&gt; initially ran on. Embracing standard TypeScript is even more important now that lots of people are producing code with LLMs, and the training set for TypeScript is much, much bigger than for OJS.&lt;/li&gt;&lt;li&gt;It has a proper LLM chat interface that can fetch data, render charts, read images of those charts, and then those charts can be transformed into notebooks. And notebooks now have a built-in LLM assistant. AI integrations are polarizing but the portion of users who are polarized &lt;em&gt;toward&lt;/em&gt; AI are heavy users who completely rely on it. Observable’s previous experiments with LLMs felt a little half-hearted in that they required users to “bring their own API token” to pay for the usage. Now there’s built-in Anthropic-backed models, with a very limited free allowance. Adding a way for people to buy credits seems like an extremely pressing need for the new Observable.&lt;/li&gt;&lt;li&gt;It looks like they’ve switched to Vercel as a host for both the product and data connectors. And I think this shipped before the big rewrite, but the website shell is all Next.js based now.&lt;/li&gt;&lt;li&gt;The new list of supported languages is: TypeScript, Markdown, HTML, SQL, TeX, DOT, JavaScript, and Observable JavaScript.&lt;/li&gt;&lt;li&gt;The TypeScript support in the editor is just fine. I have learned firsthand how incredibly hard it is to create a web-based TypeScript-aware editor with completions, so it isn’t surprising that the completions are incomplete and there are no hover hints. Probably you’d want to run a TypeScript 7 LSP server in a container, similar to how we do with Val Town. But on the other hand, for the trends of 2026, it’s probably more important to take the LLM-assisted code generation angle more seriously.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Updating my &lt;a href=https://macwright.com/2025/07/31/observable-notebooks-2&gt;table from my last Observable update&lt;/a&gt;:&lt;/p&gt;&lt;div class=table-wrap&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;Product&lt;/th&gt;&lt;th&gt;Launched&lt;/th&gt;&lt;th&gt;Local/hosted&lt;/th&gt;&lt;th&gt;Languages&lt;/th&gt;&lt;th&gt;OSS&lt;/th&gt;&lt;th&gt;Layout&lt;/th&gt;&lt;th&gt;Collaboration&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;Notebooks&lt;/td&gt;&lt;td&gt;~2018&lt;/td&gt;&lt;td&gt;Hosted&lt;/td&gt;&lt;td&gt;ojs, md, html, sql&lt;/td&gt;&lt;td&gt;no*&lt;/td&gt;&lt;td&gt;notebook&lt;/td&gt;&lt;td&gt;live&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Framework&lt;/td&gt;&lt;td&gt;&lt;a href=https://observablehq.com/release-notes/2024-02-15-observable-2-0&gt;2024&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Hybrid&lt;/td&gt;&lt;td&gt;js, md, sql, &lt;a href=https://observablehq.com/framework/data-loaders&gt;many others&lt;/a&gt;&lt;/td&gt;&lt;td&gt;yes&lt;/td&gt;&lt;td&gt;mixed&lt;/td&gt;&lt;td&gt;none/github&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Canvas&lt;/td&gt;&lt;td&gt;&lt;a href=https://observablehq.com/blog/introducing-canvases-early-access&gt;2025&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Hosted&lt;/td&gt;&lt;td&gt;js, sql&lt;/td&gt;&lt;td&gt;no&lt;/td&gt;&lt;td&gt;canvas&lt;/td&gt;&lt;td&gt;live&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Notebooks 2.0&lt;/td&gt;&lt;td&gt;&lt;a href=https://observablehq.com/blog/previewing-notebooks-2&gt;2025&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Local*&lt;/td&gt;&lt;td&gt;ojs, js, md, html, tex, dot&lt;/td&gt;&lt;td&gt;yes*&lt;/td&gt;&lt;td&gt;mixed&lt;/td&gt;&lt;td&gt;none/github&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;New Observable&lt;/td&gt;&lt;td&gt;&lt;a href=https://observablehq.com/@observablehq/a-new-observable&gt;2026&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Hosted&lt;/td&gt;&lt;td&gt;ts, js, md, HTML, SQL, TeX, DOT, ojs&lt;/td&gt;&lt;td&gt;no&lt;/td&gt;&lt;td&gt;notebook&lt;/td&gt;&lt;td&gt;live&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;hr&gt;&lt;p&gt;&lt;em&gt;Backstory/full disclosure: I was the first hire at &lt;a href=https://observablehq.com/ &gt;Observable&lt;/a&gt; and hold equity in the company.&lt;/em&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate>
      <link>https://macwright.com/2026/09/02/new-observable.html</link>
      <guid isPermaLink="true">https://macwright.com/2026/09/02/new-observable.html</guid>
    </item>
    <item>
      <title>Lawnmower story</title>
      <dc:creator>Tom MacWright</dc:creator>
      <description>&lt;p&gt;My dad once bought a lawnmower off of Craigslist, because my family needed a new lawnmower. It was listed as being broken, but after a few minutes of wrenching, it worked perfectly. He was noticeably disappointed.&lt;/p&gt;&lt;p&gt;I’ve been riding unnecessarily long distances on my bike. It’s a dirty, sweaty, occasionally painful sport. A fellow programmer asked why I don’t get an electric bicycle so I could ride faster and with less effort.&lt;/p&gt;</description>
      <pubDate>Tue, 25 Aug 2026 00:00:00 +0000</pubDate>
      <link>https://macwright.com/2026/08/25/lawnmower-story.html</link>
      <guid isPermaLink="true">https://macwright.com/2026/08/25/lawnmower-story.html</guid>
    </item>
    <item>
      <title>The new geojson.io</title>
      <dc:creator>Tom MacWright</dc:creator>
      <description>&lt;p&gt;Good news from the folks at Mapbox - they’ve revamped &lt;a href=https://geojson.io/ &gt;geojson.io&lt;/a&gt; using some of the bones of &lt;a href=http://placemark.io/ &gt;Placemark&lt;/a&gt;, which I &lt;a href=https://macwright.com/2024/01/19/placemark-oss&gt;open-sourced in 2024&lt;/a&gt;. It’s pretty poetic for things to come full circle like that - Placemark was in many ways an attempt to fix some of the things that I thought were deficient about geojson.io, and now geojson.io has those things fixed because of the Placemark codebase.&lt;/p&gt;&lt;p&gt;Chris and Andrew were super nice about it and I think it’s a fantastic outcome. See also &lt;a href=https://epanetjs.com/ &gt;epanet-js&lt;/a&gt;, which is also based on the Placemark “stack”! It’s not perfect, but it’s really nice to see the open source code help people get to square 1 with new geospatial applications.&lt;/p&gt;</description>
      <pubDate>Wed, 19 Aug 2026 00:00:00 +0000</pubDate>
      <link>https://macwright.com/2026/08/19/new-geojson-io.html</link>
      <guid isPermaLink="true">https://macwright.com/2026/08/19/new-geojson-io.html</guid>
    </item>
    <item>
      <title>Subscription minimizing</title>
      <dc:creator>Tom MacWright</dc:creator>
      <description>&lt;p&gt;I’m feeling more repelled from software subscriptions recently, primarily for products that have their own proprietary data storage or formats. Partly it’s the lock-in effect, and also the &lt;a href=https://en.wikipedia.org/wiki/Enshittification&gt;platform decay&lt;/a&gt; that is accelerating as all companies (besides major AI labs) get nervous about their margins and sustainability.&lt;/p&gt;&lt;p&gt;Anyway, so far:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;From &lt;a href=https://flexibits.com/fantastical&gt;Fantastical&lt;/a&gt; to &lt;a href=https://www.busymac.com/ &gt;BusyCal&lt;/a&gt;. They’re both proprietary &lt;a href=https://daringfireball.net/linked/2020/03/20/mac-assed-mac-apps&gt;mac-assed Mac apps&lt;/a&gt;. I can’t find an open-source alternative with enough polish &amp; maintainership. BusyCal is a version-based permanent license, $50, versus Fantastical which is $57/year. The version-based restriction is a gamble: maybe there’ll be some big feature they ship or macOS change that necessitates upgrading, maybe there won’t be. I’ve been surprised at how little I care that I’m using an old version of &lt;a href=https://www.devontechnologies.com/apps/devonthink&gt;DevonThink&lt;/a&gt; with a perpetual license.&lt;/li&gt;&lt;li&gt;From &lt;a href=https://feedbin.com/ &gt;Feedbin&lt;/a&gt; to &lt;a href=https://netnewswire.com/ &gt;NetNewsWire&lt;/a&gt;. Also a mac-assed Mac app, and lovingly maintained by Brent Simmons, who’s now retired and works on it semi-full-time. It’s solid. Having switched, I’m not sure why I needed my RSS reader to be a web application in the first place. NetNewsWire is an open source application, but you wouldn’t know from using it. It looks good!&lt;/li&gt;&lt;li&gt;From &lt;a href=https://instapaper.com/ &gt;Instapaper&lt;/a&gt; to &lt;a href=https://readeck.org/ &gt;Readeck&lt;/a&gt;. This is the one I have the most feelings about, being a years-long Instapaper fan. Both it and Feedbin aren’t evil corporations but relatively small, friendly indie companies. But without full-text export, I’m building a proprietary dataset in Instapaper which I don’t want to. And I’m pretty disappointed that &lt;a href=https://www.instapaper.com/kobo&gt;Instapaper’s Kobo integration&lt;/a&gt;, the reason why I bought a Kobo Calibre Color, never got the basic ability to highlight articles. They rolled out &lt;a href=https://www.instapaper.com/palma&gt;Boox Palma&lt;/a&gt; integration a few days ago and it looks like that supports highlighting. I like the idea of contributing to Readeck and the &lt;a href=https://github.com/flip-rossi/readeck.koplugin&gt;Readeck Kobo plugin&lt;/a&gt; supports highlighting and works pretty well, so I’m excited about the possibility there. And readeck of course supports full-text export. So far this is in no way a cost-savings: the Hetzner server I use to host Readeck will cost around $22 a month. I’ll either downgrade it, host something else on it to make it worthwhile, or live with the tiny cost increase. Maybe this is a good opportunity to host a &lt;a href=https://tangled.org/tranquil.farm/tranquil-pds&gt;Tranquil PDS&lt;/a&gt; to make my Bluesky identity independent.&lt;/li&gt;&lt;/ul&gt;&lt;h3 id=todo&gt;TODO&lt;/h3&gt;&lt;p&gt;Still, my most expensive subscription is the hardest to cut: &lt;a href=https://www.captureone.com/en&gt;Capture One&lt;/a&gt; has been my go-to for organizing and light retouching of photos and drawings. It’s great, but expensive and likely to get more so &lt;a href=https://petapixel.com/2026/05/28/capture-ones-private-equity-owner-is-trying-to-sell-it-report/ &gt;as it gets revenue-maximized and sold from one private equity firm to another&lt;/a&gt;. I’ve tried &lt;a href=https://www.digikam.org/ &gt;digiKam&lt;/a&gt; but it’s ugly and the learning curve is steep. &lt;a href=https://aphera.co/ &gt;Aphera&lt;/a&gt; looks amazing but is much more focused on raw editing than organization and lacks any kind of retouching tools. I could return to Lightroom but I dread Adobe products. &lt;a href=https://www.blackmagicdesign.com/in/products/davinciresolve/photo&gt;DaVinci Resolve Photo&lt;/a&gt; could be the answer, but there’s no support for Olympus raw yet. I could even use Apple Photos, but I don’t think Olympus raw is supported there either. What I’m really looking for is more of a smooth, capable ‘digital asset manager’ that’s good for managing images. The hunt continues. Maybe buying a perpetual license to Capture One is the answer, but the break-even with my pricing would be at two years.&lt;/p&gt;</description>
      <pubDate>Thu, 13 Aug 2026 00:00:00 +0000</pubDate>
      <link>https://macwright.com/2026/08/13/subscription-minimizing.html</link>
      <guid isPermaLink="true">https://macwright.com/2026/08/13/subscription-minimizing.html</guid>
    </item>
    <item>
      <title>Encodings</title>
      <dc:creator>Tom MacWright</dc:creator>
      <description>&lt;p&gt;If you’re encoding some binary data as text, &lt;a href=https://en.wikipedia.org/wiki/Binary-to-text_encoding&gt;you have a lot of options&lt;/a&gt;. My cheatsheet:&lt;/p&gt;&lt;div class=table-wrap&gt;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th&gt;encoding&lt;/th&gt;&lt;th&gt;transport-safe&lt;/th&gt;&lt;th&gt;length&lt;/th&gt;&lt;th&gt;standard&lt;/th&gt;&lt;th&gt;case-sensitive&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;hex&lt;/td&gt;&lt;td&gt;safe&lt;/td&gt;&lt;td&gt;long&lt;/td&gt;&lt;td&gt;yes&lt;/td&gt;&lt;td&gt;no&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;base32&lt;/td&gt;&lt;td&gt;safe&lt;/td&gt;&lt;td&gt;medium&lt;/td&gt;&lt;td&gt;meh&lt;/td&gt;&lt;td&gt;no&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;base58&lt;/td&gt;&lt;td&gt;safe&lt;/td&gt;&lt;td&gt;short&lt;/td&gt;&lt;td&gt;no&lt;/td&gt;&lt;td&gt;yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;base64&lt;/td&gt;&lt;td&gt;meh&lt;/td&gt;&lt;td&gt;short&lt;/td&gt;&lt;td&gt;yes&lt;/td&gt;&lt;td&gt;yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;base64url&lt;/td&gt;&lt;td&gt;safe&lt;/td&gt;&lt;td&gt;short&lt;/td&gt;&lt;td&gt;yes&lt;/td&gt;&lt;td&gt;yes&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;transport-safe mostly meaning whether it’ll survive being a url parameter. base64 includes &lt;code&gt;+&lt;/code&gt; and &lt;code&gt;-&lt;/code&gt; which necessitates base64url.&lt;/li&gt;&lt;li&gt;everything technically has a standard but the question is if they’re standardized, and for example node.js only supports Buffer encoding to base64, base64url, and hex.&lt;/li&gt;&lt;li&gt;i enjoy &lt;a href=https://github.com/paulmillr/scure-base&gt;@scure/base&lt;/a&gt; for using JavaScript and encoding in other base systems.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;My current defaults:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;base58check&lt;/strong&gt; for API tokens. Short, quick to validate if it’s a valid token or not. Unlike base64, fewer ambiguous characters.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;base64url&lt;/strong&gt; for encrypted cookies.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;base64&lt;/strong&gt; for putting longer text into the environment, like JWKS keys or certificates. Somewhat safer than sticking the raw text in there.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;base32&lt;/strong&gt; for user-facing tokens, like invite codes. Good combination of efficiency and safety. Very safe to copy &amp; paste.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;hex&lt;/strong&gt; for encryption keys in the environment. Doesn’t really matter that they’re a little long, super easy to generate and copy and paste with &lt;code&gt;openssl rand -hex&lt;/code&gt;.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I feel a pull to consolidate these further and ask whether I’m being too fancy using different encodings. In particular, whether &lt;em&gt;all&lt;/em&gt; encryption keys should be base64 encoded, and whether we really need base32 for user-facing content. Though base32 subjectively looks nice and is short, it’s pretty nonstandard: no support in Node, and the main place where I see base32 in use, in the AT Protocol, they use &lt;a href=https://github.com/bluesky-social/atproto/discussions/1706&gt;a different character set than usual&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Thu, 23 Jul 2026 00:00:00 +0000</pubDate>
      <link>https://macwright.com/2026/07/23/encodings.html</link>
      <guid isPermaLink="true">https://macwright.com/2026/07/23/encodings.html</guid>
    </item>
  </channel>
</rss>
