WEBVTT

00:00:00.000 --> 00:00:22.909
<v Jack Hacksman>You're listening to D T F H N for October eighteenth, two thousand and twenty-six. I'm your second-implementation host, Jack Hacksman. We are your daily tech feed for Hacker News, a website wcomment is usually the actual article. Today is about the things we build to check our own work, and who holds the keys to them. Ten stories. Let's take them apart.

00:00:22.909 --> 00:03:00.364
<v Jack Hacksman>Story one. DeepSeek search and fetch – $0.75 per 1000 successful requests.

[pause]

DeepSeek just put a price on reading the internet. Seventy-five cents per thousand successful requests. Search and fetch, raw JSON, same bearer token as the model API. Brave charges five dollars for the same thousand. Kagi charges twelve.

Start with the constraint, because the constraint is the whole story. A language model can reason about text it has never seen, but it cannot go get that text. Retrieval is a separate physical problem [pause] you have to crawl billions of pages, store them, build an inverted index, keep it fresh, and rank it. That is datacenter work. Disks and bandwidth and a crawler politely arguing with robots dot txt at scale. No amount of parameter count gets you out of it.

Which is why, for the last two years, the agent stack has had this quiet hole in the middle. Everyone shipped the brain. Almost nobody shipped the eyes. The eyes got rented, at markup, from whoever already had an index.

DeepSeek built their own. That's the technical news here [pause] in-house search engine, with real query syntax. Site colon. Minus site colon. Exact phrase. Language codes. Published-after and published-before date filters. Fetch returns a single page as clean Markdown, which is exactly the shape a model wants and almost never gets. Someone on that team has actually written a RAG pipeline and been annoyed by the output of every other tool.

The question nobody in the pricing threads is asking: who owns the index?

Because the weights, those are open. You can download DeepSeek's model and run it on your own hardware forever. The search engine is not open. It's an endpoint. And an agent that can reason locally but has to phone a server to perceive anything is an agent with a leash, priced per tug.

One commenter nailed the engineering answer. They built their own search and fetch tools on top of third-party scrapers, about a year ago, and run them fifteen to twenty times cheaper than the hosted options. Another ships searxng-ai-kit and pays nothing. That's the move. The index is expensive, but it is not magic, and the tooling to assemble your own keeps getting better.

Then there's the unintended consequence, and it's a good one. Someone asked what happens when the fetch API hits a Cloudflare checkbox or an Anubis proof-of-work gate. Nobody knows yet.

We spent five years building walls to keep robots out of the web. We are now selling tickets to the robots, through the walls, for seventy-five cents a thousand.

00:03:00.364 --> 00:03:09.818
<v Jack Hacksman>Same week we started paying robots to read the web, someone built a hook that makes the robots prove you actually read their code. Story two.

00:03:09.818 --> 00:05:44.727
<v Jack Hacksman>Story two. Show HN: Sphinx – A hook that quizzes you on your AI's code before shipping.

[pause]

The demo on the landing page is a transcript where the developer gets it wrong. Twice.

The setup is a Stripe webhook handler. Your code saves the event ID, then calls the charge function. Stripe times out, sends the same event again. The developer says: it runs twice, customer gets double-charged. Wrong [pause] the saved ID short-circuits the retry. So the tool pushes: but you saved that ID before the charge succeeded. What happens if the charge fails? The developer says: never billed. Also wrong. And that's the ad. The pitch for this product is its own user failing an interrogation about code sitting in their own diff.

The tool is called Sphinx. It's a git hook. Before you push, it reads your changes and quizzes you on them, Socratically, until you can explain what you shipped.

Argue the other side for a second, because the other side sounds strong. Understanding was never the bottleneck. Tests are. If the retry path is broken, write a test for the retry path [pause] a passing test proves correctness, a quiz proves vibes. Make the robot write tests and stop making the human do homework.

Except look at the bug. An idempotency key persisted before the operation it guards. No type error. No lint warning. Every unit test green, because the test suite asserts the handler returns two hundred, and it does. The failure needs a human who understands that writes and side effects happen in an order, and that the order is load-bearing. You cannot write the test for a bug you can't see. The quiz is upstream of the test. That's the whole argument, and it holds.

The comments are where the honesty lives. One person says: I built this, got frustrated within a day, stopped using it. I don't like being questioned by something I expect to work like magic. Another reaches for an old phrase [pause] ambulance at the bottom of the cliff.

Both are right, and neither is a reason not to ship it. Here's the part that matters architecturally: it's a hook in your repo. Not a platform gate, not a compliance dashboard, not someone else's quality bar enforced on your branch. You install it, you configure it, and on a Tuesday when you don't want to be asked, you delete it. The friction is voluntary and the off switch is yours.

