I went on a run this morning and got the idea to write this, but Nolen and Robin and Robin again have written other, maybe better versions of it. Still, I have some recent experience and feelings to get out there, so here goes: Like Robin, I have been getting a lot of incoming emails that follow an LLM-like formula of observation about me and how it could be relevant to some product + ask that i try the product. A lot of these seem LLM-generated. Also, I review job applications.
not using twitter anymore.
bsky.app/profile/macwright.com
mastodon.social/@tmcw
bsky.app/profile/archive.macwright.com
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Tom MacWright
Cooking with glasses
I've been thinking the new Meta Ray-Ban augmented reality glasses. Not because they failed onstage, which they absolutely did. Or that shortly after they received rave reviews from Victoria Song at The Verge and MKBHD, two of the most influential tech reviewers. My impression is that the hardware has improved but the software is pretty bad. Mostly I keep thinking about the cooking demo. Yeah, it bombed. But what if it worked?
epanet-js
epanet-js is a new web application that combines modern web maps with the industry-standard EPANET hydraulic simulation algorithm. It’s for people planning and updating water utility systems: connecting pipes and pressures and figuring out what will happen. It’s a problem area that I’m totally fascinated by and know very little about. It’s made by the folks from Iterating - Luke Butler and Sam Payá, who are experts in the field.
Putting an untrusted layer of chatbot AI between you and the internet is an obvious disaster waiting to happen
This is directly motivated by reading about the Browser Company’s pivot to Dia, a chatbot-centric browser, but there are many similar cases. I feel like this is obvious but I’m not hearing it shouted from the rooftops so here it is: adding an untrusted middleman to your information diet and all of your personal communications will eventually become a disaster that will be obvious in hindsight.
Reading Zanzibar
Google published Zanzibar: Google’s Consistent, Global Authorization System in 2019. It describes a system for authorization – enforcing who can do what – which maxes out both flexibility and scalability. Google has lots of different apps that rely on Zanzibar, and bigger scale than practically any other company, so it needed Zanzibar. The Zanzibar paper made quite a stir. There are at least four companies that advertise products as being inspired by or based on Zanzibar.
On not using copilot
Thorsten Ball wrote a really thoughtful piece about LLM-based coding assistants. A lot of accomplished, productive engineers use them. Adaptability is important for software engineers. Why not dive in? I’m not passionately against coding assistants, but neither do I use them on a daily basis in my code editor. I use Claude occasionally to write some shell script or tell me how awk works. A lot of folks I respect are using these coding assistants all day. There’s obviously something there.
Joining the Open Source Pledge
Val Town couldn’t exist without open source software. Like most startups, we build applications on top of open source frameworks, modules, languages, and more. It’s crucial to us that these projects thrive and their maintainers have the time, energy, and justification to keep working on them. We contribute patches upstream and are gradually releasing open source modules of our own, but today we’re supporting these projects more directly: with funding.
Code Search is Hard
Val Town’s search functionality isn’t very good. Right now it’s built on the Postgres ILIKE functionality, which just performs a substring search: if your search term is in the code, it appears in search results. There’s virtually no ranking involved, and queries with multiple words are pretty poorly supported. Better search is one of our most-requested features. I’m working on improving this, but we haven’t found a solution that fits our needs yet. Here are some notes from our research.
The first four Val Town runtimes
The core of Val Town is running untrusted code. We take your TypeScript code and run it on a server, safely, quickly, and flexibly. Safety The default way to run untrusted code is dangerously. If you set up a server, like Val Town’s, that receives bits of JavaScript code and simply runs all of the submitted code with Node.js, you’d be mining crypto and running a botnet within the hour. Code in Node.js has unfettered access to your system’s environment variables, filesystem, network, and much more.
Placemark is going open source and shutting down
also on placemark.io/blog The company and product side of Placemark didn’t work out. Some fantastic, friendly people used it, but I couldn’t find a way to make it work as a sustainable bootstrapped startup. Building it was incredibly fun. Failing to find success and sustainability was pretty hard but it’s okay. Today I’m turning off signups to Placemark.io. Placemark is free for all existing customers until January 19, 2024, at which point the servers will be shut down.
Second-guessing the modern web
The emerging norm for web development is to build a React single-page application, with server rendering. The two key elements of this architecture are something like: The main UI is built & updated in JavaScript using React or something similar. The backend is an API that that application makes requests against. This idea has really swept the internet. It started with a few major popular websites and has crept into corners like marketing sites and blogs. I’m increasingly skeptical of it.
Projects
Tom MacWright tom@macwright.com Placemark A better map data editor Old Fashioned A peculiar cocktail recipe browser System Font Stack The opposite of web fonts Observable Helped build a better way to code.
The one about AI
Like everyone, I’ve been thinking about AI. It’s already useful, in a way that the previous big thing, crypto, wasn’t. I don’t think it’ll become generalized AI - I think the AI winter cycle is the base case and human-like intelligence is qualitatively different than LLM, no matter how many terabytes of training data you throw at them. But that isn’t what this article is about. No, it’s about other stuff, particularly technological change, happiness, and craft.
On Placemark
Yesterday, I announced that I was joining Val.town, but that Placemark lived. And I haven’t really given an update on Placemark, the product and business, in a while. Writing about an operating business is a different thing that writing feature announcements or essays about technology: the ramifications of honesty, spin, or disclosure are so much more vast and unpredictable.
Playing with ActivityPub
ActivityPub, WebFinger, and Mastodon are getting some attention because of chaos at Twitter It’s anyone’s guess how this all shakes out. As an active user of Twitter, it’ll be sad if it goes away. But in the meantime, let’s have some fun with ActivityPub. ActivityPub Under the hood, there’s ActivityPub, WebFinger, and a number of other neat standards like JSON-LD, but for most people, they’re using Mastodon, the application.
Hacker News
Tom MacWright tom@macwright.com Here’s some new JavaScript on this website. It’s the only JavaScript on most pages, which are otherwise pretty minimal. try { if (document.referrer) { const ref = new URL(document.referrer); if (ref.host === 'news.ycombinator.com') { window.location.href = 'https://google.com/'; } } } catch (e) { } That snippet redirects people who arrive at macwright.com from Hacker News. If you’re lucky, you end up being good at a few things.
Vendor by default
This isn’t a recommendation. It’s more of a habit that I’ve acquired recently. If this makes its way to Hacker News and people think how could he, my only response will be 🤷, why not. I’ve been building a thing, in JavaScript, an application sort of like things I’ve built in the past. With the same basic goal of making something useful. How I get to that goal is flexible.
Tidbyt: a review
This is about the Tidbyt, a hardware display device I bought and am using to show some numbers and charts in my apartment as ambient data. I think it’s pretty cool. Alternative display hardware I really like alternative display technology. eInk displays, unlit LEDs, like on my AlphaSmart, or flip-disc displays, vane displays, split-flap displays - I wish it was all more widespread.
Using files with browsers, in reality
This is a post about new APIs that browsers have to read & write files, and how I’m using them in Placemark. Files The meaning and importance of the file has shifted a lot in the last decade. The Verge wrote about how students today don’t have a grasp on how files and folders work - or they have a very good understanding of the norms of storing information in the cloud, but not on their local computers.
Indie bookshelves
I recently attended an IndieWeb pop-up session on distributed libraries. It was thoroughly refreshing. I’ve been spending far too much time building a startup, reading about startups, being in the loop. My friends will tell me about an eight million dollar funding round and I’ll say “oh, that little, for a 2022 Series A?” I need perspective, a break, a breath of fresh air. The thing about IndieWeb is that it’s still a place where people and ideas matter.
Development notes
So in the course of working on Placemark, I’m solving a lot of small problems that are each too small and niche to merit their own blog post. But I hate letting things go unwritten, so here they are, smorgasbord style. Getting Tailwind and Radix to play nice together I’ve been using Tailwind for Placemark’s CSS foundation, and Radix for many of its UI components. This mostly works great, because Radix makes it easy to style your own components.
Sharing in the presence of computers and corporations
In high school and college, I was a big fan of the Creative Commons. I even had a shirt with the copyleft logo on it. The idea of freely sharing creative works, to be recombined by a community, was exhilarating: I would contribute raw materials to the collective - photographs, code, writing - and recombine the works of others, in Photoshop competitions or remixes. Practically every photo I’d license as CC-BY-SA.
In defense of verification
In lieu of a follow-up to my last IPFS post, here’s why I’m not writing that post.
JavaScript replacements for Python data science tools
Learn new data visualization techniques. Perform complex data analysis. Publish your findings in a compelling document. All in the same tool.
lon lat lon lat lon
Geospatial software has a fundamental inconsistency: which order we put longitude and latitude in. Below, a table of each format and technology's decision, and below that, some explanations.
Hacking is the opposite of marketing
One of my favorite definitions of “hacking” is the creative reuse of tools for new and unexpected purposes. Hacking is using your email account as a hard drive, using your bicycle seat to open a beer, using Minecraft’s red bricks to create a calculator in the game. The opposite of hacking is marketing. Marketing tells you that this particular non-stick pan is the pan you’ll use to make omelettes, and you’ll do it in the morning dressed in fashionable clothing in a nice kitchen.
Two Wishes for Dev Tooling
A few days ago, Simon Willison wrote a great post about PAGNIs, inspired by another post about YAGNI exceptions. I thought both were great, especially the bits about developer tooling. I’ve set up certain parts of tooling for teams multiple times - continuous integration, unit tests, code quality tools, continuous deployment - and every time it has been positive ROI, even counting the tears shed trying to keep front-end continuous-integration tests running.
The return of fancy tools
Technology is seeing a little return to complexity. Dreamweaver gave way to hand-coding websites, which is now leading into Webflow, which is a lot like Dreamweaver. Evernote give way to minimal Markdown notes, which are now becoming Notion, Coda, or Craft. Visual Studio was “disrupted” by Sublime Text and TextMate, which are now getting replaced by Visual Studio Code. JIRA was replaced by GitHub issues, which is getting outmoded by Linear. The pendulum swings back and forth, which isn’t a bad thing.
The new reading stack
Books are amazing, but the options we have to buy books and track our reading are terrible. A lot of us are locked into the Amazon ecosystem - buying books on Amazon.com, reading them on Kindles. Sites like AbeBooks and Goodreads were quietly acquired by Amazon. Even LibraryThing is now part-owned by Amazon.
Blob melt
Blob melt Okay, so what is this? Yesterday on Hacker News (forgive me), I saw Taichi, a computer graphics library. One of the demos looked a lot like this spectacular GIF that has been passed down through the generations. So I was inspired to try and recreate a similar look.
Everything is fine with JavaScript
this is the only paper that’s willing to tell the truth: that everything is just fine. There’s a sort of blog post you’ve probably read - a sarcastic stab at JavaScript and npm and frameworks. There are too many, it’ll say, and it’s confusing, and how did we make such complicated things? It’ll grab names from the ecosystem and present them as equal choices in a comic attempt to construct decision paralysis. Everything moves too fast, and there is too much of it.
A clean start for the web
The web is in need of some reinvention right now. The web’s evolution over the last decade has mirrored the American economy. All of the essential indicators are going “up and to the right,” a steady stream of fundamental advances reassure use that there “is progress,” but the actual experience and effects for individuals stagnates or regresses. The crisis affects platforms, creators, and consumers alike. I’m going to try and dissect and diagnose this situation, a bit.
The simplicity of dropping Google in 2018
A few months ago, I stopped using Google for everything personal: I switched from Gmail to FastMail for mail and calendars, and that was the end of the era. I remember how incredible Gmail was in the early days - I signed up when it was still ‘in testing’ around 2005 and you needed an invite code to get in. All of the previous systems had such low quotas that you’d constantly delete mail. The search functionality was so bad that you’d have to organize everything manually.
Ethics in Geo
This year I was invited to speak at FOSS4G, the premier conference for open source geospatial tech. Then, of course, everything happened and the conference isn’t. It’s a pity – I was really excited for it and very thankful that the organizers were willing to take a chance on me, despite my several years of remove from the industry. I had chosen a topic that’s near to my heart and also might benefit from a little distance.
Second-guessing the modern web
The emerging norm for web development is to build a React single-page application, with server rendering. The two key elements of this architecture are something like: The main UI is built & updated in JavaScript using React or something similar. The backend is an API that that application makes requests against. This idea has really swept the internet. It started with a few major popular websites and has crept into corners like marketing sites and blogs. I’m increasingly skeptical of it.
Second-guessing the modern web
The emerging norm for web development is to build a React single-page application, with server rendering. The two key elements of this architecture are something like: The main UI is built & updated in JavaScript using React or something similar. The backend is an API that that application makes requests against. This idea has really swept the internet. It started with a few major popular websites and has crept into corners like marketing sites and blogs. I’m increasingly skeptical of it.
Math keeps changing
This is a written version of a talk that I gave at WaffleJS in February, which itself was an expansion of a Twitter conversation from October. Okay, so it starts with my delayed math education. As part of my Computer Science program, I had access to world-class math professors, access that I mostly wasted. I didn’t like math: the topics were so removed from practice, and I was already frustrated by the highly theoretical, and – I thought at the time and mostly still do – out-of-touch CS program.
Prepper-style music hoarding
This is how I manage my music collection. It isn’t the most convenient way, or the most popular. Don’t consider this a recommendation or best-practice: it’s what works, within the bounds of my increasingly-unpopular preferences. It’ll make a little more sense if I explain those preference up front, so I will. The Theory I don’t believe that any technology company in the music industry will survive in the long term. That means Spotify, but even more it means Spotify competitors.
Flag animator
An Observable notebook by Tom MacWright.
Enigma machine
The Enigma Machine The Enigma Machine was one of the centerpoints of World War II, and its cryptanalysis was one of the stepping stones from breaking codes as an art to cryptography as a science.
Beware the ethical car
On Tuesday, Lyft released a dataset for self-driving car development, along with a blog post. Here’s a snippet: Avoidable collisions, single-occupant commuters, and vehicle emissions are choking our cities, while infrastructure strains under rapid urban growth. And that translates to an efficient ecosystem of connected transit, bikes, scooters, and shared rides from drivers as well as self-driving cars. Solving the autonomous vehicle challenge is not just an option — it’s a necessity.
The simplicity of dropping Google in 2018
A few months ago, I stopped using Google for everything personal: I switched from Gmail to FastMail for mail and calendars, and that was the end of the era. I remember how incredible Gmail was in the early days - I signed up when it was still ‘in testing’ around 2005 and you needed an invite code to get in. All of the previous systems had such low quotas that you’d constantly delete mail. The search functionality was so bad that you’d have to organize everything manually.
IPFS, Again
In 2017, I wrote how to decentralize your website with IPFS. I wasn’t able to do it back then. Two years later, a few things have changed. Instead of 52 million dollars, Protocol Labs has about 257 more, bringing the total over 300 million dollars. The kind of money where you start giving money away and hiring top-tier talent.
Dear map people
Dear map people, Routing is the most powerful tool we have to reduce the environmental impact of driving, make cities quieter, safer, and more livable, and fight congestion. And you are blowing it. This might be because HERE, the number two provider of map technologies, was bought by a bunch of car companies. Or because Google is headquartered in the suburbs. Or that the financial world is fixated on opening the pandora’s box of self-driving cars.
Convert KML to GeoJSON
Convert KML to GeoJSON Use toGeoJSON to convert a KML file to GeoJSON. Showcases our brand new super-quick cell download feature. viewof kml = file({ title: "KML", description: "Pick a KML file to convert to GeoJSON.", accept: ".kml", multiple: true }) Output GeoJSON Check out the generated GeoJSON below. Click ⠇ on the left and Download JSON to download it.
Cocktail similarity
Cocktail similarity I was recently figuring out a minimum-viable bar setup for making cocktails at home, and a system for memorizing & recording recipes. When I started writing down the first basic ingredients, I started noticing that cocktails are very close to each other - if you ignore fruit rinds and ice and such, an Americano is a Negroni with soda water instead of gin. An Old Fashioned is a Manhattan with sugar instead of vermouth. So I wondered - what’s a cocktail edit distance?
Introducing Mapbox Studio – Points of interest
By Tom MacWright Today we’re inviting everyone with a Mapbox account to create amazing cartography and advanced visualizations with Mapbox Studio. This is a turning point: a system for cartography that’s powerful but easy to use and produces maps optimized for mobile applications and the modern web. Mapbox Studio is the axis of Mapbox’s ecosystem: every style is optimized for use with our mobile & web SDKs and ready to be extended with our APIs for developers, like geocoding and directions.
AWS Product Generator
AWS Product Generator html`<div style='display:flex;align-items:center;background:#f1f4f6;border-radius:10px;'>${randomLogo()} <h2 style='font-size:6vw;'>${name}</h2></div>` viewof another = { let button = html`<button style='cursor:pointer;background:cyan;font-size:30px;font-family:chalkduster;border:0;padding:5px;outline:0 !important;'>Another!</button>`; button.addEventListener("click", e => { button.style.background = pick([ "cyan", "magenta", "yellow", "orange", "pink" ]); }); return...
Hello, HTM & React
Hello, HTM & React Ref.
Glow
The iPod Shuffle was a music player with no display. Mostly you’d use it for its namesake: shuffling a library. It contained a set amount of music, stored on a memory chip. It didn’t connect to the internet: you plugged it into a computer using a headphone-to-USB cable. There were also GPS watches that didn’t glow, and that didn’t require your attention. They used LCD screens, and though some had backlights, the only reason you’d use the light is if you were running at night.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Tom
Contact Tom, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack