Parse, Don't Validate – In a Language That Doesn't Want You To
Applying Alexis King's parse-don't-validate principle in TypeScript, where the type system fights back just enough to be annoying.
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,267 posts.
Applying Alexis King's parse-don't-validate principle in TypeScript, where the type system fights back just enough to be annoying.
I’ve always wanted an ARM server in my homelab. But earlier, I either had to use an underpowered ARM system, or use Asahi which not only requires expensive Mac hardware but also slowed down in the past few years.
Discover the hidden story of the first genesis block of Bitcoin
The United States was born of a desire to leave behind monarchial government and instead live under a republic. Although the structure of the United States was explicitly crafted to have both …
I’ve been passionate about writing “Good Code™” since before I started my career, beginning way back when I was still a kid in middle school.
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
Splitting code into files can scatter related logic. Jimmy Koppel on cognitive load, design reconstruction, and a third way to organize code.
The people who live in a Golden Age usually go around complaining how yellow everything looks. – Randall Jarrell
A beloved hometown impersonator had no idea what he was signing up for with this photoshoot.
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
There is a classic thought experiment in the field of artificial intelligence which is often used to explain how an AI might inadvertently cause the destruction of humanity as a by-product of tryin…
Something fundamental has shifted in how power works, and most of our institutions haven't noticed. We're living through what might be called "leverage arbitrage divergence"—a growing gap between...
I do all my work in the terminal, so it has to be quick. How my zsh starts in 30 milliseconds without a framework, and how to measure where your own shell spends its time.
Asking Gemini 3 to generate Brainf*ck code results in an infinite loop, akin amost to a DDoS attack:
In astronomy and cosmology, dark matter is a currently-undetermined type of ...
We spent $85,000 for buttondown.com in April; this was the biggest capital expenditure I've ever made, and though it was coming from cash flow generated by B...
blog about networking, cameras, old gear, and xmpp
The current privacy debate is making things worse by not considering trade-offs, the inherent nature of digital, or the far bigger problems that come with digitizing the offline world.
flex and bison still work, but modern parser generators beat them on Unicode, grammar format, keeping code out of the grammar, and documentation. A point-by-point comparison.
Everything put into the building that is unnecessary, every cubic foot that is used for purely ornamental purposes beyond that needed to express its use and to make it harmonize with others of its class, is a waste — is, to put it in plain English, perverting someone’s money — George Hill, commercial real estate…
If there’s two sources of truth, one is probably wrong. And yes, please repeat yourself.
So Telltale Games is out of business. Like most of the rest of the industry – including the employees of Telltale – I had no idea this was coming. I looked at the popularity of their breakout hit The Walking Dead and the overall quality of some of their earlier adventure game offerings and just assumed this was a…
Back in April of last year, the speedometer failed in my ‘94 Explorer. Rather than hunting down a replacement cable and tearing apart the dash just to restore an old analog needle, I opted to build a digital replacement using a Raspberry Pi and GPS.
LedgerStore became a case study for DynamoDB, and system design publications keep praising it to this day. But the design was abandoned 3 years after it went live.