Instant flood fill with HTML Canvas
TLDR: Demo is at , code is at . The Problem When building a website or app using HTML Canvas, it’s often a requirement to support a flood fill. That is, when the user chooses a colour and cli…
The latest blog posts to take off on Hacker News. 49,211 posts.
TLDR: Demo is at , code is at . The Problem When building a website or app using HTML Canvas, it’s often a requirement to support a flood fill. That is, when the user chooses a colour and cli…
Let's talk about ChatGPT with Code Interpreter & Microsoft Copilot
I previously wrote about starting a Go project in 2018. A lot has changed since I wrote that and I had been wanting to write an updated version. What follows should be enough for anyone new to Go to …
I block ads in the browser. I block ads at the DNS level.
The unexpectedly interesting story of car coatings and what they tell us about the modern world
Building UIs in HTML+CSS can be untenable. When making complex frontend experiences, I reach for Elm.
Metallica’s song “Master of Puppets” has extremely powerful and driving momentum, which is especially impressive given that it is riddled with meter changes and thrashes on for al…
In this long article, I, being as far as I know the first outside Microsoft to have learnt how the AARD code works, explain that I condemn its form but broadly sympathise with its function.
The rise of powerful AI dialogue systems in recent months has precipitated debates about AI risks of all kinds, which hopefully will yield an acceleration of governance and regulatory frameworks.
A book I was recently reading mentioned a mathematical curiosity I haven't seen before - Tupper's self-referential formula . There are some resources about it online, but this post is my attempt to explain how it works - along with an interactive implementation you can try in the browser.
Bees have a dance to indicate to others where food is. It’s called the waggle dance. Great name. But a significant portion of bees in a hive completely ignore the waggle dance and venture off on their own accord. Scientists studied this and were perplexed as to why. It
Introduced in 2019 (kernel 5.1) by Jens Axboe, io_uring (henceforth uring) is a system for providing the kernel with a schedule of system calls, and receiving the results as they're generated. Whereas epoll and kqueue support multiplexing, where you're told when you can usefully perform a system call using some set of…
3 interesting uses of DISTINCT in PostgreSQL
A visual introduction to memory allocation.
Surreal and otherworldly.
Meta's hosting secret meetings with select creators to share details
Lately, I’ve been spending a lot of time enjoying the Darknet Diaries podcast and it’s compelled me to finally share the story of the most intense year of my
I retired a year and a half ago after having worked for twenty-six years as a programmer for Apple. I’m not sure which would have been more surprising: if I had continued programming in my spare time after I had retired or if I never programmed again.
UPDATE: 24 May 2023: A Proposal for “Enhanced Recovery Services” for Locked Out Google Accounts
In this blog post, I delve into the comparison of memory consumption between asynchronous and multi-threaded programming across popular languages like Rust, ...
Hoarding is a comfort behavior. It is done to reduce discomfort, pain, or anxiety, using some of the same 'pathways' as pleasure. It also is intertwined with attachment feelings.
I’d like to share with you my latest project: Decktility!
You can check out a YouTube recording of a talk based on this blog post.
In another thrilling adventure with ChatGPT, I endeavored to integrate it with a Raspberry Pi, effectively turning it into my own personal light switch. My custom ChatGPT plugin, sporting just two ...