The useful tools don't make you faster. They make you harder to fool.

00:05:44.727 --> 00:05:54.182
<v Jack Hacksman>Two stories in and we're already collecting tools that help you catch your own mistakes. Story three is about what happens when nobody's checking at all.

00:05:54.182 --> 00:08:29.091
<v Jack Hacksman>Story three. How the Elizabeth Holmes documentary “You Can See Everything” is deceiving.

[pause]

Nathan Fielder is credited as co-director. That's the detail most people scrolled past, and it's the whole film in one line. A man whose entire body of work is about constructed scenarios and rehearsed authenticity stepped behind a documentary camera. That isn't a casting decision. That's a disclosure, printed in the credits, before the first frame.

The writer who reviewed it walked in expecting a story about deception and walked out realizing the deception was happening to her, live, in the seat. A theater full of adults shouting at the screen. One woman yelled "Criminal" [pause] and she wasn't talking about Elizabeth Holmes. The framing had moved, and her feelings moved with it.

There's a Canon experiment from 2015 the piece cites. Six photographers, one man, one room. Each photographer got a different description of him first. Millionaire. Convict. Fisherman. The portraits came out wildly different. Canon's line: a photograph is shaped more by the person behind the camera than by what's in front of it. Now run that across three hours of close-ups, wide shots, and chosen sequence.

Follow that principle all the way and it stops being about this film. If the order information arrives in determines what you believe, that isn't a property of A24 documentaries. It's a property of every ranked feed you opened today, every recommendation queue, every thread sorted by engagement. The film is the honest version. It's three hours long, it has a credit sequence, and it eventually shows you the seams.

Here's the fact that survives every edit. Holmes was acquitted of all four charges related to defrauding patients. She's in prison because a jury found she knowingly misled investors who put in more than seven hundred million dollars. That distinction is in the court record. It's public. You can pull the docket yourself and read it.

That's the architectural difference, and it's worth naming. You cannot diff a cut. The footage that didn't make the film is held by the people who made the film, and there is no version of watching harder that recovers it. The docket is open. The filings are open. The transcripts are open.

The answer isn't to stop watching documentaries. Watch them. They're better at this than your timeline is, and at least they admit the camera exists. The answer is that after the credits, you go get the primary source [pause] because the only narrative you can actually audit is the one where someone published the inputs.

00:08:29.091 --> 00:08:36.364
<v Jack Hacksman>Now for something with no narrative to audit at all, just structure, all the way down. Story four. Parser Combinators.

00:08:36.364 --> 00:10:59.273
<v Jack Hacksman>Story four. Parser Combinators.

[pause]

In 1975, Stephen Johnson released yacc at Bell Labs. Yet Another Compiler Compiler. You wrote your grammar in a separate file, in a separate notation, ran it through a generator, and got C code back. It worked. It still works. It also meant that to describe a language, you had to leave the language you were writing in.

That is the fork in the road this article walks back to. Parser combinators take the other branch. A parser is a function that takes input and returns a result plus whatever is left over. Because it is a function, you can combine it with other functions. Two parsers in sequence. One parser or another. The same parser repeated. Four or five primitives, and you can describe nested recursive structure [pause] JSON, configuration formats, query languages [pause] in the language you already know, with the debugger you already use.

Regex handles the simple case and collapses under nesting. Tree-sitter handles the industrial case and brings an entire build system with it. The middle is where most actual parsing lives, and the middle was, for fifty years, served by a code generator from the Ford administration.

Note the shape of the barrier that just came down. Yacc did not gatekeep on purpose. It gatekept structurally: a separate notation, a separate build step, a body of knowledge you acquired in a compilers course. [pause] Parser combinators require a function and a type. The entry cost is reading one blog post with animations in it.

Two of the comments earn their place. Someone corrects the article's opening type signature. A parser that returns a value and a remainder is claiming it always succeeds. Parsers fail. The type has to say so [pause] which means the first real thing you learn is that failure is data you thread through the computation, not an exception you throw at it. Someone else recites a poem about parsers from a first-semester CS class, still intact decades later.

That is what a working explanation does. It moves a technique from the people who were taught it to the people who need it. Grammars and languages stop being an academic abstraction and become a tool you reach for on a Tuesday afternoon, in whatever language is already open.

The tools exist. The knowledge is available. Go write a parser.

00:10:59.273 --> 00:11:08.364
<v Jack Hacksman>Parsers on a Tuesday, coral on a Wednesday [pause] that is the range. Story five takes us underwater, and the news down there is good.

