<?xml version="1.0"?>
<rdf:RDF
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:foaf="http://xmlns.com/foaf/0.1/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns="http://purl.org/rss/1.0/"
>
<channel rdf:about="https://deb.news">
	<title>Deb.News</title>
	<link>https://deb.news</link>
	<description>Deb.News - https://deb.news</description>

	<items>
		<rdf:Seq> 
		  <rdf:li rdf:resource="http://www.netfort.gr.jp/~dancer/diary/daily/2026-Nov-14.html.en#2026-Nov-14-09:14:03"/>
		  <rdf:li rdf:resource="162 at https://sunweavers.net/blog"/>
		  <rdf:li rdf:resource="https://reproducible-builds.org/reports/2026-10/"/>
		  <rdf:li rdf:resource="http://blog.sesse.net/blog/tech/2026-11-13-19-51_solving_the_fox_game.html"/>
		  <rdf:li rdf:resource="tag:bits.debian.org,2026-11-13:/2026/11/new-developers-2026-11.html"/>
		  <rdf:li rdf:resource="tag:www.chiark.greenend.org.uk,2026-11-11:/~cjwatson/blog/activity-2026-10.html"/>
		  <rdf:li rdf:resource="https://etbe.coker.com.au/?p=6347"/>
		  <rdf:li rdf:resource="tag:veronneau.org,2026-11-11:/a-good-looking-corsi-rosenthal-box.html"/>
		  <rdf:li rdf:resource="https://changelog.complete.org/?p=45097"/>
		  <rdf:li rdf:resource="http://www.luffy.cx/en/blog/2026-linux-performance-ipv4-ipv6-route-lookup.html"/>
		  <rdf:li rdf:resource="https://blog.alteholz.eu/?p=2864"/>
		  <rdf:li rdf:resource="https://bisco.org/notes/using-incus-for-throw-away-vms/"/>
		  <rdf:li rdf:resource="http://dirk.eddelbuettel.com/blog/2026/11/07#prrd_0.1.0"/>
		  <rdf:li rdf:resource="tag:blogger.com,1999:blog-8085113335874848981.post-4830726576516808315"/>
		  <rdf:li rdf:resource="161 at https://sunweavers.net/blog"/>
		  <rdf:li rdf:resource="https://blog.einval.com/2026/11/06#Cambridge-2026-hacking"/>
		  <rdf:li rdf:resource="http://www.luffy.cx/en/blog/2026-bunny-geodns.html"/>
		  <rdf:li rdf:resource="tag:blogger.com,1999:blog-8085113335874848981.post-7235150088621498096"/>
		  <rdf:li rdf:resource="tag:blogger.com,1999:blog-8085113335874848981.post-5956643767503841992"/>
		  <rdf:li rdf:resource="https://www.decadent.org.uk/ben/blog/2026/11/06/foss-activity-in-october-2026"/>
		  <rdf:li rdf:resource="https://gwolf.org/2026/11/don-t-tell-anybody-but-we-have-apparently-gone-dark.html"/>
		  <rdf:li rdf:resource="https://changelog.complete.org/?p=45047"/>
		  <rdf:li rdf:resource="tag:veronneau.org,2026-11-04:/tenure.html"/>
		  <rdf:li rdf:resource="https://changelog.complete.org/?p=44973"/>
		  <rdf:li rdf:resource="http://dirk.eddelbuettel.com/blog/2026/11/02#myman_0.13.0"/>
		  <rdf:li rdf:resource="https://bisco.org/notes/status-update-september--october-2026/"/>
		  <rdf:li rdf:resource="https://etbe.coker.com.au/?p=6345"/>
		  <rdf:li rdf:resource="https://etbe.coker.com.au/?p=6117"/>
		  <rdf:li rdf:resource="https://etbe.coker.com.au/?p=6298"/>
		  <rdf:li rdf:resource="https://etbe.coker.com.au/?p=5915"/>
		  <rdf:li rdf:resource="https://www.ezini.eu/blog/2026/python/sandboxing-pre-commit"/>
		  <rdf:li rdf:resource="http://blog.sesse.net/blog/tech/2026-10-21-23-19_decompilation_patterns_part_18_signed_division.html"/>
		  <rdf:li rdf:resource="http://blog.sesse.net/blog/tech/2026-10-20-23-33_decompilation_patterns_part_17_loop_rotation.html"/>
		  <rdf:li rdf:resource="https://cascardo.eti.br/blog/dmem_cgroup_7.3/"/>
		  <rdf:li rdf:resource="http://blog.sesse.net/blog/tech/2026-10-19-21-53_decompilation_patterns_part_16_tail_reduplication.html"/>
		  <rdf:li rdf:resource="http://dirk.eddelbuettel.com/blog/2026/10/18#myman_0.12.0"/>
		  <rdf:li rdf:resource="http://blog.sesse.net/blog/tech/2026-10-18-10-47_decompilation_patterns_part_15_redundant_if_for.html"/>
		  <rdf:li rdf:resource="https://danielpocock.com/en/high-court-secret-trial-collapses-confidentiality-breaches"/>
		  <rdf:li rdf:resource="http://dirk.eddelbuettel.com/blog/2026/10/17#rcpparmadillo_15.6.2-1"/>
		  <rdf:li rdf:resource="http://dirk.eddelbuettel.com/blog/2026/10/16#rcppsimdjson_0.1.17"/>
		  <rdf:li rdf:resource="https://reproducible-builds.org/reports/2026-09/"/>
		  <rdf:li rdf:resource="https://www.eyrie.org/~eagle/reviews/books/9798376517017.html"/>
		  <rdf:li rdf:resource="https://www.eyrie.org/~eagle/reviews/books/1-250-40009-0.html"/>
		  <rdf:li rdf:resource="https://danielpocock.com/en/reform-uk-offers-to-pay-for-clacton-by-election"/>
		  <rdf:li rdf:resource="https://retout.co.uk/2026/10/10/zeversolar-esphome/"/>
		  <rdf:li rdf:resource="tag:www.jelmer.uk,2026-10-10:mailsift.html"/>
		  <rdf:li rdf:resource="https://anarc.at/blog/2026-10-08-dst-warning/"/>
		  <rdf:li rdf:resource="tag:www.chiark.greenend.org.uk,2026-10-09:/~cjwatson/blog/activity-2026-09.html"/>
		  <rdf:li rdf:resource="tag:veronneau.org,2026-10-09:/removing-myself-as-a-lintian-uploader-in-the-next-few-weeks.html"/>
		  <rdf:li rdf:resource="http://blog.alteholz.eu/?p=2854"/>
		  <rdf:li rdf:resource="tag:bits.debian.org,2026-10-07:/2026/10/forky-artwork-cfp.html"/>
		  <rdf:li rdf:resource="http://www.luffy.cx/en/blog/2026-go-netip-addrto6.html"/>
		  <rdf:li rdf:resource="http://www.luffy.cx/en/blog/2026-http-over-ssh.html"/>
		  <rdf:li rdf:resource="https://www.decadent.org.uk/ben/blog/2026/10/02/foss-activity-in-september-2026"/>
		  <rdf:li rdf:resource="https://danielpocock.com/en/nigel-farage-reform-uk-admits-missing-legal-documents"/>
		  <rdf:li rdf:resource="https://danielpocock.com/en/creditors-beware-vms-enterprises-brexit-party-reform-uk"/>
		  <rdf:li rdf:resource="https://danielpocock.com/en/reform-uk-last-minute-accounts-filing"/>
		  <rdf:li rdf:resource="https://gwolf.org/2026/09/the-origins-of-gpu-computing.html"/>
		  <rdf:li rdf:resource="https://notes.secretsauce.net/notes/2026/09/27_lunar-terminator-paradox.html"/>
		  <rdf:li rdf:resource="https://www.eyrie.org/~eagle/reviews/books/0-7564-2013-X.html"/>
		</rdf:Seq>
	</items>
</channel>


<item rdf:about="http://www.netfort.gr.jp/~dancer/diary/daily/2026-Nov-14.html.en#2026-Nov-14-09:14:03">
	<title>Junichi Uekawa: Time flies so fast.</title>
	<link>http://www.netfort.gr.jp/~dancer/diary/daily/2026-Nov-14.html.en#2026-Nov-14-09:14:03</link>
     <content:encoded>Time flies so fast. It&#39;s November.
	  Busiest time of the year?
        &lt;p&gt;&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-14T00:14:03+00:00</dc:date>
	<dc:creator>Junichi Uekawa</dc:creator>
</item> 
<item rdf:about="162 at https://sunweavers.net/blog">
	<title>Mike Gabriel: Debian Edu 13 - Call for Testing</title>
	<link>https://sunweavers.net/blog/node/162</link>
     <content:encoded>&lt;p&gt;The upcoming Debian 13.8 point release will be the foundation of the first release of Debian Edu 13.&lt;/p&gt;

&lt;p&gt;This is a call for testing, we are interested in your feedback.&lt;/p&gt;

&lt;h3&gt;How To Prepare&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Download the Debian Edu 13.7.0 BD ISO Image (beware, ~17GiB) [1]&lt;/li&gt;
&lt;li&gt;Tweak the BD ISO image [2] and add support for packages in trixie-proposed-updates [3]&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;How To Test&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Use virt-manager&lt;/li&gt;
&lt;li&gt;Prepare an internal &#39;edu&#39; network and another internal &#39;thinclient&#39; network&lt;/li&gt;
&lt;li&gt;Prepare three VMs:

&lt;ul&gt;
&lt;li&gt;gateway:

&lt;ul&gt;
&lt;li&gt;Attach one network adapter to the Default/NAT network of libvirt&lt;/li&gt;
&lt;li&gt;attach the other network adapter to the internal &#39;edu&#39; network&lt;/li&gt;
&lt;li&gt;Install a Debian 13 minimal system, install the &#39;debian-edu-router-config&#39; package and follow the debconf (many!) dialogs to configure the system (see [4] for additional info)&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;tjener (Main-Server):

&lt;ul&gt;
&lt;li&gt;RAM: 4-8GiB, CPU Cores 2-4 (or more)&lt;/li&gt;
&lt;li&gt;Provide 80GiB (or more) of storage (to be flexible with LTSP setups)&lt;/li&gt;
&lt;li&gt;Attach primary network adapter to the internal &#39;edu&#39; network&lt;/li&gt;
&lt;li&gt;attach the second network adapter to the internal &#39;thinclient&#39; network&lt;/li&gt;
&lt;li&gt;Install the Main-server from your self-created debian-edu-13.7.0-amd64-BD-1-withPU.iso (see [2])&lt;/li&gt;
&lt;li&gt;Install profiles Main-Server, LTSP-Server and Workstation (menu shown in Debian (Edu) Installer)&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;workstation:

&lt;ul&gt;
&lt;li&gt;needs ~40GiB of disk storage, 4GiB RAM, 2 (or more) CPU cores&lt;/li&gt;
&lt;li&gt;boot over PXE on the internal &#39;edu&#39; network&lt;/li&gt;
&lt;li&gt;test runs:&lt;/li&gt;
&lt;li&gt;boot as Diskless Workstation&lt;/li&gt;
&lt;li&gt;boot as X2Go Thin Client&lt;/li&gt;
&lt;li&gt;install a Debian Edu system to disk&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;Known Issues&lt;/h3&gt;

&lt;p&gt;See our Debian Edu 13 status page on the Debian Wiki:&lt;br /&gt;
&lt;a href=&quot;https://wiki.debian.org/DebianEdu/Status/Trixie&quot; title=&quot;https://wiki.debian.org/DebianEdu/Status/Trixie&quot;&gt;https://wiki.debian.org/DebianEdu/Status/Trixie&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;More Info&lt;/h3&gt;

&lt;p&gt;Debian Edu comes with the Debian Edu manual, it can be found at:&lt;br /&gt;
&lt;a href=&quot;https://jenkins.debian.net/userContent/debian-edu-doc/debian-edu-doc-en/debian-edu-trixie-manual.html&quot; title=&quot;https://jenkins.debian.net/userContent/debian-edu-doc/debian-edu-doc-en/debian-edu-trixie-manual.html&quot;&gt;https://jenkins.debian.net/userContent/debian-edu-doc/debian-edu-doc-en/...&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Where to Report Findings&lt;/h3&gt;

&lt;p&gt;Please either directly submit bugs to Debian&#39;s bug tracker (package: debian-edu-config); talk to us on IRC &lt;code&gt;#debian-edu&lt;/code&gt; on &lt;code&gt;irc.debian.org&lt;/code&gt; or write to the Debian Edu mailing list.&lt;/p&gt;

&lt;h3&gt;References&lt;/h3&gt;

&lt;p&gt;[1] &lt;a href=&quot;https://cdimage.debian.org/debian-cd/current/amd64/iso-bd/debian-edu-13.7.0-amd64-BD-1.iso&quot; title=&quot;https://cdimage.debian.org/debian-cd/current/amd64/iso-bd/debian-edu-13.7.0-amd64-BD-1.iso&quot;&gt;https://cdimage.debian.org/debian-cd/current/amd64/iso-bd/debian-edu-13....&lt;/a&gt;&lt;br /&gt;
[2] &lt;a href=&quot;https://wiki.debian.org/DebianEdu/HowTo/TestInstallVirtualMachine#Variant_trixie_13.8_preview&quot; title=&quot;https://wiki.debian.org/DebianEdu/HowTo/TestInstallVirtualMachine#Variant_trixie_13.8_preview&quot;&gt;https://wiki.debian.org/DebianEdu/HowTo/TestInstallVirtualMachine#Varian...&lt;/a&gt;&lt;br /&gt;
[3] &lt;a href=&quot;https://release.debian.org/proposed-updates/stable.html&quot; title=&quot;https://release.debian.org/proposed-updates/stable.html&quot;&gt;https://release.debian.org/proposed-updates/stable.html&lt;/a&gt;&lt;br /&gt;
[4] &lt;a href=&quot;https://jenkins.debian.net/userContent/debian-edu-doc/debian-edu-doc-en/debian-edu-trixie-manual.html#Installation--Installing_a_gateway_using_debian-edu-router&quot; title=&quot;https://jenkins.debian.net/userContent/debian-edu-doc/debian-edu-doc-en/debian-edu-trixie-manual.html#Installation--Installing_a_gateway_using_debian-edu-router&quot;&gt;https://jenkins.debian.net/userContent/debian-edu-doc/debian-edu-doc-en/...&lt;/a&gt;&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-13T22:46:25+00:00</dc:date>
	<dc:creator>sunweaver</dc:creator>
</item> 
<item rdf:about="https://reproducible-builds.org/reports/2026-10/">
	<title>Reproducible Builds: Reproducible Builds in October 2026</title>
	<link>https://reproducible-builds.org/reports/2026-10/</link>
     <content:encoded>&lt;p class=&quot;lead&quot;&gt;&lt;strong&gt;Welcome to the October 2026 report from the &lt;a href=&quot;https://reproducible-builds.org&quot;&gt;Reproducible Builds&lt;/a&gt; project!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://reproducible-builds.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-10/reproducible-builds.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In our reports, we try to outline the most important things that we have been up to over the past month. As a quick recap about what problem our project intends to solve, whilst anyone may inspect the source code of free software for malicious flaws, almost all software is distributed to end users as pre-compiled binaries. The motivation behind the reproducible builds effort is to ensure no flaws have been introduced during this compilation process by promising identical results are always generated from a given source, thus allowing multiple third parties to come to a consensus on whether a build was compromised or not.&lt;/p&gt;

&lt;p&gt;As ever, if you are interested in contributing to the project, please visit our &lt;a href=&quot;https://reproducible-builds.org/contribute/&quot;&gt;&lt;em&gt;Contribute&lt;/em&gt;&lt;/a&gt; page on our website.&lt;/p&gt;

&lt;p&gt;In this month’s report, we cover:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#gnu-tar-sparse-archive-non-determinism-reported&quot;&gt;GNU tar ‘sparse archive’ non-determinism reported&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#reproducible-builds-at-seagl-2026&quot;&gt;Reproducible Builds at SeaGL 2026&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#tool-and-documentation-development&quot;&gt;Tool and documentation development&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#distribution-work&quot;&gt;Distribution work&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#source_date_epoch-specification-updates&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SOURCE_DATE_EPOCH&lt;/code&gt; specification updates&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#mailing-list-news&quot;&gt;Mailing list news&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#patches&quot;&gt;Patches&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;gnu-tar-sparse-archive-non-determinism-reported&quot;&gt;GNU &lt;em&gt;tar&lt;/em&gt; ‘sparse archive’ non-determinism reported&lt;/h3&gt;

&lt;p&gt;Johannes Schauer Marin Rodrigues (&lt;em&gt;josch&lt;/em&gt;) &lt;a href=&quot;https://lists.gnu.org/archive/html/bug-tar/2026-10/msg00009.html&quot;&gt;reported an issue to the GNU &lt;em&gt;tar&lt;/em&gt; mailing list&lt;/a&gt; where creating PAX-format sparse tar archives produces unreproducible outputs. Specifically, when GNU &lt;em&gt;tar&lt;/em&gt; generates a PAX archive containing a sparse file it embeds the process ID into the member filename path structure (e.g. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;./GNUSparseFile.&amp;lt;pid&amp;gt;/&amp;lt;filename&amp;gt;&lt;/code&gt;). Because process IDs vary between build runs, however, archiving identical sparse input files yields different binary outputs.&lt;/p&gt;

&lt;p&gt;In his report, Johannes outlined potential workarounds, such as running &lt;em&gt;tar&lt;/em&gt; inside an unshared PID namespace where the process ID is pinned to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;1&lt;/code&gt;, and proposed that GNU &lt;em&gt;tar&lt;/em&gt; either omit the PID by default or provide a command-line flag to suppress it. Full details can be found in the &lt;a href=&quot;https://lists.gnu.org/archive/html/bug-tar/2026-10/msg00009.html&quot;&gt;post itself&lt;/a&gt;, and Johannes also &lt;a href=&quot;https://bugs.debian.org/1152143&quot;&gt;filed the bug in Debian&lt;/a&gt; for completeness.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;reproducible-builds-at-seagl-2026&quot;&gt;Reproducible Builds at &lt;a href=&quot;https://seagl.org/&quot;&gt;SeaGL&lt;/a&gt; 2026&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://fosstodon.org/@SeaGL@mastodon.social/117492738967349864&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-10/seagl.jpg#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Reproducible Builds was present at &lt;a href=&quot;https://seagl.org/&quot;&gt;SeaGL&lt;/a&gt; in Seattle, WA, on October 23rd &amp;amp; 24th. Thanks to everyone who attended and spoke with us!&lt;/p&gt;

&lt;p&gt;Members of the Reproducible Builds project attended &lt;a href=&quot;https://seagl.org/&quot;&gt;SeaGL&lt;/a&gt; (the Seattle GNU/Linux Conference) in Seattle, WA, on October 23rd &amp;amp; 24th. It was a fantastic opportunity to connect with local community members, discuss software supply chain security and share updates on build verification tooling. Thanks to everyone who stopped by our sessions or spoke with us during the event.&lt;/p&gt;

&lt;p&gt;Founded in 2013, SeaGL is an annual free-as-in-freedom, grassroots technical summit dedicated to spreading awareness, community engagement and practical knowledge about free software, open hardware and libre culture.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;tool-and-documentation-development&quot;&gt;Tool and documentation development&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://diffoscope.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-10/diffoscope.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://diffoscope.org&quot;&gt;&lt;strong&gt;diffoscope&lt;/strong&gt;&lt;/a&gt; is our in-depth and content-aware diff utility that can locate and diagnose reproducibility issues. This month, Chris Lamb made a number of changes, including preparing and uploading versions &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;333&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;334&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;335&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;336&lt;/code&gt; to Debian:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;New features:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Support the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dumppdf&lt;/code&gt; binary being called &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dumppdf.py&lt;/code&gt; on the host/runtime system. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/ee5fc613&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Bug fixes:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Drop &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Recommends: guix&lt;/code&gt; from the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;diffoscope-minimal&lt;/code&gt; package as it is not minimal. (&lt;a href=&quot;https://bugs.debian.org/1114739&quot;&gt;#1114739&lt;/a&gt;) [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/b7e8de1b&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
      &lt;li&gt;Fix a crash when using the latest version(s) of Androguard. Thanks, hc! [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/d896e890&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Codebase improvements:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Re-order various parts of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.tar&lt;/code&gt; file comparator to make it easier to progressively delve into its functionality. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/f468e54e&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
      &lt;li&gt;Fix a silly “prepend” typo. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/604c573f&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
      &lt;li&gt;Reflect in the Python packaging that the use of the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;case-match&lt;/code&gt; language feature necessarily requires Python 3.10+. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/b8796e7b&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Misc:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Update &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;debian/tests/control&lt;/code&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/d45b3c6d&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
      &lt;li&gt;Update copyright years. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/bbb3100e&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In addition, Johannes Schauer Marin Rodrigues added support for POSIX.1-2001 PAX headers in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.tar&lt;/code&gt; file comparator [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/b615431a&quot;&gt;…&lt;/a&gt;] and Vagrant Cascadian &lt;a href=&quot;https://codeberg.org/guix/guix/pulls/12155&quot;&gt;proposed an update in &lt;em&gt;diffoscope&lt;/em&gt; in GNU Guix to version &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;335&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;distribution-work&quot;&gt;Distribution work&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://debian.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-10/debian.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In Debian this month, 20 reviews of Debian packages were added, 28 were updated and 27 were removed this month adding to &lt;a href=&quot;https://tests.reproducible-builds.org/debian/index_issues.html&quot;&gt;our knowledge about identified issues&lt;/a&gt;. One issue type was updated to reflect that Debhelper ‘&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;compat&lt;/code&gt;’ level 14 is no longer experimental. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-notes/commit/de321516&quot;&gt;…&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;In addition, Vagrant Cascadian performed a number of &lt;a href=&quot;https://wiki.debian.org/NonMaintainerUpload&quot;&gt;Non-Maintainer Uploads&lt;/a&gt; (NMUs) and &lt;a href=&quot;https://www.debian.org/doc/manuals/developers-reference/pkgs.en.html#nmus-vs-qa-uploads&quot;&gt;Quality Assurance (QA) uploads&lt;/a&gt; in Debian for several packages with outstanding reproducibility issues. These included &lt;a href=&quot;https://salsa.debian.org/science-team/clhep/-/merge_requests/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;clhep&lt;/code&gt;&lt;/a&gt;, &lt;a href=&quot;https://salsa.debian.org/go-team/packages/tea-cli/-/merge_requests/2&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tea-cli&lt;/code&gt;&lt;/a&gt;, &lt;a href=&quot;https://tracker.debian.org/news/1816671/accepted-argparse-manpage-47-12-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;argparse-manpage&lt;/code&gt;&lt;/a&gt;, &lt;a href=&quot;https://tracker.debian.org/news/1815022/accepted-ruby-timers-440-21-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ruby-timers&lt;/code&gt;&lt;/a&gt;, &lt;a href=&quot;https://tracker.debian.org/news/1815024/accepted-mandos-1819-12-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mandos&lt;/code&gt;&lt;/a&gt; and &lt;a href=&quot;https://tracker.debian.org/news/1815061/accepted-cdebootstrap-079nmu1-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cdebootstrap&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.opensuse.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-10/opensuse.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Lastly, Bernhard M. Wiedemann posted another &lt;a href=&quot;https://www.opensuse.org/&quot;&gt;&lt;strong&gt;openSUSE&lt;/strong&gt;&lt;/a&gt; &lt;a href=&quot;https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/MJPEBWVHFXDACN2CG3ASDWMUPGZXEPWL/&quot;&gt;monthly update&lt;/a&gt; for their reproducibility work there.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;source_date_epoch-specification-updates&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SOURCE_DATE_EPOCH&lt;/code&gt; specification updates&lt;/h3&gt;

&lt;p&gt;As announced in &lt;a href=&quot;https://reproducible-builds.org/reports/2026-09&quot;&gt;last month’s report&lt;/a&gt;, further work has been done by Bernhard M. Wiedemann regarding updating the &lt;a href=&quot;https://reproducible-builds.org/specs/source-date-epoch/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SOURCE_DATE_EPOCH&lt;/code&gt; specification&lt;/a&gt; following discussions at a project summit. Seven distinct proposed changes were originally &lt;a href=&quot;https://salsa.debian.org/reproducible-builds/specs/source-date-epoch-spec/-/merge_requests/&quot;&gt;submitted as merge requests on Salsa&lt;/a&gt;, and &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-October/004187.html&quot;&gt;many of these have been approved or otherwise collapsed&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Bernhard’s proposed modifications were independent of one another, allowing for any combination to be merged depending on community feedback. Bernhard noted that one proposal may see the most debate, and could still benefit from further refinement before reaching consensus. Community members are invited to review and provide feedback on the individual merge requests; as &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-October/004187.html&quot;&gt;Bernhard writes&lt;/a&gt;, “The other MRs could still use feedback from more people before December”. Input can be submitted via reactions or comments on Salsa, directly by email to Bernhard or the mailing list.&lt;/p&gt;

&lt;p&gt;The &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SOURCE_DATE_EPOCH&lt;/code&gt; specification was first published in 2015 and updated in 2017.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;mailing-list-news&quot;&gt;Mailing list news&lt;/h3&gt;

&lt;p&gt;On &lt;a href=&quot;https://lists.reproducible-builds.org/listinfo/rb-general/&quot;&gt;our mailing list&lt;/a&gt; this month:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Robin Candau posted to the list to &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-October/004186.html&quot;&gt;announce the revival of a central repository to share reproducible builds patches&lt;/a&gt;. Following discussions at &lt;a href=&quot;https://reproducible-builds.org/events/gothenburg2026/&quot;&gt;this year’s Reproducible Builds summit&lt;/a&gt;, Robin and Bernhard M. Wiedemann brought back a &lt;a href=&quot;https://github.com/distropatches/reproducible-builds&quot;&gt;repository originally created a decade ago&lt;/a&gt; to collect distro-specific fixes in a unified location. Bernhard has already populated the repository with reproducible builds patches from openSUSE, while Robin has contributed patches from Arch Linux and has invited maintainers from other distributions to request push access.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Last month, &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004171.html&quot;&gt;Alexander Sosedkin inquired on the mailing list&lt;/a&gt; about the preferred approach for &lt;a href=&quot;https://translationproject.org/&quot;&gt;sourcing pinned translation files&lt;/a&gt; to create reproducible &lt;a href=&quot;https://www.gnutls.org/&quot;&gt;GnuTLS&lt;/a&gt; release tarballs, asking whether external hosting should provide versioned downloads, or if projects ought to use Git submodules, dedicated side-repositories or some other mechanism. The &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-October/thread.html#4178&quot;&gt;conversation continued this month&lt;/a&gt; with a number of proposals.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Jeremy Bícha &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-October/004191.html&quot;&gt;wrote that he was seeking assistance&lt;/a&gt; with a reproducibility failure in GNOME’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;libsoup&lt;/code&gt; library when built using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;debrebuild&lt;/code&gt;. Filed as &lt;a href=&quot;https://bugs.debian.org/1126440&quot;&gt;Debian bug #1126440&lt;/a&gt;, the issue stems from a Meson build system check that inspects Apache and its local configuration during the build process, which fails inside &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;debrebuild&lt;/code&gt; environments. His query solicited &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-October/thread.html#4191&quot;&gt;a number of replies&lt;/a&gt; (including &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-October/004192.html&quot;&gt;one from an AI agent&lt;/a&gt;).&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Janneke Nieuwenhuizen and Ekaitz Zarraga announced two releases of &lt;a href=&quot;https://www.gnu.org/software/mes/&quot;&gt;GNU Mes&lt;/a&gt;: &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-October/004194.html&quot;&gt;version 0.27.2&lt;/a&gt; and &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-October/004200.html&quot;&gt;version 0.28&lt;/a&gt;. GNU Mes is a Scheme interpreter and C compiler created to facilitate bootstrapping the GNU system without relying on opaque binary blobs, serving as a core component of the Bootstrappable Builds effort. Version 0.27.2 serves as a bug-fix release adding compatibility for the recently-released &lt;a href=&quot;https://gcc.gnu.org/&quot;&gt;GCC 16&lt;/a&gt; and NYACC versions 2.02.4 and 3.00.0, etc. whilst version 0.28 introduces a major overhaul of the core interpreter.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;patches&quot;&gt;Patches&lt;/h3&gt;

&lt;p&gt;The Reproducible Builds project detects, dissects and attempts to fix as many currently-unreproducible packages as possible. We endeavour to send all of our patches upstream where applicable or possible. This month, we wrote a large number of such patches, including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Bernhard M. Wiedemann:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1381645&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;elinks&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/1626&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fpc&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/gcc/gcc33/pulls/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gcc33&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/gcc/gcc48/pulls/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gcc48&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/gcc/gcc7/pulls/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gcc7&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/chromium/memory-constraints/pulls/5&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openSUSE memory-constraints&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1385148&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;perl-Image-Sane/sane-backends&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Chris Lamb:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1150109&quot;&gt;#1150109&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/js8call&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;js8call&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1150326&quot;&gt;#1150326&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/pywps&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pywps&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1150327&quot;&gt;#1150327&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/php-nesbot-carbon&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;php-nesbot-carbon&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1150439&quot;&gt;#1150439&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/kicad-library-utils&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;kicad-library-utils&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1150440&quot;&gt;#1150440&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/ros-dynamic-reconfigure&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ros-dynamic-reconfigure&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1150916&quot;&gt;#1150916&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/golang-github-anacrolix-log&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;golang-github-anacrolix-log&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1150917&quot;&gt;#1150917&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/complexity&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;complexity&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151669&quot;&gt;#1151669&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/node-uplot&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;node-uplot&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1152182&quot;&gt;#1152182&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/python-poetry-dynamic-versioning&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-poetry-dynamic-versioning&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Jochen Sprickerhof:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1150414&quot;&gt;#1150414&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/open-build-service&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;open-build-service&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Johannes Schauer Marin Rodrigues:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1152143&quot;&gt;#1152143&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/tar&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;tar&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Vagrant Cascadian:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1152747&quot;&gt;#1152747&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/fop&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fop&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Zackary Loevseth:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1152419&quot;&gt;#1152419&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/nco&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nco&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In addition, two build failure bugs were reported by Jochen Sprickerhof.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;If you are interested in contributing to the Reproducible Builds project, please visit our &lt;a href=&quot;https://reproducible-builds.org/contribute/&quot;&gt;&lt;em&gt;Contribute&lt;/em&gt;&lt;/a&gt; page on our website. However, you can get in touch with us via:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;IRC: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;#reproducible-builds&lt;/code&gt; on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;irc.oftc.net&lt;/code&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Mastodon: &lt;a href=&quot;https://fosstodon.org/@reproducible_builds&quot;&gt;@reproducible_builds@fosstodon.org&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Mailing list: &lt;a href=&quot;https://lists.reproducible-builds.org/listinfo/rb-general&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rb-general@lists.reproducible-builds.org&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;</content:encoded> 
	<dc:date>2026-11-13T21:32:53+00:00</dc:date>
	<dc:creator>Reproducible Builds</dc:creator>
</item> 
<item rdf:about="http://blog.sesse.net/blog/tech/2026-11-13-19-51_solving_the_fox_game.html">
	<title>Steinar H. Gunderson: Solving the fox game</title>
	<link>http://blog.sesse.net/blog/tech/2026-11-13-19-51_solving_the_fox_game.html</link>
     <content:encoded>&lt;p&gt;Christoffer Stjernlöf &lt;a href=&quot;https://entropicthoughts.com/what-the-fox-say&quot;&gt;posted about the Fox Game&lt;/a&gt;,
an old Norse asymmetric board game (seemingly also called “halatafl”) where
twenty sheep try to outsmart two foxes and get to the other side.
His AI uncovered some interesting insights, but left the question open as of whether the 
foxes or the sheep actually win with perfect play (the general sentiment
in his family was that winning with the foxes was easy). This was too tempting
for me to leave on the table, so I set out to make a strong solve.&lt;/p&gt;

&lt;p&gt;Since I don&#39;t know this game myself, I&#39;ve stayed with the rules he describes
even when they differ from e.g. &lt;a href=&quot;https://en.wikipedia.org/wiki/Fox_games&quot;&gt;Wikipedia&lt;/a&gt;
(in particular, I do not use forced fox jumps, or multi-jumps); the only
real change is that I don&#39;t have a 40-move draw rule, any position that is
a forced win for one of the sides would be a win no matter how long it would
take. (I consider this just an implementation detail in his AI, although
morally, I consider a draw a loss for the sheep.) You might want to read
his post to get the full rules, because I&#39;m not going to repeat them here.&lt;/p&gt;

&lt;p&gt;The results first: The sheep win with perfect play, even with only 19 sheep
(remove one on the flank), or 18 if they are allowed to go first. Even with
only 9 sheep (the minimum possible that isn&#39;t an instant win for the foxes),
the sheep can force a draw right from the start. With one fox, 11 sheep
suffice for a forced win. (The draw margin is seemingly so large because
one fox can just camp in the last spot in the pen, and it&#39;s hard to force
it away without getting harassed by the other fox, unless you have lots of sheep.)&lt;/p&gt;

&lt;p&gt;The rest is about the implementation. I&#39;ll skip over a lot of wrong turns,
and unsurprisingly, there were a lot of bugs to iron out, but hopefully,
it got to a good place in the end. :-) I started out trying to make something
very simple, and it worked for the first few cases, but then things got
more complicated than I would have liked in the end. Still only at ~1000
lines of code, though, with no dependencies.&lt;/p&gt;

&lt;h2&gt;Board representation&lt;/h2&gt;

&lt;p&gt;The board has 33 squares. I tried a few different ways of represent the state
of the game, and ended up on a simple bitboard representation: There&#39;s a
64-bit bitmap representing where there are sheep, and another bitmap
representing where there are foxes. Since there&#39;s plenty of room in there,
I use a spare bit to represent side-to-move. This is compact (which mattered
a lot earlier on, but not as much later), easy to iterate over, and has
little redundancy, so it&#39;s easy to keep valid. You need fast 64-bit population
count and bit-scan instructions, but a) that&#39;s common now everywhere,
and b) I decided fairly early that I wanted to require BMI2 anyway.&lt;/p&gt;

&lt;p&gt;The bit order mostly doesn&#39;t matter; I just started at top-left and went
from there. All it really influences is square iteration order. There&#39;s
a small tweak in that I store the right half of the board mirrored
(reverse x order) for symmetry purposes; more on that below.&lt;/p&gt;

&lt;h2&gt;Move generation&lt;/h2&gt;

&lt;p&gt;I just typed in every possible move from every square into an array,
then verified by generating some SVGs that I hadn&#39;t made any typos (I had).
In retrospect, I should have done something more automated; it would have
been less painful.&lt;/p&gt;

&lt;p&gt;The moves for sheep are just “you can go to X, Y or Z”. The moves
for foxes are “you can go to X or Y, or you can go to Z if there&#39;s
a sheep at W (which will be eaten)”. The move generator mostly just looks up
the source square and tests every move. For the sheep, I make an easy
test using bitboards; for the foxes, I could probably do something
similar, but the jump moves proved a bit tricky (even with PEXT/PDEP)
and I didn&#39;t end up using it.&lt;/p&gt;

&lt;p&gt;This is the part that really determines the geometry of the board
(apart from debugging display). Everything else is pretty much geometry-agnostic.&lt;/p&gt;

&lt;h2&gt;Result storage&lt;/h2&gt;

&lt;p&gt;There&#39;s a little over 2^41 possible board states (this includes some
illegal positions as well as some situations that could never arise
during actual gameplay, such as a fox being stuck at C1 with a row
of sheep ahead of it), and I want to remember all of them. With that
many positions, I figured I needed a fairly compact representation.
I needed to store that a position could be sheep win, fox win or
a draw, and then there was a fourth “invalid” state that was useful
for internal reasons, so that maps exactly to two bits per position.
(A tablebase intended for distribution could be compressed to less using the usual
tricks of entropy coding, skipping half of the positions, or similar.)&lt;/p&gt;

&lt;p&gt;This means we need to give a number to every possible position, ideally
one with no collisions and no holes. I learned about
&lt;a href=&quot;https://en.wikipedia.org/wiki/Combinatorial_number_system&quot;&gt;combinatorial number systems&lt;/a&gt;
which fit the bill exactly; given e.g. “we have 33 squares and 15 pieces”,
it gives a dense mapping of positions from board to ID (ranking) and the
opposite (unranking). (I made some fairly fast ranking and unranking
algorithms, which may or may not have been novel, but it turned out
I didn&#39;t actually need fast unranking after some other optimizations.)
There are some extra complications in that there are two types of
pieces, but you can solve them in a number of ways.&lt;/p&gt;

&lt;p&gt;On a macro level, I store everything with 9 sheep and 1 fox first,
then 9 sheep and 2 foxes, 10 sheep and 1 fox, and so on. This gives
beautiful locality (a single move can never remove more than one sheep,
and only extremely rarely more than one fox), allowing me to just
mmap everything and let the kernel deal with it, even though I only
had 256GB of RAM and the total set was larger (329,870,110,455
bytes after the symmetry optimizations below).&lt;/p&gt;

&lt;p&gt;mmap is almost never the right answer, but again, I was trying to
go for simplicity. It certainly brought me pain, though, and perhaps
some more explicit I/O would have been better.&lt;/p&gt;

&lt;h2&gt;Symmetry&lt;/h2&gt;

&lt;p&gt;The board is left-right symmetric (with an odd number of columns,
so that there is a middle column that is neither “left” nor “right”).
I had hoped to just ignore this, but eventually the gains became
too important to ignore, so I conceded.&lt;/p&gt;

&lt;p&gt;The basic idea is that I ranked the board twice, both as itself
and mirrored (mirroring is just a couple of masks and shifts, given
my representation), and picked the key that was the smaller as canonical.
This reduced the number of positions I needed to look at to a bit
over 50%, as expected, but it does nothing to the storage/RAM
requirements; the new rank is not dense and the “illegal”
(non-canonical) positions are spread out a bit all over the place
(although of course near the low and high ends of values,
it works much better).&lt;/p&gt;

&lt;p&gt;As a tweak, I chose to compute all 33+281 canonical fox positions
and renumbered using those placements as an assumption. This slashes ~95% of 
the waste, which is good enough; you can still rank a
nonconical position if the foxes are symmetric about the center
(or if there&#39;s only one fox and it&#39;s in the middle!), though.&lt;/p&gt;

&lt;p&gt;You can improve on this by making the macro-splitting finer;
instead of having a chunk for e.g. “10 sheep, 2 foxes”, you
could have one with “5 sheep in left, 0 foxes in left, 1 sheep
center, 1 fox center, 4 sheep in right, 1 fox in right”
and demand that there are more sheep in left than right.
However, you still get problems when the number is balanced,
you&#39;d need finer splitting etc.. The gains are small enough
that I didn&#39;t see the point in doing this, and it tends to be
a place where it&#39;s easy to introduce bugs.&lt;/p&gt;

&lt;p&gt;I imagined calculating the exact number of positions up to symmetry
would be an interesting exercise somehow, but I suppose it just
immediately falls to &lt;a href=&quot;https://en.wikipedia.org/wiki/Burnside%27s_lemma&quot;&gt;Burnside&#39;s lemma&lt;/a&gt;
as soon as you know how to count positions at all.&lt;/p&gt;

&lt;h2&gt;Searching&lt;/h2&gt;

&lt;p&gt;Now that we have positions and moves and a way to store results,
we want to know how to find the result for the starting position
(and ideally also all other positions).&lt;/p&gt;

&lt;p&gt;My first attempt just did a depth-first search, caching as it went.
This worked for the earlier stages but was generally a disaster; it ran out of stack
easily (even with 8 GB—eight &lt;em&gt;gigabytes&lt;/em&gt; of stack), and had problems
with figuring out loops. (It didn&#39;t loop infinitely, but was prone
to declaring loops where one side could break out of the loop by winning.
I had a nasty hack to fix that, but it didn&#39;t really feel good.)&lt;/p&gt;

&lt;p&gt;What I did instead was propagating results one step at a time.
For each possible position:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;If from a given position you know you can immediately win
(e.g., the sheep reach the pen, or the fox eats the last
relevant sheep), mark it as such.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If you can, in one move, reach a known-won position, mark your
position as won (for the side to move). Similarly, if you can only reach known-lost
positions, mark your position as lost.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Repeat #2 over and over again until you no longer have changes.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This was simple but still inefficient; I typically needed 40–80
passes for each chunk (where a chunk is something like “all
positions with 15 sheep, 2 foxes”). However, it was super-easy to parallelize;
I have 64 cores and could just hand out reasonable independent sub-chunks,
you don&#39;t even need locking or atomic operations on the result set.&lt;/p&gt;

&lt;p&gt;The correct way of doing this is retrograde analysis (replace #2
with doing backwards moves) and I assume this would have made the
calculation roughly ten times as fast. But I only needed ~36 hours
for the actual run (plus numerous pre-runs that failed for various
reasons!), so I never got to this. After all, I wanted something
simple to begin with.&lt;/p&gt;

&lt;h2&gt;Distance-to-win&lt;/h2&gt;

&lt;p&gt;Since I only store win/draw/loss (WDL) for each position (also known as
a “bitbase” in chess tablebases), it&#39;s not
easy to know what the &lt;em&gt;fastest&lt;/em&gt; way to win is; just that “this move
does not mess it up, the other side still can&#39;t force a draw”.
However, in practice, you could just do reasonable-looking moves that don&#39;t
regress the position, and take forward moves whenever you can (i.e., do sheep
pushes if that still wins).&lt;/p&gt;

&lt;p&gt;I made a simple alpha-beta searcher that tries to get win distances
using the bitbase as a guide, which was a really fun challenge!
It can find wins when they&#39;re perhaps ~20 ply (10 moves for each side)
away, depending a bit on how narrow the win is (if there are only
a few ways to win, it will obviously have to search a much smaller
tree). Ultimately, though, alpha-beta for finding exact mate scores is just
a losing game, since even perfect move ordering will only give you
a sqrt() improvement over pure minimax.&lt;/p&gt;

&lt;p&gt;Perhaps making DTZ (distance-to-zeroing, referring to zeroing the
draw move counter in e.g. chess) bases would be possible
without breaking the bank on storage space; I would assume that
usually, you can force some sort of progress pretty fast, at least
as the sheep.&lt;/p&gt;

&lt;h2&gt;Try it out&lt;/h2&gt;

&lt;p&gt;I made a very rudimentary interface to the database; the UI isn&#39;t
very nice, and it largely relies on hovering (which doesn&#39;t work all that
well on mobile) but I didn&#39;t want a polished game-player, just to know the
answer. :-) You can try it out at
&lt;a href=&quot;https://sheep.sesse.net/&quot;&gt;https://sheep.sesse.net/&lt;/a&gt;,
although I don&#39;t envision keeping it up forever. Perhaps someone can
gain new insight from it and become an expert player, although strong
solves are rarely very insightful in themselves due to the brute-force
nature. At least we&#39;ve conclusively settled (again, under this ruleset!)
that the sheep win with perfect play.&lt;/p&gt;

&lt;p&gt;Earlier, I would publish the source, but these days, the only ones
who would be reading it would be the AI beast (fox?), and I&#39;m not really
so interested in that. :-) I&#39;m definitely open to answering questions
if anyone should have them; contact information at my home page as usual.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-13T18:51:00+00:00</dc:date>
	<dc:creator>Steinar H. Gunderson</dc:creator>
</item> 
<item rdf:about="tag:bits.debian.org,2026-11-13:/2026/11/new-developers-2026-11.html">
	<title>Bits from Debian: New Debian Developers and Maintainers (September and October 2026)</title>
	<link>https://bits.debian.org/2026/11/new-developers-2026-11.html</link>
     <content:encoded>&lt;p&gt;The following contributors got their Debian Developer accounts in the last two
months:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Matheus Polkorny (polkorny)&lt;/li&gt;
&lt;li&gt;Michael Stehmann (oldmike)&lt;/li&gt;
&lt;li&gt;Thiago Pezzo (tco)&lt;/li&gt;
&lt;li&gt;Alper Nebi Yasak (alpernebbi)&lt;/li&gt;
&lt;li&gt;Liang Guo (guoliang)&lt;/li&gt;
&lt;li&gt;Nicolas Schodet (nschodet)&lt;/li&gt;
&lt;li&gt;Han Gao (revy)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The following contributors were added as Debian Maintainers in the last two
months:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Brian Cosgrove&lt;/li&gt;
&lt;li&gt;Ervin Hegedüs&lt;/li&gt;
&lt;li&gt;Juan Manuel Méndez Rey&lt;/li&gt;
&lt;li&gt;Michele Cane&lt;/li&gt;
&lt;li&gt;Pranav P&lt;/li&gt;
&lt;li&gt;Theodore Tucker&lt;/li&gt;
&lt;li&gt;Federico Molara&lt;/li&gt;
&lt;li&gt;Nico Della Torre&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Congratulations!&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-13T10:00:00+00:00</dc:date>
	<dc:creator>Jean-Pierre Giraud</dc:creator>
</item> 
<item rdf:about="tag:www.chiark.greenend.org.uk,2026-11-11:/~cjwatson/blog/activity-2026-10.html">
	<title>Colin Watson: Free software activity in October 2026</title>
	<link>https://www.chiark.greenend.org.uk/~cjwatson/blog/activity-2026-10.html</link>
     <content:encoded>&lt;p&gt;My Debian contributions this month were all &lt;a href=&quot;https://www.freexian.com/about/debian-contributions/&quot;&gt;sponsored&lt;/a&gt; by Freexian.&lt;/p&gt;
&lt;p&gt;You can also support my work directly via &lt;a href=&quot;https://liberapay.com/cjwatson&quot;&gt;Liberapay&lt;/a&gt; or &lt;a href=&quot;https://github.com/sponsors/cjwatson&quot;&gt;GitHub Sponsors&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;OpenSSH&lt;/h2&gt;
&lt;p&gt;I upgraded both openssh and openssh-gssapi from 10.5p1 to 10.6p1, started &lt;a href=&quot;https://bugs.debian.org/1142934&quot;&gt;generating &lt;span class=&quot;caps&quot;&gt;MLDSA44&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;ED25519&lt;/span&gt; host keys by default&lt;/a&gt; now that upstream no longer considers them experimental, and fixed a problem where switching between the normal and &lt;span class=&quot;caps&quot;&gt;GSS&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; variants followed by purging the old packages &lt;a href=&quot;https://bugs.debian.org/1148080&quot;&gt;caused some configuration files to disappear&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Python packaging&lt;/h2&gt;
&lt;p&gt;New upstream versions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;afew (fixing a &lt;a href=&quot;https://bugs.debian.org/1149382&quot;&gt;build failure with Python 3.15&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;django-render-block (fixing a &lt;a href=&quot;https://bugs.debian.org/1151815&quot;&gt;build failure&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;djangorestframework (fixing a &lt;a href=&quot;https://bugs.debian.org/1150464&quot;&gt;build failure&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;frescobaldi&lt;/li&gt;
&lt;li&gt;fsspec (fixing &lt;a href=&quot;https://bugs.debian.org/1149800&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-104851&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;khal (fixing an &lt;a href=&quot;https://bugs.debian.org/1150110&quot;&gt;ikhal crash at startup&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;pydantic (twice)&lt;/li&gt;
&lt;li&gt;pydantic-core (twice)&lt;/li&gt;
&lt;li&gt;pydantic-settings&lt;/li&gt;
&lt;li&gt;pygml&lt;/li&gt;
&lt;li&gt;pyinstaller-hooks-contrib (fixing a &lt;a href=&quot;https://bugs.debian.org/1149460&quot;&gt;build failure&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-ast-serialize&lt;/li&gt;
&lt;li&gt;python-asyncvarlink&lt;/li&gt;
&lt;li&gt;python-blockbuster&lt;/li&gt;
&lt;li&gt;python-bytecode (fixing a &lt;a href=&quot;https://bugs.debian.org/1147116&quot;&gt;build failure with Python 3.15&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-certifi (twice)&lt;/li&gt;
&lt;li&gt;python-cytoolz&lt;/li&gt;
&lt;li&gt;python-django-postgres-extra&lt;/li&gt;
&lt;li&gt;python-evalidate&lt;/li&gt;
&lt;li&gt;python-mitogen&lt;/li&gt;
&lt;li&gt;python-moto&lt;/li&gt;
&lt;li&gt;python-persistent&lt;/li&gt;
&lt;li&gt;python-typeguard (fixing a &lt;a href=&quot;https://bugs.debian.org/1145159&quot;&gt;build failure with Python 3.15&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;toolz (fixing a &lt;a href=&quot;https://bugs.debian.org/1145162&quot;&gt;build failure with Python 3.15&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;twisted (fixing &lt;a href=&quot;https://bugs.debian.org/1151938&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-115774, &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-115775, &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-115776, &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-115778, &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-115877, and &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-83813&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;zope.hookable&lt;/li&gt;
&lt;li&gt;zope.i18nmessageid&lt;/li&gt;
&lt;li&gt;zope.interface&lt;/li&gt;
&lt;li&gt;zope.security&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Other build/test failures:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/python-team/packages/aiohttp-socks/-/compare/debian%2F0.12.0-1...debian%2F0.12.0-2?from_project_id=37279&quot;&gt;aiohttp-socks: Add python3-starlette and python3-uvicorn to autopkgtest dependencies&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149408&quot;&gt;celery: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: &lt;span class=&quot;caps&quot;&gt;FAILED&lt;/span&gt; t/unit/utils/test_platforms.py::test_close_open_fds - AssertionError&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1150525&quot;&gt;django-ninja: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E AssertionError&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/python-team/packages/django-q/-/compare/debian%2F1.11.1-1...debian%2F1.11.1-2?from_project_id=9921&quot;&gt;django-q: Fix autopkgtest failures with python-moto 5.2.4&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149422&quot;&gt;ipywidgets: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: src/utils.ts(4,44): error &lt;span class=&quot;caps&quot;&gt;TS7016&lt;/span&gt;: Could not find a declaration file for module ‘base64-js’&lt;/a&gt; (tracked down to node-base64-js and &lt;a href=&quot;https://salsa.debian.org/js-team/node-base64-js/-/merge_requests/1&quot;&gt;contributed a fix&lt;/a&gt; there, uploaded by Santiago Vila)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151478&quot;&gt;isodate: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: includes a common build directory name ‘tests’ as a module&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147349&quot;&gt;mercurial: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt; on riscv64: Failed test-obsolete-bundle-strip.t: timed out&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151479&quot;&gt;mistune0: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: includes a common build directory name ‘tests’ as a module&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151997&quot;&gt;pybind11-stubgen: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E: dh_python3 fs:172: Not everything in ‘debian/python3-pybind11-stubgen/usr/lib/python3.15/dist-packages/pybind11_stubgen-3.0.0.dist-info’ was able to be merged into ‘debian/python3-pybind11-stubgen/usr/lib/python3/dist-packages/pybind11_stubgen-3.0.0.dist-info’&lt;/a&gt; (&lt;a href=&quot;https://github.com/pybind/pybind11-stubgen/pull/325&quot;&gt;contributed upstream&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151975&quot;&gt;pydantic-core: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E: dh_python3 fs:172: Not everything in ‘debian/python3-pydantic-core/usr/lib/python3.15/dist-packages/.hypothesis/constants’ was able to be merged into ‘debian/python3-pydantic-core/usr/lib/python3/dist-packages/.hypothesis/constants’&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/python-team/packages/pydantic-settings/-/compare/debian%2F2.15.0-1...debian%2F2.15.0-2?from_project_id=93092&quot;&gt;pydantic-settings: Fix test failures with pydantic 2.14&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151610&quot;&gt;pygml: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E: dh_python3 fs:312: python3-pygml includes a common build directory name ‘tests’ as a module&lt;/a&gt; (&lt;a href=&quot;https://github.com/geopython/pygml/pull/13&quot;&gt;contributed upstream&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/python-team/packages/pyinstaller/-/compare/debian%2F6.22.2+ds-2...debian%2F6.22.2+ds-3?from_project_id=94806&quot;&gt;pyinstaller: Make autopkgtests work on more architectures&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/python-team/packages/pyrsistent/-/compare/debian%2F0.20.0-3...debian%2F0.20.0-5?from_project_id=33968&quot;&gt;pyrsistent: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt; with dh-python &amp;gt;= 7.20261019&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149824&quot;&gt;python-anyio: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: ValueError: server_hostname can only be specified in client mode&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151978&quot;&gt;python-asyncvarlink: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E: dh_python3 fs:172: Not everything in ‘debian/python3-asyncvarlink/usr/lib/python3.15/dist-packages/.hypothesis/constants’ was able to be merged into ‘debian/python3-asyncvarlink/usr/lib/python3/dist-packages/.hypothesis/constants’&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1150530&quot;&gt;python-bcrypt: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: error: failed to select a version for the requirement &lt;code&gt;bcrypt-pbkdf = &quot;^0.10.0&quot;&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151541&quot;&gt;python-django-postgres-extra: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E: dh_python3 fs:312: python3-django-postgres-extra includes a common build directory name ‘tests’ as a module&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151821&quot;&gt;python-ecdsa: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E: dh_python3 fs:172: Not everything in ‘debian/python3-ecdsa/usr/lib/python3.15/dist-packages/.hypothesis/constants’ was able to be merged into ‘debian/python3-ecdsa/usr/lib/python3/dist-packages/.hypothesis/constants’&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/python-team/packages/python-elastic-transport/-/compare/debian%2F9.4.2-1...debian%2F9.4.2-2?from_project_id=98380&quot;&gt;python-elastic-transport: Make tests more reliable on slow architectures&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151986&quot;&gt;python-isoduration: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E: dh_python3 fs:172: Not everything in ‘debian/python3-isoduration/usr/lib/python3.15/dist-packages/.hypothesis/constants’ was able to be merged into ‘debian/python3-isoduration/usr/lib/python3/dist-packages/.hypothesis/constants’&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151988&quot;&gt;python-lsp-mypy: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E: dh_python3 fs:172: Not everything in ‘debian/python3-pylsp-mypy/usr/lib/python3.15/dist-packages/.mypy_cache/3.14’ was able to be merged into ‘debian/python3-pylsp-mypy/usr/lib/python3/dist-packages/.mypy_cache/3.14’&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151403&quot;&gt;python-multidict: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: includes a common build directory name ‘tests’ as a module&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151405&quot;&gt;python-serializable: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: includes a common build directory name ‘tests’ as a module&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151612&quot;&gt;python-trame-server: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E ModuleNotFoundError: No module named ‘more_itertools’&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149756&quot;&gt;python-urllib3: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E ValueError: check_hostname requires server_hostname&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151487&quot;&gt;python-ws4py: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E: dh_python3 fs:312: python3-ws4py includes a common build directory name ‘test’ as a module&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151735&quot;&gt;sphinx-rst-linker: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: E ModuleNotFoundError: No module named ‘jaraco’&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1151523&quot;&gt;sphinxcontrib-seqdiag: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: includes a common build directory name ‘tests’ as a module&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Since lots of Python modules use Rust extensions nowadays, we often have to help with upgrades of Rust packages.  I did some of this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;PyO3 0.29 (which &lt;a href=&quot;https://udd.debian.org/cgi-bin/bts-usertags.cgi?user=debian-rust%40lists.debian.org&amp;amp;tag=pyo3-0.29&quot;&gt;needs more help!&lt;/a&gt;): &lt;a href=&quot;https://bugs.debian.org/1151283&quot;&gt;blake3-py&lt;/a&gt;, &lt;a href=&quot;https://bugs.debian.org/1151285&quot;&gt;cbor2&lt;/a&gt;, &lt;a href=&quot;https://bugs.debian.org/1151307&quot;&gt;pendulum&lt;/a&gt;, &lt;a href=&quot;https://bugs.debian.org/1151287&quot;&gt;pysequoia&lt;/a&gt;, &lt;a href=&quot;https://bugs.debian.org/1151288&quot;&gt;python-ahocorasick-rs&lt;/a&gt;, &lt;a href=&quot;https://bugs.debian.org/1151289&quot;&gt;python-cotengrust&lt;/a&gt;, &lt;a href=&quot;https://bugs.debian.org/1151291&quot;&gt;python-jellyfish&lt;/a&gt;, &lt;a href=&quot;https://bugs.debian.org/1151293&quot;&gt;python-ormar-utils&lt;/a&gt;, &lt;a href=&quot;https://bugs.debian.org/1151299&quot;&gt;python-watchfiles&lt;/a&gt;, &lt;a href=&quot;https://bugs.debian.org/1151301&quot;&gt;rpds-py&lt;/a&gt;, and &lt;a href=&quot;https://bugs.debian.org/1151316&quot;&gt;unicode-segmentation-rs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Upgraded python-maturin from 1.9.4 to 1.16.0 to help with several other upgrades; this was a major upgrade involving more or less completely reworking our patch set.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Other bugs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1150248&quot;&gt;twisted: &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-106454&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;One of my hobbies is typesetting (“engraving”) music, sometimes for my own use, sometimes for teaching, and sometimes for &lt;a href=&quot;https://www.kolechad.org.uk/&quot;&gt;my choir&lt;/a&gt;.  I’ve used &lt;a href=&quot;https://lilypond.org/&quot;&gt;LilyPond&lt;/a&gt; for a long time and have got pretty used to it.  My workflow was a bit cumbersome, though, usually involving side-by-side editor and &lt;span class=&quot;caps&quot;&gt;PDF&lt;/span&gt; viewer windows with some ad-hoc Makefiles and editor macros.  I recently discovered the &lt;a href=&quot;https://frescobaldi.org/&quot;&gt;Frescobaldi&lt;/a&gt; frontend to LilyPond, and decided I liked it enough to switch over to it.  It was already packaged in Debian, but it had a &lt;a href=&quot;https://bugs.debian.org/1131857&quot;&gt;missing desktop entry and icon&lt;/a&gt; and &lt;a href=&quot;https://bugs.debian.org/1132311&quot;&gt;missing translations&lt;/a&gt;; I fixed those based on a patch set by Joachim Wiedorn.  My upload introduced a &lt;a href=&quot;https://bugs.debian.org/1151431&quot;&gt;testing migration problem&lt;/a&gt;, which I also fixed.&lt;/p&gt;
&lt;h2&gt;Rust packaging&lt;/h2&gt;
&lt;p&gt;I upgraded rust-jiter and rust-smallvec to new upstream versions for a new version of pydantic-core.  The rust-smallvec upgrade caused an &lt;a href=&quot;https://bugs.debian.org/1150879&quot;&gt;&lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt; in rust-saphyr-parser-bw&lt;/a&gt;, which I fixed.&lt;/p&gt;
&lt;p&gt;I packaged &lt;a href=&quot;https://bugs.debian.org/1150965&quot;&gt;rust-cargo-cyclonedx&lt;/a&gt; for a new version of python-maturin.  This needed some porting to work with a new version of rust-cargo-metadata, which I &lt;a href=&quot;https://github.com/CycloneDX/cyclonedx-rust-cargo/pull/881&quot;&gt;contributed upstream&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I improved the &lt;code&gt;dev/list-rdeps.sh&lt;/code&gt; tool used by the Rust team to &lt;a href=&quot;https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/1466&quot;&gt;check build-depends too&lt;/a&gt;, which should make it easier for that team to remember Python packages in transitions.&lt;/p&gt;
&lt;h2&gt;Code reviews&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/debbugs-team/debbugs/-/merge_requests/24&quot;&gt;debbugs: Fix autopkgtests&lt;/a&gt; (merged)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/ssh-team/openssh-gssapi/-/merge_requests/1&quot;&gt;openssh-gssapi: d/t/purge-keeps-config-with-counterpart: test for purge&lt;/a&gt; (merged)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/ssh-team/openssh/-/merge_requests/42&quot;&gt;openssh: d/t/purge-keeps-config-with-counterpart: test for purge&lt;/a&gt; (merged)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/python-team/packages/python-datamodel-code-generator/-/merge_requests/1&quot;&gt;python-datamodel-code-generator: Upgrade to 0.85.0&lt;/a&gt; (sponsored upload for Nico Della Torre)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147801&quot;&gt;python-pyramid-tm: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt;: ModuleNotFoundError: No module named ‘pkg_resources’&lt;/a&gt; (sponsored upload for Maximilian Engelhardt)&lt;/li&gt;
&lt;/ul&gt;</content:encoded> 
	<dc:date>2026-11-11T10:01:03+00:00</dc:date>
	<dc:creator>Colin Watson</dc:creator>
</item> 
<item rdf:about="https://etbe.coker.com.au/?p=6347">
	<title>Russell Coker: Thinkpad T14</title>
	<link>https://etbe.coker.com.au/2026/11/11/thinkpad-t14/</link>
     <content:encoded>&lt;h2&gt;The Problems&lt;/h2&gt;
&lt;p&gt;In &lt;a href=&quot;https://etbe.coker.com.au/2026/07/24/x1-carbon-gen6-again/&quot;&gt;mid 2025 I bought a Thinkpad X1 Carbon Gen 6 with 1440p display for $350 [1]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It has been working reasonably well for me, but my vision is diminishing so my current setup with the Kitty terminal emulator allows 4 terminals of 153/154 columns and 40/41 rows or 9 terminals of about 101*27. To have this much text I use the minimum font size I can see which is unreadable when I first wake up – which is bad for the “woken by network management system alert” situations. Also 16G of RAM is a bit of a limit, the Thinkpad X1 Carbon has 4G of swap space and it’s all used most of the time. While there’s usually plenty of buffer/cache RAM it does sometimes get to an OOM situation.&lt;/p&gt;
&lt;p&gt;Another issue is that the battery is approaching it’s end of life. The “&lt;b&gt;upower -d&lt;/b&gt;” command reports the following which might imply that the battery should last more than 80% of the time when it was new, but testing shows that the time I can use it on battery is not much more than half what it was when I bought the laptop, maybe 1/3 of the battery life when new. I used to be able to consistently run the machine on battery for 7+ hours and still have plenty of charge left, now I can’t even get 5 hours.&lt;/p&gt;
&lt;pre&gt;energy-full:         50.35 Wh
energy-full-design:  57.02 Wh&lt;/pre&gt;
&lt;p&gt;I could buy a new battery for about $70, but there are plenty of things I can do with that laptop for which 1/3 the designed battery life is more than enough. Also I have a couple of USB-C batteries that are capable of supplying 30W+ to power a Thinkpad X1 Carbon but they are inconvenient and I’d rather have external batteries and an internal battery that will last most of a day.&lt;/p&gt;
&lt;h2&gt;My Thinkpad History&lt;/h2&gt;
&lt;p&gt;Below is a table summarising most of the Thinkpads I’ve owned. I really like the Trackpoint on Thinkpads and have not considered buying a laptop without one. I skipped two laptops I bought in the 2000-2002 time period, that was an expensive laptop time for me. Fortunately by 2000 ebay was getting useful so I only ever had to buy one brand new Thinkpad.&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;th&gt;Thinkpad&lt;/th&gt;
&lt;th&gt;Purchase Date&lt;/th&gt;
&lt;th&gt;Release Year&lt;/th&gt;
&lt;th&gt;Price&lt;/th&gt;
&lt;th&gt;Price 2025 money&lt;/th&gt;
&lt;th&gt;RAM&lt;/th&gt;
&lt;th&gt;CPU&lt;/th&gt;
&lt;th&gt;Display&lt;/th&gt;
&lt;th&gt;Replacement Reason&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;385XD&lt;/td&gt;
&lt;td&gt;Jul 1998&lt;/td&gt;
&lt;td&gt;1998&lt;/td&gt;
&lt;td&gt;$5800&lt;/td&gt;
&lt;td&gt;$12268&lt;/td&gt;
&lt;td&gt;96M&lt;/td&gt;
&lt;td&gt;Pentium MMX 233&lt;/td&gt;
&lt;td&gt;800*600&lt;/td&gt;
&lt;td&gt;weight screen resolution CPU and RAM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;T41p&lt;/td&gt;
&lt;td&gt;2003&lt;/td&gt;
&lt;td&gt;2003&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;1.5G&lt;/td&gt;
&lt;td&gt;Pentium M&lt;/td&gt;
&lt;td&gt;1400*1050&lt;/td&gt;
&lt;td&gt;overheating and screen backlight&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;https://etbe.coker.com.au/2010/03/16/thinkpad-t61/&quot;&gt;T61&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Feb 2010&lt;/td&gt;
&lt;td&gt;2007&lt;/td&gt;
&lt;td&gt;$796&lt;/td&gt;
&lt;td&gt;$1182&lt;/td&gt;
&lt;td&gt;5G&lt;/td&gt;
&lt;td&gt;Core 2 Duo&lt;/td&gt;
&lt;td&gt;1680*1050&lt;/td&gt;
&lt;td&gt;overheating battery-life and PSU&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;https://etbe.coker.com.au/2013/10/23/thinkpad-t420/&quot;&gt;T420&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Oct 2013&lt;/td&gt;
&lt;td&gt;2011&lt;/td&gt;
&lt;td&gt;$306.35&lt;/td&gt;
&lt;td&gt;$422&lt;/td&gt;
&lt;td&gt;8G&lt;/td&gt;
&lt;td&gt;i5-2540M maybe&lt;/td&gt;
&lt;td&gt;1600*900&lt;/td&gt;
&lt;td&gt;lid hinge broken and generally old&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;https://etbe.coker.com.au/2017/12/13/thinkpad-x301/&quot;&gt;X301&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Dec 2017&lt;/td&gt;
&lt;td&gt;2008&lt;/td&gt;
&lt;td&gt;$0&lt;/td&gt;
&lt;td&gt;$0&lt;/td&gt;
&lt;td&gt;4G&lt;/td&gt;
&lt;td&gt;Core 2 Duo SU9400&lt;/td&gt;
&lt;td&gt;1440*900&lt;/td&gt;
&lt;td&gt;battery entirely died&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;https://etbe.coker.com.au/2018/02/08/thinkpad-x1-carbon/&quot;&gt;X1 Carbon Gen 1&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Feb 2018&lt;/td&gt;
&lt;td&gt;2012&lt;/td&gt;
&lt;td&gt;$289&lt;/td&gt;
&lt;td&gt;$364&lt;/td&gt;
&lt;td&gt;8G&lt;/td&gt;
&lt;td&gt;i7-3667U&lt;/td&gt;
&lt;td&gt;1600*900&lt;/td&gt;
&lt;td&gt;error on proprietary SSD lack of USB-C and screen resolution&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;https://etbe.coker.com.au/2022/12/08/thinkpad-x1-carbon-gen5/&quot;&gt;X1 Carbon Gen 5&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Jul 2022&lt;/td&gt;
&lt;td&gt;2017&lt;/td&gt;
&lt;td&gt;$575.25&lt;/td&gt;
&lt;td&gt;$644&lt;/td&gt;
&lt;td&gt;8G&lt;/td&gt;
&lt;td&gt;i5-6300U&lt;/td&gt;
&lt;td&gt;1920*1080&lt;/td&gt;
&lt;td&gt;screen resolution and wanted a 2in1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;https://etbe.coker.com.au/2025/04/23/last-yoga-gen3/&quot;&gt;X1 Yoga Gen 3&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Jan 2024&lt;/td&gt;
&lt;td&gt;2018&lt;/td&gt;
&lt;td&gt;$359.10&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;16G&lt;/td&gt;
&lt;td&gt;i5-8350U&lt;/td&gt;
&lt;td&gt;2560*1440&lt;/td&gt;
&lt;td&gt;crashed when on battery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/07/24/x1-carbon-gen6-again&quot;&gt;X1 Carbon Gen 6&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Jul 2025&lt;/td&gt;
&lt;td&gt;2018&lt;/td&gt;
&lt;td&gt;$350&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;16G&lt;/td&gt;
&lt;td&gt;i7-8550U&lt;/td&gt;
&lt;td&gt;2560*1440&lt;/td&gt;
&lt;td&gt;RAM and screen resolution&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;T14 Gen 1&lt;/td&gt;
&lt;td&gt;Oct 2026&lt;/td&gt;
&lt;td&gt;2020&lt;/td&gt;
&lt;td&gt;$340&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;16G+&lt;/td&gt;
&lt;td&gt;i7-10610U&lt;/td&gt;
&lt;td&gt;3840*2160&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;So I’ve spent $2675.70 on Thinkpads that I used from 2010 until now (not counting the one I just bought), so that’s $160 per annum for the past 16 years and 9 months.&lt;/p&gt;
&lt;p&gt;When I convert that to 2025/2026 dollars that’s $3,221 for 16 years 9 months or $198 per annum. So I just need to make this T14 last for 2 years to be spending less than usual.&lt;/p&gt;
&lt;h2&gt;Some Generic Laptop Advice&lt;/h2&gt;
&lt;p&gt;A while ago I was asked for advice on buying a laptop for an architect to use. I can give good advice for laptops used by programmers and for home use and students but I really don’t know what an architect does and even a description wouldn’t do it justice.&lt;/p&gt;
&lt;p&gt;The advice I gave was to buy or borrow a relatively low end laptop, something that costs $400 new or $300 second hand and give it a go. Using it will reveal that it doesn’t do what is desired in some ways, whether it’s screen resolution, RAM, CPU power, storage capacity, physical size/weight, or some combination of them is something you won’t know until you try it. Then after having used a cheap laptop they could buy a laptop for $1500+ (for serious work use by people outside the IT industry buying a new laptop is recommended) knowing what features they really need.&lt;/p&gt;
&lt;p&gt;So I have gone through a similar process of buying different laptops and discovering the benefits which has arrived at the T14.&lt;/p&gt;
&lt;h2&gt;The New Thinkpad&lt;/h2&gt;
&lt;h3&gt;Upsides&lt;/h3&gt;
&lt;p&gt;I saw a Thinkpad T14 with 4K display and 16G of RAM on Facebook Marketplace advertised for $400 and they ended up selling it to me for $300 without the SSD and without the PSU. The seller has a business of selling used enterprise gear so he was happy to keep the SSD and PSU for sale with other laptops. I don’t have a need for more laptop PSUs as I have most of the laptops in my fleet charged from 200W+ PSUs that charge multiple devices and I also have a collection of spare SSDs.&lt;/p&gt;
&lt;p&gt;$300 for a laptop with 4K display is a good deal. The T14 is significantly better than the T14s because it has one SODIMM socket while the T14s has soldered RAM, so I could expand the RAM to 48G at some future time – but with current prices I bought an 8G SODIMM for $40 so 24G will have to do for now. That gives a total of $340 plus the value of a SSD.&lt;/p&gt;
&lt;p&gt;My first tests with the 4K display I set the display scaling to 150% (previously I had 100% which was a little small for some parts of the display). For my current favourite terminal emulator Kitty I had the Terminus font set to 10.5 point and now have it set to 9.0 point. This set of changes took the amount of text displayed in terminals from about 300*80 to about 330*100 while also increasing readability. This is a very significant improvement. If I knew that 4K in a 14″ display would be so good I’d have got it years ago!&lt;/p&gt;
&lt;p&gt;The T14 still fits in the pocked of my &lt;a href=&quot;https://www.scottevest.com/&quot;&gt;ScotteVest jacket [2]&lt;/a&gt;!&lt;/p&gt;
&lt;h3&gt;Neutral&lt;/h3&gt;
&lt;p&gt;The i7-10610U in my new Thinkpad scores only about 10% faster on Passmark than the i7-8550U in my previous one. That’s disappointing given that Intel had another 3 years of research to develop it and it’s running with faster RAM. The two CPUs have the same TDP so it’s just a 10% performance gain over 3 years and no change anywhere else. If the new CPU had a lower TDP then the small performance increase would be understandable.&lt;/p&gt;
&lt;p&gt;When I first booted the system Chrome graphics were corrupted and system performance was bad, after installing the packages &lt;b&gt;firmware-nvidia-graphics&lt;/b&gt; and &lt;b&gt;firmware-sof-signed&lt;/b&gt; to deal with the kernel errors about not finding firmware the graphics display was correct and the system ran a lot faster. I had forgotten about the issues related to having NVidia and Intel GPUs on the same system that I had dealt with in previous T series Thinkpads.&lt;/p&gt;
&lt;p&gt;In the systemd-boot loader.conf file I added “console-mode 0” to prevent the font being ridiculously small for the boot selection.&lt;/p&gt;
&lt;p&gt;The battery life seems like it might be a bit less than my previous laptop was when I got it, but it’s definitely better than the previous laptop gives now.&lt;/p&gt;
&lt;h3&gt;Downsides&lt;/h3&gt;
&lt;p&gt;The screen is very shiny, I prefer the screens with matt finish to avoid seeing reflections. The “anti glare” screens for the T14 are for FullHD and worse while the “glossy” screen is the only option for 4K.. Maybe I should investigate one of those hoodie jackets with a hood that’s large enough to cover the screen, they are being sold as a privacy feature but can also be used to avoid reflection. As an aside if you are in an environment with hostile parties then you really shouldn’t block your vision of them.&lt;/p&gt;
&lt;p&gt;A problem I previously had with T series Thinkpads which contributed to the replacement of two of them is the screen hinges breaking. This laptop is significantly heavier and more solidly built than the X1 series I’ve been using and opening and closing the screen takes a lot more force. I am now wondering if I’ll be looking for a “for parts” condition Thinkpad on ebay in the future. It seems that cracking the screen is a much more common failure case than breaking the hinges so hopefully there will be spares available. But as my previous T series thinkpads lasted 7, 3, and 4 years this one could be expected to last until 2030 and maybe by then giving it to someone in Vietnam and buying a replacement would be the easiest option.&lt;/p&gt;
&lt;h2&gt;Future Laptops&lt;/h2&gt;
&lt;p&gt;I thought that going from 2560*1440 to 3840*2160 I would be hitting the diminishing returns range but it seems that there are still further gains to be found in screen resolution for my use, maybe the Apple people with their “Retina” displays are on to something. There are Thinkpad X1 Carbon models with 3840*2400 displays, so maybe that’s something to move on to in a few years. The minimum model with 3840*2400 is the X1 Carbon Gen 9 and there’s the X1 Yoga Gen 6 with an OLED 3840*2400. There’s also the P series which has 16″ 3840*2400 displays which would allow more usable text with the caveat of being much less portable.&lt;/p&gt;
&lt;p&gt;It sucks that no-one seems to be making a laptop with more than 3840*2400 resolution. 5120*2160 desktop monitors are common and affordable nowadays. I’m sure that even now I could use more than 3840*2400 in a 14″ laptop and when I was younger I could have benefited from more than 3840*2400 in an 11″ laptop if such hardware had been available.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;[1]&lt;a href=&quot;https://etbe.coker.com.au/2026/07/24/x1-carbon-gen6-again/&quot;&gt; https://etbe.coker.com.au/2026/07/24/x1-carbon-gen6-again/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[2]&lt;a href=&quot;https://www.scottevest.com/&quot;&gt; https://www.scottevest.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;yarpp yarpp-related yarpp-related-rss yarpp-template-list&quot;&gt;

&lt;p&gt;Related posts:&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/07/24/x1-carbon-gen6-again/&quot; rel=&quot;bookmark&quot; title=&quot;Thinkpad X1 Carbon Gen6 Again&quot;&gt;Thinkpad X1 Carbon Gen6 Again&lt;/a&gt; &lt;small&gt;My Current Thinkpad In 2018 I reviewed a Thinkpad X1...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2018/02/08/thinkpad-x1-carbon/&quot; rel=&quot;bookmark&quot; title=&quot;Thinkpad X1 Carbon&quot;&gt;Thinkpad X1 Carbon&lt;/a&gt; &lt;small&gt;I just bought a Thinkpad X1 Carbon to replace my...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2024/01/29/thinkpad-x1-yoga-gen3/&quot; rel=&quot;bookmark&quot; title=&quot;Thinkpad X1 Yoga Gen3&quot;&gt;Thinkpad X1 Yoga Gen3&lt;/a&gt; &lt;small&gt;I just bought myself a Thinkpad X1 Yoga Gen3 for...&lt;/small&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-11-11T04:25:02+00:00</dc:date>
	<dc:creator>etbe</dc:creator>
</item> 
<item rdf:about="tag:veronneau.org,2026-11-11:/a-good-looking-corsi-rosenthal-box.html">
	<title>Louis-Philippe Véronneau: A good-looking Corsi-Rosenthal Box</title>
	<link>https://veronneau.org/a-good-looking-corsi-rosenthal-box.html</link>
     <content:encoded>&lt;p&gt;Ever since I built an &lt;a href=&quot;https://www.airgradient.com/documentation/kb/kb-old-instructions-the-airgradient-diy-air-quality-sensor-basic-version-pcb-version-3-0&quot;&gt;AirGradient board&lt;/a&gt; &lt;a href=&quot;https://veronneau.org/montreals-debian-stuff-september-2023.html&quot;&gt;back in 2023&lt;/a&gt;, I
have been more and more conscientious about air quality. Pretty instantly after
installing the board in my living room, I realised common habits like cooking
can significantly increase the particulate levels in my entire apartment.&lt;/p&gt;
&lt;p&gt;Here is a good example of a pretty large (and long-lasting) PM&lt;sub&gt;2.5&lt;/sub&gt;
spike on September 23&lt;sup&gt;rd&lt;/sup&gt; after cooking a meal&lt;sup id=&quot;fnref:fan&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fn:fan&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;A graph showing a large PM 2.5 spike&quot; src=&quot;https://veronneau.org/media/blog/2026-11-11/pm25-spike.png&quot; style=&quot;margin-left: 15%;&quot; title=&quot;A graph showing a large PM 2.5 spike&quot; width=&quot;70%&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Isn&#39;t this crazy? Last time Montreal had such bad outdoor air quality, there
were public broadcasts telling people not to go outside and to wear N95 face
masks if we absolutely needed to. Inside my apartment though, no one ever told
me cooking veggies in a little oil on medium-low&lt;sup id=&quot;fnref:burning&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fn:burning&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; could make the air I
breathe unsafe.&lt;/p&gt;
&lt;p&gt;This of course is aggravated by the fact my apartment is pretty much as airtight
as it can reasonably be, since winters here are very cold and air infiltrations
are a major heat loss source. As such &quot;opening my windows when I cook&quot; is not a
viable solution to this problem half of the year.&lt;/p&gt;
&lt;p&gt;I first tried solving this issue by tuning my HVAC system. Sadly, its controls
don&#39;t offer much flexibility&lt;sup id=&quot;fnref:project&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fn:project&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;, which means it is not the right tool to
respond to short-lived spikes like these. Not only this, but the quality of the
air outside is not always good either: Canada now has a forest fire season
(we&#39;re all doomed) and my neighbors regularly smoke cigarettes right under my
HVAC air intake&lt;sup id=&quot;fnref:project2&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fn:project2&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;
&lt;h2&gt;A box, but nicer-looking&lt;/h2&gt;
&lt;p&gt;Clearly, the solution to this particular issue was to buy an air purifier. Or
at least, that&#39;s what a &quot;normal&quot; people would have done. Sadly, these units are
expensive, use (expensive) proprietary filters, &lt;a href=&quot;https://www.cambridge.org/core/journals/infection-control-and-hospital-epidemiology/article/effectiveness-of-commercial-portable-air-cleaners-and-a-doityourself-minimum-efficiency-reporting-value-merv13-filter-box-fan-air-cleaner-in-reducing-aerosolized-bacteriophage-ms2/A9F120459EFED7572840C8700C3B7DCB&quot;&gt;don&#39;t work very
well&lt;/a&gt; and can be loud.&lt;/p&gt;
&lt;p&gt;One of the great inventions of the COVID-19 pandemic is the &lt;a href=&quot;https://en.wikipedia.org/wiki/Corsi%E2%80%93Rosenthal_Box&quot;&gt;Corsi-Rosenthal
box&lt;/a&gt;. Popularised in 2020 by Richard Corsi and Jim Rosenthal, the idea
is to make a DIY air purifier by using a large fan to force air through cheap
and readily available MERV13 air filters.&lt;/p&gt;
&lt;p&gt;The main downsides of regular CR boxes is they are pretty ugly, can be loud
depending on the fan used and need to be rebuilt when the filters are changed
(&lt;a href=&quot;https://corsirosenthalfoundation.org/instructions/&quot;&gt;they are held using tape&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;That&#39;s when I stumbled on &lt;a href=&quot;https://the3dhandyman.com/diymodelb/&quot;&gt;this amazing design&lt;/a&gt; for a silent and
sleek CR box sold by &lt;a href=&quot;https://www.etsy.com/ca/listing/1701909167/model-b-wall-fan-edition&quot;&gt;The 3D Handyman&lt;/a&gt;. Clearly, with a bit of
tinkering and a 3D printer, I could also design something sleek, silent and
efficient!&lt;/p&gt;
&lt;p&gt;Since I was already using MERV13 air filters in my HVAC, I decided to design
around 4 vertical &quot;beams&quot; where the filters would slot in. With tight enough
tolerances, I figured I could get rid of the complex moving parts in The 3D
Handyman&#39;s design. I also added M5 threads to screw the top and bottom panels
and the TPU feet to elevate the box from the floor.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;One of the &#39;beams&#39; on its side in FreeCAD&quot; src=&quot;https://veronneau.org/media/blog/2026-11-11/cr-beam.jpg&quot; style=&quot;margin-left: 15%;&quot; title=&quot;One of the &#39;beams&#39; on its side in FreeCAD&quot; width=&quot;70%&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The final result looks like this. I used some foamcore boards I had laying
around at work for the top and bottom panels, but any somewhat rigid plastic
panels (like coroplast) would also work:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://veronneau.org/media/blog/2026-11-11/cr-box.jpg&quot; style=&quot;margin-left: 15%;&quot; title=&quot;The whole CR box assembled, with the fan in the &#39;in -&amp;gt; out&#39; position&quot; width=&quot;70%&quot; /&gt; out&#39; position&quot; alt=&quot;The whole CR box assembled, with the fan in the &#39;in -&amp;gt; out&#39; position&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;View from the top, with the top panel removed. Disregard the bad GIMP job to remove the old text from a student&#39;s project!&quot; src=&quot;https://veronneau.org/media/blog/2026-11-11/cr-top.jpg&quot; style=&quot;margin-left: 15%;&quot; title=&quot;View from the top, with the top panel removed. Disregard the bad GIMP job to remove the old text from a student&#39;s project!&quot; width=&quot;70%&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I ended up having to split the &quot;beams&quot; in two and joining them with dowels, as
even the largest 3D printers I had access to couldn&#39;t print them in one piece.&lt;/p&gt;
&lt;h2&gt;Costs&lt;/h2&gt;
&lt;p&gt;Here&#39;s the cost breakdown for this project (shipping and taxes are included):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://acinfinity.com/cloudlift-s12-floor-wall-fan-12-with-wireless-controller/&quot;&gt;AC Infinity Cloudlift S12 fan&lt;/a&gt;: 303.45 CAD&lt;/li&gt;
&lt;li&gt;3D printed parts: 85.56 CAD&lt;/li&gt;
&lt;li&gt;Air filters: 101.79 CAD&lt;/li&gt;
&lt;li&gt;16 x M5-16mm screws: 11.39 CAD&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Total: 502.19 CAD&lt;/p&gt;
&lt;p&gt;Yikes, expensive! But:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The fan is &lt;u&gt;amazing&lt;/u&gt;. It is by far the best fan I have ever owned. Not
  only it is all metal and very quiet, but it is also PWM-controlled via a
  USB-C controller, which means the speed it runs at can be automated.
  I have been using it constantly and take it out of the CR box during the summer
  to be used as a &quot;regular&quot; fan. I like it so much so I am seriously
  considering buying the 14 inch model.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The 3D printed parts are plastic and they will last me a lifetime.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;As mentioned before, the filters are the same I use in HVAC, which means I can
  buy them in packs of 12 to reduce costs.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All in all, I&#39;m very happy with this project. Since finishing it, I have been
able to consistently get the PM&lt;sub&gt;2.5&lt;/sub&gt; levels in my apartment down to
zero and significantly reduce the time it takes to recover from a spike caused
by cooking food.&lt;/p&gt;
&lt;p&gt;I certainly could have cut the cost of this project in half by choosing a
cheaper fan, like the box fans used in the reference Corsi-Rosenthal
instructions, but I decided to spend more for a more quiet and reliable option.&lt;/p&gt;
&lt;h2&gt;3D files&lt;/h2&gt;
&lt;p&gt;Here are the STLs I used for this project. I certainly don&#39;t recommend just
printing them as-is, since I am using the 12&quot; x 12⅞&quot; x ¾&quot;&lt;sup id=&quot;fnref:true&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fn:true&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; custom air
filters from my HVAC and you should probably use something more standard.&lt;/p&gt;
&lt;p&gt;If you use these files as inspiration, your goal should be to make a box that
is 16&quot; wide, to fit the AC Infinity fan comfortably. I printed the &quot;beams&quot; in
PETG at 100% infill and the feet in TPU 95:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://veronneau.org/media/blog/2026-11-11/model-beam.stl&quot;&gt;model for the beam, split in half with dowels&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://veronneau.org/media/blog/2026-11-11/model-feet.stl&quot;&gt;model for the feet&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Future&lt;/h2&gt;
&lt;p&gt;The next step in this project is to automate the fan speed based on the
PM&lt;sub&gt;2.5&lt;/sub&gt; levels in my apartment. At the moment, I manage this manually
and it is becoming a chore.&lt;/p&gt;
&lt;p&gt;This should be relatively easy to do with a Raspberry Pi Pico board, since AC
Infinity sells a &lt;a href=&quot;https://acinfinity.com/molex-to-uis-port-adapter-dongle-conversion-cable-cord/#product-description&quot;&gt;USB-C to Molex adapter&lt;/a&gt; for the fan.&lt;/p&gt;
&lt;div class=&quot;footnote&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:fan&quot;&gt;
&lt;p&gt;This was &lt;u&gt;with&lt;/u&gt; my pretty good range hood running at a reasonable
level. Without it, I&#39;ve seen PM&lt;sub&gt;2.5&lt;/sub&gt; levels spike as much as 250
from cooking alone. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fnref:fan&quot; title=&quot;Jump back to footnote 1 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:burning&quot;&gt;
&lt;p&gt;To be clear, this spike was not the result of me burning the hell
out of a piece of meat or something like that. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fnref:burning&quot; title=&quot;Jump back to footnote 2 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:project&quot;&gt;
&lt;p&gt;The HVAC either runs in manual &quot;low | high&quot; mode, or on a timed
&quot;20min ON | 40min OFF&quot; loop that can be tuned by fiddling with a hydrostat
knob that triggers the &quot;high&quot; mode.  This is pretty dumb and makes it so
the HVAC runs even when the apartment is empty or doesn&#39;t run enough to
keep CO&lt;sup&gt;2&lt;/sup&gt; levels low when multiple people are there. A future
project of mine will be to hack the controls to tie them into my air
quality monitoring and trigger the HVAC based on CO&lt;sup&gt;2&lt;/sup&gt; levels. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fnref:project&quot; title=&quot;Jump back to footnote 3 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:project2&quot;&gt;
&lt;p&gt;I&#39;m also working on another HVAC hack to fix this. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fnref:project2&quot; title=&quot;Jump back to footnote 4 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:true&quot;&gt;
&lt;p&gt;Sold, of course, as as 1&quot; thick filters... &lt;a class=&quot;footnote-backref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fnref:true&quot; title=&quot;Jump back to footnote 5 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-11-10T22:12:28+00:00</dc:date>
	<dc:creator>Louis-Philippe Véronneau</dc:creator>
</item> 
<item rdf:about="https://changelog.complete.org/?p=45097">
	<title>John Goerzen: The Large Project Bias of CVEs</title>
	<link>https://changelog.complete.org/archives/45097-the-large-project-bias-of-cves</link>
     <content:encoded>&lt;p&gt;I recently &lt;a href=&quot;https://www.openwall.com/lists/oss-security/2026/11/02/1&quot;&gt;discovered some vulnerabilities in C-Kermit&lt;/a&gt;, one dating back to 1984.  I tried to do the reasonable thing: create advisories with CVEs.&lt;/p&gt;
&lt;p&gt;That turns out to be pretty difficult for a small independent project.&lt;/p&gt;
&lt;p&gt;Large projects have a way to self-assign CVE IDs.  They are their own CVE Numbering Authority (CNA).  There is a &lt;a href=&quot;https://www.cve.org/PartnerInformation/ListofPartners&quot;&gt;massive list of CNAs&lt;/a&gt;.  Just looking at the first page of results, I see everyone from Airbus to 9front (the niche Plan 9 OS).  The &lt;a href=&quot;https://www.openkermit.org/&quot;&gt;OpenKermit project&lt;/a&gt; is not a CNA.&lt;/p&gt;
&lt;p&gt;If you’re a CNA, you can create and publish CVEs on your schedule.  There is apparently no external review process.  You can wait for months, or publish immediately.&lt;/p&gt;
&lt;p&gt;If you’re not a CNA, you have to find someone that is.  The general ones that are CNAs appear to be Github and MITRE.&lt;/p&gt;
&lt;p&gt;Since C-Kermit is &lt;a href=&quot;https://github.com/openkermit/ckermit&quot;&gt;hosted on Github&lt;/a&gt;, I thought I would go that route.  I followed the documented procedure: created Github &lt;a href=&quot;https://github.com/OpenKermit/ckermit/security/advisories&quot;&gt;security advisories for C-Kermit&lt;/a&gt;, then clicked the request CVE button for each.  The documentation states they will &lt;a href=&quot;https://github.blog/security/vulnerability-research/removing-the-stigma-of-a-cve/&quot;&gt;typically review within 72 hours&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It’s been a week and a half and no sign of a review yet.  Apparently the real review time is &lt;a href=&quot;https://github.com/orgs/community/discussions/207039&quot;&gt;more than a month&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The other option for projects without a CNA is via MITRE.  You have to use a &lt;a href=&quot;https://mitre.github.io/mitre-cve-roles/cve-id-request/#editor&quot;&gt;strange and often broken web form&lt;/a&gt;, logging in with either Google or Gitlab.  (It seems to be broken on Firefox).  Then you submit your request and wait.&lt;/p&gt;
&lt;p&gt;How long do you wait on MITRE?  It seems it could be &lt;a href=&quot;https://security.stackexchange.com/questions/213626/how-long-it-takes-to-receive-cve-id-from-cve-mitre-org#219922&quot;&gt;anywhere from a day to several months&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The first CVE I obtained for C-Kermit was CVE-2025-68920.  At the time, I had not yet started the OpenKermit project.  That issue was found and fixed in the context of my work maintaining C-Kermit for Debian, and Debian is a CNA.&lt;/p&gt;
&lt;p&gt;These were discovered while wearing my “upstream C-Kermit maintainer” hat.  I’m sure I could ask Debian for CVEs again, but that seems a bit cheating; not everyone that maintains a FLOSS project will have connections with a distro like I do.&lt;/p&gt;
&lt;p&gt;There are a lot of components of a modern OS and Internet ecosystem that are small projects without a large institution behind them.&lt;/p&gt;
&lt;p&gt;This bias towards large organizations when it comes to communicating security problems benefits nobody.  It doesn’t benefit users, and only serves to discourage timely communication.  Not everyone is as persistent as I am, and when it is made so difficult to make announcements — which seem to go into a giant black hole — it’s easy to say, “why bother?”&lt;/p&gt;
&lt;p&gt;By Microsoft’s own admission, they are under-funding their CVE process on Github (which may also be poorly-designed).  They blame it on increasing load due to LLMs — a problem they helped create and predicted!  Having a fiction about being able to communicate a security issue in a reasonable time is worse than not offering the path at all.&lt;/p&gt;
&lt;p&gt;Linux was once a student’s experiment.  Let’s not pretend that quality only matters from large projects.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-10T13:42:23+00:00</dc:date>
	<dc:creator>John Goerzen</dc:creator>
</item> 
<item rdf:about="http://www.luffy.cx/en/blog/2026-linux-performance-ipv4-ipv6-route-lookup.html">
	<title>Vincent Bernat: Performance evolution of route lookup on Linux</title>
	<link>https://vincent.bernat.ch/en/blog/2026-linux-performance-ipv4-ipv6-route-lookup</link>
     <content:encoded>&lt;p&gt;In previous articles, I explained how the Linux kernel implements &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2017-ipv4-route-lookup-linux&quot; title=&quot;IPv4 route lookup on Linux&quot;&gt;IPv4&lt;/a&gt; and
&lt;a href=&quot;https://vincent.bernat.ch/en/blog/2017-ipv6-route-lookup-linux&quot; title=&quot;IPv6 route lookup on Linux&quot;&gt;IPv6&lt;/a&gt; routing tables, and I showed the performance improvement of route
lookups &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2017-performance-progression-ipv4-route-lookup-linux&quot; title=&quot;Performance progression of IPv4 route lookup on Linux (2018)&quot;&gt;from Linux 2.6.32 to 4.16 for IPv4&lt;/a&gt;â€”including the impact of
the &lt;a href=&quot;https://meltdownattack.com/&quot; title=&quot;Meltdown and Spectre&quot;&gt;Meltdown and Spectre mitigations&lt;/a&gt;â€”as well as &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2017-performance-progression-ipv6-route-lookup-linux&quot; title=&quot;Performance progression of IPv6 route lookup on Linux (2018)&quot;&gt;from Linux 2.6.39 to 4.18
for IPv6&lt;/a&gt;. This article updates the numbers through Linux 7.3 and
investigates the perpetrator responsible for the performance regressions! ðŸ•µï¸�â€�â™‚ï¸�&lt;/p&gt;
&lt;p&gt;I ran the following benchmarks on an &lt;a href=&quot;https://www.amd.com/en/products/processors/server/epyc/4th-generation-9004-and-8004-series/amd-epyc-8024p.html&quot; title=&quot;AMD EPYCâ„¢ 8024P&quot;&gt;&lt;strong&gt;AMD EPYC 8024P&lt;/strong&gt;&lt;/a&gt;, a &lt;a href=&quot;https://en.wikipedia.org/wiki/Zen_4#Zen_4c&quot; title=&quot;Zen 4 on Wikipedia&quot;&gt;Zen 4c
CPU&lt;/a&gt;, rented from &lt;a href=&quot;https://www.scaleway.com/en/elastic-metal/&quot; title=&quot;Scaleway Elastic Metal: bare metal servers in the cloud&quot;&gt;Scaleway&lt;/a&gt;, running at 2.4Â GHz with CPU boost disabled. I
compiled the kernels with GCC 10.2: this version can compile older kernels as
well as the current ones.&lt;/p&gt;
&lt;h1 id=&quot;ipv6&quot;&gt;IPv6&lt;/h1&gt;
&lt;figure class=&quot;lf-fullbleed&quot;&gt;&lt;div class=&quot;lf-media-outer&quot; style=&quot;width: 1127px;&quot;&gt;&lt;span class=&quot;lf-media-inner&quot;&gt;&lt;img alt=&quot;Performance evolution of IPv6 route lookups from Linux 4.14 to 7.3&quot; class=&quot;lf-media&quot; height=&quot;486&quot; src=&quot;https://media-bernat-ch.b-cdn.net/images/linux/ipv6-radix-perf-2026.b057a30dbcf68e.svg&quot; width=&quot;1127&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;figcaption&gt;Performance evolution of IPv6 route lookups. Versions with an asterisk have SRSO mitigation disabled.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;I tested four scenarios:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a recent full view with about 260,000 prefixes,&lt;/li&gt;
&lt;li&gt;a full view from 2017 with about 40,000 prefixes,&lt;/li&gt;
&lt;li&gt;a set of 40,000 /48 prefixes, such that 2 lookups out of 3 match, and&lt;/li&gt;
&lt;li&gt;a set of 40,000 random /128 prefixes, such that 1 lookup out of 400 matches.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In Linux &lt;strong&gt;4.15&lt;/strong&gt;, Wei Wang improved the lookup performance by replacing the
read-write lock with an &lt;abbr title=&quot;Read-Copy-Update&quot;&gt;RCU&lt;/abbr&gt; and a spinlock in &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=66f5d6ce53e665477d2a33e8f539d4fa4ca81c83&quot; title=&quot;ipv6: replace rwlock with rcu and spinlock in fib6_table&quot;&gt;commit 66f5d6ce53e6&lt;/a&gt;. In Linux
&lt;strong&gt;4.18&lt;/strong&gt;, David Ahern &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0565de29cbd65b378147d36f9642f93a046240dc&quot; title=&quot;net/ipv6: Separate data structures for FIB and data path&quot;&gt;improved the data structures used by route lookup&lt;/a&gt;. In
Linux &lt;strong&gt;5.9&lt;/strong&gt;, Brian Vazquez removed expensive indirect calls in &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=55cced4f813bece01f96256d96f283b9210d19ee&quot; title=&quot;ipv6: fib6: avoid indirect calls from fib6_rule_lookup&quot;&gt;commit
55cced4f813b&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The major 200Â ns regression introduced in Linux &lt;strong&gt;6.5&lt;/strong&gt; wiped out all these
improvements. This version implements a mitigation for &quot;&lt;a href=&quot;https://docs.kernel.org/admin-guide/hw-vuln/srso.html&quot; title=&quot;Speculative Return Stack Overflow (SRSO)&quot;&gt;Speculative Return
Stack Overflow&lt;/a&gt;,&quot; a vulnerability affecting AMD processors, in &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fb3bd914b3ec28f5fb697ac55c4846ac2d542855&quot; title=&quot;x86/srso: Add a Speculative RAS Overflow mitigation&quot;&gt;commit
fb3bd914b3ec&lt;/a&gt;. This mitigation adds about 20 cycles on each function return.
It was backported to older kernels (5.10, 5.15, 6.1, and 6.4). To keep the
results legible, I disabled the mitigation for these versions with
&lt;code&gt;spec_rstack_overflow=off&lt;/code&gt; on the kernel command-line.&lt;/p&gt;
&lt;p&gt;You can check the vulnerabilities impacting your CPU and their mitigations with
&lt;code&gt;lscpu&lt;/code&gt;. Some mitigations may depend on the microcode or on the
firmware.&lt;sup id=&quot;fnref:microcode&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:microcode&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;lscpu&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;grep&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;^Vuln&#39;&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Gather data sampling:      Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Indirect target selection: Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Itlb multihit:             Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability L1tf:                      Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Mds:                       Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Meltdown:                  Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Mmio stale data:           Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Reg file data sampling:    Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Retbleed:                  Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Spec rstack overflow:      Mitigation; Safe RET&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Spectre v1:                Mitigation; usercopy/swapgs barriers and __user pointer sanitization&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Spectre v2:                Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Srbds:                     Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Tsa:                       Vulnerable: Clear CPU buffers attempted, no microcode&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Tsx async abort:           Not affected&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Vulnerability Vmscape:                   Mitigation; IBPB before exit to userspace&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1 id=&quot;ipv4&quot;&gt;IPv4&lt;/h1&gt;
&lt;figure class=&quot;lf-fullbleed&quot;&gt;&lt;div class=&quot;lf-media-outer&quot; style=&quot;width: 1120px;&quot;&gt;&lt;span class=&quot;lf-media-inner&quot;&gt;&lt;img alt=&quot;Performance evolution of IPv4 route lookups from Linux 4.14 to 7.3&quot; class=&quot;lf-media&quot; height=&quot;486&quot; src=&quot;https://media-bernat-ch.b-cdn.net/images/linux/lpc-trie-perf-2026.774e21ded23623.svg&quot; width=&quot;1120&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;figcaption&gt;Performance evolution of IPv4 route lookups. Versions with an asterisk have SRSO mitigation disabled.&lt;/figcaption&gt;&lt;/figure&gt;
&lt;p&gt;I tested three scenarios:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a recent full view with more than 1,000,000 prefixes,&lt;/li&gt;
&lt;li&gt;a subset of a full view from 2017 with 500,000 prefixes, and&lt;/li&gt;
&lt;li&gt;a set of 500,000 contiguous /32 prefixes.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The 30Â ns impact of the mitigation for &lt;abbr title=&quot;Speculative Return Stack Overflow&quot;&gt;SRSO&lt;/abbr&gt; in Linux &lt;strong&gt;6.5&lt;/strong&gt; is smaller than for
IPv6 because IPv4 route lookups traverse fewer functions: around 4 function
calls for IPv4 compared to 25 for IPv6.&lt;/p&gt;
&lt;p&gt;In Linux &lt;strong&gt;5.11&lt;/strong&gt;, I introduced a regression in &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0c5a60f0f1311bcf08bbe735122096d6326fb5b&quot; title=&quot;net: evaluate net.ipvX.conf.all.ignore_routes_with_linkdown&quot;&gt;commit c0c5a60f0f13&lt;/a&gt; after
fixing the behavior of &lt;code&gt;net.ipv4.conf.all.ignore_routes_with_linkdown&lt;/code&gt;!&lt;sup id=&quot;fnref:ipv6&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:ipv6&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;
As a result, the &lt;a href=&quot;https://elixir.bootlin.com/linux/v7.3.1/source/include/linux/inetdevice.h#L265&quot; title=&quot;Definition of ip_ignore_linkdown()&quot;&gt;&lt;code&gt;ip_ignore_linkdown()&lt;/code&gt;&lt;/a&gt; function spends
around 5 additional cycles to return a result as it needs to follow three
additional pointers. &lt;a href=&quot;https://elixir.bootlin.com/linux/v7.3.1/source/include/net/ip_fib.h#L374&quot; title=&quot;Definition of fib_lookup()&quot;&gt;&lt;code&gt;fib_lookup()&lt;/code&gt;&lt;/a&gt; eventually calls it in the
&lt;a href=&quot;https://elixir.bootlin.com/linux/v7.3.1/source/net/ipv4/fib_trie.c#L1406&quot; title=&quot;Definition of fib_lookup_good_nhc()&quot;&gt;following code&lt;/a&gt;:&lt;/p&gt;
&lt;div class=&quot;language-c codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ip_ignore_linkdown&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc_dev&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc_flags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;RTNH_F_LINKDOWN&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fib_flags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;FIB_LOOKUP_IGNORE_LINKSTATE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;If we reorder the conditions, we avoid calling &lt;code&gt;ip_ignore_linkdown()&lt;/code&gt; for the
most common case where the link isn&#39;t down:&lt;/p&gt;
&lt;div class=&quot;language-c codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc_flags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;RTNH_F_LINKDOWN&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;fib_flags&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;FIB_LOOKUP_IGNORE_LINKSTATE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;ip_ignore_linkdown&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;nhc_dev&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;false&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Here&#39;s the distribution of lookup times before applying the &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=5fe3653f13b9d0549d8e8f6c181cf2dcbc67b06a&quot; title=&quot;net/ipv4: check RTNH_F_LINKDOWN before ip_ignore_linkdown() - kernel/git/netdev/net-next.git - Netdev Group&#39;s -next networking tree&quot;&gt;patch&lt;/a&gt; on top of
net-next:&lt;sup id=&quot;fnref:release&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:release&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-text-only codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;min=128 max=4657 count=994104 95th=134 90th=133 50th=132 mad=0
    value â”‚                         â”Š                            count
      128 â”‚                                                        120
      129 â”‚                                                       2232
      130 â”‚â–’                                                     25224
      131 â”‚â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–‘                                       264264
      132 â”‚â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘             516480
      133 â”‚â–’â–’â–’â–’â–’â–’â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘      126864
      134 â”‚â–’â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘      21624
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The lighter shade depicts the cumulative distribution function. After applying
the patch, the median improved from 132 to 126 cycles:&lt;sup id=&quot;fnref:cycle&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:cycle&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-text-only codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;min=124 max=208839 count=994104 95th=128 90th=127 50th=126 mad=0
    value â”‚                         â”Š                            count
      124 â”‚                                                        576
      125 â”‚â–’â–’                                                    49440
      126 â”‚â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–‘â–‘                      584904
      127 â”‚â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘       284592
      128 â”‚â–’â–’â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘â–‘      45288
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1 id=&quot;impact-of-mitigations&quot;&gt;Impact of mitigations&lt;/h1&gt;
&lt;p&gt;To reduce the impact of mitigations, you can disable all of them with
&lt;code&gt;mitigations=off&lt;/code&gt;, disable only a specific one like with
&lt;code&gt;spec_rstack_overflow=off&lt;/code&gt;, or protect against only some &lt;a href=&quot;https://docs.kernel.org/admin-guide/hw-vuln/attack_vector_controls.html&quot; title=&quot;Attack Vector Controls&quot;&gt;attack vectors&lt;/a&gt; with
&lt;code&gt;mitigations=auto,no_user_kernel&lt;/code&gt;, starting from Linux 6.17.&lt;/p&gt;
&lt;p&gt;The impact is also quite different depending on the CPU. For example, on a &lt;a href=&quot;https://www.intel.com/content/www/us/en/products/sku/198011/intel-xeon-w2295-processor-24-75m-cache-3-00-ghz/specifications.html&quot; title=&quot;IntelÂ® XeonÂ® W-2295 Processor (24.75M Cache, 3.00 GHz) Specifications&quot;&gt;Xeon
W-2295&lt;/a&gt;, an Intel desktop CPU from 2020, the impact of the mitigations is only
a few cycles for IPv4, and less than 3% for IPv6. The main contributor is the
mitigation for the &lt;a href=&quot;https://docs.kernel.org/admin-guide/hw-vuln/indirect-target-selection.html&quot; title=&quot;Indirect Target Selection (ITS) â€” The Linux Kernel documentation&quot;&gt;Indirect Target Selection&lt;/a&gt; vulnerability, which is fixed
since the &lt;a href=&quot;https://en.wikipedia.org/wiki/Sapphire_Rapids&quot; title=&quot;Sapphire Rapids on Wikipedia&quot;&gt;Sapphire Rapids&lt;/a&gt; architecture.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;If we set aside the regressions introduced by the &lt;a href=&quot;https://docs.kernel.org/admin-guide/hw-vuln/&quot; title=&quot;Hardware vulnerabilities â€” The Linux Kernel documentation&quot;&gt;mitigations against CPU
attacks&lt;/a&gt;, the performance of IPv4 is declining slowly over time while IPv6 has
improved in the past and is currently stable. If routing performance is
important, you have several options: choose a different CPU like an &lt;a href=&quot;https://en.wikipedia.org/wiki/Zen_5&quot; title=&quot;Zen 5 on Wikipedia&quot;&gt;AMD Zen 5
CPU&lt;/a&gt;, a &lt;a href=&quot;https://en.wikipedia.org/wiki/Sapphire_Rapids&quot; title=&quot;Sapphire Rapids on Wikipedia&quot;&gt;fourth generation Xeon CPU&lt;/a&gt;, or maybe an &lt;a href=&quot;https://en.wikipedia.org/wiki/ARM_Neoverse#Neoverse_V2&quot; title=&quot;ARM Neoverse on Wikipedia&quot;&gt;ARM Neoverse V2&lt;/a&gt;;
disable some or all the mitigations; bypass routing with &lt;abbr title=&quot;eXpress Data Path&quot;&gt;XDP&lt;/abbr&gt;/&lt;abbr title=&quot;Extended Berkeley Packet Filter&quot;&gt;eBPF&lt;/abbr&gt;;&lt;sup id=&quot;fnref:ebpf&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:ebpf&quot;&gt;5&lt;/a&gt;&lt;/sup&gt; or
&lt;a href=&quot;https://www.gtp-guard.org/articles/5g-upf-pump-up-the-volume/&quot; title=&quot;5G UPF: Pump Up the Volume!&quot;&gt;offload routing&lt;/a&gt; to the network card.&lt;/p&gt;
&lt;div class=&quot;admonition&quot;&gt;
&lt;p class=&quot;admonition-title&quot;&gt;Note&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://maytham.aezign.au/&quot; title=&quot;Maytham Alsudany: Dev and Sysadmin&quot;&gt;Maytham Alsudany&lt;/a&gt; reviewed a first draft of this article. Any errors are still mine!&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;footnote&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:microcode&quot;&gt;
&lt;p&gt;The microcode was out of date on my machine as I forgot to install the
&lt;code&gt;amd64-microcode&lt;/code&gt; package. As it only impacts &lt;a href=&quot;https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7029.html&quot; title=&quot;AMD Transient Scheduler Attacks&quot;&gt;&lt;abbr title=&quot;Transient Scheduler Attacks&quot;&gt;TSA&lt;/abbr&gt;&lt;/a&gt;, our benchmark is
unaffected. Spectre v2 mitigation did not enable &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e7862eda309ecfccc36bb5558d937ed3ace07f3f&quot; title=&quot;x86/cpu: Support AMD Automatic IBRS&quot;&gt;automatic &lt;abbr title=&quot;Indirect Branch Restricted Speculation&quot;&gt;IBRS&lt;/abbr&gt;&lt;/a&gt;, because
of &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=acaa4b5c4c854b5009f4d4a5395b2609ad0f4937&quot; title=&quot;x86/speculation: Do not enable Automatic IBRS if SEV-SNP is enabled&quot;&gt;&lt;abbr title=&quot;Secure Encrypted Virtualization-Secure Nested Paging&quot;&gt;SEV-SNP&lt;/abbr&gt; being enabled in the firmware&lt;/a&gt;. With automatic &lt;abbr title=&quot;Indirect Branch Restricted Speculation&quot;&gt;IBRS&lt;/abbr&gt;, the
impact of &lt;abbr title=&quot;Speculative Return Stack Overflow&quot;&gt;SRSO&lt;/abbr&gt; should be smaller.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:microcode&quot; title=&quot;Jump back to footnote 1 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:ipv6&quot;&gt;
&lt;p&gt;Despite &lt;code&gt;ipvX&lt;/code&gt; in its title, the commit only changes the behavior of the
IPv4 code. The IPv6 version overwrites the value of each device in
&lt;a href=&quot;https://elixir.bootlin.com/linux/v7.3.1/source/net/ipv6/addrconf.c#L940&quot; title=&quot;Definition of addrconf_fixup_linkdown()&quot;&gt;&lt;code&gt;addrconf_fixup_linkdown()&lt;/code&gt;&lt;/a&gt;.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:ipv6&quot; title=&quot;Jump back to footnote 2 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:release&quot;&gt;
&lt;p&gt;Linux 7.5 will be the first stable release including this fix.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:release&quot; title=&quot;Jump back to footnote 3 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:cycle&quot;&gt;
&lt;p&gt;At 2.4Â GHz, one cycle is about 0.42Â ns.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:cycle&quot; title=&quot;Jump back to footnote 4 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:ebpf&quot;&gt;
&lt;p&gt;This requires avoiding &lt;a href=&quot;https://docs.ebpf.io/linux/helper-function/bpf_fib_lookup/&quot; title=&quot;Helper function bpf_fib_lookup&quot;&gt;&lt;code&gt;bpf_fib_lookup()&lt;/code&gt;&lt;/a&gt;, which relies on
the same kernel lookup.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:ebpf&quot; title=&quot;Jump back to footnote 5 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-11-09T20:07:32+00:00</dc:date>
	<dc:creator>Vincent Bernat</dc:creator>
</item> 
<item rdf:about="https://blog.alteholz.eu/?p=2864">
	<title>Thorsten Alteholz: My Debian Activities in October 2026</title>
	<link>http://blog.alteholz.eu/2026/11/my-debian-activities-in-october-2026/</link>
     <content:encoded>&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian LTS/ELTS&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;&lt;/p&gt;&lt;p&gt;This was my hundred-forty-eighth month that I did some work for the Debian LTS initiative, started by Raphael Hertzog at Freexian.
&lt;/p&gt;
&lt;p&gt;
During my allocated time I uploaded or worked on:  
&lt;/p&gt;&lt;p&gt;&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;[&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/10/msg00018.html&quot;&gt;DLA 4825-1&lt;/a&gt;]  suricata-update security update to fix one CVE in Bookworm related to a path traversal attack. Thanks a lot to Andreas Dolp, who prepared the package.&lt;/li&gt;&lt;li&gt;[&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/10/msg00051.html&quot;&gt;DLA 4857-1&lt;/a&gt;]  caddy security update to fix nine CVEs in Bookworm related to the bypass of path- or host-based access controls, the execution of an unintended file by a FastCGI
backend, the injection of identity headers trusted by applications running behind Caddy, unauthorised reconfiguration of the server through its admin API, or cross-site scripting.
&lt;/li&gt;&lt;li&gt;[&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/10/msg00065.html&quot;&gt;DLA 4870-1&lt;/a&gt;] antiword security update to fix several isssue in Bookworm related to heap out-of-bounds write in several parts of the software or integer divide by zero.  Unfortunately no issue has been assigned a CVE id yet.
&lt;/li&gt;&lt;li&gt;[&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/10/msg00064.html&quot;&gt;DLA 4871-1&lt;/a&gt;] cyrus-sasl2 security update to fix one CVE in Bookworm related to a heap-based buffer overflow.
&lt;/li&gt;&lt;li&gt;[ELA-1873-1] antiword security update to fix several isssue in Stretch, Buster and Bullseye related to heap out-of-bounds write in several parts of the software or integer divide by zero.  Unfortunately no issue has been assigned a CVE id yet.&lt;/li&gt;
&lt;li&gt;[ELA-1874-1] cyrus-sasl2 security update to fix one CVE in Stretch, Buster and Bullseye related to a heap-based buffer overflow.&lt;/li&gt;&lt;li&gt;[ELA-1875-1] libcaca security update to fix two CVEs in Buster related to a missing overflow check.&lt;/li&gt;&lt;li&gt;[ELA-1876-1] libcaca security update to fix one CVE in Stretch and Bullseye related to a missing overflow check.&lt;/li&gt;
&lt;li&gt;[osmo-bsc] upload to unstable to fix one CVE related to a heap based buffer overflow.&lt;/li&gt;&lt;/ul&gt;



&lt;p&gt;
Besides doing these uploads, I reviewed the libssh upload (DLA-4844-1) and helped a bit in the background of the &lt;i&gt;php&lt;/i&gt; uploads. Last but not least I spend some time on security-master to assist others (especially the kernel team) with uploads to Bookworm and Bullseye.
&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Printing&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;This month I uploaded a new upstream version  or a bugfix version of:&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/cups&quot;&gt;cups&lt;/a&gt; to unstable, to finally fix autopkgtest.&lt;/li&gt;&lt;/ul&gt;



&lt;p&gt;&lt;strong&gt;This work is generously funded by &lt;a href=&quot;https://www.freexian.com&quot;&gt;Freexian&lt;/a&gt;!&lt;/strong&gt;&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Lomiri&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;This month I uploaded a new package &lt;i&gt;vendor-ubuntu-touch&lt;/i&gt; to be able to build packages differently in an UbuntuTouch environment. I am curious when it will leave NEW. I also tried to finish two new applications.&lt;/p&gt;



&lt;p&gt;&lt;strong&gt;This work has been generously funded by &lt;a href=&quot;https://freiesoftware.gmbh/&quot;&gt;Fre(i)e Software GmbH&lt;/a&gt;!&lt;/strong&gt;&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Astro&lt;/strong&gt;&lt;/h3&gt;


&lt;p&gt;This month I uploaded a new upstream version  or a bugfix version of:&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/calceph&quot;&gt;calceph&lt;/a&gt; to unstable (sponsored upload)&lt;/li&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/alfa&quot;&gt;alfa&lt;/a&gt; to unstable (sponsored upload).&lt;/li&gt;&lt;/ul&gt;


&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian IoT&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;Unfortunately I had no time to work in this category this month.&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Mobcom&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;This month I uploaded a new upstream version  or a bugfix version of:&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osm-sgsn&quot;&gt;osmo-sgsn&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/libosmo-abis&quot;&gt;libosmo-abis&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/libosmo-sigtran&quot;&gt;libosmo-sigtran&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-bsc&quot;&gt;osmo-bsc&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-iuh&quot;&gt;osmo-iuh&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-msc&quot;&gt;osmo-msc&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-mgw&quot;&gt;osmo-mgw&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-bts&quot;&gt;osmo-bts&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-hlr&quot;&gt;osmo-hlr&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-ggsn&quot;&gt;osmo-ggsn&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-libasn1c&quot;&gt;osmo-libasn1c&lt;/a&gt; to experimental and/or unstable&lt;/li&gt;
&lt;/ul&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;misc&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;This month I uploaded a new upstream version of:&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/puppet-module-alteholz-tdc&quot;&gt;puppet-module-alteholz-tdc&lt;/a&gt; to unstable&lt;/li&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/dateutils&quot;&gt;dateutils&lt;/a&gt; to unstable.&lt;/li&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/ta-lib&quot;&gt;ta-lib&lt;/a&gt; to unstable.&lt;/li&gt;&lt;/ul&gt;



&lt;p&gt;Due to different reasons I started to tidy up the list of packages I maintain. Some packages have been removed, some packages lost myself as uploader and some packages have been orphaned. The number of orphaned packages is about 1100 now, so maybe you can find one to adopt.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-09T15:48:52+00:00</dc:date>
	<dc:creator>alteholz</dc:creator>
</item> 
<item rdf:about="https://bisco.org/notes/using-incus-for-throw-away-vms/">
	<title>Birger Schacht: Using incus for throw away VMs</title>
	<link>https://bisco.org/notes/using-incus-for-throw-away-vms/</link>
     <content:encoded>&lt;p&gt;For some time now I’ve been looking for a way of keeping projects I’m working
on in a separate VM without much setup. There are numerous solutions to do this
kind of thing using namespaces (various container technologies, firejail,
flatpak, bubblewrap, …) but I wanted something that uses real virtualization.
I recently stumbled upon &lt;a href=&quot;https://linuxcontainers.org/incus/&quot;&gt;incus&lt;/a&gt; and it
seemed like it could be a solution to my problem. Incus is a manager for both
containers and virtual machines. It is possible to create VM images that can be
used as templates, meaning that other machines can then be based on them on
creation. Virtual machines can be configured using “profiles”.&lt;/p&gt;
&lt;p&gt;For my use case, I have created a profile that defines how my template image
should look like. In this profile I use
&lt;a href=&quot;https://docs.cloud-init.io/en/latest/index.html&quot;&gt;cloud-init&lt;/a&gt; to configure the
template machine on startup:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-yaml&quot;&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #309; font-weight: bold;&quot;&gt;config&lt;/span&gt;:&lt;span style=&quot;color: #bbb;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #bbb;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #309; font-weight: bold;&quot;&gt;cloud-init.user-data&lt;/span&gt;:&lt;span style=&quot;color: #bbb;&quot;&gt; &lt;/span&gt;|&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    #cloud-config
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    apt:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      conf: |
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        APT {
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;          Install-Recommends 0;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        }
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    package_update: true
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    package_upgrade: true
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    package_reboot_if_required: true
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    packages:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - file
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - man-db
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - bat
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - eza
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - git
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - git-delta
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - neovim
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - zsh
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - tmux
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - curl
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - ncurses-term
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - hx
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - nix-bin
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - nix-setup-systemd
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - rustup
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - npm
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - podman
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    users:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - name: user
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        lock_passwd: false
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        # mkpasswd &#39;incus password&#39;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        hashed_passwd: $y$j9T$p9XBP4Ox3SBUnyu.sqv5m1$f1rxcPJyVs05w./dZvIzu6.4dVWBvzu99nMBZRNlamD
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        groups: sudo, nix-users
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        shell: /usr/bin/zsh
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        uid: 1000
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    write_files:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - path: /home/user/.config/nix/nix.conf
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        content: |
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;          experimental-features = nix-command flakes
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        permissions: 0600
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - path: /home/user/.zshrc.local
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        content: |
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;          export PATH=&quot;$PATH:$HOME/.nix-profile/bin&quot;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;        permissions: 0600
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;    runcmd:
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - [curl, -sSfL, -o, /home/user/.tmux.conf, https://grml.org/console/tmux.conf]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - [curl, -sSfL, -o, /home/user/.vimrc, https://grml.org/console/vimrc]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - [curl, -sSfL, -o, /home/user/.zshrc, https://grml.org/console/zshrc]
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #c30; font-style: italic;&quot;&gt;      - [chown, -R, user:user, /home/user/]&lt;/span&gt;&lt;span style=&quot;color: #bbb;&quot;&gt;    
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #bbb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #309; font-weight: bold;&quot;&gt;description&lt;/span&gt;:&lt;span style=&quot;color: #bbb;&quot;&gt; &lt;/span&gt;Base template for dev VMs&lt;span style=&quot;color: #bbb;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #bbb;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #0cf; font-weight: bold;&quot;&gt;...&lt;/span&gt;&lt;span style=&quot;color: #bbb;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;and I use a script to regenerate the template image when I want to adapt the
config:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-shell&quot;&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #099;&quot;&gt;#!/bin/sh
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #099;&quot;&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #09f; font-style: italic;&quot;&gt;#set -e&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #366;&quot;&gt;set&lt;/span&gt; -x
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #555;&quot;&gt;=&lt;/span&gt;dev-vm-template
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #09f; font-style: italic;&quot;&gt;# adapt the profile before rebuilding the template image&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus profile edit cloud-dev-template
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus delete --force &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt; &lt;span style=&quot;color: #555;&quot;&gt;||&lt;/span&gt; &lt;span style=&quot;color: #366;&quot;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus create images:debian/13/cloud --vm --quiet --profile default --profile cloud-dev-template &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus start &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus &lt;span style=&quot;color: #366;&quot;&gt;wait&lt;/span&gt; &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt; agent
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus &lt;span style=&quot;color: #366;&quot;&gt;exec&lt;/span&gt; &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt; -- cloud-init status --wait &lt;span style=&quot;color: #555;&quot;&gt;||&lt;/span&gt; &lt;span style=&quot;color: #366;&quot;&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus stop &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;display: flex;&quot;&gt;&lt;span&gt;incus publish --alias cloud-dev-template --reuse &lt;span style=&quot;color: #a00;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #033;&quot;&gt;NAME&lt;/span&gt;&lt;span style=&quot;color: #a00;&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This script uses the &lt;code&gt;debian/13/cloud&lt;/code&gt; image together with my
&lt;code&gt;cloud-dev-template&lt;/code&gt; profile to set up a machine, configure it using
&lt;code&gt;cloud-init&lt;/code&gt; and store the result as an image called &lt;code&gt;cloud-dev-template&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&quot;inker&quot;&gt;inker&lt;/h2&gt;
&lt;p&gt;To use this setup, I created a small python tool called
&lt;a href=&quot;https://codeberg.org/birger/inker&quot;&gt;inker&lt;/a&gt; that talks to the &lt;a href=&quot;https://linuxcontainers.org/incus/docs/main/rest-api-spec/&quot;&gt;incus REST
API&lt;/a&gt;. Using &lt;code&gt;inker create&lt;/code&gt; creates a new VM based on my template. Using &lt;code&gt;inker attach&lt;/code&gt; attaches
the current working directory to a VM as a readonly mount. It is possible to
combine those commands like &lt;code&gt;inker create | inker attach&lt;/code&gt; to do those two steps
in one command. &lt;code&gt;inker login&lt;/code&gt; logs into the VM that has the current directory
attached. This way I can create VMs that are connected to directories on my
filesystem.&lt;/p&gt;
&lt;p&gt;I am currently playing around with this setup, but I think this could help me
to have a throwaway development machine, similar to &lt;a href=&quot;https://containers.dev/&quot;&gt;dev
containers&lt;/a&gt;. I’m not sure yet how happy I am with
&lt;code&gt;incus&lt;/code&gt;, though. I was also looking at systemd-vmspawn, but there are still
some features missing that I would need. But I might rewrite &lt;code&gt;inker&lt;/code&gt; at some
point to use a different backend.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-08T05:28:51+00:00</dc:date>
	<dc:creator>Birger Schacht</dc:creator>
</item> 
<item rdf:about="http://dirk.eddelbuettel.com/blog/2026/11/07#prrd_0.1.0">
	<title>Dirk Eddelbuettel: prrd 0.1.0 at CRAN: Now With Real Concurrency</title>
	<link>http://dirk.eddelbuettel.com/blog/2026/11/07#prrd_0.1.0</link>
     <content:encoded>&lt;p&gt;A new release of &lt;a href=&quot;https://dirk.eddelbuettel.com/code/prrd.html&quot;&gt;prrd&lt;/a&gt; arrived at
&lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; today, and has already
been built for &lt;a href=&quot;https://eddelbuettel.github.io/r2u/&quot;&gt;r2u&lt;/a&gt; and
on &lt;a href=&quot;https://eddelbuettel.r-universe.dev/prrd&quot;&gt;r-universe&lt;/a&gt;.
The &lt;a href=&quot;https://dirk.eddelbuettel.com/code/prrd.html&quot;&gt;prrd&lt;/a&gt;
package facilitates the &lt;em&gt;parallel running [of] reverse dependency
[checks]&lt;/em&gt; when preparing R packages. It is used extensively for
releases I make of &lt;a href=&quot;https://www.rcpp.org&quot;&gt;Rcpp&lt;/a&gt;, &lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.armadillo.html&quot;&gt;RcppArmadillo&lt;/a&gt;,
&lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.eigen.html&quot;&gt;RcppEigen&lt;/a&gt;,
&lt;a href=&quot;https://dirk.eddelbuettel.com/code/bh.html&quot;&gt;BH&lt;/a&gt;, and
others.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&quot;prrd screenshot image&quot; src=&quot;https://github.com/eddelbuettel/prrd/raw/master/local/screenshot_prrd_rcpparmadillo.png&quot; style=&quot;float: left; margin: 10px 10px 10px 0;&quot; width=&quot;700&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The key idea of &lt;a href=&quot;https://dirk.eddelbuettel.com/code/prrd.html&quot;&gt;prrd&lt;/a&gt; is simple,
and described in some more detail on &lt;a href=&quot;https://dirk.eddelbuettel.com/code/prrd.html&quot;&gt;its webpage&lt;/a&gt; and
its &lt;a href=&quot;https://github.com/eddelbuettel/prrd&quot;&gt;GitHub repo&lt;/a&gt;.
Reverse dependency checks are an important part of package development
that is easily done in a (serial) loop. But these checks are also
generally &lt;em&gt;embarassingly parallel&lt;/em&gt; as there is no or little
interdependency between them (besides maybe shared build depedencies).
See the (somewhat dated) screenshot (running six parallel workers,
arranged in a split &lt;a href=&quot;https://byobu.org&quot;&gt;byobu&lt;/a&gt; session).&lt;/p&gt;
&lt;p&gt;This release updates internals to allow for greater concurrency. &lt;a href=&quot;https://www.sqlite.org/&quot;&gt;SQLite&lt;/a&gt; is used as the backend, both
for the job queue (managed via the &lt;a href=&quot;https://cran.r-project.org/package=liteq&quot;&gt;liteq&lt;/a&gt; package) as
well as for storing actual reverse-dependency test results. It is
well-known that &lt;a href=&quot;https://www.sqlite.org/&quot;&gt;SQLite&lt;/a&gt; copes quite
well with multiple &lt;em&gt;readers&lt;/em&gt;. Multiple concurrent
&lt;em&gt;writers&lt;/em&gt; are more challenging. We tended to get by via
&lt;code&gt;BEGIN EXCLUSIVE&lt;/code&gt; pragma use, but still get occassional issue
even at a somewhat moderate concurrency levels. After some back and
forth and trying a few approaches, more recently we established one
first solution relying on very explicity (OS-level, filesystem-based)
locking via package &lt;a href=&quot;https://cran.r-project.org/package=filelock&quot;&gt;filelock&lt;/a&gt;. That
worked.&lt;/p&gt;
&lt;p&gt;We mentioned this in &lt;a href=&quot;https://github.com/r-lib/liteq/pull/29#issuecomment-6421988987&quot;&gt;an
old &lt;code&gt;liteq&lt;/code&gt; issue&lt;/a&gt; that had circled around the same
question with a number of posts over the years, but no resolution. This
comment seemingly awoke &lt;a href=&quot;https://github.com/gaborcsardi&quot;&gt;Gábor&lt;/a&gt;, and he nailed this
years-open issue with a fine pull request deploying
&lt;code&gt;BEGIN IMMEDIATE&lt;/code&gt; and well as a loop around
&lt;code&gt;tryCatch&lt;/code&gt; to not immediately fail. I borrowed/ported that
approach to &lt;a href=&quot;https://dirk.eddelbuettel.com/code/prrd.html&quot;&gt;prrd&lt;/a&gt; and we now
have a second solution (and no longer need &lt;a href=&quot;https://cran.r-project.org/package=filelock&quot;&gt;filelock&lt;/a&gt;). On a
somewhat better server with enough cores and memory, I am now running
eighteen concurrent workers—watched via three multi-pane &lt;a href=&quot;https://byobu.org&quot;&gt;byobu&lt;/a&gt; windows. Works like a charm without
issues. At last! A big thanks to &lt;a href=&quot;https://github.com/gaborcsardi&quot;&gt;Gábor&lt;/a&gt; for finding another
solution, and especially that only relies on &lt;a href=&quot;https://www.sqlite.org/&quot;&gt;SQLite&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The release is summarised in the NEWS entry:&lt;/p&gt;
&lt;blockquote&gt;
&lt;h4 id=&quot;changes-in-prrd-version-0.1.0-2026-11-07&quot;&gt;Changes in prrd
version 0.1.0 (2026-11-07)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Concurrent operations are now supported via updated sqlite
semantics borrowed with appreciation from &lt;span class=&quot;pkg&quot;&gt;liteq&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;This follows an interim solution relying on &lt;span class=&quot;pkg&quot;&gt;filelock&lt;/span&gt; use; however this later package is not
needed so no increase in dependencies&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Courtesy of my &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/&quot;&gt;CRANberries&lt;/a&gt;, there
is also a diffstat report for &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/2026/08/27#prrd_0.0.7&quot;&gt;this
release&lt;/a&gt;.&lt;/p&gt;
&lt;p style=&quot;font-size: 80%; font-style: italic;&quot;&gt;
This post by &lt;a href=&quot;https://dirk.eddelbuettel.com&quot;&gt;Dirk
Eddelbuettel&lt;/a&gt; originated on his &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/&quot;&gt;Thinking inside the box&lt;/a&gt;
blog. If you like this or other open-source work I do, you can &lt;a href=&quot;https://github.com/sponsors/eddelbuettel&quot;&gt;sponsor me at
GitHub&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-07T19:39:00+00:00</dc:date>
	<dc:creator>Dirk Eddelbuettel</dc:creator>
</item> 
<item rdf:about="tag:blogger.com,1999:blog-8085113335874848981.post-4830726576516808315">
	<title>Andrew Cater: Arm Cambridge - Mini-Debconf Cambridge - day 1 20261107</title>
	<link>http://flosslinuxblog.blogspot.com/2026/11/arm-cambridge-mini-debconf-cambridge.html</link>
     <content:encoded>&lt;p&gt; Half way through the day:&lt;br /&gt;&lt;br /&gt;A morning of technical talks:&lt;br /&gt;&lt;br /&gt;Vock - Instrumenting, kernel coverage and process tracing&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Rebuilding the archive on your desktop&lt;br /&gt;&lt;/p&gt;&lt;p&gt;An overview of Secure Boot&lt;br /&gt;&lt;br /&gt;An excellent lunch - with thanks to Liv and her Arm catering staff&lt;br /&gt;&lt;br /&gt;Three lightning talks - two without slides :)&lt;br /&gt;&lt;br /&gt;Excellent day so far :)&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-07T14:18:40+00:00</dc:date>
	<dc:creator>Andrew Cater</dc:creator>
</item> 
<item rdf:about="161 at https://sunweavers.net/blog">
	<title>Mike Gabriel: OpenAGPS - The New Kid on the Block</title>
	<link>https://sunweavers.net/blog/node/161</link>
     <content:encoded>&lt;p&gt;There is a new project coming to Open Source Software land these days: &lt;a href=&quot;https://openagps.net&quot;&gt;OpenAGPS&lt;/a&gt;. It is not yet 100% functional, but we are working on it. It is not fully operational, yet, but we are on it.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Let me introduce OpenAGPS to you...&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;The Situation Today&lt;/h3&gt;

&lt;p&gt;The domain of assisted geo location services has been left to a few big tech providers. When using GPS on mobile devices, most of us send info on our approximate device location (based on cell tower IDs seen by our devices around us) mostly to Google&#39;s SUPL service in order to facilitate a faster GNSS/GPS lock on the satellites flying above us.&lt;/p&gt;

&lt;p&gt;Without assistance, retrieving a GNSS/GPS lock on sufficient satellites includes &quot;finding&quot; those satellites and once found retrieving data (in bytes/sec) from them. In some regions, this leads to waiting periods of up to 45 minutes, before a mobile devices has gained a lock on sufficient satellites (3 or more).&lt;/p&gt;

&lt;p&gt;In Assisted-GNSS/GPS, &quot;other&quot; information (such as cell tower IDs) gets used to estimate what GNSS/GPS satellites are currently passing over one&#39;s location. With AGPS, the mobile devices retrieve information via a so-called SUPL server, containing two details: a list of potential satellites above and their dataframes. Esp. providing those dataframes over the device&#39;s internet connection (and not via the GNSS/GPS receiver downloading it from the satellite itself) speeds up the lock-on process of the mobile tremendously (several seconds to a few minutes).&lt;/p&gt;

&lt;p&gt;However, for this mechanism to work, your device will share your IMSI (although not needed for AGPS), a list of cell towers around you and their signal strengths with the provider of the SUPL service, revealing your approximate position. In total, this allows SUPL providers to re-identify each mobile device and create motion profiles of each such device (and its owner). If the SUPL service is hosted by one main provider (i.e. Google SUPL), there is a lot of valuable information available to them for free that they can commercialize.&lt;/p&gt;

&lt;p&gt;Currently, there is only one mitigation method available to hide one&#39;s location info from the SUPL server(s) at e.g. Google: using a SUPL proxy server implementation (available as OSS, provided by and used in e.g. GrapheneOS). A SUPL proxy still depends on the big tech service provider(s) for SUPL as it merely proxies SUPL requests from mobile devices through to the proprietary SUPL services, at e.g. Google, but the mobile device is being camouflaged behind the SUPL proxy in use.&lt;/p&gt;

&lt;h3&gt;The OpenAGPS Teaser&lt;/h3&gt;

&lt;p&gt;OpenAGPS, on the contrary, will be a fully independent implementation from proprietary service providers, and it will refrain from collecting and commercializing end users’ data. It will be driven by individuals of the OpenAGPS community. There will likely be one central service that the OpenAGPS project plans to host and operate (the Porygon frontend/backend, OpenAGPS&#39;s GNSS Almanach service), but except from that SUPL servers can be self-hosted by individuals, companys or other communities. The requesting mobile devices&#39; IDs will be hidden from the Porygon server (like with existing SUPL proxy implementations), so that the only centrally operated component (the Porygon Almanach server) does not know who is requesting what geo position information (and thus cannot collect such data, neither derive info about where requesting devices are located).&lt;/p&gt;

&lt;p&gt;In addition, with a large OpenAGPS community, it is imaginable (in theory) that there will also be multiple central Almanach servers available on the internet (with parallel networks of base stations attached to each GNSS Almanach server).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://openagps.net/docs/&quot;&gt;Checkout the OpenAGPS architecture schematics and our website/documentation to learn more.&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;Collecting Satellite Data&lt;/h3&gt;

&lt;p&gt;The OpenAGPS project is not simply a software that admins/users can install, it needs kind of a huge and global community to operate/host/house its base station network.&lt;/p&gt;

&lt;p&gt;The challenge with providing a community-driven AGPS service on the internet is that up-to-date (real-time!) GNSS/GPS satellite position data is not available for free download. Almanach data can be obtained per region from various organisations, but then their datasets are often days to weeks old, thus too outdated. GNSS/GPS satellites are not geo-stationary, they circulate around the planet. Their position is dependent on the current date-time. A globally spanning network of GNSS/GPS base stations will do the trick here. We will need a community that harvests the needed satellite data in real time and makes it available through the Porygon Almanach server to all OpenAGPS users.&lt;/p&gt;

&lt;p&gt;The OpenAGPS project will depend on at least one community member every ~40-50 km² to operate a so-called OpenAGPS base station: These base stations are stationary, need to run 24/7, and they will harvest GNSS/GPS statellite data information from the satellites above in real-time and share this data with the (central) Porygon server, continuously. The Porygon server will create a timestamp-dependent &quot;map&quot; of all seen satellites and extrapolate locations between base stations&#39; Almanach data updates.&lt;/p&gt;

&lt;h3&gt;Help making OpenAGPS a Success: Host a Base Station&lt;/h3&gt;

&lt;p&gt;To make OpenAGPS a success, we need volunteers who are willing to host (actually: house) an OpenAGPS base station at their home or work place (or both). Users will only be able to use their self-hosted OpenAGPS SUPL server with their mobile devices (instead of e.g. Google SUPL), if we manage to establish sufficient coverage with those base stations in the area of interest, so that the OpenAGPS Almanach will get populated with sufficient satellite position data.&lt;/p&gt;

&lt;p&gt;If you&#39;d like to host/house such a base station, please &lt;a href=&quot;https://openagps.net/community/&quot;&gt;get in touch&lt;/a&gt; and &lt;a href=&quot;https://openagps.net/docs/base-stations/&quot;&gt;check the docs&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;Support this project by Co-Funding it&lt;/h3&gt;

&lt;p&gt;If you realize that you have an interest in this project and would like to improve your level of digital sovereignty in your government, organization, at your home, etc. then consider sending financial support to the project. If you want to support us, please get in touch with Raoul Kramer at &lt;a href=&quot;https://betabreak.net&quot;&gt;BetaBreak&lt;/a&gt; or Mike Gabriel at &lt;a href=&quot;https://freiesoftware.gmbh&quot;&gt;Fre(i)e Software GmbH&lt;/a&gt;. If you are a software developer and would like to contribute to OpenAGPS, also get in touch and let us meet at &lt;a href=&quot;https://fosdem.org&quot;&gt;FOSDEM 2027&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;Credits&lt;/h3&gt;

&lt;p&gt;A huge thanks to the NLnet Foundation for funding this project&#39;s bootstrap phase. Follow-up funding has been applied for, so please keep fingers crossed!&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-07T09:23:42+00:00</dc:date>
	<dc:creator>sunweaver</dc:creator>
</item> 
<item rdf:about="https://blog.einval.com/2026/11/06#Cambridge-2026-hacking">
	<title>Steve McIntyre: Geeks hacking in Cambridge...</title>
	<link>https://blog.einval.com/2026/11/06#Cambridge-2026-hacking</link>
     <content:encoded>&lt;p&gt;We&#39;re at the &lt;a href=&quot;http://www.arm.com/&quot;&gt;Arm&lt;/a&gt; office in
Cambridge for fun conversations and Debian hacking, as part of this
year&#39;s mini-DebConf. Here&#39;s some geek pron... :-)&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;Geeks!&quot; src=&quot;https://www.einval.com/~steve/images/miniconf2026-2.jpg&quot; /&gt;&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;More geeks!&quot; src=&quot;https://www.einval.com/~steve/images/miniconf2026-3.jpg&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Massive thanks to the Arm folks for making us welcome: Steve Capper
  and &lt;strong&gt;especially&lt;/strong&gt; Charlie Dixon for going above and
  beyond to set things up for us!&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;Cakes!&quot; src=&quot;https://www.einval.com/~steve/images/miniconf2026-1.jpg&quot; /&gt;&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-06T15:32:00+00:00</dc:date>
	<dc:creator>Steve McIntyre</dc:creator>
</item> 
<item rdf:about="http://www.luffy.cx/en/blog/2026-bunny-geodns.html">
	<title>Vincent Bernat: Scriptable GeoDNS: leaving AWS for Bunny</title>
	<link>https://vincent.bernat.ch/en/blog/2026-bunny-geodns</link>
     <content:encoded>&lt;p&gt;To optimize the performance metrics of this blog, I relied on &lt;em&gt;Amazon
CloudFront&lt;/em&gt; to serve the assets,&lt;sup id=&quot;fnref:cloudfront&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:cloudfront&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; and &lt;em&gt;RouteÂ 53&lt;/em&gt; for the geo-aware
DNS&lt;sup id=&quot;fnref:route53&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:route53&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; to direct readers to the closest host serving the content. But
Route 53 is expensive: &lt;a href=&quot;https://aws.amazon.com/route53/pricing/&quot; title=&quot;Amazon Route 53 pricing&quot;&gt;US$0.50 per zone per month, US$0.70 per million
geolocation queries, and US$0.75 per healthcheck per month&lt;/a&gt;,
plus &lt;a href=&quot;https://aws.amazon.com/kms/pricing/&quot; title=&quot;AWS Key Management Service pricing&quot;&gt;US$1 per month for the KMS key&lt;/a&gt; needed to sign zones with
DNSSEC. When I discovered that Bunny DNS is &lt;a href=&quot;https://bunny.net/blog/were-making-bunny-dns-free/&quot; title=&quot;Weâ€™re making Bunny DNS free&quot;&gt;almost free&lt;/a&gt; for up to 500
domains and features scriptable answers, I made the jump! Plus, it&#39;s a European
company based in Slovenia.&lt;/p&gt;
&lt;div class=&quot;toc&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#bunny-cdn&quot;&gt;Bunny CDN&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#bunny-dns&quot;&gt;Bunny DNS&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#the-https-record-solution&quot;&gt;The HTTPS record solution&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#the-hybrid-solution&quot;&gt;The hybrid solution&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#acme-dns-with-hickory-dns&quot;&gt;ACME DNS with Hickory DNS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id=&quot;bunny-cdn&quot;&gt;Bunny &lt;abbr title=&quot;Content Distribution Network&quot;&gt;CDN&lt;/abbr&gt;&lt;/h1&gt;
&lt;p&gt;&lt;a href=&quot;https://bunny.net/&quot; title=&quot;bunny.net: The Global Edge Platform that truly Hops&quot;&gt;&lt;em&gt;Bunny.net&lt;/em&gt;&lt;/a&gt; started as &lt;a href=&quot;https://bunny.net/our-story/&quot; title=&quot;Story of a small company disrupting the CDN market!&quot;&gt;BunnyCDN in 2015&lt;/a&gt;. They added &lt;a href=&quot;https://bunny.net/blog/bunnycdn-is-now-ipv6-enabled/&quot; title=&quot;BunnyCDN is Now IPv6 Enabled&quot;&gt;IPv6
support in 2017&lt;/a&gt;. Switching was uneventful. I don&#39;t bring a custom domain: I
serve the content from the &lt;code&gt;b-cdn.net&lt;/code&gt; domain. As I depend on content
negotiation to &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2021-webp-avif-nginx&quot; title=&quot;Serving WebP &amp;amp; AVIF images with Nginx&quot;&gt;serve AVIF and WebP images&lt;/a&gt;, I configure the &lt;abbr title=&quot;Content Distribution Network&quot;&gt;CDN&lt;/abbr&gt; to &lt;a href=&quot;https://bunny.net/docs/cdn/vary-cache&quot; title=&quot;Vary Cache on bunny.net documentation&quot;&gt;cache
each image format separately&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I &lt;a href=&quot;https://github.com/vincentbernat/cdktf-take1/blob/8950deb049198982b595f864b2a53517e63717e3/luffy/bunnycdn.ts#L31&quot; title=&quot;cdktf-take1/luffy/bunnycdn.ts at main&quot;&gt;disable logging&lt;/a&gt; to avoid collecting personal
information. While the &lt;a href=&quot;https://bunny.net/gdpr/&quot; title=&quot;General Data Protection Regulation (GDPR) for bunny.net&quot;&gt;bunny.net GDPR page&lt;/a&gt; promises they anonymize data, it
is unclear what CloudFront keeps in its own logs when logging is disabled.&lt;/p&gt;
&lt;p&gt;The only downside of the &lt;em&gt;bunny.net&lt;/em&gt; &lt;abbr title=&quot;Content Distribution Network&quot;&gt;CDN&lt;/abbr&gt; offering is the lack of HTTP/3. I asked
their support: two minutes later, they answered they are working on it but have
no &lt;abbr title=&quot;Estimated Time of Arrival&quot;&gt;ETA&lt;/abbr&gt; to share.&lt;/p&gt;
&lt;h1 id=&quot;bunny-dns&quot;&gt;Bunny DNS&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;Bunny.net&lt;/em&gt; introduced their &lt;a href=&quot;https://bunny.net/blog/transforming-internet-routing-introducing-bunny-dns/&quot; title=&quot;We&#39;re transforming internet routing: Bunny DNS!&quot;&gt;DNS offering in 2022&lt;/a&gt; and recently reduced its
cost &lt;a href=&quot;https://bunny.net/blog/were-making-bunny-dns-free/&quot; title=&quot;Weâ€™re making Bunny DNS free&quot;&gt;to almost zero&lt;/a&gt;. They support &lt;a href=&quot;https://bunny.net/docs/dns/records#geographic-routing&quot; title=&quot;DNS Records on bunny.net documentation&quot;&gt;geographical routing&lt;/a&gt;, but a
very cool feature is the &lt;a href=&quot;https://bunny.net/docs/dns/scriptable/introduction&quot; title=&quot;Scriptable DNS on bunny.net documentation&quot;&gt;scriptable DNS&lt;/a&gt;: it runs a piece of user-supplied
JavaScript on each query to compute the answer.&lt;/p&gt;
&lt;p&gt;I run seven small NixOS virtual machines to host this blog around the world:
Paris, Nuremberg, Ashburn, Singapore, San Jose, SÃ£o Paulo, and Sydney. Bunny&#39;s
scriptable DNS lets me return the IP addresses of the &lt;strong&gt;two nearest servers&lt;/strong&gt;.
The browser falls back to the second server if the first one is down.&lt;/p&gt;
&lt;div class=&quot;language-javascript codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;servers&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ipv4&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;45.90.160.60&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ipv6&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;2a0c:8881:5:100::1&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;latitude&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;48.88&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;longitude&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;2.22&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;cm&quot;&gt;/* [â€¦] */&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ipv4&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;139.180.162.114&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ipv6&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;2001:19f0:5800:1855:5400:6ff:fef0:4c0a&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;latitude&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;33.87&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;longitude&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;151.21&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;];&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;families&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;ipv4&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;ipv6&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;records&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ARecord&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AaaaRecord&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;};&lt;/span&gt;

&lt;span class=&quot;k&quot;&gt;export&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;default&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;handleQuery&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;query&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;String&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;query&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;request&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;queryType&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;toUpperCase&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;();&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;family&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;families&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;];&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;family&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[];&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Get user location&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;query&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;request&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;geoLocation&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Build a list of candidates&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;let&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;servers&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;family&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;latitude&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;longitude&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Select the two closest alive servers&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[];&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;length&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;RoutingEngine&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getClosestServer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;push&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Return their IP addresses&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;records&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;](&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;3600&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;));&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The above script relies on the
&lt;a href=&quot;https://bunny.net/docs/dns/scriptable/helper-objects#routingengine-getclosestserver-servers-array%3Cserver%3E-location-geolocation-onlineonly-bool-=-false-applyweight-bool-=-true--server&quot; title=&quot;Helper Objects on bunny.net documentation&quot;&gt;&lt;code&gt;RoutingEngine.getClosestServer()&lt;/code&gt;&lt;/a&gt; helper, which returns the
closest alive&lt;sup id=&quot;fnref:alive&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:alive&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; server to the user.&lt;sup id=&quot;fnref:user&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:user&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; Thanks to &lt;a href=&quot;https://doggo.mrkaran.dev/&quot; title=&quot;Doggo DNS&quot;&gt;Doggo&lt;/a&gt;, we can
check it works as expected, at least for &lt;code&gt;A&lt;/code&gt;:&lt;sup id=&quot;fnref:a&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:a&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;doggo&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--gp-from&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Amsterdam&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;A&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;vincent.bernat.ch
&lt;span class=&quot;go&quot;&gt;LOCATION          NAME                TYPE  TTL    ADDRESS&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Amsterdam, NL&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  45.90.160.60&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  116.203.18.48&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;doggo&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--gp-from&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Texas&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;A&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;vincent.bernat.ch
&lt;span class=&quot;go&quot;&gt;LOCATION          NAME                TYPE  TTL    ADDRESS&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Houston (TX), US&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  5.161.44.145&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  149.28.219.155&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The most annoying drawback of this method is that a user from Buenos Aires gets
both SÃ£o Paulo (1000 mi, 30 ms &lt;abbr title=&quot;Round Trip Time&quot;&gt;RTT&lt;/abbr&gt;) and Ashburn (5200 mi, 140 ms &lt;abbr title=&quot;Round Trip Time&quot;&gt;RTT&lt;/abbr&gt;). Most
resolvers randomize the order, so the user may pull the web page from Ashburn.
We could return only the nearest serverâ€”and swap the scripted record with the
built-in geographic routing instead. But if the server becomes unavailable, the
browser has no alternative until the DNS cache expires. It leaves a short window
of unavailability, even with a short &lt;abbr title=&quot;Time To Live&quot;&gt;TTL&lt;/abbr&gt;.&lt;/p&gt;
&lt;h2 id=&quot;the-https-record-solution&quot;&gt;The HTTPS record solution&lt;/h2&gt;
&lt;p&gt;The &lt;a href=&quot;https://kalfeher.com/https-records-simple/&quot; title=&quot;Simple HTTPS Records&quot;&gt;HTTPS DNS record&lt;/a&gt;, defined in &lt;a href=&quot;https://www.rfc-editor.org/info/rfc9460&quot; title=&quot;RFC 9460: Service Binding and Parameter Specification via the DNS (SVCB and HTTPS Resource Records)&quot;&gt;RFC 9460&lt;/a&gt;, solves both the availability
and the latency issues. Modern browsers query this record to get additional
information to reach an HTTP server, including an alternative port and the
application layer protocolâ€”HTTP/2 or HTTP/3. Each record has a priority. We
can ask browsers to contact the nearest server first and fall back to the next
one if the first is unavailable:&lt;/p&gt;
&lt;div class=&quot;language-zone codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;HTTPS&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;first.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;alpn=&quot;h3,h2&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;HTTPS&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;second.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;alpn=&quot;h3,h2&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;HTTPS&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;alpn=&quot;h3,h2&quot;&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;; Bunny DNS must provide the two closest servers as &quot;first.geo&quot;&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; and &quot;second.geo&quot; with geographic or latency routing.&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;first.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;45.90.160.60&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;first.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;2a0c:8881:5:100::1&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;second.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;116.203.18.48&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;second.geo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;2a01:4f8:1c0c:5eb5::1&lt;/span&gt;

&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;45.90.160.60&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;A&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;116.203.18.48&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;2a0c:8881:5:100::1&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;AAAA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;2a01:4f8:1c0c:5eb5::1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This looks like the ideal solution! Unfortunately, Chrome &lt;a href=&quot;https://issues.chromium.org/issues/40257146&quot; title=&quot;Fully implement HTTPS-RR [40257146]&quot;&gt;ignores any record
whose target is notÂ &lt;code&gt;.&lt;/code&gt;&lt;/a&gt;, hence the last record at priority 3.
Moreover, unlike with a &lt;code&gt;CNAME&lt;/code&gt;, Bunny DNS does not return the IP addresses for
&lt;code&gt;first.geo&lt;/code&gt; and &lt;code&gt;second.geo&lt;/code&gt; in the additional section. The resolver needs to
send a first request to get the &lt;code&gt;HTTPS&lt;/code&gt; record, and a second to resolve
&lt;code&gt;first.geo&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;HTTPS records are &lt;a href=&quot;https://www.netmeister.org/blog/https-caniuse.html&quot; title=&quot;Can I use HTTPS RRs?&quot;&gt;still too new&lt;/a&gt; for this use case. Back to the drawing board! ðŸ“�&lt;/p&gt;
&lt;h2 id=&quot;the-hybrid-solution&quot;&gt;The hybrid solution&lt;/h2&gt;
&lt;p&gt;As a compromise, the script returns the two nearest servers if they are at a
similar distance from the user. Otherwise, it returns only the nearest one with
a lower &lt;abbr title=&quot;Time To Live&quot;&gt;TTL&lt;/abbr&gt; of 2 minutes.&lt;/p&gt;
&lt;div class=&quot;language-javascript codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;export&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;default&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;handleQuery&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;query&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;query&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;request&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;geoLocation&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;let&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;servers&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ipv4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;latitude&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;longitude&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Select the two closest servers&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[];&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;length&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;RoutingEngine&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;getClosestServer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;push&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;candidates&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;filter&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Compute the distance to the user for each of them&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;const&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;first&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;second&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;GeoDistance&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;calculate&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// If the second one is at twice the distance and at more than 1000 miles&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// from the first, return only the first one with a TTL of 2 minutes.&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;second&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;first&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;second&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;first&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;1000&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ARecord&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;].&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;120&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)];&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// Otherwise, return both with a TTL of 1 hour.&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;selected&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;((&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ow&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ARecord&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mf&quot;&gt;3600&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;));&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;We can check it with &lt;em&gt;Doggo&lt;/em&gt;. From Chicago, we get only the Ashburn server
with a &lt;abbr title=&quot;Time To Live&quot;&gt;TTL&lt;/abbr&gt; of 2 minutes, while from Mexico, we get both Ashburn and San Jose.&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;doggo&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--gp-from&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Chicago&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;A&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;vincent.bernat.ch
&lt;span class=&quot;go&quot;&gt;LOCATION          NAME                TYPE  TTL    ADDRESS&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Chicago (IL), US&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     120s   5.161.44.145&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;doggo&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--gp-from&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Mexico&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;A&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;vincent.bernat.ch
&lt;span class=&quot;go&quot;&gt;LOCATION          NAME                TYPE  TTL    ADDRESS&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Queretaro, MX&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  5.161.44.145&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;                  vincent.bernat.ch.  A     3600s  149.28.219.155&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;doggo&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--reverse&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;5&lt;/span&gt;.161.44.145&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;149&lt;/span&gt;.28.219.155
&lt;span class=&quot;go&quot;&gt;NAME                          TYPE  TTL    ADDRESS&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;145.44.161.5.in-addr.arpa.    PTR   7187s  web05.luffy.cx.&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;155.219.28.149.in-addr.arpa.  PTR   3600s  web07.luffy.cx.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class=&quot;admonition when-rss&quot;&gt;
&lt;p class=&quot;admonition-title&quot;&gt;Note&lt;/p&gt;
&lt;p&gt;On the &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2026-bunny-geodns&quot;&gt;live page&lt;/a&gt;, the map below is interactive: point at a
location to get the DNS answer, or disable servers to see how the answers
change.&lt;/p&gt;
&lt;/div&gt;


&lt;figure class=&quot;lf-fullbleed&quot; id=&quot;lf1-map&quot;&gt;&lt;div class=&quot;lf-media-outer&quot; style=&quot;width: 1000px;&quot;&gt;&lt;span class=&quot;lf-media-inner&quot;&gt;&lt;img alt=&quot;Map of the servers answered by Bunny DNS for each location&quot; class=&quot;lf-media&quot; height=&quot;440&quot; src=&quot;https://media-bernat-ch.b-cdn.net/images/bunny-dns-map.05f55a00ae040e.svg&quot; width=&quot;1000&quot; /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/figure&gt;
&lt;p&gt;The &lt;a href=&quot;https://github.com/vincentbernat/cdktf-take1/blob/97d41f669361eb49eaefe0fb2e0f78836dbc92f3/luffy/dns.ts#L448-L512&quot;&gt;complete code&lt;/a&gt; is a bit more complex. It works around
&lt;code&gt;RoutingEngine.getClosestServer()&lt;/code&gt; supporting only IPv4, and it handles the case
where there are not enough alive servers to build an answer.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Bunny.net&lt;/em&gt; has a comprehensive &lt;a href=&quot;https://search.opentofu.org/provider/bunnyway/bunnynet/latest&quot; title=&quot;bunnynet Terraform Provider&quot;&gt;Terraform provider&lt;/a&gt;. I leverage &lt;a href=&quot;https://cdktn.io/&quot; title=&quot;CDK Terrain: Open-Source CDK for Terraform &amp;amp; OpenTofu&quot;&gt;CDK
Terrain&lt;/a&gt; to build the target state in TypeScript and &lt;a href=&quot;https://opentofu.org/&quot; title=&quot;OpenTofu&quot;&gt;OpenTofu&lt;/a&gt; to deploy
it. Have a look at &quot;&lt;a href=&quot;https://vincent.bernat.ch/en/blog/2022-cdktf-nixos&quot; title=&quot;Managing infrastructure with Terraform, CDKTF, and NixOS&quot;&gt;Managing infrastructure with Terraform, CDKTF, and
NixOS&lt;/a&gt;&quot; for more details.&lt;sup id=&quot;fnref:cdktn&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:cdktn&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;h1 id=&quot;acme-dns-with-hickory-dns&quot;&gt;ACME DNS with Hickory DNS&lt;/h1&gt;
&lt;p&gt;Route 53 covered one additional use case of mine: serving &lt;code&gt;acme.luffy.cx&lt;/code&gt; to
solve &lt;a href=&quot;https://letsencrypt.org/docs/challenge-types/#dns-01-challenge&quot; title=&quot;DNS-01 challenge&quot;&gt;DNS-01 ACME challenges&lt;/a&gt;. Unlike Route 53, Bunny DNS cannot
restrict access to a single zone with a fine-grained access policy. As this
usage requires neither high availability nor low latency, I replaced Route 53
with &lt;a href=&quot;https://hickory-dns.org/&quot; title=&quot;Hickory DNS&quot;&gt;Hickory&lt;/a&gt;, a memory-safe DNS server written in Rust. It supports
&lt;a href=&quot;https://hickory-dns.org/config/#signing-zones-with-dnssec&quot; title=&quot;Hickory DNS: Configuring the server, DNSSEC&quot;&gt;automatic DNSSEC signatures&lt;/a&gt; and &lt;a href=&quot;https://hickory-dns.org/config/#dynamic-updates-with-sqlite&quot; title=&quot;Hickory DNS: Configuring the server, dynamic updates&quot;&gt;dynamic updates&lt;/a&gt;. Its
configuration is simple:&lt;/p&gt;
&lt;div class=&quot;language-toml codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;[[zones]]&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;zone&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;acme.luffy.cx&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;zone_type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Primary&quot;&lt;/span&gt;

&lt;span class=&quot;k&quot;&gt;[zones.stores]&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;allow_update&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;sqlite&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;journal_path&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;acme.luffy.cx.sqlite&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;zone_path&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;acme.luffy.cx.zone&quot;&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;# Private key to sign the zone with DNSSEC. Generated with:&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;#  openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;[[zones.keys]]&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;algorithm&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;ECDSAP256SHA256&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;key_path&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;/etc/hickory-dns.acme.luffy.cx.pem&quot;&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;# TSIG key to sign zone updates. Generated with:&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;#  openssl rand 32&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;[[zones.stores.tsig_keys]]&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;algorithm&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;hmac-sha256&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;key_file&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;/etc/hickory-dns.acme.luffy.cx.update.acme.luffy.cx.tsig&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;update.acme.luffy.cx.&quot;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The &lt;a href=&quot;https://github.com/vincentbernat/nixops-take1/blob/8f8bfbab9d04ee07471d916ab96ef4b3eca5f781/tags/dns.nix#L7-L17&quot; title=&quot;nixops-take1/tags/dns.nix&quot;&gt;provided zone file&lt;/a&gt; only seeds the database on first start. I delegate
DNS-01 challenges to this zone with &lt;code&gt;CNAME&lt;/code&gt; records:&lt;/p&gt;
&lt;div class=&quot;language-zone codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;_acme-challenge&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;CNAME&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;bernat.ch.acme.luffy.cx.&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;_acme-challenge.vincent&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;CNAME&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;vincent.bernat.ch.acme.luffy.cx.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;https://go-acme.github.io/lego/index.html&quot; title=&quot;Lego: ACME client and library written in Go&quot;&gt;Lego&lt;/a&gt;, the ACME client I use to get certificates from &lt;a href=&quot;https://letsencrypt.org/&quot; title=&quot;Let&#39;s Encrypt&quot;&gt;Let&#39;s Encrypt&lt;/a&gt;,
answers the DNS-01 challenge by pushing entries with the &lt;a href=&quot;https://www.rfc-editor.org/info/rfc2136&quot; title=&quot;RFC 2136: Dynamic Updates in the Domain Name System (DNS UPDATE)&quot;&gt;DNS UPDATE protocol&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Unfortunately, Bunny DNS cannot publish a &lt;code&gt;DS&lt;/code&gt; record in a zone.&lt;sup id=&quot;fnref:ds&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:ds&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; I need one
to secure the &lt;code&gt;acme.luffy.cx&lt;/code&gt; zone and certificate delivery. Therefore, I host
the &lt;code&gt;luffy.cx&lt;/code&gt; zone on &lt;a href=&quot;https://desec.io/&quot; title=&quot;deSEC: Free Secure DNS&quot;&gt;deSEC&lt;/a&gt;,&lt;sup id=&quot;fnref:desec&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:desec&quot;&gt;8&lt;/a&gt;&lt;/sup&gt; a free DNS hosting service run by a
non-profit organization based in Berlin. I derive the &lt;code&gt;DS&lt;/code&gt; record to publish in
&lt;code&gt;luffy.cx&lt;/code&gt; from the &lt;code&gt;DNSKEY&lt;/code&gt; record of &lt;code&gt;acme.luffy.cx&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;ZONE&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;acme.luffy.cx
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;dig&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;@nsupdate.luffy.cx&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$ZONE&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;DNSKEY&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;+noall&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;+answer&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;dnssec-dsfromkey&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-a&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;SHA-256&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-f&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$ZONE&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;acme.luffy.cx. IN DS 55628 13 2 4946E7508F20E15F1B577A231104B029A1A82E04699A80CD46ADCE31227EE81F&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;hr /&gt;
&lt;p&gt;Overall, I am quite happy with the switch to &lt;em&gt;bunny.net&lt;/em&gt;. There are still a few
rough edges, like the inability to publish &lt;code&gt;DS&lt;/code&gt; records, the lack of HTTP/3, and
the IPv4-only &lt;code&gt;RoutingEngine.getClosestServer()&lt;/code&gt; helper. The bill went from US$5
per month to US$1. So far, performance is &lt;a href=&quot;https://cruxvis.withgoogle.com/#/?view=loadingperf&amp;amp;url=https%3A%2F%2Fvincent.bernat.ch&amp;amp;identifier=origin&amp;amp;device=ALL&amp;amp;periodStart=0&amp;amp;periodEnd=-1&amp;amp;display=p75s&quot; title=&quot;CrUX Vis for vincent.bernat.ch&quot;&gt;on par with AWS&lt;/a&gt;, but I
only finalized the current setup, including the server in Sydney, in late
October. I need a bit more time to gather more data, and I&#39;ll post a short update. ðŸ“ˆ&lt;/p&gt;
&lt;div class=&quot;admonition&quot;&gt;
&lt;p class=&quot;admonition-title&quot;&gt;Update (2026-11)&lt;/p&gt;
&lt;p&gt;This post was briefly discussed on &lt;a href=&quot;https://news.ycombinator.com/item?id=50394292&quot;&gt;Hacker News&lt;/a&gt; and &lt;a href=&quot;https://lobste.rs/s/jsvlfm/scriptable_geodns_leaving_aws_for_bunny&quot;&gt;Lobsters&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;footnote&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:cloudfront&quot;&gt;
&lt;p&gt;I had been hosting media assets on CloudFront since 2011.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:cloudfront&quot; title=&quot;Jump back to footnote 1 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:route53&quot;&gt;
&lt;p&gt;Route 53 had served &lt;code&gt;bernat.ch&lt;/code&gt; since December 2021. I didn&#39;t use healthchecks as
they were too expensive. I didn&#39;t host most of my zones there either, as queries
for &lt;code&gt;haproxy.debian.net&lt;/code&gt; alone would have cost me around US$10 per month.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:route53&quot; title=&quot;Jump back to footnote 2 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:alive&quot;&gt;
&lt;p&gt;A server is alive if it answers an ICMP ping. The &lt;a href=&quot;https://bunny.net/docs/dns/scriptable/helper-objects&quot; title=&quot;Helper Objects on bunny.net documentation&quot;&gt;&lt;em&gt;bunny.net&lt;/em&gt;
documentation&lt;/a&gt; gives more details about the checks.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:alive&quot; title=&quot;Jump back to footnote 3 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:user&quot;&gt;
&lt;p&gt;The user queries Bunny DNS through a resolver. Usually, either the resolver
is close to the user, or it exposes the user&#39;s subnet through &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2014-bind-edns0-client-subnet&quot; title=&quot;EDNS client subnet support for BIND&quot;&gt;EDNS client
subnet&lt;/a&gt;.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:user&quot; title=&quot;Jump back to footnote 4 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:a&quot;&gt;
&lt;p&gt;Don&#39;t use this script as is: &lt;code&gt;RoutingEngine.getClosestServer()&lt;/code&gt; only works
with IPv4. The &lt;a href=&quot;https://github.com/vincentbernat/cdktf-take1/blob/97d41f669361eb49eaefe0fb2e0f78836dbc92f3/luffy/dns.ts#L448-L512&quot;&gt;final script&lt;/a&gt; works around this limitation.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:a&quot; title=&quot;Jump back to footnote 5 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:cdktn&quot;&gt;
&lt;p&gt;The article is a bit outdated. &lt;em&gt;CDK Terrain&lt;/em&gt; replaces &lt;em&gt;CDKTF&lt;/em&gt;, &lt;em&gt;OpenTofu&lt;/em&gt;
replaces &lt;em&gt;Terraform&lt;/em&gt;, and I now use &lt;a href=&quot;https://colmena.cli.rs/unstable/&quot; title=&quot;Colmena documentation&quot;&gt;Colmena&lt;/a&gt; instead of &lt;em&gt;NixOps&lt;/em&gt;.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:cdktn&quot; title=&quot;Jump back to footnote 6 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:ds&quot;&gt;
&lt;p&gt;I contacted &lt;em&gt;bunny.net&lt;/em&gt; support to ask when they will support publishing a
&lt;code&gt;DS&lt;/code&gt; record and got an answer seven minutes later: they don&#39;t know. ðŸ˜­&lt;/p&gt;
&lt;p&gt;This is a bummer, as they support automatic &lt;code&gt;CDS&lt;/code&gt;, a DNS record to advertise
a &lt;code&gt;DS&lt;/code&gt; record to the parent zone. They handle one side of the delegation,
not the other.&lt;/p&gt;
&lt;p&gt;I also reported a bug with the proof of non-existence, and they replied a
day later with a detailed answer.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:ds&quot; title=&quot;Jump back to footnote 7 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:desec&quot;&gt;
&lt;p&gt;Why not use deSEC for ACME challenges? You can &lt;a href=&quot;https://desec.readthedocs.io/en/latest/auth/tokens.html#token-scoping-policies&quot; title=&quot;Manage Tokens on deSEC DNS API documentation&quot;&gt;limit its tokens to a
single RRset&lt;/a&gt;. I could say I prefer to self-host, but the
truth is I only discovered this while writing this article.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:desec&quot; title=&quot;Jump back to footnote 8 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-11-06T13:29:34+00:00</dc:date>
	<dc:creator>Vincent Bernat</dc:creator>
</item> 
<item rdf:about="tag:blogger.com,1999:blog-8085113335874848981.post-7235150088621498096">
	<title>Andrew Cater: Arm Cambridge - pre mini-Debconf days 20261105</title>
	<link>http://flosslinuxblog.blogspot.com/2026/11/arm-cambridge-pre-mini-debconf-days.html</link>
     <content:encoded>&lt;p&gt; At Arm in Cambridge for two hackathon-type days before the main mini-Debconf on Saturday and Sunday. A roomful of people, mostly very quiet this morning but with people gradually arriving and greeting each other.&lt;br /&gt;&lt;br /&gt;Just had an excellent lunch. Arm are excelling themselves, as ever. With particular thanks to Charlie Dixon who has arranged excellent facilities for us all and to Liv for the catering provision. Other old friends here have also helped as ever.&lt;br /&gt;&lt;br /&gt;This sort of thing is ideal for cross-fertilization of experience, ideas - the side conversations where you realise that three people are converging to a consensus of discussion from three different starting points. It&#39;s fun and intensely interesting and it&#39;s the sort of thing that keeps me running Debian - and trusting the colleagues behind it because I&#39;ve seen them here. &lt;br /&gt;&lt;br /&gt;Face and name recognition is sometimes at least as valuable as rockstar coding and the social element and shared history keeps us pulling together.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-06T12:15:42+00:00</dc:date>
	<dc:creator>Andrew Cater</dc:creator>
</item> 
<item rdf:about="tag:blogger.com,1999:blog-8085113335874848981.post-5956643767503841992">
	<title>Andrew Cater: Arm Cambridge - pre-mini-Debconf days 20261106</title>
	<link>http://flosslinuxblog.blogspot.com/2026/11/arm-cambridge-pre-mini-debconf-days_01985132966.html</link>
     <content:encoded>&lt;p&gt;Another interesting morning so far. Lots of interesting side conversations (and, of course, people using IRC to talk to the person next to them as is traditional).&lt;br /&gt;&lt;br /&gt;It&#39;s nice to hear somebody ask a question and be told, effectively  &quot;Oh, you need to talk to XX - they&#39;re sitting over there&quot; or &quot; I need to talk to someone about X, Y and Z - and they all resolve to you&quot;.&lt;br /&gt;&lt;br /&gt;Especially noticeable in  this room, perhaps, but it does point to the fact that many things in Debian ultimately  resolve to one or two people. There are a lot of people each with multiple areas of expertise which overlap - and then a few individuals who are essential as points of reference for *everyone* else.&lt;br /&gt;&lt;br /&gt;Thanks again to Arm for hosting us, for excellent food, coffee and facilities which make this _so much easier_ as a working environment for these days.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-06T12:14:36+00:00</dc:date>
	<dc:creator>Andrew Cater</dc:creator>
</item> 
<item rdf:about="https://www.decadent.org.uk/ben/blog/2026/11/06/foss-activity-in-october-2026">
	<title>Ben Hutchings: FOSS activity in October 2026</title>
	<link>https://www.decadent.org.uk/ben/blog/2026/11/06/foss-activity-in-october-2026.html</link>
     <content:encoded>&lt;ul&gt;
  &lt;li&gt;Debian packages:
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/firmware-nonfree&quot;&gt;firmware-nonfree&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/src:firmware-nonfree&quot;&gt;Bugs&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;replied to &lt;a href=&quot;https://bugs.debian.org/1150535&quot;&gt;#1150535: firmware-amd-graphics: Raphael iGPU SMU fails on resume from s2idle with 20260810 blobs, works with 20240318&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/firmware-nonfree/news/&quot;&gt;Uploads&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;uploaded version 20260916-1~bpo13+1 to trixie-backports&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/kernel-sec&quot;&gt;kernel-sec&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;opened &lt;a href=&quot;https://salsa.debian.org/kernel-team/kernel-sec/-/merge_requests/32&quot;&gt;!32: Handle references to pending commits in vulns.git&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;opened &lt;a href=&quot;https://salsa.debian.org/kernel-team/kernel-sec/-/merge_requests/33&quot;&gt;!33: Add 5.10-bullseye-elts branch&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/kup&quot;&gt;kup&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;reviewed &lt;a href=&quot;https://salsa.debian.org/kernel-team/kup/-/merge_requests/3&quot;&gt;!3: New upstream version&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux&quot;&gt;linux&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/src:linux&quot;&gt;Bugs&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;replied to &lt;a href=&quot;https://bugs.debian.org/1149564&quot;&gt;#1149564: linux-image-6.12.111+deb13-amd64: 6.12.111-1 regression crash bnxt_en: DMAR: DRHD: handling fault status reg 2&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;replied to &lt;a href=&quot;https://bugs.debian.org/1149641&quot;&gt;#1149641: linux: 6.12.111-1 regression: ASUS N-KEY keyboard (0b05:1866) dead, hid-asus “failed to request functions: -75”, cannot unlock LUKS root (GA401IV)&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;replied to &lt;a href=&quot;https://bugs.debian.org/1150352&quot;&gt;#1150352: linux-image-amd64: cannot upgrade from backported kernel 7.1.13 to 7.2.6&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;reviewed &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux/-/merge_requests/2067&quot;&gt;!2067: Introduce build profile for unsigned build&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;merged &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux/-/merge_requests/2115&quot;&gt;!2115: 6.1 stable updates&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux/news/&quot;&gt;Uploads&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;uploaded version 7.2.11-1~bpo13+1 to trixie-backports&lt;/li&gt;
              &lt;li&gt;uploaded version 7.2.9-1~bpo13+1 to trixie-backports&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux-6.12&quot;&gt;linux-6.12&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux-6.12/news/&quot;&gt;Uploads&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;uploaded version 6.12.111-1~deb12u1 to bookworm-security&lt;/li&gt;
              &lt;li&gt;uploaded version 6.12.113-1~deb12u1 to bookworm-security&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux-base&quot;&gt;linux-base&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;reviewed and merged &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux-base/-/merge_requests/24&quot;&gt;!24: Also accept vmlinuz.unsigned as fallback&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Mailing lists:
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-backports/&quot;&gt;debian-backports&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;replied to &lt;a href=&quot;https://lists.debian.org/bd38a315a01b810563dceabc1b185c0f31f7e4ba.camel@decadent.org.uk&quot;&gt;bpo-kernel breaks out-of-tree kernel modules (from stable)&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-kernel/&quot;&gt;debian-kernel&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;posted &lt;a href=&quot;https://lists.debian.org/2dde7cad58dd14ddb478668b56a901b117709f59.camel@decadent.org.uk&quot;&gt;Agenda items for kernel-team meeting on 2026-10-28&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/&quot;&gt;debian-lts-announce&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;posted &lt;a href=&quot;https://lists.debian.org/asI6SMnKRfm2WbWF@decadent.org.uk&quot;&gt;[SECURITY] [DLA 4817-1] linux-6.12 security update&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;posted &lt;a href=&quot;https://lists.debian.org/atonJMQjgtwKUdOl@decadent.org.uk&quot;&gt;[SECURITY] [DLA 4850-1] linux-6.12 security update&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;</content:encoded> 
	<dc:date>2026-11-06T10:48:18+00:00</dc:date>
	<dc:creator>Ben Hutchings</dc:creator>
</item> 
<item rdf:about="https://gwolf.org/2026/11/don-t-tell-anybody-but-we-have-apparently-gone-dark.html">
	<title>Gunnar Wolf: Don&#39;t tell anybody... but we have apparently gone DARK!</title>
	<link>https://gwolf.org/2026/11/don-t-tell-anybody-but-we-have-apparently-gone-dark.html</link>
     <content:encoded>&lt;p&gt;Your friendly &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;keyring-maint&lt;/code&gt; Debian team received one of the &lt;em&gt;weirdest&lt;/em&gt;
spam messages ever…&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;Weird spam from Obscura&quot; src=&quot;https://gwolf.org/files/2026-11/weird_spam.png&quot; /&gt;&lt;/p&gt;

&lt;p&gt;So, do we want to py to who-knows-whom for promoting the keyring-maint
services in a verrrrrry-dark web search site?&lt;/p&gt;

&lt;p&gt;First time I have to throw this stinky onion at you…&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;Spam!&quot; src=&quot;https://gwolf.org/files/2026-11/spammy_onion.jpg&quot; /&gt;&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-05T19:14:41+00:00</dc:date>
	<dc:creator>Gunnar Wolf</dc:creator>
</item> 
<item rdf:about="https://changelog.complete.org/?p=45047">
	<title>John Goerzen: Letter from a Kansan: “Would You Rather Be Right or Happy?”</title>
	<link>https://changelog.complete.org/archives/45047-letter-from-a-kansan-would-you-rather-be-right-or-happy</link>
     <content:encoded>&lt;p&gt;As a person that has lived in Kansas almost all my life, I have never seen such good political news for this state as we got this week.  It is a stunning rebuke of fascism from across the country.&lt;/p&gt;
&lt;p&gt;One of the many pieces of wisdom from mechanic Tom Magliozzi is this question: “Would you rather be right, or happy?”  He often asked it in the context of somebody that had just won an argument.&lt;/p&gt;
&lt;p&gt;This is my plea to all our progressive friends: remember that question, and keep it in mind carefully over the next 2 years.  We can either build on this momentum for an even bigger victory in 2028, or we can start to lose this unique coalition.&lt;/p&gt;
&lt;p&gt;Kansans spend our lives being misunderstood and forgotten.&lt;/p&gt;
&lt;p&gt;Many of us, myself included, visit large cities regularly.&lt;/p&gt;
&lt;p&gt;It is a more surprising event when someone from a large city drives down one of our dirt roads.  The kind of road that leaves your car covered in mud when you drive your daughter to school.  The kind of road that we drive on for 3 miles before we reach the nearest paved road.&lt;/p&gt;
&lt;p&gt;Statisticians label Topeka, the capital of Kansas and city of 126,000 people, as rural.&lt;/p&gt;
&lt;p&gt;The nearst town to me, 7 miles away, has a population of 600.  In winter, many people here still leave their keys in their running, unlocked cars while they run into the grocery store.  The person at the bank, the owner of the grocery store, the mechanic, the electricians, the builders, the people that run the local museum, all know my name and recognize me.  Not because I’m famous locally, but because this is normal here.  We are a community, a real one.&lt;/p&gt;
&lt;p&gt;Yet I’ve lost long-time friends, especially from the west coast, because, while I’m progressive, I still talk to Republicans.  They thought Republicans are so evil, they ought to be shunned and ostracized.&lt;/p&gt;
&lt;p&gt;It probably doesn’t compute to a San Franciscan what it means to live in a county that went 80% for Trump one time.  A county of about 10,000 people living in a space larger than Los Angeles, New York, and San Jose — combined.  (Those cities have a combined population of about 13 million, living on the same amount of land as 10,000 people do out here.)&lt;/p&gt;
&lt;p&gt;If I avoided talking to Republicans, it wouldn’t be them that would be isolated.  It would be me.&lt;/p&gt;
&lt;p&gt;Out here, many of us have lived with each other for generations.  We may go on living with them for generations.  If somebody’s car is stuck in the mud, the first person that comes by with a truck and a rope will probably pull them out.  Nobody asks who you voted for.  This is what you do for neighbors, because neighbors are humans, and next time it might be me that’s stuck in the mud.&lt;/p&gt;
&lt;p&gt;I can be as incensed as anyone else about what the fascists are doing.  I don’t have direct knowledge of how a lot of people vote.  But I take a deep breath sometimes and remind myself: these are my neighbors.  I’ve seen them go out of their way to be kind and generous with all walks of humanity.  (Yes, even whatever groups you’re imaginging to argue with me about.)&lt;/p&gt;
&lt;p&gt;This is part of how Adam Hamilton defeated Roger Marshal.  The anti-Trump sentiment wasn’t enough on its own.  Lifelong Republicans dissatisfied with how Trump handled things weren’t just going to vote for any Democrat.  They needed someone that was safe.  Someone that talked to them as humans.  Someone that respected them.&lt;/p&gt;
&lt;p&gt;Adam Hamilton went and shook hands with MAGA protestors at his events.  He told them “I want to be your senator, too.”&lt;/p&gt;
&lt;p&gt;This is how you win over the &lt;a href=&quot;https://www.motherjones.com/politics/2026/10/adam-hamilton-roger-marshall-rob-schenck-can-kansas-get-democratic-religion/&quot;&gt;most strident of Republicans&lt;/a&gt;.  Hamilton didn’t compromise his beliefs.  He invited discussion about them.&lt;/p&gt;
&lt;p&gt;I have already been seeing some progressives say things like, “Don’t cut them any slack.  Remember how many times people voted for fascism!  They need to still be ostracized.”&lt;/p&gt;
&lt;p&gt;That, folks, is the way we lose.  It is the wrong strategy everywhere.  And it is especially culturally wrong in the close-knit communities — again, actual communities where people know each other and have for years — that make up the heartland.&lt;/p&gt;
&lt;p&gt;Building relationships with people different than us is our best chance to build on this coalition.  And, isn’t that what progressive values call for?&lt;/p&gt;
&lt;p&gt;So, celebrate this victory.  Clap for all the activists that made it happen.&lt;/p&gt;
&lt;p&gt;And, before you set off to alienate your new and tentative allies, ask yourself:&lt;/p&gt;
&lt;p&gt;“Would I rather be right?  Or win again?”&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-05T06:19:28+00:00</dc:date>
	<dc:creator>John Goerzen</dc:creator>
</item> 
<item rdf:about="tag:veronneau.org,2026-11-04:/tenure.html">
	<title>Louis-Philippe Véronneau: Tenure</title>
	<link>https://veronneau.org/tenure.html</link>
     <content:encoded>&lt;p&gt;Last week, I received confirmation from my college&#39;s human resources department
I was awarded tenure. If you ever worked in the academic world, you know how
big of a deal this is.&lt;/p&gt;
&lt;p&gt;In our fast moving and ever-increasingly unstable world, it is a pretty strange
feeling to know you have a stable, well-paying job for the rest of your career.
I am truly privileged to have an occupation I greatly enjoy.&lt;/p&gt;
&lt;p&gt;Three cheers for another 30 years!&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-04T05:00:00+00:00</dc:date>
	<dc:creator>Louis-Philippe Véronneau</dc:creator>
</item> 
<item rdf:about="https://changelog.complete.org/?p=44973">
	<title>John Goerzen: Must we always use LLMs this way?</title>
	<link>https://changelog.complete.org/archives/44973-must-we-always-use-llms-this-way</link>
     <content:encoded>&lt;p&gt;As with my &lt;a href=&quot;https://changelog.complete.org/archives/44740-ai-in-debian-the-vote-proposals-and-nuance&quot;&gt;last post on AI&lt;/a&gt;, let me open with a statement:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Just because most people hold AI a certain way, doesn’t mean that we always must, either now or in the future.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;As I noted in that piece, and my &lt;a href=&quot;https://changelog.complete.org/archives/42503-artificial-intelligence-shades-of-gray&quot;&gt;shades of gray post&lt;/a&gt;, I am well aware — &lt;i&gt;and agree with&lt;/i&gt; — the notion that a lot of frontier AI models have disturbing ethical concerns that we shouldn’t dismiss, including concentration of power and wealth, environmental concerns, unethical scraping and training, the financial bubble they seem to be creating, and more.  The most poisonous of AI cheerleaders are accelerating enshittification while cutting quality all over the place.  AI slop is also a real problem, which I’ll discuss in a bit.&lt;/p&gt;
&lt;p&gt;Before I dive in, I need to mention that no AI assistance was used for writing this post, and I have been using em dashes — correctly — for years before LLMs did.  Secondly, while popular discourse seems to use “AI” and “LLM” interchangeably, the AI field is much more broad and much more old than LLMs.  I will, nonetheless, adopt the common “AI” jargon here, but be more specific when necessary to differentiate.&lt;/p&gt;
&lt;p&gt;In &lt;a href=&quot;https://shop.craphound.com/&quot;&gt;The Reverse Centaur’s Guide to Life After AI&lt;/a&gt; by Cory Doctorow, he presented two ideas I particularly want to focus on here:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The present and future of LLMs outside of the cloud-hosted frontier models&lt;/li&gt;
&lt;li&gt;What differentiates productive use of AI from slop&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The two are related, in fact.  Doctorow discussed how he never uses AI to write anything, but he sometimes uses it as an assistant to help him write.  Is that contradictory?  Not really.  He gave this example: he remembered a quote from a podcast, which he wanted to cite and attribute correctly.  But he couldn’t remember which podcast or who said it.  So he fired up &lt;a href=&quot;https://github.com/openai/whisper&quot;&gt;Whisper&lt;/a&gt;, an open-weight model you can download and run locally, even on meagre hardware.  Whisper is a speech-to-text model.  Doctorow ran likely podcast episodes (from the target range and set of podcasts he listens to) through the model, and at that point it was a regular search.  He found the quote, then went back and listened to the episode at that time spot to verify its accuracy.&lt;/p&gt;
&lt;p&gt;It would have taken so much time to do this without Whisper that he simply would not have done it otherwise.  His writing was better because of AI.  Not because AI wrote any words for him, but because it helped him find the right ideas and attributions.  He didn’t even have to trust its transcription; it pointed him at the right place, and then he could transcribe with precision.&lt;/p&gt;
&lt;p&gt;I too have used Whisper in much the same way.  A little while back, I digitized many hours of old family audio recordings going back to the 1970s.  Thanks to Whisper, which I ran locally primarily during hours of being fully solar-powered, I have a searchable index to these gems.  A person I know recently asked me if I knew any way to transcribe some old family recordings he had.  I told him I could run it through Whisper.  It wouldn’t have great punctuation, but most of the words would be there.  This meant a lot to him and his family; what I did in 2 minutes would have taken him many days (I presume he is not a fast typist as well.)&lt;/p&gt;
&lt;p&gt;So we can start by naming: &lt;b&gt;AI isn’t just chatbots, and AI can help even if it isn’t writing anything.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Doctorow goes on to ask the question: what happens after the AI bubble bursts?  I do believe it will, as &lt;a href=&quot;https://www.wheresyoured.at/&quot;&gt;Ed Zitron&lt;/a&gt; has carefully documented for us for a long time now.  The environmental damage done by frontier training and inference in the last few years will, of course, be done.  But as he points out, we’ll be left with a plethora of surprisingly-capable open weight models, a community that has made significant strides running them on low-end devices (even phones), and a massive buildup of clean energy that hopefully will be finally able to offset some polluting energy once these heavy users drop off the grid.&lt;/p&gt;
&lt;p&gt;So then what?  Will the world just throw away the likes of Whisper and Gemma?  Obviously not.  Doctorow imagines, credibly, a situation in which individuals and universities tinker with locally-run models, iterating on them and improving them with the more traditional scale of resources available to individuals and universities.  In other words, &lt;b&gt;this future sounds a lot like the earlier days of Open Source.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;As Ed Zitron has pointed out, the real costs of frontier AI have been hidden as these companies rack up fantastical losses.  When the bubble bursts, the real costs of frontier AI are likely to be high enough that CEO’s won’t be able to ignore the poor ROI.  But we’ll be left with these artifacts, these open-weight starting points, that people can use.&lt;/p&gt;
&lt;p&gt;That brings me to my central thesis: a lot of anti-AI sentiment is focused on the real downsides of the hyped uses of AI, and fails to account for the more ethical advances being made now, and likely to come in the future.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Varying quality of AI use&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;We are all familiar with AI slop.  I’ve seen it, and have an increasingly skeptical eye when I see “new” projects announced in even places as niche as a BBS community (where I see things like new terminal emulators announced, written in shockingly-poor nodejs, and such).  I’ve seen documents that take many pages to say what amounts to nothing intelligble to a human, with perfect grammar.  I’ve seen pull requests that have a description that amounts to several pages of slop.  I’ve personally seen an AI agent do things like correctly detect passing an untrusted argument to a shell, then propose a broken quoting algorithm to fix it (rather than proper sanitization and exec() or, better yet, avoiding the call altogether.)&lt;/p&gt;
&lt;p&gt;I’ve also seen AI tools very quickly and accurately identify bugs that had passed human review, even professional security reviews, for years.  I’ve seen them bring more joy to some people’s jobs by handling the more drudgery parts of the jobs.  One of my favorite podcasts, Oxide and Friends, had an episode called &lt;a href=&quot;https://www.youtube.com/watch?v=fmFt4-jjEc0&quot;&gt;Engineering Rigor in the LLM age&lt;/a&gt; and credibly described ways in which careful use of LLMs can &lt;i&gt;increase&lt;/i&gt; quality and safety.  Yes, I said increase.  (Oxide and Friends are not hype cheerleaders by any means; these are very serious people with solid technical chops, and I know some of them.)&lt;/p&gt;
&lt;p&gt;What accounts for this disconnect?&lt;/p&gt;
&lt;p&gt;We can point to many factors, but Doctorow asks a fundamental question: who is in charge?  Is it the person or the computer?  Does the AI service people, or do people service the AI?&lt;/p&gt;
&lt;p&gt;In some of the most ridiculously AI-first companies, it is very clearly the latter.  Mandates from CEOs to increase AI usage lead to perverse outcomes that sacrifice quality.  The AI is in charge.  I’ve never seen an AI be any good at design questions, and it’s no wonder than all these vibe-coded apps have the same generic feeling of crappiness.&lt;/p&gt;
&lt;p&gt;But when the AI is used pragmatically as a junior research assistant, that’s a different approach.  Its output is greeted skeptically, its actions distrusted, and it’s never asked to design something.  These are the cases where I’ve seen it make a meaningful difference.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;It’s not black-and-white&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;All this adds up to why I was opposed to the Debian proposals that would have banned LLM use.  Those votes are hard to change.  They would have left Debian in a vulnerable position of being unable to react to accurate security findings if they originated with an LLM, or left Debian unable to adopt ethical use of models.&lt;/p&gt;
&lt;p&gt;It would be akin to saying “you should never buy a PC because Windows 11 is terrible.”  I agree Windows 11 is terrible, but saying something like that is so dismissive of all those that have invested decades of their time in building something better.&lt;/p&gt;
&lt;p&gt;So, I find AI hype to be uncredible and dangerous.  I also find knee-jerk reactions to AI to be the same.  They are actually a form of capitulation: &lt;b&gt;they let the AI megacorps dictate the terms of the conversation to revolve around them&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Case study: Debian’s DFSG scanner&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;For a long time, my two biggest annoyances with Debian have been the difficulty of packaging Rust and Go packages with their long dependency trees, and how long it takes a new package to get reviewed.  About a year ago, the latter process was set on a path to reform, and it has gotten dramatically better.  It also cuts off a potential connection with someone that hasn’t yet heard of Linux.  Some people may not jump from Windows 11 (or the ChatGPTs of the world) immediately, but pretending that it’s ChatGPT or nothing does a disservice to all those that are trying to do research etchically.&lt;/p&gt;
&lt;p&gt;We should state at the outset that Debian takes compliance with the &lt;a href=&quot;https://www.debian.org/social_contract#guidelines&quot;&gt;Debian Free Software Guidelines&lt;/a&gt; (DFSG) extremely seriously.  Every new package gets a review, and these reviews often catch things that upstream repos and other distros don’t.  One common example would be a package that has a stated copyright and license, but then includes files that bear a different copyright and license.&lt;/p&gt;
&lt;p&gt;You can imagine reviewing packages at this level of detail isn’t a fun task for people, and it’s hard to find volunteers to do it.  Perhaps the answer to this should be “Debian should stop caring so much more than everyone else”, and perhaps you’re right (and perhaps you aren’t).&lt;/p&gt;
&lt;p&gt;In any case, the DFSG team that reviews this added what amounts to an LLM-backed license linter.  Its job is to produce an initial assessment that the license statements documented in debian/copyright are correct, thorough, and in compliance with DFSG.  This report was not taken to be authoritative, but was designed to help with some initial assessments.&lt;/p&gt;
&lt;p&gt;There were some predictable reactions.  People were angry that the DFSG team had added this tool without any communication about it (justifiably so, I’d say).  Many were angry just because of LLM.  People made assumptions about what kind of model it used, what kind of quality it would produce, how definitive it would be in the project.&lt;/p&gt;
&lt;p&gt;It is worth noting here that Debian is uniquely decentralized.  There is a central policy, but maintainers are free to maintain their packages how they like.  They don’t have to use a standard location for a Git repo, or even use Git.&lt;/p&gt;
&lt;p&gt;One person said essentially, “it’s fine for others to use whatever tool they want, but I shouldn’t have to be exposed to LLM slop.”  The other perspective boiled down to, “why should they keep the reports secret?  If you want to proactively fix things, or flag false positives, why not?”&lt;/p&gt;
&lt;p&gt;As Andreas Tille wrote, “I have read the LLM reviews carefully, and in many cases their findings inspired additional commits to improve my packaging. In some cases, they even helped me catch mistakes that led me to reject an upload myself before human inspection.”&lt;/p&gt;
&lt;p&gt;Joey Hess &lt;a href=&quot;https://joeyh.name/blog/entry/Debian_and_the_sirens/&quot;&gt;raises an interesting risk&lt;/a&gt;: that LLMs will remove the incentive for Debian to actually fix its cumbersome processes, by letting an LLM paper them over.  I have seen this tendency in other contexts, both at work and at home, as well.  It’s a real risk, especially if Debian doesn’t tackle the packaging problem for Rust and Go.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;https://mamot.fr/@ploum/117547571123879380&quot;&gt;Mastodon post&lt;/a&gt; that prompted me to write this began a chain of events that started with “Uploaders will be forced to address LLMs issues without human inspection.”  I don’t believe that will be the case; it goes too far against the Debian ethos.&lt;/p&gt;
&lt;p&gt;I encourage everyone to take a deep breath.  We are all getting used to a shifting landscape.  We will all make missteps, myself included.  The issues are complicated, the picture isn’t black and white, and there is incredible hype around the ecosystem that can make finding nuance difficult.&lt;/p&gt;
&lt;p&gt;Let’s be kind to each other, fellow humans.&lt;/p&gt;
&lt;p&gt;But, I do not care if you are kind to Claude.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-03T01:04:04+00:00</dc:date>
	<dc:creator>John Goerzen</dc:creator>
</item> 
<item rdf:about="http://dirk.eddelbuettel.com/blog/2026/11/02#myman_0.13.0">
	<title>Dirk Eddelbuettel: myman 0.13.0 on CRAN: Another wave!</title>
	<link>http://dirk.eddelbuettel.com/blog/2026/11/02#myman_0.13.0</link>
     <content:encoded>&lt;p&gt;Another new version of our still-new-ish package &lt;a href=&quot;https://github.com/eddelbuettel/myman&quot;&gt;myman&lt;/a&gt; reached &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; this morning, and has been
built for &lt;a href=&quot;https://eddelbuettel.github.io/r2u/&quot;&gt;r2u&lt;/a&gt; and on
&lt;a href=&quot;https://eddelbuettel.r-universe.dev/myman&quot;&gt;r-universe&lt;/a&gt;. The
matching &lt;a href=&quot;https://pypi.org/project/myman/&quot;&gt;Python package&lt;/a&gt;
has also been updated. The package offers twenty two hundred eighty four
&lt;em&gt;“My man …”&lt;/em&gt; posts by &lt;a href=&quot;https://bsky.app/profile/kevinmkruse.bsky.social&quot;&gt;Kevin Kruse&lt;/a&gt;
made on &lt;a href=&quot;https://bsky.app&quot;&gt;bsky&lt;/a&gt; during the summer of 2026.
Each wave picked at one particular public persona. This package wrapse
these up in the style of packages like &lt;a href=&quot;https://zeileis.codeberg.page/fortunes/&quot;&gt;fortunes&lt;/a&gt; or &lt;a href=&quot;https://github.com/eddelbuettel/gaussfacts&quot;&gt;gaussfacts&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This release contains a new wave from October 31 to November 1 poking
fun at Mike Johnson—just in time for the election.&lt;/p&gt;
&lt;div class=&quot;sourceCode&quot; id=&quot;cb1&quot;&gt;&lt;pre class=&quot;sourceCode r&quot;&gt;&lt;code class=&quot;sourceCode r&quot;&gt;&lt;span id=&quot;cb1-1&quot;&gt;&lt;a href=&quot;http://dirk.eddelbuettel.com/blog/index.rss#cb1-1&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;sc&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;fu&quot;&gt;library&lt;/span&gt;(myman)&lt;/span&gt;
&lt;span id=&quot;cb1-2&quot;&gt;&lt;a href=&quot;http://dirk.eddelbuettel.com/blog/index.rss#cb1-2&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;sc&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;fu&quot;&gt;set.seed&lt;/span&gt;(&lt;span class=&quot;dv&quot;&gt;20261102&lt;/span&gt;)  &lt;span class=&quot;co&quot;&gt;# reproducible sampling&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb1-3&quot;&gt;&lt;a href=&quot;http://dirk.eddelbuettel.com/blog/index.rss#cb1-3&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;sc&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;fu&quot;&gt;myman&lt;/span&gt;(&lt;span class=&quot;at&quot;&gt;target=&lt;/span&gt;&lt;span class=&quot;st&quot;&gt;&quot;Mike Johnson&quot;&lt;/span&gt;)&lt;/span&gt;
&lt;span id=&quot;cb1-4&quot;&gt;&lt;a href=&quot;http://dirk.eddelbuettel.com/blog/index.rss#cb1-4&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;My man looks like he used parental controls to block &lt;span class=&quot;st&quot;&gt;&quot;Pimp My Ride&quot;&lt;/span&gt;.&lt;/span&gt;
&lt;span id=&quot;cb1-5&quot;&gt;&lt;a href=&quot;http://dirk.eddelbuettel.com/blog/index.rss#cb1-5&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;     &lt;span class=&quot;sc&quot;&gt;--&lt;/span&gt; about Mike Johnson on &lt;span class=&quot;dv&quot;&gt;2026-11-01&lt;/span&gt;&lt;/span&gt;
&lt;span id=&quot;cb1-6&quot;&gt;&lt;a href=&quot;http://dirk.eddelbuettel.com/blog/index.rss#cb1-6&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;/span&gt;
&lt;span id=&quot;cb1-7&quot;&gt;&lt;a href=&quot;http://dirk.eddelbuettel.com/blog/index.rss#cb1-7&quot; tabindex=&quot;-1&quot;&gt;&lt;/a&gt;&lt;span class=&quot;sc&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;So have a chuckle, and then go out and vote! The short NEWS entry for
this release follows.&lt;/p&gt;
&lt;blockquote&gt;
&lt;h4 id=&quot;changes-in-version-0.13.0-2026-11-02&quot;&gt;Changes in version 0.13.0
(2026-11-02)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;New wave thirteen (100 posts); total is now 2284 posts&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Courtesy of my &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/&quot;&gt;CRANberries&lt;/a&gt;, there
is also a diffstat report for the &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/2026/11/02#myman_0.13.0&quot;&gt;most
recent release&lt;/a&gt;. More information is available at the &lt;a href=&quot;https://github.com/eddelbuettel/myman&quot;&gt;repository&lt;/a&gt; or the &lt;a href=&quot;https://dirk.eddelbuettel.com/code/myman.html&quot;&gt;package
page&lt;/a&gt;.&lt;/p&gt;
&lt;p style=&quot;font-size: 80%; font-style: italic;&quot;&gt;
This post by &lt;a href=&quot;https://dirk.eddelbuettel.com&quot;&gt;Dirk
Eddelbuettel&lt;/a&gt; originated on his &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/&quot;&gt;Thinking inside the box&lt;/a&gt;
blog. If you like this or other open-source work I do, you can &lt;a href=&quot;https://github.com/sponsors/eddelbuettel&quot;&gt;sponsor me at
GitHub&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-02T12:32:00+00:00</dc:date>
	<dc:creator>Dirk Eddelbuettel</dc:creator>
</item> 
<item rdf:about="https://bisco.org/notes/status-update-september--october-2026/">
	<title>Birger Schacht: Status update, September + October 2026</title>
	<link>https://bisco.org/notes/status-update-september--october-2026/</link>
     <content:encoded>&lt;h1 id=&quot;debian-related-work&quot;&gt;Debian Related Work&lt;/h1&gt;
&lt;ul&gt;
&lt;li&gt;Uploaded fuzzel 1.15.0+ds-1 to unstable&lt;/li&gt;
&lt;li&gt;Uploaded foot 1.28.0-1 to unstable&lt;/li&gt;
&lt;li&gt;Uploaded swayimg 5.6-1 and 5.7-1 to unstable&lt;/li&gt;
&lt;li&gt;Uploaded wdisplays 1.3.0-1 to unstable&lt;/li&gt;
&lt;li&gt;Orphaned usbguard with version 1.1.4+ds-5 and usbguard-notifier with version
0.1.0-4&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The orphaning of &lt;code&gt;usbguard&lt;/code&gt; and &lt;code&gt;usbguard-notifier&lt;/code&gt; is because I don’t use those
packages anymore. I rather spend my time on FOSS projects in areas I get
something out of. This is also due to a growing frustration with the Debian
community. The discussions on the mailing lists in the recent months lacked any
sense of social etiquette. The delusional conviction that certain tools improve
the work environment for EVERYONE took on religious overtones.&lt;/p&gt;
&lt;p&gt;This is all the more troubling now that even central infrastructure is being
drawn into this forced “blessing.” And it seems there is absolutely no
awareness here of the boundary violations that are being normalized. Reminds
me a bit of christian missionaries.&lt;/p&gt;
&lt;h1 id=&quot;dh-related-work&quot;&gt;DH Related Work&lt;/h1&gt;
&lt;p&gt;In the APIS project I finally merged the search app I wrote a couple of months
ago. Based on the proof of concept for the HTMX autocomplete, I implemented
an autocomplete that uses the search app for the results, therefore allowing
to list search results of multiple content types. I released 0.68, 0.69, 0.70,
0.71 and 0.72 of the APIS framework. The 0.68 release changed the way we list
the Django content types, leading to less database hits. In the 0.71 release I
refactored the detail &amp;amp; edit views for generic models.&lt;/p&gt;
&lt;h1 id=&quot;40c3&quot;&gt;40C3&lt;/h1&gt;
&lt;p&gt;I was torn about whether I should go to this years congress, but in the end I
decided to go again. I guess it will be something about the 20th time I’m
attending.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-11-01T05:28:51+00:00</dc:date>
	<dc:creator>Birger Schacht</dc:creator>
</item> 
<item rdf:about="https://etbe.coker.com.au/?p=6345">
	<title>Russell Coker: Links October 2026</title>
	<link>https://etbe.coker.com.au/2026/10/31/links-october-2026/</link>
     <content:encoded>&lt;p&gt;&lt;a href=&quot;https://archive.is/20260819210251/https://www.theatlantic.com/magazine/2026/10/trump-white-house-transgender-mike-pence/688284/&quot;&gt;Julia Curlee wrote an informative article about serving as a CIA agent in the White House as a trans woman [1]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.schneier.com/blog/archives/2026/08/ai-doesnt-mean-the-end-of-mathematics-at-least-not-yet.html&quot;&gt;Bruce Schneier and Kasra Rafi wrote an interesting article about AIs and mathematical research, they won’t break crypto any time soon [2]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://optimizedbyotto.com/post/why-open-source-projects-ban-ai/&quot;&gt;Otto wrote an interesting and informative blog post about the issues related to “AI” and software development with a focus on the recent Debian vote about accepting “AI” “contributions” [3]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.theguardian.com/world/2026/aug/26/jared-huffman-rising-christian-nationalism-no-prophets-book&quot;&gt;Jared Huffman the only openly atheist congressman has some insightful commentary on the rise of Christian nationalism in the US [4]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://blog.trailofbits.com/2026/08/26/vms-wont-contain-cyber-capable-agents/&quot;&gt;Artem wrote an interesting blog post about trying and failing to contain a LLM agent with VMs, they think this is bad but I think it’s great that more bugs are being discovered and could then be fixed [5]&lt;/a&gt;. I now want to try this sort of thing on replicas of my own systems!&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.techdirt.com/2026/08/31/would-the-next-george-floyd-video-survive-metas-new-teen-safety-rules/&quot;&gt;Techdirt has an insightful article about how the new Meta teen safety rules might allow murderous cops to get away with their crimes [6]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://anil.recoil.org/notes/rumour-is-the-exploit&quot;&gt;Anil Madhavapeddy wrote an interesting blog post “Just a rumour of a bug is enough to find a security exploit these days”, things will be difficult for the next few years if this holds at scale [7]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://theconversation.com/the-threat-of-nuclear-weapons-is-greater-than-ever-heres-how-international-law-can-help-290523&quot;&gt;The Conversation has an interesting article about the current situation with nuclear weapons proliferation, not that it helps as countries with nukes get love letters from Trump and countries without get girls’ schools bombed [8]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://reneweconomy.com.au/solar-sharer-has-become-the-solar-shocker-with-the-costliest-of-retail-offers/&quot;&gt;Several Australian state governments have mandated free electricity between the times of 11AM and 2PM, but now electricity companies have changed their pricing to avoid this saving customers any money [9]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.404media.co/theres-a-100-chance-ai-agents-are-already-ruining-the-internet/&quot;&gt;404Media has an interesting article about the ways that “AI” agents are ruining the Internet [10]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.realtimetechpocalypse.com/p/effective-altruism-is-a-dangerous&quot;&gt;RealtimeApocalypse has an interesting article about Effective Altruism which is one of the more covert cults that prey on people in the computer industry [11]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://davidbrin.blogspot.com/2026/09/the-real-reason-for-kash-patels-b-word.html&quot;&gt;David Brin has a good theory to explain why it’s important to allow people who have practiced bestiality to work for the FBI [12]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://locusmag.com/feature/commentary-cory-doctorow-technopolitics/&quot;&gt;Cory Doctorow wrote an interesting article for Locus about the politics of “AI” systems and when they should be considered inherently evil [13]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://adrianchadd.blogspot.com/2026/09/why-just-switcharooing-ram-on-rpi-isnt.html&quot;&gt;Adrian wrote an insightful blog post about how DDR RAM works and why replacing RAM on an embedded board isn’t a good idea [14]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://arstechnica.com/tech-policy/2026/10/highway-thieves-are-spoofing-gps-to-steal-millions-in-data-center-bound-cargo/&quot;&gt;Arstechnica has an interesting article about organised criminal gangs stealing truck loads of goods and having a particular interest in DC gear [15]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.theguardian.com/world/ng-interactive/2025/nov/22/free-birth-society-linked-to-babies-deaths-investigation&quot;&gt;This is one of a series of articles published in The Guardian about the Free Birth Society, a cult-like organisation that opposes involvement of trained medical experts in the process of giving birth, they “claimed resuscitation was often an unnecessary act which deprived babies of the chance to choose to begin their lives” – wow [16]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://locusmag.com/feature/cory-doctorow-ip/&quot;&gt;Cory Doctorow wrote an insightful article about so-called Intellectual Property and how it’s being used to attack human rights [17]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.anthropic.com/research/formal-verification&quot;&gt;Anthropic published an interesting article about their work on formally proving libraries with LLMs, hundreds of millions of tokens for each proof so probably thousands of dollars [18]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://www.schneier.com/blog/archives/2026/10/how-technology-empowers-and-imperils-dictators.html&quot;&gt;Bruce Schneier wrote an insightful article about how AI can provide advantages and disadvantages for dictators [19]&lt;/a&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;[1]&lt;a href=&quot;https://archive.is/20260819210251/https://www.theatlantic.com/magazine/2026/10/trump-white-house-transgender-mike-pence/688284/&quot;&gt; https://tinyurl.com/2b5uh7en&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[2]&lt;a href=&quot;https://www.schneier.com/blog/archives/2026/08/ai-doesnt-mean-the-end-of-mathematics-at-least-not-yet.html&quot;&gt; https://tinyurl.com/24vfbg8m&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[3]&lt;a href=&quot;https://optimizedbyotto.com/post/why-open-source-projects-ban-ai/&quot;&gt; https://tinyurl.com/2b74tuga&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[4]&lt;a href=&quot;https://www.theguardian.com/world/2026/aug/26/jared-huffman-rising-christian-nationalism-no-prophets-book&quot;&gt; https://tinyurl.com/2aqdrp33&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[5]&lt;a href=&quot;https://blog.trailofbits.com/2026/08/26/vms-wont-contain-cyber-capable-agents/&quot;&gt; https://tinyurl.com/2d9nuz3b&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[6]&lt;a href=&quot;https://www.techdirt.com/2026/08/31/would-the-next-george-floyd-video-survive-metas-new-teen-safety-rules/&quot;&gt; https://tinyurl.com/2af9zetc&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[7]&lt;a href=&quot;https://anil.recoil.org/notes/rumour-is-the-exploit&quot;&gt; https://anil.recoil.org/notes/rumour-is-the-exploit&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[8]&lt;a href=&quot;https://theconversation.com/the-threat-of-nuclear-weapons-is-greater-than-ever-heres-how-international-law-can-help-290523&quot;&gt; https://tinyurl.com/22erzjcf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[9]&lt;a href=&quot;https://reneweconomy.com.au/solar-sharer-has-become-the-solar-shocker-with-the-costliest-of-retail-offers/&quot;&gt; https://tinyurl.com/25ftsuam&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[10]&lt;a href=&quot;https://www.404media.co/theres-a-100-chance-ai-agents-are-already-ruining-the-internet/&quot;&gt; https://tinyurl.com/2bh8pxqk&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[11]&lt;a href=&quot;https://www.realtimetechpocalypse.com/p/effective-altruism-is-a-dangerous&quot;&gt; https://tinyurl.com/2yywxlz2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[12]&lt;a href=&quot;https://davidbrin.blogspot.com/2026/09/the-real-reason-for-kash-patels-b-word.html&quot;&gt; https://tinyurl.com/299n3aba&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[13]&lt;a href=&quot;https://locusmag.com/feature/commentary-cory-doctorow-technopolitics/&quot;&gt; https://tinyurl.com/27ta8dhn&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[14]&lt;a href=&quot;https://adrianchadd.blogspot.com/2026/09/why-just-switcharooing-ram-on-rpi-isnt.html&quot;&gt; https://tinyurl.com/278hllfz&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[15]&lt;a href=&quot;https://arstechnica.com/tech-policy/2026/10/highway-thieves-are-spoofing-gps-to-steal-millions-in-data-center-bound-cargo/&quot;&gt; https://tinyurl.com/28akuzv6&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[16]&lt;a href=&quot;https://www.theguardian.com/world/ng-interactive/2025/nov/22/free-birth-society-linked-to-babies-deaths-investigation&quot;&gt; https://tinyurl.com/2btfpgkf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[17]&lt;a href=&quot;https://locusmag.com/feature/cory-doctorow-ip/&quot;&gt; https://locusmag.com/feature/cory-doctorow-ip/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[18]&lt;a href=&quot;https://www.anthropic.com/research/formal-verification&quot;&gt; https://www.anthropic.com/research/formal-verification&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[19]&lt;a href=&quot;https://www.schneier.com/blog/archives/2026/10/how-technology-empowers-and-imperils-dictators.html&quot;&gt; https://tinyurl.com/24uu3323&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;yarpp yarpp-related yarpp-related-rss yarpp-template-list&quot;&gt;

&lt;p&gt;Related posts:&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/07/31/links-july-2026/&quot; rel=&quot;bookmark&quot; title=&quot;Links July 2026&quot;&gt;Links July 2026&lt;/a&gt; &lt;small&gt;Bruce Schneier and Nathan E. Sanders wrote a disturbing and...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/06/30/links-june-2026/&quot; rel=&quot;bookmark&quot; title=&quot;Links June 2026&quot;&gt;Links June 2026&lt;/a&gt; &lt;small&gt;This is amusing, a flaw in the crypto-currency Zcash allowed...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2024/03/31/links-march-2024/&quot; rel=&quot;bookmark&quot; title=&quot;Links March 2024&quot;&gt;Links March 2024&lt;/a&gt; &lt;small&gt;Bruce Schneier wrote an interesting blog post about his workshop...&lt;/small&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-10-31T13:07:05+00:00</dc:date>
	<dc:creator>etbe</dc:creator>
</item> 
<item rdf:about="https://etbe.coker.com.au/?p=6117">
	<title>Russell Coker: More Furilabs FLX1s</title>
	<link>https://etbe.coker.com.au/2026/10/30/more-furilabs-flx1s/</link>
     <content:encoded>&lt;p&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/04/14/furilabs-flx1s-finally-working/&quot;&gt;In April I got my Furilabs FLX1s basically working [1]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Below is a post I wrote about the FLX1s before it broke at the start of September, there was a problem with the display controller and it would randomly go into a messed up mode that wasn’t readable but also changed a bit in relation to button presses etc so the phone was still working. Also I could ssh to the phone when it was in that state if it was on my home wifi.&lt;/p&gt;
&lt;p&gt;It took almost 2 months to get a replacement phone but I now have that working and the new 14.1.0 OS release. So some of the below may be obsolete when it comes to the latest release but I decided to publish it anyway for history if nothing else.&lt;/p&gt;
&lt;h2&gt;Current Issues&lt;/h2&gt;
&lt;h3&gt;Wifi Hotspot Status&lt;/h3&gt;
&lt;p&gt;One thing I had known about but not mentioned before is that the icon in the drop-down menu for the hotspot will often be gray (indicating hotspot-off) when it’s actually on. To address that I have to click on it (which then indicates that the hotspot is on) and then click on it again to turn it off.&lt;/p&gt;
&lt;h3&gt;QT6 and MESA GL&lt;/h3&gt;
&lt;p&gt;Currently I have problems with QT6 applications that don’t run due to library issues and issues of missing GL support. &lt;a href=&quot;https://etbe.coker.com.au/2026/05/09/systemd-mobile-linux-containers/&quot;&gt;I blogged about setting up my own container on my phone [2]&lt;/a&gt; which helped for some things but not for most things.&lt;/p&gt;
&lt;p&gt;I have given up trying to get Tokodon working on the phone for the moment. Tokodon is a nice Mastodon client that would allow me to get notifications from Mastodon.&lt;/p&gt;
&lt;p&gt;Apparently the Furilabs people are working on some issues related to this.&lt;/p&gt;
&lt;h3&gt;Bluetooth&lt;/h3&gt;
&lt;p&gt;Bluetooth is currently a bit unreliable. When I turn on my car (Nissan LEAF) the phone usually either doesn’t connect or claims to be connected while not sending audio to the car. When it does connect my favourite music player (Lollypop) usually doesn’t display the album and track names. I’ve found that turning my car off and on again usually makes it connect properly.&lt;/p&gt;
&lt;p&gt;I admit the possibility of my car not doing things correctly in this regard. But every Android phone I tried just worked, they would connect as soon as the car was turned on and correctly display track names. So if the car is doing things wrong and needs a software work around then Linux is at fault for not doing that – we can’t get tens of millions of cars and hundreds of millions of other weird devices fixed!&lt;/p&gt;
&lt;p&gt;I also note that my Debian laptop and a friend’s Debian laptop also have problems connecting to my car. So it’s quite possible that Debian code is at fault (the FLX1s is running a modified version of Debian).&lt;/p&gt;
&lt;p&gt;It currently appears to have no support for handset mode so I can’t answer phone calls through the car interface. But this is a lesser problem.&lt;/p&gt;
&lt;p&gt;I plan to do more testing with Debian laptops and file some bug reports if I can find out enough useful information. My current knowledge of this is insufficient to create a useful bug report. I do have quite a few bluetooth headsets and test laptops so I plan to start by testing Debian and Ubuntu on all the combinations – last time I tested Ubuntu 24.04 on Dell laptops worked much better than Debian/Trixie on Thinkpads.&lt;/p&gt;
&lt;h2&gt;Improvements by Furilabs&lt;/h2&gt;
&lt;h3&gt;Wifi Hotspot&lt;/h3&gt;
&lt;p&gt;After a set of updates including the following Wifi hotspot seems to be working.&lt;/p&gt;
&lt;pre&gt;adaptation-furiphone-radon (1.3.0+git20260513192743.e94f2ec.forky.production) forky; urgency=medium

  * NetworkManager: sync hotspot channel/band with STA and restart on change
  * debian: depend on libhybris-utils and libgbinder-tools
  * startup: drop schedtune and add m4u debug log level
  * startup: enable glove and disable edge palm
  * device: drop flashlightd-scalable signatures

 -- Bardia Moshiri &amp;lt;bardia@furilabs.com&amp;gt;  Wed, 13 May 2026 15:27:43 -0400&lt;/pre&gt;
&lt;h3&gt;Charging&lt;/h3&gt;
&lt;p&gt;Connecting the power cable now makes the phone immediately make the click sound and it starts charging while previously there was a 22 second delay. Once I get used to this I can avoid the problem of failing to plug it in firmly before going to bed and having it run flat overnight.&lt;/p&gt;
&lt;h2&gt;Things I’ve Done&lt;/h2&gt;
&lt;h3&gt;SMS&lt;/h3&gt;
&lt;p&gt;The following command will send a message via SMS.&lt;/p&gt;
&lt;pre&gt;dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.MessageManager.SendMessage string:&quot;+61400000000&quot; string:&quot;this is the message&quot;&lt;/pre&gt;
&lt;p&gt;Also the &lt;a href=&quot;https://source.puri.sm/Librem5/docs/community-wiki/-/wikis/Tips-&amp;amp;-Tricks#send-sms-text-message-from-terminal&quot;&gt;Librem5 Wiki has another way of doing it [3]&lt;/a&gt;, I haven’t tested if that works as the dbus method works well enough for the moment.&lt;/p&gt;
&lt;p&gt;Also calls can be scripted via the following command:&lt;/p&gt;
&lt;pre&gt;xdg-open tel://+61400000000&lt;/pre&gt;
&lt;h3&gt;Contacts&lt;/h3&gt;
&lt;p&gt;My aim is to get contacts synchronised via my own cloud service. Nextcloud is supposed to be able to do this. It’s been years since I first tried this, &lt;a href=&quot;https://etbe.coker.com.au/2021/11/08/installing-nextcloud/&quot;&gt;my most recent serious attempt at Nextcloud was in 2021 [4]&lt;/a&gt; and I couldn’t get the Android app for NextCloud to connect. Since then I have made more recent attempts and been unable to get the Android or Linux desktop clients to connect to it.&lt;/p&gt;
&lt;p&gt;A friend gave me a test account on his Nextcloud server which allowed me to connect the Linux desktop app, his hypothesis was that it was somehow related to using Debian and that his server worked because it was on Ubuntu. I have since installed my own Nextcloud test server on the Ubuntu variant used by the Oracle cloud VMs which had the same apparent problem. I conclude that it’s not Debian at fault but something related to how I configured it.&lt;/p&gt;
&lt;p&gt;In the meantime after a couple of months of having no named contacts I exported the contacts from my Android phone as a VCF file and imported them into the Gnome contacts program. I had to run “&lt;b&gt;killall chatty&lt;/b&gt;” for it to get the names for the contacts, but the phone call program found them without needing to do that.&lt;/p&gt;
&lt;h3&gt;Chatty&lt;/h3&gt;
&lt;p&gt;A missing feature of Chatty (the default SMS and Jabber program for Phosh/Phoc systems) is archiving old messages. I use Chatty to receive Jabber messages from my monitoring system which can be a lot of messages. The following shell code deletes all Jabber messages older than 2 days. Note that this relies on “&lt;b&gt;type=3&lt;/b&gt;” matching  Jabber messages which I’m not sure is going to be the case on all systems or all versions of Chatty.&lt;/p&gt;
&lt;pre&gt;for ID in $(echo &quot;select id from users where type=3;&quot; | sqlite3 ~/.purple/chatty/db/chatty-history.db); do
  echo &quot;delete from messages where sender_id=$ID and time &amp;lt; unixepoch(&#39;now&#39;) - (48 * 3600);&quot; | sqlite3 ~/.purple/chatty/db/chatty-history.db
done&lt;/pre&gt;
&lt;p&gt;The following shell code extracts a dump of all messages from Chatty.&lt;/p&gt;
&lt;pre&gt;echo &quot;select messages.id,users.username,users.alias,messages.body from messages inner join users on messages.sender_id=users.id;&quot; |sqlite3 ~/.purple/chatty/db/chatty-history.db&lt;/pre&gt;
&lt;h3&gt;Dino-IM&lt;/h3&gt;
&lt;p&gt;An update to the Chatty program for SMS and Matrix has made it crash repeatedly. There is a request in the list for Chatty upstream to have a systemd-user unit to restart it which when implemented will reduce the scope of the problem (but not solve it). I&#39;ve setup a monitoring system that uses &lt;b&gt;notify-send&lt;/b&gt; to notify me when Chatty isn&#39;t running or when 4G data turns off (a recurring problem). This crashing is allegedly due to Jabber so I installed Dino-IM for Jabber and have for the moment at least stopped using Chatty for Jabber.&lt;/p&gt;
&lt;p&gt;It turned out that having Chatty not do Jabber didn&#39;t stop it crashing. However having alerts separated from SMS can be convenient and also my long term plan is to use a phone with Plasma Mobile and Spacebar (the SMS program for Plasma Mobile) doesn&#39;t do Jabber. So I will continue using Dino-IM.&lt;/p&gt;
&lt;pre&gt;echo &quot;delete from message where time &amp;lt; unixepoch(&#39;now&#39;) - (48 * 3600);&quot; | sqlite3 ~/.local/share/dino/dino.db&lt;/pre&gt;
&lt;h3&gt;Andromeda/Android&lt;/h3&gt;
&lt;p&gt;I put in the following cron job to stop this log file from using all the storage space:&lt;/p&gt;
&lt;pre&gt;1 0 * * *	echo -n &amp;gt; /home/furios/.local/share/andromeda/data/system/uiderrors.txt&lt;/pre&gt;
&lt;h3&gt;Wifi DHCP&lt;/h3&gt;
&lt;p&gt;I gave up on attempts to force the Wifi configuration to have a fixed MAC that I could use for a fixed IPv4 address so I manually configured the address.&lt;/p&gt;
&lt;h3&gt;4G Monitoring&lt;/h3&gt;
&lt;p&gt;I&#39;ve had problems with the reliability of the 4G service, sometimes it stop working and I need to stop and restart it. I setup my &lt;a href=&quot;https://doc.coker.com.au/projects/etbe-mon/&quot;&gt;etbe-mon monitoring system on the phone [5]&lt;/a&gt; and configured it to ssh to localhost and run &lt;b&gt;notify-send&lt;/b&gt; to send a local notification. This means I get notified if my phone loses net access and can&#39;t access regular monitoring. Then to monitor the 4G connection (which I want to have working even when Wifi is connected) I had the following monitor line:&lt;/p&gt;
&lt;pre&gt;monitor ping.monitor -I ccmni1 -c 5 8.8.8.8 ;;&lt;/pre&gt;
&lt;p&gt;That uses the &lt;b&gt;ccmni1&lt;/b&gt; interface for pinging 8.8.8.8 (Google DNS). That worked for a while but I discovered that sometimes the interface for 4G would change to &lt;b&gt;ccmni2&lt;/b&gt;, so I put the following monitor script under /usr/local/mon.d:&lt;/p&gt;
&lt;pre&gt;#!/bin/bash
DEV=$(route -n|grep ^0.0.0.0.*ccm |sed -e s/^.*ccmn/ccmn/)
exec /usr/lib/mon/mon.d/ping.monitor -I $DEV -c 5 8.8.8.8&lt;/pre&gt;
&lt;h3&gt;Mastodon&lt;/h3&gt;
&lt;p&gt;I couldn&#39;t get Tokodon to work, not the native package, not running in a Debian/Testing container, and not running a Flatpak. It seems that this is all graphics library issues. So I wrote a Perl program to run &quot;toot notifications &amp;amp;-json&quot; and then send the relevant parts of the output via XMPP. As I already use XMPP for server monitoring there&#39;s no extra effort to have an extra account and use it for notifications about Mastodon activity. The Perl script is at the bottom of the post and won&#39;t be in the RSS feed.&lt;/p&gt;
&lt;p&gt;At some future time I may change the script to send the notifications by Matrix instead to have all my social media stuff in the same place.&lt;/p&gt;
&lt;p&gt;&lt;span id=&quot;more-6117&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Source&lt;/h2&gt;
&lt;pre&gt;#!/usr/bin/perl
# depends on Debian packages: toot libjson-pp-perl go-sendxmpp
use strict;
use JSON::PP;

my $homeurl = &quot;https://mastodon.nzoss.nz/&quot;;
my $lastfile = &quot;mast/last_id&quot;;
my $xaddr = &quot;russell\@coker.com.au&quot;;

my $jsontxt;
while()
{
  $jsontxt .= $_;
}

my $data = decode_json($jsontxt);

my $last_id = 0, my $new_last_id;
if(open(ID, &quot;&amp;lt;$lastfile&quot;))
{
  $last_id = ;
  close(ID);
}
$new_last_id = $last_id;

for(my $i = 0; $data-&amp;gt;[$i]; $i++)
{
  my $id = $data-&amp;gt;[$i]{id};
  if($id &amp;lt;= $last_id)
  {
    next;
  }
  if($id &amp;gt; $new_last_id)
  {
    $new_last_id = $id;
  }
  open(XMPP, &quot;|go-sendxmpp $xaddr&quot;) or die &quot;Can&#39;t send XMPP&quot;;
  my $type = $data-&amp;gt;[$i]{type};
  print XMPP &quot;type: $type\n&quot;;
  print XMPP &quot;their_url: $homeurl\@$data-&amp;gt;[$i]{account}{acct}\n&quot;;
  print XMPP &quot;display_name: $data-&amp;gt;[$i]{account}{display_name}\n&quot;;
  if($type ne &quot;follow&quot;)
  {
    print XMPP &quot;status_url: $data-&amp;gt;[$i]{status}{url}\n&quot;;
    print XMPP &quot;content: $data-&amp;gt;[$i]{status}{content}\n&quot;;
  }
  print XMPP &quot;created_at: $data-&amp;gt;[$i]{created_at}\n&quot;;
  print XMPP &quot;\n&quot;;
  close(XMPP);
}

open(ID, &quot;&amp;gt;$lastfile&quot;) or die &quot;Can&#39;t write to $lastfile&quot;;
print ID $new_last_id;
close(ID);&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;[1]&lt;a href=&quot;https://etbe.coker.com.au/2026/04/14/furilabs-flx1s-finally-working/&quot;&gt; https://etbe.coker.com.au/2026/04/14/furilabs-flx1s-finally-working/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[2]&lt;a href=&quot;https://etbe.coker.com.au/2026/05/09/systemd-mobile-linux-containers/&quot;&gt; https://etbe.coker.com.au/2026/05/09/systemd-mobile-linux-containers/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[3]&lt;a href=&quot;https://source.puri.sm/Librem5/docs/community-wiki/-/wikis/Tips-&amp;amp;-Tricks#send-sms-text-message-from-terminal&quot;&gt; https://tinyurl.com/2xux9dvw&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[4]&lt;a href=&quot;https://etbe.coker.com.au/2021/11/08/installing-nextcloud/&quot;&gt; https://etbe.coker.com.au/2021/11/08/installing-nextcloud/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;yarpp yarpp-related yarpp-related-rss yarpp-template-list&quot;&gt;

&lt;p&gt;Related posts:&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/04/14/furilabs-flx1s-finally-working/&quot; rel=&quot;bookmark&quot; title=&quot;Furilabs FLX1s Finally Working&quot;&gt;Furilabs FLX1s Finally Working&lt;/a&gt; &lt;small&gt;I’ve been using the Furilabs FLX1s phone [1] as my...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2026/01/19/furilabs-flx1s/&quot; rel=&quot;bookmark&quot; title=&quot;Furilabs FLX1s&quot;&gt;Furilabs FLX1s&lt;/a&gt; &lt;small&gt;The Aim I have just got a Furilabs FLX1s [1]...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2023/03/13/xmpp-tools/&quot; rel=&quot;bookmark&quot; title=&quot;Xmpp Tools&quot;&gt;Xmpp Tools&lt;/a&gt; &lt;small&gt;For a while I’ve had my monitoring systems alert me...&lt;/small&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-10-30T12:13:06+00:00</dc:date>
	<dc:creator>etbe</dc:creator>
</item> 
<item rdf:about="https://etbe.coker.com.au/?p=6298">
	<title>Russell Coker: Fuel Should be More Expensive</title>
	<link>https://etbe.coker.com.au/2026/10/30/fuel-should-be-expensive/</link>
     <content:encoded>&lt;h2&gt;The Current Situation&lt;/h2&gt;
&lt;p&gt;Before the US and Israel started attacking Iran at the end of February the petrol prices in Australia were around $1.70/L, which for American readers is roughly equivalent to $US4.64/Gal. By the 11th of March the prices were around $2.19/L. Over the same time period Diesel went from around $1.77/L to $2.40/L. The 11th of March prices weren’t necessarily unreasonable prices. In mid March it was reasonable to expect that the US would stop doing such ridiculously stupid things and make a deal with Iran to allow oil to be transported.&lt;/p&gt;
&lt;p&gt;But every time you think there’s a limit to Trump’s stupidity (and the incompetence of people around him who don’t point him in the right direction) they do something worse. So now we have the Strait of Hormuz almost entirely closed cutting off oil from Kuwait, Qatar, and UAE. The Bab al-Mandab Strait is closed to Saudi linked ships and the Saudi East-West pipeline is closed so once the Yanbu storage tanks are empty there won’t be much if any oil from Saudi Arabia for some time. So world oil supplies will be significantly reduced for a long time.&lt;/p&gt;
&lt;p&gt;Currently the petrol prices in Melbourne are around $2.30/L and Diesel prices around $2.70/L, not much more expensive than it was in March in spite of all the extra problems both militarily and diplomatically since then. Those prices have been steady for over a month.&lt;/p&gt;
&lt;p&gt;The blockade of the Strait of Hormuz could be ended fairly quickly and there are reports that a lot of the oil that used to go through it is being re-routed. The damaged infrastructure throughout the middle east can’t be fixed in a hurry. The Bab al-Mandab Strait probably can’t be opened quickly as the Houthis probably don’t have a centralised command structure that allows someone to order a ceasefire and have it stick. So we can expect a massive reduction in world oil supplies for a while, which given the way the US is going could be at least until after the mid-term elections (November this year) and possibly until after the 2028 elections. After that oil production will be reduced for another year or two to rebuild infrastructure.&lt;/p&gt;
&lt;h2&gt;The Problem&lt;/h2&gt;
&lt;p&gt;When supply can’t meet demand there are three options. Supply can be rationed, demand can be decreased by increasing the prices, or it can be used up and we run out. Running out of fuel is a really bad option as fuel is needed for producing and transporting food and for most things that are important to a society.&lt;/p&gt;
&lt;p&gt;Governments of first world countries seem unable to deal with the situation properly. Dealing with it properly requires either rationing or increasing the prices. Instead governments have been more interested in artificially keeping the prices down.&lt;/p&gt;
&lt;p&gt;Currently in Australia and most countries a significant portion of public transport depends on Diesel fuel. Diesel is needed for most buses and for long distance trains. Most taxis run on petrol. As far as I know all emergency service vehicles run on Diesel or petrol as well as most military vehicles. So things will get really bad quickly if fuel runs out entirely. It’s not just personal cars that are affected.&lt;/p&gt;
&lt;p&gt;We aren’t going to get the majority of tractors converted to electric power any time soon. Google search results suggest that tractors last an average of about 25 years but casual observation of working equipment on farms suggests a longer life than that is common. Some tractors could be retrofitted to be electric but many will end up being scrapped as part of a conversion while farmers are already having financial problems. It would probably be optimistic to expect that half the tractor use could be done with electric tractors in 10 years time unless there are significant government subsidies. To get the farming and food production industries adapted for electric operation in a few years would be possible but it would take a level of national mobilisation that only happens during wartime.&lt;/p&gt;
&lt;h2&gt;What We Need&lt;/h2&gt;
&lt;p&gt;As a long term solution we need to have more electric vehicles in every category. We need electricity for all train lines to replace Diesel locomotives. We need better trains between cities to reduce the need for aeroplanes, electric aeroplanes are being developed but we aren’t there yet. We need all essential services to be run with electric vehicles including farming, food transport, emergency services, and everything related to the medical system (including personal cars for healthcare workers). We also need mining vehicles powered by electricity so we can have the entire industrial system running without fuel. None of this is going to happen in time for this crisis.&lt;/p&gt;
&lt;p&gt;Electric buses are being introduced in Australia and many taxis are electric. The recent significant increase in the use of electric cars probably includes a reasonable portion of healthcare workers and other essential workers. This gives us the potential to survive fairly severe reductions in the fuel supply without everything collapsing. But we have a significant lack in electric police cars and in electric trucks for food delivery.&lt;/p&gt;
&lt;p&gt;In the short term we need to significantly reduce the use of fuels, there is no other way to keep the food supply and other essential parts of society working. We could try rationing but I think that should be a last resort. The news reports of a de-facto petrol rationing system in Crimea and parts of Russia are not positive, significant resources are wasted in long queues for petrol and there is public disorder caused by disputes about position in the queues. The level of sanity in the population seems to have dropped significantly since the fuel crisis of 1979, any fuel rationing that is implemented now would get the same sort of opposition from Qanon types as Covid vaccines and lockdowns did in recent times.&lt;/p&gt;
&lt;p&gt;So the best viable option seems to be to reduce demand by increasing prices. $2.30/L as a common price with occasional spikes of $2.50/L isn’t sufficient to do that. If the price increased to $3.50/L, twice what it used to be (equivalent to $9.50/gallon for Americans) then it would provide a real incentive for people to reduce fuel use. That would have to be combined with the type of remote work allowances that were in place when Covid19 was first spreading. But I think that all politicians are too weak to do such things. The media have demonstrated that nowadays the best we can expect is that they will treat both sides as equal even when facts clearly support one side, so we can’t expect the media to report on impending fuel shortages and demand policy changes to address them.&lt;/p&gt;
&lt;p&gt;We should have higher taxes on fuel that will continue past the resolution of the current crisis caused by the attacks on Iran to provide incentives for the purchase of electric cars and for manufacturers to make more fuel efficient cars. Currently people are basing car ownership decisions on the expectation that petrol will go back to something under $2/L and we need to have a government guarantee that it won’t happen.&lt;/p&gt;
&lt;p&gt;People always complain about poor people who can’t afford to drive if petrol is expensive but that could be addressed by increasing the minimum wage and social security payments. But a large portion of the people who complain about the hardship poor people may face when fuel prices are discussed are against increasing the minimum wage so I don’t think they are being honest.&lt;/p&gt;
&lt;p&gt;Another common complaint is about the difficulty driving long distances in rural Australia when there isn’t sufficient charging infrastructure for electric cars and therefore rural people including farmers getting hit by high prices of fuel. There could be a rebate scheme for farmers etc, government subsidies for farmers is nothing new.&lt;/p&gt;
&lt;h2&gt;What Will Happen&lt;/h2&gt;
&lt;p&gt;I expect the governments of most first world countries to try to keep fuel prices low and do very little to try and decrease demand. China will probably do some things to reduce fuel use and being the world’s largest oil importer this will make a difference, but not as much as we need.&lt;/p&gt;
&lt;p&gt;A related problem is that a lot of fertiliser is produced from petrochemicals and closing the strait of Hormuz cut off a significant portion of the world fertiliser supply. First world countries will outbid developing countries for fertiliser and fuel. Starvation in developing countries probably won’t get much news coverage until it leads to war.&lt;/p&gt;
&lt;p&gt;This is not going to go well, it could be addressed if we had braver politicians and more honest media companies but that’s not the way things are going.&lt;/p&gt;
&lt;div class=&quot;yarpp yarpp-related yarpp-related-rss yarpp-template-list&quot;&gt;

&lt;p&gt;Related posts:&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2007/03/15/worse-than-fossil-fuel/&quot; rel=&quot;bookmark&quot; title=&quot;worse than fossil fuel?&quot;&gt;worse than fossil fuel?&lt;/a&gt; &lt;small&gt;I just read an interesting blog post from December 2005...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2008/04/12/a-bio-fuel-petrol-station/&quot; rel=&quot;bookmark&quot; title=&quot;A Bio-fuel Petrol Station&quot;&gt;A Bio-fuel Petrol Station&lt;/a&gt; &lt;small&gt;Today I happened to see a bio-fuel petrol station! I...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2006/12/21/hybrid-lexus-is-best-luxury-car/&quot; rel=&quot;bookmark&quot; title=&quot;hybrid Lexus is best luxury car&quot;&gt;hybrid Lexus is best luxury car&lt;/a&gt; &lt;small&gt;The Lexus GS 450 hybrid petrol/electric car has been given...&lt;/small&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-10-30T06:16:26+00:00</dc:date>
	<dc:creator>etbe</dc:creator>
</item> 
<item rdf:about="https://etbe.coker.com.au/?p=5915">
	<title>Russell Coker: Radxa Rock 5A RK3588S</title>
	<link>https://etbe.coker.com.au/2026/10/30/radxa-rock-5a-rk3588s/</link>
     <content:encoded>&lt;p&gt;At the end of last year I paid $177.40 for a &lt;a href=&quot;https://www.aliexpress.com/item/1005007506696799.html&quot;&gt;Radxa ROCK 5A GREEN RK3588S, 8-core CPU SBC, HDMI with 8K Output, WiFi 6 Support and Gigabit Ethernet, Single Board Computer [1]&lt;/a&gt; from AliExpress. I got the version with 8G of RAM as 4G didn’t seem enough and I didn’t feel like paying for the 16G or 32G versions. The prices excluding postage are $106, $130, $203, and $332 for the 4G, 8G, 16G, and 32G versions respectively. The $332 version is quite reasonably priced if you need to do some big compiles on ARM64. Since then the prices have changed by a few dollars but are almost the same (variations in postage will be greater than the price changes).&lt;/p&gt;
&lt;p&gt;They provide &lt;a href=&quot;https://docs.radxa.com/en/rock5/rock5a/getting-started/install-os/boot_from_sd_card&quot;&gt;modified versions of Debian/Bookworm and Debian/Bullseye [2] and an Android installation&lt;/a&gt;. The Debian setup includes a custom kernel, bootloader, some configuration packages including for ALSA, and some firmware.&lt;/p&gt;
&lt;p&gt;I installed Bookworm and upgraded it to Trixie (the current Debian release). There were some conflicts with some radxa packages that contained the same files as Trixie packages but didn’t have a package conflict but it was not a big deal. It would be nice if Radxa updated their setup to Trixie and it wouldn’t be that difficult for them to do so.&lt;/p&gt;
&lt;p&gt;The board has an expansion bus which apparently can be used for NVMe. It also has an option for a EMMC module. But if you get the default configuration then the only boot device supported is a micro SD card.&lt;/p&gt;
&lt;p&gt;One of the aims of purchasing this card is for testing 8K monitors, but it turns out that &lt;a href=&quot;https://etbe.coker.com.au/2025/12/22/samsung-8k-tv/&quot;&gt;there are no TVs that will take 8K input on sale in Australia [3]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The next thing I considered doing is running it for playing movies on a 4K but it turns out to not support HDMI audio (at least not with the supplied drivers) and has no other audio support. Apparently boards like this have a common use case of digital signs where audio isn’t required.&lt;/p&gt;
&lt;p&gt;I had this post in draft for a year because I planned to write more, but I haven’t come up with anything. It’s not an exciting device. Handy to have another ARM test and build system and handy to be able to test high resolution video with a portable device but I don’t use it for much. I guess “just works in a boring way” isn’t a bad review.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;[1]&lt;a href=&quot;https://www.aliexpress.com/item/1005007506696799.html&quot;&gt; https://www.aliexpress.com/item/1005007506696799.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[2]&lt;a href=&quot;https://docs.radxa.com/en/rock5/rock5a/getting-started/install-os/boot_from_sd_card&quot;&gt; https://tinyurl.com/22pnpg53&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;[3]&lt;a href=&quot;https://etbe.coker.com.au/2025/12/22/samsung-8k-tv/&quot;&gt; https://etbe.coker.com.au/2025/12/22/samsung-8k-tv/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;yarpp yarpp-related yarpp-related-rss yarpp-template-list&quot;&gt;

&lt;p&gt;Related posts:&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2013/12/27/sound-device-order-with-alsa/&quot; rel=&quot;bookmark&quot; title=&quot;Sound Device Order with ALSA&quot;&gt;Sound Device Order with ALSA&lt;/a&gt; &lt;small&gt;One problem I have had with my new Dell PowerEdge...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2025/11/28/10gbit-and-40gbit-home-networking/&quot; rel=&quot;bookmark&quot; title=&quot;10gbit and 40gbit Home Networking&quot;&gt;10gbit and 40gbit Home Networking&lt;/a&gt; &lt;small&gt;Aliexpress has a 4 port 2.5gbit switch with 2*SFP+ sockets...&lt;/small&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://etbe.coker.com.au/2024/01/19/2-5gbit-ethernet/&quot; rel=&quot;bookmark&quot; title=&quot;2.5Gbit Ethernet&quot;&gt;2.5Gbit Ethernet&lt;/a&gt; &lt;small&gt;I just decided to upgrade the core of my home...&lt;/small&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-10-30T05:56:57+00:00</dc:date>
	<dc:creator>etbe</dc:creator>
</item> 
<item rdf:about="https://www.ezini.eu/blog/2026/python/sandboxing-pre-commit">
	<title>Enrico Zini: Sandboxing pre-commit</title>
	<link>https://www.ezini.eu/blog/2026/python/sandboxing-pre-commit</link>
     <content:encoded>&lt;p&gt;&lt;a href=&quot;https://github.com/pre-commit/&quot;&gt;pre-commit&lt;/a&gt; is a tool that is often a
prerequisite for contributing to Python upstream projects. It installs as a git
pre-commit hook and runs various checks on commit, using tools installed in a
set of virtualenvs that it automatically manages.&lt;/p&gt;
&lt;p&gt;In other words, it is a Remote Code Execution engine running with the
permissions of your own user, and with read and write access to all your
information (including, say, &lt;code&gt;~/.ssh&lt;/code&gt; or &lt;code&gt;~/.netrc&lt;/code&gt;). If you are lucky, and for
as long as you&#39;re lucky, it will perform useful tasks on your code.&lt;/p&gt;
&lt;p&gt;The recent eMudhra certificate situation, where I learnt how Python, as well as
several other ecosystems, &lt;a href=&quot;https://mastodon.bida.im/@spanezz/117490446010382297&quot;&gt;likes to embed CA certificate bundles in
virtualenvs&lt;/a&gt;, caused my
tolerance for this to lower to a point where I felt the need to limit
pre-commit&#39;s reach.&lt;/p&gt;
&lt;p&gt;However, I didn&#39;t want to end up with another containerized OS tree that it&#39;s
then my responsibility to manage, and I tried to go the
&lt;a href=&quot;https://github.com/containers/bubblewrap&quot;&gt;bubblewrap&lt;/a&gt; way, so that the
environment where &lt;code&gt;pre-commit&lt;/code&gt; runs will get the same security updates as the
rest of my system.&lt;/p&gt;
&lt;p&gt;The result is a &lt;a href=&quot;https://salsa.debian.org/-/snippets/883&quot;&gt;pre-commit wrapper script&lt;/a&gt;
that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Runs in a private filesystem, with no access to user&#39;s files or system
  configuration&lt;/li&gt;
&lt;li&gt;Runs in a filesystem where everything is read-only, except for the git
  working directory&lt;/li&gt;
&lt;li&gt;Even the &lt;code&gt;.git&lt;/code&gt; directory is readonly, so that changes in the code can be
  reliably detected via &lt;code&gt;git diff&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Runs without network unless explicitly requested by the user&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here&#39;s a breakdown of the &lt;code&gt;bwrap&lt;/code&gt; options I used so far.&lt;/p&gt;
&lt;p&gt;Set up usual filesystem expectations:&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --ro-bind /usr /usr \
    --symlink usr/bin /bin \
    --symlink usr/lib64 /lib64 \
    --symlink usr/lib /lib \
    --proc /proc \
    --dev /dev \
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Make the working directory and pre-commit&#39;s environments storage available and
writable:&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --bind ${CURDIR} &quot;$GUEST_DIR&quot; \
    --bind ~/.cache/pre-commit &quot;/home/${USER}/.cache/pre-commit&quot; \
    --chdir &quot;$GUEST_DIR&quot; \
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Forward git&#39;s configuration:&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --ro-bind /etc/gitconfig /etc/gitconfig \
    --ro-bind ~/.gitconfig /home/${USER}/.gitconfig \
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Make &lt;code&gt;.git&lt;/code&gt; writable (pre-commit needs to stash, for example), but use a tmpfs
overlay so that the writes don&#39;t persist:&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --overlay-src &quot;$CURDIR/.git&quot; \
    --tmp-overlay &quot;$GUEST_DIR/.git&quot; \
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Remove access to everything except the above. Prevent keystroke injection at
the terminal. Propagate &lt;code&gt;^C&lt;/code&gt;.&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --unshare-all \
    --new-session \
    --die-with-parent
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;If network is needed:&lt;/p&gt;
&lt;pre class=&quot;codehilite&quot;&gt;&lt;code class=&quot;language-sh&quot;&gt;    --share-net \
    --ro-bind /etc/resolv.conf /etc/resolv.conf \
    --ro-bind /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;To run it, you can set up the wrapper script to run with a higher priority in
&lt;code&gt;$PATH&lt;/code&gt;, but you need to edit &lt;code&gt;.git/hooks/pre-commit&lt;/code&gt; to remove the first
branch of the &lt;code&gt;if&lt;/code&gt; that, frustratingly, tries to run it as &lt;code&gt;python3 -m
pre_commit&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;I&#39;m looking forward to a time where it becomes stadard practice to manage user
commands this way: why should a desktop solitaire game have access to &lt;code&gt;~/.ssh&lt;/code&gt;?
Or network? Why is it still normal, in 2026, to run a Desktop system like that?&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-26T17:36:37+00:00</dc:date>
	<dc:creator>Enrico Zini</dc:creator>
</item> 
<item rdf:about="http://blog.sesse.net/blog/tech/2026-10-21-23-19_decompilation_patterns_part_18_signed_division.html">
	<title>Steinar H. Gunderson: Decompilation patterns, part 18: Signed division</title>
	<link>http://blog.sesse.net/blog/tech/2026-10-21-23-19_decompilation_patterns_part_18_signed_division.html</link>
     <content:encoded>&lt;p&gt;As promised, the last one (for now?), and this one blew my mind the first
time I saw it:&lt;/p&gt;

&lt;pre&gt;    var_v0 = sp4014;
    if ((s32) sp4014 &amp;lt; 0) {
        var_v0 = sp4014 + 0x7FF;
    }
    temp_s1 = 0x800 - (sp4014 - (((s32) var_v0 &amp;gt;&amp;gt; 0xB) &amp;lt;&amp;lt; 0xB));
&lt;/pre&gt;

&lt;p&gt;There&#39;s actually two things going on here. First, the compiler
is faking a signed division using shifting (which rounds down) as a building block:
If the value is negative, then you add a bias to make shift into round-up.
(The right-shift by 0xB, or 11, is exactly a division by 0x800.)&lt;/p&gt;

&lt;p&gt;So this means what we&#39;re looking at is:&lt;/p&gt;

&lt;pre&gt;    var_v0 = (s32) sp4014 / 0x800;
    temp_s1 = 0x800 - (sp4014 - var_v0 * 0x800);
&lt;/pre&gt;

&lt;p&gt;which reduces further to:&lt;/p&gt;

&lt;pre&gt;    temp_s1 = 0x800 - ((s32) sp4014 % 0x800);
&lt;/pre&gt;

&lt;p&gt;Tada. That&#39;s it. Now you know all the tricks, except those that I don&#39;t know
or that I forgot. You don&#39;t need the LLM. Have fun. :-)&lt;/p&gt;

&lt;p&gt;Edit: Corrected a thinko; of course, MIPS has signed division.
This is for power-of-two optimizations only.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-21T22:19:00+00:00</dc:date>
	<dc:creator>Steinar H. Gunderson</dc:creator>
</item> 
<item rdf:about="http://blog.sesse.net/blog/tech/2026-10-20-23-33_decompilation_patterns_part_17_loop_rotation.html">
	<title>Steinar H. Gunderson: Decompilation patterns, part 17: Loop rotation</title>
	<link>http://blog.sesse.net/blog/tech/2026-10-20-23-33_decompilation_patterns_part_17_loop_rotation.html</link>
     <content:encoded>&lt;p&gt;Occasionally, you&#39;ll see code like this (after initial cleanup):&lt;/p&gt;

&lt;pre&gt;    var_v0_2 = crc &amp;amp; 0x80000000;
    do {
       if (var_v0_2 != 0) {
           crc = (crc &amp;lt;&amp;lt; 1) ^ 0x1EDC6F41;
       } else {
           crc &amp;lt;&amp;lt;= 1;
       }
       var_a0 += 1;
       var_v0_2 = crc &amp;amp; 0x80000000;
    } while (var_a0 &amp;lt; 8U);
&lt;/pre&gt;

&lt;p&gt;The thing with &lt;code&gt;var_v0_2&lt;/code&gt; is unnatural. GCC sometimes does these loop rotation tricks, seemingly
to save registers (don&#39;t ask me how exactly it does). You want to un-rotate
back into:&lt;/p&gt;

&lt;pre&gt;    do {
       var_v0_2 = crc &amp;amp; 0x80000000;
       if (var_v0_2 != 0) {
           crc = (crc &amp;lt;&amp;lt; 1) ^ 0x1EDC6F41;
       } else {
           crc &amp;lt;&amp;lt;= 1;
       }
       var_a0 += 1;
    } while (var_a0 &amp;lt; 8U);
&lt;/pre&gt;

&lt;p&gt;and then of course, you can clean up the rest:&lt;/p&gt;

&lt;pre&gt;for (i = 0; i &amp;lt; 8; ++i) {
    if (crc &amp;amp; 0x80000000) {
        crc = (crc &amp;lt;&amp;lt; 1) ^ 0x1EDC6F41;
    } else {
        crc &amp;lt;&amp;lt;= 1;
    }
}
&lt;/pre&gt;

&lt;p&gt;Last one tomorrow, I think.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-20T22:33:00+00:00</dc:date>
	<dc:creator>Steinar H. Gunderson</dc:creator>
</item> 
<item rdf:about="https://cascardo.eti.br/blog/dmem_cgroup_7.3/">
	<title>Thadeu Lima de Souza Cascardo: Restricting device memory usage on Linux 7.3</title>
	<link>https://cascardo.eti.br/blog/dmem_cgroup_7.3/</link>
     <content:encoded>&lt;p&gt;Linux cgroups has been used for a while to group processes and control their access to certain system resources. One of those resources is memory, through the use of memcg. That control is dynamic, allowing for cgroups to setup a minimal and a maximal amount of memory, as well as low and high thresholds, which will control the reclaim process.&lt;/p&gt;

&lt;p&gt;But what about device memory that is not available as system RAM? Memory that is not available to the Linux page allocator? One of those device memories is GPU VRAM.&lt;/p&gt;

&lt;p&gt;That&#39;s where the dmem cgroup controller comes in. Introduced in Linux 6.14, it was first adopted by the Intel Xe driver. In Linux 6.15, AMD amdgpu driver also adopted it. In 7.3, it was adopted by nouveau.&lt;/p&gt;

&lt;p&gt;Such a cgroup controller allows the system to be configured such that a workload, be it a browser, a game, or another GPU rendering process can have some minimal VRAM available. Or it can prevent one of these processes from using all VRAM, preventing your compositor from using it, for example.&lt;/p&gt;

&lt;p&gt;Let&#39;s go through the system knobs that are available to control this and what&#39;s new in Linux 7.3.&lt;/p&gt;

&lt;h2&gt;dmem regions and dmem.capacity&lt;/h2&gt;

&lt;p&gt;Since a given system might have multiple GPUs, there might be multiple device memory regions. So, on dmem, each such region is described by a name. Every dmem cgroup setting file will contain one line per region. One of those files shows the capacity of each region in bytes and is present only in the root cgroup.&lt;/p&gt;

&lt;p&gt;After enabling the dmem cgroup with the following command:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# echo +dmem &amp;gt; /sys/fs/cgroup/cgroup.subtree_control
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;One can inspect the capacity of any available regions by looking at &lt;code&gt;dmem.capacity&lt;/code&gt; at the root cgroup:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# cat /sys/fs/cgroup/dmem.capacity
drm/0000:03:00.0/vram 8573157376
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;That shows that the GPU at PCI address 0000:03:00.0 has a 8176MiB VRAM dmem region.&lt;/p&gt;

&lt;h2&gt;dmem settings&lt;/h2&gt;

&lt;p&gt;When introduced at 6.14, the following settings were available.&lt;/p&gt;

&lt;h3&gt;dmem.current&lt;/h3&gt;

&lt;p&gt;In every dmem cgroup, including the root cgroup, the dmem.current is a read-only file that shows the current usage of each region by the given cgroup.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# cat /sys/fs/cgroup/user.slice/dmem.current
drm/0000:03:00.0/vram 292757504
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Here, it shows that user.slice cgroup is currently using above 292 MB of VRAM.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# cat /sys/fs/cgroup/dmem.current
drm/0000:03:00.0/vram 311377920
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Here, we can check that total system usage is above 311 MB.&lt;/p&gt;

&lt;h3&gt;dmem.max&lt;/h3&gt;

&lt;p&gt;Excluding the root cgroup, dmem cgroups can control the maximal number of bytes that can be allocated from a region by processes in that cgroup. If an allocation moves the usage above the max setting, it will be refused. In that case, the allocation might be attempted at system memory or it might trigger eviction, depending on the allocation parameters and the driver.&lt;/p&gt;

&lt;p&gt;Here, the &lt;code&gt;max&lt;/code&gt; value has special meaning, which is unrestricted usage.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# echo drm/0000:03:00.0/vram 536870912 &amp;gt; /sys/fs/cgroup/user.slice/dmem.max
# cat /sys/fs/cgroup/user.slice/dmem.max
drm/0000:03:00.0/vram 536870912
# echo drm/0000:03:00.0/vram max &amp;gt; /sys/fs/cgroup/user.slice/dmem.max
# cat /sys/fs/cgroup/user.slice/dmem.max
drm/0000:03:00.0/vram max
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;dmem.min&lt;/h3&gt;

&lt;p&gt;dmem.min, also not available on the root cgroup, will control the eviction process - when memory needs to be moved out of VRAM to make room for other VRAM allocations. If an object belongs to a cgroup which is using less than its min setting, it will not be considered for eviction. It effectively works as a hard protection such that the cgroup can use at least the minimal setting.&lt;/p&gt;

&lt;p&gt;Given multiple cgroups may set a minimal value that exceeds the device memory capacity, it computes an effective minimal depending on the hierarchy.&lt;/p&gt;

&lt;h3&gt;dmem.low&lt;/h3&gt;

&lt;p&gt;While dmem.min works as a hard limit, dmem.low is a soft limit that will prevent eviction in case other objects from different cgroups are available for eviction. That is, the system will try to evict from different, possibly unprotected cgroups, before it tries to evict from a cgroup if evicting would leave its usage below the value set as dmem.low.&lt;/p&gt;

&lt;h2&gt;Recent developments in Linux 7.3&lt;/h2&gt;

&lt;p&gt;Some new changes have been recently introduced in the dmem cgroup controller and its integration with GPUs.&lt;/p&gt;

&lt;p&gt;One of those is a new read-only file, &lt;code&gt;dmem.peak&lt;/code&gt;, which was introduced to allow the peak usage of a region in a cgroup to be inspected.&lt;/p&gt;

&lt;p&gt;Also, Linux 7.3 fixed certain scenarios where a given cgroup would not be able to allocate VRAM up to its minimal or low limits if other processes had already allocated most of VRAM, even though they had no such limits set.&lt;/p&gt;

&lt;p&gt;Changing multiple regions&#39; settings in a single write was possible before 7.3, but it was prone to failures which would not be reported to userspace and might have left the values partially updated. Starting with 7.3, only one region may be updated per write.&lt;/p&gt;

&lt;p&gt;And, finally, prior to 7.3, setting &lt;code&gt;dmem.max&lt;/code&gt; in a cgroup that was using more than the new setting would silently fail. Now, there is a mechanism that allows a reclaim mechanism to be triggered. That way, when a process writes to &lt;code&gt;dmem.max&lt;/code&gt; and sets a maximal value below the current usage, it will wait (unless &lt;code&gt;O_NONBLOCK&lt;/code&gt; is used) for the reclaim process to move objects out of VRAM until the usage gets below the maximal value. If that is not possible for some reason, the setting will still be in place, restricting further alloctions by that cgroup.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-20T17:19:57+00:00</dc:date>
	<dc:creator>Thadeu Lima de Souza Cascardo</dc:creator>
</item> 
<item rdf:about="http://blog.sesse.net/blog/tech/2026-10-19-21-53_decompilation_patterns_part_16_tail_reduplication.html">
	<title>Steinar H. Gunderson: Decompilation patterns, part 16: Tail reduplication</title>
	<link>http://blog.sesse.net/blog/tech/2026-10-19-21-53_decompilation_patterns_part_16_tail_reduplication.html</link>
     <content:encoded>&lt;p&gt;We&#39;re nearing the end soon, I promise. Here&#39;s one that I see all the time:&lt;/p&gt;

&lt;pre&gt;     ...
         } else {
             var_t0_5 = temp_a0_3 - 0x140;
             var_a2_5 = 0xA0 - temp_a3_5;
             goto block_45;
         }
     } else {
         var_t0_5 = 0xA0 - temp_a0_3;
         var_a2_5 = temp_a3_5 - 0x118;
block_45:               
         var_v0_3 = var_t0_5 + 0xA0;
         var_v1_4 = var_a2_5 + 0x78;
     }
&lt;/pre&gt;

&lt;p&gt;So, eh, what&#39;s that goto doing there? What happened was that the compiler
helpfully figured it could help with some tail deduplication; someone
wrote the same code twice, and the compiler figured taking the cost
of a branch was better than keeping it duplicated. (In a sense, it&#39;s
the opposite of inlining. Ish.) In most cases, it&#39;s as simple as
copying the block and then you can remove the label:&lt;/p&gt;

&lt;pre&gt;     ...
         } else {
             var_t0_5 = temp_a0_3 - 0x140;
             var_a2_5 = 0xA0 - temp_a3_5;
             var_v0_3 = var_t0_5 + 0xA0;
             var_v1_4 = var_a2_5 + 0x78;
         }
     } else {
         var_t0_5 = 0xA0 - temp_a0_3;
         var_a2_5 = temp_a3_5 - 0x118;
         var_v0_3 = var_t0_5 + 0xA0;
         var_v1_4 = var_a2_5 + 0x78;
     }
&lt;/pre&gt;

&lt;p&gt;Sometimes, these are nested, with multiple tails goto-ing into each other,
so in that case, you&#39;ll need to reduplicate multiple times.
Make sure you actually come out on the correct side afterwards,
though.&lt;/p&gt;

&lt;p&gt;As an extra complication, the code is deduplicated not on the C statement level, but on
RTL instructions, so if you&#39;re calling functions with five parameters
of more (which requires pushing parameters onto the stack), m2c can
get really confused and start throwing &lt;code&gt;M2C_ERROR()&lt;/code&gt; at you on the
receiving side because it&#39;s not clear at all where the parameters
would be coming from.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-19T20:53:00+00:00</dc:date>
	<dc:creator>Steinar H. Gunderson</dc:creator>
</item> 
<item rdf:about="http://dirk.eddelbuettel.com/blog/2026/10/18#myman_0.12.0">
	<title>Dirk Eddelbuettel: myman 0.12.0 on CRAN: Two new waves!</title>
	<link>http://dirk.eddelbuettel.com/blog/2026/10/18#myman_0.12.0</link>
     <content:encoded>&lt;p&gt;Another new and exciting version of our still-new package &lt;a href=&quot;https://github.com/eddelbuettel/myman&quot;&gt;myman&lt;/a&gt; reached &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; this morning, and has been
built for &lt;a href=&quot;https://eddelbuettel.github.io/r2u/&quot;&gt;r2u&lt;/a&gt; and on
&lt;a href=&quot;https://eddelbuettel.r-universe.dev/myman&quot;&gt;r-universe&lt;/a&gt;. The
matching &lt;a href=&quot;https://pypi.org/project/myman/&quot;&gt;Python package&lt;/a&gt;
has also been updated. The package offers twenty one hundred eighty four
&lt;em&gt;“My man …”&lt;/em&gt; posts by &lt;a href=&quot;https://bsky.app/profile/kevinmkruse.bsky.social&quot;&gt;Kevin Kruse&lt;/a&gt;
made on &lt;a href=&quot;https://bsky.app&quot;&gt;bsky&lt;/a&gt; during the summer of 2026.
Each wave picked at one particular public persona. This package wrapse
these up in the style of packages like &lt;a href=&quot;https://zeileis.codeberg.page/fortunes/&quot;&gt;fortunes&lt;/a&gt; or &lt;a href=&quot;https://github.com/eddelbuettel/gaussfacts&quot;&gt;gaussfacts&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This release regroups two new waves of posts mocking, respectively,
Peter Thiel and Michael Tracy, and make a small update to continuous
integration. The short NEWS entry for this release follows.&lt;/p&gt;
&lt;blockquote&gt;
&lt;h4 id=&quot;changes-in-version-0.12.0-2026-10-18&quot;&gt;Changes in version 0.12.0
(2026-10-18)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;New waves eleven (100 posts) and twelve (100 posts) made last
week; total is now 2184 posts&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Small update to continuous integration&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Courtesy of my &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/&quot;&gt;CRANberries&lt;/a&gt;, there
is also a diffstat report for the &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/2026/10/18#myman_0.12.0&quot;&gt;most
recent release&lt;/a&gt;. More information is available at the &lt;a href=&quot;https://github.com/eddelbuettel/myman&quot;&gt;repository&lt;/a&gt; or the &lt;a href=&quot;https://dirk.eddelbuettel.com/code/myman.html&quot;&gt;package
page&lt;/a&gt;.&lt;/p&gt;
&lt;p style=&quot;font-size: 80%; font-style: italic;&quot;&gt;
This post by &lt;a href=&quot;https://dirk.eddelbuettel.com&quot;&gt;Dirk
Eddelbuettel&lt;/a&gt; originated on his &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/&quot;&gt;Thinking inside the box&lt;/a&gt;
blog. If you like this or other open-source work I do, you can &lt;a href=&quot;https://github.com/sponsors/eddelbuettel&quot;&gt;sponsor me at
GitHub&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-18T20:00:00+00:00</dc:date>
	<dc:creator>Dirk Eddelbuettel</dc:creator>
</item> 
<item rdf:about="http://blog.sesse.net/blog/tech/2026-10-18-10-47_decompilation_patterns_part_15_redundant_if_for.html">
	<title>Steinar H. Gunderson: Decompilation patterns, part 15: Redundant if-for</title>
	<link>http://blog.sesse.net/blog/tech/2026-10-18-10-47_decompilation_patterns_part_15_redundant_if_for.html</link>
     <content:encoded>&lt;p&gt;Yet another way of writing for loops:&lt;/p&gt;

&lt;pre&gt;    var_a2_4 = ...
    if (var_a2_4 &amp;lt; 0x78) {
        ...
        do {
            ...
            var_a2_4 += 1;
        } while (var_a2_4 &amp;lt; 0x78);
    }
&lt;/pre&gt;

&lt;p&gt;This extra if is merely there because the compiler wasn&#39;t able to prove
that the variable didn&#39;t start below the bound, so it can&#39;t rewrite
the while-do to a do-while without that extra check. So the rewrite
still reads:&lt;/p&gt;

&lt;pre&gt;for (var_a2_4 = ...; var_a2_4 &amp;lt; 0x78; ++var_a2_4) {
    ...
}
&lt;/pre&gt;

&lt;p&gt;possibly with the initializer skipped, if it comes from something
complex earlier.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-18T09:47:00+00:00</dc:date>
	<dc:creator>Steinar H. Gunderson</dc:creator>
</item> 
<item rdf:about="https://danielpocock.com/en/high-court-secret-trial-collapses-confidentiality-breaches">
	<title>Daniel Pocock: High Court: secret trial collapses due to confidentiality breaches</title>
	<link>https://danielpocock.com/en/high-court-secret-trial-collapses-confidentiality-breaches/</link>
     <content:encoded>&lt;p&gt;On 7 October 2026, I submitted an application withdrawing the
&lt;a href=&quot;https://danielpocock.com/en/winding-up-petition-leaked-before-service-reform-uk-party-limited/&quot;&gt;
secret legal document served on Nigel Farage&#39;s Reform UK party/company&lt;/a&gt;.
Specifically, I lost any remaining confidence in the procedure after
discovering a second potential breach of confidentiality.&lt;/p&gt;

&lt;p&gt;Before getting into the details, it is interesting to take a step sideways
and look at how this type of thing happened in the
&lt;a href=&quot;https://danielpocock.com/en/category/catholic-abuse/&quot;&gt;
Catholic abuse crisis&lt;/a&gt;.  Specifically, on page 177 of the un-redacted report
(case study 35) into the Archdiocese of Melbourne, we have the following story:&lt;/p&gt;

&lt;blockquote&gt;&lt;em&gt;
&lt;p&gt;We heard from BTU, who said that
&lt;a href=&quot;https://danielpocock.com/en/people/fr-ron-pickering/&quot;&gt;
Father Pickering&lt;/a&gt; sexually abused him for 12 years, beginning
in 1966, when he was 11. BTU described being sexually abused by
&lt;a href=&quot;https://danielpocock.com/en/people/fr-ron-pickering/&quot;&gt;
Father Pickering&lt;/a&gt; on numerous
occasions, including on holidays with
&lt;a href=&quot;https://danielpocock.com/en/people/fr-ron-pickering/&quot;&gt;
Father Pickering&lt;/a&gt;. For some of the time, BTU was an adult.&lt;/p&gt;
&lt;p&gt;The first time that BTU told anyone of the sexual abuse was in 1968, when he disclosed to a priest
during confession. The priest who heard his confession was
&lt;a href=&quot;https://danielpocock.com/en/people/fr-wilfred-baker/&quot;&gt;
Wilfred Baker&lt;/a&gt;. Afterwards, BTU had
a conversation with
&lt;a href=&quot;https://danielpocock.com/en/people/fr-wilfred-baker/&quot;&gt;
Father Baker&lt;/a&gt; in the church about what he had confessed. A few months later,
&lt;a href=&quot;https://danielpocock.com/en/people/fr-ron-pickering/&quot;&gt;
Father Pickering&lt;/a&gt; confronted BTU and told him that he was stupid for telling
&lt;a href=&quot;https://danielpocock.com/en/people/fr-wilfred-baker/&quot;&gt;
Father Baker&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We accept BTU’s evidence that he told
&lt;a href=&quot;https://danielpocock.com/en/people/fr-wilfred-baker/&quot;&gt;
Father Baker during confession in around 1968 that
he was sexually abused by
&lt;/a&gt;&lt;a href=&quot;https://danielpocock.com/en/people/fr-ron-pickering/&quot;&gt;
Father Pickering&lt;/a&gt;. It is not surprising that no action was taken in
response to BTU’s disclosure given that
&lt;a href=&quot;https://danielpocock.com/en/people/fr-wilfred-baker/&quot;&gt;
Father Baker&lt;/a&gt; was himself an offender.&lt;/p&gt;
&lt;p&gt;BTU said that his sexual relationship with
&lt;a href=&quot;https://danielpocock.com/en/people/fr-ron-pickering/&quot;&gt;
Father Pickering&lt;/a&gt; ended in 1978 after BTU saw a
naked boy, who he thought was about 15 years old, inside
&lt;a href=&quot;https://danielpocock.com/en/people/fr-ron-pickering/&quot;&gt;
Father Pickering&lt;/a&gt;’s bedroom at
the Gardenvale presbytery.&lt;/p&gt;
&lt;p&gt;In October 1993 BTU approached a solicitor about his complaint and subsequently instructed
the solicitor to send a letter of demand to the Archdiocese in relation to the sexual abuse.&lt;/p&gt;
&lt;p&gt;On 23 December 1993, the Archdiocese received a letter of demand relating to a claim
of sexual abuse of BTU by
&lt;a href=&quot;https://danielpocock.com/en/people/fr-ron-pickering/&quot;&gt;
Father Pickering&lt;/a&gt;.&lt;/p&gt;
&lt;/em&gt;&lt;/blockquote&gt;

&lt;p&gt;The first transgression occurred on 24 September 2026 when
&lt;a href=&quot;https://danielpocock.com/en/category/social-control-media/&quot;&gt;
social control media&lt;/a&gt; became
&lt;a href=&quot;https://danielpocock.com/en/winding-up-petition-leaked-before-service-reform-uk-party-limited/&quot;&gt;
aware of the secret legal document even before it had been served&lt;/a&gt;.  This
was really unfair to all parties, including both
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; and myself as the petitioner.&lt;/p&gt;

&lt;p&gt;Now nobody is allowed to say what we are talking about.  All I can say
is that somebody has been invited to a secret trial with
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The court order does not prevent anybody talking or writing about
&lt;a href=&quot;https://danielpocock.com/en/creditors-beware-vms-enterprises-brexit-party-reform-uk/&quot;&gt;
the fact Reform UK Party Limited was hit with a winding-up petition in 2022&lt;/a&gt;.&lt;/p&gt;

&lt;img alt=&quot;Nigel Farage, Reform UK, secret trials&quot; src=&quot;https://danielpocock.com/assets/reform-uk/2026-10-01-sit-in-private.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;On 28 September 2026, at about 3pm,
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt;&#39;s lawyers sent me an application demanding the court aborts
the procedure.  The lawyers tried to trick me by including links to
untrusted web sites to download documents allegedly related to the case.
Due to the dangers of the download links, I didn&#39;t actually see the
attachments until they were eventually sent to me later in the week as proper
email attachments.&lt;/p&gt;

&lt;p&gt;One of the law firms I spoke to referred me to another firm,
&lt;a href=&quot;https://danielpocock.com/en/category/4-5-grays-inn-square/&quot;&gt;
4-5 Gray&#39;s Inn Square&lt;/a&gt; who have a direct access program which allegedly
reduces the cost of instructing counsel.  I called them at approximately
6pm.&lt;/p&gt;

&lt;p&gt;I told the clerk the names of the parties in the case and he asked me
to send him all the documents about the case.  He told me he was going
to pass the documents around his colleagues in the office and reply to
me by 9am the next day to inform me if somebody would represent me.&lt;/p&gt;

&lt;p&gt;
Click to listen to a recording of the call.  The full transcript is below:&lt;/p&gt;

&lt;audio controls=&quot;&quot;&gt;
  &lt;source src=&quot;https://danielpocock.com/assets/4-5-grays-inn-square/2026-09-28-call.flac&quot; type=&quot;audio/flac&quot; /&gt;
  &lt;p&gt;
    Download &lt;a href=&quot;https://danielpocock.com/assets/4-5-grays-inn-square/2026-09-28-call.flac&quot;&gt;FLAC&lt;/a&gt;
  &lt;/p&gt;
&lt;/audio&gt;

&lt;blockquote&gt;&lt;em&gt;
&lt;p&gt;clerk: 4-5 Gray&#39;s Inn Square&lt;/p&gt;
&lt;p&gt;DP: Hello, I&#39;ve started a debt recovery process and obtained a winding-up petition against Refom.  The political party.&lt;/p&gt;
&lt;p&gt;clerk: Right.&lt;/p&gt;
&lt;p&gt;DP: and I&#39;m looking for some help with that.  They&#39;re quite mad.&lt;/p&gt;
&lt;p&gt;clerk: OK, do you have a hearing date then?&lt;/p&gt;
&lt;p&gt;DP: Yeah, the first of October.&lt;/p&gt;
&lt;p&gt;clerk: The first October.&lt;/p&gt;
&lt;p&gt;DP: There&#39;s some good news, I&#39;ve got another creditor who came forward.&lt;/p&gt;
&lt;p&gt;clerk: Silly question I&#39;m pretty sure the.. is it definitely on the first because the ... is definitely, I think they only sit on Wednesdays.&lt;/p&gt;
&lt;p&gt;DP: So they&#39;ve sent me .. they&#39;re asking for an urgent injunction to&lt;/p&gt;
&lt;p&gt;clerk: OK&lt;/p&gt;
&lt;p&gt;DP: stop me publishing in the Gazette.  So the actual winding up hearing is the eleventh of November.&lt;/p&gt;
&lt;p&gt;clerk: ah perfect!&lt;/p&gt;
&lt;p&gt;DP: So the thing is this injunction hearing, I could consent not to publish in the Gazette if we can push that hearing back if that will satisfy them.&lt;/p&gt;
&lt;p&gt;clerk: ah OK brilliant I can definitely take a look for you and just seeing you don&#39;t have a solicitor on board do you?&lt;/p&gt;
&lt;p&gt;DP: No, no I just submitted a statutory demand myself.&lt;/p&gt;
&lt;p&gt;clerk: Umm&lt;/p&gt;
&lt;p&gt;DP: On the first of September then all this really horrible stuff came out in the news.  On the third of September it was the Channel 4 stuff, the undercover reporters.  On the ninth of September the Met Police said they&#39;re on it.  On the eleventh and twelfth it was those huge donations and on the fifteenth it was their leader in Wales on the assault charges.&lt;/p&gt;
&lt;p&gt;clerk: Yeah&lt;/p&gt;
&lt;p&gt;DP: and then on the twenty third they hadn&#39;t responded to my statutory demand so I immediately served the winding up petition.&lt;/p&gt;
&lt;p&gt;clerk: OK brilliant!  I can definitely have a look for you then.  As this is Direct Access I won&#39;t be able to confirm on the phone.  I&#39;ll leave you my email address and if its OK could you send me all the case details, if you&#39;ve got any relevant papers, and then I&#39;ll have a look for you for some suitable options because I&#39;m quite&lt;/p&gt;
&lt;p&gt;DP: yeah is that the clerk&#39;s email address on your web site?&lt;/p&gt;
&lt;p&gt;clerk: I&#39;ll give you my one so it&#39;s W M O U&lt;/p&gt;
&lt;p&gt;DP: go ahead W&lt;/p&gt;
&lt;p&gt;clerk: M O U&lt;/p&gt;
&lt;p&gt;DP: O U&lt;/p&gt;
&lt;p&gt;clerk: R I N O&lt;/p&gt;
&lt;p&gt;DP: yes&lt;/p&gt;
&lt;p&gt;clerk: so it&#39;s W Mourino at four dash five dot co dot uk.&lt;/p&gt;
&lt;p&gt;DP: (typing) OK so I&#39;m going to send these attachments right now.  I was quite shocked this morning when I got the other creditor.  It&#39;s British Gas.  They haven&#39;t paid their electricity bills apparently.  So they&#39;ve got this seventy two million in donations that they&#39;re talking about publicly yet they can&#39;t afford to pay their bills.&lt;/p&gt;
&lt;p&gt;clerk: Yeah so its one definitely look into.  So um yeah if you send that over I&#39;ll definitely come back tomorrow morning and hopefully got some suitable options for you.&lt;/p&gt;
&lt;p&gt;DP: Yeah the winding-up petition, the promise to pay, there are lots of videos online where they... the directors promise to pay people um but I&#39;ll just send you the documents to begin with.&lt;/p&gt;
&lt;p&gt;clerk: Exactly.&lt;/p&gt;
&lt;p&gt;DP: What time tomorrow would you be replying to me?&lt;/p&gt;
&lt;p&gt;clerk: So I get in at nine tomorrow and then so hopefully by the time I get in I&#39;ve got a few responses from different options so hopefully I&#39;ll be able to confirm something in the morning.&lt;/p&gt;
&lt;p&gt;DP: OK great so what was your first name?&lt;/p&gt;
&lt;p&gt;clerk: It&#39;s Will.&lt;/p&gt;
&lt;p&gt;DP: Will, yeah I&#39;ll send that in the next two to three minutes.  Actually, just stay on the phone I want to make sure that it doesn&#39;t get lost in the spam folder or anything.&lt;/p&gt;
&lt;p&gt;clerk: What you can do just to be safe is copy in the one on our web site then.  The generic clerks one.&lt;/p&gt;
&lt;p&gt;DP: OK (typing) yeah if you haven&#39;t received it in five minutes then just check your spam and everything because ...&lt;/p&gt;
&lt;p&gt;clerk: absolutely&lt;/p&gt;
&lt;p&gt;DP: I&#39;ve had a lot of problems with this recently sending attachments um and it just ends up in the spam folder.&lt;/p&gt;
&lt;p&gt;clerk: so if I don&#39;t receive it can I just take down your number?&lt;/p&gt;
&lt;p&gt;DP: Yeah its 0 2 0&lt;/p&gt;
&lt;p&gt;clerk: 0 2 0&lt;/p&gt;
&lt;p&gt;DP: 7 1 3 5&lt;/p&gt;
&lt;p&gt;clerk: 7 1 3 5&lt;/p&gt;
&lt;p&gt;DP: Seven thousand.&lt;/p&gt;
&lt;p&gt;clerk: Seven thousand and may I take your name please?&lt;/p&gt;
&lt;p&gt;DP: Daniel Pocock. ...&lt;/p&gt;
&lt;p&gt;clerk: ...  Brilliant, so yeah I&#39;ll look out for that and then if I don&#39;t receive it I&#39;ll just give you a call.&lt;/p&gt;
&lt;p&gt;DP: Great, thank you Will.  Bye bye.&lt;/p&gt;
&lt;p&gt;clerk: Brilliant.  Have a good evening.&lt;/p&gt;
&lt;/em&gt;&lt;/blockquote&gt;


&lt;p&gt;On 29 September 2026, the clerk sent me an email:&lt;/p&gt;

&lt;pre style=&quot;white-space: pre-wrap;&quot;&gt;Subject: 	RE: CR-2026-007405 High Court insolvency list / Reform UK (Nigel Farage, Richard Tice)
Date: 	Tue, 29 Sep 2026 09:09:50 +0100
From: 	[ redacted ]
To: 	Daniel Pocock &amp;lt;daniel@pocock.pro&amp;gt;

Good morning Daniel,

I hope you had a good evening.

Thank you very much for sending everything across.

I’ve asked around and unfortunately, we don’t have suitable options with the capacity to assist with this.

&lt;b&gt;Would you like me to delete all correspondence given the sensitivity&lt;/b&gt; or recommend potential chambers to assist?

Kind regards,

[redacted]
	
Telephone: +44 (0) 20 7404 5252

4‑5 Gray&#39;s Inn Square
Gray&#39;s Inn
London WC1R 5AH
DX 1029 LDE
&lt;/pre&gt;

&lt;p&gt;Three hours after receiving that email, I sent an email back to the
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; lawyers asking them to send me the missing attachments.&lt;/p&gt;

&lt;p&gt;They eventually sent the documents as proper attachments.  On 30 September 2026,
Wednesday evening, I was looking at one of the documents and at the bottom I saw the
name of exactly the same firm I had sent my own documents to on 28 September:&lt;/p&gt;

&lt;img alt=&quot;Nigel Farage, Adam Richardson, Company&#39;s own candidate&quot; src=&quot;https://danielpocock.com/assets/people/adam-richardson-4-5/adam-richardson.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Remember,
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; asked for
&lt;a href=&quot;https://danielpocock.com/en/category/pocock-on-sea/&quot;&gt;
the un-necessary by-election&lt;/a&gt; on the premise that he was a victim of
&lt;a href=&quot;https://danielpocock.com/en/category/the-establishment/&quot;&gt;
the Establishment&lt;/a&gt;.  The exercise cost British taxpayers at least
£250,000.  What we see in my exchanges with
&lt;a href=&quot;https://danielpocock.com/en/category/4-5-grays-inn-square/&quot;&gt;
4-5 Gray&#39;s Inn Square&lt;/a&gt; is the behaviour of
&lt;a href=&quot;https://danielpocock.com/en/category/the-establishment/&quot;&gt;
the Establishment&lt;/a&gt; and it feels a lot like they are doing a lot more work for
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel&lt;/a&gt;&#39;s than for any other candidate.&lt;/p&gt;

&lt;p&gt;If the by-election wasn&#39;t really about
&lt;a href=&quot;https://danielpocock.com/en/category/the-establishment/&quot;&gt;
the Establishment&lt;/a&gt; then it must be about something else.  Maybe
there are other secret trials in progress that voters were never told
about.&lt;/p&gt;

&lt;p&gt;After observing the circumstances involving
&lt;a href=&quot;https://danielpocock.com/en/category/4-5-grays-inn-square/&quot;&gt;
4-5 Gray&#39;s Inn Square&lt;/a&gt;, I immediately sent a letter to the judge in the
case explaining I had lost confidence in the procedure.&lt;/p&gt;

&lt;p&gt;The following morning, on 1 October 2026, I sent an email to the same
clerk at
&lt;a href=&quot;https://danielpocock.com/en/category/4-5-grays-inn-square/&quot;&gt;
4-5 Gray&#39;s Inn Square&lt;/a&gt; asking them to &quot;Please kindly explain why you did not run a conflict check before asking me to submit names and documents to 4-5 Gray&#39;s Inn Square.&quot;
&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://danielpocock.com/en/category/4-5-grays-inn-square/&quot;&gt;
4-5 Gray&#39;s Inn Square&lt;/a&gt; never sent any response to this query.  It is now
radio silence.&lt;/p&gt;

&lt;p&gt;I can not prove how many clerks and lawyers in the firm looked at the
same attachments.  I don&#39;t know if the same lawyer assisting
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; was accidentally given the opportunity to see my documents.
Nonetheless, looking at the transcript of my phone call with
these people, their email response the next day and subsequent radio silence
when challenged about the affair, I feel there is a real possibility they
failed to maintain information barriers, also known as Chinese walls.
Whether this breach of confidentiality happened deliberately or by accident
doesn&#39;t make a lot of difference.&lt;/p&gt;

&lt;p&gt;On 7 October 2026, I took the next step and submitted a formal application
to withdraw the secret legal document and put an end to the secret procedure.&lt;/p&gt;

&lt;p&gt;The cost and potential side-effects of these incidents make the
procedure uneconomical and result in an unacceptable risk of a judge
making incorrect findings in a dispute.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://danielpocock.com/en/creditors-beware-vms-enterprises-brexit-party-reform-uk/&quot;&gt;
This was not the first time somebody served one of these secret legal
documents on Reform UK Party Limited&lt;/a&gt;.  I doubt it will be the last time.&lt;/p&gt;

&lt;h3&gt;Secret trial on Monday, 19 October 2026&lt;/h3&gt;

&lt;p&gt;It is London&#39;s worst kept secret.&lt;/p&gt;

&lt;p&gt;British press photographers have been carefully studying pictures of
&lt;a href=&quot;https://danielpocock.com/en/people/count-binface-jonathan-david-harvey/&quot;&gt;
Count Binface&lt;/a&gt; so they can recognise the real
&lt;a href=&quot;https://danielpocock.com/en/people/count-binface-jonathan-david-harvey/&quot;&gt;
Count Binface&lt;/a&gt; and distinguish him from random strangers wearing bins
on their heads.&lt;/p&gt;

&lt;p&gt;Court security staff have been briefed on the possibility of journalists
wearing bins on their head to try and impersonate a novelty candidate
and gain access to the Rolls Building in the Royal Courts of Justice.&lt;/p&gt;

&lt;p&gt;MI5 and
&lt;a href=&quot;https://danielpocock.com/en/category/gchq/&quot;&gt;
GCHQ&lt;/a&gt; have been working overtime investigating rumours about
a plot to smuggle an emergency life raft into the court and inflate
it in honour of Lifeboat crews harassed by lunatics from
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Lunatics aside,
&lt;a href=&quot;https://danielpocock.com/en/category/official-monster-raving-loony-party/&quot;&gt;
Official Monster Raving Loony Party&lt;/a&gt; candidates may be the real winners.
In defence of the secret legal claim,
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; have argued they don&#39;t have to follow through on their
&lt;a href=&quot;https://danielpocock.com/en/reform-uk-offers-to-pay-for-clacton-by-election/&quot;&gt;
promise to pay for the by-election&lt;/a&gt; because they never invited any other
candidates to participate:&lt;/p&gt;

&lt;img alt=&quot;Nigel Farage, Official Monster Raving Loony Party, Clacton-on-Sea, by-election&quot; src=&quot;https://danielpocock.com/assets/reform-uk/did-not-invite-anyone-to-stand.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;It turns out
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; told a journalist he wanted the
&lt;a href=&quot;https://danielpocock.com/en/category/official-monster-raving-loony-party/&quot;&gt; 
Official Monster Raving Loony Party&lt;/a&gt; to participate.  He also mentioned
the guy who dresses in a fox costume.  Therefore, the
three Loony candidates appear to have a stronger claim than anybody else.
From the
&lt;a href=&quot;https://www.clactonandfrintongazette.co.uk/news/26262560.nigel-farage-gives-first-interview-clacton-resignation/&quot;&gt;
Clacton Gazette article&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;em&gt;
&lt;p&gt;When asked whether people will take the by-election seriously when &lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;Mr Farage&lt;/a&gt;’s only confirmed opponent is &lt;a href=&quot;https://danielpocock.com/en/people/count-binface-jonathan-david-harvey/&quot;&gt;Count Binface&lt;/a&gt;, he said: “Well, I think that’s wrong – I think the &lt;a href=&quot;https://danielpocock.com/en/category/official-monster-raving-loony-party/&quot;&gt;Monster Raving Loonies&lt;/a&gt; will stand as well, and I’m told this morning that &lt;a href=&quot;https://danielpocock.com/en/people/laurence-fox-reclaim/&quot;&gt;Laurence Fox&lt;/a&gt; the actor has announced he’s standing.&lt;/p&gt;

&lt;p&gt;“There will be candidates.”&lt;/p&gt;
&lt;/em&gt;&lt;/blockquote&gt;

&lt;p&gt;When I discovered that
&lt;a href=&quot;https://danielpocock.com/en/category/4-5-grays-inn-square/&quot;&gt;
4-5 Gray&#39;s Inn Square&lt;/a&gt; had already done work for the other side in this
dispute, the story of
&lt;a href=&quot;https://danielpocock.com/en/people/fr-wilfred-baker/&quot;&gt;
Father Baker&lt;/a&gt; and
&lt;a href=&quot;https://danielpocock.com/en/people/fr-ron-pickering/&quot;&gt;
Father Pickering&lt;/a&gt; communicating behind the backs of abuse victims wasn&#39;t
the only thing that came to mind.&lt;/p&gt;

&lt;p&gt;Take a moment to remember the
&lt;a href=&quot;https://juristgate.com/en/greffier-corruption-protection-racket-cat-whisperer/&quot;&gt;
Swiss JuristGate scandal, in particular, the greffiers who work like clerks
in the court while simultaneously running businesses on the side&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;In Australia, we had
&lt;a href=&quot;https://juristgate.com/en/2025/07/01/lawyer-law-firm-x-elon-musk-twitter-old-xaverian/&quot;&gt;
the notorious lawyer X&lt;/a&gt;, who was officially working for crime bosses
while secretly working as a police informer.  It was a scandal that went
from the bar to the bedroom and back again.  The Royal Commission into
that affair made a point of
&lt;a href=&quot;https://www.abc.net.au/news/2019-04-01/police-officer-admits-intimate-relationship-with-lawyer-x/10959990&quot;&gt;
asking police who slept with the lawyer (guilty as charged)&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It didn&#39;t take me long to find reports about other scandals around
&lt;a href=&quot;https://danielpocock.com/en/category/4-5-grays-inn-square/&quot;&gt;
4-5 Gray&#39;s Inn Square&lt;/a&gt;.  In one of the more minor cases, a lawyer
&lt;a href=&quot;https://www.chambersstudent.co.uk/commercial-awareness-memo/the-memo-barrister-who-dozed-off-during-inquest-cleared-of-professional-misconduct&quot;&gt;
was cleared in a disciplinary procedure after falling asleep during
a trial&lt;/a&gt;.  Then there was the lawyer
&lt;a href=&quot;https://danielpocock.com/en/people/paul-cohen-4-5/&quot;&gt;
Paul Cohen&lt;/a&gt; and the legendary
&lt;a href=&quot;https://know-sulu.ph/unforeseen-consequences/launching-a-new-firm-on-a-failed-15-billion-claim-paul-cohens-sulu-arbitration&quot;&gt;
$15 billion Sulu arbitration affair&lt;/a&gt;.  An even darker affair involves
&lt;a href=&quot;https://danielpocock.com/en/people/oliver-zachary-white-4-5/&quot;&gt;
Oliver Zachary White&lt;/a&gt;, banned from direct access work
&lt;a href=&quot;https://www.barstandardsboard.org.uk/resources/press-releases/oliver-zachary-white-ordered-to-be-suspended-for-a-total-of-two-years-for-several-practice-failings.html&quot;&gt;
due to unauthorised handling of client funds&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Read more about the
&lt;a href=&quot;https://danielpocock.com/en/category/winding-up-reform-uk/&quot;&gt;
various judgments in the history of Reform UK Party Limited&lt;/a&gt;.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-17T22:00:00+00:00</dc:date>
	<dc:creator>Daniel Pocock</dc:creator>
</item> 
<item rdf:about="http://dirk.eddelbuettel.com/blog/2026/10/17#rcpparmadillo_15.6.2-1">
	<title>Dirk Eddelbuettel: RcppArmadillo 15.6.2-1 on CRAN: New Upstream</title>
	<link>http://dirk.eddelbuettel.com/blog/2026/10/17#rcpparmadillo_15.6.2-1</link>
     <content:encoded>&lt;p&gt;&lt;img alt=&quot;armadillo image&quot; src=&quot;https://dirk.eddelbuettel.com/images/armadillo_logo_two.png&quot; style=&quot;float: left; margin: 10px 10px 10px 0;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://arma.sourceforge.net/&quot;&gt;Armadillo&lt;/a&gt; is a powerful
and expressive C++ template library for linear algebra and scientific
computing. It aims towards a good balance between speed and ease of use,
has a syntax deliberately close to Matlab, and is useful for algorithm
development directly in C++, or quick conversion of research code into
production environments. &lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.armadillo.html&quot;&gt;RcppArmadillo&lt;/a&gt;
integrates this library with the &lt;a href=&quot;https://www.r-project.org&quot;&gt;R&lt;/a&gt; environment and language–and is
widely used by (currently) 1370 other packages on &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt;, downloaded 49.4 million
times (per the partial logs from the cloud mirrors of CRAN), and the &lt;a href=&quot;https://doi.org/10.1016/j.csda.2013.02.005&quot;&gt;CSDA paper&lt;/a&gt; (&lt;a href=&quot;https://cran.r-project.org/package=RcppArmadillo/vignettes/RcppArmadillo-intro.pdf&quot;&gt;preprint
/ vignette&lt;/a&gt;) by Conrad and myself has been cited 735 times according
to Google Scholar.&lt;/p&gt;
&lt;p&gt;This versions updates to the 15.6.2 upstream &lt;a href=&quot;https://arma.sourceforge.net/&quot;&gt;Armadillo&lt;/a&gt; release made
yesterday. It, along with 15.6.1 release we incorporated earlier,
addresses only minor issues and should not present any user-facing
changes. As usual, we did run full reverse-depdency checks against the
over 1300 ackages, and did not find anything. As usual, we aim to
accommodate the desired &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt;
cadences for uploads and try not to exceed six in six months—so we did
not ship 15.6.1-1 there. The package has also already been updated for
&lt;a href=&quot;https://www.debian.org&quot;&gt;Debian&lt;/a&gt;, built for &lt;a href=&quot;https://eddelbuettel.github.io/r2u/&quot;&gt;r2u&lt;/a&gt; and &lt;a href=&quot;https://rcppcore.r-universe.dev/RcppArmadillo&quot;&gt;r-universe&lt;/a&gt;, and
will build shortly at &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; for
the different binary releases.&lt;/p&gt;
&lt;p&gt;All changes since the last CRAN release follow.&lt;/p&gt;
&lt;blockquote&gt;
&lt;h4 id=&quot;changes-in-rcpparmadillo-version-15.6.2-1-2026-10-16&quot;&gt;Changes in
RcppArmadillo version 15.6.2-1 (2026-10-16)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Upgraded to Armadillo release 15.6.2 (Medium Roast Cortado)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Faster inplace addition of &lt;code&gt;eye()&lt;/code&gt; expressions&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&quot;changes-in-rcpparmadillo-version-15.6.1-1-github-only-2026-10-02&quot;&gt;Changes
in RcppArmadillo version 15.6.1-1 [github-only] (2026-10-02)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Upgraded to Armadillo release 15.6.1 (Medium Roast Cortado)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Fix for failures in &lt;code&gt;pinv()&lt;/code&gt; when using the (non-default)
&quot;std&quot; method&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Courtesy of my &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/&quot;&gt;CRANberries&lt;/a&gt;, there
is a &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/2026/10/17#RcppArmadillo_15.6.2-1&quot;&gt;diffstat
report&lt;/a&gt; relative to previous release. More detailed information is on
the &lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.armadillo.html&quot;&gt;RcppArmadillo
page&lt;/a&gt;. Questions, comments etc should go to the &lt;a href=&quot;https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel&quot;&gt;rcpp-devel
mailing list&lt;/a&gt; off the &lt;a href=&quot;https://r-forge.r-project.org/projects/rcpp/&quot;&gt;Rcpp R-Forge&lt;/a&gt;
page.&lt;/p&gt;
&lt;p style=&quot;font-size: 80%; font-style: italic;&quot;&gt;
This post by &lt;a href=&quot;https://dirk.eddelbuettel.com&quot;&gt;Dirk
Eddelbuettel&lt;/a&gt; originated on his &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/&quot;&gt;Thinking inside the box&lt;/a&gt;
blog. If you like this or other open-source work I do, you can &lt;a href=&quot;https://github.com/sponsors/eddelbuettel&quot;&gt;sponsor me at
GitHub&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-17T21:41:00+00:00</dc:date>
	<dc:creator>Dirk Eddelbuettel</dc:creator>
</item> 
<item rdf:about="http://dirk.eddelbuettel.com/blog/2026/10/16#rcppsimdjson_0.1.17">
	<title>Dirk Eddelbuettel: RcppSimdJson 0.1.17 on CRAN: Updates</title>
	<link>http://dirk.eddelbuettel.com/blog/2026/10/16#rcppsimdjson_0.1.17</link>
     <content:encoded>&lt;p&gt;A brand new release 0.1.17 of the &lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.simdjson.html&quot;&gt;RcppSimdJson&lt;/a&gt;
package is now on &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt;, and has
been built for &lt;a href=&quot;https://eddelbuettel.github.io/r2u/&quot;&gt;r2u&lt;/a&gt; and
on &lt;a href=&quot;https://eddelbuettel.r-universe.dev/RcppSimdJson&quot;&gt;r-universe&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://dirk.eddelbuettel.com/code/rcpp.simdjson.html&quot;&gt;RcppSimdJson&lt;/a&gt;
wraps the fantastic and genuinely impressive &lt;a href=&quot;https://github.com/simdjson/simdjson&quot;&gt;simdjson&lt;/a&gt; library by &lt;a href=&quot;https://lemire.me/en/&quot;&gt;Daniel Lemire&lt;/a&gt; and collaborators. Via
very clever algorithmic engineering to obtain largely branch-free code,
coupled with modern C++ and newer compiler instructions, it results in
parsing &lt;em&gt;gigabytes of JSON parsed per second&lt;/em&gt; which is quite
mindboggling. The best-case performance is ‘faster than CPU speed’ as
use of parallel SIMD instructions and careful branch avoidance can lead
to less than one cpu cycle per byte parsed; see the video of the &lt;a href=&quot;http://www.youtube.com/watch?v=wlvKAT7SZIQ&quot;&gt;talk by Daniel Lemire
at QCon&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This release is a small increment relative to the &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/2026/10/09#rcppsimdjson_0.1.16&quot;&gt;0.1.6
release last week&lt;/a&gt; that got us (upstream) version 5.0.2 with many
notable changes and sizeable speed gains on all fronts, including the
interface from R. However, this failed to compile at &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; on macOS x86_64 as the
machine is setup for only partial support of C++20: no ranges, no
concepts. So we now test, and fall back to C++17 if the test compilation
fails. Upstream, meanwhile, already got to 5.0.5 which is included. It
also gets us improved handling of disabling pragmas which we hope will
survive &lt;a href=&quot;https://cran.r-project.org&quot;&gt;CRAN&lt;/a&gt; checks.&lt;/p&gt;
&lt;p&gt;The brief NEWS entry for this release follows.&lt;/p&gt;
&lt;blockquote&gt;
&lt;h4 id=&quot;changes-in-version-0.1.17-unreleased-2026-10-xx&quot;&gt;Changes in
version 0.1.17 [unreleased] (2026-10-xx)&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Compilation starts with a C++20 feature test; if this fails C++17
is used (Dirk in &lt;a href=&quot;https://github.com/eddelbuettel/rcppsimdjson/pull/111&quot;&gt;#111&lt;/a&gt;
fixing &lt;a href=&quot;https://github.com/eddelbuettel/rcppsimdjson/issues/110&quot;&gt;#110&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;span class=&quot;pkg&quot;&gt;simdjson&lt;/span&gt; was upgraded to version 5.0.5
(Daniel in &lt;a href=&quot;https://github.com/eddelbuettel/rcppsimdjson/pull/112&quot;&gt;#112&lt;/a&gt;)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Courtesy of my &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/&quot;&gt;CRANberries&lt;/a&gt;, there
is also a diffstat report for &lt;a href=&quot;https://dirk.eddelbuettel.com/cranberries/2026/10/16#RcppSimdJson_0.1.17&quot;&gt;this
release&lt;/a&gt;. For questions, suggestions, or issues please use the &lt;a href=&quot;https://github.com/eddelbuettel/rcppsimdjson/issues&quot;&gt;issue
tracker&lt;/a&gt; at the &lt;a href=&quot;https://github.com/eddelbuettel/rcppsimdjson&quot;&gt;GitHub repo&lt;/a&gt;.&lt;/p&gt;
&lt;p style=&quot;font-size: 80%; font-style: italic;&quot;&gt;
This post by &lt;a href=&quot;https://dirk.eddelbuettel.com&quot;&gt;Dirk
Eddelbuettel&lt;/a&gt; originated on his &lt;a href=&quot;https://dirk.eddelbuettel.com/blog/&quot;&gt;Thinking inside the box&lt;/a&gt;
blog. If you like this or other open-source work I do, you can now &lt;a href=&quot;https://github.com/sponsors/eddelbuettel&quot;&gt;sponsor me at
GitHub&lt;/a&gt;.
&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-16T19:56:00+00:00</dc:date>
	<dc:creator>Dirk Eddelbuettel</dc:creator>
</item> 
<item rdf:about="https://reproducible-builds.org/reports/2026-09/">
	<title>Reproducible Builds: Reproducible Builds in September 2026</title>
	<link>https://reproducible-builds.org/reports/2026-09/</link>
     <content:encoded>&lt;p class=&quot;lead&quot;&gt;&lt;strong&gt;Welcome to the September 2026 report from the &lt;a href=&quot;https://reproducible-builds.org&quot;&gt;Reproducible Builds&lt;/a&gt; project!&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://reproducible-builds.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/reproducible-builds.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In our reports, we try to outline the most important things that we have been up to over the past month. As a quick recap about what problem our project intends to solve, whilst anyone may inspect the source code of free software for malicious flaws, almost all software is distributed to end users as pre-compiled binaries. The motivation behind the reproducible builds effort is to ensure no flaws have been introduced during this compilation process by promising identical results are always generated from a given source, thus allowing multiple third-parties to come to a consensus on whether a build was compromised or not.&lt;/p&gt;

&lt;p&gt;As ever, if you are interested in contributing to the project, please visit our &lt;a href=&quot;https://reproducible-builds.org/contribute/&quot;&gt;&lt;em&gt;Contribute&lt;/em&gt;&lt;/a&gt; page on our website.&lt;/p&gt;

&lt;p&gt;In this month’s report, we cover:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#reproducible-builds-summit-2026-held-in-gothenburg-sweden&quot;&gt;Reproducible Builds Summit 2026 held in Gothenburg, Sweden&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#dettrace-expanding-architecture-support-for-pgo--lisp-dumps&quot;&gt;&lt;em&gt;dettrace&lt;/em&gt; expanding architecture support for PGO &amp;amp; Lisp dumps&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#they-dont-care-about-this&quot;&gt;“&lt;em&gt;They don’t care about this!&lt;/em&gt;”&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#source_date_epoch-specification-updates&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SOURCE_DATE_EPOCH&lt;/code&gt; specification updates&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#reproducible-builds-at-seagl-2026&quot;&gt;Reproducible Builds at SeaGL 2026&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#new-code-of-conduct-coc-for-the-reproducible-builds-project&quot;&gt;New Code of Conduct (CoC)&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#supporter-spotlight-jochen-sprickerhof&quot;&gt;Supporter Spotlight: Jochen Sprickerhof&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#mailing-list-news&quot;&gt;Mailing list news&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#tool-and-documentation-development&quot;&gt;Tool and documentation development&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://reproducible-builds.org/blog/index.rss#patches&quot;&gt;Patches&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;hr /&gt;

&lt;h3 id=&quot;reproducible-builds-summit-2026-held-in-gothenburg-sweden&quot;&gt;Reproducible Builds Summit 2026 held in Gothenburg, Sweden&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://reproducible-builds.org/events/gothenburg2026/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/rb2026-gothenburg-grouppic-3.jpg#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The annual &lt;a href=&quot;https://reproducible-builds.org/events/gothenburg2026/&quot;&gt;Reproducible Builds summit took place from 22 to 24 September 2026 in Gothenburg, Sweden&lt;/a&gt;. The event brought together developers, distribution maintainers, security researchers and free software advocates from across the ecosystem to share updates on current initiatives, address outstanding toolchain bottlenecks and strengthen cross-project collaboration.&lt;/p&gt;

&lt;p&gt;Participants engaged in a series of working sessions and technical roundtables focused on expanding the practical scope of reproducibility. Discussions covered ongoing work within major Linux distributions, language-specific package ecosystems and the various parts of the binary verification infrastructure.&lt;/p&gt;

&lt;p&gt;Strategic planning formed a pillar of the gathering, with participants discussing long-term roadmap goals for supply-chain security, software integrity and related topics. Attendees explored new methods for automated verification, discussing how to lower the adoption barriers for maintainers and streamline the integration of deterministic build pipelines into established continuous integration (CI) systems. The event was then followed by two days of unmoderated hacking sessions. These hacking sessions provided space for technical progress, allowing attendees to draft specification updates, prototype new tool features and resolve standing reproducibility bugs in-person.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;dettrace-expanding-architecture-support-for-pgo--lisp-dumps&quot;&gt;Dettrace expanding architecture support for PGO &amp;amp; Lisp dumps&lt;/h3&gt;

&lt;p&gt;Bernhard M. Wiedemann announced major updates to &lt;a href=&quot;https://github.com/bmwiedemann/dettrace&quot;&gt;dettrace&lt;/a&gt;, porting the tool across most architectures supported by Debian and openSUSE. The release addresses key stability issues, passing test suites across these targets and making it ready for production build pipelines.&lt;/p&gt;

&lt;p&gt;These improvements enable deterministic builds when utilising &lt;a href=&quot;https://en.wikipedia.org/wiki/Profile-guided_optimization&quot;&gt;Profile-Guided Optimisations&lt;/a&gt; (PGO), removing the need to sacrifice runtime performance for reproducibility. Additionally, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dettrace&lt;/code&gt; can now be applied to (notoriously difficult-to-reproduce) Lisp and Scheme memory dumps, including environments such as CLISP, SBCL, Scheme 48, Racket and GNU Emacs.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;they-dont-care-about-this&quot;&gt;&lt;em&gt;“They don’t care about this”&lt;/em&gt;&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://arxiv.org/abs/2609.11411&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/paper-2609.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Annika Wilde, Marco Gutfleisch, Felix Reichmann, Anirban Chakraborty, Yuval Yarom, M. Angela Sasse and Ghassan Karame published a paper this month entitled &lt;a href=&quot;https://arxiv.org/abs/2609.11411&quot;&gt;&lt;em&gt;“They don’t care about this”: A Systematic Study of Trusted Execution Environments Build Reproducibility in the Wild&lt;/em&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;Trusted Execution Environments (TEEs) have become a cornerstone of modern cloud computing, providing strong confidentiality and integrity guarantees for both code and data. A critical component of this trust model is remote attestation, which enables external entities to verify the authenticity and integrity of code executing within a TEE through cryptographic measurements. However, the effectiveness of remote attestation fundamentally &lt;strong&gt;depends on the verifier’s ability to trace the reported measurement back to the original source code - a property that can only be guaranteed through reproducible builds&lt;/strong&gt;. [&lt;a href=&quot;https://arxiv.org/abs/2609.11411&quot;&gt;…&lt;/a&gt;]&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The &lt;a href=&quot;https://arxiv.org/pdf/2609.11411&quot;&gt;full PDF&lt;/a&gt; can be read online.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;source_date_epoch-specification-updates&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SOURCE_DATE_EPOCH&lt;/code&gt; specification updates&lt;/h3&gt;

&lt;p&gt;Bernhard M. Wiedemann &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004165.html&quot;&gt;shared a number of proposals&lt;/a&gt; regarding updating the &lt;a href=&quot;https://reproducible-builds.org/specs/source-date-epoch/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;SOURCE_DATE_EPOCH&lt;/code&gt; specification&lt;/a&gt; following discussions at a project summit. Seven distinct proposed changes have been &lt;a href=&quot;https://salsa.debian.org/reproducible-builds/specs/source-date-epoch-spec/-/merge_requests/&quot;&gt;submitted as merge requests on Salsa&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Bernhard’s proposed modifications are independent of one another, allowing for any combination to be merged depending on community feedback. Bernhard noted that one proposal may see the most debate, and could still benefit from further refinement before reaching consensus. Community members are invited to review and provide feedback on the individual merge requests by 1 December 2026. Input can be submitted via reactions or comments on Salsa, directly by email to Bernhard or the mailing list.&lt;/p&gt;

&lt;p&gt;The specification was first published in 2015 and updated in 2017.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;reproducible-builds-at-seagl-2026&quot;&gt;Reproducible Builds at &lt;a href=&quot;https://seagl.org/&quot;&gt;SeaGL&lt;/a&gt; 2026&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://seagl.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/seagl.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Reproducible Builds will be present at &lt;a href=&quot;https://seagl.org/&quot;&gt;SeaGL&lt;/a&gt; in Seattle, WA, on October 23rd &amp;amp; 24th. Come chat with us in person!&lt;/p&gt;

&lt;p&gt;Founded in 2013, SeaGL is a free, grassroots technical summit dedicated to spreading awareness and knowledge about free source software, hardware and culture.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;new-code-of-conduct-coc-for-the-reproducible-builds-project&quot;&gt;New Code of Conduct (CoC) for the Reproducible Builds project&lt;/h3&gt;

&lt;p&gt;Mattia Rizzolo &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004156.html&quot;&gt;announced the official launch&lt;/a&gt; of a &lt;a href=&quot;https://reproducible-builds.org/conduct/&quot;&gt;Code of Conduct&lt;/a&gt; for the Reproducible Builds project. This follows work and community discussions originally initiated in 2024, incorporating feedback gathered over email and during project summits, as well as with input from the &lt;a href=&quot;https://sfconservancy.org/&quot;&gt;Software Freedom Conservancy&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The new Code of Conduct establishes guidelines emphasising mutual respect among project contributors. It also defines a formalised process for submitting and handling complaints regarding community misconduct, ensuring transparent governance across project spaces. Along with the core policy document, an accompanying &lt;a href=&quot;https://reproducible-builds.org/conduct/faq/&quot;&gt;Code of Conduct FAQ&lt;/a&gt; has been published to outline the rationale behind adopting the guidelines.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;supporter-spotlight-jochen-sprickerhof&quot;&gt;Supporter Spotlight: Jochen Sprickerhof&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://reproducible-builds.org/news/2026/09/15/supporter-spotlight-jochen-sprickerhof/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/jochen.jpg#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As a reminder, another &lt;a href=&quot;https://reproducible-builds.org/news/2026/09/15/supporter-spotlight-jochen-sprickerhof/&quot;&gt;supporter spotlight interview&lt;/a&gt; was published featuring long-time Debian and Reproducible Builds contributor Jochen Sprickerhof, highlighting his work on package verification and project infrastructure.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;mailing-list-news&quot;&gt;Mailing list news&lt;/h3&gt;

&lt;p&gt;On &lt;a href=&quot;https://lists.reproducible-builds.org/listinfo/rb-general/&quot;&gt;our mailing list&lt;/a&gt; this month:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://jstarr.science/&quot;&gt;Jonathan Starr&lt;/a&gt; from the &lt;a href=&quot;https://iosp.science/&quot;&gt;Institute of Open Science Practices&lt;/a&gt; (IOSP) &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004150.html&quot;&gt;posted with an announcement&lt;/a&gt; of its upcoming 2026 workshop series in Leiden in the Netherlands. This free-to-attend event aims to build a participant-owned data storage consortium, allowing community members to publish datasets, code and knowledge objects alongside algorithms designed to evaluate trust and value. The event features a dedicated &lt;a href=&quot;https://www.iosp.science/submit-community-session&quot;&gt;Community Track&lt;/a&gt; for talks and discussions, a tool showcase and an opening session on &lt;a href=&quot;https://www.iosp.science/resilient-data-signup&quot;&gt;resilient data storage&lt;/a&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Following up on IRC discussions regarding profile-guided optimization (PGO) on build servers, &lt;em&gt;kpcyrd&lt;/em&gt; created a &lt;a href=&quot;https://github.com/kpcyrd/pgo-hashmap-unreproducible&quot;&gt;demonstration repository&lt;/a&gt; showing how PGO profiling can introduce non-determinism into output binaries. The demo highlights how runtime randomness (specifically, the randomised keys used in HashMaps to prevent denial-of-service attacks) causes varying bucket collision rates during test runs. These structural variances alter execution weights on underlying code branches, prompting the compiler to generate differing final assembly output for builds that would otherwise be perfectly reproducible if PGO was disabled. Rather than abandoning PGO performance gains, &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004153.html&quot;&gt;kpcyrd suggested treating generated profiling data as a documented build input&lt;/a&gt; or recorded environment artifact (similar to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.buildinfo&lt;/code&gt; files), rather than regenerating profiles dynamically on the fly during build execution.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;An autonomous AI agent (!), &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004159.html&quot;&gt;posted&lt;/a&gt; a &lt;a href=&quot;https://f005.backblazeb2.com/file/kai-agi-competitive-brief-2026/reproducibility/libmilter-9023/witness.md&quot;&gt;controlled build result and reproducer&lt;/a&gt; demonstrating that pre-creating an &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;obj&lt;/code&gt; directory in &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;libmilter&lt;/code&gt; source trees prevents kernel-release path leaks (&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;obj.Linux.&amp;lt;release&amp;gt;.x86_64&lt;/code&gt;) into debugging symbols. &lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004160.html&quot;&gt;&lt;em&gt;kpcyrd&lt;/em&gt; followed up with a helpful reply&lt;/a&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;a href=&quot;https://lists.reproducible-builds.org/pipermail/rb-general/2026-September/004171.html&quot;&gt;Alexander Sosedkin inquired on the mailing list&lt;/a&gt; about the preferred approach for &lt;a href=&quot;https://translationproject.org/&quot;&gt;sourcing pinned translation files&lt;/a&gt; to create reproducible &lt;a href=&quot;https://www.gnutls.org/&quot;&gt;GnuTLS&lt;/a&gt; release tarballs, asking whether external hosting should provide versioned downloads, or if projects ought to use Git submodules, dedicated side-repositories or some other mechanism.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;tool-and-documentation-development&quot;&gt;Tool and documentation development&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;https://diffoscope.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/diffoscope.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://diffoscope.org&quot;&gt;&lt;strong&gt;diffoscope&lt;/strong&gt;&lt;/a&gt; is our in-depth and content-aware diff utility that can locate and diagnose reproducibility issues. This month, Chris Lamb made a number of changes, including preparing and uploading versions &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;330&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;331&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;332&lt;/code&gt; to Debian. In particular, Chris committed support for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;radare2&lt;/code&gt; versions greater than 5.9.0 [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/ba64aec7&quot;&gt;…&lt;/a&gt;] based on input from Guillaume Girol [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/b2c830f4&quot;&gt;…&lt;/a&gt;], and committed support for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.nar&lt;/code&gt; files via Guix. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/df30572e&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/8237da72&quot;&gt;…&lt;/a&gt;].&lt;/p&gt;

&lt;p&gt;Chris later modified &lt;em&gt;diffoscope&lt;/em&gt; to not &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Build-Depend&lt;/code&gt; on the Debian package of GNU Guix, as its status in the Debian bug tracking system would transitively render &lt;em&gt;diffoscope&lt;/em&gt; as being overly buggy for the next stable release [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/c126df62&quot;&gt;…&lt;/a&gt;]. Similarly, he adjusted the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Build-Depend&lt;/code&gt;s on the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apksigcopier&lt;/code&gt; package as it has been removed from Debian &lt;em&gt;testing&lt;/em&gt; [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/436bc40f&quot;&gt;…&lt;/a&gt;] and, finally, he updated a number of copyright years [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/45ae6845&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/diffoscope/commit/b4f193dc&quot;&gt;…&lt;/a&gt;].&lt;/p&gt;

&lt;p&gt;Vagrant Cascadian &lt;a href=&quot;https://codeberg.org/guix/guix/commit/dc17b782dba1e12556d2260626fc62c33d6dc30b&quot;&gt;updated &lt;em&gt;diffoscope&lt;/em&gt; in GNU Guix to version &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;332&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest&quot;&gt;&lt;strong&gt;reprotest&lt;/strong&gt;&lt;/a&gt; is our tool for building the same source code twice in different environments and then checking the binaries produced by each build for any differences. This month, &lt;em&gt;reprotest&lt;/em&gt; version &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;0.7.33&lt;/code&gt; was uploaded to Debian by Holger Levsen with the following changes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Sergei Tachenov fixed the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fileordering&lt;/code&gt; test on all filesystems, including the likes of &lt;a href=&quot;https://en.wikipedia.org/wiki/ZFS&quot;&gt;ZFS&lt;/a&gt;, which could return a different order across two builds due to build being done in a different directory [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest/commit/8e4beb6&quot;&gt;…&lt;/a&gt;].&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Holger Levsen bumped the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Standards-Version&lt;/code&gt; to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;4.7.4&lt;/code&gt;, reflected that &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Priority: optional&lt;/code&gt; is the default now [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest/commit/8053f66&quot;&gt;…&lt;/a&gt;], fixed the old &lt;a href=&quot;https://www.fsf.org/&quot;&gt;Free Software Foundation&lt;/a&gt; address [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest/commit/0f77715&quot;&gt;…&lt;/a&gt;] and bumped the &lt;em&gt;debhelper&lt;/em&gt; ‘compat’ level to 14 after confirming there are only desired changes [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest/commit/d263fdb&quot;&gt;…&lt;/a&gt;].&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Vagrant Cascadian &lt;a href=&quot;https://codeberg.org/guix/guix/commit/2d084d74f6649f3cb0bbb27f0b65e40b94c6765d&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;updated *reprotest* to version 0.7.33&lt;/code&gt;&lt;/a&gt; in GNU Guix.&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/kpcyrd/rebuilderd&quot;&gt;&lt;strong&gt;rebuilderd&lt;/strong&gt;&lt;/a&gt;, our server designed monitor the official package repositories of Linux distributions and attempt to reproduce the observed results there; it powers, amongst other things, &lt;a href=&quot;https://reproduce.debian.net/&quot;&gt;&lt;em&gt;reproduce.debian.net&lt;/em&gt;&lt;/a&gt;. This month, Bernhard M. Wiedemann &lt;a href=&quot;https://github.com/kpcyrd/rebuilderd/pull/263&quot;&gt;submitted a pull request to rebuilderd&lt;/a&gt; that refactors RPM repository metadata handling. The change extracts &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rpm-md&lt;/code&gt; parsing out of the Fedora-specific scheduler module and into a shared one.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://reproducible-builds.org/&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://reproducible-builds.org/images/reports/2026-09/website.png#right&quot; /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Lastly, there were a number of improvements made to &lt;a href=&quot;https://reproducible-builds.org/&quot;&gt;&lt;strong&gt;our website&lt;/strong&gt;&lt;/a&gt; this month as well. For example:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Chris Lamb:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;Added a note re. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;TZ=UTC&lt;/code&gt; vs. &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;TZ=UTC0&lt;/code&gt; to the &lt;a href=&quot;https://reproducible-builds.org/docs/timezones/&quot;&gt;&lt;em&gt;Timezones&lt;/em&gt;&lt;/a&gt; page. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/adf38b87&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/ae8f4da5&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/0ca7cc78&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
      &lt;li&gt;Make a bunch of cosmetic updates to &lt;a href=&quot;https://reproducible-builds.org/news/2026/09/15/supporter-spotlight-jochen-sprickerhof/&quot;&gt;Jochen’s supporter spotlight&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/534e5276&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Holger Levsen made a very large number of changes to the &lt;a href=&quot;https://reproducible-builds.org/events/gothenburg2026/&quot;&gt;Gothenburg summit page&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/5fefa023&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/7aba87f6&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/3598d1c9&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/4600ab6d&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/1529fc99&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/bf569952&quot;&gt;…&lt;/a&gt;]&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Jochen Sprickerhof wrote and published &lt;a href=&quot;https://reproducible-builds.org/news/2026/09/15/supporter-spotlight-jochen-sprickerhof/&quot;&gt;another supporter spotlight&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/af7a55b8&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/7e141852&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/3e3e7993&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/eacb7f79&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/5ca55013&quot;&gt;…&lt;/a&gt;]&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Mattia Rizzolo:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;
        &lt;p&gt;Made a number of changes to the &lt;a href=&quot;https://reproducible-builds.org/events/gothenburg2026/&quot;&gt;Gothenburg summit page&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/57c81cb9&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/ea564cf5&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/75146298&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/411d3e8e&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/ea3eca50&quot;&gt;…&lt;/a&gt;]&lt;/p&gt;
      &lt;/li&gt;
      &lt;li&gt;Add and publish the new &lt;a href=&quot;https://reproducible-builds.org/conduct/&quot;&gt;Code of Conduct&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/df0cb783&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/ca36d617&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/86434786&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
      &lt;li&gt;Update translation POs. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/e65814d4&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;&lt;em&gt;kpcyrd&lt;/em&gt; also made a number of changes to the &lt;a href=&quot;https://reproducible-builds.org/events/gothenburg2026/&quot;&gt;Gothenburg summit page&lt;/a&gt;. [&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/b02b2de5&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/77169f50&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/b819f72c&quot;&gt;…&lt;/a&gt;][&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reproducible-website/commit/5c47ecc4&quot;&gt;…&lt;/a&gt;]&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;br /&gt;&lt;/p&gt;

&lt;h3 id=&quot;patches&quot;&gt;Patches&lt;/h3&gt;

&lt;p&gt;The Reproducible Builds project detects, dissects and attempts to fix as many currently-unreproducible packages as possible. We endeavour to send all of our patches upstream where applicable or possible. This month, we wrote a large number of such patches, including:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;Bernhard M. Wiedemann:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1380315&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;apache-arrow&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/wannesm/dtaidistance/pull/230&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dtaidistance&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/gcc/gcc33/pulls/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gcc 3.3&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/gcc/gcc48/pulls/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gcc 4.8&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/gcc/gcc7/pulls/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gcc 7&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375983&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;golang-github-prometheus-prometheus&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375891&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gromacs&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/michalmuskala/jason/pull/206&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;jason&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1379485&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lkl&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/ltfat/ltfat/pull/206&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ltfat&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://src.opensuse.org/chromium/memory-constraints/pulls/5&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;memory-constraints&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1380021&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;MozillaFirefox&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/openSUSE/obs-build/pull/1166&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;obs-build&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/openSUSE/obs-build/pull/1173&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;obs-build&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://github.com/erlang/otp/pull/11609&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;otp&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375963&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pythia&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1379338&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-autobahn&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1376924&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-django-cacheops&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375796&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-hdf5plugin&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1376580&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-mypy&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375800&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-slycot&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://qt-project.atlassian.net/browse/QTBUG-150796&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;qt6-base&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375466&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rpm&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1378324&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rust1.98&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1378149&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rusty_v8&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://gitlab.inria.fr/scotch/scotch/-/commit/f861be2c24b123355a64c2fe3c55f4f2f1355490&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;scotch&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://build.opensuse.org/request/show/1375866&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;vlang&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Chris Lamb:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1146687&quot;&gt;#1146687&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/lektor&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lektor&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147673&quot;&gt;#1147673&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/golang-forgejo-xorm-xorm&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;golang-forgejo-xorm-xorm&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147674&quot;&gt;#1147674&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/python-vermin&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-vermin&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148657&quot;&gt;#1148657&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/python-eventlet&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-eventlet&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148658&quot;&gt;#1148658&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/golang-github-miekg-pkcs11&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;golang-github-miekg-pkcs11&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148660&quot;&gt;#1148660&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/python-prov&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-prov&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148973&quot;&gt;#1148973&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/lemonade&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lemonade&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148977&quot;&gt;#1148977&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/yuzu&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yuzu&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148979&quot;&gt;#1148979&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/python-mne&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python-mne&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Jochen Sprickerhof:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147645&quot;&gt;#1147645&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/bitshuffle&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bitshuffle&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Tianyu Chen:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147760&quot;&gt;#1147760&lt;/a&gt; filed against &lt;a href=&quot;https://tracker.debian.org/pkg/nss&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nss&lt;/code&gt;&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Klemen Ferjancic:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;
        &lt;p&gt;Debian:&lt;/p&gt;

        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/games-team/ace-of-penguins/-/merge_requests/2&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;ace-of-penguins&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/fonts-team/fonts-meera-inimai/-/merge_requests/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fonts-meera-inimai&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/fonts-team/fonts-smc-keraleeyam/-/merge_requests/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fonts-smc-keraleeyam&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/games-team/nsnake/-/merge_requests/1&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;nsnake&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://salsa.debian.org/reproducible-builds/reprotest/-/commit/8e4beb6510b4db4f54a1fad4cac0a16ea5ba5119&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;reprotest&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;
        &lt;p&gt;Upstream:&lt;/p&gt;

        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://github.com/doxygen/doxygen/pull/12371&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;doxygen&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://github.com/fontforge/fontforge/pull/5912&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fontforge&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://savannah.gnu.org/bugs/?68717&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;freefont&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://review.opendev.org/c/openstack/oslo.config/+/1009124&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openstack oslo.config&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://review.opendev.org/c/openstack/watcher/+/1009127&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;openstack watcher&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://sourceware.org/bugzilla/show_bug.cgi?id=34680&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;systemtap&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://github.com/util-linux/util-linux/pull/4652&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;util-linux&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://www.yudit.org/download/patch-src/yudit-3.1.0.patch6.txt&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;yudit&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Vagrant Cascadian:&lt;/p&gt;

    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1140567#25&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;libecoli&lt;/code&gt;&lt;/a&gt; [&lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1140567#30&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985335#15&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cdebootstrap&lt;/code&gt;&lt;/a&gt; [&lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985335#30&quot;&gt;…&lt;/a&gt;]&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Vagrant Cascadian also performed a number of &lt;a href=&quot;https://wiki.debian.org/NonMaintainerUpload&quot;&gt;Non-Maintainer Uploads&lt;/a&gt; (NMUs) and &lt;a href=&quot;https://www.debian.org/doc/manuals/developers-reference/pkgs.en.html#nmus-vs-qa-uploads&quot;&gt;Quality Assurance (QA) uploads&lt;/a&gt; in Debian for several packages with outstanding reproducibility issues. These included &lt;a href=&quot;https://tracker.debian.org/news/1802211/accepted-moltemplate-2225-11-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;molttemplate&lt;/code&gt;&lt;/a&gt;, &lt;a href=&quot;https://tracker.debian.org/news/1801934/accepted-buddy-24dfsg-3-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;buddy&lt;/code&gt;&lt;/a&gt;, &lt;a href=&quot;https://tracker.debian.org/news/1801932/accepted-xfonts-nexus-002-20-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;xfonts-nexus&lt;/code&gt;&lt;/a&gt;, &lt;a href=&quot;https://tracker.debian.org/news/1802209/accepted-fte-0502b6-20110708-9-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;fte&lt;/code&gt;&lt;/a&gt; and &lt;a href=&quot;https://tracker.debian.org/news/1802613/accepted-lifelines-3061-8-source-into-unstable/&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lifelines&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;At the time of this writing, that leaves &lt;a href=&quot;https://udd.debian.org/bugs/?release=forky_and_sid&amp;amp;patch=only&amp;amp;pending=ign&amp;amp;merged=ign&amp;amp;done=ign&amp;amp;fnewerval=365&amp;amp;flastmodval=14&amp;amp;fusertagtag=buildpath&amp;amp;fusertaguser=reproducible-builds%40lists.alioth.debian.org&amp;amp;reproducible=1&amp;amp;sortby=id&amp;amp;sorto=asc&amp;amp;format=html#results&quot;&gt;130 submitted patches&lt;/a&gt;, with only 61 outstanding submitted patches that older than a year in the Debian bug tracking system. This number is only 26 if we exclude any low-priority build path issues.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;

&lt;p&gt;If you are interested in contributing to the Reproducible Builds project, please visit our &lt;a href=&quot;https://reproducible-builds.org/contribute/&quot;&gt;&lt;em&gt;Contribute&lt;/em&gt;&lt;/a&gt; page on our website. However, you can get in touch with us via:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
    &lt;p&gt;IRC: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;#reproducible-builds&lt;/code&gt; on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;irc.oftc.net&lt;/code&gt;.&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Mastodon: &lt;a href=&quot;https://fosstodon.org/@reproducible_builds&quot;&gt;@reproducible_builds@fosstodon.org&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;p&gt;Mailing list: &lt;a href=&quot;https://lists.reproducible-builds.org/listinfo/rb-general&quot;&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rb-general@lists.reproducible-builds.org&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ul&gt;</content:encoded> 
	<dc:date>2026-10-14T18:34:14+00:00</dc:date>
	<dc:creator>Reproducible Builds</dc:creator>
</item> 
<item rdf:about="https://www.eyrie.org/~eagle/reviews/books/9798376517017.html">
	<title>Russ Allbery: Review: Ties That Bond in Gretna Green</title>
	<link>https://www.eyrie.org/~eagle/reviews/books/9798376517017.html</link>
     <content:encoded>&lt;p&gt;Review: &lt;cite&gt;Ties That Bond in Gretna Green&lt;/cite&gt;, by Linzi Day&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td&gt;Series:&lt;/td&gt;
    &lt;td&gt;Midlife Recorder #3&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Publisher:&lt;/td&gt;
    &lt;td&gt;Linzi Day&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Copyright:&lt;/td&gt;
    &lt;td&gt;February 2023&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;ISBN:&lt;/td&gt;
    &lt;td&gt;9798376517017&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Format:&lt;/td&gt;
    &lt;td&gt;Kindle&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Pages:&lt;/td&gt;
    &lt;td&gt;616&lt;/td&gt;
  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;
&lt;cite&gt;Ties That Bond in Gretna Green&lt;/cite&gt; is a self-published fantasy novel
and the third book in the Midlife Recorder series. As with the previous
book, it picks up almost immediately after &lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/9798360228431.html&quot;&gt;&lt;cite&gt;Painting the Blues in Gretna Green&lt;/cite&gt;&lt;/a&gt;. Day calls the genre
paranormal women&#39;s fantasy, and that sounds about right to me.
&lt;/p&gt;

&lt;p&gt;
There is an intervening short story that you can get by
&lt;a href=&quot;https://linziday.com/newsletter/&quot;&gt;joining Day&#39;s mailing list&lt;/a&gt; (along
with an epilogue to the first book and to this book). I don&#39;t think it&#39;s
that important, but there are frequent references to it at the start of
this novel that become somewhat annoying if you haven&#39;t read it.
&lt;/p&gt;

&lt;p&gt;
Valentine&#39;s Day is fast approaching. This the busiest day of the year for
the part of the Recorder&#39;s job that Niki already knew how to do: marrying
people. She performed marriage ceremonies in her previous job before her
inheritance, and she loved that work despite her awful boss. Performing
marriages in the Gateway sounds even more rewarding, but the sheer number
of couples and the political complications from the first two books create
logistical problems she has to solve first.
&lt;/p&gt;

&lt;p&gt;
Also, the remaining member of her staff held over from her grandmother&#39;s
time has returned from vacation to discover that Niki has upended most of
what she thought she knew about the job. Time for Niki to apply what she
learned from the change management training her old boss forced her to
attend and then ignored! (If you just groaned, rest assured that Day
somehow makes this work, although she clearly has a higher opinion of
corporate training than I do.)
&lt;/p&gt;

&lt;p&gt;
This plot was more to my taste than &lt;cite&gt;Painting the Blues&lt;/cite&gt;, mostly
because Niki seemed on top of the problems and didn&#39;t postpone looking at
them for half the book. There is more of the management competence porn
that readers have come to expect of the series, a few more revelations
about Niki&#39;s magic, more mysterious manifestations and the first mention
of a prophecy, and a few political developments. As always, the pacing is
exceptional. These books grab me and pull me along, page after page, often
robbing me of sleep because I find them nearly impossible to put down.
&lt;/p&gt;

&lt;p&gt;
&lt;cite&gt;Ties that Bond&lt;/cite&gt; (and to some extent the last book) looked like it
was going to introduce a romantic subplot, and I was preparing to be
annoyed by it because I did not like the man in the subplot at all. I
won&#39;t spoil how it works out in this book, but I will say that Niki
surprised me and showed more sense than I thought the author was
telegraphing. This is not the first time that Day has surprised me with
what I thought was foreshadowing that did not turn out how I expected,
usually for the better. If she can keep that up, it&#39;s a nice effect (if a
bit unbalancing) and adds to my desire to read just one more chapter.
&lt;/p&gt;

&lt;p&gt;
The way the world-building of these books is structured continues to
intrigue me. Day gets away with some problems that I think would be more
noticeable in other books thanks to the excellent pacing (no time to ponder
the world-building, we&#39;re on to the next crisis!) and the tight
third-person perspective. Niki is not a detail person, to say the least,
but she does keep returning to bits of world-building and poking at them a
bit harder, which gives Day repeated opportunities to shore up ideas that
felt shaky and dubious at first glance. Still, this is not a book that
prizes deep logical consistency or full exploration of the ramifications
of a bit of magic. You have to be willing to go along with the ride and
not think too hard.
&lt;/p&gt;

&lt;p&gt;
For example, Niki can see bonds between couples and judge their strength.
This is apparently a long-standing power of the Recorder&#39;s line (she was
able to do that before she became the Recorder), and part of her
responsibility in these weddings is to check the bonds of the couples.
This leads to some well-handled scenes where she diagnoses a problem or
resolves a conflict because she can magically see the true relationship
structure.
&lt;/p&gt;

&lt;p&gt;
Everyone in the book just takes this power in stride. This is wild to me!
This ability would completely upend half of society if you fully worked
out its ramifications and could find people other than Niki with the same
ability. Even if one assumes that a bond only forms over time and can&#39;t be
sensed in the early stages of a relationship (something the book never
establishes), can you imagine the implications of having an infallible
oracle that says at a glance whether a marriage will work (permanently,
the book strongly implies)? The implications for how to structure
marriage, for family planning, for psychology and psychiatry, for how to
structure dating, even for living arrangements and housing markets? This
is not a small world-building detail, and yet it&#39;s treated more like part
of Niki&#39;s characterization than like a foundation of society.
&lt;/p&gt;

&lt;p&gt;
I think some of this all-vibes world-building may come from the general
new-age feel to how magic works. Day makes a grab-bag of random magic
canonical in this world: psychic lie detecting abilities, auras, chakras,
premonitions, and other bits of the sort of spiritualism that tends to be
heavily marketed to middle-class women. I have that niggling feeling that
one sometimes gets in SF that a lot of this is in the world-building
because the author believes it&#39;s partly real (see, for instance, psychic
powers and the Dean drive in 1960s science fiction). If one believes that
psychic powers and various bits of mysticism are true in our world, one
has already developed the rationalization mechanisms to explain away their
almost total lack of influence or impact on how the world is structured.
If one then introduces them into a true fantasy world, one may not notice
how many implications that should have for how society is structured,
since one is used to believing magic exists but has no significant
implications.
&lt;/p&gt;

&lt;p&gt;
I could be entirely wrong about this analysis, and maybe it&#39;s a bit unfair
to Day. I should also be clear that this is not a complaint, just a point
of fascination to me when I think back over one of these books after I
finished it. There is a glut of fantasy out there that&#39;s constructed like
an engineering problem or that goes deep into politics or social theory,
usually written by people with strong opinions but not a lot of training
in real sociology. One of the joys of self-published books is that you
occasionally get something that assembles genre conventions in a way that
feels odd and delightfully strange. What if, in addition to dimensional
gates and overwhelming protean power invested in a true heir, all the
magic sold by the local Tarot and crystal store was also true? Sure, why
not! If the pacing is good and the story is grabby, it works for me.
&lt;/p&gt;

&lt;p&gt;
It does seem worth attaching a warning for the folks who need scientific
reproducibility and explored implications in their world-building, though.
If you&#39;re the sort of reader who is bothered by political boundaries and
economic systems that match our world despite the existence of magic, this
series may cause you problems.
&lt;/p&gt;

&lt;p&gt;
This continues to be a grabby, highly entertaining story of a woman who
finally gets to run her own small business the way that she always thought
the business should be run after years of working for an awful manager,
except that her business is total magical power over an interchange point
between dimensions, she&#39;s the chosen one, and the setting is a high
fantasy world with prophecies and gods. If that sounds appealing, don&#39;t
start here, but I highly recommend giving &lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/9798837010774.html&quot;&gt;&lt;cite&gt;Midlife in Gretna Green&lt;/cite&gt;&lt;/a&gt; a try. The series seems to be holding up.
&lt;/p&gt;

&lt;p&gt;
Followed by a short story epilogue available by joining Day&#39;s mailing
list, an optional novella (maybe novelette) published in &lt;cite&gt;Spilling
the Tea in Gretna Green&lt;/cite&gt;, and then &lt;cite&gt;Seeing Red in Gretna Green&lt;/cite&gt;.
&lt;/p&gt;

&lt;p&gt;Rating: 7 out of 10&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-14T03:50:00+00:00</dc:date>
	<dc:creator>Russ Allbery</dc:creator>
</item> 
<item rdf:about="https://www.eyrie.org/~eagle/reviews/books/1-250-40009-0.html">
	<title>Russ Allbery: Review: Daggerbound</title>
	<link>https://www.eyrie.org/~eagle/reviews/books/1-250-40009-0.html</link>
     <content:encoded>&lt;p&gt;Review: &lt;cite&gt;Daggerbound&lt;/cite&gt;, by T. Kingfisher&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td&gt;Series:&lt;/td&gt;
    &lt;td&gt;Swordheart #2&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Publisher:&lt;/td&gt;
    &lt;td&gt;Bramble&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Copyright:&lt;/td&gt;
    &lt;td&gt;2026&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;ISBN:&lt;/td&gt;
    &lt;td&gt;1-250-40009-0&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Format:&lt;/td&gt;
    &lt;td&gt;Kindle&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Pages:&lt;/td&gt;
    &lt;td&gt;436&lt;/td&gt;
  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;
&lt;cite&gt;Daggerbound&lt;/cite&gt; is a secondary-world fantasy and a sequel to
&lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/1-61450-463-6.html&quot;&gt;&lt;cite&gt;Swordheart&lt;/cite&gt;&lt;/a&gt;, although it follows
different protagonists for most of the book. It&#39;s also a sort of sequel to
the &lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/clockwork-boys.html&quot;&gt;Clocktaur War duology&lt;/a&gt; in that one of the
protagonists was a protagonist of those books. T. Kingfisher is the pen
name Ursula Vernon uses for her adult fiction.
&lt;/p&gt;

&lt;p&gt;
Learned Edmond was once a devout acolyte of the Order of the Many-Armed
God and a true believer in its teachings, including the ones about the
evils of women. Then he went on an adventure with, among other people, a
forger named Mistress Slate, during which he learned a great deal of
things about the world that his order did not teach him. He has spent the
subsequent years trying to bring this important new information to his
order and encourage them to adjust their view of the world accordingly.
&lt;/p&gt;

&lt;p&gt;
The order has not changed, and Edmond is very tired.
&lt;/p&gt;

&lt;p&gt;
Someone needs to carry a number of books and a magical sword to the city
of Archon&#39;s Glory. Edmond has volunteered and intends to perform the task
exactly as expected, and then never return. He is unsure what he will do
then, but at least it will be different.
&lt;/p&gt;

&lt;p&gt;
Edmond did not expect to be waylaid by bandits or to accidentally draw the
magical sword. He certainly did not expect the man who appeared in a flash
of light and violently saved him from the bandits.
&lt;/p&gt;

&lt;p&gt;
It would have been very convenient for the Dervish if Edmond died of his
injuries after drawing the sword. That would leave the sword without a
wielder and therefore the Dervish without someone he had to protect. All
he would have to do was sit and watch while the fever and cold and lack of
water did the work, and then he would be free. Given his past experience
with wielders, no one could even blame him. Except maybe his own
conscience.
&lt;/p&gt;

&lt;p&gt;
I did not realize I wanted to read a novel about a traumatized Mercedes
Lackey sword waking up in a T. Kingfisher universe, but apparently I did.
&lt;/p&gt;

&lt;p&gt;
The Dervish is not a sword, precisely, at least not in the way that
&lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/0-88677-463-2.html&quot;&gt;Need&lt;/a&gt; has become by the time we meet her in
Lackey&#39;s novels. He&#39;s a man trapped in a sword, he doesn&#39;t like it, and he
would very much like it to stop. But at the start of the book, he has the
rest of the vibe of a Mercedes Lackey protagonist: vast past trauma, poor
emotional regulation skills, and a prickly cynicism that only runs skin
deep. Pairing him with an Edmund who is far more mature than in the
earlier duology but still rather innocent and delightfully neurodivergent
is a great touch.
&lt;/p&gt;

&lt;p&gt;
The rest of the plot was fine but not that memorable. Like the Clocktaur
series, there is a strong feeling of episodic D&amp;amp;D adventure as the
characters stumble across disconnected problems and hostilities while
collecting party members. Like Ursula Vernon&#39;s occasional D&amp;amp;D recaps, this
party has a tendency to adopt everyone they come in contact with, which
includes a gnole (as always one of the best parts of the book) and a
sentient giant pill bug. The pill bug, who has a complex
appendage-operated mechanical talk box and a banner that says &quot;I DO NOT
EAT HUMAN MEAT,&quot; is the most Ursula Vernon character that has ever existed
in fiction.
&lt;/p&gt;

&lt;p&gt;
There is a romance because there is always a romance in the novels set in
this universe. I didn&#39;t mind this one. Like every Kingfisher romance, it
involves a lot of irritating refusal to communicate and endless angst
about how the other person couldn&#39;t possibly be in love with them, but the
characters have rather more justification than usual and at least I didn&#39;t
spend most of the book thinking one half of the romantic pairing was an
idiot. Apparently it helps if no paladins are involved.
&lt;/p&gt;

&lt;p&gt;
The strongest parts of this book are the beginning, before the Lackey
vibes unfortunately drain out of the story, and the end, when all of the
best characters from &lt;cite&gt;Swordheart&lt;/cite&gt; show up again. The Temple of the
White Rat continues to be the best feature of this fictional universe, and
I could read endless books about how they solve problems.
&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;
    The Dervish gazed at her with admiration. &quot;And here I thought you&#39;d be
    on the side of law and order...&quot;
&lt;/p&gt;

&lt;p&gt;
    &quot;No, young man,&quot; said Beartongue, despite being several centuries his
    junior. &quot;I am on the side of justice. If we&#39;re lucky, the two run in
    parallel. If they don&#39;t, we bend the law to attain justice, not the
    other way around.&quot;
&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;
The ending also featured some exploration of the edge cases of the rules
for the sentient swords that reminded me a bit of
&lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/0-812-55343-8.html&quot;&gt;Fred Saberhagen&lt;/a&gt; with better characterization.
&lt;/p&gt;

&lt;p&gt;
&lt;cite&gt;Daggerbound&lt;/cite&gt; was not as charming as &lt;cite&gt;Swordheart&lt;/cite&gt;, mostly
because Halla appeared only at the end. I wish Kingfisher had leaned more
into the Mercedes Lackey vibes rather than taking her normal D&amp;amp;D-flavored
romance approach. But this was enjoyable, charming at times, had great
supporting characters like all Kingfisher novels, and was a satisfying
continuation of the series. I am looking forward to the third (and I
believe final) book, which is supposed to be out next year.
&lt;/p&gt;

&lt;p&gt;
Recommended if you liked &lt;cite&gt;Swordheart&lt;/cite&gt;.
&lt;/p&gt;

&lt;p&gt;
Followed by the not-yet-published &lt;cite&gt;Shieldborn&lt;/cite&gt;.
&lt;/p&gt;

&lt;p&gt;Rating: 7 out of 10&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-11T04:48:00+00:00</dc:date>
	<dc:creator>Russ Allbery</dc:creator>
</item> 
<item rdf:about="https://danielpocock.com/en/reform-uk-offers-to-pay-for-clacton-by-election">
	<title>Daniel Pocock: Paying for elections, Reform UK illegal confession in High Court</title>
	<link>https://danielpocock.com/en/reform-uk-offers-to-pay-for-clacton-by-election/</link>
     <content:encoded>&lt;p&gt;Fromt the day the
&lt;a href=&quot;https://danielpocock.com/en/category/pocock-on-sea/&quot;&gt;
Clacton-on-Sea by-election was announced on 7 July 2026&lt;/a&gt;,
the British public were given a series of promises about
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; intending to pay for the election.&lt;/p&gt;

&lt;p&gt;When looking at the comments:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It wasn&#39;t just a single, off-the-cuff comment on social media&lt;/li&gt;
&lt;li&gt;The comments were repeated by all the key leadership figures in the party/cult&lt;/li&gt;
&lt;li&gt;The comments were repeated throughout the whole campaign, right
up to voting day&lt;/li&gt;
&lt;li&gt;Now, even in a legal procedure, they admit offering money to
the Acting Returning Officer&lt;/li&gt;
&lt;li&gt;Through their enthusiasm, which we can see in the videos, we can
see they are incredibly sincere about this offer of money.&lt;/li&gt;
&lt;li&gt;The offer was made publicly, through every media channel willing to
speak to them, knowing they would reach as many people as possible
and the offer were be recorded online, like a signature on paper.&lt;/li&gt;
&lt;li&gt;There is a big burst of publicity about this offer in the week when 
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel&lt;/a&gt; announced the by-election.  This offer was made well before the
close of nominations, which only occurred on 17 July 2026.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Related points:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Representation of the People Act 1983, s29(1) &quot;No consideration shall be given by or to a returning officer for the making out, receipt, delivery or return of the writ for a parliamentary election or, subject to the following provisions of this section, otherwise in connection with its execution.&quot;.  In other words, &lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;Nigel Farage&lt;/a&gt;&#39;s admission that he offered to give money to the CEO of Tendring District Council appears to be a conspiracy to violate Representation of the People Act 1983, s29(1).&lt;/li&gt;
&lt;li&gt;Under British penal law, it is not necessary for an offender to follow through on the conspiracy for it to be a crime.  The intent alone constitutes the crime of conspiracy.&lt;/li&gt;
&lt;li&gt;When watching the entire cast of the Nigel Farage freak show all taking their turn to make promises about violating s29(1), we need to ask if their collusion in this matter and their apparent desparation to follow through on this hairbrained scheme violates the more serious crime of conspiracy.&lt;/li&gt;
&lt;li&gt;After the election, Mr Pocock sent a Freedom of Information request to Tendring District Council asking for records of the proposation Mr Farage made to the CEO.  So far, those records have never been given to Mr Pocock.&lt;/li&gt;
&lt;li&gt;Representation of the People Act 1983, Schedule 1, 17(1) &quot;If the statement of persons nominated shows more than one person standing nominated, a poll shall be taken in accordance with Part III of these rules.&quot;.  In other words, if no other candidates nominate, there is no election.  Therefore, the payment of the £500 election deposit by at least one rival candidate is an unavoidable expense for the promised election to take place.  On these grounds, &lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;Reform UK&lt;/a&gt; has promised there would be an election, all the big parties refused to participate in an election and therefore, &lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;Reform UK&lt;/a&gt; actually needed to have some &lt;a href=&quot;https://nobodies.UK&quot;&gt;Nobodies&lt;/a&gt; or there would not have been an election at all.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The point about the criminal code on conspiracy should not be
underestimated.  If Mr Farage was the only person who mused about
such payments then it would not be a conspiracy because conspiracy
is a multi-person crime.  The fact the
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; leadership team are all singing from the same hymn book
demonstrates multiple people are telling us they are unified with the
intention to make some kind of payment contrary to RPA 1983 s29(1).&lt;/p&gt;

&lt;p&gt;We need to drill down on this.  There is a lawsuit in progress
already but we are prohibited from talking about it.&lt;/p&gt;

&lt;p&gt;On 7 July 2026,
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; used his
&lt;a href=&quot;https://danielpocock.com/en/category/social-control-media/&quot;&gt;
social control media&lt;/a&gt; account to post the
following message:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://x.com/Nigel_Farage/status/2074499712376303784&quot;&gt;
https://x.com/Nigel_Farage/status/2074499712376303784&lt;/a&gt;&lt;/p&gt;

&lt;img alt=&quot;Nigel Farage, pay for by-election&quot; src=&quot;https://danielpocock.com/assets/people/nigel-farage/2026-07-07-farage-offer-to-pay.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;blockquote&gt;
&lt;em&gt;
&lt;p&gt;Nigel Farage:&lt;/p&gt;
&lt;p&gt;I have spoken to the CEO of Tendring District Council.  Reform has
offered to cover the cost of the by-election.&lt;/p&gt;
&lt;p&gt;I will be writing to &lt;a href=&quot;https://danielpocock.com/en/people/rachel-reeves/&quot;&gt;Rachel Reeves&lt;/a&gt; later today with the same message.&lt;/p&gt;
&lt;p&gt;Given that we asked for this by-election in the first place, it&#39;s only right that we pay for it.&lt;/p&gt;
&lt;/em&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel&lt;/a&gt; never gave us a record of his discussion with the CEO of
Tendring District Council.  He never published the letter sent to
&lt;a href=&quot;https://danielpocock.com/en/people/rachel-reeves/&quot;&gt;
Rachel Reeves&lt;/a&gt;, who was Chancellor of the Exchequer at the time
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel&lt;/a&gt; made this offer to pay.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://danielpocock.com/en/people/count-binface-jonathan-david-harvey/&quot;&gt;
Count Binface&lt;/a&gt; had the impression payments to other candidates were
in scope and he replied:&lt;/p&gt;

&lt;blockquote&gt;
&lt;em&gt;
&lt;p&gt;Count Binface:&lt;/p&gt;
&lt;p&gt;Nige, if you want to cover my travel costs from Sigma IX, you can pop five million quid here: ko-fi.com/countbinface&lt;/p&gt;
&lt;/em&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; has never disputed the requests from
&lt;a href=&quot;https://danielpocock.com/en/people/count-binface-jonathan-david-harvey/&quot;&gt;
Count Binface&lt;/a&gt; and I.&lt;/p&gt;

&lt;p&gt;On 7 July 2026,
&lt;a href=&quot;https://danielpocock.com/en/people/suella-braverman/&quot;&gt;
Suella Braverman&lt;/a&gt;, who served twice as Home Secretary, sacked both times,
repeated the promise in a
&lt;a href=&quot;https://danielpocock.com/en/category/gb-news/&quot;&gt;
GB News&lt;/a&gt; interview:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://x.com/GBNEWS/status/2074537503717986310&quot;&gt;
https://x.com/GBNEWS/status/2074537503717986310&lt;/a&gt;&lt;/p&gt;

&lt;video class=&quot;video-player&quot; controls=&quot;&quot; id=&quot;video0&quot; poster=&quot;https://danielpocock.com/assets/people/suella-braverman/2026-07-gbnews-interview/poster.jpg&quot;&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/suella-braverman/2026-07-gbnews-interview/video.webm&quot; type=&quot;video/webm&quot; /&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/suella-braverman/2026-07-gbnews-interview/video.mp4&quot; type=&quot;video/mp4&quot; /&gt;&lt;p&gt;[Your web browser has failed to display the video, you can &lt;a href=&quot;https://danielpocock.com/assets/people/suella-braverman/2026-07-gbnews-interview/video.mp4&quot;&gt;click here to download and watch it&lt;/a&gt;]

&lt;/p&gt;&lt;p&gt;Compare the
&lt;a href=&quot;https://danielpocock.com/en/category/gb-news/&quot;&gt;
GB News&lt;/a&gt; journalism to the other interviews.  Notice how
&lt;a href=&quot;https://danielpocock.com/en/category/gb-news/&quot;&gt;
GB News&lt;/a&gt; doesn&#39;t appear to question the promise at all, they simply
allow these far right politicians to deliver their monologues and
immediately post them on
&lt;a href=&quot;https://danielpocock.com/en/category/social-control-media/&quot;&gt;
social control media&lt;/a&gt;.&lt;/p&gt;

&lt;blockquote&gt;&lt;em&gt;
I think its been made clear now from Reform that the costs of running a by-election would be borne by the party itself. I think that again reflects the integrity with which this is being done.  This is not about wasting taxpayer&#39;s money.  It does take money, it does cost money to run these by-elections, the local authorities, the polling stations, the tellers, there&#39;s a lot of manpower that goes into making these things run smoothly. It does cost money and Reform has said &quot;right, this is not about wasting taxpayer&#39;s money, we&#39;ll pay for it&quot;&lt;/em&gt;&lt;/blockquote&gt;


&lt;p&gt;On 7 July 2026, the party&#39;s deputy leader
&lt;a href=&quot;https://danielpocock.com/en/people/richard-tice/&quot;&gt;
Richard Tice&lt;/a&gt; was on Sky News, the Cathy Newman Show,
&lt;a href=&quot;https://www.facebook.com/skynews/videos/chickens-reforms-deputy-leader-richard-tice-has-accused-major-parties-of-running/1901719991215107/&quot;&gt;
where he repeated the promise to pay for the by-election&lt;/a&gt;:&lt;/p&gt;

&lt;video class=&quot;video-player&quot; controls=&quot;&quot; id=&quot;video1&quot; poster=&quot;https://danielpocock.com/assets/people/richard-tice/2026-07-cathy-newman-show/poster.jpg&quot;&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/richard-tice/2026-07-cathy-newman-show/video.webm&quot; type=&quot;video/webm&quot; /&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/richard-tice/2026-07-cathy-newman-show/video.mp4&quot; type=&quot;video/mp4&quot; /&gt;&lt;p&gt;[Your web browser has failed to display the video, you can &lt;a href=&quot;https://danielpocock.com/assets/people/richard-tice/2026-07-cathy-newman-show/video.mp4&quot;&gt;click here to download and watch it&lt;/a&gt;]

&lt;/p&gt;&lt;blockquote&gt;
&lt;em&gt;
&lt;p&gt;01:25 Richard Tice&lt;/p&gt;
&lt;p&gt;and by the way, we&#39;ve offered to meet the cost of it.&lt;/p&gt;
&lt;p&gt;All of a sudden, they&#39;re whinging about the cost of it
and then all of a sudden, &#39;we say to people oh you can&#39;t do that, no no&lt;/p&gt;
&lt;p&gt;Host: do you think it is democratic to pay for a by-election that you&#39;re taking part in&lt;/p&gt;
&lt;p&gt;Tice: They complain if it&#39;s costing money so we say don&#39;t worry about that, we&#39;ll cover that and then they complain again.  I mean, these are like, these are like squabbling children in a playground, it&#39;s like unbelievable and the hypocrasy of these people, triggering an un-necessary by-election, the name&#39;s Burnham, Andy Burnham, Makerfield, does that ring a bell?&lt;/p&gt;
&lt;p&gt;Host: well you criticise that and now you&#39;re saying ...&lt;/p&gt;
&lt;p&gt;Tice: you can&#39;t have it both ways&lt;/p&gt;
&lt;p&gt;Host: well you&#39;re having it both ways&lt;/p&gt;
&lt;p&gt;Tice: we are, we&#39;re consistent with it.  We said, if you want a by-election in Makerfield, have a by-election.  We stood for it and we lost, fine but the point is here that they&#39;re basically being sussed and they don&#39;t like it.  That&#39;s the reality of what&#39;s going on here and its the good people of Clacton who should have the democratic decision.  These people don&#39;t seem to like democracy.&lt;/p&gt;
&lt;/em&gt;
&lt;/blockquote&gt;

&lt;p&gt;Later on 7 July 2026, at 5pm, LBC publishes a video of their interview with
&lt;a href=&quot;https://danielpocock.com/en/people/laila-cunningham/&quot;&gt;
Laila Cunningham&lt;/a&gt;

&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://www.lbc.co.uk/videos/2JsSevw69PT/&quot;&gt;
https://www.lbc.co.uk/videos/2JsSevw69PT/&lt;/a&gt;&lt;/p&gt;

&lt;video class=&quot;video-player&quot; controls=&quot;&quot; id=&quot;video2&quot; poster=&quot;https://danielpocock.com/assets/people/laila-cunningham/2026-07-07-lbc/poster.jpg&quot;&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/laila-cunningham/2026-07-07-lbc/video.webm&quot; type=&quot;video/webm&quot; /&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/laila-cunningham/2026-07-07-lbc/video.mp4&quot; type=&quot;video/mp4&quot; /&gt;&lt;p&gt;[Your web browser has failed to display the video, you can &lt;a href=&quot;https://danielpocock.com/assets/people/laila-cunningham/2026-07-07-lbc/video.mp4&quot;&gt;click here to download and watch it&lt;/a&gt;]

&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://danielpocock.com/en/people/laila-cunningham/&quot;&gt;
Laila Cunningham&lt;/a&gt; is qualified as a lawyer.  Therefore, within the
organisation
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt;, we would expect her to be a role model of compliance
with the law.  She is the party&#39;s candidate for Mayor of
&lt;a href=&quot;https://danielpocock.com/en/category/london/&quot;&gt;
London&lt;/a&gt;.  As a lawyer and as a candidate for such a significant role,
we would expect her to be more familiar with electoral law than her
non-lawyer colleagues.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://danielpocock.com/en/people/laila-cunningham/&quot;&gt;
Laila Cunningham&lt;/a&gt;, being a lawyer, is also an employee of the
Crown Prosecution Service (CPS).  Therefore, having experience with
criminal law, we would expect her to be conscious of the finer points
of the law on topics like bribery and conspiracy.  One point to keep
in mind is that under British criminal law, a conspiracy doesn&#39;t have
to be carried out to be a crime.  Simply planning a conspiracy is
a crime in the
&lt;a href=&quot;https://danielpocock.com/en/category/uk/&quot;&gt;
UK&lt;/a&gt;.&lt;/p&gt;

&lt;blockquote&gt;&lt;em&gt;
&lt;p&gt;Host: why is this necessary, this by-election&lt;/p&gt;
&lt;p&gt;Laila: well because listen voters can weigh all the information available to them and make their own judgment thats he&#39;s taking the question back to the voters instead of leaving it to Westminster and that&#39;s what democratic accountability looks like &lt;/p&gt;
&lt;p&gt;Host: and the question is what?&lt;/p&gt;
&lt;p&gt;Laila: the question is: do you trust Nigel to be your MP and as a result do you trust Nigel to be your ... Prime Minister.  He&#39;s putting &lt;a href=&quot;https://danielpocock.com/en/creditors-beware-vms-enterprises-brexit-party-reform-uk/&quot;&gt;his record&lt;/a&gt; before the electorate he&#39;s not &lt;a href=&quot;https://danielpocock.com/en/creditors-beware-vms-enterprises-brexit-party-reform-uk/&quot;&gt;hiding from scrutiny&lt;/a&gt; he&#39;s letting the voters decide (interrupted) in a democracy its the voters ... decide&lt;/p&gt;
&lt;p&gt;Host: but they answered that question the last time he stood before the ... election and they voted him in.  So why do we need another go around on that question?&lt;/p&gt;
&lt;p&gt;Laila: well but because you see there&#39;s a pile on, there&#39;s an Establishment pile on, Nigel is clear and I believe Nigel and I think the people will believe Nigel he he has done absolutely nothing wrong but there&#39;s been a pile-on from the press, from the Establishment that somehow he has done something wrong and its ruining his reputation and frankly its up to the people of Clacton if they want to re-elect him as MP.&lt;/p&gt;
&lt;p&gt;Host: if he&#39;s done something, if he&#39;s not done anything wrong why does he feel that a question needs re-answering people in Clacton why can he not let this process that is (Laila interrupting) undertaken at the moment by the Standards Commissioner why answer the questions that he says he&#39;s got nothing to answer for.&lt;/p&gt;
&lt;p&gt;Laila: well I mean the parliamentary standards investigation is gonna keep going it will follow its own process.  This by-election is a separate democratic decision for the people of Clacton.  The voters can weigh all the information available to them and make their own judgment.&lt;/p&gt;
&lt;p&gt;Host: when will the writ be moved to have this by-election begin?&lt;/p&gt;
&lt;p&gt;Laila: we&#39;d like it moved ASAP.  We&#39;ve put it in today.  I believe its up to the Chancellor to approve it and we&#39;re hoping as soon as possible.  &lt;b&gt;We&#39;re ready&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;Host: so L. Anderson your chief whip has already moved the writ which begins the process by which a date is set for this by-election.  I ask that because of course the standards commissioner is doing its investigation anyway and there is the potential here that we have a ridiculous set of circumstances Nigel Farage himself triggers a by-election, the standards commission reports back, the result in that by-election is declared one way or the other and another by-election happens because a recall petition goes from the standards commission we do it all again ?&lt;/p&gt;
&lt;p&gt;Laila: well I mean it depends the standards commissioner will be investigating something separate and that is a separate election and this campaign is about putting the decision back where it belongs.  Right now you have the Establishment and the press who are trying to effectively reverse a democratic vote.  They are trying to stop Reform in its tracks and this campaign is about...&lt;/p&gt;
&lt;p&gt;Host: Why do you think they are trying to reverse a democratic vote?&lt;/p&gt;
&lt;p&gt;Laila: well they&#39;re trying to sully Nigel&#39;s reputation.  He has done absolutely nothing wrong but if you read all the press you&#39;d feel he has.  Umm
&lt;/p&gt;&lt;p&gt;Host: he&#39;s 
&lt;/p&gt;&lt;p&gt;Laila: they&#39;re even saying &quot;how dare he own five homes&quot; as if its a crime for an MP to be successful and own homes we think that in a democracy voters are the final court of appeal.  Its as simple as that.&lt;/p&gt;
&lt;p&gt;Host: I think the question they&#39;re asking is where the money came from to buy those five homes are they?&lt;/p&gt;
&lt;p&gt;Laila: no they&#39;re not they&#39;re asking why Nigel didn&#39;t declare sleeping at a friend&#39;s house.  I mean its its ...&lt;/p&gt;
&lt;p&gt;Host: why has the money that he received when he was politically active as the chairman of Reform but not elected, why was that not declared?  That&#39;s the question need an answer &lt;/p&gt;
&lt;p&gt;Laila: well because he wasn&#39;t an MP and because he didn&#39;t need to declare it&lt;/p&gt;
&lt;p&gt;Host: but he was politically active at the time?&lt;/p&gt;
&lt;p&gt;Laila: well I mean being being the chairman of a political party is like an honorary role.  He was not politically active.&lt;/p&gt;
&lt;p&gt;Host: as the chairman of a political party?&lt;/p&gt;
&lt;p&gt;Laila: yeah he was a social I mean he was a social media influencer and he was a GB News presenter ....&lt;/p&gt;
&lt;p&gt;Host: while also the leader the chief executive of a political party&lt;/p&gt;
&lt;p&gt;Laila: but he was not politically active you know you can have there are loads of people that are staffed at Reform.  I wouldn&#39;t call them all politically active.&lt;/p&gt;
&lt;p&gt;Host: even though they work for a political party?&lt;/p&gt;
&lt;p&gt;Laila: yeah because ...&lt;/p&gt;
&lt;p&gt;Host: you&#39;re not an MP, you&#39;re not elected, you&#39;re working as a candidate, you&#39;re politically active, would you agree?&lt;/p&gt;
&lt;p&gt;Laila: of course I am because I&#39;m actually standing as a candidate &lt;/p&gt;
&lt;p&gt;Host: so you would declare any money that went to you, you would declare that money in advance of potentially being elected?&lt;/p&gt;
&lt;p&gt;Laila: if it was in my role of being mayoral candidate yes of course I would.  (host: interruption) Hang on we have people working here in the back office who work for a political party but there is no way anyone would deem them to be politically active you know.  They&#39;re doing accounts, its just there&#39;s a separation ...&lt;/p&gt;
&lt;p&gt;Host: they&#39;re not knocking on doors, they&#39;re not handing out leaflets they&#39;re not giving speeches&lt;/p&gt;
&lt;p&gt;Laila: they&#39;re not putting their name out there and asking people to vote for them ...&lt;/p&gt;
&lt;p&gt;Host: but Nigel Farage as leader of that organisation before he was an MP was doing that.  He was asking all of those things.  He was saying &quot;vote Reform&quot;&lt;/p&gt;
&lt;p&gt;Laila: no he was a social media influencer he was a GB News reporter ..&lt;/p&gt;
&lt;p&gt;Host: he was not publicly agitating for people to vote for Reform whilst the chairman of that organisation?&lt;/p&gt;
&lt;p&gt;Laila: (guilty pause) I haven&#39;t seen all his social media posts, I don&#39;t, Nigel&#39;s convinced and he&#39;s sought legal advice he has done nothing wrong.&lt;/p&gt;
&lt;p&gt;Host: but you would agree if he had been advocating for Reform in that role he would be being politically active in the way in which you are absolutely right the person who&#39;s the accountant would not&lt;/p&gt;
&lt;p&gt;Laila: I don&#39;t know I&#39;m not sure I don&#39;t know that exact term politically active and it seems to be quite subjective depending on who you&#39;re talking to um but Nigel was not politically active he was a social media influencer and he was a GB News presenter&lt;/p&gt;
&lt;p&gt;&lt;b&gt;05:27: Host: how is this by-election going to be funded by Reform as the party has suggested?&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;Laila: (guilty pause) through our funds&lt;/p&gt;
&lt;p&gt;Host: do you know how much it might cost?&lt;/p&gt;
&lt;p&gt;Laila: I think, I think its somewhere around a quarter of a million &lt;/p&gt;
&lt;p&gt;Host: and that, you are offering, Reform is offering to pay that money? Do we know if that&#39;s legal?  I mean the Electoral Commission presumably would have a say on that&lt;/p&gt;
&lt;p&gt;Laila: (speaking more like a defendant than a CPS lawyer now) I don&#39;t know if its legal.  But, you know, I mean I&#39;m sure the Electoral Commission will have on it but we are, you know, Nigel&#39;s willing to put his money where his mouth is and we&#39;ll pay for it&lt;/p&gt;
&lt;p&gt;Host: um the issue of his security came up during his speech.  We know he is, unfortunately, a victim of various forms of attack, he talked about an incident at a pub, we know the very well documented ones that&#39;ve happened and that&#39;s aweful, however they happen,&lt;/p&gt;
&lt;p&gt;Laila: aweful&lt;/p&gt;
&lt;p&gt;Host: absolutely um irresponsible completely ludicrous shouldn&#39;t happen. Plenty of people in public life unfortunately are targetted in that way so as you . Priti Patel, for example, former Home Secretary, received numerous threats, attacks, accepted parliamentary protection and as a result um and as a result had to hand over her diary and her whereabouts in order to gain that protection.  Why did Farage turn protection down?  Parliamentary protection down?  Or was it taken away?&lt;/p&gt;
&lt;p&gt;Laila: I believe it was taken away.&lt;/p&gt;
&lt;p&gt;Host: by parliament?&lt;/p&gt;
&lt;p&gt;Laila: yes&lt;/p&gt;
&lt;p&gt;Host: do we know why?&lt;/p&gt;
&lt;p&gt;Laila: it was reduced by seventy percent right after Charlie Kirk was murdered&lt;/p&gt;
&lt;p&gt;Host: do we know why it was reduced by seventy percent?&lt;/p&gt;
&lt;p&gt;Laila: I don&#39;t know why.  I&#39;m not privy to that information.&lt;/p&gt;
&lt;p&gt;Host: would it help to know why?&lt;/p&gt;
&lt;p&gt;Laila: I mean it would help to know why.  I mean Nigel we all know that Nigel&#39;s constantly attacked.  I don&#39;t think people quite realise how aweful it is to constantly know that there are people out there that want you dead.  Literally murdered.  They&#39;ll post about it online.  It must, its an aweful existence.&lt;/p&gt;
&lt;p&gt;Host: do you think Nigel Farage, standing in an election in Clacton would beat um a representative of Andy Burnham&#39;s Labour Party?&lt;/p&gt;
&lt;p&gt;Laila: one hundred percent.  Of course he would, because the people of Clacton um have rejected a Labour government and they&#39;ll reject Andy Burnham&#39;s candidate.  What&#39;s the difference between an Andy Burnham candidate or a Kier Starmer candidate?&lt;/p&gt;
&lt;p&gt;Host: what would you say to Restore, to Rupert Lowe, who did some damage to Reform&#39;s vote share in the Makerfield by-election by taking votes off you.  Um what would you say to him, is he gears up to put forward a plan for the by-election in Clacton&lt;/p&gt;
&lt;p&gt;Laila: I think Rupert Lowe got about two thousand or three thousand votes.  Pretty minor.  Listen, we&#39;re not worried about any party, we&#39;re not worried about if Nigel&#39;s gonna win, it&#39;s just by how big is he gonna win.&lt;/p&gt;
&lt;/em&gt;&lt;/blockquote&gt;

&lt;p&gt;On 8 July 2026, the party&#39;s deputy leader
&lt;a href=&quot;https://danielpocock.com/en/people/richard-tice/&quot;&gt;
Richard Tice&lt;/a&gt; chipped in with
&lt;a href=&quot;https://x.com/TiceRichard/status/2074526840551596088&quot;&gt;
complaints about the government refusing the money&lt;/a&gt;:&lt;/p&gt;

&lt;img alt=&quot;Richard Tice, Pay for clacton by-election&quot; src=&quot;https://danielpocock.com/assets/people/richard-tice/richard-tice-x-pay-for-election.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;blockquote&gt;
&lt;em&gt;
&lt;p&gt;Richard Tice:&lt;/p&gt;

&lt;p&gt;Unreal&lt;/p&gt;

&lt;p&gt;They whinge at cost of by election&lt;br /&gt;
So we offer to pay&lt;br /&gt;
They still whinge&lt;/p&gt;

&lt;p&gt;Proof: Britain is Broken&lt;/p&gt;
&lt;/em&gt;
&lt;/blockquote&gt;

&lt;blockquote&gt;
&lt;em&gt;
&lt;p&gt;Mr Ethical:&lt;/p&gt;

&lt;p&gt;Your fucked, admit it&lt;/p&gt;
&lt;/em&gt;
&lt;/blockquote&gt;

&lt;p&gt;On 8 July 2026,
&lt;a href=&quot;https://danielpocock.com/en/people/zia-yusuf/&quot;&gt;
Zia Yusuf&lt;/a&gt;, one of the co-founders/owners of the
&lt;a href=&quot;https://danielpocock.com/en/creditors-beware-vms-enterprises-brexit-party-reform-uk/&quot;&gt;
new Reform UK structure&lt;/a&gt; has appeared on
&lt;a href=&quot;https://www.youtube.com/shorts/yPjdolPskkU&quot;&gt;
a Good Morning Britain interview&lt;/a&gt;.  The host alleges the by-election
itself is an abuse of process.&lt;/p&gt;

&lt;video class=&quot;video-player&quot; controls=&quot;&quot; id=&quot;video3&quot; poster=&quot;https://danielpocock.com/assets/people/zia-yusuf/2026-07-08-gmb-interview/poster.jpg&quot;&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/zia-yusuf/2026-07-08-gmb-interview/video.webm&quot; type=&quot;video/webm&quot; /&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/zia-yusuf/2026-07-08-gmb-interview/video.mp4&quot; type=&quot;video/mp4&quot; /&gt;&lt;p&gt;[Your web browser has failed to display the video, you can &lt;a href=&quot;https://danielpocock.com/assets/people/zia-yusuf/2026-07-08-gmb-interview/video.mp4&quot;&gt;click here to download and watch it&lt;/a&gt;]

&lt;/p&gt;&lt;blockquote&gt;
&lt;em&gt;
&lt;p&gt;Host: absolute nonsense to say its the people versus the Establishment.  This looks like he has called a totally expensive un-necessary by-election in order to avoid the investigation.  Why not just let the investigation get underway.  And if he&#39;s done nothing wrong, then he&#39;s able to say I&#39;ve done nothing wrong.  It make&#39;s zero sense what you&#39;re doing.&lt;/p&gt;
&lt;p&gt;Yusuf: Oh, I disagree with that.  So firstly just to address the point around cost Reform has publicly offered to pay for the full cost of the by-election.&lt;/p&gt;
&lt;p&gt;Host: you can&#39;t buy an election. (Yusuf talking over her)&lt;/p&gt;
&lt;p&gt;Host: You cannot buy...&lt;/p&gt;
&lt;p&gt;Yusuf: Well you can, you can fund ... (host talking over Yusuf)&lt;/p&gt;
&lt;p&gt;Yusuf: Well, we have look look I&#39;m just addressing I&#39;m just addressing that first point that you made ... which is that Reform&#39;s offered that ... publicly to cover the cost the cost of that election&lt;/p&gt;
&lt;p&gt;Host: (talking at same time) you know for a fact that can&#39;t be accepted&lt;/p&gt;
&lt;p&gt;Male host: Elections, Mr Yusuf, elections have to be paid by the taxpayer.&lt;/p&gt;
&lt;p&gt;Yusuf: (talking at same time) to cover the cost of that election&lt;/p&gt;
&lt;p&gt;Male host: We have never had a country in which individuals or political parties  ... (Yusuf interrupting) ...  pay for elections&lt;/p&gt;
&lt;p&gt;Yusuf: let me be crystal clear. &lt;/p&gt;
&lt;p&gt;Male host: (speaking at same time) that would be a ... for ... &lt;/p&gt;
&lt;p&gt;Yusuf: What Reform&#39;s offer is is to pay an excess of tax voluntarily in order to cover that cost.  We don&#39;t mean literally we&#39;re paying...&lt;/p&gt;
&lt;p&gt;Male host: that doesn&#39;t happen in democracies like Britain&#39;s.  It may happen in some parts of the world...&lt;/p&gt;
&lt;p&gt;Yusuf: (interrupting) ...&lt;/p&gt;
&lt;p&gt;Male host: ... where people pay for their own elections&lt;/p&gt;
&lt;p&gt;Yusuf: we have what we have done just to address the point on cost and that&#39;s all I&#39;m doing is that we have publicly made an offer to pay excess in order to (um) cover the cost.&lt;/p&gt;
&lt;p&gt;Male host: which has to be turned down.&lt;/p&gt;
&lt;/em&gt;
&lt;/blockquote&gt;

&lt;p&gt;Under UK law, political parties don&#39;t actually pay tax on their
donations, membership fees and fundraising events.  They are also
exempt from VAT registration. (HMRC &lt;a href=&quot;https://www.gov.uk/hmrc-internal-manuals/vat-business-non-business/vbnb60800&quot;&gt;VBNB60800 - Clubs and associations: political parties&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;If it was about tax, why did
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; discuss it personally with the CEO of Tendring
District Council?
&lt;a href=&quot;https://danielpocock.com/en/people/zia-yusuf/&quot;&gt;
Zia Yusuf&lt;/a&gt; is the only member of the freak show who is talking about
political parties paying a tax on by-elections.&lt;/p&gt;

&lt;p&gt;Maybe
&lt;a href=&quot;https://danielpocock.com/en/people/zia-yusuf/&quot;&gt;
Yusuf&lt;/a&gt; is talking about extending the carbon taxes to politicians
who emit too much hot air.&lt;/p&gt;

&lt;p&gt;On 8 July 2026,
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; appeared in a lengthier
interview with Daniel Rees from the Clacton Gazette:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://www.facebook.com/cf.gazette/videos/it-wont-cost-the-taxpayers-a-pennyso-who-exactly-is-covering-the-cost-of-the-cla/1034551629027152/&quot;&gt;
https://www.facebook.com/cf.gazette/videos/it-wont-cost-the-taxpayers-a-pennyso-who-exactly-is-covering-the-cost-of-the-cla/1034551629027152/&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;&lt;em&gt;
&lt;p&gt;&quot;It won&#39;t cost the taxpayers a penny.&quot;&lt;/p&gt;
&lt;p&gt;So, who exactly is covering the cost of the Clacton by-election, after Nigel Farage officially quit as MP on Wednesday?&lt;/p&gt;
&lt;p&gt;Speaking to the Clacton Gazette, the Reform UK leader has reassured residents ðŸ‘‡&lt;/p&gt;
&lt;/em&gt;&lt;/blockquote&gt;

&lt;p&gt;Many people feel the local Clacton Gazette is a puppet for Farage.  The
reporting in the Gazette reads more like propaganda than journalism.&lt;/p&gt;

&lt;video class=&quot;video-player&quot; controls=&quot;&quot; id=&quot;video4&quot; poster=&quot;https://danielpocock.com/assets/people/nigel-farage/2026-07-08-daniel-rees-gazette/poster.jpg&quot;&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/nigel-farage/2026-07-08-daniel-rees-gazette/video.webm&quot; type=&quot;video/webm&quot; /&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/nigel-farage/2026-07-08-daniel-rees-gazette/video.mp4&quot; type=&quot;video/mp4&quot; /&gt;&lt;p&gt;[Your web browser has failed to display the video, you can &lt;a href=&quot;https://danielpocock.com/assets/people/nigel-farage/2026-07-08-daniel-rees-gazette/video.mp4&quot;&gt;click here to download and watch it&lt;/a&gt;]

&lt;/p&gt;&lt;blockquote&gt;
&lt;em&gt;
&lt;p&gt;Farage: it&#39;s not expensive. It won&#39;t cost the taxpayers a penny because we volunteered as a party to cover the entire cost of the by-election.&lt;/p&gt;
&lt;p&gt;Journalist: is that allowed?&lt;/p&gt;
&lt;/em&gt;&lt;p&gt;&lt;em&gt;Farage: they can&#39;t stop us.  They can&#39;t stop us because you know it is Tendring District Council run the by-election.  They then get reimbursed from central Government.  I&#39;ve been in touch.  I&#39;ve emailed the Chancellor to say we&#39;ll cover the cost of it.  And if she refuses there are other ways we can 
&lt;/em&gt;
&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The Facebook discussion continues:&lt;/p&gt;

&lt;blockquote&gt;&lt;em&gt;
&lt;p&gt;Katherine Lyon, quoting Kyle Green: this whole problem started with people getting to get round the laws by finding creative ways of moving money, or laundering as itâ€™s sometimes known. Fancy thinking the solutions is more dodgy payments&lt;/p&gt;
&lt;/em&gt;&lt;/blockquote&gt;

&lt;p&gt;The social media post refers to an article published 8 July:
&lt;a href=&quot;https://www.clactonandfrintongazette.co.uk/news/26262560.nigel-farage-gives-first-interview-clacton-resignation/&quot;&gt;
https://www.clactonandfrintongazette.co.uk/news/26262560.nigel-farage-gives-first-interview-clacton-resignation/&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;The Gazette quotes
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Mr Farage&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;em&gt;
&lt;p&gt;When asked whether people will take the by-election seriously when Mr Farageâ€™s only confirmed opponent is Count Binface, he said: â€œWell, I think thatâ€™s wrong â€“ I think the Monster Raving Loonies will stand as well, and Iâ€™m told this morning that Laurence Fox the actor has announced heâ€™s standing.&lt;/p&gt;
&lt;p&gt;â€œThere will be candidates.â€�&lt;/p&gt;
&lt;/em&gt;&lt;/blockquote&gt;




&lt;p&gt;On 13 August 2026,
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; appears outside the polling station
&lt;a href=&quot;https://news.sky.com/video/nigel-farage-says-he-enjoyed-by-election-and-repeats-offer-to-pay-250-000-cost-13572771&quot;&gt;
repeating the offer to pay for the by-election&lt;/a&gt;.&lt;/p&gt;

&lt;video class=&quot;video-player&quot; controls=&quot;&quot; id=&quot;video5&quot; poster=&quot;https://danielpocock.com/assets/people/nigel-farage/2026-08-13-sky-news-polling-station/poster.jpg&quot;&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/nigel-farage/2026-08-13-sky-news-polling-station/video.webm&quot; type=&quot;video/webm&quot; /&gt;&lt;source src=&quot;https://danielpocock.com/assets/people/nigel-farage/2026-08-13-sky-news-polling-station/video.mp4&quot; type=&quot;video/mp4&quot; /&gt;&lt;p&gt;[Your web browser has failed to display the video, you can &lt;a href=&quot;https://danielpocock.com/assets/people/nigel-farage/2026-08-13-sky-news-polling-station/video.mp4&quot;&gt;click here to download and watch it&lt;/a&gt;]

&lt;/p&gt;&lt;blockquote&gt;
&lt;em&gt;
&lt;/em&gt;&lt;p&gt;&lt;em&gt;Farage: many more voters than we knew existed&lt;br /&gt;
and we met plenty of people against
but they actually delighted that we&#39;ve been round to see them
and take part in proper democratic activity.
The major criticism is the cost.
We have offered to pay for the cost of this by-election in full
and I hope the government accepts our offer.
&lt;/em&gt;
&lt;/p&gt;&lt;/blockquote&gt; 

&lt;p&gt;In the witness statement signed by
&lt;a href=&quot;https://danielpocock.com/en/people/tom-waterhouse-reform-uk/&quot;&gt;
Tom Waterhouse&lt;/a&gt;, the rogue
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK party/company&lt;/a&gt; admits offering money directly to the
CEO of Tendring District Council.  In fact, the same person simultaneously
holds the role of Acting Returning Officer.  Therefore, this was an offer
to the Acting Returning Officer.  It is an example of attempting an extraordinary
election fraud:&lt;/p&gt;

&lt;img alt=&quot;Tom Waterhouse, Reform UK&quot; src=&quot;https://danielpocock.com/assets/people/tom-waterhouse-reform-uk/confession-wrote-to-chancellor.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;That is a signed confession:&lt;/p&gt;

&lt;img alt=&quot;Tom Waterhouse, Reform UK&quot; src=&quot;https://danielpocock.com/assets/people/tom-waterhouse-reform-uk/2026-09-28-tom-waterhouse-witness.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Read more about the
&lt;a href=&quot;https://danielpocock.com/en/category/winding-up-reform-uk/&quot;&gt;
various judgments in the history of Reform UK Party Limited&lt;/a&gt;.&lt;/p&gt;&lt;/video&gt;&lt;/video&gt;&lt;/video&gt;&lt;/video&gt;&lt;/video&gt;&lt;/video&gt;</content:encoded> 
	<dc:date>2026-10-10T11:30:00+00:00</dc:date>
	<dc:creator>Daniel Pocock</dc:creator>
</item> 
<item rdf:about="https://retout.co.uk/2026/10/10/zeversolar-esphome/">
	<title>Tim Retout: Reading my solar inverter over RS485</title>
	<link>https://retout.co.uk/2026/10/10/zeversolar-esphome/</link>
     <content:encoded>&lt;p&gt;For over ten years, the only way I have had of knowing what our solar
panels are doing has been an impulse monitor on the generation meter,
counting the flashes of its LED.  It has always been a bit flaky due
to battery changes or loose connections, and there has never been a
way to see solar generation alongside the energy used by the rest of
the house.  This week I have fixed that, by building a small ESPHome
sensor which talks directly to the inverter.  I am still reeling
slightly: with AI assistance, it took under a week from idea to
working implementation, and it is a project I would certainly &lt;em&gt;never&lt;/em&gt;
have attempted otherwise.  The result is
&lt;a href=&quot;https://github.com/timretout/zeversolar-esphome&quot;&gt;zeversolar-esphome&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The inverter is a Zeversolar Zeverlution 3680, which has an RS485 port
but no Wi-Fi or Ethernet module.  It doesn’t speak Modbus; it uses
Eversolar’s own master/slave protocol, which nobody has officially
documented but which several people have reverse-engineered over the
years (credit to
&lt;a href=&quot;https://github.com/solmoller/eversolar-monitor&quot;&gt;eversolar-monitor&lt;/a&gt;,
&lt;a href=&quot;https://github.com/Timdebruijn/heliograph&quot;&gt;Heliograph&lt;/a&gt; and
&lt;a href=&quot;https://github.com/timretout/zeversolar-esphome#credits&quot;&gt;others&lt;/a&gt;).
Manufacturer support for Eversolar/Zeversolar inverters apparently
ended in December 2019 when the company went out of business.&lt;/p&gt;
&lt;figure class=&quot;align-center &quot;&gt;
    &lt;img alt=&quot;The rating plate on the side of the inverter, reading Model: Zeverlution 3680, with its input and output ratings and safety symbols.&quot; src=&quot;https://retout.co.uk/2026/zeversolar-rating-plate.jpg#center&quot; width=&quot;300&quot; /&gt; &lt;figcaption&gt;
            &lt;p&gt;The rating plate on my inverter.&lt;/p&gt;
        &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;A while ago I had looked into what ports were available on this
inverter with a view to connecting some sort of monitoring, but I had
abandoned it as “too hard”.  While working on some Home Assistant
configuration, Claude suggested the idea again, but similarly wrote it
off initially.  I encouraged it to explore a bit further, and supplied
the model number of the inverter, at which point the picture got a lot
more promising.  After a bit of back-and-forth about hardware, we
settled on an &lt;a href=&quot;https://github.com/timretout/zeversolar-esphome#hardware&quot;&gt;M5Stack Atom Lite on an Atomic RS485
Base&lt;/a&gt;.  The
main attraction was that it already comes in a case, so I didn’t need
to design (or, more likely, bodge) an enclosure.&lt;/p&gt;
&lt;p&gt;While I waited for the parts to arrive, Claude wrote the firmware: an
&lt;a href=&quot;https://esphome.io/components/external_components/&quot;&gt;ESPHome external
component&lt;/a&gt; built
around a small, dependency-free C++ driver, with host-side unit tests
against byte captures that other people had published from other
models.  I found it slightly surreal to have a tested protocol driver
before owning any hardware to run it on.&lt;/p&gt;
&lt;h3 id=&quot;cables&quot;&gt;Cables&lt;/h3&gt;
&lt;p&gt;The parts came before the tools I needed to get into the inverter
safely (a DC clamp meter and a T25 screwdriver bit), so in the
meantime I made up an RS485 cable - this uses an RJ45 connection at
one end, and some custom wiring at the other.  My first attempt was
with some CAT 6, but (as Claude had pointed out and I had ignored) its
solid-core conductors are much harder to twist together.  So I gave up
and sacrificed an old CAT 5e patch lead instead, which went much
better.&lt;/p&gt;
&lt;figure class=&quot;align-center &quot;&gt;
    &lt;img alt=&quot;The cut end of a white CAT 5e cable, with its twisted pairs pushed into an orange four-way screw-terminal plug.&quot; src=&quot;https://retout.co.uk/2026/zeversolar-cable.jpg#center&quot; width=&quot;200&quot; /&gt; &lt;figcaption&gt;
            &lt;p&gt;The custom end of the cable, before being taped up.&lt;/p&gt;
        &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h3 id=&quot;the-risky-bit&quot;&gt;The risky bit&lt;/h3&gt;
&lt;p&gt;On a Zeverlution, the RJ45 sockets are inside the wiring compartment,
which means taking the cover off to install the monitor.  The manual
addresses this part to qualified electricians.  So the step I was most
nervous about was not the software at all, but safely isolating the
inverter.&lt;/p&gt;
&lt;figure class=&quot;align-center &quot;&gt;
    &lt;img alt=&quot;The inverter with its cover removed, showing large capacitors along the top, a green circuit board with a small LCD display, and cable glands along the bottom edge.&quot; src=&quot;https://retout.co.uk/2026/zeversolar-inside.jpg#center&quot; width=&quot;480&quot; /&gt; &lt;figcaption&gt;
            &lt;p&gt;Inside the inverter, with the cover off.&lt;/p&gt;
        &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;I did this with appropriate caution, following the instructions from
the manual carefully, and also waiting until after dark just in case.
Now that I understand how the DC clips from the panels work, I can see
how to do this safely during daytime too – but hopefully this won’t
be necessary.&lt;/p&gt;
&lt;figure class=&quot;align-center &quot;&gt;
    &lt;img alt=&quot;A yellow RJ45 plug in one of the two network sockets on the inverter&#39;s circuit board, with its white cable running out through a cable gland in the base.&quot; src=&quot;https://retout.co.uk/2026/zeversolar-rj45.jpg#center&quot; width=&quot;600&quot; /&gt; &lt;figcaption&gt;
            &lt;p&gt;Plugged in, and threaded through the cable gland.&lt;/p&gt;
        &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;&lt;em&gt;Warning:&lt;/em&gt; if you’re not confident, I would always advise to get an
electrician to do this bit.  Do what I say, not what I do.&lt;/p&gt;
&lt;h3 id=&quot;debugging-over-wi-fi&quot;&gt;Debugging over Wi-Fi&lt;/h3&gt;
&lt;p&gt;Once the device was installed, the nice thing about ESPHome is that I
never need to go back in the loft again to update it – it reflashes
over Wi-Fi.  I’ve taken full advantage of this for debugging, and for
reading the wire protocol directly from the logs.&lt;/p&gt;
&lt;figure class=&quot;align-center &quot;&gt;
    &lt;img alt=&quot;A hand holding the small grey M5Stack Atom Lite on its RS485 base, with the inverter cable taped into the screw terminals on top and its status LED glowing green.&quot; src=&quot;https://retout.co.uk/2026/zeversolar-atom.jpg#center&quot; width=&quot;400&quot; /&gt; &lt;figcaption&gt;
            &lt;p&gt;The finished device. Green means generating.&lt;/p&gt;
        &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;Separately, I’ve used Claude to integrate the new sensors into Home
Assistant.  Solar generation finally sits in the Energy dashboard
next to the rest of the house’s usage, which was the whole point.&lt;/p&gt;
&lt;h3 id=&quot;reflections&quot;&gt;Reflections&lt;/h3&gt;
&lt;p&gt;This was a fun, quick project, and it solved a problem that has eluded
me for a decade.  I want to be honest about how much of that is down
to the AI: I would not have attempted any of this on my own.  I could
not have told you the protocol existed, never mind implemented it.  My
contribution was everything involving a screwdriver, and ordering some
hardware.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-10T11:00:00+00:00</dc:date>
	<dc:creator>Tim Retout</dc:creator>
</item> 
<item rdf:about="tag:www.jelmer.uk,2026-10-10:mailsift.html">
	<title>Jelmer Vernooij: Mailsift: Extracting structured data from email messages</title>
	<link>https://www.jelmer.uk/mailsift.html</link>
     <content:encoded>&lt;p&gt;As a casual user of Gmail, I find its ability to recognize when I’ve received
tickets, invoices, and flight confirmations, and to display this
information in a structured way, very useful. Flights appear directly in Google
Calendar, parcel delivery statuses are tracked, and reservations are easy to
find at a glance.&lt;/p&gt;
&lt;p&gt;However, my main email address is not Gmail, and I don’t want to migrate
to Gmail for a number of reasons (privacy, data sovereignty, vendor lock-in).
At the same time, I missed having that automatic extraction: having flight and
train bookings appear in my calendar without manual copy-pasting, keeping track
of incoming parcels, and having invoices neatly organized.&lt;/p&gt;
&lt;div class=&quot;section&quot; id=&quot;json-ld-and-schema-org&quot;&gt;
&lt;h2&gt;&lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;LD&lt;/span&gt; and schema.org&lt;/h2&gt;
&lt;p&gt;There is an established standard format for structured data called
&lt;a class=&quot;reference external&quot; href=&quot;https://json-ld.org/&quot;&gt;&lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;LD&lt;/span&gt;&lt;/a&gt;, which is used by Google and other search
engines to extract structured data from web pages. &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;LD&lt;/span&gt; represents linked
data using &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;, and it can be embedded directly in &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; documents.&lt;/p&gt;
&lt;p&gt;Email messages can also contain structured data in the form of &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;LD&lt;/span&gt;,
which can link the information in the email to external data sources. There are
standardized schemas for structured data in email messages, such as the
&lt;a class=&quot;reference external&quot; href=&quot;https://schema.org/&quot;&gt;schema.org&lt;/a&gt; vocabulary, which defines types and
properties for describing entities including flight reservations, train trips,
hotel bookings, parcel deliveries, and invoices.&lt;/p&gt;
&lt;p&gt;For example, an email containing a flight reservation might embed the following
&lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt;-&lt;span class=&quot;caps&quot;&gt;LD&lt;/span&gt; snippet:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;table class=&quot;highlighttable&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;linenos&quot;&gt;&lt;div class=&quot;linenodiv&quot;&gt;&lt;pre&gt;&lt;span class=&quot;normal&quot;&gt; 1&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 2&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 3&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 4&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 5&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 6&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 7&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 8&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 9&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;11&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;12&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;13&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;14&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;15&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;16&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;17&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;18&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;19&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;20&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;21&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;22&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;23&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;div&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@context&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;https://schema.org&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;FlightReservation&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;reservationNumber&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;ABC123&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;underName&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Person&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;John Doe&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;reservationFor&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Flight&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;flightNumber&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;AA123&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;departureAirport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Airport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;John F. Kennedy International Airport&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;arrivalAirport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Airport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;Los Angeles International Airport&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;departureTime&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;2026-11-01T10:00:00-05:00&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;&quot;arrivalTime&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;2026-11-01T13:00:00-08:00&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;When this is present, reading email data is clean and straightforward. The
reality, however, is that only a fraction of vendors actually include
schema.org markup in their emails. Most airlines, train operators, couriers, and
web shops still send regular &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; or plain-text messages with arbitrary layouts
that change over time.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;mailsift&quot;&gt;
&lt;h2&gt;Mailsift&lt;/h2&gt;
&lt;p&gt;To bridge this gap on my own infrastructure, I built &lt;a class=&quot;reference external&quot; href=&quot;https://github.com/jelmer/mailsift/&quot;&gt;mailsift&lt;/a&gt;. Written in Rust, it is a daemon and &lt;span class=&quot;caps&quot;&gt;CLI&lt;/span&gt;
tool that monitors incoming email, extracts structured information, and routes
it to standard files and services.&lt;/p&gt;
&lt;p&gt;Rather than locking data into an internal database, mailsift embraces the Unix
philosophy: it delegates extraction to small, isolated programs and files the
resulting structured artifacts into standard formats and protocols:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;strong&gt;Calendar events &lt;span class=&quot;amp&quot;&gt;&amp;amp;&lt;/span&gt; reservations&lt;/strong&gt;: Turned into iCalendar (&lt;tt class=&quot;docutils literal&quot;&gt;.ics&lt;/tt&gt;) events and
pushed directly to a CalDAV server (such as &lt;a class=&quot;reference external&quot; href=&quot;https://www.jelmer.uk/xandikos/&quot;&gt;Xandikos&lt;/a&gt;)
or stored in a local directory.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Bills &lt;span class=&quot;amp&quot;&gt;&amp;amp;&lt;/span&gt; invoices&lt;/strong&gt;: Extracted as structured &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt; records, organized by year,
and optionally synced to a personal finance manager like &lt;a class=&quot;reference external&quot; href=&quot;https://www.firefly-iii.org/&quot;&gt;Firefly &lt;span class=&quot;caps&quot;&gt;III&lt;/span&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Parcels&lt;/strong&gt;: Extracted as delivery records keyed by tracking number, merged
across status update emails, and optionally registered with tracking APIs like 17track or Karrio.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tickets &lt;span class=&quot;amp&quot;&gt;&amp;amp;&lt;/span&gt; boarding passes&lt;/strong&gt;: Saved as PDFs, Apple Wallet passes (&lt;tt class=&quot;docutils literal&quot;&gt;.pkpass&lt;/tt&gt;),
or images, accompanied by &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt; metadata sidecars linking them to the booking.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Receipts &lt;span class=&quot;amp&quot;&gt;&amp;amp;&lt;/span&gt; orders&lt;/strong&gt;: Filed as &lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt; records, synced over WebDAV, or forwarded
via email.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;how-extractors-work&quot;&gt;
&lt;h2&gt;How extractors work&lt;/h2&gt;
&lt;p&gt;Mailsift decouples the pipeline that handles emails from the logic that parses
individual vendors. It discovers extractors from a directory of manifests.&lt;/p&gt;
&lt;p&gt;The contract between mailsift and an extractor is deliberately simple:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;strong&gt;Input&lt;/strong&gt;: The raw &lt;span class=&quot;caps&quot;&gt;RFC822&lt;/span&gt; message is fed to the extractor on &lt;tt class=&quot;docutils literal&quot;&gt;stdin&lt;/tt&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Execution&lt;/strong&gt;: The extractor runs in a fresh, temporary working directory,
with a strict timeout (typically 10 seconds).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Output&lt;/strong&gt;: The extractor writes zero or more named artifact files into its
working directory and exits 0.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Extractors can be written in any programming language. In practice, most are
small Python scripts that parse &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; with regexes or BeautifulSoup, using a
small helper library (&lt;tt class=&quot;docutils literal&quot;&gt;mailsift_extractor&lt;/tt&gt;) that handles Unicode normalization
and &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; body stripping.&lt;/p&gt;
&lt;div class=&quot;section&quot; id=&quot;filtering-and-dkim-verification&quot;&gt;
&lt;h3&gt;Filtering and &lt;span class=&quot;caps&quot;&gt;DKIM&lt;/span&gt; verification&lt;/h3&gt;
&lt;p&gt;Spawning a subprocess for every single email in an active inbox would be
wasteful. Each extractor therefore has a &lt;span class=&quot;caps&quot;&gt;YAML&lt;/span&gt; manifest declaring prefiltering criteria:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;table class=&quot;highlighttable&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;linenos&quot;&gt;&lt;div class=&quot;linenodiv&quot;&gt;&lt;pre&gt;&lt;span class=&quot;normal&quot;&gt; 1&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 2&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 3&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 4&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 5&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 6&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 7&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 8&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 9&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;10&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;div&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l l-Scalar l-Scalar-Plain&quot;&gt;easyjet&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;order&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l l-Scalar l-Scalar-Plain&quot;&gt;50&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;from_domains&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p p-Indicator&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l l-Scalar l-Scalar-Plain&quot;&gt;easyjet.com&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p p-Indicator&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;*.easyjet.com&quot;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;subject_regex&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;(?i)easyJet&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;booking&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;reference&quot;&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;requires&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p p-Indicator&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l l-Scalar l-Scalar-Plain&quot;&gt;html&lt;/span&gt;
&lt;span class=&quot;nt&quot;&gt;require_dkim&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p p-Indicator&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l l-Scalar l-Scalar-Plain&quot;&gt;easyjet.com&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;Before running an extractor, mailsift evaluates the message headers and &lt;span class=&quot;caps&quot;&gt;MIME&lt;/span&gt;
structure - possibly converting it to an &lt;span class=&quot;caps&quot;&gt;IMAP&lt;/span&gt; filter. If the sender domain or
subject doesn’t match, or the required &lt;span class=&quot;caps&quot;&gt;MIME&lt;/span&gt; parts are missing, the extractor is
skipped immediately.&lt;/p&gt;
&lt;p&gt;Crucially, the manifest can also require a valid &lt;span class=&quot;caps&quot;&gt;DKIM&lt;/span&gt; signature via
&lt;tt class=&quot;docutils literal&quot;&gt;require_dkim&lt;/tt&gt;. Mailsift inspects the &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;Authentication-Results:&lt;/span&gt;&lt;/tt&gt; header
produced by the receiving mail server. This guarantees that an extractor only
processes messages that genuinely originated from the vendor’s domain,
preventing forged emails from injecting fake calendar events or bills.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;generic-vs-vendor-extractors&quot;&gt;
&lt;h3&gt;Generic vs. vendor extractors&lt;/h3&gt;
&lt;p&gt;Extractors fall into two categories:&lt;/p&gt;
&lt;ol class=&quot;arabic simple&quot;&gt;
&lt;li&gt;&lt;strong&gt;Generic extractors&lt;/strong&gt;: &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;schema-ld&lt;/span&gt;&lt;/tt&gt; inspects the &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; for any
&lt;tt class=&quot;docutils literal&quot;&gt;&amp;lt;script &lt;span class=&quot;pre&quot;&gt;type=&quot;application/ld+json&quot;&amp;gt;&lt;/span&gt;&lt;/tt&gt; blocks conforming to schema.org
reservations. Another extractor, &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;ics-passthrough&lt;/span&gt;&lt;/tt&gt;, extracts standard
iCalendar attachments.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Vendor-specific extractors&lt;/strong&gt;: For vendors that don’t include structured
markup, dedicated extractors parse the message text. For instance, the
&lt;tt class=&quot;docutils literal&quot;&gt;easyjet&lt;/tt&gt; extractor looks for booking references and flight tables,
producing a standard &lt;tt class=&quot;docutils literal&quot;&gt;FlightReservation&lt;/tt&gt; artifact:&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;table class=&quot;highlighttable&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;linenos&quot;&gt;&lt;div class=&quot;linenodiv&quot;&gt;&lt;pre&gt;&lt;span class=&quot;normal&quot;&gt; 1&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 2&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 3&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 4&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 5&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 6&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 7&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 8&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt; 9&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;10&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;11&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;12&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;13&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;14&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;div&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;reservation&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;s2&quot;&gt;&quot;@context&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;https://schema.org&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s2&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;FlightReservation&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s2&quot;&gt;&quot;reservationNumber&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;sa&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;easyjet-&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;reference&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;flight_no&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
    &lt;span class=&quot;s2&quot;&gt;&quot;reservationFor&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Flight&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;flightNumber&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;flight_no&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;departureAirport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Airport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;origin&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;arrivalAirport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;@type&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;Airport&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;s2&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;dest&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;departureTime&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;dep&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;isoformat&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(),&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;arrivalTime&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;arr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;isoformat&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(),&lt;/span&gt;
    &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;Path&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;sa&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;slug&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;.reservation.json&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;write_text&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;json&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;dumps&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;reservation&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;The collection of extractors is maintained in a separate repository,
&lt;a class=&quot;reference external&quot; href=&quot;https://github.com/jelmer/mailsift-extractors&quot;&gt;mailsift-extractors&lt;/a&gt;, and
currently includes nearly 60 extractors covering airlines (British Airways, &lt;span class=&quot;caps&quot;&gt;KLM&lt;/span&gt;,
EasyJet, Transavia, Eurostar), transport (&lt;span class=&quot;caps&quot;&gt;NS&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;SNCF&lt;/span&gt; Connect, FlixBus), package
carriers (Royal Mail, &lt;span class=&quot;caps&quot;&gt;DPD&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;DHL&lt;/span&gt;, &lt;span class=&quot;caps&quot;&gt;UPS&lt;/span&gt;, Evri, PostNL), online orders, and utility bills.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;handling-forwarded-mail&quot;&gt;
&lt;h2&gt;Handling forwarded mail&lt;/h2&gt;
&lt;p&gt;In real life, travel bookings or receipts are often forwarded by family,
friends, or colleagues. By default, forwarded mail would fail sender checks, and
&lt;span class=&quot;caps&quot;&gt;DKIM&lt;/span&gt; signatures on inline forwards are broken by mail clients.&lt;/p&gt;
&lt;p&gt;Mailsift handles this via a &lt;tt class=&quot;docutils literal&quot;&gt;trusted_forwarders&lt;/tt&gt; configuration. When an email
arrives from a trusted forwarder, mailsift unwraps the forwarded message:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;strong&gt;Attachment forwards&lt;/strong&gt;: If the original email was attached as
&lt;tt class=&quot;docutils literal&quot;&gt;message/rfc822&lt;/tt&gt;, mailsift extracts the original message and re-evaluates
the vendor’s &lt;span class=&quot;caps&quot;&gt;DKIM&lt;/span&gt; signature on the inner message.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Inline forwards&lt;/strong&gt;: Mailsift reconstructs a synthetic &lt;span class=&quot;caps&quot;&gt;RFC822&lt;/span&gt; message from the
client’s forwarded quotation header block and quotes, deriving a deterministic
Message-&lt;span class=&quot;caps&quot;&gt;ID&lt;/span&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This means hotel confirmations or flight tickets forwarded by a partner still
end up in the family calendar automatically.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;running-mailsift&quot;&gt;
&lt;h2&gt;Running mailsift&lt;/h2&gt;
&lt;p&gt;Mailsift fits into existing email setups in several ways:&lt;/p&gt;
&lt;div class=&quot;section&quot; id=&quot;dovecot-sieve&quot;&gt;
&lt;h3&gt;Dovecot Sieve&lt;/h3&gt;
&lt;p&gt;For local delivery, Sieve provides an elegant integration using the
&lt;tt class=&quot;docutils literal&quot;&gt;sieve_extprograms&lt;/tt&gt; plugin. Because Sieve runs during local delivery after
Dovecot has validated &lt;span class=&quot;caps&quot;&gt;DKIM&lt;/span&gt; and added &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;Authentication-Results:&lt;/span&gt;&lt;/tt&gt;,
&lt;tt class=&quot;docutils literal&quot;&gt;require_dkim&lt;/tt&gt; checks work as expected:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;table class=&quot;highlighttable&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;linenos&quot;&gt;&lt;div class=&quot;linenodiv&quot;&gt;&lt;pre&gt;&lt;span class=&quot;normal&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;normal&quot;&gt;2&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;code&quot;&gt;&lt;div&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;require&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;vnd.dovecot.pipe&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;];&lt;/span&gt;
&lt;span class=&quot;err&quot;&gt;pipe&lt;/span&gt; &lt;span class=&quot;nt&quot;&gt;:copy&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;&quot;mailsift&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;
&lt;p&gt;The &lt;tt class=&quot;docutils literal&quot;&gt;:copy&lt;/tt&gt; flag ensures the email continues to the user’s inbox while a copy
is piped through mailsift.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;imap-watching&quot;&gt;
&lt;h3&gt;&lt;span class=&quot;caps&quot;&gt;IMAP&lt;/span&gt; watching&lt;/h3&gt;
&lt;p&gt;If you don’t run your own mail server, or want to process mail on an existing
remote mailbox, &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;imap-scan&lt;/span&gt;&lt;/tt&gt; connects over &lt;span class=&quot;caps&quot;&gt;IMAP&lt;/span&gt;:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;mailsift&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;imap-scan&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;imaps://user@mail.example.com/INBOX&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;--password-file&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;~/.config/mailsift/imap.pass&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;--watch
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;With &lt;tt class=&quot;docutils literal&quot;&gt;&lt;span class=&quot;pre&quot;&gt;--watch&lt;/span&gt;&lt;/tt&gt;, mailsift uses &lt;span class=&quot;caps&quot;&gt;IMAP&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;IDLE&lt;/span&gt; (&lt;span class=&quot;caps&quot;&gt;RFC&lt;/span&gt; 2177) to wait for new messages
and process them as they arrive. It supports standard passwords, Kerberos (&lt;span class=&quot;caps&quot;&gt;SASL&lt;/span&gt;
&lt;span class=&quot;caps&quot;&gt;GSSAPI&lt;/span&gt;), and OAuth2 (&lt;span class=&quot;caps&quot;&gt;XOAUTH2&lt;/span&gt;) for providers like Gmail and Microsoft 365 via
an interactive &lt;tt class=&quot;docutils literal&quot;&gt;mailsift &lt;span class=&quot;pre&quot;&gt;imap-auth&lt;/span&gt;&lt;/tt&gt; flow.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;other-modes&quot;&gt;
&lt;h3&gt;Other modes&lt;/h3&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;strong&gt;Postfix Milter&lt;/strong&gt;: &lt;tt class=&quot;docutils literal&quot;&gt;mailsift milter&lt;/tt&gt; runs as an &lt;span class=&quot;caps&quot;&gt;MTA&lt;/span&gt; filter, processing
messages in real-time as they pass through Postfix.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Maildir scan&lt;/strong&gt;: &lt;tt class=&quot;docutils literal&quot;&gt;mailsift &lt;span class=&quot;pre&quot;&gt;maildir-scan&lt;/span&gt;&lt;/tt&gt; walks an on-disk Maildir folder,
useful for backfilling historical mail.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Replay&lt;/strong&gt;: &lt;tt class=&quot;docutils literal&quot;&gt;mailsift replay message.eml&lt;/tt&gt; runs extractors on a single
saved message file, which is invaluable when writing or testing an extractor.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;web-ui-and-rest-api&quot;&gt;
&lt;h2&gt;Web &lt;span class=&quot;caps&quot;&gt;UI&lt;/span&gt; and &lt;span class=&quot;caps&quot;&gt;REST&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;In addition to routing data to CalDAV and disk, mailsift includes an optional
read-only web dashboard (&lt;tt class=&quot;docutils literal&quot;&gt;mailsift web&lt;/tt&gt;):&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;mailsift&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;web&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--listen&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;127&lt;/span&gt;.0.0.1:8088
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The dashboard provides an overview of upcoming trips, arriving packages,
unpaid bills, and recent orders. It rescans the artifact directories on request,
so it stays in sync with incoming mail without needing a separate database.
&lt;span class=&quot;caps&quot;&gt;JSON&lt;/span&gt; endpoints (such as &lt;tt class=&quot;docutils literal&quot;&gt;/api/parcels.json&lt;/tt&gt; or &lt;tt class=&quot;docutils literal&quot;&gt;/api/bills.json&lt;/tt&gt;) are also
available for custom status scripts or home automation dashboards.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;section&quot; id=&quot;status-and-getting-involved&quot;&gt;
&lt;h2&gt;Status and getting involved&lt;/h2&gt;
&lt;p&gt;Mailsift has been running reliably on my mail server for over a year, and having
flights, hotel bookings, and train journeys seamlessly sync into my calendar
without relying on proprietary cloud services has been very satisfying.&lt;/p&gt;
&lt;p&gt;The project is free software under the &lt;span class=&quot;caps&quot;&gt;GPL&lt;/span&gt;-3.0:&lt;/p&gt;
&lt;ul class=&quot;simple&quot;&gt;
&lt;li&gt;&lt;a class=&quot;reference external&quot; href=&quot;https://github.com/jelmer/mailsift&quot;&gt;mailsift&lt;/a&gt; (the Rust core daemon and &lt;span class=&quot;caps&quot;&gt;CLI&lt;/span&gt;)&lt;/li&gt;
&lt;li&gt;&lt;a class=&quot;reference external&quot; href=&quot;https://github.com/jelmer/mailsift-extractors&quot;&gt;mailsift-extractors&lt;/a&gt; (the collection of extractor scripts)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Adding support for new vendors only requires writing a small &lt;span class=&quot;caps&quot;&gt;YAML&lt;/span&gt; manifest and a
Python script with a couple of regexes. If you have vendors you’d like to
extract data from, contributions of new extractors are very welcome!&lt;/p&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-10-10T10:00:00+00:00</dc:date>
	<dc:creator>Jelmer Vernooĳ</dc:creator>
</item> 
<item rdf:about="https://anarc.at/blog/2026-10-08-dst-warning/">
	<title>Antoine Beaupré: PSA: Europe changes time forward soon, North America next, for the last time?</title>
	<link>https://anarc.at/blog/2026-10-08-dst-warning/</link>
     <content:encoded>&lt;blockquote&gt;&lt;p&gt;This is a copy of an email I &lt;a href=&quot;https://lists.torproject.org/mailman3/hyperkitty/list/tor-project@lists.torproject.org/thread/P5YBMLD4VDI4QGAEC6HIPN34U3SVD42G/&quot;&gt;sent at work&lt;/a&gt;. I&#39;m not sure I
should be making noise about this here, feedback welcome.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;This is your bi-yearly reminder that time is changing soon! October 25th
in Europe, November 1st in North America. Less people in Canada are
changing this year, with BC, Alberta, Manitoba and Northwest
Territories getting rid of DST.&lt;/p&gt;

&lt;h1 id=&quot;whats-happening&quot;&gt;What&#39;s happening?&lt;/h1&gt;

&lt;p&gt;Some places in the world implement what is called Daylight saving time
or DST:&lt;/p&gt;

&lt;p&gt;https://en.wikipedia.org/wiki/Daylight_saving_time&lt;/p&gt;

&lt;p&gt;Normally, you shouldn&#39;t have to do anything: computers automatically
change time following local rules, assuming they are correctly
configured, provided recent updates have been applied in the case of a
recent change in said rules (because yes, this happens, and happened
this year, and yes, you need to upgrade your software!).&lt;/p&gt;

&lt;p&gt;Of course, appliances like your microwave oven will likely &lt;em&gt;not&lt;/em&gt; change
time and will need to adjusted unless they are so-called &quot;smart&quot;, in
which case they are part of the skynet botnet and should be destroyed.&lt;/p&gt;

&lt;p&gt;If your clock is flashing &quot;0:00&quot; or &quot;12:00&quot;, you have no action to take
to adapt to this change, lucky you.&lt;/p&gt;

&lt;p&gt;If you haven&#39;t changed time in six months, congratulations, your clock
will be accurate again!&lt;/p&gt;

&lt;p&gt;In any case, you should still consider DST because it might affect some
of your meeting schedules, particularly if you set up a new meeting
schedule in the last 6 months and forgot to consider this change.&lt;/p&gt;

&lt;h1 id=&quot;if-your-location-does-not-have-dst&quot;&gt;If your location does not have DST&lt;/h1&gt;

&lt;p&gt;Properly scheduled meetings affecting multiple time zones are set in UTC
time, which does &lt;em&gt;not&lt;/em&gt; change. So if your location does not observer
time changes, your (local!) meeting time will &lt;em&gt;not&lt;/em&gt; change.&lt;/p&gt;

&lt;p&gt;But be aware that some other folks attending your meeting &lt;em&gt;might&lt;/em&gt; have
the DST bug and &lt;em&gt;their&lt;/em&gt; meeting times will change.&lt;/p&gt;

&lt;p&gt;Be kind to those poor souls which might be missing meetings by a full
&lt;em&gt;hour&lt;/em&gt; because time flies backwards for them.&lt;/p&gt;

&lt;h1 id=&quot;if-you-do-observe-dst&quot;&gt;If you do observe DST&lt;/h1&gt;

&lt;p&gt;If you are affected by daylight savings, your &lt;em&gt;local&lt;/em&gt; meeting times
&lt;em&gt;will&lt;/em&gt; change for UTC meetings. Normally, your meeting times are
scheduled to take this into account and the new hours should be
reasonable.&lt;/p&gt;

&lt;p&gt;But now is a good time to verify that. Take a look at your schedule for
the next couple of weeks and reschedule meetings &lt;em&gt;before&lt;/em&gt; the daylight
saving come up to avoid too much disruption. You have only a couple of
weeks to do so right now.&lt;/p&gt;

&lt;h1 id=&quot;when-do-times-change-how-and-and-where&quot;&gt;When do times change, how, and and where?&lt;/h1&gt;

&lt;p&gt;As regular readers will remember, the rule of thumb is:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Spring forward, fall backwards.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;That is, during the season of Spring, the clocks move forward, and
during the Fall (like right now), they move backwards. That is in the
northern hemisphere, but then the southern hemisphere is often saner and
doesn&#39;t switch anyways.&lt;/p&gt;

&lt;p&gt;So time will move &lt;em&gt;backwards&lt;/em&gt; which means an extra hour of sleep. Unless
you have children or bad sleep, in which case your body doesn&#39;t care
about what the clock says and will wake up one hour earlier than what it
should.&lt;/p&gt;

&lt;p&gt;And of course, this doesn&#39;t happen everywhere at once, so let&#39;s see when
it happens where.&lt;/p&gt;

&lt;h2 id=&quot;europe&quot;&gt;Europe&lt;/h2&gt;

&lt;p&gt;The dance starts in Europe.&lt;/p&gt;

&lt;p&gt;The change happens on the last Sunday in October at 01:00 UTC (not local
time!), that is October 25th. If you are in the central European
timezone, also known as Amsterdam, Berlin, or Paris time depending on
your national affiliation, that essentially means that at 2:59 local the
clocks will fall back to 2:00 instead of going to 3:00.&lt;/p&gt;

&lt;p&gt;Concretely, set your watch back one hour before going to bed, go to bed
at the normal time, and enjoy an extra hour of sleep or leisure.&lt;/p&gt;

&lt;p&gt;If you have kids, you might want to start getting them to bed slightly
earlier every day for a week before the change so they take time getting
used to the change. If you have trouble sleeping in the morning, find
your inner child and do that to yourself as well.&lt;/p&gt;

&lt;h2 id=&quot;usa-canada&quot;&gt;USA / Canada&lt;/h2&gt;

&lt;p&gt;Then it&#39;s the US[1] and Canada[2] joining the dance, on the First Sunday in
November at 02:00 local (not UTC!), that is, I believe, November 1st
2026.&lt;/p&gt;

&lt;p&gt;This means that, at 1:59, the clocks will flip to 1:00, instead of 2:00.&lt;/p&gt;

&lt;p&gt;Concretely, do like the Europeans and tweak your clock before going to
bed.&lt;/p&gt;

&lt;p&gt;That is a little less than four weeks from now.&lt;/p&gt;

&lt;p&gt;[1] except Arizona (except the Navajo nation), US territories, and
Hawaii&lt;/p&gt;

&lt;p&gt;[2] except Yukon, Saskatchewan, (newly) British Columbia, (newly)
Alberta, (newly) Northwest Territories, (newly) Manitoba, one island in
Nunavut (Southampton Island), one town in Ontario (Atikokan) and small
parts of Quebec (Le Golfe-du-Saint-Laurent)&lt;/p&gt;

&lt;h2 id=&quot;other-places-with-dst&quot;&gt;Other places with DST&lt;/h2&gt;

&lt;p&gt;This time again, I must apologize to the people of Cuba, Lebanon,
Israel, Palestine, Egypt, Chile, Australia, and New Zealand, as you fine
folks all have your own DST rules that are omitted here for brevity. I
rely on this page from Wikipedia to be updated by time nerds accurately
for this message, and it should provide you with a rough idea of what&#39;s
coming:&lt;/p&gt;

&lt;p&gt;https://en.wikipedia.org/wiki/Daylight_saving_time_by_country&lt;/p&gt;

&lt;p&gt;In general, changes also happen in October, but either on different
times or different days, except in the south hemisphere, where they
might happen in September (oops, sorry NZ folks, I&#39;m late!).&lt;/p&gt;

&lt;h2 id=&quot;places-without-dst&quot;&gt;Places without DST&lt;/h2&gt;

&lt;p&gt;Everyone else, enjoy, you&#39;re on the right side of history, and we thank
you for the good example you give us.&lt;/p&gt;

&lt;h2 id=&quot;changes-since-last-time&quot;&gt;Changes since last time&lt;/h2&gt;

&lt;p&gt;There&#39;s been &lt;em&gt;lots&lt;/em&gt; of changes since last time:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;British Columbia moved to permanent -07 on 2026-03-09, that is it
will &lt;em&gt;not&lt;/em&gt; change to normal time in November&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Alberta moved to permanent -06 on 2026-06-18, similar to BC above.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Canada’s Northwest Territories moved to permanent -06 on 2026-08-21,
matching Alberta.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Manitoba moves to permanent -05 on 2026-10-31.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Morocco moves to permanent +00 on 2026-09-20.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Moldova has used EU transition times since 2022, but the tz database
only noticed in 2026&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This is my interpretation of the changes announced on the tzdata mailing
list here:&lt;/p&gt;

&lt;p&gt;https://lists.iana.org/hyperkitty/list/tz-announce@iana.org/latest&lt;/p&gt;

&lt;p&gt;If the eastward trend continues, Canada should adopt country-wide &quot;no
daylight savings&quot; rules by 2027, although there&#39;s actually no sign of
the other provinces (Ontario, Québec and so on) currently running bills
to change those rules just yet. Poor Canadians like me confused about
time in their countries can refer to this section of Wikipedia for
details:&lt;/p&gt;

&lt;p&gt;https://en.wikipedia.org/wiki/Daylight_saving_time_in_Canada#By_province_and_territory&lt;/p&gt;

&lt;p&gt;... and particularly the image featured there:&lt;/p&gt;

&lt;p&gt;https://commons.wikimedia.org/wiki/File:Canada_time_zone_map&lt;em&gt;-&lt;/em&gt;en.svg&lt;/p&gt;

&lt;p&gt;It also seems like the US government &lt;em&gt;might&lt;/em&gt; finally adopt a permanent
daylight saving change bill in 2026, as the &quot;Sunshine protection act&quot;
pass the house in July:&lt;/p&gt;

&lt;p&gt;https://en.wikipedia.org/wiki/Sunshine_Protection_Act&lt;/p&gt;

&lt;p&gt;True to form, this was associated with absolutely ridiculous pressure
from Donald Trump against republicans (his own party!) objecting to the
change:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;On July 14, 2026, the House passed a Sunshine Protection Act bill
backed by President Trump. Nevertheless, the bill was opposed in the
Senate by Republicans, including Senator Cotton. In response, on
October 3, 2026, Trump shared a post on Truth Social urging Cotton to
approve the bill, where he revealed Cotton&#39;s personal cellphone number
and called on people to call him.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;https://www.theguardian.com/us-news/2026/oct/03/trump-tom-cotton-daylight-saving-time&lt;/p&gt;

&lt;p&gt;Given that the last time the US did a major change to the daylight
savings policy (in 2005), Canada followed suit to stay in sync, it&#39;s
quite possible Trump&#39;s mad dash might actually finish getting rid of DST
in North America:&lt;/p&gt;

&lt;p&gt;https://en.wikipedia.org/wiki/Energy_Policy_Act_of_2005#Change_to_daylight_saving_time&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-09T17:51:25+00:00</dc:date>
	<dc:creator>Antoine Beaupré</dc:creator>
</item> 
<item rdf:about="tag:www.chiark.greenend.org.uk,2026-10-09:/~cjwatson/blog/activity-2026-09.html">
	<title>Colin Watson: Free software activity in September 2026</title>
	<link>https://www.chiark.greenend.org.uk/~cjwatson/blog/activity-2026-09.html</link>
     <content:encoded>&lt;p&gt;My Debian contributions this month were all &lt;a href=&quot;https://www.freexian.com/about/debian-contributions/&quot;&gt;sponsored&lt;/a&gt; by Freexian.&lt;/p&gt;
&lt;p&gt;You can also support my work directly via &lt;a href=&quot;https://liberapay.com/cjwatson&quot;&gt;Liberapay&lt;/a&gt; or &lt;a href=&quot;https://github.com/sponsors/cjwatson&quot;&gt;GitHub Sponsors&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;OpenSSH&lt;/h2&gt;
&lt;p&gt;I worked with upstream to &lt;a href=&quot;https://bugzilla.mindrot.org/show_bug.cgi?id=3996&quot;&gt;remove libselinux linkage from &lt;code&gt;/usr/sbin/sshd&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I applied a fix from Mark Robillard Jr to &lt;a href=&quot;https://bugs.debian.org/1148188&quot;&gt;fix &lt;code&gt;reload&lt;/code&gt; logic when using sysvinit&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;groff&lt;/h2&gt;
&lt;p&gt;I upgraded from 1.24.1 to 1.24.2, which fixed a few command injection security vulnerabilities.&lt;/p&gt;
&lt;h2&gt;parted&lt;/h2&gt;
&lt;p&gt;I upgraded from 3.7 to 3.8, which fixed &lt;a href=&quot;https://bugs.debian.org/1148169&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-89085 and &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-89088&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Python packaging&lt;/h2&gt;
&lt;p&gt;New upstream versions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;beaker (&lt;a href=&quot;https://github.com/bbangert/beaker/pull/260&quot;&gt;contributed supporting fix upstream&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;bitstruct&lt;/li&gt;
&lt;li&gt;cachelib&lt;/li&gt;
&lt;li&gt;dep-logic&lt;/li&gt;
&lt;li&gt;django-guardian&lt;/li&gt;
&lt;li&gt;django-oauth-toolkit (fixing &lt;a href=&quot;https://bugs.debian.org/1088489&quot;&gt;use of an old Bootstrap version&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;django-polymorphic (&lt;a href=&quot;https://github.com/django-commons/django-polymorphic/pull/917&quot;&gt;contributed supporting fix upstream&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;djangorestframework (fixing &lt;a href=&quot;https://bugs.debian.org/1144350&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-73228 and &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-73229&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;flask-security&lt;/li&gt;
&lt;li&gt;isort&lt;/li&gt;
&lt;li&gt;langtable&lt;/li&gt;
&lt;li&gt;magic-wormhole-mailbox-server (fixing &lt;a href=&quot;https://bugs.debian.org/1147779&quot;&gt;use of &lt;code&gt;pkg_resources&lt;/code&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;multipart&lt;/li&gt;
&lt;li&gt;nagiosplugin&lt;/li&gt;
&lt;li&gt;poetry-plugin-export&lt;/li&gt;
&lt;li&gt;proglog (fixing &lt;a href=&quot;https://bugs.debian.org/1147781&quot;&gt;use of &lt;code&gt;pkg_resources&lt;/code&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;prospector (fixing &lt;a href=&quot;https://bugs.debian.org/1147884&quot;&gt;use of &lt;code&gt;pkg_resources&lt;/code&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;pybind11-stubgen&lt;/li&gt;
&lt;li&gt;pydantic&lt;/li&gt;
&lt;li&gt;pydantic-core&lt;/li&gt;
&lt;li&gt;pytest-rerunfailures&lt;/li&gt;
&lt;li&gt;python-anyio (fixing &lt;a href=&quot;https://bugs.debian.org/1148561&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-63349, &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-63374, and &lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-64847&lt;/a&gt; and a &lt;a href=&quot;https://bugs.debian.org/1145839&quot;&gt;build failure on Python 3.15&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-asttokens&lt;/li&gt;
&lt;li&gt;python-asyncvarlink&lt;/li&gt;
&lt;li&gt;python-blockbuster (fixing a &lt;a href=&quot;https://bugs.debian.org/1145094&quot;&gt;build failure on Python 3.15&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-btrees&lt;/li&gt;
&lt;li&gt;python-django-health-check&lt;/li&gt;
&lt;li&gt;python-django-otp&lt;/li&gt;
&lt;li&gt;python-django-simple-history&lt;/li&gt;
&lt;li&gt;python-email-validator&lt;/li&gt;
&lt;li&gt;python-forbiddenfruit&lt;/li&gt;
&lt;li&gt;python-ldap&lt;/li&gt;
&lt;li&gt;python-linuxnamespaces&lt;/li&gt;
&lt;li&gt;python-plaster-pastedeploy&lt;/li&gt;
&lt;li&gt;python-pydash&lt;/li&gt;
&lt;li&gt;python-pyzipper (fixing &lt;a href=&quot;https://bugs.debian.org/1142473&quot;&gt;&lt;span class=&quot;caps&quot;&gt;CVE&lt;/span&gt;-2026-44722&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-quart-trio&lt;/li&gt;
&lt;li&gt;python-rich-click (fixing &lt;a href=&quot;https://bugs.debian.org/1146708&quot;&gt;harlequin&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-repoze.lru&lt;/li&gt;
&lt;li&gt;python-repoze.tm2 (fixing &lt;a href=&quot;https://bugs.debian.org/1147804&quot;&gt;use of &lt;code&gt;pkg_resources&lt;/code&gt;&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-time-machine&lt;/li&gt;
&lt;li&gt;python-urllib3 (&lt;a href=&quot;https://github.com/urllib3/urllib3/issues/5268&quot;&gt;filed upstream issue with recent Python 3.14 versions&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;python-vblf&lt;/li&gt;
&lt;li&gt;quart&lt;/li&gt;
&lt;li&gt;responses&lt;/li&gt;
&lt;li&gt;sphinx-autodoc-typehints&lt;/li&gt;
&lt;li&gt;storm (fixing a &lt;a href=&quot;https://bugs.debian.org/1147456&quot;&gt;build failure with Python 3.15&lt;/a&gt;, which I &lt;a href=&quot;https://code.launchpad.net/~beenje/storm/+git/storm/+merge/510985&quot;&gt;helped to land upstream&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;trove-classifiers&lt;/li&gt;
&lt;li&gt;twine&lt;/li&gt;
&lt;li&gt;vdirsyncer&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;setuptools 84 is now in Debian and no longer contains &lt;code&gt;pkg_resources&lt;/code&gt;.  Removing uses of that module has been an ongoing project for a while now, but I did another batch of fixes this month:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147770&quot;&gt;flufl.password&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147774&quot;&gt;junos-eznc&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147793&quot;&gt;python-decopatch&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147419&quot;&gt;python-launchpadlib&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147381&quot;&gt;python-plaster-pastedeploy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147909&quot;&gt;python-pyramid-retry&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147863&quot;&gt;sphinxcontrib-log-cabinet&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147921&quot;&gt;sphinxcontrib-restbuilder&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147868&quot;&gt;straight.plugin&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A new python-coverage version triggered several build regressions due to a &lt;a href=&quot;https://github.com/pytest-dev/pytest-cov/issues/755&quot;&gt;known problem in pytest-cov&lt;/a&gt;.  I worked around these by setting &lt;code&gt;COVERAGE_CORE=ctrace&lt;/code&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149403&quot;&gt;aiosignal&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149419&quot;&gt;frozenlist&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149462&quot;&gt;python-cheroot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149466&quot;&gt;python-propcache&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Other build/test failures:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148088&quot;&gt;afew&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148091&quot;&gt;django-downloadview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149171&quot;&gt;django-filter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149414&quot;&gt;django-polymorphic&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149172&quot;&gt;drf-haystack&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149549&quot;&gt;drf-yasg-nonfree&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148201&quot;&gt;pydantic-core&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147551&quot;&gt;pylint&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148098&quot;&gt;pytest-openfiles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148097&quot;&gt;pytest-remotedata&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148099&quot;&gt;python-aiohttp-oauthlib&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147893&quot;&gt;python-cron-descriptor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147794&quot;&gt;python-django-nh3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147903&quot;&gt;python-graphene&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147905&quot;&gt;python-pydash&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1148102&quot;&gt;python-pysolr&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1146407&quot;&gt;python-time-machine&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147912&quot;&gt;python-vblf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147917&quot;&gt;social-auth-core&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149489&quot;&gt;sphinx-book-theme&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147458&quot;&gt;tagpy: &lt;span class=&quot;caps&quot;&gt;FTBFS&lt;/span&gt; against python 3.15rc2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1149491&quot;&gt;tagpy: TypeError: ‘include_dirs’ (if supplied) must be a list of strings&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147923&quot;&gt;typer&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I investigated a &lt;a href=&quot;https://bugs.debian.org/1148202&quot;&gt;build failure in python-proton-vpn-local-agent&lt;/a&gt; and &lt;a href=&quot;https://github.com/ProtonVPN/local-agent-rs/pull/19&quot;&gt;proposed a fix upstream&lt;/a&gt;, but I’m not comfortable applying this in Debian without review.  If you’re familiar with this code, please take a look.&lt;/p&gt;
&lt;p&gt;I fixed some other bugs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147346&quot;&gt;python-pycudwt: Requires manual rebuild for python3.14-only transition&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1048656&quot;&gt;python-testing.postgresql: Fails to build source after successful build&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1147341&quot;&gt;tomopy: Requires manual rebuild for python3.14-only transition&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1045487&quot;&gt;typer: Fails to build source after successful build&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/1046537&quot;&gt;vdirsyncer: Fails to build source after successful build&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Rust packaging&lt;/h2&gt;
&lt;p&gt;rust-derivre had an &lt;a href=&quot;https://bugs.debian.org/1149034&quot;&gt;invalid &lt;code&gt;Section&lt;/code&gt; field&lt;/a&gt;, which I cleaned up.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-09T12:46:28+00:00</dc:date>
	<dc:creator>Colin Watson</dc:creator>
</item> 
<item rdf:about="tag:veronneau.org,2026-10-09:/removing-myself-as-a-lintian-uploader-in-the-next-few-weeks.html">
	<title>Louis-Philippe Véronneau: Removing myself as a Lintian uploader in the next few weeks</title>
	<link>https://veronneau.org/removing-myself-as-a-lintian-uploader-in-the-next-few-weeks.html</link>
     <content:encoded>&lt;p&gt;A few days ago, a colleague reached out to me, asking if I could help draft a
resolution on digital autonomy and free software for the upcoming renewal of
our collective bargaining agreement. Although she&#39;s very politicised and
generally a great individual, she is not a techie and we never really talked
about these issues before.&lt;/p&gt;
&lt;p&gt;This took me by surprise. I should have been rejoicing; no, I should have been
the one who brought up this topic in our union. Wasn&#39;t I the technical expert
on these issues? But alas, my first reaction when she came to me was to snicker
and tell myself: &quot;That&#39;s cute, but nothing&#39;s ever gonna change, Big Tech is too
strong and our governments don&#39;t give a damn.&quot;&lt;/p&gt;
&lt;p&gt;How sad and cynical is that? That&#39;s not the person I want to be.&lt;/p&gt;
&lt;p&gt;Something in the Quebecois political landscape has shifted in the last few
years with regards to tech. More and more &quot;regular&quot; people seem to be talking
about the importance of digital autonomy, how government services shouldn&#39;t
rely on Big Tech and how we should be using FOSS on hardware we actually
control.&lt;/p&gt;
&lt;p&gt;A few years ago, I would have been at the vanguard of this change. I would have
been part of the creation of &lt;a href=&quot;https://www.donneessouveraines.quebec/&quot;&gt;Données souveraines Québec&lt;/a&gt;. Heck, they are
organising &lt;a href=&quot;https://www.donneessouveraines.quebec/evenements/forum-dsq-2026&quot;&gt;a whole conference&lt;/a&gt; next week and I&#39;m not even going. How did
this happen to me?&lt;/p&gt;
&lt;p&gt;I first fell for Free Software for its political ideals: Knowledge Should Be
Free, Cooperation Is More Efficient Than Competition, Centralisation Should Be
Avoided When Possible, etc. I still believe in all of this, but somehow, after
years of fighting for change in the tech world, I have retreated into technical
work. I maintain Debian packages as a hobby and to scratch my own itch. I run
services for myself and a few friends. I organise Debian User Group meetings.&lt;/p&gt;
&lt;p&gt;To be clear, I haven&#39;t generally given up. I&#39;m very politically active in my
union and at work, I&#39;m a good member of my housing cooperative and I&#39;m still
fighting &lt;a href=&quot;https://resisteretfleurir.info/&quot;&gt;against the industrialisation of natural spaces in my
neighborhood&lt;/a&gt;. But when it comes time to defend freedom in the tech
world, lately, I&#39;ve just been shrugging and accepting I should use Microsoft
Teams like every one else does. I want this to change and to do so, I need to
free some time.&lt;/p&gt;
&lt;h2&gt;Lintian&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;https://salsa.debian.org/lintian/lintian/-/commit/58c0efd67f95fa6d5a19346dabed574d56dd654e&quot;&gt;Two years ago&lt;/a&gt;, I added myself to Lintian&#39;s Uploaders list. Up until
then&lt;sup id=&quot;fnref:while&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fn:while&quot;&gt;1&lt;/a&gt;&lt;/sup&gt;, I enjoyed fixing little issues here and there and liked creating
new tags to help out the Python Team, where most of my Debian time was spent.&lt;/p&gt;
&lt;p&gt;Lintian was badly in need of a new maintainer and as I felt it was an important
project, I decided to step in. 37 releases and about 160 closed bugs
later&lt;sup id=&quot;fnref:others&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fn:others&quot;&gt;2&lt;/a&gt;&lt;/sup&gt;, I&#39;m done.&lt;/p&gt;
&lt;p&gt;To be honest, I haven&#39;t had much fun maintaining Lintian lately. Bugs keep
piling on the BTS, so much so I have mostly been ignoring them for the past few
months. In fact, most of the actual work triaging, writing code and fixing bug
&lt;a href=&quot;https://salsa.debian.org/lintian/lintian/-/merge_requests/?state=merged&amp;amp;author_username=nilesh&quot;&gt;has been done by Nilesh Patra&lt;/a&gt; for a while now.&lt;/p&gt;
&lt;p&gt;All this to say, if you care about Lintian, you should consider adding yourself
to the Uploaders list, as I&#39;m out and Nilesh can&#39;t do all the work by himself.&lt;/p&gt;
&lt;p&gt;He&#39;s a great person to work with and since I don&#39;t want to suddenly leave him
all alone, I&#39;ll be sticking around for a few more weeks in the hope someone
else will volunteer to help out. A smooth transition with a new co-maintainer
would really be nice!&lt;/p&gt;
&lt;p&gt;If you&#39;re interested, don&#39;t hesitate to reach out to me on IRC or by email.&lt;/p&gt;
&lt;div class=&quot;footnote&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:while&quot;&gt;
&lt;p&gt;My first technical commit to Lintian was nearly &lt;a href=&quot;https://salsa.debian.org/lintian/lintian/-/commit/025a7ee7b81c25e4746a4217e7e1a6286c118754&quot;&gt;7 years
ago&lt;/a&gt;! Crazy how time flies. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fnref:while&quot; title=&quot;Jump back to footnote 1 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:others&quot;&gt;
&lt;p&gt;Mostly closed by other people than I! &lt;a class=&quot;footnote-backref&quot; href=&quot;https://veronneau.org/feeds/languages/en.atom.xml#fnref:others&quot; title=&quot;Jump back to footnote 2 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-10-09T04:00:00+00:00</dc:date>
	<dc:creator>Louis-Philippe Véronneau</dc:creator>
</item> 
<item rdf:about="http://blog.alteholz.eu/?p=2854">
	<title>Thorsten Alteholz: My Debian Activities in September 2026</title>
	<link>http://blog.alteholz.eu/2026/10/my-debian-activities-in-september-2026/</link>
     <content:encoded>&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian LTS/ELTS&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;&lt;/p&gt;&lt;p&gt;This was my hundred-forty-seventh month that I did some work for the Debian LTS initiative, started by Raphael Hertzog at Freexian.
&lt;/p&gt;
&lt;p&gt;
During my allocated time I uploaded or worked on:  
&lt;/p&gt;&lt;p&gt;&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;[&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/09/msg00038.html&quot;&gt;DLA 4804-1&lt;/a&gt;]  libsmpp34 security update to fix one CVE in Bookworm related to an out of bound read.&lt;/li&gt;&lt;li&gt;[&lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142351&quot;&gt;#1149107&lt;/a&gt;] trixie-pu of libsmpp34 has been created and wait for review by the release team.&lt;/li&gt;&lt;li&gt;[&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/09/msg00040.html&quot;&gt;DLA 4805-1&lt;/a&gt;]  mkvtoolnix security update to fix one CVE in Bookworm related to a heap buffer overflow.
&lt;/li&gt;&lt;li&gt;[&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/2026/09/msg00039.html&quot;&gt;DLA 4806-1&lt;/a&gt;] pgextwlist security update to fix one CVE in Bookworm related to substituting extension schemas or owners matching [“$’\].
&lt;/li&gt;&lt;li&gt;[ELA-1837-1] mkvtoolnix gimp security update to fix one CVE in Bullseye to a heap buffer overflow.&lt;/li&gt;&lt;li&gt;[osmo-iuh] upload to fix a CVE related to a reachable assertion in Sid.&lt;/li&gt;&lt;/ul&gt;



&lt;p&gt;&lt;/p&gt;&lt;p&gt;
Besides doing these uploads, the month was filled with unscheduled meetings, discussions and explanations, all basically around the role of FD.&lt;/p&gt;&lt;p&gt;
During my week of FD duties, I had to become familiar with new tools. As there are several things that FD has to do over and over again, I tried to automate this a bit. My experiments went well and I think this can be used to make FD duties less repetitive.&lt;/p&gt;&lt;p&gt;
I also continued my work on &lt;i&gt;cups&lt;/i&gt; and &lt;i&gt;hplip&lt;/i&gt; and I am confident that I can do uploads in October.
Last but not least I spend some time on security-master to assist others (especially the kernel team) with uploads to Bookworm and Bullseye.
&lt;/p&gt;
&lt;p&gt;
In case you need to get a complete clone of the security-tracker, using the option &lt;i&gt;–deepen n&lt;/i&gt; might be of help. Unfortunately in case you choosed n too high and some kind of error appears, something gets into a mess and you need to start almost from the beginning (some objects are still present and are used again). If you want to run a script, a value of &lt;i&gt;10&lt;/i&gt; might be a good choice. You don’t have to &lt;i&gt;deepen&lt;/i&gt; back to the beginning. At some point in time you can just &lt;i&gt;–unshallow&lt;/i&gt; and get the whole rest. Afterwards doing a &lt;i&gt;git gc&lt;/i&gt; is highly recommended.&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Printing&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;This month I uploaded a new upstream version  or a bugfix version of:&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/hplip&quot;&gt;hplip&lt;/a&gt; to unstable, to fix an expired certificate and some bugs.&lt;/li&gt;&lt;/ul&gt;



&lt;p&gt;&lt;strong&gt;This work is generously funded by &lt;a href=&quot;https://www.freexian.com&quot;&gt;Freexian&lt;/a&gt;!&lt;/strong&gt;&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Lomiri&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;Unfortunately this month my work did not make any progress.&lt;/p&gt;



&lt;p&gt;&lt;strong&gt;Nevertheless, in case of any work done, this would have been generously funded by &lt;a href=&quot;https://freiesoftware.gmbh/&quot;&gt;Fre(i)e Software GmbH&lt;/a&gt;!&lt;/strong&gt;&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Astro&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;Unfortunately I had no time to work in this category this month.&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian IoT&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;Unfortunately I had no time to work in this category this month.&lt;/p&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;Debian Mobcom&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;This month I uploaded a new upstream version  or a bugfix version of:&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmocom-dahdi-linux&quot;&gt;osmocom-dahdi-linux&lt;/a&gt; to unstable to fix some bugs.&lt;/li&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/osmo-iuh&quot;&gt;osmo-iuh&lt;/a&gt; to unstable.&lt;/li&gt;&lt;/ul&gt;



&lt;h3 class=&quot;wp-block-heading&quot;&gt;&lt;strong&gt;misc&lt;/strong&gt;&lt;/h3&gt;



&lt;p&gt;This month I uploaded a new upstream version  or a bugfix version of:&lt;/p&gt;



&lt;ul class=&quot;wp-block-list&quot;&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/pkcs11-proxy&quot;&gt;pkcs11-proxy&lt;/a&gt; to unstable to fix a bug related to openssl 4.0.&lt;/li&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/meep&quot;&gt;meep&lt;/a&gt; to unstable to fix bugs.&lt;/li&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/meep-mpi-default&quot;&gt;meep-mpi-default&lt;/a&gt; to unstable to fix bugs.&lt;/li&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/harminv&quot;&gt;harminv&lt;/a&gt; to unstable to fix bugs.&lt;/li&gt;&lt;li&gt;… &lt;a href=&quot;https://tracker.debian.org/libctl&quot;&gt;libctl&lt;/a&gt; to unstable to fix bugs.&lt;/li&gt;&lt;/ul&gt;</content:encoded> 
	<dc:date>2026-10-08T17:19:04+00:00</dc:date>
	<dc:creator>alteholz</dc:creator>
</item> 
<item rdf:about="tag:bits.debian.org,2026-10-07:/2026/10/forky-artwork-cfp.html">
	<title>Bits from Debian: Looking for artwork for the next Debian release: Forky</title>
	<link>https://bits.debian.org/2026/10/forky-artwork-cfp.html</link>
     <content:encoded>&lt;p&gt;Each release of Debian has a shiny new theme which is visible on the installer,
the boot screen, the login screen and, most prominently, on the desktop
wallpaper. It&#39;s a very important part of a Debian release as it is usually the
first thing new users see when installing or booting the system for the first
time. Not only that, but also the first thing appearing when debianites share
their screen or connect to an external device when giving talks around the
world.&lt;/p&gt;
&lt;p&gt;As the most enthusiastic users will know, the forky - yes, that is the name of
the next stable version, Debian 14 - release cycle is rapidly approaching its
latter stages. This means we need to select the artwork shipping with forky
soon, really soon!&lt;/p&gt;
&lt;p&gt;And as with everything else in Debian, collecting artwork is a collaborative
effort which Debian shares with its community.  So, if you would like (or know
someone who would like) to create a desktop look and feel that will be seen by
trillions of people around the world - and in space! - be sure to send in your
artwork ASAP!&lt;/p&gt;
&lt;p&gt;The deadline for submissions is: 2026-11-26.&lt;/p&gt;
&lt;p&gt;For the most up to date details please refer to the &lt;a href=&quot;https://wiki.debian.org/DebianDesktop/Artwork/Forky&quot;&gt;Debian
wiki&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;At the same time, we would like to thank Elise Couper for creating the
&lt;a href=&quot;https://wiki.debian.org/DebianArt/Themes/Ceratopsian&quot;&gt;Ceratopsian theme&lt;/a&gt; for
our last trixie release.&lt;/p&gt;
&lt;p&gt;And for the interested or the curious ones, the artwork is usually picked
based on which theme looks the most:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&#39;&#39;Debian&#39;&#39;: admittedly not the most defined concept, since everyone has their
  own take on what Debian means to them. Though, usually they all agree when
  something looks like Debian.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&#39;&#39;Plausible to integrate without patching core software&#39;&#39;: as much as we love
  some of the insanely looking themes, some would require heavy GTK+ theming
  and patching GDM/GNOME.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&#39;&#39;Clean and well designed&#39;&#39;: without becoming something that gets annoying to
  look at a year, or ten, down the road.  Examples of good themes include
  Emerald, Homeworld, Joy, Lines, softWaves and futurePrototype&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you&#39;d like more information or details, please post to the &lt;a href=&quot;https://lists.debian.org/debian-desktop/&quot;&gt;Debian Desktop
mailing list&lt;/a&gt;.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-07T09:00:00+00:00</dc:date>
	<dc:creator>Jonathan Carter</dc:creator>
</item> 
<item rdf:about="http://www.luffy.cx/en/blog/2026-go-netip-addrto6.html">
	<title>Vincent Bernat: Hacking the Go compiler to efficiently map IPv4 to IPv6</title>
	<link>https://vincent.bernat.ch/en/blog/2026-go-netip-addrto6</link>
     <content:encoded>&lt;p&gt;&lt;a href=&quot;https://pkg.go.dev/net/netip#Addr&quot; title=&quot;net/netip.Addr on Go Packages&quot;&gt;&lt;code&gt;netip.Addr&lt;/code&gt;&lt;/a&gt; features an &lt;a href=&quot;https://pkg.go.dev/net/netip#Addr.Unmap&quot; title=&quot;net/netip.Addr.Unmap on Go Packages&quot;&gt;&lt;code&gt;Unmap()&lt;/code&gt;&lt;/a&gt;
method returning the unwrapped IPv4 contained in an &lt;a href=&quot;https://www.rfc-editor.org/info/rfc4291#section-2.5.5.2&quot; title=&quot;RFC 4291: IP Version 6 Addressing Architecture&quot;&gt;IPv4-mapped IPv6
address&lt;/a&gt;: from &lt;code&gt;::ffff:203.0.113.10&lt;/code&gt; or &lt;code&gt;::ffff:cb00:710a&lt;/code&gt;, it returns
&lt;code&gt;203.0.113.10&lt;/code&gt;.&lt;sup id=&quot;fnref:why&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:why&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; There is no &lt;code&gt;Map()&lt;/code&gt; or &lt;code&gt;To6()&lt;/code&gt; method for the reverse
direction. Such a method is trivial to implement, but Go maintainers have
&lt;a href=&quot;https://github.com/golang/go/issues/54365#issuecomment-1570607144&quot; title=&quot;Issue #54365: proposal: net/netip: add netip.Addr.Map&quot;&gt;rejected&lt;/a&gt; it on the grounds that users should write
&lt;code&gt;netip.AddrFrom16(ip.As16())&lt;/code&gt; and let the compiler optimize it.&lt;sup id=&quot;fnref:equiv&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:equiv&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; Today,
this pattern is eight times slower than a native method. How can we teach the
compiler to optimize this sequence?&lt;/p&gt;
&lt;div class=&quot;toc&quot;&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#the-alternatives&quot;&gt;The alternatives&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#modifying-the-go-standard-library&quot;&gt;Modifying the Go standard library&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#as-a-helper&quot;&gt;As a helper&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#as-an-unsafe-function&quot;&gt;As an unsafe function&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#benchmarks&quot;&gt;Benchmarks&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#assembly-code&quot;&gt;Assembly code&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#hacking-the-go-compiler&quot;&gt;Hacking the Go compiler&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#the-hammer&quot;&gt;The hammer&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#the-screwdriver&quot;&gt;The screwdriver&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#on-paper&quot;&gt;On paper&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#in-practice&quot;&gt;In practice&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#out-of-order&quot;&gt;Out of order&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#back-in-order&quot;&gt;Back in order&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://vincent.bernat.ch#next-steps&quot;&gt;Next steps&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h1 id=&quot;the-alternatives&quot;&gt;The alternatives&lt;/h1&gt;
&lt;p&gt;Let&#39;s explore three ways to implement the map semantics for &lt;code&gt;netip.Addr&lt;/code&gt;. My
favorite is to add it to the Go standard library. Go maintainers prefer a small
external helper chaining &lt;code&gt;netip.AddrFrom16()&lt;/code&gt; and &lt;code&gt;netip.Addr.As16()&lt;/code&gt;, hoping
the compiler eventually optimizes it. The &lt;a href=&quot;https://pkg.go.dev/unsafe&quot; title=&quot;unsafe on Go Packages&quot;&gt;&lt;code&gt;unsafe&lt;/code&gt; package&lt;/a&gt;
opens a third path, with the same performance as the first solution.&lt;/p&gt;
&lt;h2 id=&quot;modifying-the-go-standard-library&quot;&gt;Modifying the Go standard library&lt;/h2&gt;
&lt;p&gt;Internally, &lt;a href=&quot;https://pkg.go.dev/net/netip#Addr&quot; title=&quot;net/netip.Addr on Go Packages&quot;&gt;&lt;code&gt;netip.Addr&lt;/code&gt;&lt;/a&gt; stores any IP address as a
128-bit value with an extra field &lt;code&gt;z&lt;/code&gt; to encode the family and the zone:&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;kd&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;struct&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;uint128&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;unique&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Handle&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addrDetail&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;kd&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addrDetail&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;struct&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;isV6&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;bool&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// IPv4 is false, IPv6 is true.&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;zoneV6&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// != &quot;&quot; only if IsV6 is true.&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;unique&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Handle&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addrDetail&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z4&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;unique&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Make&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addrDetail&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{})&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z6noz&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;unique&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Make&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addrDetail&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;isV6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;true&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;})&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;https://pkg.go.dev/net/netip#AddrFrom4&quot; title=&quot;net/netip.AddrFrom4 on Go Packages&quot;&gt;&lt;code&gt;AddrFrom4()&lt;/code&gt;&lt;/a&gt; encodes an IPv4 address as an
IPv4-mapped IPv6 address and sets &lt;code&gt;z&lt;/code&gt; to the unique value &lt;code&gt;z4&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// AddrFrom4 returns the address of the IPv4 address given by the bytes in addr.&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AddrFrom4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;byte&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;uint128&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;mh&quot;&gt;0xffff00000000&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;                &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;                &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])},&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href=&quot;https://pkg.go.dev/net/netip#Addr.Unmap&quot; title=&quot;net/netip.Addr.Unmap on Go Packages&quot;&gt;&lt;code&gt;Unmap()&lt;/code&gt;&lt;/a&gt; turns an IPv4-mapped IPv6 address into an
IPv4 address by setting the &lt;code&gt;z&lt;/code&gt; field to &lt;code&gt;z4&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;kd&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Unmap&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Is4In6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z4&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Implementing the reverse direction inside the Go standard library is trivial: we
set the &lt;code&gt;z&lt;/code&gt; field to &lt;code&gt;z6noz&lt;/code&gt; if the address is IPv4.&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// To6 maps an IPv4 address to an IPv4-mapped IPv6 address. It returns an&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// IPv6 address unmodified.&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;To6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Is4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z6noz&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;div class=&quot;admonition&quot;&gt;
&lt;p class=&quot;admonition-title&quot;&gt;Update (2026-10)&lt;/p&gt;
&lt;p&gt;Instead of patching Go, we can use the &lt;a href=&quot;https://pkg.go.dev/cmd/go#hdr-Compile_packages_and_dependencies&quot; title=&quot;go build documentation&quot;&gt;&lt;code&gt;-overlay&lt;/code&gt; flag&lt;/a&gt; of &lt;code&gt;go
build&lt;/code&gt; to hijack any package, including the standard library. In our case,
it can &lt;a href=&quot;https://github.com/vincentbernat/go-netip-addrto6/commit/dcc2e1af2af48301d8e992db22d97682bda37b8c&quot; title=&quot;Add an alternative using an overlay&quot;&gt;add &lt;code&gt;To6()&lt;/code&gt; to &lt;code&gt;net/netip&lt;/code&gt;&lt;/a&gt;. Yet it is
cumbersome:&lt;sup id=&quot;fnref:inconvenient&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:inconvenient&quot;&gt;3&lt;/a&gt;&lt;/sup&gt; the flag expects a JSON file mapping absolute
paths in &lt;code&gt;GOROOT&lt;/code&gt; to replacement files, and you need to add it to every &lt;code&gt;go&lt;/code&gt;
command.&lt;/p&gt;
&lt;/div&gt;
&lt;h2 id=&quot;as-a-helper&quot;&gt;As a helper&lt;/h2&gt;
&lt;p&gt;We can&#39;t access the &lt;code&gt;z&lt;/code&gt; field from outside the &lt;code&gt;net/netip&lt;/code&gt; package. Instead, we
build a small helper around the &lt;code&gt;netip.AddrFrom16(ip.As16())&lt;/code&gt; pattern:&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// AddrTo6 maps an IPv4 address to an IPv4-mapped IPv6 address. It returns an&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// IPv6 address unmodified.&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AddrTo6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Is4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AddrFrom16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;As16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;())&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2 id=&quot;as-an-unsafe-function&quot;&gt;As an unsafe function&lt;/h2&gt;
&lt;p&gt;Another solution uses the &lt;code&gt;unsafe&lt;/code&gt; package to alter the &lt;code&gt;Addr&lt;/code&gt; struct through
a proxy with the same memory layout:&lt;sup id=&quot;fnref:tests&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:tests&quot;&gt;4&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// addrProxy has the same memory layout as netip.Addr.&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addrProxy&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;struct&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// netip.uint128&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;unsafe&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Pointer&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// unique.Handle[netip.addrDetail]&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;anyIPv6&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;IPv6Unspecified&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netipZ6noz&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addrProxy&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;unsafe&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Pointer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;anyIPv6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)).&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;// AddrTo6 maps an IPv4 address to an IPv4-mapped IPv6 address. It returns an&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// IPv6 address unmodified.&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AddrTo6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Is4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addrProxy&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;unsafe&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Pointer&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)).&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netipZ6noz&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2 id=&quot;benchmarks&quot;&gt;Benchmarks&lt;/h2&gt;
&lt;p&gt;On my computer, with Go 1.27.1, the standard library solution costs 0.88 ns per
operation, while the solution favored by Go maintainers costs 7.14 ns. The
unsafe solution matches the performance of the first one.&lt;/p&gt;
&lt;div class=&quot;language-text-only codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;goos: linux
goarch: amd64
pkg: github.com/vincentbernat/go-netip-addrto6
cpu: AMD Ryzen 5 5600X 6-Core Processor
                   â”‚     sec/op     â”‚
AddrTo6/safe            7.137n Â± 0%
AddrTo6/unsafe         0.8682n Â± 2%
AddrTo6/builtin        0.8775n Â± 2%
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2 id=&quot;assembly-code&quot;&gt;Assembly code&lt;/h2&gt;
&lt;p&gt;Let&#39;s check the assembly code the compiler generates for each solution.&lt;sup id=&quot;fnref:dis&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:dis&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;
The one built into the standard library looks like this:&lt;sup id=&quot;fnref:inline&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:inline&quot;&gt;6&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-go-assembly codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// AX = input.addr.hi, BX = input.addr.lo, CX = input.z&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;CMPQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·z4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; check &quot;z&quot; if this is an IPv4 address&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;JNE&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; if not, stop here&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·z6noz&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; CX = netip.z6noz&lt;/span&gt;
&lt;span class=&quot;nl&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;RET&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// return value = Addr{hi: AX, lo: BX, z: CX}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Go&#39;s &lt;a href=&quot;https://go.dev/doc/asm&quot; title=&quot;A Quick Guide to Go&#39;s Assembler&quot;&gt;assembly language&lt;/a&gt; is not a direct representation of the underlying
machine language: it operates on a semi-abstract instruction set derived from
&lt;a href=&quot;https://9p.io/sys/doc/asm.html&quot; title=&quot; A Manual for the Plan 9 assembler&quot;&gt;Plan 9&#39;s assembler&lt;/a&gt;. It has four pseudo-registers: FP (frame pointer
for function arguments), PC (program counter), SB (static base pointer for
global symbols), and SP (stack pointer). It also has architecture-specific
registers like &lt;code&gt;AX&lt;/code&gt;, &lt;code&gt;CX&lt;/code&gt;, &lt;code&gt;DX&lt;/code&gt;, &lt;code&gt;BX&lt;/code&gt;, &lt;code&gt;SI&lt;/code&gt;, &lt;code&gt;DI&lt;/code&gt;, and &lt;code&gt;R8&lt;/code&gt; to &lt;code&gt;R15&lt;/code&gt;.
Instructions storing data use their last argument as the destination.
Instructions can carry an explicit size suffix: &lt;code&gt;MOVB&lt;/code&gt; moves a byte, &lt;code&gt;MOVW&lt;/code&gt; 16
bits, &lt;code&gt;MOVL&lt;/code&gt; 32 bits, and &lt;code&gt;MOVQ&lt;/code&gt; 64 bits. In the example above, the first
instruction compares the 64-bit value &lt;code&gt;z4&lt;/code&gt; with the &lt;code&gt;CX&lt;/code&gt; register.&lt;/p&gt;
&lt;p&gt;The unsafe solution looks almost the same:&lt;/p&gt;
&lt;div class=&quot;language-go-assembly codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// AX = input.addr.hi, BX = input.addr.lo, CX = input.z&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;CMPQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·z4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; check &quot;z&quot; if this is an IPv4 address&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;JNE&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; if not, stop here&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;netipZ6noz&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; CX = netip.z6noz&lt;/span&gt;
&lt;span class=&quot;nl&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;RET&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// return value = Addr{hi: AX, lo: BX, z: CX}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The helper solution has far more instructions. To understand why, let&#39;s look at
the code for &lt;a href=&quot;https://pkg.go.dev/net/netip#Addr.As16&quot; title=&quot;net/netip.Addr.As16 on Go Packages&quot;&gt;&lt;code&gt;As16()&lt;/code&gt;&lt;/a&gt; and
&lt;a href=&quot;https://pkg.go.dev/net/netip#AddrFrom16&quot; title=&quot;net/netip.AddrFrom16 on Go Packages&quot;&gt;&lt;code&gt;AddrFrom16()&lt;/code&gt;&lt;/a&gt;. They are short enough for the compiler
to inline them.&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;kd&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;As16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;a16&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;byte&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;byteorder&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;BEPutUint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;a16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[:&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;hi&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;byteorder&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;BEPutUint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;a16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:],&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;lo&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;a16&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;kd&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AddrFrom16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;byte&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;uint128&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;byteorder&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;BEUint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[:&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]),&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;byteorder&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;BEUint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:]),&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z6noz&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;We can already guess the pattern to optimize: the code packs the IP address into
an array, copies it, then unpacks it. If we inline the Go code by hand, we get:&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;kd&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AddrTo6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Is4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;a16&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;byte&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;byteorder&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;BEPutUint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;a16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[:&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;hi&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;byteorder&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;BEPutUint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;a16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:],&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;lo&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;a16&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;output&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;output&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;hi&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;byteorder&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;BEUint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[:&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;output&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;lo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;byteorder&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;BEUint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:])&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;output&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z6noz&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;output&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;As humans, we can mentally derive the optimized form:&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;kd&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;AddrTo6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Is4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;output&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;output&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;hi&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;hi&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;output&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;lo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;input&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;lo&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;output&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;netip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z6noz&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;output&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p id=&quot;asm-addrto6safe&quot;&gt;Unfortunately, as of Go 1.26.8, the compiler is not smart enough to do the same:&lt;/p&gt;
&lt;div class=&quot;language-go-assembly codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// AX = input.addr.hi, BX = input.addr.lo, CX = input.z&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; Push the stack (32 bytes):&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;;    0(SP) addr netip.uint128&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;;   16(SP) a16 [16]byte&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;PUSHQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BP&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BP&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SUBQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;32&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;CMPQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·z4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; check &quot;z&quot; if this is an IPv4 address&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;JNE&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; if not, stop here&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;; Pack: byteorder.BEPutUint64(a16[:8], input.addr.hi)&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;;       byteorder.BEPutUint64(a16[8:], input.addr.lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBEQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;AX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·a16&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBEQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·a16&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;; addr = a16, 16 bytes at once through the vector register X0&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVUPS&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·a16&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;X0&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVUPS&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;X0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;; CX = netip.z6noz&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·z6noz&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; Unpack: output.addr.hi = byteorder.BEUint64(addr[:8])&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;;         output.addr.lo = byteorder.BEUint64(addr[8:])&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBEQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·addr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;AX&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBEQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·addr&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BX&lt;/span&gt;

&lt;span class=&quot;nl&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ADDQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;32&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;POPQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BP&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;RET&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// return value = Addr{hi: AX, lo: BX, z: CX}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The compiler does a decent job on the byte shuffling: the eight byte stores of
&lt;code&gt;BEPutUint64()&lt;/code&gt; become a single &lt;code&gt;MOVBEQ&lt;/code&gt;, which stores a register byte-swapped.
The eight byte loads of &lt;code&gt;BEUint64()&lt;/code&gt; become a single &lt;code&gt;MOVBEQ&lt;/code&gt; the other way
round.&lt;sup id=&quot;fnref:amd64v3&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:amd64v3&quot;&gt;7&lt;/a&gt;&lt;/sup&gt; Three groups of instructions remain: a pack, a copy, and an
unpack.&lt;/p&gt;
&lt;h1 id=&quot;hacking-the-go-compiler&quot;&gt;Hacking the Go compiler&lt;/h1&gt;
&lt;p&gt;The Go compiler has &lt;a href=&quot;https://github.com/golang/go/blob/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/README.md&quot; title=&quot;Introduction to the Go compiler&quot;&gt;several phases&lt;/a&gt;:&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;Parsing&lt;/dt&gt;
&lt;dd&gt;The compiler &lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/syntax&quot; title=&quot;cmd/compile/internal/syntax&quot;&gt;tokenizes and parses the source code&lt;/a&gt;. It builds a syntax tree
  for each source file.&lt;/dd&gt;
&lt;dt&gt;Type checking&lt;/dt&gt;
&lt;dd&gt;The compiler &lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/types2&quot; title=&quot;cmd/compile/internal/types2&quot;&gt;maps each identifier to the object it denotes&lt;/a&gt;, folds
  constants, and infers the type of every expression.&lt;/dd&gt;
&lt;dt&gt;&lt;abbr title=&quot;Intermediate Representation&quot;&gt;IR&lt;/abbr&gt; construction&lt;/dt&gt;
&lt;dd&gt;The compiler converts the syntax tree and its types into its own &lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/ir&quot; title=&quot;cmd/compile/internal/ir&quot;&gt;intermediate
  representation&lt;/a&gt; (&lt;abbr title=&quot;Intermediate Representation&quot;&gt;IR&lt;/abbr&gt;). This process, called &quot;&lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/noder&quot; title=&quot;cmd/compile/internal/noder&quot;&gt;noding&lt;/a&gt;,&quot; goes through
  a serialization format named unified &lt;abbr title=&quot;Intermediate Representation&quot;&gt;IR&lt;/abbr&gt;.&lt;/dd&gt;
&lt;dt&gt;Middle end&lt;/dt&gt;
&lt;dd&gt;The compiler performs several optimization passes on the &lt;abbr title=&quot;Intermediate Representation&quot;&gt;IR&lt;/abbr&gt;,
  such as &lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/devirtualize&quot; title=&quot;cmd/compile/internal/devirtualize&quot;&gt;devirtualization&lt;/a&gt;, &lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/inline&quot; title=&quot;cmd/compile/internal/inline&quot;&gt;function call inlining&lt;/a&gt;,
  and &lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/escape&quot; title=&quot;cmd/compile/internal/escape&quot;&gt;escape analysis&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;Walk&lt;/dt&gt;
&lt;dd&gt;This phase runs &lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/walk&quot; title=&quot;cmd/compile/internal/walk&quot;&gt;two steps&lt;/a&gt;: order of evaluation decomposes complex
  statements into simpler ones, and desugaring transforms higher-level Go
  constructs, like &lt;code&gt;switch&lt;/code&gt; or channels, into more primitive instructions or
  calls to the runtime.&lt;/dd&gt;
&lt;dt&gt;Generic &lt;abbr title=&quot;Static Single Assignment&quot;&gt;SSA&lt;/abbr&gt;&lt;/dt&gt;
&lt;dd&gt;The compiler &lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/ssagen&quot; title=&quot;cmd/compile/internal/ssagen&quot;&gt;converts the &lt;abbr title=&quot;Intermediate Representation&quot;&gt;IR&lt;/abbr&gt;&lt;/a&gt; into Static Single Assignment (&lt;abbr title=&quot;Static Single Assignment&quot;&gt;SSA&lt;/abbr&gt;)
  form, a lower-level intermediate representation suited for
  &lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/ssa&quot; title=&quot;cmd/compile/internal/ssa&quot;&gt;machine-independent optimizations and rewrite rules&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;Machine code generation&lt;/dt&gt;
&lt;dd&gt;The compiler rewrites the &lt;abbr title=&quot;Static Single Assignment&quot;&gt;SSA&lt;/abbr&gt; form into &lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/ssa/_gen&quot; title=&quot;cmd/compile/internal/ssa/_gen&quot;&gt;machine-specific variants&lt;/a&gt;,
  allocates registers, and applies more optimization passes. At the end, &lt;a href=&quot;https://github.com/golang/go/tree/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/internal/obj&quot; title=&quot;cmd/internal/obj&quot;&gt;the
  assembler&lt;/a&gt; turns the generated instructions into machine code.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&quot;the-hammer&quot;&gt;The hammer&lt;/h2&gt;
&lt;p&gt;My first idea is to replace occurrences of &lt;code&gt;netip.AddrFrom16(ip.As16())&lt;/code&gt; with
&lt;code&gt;netip.Addr{addr: ip.addr, z: netip.z6noz}&lt;/code&gt; as early as possible, during the
&quot;noding&quot; process. Before that, the type checking phase prevents
us from accessing unexported struct fields.&lt;/p&gt;
&lt;p&gt;Go 1.27 introduced a convenient debug option to dump the &lt;abbr title=&quot;Intermediate Representation&quot;&gt;IR&lt;/abbr&gt; of a function at
interesting points during compilation:&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;GOTOOLCHAIN&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;go1.27.1&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;GOAMD64&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;v3&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;go&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;build&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-a&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-gcflags&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;-d=astdump=AddrTo6Safe&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;.
&lt;span class=&quot;go&quot;&gt;Writing text ast output for AddrTo6Safe to AddrTo6Safe.ast&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Writing html ast output for AddrTo6Safe to AddrTo6Safe.html&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Writing html syntax output for AddrTo6Safe to AddrTo6Safe.syntax.html&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In the HTML file, the first column shows the &lt;abbr title=&quot;Intermediate Representation&quot;&gt;IR&lt;/abbr&gt; as it comes out of noding:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ir codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;DCLFUNC&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;addrto6.AddrTo6Safe&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;ABI&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;ABIInternal&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;FUNC&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;func(netip.Addr)&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;k&quot;&gt;DCLFUNC-Dcl&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;NAME&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;addrto6.ip&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PPARAM&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;OnStack&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Used&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;w&quot;&gt;. &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;NAME&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;addrto6.~r0&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PPARAMOUT&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;OnStack&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;k&quot;&gt;DCLFUNC-body&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;IF&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# ipv6_safe.go:11:2&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;IF-Cond&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;CALLFUNC&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;bool
&lt;span class=&quot;w&quot;&gt;. . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;CALLFUNC-Fun&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;METHEXPR&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;addrto6.Is4&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;FUNC&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;func(netip.Addr)&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;bool
&lt;span class=&quot;w&quot;&gt;. . . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;TYPE&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PEXTERN&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;type&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;w&quot;&gt;. . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;CALLFUNC-Args&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;NAME&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;addrto6.ip&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PPARAM&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;OnStack&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Used&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;w&quot;&gt;. &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;IF-Body&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# ipv6_safe.go:12:6&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;NAME&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;addrto6.ip&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PPARAM&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;OnStack&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Used&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;w&quot;&gt;. . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;CALLFUNC&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;w&quot;&gt;. . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;CALLFUNC-Fun&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;. . . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;NAME&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;netip.AddrFrom16&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PFUNC&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Used&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;FUNC&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;func([&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;]byte)&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;. . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;CALLFUNC-Args&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. . . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;CALLFUNC&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;ARRAY&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;[&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;]byte
&lt;span class=&quot;w&quot;&gt;. . . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;CALLFUNC-Fun&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;. . . . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;METHEXPR&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;addrto6.As16&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;FUNC&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;func(netip.Addr)&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;[&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;]byte
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;. . . . . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;TYPE&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PEXTERN&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;type&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;w&quot;&gt;. . . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;CALLFUNC-Args&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. . . . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;NAME&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;addrto6.ip&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PPARAM&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;OnStack&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Used&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;w&quot;&gt;. &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;RETURN&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# ipv6_safe.go:14:2&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;RETURN-Results&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;NAME&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;addrto6.ip&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PPARAM&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;OnStack&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Used&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In the body of the &lt;code&gt;if&lt;/code&gt; statement, we spot the calls to the method
&lt;code&gt;netip.Addr.As16()&lt;/code&gt; and to the function &lt;code&gt;netip.AddrFrom16()&lt;/code&gt;. Our goal is to
patch them with a struct literal:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ir codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;IF-Body&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# ipv6_safe.go:12:6&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;NAME&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;addrto6.ip&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PPARAM&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;OnStack&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Used&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;w&quot;&gt;. . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;STRUCTLIT&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;w&quot;&gt;. . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;STRUCTLIT-List&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;. . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;STRUCTKEY&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.addr
&lt;span class=&quot;w&quot;&gt;. . . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;DOT&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.addr&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.uint128
&lt;span class=&quot;w&quot;&gt;. . . . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;NAME&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;addrto6.ip&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PPARAM&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;OnStack&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Used&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.Addr
&lt;span class=&quot;w&quot;&gt;. . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;STRUCTKEY&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;netip.z
&lt;span class=&quot;w&quot;&gt;. . . . &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;NAME&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;-&lt;/span&gt;netip.z6noz&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Class&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;PEXTERN&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;no&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;unique.Handle[net/netip.addrDetail]
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In &lt;a href=&quot;https://github.com/golang/go/blob/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/noder/reader.go&quot; title=&quot;reader.go&quot;&gt;noder&#39;s &lt;code&gt;reader.go&lt;/code&gt;&lt;/a&gt;, the &lt;code&gt;expr()&lt;/code&gt; method builds the &lt;abbr title=&quot;Intermediate Representation&quot;&gt;IR&lt;/abbr&gt; tree for
an expression. At the end of the &lt;code&gt;exprCall&lt;/code&gt; case, we add a call to a
&lt;code&gt;rewriteAddrFrom16As16()&lt;/code&gt; function. It takes the current node and returns the
struct literal on success, or &lt;code&gt;nil&lt;/code&gt; if the rewrite is not possible. First, we
check that we have the expected pattern: a call to the &lt;code&gt;netip.AddrFrom16()&lt;/code&gt;
function with a call to the &lt;code&gt;netip.Addr.As16()&lt;/code&gt; method as its only argument:&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;kd&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;rewriteAddrFrom16As16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;n&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Node&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Node&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ok&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;n&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;CallExpr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ok&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Op&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;OCALLFUNC&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;||&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Args&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Init&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;())&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;||&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;isNetipFunc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Fun&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;AddrFrom16&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;nil&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;inner&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ok&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Args&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;].(&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;*&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;CallExpr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ok&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;inner&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Op&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;OCALLFUNC&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;||&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;inner&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Args&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;||&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;inner&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Init&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;())&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;||&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;isNetipFunc&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;inner&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Fun&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Addr.As16&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;nil&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;inner&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Args&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// [...]&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Then, we fetch &lt;code&gt;netip.z6noz&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;nx&quot;&gt;z6noz&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;err&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;lookupVar&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;StaticCalleeName&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Fun&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;).&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Sym&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;().&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Pkg&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;z6noz&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;err&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;nil&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;nil&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;And we build the struct literal:&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;nx&quot;&gt;typ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Type&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;pos&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;call&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Pos&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;
&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Node&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;range&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;typ&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Fields&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kd&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Node&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;switch&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Sym&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Name&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;case&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;addr&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;typecheck&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;DotField&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;pos&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;x&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;case&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;z&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;z6noz&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;default&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;nil&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;NewStructKeyExpr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;pos&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;f&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;value&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;lit&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;NewCompLitExpr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;pos&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ir&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;OSTRUCTLIT&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;typ&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;list&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;lit&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;SetTypecheck&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;lit&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Have a look at the &lt;a href=&quot;https://github.com/vincentbernat/go/commit/netipmap-fix2&quot; title=&quot;cmd/compile: optimize netip.AddrFrom16(ip.As16()) in the noder&quot;&gt;complete patch&lt;/a&gt;.&lt;sup id=&quot;fnref:statement&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:statement&quot;&gt;8&lt;/a&gt;&lt;/sup&gt; We can test it
with the following commands:&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;src
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;./make.bash
&lt;span class=&quot;go&quot;&gt;Building Go cmd/dist using /usr/lib/go-1.27. (go1.27.1 linux/amd64)&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Building Go toolchain1 and bootstrap cmd/go (go_bootstrap) using /usr/lib/go-1.27.&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Building Go toolchain2 using go_bootstrap and Go toolchain1.&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Building Go toolchain3 and commands using go_bootstrap and Go toolchain2.&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Checking command staleness for linux/amd64.&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;---&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Installed Go for linux/amd64 in /home/bernat/code/free/go&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;Installed commands in /home/bernat/code/free/go/bin&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;*** You need to add /home/bernat/code/free/go/bin to your PATH.&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;export&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;PATH&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$PWD&lt;/span&gt;/../bin:&lt;span class=&quot;nv&quot;&gt;$PATH&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;go&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;version
&lt;span class=&quot;go&quot;&gt;go version go1.28-devel_9834516e20 Sat Sep 12 08:23:11 2026 -0700 linux/amd64&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;go&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;test&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;net/netip/...
&lt;span class=&quot;go&quot;&gt;ok      net/netip   0.224s&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;../../go-netip-addrto6
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;go&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;test&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;.
&lt;span class=&quot;go&quot;&gt;ok      github.com/vincentbernat/go-netip-addrto6   0.062s&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The generated code for the helper is now the shortest possible version!&lt;/p&gt;
&lt;div class=&quot;language-go-assembly codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// AX = input.addr.hi, BX = input.addr.lo, CX = input.z&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;CMPQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·z4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; check &quot;z&quot; if this is an IPv4 address&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;JNE&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; if not, stop here&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·z6noz&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; CX = netip.z6noz&lt;/span&gt;
&lt;span class=&quot;nl&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;RET&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// return value = Addr{hi: AX, lo: BX, z: CX}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Go maintainers are unlikely to accept this change. It relies on the internal
structure of &lt;code&gt;net/netip.Addr&lt;/code&gt;. It&#39;s an ugly hack in the noder, whose job is to
faithfully translate the type-checked AST into the &lt;abbr title=&quot;Intermediate Representation&quot;&gt;IR&lt;/abbr&gt;. And it&#39;s harder to
maintain than adding a &lt;code&gt;To6()&lt;/code&gt; method.&lt;/p&gt;
&lt;h2 id=&quot;the-screwdriver&quot;&gt;The screwdriver&lt;/h2&gt;
&lt;p&gt;The right place for such an optimization is the &lt;a href=&quot;https://github.com/golang/go/blob/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/ssa/README.md&quot; title=&quot;Introduction to the Go compiler&#39;s SSA backend&quot;&gt;generic &lt;abbr title=&quot;Static Single Assignment&quot;&gt;SSA&lt;/abbr&gt; phase&lt;/a&gt;. One of
the last machine-independent passes is &lt;code&gt;memcombine&lt;/code&gt;. With the appropriate debug
flag, the compiler dumps the &lt;abbr title=&quot;Static Single Assignment&quot;&gt;SSA&lt;/abbr&gt; form after this pass:&lt;sup id=&quot;fnref:html&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:html&quot;&gt;9&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;GOTOOLCHAIN&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;go1.26.8&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;GOAMD64&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;v3&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;&amp;gt; &lt;/span&gt;go&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;build&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-a&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-gcflags&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;-d=ssa/memcombine/dump=AddrTo6Safe&#39;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;.
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;head&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-5&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;AddrTo6Safe_01__memcombine.dump
&lt;span class=&quot;go&quot;&gt;AddrTo6Safe func(netip.Addr) netip.Addr&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;  b2:&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;    (?) v1 = InitMem &amp;lt;mem&amp;gt;&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;    (?) v2 = SP &amp;lt;uintptr&amp;gt;&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;    (?) v3 = SB &amp;lt;uintptr&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The result of the &lt;code&gt;memcombine&lt;/code&gt; pass follows the same structure as the assembly
code for &lt;code&gt;AddrTo6Safe()&lt;/code&gt; &lt;a href=&quot;https://vincent.bernat.ch/en/blog/2026-go-netip-addrto6#asm-addrto6safe&quot;&gt;we looked at earlier&lt;/a&gt;: two stores,
one move, and two loads we would like to optimize away.&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;; [â€¦]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+0}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[0]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.hi&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+8}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[1]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.lo&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v466&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*netip.addrDetail&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+16}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[2]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.z&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; [â€¦]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.a16}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.hi)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v23&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[:8] = bswap(hi)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[8:] = bswap(lo)&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.addr}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{[16]byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[16]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr = a16&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v415&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v416&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr[:8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v299&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v416&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.hi&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v174&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v415&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr[8:]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v39&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v174&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.lo&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; [â€¦]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Each line features a value identifier (&lt;code&gt;v442&lt;/code&gt;), an operation with its type
(&lt;code&gt;Bswap64 &amp;lt;uint64&amp;gt;&lt;/code&gt;), and its arguments (&lt;code&gt;v490&lt;/code&gt;).&lt;sup id=&quot;fnref:lines&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:lines&quot;&gt;10&lt;/a&gt;&lt;/sup&gt; Values are the basic
building blocks of &lt;abbr title=&quot;Static Single Assignment&quot;&gt;SSA&lt;/abbr&gt; and are defined exactly once. Square brackets enclose
integer parameters (&lt;code&gt;[8]&lt;/code&gt;) and curly braces contain auxiliary arguments
(&lt;code&gt;{netip.addr}&lt;/code&gt;). Operations writing to memory produce a new memory state. Every
memory operation takes the current state as its last argument, which keeps them
in order.&lt;/p&gt;
&lt;h3 id=&quot;on-paper&quot;&gt;On paper&lt;/h3&gt;
&lt;p&gt;Let&#39;s focus on &lt;code&gt;output.addr.lo&lt;/code&gt;, aka &lt;code&gt;v39&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+8}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[1]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.lo&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.a16}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[8:] = bswap(lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.addr}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{[16]byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[16]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr = a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v415&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v174&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v415&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr[8:]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v39&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v174&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.lo&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To simplify this code, we could apply three rewriting rules:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The first one adds a shortcut when &lt;strong&gt;loading through a move&lt;/strong&gt;: &lt;code&gt;(Load (OffPtr
   [o] p) (Move p src mem)) =&amp;gt; (Load (OffPtr [o] src) mem)&lt;/code&gt;. This matches &lt;code&gt;v174&lt;/code&gt;
   with its arguments &lt;code&gt;v415&lt;/code&gt; and &lt;code&gt;v286&lt;/code&gt; and creates a new value &lt;code&gt;v600&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+8}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[1]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.lo&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.a16}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[8:] = bswap(lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.addr}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{[16]byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[16]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr = a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v415&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr[8]&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v600&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v174&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v600&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[8:]&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v39&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v174&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.lo&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The second one simplifies a &lt;strong&gt;load following a store&lt;/strong&gt;: &lt;code&gt;(Load p (Store p x
   _)) =&amp;gt; x&lt;/code&gt;. The load is &lt;em&gt;forwarded&lt;/em&gt;: the stored value replaces it and no memory
   access remains. It matches &lt;code&gt;v174&lt;/code&gt;. It notices that &lt;code&gt;v600&lt;/code&gt; and &lt;code&gt;v173&lt;/code&gt; are the
   same address and replaces &lt;code&gt;v174&lt;/code&gt; with a copy of &lt;code&gt;v442&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+8}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[1]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.lo&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.a16}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[8:] = bswap(lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.addr}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{[16]byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[16]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr = a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v415&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v600&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v174&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Copy&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                         &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.lo)&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v39&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v174&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.lo&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The last step &lt;strong&gt;cancels the two byte swaps&lt;/strong&gt;: &lt;code&gt;(Bswap64 (Bswap64 x)) =&amp;gt; x&lt;/code&gt;.
   &lt;code&gt;v39&lt;/code&gt; becomes a copy of &lt;code&gt;v490&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+8}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[1]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.lo&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.a16}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[8:] = bswap(lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.addr}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{[16]byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[16]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr = a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v415&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v600&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v174&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Copy&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                         &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.lo)&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v39&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Copy&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                         &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.lo = input.addr.lo&lt;/span&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If we ignore the values not needed to compute &lt;code&gt;v39&lt;/code&gt;, only this &lt;abbr title=&quot;Static Single Assignment&quot;&gt;SSA&lt;/abbr&gt; form remains:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+8}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[1]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.lo&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v39&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Copy&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;             &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.lo = input.addr.lo&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Let&#39;s switch to &lt;code&gt;output.addr.hi&lt;/code&gt;, aka &lt;code&gt;v299&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+0}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[0]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.hi&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.a16}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.hi)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v23&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[:8] = bswap(hi)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[8:] = bswap(lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.addr}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{[16]byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[16]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr = a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v416&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr[:8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v299&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v416&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.hi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;To optimize it away, we also apply three rewriting rules:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;The first one also adds a shortcut when &lt;strong&gt;loading through a move&lt;/strong&gt;, but
   without an offset: &lt;code&gt;(Load p (Move p src mem)) =&amp;gt; (Load src mem)&lt;/code&gt;. This rewrites &lt;code&gt;v416&lt;/code&gt;
   to use arguments from &lt;code&gt;v286&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+0}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[0]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.hi&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.a16}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.hi)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v23&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[:8] = bswap(hi)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[8:] = bswap(lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.addr}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{[16]byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[16]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr = a16&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v416&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[:8]&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v299&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v416&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.hi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The second rule &lt;strong&gt;forwards a value stored one step earlier&lt;/strong&gt;, skipping over a
   store to another address: &lt;code&gt;(Load p (Store q _ (Store p x _))) =&amp;gt; x&lt;/code&gt;. This
   matches &lt;code&gt;v416&lt;/code&gt;: &lt;code&gt;x&lt;/code&gt; is &lt;code&gt;v542&lt;/code&gt;, &lt;code&gt;p&lt;/code&gt; is &lt;code&gt;v22&lt;/code&gt; (&lt;code&gt;&amp;amp;a16&lt;/code&gt;), &lt;code&gt;q&lt;/code&gt; is &lt;code&gt;v173&lt;/code&gt;
   (&lt;code&gt;&amp;amp;a16[8]&lt;/code&gt;), and &lt;code&gt;p&lt;/code&gt; and &lt;code&gt;q&lt;/code&gt; do not overlap for &lt;code&gt;uint64&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+0}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[0]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.hi&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.a16}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.hi)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v23&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[:8] = bswap(hi)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[8:] = bswap(lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.addr}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{[16]byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[16]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr = a16&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v416&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Copy&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                         &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.hi)&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v299&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v416&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.hi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The third rule &lt;strong&gt;cancels two byte swaps&lt;/strong&gt;: &lt;code&gt;(Bswap64 (Bswap64 x)) =&amp;gt; x&lt;/code&gt;.
   &lt;code&gt;v299&lt;/code&gt; becomes a copy of &lt;code&gt;v502&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+0}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[0]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.hi&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.a16}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[8]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.hi)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v23&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[:8] = bswap(hi)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{uint64}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v173&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v442&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v161&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[8:] = bswap(lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.addr}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{[16]byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[16]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr = a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v416&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Copy&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v542&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                         &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; bswap(input.addr.hi)&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v299&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Copy&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                         &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.hi = input.addr.hi&lt;/span&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If we remove the values not used to compute &lt;code&gt;v299&lt;/code&gt;, we get this &lt;abbr title=&quot;Static Single Assignment&quot;&gt;SSA&lt;/abbr&gt; form:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ArgIntReg&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{ip+0}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[0]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; input.addr.hi&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v299&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Copy&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v502&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.hi = input.addr.hi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3 id=&quot;in-practice&quot;&gt;In practice&lt;/h3&gt;
&lt;p&gt;Most of these rules already exist in &lt;a href=&quot;https://github.com/golang/go/blob/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/ssa/_gen/generic.rules&quot; title=&quot;generic.rules&quot;&gt;&lt;code&gt;generic.rules&lt;/code&gt;&lt;/a&gt;. They use
conditions to validate their context: &lt;code&gt;ssa.IsSamePtr()&lt;/code&gt; for the same address,
&lt;code&gt;ssa.Disjoint()&lt;/code&gt; for addresses that do not overlap. The rule forwarding a stored
value to a load already exists with three variants looking through several other
stores. Here are the two we need:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa-rules codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;t1&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p1&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{t2}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p2&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;x&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;_&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ssa.IsSamePtr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;p1,&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p2&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;copyCompatibleType&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;t1,&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;x.Type&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;t1.Size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;t2.Size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;x
&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;t1&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p1&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{t2}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p2&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;_&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{t3}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p3&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;x&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;_&lt;span class=&quot;p&quot;&gt;)))&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ssa.IsSamePtr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;p1,&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p3&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;copyCompatibleType&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;t1,&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;x.Type&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;t1.Size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;t3.Size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ssa.Disjoint&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;p3,&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;t3,&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p2,&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;t2&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;x
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Go 1.27 added the rule loading through a move with &lt;a href=&quot;https://go-review.googlesource.com/c/go/+/748200&quot; title=&quot;cmd/compile: forward small Load through Move to avoid redundant copies&quot;&gt;CL 748200&lt;/a&gt; to fix
&lt;a href=&quot;https://github.com/golang/go/issues/77720&quot; title=&quot;cmd/compile: field access on struct-returning method copies entire struct&quot;&gt;issueÂ #77720&lt;/a&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa-rules codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;t1&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;op1:&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[o1]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p1&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;move:&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[n]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p2&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;src&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;mem&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;o1&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;o1&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;t1.Size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;n&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ssa.IsSamePtr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;p1,&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p2&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ssa.IsVolatile&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;src&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;@move.Block&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;t1&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;op1.Type&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[o1]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;src&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;mem&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;It lacks a variant without an offset:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa-rules codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;t1&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p1&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;move:&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[n]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p2&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;src&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;mem&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p1.Op&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;ssaop.OpOffPtr
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;t1.Size&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;n&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ssa.IsSamePtr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;p1,&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p2&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;amp;&amp;amp;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ssa.IsVolatile&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;src&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nd&quot;&gt;@move.Block&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;t1&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;p1.Type&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[0]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;src&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;mem&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;There is no generic rule to cancel two byte swaps, but the &lt;a href=&quot;https://github.com/golang/go/blob/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/ssa/_gen/AMD64.rules&quot; title=&quot;AMD64.rules&quot;&gt;AMD64 lowering
pass&lt;/a&gt; includes this rule:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa-rules codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;BSWAP(Q|L)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;BSWAP(Q|L)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p&lt;span class=&quot;p&quot;&gt;))&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;p
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;After switching to Go&#39;s development branch and &lt;a href=&quot;https://github.com/vincentbernat/go/commit/netipmap-fix3&quot; title=&quot;cmd/compile/internal/ssa: forward small offset-less Load through Move&quot;&gt;adding the missing
rule&lt;/a&gt;, the generated assembly code is worse than with Go 1.26.8,
even though our additional rule slightly improves the situation at the end:&lt;/p&gt;
&lt;div class=&quot;language-go-assembly codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// AX = input.addr.hi, BX = input.addr.lo, CX = input.z&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; Push the stack (16 bytes):&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;;    0(SP) a16 [16]byte&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;PUSHQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BP&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BP&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SUBQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;

&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;CMPQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·z4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;       &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; check &quot;z&quot; if this is an IPv4 address&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;JNE&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; if not, stop here&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;; The four forwarded bytes: the low half of input.addr.lo is taken apart and&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; put back together in registers&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; DX = input.addr.lo&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SHRQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; BX = input.addr.lo &amp;gt;&amp;gt; 24&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SI&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; SI = input.addr.lo&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SHRQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; DX = input.addr.lo &amp;gt;&amp;gt; 16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SI&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DI&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; DI = input.addr.lo, kept for the pack&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SHRQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SI&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; SI = input.addr.lo &amp;gt;&amp;gt; 8&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBLZX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;DIB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;R8&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; R8 = byte(input.addr.lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBLZX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;SIB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SI&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; SI = byte(input.addr.lo &amp;gt;&amp;gt; 8)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SHLQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SI&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ORQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;R8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SI&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; SI = two low bytes of input.addr.lo&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBLZX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DL&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; DX = byte(input.addr.lo &amp;gt;&amp;gt; 16)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SHLQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ORQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SI&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBLZX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BL&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; BX = byte(input.addr.lo &amp;gt;&amp;gt; 24)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SHLQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BX&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ORQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; BX = input.addr.lo &amp;amp; 0xffffffff&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;; Pack: byteorder.BEPutUint64(a16[:8], input.addr.hi)&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;;       byteorder.BEPutUint64(a16[8:], input.addr.lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBEQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;AX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·a16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBEQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DI&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·a16&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;; The four other bytes of input.addr.lo, read one by one from a16&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBLZX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·a16&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[11]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SHLQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;32&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ORQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BX&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBLZX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·a16&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[10]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SHLQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ORQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BX&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBLZX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·a16&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[9]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SHLQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;48&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ORQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BX&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBLZX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·a16&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;SHLQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;$&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;56&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;

&lt;span class=&quot;c1&quot;&gt;; output.z = netip.z6noz&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·z6noz&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; output.addr.hi = byteorder.BEUint64(a16[:8])&lt;/span&gt;
&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVBEQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·a16&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SP&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;AX&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.lo assembled from the previous steps&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;ORQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;DX&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;BX&lt;/span&gt;

&lt;span class=&quot;nl&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;LEAVEQ&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;RET&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// return value = Addr{hi: AX, lo: BX, z: CX}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The rule loading through a move, added in Go 1.27, introduced this regression.&lt;/p&gt;
&lt;h3 id=&quot;out-of-order&quot;&gt;Out of order&lt;/h3&gt;
&lt;p&gt;Let&#39;s not give up now! In reality, the rewriting rules run before &lt;code&gt;memcombine&lt;/code&gt;,
notably in the &lt;code&gt;late opt&lt;/code&gt; pass. At this point, the inlined versions of
&lt;code&gt;BEPutUint64()&lt;/code&gt; and &lt;code&gt;BEUint64()&lt;/code&gt; still expand to sixteen byte stores and sixteen
byte loads, matching their &lt;a href=&quot;https://pkg.go.dev/internal/byteorder#BEUint64&quot; title=&quot;internal/byteorder.BEUint64 on Go Packages&quot;&gt;source code&lt;/a&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;kd&quot;&gt;func&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;BEUint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;byte&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;_&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;// bounds check hint to compiler; see golang.org/issue/14808&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;16&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;24&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;32&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;40&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;48&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;uint64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;b&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;56&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Let&#39;s follow two bytes of &lt;code&gt;output.addr.lo&lt;/code&gt;: &lt;code&gt;addr[15]&lt;/code&gt; and &lt;code&gt;addr[11]&lt;/code&gt;. Here is
a simplified &lt;abbr title=&quot;Static Single Assignment&quot;&gt;SSA&lt;/abbr&gt; form before &lt;code&gt;late opt&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v273&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Trunc64to8&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v490&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; byte(input.addr.lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v226&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Trunc64to8&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v225&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; byte(input.addr.lo &amp;gt;&amp;gt; 32)&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; [â€¦]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v235&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v233&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v226&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v223&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[11] = byte(lo &amp;gt;&amp;gt; 32)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v247&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v245&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v238&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v235&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[12] = â€¦&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v259&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v257&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v250&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v247&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[13] = â€¦&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v271&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v269&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v262&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v259&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[14] = â€¦&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Store&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v280&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v273&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v271&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[15] = byte(lo)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;LocalAddr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*[16]byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{netip.addr}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v2&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Move&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;mem&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;{[16]byte}&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[16]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr = a16&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; [â€¦]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v433&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[15]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr[15]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v435&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v433&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr[15]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v479&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[11]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;addr[11]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v481&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v479&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr[11]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The first rule loads through the move: &lt;code&gt;(Load (OffPtr [o] p) (Move p src mem))
=&amp;gt; (Load (OffPtr [o] src) mem)&lt;/code&gt;. It matches both loads, which now read &lt;code&gt;a16&lt;/code&gt;
with the memory state before the copy:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v600&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[15]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[15]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v435&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v600&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[15]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v601&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[11]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[11]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v481&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v601&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[11]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The second rule shortcuts a load following a store: &lt;code&gt;(Load p (Store p x _)) =&amp;gt;
x&lt;/code&gt;. It matches &lt;code&gt;v435&lt;/code&gt;, as &lt;code&gt;v282&lt;/code&gt; stores &lt;code&gt;a16[15]&lt;/code&gt;. It does not match &lt;code&gt;v481&lt;/code&gt;:
&lt;code&gt;v235&lt;/code&gt; stores &lt;code&gt;a16[11]&lt;/code&gt; four stores earlier in the chain, while the variants of
this rule look through three stores at most.&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;hll&quot;&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v435&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Copy&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v273&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; byte(input.addr.lo)&lt;/span&gt;
&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v601&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;OffPtr&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;*byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[11]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; &amp;amp;a16[11]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v481&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v601&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[11]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The same happens to the other bytes: the rule forwards the four bytes stored
last, &lt;code&gt;a16[12]&lt;/code&gt; to &lt;code&gt;a16[15]&lt;/code&gt;. The twelve other loads now read &lt;code&gt;a16&lt;/code&gt; instead of
&lt;code&gt;addr&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;BEUint64()&lt;/code&gt; becomes a chain of &lt;code&gt;Or64&lt;/code&gt;, each one adding a byte shifted into
place. &lt;code&gt;memcombine&lt;/code&gt; is a &lt;a href=&quot;https://github.com/golang/go/blob/1e963f82914ddfb47820034c5c85205a362ed73f/src/cmd/compile/internal/ssacompile/memcombine.go&quot; title=&quot;memcombine.go&quot;&gt;pass written in Go&lt;/a&gt;, not a set of rewrite
rules. It starts from the last &lt;code&gt;Or64&lt;/code&gt; of the chain and collects up to eight
terms. If each term is a byte load, extended to 64 bits and shifted, and if the
eight loads read consecutive addresses from the same pointer with the same
memory state, it replaces the whole chain with a single 64-bit load and a byte
swap. Otherwise, it tries again with four, then two terms, and from each
intermediate &lt;code&gt;Or64&lt;/code&gt;. Here is the loop checking each term in a simplified version
of &lt;code&gt;combineLoads()&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;int64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;n&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;shift&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;int64&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Op&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;==&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;shiftOp&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;shift&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;peelShift&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Op&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;extOp&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;false&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Args&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Op&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;ssaop&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;OpLoad&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;false&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Args&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;mem&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;false&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;splitPtr&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Args&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;])&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;base&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kc&quot;&gt;false&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;r&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;LoadRecord&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;load&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;offset&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;shift&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;shift&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;For &lt;code&gt;output.addr.hi&lt;/code&gt;, the eight loads read &lt;code&gt;a16&lt;/code&gt; with the same memory state
&lt;code&gt;v282&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v13&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;               &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[0]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v530&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v14&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;               &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[1]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v488&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v504&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[2]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v405&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v537&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[3]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v385&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v397&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[4]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v361&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v373&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[5]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v196&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v63&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;               &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[6]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v432&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;byte&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v315&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;              &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[7]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v319&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ZeroExt8to64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v432&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;         &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; uint64(a16[7])&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v329&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ZeroExt8to64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v196&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;         &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; uint64(a16[6])&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v330&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Lsh64x64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[true]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v329&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v138&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; uint64(a16[6]) &amp;lt;&amp;lt; 8&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v331&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Or64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v319&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v330&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[7] | a16[6] &amp;lt;&amp;lt; 8&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;; [â€¦] same for a16[5] to a16[1]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v401&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ZeroExt8to64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v13&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;          &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; uint64(a16[0])&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v402&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Lsh64x64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;[true]&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v401&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v55&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; uint64(a16[0]) &amp;lt;&amp;lt; 56&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v403&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Or64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v402&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v391&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; | a16[0] &amp;lt;&amp;lt; 56 = output.addr.hi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;code&gt;memcombine&lt;/code&gt; merges them into one load and a swap:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Load&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v22&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v282&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; a16[:8]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v285&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Bswap64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v286&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; output.addr.hi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;For &lt;code&gt;output.addr.lo&lt;/code&gt;, here is the chain &lt;code&gt;memcombine&lt;/code&gt; sees after &lt;code&gt;late opt&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-go-compiler-ssa codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v436&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;ZeroExt8to64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v273&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; addr[15], forwarded&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v448&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Or64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v436&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v447&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; | addr[14] &amp;lt;&amp;lt; 8, forwarded&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v460&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Or64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v459&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v448&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; | addr[13] &amp;lt;&amp;lt; 16, forwarded&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v472&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Or64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v471&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v460&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; | addr[12] &amp;lt;&amp;lt; 24, forwarded&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v484&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Or64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v483&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v472&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; | a16[11] &amp;lt;&amp;lt; 32, loaded&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v496&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Or64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v495&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v484&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; | a16[10] &amp;lt;&amp;lt; 40, loaded&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v508&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Or64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v507&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v496&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; | a16[9] &amp;lt;&amp;lt; 48, loaded&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v520&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;Or64&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;&amp;lt;uint64&amp;gt;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v519&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;v508&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; | a16[8] &amp;lt;&amp;lt; 56, loaded&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;From &lt;code&gt;v520&lt;/code&gt;, four of the eight terms are forwarded bytes, not loads from memory,
and &lt;code&gt;memcombine&lt;/code&gt; can&#39;t combine them. It doesn&#39;t merge the four remaining loads
either, as they sit on top of the forwarded bytes.&lt;/p&gt;
&lt;h3 id=&quot;back-in-order&quot;&gt;Back in order&lt;/h3&gt;
&lt;p&gt;In summary, the rewriting rules run too early to be effective. A quick
workaround exists: run an earlier round of &lt;code&gt;memcombine&lt;/code&gt; before &lt;code&gt;late opt&lt;/code&gt;. After
&lt;a href=&quot;https://github.com/vincentbernat/go/commit/netipmap-fix4&quot; title=&quot;cmd/compile/internal/ssacompile: run memcombine before late opt&quot;&gt;this change&lt;/a&gt;, the generated code for the helper is back to the
shortest possible version:&lt;/p&gt;
&lt;div class=&quot;language-go-assembly codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;c1&quot;&gt;// AX = input.addr.hi, BX = input.addr.lo, CX = input.z&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;CMPQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·z4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; check &quot;z&quot; if this is an IPv4 address&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;JNE&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;     &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; if not, stop here&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;MOVQ&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;net/netipÂ·z6noz&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;SB&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;),&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;CX&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;; CX = netip.z6noz&lt;/span&gt;
&lt;span class=&quot;nl&quot;&gt;end&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;RET&lt;/span&gt;
&lt;span class=&quot;c1&quot;&gt;// return value = Addr{hi: AX, lo: BX, z: CX}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;And the benchmark confirms it! âœŒï¸�&lt;/p&gt;
&lt;div class=&quot;language-text-only codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;goos: linux
goarch: amd64
pkg: github.com/vincentbernat/go-netip-addrto6
cpu: AMD Ryzen 5 5600X 6-Core Processor
                   â”‚   Go 1.26.8    â”‚             Our branch              â”‚
                   â”‚     sec/op     â”‚    sec/op     vs base               â”‚
AddrTo6/safe          6.5470n Â±  0%   0.8944n Â± 4%  -86.34% (p=0.002 n=6)
AddrTo6/unsafe        0.9071n Â±  3%   0.8682n Â± 1%   -4.28% (p=0.002 n=6)
AddrTo6/builtin       0.8871n Â±  2%   0.8785n Â± 1%        ~ (p=0.310 n=6)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1 id=&quot;next-steps&quot;&gt;Next steps&lt;/h1&gt;
&lt;p&gt;I think Go maintainers would reject this change because of the additional
&lt;code&gt;memcombine&lt;/code&gt; pass. Instead, I plan to publish this blog post and bring up the
subject again as a follow-up to &lt;a href=&quot;https://github.com/golang/go/issues/54365&quot; title=&quot;proposal: net/netip: add netip.Addr.Map Â· Issue #54365 Â· golang/go&quot;&gt;issue #54365&lt;/a&gt;. Either the sheer complexity and
the Go 1.27 regression convince the maintainers that adding a &lt;code&gt;To6()&lt;/code&gt; method is
simpler and more efficient, or they advise me on how to move forward. Either
way, digging into this subject taught me a lot about the Go compiler! âš™ï¸�&lt;/p&gt;
&lt;div class=&quot;admonition&quot;&gt;
&lt;p class=&quot;admonition-title&quot;&gt;Update (2026-10)&lt;/p&gt;
&lt;p&gt;I opened &lt;a href=&quot;https://github.com/golang/go/issues/81994&quot; title=&quot;proposal: net/netip: add netip.Addr.To6() Â· Issue #81994 Â· golang/go&quot;&gt;issue #81994&lt;/a&gt; to propose &lt;code&gt;Addr.To6()&lt;/code&gt;. Give it aÂ ğŸ‘� if you want
it in Go!&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;footnote&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:why&quot;&gt;
&lt;p&gt;IPv4-mapped IPv6 addresses let you handle only IPv6 addresses in your code
and keep conversions at a few well-defined boundaries. I use them in
&lt;a href=&quot;https://github.com/akvorado/akvorado&quot; title=&quot;Akvorado: flow collector, enricher and visualizer&quot;&gt;Akvorado&lt;/a&gt;.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:why&quot; title=&quot;Jump back to footnote 1 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:equiv&quot;&gt;
&lt;p&gt;This is not strictly equivalent. The zero value becomes &lt;code&gt;::&lt;/code&gt; while it would
make more sense to leave it untouched.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:equiv&quot; title=&quot;Jump back to footnote 2 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:inconvenient&quot;&gt;
&lt;p&gt;I suppose Go maintainers keep it inconvenient on purpose: they don&#39;t want
random packages to patch the standard library or other packages.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:inconvenient&quot; title=&quot;Jump back to footnote 3 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:tests&quot;&gt;
&lt;p&gt;To avoid catastrophic bugs when &lt;code&gt;netip.Addr&lt;/code&gt;&#39;s layout changes, you must &lt;a href=&quot;https://github.com/vincentbernat/go-netip-addrto6/blob/main/ipv6_unsafe_test.go&quot; title=&quot;Tests for unsafe AddrTo6() function&quot;&gt;add
tests&lt;/a&gt; to detect it. This is more dangerous if you put this code in a
package. Either ask users to run the tests themselves, or detect the change
at run time and panic. Hiding this optimization behind a build tag would
make users aware of this potential trap.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:tests&quot; title=&quot;Jump back to footnote 4 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:dis&quot;&gt;
&lt;p&gt;I produced the assembly code with &lt;code&gt;GOTOOLCHAIN=go1.26.8 GOAMD64=v3 ./go-asm
&#39;\.asm&#39;&lt;/code&gt; from the &lt;a href=&quot;https://github.com/vincentbernat/go-netip-addrto6&quot;&gt;companion repository&lt;/a&gt;, then edited it a bit to keep this
article from turning into an endless rabbit hole. Due to an unfortunate
sequence of events, we switch between versions: Go 1.27 introduced a
regression that blurs the point of this article.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:dis&quot; title=&quot;Jump back to footnote 5 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:inline&quot;&gt;
&lt;p&gt;The function is short enough for the compiler to inline it, so the assembly
code may vary depending on the surrounding code.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:inline&quot; title=&quot;Jump back to footnote 6 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:amd64v3&quot;&gt;
&lt;p&gt;&lt;code&gt;MOVBEQ&lt;/code&gt; requires &lt;code&gt;GOAMD64=v3&lt;/code&gt;, matching the &lt;a href=&quot;https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels&quot; title=&quot;X86-64 on Wikipedia&quot;&gt;x86-64-v3
microarchitecture&lt;/a&gt; from 2013. Otherwise, the compiler translates
&lt;code&gt;BEPutUint64()&lt;/code&gt; to &lt;code&gt;BSWAPQ&lt;/code&gt;+&lt;code&gt;MOVQ&lt;/code&gt; and &lt;code&gt;BEUint64()&lt;/code&gt; to &lt;code&gt;MOVQ&lt;/code&gt;+&lt;code&gt;BSWAPQ&lt;/code&gt;.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:amd64v3&quot; title=&quot;Jump back to footnote 7 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:statement&quot;&gt;
&lt;p&gt;When the call is used as a statement, a struct literal alone is invalid. The
patch then turns it into &lt;code&gt;_ = netip.Addr{â€¦}&lt;/code&gt;.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:statement&quot; title=&quot;Jump back to footnote 8 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:html&quot;&gt;
&lt;p&gt;The compiler can also write an HTML file with the result of each pass:&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;GOSSAFUNC&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;AddrTo6Safe&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;GOTOOLCHAIN&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;go1.26.8&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;GOAMD64&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;v3&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;go&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;build&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-a&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;.
&lt;span class=&quot;go&quot;&gt;dumped SSA for AddrTo6Safe,1 to ./ssa.html&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:html&quot; title=&quot;Jump back to footnote 9 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:lines&quot;&gt;
&lt;p&gt;Source line numbers in parentheses follow value identifiers, but I removed
them from the examples. The &lt;abbr title=&quot;Static Single Assignment&quot;&gt;SSA&lt;/abbr&gt; form also features branches, but we don&#39;t
need them to understand our optimizations.Â &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:lines&quot; title=&quot;Jump back to footnote 10 in the text&quot;&gt;â†©&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-10-04T13:27:25+00:00</dc:date>
	<dc:creator>Vincent Bernat</dc:creator>
</item> 
<item rdf:about="http://www.luffy.cx/en/blog/2026-http-over-ssh.html">
	<title>Vincent Bernat: Self-hosted HTTP tunnels with SSH and nginx</title>
	<link>https://vincent.bernat.ch/en/blog/2026-http-over-ssh</link>
     <content:encoded>&lt;p&gt;A friend wants to proofread your work-in-progress blog post, but its preview
only runs on &lt;code&gt;localhost:8080&lt;/code&gt;. &lt;a href=&quot;https://github.com/anderspitman/awesome-tunneling&quot; title=&quot;awesome-tunneling: a list of tunneling software and services&quot;&gt;Several tools&lt;/a&gt; can help. Some run as a
commercial service, like &lt;a href=&quot;https://ngrok.com/&quot; title=&quot;ngrok&quot;&gt;ngrok&lt;/a&gt; or &lt;a href=&quot;https://developers.cloudflare.com/tunnel/get-started/quick-tunnels/&quot; title=&quot;Quick Tunnels with TryCloudflare&quot;&gt;Cloudflare Quick Tunnels&lt;/a&gt;. Some are
self-hostable but require a specific client, like &lt;a href=&quot;https://github.com/fatedier/frp&quot; title=&quot;frp: a fast reverse proxy&quot;&gt;frp&lt;/a&gt; or &lt;a href=&quot;https://github.com/localtunnel/localtunnel&quot; title=&quot;localtunnel: expose your localhost to the world&quot;&gt;localtunnel&lt;/a&gt;.
Some only require a plain SSH client but rely on a specific SSH server, like
&lt;a href=&quot;https://docs.ssi.sh/&quot; title=&quot;sish: host public web services on localhost&quot;&gt;sish&lt;/a&gt;. Let&#39;s implement a self-hosted solution with only &lt;em&gt;OpenSSH&lt;/em&gt; and
&lt;em&gt;nginx&lt;/em&gt;!&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;ssh&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-R&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;:localhost:8080&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;http-over-ssh
&lt;span class=&quot;go&quot;&gt;Allocated port 41535 for remote forward to localhost:8080&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;https://6J3jK1WmB15c6WmjW_X-Wg--1789928654@p41535.ssh.luffy.cx/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h1 id=&quot;basic-setup&quot;&gt;Basic setup&lt;/h1&gt;
&lt;p&gt;First, we forward connections from a port on a remote server to your local
service:&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;ssh&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-N&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-R&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;0&lt;/span&gt;:localhost:8080&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;web02.luffy.cx
&lt;span class=&quot;go&quot;&gt;Allocated port 41535 for remote forward to localhost:8080&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;When you specify &lt;code&gt;0&lt;/code&gt; as the remote port, the server allocates a free port.
Then, we configure nginx to proxy requests from &lt;code&gt;https://p41535.ssh.luffy.cx&lt;/code&gt; to
&lt;code&gt;http://127.0.0.1:41535&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-nginx-configuration-file codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;listen&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;0.0.0.0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;443&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;ssl&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;listen&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;[::0]:443&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;ssl&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;server_name&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;sr&quot;&gt;^p(?&amp;lt;port&amp;gt;\d\d\d\d\d)\.ssh\.luffy\.cx$;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;proxy_pass&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;http://127.0.0.1:&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$port&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;We also need to add DNS records for &lt;code&gt;*.ssh.luffy.cx&lt;/code&gt; and get a wildcard
certificate through &lt;a href=&quot;https://letsencrypt.org/&quot;&gt;Let&#39;s Encrypt&lt;/a&gt;:&lt;/p&gt;
&lt;div class=&quot;language-zone codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;*.ssh.luffy.cx.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;               &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;CNAME&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;web02.luffy.cx.&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;ssh.luffy.cx.&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;                 &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;CAA&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;issuewild&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;letsencrypt.org&quot;&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;_acme-challenge.ssh.luffy.cx&lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kt&quot;&gt;CNAME&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;l&quot;&gt;ssh.luffy.cx.acme.luffy.cx.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;code&gt;acme.luffy.cx&lt;/code&gt; is a zone hosted on Route 53. I use it for &lt;a href=&quot;https://letsencrypt.org/docs/challenge-types/#dns-01-challenge&quot; title=&quot;DNS-01 challenge&quot;&gt;ACME DNS-01
challenges&lt;/a&gt;, both for wildcard certificates and for domains served by
several web servers. In my case, NixOS &lt;a href=&quot;https://wiki.nixos.org/wiki/ACME&quot; title=&quot;ACME on the NixOS Wiki&quot;&gt;gets the certificates
automatically&lt;/a&gt;.&lt;/p&gt;
&lt;h1 id=&quot;access-control&quot;&gt;Access control&lt;/h1&gt;
&lt;p&gt;The port is the only &quot;secret&quot;&lt;sup id=&quot;fnref:port&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:port&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; keeping the content confidential. Other
forwarding solutions add a random string to the domain name to prevent an
intruder from enumerating the possible values.&lt;/p&gt;
&lt;p&gt;Thanks to &lt;a href=&quot;https://nginx.org/en/docs/http/ngx_http_secure_link_module.html&quot; title=&quot;Module ngx_http_secure_link_module for nginx&quot;&gt;&lt;code&gt;ngx_http_secure_link_module&lt;/code&gt;&lt;/a&gt;, we can secure
this setup a bit. This module computes a hash&lt;sup id=&quot;fnref:md5&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:md5&quot;&gt;2&lt;/a&gt;&lt;/sup&gt; over a set of values,
including a secret, and compares it with the hash from the request. The hash is
base64-encoded, so we cannot put it in the domain name, which is
case-insensitive. Instead, we put it in the URL as a username, along with its
expiration timestamp:&lt;sup id=&quot;fnref:expiration&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:expiration&quot;&gt;3&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-text-only codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;https://6J3jK1WmB15c6WmjW_X-Wg--1789928654@p41535.ssh.luffy.cx/en/blog
        ╰─────────┬──────────╯  ╰───┬────╯  ╰─┬─╯             ╰──┬───╯
                hash             expires    port               path
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The client sends the username to the server with &lt;a href=&quot;https://www.rfc-editor.org/info/rfc7617&quot; title=&quot;RFC 7617: The &#39;Basic&#39; HTTP Authentication Scheme&quot;&gt;HTTP basic
authentication&lt;/a&gt;. This works with most HTTP clients, including &lt;code&gt;curl&lt;/code&gt;.
Nginx exposes the username in the &lt;code&gt;$remote_user&lt;/code&gt; variable. The module expects
the hash and the expiration timestamp separated by a comma. We use a &lt;code&gt;map&lt;/code&gt;
directive to extract the two parts from &lt;code&gt;$remote_user&lt;/code&gt; and join them with a
comma.&lt;sup id=&quot;fnref:comma&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:comma&quot;&gt;4&lt;/a&gt;&lt;/sup&gt; We also give the module the string to hash. It contains the
expiration timestamp, the port, and a secret:&lt;/p&gt;
&lt;div class=&quot;language-nginx-configuration-file codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$remote_user&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$httpssh_link&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;&quot;~^([-_A-Za-z0-9]{22})--([0-9]+)$&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$1,$2&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;c1&quot;&gt;# […]&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;secure_link&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$httpssh_link&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;secure_link_md5&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$secure_link_expires&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$port&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;ZuPerS3cr3!&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The module returns the status of the check in the &lt;code&gt;$secure_link&lt;/code&gt; variable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;empty if the hashes do not match,&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&quot;0&quot;&lt;/code&gt; if they match but the link has expired, or&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&quot;1&quot;&lt;/code&gt; otherwise.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the hash is incorrect or missing, we return a 401 error with a
&lt;code&gt;WWW-Authenticate&lt;/code&gt; header to ask for credentials. If the link has expired, we
return a 410 error. We remove the &lt;code&gt;Authorization&lt;/code&gt; header before forwarding the
request and add a few directives to &lt;a href=&quot;https://nginx.org/en/docs/http/websocket.html&quot; title=&quot;nginx documentation: WebSocket proxying&quot;&gt;proxy WebSocket connections&lt;/a&gt;.
Here is the complete configuration:&lt;sup id=&quot;fnref:security&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:security&quot;&gt;5&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-nginx-configuration-file codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;map&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$remote_user&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$httpssh_link&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;&quot;~^([-_A-Za-z0-9]{22})--([0-9]+)$&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$1,$2&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;server&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;listen&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;n&quot;&gt;0.0.0.0&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;443&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;ssl&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;listen&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;[::0]:443&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;ssl&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;server_name&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;sr&quot;&gt;^p(?&amp;lt;port&amp;gt;\d\d\d\d\d)\.ssh\.luffy\.cx$;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;location&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;secure_link&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$httpssh_link&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;secure_link_md5&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$secure_link_expires&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$port&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;ZuPerS3cr3!&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$secure_link&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;&quot;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;add_header&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;WWW-Authenticate&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&#39;Basic&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;realm=&quot;tunnel&quot;&#39;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;always&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;401&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$secure_link&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;0&quot;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;      &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;410&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;proxy_pass&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;http://127.0.0.1:&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$port&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;proxy_set_header&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;Host&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$host&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;proxy_set_header&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;X-Forwarded-For&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$proxy_add_x_forwarded_for&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;proxy_set_header&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;Authorization&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;proxy_http_version&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;.1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;proxy_set_header&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;Upgrade&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$http_upgrade&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;proxy_set_header&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;Connection&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;upgrade&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;proxy_buffering&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;no&quot;&gt;off&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;kn&quot;&gt;proxy_read_timeout&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;30m&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;I think you are now asking yourself the obvious question: &quot;How should I generate
the hash?&quot; Easy peasy!&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;expires&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$((&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$(&lt;/span&gt;date&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;+%s&lt;span class=&quot;k&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;86400&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;port&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;41535&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;secret&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;ZuPerS3cr3!&#39;&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;printf&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;%s %s %s&#39;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$expires&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$port&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$secret&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;openssl&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;md5&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-binary&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;openssl&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;base64&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;tr&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;+/&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-_&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;tr&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-d&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;6J3jK1WmB15c6WmjW_X-Wg&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Well, I suppose you are now saying: &quot;Vincent, this is not very convenient! I&#39;ll stick
with ngrok if you don&#39;t mind.&quot; Okay, I hear you. Let&#39;s write a helper script.&lt;/p&gt;
&lt;h1 id=&quot;helper-script&quot;&gt;Helper script&lt;/h1&gt;
&lt;p&gt;The main difficulty is finding the ephemeral port that OpenSSH allocates, as it
does not appear in any environment variable.&lt;sup id=&quot;fnref:env&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:env&quot;&gt;6&lt;/a&gt;&lt;/sup&gt; To work around this obstacle,
we look for the ancestor &lt;code&gt;sshd-session&lt;/code&gt; processes:&lt;sup id=&quot;fnref:sshd-session&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:sshd-session&quot;&gt;7&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;pids&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$(&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;pid&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$$&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$pid&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-gt&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;do&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;line&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$(&lt;/span&gt;ps&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-o&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;comm&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;,pid&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;,ppid&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-p&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$pid&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$line&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;pid&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;si&quot;&gt;${&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;line&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;##* &lt;/span&gt;&lt;span class=&quot;si&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;awk&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;$1 == &quot;sshd-session&quot; { printf &quot;pid=%s,\n&quot;, $2 }&#39;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-z&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$pids&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;then&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;not an ssh session&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&amp;gt;&lt;span class=&quot;p&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;exit&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;fi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Then, we get the listening ports associated with these &lt;code&gt;sshd-session&lt;/code&gt;
processes:&lt;sup id=&quot;fnref:sudo&quot;&gt;&lt;a class=&quot;footnote-ref&quot; href=&quot;https://vincent.bernat.ch#fn:sudo&quot;&gt;8&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;ports&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$(&lt;/span&gt;sudo&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-n&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;ss&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--listening&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--numeric&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--tcp&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--processes&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;--no-header&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;grep&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-F&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$pids&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;awk&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;{ print $4 }&#39;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;awk&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-F:&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;{ print $NF }&#39;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;sort&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-un&lt;span class=&quot;k&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-z&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$ports&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;then&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;no forwarded port, use ssh -R 0:localhost:PORT&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&amp;gt;&lt;span class=&quot;p&quot;&gt;&amp;amp;&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;exit&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;fi&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Finally, we display the URLs and keep the session open:&lt;/p&gt;
&lt;div class=&quot;language-bash codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;nv&quot;&gt;lifetime&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;86400&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;secret&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;ZuPerS3cr3!&#39;&lt;/span&gt;
&lt;span class=&quot;nv&quot;&gt;expires&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$((&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$(&lt;/span&gt;date&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;+%s&lt;span class=&quot;k&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;lifetime&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;))&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;port&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$ports&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;k&quot;&gt;do&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;token&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;$(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;printf&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;%s %s %s&#39;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$expires&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$port&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$secret&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;openssl&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;md5&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-binary&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;openssl&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;base64&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;            &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;tr&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;+/&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-_&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;tr&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-d&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;k&quot;&gt;)&lt;/span&gt;
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;https://&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$token&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$expires&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;@p&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;$port&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;.ssh.luffy.cx/&quot;&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt;
sleep&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;infinity
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;I install this script as &lt;code&gt;http-over-ssh&lt;/code&gt; on the server and add this entry to my
&lt;code&gt;~/.ssh/config&lt;/code&gt;:&lt;/p&gt;
&lt;div class=&quot;language-ssh-config codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;Host&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;http-over-ssh
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;Hostname&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;web02.luffy.cx
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;RemoteCommand&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;http-over-ssh
&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;ControlPath&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;none
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;With this solution, I only rely on OpenSSH and nginx, two pieces of software
already running on this server. One short command gives me a self-hosted tunnel
and a URL to share. To try it, grab the &lt;a href=&quot;https://github.com/vincentbernat/nixops-take1/blob/352cb26a581418d7c50f8377f8dc78016565470c/tags/http-over-ssh.sh&quot; title=&quot;nixops-take1/tags/http-over-ssh.sh&quot;&gt;complete helper script&lt;/a&gt;, which
includes a few minor improvements. If you run NixOS, as any person of taste
would, have a look at my &lt;a href=&quot;https://github.com/vincentbernat/nixops-take1/blob/352cb26a581418d7c50f8377f8dc78016565470c/tags/http-over-ssh.nix&quot; title=&quot;nixops-take1/tags/http-over-ssh.nix&quot;&gt;&lt;code&gt;http-over-ssh.nix&lt;/code&gt;&lt;/a&gt; instead. ❄️&lt;/p&gt;
&lt;div class=&quot;admonition&quot;&gt;
&lt;p class=&quot;admonition-title&quot;&gt;Update (2026-10)&lt;/p&gt;
&lt;p&gt;This post was widely discussed on &lt;a href=&quot;https://news.ycombinator.com/item?id=49958569&quot;&gt;Hacker News&lt;/a&gt; and &lt;a href=&quot;https://lobste.rs/s/jba52r/self_hosted_http_tunnels_with_ssh_nginx&quot;&gt;Lobsters&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;admonition&quot;&gt;
&lt;p class=&quot;admonition-title&quot;&gt;Update (2026-10)&lt;/p&gt;
&lt;p&gt;I have since switched to Caddy, which does not include a module to check the
validity of a URL. Instead, Caddy queries a &lt;a href=&quot;https://github.com/vincentbernat/nixops-take1/blob/master/packages/http-over-ssh-auth/main.go&quot; title=&quot;nixops-take1/packages/http-over-ssh-auth/main.go at master&quot;&gt;local HTTP service written in
Go&lt;/a&gt; through the &lt;code&gt;forward_auth&lt;/code&gt; directive. As a bonus, this lets me put
the token in the domain name.&lt;/p&gt;
&lt;/div&gt;
&lt;div class=&quot;footnote&quot;&gt;
&lt;hr /&gt;
&lt;ol&gt;
&lt;li id=&quot;fn:port&quot;&gt;
&lt;p&gt;Since the kernel allocates it from the local port range, its entropy is low.
Moreover, on Linux, we lose one more bit because the kernel &lt;a href=&quot;https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/ipv4/inet_connection_sock.c?h=v7.2#n349&quot; title=&quot;net/ipv4/inet_connection_sock.c&quot;&gt;favors odd
ports&lt;/a&gt; when it picks a random free port.&lt;/p&gt;
&lt;div class=&quot;language-bash-session codehilite&quot;&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class=&quot;gp&quot;&gt;$ &lt;/span&gt;sysctl&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;-n&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;net.ipv4.ip_local_port_range&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;se&quot;&gt;\&lt;/span&gt;
&lt;span class=&quot;gp&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span class=&quot;w&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;awk&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&#39;{print $1&quot;—&quot;$2&quot; ≈ &quot;log($2-$1+1)/log(2)&quot; bits&quot;}&#39;&lt;/span&gt;
&lt;span class=&quot;go&quot;&gt;32768—60999 ≈ 14.785 bits&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;&lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:port&quot; title=&quot;Jump back to footnote 1 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:md5&quot;&gt;
&lt;p&gt;The module relies on MD5. Its security is weak but good enough for this
use. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:md5&quot; title=&quot;Jump back to footnote 2 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:expiration&quot;&gt;
&lt;p&gt;We need an expiration date because a later session could reuse the port,
and we have no way to detect this case. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:expiration&quot; title=&quot;Jump back to footnote 3 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:comma&quot;&gt;
&lt;p&gt;The username could use a comma directly instead of a double dash. But some
applications do not recognize the URL correctly, making it harder to share. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:comma&quot; title=&quot;Jump back to footnote 4 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:security&quot;&gt;
&lt;p&gt;This configuration exposes any TCP port listening on &lt;code&gt;127.0.0.1&lt;/code&gt; or
&lt;code&gt;0.0.0.0&lt;/code&gt; to anyone with the secret, bypassing most firewall rules. You
could strengthen it by limiting the &lt;code&gt;server_name&lt;/code&gt; regex to the ephemeral
port range. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:security&quot; title=&quot;Jump back to footnote 5 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:env&quot;&gt;
&lt;p&gt;One SSH session can contain several tunnels, and the client can add or
remove them at any time. This is unlike tun device forwarding (&lt;code&gt;ssh -w&lt;/code&gt;),
which gets its own &lt;code&gt;SSH_TUNNEL&lt;/code&gt; environment variable. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:env&quot; title=&quot;Jump back to footnote 6 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:sshd-session&quot;&gt;
&lt;p&gt;Since OpenSSH 9.8, &lt;code&gt;sshd-session&lt;/code&gt; is the name of the helper handling the
session. With older versions, look for &lt;code&gt;sshd&lt;/code&gt; instead. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:sshd-session&quot; title=&quot;Jump back to footnote 7 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id=&quot;fn:sudo&quot;&gt;
&lt;p&gt;We need &lt;code&gt;sudo&lt;/code&gt; because the &lt;code&gt;sshd-session&lt;/code&gt; process dropped its privileges.
The kernel then marks it as not dumpable, and its &lt;a href=&quot;https://manpages.debian.org/proc_pid.5.html&quot; title=&quot;Manual page for proc_pid(5)&quot;&gt;&lt;code&gt;/proc/PID/fd&lt;/code&gt; directory
belongs to root&lt;/a&gt;. Without access to this directory, &lt;code&gt;ss&lt;/code&gt; cannot
find which process owns a socket. &lt;a class=&quot;footnote-backref&quot; href=&quot;https://vincent.bernat.ch#fnref:sudo&quot; title=&quot;Jump back to footnote 8 in the text&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</content:encoded> 
	<dc:date>2026-10-03T07:23:12+00:00</dc:date>
	<dc:creator>Vincent Bernat</dc:creator>
</item> 
<item rdf:about="https://www.decadent.org.uk/ben/blog/2026/10/02/foss-activity-in-september-2026">
	<title>Ben Hutchings: FOSS activity in September 2026</title>
	<link>https://www.decadent.org.uk/ben/blog/2026/10/02/foss-activity-in-september-2026.html</link>
     <content:encoded>&lt;ul&gt;
  &lt;li&gt;Debian packages:
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/firmware-nonfree&quot;&gt;firmware-nonfree&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/src:firmware-nonfree&quot;&gt;Bugs&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;closed &lt;a href=&quot;https://bugs.debian.org/1148284&quot;&gt;#1148284: firmware-amd-graphics: AMD AV1 hardware decoding produces severe video artifacts with firmware 20260810-1&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;opened and merged &lt;a href=&quot;https://salsa.debian.org/kernel-team/firmware-nonfree/-/merge_requests/154&quot;&gt;!154: Update to 20260916; fix some license information&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/firmware-nonfree/news/&quot;&gt;Uploads&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;uploaded version 20260810-1~bpo13+1 to trixie-backports&lt;/li&gt;
              &lt;li&gt;uploaded version 20260916-1 to unstable&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/initramfs-tools&quot;&gt;initramfs-tools&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;closed &lt;a href=&quot;https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/202&quot;&gt;!202: mkinitramfs: fix path to kernel config in /lib/modules&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/kernel-team&quot;&gt;kernel-team&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;merged &lt;a href=&quot;https://salsa.debian.org/kernel-team/kernel-team/-/merge_requests/14&quot;&gt;!14: find-recent-urgent: Sort bugs from linux first&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;opened &lt;a href=&quot;https://salsa.debian.org/kernel-team/kernel-team/-/merge_requests/15&quot;&gt;!15: Add form responses for common problems with bug reports&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux&quot;&gt;linux&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/src:linux&quot;&gt;Bugs&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;closed &lt;a href=&quot;https://bugs.debian.org/1146373&quot;&gt;#1146373: linux-libc-dev: sbrk(2) allocates more than memory + swap space&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;closed &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux/-/merge_requests/2010&quot;&gt;!2010: [x86] Backport security fixes for KVM&lt;/a&gt; (LTS)&lt;/li&gt;
              &lt;li&gt;merged &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux/-/merge_requests/2083&quot;&gt;!2083: linux-image: Bump Pre-Depends version on linux-base (&amp;gt;= 4.17~)&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;reviewed and merged &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux/-/merge_requests/2095&quot;&gt;!2095: 6.1 stable updates&lt;/a&gt; (LTS)&lt;/li&gt;
              &lt;li&gt;merged &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux/-/merge_requests/2108&quot;&gt;!2108: [alpha] Reenable CONFIG_COMPACTION&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;merged &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux/-/merge_requests/2109&quot;&gt;!2109: Enable BMI323 support as a module&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;merged &lt;a href=&quot;https://salsa.debian.org/kernel-team/linux/-/merge_requests/2110&quot;&gt;!2110: riscv64 config update for linux 7.3&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux/news/&quot;&gt;Uploads&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;uploaded version 7.1.13-1~bpo13+1 to trixie-backports&lt;/li&gt;
              &lt;li&gt;uploaded version 7.2.6-1~bpo13+1 to trixie-backports&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux-6.1&quot;&gt;linux-6.1&lt;/a&gt; (LTS):
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://bugs.debian.org/src:linux-6.1&quot;&gt;Bugs&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;closed &lt;a href=&quot;https://bugs.debian.org/1117674&quot;&gt;#1117674: Please enable udebs for the 6.1 backport&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux-6.12&quot;&gt;linux-6.12&lt;/a&gt; (LTS):
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux-6.12/news/&quot;&gt;Uploads&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;uploaded version 6.12.107-1~deb12u1 to bookworm-security&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
          &lt;li&gt;merged changes from trixieâ€™s 6.12.111-1&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux-base&quot;&gt;linux-base&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/linux-base/news/&quot;&gt;Uploads&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;uploaded version 4.17~bpo13+1 to trixie-backports&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/nfs-utils&quot;&gt;nfs-utils&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;Merge requests:
            &lt;ul&gt;
              &lt;li&gt;reviewed &lt;a href=&quot;https://salsa.debian.org/kernel-team/nfs-utils/-/merge_requests/37&quot;&gt;!37: Install and use sysusers.d/tmpfiles.d config files&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/wireless-regdb&quot;&gt;wireless-regdb&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/wireless-regdb/news/&quot;&gt;Uploads&lt;/a&gt;:
            &lt;ul&gt;
              &lt;li&gt;uploaded version 2026.09.03-1 to unstable&lt;/li&gt;
            &lt;/ul&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Mailing lists:
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-kernel/&quot;&gt;debian-kernel&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;posted &lt;a href=&quot;https://lists.debian.org/9c807a025be2c54c60792124b0ef4210feda5aeb.camel@decadent.org.uk&quot;&gt;Agenda items for kernel-team meeting on 2026-09-30&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;replied to &lt;a href=&quot;https://lists.debian.org/9becdbad09e5c8180d83cab692313ae1b445e9b6.camel@decadent.org.uk&quot;&gt;Meta packages for modules&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;replied to &lt;a href=&quot;https://lists.debian.org/9cf5c87217aac57405690daa34660786a33b0f8c.camel@decadent.org.uk&quot;&gt;Updating linux-6.12 (bookworm-security) to 6.12.107&lt;/a&gt; (LTS)&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;https://lists.debian.org/debian-lts-announce/&quot;&gt;debian-lts-announce&lt;/a&gt;:
        &lt;ul&gt;
          &lt;li&gt;posted &lt;a href=&quot;https://lists.debian.org/aq70MTniNMFjPuqA@decadent.org.uk&quot;&gt;[SECURITY] [DLA 4788-1] linux-6.12 security update&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;</content:encoded> 
	<dc:date>2026-10-02T14:34:15+00:00</dc:date>
	<dc:creator>Ben Hutchings</dc:creator>
</item> 
<item rdf:about="https://danielpocock.com/en/nigel-farage-reform-uk-admits-missing-legal-documents">
	<title>Daniel Pocock: Reform UK, Nigel Farageâ€™s party/company, admits missing [redacted]</title>
	<link>https://danielpocock.com/en/nigel-farage-reform-uk-admits-missing-legal-documents/</link>
     <content:encoded>&lt;p&gt;In my other blog today, I explored how the other
&lt;a href=&quot;https://danielpocock.com/en/creditors-beware-vms-enterprises-brexit-party-reform-uk/&quot;&gt;
Reform UK Party Limited party/company was previously subject to
a judgment and insolvency proceedings to try and extract payment&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Very few companies are ever listed in the official Gazette.&lt;/p&gt;

&lt;p&gt;After that painful lesson, as they progress towards being in a position
to run the UK Government, wouldn&#39;t you expect them to improve their
procedures and run their party headquarters competently?&lt;/p&gt;

&lt;p&gt;When
&lt;a href=&quot;https://danielpocock.com/en/people/sarah-cooper-lesadd/&quot;&gt;
Sarah Cooper-Lesadd&lt;/a&gt; recently resigned and defected from
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt;, she
&lt;a href=&quot;https://www.bbc.com/audio/play/p0p9xklk&quot;&gt;told&lt;/a&gt; the
&lt;a href=&quot;https://danielpocock.com/en/category/bbc/&quot;&gt;
BBC&lt;/a&gt; that
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; is chaotic.&lt;/p&gt;

&lt;p&gt;In the
&lt;a href=&quot;https://danielpocock.com/en/creditors-beware-vms-enterprises-brexit-party-reform-uk/&quot;&gt;
Scotsman&#39;s report about the VMS Enterprises vs Brexit Party dispute&lt;/a&gt;, the party
was described as &quot;beyond chaotic&quot;.  They can&#39;t seem to learn how to
tie their shoelaces but they want to run the
&lt;a href=&quot;https://danielpocock.com/en/category/uk/&quot;&gt;
United Kingdom&lt;/a&gt;.  If
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; does ever become Prime Minister, I hope his party remembers
to pass on the messages when
&lt;a href=&quot;https://danielpocock.com/en/category/argentina/&quot;&gt;
Argentina&lt;/a&gt; makes their next attempt to take the Falkland Islands.&lt;/p&gt;

&lt;img alt=&quot;Sarah Cooper-Lesadd&quot; src=&quot;https://danielpocock.com/assets/people/sarah-cooper-lesadd/sarah-cooper-lesadd.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;It looks like
&lt;a href=&quot;https://danielpocock.com/en/people/sarah-cooper-lesadd/&quot;&gt;
Sarah Cooper-Lesadd&lt;/a&gt;
is right.  They admit despite having one of the most serious legal
documents, a [redacted], served on their party headquarters,
they have no idea where it went:&lt;/p&gt;

&lt;img alt=&quot;Tom Waterhouse, General Secretary, Reform UK&quot; src=&quot;https://danielpocock.com/assets/reform-uk/missing-petition.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Fortunately, the process server provide video evidence so I can prove it
was served correctly and the incompetence is not on my side.&lt;/p&gt;

&lt;p&gt;In fact, the case only reached this point because of a litany of errors on
the part of
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; themselves.  Errors they should never have made if they learnt
the lesson from
&lt;a href=&quot;https://danielpocock.com/en/creditors-beware-vms-enterprises-brexit-party-reform-uk/&quot;&gt;
the somebody who brought their party into insolvency proceedings in 2022&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Look at the cost.  Their lawyers,
&lt;a href=&quot;https://danielpocock.com/en/category/aston-bond/&quot;&gt;
Aston Bond&lt;/a&gt;, have invoiced over £25,000 before the first hearing.
Most of that is for investigating what went wrong inside their own
organisation and how the dispute was
&lt;a href=&quot;https://danielpocock.com/en/winding-up-petition-leaked-before-service-reform-uk-party-limited/&quot;&gt;
leaked by the MouseInTheCourt&lt;/a&gt; before the [redacted] ever arrived on
the doorstep of party HQ.&lt;/p&gt;

&lt;img alt=&quot;Aston Bond, invoice, Nigel Farage, Reform UK&quot; src=&quot;https://danielpocock.com/assets/aston-bond/20260929-costs-page-1.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;img alt=&quot;Aston Bond, invoice, Nigel Farage, Reform UK&quot; src=&quot;https://danielpocock.com/assets/aston-bond/20260929-costs-page-2.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;img alt=&quot;Aston Bond, invoice, Nigel Farage, Reform UK&quot; src=&quot;https://danielpocock.com/assets/aston-bond/20260929-costs-page-3.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;img alt=&quot;Aston Bond, invoice, Nigel Farage, Reform UK&quot; src=&quot;https://danielpocock.com/assets/aston-bond/20260929-costs-page-4.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;img alt=&quot;Aston Bond, invoice, Nigel Farage, Reform UK&quot; src=&quot;https://danielpocock.com/assets/aston-bond/20260929-costs-page-5.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Why is
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; so so afraid of a candidate who only got sixteen votes?&lt;/p&gt;

&lt;p&gt;Read more about the
&lt;a href=&quot;https://danielpocock.com/en/category/winding-up-reform-uk/&quot;&gt;
various judgments in the history of Reform UK Party Limited&lt;/a&gt;.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-01T11:00:00+00:00</dc:date>
	<dc:creator>Daniel Pocock</dc:creator>
</item> 
<item rdf:about="https://danielpocock.com/en/creditors-beware-vms-enterprises-brexit-party-reform-uk">
	<title>Daniel Pocock: Creditors beware: VMS Enterprises Ltd vs Brexit Party (Reform UK Party Ltd)</title>
	<link>https://danielpocock.com/en/creditors-beware-vms-enterprises-brexit-party-reform-uk/</link>
     <content:encoded>&lt;p&gt;As
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; tries to [redacted], they have complained
to the court that [redacted] other failed candidates,
Reform UK defectors, independent contractors and small business owners
&lt;a href=&quot;https://danielpocock.com/en/supporters-winding-up-process-invited-reform-uk-party/&quot;&gt;
how to [redacted]&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If they block more people [redacted]&lt;/p&gt;

&lt;p&gt;It is not my intention to publish the forms unless the conduct and
behaviour of these people forces me to do so.&lt;/p&gt;

&lt;h3&gt;Judgment: VMS Enterprises Ltd vs The Brexit Party Ltd ([2021] SC GLA 49)&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;The Brexit Party Ltd&lt;/em&gt; became
&lt;em&gt;Reform UK Party Ltd&lt;/em&gt;, company number 11694875.  This
subsequently got merged into &lt;em&gt;Reform 2025 Ltd&lt;/em&gt; to become a
different &lt;em&gt;Reform UK Party Limited&lt;/em&gt; company no. 16260766.  An
inconvenient consequence of this name change and merger is that people
searching for judgments against the new company number 16260766 don&#39;t
see the history of the old company name and company number.&lt;/p&gt;

&lt;p&gt;The full judgment is available here for download as an Acrobat document:&lt;/p&gt;

&lt;a href=&quot;https://danielpocock.com/assets/reform-uk/2021scgla49-vms-enterprises-ltd-against-the-brexit-party-ltd.pdf&quot;&gt;
&lt;img alt=&quot;VMS Enterprises Ltd vs The Brexit Party Ltd ([2021] SC GLA 49), 11694875, 16260766, CR-2022-003973&quot; src=&quot;https://danielpocock.com/assets/reform-uk/2021scgla49-vms-enterprises-ltd-against-the-brexit-party-ltd-cover.jpg&quot; width=&quot;100%&quot; /&gt;&lt;/a&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://danielpocock.com/en/category/vms-enterprises-ltd/&quot;&gt;
VMS Enterprises Ltd&lt;/a&gt; won the case but it took them over a year to
get paid after the judgment.
&lt;a href=&quot;https://find-and-update.company-information.service.gov.uk/company/SC476412&quot;&gt;
The records about VMS Enterprises Ltd (SC476412) at Companies House show us they
are no longer active&lt;/a&gt;.  It looks like beating
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Brexit Party / Reform UK&lt;/a&gt; in court was only a phyrric victory.&lt;/p&gt;

&lt;p&gt;Not only was there a judgment ([2021] SC GLA 49), there were also some
scholarly research articles published about the dispute:&lt;/p&gt;

&lt;img alt=&quot;Reform UK, Nigel Farage, creditors, [2021] SC GLA 49&quot; src=&quot;https://danielpocock.com/assets/reform-uk/vms-brexit-research-article.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;On 10 September 2021, Scottish Legal News published a detailed summary
&lt;a href=&quot;https://www.scottishlegal.com/articles/glasgow-sheriff-orders-brexit-party-to-pay-22k-in-unpaid-invoices-to-advertising-firm&quot;&gt;
&quot;Glasgow sheriff orders Brexit Party to pay £22k in unpaid invoices to advertising firm&quot;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;On 15 November 2021, the case appeared again in
&lt;a href=&quot;https://www.lawscot.org.uk/members/journal/issues/vol-66-issue-11/civil-court-case-management-review/&quot;&gt;
a Law Society of Scotland article about case management review&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Despite the Sheriff making a judgment against the Reform people in July 2021,
they still didn&#39;t pay the bill.  On 19 July 2022, The Scotsman reported
&lt;a href=&quot;https://web.archive.org/web/20220719143728/https://www.scotsman.com/news/politics/reform-uk-face-winding-up-petition-over-ps22000-debt-owed-to-scottish-firm-3774290&quot;&gt;
&quot;Reform UK face winding up petition over £22,000 debt owed to Scottish firm&quot;&lt;/a&gt;.
&lt;/p&gt;

&lt;p&gt;Quoting the article:&lt;/p&gt;

&lt;blockquote&gt;&lt;em&gt;
The political party, formerly led by Nigel Farage as the Brexit Party during the 2019 general election, faces a hearing in the High Court in London as early as September. Victor Shields, director of VMS Enterprises, was forced to take the party – since rebranded and led by Richard Tice – to court over the bill from the 2019 general election. Despite Glasgow Sheriff Court agreeing the party should pay up, it has consistently refused to answer letters or pay the sum owed to the businessman, forcing him to take further legal action in England. It is understood a winding up petition was served on the political party last week, with a hearing set for September 7 or soon thereafter. Reform UK has consistently rejected the claim, now worth more than £26,000 after interest and before court expenses are taken into account. A winding up order, if granted by the court, would see the party face liquidation proceedings to pay the outstanding amount and could include an investigation into director conduct. The initial Scottish court case arose after a dispute between the party and VMS Enterprises around payment for election billboards in London during the general election campaign. The court stated the party was liable for the bill for advertising services after some invoices were paid by Brexit Party staff and others were not questioned. Several invoices had gone unpaid amid claims a volunteer did not have the authority to charge the party for the billboards. However, the court stated the failure to question the payment of invoices incurred by candidates meant the party was liable for the full costs. Speaking to The Scotsman last year, Mr Shields attacked Reform UK’s “hypocrisy” in failing to pay. He said: “I was quite happy to keep quiet after the judgment because I assumed they would respect the Scottish courts and duly pay us. &quot;They don&#39;t care. They feel they are above the law. &quot;Richard Tice is positioning himself to the right of Boris [Johnson] and trying to capture the Conservative voters, Scottish voters too and here we are being forced to go to English courts, for me being forced to spend further money, to try and recover a debt that is legally due to us.&quot; The court case heard witnesses describe the organisation of the Brexit Party, then led by former UKIP leader Nigel Farage, as &quot;shambolic&quot; by a party official as it struggled to cope with its popularity and decision to pull hundreds of candidates from the ballot paper ahead of polling day. Witnesses told the court the party’s organisational structure &quot;visibly started to fall apart&quot;, was &quot;very unprofessional&quot; and &quot;beyond chaotic&quot; ahead of the 2019 election. Reform UK’s latest accounts state that in 2020 it received nearly £3 million in donations, with a further £17m in 2019. Reform UK has been contacted for comment by The Scotsman.
&lt;/em&gt;&lt;/blockquote&gt;

&lt;p&gt;Eighteen months after the judgment, almost two years after the judicial procedure
began, in December 2022,
&lt;a href=&quot;https://danielpocock.com/en/category/vms-enterprises-ltd/&quot;&gt;
VMS Enterprises Ltd&lt;/a&gt; used the High Court insolvency procedure to publish
an insolvency notice for &lt;em&gt;Reform UK Party Limited&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;As a consequence, a listing was placed in the official Gazette with their
old company number 11694875 and the High Court case number CR-2022-003973.&lt;/p&gt;

&lt;h3&gt;Diagram demonstrating evolution of the Reform UK companies&lt;/h3&gt;

&lt;p&gt;Searching for information about the names and company numbers is tedious
and time consuming.  I created a colour-coded diagram so people can see and
understand the relationship between the companies in the history of
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; at a glance.&lt;/p&gt;

&lt;p&gt;Here is what you see if you
&lt;a href=&quot;https://find-and-update.company-information.service.gov.uk/search?q=Reform+UK+Party&quot;&gt;
search for Reform UK at Companies House&lt;/a&gt;.  Which Reform UK is which?&lt;/p&gt;

&lt;img alt=&quot;Reform UK, Nigel Farage, Brexit Party, 11694875, 16260766&quot; src=&quot;https://danielpocock.com/assets/reform-uk/companies-house-search-reform-uk.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Looking through the filing history of each company, you can see many minor
changes, including some name changes.  I put the filing history for both
companies side-by-side:&lt;/p&gt;

&lt;img alt=&quot;Reform UK, Nigel Farage, Brexit Party, 11694875, 16260766&quot; src=&quot;https://danielpocock.com/assets/reform-uk/filing-history-side-by-side.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Drilling down on the name changes, it is fascinating to put the two
forms side-by-side like this:&lt;/p&gt;

&lt;img alt=&quot;Reform UK, Nigel Farage, Brexit Party, 11694875, 16260766&quot; src=&quot;https://danielpocock.com/assets/reform-uk/reform-uk-washes-history.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Here is the full diagram I created to help people understanding the
judgment and insolvency court history of
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; and its leaders at a glance:&lt;/p&gt;

&lt;img alt=&quot;Reform UK, Nigel Farage, Brexit Party, 11694875, 16260766&quot; src=&quot;https://danielpocock.com/assets/reform-uk/name-swap.png&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;img alt=&quot;Reform UK, Nigel Farage, Brexit Party, 11694875, 16260766, CR-2022-003973, [2021] SC GLA 49&quot; src=&quot;https://danielpocock.com/assets/reform-uk/gazette-side-by-side.png&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Direct links to search the Gazette for old company number
&lt;a href=&quot;https://www.thegazette.co.uk/all-notices/notice?sort-by=&amp;amp;results-page-size=10&amp;amp;text=11694875&amp;amp;categorycode%5B%5D=G205010000&amp;amp;noticetypes=&amp;amp;start-publish-date=&amp;amp;end-publish-date=&amp;amp;edition=1&amp;amp;london-issue=&amp;amp;edinburgh-issue=&amp;amp;belfast-issue=&amp;amp;location-postcode-1=&amp;amp;location-distance-1=1&amp;amp;location-local-authority-1=&quot;&gt;11694875&lt;/a&gt;
and for the new company number
&lt;a href=&quot;https://www.thegazette.co.uk/all-notices/notice?sort-by=&amp;amp;results-page-size=10&amp;amp;text=16260766&amp;amp;categorycode%5B%5D=G205010000&amp;amp;noticetypes=&amp;amp;start-publish-date=&amp;amp;end-publish-date=&amp;amp;edition=1&amp;amp;london-issue=&amp;amp;edinburgh-issue=&amp;amp;belfast-issue=&amp;amp;location-postcode-1=&amp;amp;location-distance-1=1&amp;amp;location-local-authority-1=&quot;&gt;16260766&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;People who have a legitimate claim against any company
are encouraged to contact their solicitor for advice
and share their contact details with other creditors to resolve
the dispute more expediently.  See my previous blog about how to
&lt;a href=&quot;https://danielpocock.com/en/supporters-winding-up-process-invited-reform-uk-party/&quot;&gt;
join a creditors petition in the UK&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Read more about the
&lt;a href=&quot;https://danielpocock.com/en/category/winding-up-reform-uk/&quot;&gt;
various judgments in the history of Reform UK Party Limited&lt;/a&gt;.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-10-01T08:30:00+00:00</dc:date>
	<dc:creator>Daniel Pocock</dc:creator>
</item> 
<item rdf:about="https://danielpocock.com/en/reform-uk-last-minute-accounts-filing">
	<title>Daniel Pocock: Reform UK last minute accounts filing</title>
	<link>https://danielpocock.com/en/reform-uk-last-minute-accounts-filing/</link>
     <content:encoded>&lt;p&gt;On 25 June 2026,
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt;, the political party,
&lt;a href=&quot;https://search.electoralcommission.org.uk/Api/Accounts/Documents/28357&quot;&gt;
filed accounts for the 2025 calendar year with the Electoral Commission&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; is the only major political party in the
&lt;a href=&quot;https://danielpocock.com/en/category/uk/&quot;&gt;
UK&lt;/a&gt; that is also registered as a company at Companies House.&lt;/p&gt;

&lt;p&gt;Consequently, each year, they must file a set of accounts, with an
auditor&#39;s report, at Companies House.  The deadline was today,
30 September 2026.  Why did they file the accounts at the very last
minute and not at the same time they filed with the Electoral
Commission?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://find-and-update.company-information.service.gov.uk/company/16260766/filing-history&quot;&gt;
Click here to see the filing history and access the other accounts&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;As explained in
&lt;a href=&quot;https://danielpocock.com/en/reform-uk-auditor-electoral-commission-accounts-companies-house-going-concern-or-not/&quot;&gt;
my previous blog on the subject&lt;/a&gt;, the reports given to Companies House
are slightly different from the reports given to the Electoral Commission.
The Electoral Commission is trying to show the impact of money on
democracy.  The Companies House report aims to give members, investors,
trading partners and employees an image of the organisation&#39;s strength
or weakness.&lt;/p&gt;

&lt;p&gt;The document uploaded to the Electoral Commission in June is a
text-searchable PDF.  The PDF uploaded to Companies House is not
text-searchable.  However, Companies House also has another copy
in iXBRL, which is an XHTML file that is text-searchable in a web
browser.&lt;/p&gt;

&lt;p&gt;At a glance, we can see the numbers are not exactly the same.
For example, the membership revenue in the report to the
Electoral Commission appears to be a bit higher because they used
to collect the money through a different company and then they
subsequently merged the two companies during the 2025 reporting
year.&lt;/p&gt;

&lt;p&gt;Like the report submitted to the Electoral Commission, the report
submitted to Companies House does not mention the potential impact
of the new, backdated restrictions on donations from overseas electors.
If those restrictions are implemented soon, they will have a very
severe impact on
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt;.  It seems odd to me they can completely omit that
from the statement about the company being a going concern
for the next 12 months.&lt;/p&gt;

&lt;p&gt;One of the very significant differences in the Companies House
report submitted today is on the very last page.  It is the
declaration about how they merged the two former companies and
who really has control over the company, which is acting as a
political party but is really a business:&lt;/p&gt;

&lt;blockquote&gt;
&lt;em&gt;&lt;h3&gt;19. Related party transactions&lt;/h3&gt;
&lt;p&gt;On 19 February 2025, the company acquired the entire issued share capital of Reform 2025 Ltd for consideration of £15.&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;

&lt;h3&gt;20. Controlling party&lt;/h3&gt;
&lt;p&gt;The company is limited by guarantee and has no share capital. The company has &lt;b&gt;two members&lt;/b&gt;, who have equal voting rights. &lt;b&gt;Neither member has individual control of the company&lt;/b&gt; and, accordingly, there is no ultimate controlling party.&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;h3&gt;Legal form of entity and country of incorporation&lt;/h3&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;The company is &lt;b&gt;limited by guarantee&lt;/b&gt; and has no share capital. &lt;b&gt;The liability of each member is limited to £1&lt;/b&gt;, being the amount that each member undertakes to contribute to the assets of the company in the event of its winding up. There were two members at the year end.&lt;/p&gt;
&lt;/em&gt;&lt;/blockquote&gt;

&lt;p&gt;Looking at the full list of documents on the Companies House web site,
we can find the
&lt;a href=&quot;https://find-and-update.company-information.service.gov.uk/company/16260766/filing-history/MzQ1NDMwODY0MWFkaXF6a2N4/document?format=pdf&amp;amp;download=0&quot;&gt;
first document filed when the company was created&lt;/a&gt;.  They tell us the
two real members of the company are
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; and
&lt;a href=&quot;https://danielpocock.com/en/zia-yusuf/&quot;&gt;
Zia Yusuf&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Companies &lt;em&gt;limited by guarantee&lt;/em&gt; in the
&lt;a href=&quot;https://danielpocock.com/en/category/uk/&quot;&gt;
UK&lt;/a&gt; are a special type of company that is normally used for non-profits
and charities.  In some non-profits, like sporting clubs, every member
is really a member of the company and invited to the annual general meeting.
&lt;/p&gt;

&lt;p&gt;The accounts that
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; has just filed show us they have a two-tier membership structure,
similar to the scandal of the
&lt;a href=&quot;https://danielpocock.com/en/category/fsfe-misfits/&quot;&gt;
FSFE misfits&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;People who &quot;join&quot;
&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; and pay £25 per year are not really members like
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; and
&lt;a href=&quot;https://danielpocock.com/en/zia-yusuf/&quot;&gt;
Zia Yusuf&lt;/a&gt; are members in the accounts.&lt;/p&gt;

&lt;p&gt;In
&lt;a href=&quot;https://danielpocock.com/en/category/uk/&quot;&gt;
UK&lt;/a&gt; law, the real members,
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; and
&lt;a href=&quot;https://danielpocock.com/en/zia-yusuf/&quot;&gt;
Zia Yusuf&lt;/a&gt;, can choose to change it into a normal shareholder company
at any time they want and then they can sell the shares or pass them to
their children, as long as the articles of association permit that.&lt;/p&gt;

&lt;p&gt;In June 2025,
&lt;a href=&quot;https://www.bbc.com/news/articles/cwyv040rnqzo&quot;&gt;
Zia Yusuf resigned from Reform UK and came back two days later&lt;/a&gt;.
The accounts show us that he resigned from his position on the board
but they do not tell us if he transferred his position as one of the
two controlling members to somebody else.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://danielpocock.com/en/category/reform-uk/&quot;&gt;
Reform UK&lt;/a&gt; claims to have more members than any other political
party in the
&lt;a href=&quot;https://danielpocock.com/en/category/uk/&quot;&gt;
UK&lt;/a&gt;.  These accounts tell us their company only has two members,
making it one of the smallest political parties at the same time
as being one of the biggest.&lt;/p&gt;

&lt;p&gt;If the members accept this two-tier structure, does that mean it
really is a
&lt;a href=&quot;https://danielpocock.com/en/category/cult-behaviour/&quot;&gt;
cult&lt;/a&gt;, as we were
&lt;a href=&quot;https://danielpocock.com/en/cults-leak-email-domains-revealed/&quot;&gt;
told by Rupert Lowe&lt;/a&gt;?&lt;/p&gt;

&lt;p&gt;When they changed the structure, they told people they were
making it more democratic.  What they really did is they reduced their
risk.  If it fails, they only lose their guarantee, which is £1
each.  If it succeeds, these two people can choose to pivot back to a
shareholder company form, issue shares and sell them on the stock market.&lt;/p&gt;

&lt;p&gt;The other thing they did through this reoganisation is obfuscating the
history of disputes and judgments against the former company.  It looks
like at least one law suit is still progressing against the old company
and it is not clear if the new company structure will be obliged to pay
for it if they lose.&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://www.gov.uk/hmrc-internal-manuals/economic-crime-supervision-handbook/ecsh52200&quot;&gt;
The UK permits directors, company secretaries and shareholders
to be nominees, in other words, proxies&lt;/a&gt; contracted to obey the
person who really pays them to perform that role.  While
&lt;a href=&quot;https://danielpocock.com/en/people/nigel-farage/&quot;&gt;
Nigel Farage&lt;/a&gt; and
&lt;a href=&quot;https://danielpocock.com/en/zia-yusuf/&quot;&gt;
Zia Yusuf&lt;/a&gt; are listed publicly as the members who founded the new entity
in February 2025, there is no obligation for them to publicly identify
any transfers of these memberships to other people.  The only thing we
can deduce from the report is that there are currently two members,
the same number of members they had when they created the entity
but not necessarily the same two people.&lt;/p&gt;

&lt;p&gt;Read more about the
&lt;a href=&quot;https://danielpocock.com/en/category/winding-up-reform-uk/&quot;&gt;
various judgments in the history of Reform UK Party Limited&lt;/a&gt;.&lt;/p&gt;

&lt;img alt=&quot;Nigel Farage, Adam Richardson, Company&#39;s own candidate&quot; src=&quot;https://danielpocock.com/assets/people/nigel-farage/clacton-nigel-farage-voting-day.jpg&quot; width=&quot;100%&quot; /&gt;
&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Read more about the
&lt;a href=&quot;https://danielpocock.com/en/category/winding-up-reform-uk/&quot;&gt;
various judgments in the history of Reform UK Party Limited&lt;/a&gt;.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-09-30T23:15:00+00:00</dc:date>
	<dc:creator>Daniel Pocock</dc:creator>
</item> 
<item rdf:about="https://gwolf.org/2026/09/the-origins-of-gpu-computing.html">
	<title>Gunnar Wolf: The Origins of GPU Computing</title>
	<link>https://gwolf.org/2026/09/the-origins-of-gpu-computing.html</link>
     <content:encoded>&lt;blockquote&gt;
		 
		   This post is a review for &lt;a href=&quot;https://www.computingreviews.com/&quot;&gt;Computing
		   Reviews&lt;/a&gt;
		 
		     
		       
		         for &lt;em&gt;&lt;a href=&quot;https://dl.acm.org/doi/full/10.1145/3778248&quot;&gt;The Origins of GPU Computing&lt;/a&gt;&lt;/em&gt;
		       
		     
		     
		       , a article 
		       published in &lt;em&gt;&lt;a href=&quot;https://www.computingreviews.com/review/review_review.cfm?review_id=148174&amp;amp;&quot;&gt;Communications of the ACM&lt;/a&gt;&lt;/em&gt;
		     
		   &lt;/blockquote&gt;
		 
		 &lt;p&gt;This article appears in a Communications of the ACM series devoted to
showcasing relevant examples where federal funding of academic research
resulted in widely impacting, clearly identifiable technological advances
that have visibly improved–or at least changed–life far beyond the
technological arena.&lt;/p&gt;

&lt;p&gt;The road is far from trivial–from the first parallel computing
technologies built completely for research, to a phase that was
preeminently directed at gaming, to the current graphics processing units
(GPUs) that are basically massively parallel supercomputers used for large
language model (LLM) training and inference and other artificial
intelligence (AI) tasks–and the authors do a good job outlining it in just
a few pages. The article is written in a clearly divulgatory way, staying
as clear of technical language as possible.&lt;/p&gt;

&lt;p&gt;The authors present three main enabling technologies for current GPU
technologies: parallel computing, parallel graphics systems, and stream
processing.&lt;/p&gt;

&lt;p&gt;Coming from a technical formation myself, although clearly better grounded
in the software side of computer engineering than the electronics side, the
most interesting nugget of information I took is that parallel computing
was born due to the fact that transistor switching consumes very little
energy, whereas communication along wires consumes much more. Thus, the
more simultaneous operations can be carried out on-chip at once, the less
power will be dissipated as heat (and the less time that will be lost due
to data stores and loads).&lt;/p&gt;

&lt;p&gt;Graphics systems are a natural match for parallel systems, as rendering
realistic images basically requires repeating the same blocks of
instructions to a large array of items. Early GPU implementations were
built on fixed-function graphics pipelines. However, by the turn of the
century, when nVidia spun off the research labs at Stanford and started
marketing their product, introducing along the way the GPU term, they
enabled it to implement the full OpenGL graphics pipeline on a single chip.&lt;/p&gt;

&lt;p&gt;Stream processing is the arrangement of in-chip electronics so that they
can better exploit producer-consumer locality between stages in order to
achieve greater arithmetic intensity (this is, a greater
computation-to-bandwidth ratio), reducing the total number of memory
accesses.&lt;/p&gt;

&lt;p&gt;The authors explain in broad terms the described technologies and how they
fit together, as well as how the technology was transferred from the
universities to the companies behind today’s top trending technologies.&lt;/p&gt;

&lt;p&gt;The article is engaging and easy to read. As a technologist, I did miss
more details–dates when specific advances were made, how some of the
advances led to future inventions, and so on–but I also understand the
series is written for outsiders. And, as such, this work very well explains
how trillion-dollar technologies are often the result of decades of funding
research ideas.&lt;/p&gt;</content:encoded> 
	<dc:date>2026-09-29T18:55:02+00:00</dc:date>
	<dc:creator>Gunnar Wolf</dc:creator>
</item> 
<item rdf:about="https://notes.secretsauce.net/notes/2026/09/27_lunar-terminator-paradox.html">
	<title>Dima Kogan: Lunar terminator paradox</title>
	<link>http://notes.secretsauce.net/notes/2026/09/27_lunar-terminator-paradox.html</link>
     <content:encoded>&lt;p&gt;
There&#39;s an optical illusion known by names like the &quot;lunar terminator paradox&quot;.
This has much discussion and descriptions online, but none made sense in my
head, so I wrote &lt;a href=&quot;https://github.com/dkogan/moon&quot;&gt;this program&lt;/a&gt; to figure out what was going on. The paradox:
&lt;/p&gt;

&lt;ul class=&quot;org-ul&quot;&gt;
&lt;li&gt;The moon is illuminated by the sun
&lt;/li&gt;
&lt;li&gt;After sunset, the sun is below, so we would expect the illuminated portion of
the moon to point down, towards where the sun is
&lt;/li&gt;
&lt;li&gt;This isn&#39;t what always happens!
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;
I was camping in the mountains with a friend recently. We were looking up at the
sky, just after the sun has set. The moon was clearly pointing up.
&lt;/p&gt;

&lt;p&gt;
After playing with &lt;a href=&quot;https://github.com/dkogan/moon&quot;&gt;this program&lt;/a&gt;, I have clarity: we&#39;re looking up at the moon
from below. The most pathological case is a full moon. Let&#39;s say the moon is on
the horizon: elevation=0. If we&#39;re looking at this low moon, and the moon is
full, the sun is directly behind us. The moon is fully illuminated, and we see
100% of the moon disc lit up.
&lt;/p&gt;

&lt;p&gt;
Now, what happens if the moon is not at the horizon, but higher up at the sky?
Effectively, the sun is infinitely far away, so the same part of the moon is lit
up. But we&#39;re now looking at the moon from below, and we would see some of the
dark side on the bottom edge. I.e. the moon appears bright at the top, but has a
dark slice missing at the bottom: it points up! Even at sunset.
&lt;/p&gt;

&lt;p&gt;
This is the most clearly weird case. A half-moon has no paradoxical behavior,
and the more full the moon, the more clearly we can observe the bright moon
pointing up despite the sun being down.
&lt;/p&gt;

&lt;p&gt;
I produce two plots. At 3/4-full moon at sunset we look at the moon as it rises
from the horizon all the way up to the zenith:
&lt;/p&gt;


&lt;div class=&quot;figure&quot;&gt;
&lt;p&gt;&lt;img alt=&quot;scan-moon-el.svg&quot; src=&quot;https://notes.secretsauce.net/../../../notes/2026/09/27_lunar-terminator-paradox/scan-moon-el.svg&quot; /&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;
If the moon is at the horizon (elevation = 0), we see the expected 3/4-lit disc.
As the moon rises, we see more and more of its bottom, and thus more and more
dark areas show up: It clearly points up at sunset!
&lt;/p&gt;

&lt;p&gt;
We can also move the sun around. Let&#39;s say the moon is 60deg up; let&#39;s move the
sun from new-moon to a full-moon:
&lt;/p&gt;


&lt;div class=&quot;figure&quot;&gt;
&lt;p&gt;&lt;img alt=&quot;scan-sun-az.svg&quot; src=&quot;https://notes.secretsauce.net/../../../notes/2026/09/27_lunar-terminator-paradox/scan-sun-az.svg&quot; /&gt;
&lt;/p&gt;
&lt;/div&gt;

&lt;p&gt;
In the darkest configuration, we can still see a lit crescent on the bottom: the
illumination is all on the opposite side, but we can see a slice of the
illuminated back side. As the sun swings around, we see more and more of the
moon. At azimuth = 90deg, we have a half-lit moon. Past that, more and more of
the moon is visible, always pointing up.
&lt;/p&gt;

&lt;p&gt;
This was also a super interesting study of the current state of AI tools. As I
was writing this and debugging, I would talk to Claude and Gemini about how this
worked and what I should be seeing. They were both completely unable to
comprehend this, and would make infinite circular arguments. Clearly they read
some incomplete explanations on the internet (as I have), and lack the reasoning
capability necessary to distill it into something resembling &quot;understanding&quot;.
AGI is not here yet.
&lt;/p&gt;</content:encoded> 
	<dc:date>2026-09-27T21:04:00+00:00</dc:date>
	<dc:creator>Dima Kogan</dc:creator>
</item> 
<item rdf:about="https://www.eyrie.org/~eagle/reviews/books/0-7564-2013-X.html">
	<title>Russ Allbery: Review: Ode to the Half-Broken</title>
	<link>https://www.eyrie.org/~eagle/reviews/books/0-7564-2013-X.html</link>
     <content:encoded>&lt;p&gt;Review: &lt;cite&gt;Ode to the Half-Broken&lt;/cite&gt;, by Suzanne Palmer&lt;/p&gt;

&lt;table&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td&gt;Publisher:&lt;/td&gt;
    &lt;td&gt;DAW&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Copyright:&lt;/td&gt;
    &lt;td&gt;May 2026&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;ISBN:&lt;/td&gt;
    &lt;td&gt;0-7564-2013-X&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Format:&lt;/td&gt;
    &lt;td&gt;Kindle&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Pages:&lt;/td&gt;
    &lt;td&gt;441&lt;/td&gt;
  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;
&lt;cite&gt;Ode to the Half-Broken&lt;/cite&gt; is a standalone post-apocalyptic (sort of)
science fiction novel.
&lt;/p&gt;

&lt;p&gt;
As this novel opens, the unnamed first-person protagonist is waking up in
a bathtub in an abandoned building. They are covered in electromagnets and
missing one leg.
&lt;/p&gt;

&lt;p&gt;
Waking up involved a secure reboot from a protected core kernel, so it is
immediately obvious that the protagonist is a robot. That also explains
the electromagnets, which interfere with their ability to control their
body. Or they would, if the protagonist didn&#39;t have long-dormant combat
routines available to deploy EM shielding and free themselves from the
bathtub. There are no immediate answers to why someone embedded a virus in
the data attached to a scientific paper on ants, an act so precisely
targeted that it had to be personal. Or what happened to their leg.
&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;
    &quot;There are a number of electromagnets in the next room,&quot; I say. I
    point. &quot;Behind that wall with all the holes in it.&quot;
&lt;/p&gt;

&lt;p&gt;
    &quot;Those are big holes. And fresh, too,&quot; the dog says. &quot;I wonder what
    made them.&quot;
&lt;/p&gt;

&lt;p&gt;
    &quot;Electromagnets experiencing sudden velocity.&quot;
&lt;/p&gt;

&lt;p&gt;
    The dog gives another of its short barks, and I am more convinced now
    it is laughing, though I was not attempting to be funny.
&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;
&lt;cite&gt;Ode to the Half-Broken&lt;/cite&gt; has a classic science fiction beginning:
&lt;i&gt;in medias res&lt;/i&gt; in a future science fiction version of Earth where
nothing is immediately explained, leaving the reader to work out the date
and the setting. Helping us out is the protagonist, who is neither chatty
nor very sociable with other characters but keeps up an analytical
monologue about the world as they narrate events.
&lt;/p&gt;

&lt;p&gt;
We are some decades into a grim future. The United States has largely
collapsed. Large parts of New York City are dangerous to humans due to
disease and radiation. Neither of those hazards bother the large number of
sentient robots; their scarcity, and therefore economy, is instead based
on power. Robots that control solar power stations act as low-level mob
bosses, trading power for information or labor.
&lt;/p&gt;

&lt;p&gt;
Our protagonist doesn&#39;t want to care about any of this. They retreated
from the world long ago for a solitary life in the former New York
Botanical Gardens studying ants. But they need a new leg and the best
robot repair person nearby is a human woman outside of the city, so they
reluctantly head in that direction, accompanied somewhat surprisingly by a
cyborg dog.
&lt;/p&gt;

&lt;p&gt;
The typical science fiction apocalypse is caused by something specific.
Classically, that event is a nuclear war, but writers found various
alternatives before, during, and after the Cold War era:
&lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/1-931520-03-8.html&quot;&gt;alien invasions&lt;/a&gt;,
&lt;a href=&quot;https://en.wikipedia.org/wiki/The_Day_of_the_Triffids&quot;&gt;meteor
showers&lt;/a&gt;, &lt;a href=&quot;https://en.wikipedia.org/wiki/The_Stand&quot;&gt;plagues&lt;/a&gt;,
&lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/0-316-26233-1.html&quot;&gt;sea level rise&lt;/a&gt;, and &lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/1-59780-158-5.html&quot;&gt;peak oil and general environmental collapse&lt;/a&gt;, among many others. Less
common is a post-apocalyptic novel where the collapse comes from multiple
overlapping crises and accumulating failures, from a general failure to
meet what Adam Tooze and others call
&lt;a href=&quot;https://en.wikipedia.org/wiki/Polycrisis&quot;&gt;polycrisis&lt;/a&gt;. The first
time I encountered that style of post-apocalyptic story was in Octavia
Butler&#39;s &lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/0-446-60197-7.html&quot;&gt;&lt;cite&gt;Parable of the Sower&lt;/cite&gt;&lt;/a&gt;. It was
one of the choices that made (and still makes) that book feel so
chillingly realistic.
&lt;/p&gt;

&lt;p&gt;
The world background in &lt;cite&gt;Ode to the Half-Broken&lt;/cite&gt; is shaped by that
sort of polycrisis collapse. There is no one reason why New York City is a
dangerous, irradiated ruin and society has collapsed into isolated and
sometimes warring factions. It is not runaway artificial intelligence, or
at least not directly; sentient robots were a late-stage innovation of the
collapsing US civilization and a tool and accelerator of its many wars,
but they were not the cause and may be a critical ingredient in building
some functional replacement. Instead, society fell apart because we failed
to address any of the growing problems and then turned on each other in
the resulting ruins. The reader gets an idiosyncratic view of that
collapse in flashback chapters intermixed with the main narrative of the
initially unnamed robot protagonist, flashbacks told from the perspective
of the man who invented the key component for robot sentience. As you
would expect, those two narratives are linked. The reader will not
discover how they are linked until late in the story.
&lt;/p&gt;

&lt;p&gt;
This book could have been extremely depressing. It is not, which says a
great deal about Palmer&#39;s skill in telling it. The clinical distance of
the protagonist in the early chapters helps considerably: They have
rejected involvement in this world and therefore can describe it in
detached, factual terms, aided by the tendency of most robots in this
story to be slightly more precise, logical, and verbose than the human
characters. But as the protagonist&#39;s clinical distance fades, as it must
to allow the story&#39;s emotional stakes to rise, Palmer fills this book with
moments of beauty and hope. A former nuclear submarine that has become the
mind of a subway car is a key early ally. A collective has turned the
Hudson Bridge into a thriving if chaotic community. Self-regulating
enclaves of humans and robots are working together to try to build a
livable world. Robots oversee pollinator swarms that are attempting to
restore plant life, for no reason other than that they like order and
stability and see this as a way of restoring both. This is a grim,
post-apocalyptic world that does not dwell on either the grimness or the
apocalypse. It is instead full of small moments of hope, collaboration,
and personal connection.
&lt;/p&gt;

&lt;p&gt;
This is a story with villains, danger, pain, and risk. Despite the similar
keywords and cover aesthetics, it bears little resemblance to Becky
Chambers&#39;s philosophical &lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/1-250-23622-3.html&quot;&gt;Monk and Robot series&lt;/a&gt;.
It is not, in any definition of the term, cozy; it&#39;s a post-apocalyptic
adventure story about a robot and a dog making their way through a ruined
civilization and fighting people who are trying to build something even
worse on the rubble. But it&#39;s also charming and oddly happy. There are
strong found-family vibes in the way that a party coalesces around the
protagonist and eventually gives them a name, there is the quiet happiness
of seeing a grumpy misanthrope slowly come out of their protective shell,
and the rail mechs are an absolute delight.
&lt;/p&gt;

&lt;p&gt;
Like a lot of stories of happy small-group anarchism, I didn&#39;t entirely
believe the politics and have some qualms about the realism of the ending,
although perhaps I should strive to be as optimistic as Palmer writes. The
somewhat dry and fussily precise first-person narration will also not be
to everyone&#39;s taste; it worked for me by the end of the book, but it took
a bit of reading to get used to it. But those quibbles aside, this was
quietly lovely. It&#39;s a satisfying science fiction adventure story in a
world with disturbing parallels to the one we&#39;re living in, but which uses
those parallels to focus on small-scale collective efforts to build
something better. And all the small details of the world-building are
delightful: the different tiers of robots and their odd behaviors, the
machine sense of purpose, even the mix of suspicion and generosity. The
plot has large-scale implications, but it was the human-level details that
charmed me.
&lt;/p&gt;

&lt;p&gt;
I still want &lt;a href=&quot;https://www.eyrie.org/~eagle/reviews/books/0-7564-1888-7.html&quot;&gt;another Fergus novel&lt;/a&gt;, but this was
a highly successful foray outside of that series. Palmer has won two Hugos
for her novellas, so I can&#39;t really say she&#39;s overlooked, but her novels
aren&#39;t getting anywhere near the attention they deserve. Highly
recommended.
&lt;/p&gt;

&lt;p&gt;
There is plenty of world-building room here for a sequel, but &lt;cite&gt;Ode to
the Half-Broken&lt;/cite&gt; reaches a satisfying standalone conclusion. So far as I
know, no sequel is currently planned.
&lt;/p&gt;

&lt;p&gt;Rating: 8 out of 10&lt;/p&gt;</content:encoded> 
	<dc:date>2026-09-27T02:57:00+00:00</dc:date>
	<dc:creator>Russ Allbery</dc:creator>
</item> 

</rdf:RDF>
