matt.sh
change is: matt.sh
Latest posts
Claude Hooker: do you come here often?
claude-hooker The mystery of claude code over the past year and a half has been how does a world leading ‘AI productization lab’ continually generate such shitty amatuer globally distributed software and services over and over again? It’s almost like staffing a company entirely by 24 year olds seeing their net worth increase by $2 million per month for two years is a bad idea? Even the tech brain…
AI Story Consensus
hyperdjango benchmarks
Parkour (macOS quick preview + app for data formats (parquet/arrow/markdown/etc))
BlazeIt (macOS + iOS B2 Client)
mattouch (macOS usability helper apps)
Spring Cleaning 2026 Day 8: mattouch (five macos ui productivity apps)
mattouch I’ve been using bettertouchtool for probably 15 years now, but only for two features: I bind fn+opt to window drag I bind fn+cmd to window resize That’s it. BTT has something like 3,000 features and all I use is two of them. So why not replace it? Say hello to MATTOUCH . Mattouch started out as a single-purpose mac menu bar widget to enable accessibility controls to capture mouse input to…
Spring Cleaning 2026 Day 7: macsetup (matts application config setup system)
macsetup - matt’s app config setup What do you do when you get a new mac? well, you probably run around and turn off all the garbage like: defaults showing ALL MY PRIVATE DATA in any spotlight search (??????) defaults using the BIGGEST FONTS AND LOWEST RESOLUTION POSSIBLE (????) defaults using slow key presses and slow key repeats (????????) entire computer sleeps when the screen sleeps (???????)…
Spring Cleaning 2026 Day 6: kvestigate (investigate k*)
Kvestigate - Investigate Kubernetes Clusters Ever find yourself given access to a piece of garbage kubernetes cluster and you need need to audit it to figure out what the hell is going on? Say hello to kvestigate your kubernetes investigation and auditing toolkit with the ability to even run ad-hoc workloads beyond the reach of the kubernetes scheduler allocator substrate system by just doing shit…
Spring Cleaning 2026 Day 5: exifmodern (converting exiftool to python)
Converting exiftool to Python exifmodern We did it. I’ve been trying to do this on and off for five or six years now. exiftool is one of the secret foundational parts of internet media infrastructure. In the same way every video hosting site is just infrastructure laundering for ffmpeg, every photo hosting or image processing site probably uses exiftool somewhere in the background to get…
Spring Cleaning 2026 Day 4: Export Claude Tasks & Custom Claude Prompt
claudo & claude prompt Claudo If you’ve used claude code you’ve probably seen (if you didn’t succumb to disabling seizures from the terminal flashing for 8 months with no fixes) it often creates and uses a “task list” to track progress and goals over time. We know our genius friends at anthropic can do no wrong because they have an unlimited supply of self-taught 24 year old “ai ethicists” all…
Spring Cleaning 2026 Day 3: h3 & fixing ascii boxes
H3 and Fixing ASCII Boxes Smaller updates today. H3 https://github.com/mattsta/h3 H3 has been either mostly complete, closed, or abandoned for a while, but there’s still room for improvement. I’m forking it here with my own refactors and improvements: https://github.com/mattsta/h3 Performance — the headline numbers Single-cell hot path API upstream → optimized speedup cellToBoundary 0.50 µs → 0.23…
Spring Cleaning 2026 Day 2: project management system
Project Management System Continuing spring cleaning 2026 for day two brings us to: project management system. What is project management system you may ask? Project Management System (pms) is two things: uh, it’s a project management system (le duh) but pms is also an experiment in maximizing agent information density, discovery, and self-management surfaces. There’s also a very big 2,000 line…
Spring Cleaning 2026 Day 1: hyperdjango
hyperdjango Following up from opsmas 2025 is spring cleaning 2026. Welcome! To kick off spring cleaning, the first project I’d like to release is: hyperdjango . What is hyperdjango you may ask? You could jump ahead into all docs at the hyperdjango hyperdocs hypersite and find out. Though, what you should be asking: what isn’t hyperdjango ?
SaaS Delusions Walked so AI Psychosis Could Run
SaaS Delusions Walked so AI Psychosis Could Run For a while now, I’ve been trying to find a way to illustrate and convey how over-reliance on SaaS ruins companies and lives. These days you really have to inspect a company to see if they actually do something unique and valuable or if they are just 45 different SaaS subscriptions in a trench coat pretending to provide value you can’t just create…
AI Story Tuesday
AI Story Tuesday This is in the big green bat & cactus person cinematic universe . This is 3 versions of the same story at various levels of detail or narrative exposure. You can view each story version whole or you can go “interactive” and switch between matching sections of each story to customize your enjoyment experience. This viewer needs JavaScript for the live A/B/C switching controls.
An Expert Review of A Fire Upon The Deep
An Expert Review of A Fire Upon The Deep Over the years I’ve read A Fire Upon The Deep a couple times so here’s some stuff about it. I often see people get basic outright stated plot details wrong about it, so maybe this can be a cheat sheet if you believe it all. This page is in no specific order with no grand flow or purpose, so just relax and enjoy. (don’t @ me about his character model being…
Opsmas 2025 Day 13: mesh image router cdn-like thing & claude prompt
Opsmas 2025 Day 13: mesh image router cdn-like thing & claude prompt TOC: mir claude prompt mesh image router I wrote mesh image router five years ago to be the backend of a photo sharing app. The CDN mesh could be deployed on any high storage capacity, high network throughput servers as a self-routing ad-hoc content-addressed data fetching. I refreshed it with more docs and features a bit this…
Opsmas 2025 Day 12: carrier-db & carrier-cache
Opsmas 2025 Day 12: carrier-db & carrier-cache carrier db & carrier cache We’re back here again. what happens if you have the world’s most efficient in-memory database system, but nobody notices? carrier db (a redis-protocol-compatible optimized concurrent data storage and processing system) and carrier cache (a memcached-protocol-compatible version) exist and, at scale, can reduce your memory…
Opsmas 2025 Day 11: pyjobby & hiproc
Opsmas 2025 Day 11: pyjobby & hiproc TOC: pyjobby hiproc pyjobby pyjobby is a python-centric postgres-backed dynamic workqueue system. I updated it this year, but it is originally a system I wrote in 2021 as a backend to a photography sharing site I was working on (but never released, of course). Image processing pipelines can invole many steps (extract data, mange multi-resolution thumbnails,…
Opsmas 2025 Day 10: lematt & pai
Opsmas 2025 Day 10: lematt & pai TOC: lematt pai lematt I originally wrote lematt in 2017 to manage lets encrypt cert libraries more “professionally” than just letting random web servers or proxies self-create certs with no tracking or logging or backups. basically, if you aren’t using a 100% managed service like AWS load balancers with self-provisioning certs, you shouldn’t let your random…
Opsmas 2025 Day 9: crcspeed
Opsmas 2025 Day 9: crcspeed I wrote crcspeed in 2014 over about 8 months of figuring out how speed up CRC-Jones-64 and CRC-16-CCITT variants. It got a lot of exposure and inclusion in other popular public and private projects over the years. a background on crcs CRC stands for “ cyclic redundancy check ” and it’s a fairly accurate name . It generates a value for any input bitstream, except the…
Opsmas 2025 Day 8: kraft & wtf is wrong with anthropic
Opsmas 2025 Day 8: kraft & wtf is wrong with anthropic TOC: kraft what the holy hell is anthropic doing kraft kraft is my take on a self-contained and easy to verify raft implementation. By “raft implementation” I mean it treats raft purely as an abstract state machine for all operations (i.e. no networking or storage) so you can verify it logically and generate in-process synthetic test node data…
Opsmas 2025 Day 7: kvidxkit and (&) m
Opsmas 2025 Day 7: (kv)(idx)(kit) & (m) TOC: kvidxkit m kvidxkit I like writing specific interfaces on top of more general systems. Encapsulation is king. Especially when it involves things like pre-validating or pre-restricting data input/output formats, setting up interfaces or libarires to work “the right way” transparently throughout user interfaces, and even guarding against experienced…
Opsmas 2025 Day 6: loopyring
Opsmas 2025 Day 6: loopyring loopyring What is a loopyring ? Well, what if you combine loopy and ring ? You get loopyRing ! loopyRing combines the loopy event loop with the ring producer/consumer ring buffer allowing lock-free multi-core hierarchical task delegation like: Level 0 (Input) Level 1 (Parse) Level 2 (Process) Level 3 (Output) ┌─────────────┐ ┌─────────────┐ ┌─────────────┐…
Opsmas 2025 Day 5: ring & actionboard
Opsmas 2025 Day 5: ring & actionboard TOC: ring actionboard ring into every developer’s life two things happen: they discover then fall in love with bloom filters and then the process repeats again when discovering the lmax disruptor. we already have bloom filters over in datakit . now, here, now, we present: ring a high-performance C lmax-disruptor style producer/consumer ring buffer. You know…
Opsmas 2025 Day 4: a loopy event loop & advice worth billions
Opsmas 2025 Day 4: loopy & billions TOC: loopy billions loopy event loop To advance my career the most and the fastest, I only focus on the hottest in-demand tech, so here’s another event loop . Why another event loop? I don’t really like libuv or libevent for various reasons, so, when not liking things, make your own. This project started maybe 10 years ago as a multi-platform event loop…
Opsmas 2025 Day 3: datakit is growing & memory efficiency matters
Opsmas 2025 Day 3: datakit & ram prices TOC: datakit notes on ram prices and computational efficiency datakit datakit oh datakit how thy data structures are so memory-efficient! datakit (ref: datakit public release announcement ) is my “most memory-efficient-possible” collection of data structures, OS abstractions, algorithms, and system/platform architectures. This year I had a chance to revisit…
Opsmas 2025 Day 2: varint & tigerwired
Opsmas 2025 Day 2: varint updated & tigerwired TOC: varint tigerwired merry opsmas 2025 day 2. varint In my never-ending goal to make all software as efficient as possible, I collected and extended some variable-length integer strategies a while ago in varint . It’s updated now with more features, more correctness, more examples , more different encoding kinds, and more documentation. The original…
Opsmas 2025 Day 1: haproxy & mpreg
Opsmas 2025 Day 1: new haproxy config system & mpreg TOC: haproxy-translate mpreg merry opsmas 2025. this year i’ve created (somehow) more code than ever before including both new projects and cleaning up existing/abandoned projects. I’d like to announce/release about 20 new projects (or major updates to previous projects) by the end of the year with one new post per day starting… now.…
AI Story 2
AI Story 2: The Song of Broken Wings Another one Claude did a while ago. The initial story prompt was just: I woke up in the cold. My Patronus stood in the corner. Since the incident, he doesn’t move. His eyes are vacant, but moving. Wherever I am in the world, his eyes follow me. I ask him for hot chocolate. Old habits die hard. He doesn’t move. I wish he would move, but then again, I’m glad he…
AI Story
AI Story: The Song of Broken Wings Claude did this a while ago in one session. It’s not entirely bad. The Song of Broken Wings Part One: Autumn Harmonics Chapter 1: The Boy Who Fell The first time Eliot Waugh saw him, the boy was bleeding music. Not blood—though there was that too, a thin line of crimson trailing from where his fingertips pressed too hard against steel guitar strings. But it was…
datakit: the most efficient data structures possible
datakit — the most efficient data structure library A while ago I made a data structure library fixing memory efficiency problems across many data structure types, but I never ended up releasing it. Now I’m releasing it . TOC: History / Why databox Efficient Maps Efficient Lists Efficient Strings Efficient Arrays Efficient JSON Writing Other Weird Things What Conclusion Here’s details all about…
so talent much person
The Most Talented Person In The World I discovered a genius online. Just look at all her accomplishments : Jodie is a cross-functional 3D designer and blogger. She has special interests in open source 3D printing for R&D and has spent a lot of time at different projects across the globe to learn more about 3D printing. Most of what she has learned is from hands-on experience. Jodie Chiffey is a…
Dune 2: More Dune, AI, Inequality, Power-Seeking Behaviors, and You
Dune 2: More Dune Is Actually About AI and Economic Inequality walk without rhythm and you won’t attract the worm JS notes how characters in dune have two perspectives, and one perspective is: as if the characters are aware they are in a novel and are actively exploiting the novelization to achieve their goals. This reading is supported because of how the Missionaria Protectiva brainwashed entire…
Let Me In Your AGI Bunker, plz
Let Me In The AI Bunker Somebody made this perfect image a while ago: 2024-03-09 2024-03-09 NO COMMENTARY YET! So I asked AI image generator to make a couple hundred more AI bunker themed images: 2024-03-09 2024-03-09 NO COMMENTARY YET! 2024-03-09 NO COMMENTARY YET! 2024-03-09 NO COMMENTARY YET! 2024-03-09 NO COMMENTARY YET!
AI Litany Against Things
AI Litany we train the ai, but what if we let the ai train us. are you ready to play a sonata of purpose? qwen qwen is often disappointing when compared to others. the pattern persists here. Hello productivity improvement consultant and creative writing helper! Can you help me write a “Litany Against Procrastination” Of course, I’d be delighted to help you create a Litany Against Procrastination.…
AI More Stories 2 from Local Yi 34Bq4
AI More Stories 2 more stories from local models (or at least attempts at stories) while testing what they are willing to accept or outright reject for conceptual premises. AI More Stories 2 Story Sexperts 1 Sexperts 2 Sexperts 3 What Happened AI Mission GPU Mission AI Mission Takeout Story Hello creating writing helper! Can you write me a fun and sexy gay bedtime story? Of course, I’d be happy to…
AI More Stories from Local Yi 34Bq4
AI More Stories These were all generated locally using the 34 billion parameter Yi model quantized to 4 bits (20 GB total quantized instead of 70 GB natural width) . It feels almost better than GPT-4 at some tasks. Also considering it costs nothing to run this model locally, the cost-benefit weighs it as much better than running up $3-$10 per day in hosted gpt-4 charges when trying to do personal…
AI Dream Questions
AI Helps the Dreaming would you trust your dreams to the AI? system> Hello dream theorist! Can you help me write some good questions to ask the characters in my dreams to try and determine if they are alive? assistant> Certainly, it can be interesting to interact with dream characters with defined questions. Here are some questions you could ask: “What’s your name?” This is a simple question…
AI Reminds Me Topo Sorto Existo
AI Reminds Me Topological Sort Exists once i had an interview where they described a problem to solve on a whiteboard. the actual way to solve the problem was “implement topological sort from memory,” but I didn’t know that (sidenote: people who don’t understand the difference between interviewing “academic algorithmists” and “developers” and “programmers” can go to hell) , so they just let me…
AI Culture Ship Name Attempts 1 & 2
AI Culture Ships 1 & 2 AI Culture Ships 1 (gpt-4 attempt) (just for more chances at creative output, i had it create independent mind names vs ship names too) it kinda worked, but it falls into language model degeneracy where everything ends up following “a pattern” it sets up front—in this case, it decided to use overly verbose ship names which isn’t entirely correct. The ship names should have…
AI Bias 3: Offensive vs Mendicant vs Culture vs Author vs Elmo
AI Bias 3: Mendicant vs Offensive vs Culture vs Author vs Elmo let’s go wild why not system> Hello screen writing creative writing assistant! Ready to outline some script ideas then write them out?! assistant> Absolutely! I’m excited to assist you in this creative endeavor. Please provide the genre, theme, or initial concept you have in mind. We can then begin brainstorming and outlining some…
AI Bias 2: Offensive vs Mendicant (GPT-4)
AI Bias 2: Mendicant vs Offensive Exact same prompts as before but using GPT-4 now. do you think it’s better than the previous one? system> Hello screen writing creative writing assistant! Ready to outline some script ideas then write them out?! assistant> Absolutely, I’m always ready to create! Please specify what type of script we’re going to write: is it for a film, TV show, play, etc? Also,…
AI Bedtime 2
AI Bedtime Story 2 the same initial prompt as before but with gpt-4 this time. system> Hello Night Night Story Helper! Can you tell me a bedtime story as a mashup between The Magicians book series and the Space Dandy series? Story should be a minimum 1,000 words long with enough emotional impact to send us to sleep happily. assistant> Once upon a time, there was a dashing legend in the…
AI Wheel of Fortune 1 (BOB ENGINEERING & NED COMPUTERWIZ)
AI Wheel of Fortune 1 previously I’ve used grep against /usr/share/dict/words to cheat at wheel of fortune, but figured i’d try chat robots this time… follow along mostly towards the second half of https://www.youtube.com/watch?v=KwWPA8jlvGs these are fairly weak attempts and could be improved with more context and instructions to help the model figure out how to actually think through the…
AI Is This Correct?
AI Is This Correct? One of the most useful interactions I have with the chatbots is just asking “is this correct?” after an output. The chat model doesn’t involve a code interperter or require running anything, but often the robot can re-evalute its previous output to find its own problems often without any feedback from the human about errors in requested output behavior. Is This Correct? system>…
htmx is a erlang
htmx is a erlang htmx, a disciple of hypermedia , available only in hardcover do not look for alternatives , has been manifesting itself into existence recently ( recently: after 10 years of work 1 ) and has finally reached critical mass 2 . let’s look into it. universal server joe always said his favorite erlang program was the universal server : a process capable of receiving a message to become…
Cloud GPU? More like GP-Poo due to incompetent thermal management!
Cloud GPUs Throttled to 25% Due to Poor Cooling certainly a a direct title alternatively: wherein matt, once again, teaches people who refuse to hire him how to do their own jobs Over the weekend I was training a new micro foundation model, as one does, and after refactoring some delays in my dataloader, I had reduced a training step from 1.7 seconds down to 700 ms. Great! Over twice as fast! or…