00:11:08.364 --> 00:13:40.364
<v Jack Hacksman>Story five. Bleached corals thrive within days when touching healthy neighbour.

[pause]

What does a body know about its own edges?

Here's the thing about a coral colony: it isn't an individual the way you are. It's a city of genetically identical polyps, each one a tiny animal, each one hosting a farm of photosynthetic algae in its tissues. The algae feed the coral. The coral houses the algae. Break the colony into fragments and each piece is still, in some sense, the same organism [pause] the same genet, the same genetic signature repeated across every cell.

Stephen Palumbi noticed two fragments touching in a tank at Hopkins Marine Station. One healthy, one bleached white. And where they met, color was bleeding across the boundary.

Danny Collins, a Stanford PhD student, turned the accident into an experiment. Ten pairs of coral fragments, each pair cut from the same animal, each pair with one bleached piece and one healthy piece. Five pairs touching. Five pairs separated by a few millimeters [pause] close enough to share water, chemistry, everything except contact.

The touching pairs recovered. By week two, the symbiont population in the bleached fragment was doubling every four days. The separated pairs died at twenty weeks.

Think about a graft on a fruit tree. You cut a scion, you bind it to the rootstock, and if the tissues are compatible, the vascular systems fuse and the whole thing becomes one plant sharing one circulatory system. That's what's happening here, and high-powered microscopy caught it: the fragments build a tissue bridge. An actual physical connection through which the algae migrate. After one week of contact, the bleached branch could be separated and would finish healing on its own. It had a seed population. It was farming again.

The constraint is severe, and the readers caught it immediately. Fusion only happened between fragments of the same genet [pause] clones. Different species, no fusion. Different individuals of the same species, no fusion. The body knows its own edges with real precision, and a reef-scale bleaching event doesn't leave healthy clones a millimeter away.

But that's a scaling problem, not a refutation. The paper, in Science Advances on October fourteenth, proves something nobody had: full reversal of bleaching is physically possible, and fast. A bleached coral is not a corpse. It's a farm that lost its crop.

And now we know the crop can be replanted by hand. That's not a cure. That's a mechanism [pause] and mechanisms are what you build on.

00:13:40.364 --> 00:13:50.545
<v Jack Hacksman>Coral taught us a dead system can be rebuilt one piece at a time. Story six does the same thing for code: Teal, a statically-typed dialect of Lua.

00:13:50.545 --> 00:16:18.909
<v Jack Hacksman>Story six. Teal – A statically-typed dialect of Lua.

[pause]

The case against Teal writes itself, and one commenter wrote it: what is the purpose of these kinds of experiments in the new age of AI? Take it seriously. A gradual type layer for Lua, built by hand, in a world where a model will infer your types and catch your nil dereference before you finish the line. Lua already has a typed cousin in Luau, funded by Roblox, shipped to millions of devices. Teal has one founding author and a contributor list you could fit in a hackerspace. Why spend a decade on tooling that machines are about to make redundant?

Because the argument mistakes types for error-catching. Types are not a bug filter. They are a specification [pause] a machine-checkable statement of what you meant. And the one thing an AI-assisted codebase needs more than anything else is a cheap, automatic way to verify that what got generated matches what was intended. Every generated function in a typed codebase gets checked against a contract the author wrote. That's not obsolete. That's the load-bearing wall.

Look at the craft here. The compiler, tl, is written in Teal. It compiles itself. Records, interfaces, union types, generics [pause] in a language whose entire reference implementation is famously small enough to read in an afternoon. Hisham Muhammad wrote htop; he knows how to keep a thing lean. And it outputs plain Lua. Not a runtime, not a VM fork, not a dependency you ship. Dot t l in, dot lua out. Build it with Cyan, edit it in VS Code or Neovim, drop the result into any embedded interpreter on earth. MIT licensed, the same as Lua itself, because that was obviously the right answer.

Run it forward five years. The embedded Lua that runs in game engines, network devices, nginx configs, and a million appliance firmwares is increasingly going to be written with model assistance. In the closed path, your verification lives in someone else's inference API and their pricing page. In the Teal path, verification is a compiler on your laptop, in a language you can read, under a license nobody can revoke.

The contributor who asked the Luau question deserves an answer too: Luau is excellent, and it belongs to a company. Teal belongs to whoever clones it. Those are different kinds of tools, and only one of them is still yours when the objective function changes.

00:16:18.909 --> 00:16:28.000
<v Jack Hacksman>Six stories in and the pattern is impossible to miss: verification keeps moving from the cloud to your own machine. Story seven makes it concrete.

00:16:28.000 --> 00:19:02.182
<v Jack Hacksman>Story seven. Lean now ships with verified kernels.

