How I fixed git-grep macOS UTF-8 support
As a speaker of Greek, I’ve been fixing issues in the handling
of non-ASCII characters for over 40 years, using techniques ranging from
simple lookup tables to dynamic patching of in-memory images.
Here’s how I debugged and fixed the handling of UTF-8 characters
in the git grep
command, which was broken for almost a decade.
Continue reading "How I fixed git-grep macOS UTF-8 support"Last modified: Sunday, October 9, 2022 7:19 pm
The sorry state of software quality
Thanks to a tweet
by Aaron Toponce I learned about the Linux
/dev/full
pseudo-device.
Write system calls to it always fail with a ENOSPC
(no space on device)
error.
With it finding software that doesn’t check for failed writes is a
piece of cake.
Let’s see this in action.
Continue reading "The sorry state of software quality"Last modified: Thursday, March 10, 2022 9:43 pm