Why your computer insists 0.1 + 0.2 isn't 0.3
Open any programming language right now and add them up. The answer looks like a joke. It isn't — it's the most expensive and most ignored trade-off in computing.
The curious side of technology
Every week I take something everyone takes for granted and open it up in front of you. No prerequisites, no lecture hall.
Open any programming language right now and add them up. The answer looks like a joke. It isn't — it's the most expensive and most ignored trade-off in computing.
A stack trace isn't a wall of text. It's a list in call order, with one line saying what happened and every other line saying how you got there. All that changes is knowing which is which.
From an empty project to a page showing real data, without installing anything beyond Angular. And without the three libraries most tutorials have you add before explaining what they're for.
The cart is the easy part. The part that keeps you awake is working out whether you have the right to collect those twenty-nine euros, and no tutorial tells you.
The code has been running on your laptop for weeks. Putting it online looks like a twenty-minute job, and it almost always takes three hours. The places where it jams are always the same three.
You install one package, write six lines in an empty file and open the browser. Then you visit an address nobody told you to visit, and find an interactive documentation page you didn't write.
There is a minute that never existed in Italy. There is a day that was deleted in Samoa. And your code, in all likelihood, assumes neither of those things is possible.
A model that solves university-level maths fails a task a six-year-old handles. The reason isn't stupidity — it's that it has never seen the letters.
Six words in the Unix source code, written in 1975. They ended up on T-shirts, mugs and tattoos. And for forty years everyone read them backwards.
The code was correct. It had been tested for years. It had run flawlessly on another rocket for a decade. That was precisely the problem.