Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live. (I maintain my own code, so the as-if is true.)
Two days ago the NYT posted an investigation into politicians trading stocks
They found that 81 Democrats & 101 Republicans filed up to 3,700 trades and $100M in possible volume
Many had 100% winners, with some perfectly timed
Here’s examples of just how good they were
“We've arranged a society based on science and technology, in which nobody understands anything about science technology. And this combustible mixture of ignorance and power, sooner or later, is going to blow up in our faces.”
- Carl Sagan
Oh. My. God.
CPU time:
To start 5000 threads each with a signalfd: 60s
To deliver a signal to every thread simultaneously: 140s(!!)
To start 5000 threads using epoll_pwait() for signal delivery: 4s
To deliver signals to all of them: 100ms.
ICYMI: Researchers say this is the biggest freshwater fish ever recorded. Boramy was released back into the Mekong river after being electronically tagged to monitor her movement and behavior https://t.co/GQyOgnOxAG
Can't imagine how anyone could look at human history, the caprices, the shifts, the meanderings, then look at themselves, and decide their measure of worth is "will I still be relevant 200 years from now"
It's walking a path of misery, for yourself and towards others
Key skill to building a complex system that they don't teach you in school: how to add enough breadcrumbs — logs, metrics, alerts, etc. — for operators to understand what happened for events of arbitrary weirdness. Best way to learn is to do it wrong enough times.
Here's a gantry crane operator at the Port of Singapore loading containers on trucks remotely. The 170+ grants cranes are autonomous, so they only bring in the operator when there's an exception that the robots need help with. Thanks for the tour @singaporepsa!
Your organization’s “culture” is not what articulately write and talk about in public presentations…it’s what’s your employees tell their spouses about your organization.
Software is this weird space where you can spend basically nothing and create a billion dollars of value, or spend a billion dollars and create basically no value.