The lab is how I stay honest
I keep a room of physics toys on this site. They are not a portfolio. They are a device for catching myself when I only think I understand something.
The first time I wrote a double-slit simulation, the interference pattern came out wrong. Not subtly wrong. The fringes were spaced like nothing in any textbook, and for an embarrassing afternoon I assumed the renderer was broken. It wasn't. I had fumbled a phase term, the kind of thing I would have nodded past on a slide without a flicker of doubt. The code did not nod. It drew me exactly the universe I had described, which was not the one I meant.
That afternoon is the whole reason the lab exists.
A toy that can embarrass you
I keep a small room of physics experiments on this site, at /lab. People sometimes read it as a portfolio, a tasteful display of things I can do. It is not that. It is closer to a tripwire. Each toy runs the actual equations, which means each toy can catch me believing something I have only read.
There is a Feynman line that gets quoted to death, but it earns its keep here. On his blackboard at the time of his death was written: "What I cannot create, I do not understand." I take that almost literally. Reading a derivation gives me a warm, dangerous feeling of comprehension. I follow each step, every line implies the next, and somewhere in that smoothness I mistake being able to follow for being able to produce. Those are different organs. The first is recognition. The second is the thing you actually want, and it is much rarer than the first feels.
Implementing the thing is how I tell them apart. The slide-deck version of an idea is allowed to wave its hands. The version that has to run at sixty frames a second on a real screen is not. It has to commit to a value for every quantity, every step, no exceptions, and the gaps you papered over in your head become pixels that are visibly in the wrong place.
Conservation is a thing you earn, not assume
My favorite example is n-body gravity, because it is so cheerfully unforgiving. Write the obvious loop. Compute the forces, nudge each body by velocity times dt, repeat. It looks right. It even looks beautiful for a few seconds. Then the planets start gaining energy from nowhere, the orbits spiral outward, and your tidy little solar system flings itself apart.
Nothing in your code is "wrong" in the sense a linter would catch. The physics is wrong. Naive Euler integration does not conserve energy, and no amount of conviction makes it. You can read that sentence in a numerical methods book and agree with it intellectually. You will not believe it until you watch Jupiter escape. Then you switch to a symplectic integrator, and the orbits close, and the energy holds flat, and you finally understand what the book was trying to tell you in a way that reading never delivered.
That gap, between the loop that looks right and the one that is right, is invisible from the armchair. The only way I have found to make it visible is to build the thing and let it run long enough to betray me.
The same instinct, pointed at production
I left academic physics for a job at Tools for Humanity, where the problem is proof of personhood: confirming that someone is a unique living human without surveilling them. The stakes are not pedagogical anymore. And the habit from the lab turns out to be the most portable thing I brought with me.
Here is how it shows up. Someone presents a metric. The number is good, the curve is going the right direction, the dashboard is green. And I notice I cannot reproduce that number from first principles in my own head. I do not know what it would do at the boundaries, what it silently assumes, what it would say if the input went weird. That feeling, the warm comprehension with nothing underneath, is precisely the feeling I get from a derivation I have read but never coded. I have learned to treat it as an alarm.
So I rebuild it. Small, ugly, from scratch. Not because I distrust the person, but because I distrust the part of myself that wants the meeting to end. A metric I cannot recreate is not a result I understand. It is a result I am hoping is true, which is a different and worse thing, especially when real people's ability to prove they exist depends on it being right. A green dashboard with no independent check is the production version of an interference pattern I never actually computed.
The lab keeps that reflex sharp by letting me practice it on things that do not matter. A wrong orbit costs nothing. The cost is paid entirely in ego, and it is paid quickly and in private, which is the cheapest possible place to be wrong. I would rather be humiliated by a simulation on a Sunday than by an incident on a Tuesday.
There is a more honest reason too. I enjoy it. Watching a wave packet spread, fiddling with a coupling constant until two pendulums fall into step, these are the same pleasures that pulled me into physics before I knew the word for any of it. The discipline and the delight are not in tension. The delight is what makes me willing to do the discipline often enough for it to matter.
The toys do not flatter me. That is the entire point. A thing that can only agree with you teaches you nothing. A thing that can run the math and show you, in motion, exactly where you were fooling yourself is the closest I have to a conscience I can compile.
The lab is where I get to be wrong cheaply, on purpose, before the stakes show up. The rest of what I write is the same instinct, slowed down to words.