Parse, Don’t Validate – Some C Safety Tips
“A good programmer is someone who looks both ways before crossing a one-way street.” – Doug Linder
“A good programmer is someone who looks both ways before crossing a one-way street.” – Doug Linder
The 80’s was a decade of many things — excess, greed, and big hair, to name a few — but it was also the heyday for airbrush art. As a teenager in the late 80’s, I desperately wanted an airbrush so I could paint my favorite band logos on the back of my jean jacket, and maybe make some money on the side painting…
I have updated this article with new data, better code, and friendlier data visualization. You can read the new version here . Th...
We traditionally divide consoles into “generations”—the earliest devices like the Magnavox Odyssey are the first generation, the Atari 2600 is second, the NES third, the SNES and Genesi…
A history of blue 🦋
Write an awesome description for your new site here. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
Personal blog of Stephen Diehl - Software engineer writing about technology, programming, and the future
Did you know there were typewriters that used ball point pens to draw not just text but also graphics? I’ve collected several of these over the years. Read on to discover a world that you didn’t know existed.
Everyone’s been talking about it. JD Vance read it. What does it actually tell us?
If delivered today, the last of Huxley’s 7-part lecture series at MIT would probably be categorised under motivational talks or self-help strategies. It surv...
(From someone who has spent far too much time thinking about the designs of programming languages)
We’ve had decades of thought leadership around testing, especially coming from holistic development philosophies like Agile, TDD, and BDD. After all that time and several supposedly superseding movements, the developers I talk to seem to have developed a folk wisdom around tests. That consensus seems to boil down to…
Frustrated with AWS's complexity and cost risks, I switched to NearlyFreeSpeech for its prepaid model, ensuring financial control while keeping hosting simple and flexible.
WTF moment: Why my native OS refuses to return a "True" value.
For a long time now fundamental theoretical physics has been suffering not just from a slowdown in progress, but from a sort of intellectual collapse (I wrote about this here a while back in the co…
A blog by sunfishcode
HN Discussion
One scientist did it twice
Like this newsletter? Why not listen to the podcast version on Better Offline? Part 1 is out now (here're other links), and Part 2 comes out Friday May 2nd! I'm sick and god-damn tired of this! I have written tens of thousands of words about this and
Update 6/10: Based on a short conversation with an engineering lead at X, some of the devices used at X are claimed to be using HSMs. See more further below. Matthew Garrett has a nice post about T…
When I wrote about how good ChatGPT with GPT-5 is at search yesterday I nearly added a note about how comparatively disappointing Google's efforts around this are. I'm glad I …
Some time ago I came across a cinematic experience ......... @@@@@ @@@@@ ........... ......... @ @ @ @ ........... ......... @@@ @ @ .......... ........ @@ @ @ ......... ........ @@@@@@@ @@@@@ th ....... ...... ----------------------- ...... ..... C E N T U R Y .... .... ----------------------- ... ... @@@@@ @@@@@ @ @…
A few weeks back I got a note on Bluesky, linking me to a website offering a free computer. The owner was in Cambridge, not far from me, and the computer was an HP 9000/300 Series - a Model 340, specifically.
A single-function JSON parser for the POSIX shell.
My standard "everyday" solution when it comes to connecting computers into a single network is Wireguard. Wireguard is good, supports p2p, and generally has no downsides.
Model minimalistically Start from a tiny core, and always keep a working model as you extend. Your default should be omission. Add a compone...
Windows 98 runs surprisingly well in QEMU via UTM SE, but it requires some care in setting it up. It’s a great way to run old 90s Windows and DOS software on your iPad (and Mac too, though you have… Continue reading →
If you type “WAIT6502,1″ into a Commodore PET with BASIC V2 (1979), it will show the string “MICROSOFT!” at the top left corner of the screen. Legend has it Bill Gates himself inserted this easter egg “after he had had an argument with Commodore founder Jack Tramiel”, “just in case Commodore ever…
The chairman of the Federal Trade Commission (FTC) last week sent a letter to Google’s CEO demanding to know why Gmail was blocking messages from Republican senders while allegedly failing to block similar missives supporting Democrats. The letter followed media reports accusing Gmail of disproportionately flagging…