<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="makerobfeed/1.1" -->
<rss version="2.0"
>
  <channel>
    <title>Rob Landley's Blog Thing for 2026</title>
    <link>http://www.landley.net/notes-2026.html</link>
    <language>en</language>

  <item>
   <title><![CDATA[June 30, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#30-06-2026</link>
   <pubDate>Tue, 30 Jun 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Aw, Tim Bird is retiring. Only one more meeting of the Linux Boot-Time SIG.
Adds a bit of deadline pressure to his toysh issue, I suppose.</p>

<p>He tried to use mkroot to run his boot time data harvesting script, but
complained it was accumulating zombies. I had his script ages ago (which
is what sent me down the path of implementing alias support), but couldn't
find it again (the last time he mentioned it on the mailing list was a year
ago, which linked to a wiki page that linked to his personal website, which
apparently went down while he was on vacation). Rather than try to whack a
mole based on incomplete instructions, I want to reproduce what he's trying
to do and actually debug it so I get the result he wants.</p>

<p>Today at the start of the call he pointed me to
<a href=https://github.com/tbird20d/boot-time-wizard>where it lives now</a>,
but later mentioned that he's retiring in August. And presumably doesn't
expect to keep doing this as a hobby. (He solicited people to run the
boot time project meeting after he's gone, but nobody stepped up. I doubt
Sony will appoint a replacement. A downside of corporate run projects.)</p>

<p>Linux dropped i486 support last release and is
<a href=https://www.reddit.com/r/linux/comments/1turf79/the_linux_kernel_ready_to_make_tsc_a_hard/>dropping i586 support this release</a>.
What I _really_ should do is focus on netbsd or something instead
of following people who think systemd, rust, and
<a href=https://linux.slashdot.org/story/26/01/09/1649237/torvalds-tells-kernel-devs-to-stop-debating-ai-slop---bad-actors-wont-follow-the-rules-anyway>LLM code</a>
are all great ideas. (As I understand it, NetBSD has explicitly come out
against all three.)</p>

<p>But I want to close tabs. I never quite completed Aboriginal Linux
(although Alpine and such took that ball and ran with it), and would
LIKE toybox/mkroot to hit 1.0 before shelving it.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#30-06-2026</guid>
  </item>
  <item>
   <title><![CDATA[June 29, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#29-06-2026</link>
   <pubDate>Mon, 29 Jun 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Betty Fucking McCollum just
<a href=https://www.govtrack.us/congress/votes/119-2026/h228>voted</a>
to <a href=https://theintercept.com/2026/06/28/age-verification-privacy-surveillance-journalists-whistleblowers/>censor the internet</a>.
AAAAAHHHHH!!!!! You don't ban books because children might read them!
You don't ban pencils because children and adults might correspond!
STOP IT YOU ABSOLUTE DICKWADS!</p>

<p>If you refused to do anything about priests molesting altarboys for
<a href=https://en.wikipedia.org/wiki/Sin%C3%A9ad_O%27Connor_on_Saturday_Night_Live>many decades</a>, and first CONVICTED
Epstein back in 2008 but we're still not following through on that,
adding MORE SURVEILANCE is NOT THE FUCKING PROBLEM. Assholes.</p>

<p>I just saw a great <a href=https://mstdn.jp/@landley/116830486510443291>observation</a>
that fascists keep offering "protection without rights", and that
is EXACTLY the patriarchial patronizing bullshit at play here. You are
NOT HELPING. You are doing the OPPOSITE OF HELP. You are using the threat of
<a href=https://en.wikipedia.org/wiki/Minority_Report_(film)>pre-crimes</a>
to create a surveilance state, and somehow the police officers in Uvalde
who refused to <a href=https://www.texastribune.org/2022/07/17/law-enforcement-failure-uvalde-shooting-investigation/>do their literal jobs</a>
are far less disturbing to Boomers than Epstein. Little Janie may have
been brutally hunted down and murdered in her school while the police
stood around and watched, but at least nobody saw her pee-pee!
That's the IMPORTANT thing we should all be focusing on. She died fully
clothed, so the worst was avoided. I question your fucking priorities.</p>

<p>McCollum is my congressional representative, who is running for re-election at 71.
Her <a href=https://www.aswarforcongress.org/>opponent</a> does not
have contact info on his website. (You can give money, but not volunteer.)</p>

<p>I'm trying to stay angry rather than dispirited. The Boomers will die,
the fossil fuel oligarchs using the <a href=https://www.interfluidity.com/v2/4340.html>resource
curse</a> to regulatory capture entire governments (while simultaneously
trying to outbid EACH OTHER for <a href=http://www.interfluidity.com/v2/3487.html>lifeboats on the titanic</a>)
will be replaced
by renewable energy (then found liable for climate change and hopefully
guillotined), we just have to keep pushing until they're gone and we
can start cleaning up the mess they leave behind.</p>

<p>But it's annoying Boomers are still in a position to consistently
make things WORSE.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#29-06-2026</guid>
  </item>
  <item>
   <title><![CDATA[June 28, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#28-06-2026</link>
   <pubDate>Sun, 28 Jun 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Trying to figure out why sh2eb-fdpic broke between 9.4 and 15.1, 
and the bisect is one of those "changes behaviors along the way" messes.
(For example, commit 5c69acb32329 (rename *.c -> *.cc) broke
<a href=https://github.com/richfelker/musl-cross-make/blob/master/patches/gcc-9.4.0/0020-sh-fdpic-pr114641.diff>this patch</a> applying, but it was
still needed.)</p>

<p>One of the failure modes is <b>unwind-pe.h:270:25: error: '_Unwind_gnu_Find_got' was not declared in this scope</b>
but that doesn't say why it's unhappy. Hmmm, bisect from
<b>bad b618441a25a5</b> to <b>good 938ea06c5e9e</b> and
commit 551935d11817 switched to the error complaining about LP50 but it
added a whole new subsystem (diffstat says 65 files changed, 2938 insertions,
6 deletions).</p>

<p>It's actually kind of hard to tell from the log what failed in commit
5c69acb32329, which is a build break. I usually "grep -i error | grep -iv strerror" in the log, but that
doesn't find anything here.
A single threaded build with "taskset 1" finds
<b>configure: error: cannot find sources (tree.c) in ../../src_gcc/gcc</b>
because that commit broke the build and the next two commits were fixing
it up, so commit cd9912b59309 builds again...</p>

<p>And so we bisect repeatedly not looking for right and wrong, but for
where the behavior changed along the way: gcc 9.4 built useful stuff until
the unwind_got breakage
<a href=https://github.com/gcc-mirror/gcc/commit/5d727a4b2025>was introduced</a>.
I asked on the musl list
and zv pointed me at <a href=https://git.zv.io/toolchains/musl-cross-make/-/raw/musl.cc-old/patches/gcc-11-20230427/0100-hack-sh2fdpic-unwind-nonsense.diff?ref_type=heads>a patch</a>
he had for it in his musl-cross-make fork, except it doesn't work because
some of the calls DON'T have the underscore? But it works if I wrap
both versions. (Ah, a later commit changes the calls without the underscore
to have the underscore.)</p>

<p>So, with both patches (that unwind-nonsense patch and the existing
<a href=https://github.com/richfelker/musl-cross-make/blob/6486b2b2a254/patches/gcc-9.4.0/0020-sh-fdpic-pr114641.diff>sh-fdpic fixup</a> for gcc 9.4,
the toolchain compiles at the commit before the LP50 breakage
<a href=https://github.com/gcc-mirror/gcc/commit/551935d11817>was
introduced</a> (So 551935d11817^1 builds but 551935d11817 doesn't)
which pretty much confirms that introduced
a NEW bug on top of the other bug. But when I build a toybox with the
resulting toolchain from 817^1, it immediately segfaults.</p>

<p>Ok, let's back up: the patch before the c-&gt;cc rename has the
segfault, so I can apply the original patch, not the one adjusted to apply
to the cc filename to the entire bisection span.
Bisect from releases/gcc-9.4.0 to 5c69acb32329^1 and... dinner time.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#28-06-2026</guid>
  </item>
  <item>
   <title><![CDATA[June 24, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#24-06-2026</link>
   <pubDate>Wed, 24 Jun 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>I am profoundly out of the habit of blogging, to the point I've been doing
longish technical threads on mastodon, which it is not well suited for.</p>

<p>The new toolchains with gcc 15.1 don't build a working j2 compiler,
which I thought was because the -j2 patch hadn't been forward ported, but
in gcc 9.4 that patch is actually fairly small. Back in patches/gcc-5.3.0
there's a big 0007-fdpic.patch adding fdpic support for sh2, but
that <a href=https://github.com/gcc-mirror/gcc/commit/1e44e857e05c>went upstream in 2015</a>.</p>

<p>(By the way, the FSF has NO FUCKING CLUE how to use git. Because they
never tag releases (and instead do them in branches), git describe --tags
1e44e857e05c says it's four thousand, three hunded, and forty three commits
on top of basepoints/gcc-6. Which is useless for figuring out "what release
did that wind up in"...)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#24-06-2026</guid>
  </item>
  <item>
   <title><![CDATA[June 16, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#16-06-2026</link>
   <pubDate>Tue, 16 Jun 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Spent far too long tracking down the powerpc failure to a
<a href=https://github.com/gcc-mirror/gcc/commit/3b9b8d6cfdf5>gcc commit</a>
that I could revert to make it work again. Then I spent some time stripping
down a test case to send to Shiz on the #musl list (who had asked):
it was failing in lib/args.c getting NULL from the first malloc() digesting
the optargs-ish string, and it still did it on a single command build when the
command file itself was basically "true" so it's JUST the main.c and
lib plumbing involved, with nothing weird about "alignment due to
number of entries in struct toy_list" or similar weirdness like that.
(Undefined corner case behavior, or some out of bounds write stomping
the heap... on a single platform in a compiler dependent way???)</p>

<p>But no, it was a known issue musl had <a href=https://git.musl-libc.org/cgit/musl/commit/?id=f6944eb3c4ce>already fixed</a>,
which was in 1.2.6 but musl-cross-make hasn't been updated for 9 months.
(And the download page says there's 2 security fixes you need to apply on top
of 1.2.6 anyway.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#16-06-2026</guid>
  </item>
  <item>
   <title><![CDATA[June 14, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#14-06-2026</link>
   <pubDate>Sun, 14 Jun 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>When you do a big "git bisect", there's a decent chance you'll hit a commit
that fails for OTHER reasons, and you can't figure out whether it's "good"
or "bad". If you guess "good" and never hit another commit that shows
the "bad" behavior, then what you've bisected to is the fix for the other
issue that was hiding the bug you wanted to see, so you can re-bisect
from the first guessed version ("git bisect log" produces the output "git
bisect replay" reads).</p>

<p>Of course if you're using an LLM it's vitally important to run "rm -rf ~"
first, but that should probably be in your .bashrc or something for LLM
environments.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#14-06-2026</guid>
  </item>
  <item>
   <title><![CDATA[June 5, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#05-06-2026</link>
   <pubDate>Fri, 05 Jun 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Got an export dump sent to osuosl so they can set up a lists.landley.net
I can point the subdomain at when Dreamhost abandons it.</p>

<p>My redo of the trailing slash line continuation support continues, EOF
seems to be working now but I regressed bash, which is treating trailing
unquoted \ specially <b>bash -c "source &lt;(echo 'echo hello \')"</b>
prints <b>hello</b> but <b>bash -c "source &lt;(echo 'echo hello \"')"</b>
says <b>bash: -c: line 1: unexpected EOF while looking for matching `"'</b>
and yes the fact the $LINENO output doesn't nest to uniquely indicate what LEVEL
of subshell had the error is kinda annoying. But I'm pretty sure it's
saying that "source" tried to run <b>echo hello "</b> and couldn't find a
second matching quote, even though the trailing slash with nothing after it
didn't cause a problem.</p>

<p>Alas trailing backslashes only mattering outside all quoting contexts
isn't right either, because <b>bash -c $'cat&lt;&lt;EOF\n${PATH\\\n}\nEOF'</b>
prints the contents of $PATH but 
<b>bash -c $'cat&lt;&lt;EOF\n${PATH\n}\nEOF'</b> says bad substitution.</p>

<p>Part of the problem is I initially wrote expand_redir() and friends with
the design assumption that quotes were balanced by parse_word() earlier:
it would either demand line continuations or syntax error on missing
completion. But HERE document contents expansion provides no such
guarantees, and it's been long enough since I went back and implemented
that I don't remember what/where all the guardrails are.</p>

<p>There's some sort of chesterton's fence gravitational limit where I
can't remember what all the corner cases these checks are testing for
actually ARE, and I can't figure out how to write up the data in a visual
format that would make sense. (Some kind of big whiteboard tree?) So
I'm relying on the regression test suite having ALL THE TESTS.</p>

<p>I keep thinking somebody will invent a static checker that could run
AST backwards to figure out "what inputs would get you to HERE" so I could
ask "can a null pointer get to this indirection" or similar. (Ok, the halting
problem works into there somewhere, but a SUBSET of the problem has to be
tractable.) Alas, instead VC douchebrows used LLM bullshit to suck all the
air out of the room because wannabe kings have fantasized that technology
was 5 years away from creating slaves since pottery was
gonna make golems, writing was gonna summon demons, and alchemy was going
to bottle genies and/or love potions.<p>

<p>Although the software people from Tron still being the Next Big Thing 40
years later Kinda implies that particular s-curve has bent ALL the way flat.
C3PO was solid state electronics in 1977, Robbie the Robot was vacuum tubes
in the 1950s, the Macschineenmensch from Fritz Lang's 1927 movie Metropolis"
was old prewar radio parts, before that the Mechanical Turk and Tik Tok of Oz
were clockwork, Frankenstein was the logical extension of Voltaic Piles
and Ringer Solution... We haven't got had NEW source of pie in the sky
sex slaves on the horizon for a while now.
(Green Orion Slave Women for Kirk to fuck stopped
being compelling when Boomers took over NASA from the Greatest Generation
between the last moon landing in 1973 and the challenger explosion in 1986.
Space stopped being achievable the instant Boomers touched it.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#05-06-2026</guid>
  </item>
  <item>
   <title><![CDATA[June 4, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#04-06-2026</link>
   <pubDate>Thu, 04 Jun 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>I'm out of the habit of blogging about toybox work. I've been occasonally
posting threads to mastodon, but this level of technical detail isn't really
a good fit for the format. Plus it defeats the purpose of me trying to find
what I did back when I checked in a given commit.</p>

<p>My <a href=https://www.youtube.com/watch?v=vM_Gbx-c2Qs>talk video</a>
posted. Coulda been worse.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#04-06-2026</guid>
  </item>
  <item>
   <title><![CDATA[May 28, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#28-05-2026</link>
   <pubDate>Thu, 28 May 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>In response to finally managing to <a href=https://mstdn.jp/@landley/116642752227263222>post</a>
an infodump about my ELC talk (which I'd kinda promised to Tim Bird, although
he hasn't replied),
I got pointed at <a href=https://mstdn.jp/@landley/116648232970069875>this</a>
and I dunno how to feel right now.</p>

<p>I felt a bit better after my talk on the 20th (video still
isn't up, it's the Linux Foundation, but a lot of people showed up for the
talk and were very complimentary and enthusiastic afterwards, several of them
~30 years younger than me which is always encouraging), and I wanted to at
least get a toybox release out that let people reproduce what I'd demoed
with fewer <a href=https://codeberg.org/landley/toybox/commit/d7cef2f4a7d6>sharp edges</a>, but I was still
treating that talk as my swan song and assuming I'd have to delete all my code
off the internet on December 31 to avoid Gavin "spyware" Newsom's lawsuits
for noncompliance. (As my history with Microsoft and Faceboot have demonstrated
for 30 years now: I will not comply. The question is what I have to do
to avoid complying, and what the collateral damage is.)

<p>But people are trying to reduce California's OS age discrimination law
to "merely horrific".</p>

<p>Gavin "spyware" Newsom has still taken <a href=https://www.texasattorneygeneral.gov/news/releases/attorney-general-ken-paxton-successfully-defends-texas-law-requiring-age-verification-pornography>Ken Paxton's</a>
2025 supreme court victory where the 6 reich wing judges went against the 3
sane judges, and combined it with texas' <a href=https://www.npr.org/2022/07/11/1107741175/texas-abortion-bounty-law>abortion bounties</a> so you're
never outside the facist's juristiction since you can't escape
the reach of the US banking industry without repudiating your citizenship
(<a href=https://en.wikipedia.org/wiki/Foreign_Account_Tax_Compliance_Act>thanks
Obama</a>, who described _himself_ as to the right of Nixon), so we can always take your money,
bow down to the billionaires peasant scum) from "my best move is to help
accelerate the death of the last baby boomer" to "general purpose computing
may be able to hunker down and survive this", approximately the way
"my computer can't play world of warcraft or watch netflix, oh well" and
"this author I read only has a facebook page you can't read without
logging in, oh well". Long before "I don't subscribe to this patreon and
thus can't read its content", I was used to not participating in things
that I wouldn't pay the price for. I haven't had a car since 2018 (and
there was most of a decade before then that I just didn't have a license
because I refused to pay a trap ticket to some sundown town near Houston,
so couldn't renew it when it expired, and fine. Public transit it is then.</p>

<p>The website age gating <a href=https://wandering.shop/@KitAuthor/116653185861107134>bullshit</a>
just means "I have to block the UK, because they outlawed me giving information
to their people." Saying "but you could just" when I won't even give a website
my email to read it? I have never had any interest in collecting data on people
trying to download my stuff. If you insist on a gate then it's not gonna
have a knob and hinges, it's just plywood nailed over the hole so nobody
gets through. Bugger off: you walled _me_ out, you will die eventually,
maybe your heirs will be less stupid and can pull stuff out of an archive.
Members of your polity who decide to skirt your stupid rules are not my
problem.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#28-05-2026</guid>
  </item>
  <item>
   <title><![CDATA[May 20, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#20-05-2026</link>
   <pubDate>Wed, 20 May 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Gave <a href=https://osselcna2026.sched.com/event/2JQxw/building-the-simplest-possible-linux-system-rob-landley-hobbyist?iframe=no>my talk</a>
at ELC. Didn't blog about it at the time, not backfilling.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#20-05-2026</guid>
  </item>
  <item>
   <title><![CDATA[May 15, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#15-05-2026</link>
   <pubDate>Fri, 15 May 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>The other weirdly intermittent bug on j180 (running unbuntu 2024) is that
[ -n "$BLAH" ] was intermittently saying false for a variable that was
never set (and is thus empty). Changing it to [ 0 -eq ${#BLAH} ] made
it work reliably. I have no idea how ubuntu broke gnu/bash. If it was a
toysh issue I would spend my cycles to track it down, but gnu/bash being
broken on ubuntu?</p>

<p>The arm perl removal patch is just adding &amp;&amp; $(success,perl --version)
to the default y lines for ARM and ARM64 in lib/crypto/Kconfig for
config CRYPTO_LIB_SHA256_ARCH. I.E. don't try to use arch-specific optimized
code, just call the generic C implementation if we haven't got perl
in the $PATH. I should submit that upstream to be ignored by linux-kernel.</p>

<p>With those two fixes, and the weird "${var/#define blah/}" thing that
needs a backslash before the # because bash thinks we're commenting out
a SEARCH TERM somehow? (Um, CONTEXT people?) Anyway, with all that fixed
everything except armv7m builds (I still haven't got a kernel or qemu config
for that one, and the toolchain is still producing static PIE binaries
because the fdpic work was never properly digested upstream), and there
are four remaining test failures: microblaze or1k powerpc sh4eb.</p>

<p>I don't remember how many of those were already borked last release?</p>

<p>I remember <b>sh4eb</b> has a hiccup in the network emulation (it works for
little endian but the network card doesn't initialize properly for big endian,
the driver and qemu emulation disagree on something and I don't know
which one is wrong), so that isn't new.</p>

<p>I expect <b>powerpc</b> IS new because
I'd remember if that was broken last time, and the problem is xmalloc(56)
is failing near the start of running toysh. (Is that a musl failure?
Not sure what toolchain build I'm using on j180, might be the gcc 11 stuff
that was funky or similar. That smells like a musl-libc issue, not a kernel
issue.)</p>

<p>The <b>microblaze</b> build is not finding /init out of the initramfs.
I think maybe the -initrd loader is borked in qemu and the initramfs image
should be static linked into the vmlinux? (Why wouldn't I have already done
that, though...?)</p>

<p>The <b>or1k</b> build is booting to a shell prompt and timing out
there, because it can't find the squashfs providing /mnt/init to let
/init hook in extra automated behavior. I vaguely recall this is a qemu
limitation? You can specify some --longopt to force it to attach a disk,
but they never wired up -hda to specify the right kind of device.</p>

<p>Of the four, I should fix powerpc and maybe microblaze. I don't think
the other two are regressions since last time.</p>

<p>For an automated Linux From Scratch build, there would be three filesystems
in play:</p>

<ul>
<li><b>initramfs</b> - if qemu's -initrd option can't hand off to the
kernel, we can static link this one in. Ideally using tmpfs rather than
ramfs.</li>

<li><b>squashfs</b> - passed in via the -hda option, provies /mnt/init
to run the automated plumbing.</li>

<li><b>writeable scratch space</b> - ideally -hdb but could also be
a network block device. (The usual <b>truncate -s 2g scratch.img</b>
and <b>mke2fs scratch.img</b> then -hdb scratch.img for qemu and
<b>mount /dev/?db /home</b> in /mnt/init.)</p>
</ul>

<p>Both microblaze and or1k are failing to launch /init out of the
initramfs. That's the part where I don't remember if they previously
worked.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#15-05-2026</guid>
  </item>
  <item>
   <title><![CDATA[May 14, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#14-05-2026</link>
   <pubDate>Thu, 14 May 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>A left commit worked! (A dozen or so down the tree, I lost count a while
back. Lots of "git show", cut and paste both parents, cursor up to the
"git clean -fdx; git checkout -f $HASH" line, delete old hash, paste in
new hash pair, backspace over second hash, enter, cursor up to the for
loop applying my patch stack, and then click to the other window and
rerun the build to let it fail. And one succeeded!)</p>

<p>Now to check the RIGHT branch of that merge commit and... yes,
commit 4ef77dd584cf has the failure. And just from the description
it has something to do with the sha256 changes... but its parent commit
is also broken. Ok, screw it: we're out of the forest of merges, so bisect
again from 6.17 through the new failure commit and...
"<a href=https://github.com/torvalds/linux/commit/603b44162325>bpf: Update the bpf_prog_calc_tag to use SHA256</a>" is calling sha256()
instead of sha1() which... I dunno how that controls what the lib
plumbing is or isn't building? Ah, no, it's this hunk:</p>

<blockquote><pre>
--- a/kernel/bpf/Kconfig
+++ b/kernel/bpf/Kconfig
@@ -3,7 +3,7 @@
 # BPF interpreter that, for example, classic socket filters depend on.
 config BPF
        bool
-       select CRYPTO_LIB_SHA1
+       select CRYPTO_LIB_SHA256
</pre></blockquote>

<p>There's the fuckery that broke everything. Switching on a config symbol
with a build time dependency on perl.</p>

<p>I have a C sha256 implementation in toybox that I could swap in,
but some other commit was making some sort of noise about trying to optimize
it for speed or something? And the perl looked like it was emitting assembly
nonsense which just seems disgusting. So yet another patch that's
never going upstream. Post it to point lawyers at in future, but don't
expect the community to do anything useful about it.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#14-05-2026</guid>
  </item>
  <item>
   <title><![CDATA[May 13, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#13-05-2026</link>
   <pubDate>Wed, 13 May 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>I bisected the linux arm perl issue to e93bcbaa71f4 which is a merge commit. Great.
Any time something bisects to a merge commit it means the bisect failed,
either because I screwed up a good/bad or because the graph traversal
got confused. (I think the linux-fullhist tree going back to 0.0.1 causes
something to overload in git. Every once it a while it'll decide it needs
to take half an hour to resolve a bisect. Didn't do that this time,
instead it gave me the wrong answer. Oh well...)</p>

<p>The failure is that linux for arm needs another perl removal patch:
builds on arm targets are pulling in crypto plumbing that's running
perl during the build. This wasn't the case in 6.17 but is the case in 7.0,
so I need either figure out how to configure this crap out (and/or chop
it out maybe creating a new config symbol), or whip up another perl removal
patch reimplementing something in C or shell.</p>

<p>When bisect gives up at a merge commit, either the merge itself broke
the plumbing (it's not supposed to), or one of the parents has the bug even
though bisect thinks it didn't. The manual way to grind through is to
checkout each parent (the Merge: header line has two hashes, those are
the parents that got merged) and see if THAT has the problem. In this
case the first (left) parent does, so try the left parent of THAT (yes again)...
And of course the commit it gave up on is in a long series of merges Linus
did during -r1 pulling lots of people's trees, so we're in for a bit of a
slog manually tracking it down.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#13-05-2026</guid>
  </item>
  <item>
   <title><![CDATA[May 11, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#11-05-2026</link>
   <pubDate>Mon, 11 May 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Sigh, trying to polish stuff up before talk. Do a git pull on qemu,
moving my <a href=https://lists.gnu.org/archive/html/qemu-devel/2026-01/msg06318.html>sh4 memory patch</a> forward by hand. (It still applies fine, I just
had to remove it and reapply it to get git pull to shut up.)</p>

<p>I <a href=https://lore.kernel.org/linux-sh/a9acb387eb573a6b1e2cfad6bb406e8fbafda412.camel@physik.fu-berlin.de/T/#t>left off</a>
git bisecting an internal compiler error in the j-core compiler, which
building the linux kernel started triggering somewhere between 6.17 and master.
The problem is, I can't find the terminal window/tab in which I was doing so.
I just went through every window in all eight desktops...</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#11-05-2026</guid>
  </item>
  <item>
   <title><![CDATA[May 10, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#10-05-2026</link>
   <pubDate>Sun, 10 May 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Hey, I just <a href=https://github.com/mruby/mruby/issues/6258#issuecomment-4417616492>got email</a>
that ruby might have its own variant of microperl now. Let's
see, <a href=https://github.com/mrubyc/mrubyc>clone it</a>
and try building... "<b>No rule to make target '_autogen_builtin_class.h',
needed by '../build/alloc.o'.</b>" Alright, let's check the
<a href=https://github.com/mrubyc/mrubyc/blob/master/doc/compile.md>instructions</a>...
nothing about prerequisite packages, it says I need to run "make autogen"
which says "<b>mrbc: No such file or directory</b>". So I need mrbc to
run autogen and I need to run autogen to build mrbc.</p>

<p>Golf claps, everyone! (And I can't submit a bug report against the project
since my microsoft github took away my web access. I could reply to the
old </p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#10-05-2026</guid>
  </item>
  <item>
   <title><![CDATA[May 8, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#08-05-2026</link>
   <pubDate>Fri, 08 May 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Urgh, gotta put together my farewell talk on the 20th. I have no idea what I want
to say, because there's WAY TOO MUCH to say and I dunno what the most
important subset for THIS audience is. (I've sat down twice to come up
with a bullet point list outline for the talk, it's currently at 352 lines
of slush pile.)</p>

<p>That said, if mkroot is involved then I should cut one last toybox
release, because demonstrating a random git snapshot of where I trailed
off is unprofessional. And it really WOULD be nice to get toysh into
usable condition.</p>

<p>As a result I've posted some threads to <a href=https://mstdn.jp/@landley/116535079479044079>mastodon</a>
that would have gone here, but the current web version of this blog ends
last August and it just seems pointless to edit and upload stuff that nobody
will read but will get scraped for LLM training data.</p>

<p>Last month one of the lawyers on the OSI-review list posted an
<a href=https://lists.opensource.org/pipermail/license-review_lists.opensource.org/2026-April/006071.html>ai-generated comparison</a>
of two licenses. I believe it was a "fuck off" move on her part, and it's not
like I have a lot of respect for OSI to lose (I'm still on that list so
if they rename 0BSD _yet_again_ I'm ready to complain), but I would
have unsubscribed from that list right there if a convenient button
to do so had been in front of me.</p>

<p>Sending stuff out into that cesspool seems like assembling lego sculptures
so I can drop them directly in a septic tank. What's the point? You don't
need me, you have Claude. Go talk to your flattery machine. ("The Claude
Delusion" is a clever name for Dawkins going down that rathole, but
he is 80 years old and atheism is a religion the way zero is a number,
of COURSE he joined a cult. Firm belief in nothing ossified with time (as firm
belief does) until scam artist
du jour declared "you're ready for the next step, because you're special,
I'll let you in on the secret, become enlightened into the way of
paying-me-money". Silicon valley made an automated grifting machine out
of google's automated search summary boxes, and I am tired...)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#08-05-2026</guid>
  </item>
  <item>
   <title><![CDATA[May 2, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#02-05-2026</link>
   <pubDate>Sat, 02 May 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>One of toybox's historical contributors changed their name
and sent me a patch to news.html, "this patch changes the project news
to use my real name". Except... you provided me that old name, and
want me to rewrite the historical record to change the information you
had provided to me. (Do they also want to change the three dozen
mentions of the old name in the git log?)</p>

<p>I'm happy to take new commits under the new name, and refer to
them as the new name in future, but editing the history to change what
YOU told ME... If you published an op-ed in the New York Times then got
married and changed your name to something hyphenated, could you then
contact the NYT years later and have them edit the byline in the archive
to use your married name instead of your maiden name? Is that a normal
thing to do?</p>

<p>Beyond editing history generally being <a href=https://www.tomshardware.com/software/search-engines/wikipedia-officially-blacklists-all-links-to-archive-today-website-operator-caught-tweaking-their-own-archive>a bad thing</a> in
my experience and something I try to avoid doing,
the point of release notes is to briefly summarize the changes that
occurred in a way that lets you search the git log for them if you want
more info, and use the dates on those commits to find the discussion in
the mailing list if you want even more info. Changing the name in the
release notes without also changing the name in the git log and the
mailing list archive defeats the purpose of HAVING the release notes.</p>

<p>I'm happy to say Yusuf Islam or Shuhada Sadaqat if that's what they
want to be called now (Cat Stevens was always a stage name anyway).
It's a longstanding tradition going back centuries for your heart to
tell you a truth others cannot perceive that you're willing
to die for if necessary, and thus you need to change your name and
dress differently and have surgery on your genitals. I respect these traditions
and the many wars fought over them, and the people who hunger strike to
death or set themselves on fire for their beliefs. You do you.</p>

<p>But when you start asking me to pull offending books out of the library
and edit them to conform to your new conviction, I am very uncomfortable.
The fact we CAN now
<a href=https://www.vanityfair.com/hollywood/2020/04/disney-plus-splash-daryl-hannah-butt>digitally edit history</a> and George Lucas can try
to destroy all original copies of star wars to replace with his
new versions makes ME uncomfortable. Spielberg
<a href=https://variety.com/2023/film/news/steven-spielberg-regrets-editing-guns-et-censorship-1235594163/>apologized</a> for his stab at it,
but "moms for liberty" and "collective shout" are still out there
trying very hard to make history malleable.</p>

<p>Yes I'm aware you're persecuted, and I'm sorry about that and would
like to mitigate it where I can. But editing the historical record
to conform to a change in belief is a pet peeve of MINE. And the
current cultural position that "this topic is much more
important and personal than that time Joan of Arc was burned at the
stake"... I don't know how to measure this AT ALL.</p>

<p>That said, I have edited news.html before. For example,
<a href=https://codeberg.org/landley/toybox/commit/4c1b6407955a>back
in 2023</a> the day after a relase I fixed some typos
Elliott spotted.</p>

<p>But this is happening in the context of Gavin "spyware" Newsom
and Google eliminating sideloading, and I've been this close to just
deleting toybox entirely because of it.</p>

<p>I <a href=https://lwn.net/Articles/202106/>walked away
from Busybox</a> because from a certain point of view Bruce
fscking Perens wasn't wrong. So I let go of the rope and left
him to it. (When I said "please fork it" I wasn't being
facetious: you do the work, you get to steer. You order a
volunteer to stop doing it wrong, you don't get to complain
when the volunteer stops doing it wrong.)</p>

<p>I also walked away from Aboriginal LInux after a native
american developer on twitter complained my linux-from-scratch-alike
project was racist for using the latin phrase "ab origine", literally meaning
"from the beginning". I do not understand your pain, but I
believe you when you tell me my actions are hurting you,
so I'll stop. I lost interest in updating aboriginal,
and gradually redirected my attention to mkroot instead.</p>

<p>I've already found toybox much less fun to work on due to Google's heel
turn and Gavin "spyware" Newsom posting large financial bounties on hobbyist
OS developers, and this is another problem I could solve by just deleting
toybox. That way I'm no longer publishing the offending historical information
the developer provided me and now regrets having done so in a way that
is somehow my problem. It's was already a coin flip whether I'd do that
on December 31st since I have to delete <a href=/bin/mkroot>the os images</a>
anyway to avoid avoid Gavin "sypware" Newsom liability, I was waiting to
see how that played out, but I could do it sooner, sure.
Google doesn't need me, they have Gemini.</p>

<p>If my project is hurting someone, it can go. I left busybox, I left
aboriginal, I can --force push an empty repository to microsoft github
to take down toybox. Given their LLM training policy and the fact they took
away my web access in 2024, that seems the OBVIOUS CHOICE to me.</p>

<p>But it's also a cop-out to do it before the end of the year. I don't want
this person coming to me with their pain to feel like I'm responding with
some sort of passive aggressive bullshit. I refuse to give someone
who's clearly going through a lot some kind of ultimatum. Deleting it would
ALSO make them feel bad.</p>

<p>But I feel I am a bad person for not immediately complying with their issue.
My own freakouts about streaming culture's "you will own nothing"
and creeping censorship don't enter into it, they're the persecuted person
du jour and thus they get all decisions made their way, the same way
Netanyahu got decades of free passes in gaza because of the holocaust even
though his government was building illegal settlements in occupied territories
<a href=https://www.washingtonpost.com/archive/politics/1992/01/09/israel-said-to-speed-settlement-construction/45a0bedf-2762-4925-9f35-33443a3bac97/>back
when I was in college</a>. You are wronged, therefore you are always right.</p>

<p>If toybox is my project, I get to say no. If toybox is not my project,
the commit to change the history will be the last commit I ever make to it.
And I haven't decided which of those two is the case yet.</p>

<p>Either way, I'm happy never to mention that developer's old
name again. I sincerely hope they feel better in their new life.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#02-05-2026</guid>
  </item>
  <item>
   <title><![CDATA[May 1, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#01-05-2026</link>
   <pubDate>Fri, 01 May 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Another email I sent, replying off list to <a href=https://lists.busybox.net/pipermail/busybox/2026-May/092211.html>this post</a> in
a way that's not secret, just not poking the crazy person:</p>

<blockquote>
On 5/1/26 08:55, Jody Bruchon via busybox wrote:<br />
&gt; This guy is trying to keep his conspiracy theory off the BusyBox<br/>
&gt; mailing list, I suppose, since this was BCCed exclusively to me off-list:<br />

<p>No, he just emails people privately a LOT. He's cc'd me, Linus Torvalds, and Richard Stallman all on the same email more than once. (None of us replied that I noticed. No idea who he'd also bcc'd.)</p>

<p>Checking my spam folder, he (and/or his chatbot) has emailed me off-list 3 times today. (I have not replied to him since february.) And he apparently set up a "busybox" google group to make up for the moderation bit recently being added to his account here, which he got it to send me an invite to.</p>

<p>It's textbook AI psychosis. Back in February he similarly fixated on the toybox list doing the same LLM nonsense until I moderated him there after
<a href=http://lists.landley.net/pipermail/toybox-landley.net/2026-February/030912.html>this post</a>. (Note: nobody had asked.)</p>

<p><a href=https://en.wikipedia.org/wiki/Chatbot_psychosis>Chatbot psychosis</a>
is
<a href=https://www.psychologytoday.com/us/blog/urban-survival/202507/the-emerging-problem-of-ai-psychosis>slowly</a>
<a href=https://pmc.ncbi.nlm.nih.gov/articles/PMC12712562/>becoming</a>
a
<a href=https://www.psychiatrypodcast.com/psychiatry-psychotherapy-podcast/episode-253-ai-psychosis-emerging-cases-of-delusion-amplification-associated-with-chatgpt-and-llm-chatbot>recognized</a>
<a href=https://www.youtube.com/watch?v=SogZ6TI14m0>medical</a>
<a href=https://www.youtube.com/watch?v=UZdibqP4H_s>condition</a>.

<p>Roberto's messages recently stopped going to the busybox list because I asked osuosl to add the moderation bit, and I'm replying off-list because I don't want to encourage him to create endless sock puppet accounts to try to circumvent it.</p>

<p>Back in February he was trying to get me/toybox to merge a perpetual motion machine random number generator he'd "invented" which his LLM convinced him would produce endless perfect randomness entirely in userspace without hardware support, and since everybody else had turned him down he wanted it to go in toybox's lib/ directory. I tried explaining to him that it CAN'T work and I wouldn't merge it if it did (layering violation: libc and the kernel already have plenty of getrandom() apis and adding workarounds for open source libc/kernel is unproductive when they could just be fixed there). He didn't really reply to what I said but talked PAST it, until I realized he was not all there.</p>

<p>He replied to his own previous post seven times in a row with nobody else interacting, several times AFTER I
<a href=http://lists.landley.net/pipermail/toybox-landley.net/2026-February/thread.html>moderated his account</a>.</p>

<p>Probably best not to engage with him. It won't help. (I tried, before I realized he was actually crazy.)</p>

<p>Feel free to forward this email, although sending it to the busybox list would probably be counterproductive.</p>

<p>Rob</p>
</blockquote>

<p>Urgh, now that I've checked those spam messages, yes the psychosis guy has
been emailing me about a big conspiracy and busybox having been hijacked in a
way I <a href=https://lists.busybox.net/pipermail/busybox/2026-May/092212.html>can't
find</a> any evidence of. Leave it for Denys to handle...</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#01-05-2026</guid>
  </item>
  <item>
   <title><![CDATA[April 27, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#27-04-2026</link>
   <pubDate>Mon, 27 Apr 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>An email I sent to osuosl today, with the subject "Busybox mailing
list.":</p>

<blockquote>
<p>Denys is busy right now, he seems to check in to busybox once a month. (Last git commit on April 12 and the last before that on March 16).</p>

<p>Various busybox mailing list users are poking me in email and on irc about Robert Foglietta coming down with AI psychosis and spamming all sorts of crap to the busybox mailing list, rendering it unusable. He did the same thing to the toybox list a couple months back and I flipped on his moderation bit to hold the messages so I could review them, and none have been on-topic to the list yet. (He's also emailing me, Torvalds, and Stallman behind the scenes. Yes all three cc'd on the same emails! None of us have replied yet.)</p>

<p>Could you flip on his moderation bit in the busybox list until Denys gets back to review the posts? (I still have an ssh key into busybox.net but have long since forgotten my password for sudo and/or list moderation).</p>

<p>Oh, and if you want a slightly less ugly fix for AI scrapers than having git.busybox.net return a 404 error, perhaps:</p>

<p>echo '&lt;meta http-equiv="refresh" content="0; url=https://busybox.net/source.html" /&gt;' &gt; /var/www/git.busybox.net/htdocs/index.html</p>

<p>Thanks,</p>

<p>Rob</p>
</blockquote>

<p>I've been out of that project for twenty years, and still get
poked about it. (My ssh key into the server still works, but I don't
remember my sudo password. So I can take a look at things, but not fix
them. Which is probably for the best.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#27-04-2026</guid>
  </item>
  <item>
   <title><![CDATA[April 21, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#21-04-2026</link>
   <pubDate>Tue, 21 Apr 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p><a href=https://robyngulley.com/>Robyn Gulley</a> is coming to the hamline meeting tonight, and I need to
hand over the remaining $130 to take full advantage of the
<a href=https://www.revenue.state.mn.us/political-contribution-refund>Minnesota
Political Contribution Refund</a> program. (She's coming because I suggested
it to her via text to the phone number she puts on all her flyers,
and she went sure. I got introduced to her via the ice defense signal
guys, only fair to introduce her to them. And anyway, I want to poke her
about <a href=https://www.house.mn.gov/sessiondaily/Story/18898>balcony
solar</a> bill, and reaffirm that the state level OS age discrimination bill
is dead.</p>

<p>Even if the national ban happens, that just means we have to
tear it back down again via the courts which yes means expanding the
supreme court after It Happens (where "It" usually means Cankles
but I'm starting to think it's "every last boomer dies especially Schumer"...
AT SOME POINT the <a href=notes-2018.html#16-11-2018>lead poisoning</a>
works its way through society and whoever's left acknowledges Capitalism
was just the replacement for Catholicism as the organizing religion
underpinning the perceived divine right of oligarch du jour, and it's
dumb and was always imaginary and we deploy corrective guillotines until
the imbalance is no more.)</p>

<p>In the mean time, the more power the USA loses the better, and becoming
a client state importing all software is just following up on what's
ALREADY happened to hardware. And there's precedent: back when Bill Clinton
was persistently <a href=https://www.wired.com/1995/03/the-continuing-investigation-of-phil-zimmermann/>stupid about cryptography</a>
GPG (the predecessor to PGP) was something you downloaded from overseas.
Now operating systems are becoming something you download from overseas and
install on old or surreptitiously imported hardware, because the US (and
possibly EU) versions will be full of mandatory spyware. Fine: maybe installing
china's version of the Orange PI OS becomes the less crazy option at
some point. Doesn't mean I like Empreror Xi, it just means Gavin "spyware"
Newsom lowered the bar into hell. You find the edge wherever it is and you
push.)</p>

<p>For some years I didn't host compiler toolchain binaries because GPLv3.
If I can't host OS images because Gavin "spyware" Newsom: here's the
script you run to build your own. Cracking your locked down hardware to
actually INSTALL it is left as an exercise for the reader, just like it
was for every game console shipped in the past 20 years. (We'll see what
the motorla/grapheneos pairing winds up like. It would be ideal if I could
update both phone and laptop to current hardware before spyware's new
laws kick in. My CURRENT laptop is coming up on 15 years old and my
phone on 10, actuarial tables are <a href=https://www.npr.org/2026/01/29/nx-s1-5689902/us-life-expectancy-rises>back to</a>
the old math placing Boomerdamarung at 1955+79=2034, so possibly the
2036 election will have someone ready to <a href=https://www.thenation.com/article/society/detrumpification-public-health/>Damnatio Memorae</a>
every Boomer policy.</p>

<p>Anyway, the "just fix it" one line toysh patch to address "echo | cat"
exiting interactive mode is just to add an unredirect(TT.ff-&gt;blk-&gt;urd)
call after the loop, which DOES fix it but causes a segfault when you
hit ctrl-D to exit. (Which also means most tests hitting EOF on stdin end
with a segfault.) The problem is TT.ff is NULL when the loop exits, because
we did an end_fcall() and then fell out of the loop. Which caught me by
suprise in the moment but is PROBABLY a design I thought through earlier.
So I sat down to recapitulate phylogeny again (seriously, I need to do
instructional videos explaining the design of all the commands so _I_ can
watch them 5 years later and go "oh yeah, that"...) and... I'm not entirely
sure I thought of every codepath way back when?</p>

<p>In toysh the parse_line() and run_lines() plumbing are separate, constructing
and consuming a struct sh_pipeline list handed off between them. One of
the design assumptions of run_lines() and all the functions it calls is that
the pipeline list is balanced and terminated: for example any &lt;(thingy)
argument will have that terminating parentheses, same for ${blah}, any
if statement without a corresponding then/fi will have been caught and
errored out before we ever get to run_lines()... and it's ALMOST true:</p>

<blockquote><pre>
$ echo one; source &lt;(echo echo hello; echo 'echo |'); echo two
one
hello
bash: /dev/fd/63: line 3: syntax error: unexpected end of file
two
</pre></blockquote>

<p>(Yes that's a &lt;pre&gt; block instead of paragraph tags with break tags
at the end of each line. Yes I know Google Chrome sets the font size to
"1" in those for some reason, resulting in tiny illegible text. This is a
Chrome bug. Firefox hasn't got it. Vivaldi fixed it ages ago. I'm tired of
working around their problems.)</p>

<p>Seriously, if LLMs could ensure 100% codepath testing in THAT sort of
thing "here's a way data can leak out when you pathologically attack the
system" that would be a use. But they don't REASON, they're stochastic
false positive generators, confidently incorrect in both what they emit
and what they miss. It's not really any better than <a href=notes-2016.html#22-01-2016>static
checkers</a>, while being millions of times more expensive, unethically
sourced, and funding the worst assholes to attack society and the legal
system.</p>

<p>And alas making compiler technology solve those kind of things boils
down to a cross between "traveling salesman" and "the halting problem".
(Although I personally can reason backwards from error cases to "what input
could cause this, can such an input make it TO there from any external
source" so it SHOULD be possible to automate that. It's just nobody's
bothered, and I'm no longer in a "drop everything and spend 3 years
attempting to reify this idea" part of my life. It's hard enough
mustering enthusiasm to listlessly poke at ideas I've thought somebody
really needs to do for a decade now and I guess it's me because nobody
ELSE seems to bother. Tardis envy again. Lifespan envy. "This would take
ten years. My chances of being dead in ten years are no longer negligible.
I have too many unfinished projects already.")</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#21-04-2026</guid>
  </item>
  <item>
   <title><![CDATA[April 19, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#19-04-2026</link>
   <pubDate>Sun, 19 Apr 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=money>
<p>Emailing a finance guy ('tis the season), and I typed up a long rant and
then didn't send it, and that's part of what this blog's for.</p>

<blockquote>
<p>&gt; Based on your sentiment, consider diversification.</p>

<p>The S&amp;P 500 index isn't sufficiently diversified?</p>

<p>It's _annoying_ that the AI bubble's in there, but welcome to modern capitalism. It's been crash after crash since Reagan "deregulated" all the New Deal legislation that had successfully prevented another 1929 for 50 years.</p>

<p>Trump's first term was called "the pandemic" even though there's ALWAYS a new disease (Obama contained with Ebola and Zika and Bird flu, South Park made fun of SARS, Reagan fumbled AIDS, heck Jimmy Carter famously dealt with swine flu) and containers stacked 8 high at the port of los angeles leading to an inflationary spike was clearly a political failure. Dubyah's's term ended with the 2008 mortgage crisis and started with the dot-com bust in 2001, before THAT Bush I presided over the Savings and Loan crisis... (Yes it's basically always republicans: the 1973 oil embargo was under Nixon, Herbert Hoover was president in 1929. Diverting money from the poor to the rich is terrible for the economy.)</p>

<p>
&gt; My team would be happy to help with that. There is complimentary<br />
&gt; financial planning with no commitment. Then if you're interested,<br />
&gt; we can implement everything for you as ongoing relationship<br />
&gt; management.
</p>

<p>Diversification into what? 80% of managed funds lose to the index funds.</p>

<p>I'm not buying any bonds treasury secretary Scott Bessent or fed chair Kevin Warsh have anything to do with.</p>

<p>I have a coca-cola dividend reinvestment plan I've been meaning to make more "optional cash payments" to (2.8% dividend, caffeine remains addictive, earnings have kept up with inflation since 1887, and even a tiny share buyback program), but living off dividends seems unlikely (we'd need a healthy 7 figures in that just to replace Fade's salary, and have 5) so that's a hobby really.</p>

<p>I've never done foreign investments because exchange rate fluctuations can swamp anything real, and ask Bill Browder or Jack Ma about governments going "mine now" one day. (As for the London Laundry, Brexit rhymes with Bessent/Warsh.)</p>

<p>I mean, happy to talk, but...? (I'm not a great investor. I thought Warren Buffett was too old to buy Berkshire Hathaway stock in 1996.)</p>
</blockquote>
</span>


]]></description>
   <guid>http://www.landley.net/notes-2026.html#19-04-2026</guid>
  </item>
  <item>
   <title><![CDATA[April 15, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#15-04-2026</link>
   <pubDate>Wed, 15 Apr 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>The function popping context is complex and fiddly, and figuring out where
I left off yesterday is always a chore. I remember the todo items but
not with enough detail to reproduce them exactly.</p>

<p>I had a good checkpoint that passed all the tests (except two new ones
I'd added and not checked in yet, which I can handle in a separate pass
since they're not regressions). But I didn't SAVE that because I was still
doing cleanup and removing added debug printf()s) when I noticed that one
of the tests was producing spurious output because "eval blah &gt; redirect" was
being ignored... ah, I wrote that down in yesterday's notes-to-self which is
nice.</p>

<p>The thing is, it was one of the "make test_sh" tests silently SUCCEEDING
but producing
spurious output to stdout that was visible as a break in the PASS: output.
I.E. I visually spotted it, but the regression test plumbing didn't. (Meaning
I need to add or tweak a test to catch that; the &gt;/dev/null was to
produce clean visuals when running the test, not to capture expected output
or preclude undesired output in a way programmatically detected by the
regression plumbing.)</p>

<p>Part of the whack-a-mole was that my first fix was inserting an add_fcall()
at the start of eval() so we weren't repurposing the local variable context
all functions have for prefix assignments. (They used to be created only when
there WERE prefix assignments, but that made popping them complicated.
The "lazy evaluation" approach was noticing at the start of the run_lines()
loop that we're out of stuff to do and popping it then, which in theory is
fine for function contexts but not BLOCK contexts (which unredirect() lifetimes
can be tied to), although function contexts _contain_ block contexts
(when you return from a shell function inside nested for loops you break out
of the loops automatically)...</p>

<p>In theory adding extra NOP function contexts is harmless. In PRACTICE
it affected the "_" variable, ala "echo one two three; echo $_" should
say "three".</p>

<p>In the morning I went "last night's whack-a-mole may not be right,
I should frog it back to the checkpoint that sort of passed all the tests
and work out the lifetime rules for the redirects and how it interacts with
popping blocks and function contexts." And fifteen minutes later I'm still
not back to the version that passed all the tests because I don't remember
what I changed and I didn't save that checkpoint. (I can look at the "git diff"
since the last _checkin_, but it's pretty large because I cleaned up several
unrelated things during an extended bout of poking at the code trying to
refamiliarize myself with it enough to figure out how to fix the original
unredirect issue.)</p>

<p>This is why I need to dedicate actual focus to this, and it's been
really hard with Gavin "spyware" Newsom imposing a $7500/download penalty
if I actually publish anything that gets used in the state of california.
He's not dead yet, so I don't want to publish it. That's part of the reason
my published blog on the website is coming up on a year out of date despite
having all these entries since in my laptop's text file: I am not a
codependent enabler keeping the kitten-mulching machine running longer
in hopes of making the kittens' final moments slightly less horrific.
Hugh Jackman's character in "Poorhouse Rock" was right: burn it.</p>

<p>(I talked to my father yesterday and at 80 years old he's all enthusiastic
about spyware Newsom. I told him I'd write in a third candidate if spyware
is the nominee, yes even if that means more maggots. I'm done snuggling up
to "good cop". This ends with neuremberg trials and guillotines for
billionaires, if that hasn't happened yet it's not over. My father was
somewhat distressed to hear that, but again: he's 80.)</p>

<p>Aaaaand there's a national OS age discrimination bill
<a href=https://www.congress.gov/bill/119th-congress/house-bill/8250/all-info>before
congress</a>. Fuck.</p>

<p>In context, Linus deciding to <a href=https://www.tomshardware.com/software/linux/linux-devs-start-removing-support-for-37-year-old-intel-486-cpu-head-honcho-linus-torvalds-says-zero-real-reason-to-continue-support>remove 486 support</a>
is a rounding error. As is Google still actively <a href=https://infosec.exchange/@muntashir/116372607911622394>attacking</a>
alternate app stores.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#15-04-2026</guid>
  </item>
  <item>
   <title><![CDATA[April 14, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#14-04-2026</link>
   <pubDate>Tue, 14 Apr 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Ok, audited the callers of expand_redir(), run_command(), unredirect(),
free_process(), wait_job(), and searched for sh_process declarations.</p>

<p>So many weird questions I've PROBABLY thought about before, but am not quite
sure about. What happens if signal handlers run in subshells, and if/when that's
bad how do we prevent it? Especially since things like pipes create implicit
subshells all the time, ala
<b>if true; then echo hi; fi | if true; then echo hi; fi</b> basically has
parentheses around both sides of the pipe. (Which becomes visible if you
assign variables in either: they're local and cannot persist.) When you
have a (thingy) that you're actually blocked and WAITING for then presumably
only the parent should run its signal handler. But if the signal handler
is an alternative to exiting ala ctrl-C then you still need to do stuff,
but it's not SIGIGN either because ctrl-c should still break you out of
a child...</p>

<p>Sigh, this is really job control handling, and needs diagrams. I worked
through this back during the pandemic, but it's been long enough I don't
remember my answers...</p>

<p>Apparently bash doesn't handle
<b>do while false; echo hello; done || echo this</b> so maybe toysh not
handling it either is intentional?</p>

<p>Oh here's a fun sequencing issue: "<b>eval echo hello 2&gt;/dev/null</b>"
basically queues up a function call to be interpreted in the current redirection
context, so that context needs to persist through that call,
but things like job control can emit stuff to stderr at multiple points
going into and out of the eval (which is somewhere between a shell function
and "source &lt;&lt;&lt; string").</p>

<p>If you background the above eval line, it will announce it backgrounded
the job to stderr, which should _not_ get redirected. Which means subshell
territory, ... which gets redirected. Is that correct?</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#14-04-2026</guid>
  </item>
  <item>
   <title><![CDATA[April 13, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#13-04-2026</link>
   <pubDate>Mon, 13 Apr 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=health>
<p>Finally got the tax paperwork uploaded to the new preparer's app thing.
(Which Fade installed on her phone, because mine's been "out of support"
since 2022 and there's NO WAY I'm feeding it important data.) Of course said
preparer said it was too late and they'd file an extension for us when we first
contacted them last week, but at least we're not using our old preparer in
texas for another year. (Yes I would like to use IRS free file but I've
still got coca-cola stock. It's less than $100 worth of dividends for the
year but having stock actually in your name, not a broker's name,
confused the system last I looked into it. I doubt it's improved since last
I checked, not enough Boomers are dead yet.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#13-04-2026</guid>
  </item>
  <item>
   <title><![CDATA[April 12, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#12-04-2026</link>
   <pubDate>Sun, 12 Apr 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p>Fuck Orban.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#12-04-2026</guid>
  </item>
  <item>
   <title><![CDATA[April 11, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#11-04-2026</link>
   <pubDate>Sat, 11 Apr 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Various <a href=https://www.youtube.com/live/OdMQwDtumJ8>rust</a>
<a href=https://www.youtube.com/watch?v=bGrQcpIeBts>links</a> keep
wandering by and I open tabs but haven't spent the time to watch them
so far because my instincts are to just walk away from stuff I dowanna
do. I don't have to convince you to not, and you wouldn't listen.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#11-04-2026</guid>
  </item>
  <item>
   <title><![CDATA[April 3, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#03-04-2026</link>
   <pubDate>Fri, 03 Apr 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>A day later, staring at expand_redir(blah *this, ...) kinda wanting to put
the unredirect list BACK into the object pointer where all the other outputs
go. The lifetimes are inconsistent, but there are only three callers and
only one of them is using the block unredirect. (That's the one that was
transplanting.)</p>

<p>The other two calls are in the run_command, and the first of those is
manually editing the input arg list (to pick off individual prefix entries,
but "&lt; file" can be a prefix so it needs to figure out pairs. (Note that
"&lt;file" gets parsed as two words so at least it doesn't have to work out
a VARIABLE number of words to pass through.)</p>

<p>This all kind of implies that the expand_redir() interface is wrong, since
all three callers do something different with it. But I'm not sure what
the interface should be?</p>

<p>Maybe if skiplen is negative stop after a single word? Except skiplen=0 is
the start position so it would look at
<b>(skiplen&lt;0) ? 1-skiplen : skiplen</b> and then that implies the
check for redirect and check for assignment logic would move into expand_redir()
which has a single user anyway, but at least this would avoid the arg
editing in the caller...</p>

<p>Ok, having an urd pointer in pp isn't that heavyweight (8 bytes on 64 bit)
so I don't mind it basically being a temp that gets consumed by the caller,
especially if unredirect() is clearing it for us now. :)</p>

<p>But the third caller is still transplanting, which is awkward. Still, as long
as the lifetime rules are clear...</p>

<p>All right, free_process() should call unredirect just out of sanity, the
function starts with a NUL check and returns immediately so it's a little
bit of CPU but not much. (More cache footprint than anything, and this
is a reasonably hot path function for doing basically anything already.)</p>

<p>And then there's the exec_main() that's currently dropping the unredirect
list (and needs to have access to it, currently fishing it out of TT.ff-&gt;pp-&gt;urd
so having it there makes sense), which leaks the high filehandle displacement
(hfd) list. What it PROBABLY should be doing is looping
through the listed filehandles and finding ones with the CLOEXEC flag on
them, and closing those. Which would ALSO be good for recursive calls into
toybox builtins, since that's also a thing there. (Of course adding a zillion
syscalls before calling a command_main() isn't ideal, but probably still
faster than fork/exec with a $PATH search even with everything cached...)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#03-04-2026</guid>
  </item>
  <item>
   <title><![CDATA[April 2, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#02-04-2026</link>
   <pubDate>Thu, 02 Apr 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Urgh, what was I in the middle of doing in toysh?</p>

<p>I left myself multiple <b>"murgle pp->urd lifetime moving to ff->blk->urd or similar?"</b>
style notes (easily greppable nonsense word that will break the build if
I haven't removed one before the next time I try to build, with a comment
to try to remind me of what issue made me mark that line with a fixmenow).
But what the CURSOR is on is a bare "murgle" in expand_redir() next to
the assignment to the variable "cv" which is the temporary string {VAR}&lt;blah
redirects save the VAR part into before we've actually done the redirect.
(We grab a next_hfd() and xmprintf("VAR=%d", that) a string we can setvar()
later after we've done a save_redirect() to put a filehandle there. If
something errors out before then, we need to free this string in the
error path.) Right, I'm adding a fail: jump at the end to consolidate the
error path cleanup, and freeing cv should go there. (It's initialized to 0
and the setvar() that consumes it is followed by cv = 0, and free(NULL)
is a NOP according to posix so always safe to do.)</p>

<p>The problem causing splash damage is the interactive shell
shouldn't exit for "echo | cat" which means the unredirect lifetime
rules need redoing. There really shouldn't be an unredirect list in
struct sh_process, everything using that should be using the one in
struct sh_blockstack instead. We start with an initial blockstack at each
function call level (both of those lists are never empty: we need a current
context to operate in), meaning <b>if true; then one | two | three; fi | four</b>
should still work fine because the if adds a second TT.ff-&gt;blk for the
one|two|three to hand off with, and the | four is recorded in the parent
context: when we pop back to that one it hands off to the next pipeline segment
at that level (which may be a command or another flow control statement
adding a new flow control block structure to the block stack at that point).</p>

<p>Previously expand_redir() got an <b>sh_process *pp</b> argument and stored
the undo list for its redirects in pp-&gt;urd, and I changed that to have an
explicit new "int **urd" argument. And while I was there I tried to audit
the error paths, because they weren't calling unredirect(urd) and returning
an empty unredirect list, but the callers weren't doing it in their error
paths either: just calling free_process(pp). Except
free_process() wasn't calling unredirect(pp-&gt;urd) because of the same
"doesn't quite belong here" lifetime rule nonsense. It's freeing pp-&gt;delete
and pp itself because those lifetimes are correct.) So rather than make
this every error paths' responsibility, I should just have expand_redir()
cleanup after itself. (You need coherent lifetime rules to get the error
paths right. Having tons of redundant cleanup in a lot of different error
paths is a bad design: your objects should clean themselves
up. You get a constructor function and a destructor function for the type,
and anything outside that is probably a wart. I may be making blanket statements
out of annoyance at the moment.)</p>

<p>Another change with lots of splash damage is I changed unredirect() to zero
its argument, meaning it now takes an int ** instead of an int *, so all
the callers go unredirect(&amp;urd) now. Which matches the semantics of
save_redirect() which needed an int ** so it could realloc() the array
of integers as it adds to it. The unredirect() call was already freeing the
pointer, but the caller had to <b>unredirect(urd); urd = 0;</b> if the variable
was going to be used again, and now the call does it for you. Meaning I have
to change every caller, which means auditing lots of paths to make sure
it's right afterwards and remove now unnecessary curly brackets and such.</p>

<p>Trying to figure out where to add "urd" to the expand_redir() argument
list was a bit of a mental hiccup because the whole "object oriented C"
thing implies the sh_process *pp that's the first argument of expand_redir()
is its "this" pointer. Which is probably why "urd" migrated there in the
first place: after all the expanded arguments go into pp-&gt;arg, the output
gets written to this-&gt;variable. The sh_arg is used read only as input.
(I don't tag things "const" because modern C will not SHUT UP about it
and requires a zillion unnecessary extra typecasts that make the code
more brittle. If "string" isn't const despite being rodata that SEGFAULTS
IF YOU WRITE TO IT then don't ask me to tag local variables that live on
the stack "const" when the compiler is REQUIRED to do constant propagation
and some basic liveness analysis to get global initializers right. SIGH.)</p>

<p>Anyway, "arg" is the point of the exercise (main input being processed),
pp was only before it because "the this pointer goes first", but "urd" is
another output being written to. Putting the main input _third_ seems bad,
mixing inputs and outputs arbitrarily is bad, kinda sucks both ways... which is
why urd was in pp, but lifetime rules say it shouldn't be. (And I had
code transplanting it after calls.)</p>

<p>This is turning into the kind of patch where you get to what you THINK
is the end and then you "git diff" and read through the patch to make
sure everything still makes sense.</p>

<p>Ok, all the old "return" calls in expand_redir() are now "goto qfail",
the previous "break" calls now fall THROUGH to qfail when we have unprocessed
arguments, and the difference between the break and the goto is the break
does a syntax_error() first, complaining about the argument we just tried
to process. (The gotos are after things like xopen(WARN_ONLY) that already
printed a sufficiently detailed and more specific error message.)</p>

<p>And NOW I need to go adjust all the expand_redir() callers to add the
extra argument, which means figuring out where they should save the
unredirect list TO (because not all of them are in run_lines() operating
in the context of the current blockstack).</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#02-04-2026</guid>
  </item>
  <item>
   <title><![CDATA[April 1, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#01-04-2026</link>
   <pubDate>Wed, 01 Apr 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Read a <a href=https://neuromatch.social/@jonny/116332211027442558>long
thread</a> analyzing the claude leak, and my vindictive streak is 100% happy
to let companies that want to use that crap do so as long as we can ring
fence the externalities. No, they should be FORCED to. I grew up to be whatever
the opposite of a codependent enabler is, the donald duck cartoon where
his nephews buy him a box of cigars and he thinks they're trying to smoke
in secret so makes them smoke the entire box in one sitting resonates
emotionally with me, except for the part where he got into the situation
by mistake and they were buying them for him as a present. (His mistake
was hypocrasy: if it's ok for you to do, it's ok for them to do.)
The companies wanting to do AI haven't had ENOUGH claude applied to them yet,
I know because they haven't gone out of business bankrupting their owners.</p>

<p>I am not looking
for Google or Amazon to wise up and repent. I'm looking for the smoking crater
where they used to be to serve as a warning to future generations. Similarly,
people comparing Trump to Hitler lack ambition: naming your child "Donald"
seventy years from now should be like naming your child "Adolph" today.
He IS the new standard for evil. Until Maga replaces Nazis as the ok to gun down
bad guys in future video games, we're not done with the investigations and
trials yet. They are literal
<a href=https://www.cbc.ca/news/world/us-ny-buffalo-migrant-cause-of-death-9.7151065>monsters</a>.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#01-04-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 31, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#31-03-2026</link>
   <pubDate>Tue, 31 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>So many weird little demands on time, mostly spinning out of the Signal groups
set up to counter ICE and now being used for general community stuff.</p>

<p>Stood anti-ice watch in front of
the "education center" a block away (ESL school, day care, and job training)
twice today (and twice yesterday), once the half-hour shift I signed up for
and once because somebody called out sick for an earlier slot and I'm right
around the corner.</p>

<p>Some lady needed help moving (she's not supposed to lift heavy things
so soon after her heart attack), and I biked there and put in 45 minutes.
She was only paying $1200/month for an (admittedly old) entire house,
we're paying more than that for a 1 bedroom apartment (new construction
in an excellent location). Broke my bike's front wheel reflector trying to put
it back up on the racks, I should take it to the bike store I got it from
and have them fix it.</p>

<p>Talked to the apartment across the street about the big empty grass area
between them and the gas station, and they say they don't own it (the city
took/bought it from them years ago), so yes it _is_ correctly marked on google
maps as municipal greenspace (but too small to be a named park). I want to put
a community garden there, and am trying to work out the process. (There's
an <a href=https://ramseygis.maps.arcgis.com/apps/webappviewer/index.html?id=46982856c9e44c85836ba80e19f42c7d>online map</a>
of community gardens that says there's another one on the block, but that
turns out to be inside said apartment building. (They have one inside
the building for residents. Light court I guess?)</p>

<p>That said, I emailed the people who maintain the map on the theory they
might know the procedure for getting a community garden recognized by the
city (so they don't mow it) and maybe testing for lead in the soil or
something? Needing raised beds would make it WAY harder to garden, although
maybe flowers for a few years could soak up the lead? There's remediation
strategies. It's had 30 years of constantly being rained on since 1995.)</p>

<p>(I stole a little bit of dirt from it to start my tomato seeds in a
cardboard egg carton, on the theory that even if the soil's terrible it's
a couple ounces going into a big pot of store bought soil. Not that I
tested the store-bought soil for heavy metals or PCBs either. Or
<a href=https://www.youtube.com/watch?v=MS8_PZCJC3E>invasive species</a>
for that matter...)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#31-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 30, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#30-03-2026</link>
   <pubDate>Mon, 30 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Laptop battery was dead again when I pulled it out of the bag, it still isn't
configured to wake up and suspend-to-disk when the battery
keeping the DRAM alive runs out. (It lasts 2-3 days in the bag, and
the last time I downloaded email was 4 days ago.) *shrug* Getting used to it.
It didn't come up much when my laptop was a thing I used every day,
but now...</p>

<p>Ok, the hfd = 10 reset that seems out of place in run_lines() is
already in expand_redir(), and the other obvious
use for it is fpathopen() which is called from sh_main() to get a FILE *
to our shell script which is called before expand_redir() or run_lines()
ever gets called so will start at fd 0 (stdin). Right, that's a bug.
(Resetting it extra
times isn't bad because next_hfd() will find the next available filehandle
and thus pass over used ones, it's just an optimization not to start at 10
_every_ time but remember the last one we used. So let's move that first
reset to sh_main() and trust expand_redir() to do it elsewhere. It's
not going off the top of the 1024 range without basically filehandle
exhaustion, because even a call to "source" goes through expand_redir
to get there.</p>

<p>Why is pp-&gt;urd in the sh_process instance? The lifetime of the redirects
isn't the lifetime of the process: the process can live way longer
(backgrounded or in a pipeline) than the unredirect context lives in the host.
(The delete list belongs in the process because it holds temporary allocations
used to construct the argv[] array that job control may need to print later,
but the redirects are either for a NOFORK that returns and then gets
immediately cleaned up, or they're for a child process that forks or vforks
and then immediately gets cleaned up.</p>

<p>When we "exec 2&gt;&amp;1" it doesn't look like it frees the HFDs. It should
free the HFDs. I don't think I have an ONLY free the HFDs option. I should
add a test for that.</p>

<p>Hmmm, "echo | cat" needs to fork the echo because echo can output a lot of
data (how much <a href=notes-2017.html#05-11-2017>varies per kernel version</a>
and I HATE THAT) but in any case it seems like enough data to fill up
the pipe buffer and block, which would prevent a NOFORK echo from returning
which would hang the shell. The rule is any command in a pipeline runs as a child
process even when it's a builtin, and it looks from the debug spam like it's
not doing that. (Which is part but not all of the problem with the bug I've
been trying to fix.) I should add a test for that...</p>

<p>Huh, "help ulimit" in bash says
ulimit -p is pipe buffer size... in 512 byte units, and bash's ulimit -p says
8 hence 4096 bytes, but <b>rm -f done; { echo $(seq 1 10000); touch done; } | while [ ! -e done ]; do sleep .1; done</b>
doesn't block. But seq 1 100000 does: 49k vs 589k output respectively.
Meanwhile toybox's ulimit -p says 65536 which matches observed reality
and has units in bytes so programs can parse the damn output. Grr, I want
to make a test that reliably tests but the measuring plumbing is buggy
and nonportable on the gnu side of the fence. (Before even asking netbsd.)</p>
Right, seq 1 23000 produces a little under 131072 bytes of output which
is big enough to hork the default pipe buffer but small enough to work
under old kernels' environment space limitations.</p>

<p>How _do_ I make a test for <b>echo $BIGSTRING | thingy</b> where I want
to check that echo exits when thingy doesn't consume its input? If thingy
exits then the pipe _closes_ which unblocks the echo (hits EOF and the
writes fail so it discards the write() contents and presumably notices and
error exits if it's reasonably written). The problem with my first attempt
is it's inherently TWO commands in a { block } which needs to get backgrounded
whatever builtins it's doing. (Which I've implemented, and maybe that's a
separate test but it's not what I'm trying to test HERE.) If thingy consumes
its input that unblocks the echo...</p>

<p>Ah, duh: the second command can consume the pipe output, if the echo
didn't background it would block BEFORE launching the next command.
(Sort of the point of the test.) So piping it to wc -c or similar is fine.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#30-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 29, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#29-03-2026</link>
   <pubDate>Sun, 29 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Went as a delegate to the DFL caucus. Took all day. (Carpooled there at
9:30am, thought it might go until 5pm, it lasted until 8:30.)</p>

<p>Robyn won the nomination/endorsement, which is great. (Jamael's
answer to THREE different questions was how he'd raise taxes on a different
group each time, rather than try to understand how the machinery of local
government works and actually fix anything. I'm all for guillotining the
billionaires and pumping their loot back into the economy, but that's
not the same as governing efficiently. At least one of his tax increases was
sales taxes, which are regressive. Plus he went negative in the primary and
Robyn didn't. The third candidate self-detonated on the first question
by refusing to commit to ending their campaign if they didn't get the
nomination at this conference, and were not taken seriously after that.)</p>

<p>I spent the rest of the day getting behind other people's agendas and
pushing. (And wisting at large amounts of leftover cheese from lunch catering
that I wasn't in a position to take home. And snarking at the convention
organization: Robyn ran the caucuses before stepping down to be a candidate,
and it shows. The new people were... new at it.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#29-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 26, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#26-03-2026</link>
   <pubDate>Thu, 26 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Evening at my sister's making signs for the "even fewer kings" protest this
weekend. Fade wasn't up for socializing (said hi in the parking lot when
my sister came to pick me up) so we made one for her too.</p>

<p>(Monday I made it to the hyperlocal at the same church as the tuesday thing,
which turned into a sign making arts and crafts thing after about fifteen
minutes, but I didn't make one there because I'd already scheduled the
evening at my sister's.)</p>

<p>My brother cornered me for 2 hours to tell me about his love for
probiotics, so I missed the Monarca zoom on election defense, but there's
apparently another one next thursday? Yay...</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#26-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 23, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#23-03-2026</link>
   <pubDate>Mon, 23 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Fade has this week off (spring break), so I've been hanging around her
rather than doing much programming. That said...</p>

<p>The sequencing problem with toysh pipes is it's doing the cleanup on the NEXT
loop through run_lines(), not long into processing the next TT.ff-&gt;pl
pipeline segment. But the "have I run out of input" test at the start of
the loop is before that cleanup.</p>

<p>The pipe logic actually has two halves:
"I'm leaving an output pipe for next time" and "I have an input pipe left over
from last time", and yes both can be active at once ala the middle command
in a "<b>one | two | three</b>" pipeline is both leaving a pipe for three and
consuming a pipe from one. All that is set up AROUND run_command() because
of flow control blocks: "<b>one | if true; two; deux; dos; ni; fi | three</b>"
runs two, deux, dos, and ni, all with input piped from one and output piped to
three. Which means pipes and redirects aren't JUST an attribute of individual
commands but can persist within a larger context (hence the cleanup living at
the blk level). And of course all this has to nest to make
"<b>one | if true; cat &lt; potato; two | three; fi | four</b>" work
(where the output of "one" is consumed by "two", yes all this needs
regression tests).</p>

<p>The flow control blocks are the reason the cleanup isn't just right after
the block that sets them up finishes processing: for type 0 (commands) that's
when we're done, but for type 1 (start of block) they get set up and then
persist until type 3 (end of block) gets processed.</p>

<p>Except it's more complicated than that: flow control blocks each
have THREE pipeline segments: a type 1 "start" segment, a type 2 "gearshift"
segment, and type 3 pipeline segment, ala if/then/fi or do/while/done.
When the type 1 segment is processed it looks ahead to the type 3 to
perform the attached redirects, piping, backgrounding, etc. In between
types 1 and 2 are "test" segments (usually type 0 commands to run but
sometimes special syntax like "<b>for ((;;))</b>" or even OTHER BLOCKS because
"<b>if if false; then false; else false; fi; then true; fi</b>" is valid
shell). When you hit a type 2 it means you were running the test part
of a flow control block so you look back at the corresponding type 1 to see
what to do with the test's result. And if you hit a type 3 you look back
at the type 1 to see if you're in a loop.</p>

<p>Speaking of which, I need a test to make sure
"<b>for i in one; do if break; then echo hello; fi; echo hi; done</b>" cleans
itself up properly. (It looks like it did last release, but I need
to get a context with ASAN working again and enable leak detection...)</p>

<p>So pipes and redirects need to persist.
The problem is the cleanup for "last time left me an input pipe" is currently
too lazy, and happens after "I'm out of pipeline segments, read more input"
which can read from the "last time left me an input pipe" place and treat
it as code to run. Not because the function call stack has the wrong FILE *,
but because we changed what the underlying file descriptors mean in a way
that the FILE * doesn't know about. (The ANSI committe prentending C is
not Unix was a mistake, and remains a mistake, leaving us with two
different I/O systems that can get out of sync in a bunch of little ways.)</p>

<p>What's the sequencing of each pass through the run_lines() loop (operating
o the sh_fcall TT.ff stack)...</p>

<ul>
<li><p>while (TT.nextsig) handle pending signals, in order</p></li>

<li><p>if (!TT.ff-&gt;pl) then we're out of pipeline segments, so either
return to read more from TT.ff-&gt;source or else pop_fcall() if we haven't got
one.</p></li>

<li><p>A paragraph of setup (cache data from long-&gt;pointer-&gt;chains into
local variables, reset the high file descriptor we start saving redirections
into back to 10... which doesn't belong there, I should fix that).</p></li>

<li><p>Skip disabled blocks (if the block isn't runnable because it's inside
a dead if statement or something, advance TT.ff-&gt;pl to the next segment after
the end of this block and continue; back to the start of the segment
processing loop).</p></li>

<li><p>Emit the trace output (set -x) if necessary.</p></li>

<li><p>If the last segment was piped, close and unredirect its stdout.
(Again, probably doesn't belong THERE but where does it go...)</p></li>
</ul>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#23-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 20, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#20-03-2026</link>
   <pubDate>Fri, 20 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Laptop rebooted. It resumed from suspend to a backlit but black screen,
half a minute of poking at everything I could think of couldn't get a response
out of it, nor did it suspend again when the lid closed, so I hard power
cycled it. Lost all my open windows, which there were quite a lot of.
(Tabsplosion in computing is sort of like black smoke in combustion: it
means the process is going inefficiently and accumulating a lot of half-finished
backlog to clean up later.)</p>

<p>The thing I _want_ to get done (completely ignoring email etc) is fixing
the "echo | cat" bug in toysh. The problem is a sequencing issue with
redirects: an interactive shell immediately exits after running that because
the "read next line from stdin" reads from the pipe that just provided EOF
to cat, not from the original stdin.</p>

<p>To support nommu the parent shell process performs the redirects on itself
before forking off the child process, saving each redirection action to a
list so it can undo them all again after spawing a child process that
inherits those filehandles. Each call to save_redirect(urd, from, to)
mostly does dup3(to, next_hfd(), FD_CLOEXEC) then dup2(from, to),
unredirect(urd) moves the saved filehandles back down and closes the
saved copies. (I say "mostly" bbecause for example
&lt;&amp;- closes a filehandle for the child, which the parent needs to
save and put back.) The call to next_hfd() returns an unused "high" filehandle
starting at TT.hfd (reset to 10 each call to expand_redir() and incremented by
the search), using the fcntl(TT.hfd, F_GETFL) trick in a loop to check
whether a filehandle is open or not.</p>

<p>And this worked great for a long time, but when I redid/unified the
function call list last year I broke it, because I made struct sh_fcall
popping off the TT.ff lazy to ensure command line argument lifetimes
would last longer than the command was using them (there's a string
garbage collection list in there), but the unredirects in the same struct
need to happen _before_ certain other things happen or you get the "echo | cat"
problem.</p>

<p>Part of the problem is readline() wants a FILE *, which seems to save
the fact it got EOF from fd0 and doesn't try to read it _again_ after we
dup2() a new fd0 in place. So the strategy of "read from TT.ff-&gt;source,
end_fcall() at EOF, loop" breaks if two things think they're reading from
the global "stdin" variable (a static FILE * instance) but were actually
trying to read from different file DESCRIPTORS.</p>

<p>And part of the problem is you can pipe at the end of blocks (ala
"if true; do echo; fi | cat") not just between commands, so the pipe
logic needs to be peformed on block type 0 (individual commands) and
block type 1 (flow control start blocks) which means it can't live in
run_command() which doesn't known/care about blocks but has to wrap
_around_ it in run_lines(). Which is part of the reason run_command()
can't deal with its own lifetime rules internally and there's this layering
issue.</p>

<p>I think the malloc() lifetime issue that made me defer the TT.ff popping
was backgrounding and job control? If I run thingy &amp; and then go "jobs"
I should see "thingy" in the job list, so it can't run garbage collection
on the "delete" list expand_redir() saved its allocations into until
the child process goes away. But that's why that delete list lives in
TT.ff-&gt;pp which is a struct sh_process instance, which in the case of
backgrounding gets transplanted out of TT.ff into TT.jobs. (I need to
do another full pass on job control, I did most of it sitting at the
tables outside the geology building at UT and got derailed by covid and
work Jeff needed me to do on various projects and selling the old house
and probably a bit of post-covid rain fog to be honest.</p>

<p>This is PROBABLY a fairly small fix if I can work out exactly what
needs to happen, but it also smells like I've got the layering wrong and
need to add a "here's a pipe" argument to run_command() so it CAN handle
its lifetime stuff internally. (Which is only
called from one place. It's not inlined because it's conceptually its
own thing and the calling code is elaborate enough already.)</p>

<p>This is one of those "I need to sit down and FOCUS and afterwards I
may actually wind up removing unnecessary complexity" things. Alas focus
has been in short supply recently because anxiety.</p>

<p>No, moving the pipe stuff to an argument doesn't work for multiple
reasons: it's transitional _between_ sh_pipeline instances (it's the output
of one and the input into the next) and run_command() is only called for
type 0 not type 1. This is why the unredirect list lives in the block stack
(TT.ff-&gt;blk) so <b>if true; echo one; echo 1; if true; echo two; echo 2;
if true; echo three; echo 3; fi &gt; three; fi &gt; two; fi &gt one</b>
can reuse stdout 3 times to 3 different destinations each wrapping multiple
commands and it all goes to the right place and unrolls again afterwards.
You can even have redirects on the individual "echo" commands (or pipes
between them) and it should all nest and unstack again properly.</p>

<p>Assuming the lazy evaluation and EOF being sticky in FILE * don't screw
stuff up.</p>

<p>Hmmm, is the fix just not using the global "stdin" but instead opening
a new FILE * at each level? No, it shouldn't BE trying to readline() from that
with the wrong fd0, we already KNOW we've exhausted that function context and
it should get popped before looping.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#20-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 19, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#19-03-2026</link>
   <pubDate>Thu, 19 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Okay, at least that's <a href=https://arstechnica.com/gadgets/2026/03/google-details-new-24-hour-process-to-sideload-unverified-android-apps/>something</a>.
As a friend said, "The high-pressure scam thing really is a serious problem."
And if they'd come out and said this was what they were doing up front, I'd
presumably have made peace with it. But this smells like backing down in the
face of the developer base rebelling. They did what they thought they could
get away with.</p>

<p>Sigh, I should poke at cleaning up toysh, and treat "try to get the
<a href=https://mstdn.jp/users/landley/statuses/116048077572762984>last
ever version</a> of Linux From Scratch building under mkroot" as a goal with
a hard deadline of December 31 (by which time I need to force push an empty
toybox repo to github, with a README explaining that Gavin "spyware" Newsom
is why. (<a href=https://agelesslinux.org/>Ageless Linux</a>
put up a stalking horse explicitly trying to get sued by replacing the
/etc/os-release file in Debian with their own ownership claim, and mkroot
has had an /etc/os-release file for <a href=https://codeberg.org/landley/toybox/commit/b19fece9bc95>two years</a> now.
Which means $7500 per download fines, because Gavin "spyware" Newsom is
copying <a href=https://www.npr.org/2022/07/11/1107741175/texas-abortion-bounty-law>Texas' model</a>
to enforce a law based on <a href=notes-2025.html#27-06-2025>Ken Paxton's
supreme court case</a>. (How does ANYBODY think that ken doll is a democrat
at this point?)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#19-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 18, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#18-03-2026</link>
   <pubDate>Wed, 18 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Largely checked out from programming. Vaguely looking at healthcare jobs, state
government, or just applying at Aldi, but mostly curled up in a ball waiting
for the Boomers to die.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#18-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 17, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#17-03-2026</link>
   <pubDate>Tue, 17 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>I inadvisably clicked "send" on <a href=http://lists.landley.net/pipermail/toybox-landley.net/2026-March/030932.html>another rant</a>
at the google/android guys for being regime collaborators and generally
enshittifying because I just don't find this fun anymore, and checked
to see if my ELC talks were still pending so I could cancel them...
but yesterday they approved a 1 hour rerun of "Simplest possible Linux System"
and shot down the other two. (Including the one I Jeff and I were working
on together, running Linux in VHDL simulation.)</p>

<p>Kinda wanna nope out of the entire ecosystem. If it's not standing up
for itself on the age "verification" thing... I already have zero interest in
vibe coded rust. Just like I had zero interest in "quantum computing".</p>

<p>The problem is programming's been my main hobby since I was 11.
Before I ever heard of Linux, or the internet, or even bulletin boards.
I started with BASIC listings in print magazines, thinking I could maybe get
published in Compute's Gazette. I miss Linux User Groups and the
#busybox IRC channel circa 2003. The linux-kernel mailing list was
already too toxic for me to deal with in 2017.</p>

<p>I'm disgusted with _Linux_. And android. But I still enjoy puttering
with programs the way other people enjoy crossword puzzles.</p>

<p>Doesn't mean I need to upload them anywhere though.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#17-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 16, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#16-03-2026</link>
   <pubDate>Mon, 16 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>My android 12 "fit" app should NOT be constantly using network data (my step
count and presumably location are nobody else's business; I walk around with
my phone in airplane mode most of the time but it saves and dumps data to
"the cloud" on the next reconnect) and of course the various youtube videos
saying I can revoke network permissions from it don't work on my Pixel 3a
running the last stock AOSP release (I can see how much data it used but not
tell it to _stop_: the only permission it has is "physical activity" and yet
it's used 251k of data so far since March 4).</p>

<p>I'm assuming the reason it's used 74k of background data even though I have
background data toggled off is because the full description of the toggle
is "enable usage of mobile data in the background". It will happily still send
data to google's cloud every time I connect to wifi, without even opening
the app! I cannot make it stop without installing a "third party firewall",
which has the "ad blocker" problem of how do I know THAT'S not spyware...</p>

<p>I reinstalled adb from debian's repo and got my phone into debug mode,
and google's horrible AI suggested a command for yanking network permissions
from an app which of course didn't work. I looked down the page for an actual
human saying how to do anything but Google can't find those anymore, but I
eventually figured it out despite --help being an unrecognized option.
(Google's LLM summary had the arguments in the wrong order. I only bothered
humoring that at all because it's GOOGLE'S PRODUCT which I asked GOOGLE'S
PAGE about, thus getting the wrong answer.)</p>

<P>And THEN the reason the command didn't work was because:</p>

<blockquote><p>
$ adb shell cmd connectivity set-package-networking-enabled false com.google.android.apps.fitness<br />
java.lang.UnsupportedOperationException: setUidRule is not available on pre-T devices
</p></blockquote>

<p>I gave up and did a "clear storage" on "fit", and removed its permission to
track steps. When I ran it again it wanted me to associate my phone's google
account (exactly what I'm trying to AVOID) and agree to a terms of service
(not happening, it's a STEP COUNTER). I'd rather not have the
data myself than be constantly streaming it to somebody else's data collection
server. Searched for alternative step counter apps and the consensus is I'd
have to install f-droid. (Maybe I can get a standalone step counter for
christmas. One that doesn't even know who I am. Walmart's got one for eight
bucks but I don't want to give walmart money either. Random chinese sites
have them for $3.)</p>

<p>So if you're wondering why I'm refusing to upgrade my phone... I don't
trust Google's <a href=https://www.wheresyoured.at/the-men-who-killed-google/>post Feb 5, 2019</a> management,
and am slowly weaning myself off of depending on a phone for anything.
I should get a wifi tablet to watch video with. (I download video from hidive
and watch in airplane mode because that way it doesn't reset the app every
time I reopen it, losing my place in the downloaded video. Hidive's app
is terribly written, and will try to reconnect to its servers to show me
an intro screen every time the app is opened, even if it had a paused downloaded
video playing already. I similarly download stuff from netflix to watch it,
although they limit downloads to twice a year for a given program.
What I really need to do is get my own dvds, rip them to my laptop
(legal if I own the DVD!), copy them to a local web server on one of those
Orange PI boards (still need to set that up), download them to a tablet from
the local IP, and then watch them while out walking. Heck, I could even
use Fade's old Android phone with no sim card in it, just connect to wifi
long enough to get files on it then disconnect again. Antennapod already
seems to work like I want, although I expect it have to move to f-droid
soon...)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#16-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 13, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#13-03-2026</link>
   <pubDate>Fri, 13 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>I added swapon -a (somebody asked), and need to test it, which is a bit
squishy because doing stuff as root on my development laptop is always nerve
wracking. I want mkroot with multiple swap partitions, but last time I sat
down to do that I went down the rathole of getting current linux building
mkroot and don't want to reopen that can of worms JUST now.</p>

<p>Technically I added swapon -a, -e, -U, and -L to toybox because as long
as I was there, I had todo items. Chopped the UUID and LABEL checking for
swap partions out of blkid.c (it's tiny if you're only checking for one).
And as long as it's parsing /etc/fstab it now understands
noauto and nofail, which really means understanding "auto" and "fail"
and the existing comma_scan() plumbing handles "thing" and "nothing"
toggling what it's searching for on and off possibly repeatedly in
the same string. (So prepend "auto," to the fstab option string as a default
and then let it get switched off.)</p>

<p>Couple of judgement calls in there: swapon -a checks fstab but swapon "blah"
doesn't (swapoff honoring "user" is an OOM killer waiting to happen),
which means swapon /dev/sda2 won't honor "nofail" in fstab, you'd have to
say -e. (But if you say swapon -ae it'll default all the entries to nofail
and you'd have to put "fail" in the option string to error on those.)</p>

<p>Which of course raises the question of WHICH failures are covered by nofail.
Presumably this was for swap being on removable media (or network block
devices), and thus not always present? The scratched DVD was throwing read
errors, I'm pretty sure THAT isn't the kind of error they were talking about.
Also, swapon -a run a second time and the partitions already being mounted
presumably isn't an error even in the absence of nofail? Or is it?</p>

<p>Which led me to run the host swapon -a under strace to see what it did
and how it handled the return values... and it never called swapon(2)
because it read /proc/swaps after reading /etc/fstab (and read /proc/partitions
too for some reason) and then made no swapon() calls. Which just seems
overengineered.</p>

<p>Huh, and the Devuan Daedalus install screwed up. I partitioned 16 gigs of
swap space last time I reformatted this latop, and the system isn't using
it. Instead the install created a 256 meg /swapfile in the root directory.
(Which would explain a couple of Very Unhappy situations my laptop's
gotten into since then: it has 16 gigs of ram but 1/4 gig of swap, when
it runs out of ram that's basically it.)</p>

<p>I tried to check if that 16 gig partition with type swap is formatted for
swap, but debian's "file" says it's a block device (yes I know) and file -k
says... it's a block device. (What does "keep going" mean to you? Grrrr. Yeah
I should have done -s but didn't think of it at the time.) Alright, try
swapon... and /proc/swaps says it swapped on. (I don't THINK it auto-formats
partitions. That would suck if I ever accidentally told it to swapon /dev/sda1
as root and it ate my root filesystem. Even gnu isn't THAT stupid? Bueller?
Bueller?) Right, swapoff the other one, edit /etc/fstab to point to the right
place, and hope next boot everything works out coherently.</p>

<p>Ok, I should do a mkroot with partitioned block device so I can do
two swap partitions (one for -L and one for -U: it can't find swap FILES
that way because it would have to search every file in the filesystem
instead of just the partitions listed in /proc/partitions: unstable partition
order remains a horrible thing the scsi bigots inflicted upon linux,
which nobody EVER had to worry about until the scsi bigots broke it).
And add a couple swap files so "nofail" and "noauto" have something to
play with. And swapon/swapoff. (Hmmm, some tests are really testing MULTIPLE
commands together. Design question...)</p>

<p>Actually, can I do all that via loopback without requiring a partitioned
hda or block device? (Can linux mount a swap file on a partitioned
loopback device? I don't know...)</p>

<p>Which brings us back to scripts/test.sh running under mkroot ala toysh.
I don't just want to manually run tests, I want to record them in a regression
test script. Runs as root, requires system to be in a special state.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#13-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 12, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#12-03-2026</link>
   <pubDate>Thu, 12 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Many moons ago I got Penn and Teller's "bullshit" series from Mark (which
is quite good, and not available on any obvious streaming service), but
I can only find seasons 4, 5, and 6. My local library has the first season,
and I thought they might have the rest in storage because they're in a tiny
space while their original building undergoes year-long renovations.</p>

<p>(The day Renee Good was killed was the first time I walked to their new
place, in sneakers with the tread mostly worn off because I walk a LOT,
and I slipped on the ice and sprained my wrist. I fell and hurt it AGAIN
at the big Powderhorn Park protest that weekend, and it's JUST NOW holding
weight again when I stand up or sit down on the floor. Might have broken
it, but with a $20k annual deductible in my health insurance it's not broken
ENOUGH to have a professional look at. My sister got me Big Clompy Boots
and I haven't fallen once while wearing them, and I'm back in shorts
now anyway because it's in the 60's. Miniskirt and go-go boot weather,
breathy flutes, psychadelic tie-dye colors, etc.)</p>

<p>Anyway, the library did NOT have seasons 2 and 3 in storage, but they
were able to get them through inter-library loan from what the stickers
proclain to be the Rochester Public Library. And season 2 was great, but
Seaons 3 does not seem to want to play in VNC. (I dug up a USB DVD player
and installed the Linux plugin to VNC that lets it decrypt DVDs, but
our game consoles are still in boxes, which are in my sister's custody:
I dropped them off in her garage, but she emptied said garage into a storage
unit when her furnace needed replacing and they needed the garage as assembly
space. I've been there twice to take a couple boxes away each time, but am
maybe 5% of the way through the total and it's sorting mostly for disposal
because we haven't got anywhere in the apartment to unpack it TO. We did get
another bookshelf though.)</p>

<p>I _think_the problem is DVD menu navigation? When you point VNC at a disk
it doesn't give you a directory of files, it runs the menu scripts to do
all the weird navigation things, and when I click on "play episode" VNC
goes to a blank VNC logo screen as if the video it was playing ended.
Possibly some kind of crash? I can probably dig up wherever it's mounted
the decrypted filesystem and find the actual files and play the episodes,
but haven't yet. This would go on the todo list except for the inherent
deadline of having borrowed it from a library.</p>

<p>The third season 3 DVD is a bit scratched up and does a lot of seeking
when it first goes in, then gives intermittent data read errors, but I've
gotten the menu to come up and then fail to play episodes, which is
the same problem disks 1 and 2 of that season (which seem clean) have.
DVD menus are written in their own language which unfortunately seems to be
called the "DVD virtual machine" which is a name basicaly impossible to google
for, even though there are <a href=https://en.wikibooks.org/wiki/Inside_DVD-Video/Interaction_Machine>entire books</a> on it.</p>

<p>Anyway, VNC implements this, but appears not to quite get it right in
the case of this particular set of menus? Or at least I THINK that's
what's happening? (Could be some weird copy prevention nonsense breaking
a player, tale as old as Angela Lansbury.)</p>

<p>I also got Season 1 of Dragon Maid from the library, and have already
returned it. But Season 2 is not in the inter-library loan system because it
was only ever released on blu-ray, not DVD, and they apparently only do DVDs.
Which I prefer because the extra resolution never did anything for me (I
have terrible vision and tend to watch on small screens anyway) and our
blu-ray player was the praystation III which is in a box
in a stack of boxes in a storage cube in a cavern in a canyon excavated for
a mine... I'm pretty sure the USB-DVD player I dug out of a box only
does DVDs, not blu-ray.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#12-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 11, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#11-03-2026</link>
   <pubDate>Wed, 11 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p>Back to the state capitol to meet the house representative (1:30 in the Centennial
building: when I asked for directions yesterday at the capitol the guard
said "building that looks like it was built in the 1970s" and he wasn't wrong).
With a day's warning, they could reserve half hour in a conference room.
Fancy.</p>

<p>Except the representative himself (Samakab Hussein) was called away
(one of his constituents got kidnapped) so I met with the legislative assistant.
Gave her my pitch
(she seemed convinced) and left her with three of the pages from the packet:
the one they'd made two copies of, and two of my "talking points" things I
was supposed to use, which had various statistics. Things like a quarter of
minnesota's education budget is going to health insurance this year:
any initiative you have to staff is borked by the out of control insurance
industry. ("Health insurance is not health care" was one of the few
useful talking points from yesterday's 3 hours. Very nice little chocolate
mini-jelly-donuts though. From costco, apparently.)</p>

<p>Those pages _didn't_ say
that United Health's profit was $12 billion last year: I looked that up
myself. Every dime of which is money diverted away from providing care,
and how is THAT not fraud? How is having people with no medical credentials
making medical care decisians (I.E. denials) not fraud? Republicans scream
"fraud" all the time because every accusation a confession (if they could
mentally model other people, they wouldn't be conservatives). But the
state has auditors and hospitals have a duty of care, while the insurance
companies have an incentive never to pay for anything (deny all: they built
an AI system with a <a href=https://www.courthousenes.com/federal-judge-dismisses-several-claims-in-ai-denial-lawsuit-against-uhg-but-case-will-proceed/>90%
error rate</a> HOW IS THAT NOT FRAUD)...</p>

<p>Anyway, she took notes and said she'd pass the info on to the actual
legislator when he got back. Yay?</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#11-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 10, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#10-03-2026</link>
   <pubDate>Tue, 10 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p>It's hca-mn legislative action day. Following up on thursday's zoom.

<p>Minnesota is already paying for minnesota's healthcare, the goal of
hca-mn is to remove billions of dollars of middleman profits and eliminate
two enormous bureaucracies that exist to cancel each other out.
Money that goes to insurance company shareholders does not go to care,
each hopsital has staff fighting the insurance company claims denials
and demands for pre-approvals. The fire department is never "out of network".
the police don't have a deductible, public school teachers don't have a
copayment.</p>

<p>Anyway, that was the elevator pitch I arrived with. I was told not to
say any of that and to read verbatim from the scripts they provided,
because hca-mn wanted legislators to "hear from their constituents"... but
WHAT they should hear was the organizers words. We were there to be
mouthpieces. Yay. (She didn't QUITE phrase it like that, but it was the gist.
I did not say "fuck off" to her face, but it was close.)</p>

<p>This "legislative action day" is a coproduction of two sister organizations:
Health Care for All Minnesota (HCA-MN) and Physicians for a National Health
Program (PNAP). The first group is retired medical works and the second is
retired physicians. (So the actual doctors and nurses in one, and everybody else
who works at the hospital in the other.) I'm neither, I just thought
hca-mn had a nice booth at the state fair and joined yet another
mailing list. It _does_ mean that in my mid-50s my presence brought down
the average age of the room, but they're fighting the good fight as best
they can...</p>

<p>The day started with 3 hours of preaching to the choir, which I'd hoped
would have more "training on how to do this" but no. It did have speeches
from the two legislators behind the bills (an older gentleman with a bow tie
and a middle aged lady in a tweed jacket). Both very nice, reasonably smart,
and FRUSTRATING to listen to because they kept spending multiple minutes
wrestling with issues you could sound bite in two sentences. (For example,
when people opposing single payer health care lose the argument, they interpose
a "public option" to drain support away from single payer. A public
option is to single payer what school vouchers are to public education:
divide and conquer, let the middlemen keep selling snake oil and sucking away
public money from those they fool. The nice lady spent about five minutes NOT
saying that, instead treating it as a hard problem to explain to people. No,
it's just school choice vouchers in a new context. Look at it from the other
direction and it's an obvious attack meant to undermine the system we actually
want.)</p>

<p>The schedule sheet said I should contact my state house member and hand
one sheet of paper to their legislative assistant. I tried to do this,
but hca-mn secheduled their "legislative action day" at the same time
as some other group that outnumbered us by an order of magnitude and were...
I remember "aipac" but that wasn't it, they were making sure a tax on
baseball statdiums didn't change because it paid for some education thing...?
(The line into the centennial building's security checkin ran out the door and
the person behind me and the person in front of me were talking to each other
past me. They all had green folders with their acronym on them instead of the
blue folder with my name on it that hca-mn had handed me. They were all
twentysomething university students, not retirees. They were very loud,
and they were wall-to-wall flooding the zone. Seemed more effective than
what we were doing.)</p>

<p>Eventually got into the centennial building and directions to the corkboard
area that had handout sheets with every legislator's phone number. Called
my house member's assistant, waited fifteen minutes near the vending machines,
and got a call back. (From "scam likely" but it was the number I'd called.
Turned out to be the legislator's land line. Thanks google.)
The legislator's assistant said she came down but could not find me
in the crowd. We rescheduled for tomorrow.</p>

<p>Met my state Senator! The one who's retiring and Robin is running to succeed.
(Secede? Successorate. Replace.) That was a proper appointment, at 2:30,
in theory with a group of 6 of us (senators have larger districts than
house members) but just me and one other person actually showed up.
I did not even refer to the organizers' script, at least partly out of
spite.</p>

<p>The other guy was a retired physician who worked for the VA so he had
more to usefully say to her than I did, but she was already on board and our
pitch was preaching to the choir. We reminded her which two bills were
up this session. She took a picture of the two of us for her newsletter.</p>

<p>I still seem to be unusually good at in-person marketing, which isn't
an endorsement of my skills but a commentary on how BAD most other people
seem to be at it. It's just working out
how to enthuse at people who DON'T already know what you're talking about, so
you've got to hook them long enough to carefully target well-edited infodumps,
preferably with some memorable one liners in there. I still can't close to save
my life, but enthusing at you about a thing that's seriously cool? I've been
doing that since I was five. (Plus I tutored in college and wound up with
the difficult cases because I'd actually try to figure out how far I needed
to back up, to where information could attach to what they already knew,
clean up misconceptions, and fill in the holes THIS person needed. Then I
taught night courses at the local community college early in my career (same
but for groups), and wrote those stock market investment columns for 3 years
(here's this cool thing I just learned), was the linux-kernel Documentation
maintainer (tech writing), and of course I launched two science fiction
conventions (recruiting the staff, guests, vendors, and attendees, both
in person and running our advertising campaigns and the "heartbeat blog"
and so on: cold pitches to new people). It all sort of slots together.</p>

<p>Again, can't close to save my life (I learned "marketing is not sales"
studying Coca-Cola back in the Motley Fool days, my brother is a born
salesbeing, I am not), but if I honestly think something is cool I can
generally manage to spread the enthusiasm to a new victim. :)</p>

<p>But again, she was already on board. ("Not selling past the close" is
another thing I learned along the way. Take the win and stop pushing.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#10-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 6, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#06-03-2026</link>
   <pubDate>Fri, 06 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p>Went to Robin Gully's thingy at a brewery. (Within my definition of walking
distance: about 2 and a half miles each way. Hey, the ice has mostly melted,
not quite flip-flop weather yet but normal sneakers with one layer of socks.)</p>

<p>Met her husband, the head of the city's health care workers' union, who
pointed me at the application process for healthcare jobs that provide
health insurance with 20 hours/week. (I'm paying $700/month for my $20k
annual deductible catastrophic-only plan, just making THAT go away would
mean we could live on Fade's salary without dipping into savings.)
And it pays a dollar an hour more than working at Aldi's, and offers a
regular schedule because union.</p>

<p>(I really should look at programming jobs, but my industry went toxic,
I don't want to move away from Fade for work, and it's just no fun anymore.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#06-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 5, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#05-03-2026</link>
   <pubDate>Thu, 05 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p>The "how to lobby your state government" Zoom training for hca-mn.org's
legislative action day on the 10th seemed generally useful, so I poked
a couple of the signal chats about their next one on sunday.</p>

<p>Alas, their website doesn't have any useful info about this, it was just
in the email newsletter (which is not on the website either!) so I can't
link people to it. Their site currently has a full-screen pop-up about it
when you go there, but it reads like an ad so I dismissed in the first
couple times without it registering at all, and There's no actual PAGE I can link
people to. (They have a google calendar that mentions it, but doesn't tell
you much or send you anywhere useful from that day's calendar entry.)</p>

<p>So I cheated slightly and handed out the link to
Sunday's zoom training, which is a sequence break but how ELSE am I supposed
to get the word out? (For a lobbying organization they're terrible at
online outreach. They had a good booth at the state fair, which is how I
got involved, but that itself seems a bit of a weird way to recruit?
Then again the organization seems to be entirely staffed by retirees,
an impression the zoom training I just attended strongly reinforced.</p>

<p>Aha, they have LAST YEAR's <a href=https://www.youtube.com/watch?v=mBjqvik2Ito>training</a>
and <a href=https://www.hca-mn.org/activist-toolkit/>toolkit</a> online.
The zoom call made a point that last year they had 4 bills up for
consideration and this year they have 2 bills, so what they're lobbying
for this time is less complex. I was going "hey, all those icewatch people
are looking to pivot to more sustainable and impactful ways to help,
and learning to lobby the state government seems like a good idea in
general"...</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#05-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 4, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#04-03-2026</link>
   <pubDate>Wed, 04 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Switched my phone off of T-mobile, because they advertised their partnership
with starlink at me. (They're still the least worst option, mostly because
they're majority owned by Deutsche Telecom and operate in accordance with
German law which outlaws larges swathes of american enshittification
and cyberstalking. But you do not get to ADVERTISE your partnership with
Elon Musk at me and keep my business.)</p>

<p>Thought about going to that "boost"
or whatever it is with an office next to the green line stop, but
it turns out their underlying carrier is AT&amp;T which is up there with
amazon and faceboot in the evil department, so I went with my original
first choice (mint), which T-mobile bought in 2023 so it's not REALLY a
switch but it does cut what we're paying in half while protesting their
partnership with Elon Musk's starlink. (When people online are making
<a href=https://www.youtube.com/watch?v=wF7aZ0sWm-E>unpaid testimonials</a>
about it, probably worth a look.
Although I think that was before T-mobile bought it. Ryan Reynolds was
only ever a spokesbeing, he's not a techie actually making phone stuff
better or worse.)</p>

<p>I break everything of course, but taking that into account the process
was surprisingly painless. I needed my account number and a "transfer pin"
to transfer the number, so I went to the closest t-mobile store a week
and change ago, where I interacted with a man who insisted I couldn't
do anything useful through him and had to do everything important over
the phone (by calling 611). I came back an hour later to have them at
least look up my account number because Fade set up direct monthly payment
from our bank account (*shudder*), so I get texts from them about that
(one with the amount and a second when they zero out the balance) but haven't
received paper bills from them in years and I never set up an online account.
(I go in to talk
to humans when I need to. My flirtation with boost was because they had
an office with people in it... but everything else was worse.)</p>

<p>I was talking to a nice woman who agreed to look up my account number...
when the same man came up and interrupted the woman I was talking to and
repeated that I could not be helped in that office while he drew breath.
"He has to call 611, what he wants to do
can't be done here." What I wanted to do was get my account number, which
she was about to do until you interrupted and mansplained over her you fucking
asshole (didn't say it to his face, wouldn't have helped). At which point I was
ACTIVELY GLAD to be leaving T-mobile because it means I never have to talk to
that specific man ever again. I DID NOT ASK FOR YOUR INVOLVEMENT. Sigh...</p>

<p>Anyway, after he derailed me I went home, and yes 611 got me a transfer pin
and my account number but the agent was CONVINCED my phone was
locked, despite me having purchased it by mail from Google and brought it _to_
T-mobile years ago. (I wanted the option to reimage it to do toybox development
on android, but never did.) So I had to reinstall their t-mobile unlock app
which said it had never been locked. (Which I ALREADY KNEW but their cloud
server needed to talk to the app on the phone to override their bad account
info probably left over from a legacy migration: I'd been on t-mobile
FOREVER. Moved there from sprint in... I want to say 2013? Or did I move
BACK to sprint and then get rolled back to T-mobile when they bought
Sprint? I think those are the only two carriers I've been on since I
got my first cell phone in the dot-com era, but I have a vague recollection
of going back and forth more than once. Anyway: their account for me
was borked, as usual.)</p>

<p>Fade and I then engaged with Mint's
website long enough to learn A) it's cheaper to move our lines individually
(that way we each get the introductory half-price year, which is 1/4 what
we were paying before instead of 1/2), B) don't move the primary line FIRST
or T-mobile will get confused, C) I wanted a physical sim not a digital sim
which would take a week to arrive by mail.</p>

<p>So we had Mint mail me a sim card, during which the first transfer pin
expired, and then we thought the sim card might be lost in the mail until we
thought to check the package delivery room (The card is smaller than an SD card
but of course it came in an envelope too big to fit in the
mailbox. Since it wasn't a "package" and our normal US postal service
being dropped it off, it wound up in the mail room without generating a
notification that we had a package in the apartment's app. Of course the
apartment has an app.)</p>

<p>So now I had the sim card, and Fade wanted an e-sim anyway, so we could
transfer the lines! I called T-mobile's 611 again and got another pin, and had
ANOTHER go-round with the "but your phone is locked!" people and REINSTALLED
the unlock app and read what it said to them until they admitted their backend
was wrong (again), and asked them if the previous agent had put a note in my
file about this? (Apparently not.) And asked them to enter a support ticket
against their backend after the agent noticed that although it said it was
locked it didn't give her an option to UNLOCK it (there should be a pulldown,
there was not: it was HARDWIRED as locked in the system somehow). Also, they
noticed that the address they had on file for me was the Texas one (which
hasn't even forwarded mail for most of a year now), and corrected it so they
could send my last bill (except it's direct deduction from the bank account...
but that may stop when the account gets canceled? Or something?)</p>

<p>And then with the new pin, we peeled Fade's phone off from the joint
account and transferred it to T-mobile and everything went fine, and that
whole process took like fifteen minutes.</p>

<p>And then it was my turn: I removed my new phone case (not disintegrating!) and
Fade dug up a pin (physical poky kind) I could use to extract the old sim card
(there's a little hole you have to poke, I used to have a metal tool for this
in texas), and I put in the new sim and the phone went "mint" where it used to
say tmobile, and I connected to the apartment wireless and downloaded the app
and went through the proccess and everything was happy right up until the screen
where I submitted the old account number, transfer pin, phone number, and
zip code (presumably the current one since even t-mobile has now updated
it although propagation delay...?) and it tried
to transfer them... and it failed. Did not say WHY it failed. It let me retry!
Which failed again.</p>

<p>So I took off the case again and swapped back to the old sim card so I could
call 611 (which is not a generally useful number, nor one I could now call
from Fade's phone which was on mint instead of t-mobile: it turns out there
IS an 800 number for T-mobile which at the asshole at the store didn't give me
but I did not have it at this point) and ask them what had happened. And they
sent me to the transfer pin people, which generated me a new pin... which was
identical to the previous pin. (Thrillingly secure, this whole process.)
And then went "oh, your phone is still locked, obviously that's the problem"
and transferred me to the phone unlock person. Again. Who wanted the t-mobile
unlock app installed again. And I went "didn't the previous person leave
a note in my account about this?"</p>

<p>During all this somebody said something that made me think "maybe I need to
have the OLD sim in the phone while transferring the number?" (Which seems
nuts: if I get a new locked phone from my new carrier, how do I transfer
the number? I can't connect the new phone to the old carrier, isn't that
what "locked" means?)</p>

<p>Nevertheless when I selected the mint app it opened to the retry
screen, and I clicked retry now the t-mobile sim was back in it, and
it went through! And suddenly the lady was saying that my phone had switched
in her system to "unlocked", and I said it was because I'd just transferred the
number and the old account was now closed. This coversation then went on
for, I kid you not, six more minutes of me repeating obvious things I'd already
told them and/or were self-evident. "Yes,
your system was broken but the twelve year old record that obviously had
some version skew and didn't survive system migrations intact got deleted
when the account was closed. Because the account is now closed. Because I have
already migrated the number to mint. As I said, I did it on the app while
talking to you. The problem was I needed the old sim card in the phone to do
it, which the instructions didn't specify. No the phone was not locked,
if it was locked I couldn't have migrated it, which I have already done."</p>

<p>Six minutes. I didn't want to just hang up because I wanted acknowledgement
that they wouldn't try to UNDO it somewhow to unnecessarily "fix" things.</p>

<p>So yeah, run the number transfer with the old sim card in the phone, THEN
switch to the new sim card. They should say this in the instructions.</p>

<p>Haven't tried tethering yet (in theory I get 20gb/month) but it
otherwise does signal and mastodon and streams videos about as well as it
did before. (Maybe an extra 3 seconds latency starting a video at the
beginning, which I don't care. Quality's the same. Youtube has decided that
"shorts" display at the worst possible quality even on wifi, and are thus
pixelated garbage half the time, but it was doing that a week ago.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#04-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[March 3, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#03-03-2026</link>
   <pubDate>Tue, 03 Mar 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>[Backdated entry, spent several days not sleeping well. Mostly figuring
out WHEN things happened from my email "sent" box, what I posted to mastodon,
and scrolling back in the household signal channel. Yes I got our household
chat moved to signal when discord announced "age verification". Yes Fuzzy
is still on it despite living in NYC now.]</p>

<p>Gavin "spyware" Newsom deciding to <a href=https://www.pcgamer.com/software/operating-systems/a-new-california-law-says-all-operating-systems-including-linux-need-to-have-some-form-of-age-verification-at-account-setup/>outlaw general
purpose computing</a> took
away all desire to do hobbyist programming for a bit. Back to do basically
janitorial tasks finishing up stuff I was in the middle of already. (And
because the OpenBSD people pointed out they've been scrupulously under CANADIAN
law all along ever since that was necessary to dodge stupid clinton-era
"encryption is an ITAR munition" export regulation bullshit, so rebasing
to OpenBSD remains an option. I'd still have to delete mkroot off
the web since the Linux Foundation and its employees on linux-kernel
<a href=https://mstdn.jp/@landley/116134666430118741>immediately capituated</a>
and collaborated.)</p>

<p>And no, moving to another country wouldn't be enough unless I could also
get citizenship in another country and renounce my US citizenship, thanks
to Obama-era banking regulations meaning they can still 100% come after
my money because US citizens can't get a foreign bank accounts anymore.
The billionaire imposition of serfdom is well advanced at this point,
kind of surprising the guillotines haven't come out. (Luigi doesn't count,
a CEO is merely the highest ranking employee of a billionaire, they
don't own the company they take orders from the owners and get replaced
if they don't perform. It's nice to have goals, but sometimes you need to
aim higher.)</p>

<p>At least <a href=https://motorolanews.com/motorola-three-new-b2b-solutions-at-mwc-2026/>Motorola parterned with GrapheneOS</a> so I can
get an officially supported non-AOSP phone to upgrade to, after
Google destroys Android in september. (Although I'd presumably reinstall it
with a version built from source to wipe Gavin Newsom's spyware. Eh, that's
far enough in the future nothing's predictable these days...)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#03-03-2026</guid>
  </item>
  <item>
   <title><![CDATA[February 28, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#28-02-2026</link>
   <pubDate>Sat, 28 Feb 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Tried to build mkroot against 7.0-rc1 kernel source and x86-64 can't find its
initramfs. 6.17 still works fine. Bisected it to <a href=https://github.com/torvalds/linux/commit/3f0cbfb8a107>commit 3f0cbfb8a107</a> which
CAN'T be the problem, and yet building that commit fails but building
commit^1 succeeds so yes it's that patch: "riscv: add ISA extension parsing
for Zilsd and Zclsd".</p>

<p>Wait:</p>

<blockquote><pre>
$ git show 3f0cbfb8a107 | diffstat
include/asm/hwcap.h |    2 ++
kernel/cpufeature.c |   24 ++++++++++++++++++++++++
</pre></blockquote>

<p>Those are not the two files modified by the patch? Ah, yes they are it
just truncated the paths to the right removing the arch/riscv from the
front.</p>

<p>All the files modified by this patch live under arch/riscv, which I am
not building. I am building x86-64. Modifying files in some OTHER arch
directory shouldn't be ABLE to break the current architecture, they DON'T
GET PARSED. Did they fuck something up in the Makefiles?</p>

<p>The behavior change is "Failed to execute /init (error -2)" which is ENOENT
I.E. file not found. What are the boot messages differences... Clock speed
differences (bogomips etc) have trivial jitter.</p>

<blockquote><pre>
-RAMDISK: [mem 0x0ff63000-0x0ffdffff]
+RAMDISK: [mem 0x0ff6b000-0x0ffdffff]
</pre></blockquote>

<p>Why? (Just ASLR, or is that meaningful?)</p>

<blockquote><pre>
-Memory: 242576K/261624K available (...18016K reserved)
+Memory: 242608K/261624K available (...17984K reserved)
</pre></blockquote>

<p>Correlated difference.</p>

<blockquote>
-Freeing initrd memory: 500K
+Freeing initrd memory: 468K
</blockquote>

<p>And again. What do the initramfs files say?</p>

<blockquote><pre>
$ ls -o root*/x86_64/initramfs.cpio.gz
-rw-r--r-- 1 landley 511260 Feb 28 09:35 root2/x86_64/initramfs.cpio.gz
-rw-r--r-- 1 landley 476037 Feb 28 09:51 root/x86_64/initramfs.cpio.gz
</pre></blockquote>

<p>The fuck? The working one is bigger. Why is it bigger. Because the other
one doesn't have the sh and route entries from pending in the build. But
that's BEFORE it looks at the kernel source? The build/airlock directories
under root and root2 are the same.</p>

<p>This is beyond "this kernel patch can't be it", it's into "the kernel SOURCE
can't affect this" territory. Is the new build plumbing changing behavior
every other build? The ".config file already exists" vs ".config file doesn't
exist yet" paths behaving differently in a way that ping-pongs between them?
</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#28-02-2026</guid>
  </item>
  <item>
   <title><![CDATA[February 26, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#26-02-2026</link>
   <pubDate>Thu, 26 Feb 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Found out about Gavin Newsom's doxing law. (And Apple signing on to do
worldwide doxing. And how android lied about backing down from killing
sideloading.)</p>

<p>Didn't sleep at all last night.</p>

<p>Probably have to take mkroot down before Jan 1st. We'll see how the
legal challenges go, but $7k fine/download for open source free speech
under a supreme court that already affirmed project 2025's porn ban
(everybody: into a burqua now)...</p>

<p>I'm used to the magats doing horrible things. They can't disappoint me and
have tied themselves to an octegenarian fuhrer. It's the boomercrats,
Elizabeth Warren sponsoring Kosa etc. We have to replace BOTH parties
at the same time.</p>

<p>AOC modeling herself on FDR is why she goes by her initials and called
it the "Green New Deal", and Nancy Pelosi dedicated the dregs of her career
to preventing AOC from ever being able to give an "I welcome their hatred"
speech in front of a cheering crowd. Only right-wing populism is allowed,
left-wing populism that would guillotine the billionaires is never allowed as
an option by the DNC.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#26-02-2026</guid>
  </item>
  <item>
   <title><![CDATA[February 25, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#25-02-2026</link>
   <pubDate>Wed, 25 Feb 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>I don't entirely understand <a href=https://lists.landley.net/pipermail/toybox/2026-February/009903.html>Elliott's reasoning</a>
for android snapshotting the toybox header files. You can avoid recreating
the genconfig.sh scripts, but make.sh writes several things into generated/
unconditionally. (The reason scripts/prereq has snapshot header files is
it's not running make.sh, it's calling the compiler directly to make
a binary from the headers it's got.)</p>

<p>Almost all the inputs consumed by make.sh and genconfig.sh are
files checked into toybox: the exceptions are the .configure file you
supply, and _used_ to run a couple of compile time probes to ask questions
about hte system but the rewrite calls <b>cc -E -dM -</b> on empty input
to dump all the compiler's predefined macros, and then greps through the
list for a couple entries (FDPIC indicating nommu, and ANDROID indicating
bionic) so it can set configure entries. Those are the only non-toybox
data sources I'm aware of, everything else should be files in the repository.
And the prereq stuff creates and uses a toybox-prereq binary to provide sed
and such, which you could statically link against musl and snapshot instead
if you wanted to...</p>

<p>(In theory I could remove $GSED and friends now that I've got the prereq
plumbing, but I'm not ready to go there yet.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#25-02-2026</guid>
  </item>
  <item>
   <title><![CDATA[February 24, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#24-02-2026</link>
   <pubDate>Tue, 24 Feb 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Haven't been blogging much while ICE attacks my city, lots of mstdn.jp
posts but mostly not about programming...</p>

Still, "I look up and multiple weeks have passed" is a bit much. I thought
getting my codeberg account up was in that gap (turns out it was last month),
but... I never blogged about it? And I never _tweeted_ about it (well,
mastodoned about it) nor posted to the mailing list, which came as
a bit of a surprise. (Yeah, I was meaning to include it in the next release
notes, but DUDE...) Mastodon itself is (intentionally) unsearchable, so I
re-downloaded my archive and updated <a href=https://landley.net/toot>my
mirror</a> which lets me ctrl-f through for text. I've been posting there
a LOT (too much, it's a stress reaction) but not about codeberg. Huh...</p>

<p>I went back and inserted some blog text about it on
the day I did the git commit, which... may have been the day _after_ I
got the account working? I don't quite remember at this point (which is
why I blog: lab notebook).</p>

<p>Mastodon itself is (intentionally) unsearchable, so I re-downloaded
my archive and updated <a href=https://landley.net/toot>my mirror</a>
which lets me ctrl-f through for text.</p>

<p>Went to Wendy's for the first time in forever, because while unpacking
we found two gift cards Fade's parents gave us back in 2022, and they
apparently don't expire. It's a very nostalgic experience, but I can
see why they're dying. You cannot buy ANYTHING for a dollar here anymore.
The "biggie bag" is $6 now, the burger and fries in it each got smaller,
and the frosty keychain's gone up to $3. Their Dr. Pepper tastes like the
syrup's been sitting in the pipes long enough for the aspartame to break
down and stop being sweet, which takes at least 2 years. There's tape over
the electrical outlets, and the padded seats have the tables upright over
them with the chairs stacked on top, only the hard benches are available.
There's still money on the gift cards so I'll probably be back, but
it's not cost effective otherwise.</p>

<p>Poking at swapon -a (because somebody sent a feature request via Microsoft
Github), and -U and -L while I'm at it, and I've got most of it
in now (and UUID= and LABEL= fstab entries), although adding support for
any of that to swapoff probably means merging the two of them into the
same toys/*/swapon.c file so they can share the infrastructure.</p>

<p>The /etc/fstab traversal is common with mount but small, the UUID and
LABEL checking is harvested from blkid.c but as a small specific check
rather than a table traversal of lots of different filesystem types.
A 3.6 rontgen solution, as it were...)</p>

<p>The problem now is I need to test it, and I dowanna do that on my
laptop, so I need to set up a mkroot image with multiple swap devices.
Hmmm...</p>

<p>Maybe the <a href=https://www.house.mn.gov/sessiondaily/Story/18898>balcony
solar</a> bill here in minneapolis will pass? Here's hoping...</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#24-02-2026</guid>
  </item>
  <item>
   <title><![CDATA[February 19, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#19-02-2026</link>
   <pubDate>Thu, 19 Feb 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Cancelled crunchyroll back on the 5th, but the service was paid through
for a bit, which ran out today. Their new "privacy
policy" which had nothing to do with privacy (I am altering the deal, pray
I dodn't alter it any further) was the last straw, but Fade clicked through
it on the website to get to the "unsubscribe" page which coincidentally
unlocked my phone's app (same account), which is why I could still
watch a few more series to the end after unsubscribing.</p>

<p>I'd been noticing a lot of censorship in the episodes for months, as in
rewatching series turned into a game of "what's
changed since last time". (The first Dragon Maid episode on Youtube still has
the original scene where you see Tohru's naked back from the waist up for
a few seconds, but on the streaming service they've photoshoped it so Kobayashi
is now standing between said back and the camera. Meaning the characters are
no longer facing each other, one of them is yelling off into space while
standing BEHIND the other, they had no reason to move, it makes no sense...)</p>

<p>Funimation used to have much less censorship than crunchyroll, so of course
crunchyroll bought funimation (and then dropped half the series they used
to have rather than migrating them over). Attempted monopolization does not
endear a service to me: "you must use this you have no choice" ain't gonna
fly with a linux user who's never had a faceboot account.</p>

<p>And the update before this one started sneaking ads into things,
so far just "also on crunchroll" ads for some OTHER series with an immediate
skip button, but I know how frog boiling works.</p>

<p>And of course I watched
2/3 of "Noble on the brink of ruin" with what HAD to be
<a href="https://mstdn.jp/@landley/115792677118603318">AI generated subtitles</a>,
such as "Flammable soil? Oh, you mean flammable soil!" when someone
was spreading asphalt to make a road. (That is not a _human_ failure mode.
The whole story was just inexplicably bad in a "how did something with a plot
this incoherent get this much spent on its animation" until I figured out the
translation was utter garbage and MAYBE there was a story I wasn't getting.)</p>

<p>If they don't go out of business, their successors won't learn.</p>
</span>

<p>Before that we
<a href="notes-2025.html#16-06-2025">canceled Hulu</a>, so Fade could get Apple TV long
enough to watch Murderbot (which was to the books what the in-show Sanctuary
Moon clips are to the rest of the show, and my mental model of Murderbot is
basically Black Widow, not a dude. The author's a woman (she/her pronouns and
everything), and Scarlet Johanson would have
done MUCH better playing THIS androgynous killing machine than that
"avatar: the last racebender" live action anime remake I didn't watch.
Americans can't do Dr. Who and should not attempt to remake anime either.
I mean yeah, Boris Scherbina's kid did a good acting job, but androgynous
and capable of blending into a crowd he was not. Being miscast is not a
question of talent or skill.)</p>

<p>Trying to get my money's worth out of Hi-Dive before that enshittifies
as well. (I'm expecting it to be externally imposed by Project 2025, which is
now being pushed by blue dog democrats jumping on the "sex: the boomers
are done with it, scrub all mention from society" bandwagon. I know
society has pendulums, but going from legalizing gay mawwiage to bringing
back the Comstock Acts? Really?)</p>

<p>To be honest, Netflix has about as much anime as any other service.
And that's without a VPN.</p>


]]></description>
   <guid>http://www.landley.net/notes-2026.html#19-02-2026</guid>
  </item>
  <item>
   <title><![CDATA[February 7, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#07-02-2026</link>
   <pubDate>Sat, 07 Feb 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>I get (and respond to) emails:</p>

<blockquote>
<p>On 2/2/26 06:19, XXX wrote:<br />
&gt; i guess i'm just writing this email because i want some advice i'm 20 and i<br />
&gt; feel stuck i have no direction i have the same interest as you but i'm not<br />
&gt; as good as you idk any path i should follow i dont wanna be a developer<br />
&gt; because man thats just going to get taken over by ai well i mean<br />
&gt; everything will get taken over by ai in tech idk i just wanna make money<br />
&gt; hahah
</p>

<p>I'm not sure I have a lot of advice. I've never focused on what was lucrative, I focused on what was fun enough that I could keep at it without jumping off my balcony when I got home from work.</p>

<p>I fell in love with the idea of computers when I saw my grandmother's atari 800 with a basic cartridge (this thing does what I tell it to do!). My family got a commodore 64 for christmas when I was 10 and by new years it lived in my room. I've been banging away at them for fun ever since.</p>

<p>I resisted doing a computer science degree in college because I thought that might take the fun out of it (wound up with a double major because I took comp-sci courses in things I'd already self-taught to pull up my GPA until the second major basically fell in my lap).</p>

<p>That said, back when I had more energy I taught night courses at community college (in programming, because that's what I had a degree in and they cared) and wrote stock market investment columns for 3 years (no credentials whatsoever but it was the dot-com boom: The Motley Fool was just starting and they thought I asked good questions on the web forums). Neither earned even a quarter what my day job did but they were basically "hobbies with an externally imposed deadline to keep me doing it, and somebody specific who would be disappointed in me if I didn't".</p>

<p>There's no amount of money you can earn that you can't spend. To make ends meet I kept expenses down (paid off my student loans, cut up my credit cards, etc. I have a debit card but no _credit_ card, and yes that makes renting cars really difficult). And then put money into things I couldn't easily take it back out of (for example I bought stock with a dividend reinvestment plan and did NOT connected it to my bank account but instead mailed them checks: it takes a month to get money BACK out of that sort of thing, you mail in the form asking them to sell some, they process those forms in batches twice a month, they mail you the result as a check). I am VERY BAD with money, so I just expect it. If I have a credit card I will run it up, so I don't have one. (I pay cash for as much as possible, both so I can physically see the money leave making it real, and because reporting every transaction I make to the right-wing loons trying to outlaw birth control in a system that controls who is ALLOWED to receive money, with https://thenib.com/payment-processors-vs-porn/ transitioning smoothly to https://www.theguardian.com/world/2025/jul/29/mastercard-visa-backlash-adult-games-removed-online-stores-steam-itchio-ntwnfb to https://www.cnn.com/2026/01/26/tech/tiktok-ice-censorship-glitch-cec and just... I'd like to keep alive this quaint tradition of anonymous payments with no special permission required of sender or receiver and no tithe to billionaires extracted...)</p>

<p>Beyond just "not spending it all at the first crisis" (I.E. THE HARD PART), savings is about multipliers, not addition. At a certain point compound interest is going to do more for you than earnings will. Sad truth of capitalism. (I.E. the current dominant religion; praying five times a day towards mecca? That's nothing, we have ad breaks every 8 minutes. Viewing it AS a religion may help to cope with it: money is made up the same way football scores are, but if you tell a <strike>priest</strike> banker that they'll <strike>burn you at the stake</strike> evict you to freeze/starve under a bridge.)</p>

<p>If you can save $1000/year and it earns 10% annually (the average return of an S&amp;P 500 index fund) then as soon as you have $10k saved up the interest is contributing more than your savings are. On average, anyway, reality is a lot
<a href=https://www.macrotrends.net/2526/sp-500-historical-annual-returns>more volatile</a>,
but in the long run it's averaged out that way for centuries now.</p>

<p>The big thing to keep in mind is the Boomers are
<a href=https://www.mentalfloss.com/science/environment/clair-patterson-scientist-who-determined-age-earth-and-then-saved-it>lead poisoned</a>,
because of "leaded gasoline" back in the 1920s through 1990s. They inhaled MASSIVE quantities of tetraethyl lead exhaust, both pediatric and chronic exposure, and it got in the water and in the food and everywhere. They could compensate when they were younger (used tons of coffee and cigarettes cocaine and such to overcome the cognitive deficits with extra effort), but once they started going senile they became the most gullible and stupid generation in history.</p>

<p>The start of the baby boom was 1946 (D-Day plus 9 months) and the midpoint of the Baby Boom was 1955 (half of all boomers were born before then according to the census people). The actuarial tables say the average lifespan in the USA is 79 (well 77 after covid but...) and 1955+79=2034. Which means the LD50 on the baby boom is still most of a decade out, and we'll have to deal with them succumbing to every nigerian spam email and our phones all ringing off the hook with "medicare advantage" fraud until then. And the primary example of
<a href=https://en.wikipedia.org/wiki/Elder_abuse>elder abuse</a>
is the maga movement. (There's always been a
<a href=https://inversesquare.wordpress.com/2015/09/15/everything-old-is-new-again-john-rogers-is-always-right-edition/>crazy 27%</a>
but stack mass elder abuse from lead poisoning on top of that and you get the modern political environment.)</p>

<p>Which means that somebody a lot younger than me (Gen X) may be able to wait this crap out and rebuild afterwards. Somebody like me is likely to be well past retirement age before enough Boomers are dead for the fever to break and actual rebuilding to start. (Medicare for all, universal basic income delivered via postal banking, real privacy protections)</p>
</blockquote>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#07-02-2026</guid>
  </item>
  <item>
   <title><![CDATA[February 6, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#06-02-2026</link>
   <pubDate>Fri, 06 Feb 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
Linux From Scratch has announced its <a href=https://lwn.net/Articles/1057509/>end
of life</a>, which I guess means it's no longer a moving target which
should make having mkroot build it easier?</p>

<p><a href=https://mstdn.jp/@landley/116021692205833444>Cancelled crunchyroll</a>.
I'm not gonna pay money to help them make the world a worse place.
(You don't have to learn, you can die and thus make space for someone else.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#06-02-2026</guid>
  </item>
  <item>
   <title><![CDATA[February 5, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#05-02-2026</link>
   <pubDate>Thu, 05 Feb 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p>The "hamline/midway coalition newsletter", a snapshot of a couple dozen
blocks between Minneapolis and St Paul
<a href=https://mailchi.mp/hamlinemidway/hmc-october-2025-newsletter-17729888>fighting off a fascist invasion</a>.</p>

<p>Music fair! Constitutional observer training! Parking updates! Blood drive!
Zine making! Community Conversation with Parks Director Andy Rodriguez! Stand
with our community at Masjid Da’wah! Sidewalk salt recommendations! Food
Pantries! Three places to report ICE activity! Diaper, Formula, Hygiene, and
Medical Supply Hub!</p>

<p>(So much more on <a href=https://mstdn.jp/@landley/116019398116065933>mastodon</a> than here. Who knows when this'll actually get posted...)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#05-02-2026</guid>
  </item>
  <item>
   <title><![CDATA[February 3, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#03-02-2026</link>
   <pubDate>Tue, 03 Feb 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Submitted a few talk proposals to ELC. The one I really WANT to do
is Jeff and me running Linux under VHDL simulation, which could really
be multiple talks (do you want more of a "making a real product" focus
or more "using this for Linux bringup" focus)... heck just a survey
of what all the things you need to get working in the full ecosystem
(toolflows, toolchains, RTOS which is your rom bringup even if you then
load Linux, board design/manufacturing/testing with FPGA,
mask and asic manufacturing and packaging and mounting and how you get
your tape of chips into _their_ board assembly inventory across customs
and language barriers...)</p>

<p>And while I was there I proposed a mkroot walkthrough talk, and a redo
of Building the Simplest Possible Linux System recycling the 2017
talk description (hopefully trimmed down into something that
MIGHT fit in an hour)...</p>

<p>We'll see what (if anything) the committee bites on.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#03-02-2026</guid>
  </item>
  <item>
   <title><![CDATA[February 2, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#02-02-2026</link>
   <pubDate>Mon, 02 Feb 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p>Crunchyroll just forced an app upgrade (second time in a month,
"you cannot continue with this version") and there's a new TOS you must
agree to (I have not) full of "teenagers aren't people" and "VPN verbotten"
clauses.</p>

<p>Thinking of cancelling. Plenty of anime on netflix and hidive, and I should
get more DVDs. Crunchyroll is censorship central and it's started
playing ads before videos (with an immediate skip button so far but only to
boil the frog) even before this.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#02-02-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 31, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#31-01-2026</link>
   <pubDate>Sat, 31 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>I wrote a QEMU patch to provide <a href=https://lists.gnu.org/archive/html/qemu-devel/2026-01/msg06318.html>more memory
on the sh4 r2d board emulation</a>.</p>

<p>It requires a matching kernel, because the free memory space in the mapping
is BEFORE the standard mapping so you have to move the start DOWN rather
than expanding it up. It's not just that an old kernel won't see the extra
memory, it's that qemu's builtin bootloader (the -kernel -initrd and -append
options) load data relative to the start of the memory block rather than the
end, so a kernel that doesn't know the new memory layout can't find its
resources and relocate itself.</p>

<p>In theory, switching to device tree would fix at least some of that.
(Not 100% sure about the relocation part because there's a pathological
memory range where copy to and copy from overlap, and the "to" addresses
are absolute physical addresses where the kernel expects its function
pointers to live. Unless a kernel can be a PIE binary...)</p>

<p>I'd like to do a device tree version of the r2d board based on the
turtle board's device tree plumbing, but as with so many things I'd like
to do, I just don't have the spoons with the world (and the linux community)
on fire.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#31-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 24, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#24-01-2026</link>
   <pubDate>Sat, 24 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p>ICE murdered another observer, bit distracted today.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#24-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 23, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#23-01-2026</link>
   <pubDate>Fri, 23 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Each toysh pipeline segment has a "type" field, which is:</p>

<ul>
<li>0 - executable command</li>
<li>1 - start of flow control block</li>
<li>2 - flow control "gearshift" (ala do/then)</li>
<li>3 - flow control terminator (ala fi/done)</li>
<li>F - parsed function declaration (v is pointer to struct sh_function)</li>
<li>s - select statement inside case/esac</li>
</ul>

<p>During parsing, there are some extra types (because parentheses are handled
strangely):</p>

<ul>
<li>f - in progress function declaration (a bit like a here document)</li>
<li>128,129 - guts of a case statement</li>
</ul>

<p>There are three different "do" variants we can be waiting for
(which have an A, B, or C after the NUL terminator in the expect string:</p>

<ul>
<li>for/select: A</li>
<li>while/until: B</li>
<li>for/select: converted from A after a line break</li>
</ul>

<p>The "match byte after NUL" part is tested with smemcmp() instead of memcmp()
because memcmp doesn't stop at hte first differing byte but continues for the
whole range even AFTER a difference is detected, which breaks asan when the
string we're comparing against is shorter that range but differs before
ending: smemcmp() is just the naive byte-by-byte for loop which reliably
produces the right answer without segfaults. (See also strncpy() being
useless because it zeroes ALL the bytes after the NUL byte, which is hardly
ever what I want: sprintf("%.*s", len, str) does what I usually want.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#23-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 22, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#22-01-2026</link>
   <pubDate>Thu, 22 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Spent most of the day heading to and from the IRS office to hand over
a money order.</p>

<p>Our "married filing jointly" taxes got paid under Fade's
identity theft number, not mine, but I'm the Primary Whatis (because
misogyny?) even though Fade pays the bills (because the stream of late notices
and small fines when _I_ handled the paperwork perpetually at the last minute
made her nervous).</p>

<p>It's just northwest of the Mall of America. Got lost going through
the Mall of America because I underestimated "get off on the blue line,
then walk out of the mall to the north" as a thing I'd need to seriously
plan for. And then got lost repeatedly on the way back but eventually
found a bus heading towards St Paul until it could intersect the green
line.</p>

<p>Yeah errands are easier to run when you have a car, but it's not worth
the car part. I should look into that Evie thing. (It's a municipal electric
car2go, for car-based errands when you don't want to pay $100/month
just for the parking space.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#22-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 21, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#21-01-2026</link>
   <pubDate>Wed, 21 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
I still dunno why I never receved copies back of
<a href=http://lists.landley.net/pipermail/toybox-landley.net/2026-January/030883.html>this post</a>,
but I posted to the list <a href=http://lists.landley.net/pipermail/toybox-landley.net/2026-January/030884.html>again today</a>
and THAT one I got a copy sent back to me. So yay.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#21-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 20, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#20-01-2026</link>
   <pubDate>Tue, 20 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>As long as ELC is in Minneapolis this year anyway I should submit some
talk proposals. Maybe one about mkroot, and an updated version of
"building the simplest possible linux system". I should also try to
build Linux From Scratch (as is) then start swapping in individual toybox
commands, like I did for aboriginal linux a quarter century ago. (I'm old.)</p>

<p>Jeff won't set foot back in the states while the orange one draws breath
(Alan Cox stopped coming under Dubyah and still hasn't that I know of;
there's a reason there's an ELC Europe and Plumber's was in Tokyo this
year, and SPECIFICALLY why <a href=https://en.wikipedia.org/wiki/United_States_v._Elcom_Ltd.>defcon moved to Europe</a>,
and that reason is "republican fascism".) But Jeff can dial in to co-present
remotely, and we're thinking maybe "Running Linux under VHDL simulation"
might be a good talk? I.E. the J1 simulation stuff we've been doing under
<a href=https://github.com/nickg/nvc>NVC</a>, add an 8 meg block of
virtual SRAM (a ridiculous amount to have in real hardware because SRAM
_eats_ power and turns it to heat, but like 50 lines of C to simulate),
then port Linux to it (probably just a new device tree).</p>

<p>In theory we just need a new kernel .config and device tree to add
a single processor j1 target with different memory map and no I/O devices
other than serial console and spi flash. Hmmm, we should whip up a device
tree for the r2d board QEMU emulates too.</p>

<p>Creating linux support for a new piece of hardware from scratch like
that would be a good talk in and of itself. (What IS a minimal arch/blah
contents, starting from scratch? I dunno how, but I dunno how to do MOST things
I document before I set out to document them. I'm writing up the results
of learning a thing I wanted to read about instead of reverse engineer and
discover experimentally, so nobody else has to and everybody else can think
the thing I wrote up was trivial and that I did no real work because they
didn't have to.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#20-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 18, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#18-01-2026</link>
   <pubDate>Sun, 18 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Edited and uploaded a few blog entries. Up to July 11th of last year! Woo!</p>

<p>Got Codeberg account working, pushed toybox there, and added it to
the .git/configure "origin" list git push sends to. (Created a new key
with openssh instead of dropbear, uploaded that, and it worked.)

<p>Changed links in the toybox repo to point
to codeberg instead of github, but there's a backlog of github issues
todo and Elliott's unlikely to move while I'm still updating the old
one any time soon...</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#18-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 16, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#16-01-2026</link>
   <pubDate>Fri, 16 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Distracted by ICE attacking my city, and what little laptop focus I had
went to stuff for Jeff. Where was I...</p>

<p>The fundamental problem with the toysh "premature exit after a pipe" issue is
the layering's got conflicting design ideas after the last big rewrite.</p>

<p>So toysh is driven by "the fcall stack" which is a doubly linked list of
struct sh_fcall, and then each instance of that has a struct sh_blockstack *blk
(singly) linked list.</p>

<p>Each each fcall tracks the next source of lines to run,
such as a function() call to a saved block of parsed lines or a source or eval
statement providing a new FILE * to read unparsed lines from. It's a stack
because a function can call another function which calls eval which calls
source file.sh which calls another function and so on.

<p>The block stack tracks curly brackets, parentheses, our if/else nesting
level, and any other collation of statements that can be skipped or repeated,
or collectively attach a redirect to the end of ala:
<b>if true; then echo hello; fi > file.txt</b></p>

<p>The block stack is a member of the fcall struct so "return" statements
can jump out of the current block. (When you pop an fcall, you pop all
its block stack, because "return" jumps out of out however many nested
if/for/{ levels you're in.) Trailing redirects on { } &lt;blah and such
go in the block stack's "end" pointer (which should point to the type 3
ending block in the pipeline, also lets break jump ahead without
traversing because we already parsed all this earlier). run_lines() does
the redirects for pipeline segments, saving them into the current
fcall's top block structure. The problem is, when this is the root
fcall context (which is what prompts for new lines interactively), the
cleanup isn't to POP it. And then there's signal handling, which is basically
inserting function calls into the fcall stack:</p>

<blockquote><p>
$ trap 'echo hello' USR1<br />
landley@driftwood:~/toybox/clean$ { echo thingy; kill -USR1 $$; sleep 1; echo else;} | tee out.txt <br />
thingy<br />
else<br />
hello
</p></blockquote>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#16-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 12, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#12-01-2026</link>
   <pubDate>Mon, 12 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>I did a "git bisect" and the "echo | cat" bug was introduced in
<a href=https://codeberg.org/landley/toybox/commit/7a2f81c82d1c>commit
7a2f81c82d1c</a> which was the big rewrite replacing do_source() with
entirely different logic. So not exactly _surprising_, but I am CLEARLY
missing a test. (And I even have the "expect in shell" plumbing to test
interactive stuff! Sigh.)</p>

<p>Unfortunately knowing "the giant plumbing rewrite broke it" doesn't help me
easily revert the breakage, but what it LOOKS like is there's
no unredirect on the last command in a pipe. (Which way back in the day
ran in the current bash process even in bash, and Chet said he changed
that for a reason I don't remember? Sigh,I need to reread all the old
threads and make todo lists and test cases for every single point of
interest I can fish out of them, but I just haven't had the spoons what
with the Boomers not being dead yet.)</p>

<p>Anyway, it's sort of a "missing flush" situation, really. Yesterday
I was tracking down "why on earth is there still an open fd 3 when
run_command() gets called" and the answer is because that's the other end of
the pipe which it'll need later for the next command to receive the output of
the command its currently launching. It's already marked CLOEXEC, but since
"echo" is a builtin we never exec so those cloexecs don't take effect
(for non-mayfork commands, the child is a fork() but not an exec, at least
in the with-mmu codepath). I _think_ that's ok for all the toybox commands?
Having random inherited file descriptors greater than stdin/out/err isn't
gonna break anything (modulo filehandle exhaustion) in any command I can
think of, and if they ever DO exec something else those CLOEXEC annotations
would take effect at that point.</p>

<p>I guess one edge case would be "shell calling shell as a child", ala
"sh nohup sh" or some such? But only if the resulting shell script
manualy referred to specific filehandles. A non-exec call to oneit -3
could also get unhappy (because fd3 is magic in that case), but
you _have_ to exec that one for it to do its job. There's also a "too much
stack used" check that forces an exec() after at a certain recursion level,
which would also clean up the CLOEXEC filehandles...)

<p>Anyway, that's a side issue, and one I was already aware of at some point.</p>

<p>So what is currently calling unredirect? pop_block() is calling it
on TT.ff-&gt;blk-&gt;urd (mostly for the "if true; then echo hello; fi &gt; /dev/null"
block level pipes/redirects). And end_fcall() is calling it for
ff-&gt;pp-&gt;urd which is probably what's missing here. (Or deferred to the
point of uselessness: it's not the closes that's the problem, it's
the "put stdin back where it belongs" that's the problem. That you CAN'T
defer past where it needs to happen.) What else: pipe_subshell() has a local
unredirect block to clean up its own redirects around a call to
run_subshell(). And finally run_lines() is manually calling
unredirect(TT.ff-&gt;blk-&gt;urd) which SEEMS like a duplicate of pop_block()?</p>

<p>Why are block unredirects being handled in two places? Do we clean
out a block WITHOUT popping the structure off the list, and then reuse
the struct? (Unlikely, but I've rewritten this code enough times I don't
immediately remember which version is current, especially after spending
most of 2025 going "not this shit again" and, to be honest, failing to cope
until it got bad enough to get ANGRY again.) What's going on here...</p>

<p>Ok, first of all annotate all those calls and both the pop_block()
and end_fcall() unredirects are indeed being called... with NULL arguments.
Which is a NOP that gets filtered out before the printf I'd added to
unredirect earlier. And then the prompt happens (and fails to read
anything, which is treated as EOF on stdin) and then ANOTHER pop_block()
happens and THAT one moves FD 10 (the first high file descriptor and
where stdin got saved to) down to 0... before exiting the shell.</p>

<p>So there's a sequencing issue. Except what's really going on is
the block level that's being treated as an interactive read from stdin...
isn't. The NEXT block level is the interactive read from stdin. It should
not be PROMPTING for the "nothing to read from the empty pipe" level
before it's done the cleanup, the cleanup from popping that block is
what gets us the stdin file descriptor we need to prompt for and read
from.</p>

<p>Each block level can have redirections attached: source file &lt; blah1;
function ^lt; blah2; if true; then while read i &lt; blah3; do echo $i;
done &lt; blah4; fi &lt; blah5</p>

<p>And when it gets done with ALL of that there's an enclosing level that
may or may not be interactive prompting for more input (or may be
sh -c "string" or sh script.sh or sh &lt; thingy from a non-terminal
source meaning not interactive unless they explicitly said -i which
just gets weird).</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#12-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 11, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#11-01-2026</link>
   <pubDate>Sun, 11 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>I posted a thing to the toybox mailing list and never got a copy emailed
back to me. Dunno why. (I wonder if anybody else got it, or if this is another
"dreamhost's infrastructure found a new way to fail". The message is there
in the web archive!)</p>

<p>Anyway, during that I found a brown paper bag bug in current toysh which
is that "thing | thing" exits right afterwards because the unredirect
is returning to the shell prompt with stdin closed. (Oops. That's one
of the more recent commits, it USED to work. I have TESTED that.)</p>

<p>So today I'm switching on the DEBUG output and trying to figure out
where it's getting confused. There's already a debug_show_fds that iterates
through /proc/self/fds to list all open filehandles and what they
think they point to, which is a good snapshot. (The internal data structures
are one thing, but "these are the filehandles this process currently has
open" can't lie. And the way save_redirect() and unredirect() work is
they dup2() filehandles up above 10 and then dup2() them back down to
the original number.</p>

<p>This is for nommu support: doing it all in the parent
before vfork() means the child has a lot less cleanup to do before it
can exec() the new executable. Basically it can just loop through and close
its copy of the high filehandles, then call exec. Since close() can almost
never fail (the one exception I'm aware of is NFS, which I actively do not
care about) this means the vforked child doesn't have to worry about
error handling while it's blocking the parent and sharing a heap and
so on. The vfork() syscall in linux/kernel/fork.c is just
clone(CLONE_VFORK|CLONE_VM) which means the child has a separate filehandle
table (I.E. it does NOT have CLONE_FILES), so the child can close() anything
it likes without affecting the parent process.</p>

<p>That said, the PARENT then needs to unredirect() which means it needs
to dup2() all the high filehandles down and then close them. (There isn't
a "move filehandle" operation, you have to dup2() and then close() the old
one if you want to move one file descriptor to be on a different number.
Part of the unavoidable error handling of doing that is the potential
for filehandle exhaustion: every time you request a new filehandle there
might not BE another one available, becuase Linux has a maximum number of
open filehandles systemwide and you could be in the middle of the file
version of a forkbomb. So the parent should do all that, not the vfork
child.)</p>

<p>This USED to work right, but apparently I broke it (doing the alias
work maybe? Lot of reording what happens when there...) and "echo | cat"
now exits the shell (after drawing the next prompt, as if I'd hit ctrl-D
to close stdin.)<p>

<p>Sigh, I should also do another round of blog entry editing. The version
on the website currently ends with July 30 of last year...</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#11-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 10, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#10-01-2026</link>
   <pubDate>Sat, 10 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p>Slipped and fell down again at the protest. Sigh. I was JUST feeling
better from the last fall...</p>

<p>The only time I saw ICE was when the bus driver pointed them out
like a tour gide on the way to Powderhorn Park ("if you'd like to film,
that's ICE reading license plates in the SUV next to us"). Got about 4
seconds, decent views of both faces for the inevitable crowdsourced
doxing of the lot of them for new neremberg trials, posted it to Mastodon.
(And while waiting for said neuremberg trials we can protest any strip mall
whose mall cop used to be in the SS.)</p>

<p>The protest at powderhorn park was nice, crowd size was "too big to be
counted from the ground". Mostly on the west side of the park, and public
transit dropped off on the east side, and the park is a bowl (greenspace
to catch floods I guess?) so we all had to go down a large frozen
slope and back up a large frozen slope on the other side to get to
where the people were, which was NOT FUN. (Again, more organization
would be nice.)</p>

<p>I got REALLY cold after about 45 minutes of standing in "too crowded to
move" (but at least they were an excellent windbreak). Next time: double socks,
scarf, hat, layer a hoodie under the jacket. Wound up in the
"parade down the street" part of the proceedings (apparently there was
one), and then after had us heading back in the direction of the bus anyway so
I decided not to push it and kept going buswards when the march turned
north. Stuck to the street rather than the sidewalks (less treacherous,
more salt)... and hit black ice and fell down again a block later anyway.</p>

<p>Had time to contemplate that "bringing ice against minnesota, that'll
show them" is metaphysically dumb, and the murdered lady whose name we
kept repeating was "Renee Good" meaning we are literally on the side of good.
The ONE thing previous iterations of fascists managed semi-competence at
was public relations (no Mussolini never made the trains run on time,
he just claimed he did and shot anyone who contradicted him), and these
clowns keep faceplanting even at that. Lying is their core competency,
and their own second reich keep screwing EVEN THAT UP.</p>

<p>Fell on my back
this time, so no fresh insult to my knees but I think I properly sprained my
left wrist this time. (And banged up right fingers. And my headphones
went flying but I think they survived. Wasn't wearning my laptop backpack
because I'm not handing that over to confiscatory iceholes. Even my
phone had a 7 digit PIN, was in airplane mode, and was turned off the whole
time. Plenty of people were filming everything, my "last service update
in 2022" android instance doesn't need to connect to the stingrays, thanks.)</p>

<p>Got helped up again, toddled down the street to the next intersection,
got yelled at by the traffic directing lady for "distracting" her when I tried
to ask directions, went to the corner and sat on the sidewalk for a bit
(it was very cold) until a nice lady named Mara helped me up and walked
me to the right bus. (I was... less functional than I'd like. Once again,
the amount of OK you feel right after sprawling onto freezing asphalt
seems to be a high point you will decline from going forward. I mostly
don't notice being in my 50s, but I don't get banged up on a regular
basis either. Also, Texas didn't have a lot of "you've been out in
freezing weather over an hour, now pull off some physical challenges!"
opportunities to practice under that particular debuf.)</p>

<p>Made it home without frostbite. Lay down. Typing it all up the
next day.</p>

<p>I need to do all that again (and again, and again...) which means I should
tackle my email and finish signing up for whatever lists I need to be on...</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#10-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 9, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#09-01-2026</link>
   <pubDate>Fri, 09 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Got the email, haven't done anything with it yet. (But yay, I'm caught
up on deleting spam! I was a month and half behind at one point.)</p>

<p>Speaking of email, I got a Call For Papers for ELC in Minneapolis May 18-20.
(It's following me!) I suppose if there are literally zero travel expenses
(well, $2 each way for public transit) I should come up with a talk proposal,
but... have I really been doing anything I went to tell people about?
[LINK] "Things the Linux community is doing that drive me away from it"
seems an unlikely topic to get greenlit (nor particularly _useful_).
Maybe the j-core stuff, although Jeff won' set foot in trumplandia.
Or maybe I could talk about our "minimal-lib, bsd 2.11, netbsd, linux" layering
strategy for, let's be honest, escaping linux's geriatric implosion.
Or I could finally give a talk about mkroot to the
ELC guys. (I gave one at TXLF a year or so back but I don't think I really
nailed it, and never got a link to the video...)</p>
</span>

<span id=politics>
<p>I did not make it to the bookstore either, despite it only being a 15 minute
walk away, because when I started down the sidewalk on University Ave next to
Aldi's (basically the green line but walking instead of riding) it was a
treacherous ice moonscape and I noped right back out of that and went in
to the warm Aldi's instead. (It's replaced HEB as the "daily visit to get out of
the house", which is nice. Fresh Thyme at the previous place occasionally
had some nice loss leaders, especially in the meat department or baked goods
on clearance, but was otherwise competing with Whole Foods for the
snooty rich person dollar.)</p>

<p>I phoned said bookstore, and they say the next protest the signs
could be used at is tomorrow at 1pm at Powderhorn Park. Which is an hour
away by public transit, but at least it's a saturday so I can borrow Fade's
rail pass.</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#09-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 8, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#08-01-2026</link>
   <pubDate>Thu, 08 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p>Fade doesn't know where people are finding all the sudden protests to go
to around minneapolis either, or where to go to confront the iceholes BEFORE
they murder innocent citizens. (I see pictures of crowds on the news but
haven't personally noticed them in my meager wanderings around St. Paul.)
She suggested I look at local author Naiomi Kritzer's bluesky, which linked
to a "defend 612" zoom orientation, which wanted name and email to sign up,
which I wibbled about for a while (online security!) but signed up for at the
last minute anyway. And stayed through the meditation exercise where we
were supposed to feel the ground and thank the air or some such, because
I want information dammit.</p>

<p>Eventually they got around to vaguely useful information: ice watch
does what it says on the tin. You get a whistle, blow short bursts if
iceholes get out of their SUVs, and long bursts if they actually grab
someone. Film everything (whatever they say about it). That's it, otherwise
try to stay 10 feet away when they haven't actually killed someone yet.
The current hotspots are south minneapolis, although today they made it
north to the stadium (where Fade and I used to live).</p>

<p>They mostly keep in touch on Signal, but their original whole-minneapolis
signal channel hit a 1k person cap (as did tonight's Zoom tutorial thing,
I was lucky to get in) and their more granular ones are all for
downtown minneapolis (not St. Paul), and they've had a HUGE SURGE of
signups since the murder (ahem, the most recent murder, it is apparently
the 36th we know of this regime, but again missing white woman
syndrome and this one was local and recent). Anyway, they promised to
email everybody in the chat (since we had to give emails to sign up for
the chat) with instructions on how to join a St. Paul regional signal
that can crowdsource ice sightings and such.</p>

<p>The text chat attached to the zoom mentioned a bookstore is having a sign
making event tomorrow, presumably somebody there will know where the next
actual protest is. (Despite all the aches from the fall, I can "go stand
around and chant" with the best of them.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#08-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 7, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#07-01-2026</link>
   <pubDate>Wed, 07 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=politics>
<p>The musical pairing with today's blog entry is Johnny Cash's "hurt",
albeit with "dumbass" rather than "self-harm" overtones in this instance.</p>

<p>So I finally walked to the new library location, which said the introductory
japanese book I'd inter-library-loaned came in the day the old location
closed. (And then they reopened in the new place on the 3rd.) This was my
first mistake.</p>

<p>I went to the old location first, to hit the Sun Foods next door, which
still hasn't restocked checkerboard ice tea.
They have the with-pearls version from the same "chin chin" manufacturer,
which is Japanese for "penis penis" but this is from taiwan so... maybe
it means the same? Anyway, I inhaled a boba long ago and had it lodged
in my lung for WEEKS until I stopped noticing (for all I know it's still
there, although it's been like 20 years now) and... I prefer the all-tea
version instead of non-beverage ballast. Alas, waiting and making sad
faces. (Last time I was there, they had ground beef for $1.90/lb which...
how? It tasted fine, should have stocked up, now it's $3.50/lb which is
still "suspiciously cheap" but at "osha violations" rather than "downer
cows" level...)</p>

<p>Resuming the Quest For Library, I hit a patch of sidewalk
that had been shoveled but meltwater from nearby snow ran into it and
then the part in sunlight was fine but the part in shadow was a layer of ice
over water. Fell hard on my knee and wrists, then on my ass (keeping backpack
with laptop OUT of the water). Stayed there for a bit soaking through going
"ow" until a nice man got out of his car and helped me up. Hobbled the
remaining half block to the new library location (I could SEE it from where
I was), hung around in the warm for an hour thinking I would recover and
instead felt worse. (Which is apparently normal for winter falls in minneapolis
but I didn't know that. Bruising, poison ivy, sunburn, and winter falls onto
concrete all gradually register their severity sometime after the fact.)</p>

<p>They THOUGHT they had my ILL book, but it wasn't on the reserved
shelf, and after ten minutes they declared defeat. (I'm assuming it
got lost in the move.) It took some dissuading to convince them NOT to pull
a new copy from yet another library. (It took so long to fulfill the first
request because all the copies at the other libraries were checked out,
it's a popular book, I can GET other japanese learning resources and don't
want to deprive the system of books that may disappear into a black hole.)</p>

<p>The new library location is less than half the size of the old location and
they estimate they have about a quarter of the materials. (For example,
the old place had the Dragon Maid blue ray, the new one does not. Also,
obviously smaller "materials" room, way less shelf space.)</p>

<p>The collection they DO have out tends to
have a lot of "Season 5 of Penn and Teller's Bullshit" (that is literally
the name of their old TV show, it was quite good) but NOT season one
of... anything, that I've noticed. (I can get those through inter-library
loan, which might possibly mean pulling it out of a box at the old location
being renovated, where the other 3/4 of their collection presumably
still is?) I asked how long the renovations would take and they think
they'd be lucky to move back there before the end of the year.</p>

<p>Hobbled home VERY SLOWLY, made it without another incident. Took TWO
ibuprofen and lay down a lot. Things that logically shouldn't hurt, hurt
anyway.</p>

<p>Came home to find that a different kind of ice murdered a white woman
today. A very christian, vaguely photogenic, three small children, already
triggering "missing white woman syndrome" even among the maggot
base. Lots and lots of protests, which A) I hadn't heard about (how do people
get notified of these things in time to GO to them?), B) am too banged up to
helpfully attend tonight, but tomorrow I should find informational resources
for this stuff. (I checked the "no kings" protest website right after
the last protest to see when the next one was, and the concept of doing
another protest after the "largest protests in history" seemed not to
have occurred to them. Fucking useless, what are the city level resources
here...)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#07-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 6, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#06-01-2026</link>
   <pubDate>Tue, 06 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<p>FINALLY left the apartment (after going no farther than Aldi's all
holiday break) because Fade's meds needed to be picked up and I can do that
during the day while she's at work.</p>

<p>(Fade and I have very traditional gender roles. She goes to work before
the sun comes up using her doctorate full-time with something that at least
provides health insurance for HER, and while she's gone I tidy the house and
do the dishes and walk the dog and run errands like refilling her meds at the
pharmacy that's only open while she's at work, and make sure there's a hot
dinner and cold beer waiting for her when she gets home. Extremely traditional.)</p>

<p>Since I'd bought the green line ticket anyway (she has a rail pass I can
borrow on evenings and weekends, but she takes it to work with her),
I went to the bookstore in downtown St Paul I'd ordered Fade a christmas
present from ("The fabric of civilization", Hank Green interviewed the
author and it sounded fun), and bought another book while I was there
(I didn't know the third "legends and lattes" book was out, bought the
hardcover), and then since I was in the area I visited the Habitrails,
which I haven't been in since 2013. Alas I couldn't navigate back to my
old stomping grounds: some giant bank skyscraper is closed which cuts of
about 1/4 of the habitrails from the rest of it (unless you go outside and
back in), and by the time I figured that out (I was stuck in the small
isolated part) I'd hit my 10k steps and went back to the green line.</p>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#06-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 5, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#05-01-2026</link>
   <pubDate>Mon, 05 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>I'm having regular-ish calls with Jeff to work out j-core software
strategy going forward. We need toolchain, toolflow, simulation,
bootloader, and kernel builds.</p>

<p>The limiting factor is Jeff's time, he's CEO _and_ chief architect
on the hardware side (chip design, board design, high voltage electrical
design, sensor design, signal analysis...) and then the software side
has FIVE major forks (toolflows to make chip masks using ghdl/yosis/openroad,
C toolchains to build target code, Linux base OS image, RTOS image
(sometimes used standalone or sometimes it's the ROM/bootloader that brings
p Linux, and then all the application software which is itself a half-dozen
major projects...)</p>

<p>Plus we've got simulation versions, that's kind of another fork...</p>

<p>I'd like to get all this packaged properly, with reproducible builds
and automated regression testing and so on, but JUST THAT would be a full-time
job without doing any actual _development_.</p>

<p>Not that Jeff can afford to pay me anywhere near full time right now.
(Or at least he gets a better bang for the buck from japanese engineers,
and gets to tell non-US customers that a tariff tantrum doesn't directly
affect his supply chains.)</p>

<p>Then again, we're no longer maintaining two households (and put the
equity from the house sale into an S&amp;P 500 index fund) and haven't had
a car since 2018, so I haven't really pressed the issue.</p>

<p>I'm basically a househusband doing little work-from-home projects here
and there. I keep thinking I should just go get a job shelving boxes at
Aldi. It is, at least, the opposite of a <a href=https://strikemag.org/bullshit-jobs/>Bullshit Job</a>.</p>

<p>Recruiters still wave stuff at me from time to time, but between
"spend 6 months in a strange city not seeing your family" and the job ITSELF
being either LLM fuckery or defense contracting under Hegseth... I'm
describing myself as semi-retired at this point. Fade and I are
no longer maintaining two households (and we put the
equity from the house sale into an S&amp;P 500 index fund) and haven't had
a car since 2018. If her job provided spousal health insurance so I didn't
have to buy it on the exchange, we'd be in pretty good shape.</p>

<p>I don't particularly _want_ to contribute to maga's economy, refuse to
work for any company that donated to the Epstein Ballroom (yes there's a list),
and every time a recruiter starts describing a job (some offering $100/hour)
I wind up thinking "I keep hearing about desperate people who REALLY NEED the
money" and I want to stay out of their way. I am not currently desperate.
To permanently retire on what I've got I'd have to live like a monk, and
possibly stop buying health insurance, and hope the coming LLM crash isn't
much _worse_ than 1929, and that Fade stays employed, and it would be nice
if some fraction of Social security still exists not long after age 70.
But it's technically POSSIBLE. (If the stock market stays broken it would
be trivial, but I don't remotely trust that.)</p>

<p>Or I could get a weekend job running a cash register
to save it for a more comfortable retirement. (Literally flipping burgers
would be FAR preferable to EVER dealing with vibe coded rust.)</p>
</span>

]]></description>
   <guid>http://www.landley.net/notes-2026.html#05-01-2026</guid>
  </item>
  <item>
   <title><![CDATA[January 1, 2026]]></title>
   <link>http://www.landley.net/notes-2026.html#01-01-2026</link>
   <pubDate>Thu, 01 Jan 2026 23:59:59 +0000 </pubDate>
   <description><![CDATA[<span id=programming>
<p>Trying to add SIGWINCH support to demo_scankey, in preparation for
implementing toysh line editing, and Linux terminal editing
really, really, REALLY shouldn't be this hard.</p>

<p>The fundamental problem is that the terminal is PARTLY a series of stacked
lines of arbitrary length, but also PARTLY an X/Y display window. And neither
of them is complete.</p>

<p>If you resize the terminal it redraws the stacked lines in its history buffer,
and if any of those lines are wider than the current terminal width they
take up mutiple Y position slots (so the top of screen can be in the
middle of one of these lines). This mostly does what you want: historical
text automatically reflows (to an extent) when the terminal window is resized.</p>

<p>Except when you output a backspace character, it stops at the left edge of the
screen. It does NOT ever subtract from your Y coordinate, it just stays stuck
at the left edge of the screen. Printing more data will go "down", but
backspace will never go "up", even though you're in the middle of a long
(multi-row) line that will automatically reflow if you change the terminal
width because it REMEMBERS what was connected.</p>

<p>In theory I can keep track of my cursor position and detect when I'm at the
left edge, so I can do an ansi "go up" and an ansi "jump to the right edge"
to move the cursor around. In practice, resizing with the mouse is an
asynchronous action that can happen at any time and the running program gets
notified an arbitrary amount of time later, with no locking between resize
events happening and output going to the terminal's output pty, so your X and
Y position can change out from under you. (When you increase the screen it
moves the existing data down, which means if you've cleared the screen it
adds the new blank lines at the TOP of the screen, changing your Y
position. Your X position also moves when the width changes based on this
wrapping BS as the historical text including the line you're on gets reflowed,
especially when the screen gets narrower.)</p>

<p>When you do backspace so your cursor's not at the end of the current
line of text that's been printed, printing more is in overwrite mode not insert
mode. There are more ANSI commands to address this incorrectly:
the ansi P command will delete the character at the cursor and pull the
line to the left, but if you cursor up and do this it still won't pull
characters from the line below, instead it will leave a space at the right
edge and BREAK THE LINE so it wraps as two independent lines now.
No seriously, try doing <b>yes 123456789 | sed 20q | xargs;
echo -e '\e[2A\e[P\n'</b> in an 80x25 terminal and then change the terminal
width.</p>

<p>Here's an even crazier one: the @ command inserts characters (which you need
to do in insert mode), scrolling its line to the right... but it only scrolls
the CURRENT row. Anything that goes off the right edge is deleted. But the
multi-line string ISN'T BROKEN when you do this, it still wraps as one long
multiline entity, now with spaces inserted at one point and corresponding
chracters yanked out at a point further along (where the right edge of
the screen was one that line). (If you replace the P with @ in the above
example, doing 3P makes it slightly ore obvious. I also did 10P to see if maybe
it was "column edges with space vs non-space" like cut and paste does,
but nope. Doesn't seem to matter.)</p>

<p>I can't just clear the screen and redraw it a lot because I don't HAVE
the historical data. (I can neither read nor directly control the
backscroll buffer, that I know of.) Some other program ran and wrote output
to the terminal, then my shell ran and wrote stuff. The fact I'm trying to do
interactive line editing is a somewhat transient state of affairs patching
the behavior of this historical text buffer in situ, but I can only move in
SCREEN coordinates to affect multi-line backscroll buffer text entries,
which aren't the same thing.</p>

<p>Oh, XFCE also has terminal resizing bugs, by the way: the
"resize -s ROWS COLS" command works, and yes it's in that order so 80 by 25
has to be "resize -s 25 80".
EXCEPT, if you try to change the number of columns it doesn't actually
change but it THINKS it changed, when you're in 80 x 25 and you say "resize
-s 80 25" the screen then lies about its width while you're resizing it
and refuses to go what it THINKS is 4 columns but is actually more like 40.
(it thinks it's hit a minimum early). And I haven't found a way to fix it
except closing every tab in the terminal window so I can close that terminal
window and open a new one that isn't borked. (My other attempts to resize
just made it worse, deltas from where it was in the wrong direction.)</p>

<p>I remember arguing with this long ago, and putting line editing back
on the shelf...</p>
</span>

<hr><h1><a href=notes-2025.html>Back to 2025</a></h1>
]]></description>
   <guid>http://www.landley.net/notes-2026.html#01-01-2026</guid>
  </item>
 </channel>
</rss>
