Payment Reconciliation in SQL: Match Your Ledger to the Bank
Payment reconciliation in SQL: match every ledger row to the provider's report and every payout to one bank deposit, then explain what is left over.
18 min readTaken apart to see how it works.
PostgreSQL and SQLite errors, payments, and how everyday tech works.
Your ledger says one thing and the bank says another. Find out which lines differ, and why.
Who is watching the road? The answer changes with who you ask and what you count.
The car does not learn while you drive. Its mistakes become lessons somewhere else.
Tesla says one network now makes the call that search and scoring code used to make.
A box needs a name for what it sees. A grid of cubes only needs to know that something is there.
A twelve-part series on how a Tesla is made and how it drives itself: castings, the battery floor, wiring, the cameras, the chip, the neural networks, the data engine and the robotaxi.
A three-part series on handling money in a database: how to store amounts, a double-entry ledger in Postgres, and reconciling it against the bank.
A three-part series on building reliable backends with one database: a job queue, safe API retries and a transactional outbox.
Payment reconciliation in SQL: match every ledger row to the provider's report and every payout to one bank deposit, then explain what is left over.
18 min readTesla's Robotaxi from the first Austin rides on 22 Jun 2025 to Nov 2026: what supervised means, who still watches the road, and what NHTSA data and files show.
20 min readHow Tesla's data engine works: fleet triggers, shadow mode, auto-labelling and simulation, plus the GPUs, Dojo and Cortex behind it, with Tesla's own figures.
19 min readHow Tesla FSD plans a path: the 2021 and 2022 search planner, then v12's one network that replaced 300k lines of C++, and what Tesla has said about it.
17 min readHow Tesla's occupancy network works: why boxes miss odd shapes, voxels step by step, then flow, lane tokens and the world model idea, from Tesla's own talks.
17 min readHow Tesla's 2021 vision network turns eight camera frames into one top-down map: backbone, HydraNet heads, virtual camera, transformer queries and video memory.
23 min readWhat Tesla's FSD computer does with camera pixels: convolution as multiply-and-add, SRAM versus DRAM, what TOPS hides, then HW3, HW4 (AI4) and AI5.
17 min readSQLITE_BUSY: database is locked still fires in WAL mode with busy_timeout set. Why a read-then-write transaction skips the wait, and the fix for each driver.
12 min read