home tags events about login

zev rss

Hoo boy...what have I gotten myself into?

zev bonked 20 Oct 2025 02:43 -0700
original: katemorley@hachyderm.io

Just deleted 1,227 lines of legacy code. I love deleting code. I dream of one day deleting all code.

zev honked 02 Oct 2025 15:00 -0700

Still plenty to be done on the house, but it's far enough along to work from the deck with the dog while the weather's still nice.

Bowie the dog on a sunny deck with a nice view

zev honked 20 Sep 2025 22:51 -0700

What hath dog wrought.

Bowie the dog on his bed, looking out over the entrails (stuffing) of a plush chicken toy

zev honked back 20 Sep 2025 22:53 -0700
in reply to: https://hachyderm.io/users/cliffle/statuses/115227271595352372

@cliffle I have to say, in this oh-so-hypothetical scenario, that based on past experience with similar phenomena that later became entries in the errata lists of an ARM core or two, I might take the opposite stance on your "probably" there.

Might it by any chance involve explicit clean or invalidate operations?

zev honked back 20 Sep 2025 10:13 -0700
in reply to: https://donotsta.re/objects/2436471c-b046-44cf-b347-01763940b3e1

@tubetime @wren6991 @lofty @mei Alternately (or perhaps as a second level of bumper bowling), use __attribute__((constructor)) to install a SIGSEGV handler to just quietly "make the problem go away" a la https://people.csail.mit.edu/rinard/paper/osdi04.pdf (might also need to shim signal(2) and sigaction(2) to make sure it stays in place in case the Serious Enterprise Software tries to install its own crash handlers).

zev honked back 21 Aug 2025 22:03 -0700
in reply to: https://social.treehouse.systems/users/mxshift/statuses/115070070648054088

@mxshift

$ head -n6 src/sources/avstream/capture.c 
////////////////////////////////////////////////////////////////////////////////
// CONFIDENTIAL and PROPRIETARY software of Magewell Electronics Co., Ltd.
// Copyright (c) 2011-2024 Magewell Electronics Co., Ltd. (Nanjing)
// All rights reserved.
// This copyright notice MUST be reproduced on all authorized copies.
////////////////////////////////////////////////////////////////////////////////
$ tail -n3 src/sources/avstream/capture.c | head -n1
MODULE_LICENSE("GPL");

Nice.

The vendored PNG library, in-kernel file access, misunderstanding of the linux/list.h API, and passing kernel pointers to and from userspace are all very confidence-inspiring too.