2024 Will Be the Year of the Blog
Related
More from David Buchanan's Blog
By David Buchanan, 7th October 2024 Spoiler alert: Yes. the elite hacking tool they don't want you to know you already own Before you can write an exploit, you need a bug. When there are no bugs, we have to get creative—that's where Fault Injection comes in. Fault injection can take many forms, including software-controlled data...
By David Buchanan, 16th July 2024 I assume by now that most people have heard of the Rabbit R1. Critics unanimously agree
By David Buchanan, 4th January 2024 First of all, this article is an exercise in recreational "because I can" programming. If you just want to make your Python code go fast, this is perhaps not the article for you. And perhaps Python is not the language you want, either! By the end, I'll explain how I implemented Game of Life in pure Python (plus pysdl2...
By David Buchanan, 2nd January 2024 This is a rant. You have been warned! I'd like text editors to be worse. Specifically, I'd like their default behaviour to be as close as possible to the median text input box you'd find in any piece of software, like the humble HTML <textarea>. More realistically, I'd like a configuration preset that lets me opt in to the same, without having to hunt for a thousand...
By David Buchanan, 27th December 2023 Signing JSON sucks. Don't do it. But if you must, you have two main options: Serialize your JSON to bytes, sign the bytes, and transmit the bytes+signature. Serialize your JSON to a canonical byte representation, sign those bytes, and transmit your JSON+signature. 1 is the most straight-forward option, but now you need to ship those bytes around...