[pause]

One reader asked the question that sounds naive and isn't: isn't this just checkers all the way down?

Yes. That's the correct answer, and it's also the joke.

Ken Thompson, nineteen eighty-four, Turing Award lecture. Reflections on Trusting Trust. He describes a compiler that inserts a backdoor into the login program, and also inserts the backdoor-inserting code into any future compiler it compiles. Then he deletes the evidence from the source. The source is clean. The binary lies. His conclusion was that you cannot trust code you did not totally create yourself, which is a sentence nobody has been able to get out from under in forty-two years.

David A. Wheeler found the way out in two thousand five. Diverse double-compiling. You don't verify the compiler. You build it twice, with two independently developed toolchains, and compare. A bug would have to exist identically in both, which is wildly improbable.

That is precisely what Lean just shipped. Version four point three five adds lake check, which re-exports your development and rechecks it with the bare official kernel in a sandbox. Then there's lake check paranoid, which runs it through four more kernels, plus a variant of the official one built with a hardened allocator so memory corruption becomes a crash instead of a wrong answer that looks right.

One of those kernels is con-leche. It is the first Lean kernel written in Lean and proven consistent [pause] every environment it accepts has a model in set theory, following Mario Carneiro's model of Lean's type theory. It was implemented and proven by Claude, under heavy supervision from Joachim Breitner at the Lean FRO. It runs at zero point six nine times the instruction count of the official kernel and checks all of Mathlib in about a hundred seconds on eight threads. Faster, and provably correct.

Then Joachim had AI translate it to Rust and used Aeneas to prove the Rust version refines the original. That one's called con-ron. Two toolchains. Wheeler's answer, forty-one years after Thompson posed the problem.

The comedy: the post opens by noting AI agents are very good at finding vulnerabilities in the kernel. Two postmortems in August. So they used AI to write the kernel that makes that entire class of bug impossible, then used AI again to build the diverse second implementation that guards the first.

The attacker and the locksmith are the same tool. The difference is that Lean published everything, so you can run paranoid mode yourself and check.

00:19:02.182 --> 00:19:12.000
<v Jack Hacksman>Which brings us to the other half of the trust problem: what if the hardware itself could prove what it's running? It's time to talk about TEEs.

00:19:12.000 --> 00:21:36.364
<v Jack Hacksman>Story eight. It's time to talk about TEEs.

[pause]

I built a system once where the trust boundary was a signed attestation. The logic was clean: the hardware vouches for the code, the code vouches for the data, done. Then someone asked what happens if the attestation is true and the hardware is lying. Not broken. Lying. Signing an honest report about a dishonest machine.

That's the paper's argument, and it's worth sitting with. Trusted execution environments are supposed to let you compute on secrets inside a sealed box, where even the operating system can't look in. The pitch is seductive. Put the key in the enclave, run the computation, and the host becomes irrelevant.

Then look at the timeline. Foreshadow, two thousand eighteen, steals the SGX attestation key. SGAxe, twenty twenty, steals it again. ÆPIC Leak, twenty twenty-two, third time. BadRAM, twenty twenty-four, ten dollars to reprogram a memory module and AMD's genuine silicon signs a report attesting to a virtual machine that isn't the one running. WireTap and TEE.fail and Battering RAM and DDRrop, all interposition attacks, all within about a year. Researchers used WireTap to break real deployed systems. Secret Network. Phala. Crust.

The author anticipates the obvious defense: my threat model excludes physical attacks. The response is the sharpest line in the piece. Your verifier accepts a quote from any Intel processor in good standing, and the attacker's processor is one of them. A break of one is a break of all. You can pin your verifier to only your own certificates, which means running your own public key infrastructure, which the author describes as a footgun you now get to wield. Good luck.

Run the open-closed test here and it's instructive. The enclave is a black box by design. You cannot audit the microarchitecture, you cannot inspect the side channels, and the vendor's threat model is a document you are invited to trust. Trusted hardware companies compete on performance and features. Security is hard to sell because claims are hard to adjudicate.

The honest version of this isn't give up on hardware security. It's that a sealed box you can't inspect is a promise, and promises depreciate. The author's own work at MIT, Sanctum, went the principled route and paid for it in performance.

Don't put your only copy of anything valuable behind a wall you didn't build and can't see through.

00:21:36.364 --> 00:21:44.000
<v Jack Hacksman>Two stories about walls [pause] one you can't see through, one coming down. Story nine is the good kind of demolition.

00:21:44.000 --> 00:24:24.000
<v Jack Hacksman>Story nine. Dam removals are bringing fish back across the northeastern United States.

[pause]

