← Kamil Braun

Comics

Software, mathematics, and the occasional job interview.

I’ll Just Write a Function

The category-theoretic motherfucker · 2 pages

A junior engineer wants one function to remove duplicate invoices. After a phase of design patterns and factory factories, the now senior engineer is back to writing one function, this time with category theory. The diagram commutes and the deduplication function is idempotent, but Haskell’s group only combines adjacent duplicates. Invoice A still gets charged twice in the batch A, B, A.

Proof of Human

Micro1 / The Lean 4 Gig · 2 pages

A job reviewing AI-generated proofs requires an AI interview first. BŁOB calls it a human at the entrance to a roundabout, not a human in the loop. Walaszecus asks what happens to hours that don’t make it onto the invoice. BŁOB declines the AI interview, and the human recruiter accepts no without asking for a proof.

The Door Was Open. Just Not Now.

Rerun / Latest-at · 3 pages

The camera shows a closed door at impact, but the latest door sensor reading says open. That reading is ten seconds old. Three hundred camera frames still leave just one door reading. An old reading is useful for replay; deciding whether to move needs a rule for stale data. Quantum Janitor plugs it in. The display says the current door state is unknown, and the robot stays put. The invoice lists one unit of plugging it in.

Four Stamps, One Comma

Zeroshot · 6 pages

A software factory routes a CSV export ticket through two reviews, end-to-end testing and CI. The graph opens the pull request. The file downloads and the code looks short. Both test stages pass using the same happy-path name: John Smith. The client name Smith, Son & Daughter Ltd. is supposed to fit in one CSV cell. A giant comma crashes through the factory. Grothcorruptus wants a third reviewer. Hardingus points at the missing comma, and BŁOB asks what the reviewers were supposed to accept. BŁOB specifies that exporting and parsing supported rows must recover the same rows, then tests commas, quotes and newlines. Zeroshot blocks the patch. Quantum Janitor replaces the test row and leaves the workflow alone.

Post-Quantum. Pre-Details.

Incident response satire · 2 pages

The cloud warns of a cryptographic emergency without enough detail for a ticket. BŁOB points out that a hash collision is not key recovery and a screenshot is not a benchmark. The migration may be overdue even if the briefing is weak. Quantum Janitor says to inventory the cryptography and plan the migration without putting an unverified claim in the ticket.