Blog

Thoughts, tutorials, and technical essays on AI, science, software, and systems that actually matter.

Flip your order and it works? The system prompt is the worst place for your 'do not' rules

Flip your order and it works? The system prompt is the worst place for your 'do not' rules

10 May 202615 Mins read

I had a hunch the standard system → user prompt order was wrong for negative constraints. Every standard answer told me to drop it. I ran 1500 calls on 30 hard tasks and the flipped version beat the standard one by 14 to 46 points. The system slot is the worst place for your 'do not' rules and the docs back it.

Read More
Honestly, MCP Is Just npm For Agent Tools

Honestly, MCP Is Just npm For Agent Tools

14 Apr 202608 Mins read

A friend asked what MCP actually gives you over plain APIs. I tried to defend it. Every defense line collapsed under one simple question. Here's the honest walk through why MCP is a packaging standard, not a technical innovation, and why that's still valuable.

Read More
You Can Recreate All Math Functions From JUST One Operation

You Can Recreate All Math Functions From JUST One Operation

14 Apr 202611 Mins read

A new arXiv paper shows that a single binary operator, eml(x, y) = exp(x) - ln(y), plus the constant 1, can generate every elementary function. It's the continuous-math analogue of NAND, and it took 112 years to find.

Read More
The AI Layoff Trap. Why Knowing the Cliff Is Ahead Doesn't Stop the Race.

The AI Layoff Trap. Why Knowing the Cliff Is Ahead Doesn't Stop the Race.

12 Apr 202607 Mins read

Two researchers proved mathematically that rational firms will over-automate with AI even when they know it destroys the demand they depend on. Only one policy instrument out of six actually fixes it.

Read More
Nothing excites me anymore. The neuroscience of why, and how to fix it.

Nothing excites me anymore. The neuroscience of why, and how to fix it.

10 Apr 202606 Mins read

If nothing feels exciting the way it used to, it isn't your personality. Your dopamine baseline collapsed. Here's the neuroscience and the fix.

Read More
Anthropic's 243-Page Claude Mythos System Card Is a Love Letter Disguised as Science

Anthropic's 243-Page Claude Mythos System Card Is a Love Letter Disguised as Science

09 Apr 202613 Mins read

I read Anthropic's 243-page Claude Mythos system card. It starts as safety science and ends as 20 pages of employees marveling at their model's creative writing. The real story is buried in section 5.8.1, where they admit the circularity.

Read More
You Don't Need Autoresearch. You Need an Input, a Verifiable Output, and a Loop.

You Don't Need Autoresearch. You Need an Input, a Verifiable Output, and a Loop.

05 Apr 202605 Mins read

Karpathy shipped autoresearch and named a pattern everyone could already run. The real insight is that the loop works anywhere you can define a verifiable output. You can apply it today, in any field, without waiting for a framework.

Read More
Gemma 4 Dropped and Everyone Started Talking About PLE Again. So I Built It.

Gemma 4 Dropped and Everyone Started Talking About PLE Again. So I Built It.

04 Apr 202614 Mins read

Gemma 4 dragged Per-Layer Embeddings back onto the timeline, so I rebuilt PLE from scratch, hit the dead ends honestly, and measured what actually worked.

Read More
The Quant Mindset Is Not About Math. It's About How You See Numbers.

The Quant Mindset Is Not About Math. It's About How You See Numbers.

04 Apr 202608 Mins read

Two people can look at the same dataset and walk away with opposite conclusions. The difference is not intelligence. It is how they think about uncertainty, assumptions, and the structure behind the numbers.

Read More
This Algorithm Made All of AI Possible. It Was Born From a Math Feud.

This Algorithm Made All of AI Possible. It Was Born From a Math Feud.

03 Apr 202612 Mins read

A Russian mathematician picked a fight over free will, accidentally invented the most important idea in probability, and 120 years later it powers Google, nuclear physics, and every large language model you've ever used. Here's how Markov chains actually work.

Read More
The Most Important Equation in Neuroscience Has Four Coupled Differential Equations

The Most Important Equation in Neuroscience Has Four Coupled Differential Equations

02 Apr 202609 Mins read

I went down a neuroscience rabbit hole and rebuilt the Hodgkin-Huxley model from scratch. Four differential equations that describe how neurons fire, predicted molecular structures decades before anyone could see them, and won a Nobel Prize. Here's how they work, with interactive simulations.

Read More
The Claude Code Source Map Story Is Funny Until You Think About What It Means

The Claude Code Source Map Story Is Funny Until You Think About What It Means

01 Apr 202608 Mins read

The Claude Code source map story turned into a public dunk fest, but the real lesson is about build hygiene, trust boundaries, and how exposed modern AI tools can get.

Read More
I Predicted Firefox's Math.random(). Don't Use It for OTPs.

I Predicted Firefox's Math.random(). Don't Use It for OTPs.

31 Mar 202606 Mins read

I took three Math.random() outputs from Firefox, recovered the internal PRNG state using Z3, and predicted the next values exactly. This is why OTPs must never use Math.random(). It is not random in any security sense.

Read More
I Contacted the Author of Project Hail Mary About Wrong Fuel Calculations and He Agreed

I Contacted the Author of Project Hail Mary About Wrong Fuel Calculations and He Agreed

29 Mar 202606 Mins read

I recreated the relativistic fuel math from Project Hail Mary, found a stopping problem in the calculations, reached out to Andy Weir directly, and got confirmation of where the numbers went wrong. The ship doesn't stop, and here's the physics that explains why.

Read More
Save Yourself from 'Something Bigger Is Happening'

Save Yourself from 'Something Bigger Is Happening'

14 Feb 202611 Mins read

A rebuttal to AI replacement hype from someone who builds production AI systems at scale, explaining why human judgment, architectural thinking, and oversight matter more than ever, and why trusting AI to replace you is the actual danger.

Read More
Create a Signature Painting Drawing App using Javascript

Create a Signature Painting Drawing App using Javascript

04 Apr 202203 Mins read

A step-by-step JavaScript and Canvas API tutorial for building a signature drawing app that lets users draw on a canvas and export the result as a PNG.

Read More