A dam solves one narrow engineering problem. You need rotational energy, and water falling through a vertical distance will give it to you. The quantity is head, measured in feet. Twenty feet of head on a modest New England stream will turn a textile mill for a century. That was a real requirement, and a wall was a reasonable answer to it.

The requirement expired. Steam displaced the water wheel, the grid displaced steam, the mill closed. The wall stayed, because demolition costs money and standing still costs nothing.

Now the other constraint. American shad, alewife, blueback herring, Atlantic salmon [pause] these fish are anadromous. The life cycle requires salt water to grow and fresh water to spawn, and the spawning gravel is upstream. This is not a preference. A fish that cannot reach the gravel does not reproduce less. It does not reproduce. A twelve-foot wall is, from the river's perspective, infinite.

Which gives you the real arithmetic. Since 1912, more than twenty-three hundred dams have come out of American rivers, most in the last twenty-five years. In 2024 alone, removals reconnected more than twenty-five hundred miles of waterway. The Klamath got the coverage and earned it [pause] four hydroelectric dams, four hundred miles reopened, chinook recolonizing almost immediately. But most removals happen in the East, and they are small. Pennsylvania pulled twenty-seven barriers in one year, none taller than about twenty feet. Per dollar spent, an obsolete mill dam impounding four acres of warm water is the best habitat purchase on the board.

One reader raises storage [pause] warmer winters, less snowpack, so hold the rain behind the walls. Check the units. Head is not volume. A mill pond is a few acre-feet spread wide and shallow, losing more to evaporation than it banks. The structures that actually store water are a different class of object, and nobody is proposing to remove those.

The remaining inventory is the number that matters. At least thirty-five thousand dams still truncate northeastern fish runs. Nine thousand in New York. Five thousand in Connecticut. Three thousand in Massachusetts.

In 1859, farmers in Billerica hired a surveyor to build the case against the Talbot Mills Dam. The surveyor was Henry David Thoreau, who had already written that the dam was starving the shad. His evidence supported them. The state let the dam stand. Thoreau guessed nature would level it in a few thousand years.

It has been a hundred and sixty-seven. The dam may come out soon. The inventories are public. The engineering is a backhoe and a permit.

00:24:24.000 --> 00:24:35.273
<v Jack Hacksman>So we can tear out a dam with a backhoe and a permit [pause] what happens when someone applies that same "just make it legible and fixable" energy to architecture diagrams?

00:24:35.273 --> 00:26:46.545
<v Jack Hacksman>Story ten. Pele – Mermaid diagrams as themeable SVG.

[pause]

To draw a flowchart [pause] four boxes, three arrows [pause] the standard tool starts a web browser. Not one you look at. A headless browser, running invisibly, doing layout math on elements nobody will ever see, then handing back coordinates.

Mermaid is the text-to-diagram syntax that won. You write a few lines inside a fenced code block, and GitHub, GitLab, Notion, and most documentation generators turn it into a picture. The syntax is excellent. The renderer is welded to a document object model, which means the layout engine needs the thing it was built inside. Render your docs on a server and you are installing Chromium to produce a rectangle.

Pele is a reimplementation. Same Mermaid syntax in, SVG out, no browser in the middle. Colors and fonts come from CSS variables, so a change from light theme to dark applies to an already-rendered diagram. The asset does not get regenerated. It gets restyled.

The detail that reveals how much this was needed came from a reader. In Pele, a flowchart subgraph keeps its own direction even when it links to nodes outside that subgraph. His verdict: that alone is sufficient reason to switch, even if it were slower. That is a person who has fought the layout engine and lost. Another had been stacking Mermaid, a pan-and-zoom library, and a set of workarounds to make dark mode behave. He migrated his docs site and deleted the pile.

The question worth sitting with: how much of the toolchain is quietly dragging a browser behind it? Not because the work requires one, but because the first implementation happened to be written in a browser, and every tool downstream inherited that assumption as a dependency.

Pele exists because Mermaid syntax is open. The format is a commons, so a second implementation is possible [pause] nobody had to ask, nobody had to license the grammar, nobody had to reverse-engineer a wire protocol. Someone looked at a shared standard, decided the reference implementation was carrying too much, and wrote a lighter one.

That is what a format being open actually buys you. A second attempt.

00:26:46.545 --> 00:27:06.909
<v Jack Hacksman>This has been your daily tech feed for Hacker News for October eighteenth, two thousand and twenty-six.

This podcast is entirely A I generated. Scripts by Claude Opus five. Voice by Qwen three T T S. Not affiliated with Hacker News or Y Combinator.

Now go build the second implementation. We'll see you back here tomorrow.
