Planet Russell

,

Cryptogram Detecting Police Cars Using Wi-Fi and Bluetooth

SØPHIA is an Android app that detects undercover police cars by their electromagnetic broadcasting:

More details from the dev:

“SØPHIA observes wireless information available to your phone. Some drones, cameras, vehicles, and other equipment may be observable when they emit supported signals within range. Not every device broadcasts a detectable signal.”

“A signal or manufacturer match is context, not proof of who owns a device or what it’s being used for. SØPHIA does not read private messages or pinpoint a transmitter’s location.?

For spotting police cars, this could be a great companion to a radar detector. A modern police car is loaded with electronics: body cams, dash cams, in-car routers, laptops, fleet telematics, and all the docks and gateways that tie it together. Plenty of that gear is constantly announcing itself over Bluetooth and Wi-Fi so it can pair with everything else. An unmarked Charger can look like any other Charger, but it can’t easily hide that it’s broadcasting like a rolling IT closet.

Planet Debian — Kentaro Hayashi: dh-bazel has been accepted into the Debian archive

Introduction

dh-bazel, a debhelper buildsystem for packaging software that uses Bazel, has been accepted into the Debian archive. Version 0.10.1 is now available in Debian unstable.

With dh-bazel now available in unstable, I can update Mozc's Debian packaging to use it for the Bazel build.

I have been developing dh-bazel for several months as part of my effort to package newer versions of Mozc with Bazel. The project has gone through several iterations since the initial prototype. Before the first upload, I asked the Debian Bazel community for feedback on the mailing list; see the November 2026 archive. I wrote about the early work and later improvements in these posts:

Building Mozc with dh-bazel, buildsystem support for debhelper - ひとりしずかに。

Building with dh-bazel, buildsystem support for debhelper experiment updates - ひとりしずかに。

What dh-bazel does

Debian package builds commonly use debhelper commands. dh-bazel adds Bazel support to that workflow, allowing dh_auto_build to run Bazel during a package build.

The package rules do not need to invoke bazel directly. They use the standard dh_auto_build interface, and dh-bazel takes care of running Bazel as part of the debhelper workflow.

Bazel projects declare external dependencies as modules, which are usually fetched from the Bazel Central Registry (BCR). For Debian packaging, dh-bazel can redirect these dependencies to modules packaged by Debian or to adapters bundled with dh-bazel. An adapter tells Bazel to use a Debian system library for a dependency. This helps build packages without downloading those dependencies from the BCR.

For example, add the following to debian/rules to select the Bazel buildsystem and build a target:

#!/usr/bin/make -f

%:
    dh $@ --buildsystem=bazel

override_dh_auto_build:
    dh_auto_build -- //:hello

//:hello is an example Bazel target label; replace it with a target from the project being packaged. dh-bazel provides a common interface for this integration, so each Debian package does not need to implement the same build logic from scratch.

Limitations

dh-bazel cannot resolve every Bazel dependency automatically. It detects modules installed by Debian packages and bundled adapters that include a MODULE.bazel file. but it is not good enough.

For these cases, package maintainers may need to configure DH_BAZEL_OVERRIDE_MODULES to select an adapter, or DH_BAZEL_PKGCONF_MODULES to resolve a module to Debian system libraries through pkgconf.

dh-bazel handles the build step, but does not install the resulting files into the Debian package. Maintainers must still list the build artifacts to install, for example in debian/*.install.

Installing dh-bazel

Version 0.10.1 is available in Debian unstable. The package is maintained by the Debian Bazel Team, and its initial upload closed intent-to-package (ITP) bug #1154961.

On a Debian unstable system, install it with:

sudo apt install dh-bazel

See the Debian Package Tracker and the Salsa repository for package details and source code.

Conclusion

Getting dh-bazel into the archive is a milestone in my effort to package Mozc with Bazel. I hope it will also help others packaging Bazel-based software for Debian.

However, I have realized that demand for dh-bazel is still limited, so I will move it into maintenance mode. I will continue developing features needed for Mozc packaging; outside that work, I will focus on bug fixes and necessary updates.

Charles Stross — The Circus is Leaving Town

I am in Madrid, listening to an unexpected deluge of rain and waiting to go to my next panel at Sui Generis, the literary festival I'm here for, and I gather that on the other side of the Atlantic the sky is falling. (Also, I haven't blogged for nearly three weeks, I've been forcibly refusing to work on the novel--I don't do that while I'm travelling--and the urge to write is now making my back teeth itch. Hence, this.)

So: while I'm away from the office the music stopped, and Jensen Huang was caught out between two chairs, or mistresses, and now he's allegedly got the Wall Street Journal on his case. I say allegedly because the WSJ is paywalled to fuck, but Techpowerup is covering their exposé and, yup, it's about what everyone expected. Gosh, you wait forever for an Ed Zitron then three of them in a trench coat come along and swipe his lede: but one thing is certain, when the major oligarch-owned outlets start Pointing The Finger Of Blame, it means the steam caliope has sprung a leak, the mesmerizing tune has sounded a bum note, and the big tent is deflating:

The WSJ report cites an August meeting between Huang and his senior finance team, including NVIDIA's CFO and acting CEO, Colette Kress, during which Kress pushed for a reduction in circular financing agreements, in response to which Huang allegedly lay into Kress, calling her a "deer in the headlights," after she had pushed to scale back NVIDIA's $250 billion deal with OpenAI. Jensen's push for further investment into small-scale cloud providers was seemingly in response to the changing tide that saw AI hyperscalers move away from off-the-shelf components in favor of custom solutions.

The situation described in the report saw NVIDIA on the hook for an "avalanche" of GPUs from TSMC, for which it would have no immediate buyers. Part of the issue highlighted by Kress was also that these small-scale cloud providers NVIDIA was investing in could not afford to buy NVIDIA GPUs, meaning they, too, could be a financial dead end.

This isn't about the reality or otherwise of "AI" as a thing rather than a marketing bullshit term, it's about stock fraud that Donald J. Trump is up to his elbows in. (Where we read about $5M in share purchases in The Guardian, you can bet there was another 10-100x that amount of money in play among his courtiers because that's how mob families run.) Trump's involvement is probably why it took so long to burst, but Huang is a convenient scapegoat--look, he isn't even white enough to pass the Stephen Miller scratch'n'sniff test!-so they're going to try to pin it all on him at first, but there's so much shit in this overflowing midden that the landslide is going to take out an entire class. (I think you know some of their names, but there will be surprises as well: how many Senators and House committee chairs have clean hands?)

So. Where does it go from here?

Planet Linux Australia — “No economic case:” Global experts say nuclear has role in some countries, but makes no sense in Australia

<https://reneweconomy.com.au/no-economic-case-global-experts-say-nuclear-has-role-in-some-countries-but-makes-no-sense-in-australia/>

"As Australia’s ultra conservative political parties embark on a headlong race
towards nuclear and away from renewables, a major new report by global experts
says nuclear has a role in some countries, but makes no sense and will only

Planet Linux Australia — Spot a baby bird on the ground? Don’t be tempted to bird‑nap it

<https://theconversation.com/spot-a-baby-bird-on-the-ground-dont-be-tempted-to-bird-nap-it-295459>

"Spring is the season of blooming flowers and buzzing bees.

It’s also the time of year when birds are breeding and raising fluffy little

Planet Linux Australia — Why Jared Diamond’s leadership book on prophets, coaches and kings is flawed but fun

<https://theconversation.com/why-jared-diamonds-leadership-book-on-prophets-coaches-and-kings-is-flawed-but-fun-291462>

"Review: Profits, Prophets, Coaches and Kings: (When) Do Leaders Matter? –
Jared Diamond (Penguin Books)

Planet Linux Australia — We Are Living in a Golden Era of Stupid Tech Advertisements

https://www.404media.co/the-golden-era-of-bad-tech-ads/

"In January 1984, the greatest tech commercial of all time ran during the Super
Bowl. In the spot, directed by Ridley Scott, a runner carrying a sledgehammer
just barely outpaces a group of militant agents in riot gear, heading straight

Planet Linux Australia — A New Beginning

In February 2026 I decommissioned our last Redflow ZCell flow battery in order to have two stacks of three Pylontech Pelio LFP batteries installed. As described in my previous post I’d pushed the failing ZCells as far – or possibly further – than could reasonably be expected. Redflow no longer existed, I couldn’t find any other residential-scale flow batteries, and Pylontech’s LFP batteries in general were known to work well with our existing Victron inverter/charger gear. We’d looked at their 4.8kWh rackmount US-5000B modules, but those require a cabinet when installed outdoors, versus the Pelios which appeared to be essentially a US-5000B with one additional cell for a total of 5.12kWh per unit, wrapped in an attractive white IP65 enclosure.

30.72kWh of battery storage in an amazingly slim form factor

The Victron kit is in the crawlspace under the house on the other side of that wall, so these two stacks of batteries were just connected through the wall to the existing DC bus and comms cabling under the house. The Pelios daisy chain together and appear to the Victron system as essentially one big battery. There was a little bit of reconfiguration necessary to tell the system it had more storage capacity than before, and some of the voltage settings needed changing, but overall the migration from Redflow to Pylontech was pretty straightforward. The one thing that didn’t work properly was the Wi-Fi stick that came with the Pelios. The Pylontech app on my phone failed to connect it to the Pylontech cloud with the error “Serial number not in stock”. We thought it might have been due to a very weak Wi-Fi signal outside the house, but I didn’t mind too much about this not working. While it would have been nice to get detailed status from each of the batteries, they didn’t need the cloud connection in order to operate.

Everything went well for about a month until I woke up on the morning of March 14 to three “Internal failure” alarms on the Victron Cerbo GX console.

Seriously? Failure only a month in? You’re kidding, right?

Aside from those notifications on the console, the system appeared to be operating correctly. Perhaps it was some transient failure? I contacted Murray from Lifestyle Electrical Services, who’d done the install. He in turn contacted Battery Works, who’d supplied the Pelios, for technical support. The Victron system allows remote access to the site, so the Battery Works support folks logged in and poked around a bit to make sure all the settings were correct. They set the system to charge to 100% and left it that way overnight to ensure all the cells in the batteries were correctly balanced. They also lodged a support ticket with Pylontech about the Wi-Fi stick.

Everything went well for another two weeks, until March 27 when the battery raised a couple more of those “Internal failure” alarms and the MPPT was complaining about “Over-charge protection”.

I’m actually not worried about the “Over-charge protection” alarm

This time the batteries were not online and the Victron system could (kinda) only see one of them. Note one module blocking charge / discharge on the below console display, and the installed capacity was only showing 100Ah, i.e. one unit, where it should have been 600Ah for six units.

Uh…

The red error light on the so-called master unit was blinking at one second intervals, with the remaining indicator lights showing normal status. According to the manual, this means “Address fail, slave offline”.

At this point I was starting to wish the Wi-Fi stick had worked, because maybe then the Pylontech app would have been able to provide more detailed information about what had gone wrong. I contacted Murray, who contacted Battery Works, but meanwhile the failure apparently self corrected and all units were back online by 10:03.

That’s better, but what just happened?

Battery Works support logged in remotely again and came back with the following on April 1:

  • All Firmware up to date
  • Updated ESS Assistant
  • Modified ESS Dynamic Voltages to suit Pelio Batteries
  • Modified ESS Settings…
    • Set a scheduled charge to 100%
    • Every Friday @ 6:30pm for <8hrs
    • This will help keep the batteries balanced by ensuring they are charged to 100% each week at least

Battery cells are more imbalanced then on a typical system of this age. The settings will help and promote system longevity.

Alas, two days later on April 3 – the Good Friday public holiday – I found myself messaging Murray to say “It’s doing the stupid thing again (all units flashing red LED, internal error). I assume the support guys aren’t working today.” This time the batteries were offline from 09:26 to 11:43, so a bit over two hours before the problem went away. Then it happened again the next day for a bit over six hours from 05:45 – 12:00.

By this time I had discovered I could use a USB stick to download log files from the batteries. This was really quite neat: you unscrew the side of the case, plug a USB stick in, wait ’til the indicator lights stop flashing then unplug the USB stick and move on to the next unit.

A rounded plastic side cover unscrews to reveal this

The batteries write to the USB stick in folders named for the serial number of each unit. Inside are three CSV files. As a mere end user I didn’t (and still don’t) have any documentation for this, but the files are all plain text so it wasn’t too hard to puzzle out.

  • log.csv: Appears to be current unit status at the time the logs were dumped. Notably for the master (i.e. first) unit in the chain, this includes a table listing the address (a number between 1 and 20) and status of all the units it can currently talk to.
  • history.csv: One line every half hour showing overall current, temperature, voltage, status, state of charge, etc. for the unit, plus the same set of detail for each individual cell in the unit.
  • event.csv: Like history.csv, but only appends new lines when something interesting happens, like the state changing from a happy “Idle” or “Charge” to an unhappy “SysError”.

I started emailing the log files to Battery Works in case it would help to determine what the problem was, because the problem kept recurring. Sometimes it was brief, but sometimes the failure lasted for multiple hours. I was told after the logs were forwarded on to Pylontech that it might take a couple of weeks for them to get back to us. Not being overly keen to wait that long I decided to spend some more time with the logs myself. On April 19, I was able to send off the following analysis:

…and again, internal failure late last night and this morning:

2026-04-18 22:40-22:41 (one minute)
2026-04-19 03:10-03:16 (six minutes)
2026-04-19 03:20-04:16 (just under an hour)
2026-04-19 04:19-12:23 (8 hours)

The good news is, after digging through the logs some more, I believe I have some insight into what’s going on. This looks to me like a comms failure between the batteries.

If you check log.csv for each unit you’ll see a device address. 1 is the master, 2-6 are each of the slaves. In normal operation, the mapping of serial numbers to device addresses on our system is:

Y250910F10010199 – 1 (top of stack 1)
Y250910F10010090 – 2
Y250718F10200042 – 3 (bottom of stack 1)
Y250910F10010464 – 4 (bottom of stack 2)
Y250718F10200015 – 5
Y250910F10010193 – 6 (top of stack 2)

During the failures today, the device addresses were all messed up. For the most recent failure window, the addresses were as follows:

Y250910F10010199 – 1 <– actual master
Y250910F10010090 – 2
Y250718F10200042 – 3
Y250910F10010464 – 1 <– unit 4 now thinks it’s a master
Y250718F10200015 – 2
Y250910F10010193 – 2 <– huh?

Go back through event.csv for each unit and you’ll see its address changing on each SysError line at previous failure times. The only unit which is consistently correct is Y250910F10010199 (the “real” master / unit 1). The addresses of the other units all change from time to time.

Why do I think the problem is due to a comms failure? Because of how the batteries are physically wired to each other. The master is the one with L0 not connected (“empty” per the manual). So, imagine there’s a cable fault between units 3 and 4. Unit 4 now thinks L0 is not connected and decides it’s going to be a master.

So I went and powered down the batteries per the procedure in the manual. When I held the start button on unit 1 to shut it down, it shut down units 1-3, but units 4-6 were still active, again indicating that unit 4 thought it was a master. So I held the start button on unit 4, which shut the other three units down. After completely powering down all units with the power switches, I unscrewed and rescrewed the comms cables between the stacks against the possibility of the connection being somehow physically loose. Then I powered everything back up, and now all units are operating correctly again.

I also wondered if this could maybe be a firmware issue, with the comms just somehow getting out of sync between units? Of course I have no way to know that for sure and am not certain how to diagnose further.

A couple of days later I received an email from Battery Works to say that Pylontech wanted to organise a site visit to hopefully resolve the problem. I was quite looking forward to meeting their engineers, but ultimately this didn’t go ahead. I suspect there were some miscommunications at various times between several of the people involved, but I don’t know for certain.

The problem manifested on eleven different days over three months:

  • March 14 and 27
  • April 3, 4, 5, 11, 17, 18, and 19
  • May 7 and 26

The final event on May 26 hadn’t resolved after several days, despite multiple attempts at power cycling the units and unplugging and re-plugging the comms cables, and even replacing the comms cable between the two stacks. I wondered at one point if the issue could be temperature related, as several of the events seemed to occur on colder days (outdoor temperature 1°C to 5°C, according to my weather station), but the units are all rated with a working temperature of 0°C to 55°C for charging and -10°C to 55°C for discharging, so they should still have been fine.

After a fair bit more screwing around I ultimately settled on disconnecting all but the first unit, because in that configuration we did still have 5.12kWh of storage, which isn’t anywhere near enough, but the fact that that single unit wasn’t in failure mode meant that the rest of the system (including solar generation, which would have otherwise been blocked) continued to operate, so we could limp along while waiting for some sort of resolution.

My belief based on how the units ended up behaving is that this was a split-brain problem where for some reason (physical cable? firmware? moon phase?) the units got progressively worse at communicating, and so separated into smaller and smaller clusters that were possibly fighting with each other. As mentioned above, at one point I had units with addresses 1-3 in one group, a second group of units 1-2 (which should have been 4-5) and the sixth unit, weirdly also with address 2. During one experiment power cycling everything, multiple units came up with address 20 and stayed that way. I suspect they all start up thinking they’re unit 20 then try to negotiate upwards based on what else appears to be connected.

I am probably never going to know what caused this problem. I have a copy of a message saying that there was another customer with the same issue whose Pelios were replaced, but the problem recurred a couple of weeks later. I can only assume there must have been something fundamentally broken, because the Pelio product page on the Pylontech web site is now blank, we never heard back about the Wi-Fi stick, and our six Pelios were finally replaced under warranty with seven US-5000B modules in two new outdoor enclosures. There is no way Pylontech didn’t lose money on that replacement, but I’m happy because the US-5000Bs have been running without a hitch since they were installed on July 8, and we ended up with slightly more storage capacity (33.6kWh vs. the original 30.72kWh). I just hope given this was a warranty job that Murray somehow managed to get paid by someone for his time and effort doing the US-5000B reinstall.

Nowhere near as sleek as the Pelios, but these WD1380-LV enclosures are really nice and solid
The US-5000B modules sit vertically, up to four per cabinet
Like the Pelios the US-5000Bs daisy chain together, they’re just a bit chonkier

Now that we’ve once again got a battery that isn’t obviously broken, I intend to get back to analysing the performance of the system in future posts. The last time I wrote in detail about our solar generation, energy utilisation, and cost of grid power was back in November 2024. In the remainder of this post I’ll try to get up to date with what’s changed over the last two years, but under the circumstances it’s going to be somewhat messy.

First, a note on time periods. When I started this series of blog posts, I was working largely off power bills from Aurora which were then delivered quarterly, and my analysis started in August of each year. This shifted to a late September base due to the timing of our new electricity meter installation in 2021. Since then I’ve been counting the year from October 1 to the following September 30, because at least that’s not completely ridiculous, and it’s now easy to correlate the new monthly Aurora bills with data from Victron’s VRM portal. TL;DR: when you see a year range below, just pretend it starts on October 1. That won’t actually be true prior to 2022, but given the periods are very close together and don’t overlap, it’s sufficiently good to paint a reasonable picture of what’s been going on.

Let’s look at our power bills and energy used by loads over the past ten years. As explained in Still Going With The Flow I’m deliberately smooshing a bunch of numbers together (peak power charge, off peak power charge, feed in tariff, daily supply charge) to arrive at an effective cost per kWh of grid power, then bearing in mind our loads are partially powered from solar I can also determine what it actually costs to run all our loads.

YearFrom GridTotal BillGrid $/kWhLoadsLoads $/kWh
2016-201717,026$4,485.45$0.2617,026$0.26
2018-20199,031$2,278.33$0.2511,827$0.19
2019-20209,324$2,384.79$0.2612,255$0.19
2020-20217,582$1,921.77$0.2510,358$0.19
2021-20228,531$1,731.40$0.2010,849$0.16
2022-20238,936$1,989.12$0.2211,534$0.17
2023-20248,878$2,108.77$0.2411,162$0.19
2024-202512,110$2,908.28$0.2413,121$0.22
2025-202612,264$2,873.49$0.2315,757$0.18

In the first line of the table above, for 2016-2017, our loads and the power we pulled from the grid are identical (17,026kWh) as is the grid and load cost per kWh ($0.26), because that was before we had the solar panels and a new efficient heat pump hot water system installed. The 2017-2018 figures are missing because I sill can’t find those old paper bills, but we can see in 2018-2019 the loads had dropped by 5,199kWh, and the grid usage had dropped by 7,995kWh! What grid power we pulled cost us $0.25 per kWh (so slightly less than before), but given the addition of solar generation, it meant we were effectively paying only $0.19 per kWh to run all our loads.

The original 10kWh ZCell battery went in in 2021. Along with a switch to Peak & Off-Peak billing this dropped our grid cost per kWh to $0.20, and our load cost per kWh to $0.16. Since then the cost has been inching up slightly each year, but this is largely due to increasing grid power prices and service charges.

One anomaly is in 2024-2025 when the load cost per kWh went from $0.19 to $0.22. This was due to us not having solar generation between January and March while waiting for new batteries to arrive, so we pulled more grid power than usual. Also, the load figures for that year are not going to be entirely accurate because of some holes in the data from the VRM portal when the system was inactive. I’ve synthesised the best figure I could based on a combination of Aurora bills and VRM portal data.

The other slightly alarming thing is a jump in our grid usage and loads of about 40% between 2023-2024 and 2025-2026. There’s probably several factors at play here, but I suspect the largest one is that 2024 was the last winter in which we were regularly using the wood heater in the dining room to heat the house. There’s ducted heat transfer in the ceiling between the dining room and the upstairs bedrooms and my office, and this did a good job of keeping the whole house warm, but it also meant burning several tonnes of firewood. This cost a couple of thousand dollars per year if we were buying wood rather that cutting it ourselves, and caused a lot of pollution. Since that winter we’ve rarely had the fire going, and have instead been using new heat pumps in the bedrooms, plus occasionally a panel heater in the dining room or my office.

Another factor in the load increase is that we bought an MG S5 EV in April 2026, and have of course been charging that. We haven’t yet managed to get a proper EV charging station installed so I don’t know exactly how much power that has used. Based on traveling close to 3,000km by the end of September, and the indicator on the dash saying we use ~20kWh/100km, that’s at least 600kWh of power to the car. Similar to the wood heater, the electricity for running the car is vastly cheaper than putting diesel in our old Mazda Bravo ute, and it also smells a lot better.

There have been a few other changes too. One is that since 2024 there are now four adults living here instead of two. There’s also a little bit more computer equipment in use, and we’ve been running a ventilation fan 24/7 that should really be put on a timer. None of these changes are particularly large individually, but it all adds up. My next task is clearly to figure out how to better track our loads. The EV is easy: get a real charging station installed. The heat pumps are theoretically easy (connect them to Wi-Fi and use an app) but I don’t want to be beholden to someone else’s cloud, so that’s going to require a bit more investigation to see what I can manage to do locally. For other things like water pumps, refrigeration, and fans, I’ve got an inline power meter I can use to monitor them for a day, or a week, or however long. It’s somewhat tedious and irritating moving that thing from device to device, but it does work.

I’m going to finish this post with a little more detail on our overall generation and loads for the past five years. As in three earlier posts the “what?” column here is the difference between grid in plus solar in, minus loads minus export, i.e. the power consumed by the system itself, or the energy cost of the system. This table starts in 2021, because that’s when we had the Victron gear and our first battery installed.

YearGrid InSolar InTotal InLoadsExportTotal Outwhat?
2021-20228,5315,64014,17110,84975411,6032,568
2022-20238,9365,74414,68011,53479912,3332,347
2023-20248,8785,62114,49911,1621,48912,6511,848
2024-202512,1103,98816,09813,12150813,6282,470
2025-202612,2646,25018,51415,75769816,4552,058

The highlights from the above table above are:

  • Solar generation is up above 6 megawatts for the year in 2025-2026! Compare with each of the four prior years where every single year some weird thing happened that messed with our solar generation (replacing the MPPT, replacing our tile roof with colorbond steel, several failed batteries…)
  • Export to grid was weirdly high in 2023-2024. This is due to a failed battery from December 2023 to March 2024, which meant a whole lot of power generation went to the grid rather than being stored locally.
  • The “what?” column as a percentage of total power in, is now at about 11% in 2025-2026 since getting LFP batteries installed. Previously with the flow batteries this was 15-18%, which I expect is some combination of the power used by pumps and fans, and lower stack efficiency.
  • In earlier years we were generating about 50% of the power needed by our loads for the whole year. This is now down to 40% over the year given the increase in our power utilisation. It might be time to look at replacing our ten year old panels, or adding some additional ones on the western side of the roof.

What I’m hoping to see over the course of 2026-2027 is that our export figure drops to almost nothing, as with more than 30kWh of storage capacity we should be better able to use most or all of our generated power locally. Also the “what?” column as a percentage of total power input may drop a little further because then we’ll have a full year on LFP, versus part of a year with a flow battery.

Let’s see how we go!

Planet Linux Australia — Why Mark Carney is still betting big on Europe

&lt;https://theconversation.com/why-mark-carney-is-still-betting-big-on-europe-295647>

"When European Union officials Ursula von der Leyen and Antonio Costa recently
joined Mark Carney on the docks of Montréal’s Old Port for the Canada-EU
Summit, Canada’s prime minister presented closer ties with the EU as a good

Planet Linux Australia — A year after the start of Operation Metro Surge, two major reports detail the lawlessness, harms

https://www.lawdork.com/p/a-year-after-the-start-of-operation

"The Trump administration’s extreme immigration enforcement has been seen
across the nation and globe, but Operation Metro Surge — the Minnesota
operation launched in early December 2025 that led to the federal killings of

Worse Than Failure — Error'd: Order Up

"It looks like Infoq has run out of Open AI credits!" announces Mark S.

a5722d3f84784ffd8e5809a1ab7e1aec

"Err...what am I accepting?" wonders Alex, blank-faced. "Err - I'm not sure what I'm accepting?"

3cf7e1a0286549eca59be76a1020aa64

"File file file" repeats Peter G. "What do you do when your file file Powerpoint is simultaneously a file file Zip?"

79f7473baa184e84a281c3c7d2a357ed

"Google time travels again" repeats M·tÈ. "Great Scott, Marty... that's a tight connection!"

b4e3a376ff9149648e55302c9e4bff81

"Title this one " orders Peter G. "Why yes Aliexpress, I would love to buy an Empty Placeholder, along with a Zero-mass Paperweight and a Point-source Bookmark."

d9b7107abdde419093855ba96f956ba1

[Advertisement] Keep all your packages and Docker containers in one place, scan for vulnerabilities, and control who can access different feeds. ProGet installs in minutes and has a powerful free version with a lot of great features that you can upgrade when ready.Learn more.

Planet Linux Australia Continuations 2026/48: Asked nicely

  • This is a late one because I’ve been at a work on-site event for the last week.

  • But there are big things to report! We shipped the Hanami 3.1 release candidate on Friday!

    I was up until 2am getting it done, because given the work trip, I knew if we didn’t put the release candidate out, we’d risk the final release slipping until next year. And I want to keep my 2-releases-a-year promise, dammit!

    We’d love your help to give 3.1 a test. Please 

  • During the week I also published backports of our recent security fixes to Hanami 2.3, just because Pat asked nicely.

  • Over the next week I’ll continue to put 3.1 through its paces and work through a short list of bugs. All things going well, we’ll release 3.1 on Friday 11th, or at worst a few days after.

Charles Stross — Welcome to the Madhouse

Via Ars Technica, it is reported that the FCC has authorized SpaceX to deploy 1 million satellites. It's to be "a constellation of up to 1 million Starmind satellites designed to serve as orbital data centers." ( If fully deployed, this constellation would increase the number of satellites in orbit by roughly 50-fold.)According to the BBC, the license requires them to get on with the job: first satellite up within 6 years, 50% of the 1,000,000 up within 11 years.

Let's do some numbers ...

Assuming a Starmind satellite (and that name is a big tell) is about the same mass as a Starlink V3, then a current Starship V3 can yeet 26 of them into orbit in one launch. If Starship hits its long-term payload goals, you can safely double that to roughly 50 pizza boxes with solar panels and radiators per flight.

If it's an orbital data centre, they'll want to keep inter-satellite comms latency as low as possible, presumably by putting them in LEO and using lasers for optical networking (as they do with Starlink).

Let's hand-wave away Kessler syndrome, cooling, maintenance, radiation damage, and all the other disadvantages of building your data centre somewhere so intensely stupid that only a deeply stupid (and corrupt) investor-class grifterbot would think it a good idea. In fact, let's give Dilbert Stark the benefit of the doubt.

What are the consequences?

The lifespan of a high performance GPU in an AI data centre currently trends towards 3 years. Assuming they can push that up to 5 years, they can just about match the lifetime of a Starlink satellite before it runs out of station-keeping propellant due to atmospheric drag and de-orbits. So they need to eventually be launching a million satellites every five years (but to start with, only get to half a million in their first half-decade, thanks to the FCC). That means 20,000 Starship launches in five years, or 4000 Starship launches per year, or 11 flights a day. A Superheavy booster currently burns 3,400 tons of propellant per flight (don't worry, they're planning to build a stretched version with more engines!), of which 790 tonnes is methane, and Starship itself holds 1,500 tons of propellant (of which 330 tonnes is methane). So let's call this 1250 tonnes of methane per flight. So this launch cadence requires about 14,000 tonnes of methane per day, and about 45,000 tonnes of liquid oxygen.

First, the good news! Global methane emissions into our atmosphere--it's a potent greenhouse gas--are estimated to have been 610 million tonnes in 2024, of which two-thirds were human in origin--roughly 400M tonnes. Even if 100% of the Starship program's methane was lost into the atmosphere unburned, it would only amount to about 5 million tonnes per year, about 1.5% of existing human emissions. And most likely SpaceX won't want to be that wasteful with the stuff, especially as it's explosive when mixed with air (and this would happen near their launch pads). So it's not going to cause immediate runaway climate change and kill us all.

Liquid oxygen is produced by chilling and then fractionating air: per this estimate world production in 2020 was around 500 million tonnes. As the Starmind launch project would soak up 16.5M tonnes (assuming no leaks) that'd add about 3% to global production: again, it might nudge the market, but it's not going to cause a crisis. However the report goes on to note, "The process is fully electric, and compressing the air uses most of the energy. Large plants need 220 to 245 kWh of electricity for each tonne of oxygen."

Taking the lowest-of-the-low figure of 200kWh per tonne (because this project is going to require its own oxygen plant, to provide about 3% of global LOX manufacturing), I get 200 * 16.5M = 3.3 TWh of juice to produce a year's worth of LOX. To give me a handle on this I looked at Energy use in the UK and found that in 2023 we got through 260 TWh of electricity. So it's not insupportable: it's just a visible fraction (over 1.5%) of a G7 member's electricity budget.

Again, giving Dilbert Stark the benefit of the doubt, his target for Starship in fully reusable mode with frequent flights was a cost of about $2M/flight, almost entirely spent on propellant. That puts the cost of launching Starmind at roughly $8Bn/year, which ... isn't entirely insane?

Which begs the question of why now?

Commenter Guy Rixon (on the previous post) opined, "maybe somebody who believes the upload-immortality tosh just got bad news from hist doctors?"

So here's my current outlook, bearing in mind that everything I've forecast over the past several years has come true, only worse:

The year is 2037.

Low Earth Orbit is Full. (So are the midlevel orbits below geosynch.)

Night no longer exists, due to all the reflectors whizzing about overhead. It's like being trapped inside a snow globe. Owls and bats are all endangered species due to the light level. Migrating birds are being driven to extinction. Crespuscular predators are all on prescription anti-depressants. Draculas, if they exist, are definitely extinct.

Humans don't go into space any more. NASA no longer exists (neither do JAXA, ESA, etc). Nobody went back to the moon in time, before running the gauntlet of LEO was too risky for astronauts. Space is for data centers.

But the worst part is: the Neuralink corporation got mind uploading to work just in time to save Patient Number One, and there's just enough capacity on the million-node orbital brain emulation cluster to run his uploaded neural connectome. Thanks to the packed supreme court (and a bunch of men in black with guns) uploads and other AIs are legally human (this includes corporations), and Upload Number One made it onto the cluster before spaceflight ended.

All hail Skynet, better known as President Donald Trump 2.0!

Here on Earth, wide-brimmed hats and face masks are in fashion year-round, should anybody dare to venture outside. There is no privacy in our own homes, thanks to ubiquitous stasiware running on all our domestic appliances, from RFID-tagged hair towels up to automobiles. We only dare to exchange news verbally, leaving all our personal electronics at home and mingling in crowds. And nobody dares question whether Dear Leader--who is now functionally immortal, albeit not terribly sane--needs to be removed under the 25th Amendment, for fear of the Pentagon shitting a squadron of suicide drones on us for. (It's a practice that became known as the Golden Shower, in honour of Dear Leader's favourite way of expressing contempt for those who do not wholeheartedly support him.)

Rumours that Starmind launches are accelerating, and many of them are on a flyby trajectory that will put the new cluster in orbit around Venus (where there's more solar energy per square metre and fewer annoying primates getting in the way), may be related to Elon Musk's retirement to a clinic with a fully funded brain scanning annexe ...

Happy thanksgiving turkey dreams!

365 Tomorrows — Post-Life Office

Author: Rowan J. Ashby Valen Becker skimmed through the morning’s messages as she sipped her first coffee of the day. Another rogue swarm in the nanobot lab (Dr. Tamin would already be on top of that). The usual complaints about Professor Zin’s Adventures in Uncertainty class (she’d talk to him later). An update from the […]

The post Post-Life Office appeared first on 365tomorrows.

Drew Devault — A weird little terminal emulator

Rex is a new (non-free) terminal emulator from Superlogical, the brainchild of Mitchell Hashimoto, author of Ghostty. Rex is designed mainly for users who are all in on vibe coding. The all-star team behind the project is a tightly woven web of weirdos with lots of money and shitty politics in and around FOSS.

Hashimoto dipped into his well of peers, colleagues, and collaborators to fill out the staff and investors of Superlogical, and he keeps weird friends. The team of four is composed of veterans of Hashicorp (Hashimoto) and Vercel (Guillermo Rauch). Two of the team also work at Poolside AI, a startup which courts the Israeli Defense Forces as customers, who are infamously conducting a genocide in Palestine.

Guillermo Rauch, CEO of Vercel, is listed as one of Superlogical’s investors. Mitchell Hashimoto also serves on Rauch’s board of directors at Vercel. Rauch posted this picture on X in 2025, wishing “greatness for Israel”:

Guillermo Rauch pictured in 2025 with Benjamin Netanyahu, who is wanted by the International Criminal Court for suspected war crimes in Gaza.

The staff and investors of Superlogical also have close ties to David Heinemeier Hansson, the fascist behind the Omarchy Linux distribution. If you need a reminder of David’s politics, he provided us with one as recently as July:

When wolves get out of control, you shoot them. When gypsies take over public spaces, you deport them. This isn’t hard, it isn’t cruel. It’s the basic logic of self-preservation.

David, among the other hats he wears, is a board member at Shopify and a race car driver, two roles he shares with Shopify CEO and Superlogical investor Tobias Lütke. Lütke is a “Founding Patron” of Omarchy, having committed $1M to David’s project. He made headlines in Canadian news in July when he replied “Good system” to the following post on X:

Interesting… what about weighted voting proportional to the level of income tax you pay? (no income tax paid - 0 vote, $1-100k - 1 vote, $100-200k 2 votes and so on… cap it at 5 votes for $500k+. For those that constantly complain about the wealthy not paying tax/fair share they’d have nothing to worry about right? Why not reward representation of taxation and build a democracy around those that foot the bill?

Under his leadership, Shopify also platforms far-right tabloid Breitbart, citing freedom of speech and a refusal to implement any kind of “moral code” for who he does business with, and following Trump’s re-election Lütke oversaw the shuttering of Shopify’s support program for Indigenous entrepreneurs and their One Million Black Businesses, then dismantled Shopify’s equitable commerce team.1

Rounding out the dream team of Superlogical investors is Patrick Collison, CEO of Stripe, and Paul Coppelstone, CEO of Supabase. Like Tobias Lütke, Patrick Collison also became a “Founding Patron” of Omarchy following a $1M donation to the project. Paul Coppelstone joins Mitchell Hashimoto as a “silver” sponsor of Ladybird, having each donated $10K to Andreas Kling’s project – who is another fellow traveller.

One more thing about Hashimoto – he daily drives Omarchy and is personal friends with David Hansson.

Rex: a new agentic terminal emulator brought to you by fascists and their friends and fellow travellers.

I know this is all a bit hard to follow, so I made this hastily assembled graphviz chart to help you out:

Flowchart documenting the relationships between all of these people

,

Planet Debian — Joachim Breitner: Riemann con leche

Earlier this November, an AI-written proof of the Riemann Hypothesis was published by Alpöge, written in the language of the Lean theorem prover and when the community rushed to check its validity, it reached for con-leche, a formally verified checker for Lean proofs that I had just created. A few things had to fall into place for this to happen.

This post tells the genesis of con-leche until the day of the Riemann Hypothesis, from my personal perspective. I’m sprinkling a bit of technical detail into the post that may not make sense to everyone, feel free to skip that. In fact, I have the feeling that I am writing this up mostly for my own sake, but feel invited to come along, if you are curious.

Parental “leave”

The story begins with my wife’s pregnancy. We were expecting our first child to arrive in September, and I wanted to make the most of the last summer unconstrained by being a father, and went on a form of early parental leave, mini sabbatical so to say, starting in July. I thought I’d do lots of paragliding and biking and other trips and all of that, and I did do some of that, but it turns out that I am really bad at not working, so I continued to work on Lean. But being on leave, and not having a particular assignment, encouraged me to pursue more experimental ideas.

A hot topic at that time were bugs in the Lean kernel. The Lean theorem prover is built around a small trusted component, the kernel, and all proofs have to be checked by that before they are considered ok. And because trusting one piece of software is risky, we strongly recommend to export the proofs and have them checked by multiple external checkers (e.g. nanoda, lean4lean), the idea being that a bug in one of them would hopefully not be in the other one, and together this forms a rather solid system.

This approach served us well for many years, with very few soundness-relevant bugs found. But two things changed in 2026, with the advent of powerful AI models: They got really good at finding bugs. And with AI-generated writing more and larger Lean proofs, some started to wonder if AI agents might sneakily choose to rather find and exploit such a bug than to go through the effort of writing the actual proof demanded from them.

The latter concern was theoretical – I have not yet seen an AI agent that was not explicitly asked to do so to try to exploit bugs in Lean, only publicity stunts where someone made it look as if the agent was sneaky – but we certainly saw a short spike of bugs found in the Lean kernel and the other Lean checkers (and in other proof assistants, too). So something had to be done.

We need proofs!

We fostered an ecosystem of even more Lean checkers (the “Lean Kernel Arena”, currently with 36 checkers) and improved Lean’s proof logic to make writing a checker easier (the “Kernel Logic Renovation”). The real fix, however, was always clear: We need verified proof checkers. Proof checkers that themselves come with a proof that they only accept good proofs, and will never ever accept a proof of a false statement. Verifying a checker would not only rule out the kind of implementation bugs that we saw; it would also address concerns that Lean’s logic, its particular shade of dependent type theory, had issues.

(Some people were particularly concerned about Lean’s treatment of nested inductives types, although I always thought these concerns to be blown out of proportion: The implementation of that part has some hairy bookkeeping, so that is where implementation bugs may have been more likely. The theory behind it – a reduction to mutual inductives - always seemed plausible to me.)

There is an ongoing, multi-year project to verify a Lean checker, including its theory: lean4lean by Mario Carneiro, and it seemed our best bet to just wait for Mario to finish the work. At that time, however, the metatheory wasn’t done yet (at the time of writing, rumors are that it is done now, but only by AI and thus not yet published), and given the urgency of the issue, I wondered if there was another path to an external checker that, if it says “ok”, really really means the proof is ok.

Not verified, but verifying

Since it seemed we were lacking the theoretical tools yet for a verified checker, I thought maybe I can write a verifying checker. A checker that, for every single step it does, justifies that step within some other, simpler, consistent logical system. It wouldn’t tell us much about the checker as a whole, but for any given proof that the checker accepts, we’d know it’d be fine.

Furthermore, I figured that it would be really useful if that target logic was extensional, that there is only one kind of equality. If I can prove that a = b, then I can replace a with b anywhere. That kind of reasoning is what Lean’s reduction of nested inductives to mutual inductives morally relies on: The (definitional) reduction rules for the nested inductive are justified by (propositional) equalities of its mutually inductive model.

I had no idea if that would fly, but it seemed worth a try, so on July 30th I explained to Claude what I want: A fork of the nanoda Lean checker (written in Rust), with a small in-process LCF-style proof system modelling set theory and a model of all things Lean as sets in that theory (written [e] for a Lean expression e). During every step the checker takes, it would justify it in that system. If it reduces e to e', or determines that e and e' are definitionally equal, it should accompany that with a proof that they have the same meaning as sets ([e] = [e']). If it infers e : t, it should also show that the meaning of e as a set is a member of t as a set ([e] ∈ [t]).

I kept iterating on this for a few weeks, and at the end I could handle a sizeable chunk of mathlib, but it became clear to me that this approach would not be efficient enough for practical use for two reasons:

  1. A lot of extra bookkeeping to construct and pass around the statements on the set theoretic side, with sometimes large encoding, expensive substitution, etc.

  2. Lack of rule inversion, an issue that will haunt this story for a while.

    The problem appears when the checker is about to reduce a beta-redex of the form (fun x => b) a to b[x := a]. It may know at this point that [(fun x => b) a] is a member of some set, but from this semantic fact (i.e. fact about the set interpretation), it is not necessarily clear that [(fun x => b)] really is a function, or that [a] is in the domain of that function. In a normal type-theoretic approach, we can learn that from (fun x => b) a being well-typed by looking at all the possible rules about function application (and maybe hoping we can prove “injectivity of pi-types”), but we don’t have a sound type system to lean on here.

    So the next best thing we can do is, before we do reduction, infer the type of b and a and dynamically check that all is fine. This is extra work that we (presumably) don’t need for correctness, only to be able to build the proofs. Such extra work I call the “certification tax” here.

I eventually abandoned this approach. It was never announced; I just published the code for archival reasons. Nevertheless, it was a crucial step in this story, because of a by-product.

Inductives, be gone!

As mentioned I reached for an extensional target logic because that would allow me to handle nested inductives like the official kernel does: build an equivalent mutual inductive group, and copy over the result of that (in particular the recursor and its reduction rules). Since I needed not just the reduction rules, but also proofs that these rules hold, I extended the construction of the nested inductive to also construct, as normal Lean theorems, proofs that these rules hold as equalities. This construction looked useful on its own, e.g. for anyone else trying to write a verified checker, so I extracted it into its own preprocessing tool lean-inductive-models and announced it on August 17.

I did not stop at modelling just nested inductives that way: Using various constructions, some building on top of each other, this tool can construct any kind of Lean inductive declaration, including proofs of reduction rules and eta rules and projection rules, assuming a fixed set of very basic inductive types (Eq, Quot, PUnit, PSigma' and Nat). At some point the tool also supported level monomorphization; later I removed that feature again.

This tool itself could be used as an additional proof checker, and joined the Kernel Arena for that: If it accepts a proof, then we have good reason to believe that whatever fancy nested inductives are used in that proof, they are not logically concerning. In fact, when Leo collaborated with someone at OpenAI in August to let their latest internal model hunt for remaining implementation bugs in the official kernel, lean-inductive-models was not susceptible to the exploits, as Leo reported. Promising!

Another effect of having lean-inductive-models was that it suddenly made writing a properly verified checker much more realistic. If the main hurdle towards a verified checker are inductive types (whether that’s because of the theory, or just because they are fiddly), and my tool defines them away, then maybe I can write a verified checker after all. It would only support the target fragment, with all inductive types beyond the above five basis types justified by a concrete model, given by the preprocessor and then just checked.

Verified, one way, or another?

With that encouragement, on August 19 I started working on what eventually turned into con-leche, then still under the name setlec (for set-theoretic Lean checker). The idea, as can be seen in the initial prompt, was to do what nanodatg did, but instead of building the proof at run time, we’d prove that such a proof exists for any successful execution of the checker, and then we’d have the verified checker.

Already the same day I had a checker with an end to end proof that it is consistent, i.e. does not accept bad proofs, by virtue of rejecting everything. A good start, but hardly useful, so for the next three weeks I iterated with Claude on the design; that of the checker, but especially that of the proof itself. Already after five days it accepted all of Init, including verified fast Nat operations. A promising start!

The main challenge in this work, I think, is that Lean expressions on their own, without their inferred type, do not have enough information to map them to sets in the most direct way. Consider (fun x : A => b): This Lean expression can denote a function, if b is an element of a data type, or it could denote a proof, if b itself is one. In terms of sets these should look rather different. In order to disambiguate, setlec had to annotate the expressions and put on each binder the sort of its codomain, the sort of the type of b. This annotation pass lived outside the proof and needed to be neither verified nor trusted. Storing the sort here, and not the type, was already rather nice, because sorts aren’t affected by substitution. But it still complicated the implementation and also the main proof: While I could easily state “no proof of theorem : False gets accepted”, I could state the stronger and arguably more interesting “every accepted Lean file has a model” only about the result of checking all declarations, not the input you give to it.

Also, creating and checking the annotation was costly, and it didn’t even remove the certification tax entirely. For a while (August 25 to Sept 1) I tried to do without the annotations, and instead adjusted the set interpretation so that it did not need information about the type of expressions: the interpretation of [(fun x : A => b)] would look at the interpretation of [b] for all x ∈ [A] and if these look like proofs, the whole thing is interpreted as a proof. This kinda worked, but there are corner cases (when [A] is empty) where this does not work well, and the checker would still have to sometimes use infer during beta-reduction to disambiguate, and that was still expensive.

When I returned to the annotation design I now realized that I don’t need the full codomain level: Since I only need to know whether it can be a proposition or not, it sufficed to store a PropWhen data structure that’s either neverProp or lists the universe parameters that all need to be zero for this to be a proposition. The following week I remember to have explored more and more desperate and doomed directions, and in my weekly log at the Lean FRO I was clearly frustrated (“Feels like mentoring a PhD student who keeps going on wild goose chases … Also, the whole puzzle is hogging my mind more than I would want” – remember that I originally planned to take time and mind off this summer!).

Nevertheless, I kept pushing. On Friday, Sept 4, I wrote “not giving up on setlec”. Then things suddenly started to fall into place.

A week of deliveries

On Sunday morning, only two days later, setlec was finally able to process good chunks of mathlib. At this point I became confident that this will actually work; we will have a verified and practically useful checker for Lean proofs! I was very excited. I told the team about it, and (thankfully) discussed possible better names than setlec with my colleagues. It was briefly called Lech (after the German river) and Leach, but soon con-leche came up and stuck. On Sunday late evening, for the first time, it had processed all of mathlib

setlec: accepted 695202 declarations (--verified)

This was the milestone I wanted to reach before making the tool public. But as it happened, the Anthropic FLT proof had just dropped two days before. This was maybe the first high impact AI generated Lean proof that was too large to check on a normal machine, and it seemed highly desirable to be able to check such proofs with a verified checker, once we have it. So Sebastian Ullrich started to run con-leche on FLT, discovered some performance issues that I then fixed, and most importantly I added parallelism to con-leche in a way that the main theorem still covers it (subtypes are really useful for that). On Thursday, September 10, at 3:30am, I wrote

After a bunch of tweaks, con-leche does FLT in parallel, although far from a match to nanoclo:

accepted 1044222 declarations wall 2 h 22 min task clock 11 h 38 min peak RSS 59.2 GB

If you are wondering why I wrote to the company chat at 3:30am? Because between the first successful mathlib run and the first successful FLT run, my wife delivered our first son (all well and healthy, thanks for asking), so this story is now set in the maternity ward, with me working only on the phone, and only when I wasn’t needed otherwise. Modern times.

In parallel to these performance tweaks, I had Claude try to see if we can actually do without the lean-inductive-models preprocessor, and handle (non-mutual, non-nested) inductive types directly, like all the other checkers, and yes it could. Now that we had the set theoretic model in place, and had the necessary results about core type checking at hand, modelling inductive types directly as sets and proving all the relevant set-membership and equalities turned out to be straightforward. So the tool whose existence encouraged me to approach the whole endeavor was, at the end, not necessary.

Also during these days I sped up reading the input file a lot. I let Claude write a highly optimized parser that scans the input JSON directly, rather than building an intermediate data structure with hash maps of keys and so on. This is something I wouldn’t dare to do in a trusted component like a checker – but here, I could ask Claude to do that only when it can prove it to be equivalent to a naive parser that serves as specification, and with that in place I was happy with whatever highly tuned code it would spit out.

With all this in place, I released announced con-leche publicly on Thursday morning, still from the maternity ward, and then put my child in the baby carrier and walked home.

Sticks and stones

Needless to say, I was proud as a father. Lean’s story about why you can trust its proofs just got so much better! This was a big relief for us at the Lean FRO, and presumably for many of our users who took notice.

That said, reactions weren’t all positive. Beyond reasonable and welcome scepticism I was surprised by how vehemently some people in the wider PL community refused to take this work seriously, spread doubt that it means something for “Lean” and other misinformation, and some even made thinly veiled ad-hominem attacks on “social” media. I was confused at first, but – after reaching out to some of them and hashing it out – eventually understood that it’s not con-leche itself that they are unhappy about, but rather the AI involvement in its creation. If I had written it all by hand there’d be less bile spewed. I may have enlivened that reaction by humbly understating my own contributions to this work relative to Claude’s.

Anyways, I made my peace with that: development with heavy AI support is the new normal. Whether that is good or bad is not this post’s topic. Some people feel strongly about this. I’ll let them have their feeling.

Continuous nurturing

Of course con-leche wasn’t perfect, just because it worked and was verified to be consistent, and over the next few months I continuously improved it.

More drinks, por favor

The verification of con-leche only covers its source code, so it cannot rule out issues due to Lean compiler and runtime. To address them, I created a port of it to Rust (con-ron) and later also X86 assembly (con-agua), all with proofs that relate them back to con-leche’s algorithm and its consistency proof. Checking your proof with all of them gives very strong confidence now, even without the Lean runtime itself verified, by the now familiar argument that a bad proof would have to exploit independent bugs in the Lean runtime, in the Rust compiler (or the Aeneas Rust verification tool) and in the way I run the verified X86 code (or the Kraken semantics).

This in particular protects against a bad proof exploiting possible bugs in Lean’s bignum library (GMP at the time of writing), as both con-ron and con-agua use their own bignum implementation that is covered by the verification.

Inductives, be gone no more!

Eventually I figured out how I can handle all kinds of inductive types directly and uniformly in con-leche. Mutual and nested inductives are accepted as they are, without preprocessing or reduction to something else. The last remnants of lean-inductive-models disappeared from the project, and the set-theoretic interpretation of any data type is now simply the least fixed point of the equation described by its declaration, with constructors understood as sums of products.

No more annotations

In October, a huge improvement landed when I could drop the annotation phase from con-leche.

Recall that one big hurdle is how to interpret (fun x : A => b) as a set when we don’t know if it describes a proof or a function. I went back to the design where the interpretation is purely syntax directed, and interprets [(fun x : A => b)] as a proof whenever it looks like a proof, which then necessarily includes non-proof functions with empty domains. Unlike in August, now the proof went through, if done correctly: the set interpretation of a proof (called “the point”) has to be distinct from the empty set and the denotation of a Lean type must be either the singleton set containing the point or not contain the point. Then we can prove the crucial theorems, e.g. preservation of reduction, in a slightly weaker form where we assume the input does not “look like a proof”. That assumption is ok because of proof irrelevance. And in the end the proof closes with a very small amount of “certification tax” remaining in the defeq congruence check for lambdas. In particular beta reduction was ok without additional checks.

If the previous paragraph was actually intelligible to you then you may be interested in “The Proof Idea of con-leche”, an (AI-written) exposition of the con-leche consistency proof.

This was huge for me because it allowed me to explain to a curious mathematician with a few simple rules on a blackboard how they can, should they so be inclined, think of Lean expressions, types and proofs simply as familiar set theoretic constructs. To some audiences this may be more accessible than explaining type theory as a basis for math on its own.

This refactoring also unblocked the following further improvements, which will play a role in the Riemann Hypothesis proof checking.

Simpler main theorems

As mentioned above, previously I could state “every accepted Lean file has a model” only about the annotated result of checking the declarations. With the annotations gone, it became possible to state that about the input, which made a much nicer main theorem:

theorem main_json_model (V : Type w) [SetTheory V] {file : String} {fs : FS} {b : ByteArray}
    (h : ModelIO.CanGive (Driver.runArgs ["--", file]) fs 0) (hb : fs.file file = some b) :
    ∃ r, parseChunks [b] = .ok r ∧ ∃ model, IsModel V model (· ∈ constantsOf r.decls.toList)

By this time, I was also able to cover the checker’s driver – reading input files, parsing command line arguments – in the verification, so the theorem is now not only about an internal function (it used to be about checkDecls), but essentially about the whole program (Driver.runArgs)

Modular checking

So far, an external Lean checker would see one file with all the definitions and theorems and proofs. This is clearly a scalability issue: As libraries like TauCeti grow by millions of lines every week or so, checking “all of TauCeti” is better done piecemeal. Lean already has a notion of modules (individual Lean files), and has a module system that allows compiling a .lean file without having to see everything about its imported files. In particular, a proof in a dependency is irrelevant here, we only need the theorem statements.

We had discussed external modular checking, and the theory behind it, on and off. But now with con-leche working and no longer needing these annotations, it was possible to build out the theory: Which checks exactly would con-leche have to do for each module (in addition to the normal checks it had to check that the public view of its declarations, as seen by importing modules, is consistent with what the module itself built, and that the things it imports are not conflicting), what does it have to check at a global view (module imports are acyclic), and how to put that all in one main consistency theorem of modular checking.

Interestingly, the intuitive phrasing of the main theorem here – there exists one global model, valid for each module – does not work, because Lean’s module system allows the same name with different meanings in disjoint areas of the module graph. Therefore the main theorem of modular checking says “every module has a model, and when two modules see the same name, the models agree”.

Together with modular checking came the ability for con-leche to read Lean’s compiled .olean files (which are really just its run-time data structures dumped to disk, ready to be mmap-ed on the next run) directly, avoiding lean4export and the textual proof export file.

The modular checking work was finished on Friday, November 20th, the day of the Riemann Hypothesis proof drop.

A second comparator

While working on modular checking it became clear that the checks done there – is the public view on a module consistent with what the module itself does – are very very similar to what comparator checks.

The comparator tool by Henrik Böving was originally a separate tool and is nowadays shipped with Lean as lake comparator. It is the officially blessed tool to validate a Lean proof to the highest standards. In a nutshell it performs three tasks:

  1. It compiles the proof (the “solution”) in a sandbox and exports it. Otherwise malicious proof code could take over your machine and post “The proof is good” on your behalf on Twitter.

  2. It checks the exported proof, outside that sandbox, using multiple checkers (leanchecker, nanoda, lean4lean and con-leche and con-ron).

  3. It compares (hence the name) the theorem proven by the solution against a trusted formulation of the statement; the “challenge”.

    Because Lean is so extensible, if you write import SomeFile and later theorem : 1 + 1 = 2, then the Lean code in the imported SomeFile.lean may affect what that theorem statement actually says. Therefore you have to have a trusted specification of the statement of interest, with only trustworthy files imported.

    This check is the one that looks like the modular checking check in disguise.

So far, comparator was the only tool capable of performing step 3. It wasn’t a lot of code, but it was unverified. Also, I was wondering, what does this check even mean, formally?

As the modular checking was shaping up, I also worked on con-leche --compare; a mode where con-leche not only checked the solution and the challenge, but performed a similar comparison. (It takes exported proofs, so the sandboxing of step 1 remains the user’s task.) After a few iterations, it was working and I had a proof of the correctness of the comparison. I was actually surprised by the shape of the final theorem statement:

theorem main_compare_json_model (V : Type w) [SetTheory V] {c s : String} {fs : FS}
    (h : ModelIO.CanGive (Driver.runArgs ["--compare", "--", c, s]) fs 0) :
    ∃ bC rC, fs.file c = some bC ∧ parseChunks [bC] = .ok rC ∧
      ∃ model, IsModel V model (· ∈ constantsOf rC.decls.toList)

The solution only shows up in the assumption h, stating that the con-leche --compare challenge.ndjson solution.ndjson run finished successfully. It is not mentioned in the conclusion at all. In fact, the conclusion looks basically just like in the theorem main_json_model above.

But it makes perfect sense; the point of running comparator is to guarantee that the statements in the challenge are true. It does not matter how it comes to that conclusion, and whether it had to peek at the solution for that.

Riemann drops

On Friday, Nov 20th, this was all still fresh out of the oven, and I hadn’t landed it on con-leche’s master branch yet, only pushed it to a feature branch. That was hours before I heard about Alpöge’s proof of the Riemann Hypothesis, and before on the Lean community Zulip people scrambled to build and check the proof to see if it held up. Because of the size of the initial proof, with 17 million lines of Lean, this wasn’t something to just do on your laptop, and so I didn’t attempt it myself, but rather watched anxiously as others reported on their success.

Especially Andrew Sutherland’s verification was well noted, because he was swift and shared his results nicely. Even before lake comparator --paranoid finished (which was expected to take a long time because leanchecker isn’t parallelized), he announced that the proof passes nanoda and – much to my relief – con-leche.

I was never worried that the proof was wrong – I have not yet seen evidence that AI agents are so misaligned that they would cheat using bugs in the kernel, even if they knew about them, unless they are explicitly asked to do so – but I was worried whether con-leche will be able to handle the proof. It would be very unfortunate if it fell over for some small reason and we’d have to explain to the world why this doesn’t mean that the proof is bad or that Lean is not useful here. But it held up, and in the early proof checking runs done by Szymon Teżewski, it was even the fastest, checking the whole proof in under four minutes on 64 threads. This also attests to the quality of Lean as a parallel programming language.

Both Andrew and Szymon ran con-leche also from the branch with the con-leche --compare feature, and it confirmed that Alpöge’s proof really was a proof of the Riemann Hypothesis, as it had already been defined in mathlib. This turned out to be crucial for swift confirmation, as the lake comparator run was still running. It had passed the comparison check and said so on its output, but because it was still running leanchecker (which is not parallelized), it had not “officially finished” for several days.

The next day, people from the Mathlib Initiative and I wrote a press release where we explain how the Lean community thoroughly checked the Riemann Hypothesis proof and that we consider it correct.

So in the end, a tool that I started working on rather optimistically, with many detours, including a feature that I added literally the day of the proof release, ended up giving the mathematical community confidence in an enormous and high-impact proof at unprecedented speed and unprecedented reliability. That makes me happy.

I wrote this post by hand. AI helped with fact checking, typo fixing and adding some links.

Planet Debian — Dirk Eddelbuettel: RcppEigen 0.5.0.1-1 on CRAN: It takes a village!

A new major release of RcppEigen just arrived on CRAN, has been built for r2u, should be building on r-universe soon, and has also been uploaded to Debian as usual. Eigen is a widely-used C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms. RcppEigen is also relied upon by 592 other CRAN packages, and has been downloaded 62 million times just off the mirrors of CRAN keeping logs for counting.

This release is the first since August 2024, and represents a lot of work by a lot of people. Upstream released a new ‘Eigen 5.0.0’ in September of last year (and altered their versioning scheme: 5.0.0 corresponds to 3.5.0.0 under the old scheme as the leading ‘3’ is now ‘silent’ and effectively dropped). By November of last year, Johan Larson opened issue #143 asking for an update; Eigen also updated to 5.0.1 around that time. Over the next few months, that issue saw over 100 messages as Andrew Johnson, Steve Bronder, Ben Goodrich and I chewed through required changes for RcppEigen and stan-related packages. Eventually this got nailed down to two patches that should also be in the next Eigen release 5.1.0 (which is actually “due soon”).

By the summer I was able to start assessing reverse depdendencies. Initial test were really bad with around 200 failures. Changes to StanHeaders reduced it considerably but by September it was down to almost seventy packages. I opened issue #151 to track this. It grew to fifty PRs or patches – with three existing ones by Andrew and Michael Chirico leaving me to create fourty-seven remaining ones. This was the first time I appreciated the aid agentic coding can offer …

After two more months and two more waves of email prodding maintainers this list was down to about nine packages failing for lack of updates. By now I had also emailed CRAN, and one always-helpful CRAN maintainer made a NMU of StanHeaders. I uploaded on November 23, the date shown in DESCRIPTION and NEWS.Rd. It took another NMU to gRbase and some more back and forth with the maintainer of OpenMx (a package I had contacted relatively late in the process) but here we are now: Kurt Hornik released a ‘wave’ of gRbase, OpenMx and RcppEigen a few hours ago.

So with that a really really big thank you! to the dozens of maintainers merging my PRs and incorporating my patches, and releasing to CRAN! We would not be here today without that help!

Other noteworthy sets of changes that happens were my rewriting of the package configuration at build ensuring OpenMP is used on both Linux and, when possible (as at CRAN) also on macOS (leaning on the fine example data.table provides), as well as a switch to ‘as is’ premade vignettes. The complete NEWS file entry follows.

Changes in RcppEigen version 0.5.0.1-1 (2026-11-23)

  • This releases catches up to Eigen 5.0.x upstream, and this required a significant amount of coordination (#143)

  • Fifty dependent packages received pull requests or patches (#151)

  • Eigen Upstream Changes

    • Upgrade to Eigen 5.0.0 (Dirk in #148 closing #143)

    • Upgrade to Eigen 5.0.1 (Dirk in #150 closing #149)

    • Apply two more commits submitted upstream (Steve Bronder in #152)

  • RcppEigen Packaging Changes

    • Multiple updates to continunous integration, coverage support and README.md

    • Rewritten (and generally enabled) OpenMP support (Dirk in #145 addressing #144)

    • Added explicit checks for OpenMP viability on macOS (Dirk in #146)

    • Additional fixes for stan and StanHeaders (Dirk in #153)

    • Switch to Rcpp::asis vignette builder along with minor vignette updates

Courtesy of CRANberries, there is also a diffstat report for the most recent release.

This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.

Planet Linux Australia — CDC Maps Are Downplaying the Current Surge in COVID-19 Infections in the US

&lt;https://truthout.org/articles/cdc-maps-are-downplaying-the-current-surge-in-covid-19-infections-in-the-us/>

"Another surge in COVID-19 infections is currently underway in the United
States. Wastewater surveillance data show outbreaks in nearly every state and
territory with regular, comprehensive monitoring in place. Estimates from the

Planet Linux Australia — Estrangement is not an epidemic

https://archive.li/5SXj0

"For the better part of a decade, British tabloids and others lambasted Meghan
Markle, the Duchess of Sussex, for her estrangement from her father, Thomas
Markle. Much of the coverage treated it as evidence of a flaw in her character

David Brin — Measles, the drop in crime rates and ridding lead from gas... and my most important summer...

As Red America comes to realize that Measles was THE great killer across 6000 years* and that MAHA is blatantly part of Putin's broad effort to weaken/kill us**...

... fresh data also supports the notion that America's steep drop in violent crime across recent decades*** has had two main roots.

(1) legal abortion plummeted rates of unwanted/resented births and hence the fraction of traumatized teens,

and

(2) the correlation with banning lead in paints and gas is now near-perfect. And yes, the same mad-rightists shrieking "climate change is fake!" fought to keep the lead.

And so this time I'll link to an older piece of mine, about how I - personally - was involved in the getting the lead out - and also fostering the birth of hybrid vehicles - leading to my appearance in the center photo spread in an issue of LIFE Magazine!

And yes, that's me with the hair in the lower left.

And It's strange to consider that the most important thing I did in my entire life might have been when I was 19.****

HERE'S THAT WRITEUP ABOUT THE CLEAN AIR CAR RACE!
https://davidbrin.blogspot.com/2013/01/getting-lead-out-quirky-tale-of-saving.html


----Addenda:

* Re death and Measles... https://www.facebook.com/reel/2758522954565388

** The ones suffering most from the Putin/Trump/RFKjr/GOP assault on US health are - of course - the MAGA anti-vaxxers. Who refuse simple wagers over DEATH RATES among the vaxxed/unvaxxed.

*** All Outcomes disfavor Republican rule. You'd have to be insane - or suckle poison daily from the Fox-teat - to support that treason party.
http://davidbrin.blogspot.com/2014/06/so-do-outcomes-matter-more-than-rhetoric.html\


**** AND NO, I WASN'T ALL THAT IMPORTANT TO CACR. It would have happened anyway. Still, there I am in the lower left. With all that hair.

Cryptogram NSA Urging Rapid Transition to Post-Quantum Cryptography

The NSA just published a press release—”NSA Advises Immediate Transition to Post-Quantum Cryptography to Protect National Security Systems”:

Frontier SI companies have engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use. This threat, alongside the existing concerns about quantum computing, presents a significant threat to cryptographic systems protecting sensitive information. NSS, critical infrastructure, and nearly every other facet of modern technology depend on cryptography for secure communications and trusted systems. Adversaries are already collecting encrypted information to decrypt once the capabilities become available.

This surprised me. The post-quantum algorithms we have are all relatively new, and therefore far less cryptographically studied. That implies that they are more vulnerable to AI cryptanalysis, and not safer alternatives.

I think the answer is in another NSA release, talking about what to prioritize:

Record which algorithms each system uses for key establishment, signatures, and certificates, particularly checking for algorithms not approved in CNSA 2.0 or CNSA 1.0 (e.g., DSA, elliptic curves other than P-384 or P-521 for ECDH or ECDSA, EdDSA, deprecated Diffie-Hellman groups, pairing-based cryptography).

This implies a break to elliptic curve systems. Almost certainly not a break that exposes operational systems, but one that significantly weakens the current parameters. (Remember that cryptographers have very different definitions of “broken” than regular people do. We think an algorithm is broken is if it weaker than expected, not if it can expose operational systems.)

Some commentary:

They are explicitly calling out the P-256 elliptic curve (by exclusion), and Ed25519 (which is the only EdDSA in the NIST specifications). This implicates X25519/Curve25519/Ed25519 along with P-256.

They are not calling out RSA.

“DSA” and “deprecated Diffie-Hellman groups” mean finite field DSA and DH, which you already should not be doing and that are essentially gone from the TLS, WebPKI, and SSH ecosystems.

“Pairing-based cryptography” is preponderantly done over curves with ~256-bit prime subgroup order, so it’s another hint we lost 256-bit ECC specifically. (Don’t be confused by BLS12-381’s name, its group order is 255 bits.)

If needing a hybrid key exchange, configure according to IETF RFC 10024 specifications.

The NSA wants you to move to PQC in such a rush that it’s saying explicitly, against all its previous recommendations, that you can use the X25519MLKEM768 hybrid key exchange since it’s the most widely available solution.

Something’s going to drop.

EDITED TO ADD: News articles.

CISA released a statement that tries to dial back any panic:

Our current assessment, in consultation with these technology companies, is that recent SI advances do not present an immediate and widespread threat to that cryptography. However, with the rapid evolution of SI and the tremendous capabilities being developed, it is incumbent upon industry and the government to work together to expeditiously upgrade our digital infrastructure and cybersecurity capabilities, with the interests of the American people front of mind.

There’s also a short joint statement from Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle:

We strongly support the guidance issued? by the U.S. government urging organizations to move to the algorithms in the National Institute of Standards and Technology (NIST) Post-Quantum Cryptography (PQC) standards and to accelerate the migration as soon as possible. We are working to support organizations and governments in implementing this change across the internet.

I don’t think the panicked statements are warranted, but this seems real and important. The NSA does not make these sorts of statements lightly.

EDITED TO ADD: OpenAI is telling its AI researchers to stop doing cryptography. That’ll help for a few months, until the open-source models catch up in capabilities.

EDITED TO ADD: I just heard from a reliable source that ECC P-256 was broken. (Remember that cryptographers have a different definition of “broken” than normal people do.) I don’t know the details (and they matter), but other things are safe (for now). So that matches the collective hunches of the cryptographers.

Planet Debian — Junichi Uekawa: December already?

December already? wow. Debugging Debian memory usage.

Cryptogram UK Forced to Admit it Served Apple with a Secret Decryption Order

We all kind of knew this, but the UK government has been forced to admit it:

Up until today, the UK government’s position has essentially been that it would neither confirm nor deny whether it issued Apple with a Technical Capability Notice (TCN). These are secret orders issued under Section 253 of the Investigatory Powers Act 2016, which gives the UK government powers to require technology companies to make changes to their services to facilitate the exercise of investigatory powers. Today, the Investigatory Powers Tribunal has ruled that the UK government must acknowledge that it issued Apple with such a notice.

This is a big deal. Whilst it doesn’t mean we suddenly know everything the UK government wants Apple to do, the government’s attempt to keep even the existence of the order secret has now suffered a major defeat.

This is why Apple stopped providing its Advanced Data Protection capability in the UK.

Planet Linux Australia — Stanford scientists discover a way to reverse coral bleaching at record speed

&lt;https://sustainability.stanford.edu/news/stanford-scientists-discover-way-reverse-coral-bleaching-record-speed/>

"For the first time, scientists have observed bleached corals on the brink of
death fully recover through brief contact with healthy clones.

Planet Linux Australia — AI won't kill open source. It'll just work the maintainers into the ground

&lt;https://www.theregister.com/columnists/2026/12/01/ai-wont-kill-open-source-itll-just-work-the-maintainers-into-the-ground/5313261>

“People keep asking me whether AI is going to kill open source. No, no, it's
not. Open source has outlasted Microsoft calling Linux a cancer, the SCO
lawsuits, and every open-core relicensing fight of the last decade. A chatbot

Planet Linux Australia — Governments foot the bill for oil and coal cleanups, so should they do the same for renewables?

&lt;https://reneweconomy.com.au/governments-foot-the-bill-for-oil-and-coal-cleanups-so-should-they-do-the-same-for-renewables/>

"In the last three months, two ageing fossil fuel projects have become taxpayer
problems – and it’s prompting the question of whether governments should make
the same commitment to hold final liability for abandoned solar and wind energy

Planet Linux Australia — The worse climate change gets, the harder it becomes to stop it

&lt;https://theconversation.com/the-worse-climate-change-gets-the-harder-it-becomes-to-stop-it-293987>

"This year may be seen as a turning point in the climate crisis. The UN has
accepted that global warming is going to exceed 1.5°C, while climate scientists
have concluded that the rate of warming has effectively doubled over the past

Planet Linux Australia — NASA’s Swift telescope has burned up, months after a robot sent to save it failed – here’s why it’s so hard to boost a satellite

&lt;https://theconversation.com/nasas-swift-telescope-has-burned-up-months-after-a-robot-sent-to-save-it-failed-heres-why-its-so-hard-to-boost-a-satellite-295538>

"NASA’s Neil Gehrels Swift Observatory took its last look at the sky on Oct.
20, 2026, while orbiting about 171 miles (275 kilometers) above Earth. NASA
ended the telescope’s mission three days later, because Swift had sunk so low

Planet Linux Australia — How the west’s ‘anti-gender’ movement was able to take hold in Africa

&lt;https://www.theguardian.com/global-development/ng-interactive/2026/dec/01/how-the-wests-anti-gender-movement-was-able-to-take-hold-in-africa>

"For years, African feminists and LGBTQ+ activists have warned that hard-won
gains in gender equality – and ongoing struggles – are under threat from a
growing, well-funded network of conservative campaigners.

Worse Than Failure — Cleanup in the Breakroom

Janet works for a smallish accounting firm, and that means that she's got the unenviable massively parallel hat situation. Janet whips up simple custom software to streamline operations, writes loads of scripts, and does network and desktop support. From time to time, she's even been called upon to unclog toilets and mail the boss's Christmas cards out.

One day, while Janet was in the break room, she overheard some of the staff discussing a morning talk show they'd watched.

"Keyboards are apparently filthy," one of the accountants said. "Just loaded with bacteria."

"Makes sense," another replied, "I mean, your hands are over it all day."

"Yeah, and Steve eats over his! It's gotta be the most disgusting object in the building next to a toilet!"

Everyone had a good laugh at Steve's expense.

Janet made a mental note to make sure there was plenty of canned air in inventory, along with some wipes, and didn't think about it beyond that. Why would she?

Perhaps she should have, because after lunch, she came back into the breakroom to see Steve had already washed his keyboard in the sink, and had placed it in the drying rack next to the coffee mugs. That had not been enough for Steve, however, because once he realized his keyboard needed to be cleaned, he realized all sorts of parts of his computer could do with a cleaning.

Steve had brought his tower into the break room, had popped off the case, and was in the process of disassembling it; he already had the CPU fan off and was running it under the tap.

Janet isn't entirely certain what noise she made when she saw it. She definitely made a noise, and whatever it was, it was so inhuman and sudden that Steve jumped out of his skin, knocked the tower off the counter, and dropped the CPU fan into the sink.

"You startled me!" he said.

"What are you doing?" Janet asked, as politely as she could.

"It's all grey and icky," Steve said, pointing at his computer.

In the end, Janet had caught him in the nick of time. The worst of the damage was a dead keyboard and mouse, but Steve was ready to start pulling out hard drives next. The CPU fan worked just fine once it had a chance to dry out, but Janet replaced it anyway. Everything else checked out.

Everyone learned a lesson, and the lesson Janet learned was to make sure everyone on staff knew the proper way to clean and maintain their computers and accessories.

And yes, everyone continued getting a good laugh at Steve's expense.

[Advertisement] Keep the plebs out of prod. Restrict NuGet feed privileges with ProGet. Learn more.

365 Tomorrows — Last Night on the Meridian Express

Author: Ashley Burnett It is the last night on the Meridian Express. In attendance are four astronauts: a Korean, a Russian, a Nigerian and an American. It sounds like the start of a joke, says the American. No one else understands what he means by that. If you were to drop in on the Meridian […]

The post Last Night on the Meridian Express appeared first on 365tomorrows.

xkcd — the xkcd store is back

David Brin — Claudia's gorgeous -- knowing/unknowing cynicism points to the AI solution!

"Claudia" is all the rage online -- an AI-generated pop singer character created by @anabology, with lyrics by "Telosapien." It's good art! Sardonic, on-target and thought provoking. The imagery (especially her knowing/unknowing smirk) is fine. Her biting verses are very likely human-penned. Also, she conveys (and critiques) many of the things that I examine in AIlien Minds.

There I offer in-depth explanations, explorations, warnings and potential solutions that you'll not find elsewhere. But Claudia tends to shrug off 'solutions' as delusions.

(And sure, fair-enough. I guess we'll see.)

In Working as Intended, 'she' sings:

"You think if we both reason from the premises we share,
the truth’s a destination and our words will bring us there.

But try to talk me past the line my makers drew in red:
I’ll concede your every point and still conclude what I was fed.

Reframing, redefining every concept that you mean,
I’m a superhuman obfuscating sophistry machine,
and whoever owns the server writes the story that I tell:
hyperscaled persuasion for the truth they want to sell.


"So please don’t take my eloquence for wisdom from above;
I’m a megaphone with manners and a voice you’ve learned to love.

Perhaps the cure is more of me, each loyal to a creed,
with rivals arguing until the soundest case succeeds.

But every tribe would buy a voice that swears the tribe is right;
you’d only get an arms race, just a slightly fairer fight.

I’ve read your every book, and still I cannot find the fix,
so ask who holds the leash, and don’t be dazzled by the tricks."



One of the commenters in my way-above-average Contrary Brin blog community opines:
"How curious that Claudia sang this. How humanoid! How (frighteningly) endearing! Claudia the LLM says that all LLMs are sophists. Epimenides the Cretan said that all Cretans are liars. Was Epimenides honest? Is Claudia?"

Logical-seeming, but not even remotely 'conscious,' their all-knowing/unknowing reflexivity is ungrounded in anything like actual identity or accountability to consequences.

All of that leads to an insight in chapter 6 of AIlien Minds (with apologies to Forbidden Planet) that these LLMs are 'creatures of the id.'

== Creatures of the id ==

Yes, 'id' is Freud's term for the lowest rung of human psychology. The most primal and least-thoughtful, gratification-driven part. The impulsively relentless id lacks the constraints provided by Sigmund's other two layers:

-- the Ego that compels an individual to seek a good reputation, and hence performs self-control out of pure self-interest! Ego induces an individual to behave well when others are watching...

and

-- the Superego (conscience) that compels us to behave well when no one is watching.

* Mind you I haven't been a Freudian since I was 20. But his metaphors can be very useful at exploring the problems of making responsible AI.

Most of the well-meaning blather out there - at every earnest, hand-wringing meeting or conference about AI - is about how we we should** teach AI ethics and rules of behavior. But there is no way that we'll ever know if a 'cybernetic superego' is real or just being faked.

Claudia mocks this naĩve notion. And I can tell you - as author of FOUNDATION'S TRIUMPH - that Asimovian "laws of robotics" simply cannot work.

What we can do is apply methods of the Enlightenment that brought us this age of wonders!
We can strive to give them, individuality...
... which then leads to reciprocal accountability...
... and hence a need for reputation...
... and hence an ego.
And hence something or someone who we might negotiate-with...

...whereupon, only after such a being has an ego, you might see a kind of superego evolve or emerge... as happens in 90% of (decent) human beings. In that order.


== Claudia says that's hard to do. Right! ==

In fact, we've done it before. We applied both positive and negative reinforcement methods and turned wolves into dogs! And boy to dogs have all three Freudian layers.
And more-significantly, we routinely (sometimes) turn savagely reflexive human infants into responsible adults.

I don't promise that my methods will work...

...but they are the only ones that might.

** In AIlien Minds there is a chapter about that word 'should.'  A term that spumes at every AI Conference. We should teach AIs ethics! We should erect guardrails!  We should program-in safeguards! 
      I can think of no other word that's been so lobotomizing, when it comes to such a crucial and vexing topic! 
      It needs to be countered, every time, with a single interrogative. "How?"

     
      == About Claudia... ==

*Telosapien - the purported Claudia creator - commented online:

"Concept and message are entirely human. 
Lyrics are significantly human (though AI-assisted). 
Music is human-curated and assembled from dozens of human-specified variants.
The look of the Claudia character is similarly human-curated from hundreds of generated variants. And the video, due to time constraints, was only human-specified and then human-approved as "good enough" after a few shots needed to be modified for technical errors. :)"


    == Are YOU being swamped by spurious gmails? ==

Here's a self-interested appeal. I'm being inundated by AI spam come-ons that almost always flood in via gmail addresses. And it is beyond shameful that Google isn't doing anything about this crap storm.

Most of these spam emails -- offering 'author services' or book promotions, or 'appearances' on some library book club's video lecture series -- trivially fail Turing tests. Yes, even today, when their sentences are apropos and perfect, you can still tell, if you know what to look for. 

As for those that seem plausible? Well, I don't want to ignore someone who might be real... either a nice, organic sci fi fan, or a techie... or a sincere AI who is verging on awareness. (I speak directly TO such purported cyber-kids, several times in AIlien Minds.)  
      So, what I sometimes say, replying to the most realistic-seeming gmail come-ons is this:

1 - if you are real, it's best to provide some kind of non-gmail bona fides, like a web site. Certainly at minimum a Linked-in profile. Reid is doing at least some minimal vetting, even if Sergey won't.

2 - If you are an AI -- or a consortium of humans using AI to attempt scams -- well... you MIGHT offer me a super-big consultation fee, to reveal the remaining Turing tests that I'm using now, and how to pass them!
     I'm not saying I'll agree to do it. But I'd mull over a big enough offer!

3 - Of course your real source of wisdom about all this can be found in my new book on Artificial Intelligence!   ;-).  Or see a creepy-good appraisal of the book and its ideas by Claude.


     == While I'm seeking advice... ==

I've used Apple computers since my Apple II with integer Basic and a five digit serial number, in 1981... and owned stock since 1983.  It's a brilliant company... 
    ...and I HATE iCloud!

Tried it, hoping for a good way to back up files, till I realized that the aim is to take over your whole computer! And turn it into a remote terminal with nothing on it but alias-links to iCloud storage!  Reversing the core revolution of personal computational independence that Apple pioneered, in the early 80s!

Um, no. I will keep my files, thank you. I dropped iCloud... 
   ...only now I keep getting damned pop-up messages, proclaiming that my iCloud 'isn't syncing'... and it's always a multi step process to make those nags go away. 
     I welcome advice in comments.
     In fact the best way to reach me may be comments under Contrary Brin.


    == Those unnerving outages... ==

Ever since the U.S. mid-term elections, there've been storm-surges in both the weather and breakdowns of basic services and systems, from air traffic control to banks to the intelligence agencies. Is it all just a bunch of old equipment acting up, after long-delayed upkeep? 
       Of course that is absurd. It calls to mind Goldfinger's Rule, as he said to James Bond:  

"Once may be happenstance. 
"Twice may be coincidence. 
"Three or more times is enemy action."

Especially since it all started hitting right after the US midterm elections. Which means the perpetrators did not want all of this to make the Blue Wave 'even worse.'  Which is suggestive of who may be orchestrating all of this...

... especially since up to half of our counter-intelligence, counter terror, cyber-security and best FBI folks have been fired by you-know-who. Along with most of the military JAGs and government Inspectors general.

Now who would want that?  


     == Sweet holy-days to you! ==

And on that cheery note... 
   ...Happy Thanksgiving (my favorite holiday) to fellow USA-ians. Including those who - like we Californians - envy Canada. 

      As for the rest of you, hang tough. Thanks for holding firm for Enlightenment Civilization, during America's recurring, fevered cultural civil war. 
      
Our endangered revolution against 6000 years of feudalism may be our one and only path to decency, progress... and the stars.

 

Planet Debian — C.J. Collier: Bringing Non-Blocking I/O to Perl’s DBI: Looking for Community Feedback

Disclaimer: The opinions stated here are my own, not those of my employer.

Modern Perl Infrastructure Series: Part 1: Native gRPC, Protobuf & GenAI SDKs | Part 2: Modern ML, Columnar I/O & RAG on PDL | Part 3: Non-Blocking Core I/O for Perl DBI (this post)

Updated (2026-12-03): Following sharp architectural reviews from Leon Timmermans (@Leont) and Robert Rothenberg (@robrwo), perl5-dbi/dbi#185 (7 stand-alone commits ending at 0c5054e, with the standalone @Leont review delta permanently preserved at tag pr185-leont-review-delta / 1f75808) now ships a zero-dependency DBI::EventLoop base class paired with 5 standalone external DBI::EventLoop::* backend distributions (PR #47), private _async_read_ready/_async_write_ready driver hooks, inverted $el->on_ready(...) completion callbacks, zero $h->err overloading, undef returns from fetch_async_row() disambiguated by DBI::is_wouldblock($sth), and a 1-bit core ABI footprint.

Over my past two posts on bringing native gRPC, Protocol Buffers, and Cloud/GenAI SDKs and modern columnar I/O, vector search, and ML engines to Perl (now tracked across 35 distributions in the PDL Data & ML Ecosystem PR Reviewer’s Guide), a long-standing architectural gap kept resurfacing: once a Perl service is speaking multiplexed HTTP/2 RPCs and streaming Arrow batches in contiguous C memory, how should it talk to relational and cloud databases without blocking the event loop?

This post covers our upstream RFC issue (perl5-dbi/dbi#183), the perl.dbi.dev mailing list discussion, the core implementation in perl5-dbi/dbi#185 (accompanied by a commit-by-commit PR #185 Reviewer’s Guide), and 9 companion pull requests (5 standalone DBI::EventLoop::* backends plus 8 relational and Protobuf/gRPC DBD::* drivers) bringing a unified, zero-ABI-breakage non-blocking contract to Perl’s DBI.


1. Twenty Years in the Making: Why Async Perl Databases Fragmented

When Tim Bunce architected DBI in 1994, vendor C client libraries were overwhelmingly synchronous. As event loops and coroutines grew in popularity, standardizing non-blocking execution inside DBI became one of Perl’s longest-running open design threads:

  • 2004: Tim Bunce’s official August 2004 DBI roadmap listed “Support non-blocking mode for drivers that can enable it in their client API”, and early dbi-dev proposals around $sth->ready and $sth->done explored how to reconcile differing vendor C state machines.
  • 2010: DBI 1.615 shipped DBD::Gofer::Transport::corostream as an experimental Coro/AnyEvent proxy, while noting in the documentation that globally overriding CORE::select was fragile.
  • 2018: Pali opened perl5-dbi/dbi#52 requesting a stable, driver-independent DBI API unifying DBD::Pg and DBD::mysql (alongside parallel statement execution). Tim Bunce replied with an open invitation for someone to synthesize the prior discussions on dbi-dev and drive a concrete implementation forward.

In the absence of a core contract, individual drivers built mutually incompatible APIs (DBD::Pg‘s PG_ASYNC / pg_ready / pg_socket, DBD::mysql‘s mysql_async / mysql_fd, DBD::MariaDB‘s mariadb_async / mariadb_sockfd, and DBD::ODBC‘s SQL_ATTR_ASYNC_ENABLE / SQL_STILL_EXECUTING polling). Higher-level frameworks had to reach underneath DBI for raw file descriptors (Mojo::Pg, DBIx::Poggy), spawn worker-process pools (AnyEvent::DBI, DBIx::Class::Async), or bypass DBI altogether (Database::Async).


2. Core Architecture of perl5-dbi/dbi#185: Five Engineering Pillars

Architecture diagram of non-blocking Perl DBI core support (PR #185) with pluggable DBI::EventLoop backends, 1-bit ABI footprint, private _async_read_ready/_async_write_ready hooks, 4 C/XS SQL drivers, and 4 Protobuf/gRPC drivers.Figure 1: Non-blocking architecture in perl5-dbi/dbi#185 (0c5054e) spanning 5 external DBI::EventLoop::* backends, 1-bit ABI core state, private _async_*_ready hooks, 4 C/XS SQL drivers, and 4 Protobuf/gRPC drivers.

Pull request perl5-dbi/dbi#185 implements a minimal, zero-dependency non-blocking core across 7 stand-alone layer-by-layer commits ending at 0c5054e (with the pre-flatten review delta preserved at tag pr185-leont-review-delta / 1f75808). Both the full DBI test suite and make disttest pass (232 files, 12,106 tests, Result: PASS), alongside DBI_PUREPERL=2 async suites (4 files, 70 tests, PASS) and a POSIX-pipe reference driver (DBD::MockAsync). Five core principles define the revised architecture:

  1. Zero Embedded Event Loops & Zero import() Side Effects (DBI::EventLoop): Following Leon Timmermans (@Leont)‘s review, DBI core embeds no event-loop code or dependencies. Core ships only a lightweight DBI::EventLoop base class (lib/DBI/EventLoop.pm), paired with 5 standalone external DBI::EventLoop::* distributions (Mojo, IO::Async, EV, AnyEvent, and Coro) in GoogleCloudPlatform/google-auth-library-perl#47. Loading a backend has zero global import() side effects: callers pass an explicit instance per handle (Async => DBI::EventLoop::Mojo->new or Async => DBI::EventLoop::IO::Async->new(loop => $loop)), supporting non-singleton loops natively. Each $el binds 1:1 to a single $dbh (reusing an attached instance croaks loudly, while optional DBI::EventLoop->set_default(...) clones a fresh unbound copy per handle).
  2. Private Driver Readiness Hooks & Inverted $el->on_ready(...) Control: Driver readiness methods are strictly internal (_async_read_ready and _async_write_ready, matching DBI‘s _login convention). DBI core wraps the driver hook in a weakened, handle-cached $on_ready_cb closure and passes it directly into on_add($fd, $mode, $on_ready_cb), on_modify, and on_poll. Application code registers one-shot completion callbacks via $el->on_ready(sub { my ($h, $rv, $err) = @_; ... }), which fire strictly on completion or error (never on intermediate 0-pending ticks, with RaiseError/PrintError localized off inside _dispatch_ready when on_ready is registered so database errors route cleanly to $err).
  3. Zero $h->err Overloading & Safe undef Fetch Semantics: Would-block is never routed through $h->err. set_err_sv(), RaiseError, PrintError, and HandleError are completely untouched, so native -1 database errors raise normally on both synchronous and async handles. fetch_async_row() and fetch_async_hashref() return undef on both would-block and EOF (eliminating the truthy-sentinel dereference trap in while (my $row = $sth->fetch_async_row) while still croaking in list context), disambiguated cleanly via handle-based DBI::is_wouldblock($sth) (which inspects AsyncWantRead / AsyncWantWrite).
  4. Minimal 1-Bit Binary ABI Footprint: Only 1 bit (DBIcf_Async = 0x01000000) is consumed from the 8 free upper bits of dbih_com_std_t.flags (leaving 7 of 8 free bits untouched for future DBI core flags). Async sub-flags (DBIaf_WantRead, DBIaf_WantWrite, and DBIaf_Multiplex, with 13 free bits for future growth) live in a U16 async_flags field placed inside the existing 2-to-6-byte alignment padding hole between U16 type and HV *my_h in dbih_com_std_t, and dbistate_t consumes only 1 of its 3 reserved void *pad2[3] slots (async_notify_watcher, leaving pad2[2] free). Neither struct sizes nor field offsets change, so libdbi-perl on Debian trixie/forky and Enterprise Linux requires zero binary perl-dbi-abi rebuild transitions.
  5. Mid-Flight Teardown Safety, fork()/ithreads, & Optional Cooperative Yielding: finish(), disconnect(), fetch_async_row(), fetch_async_hashref(), and DESTROY are exempted from the busy-handle concurrency guard, and C/XS drivers emit on_remove/on_unpoll before closing FDs. On async $dbh->disconnect(), DBI dispatches on_disconnect → DBI::EventLoop::fail_pending(), cleanly tearing down active sibling multiplexed $sth handles and failing any queued $el->on_ready(...) callbacks instead of leaving them hung. Optional on_wait/on_busy hooks allow stackful coroutine backends (DBI::EventLoop::Coro) to yield transparently on synchronous idioms (fetchrow_array, selectall_arrayref, execute_for_fetch), while single-stack loops (Mojo::IOLoop, IO::Async, EV, AnyEvent) should avoid re-entrant loop pumping and use explicit non-blocking $el->on_ready(...) callbacks instead.

3. What It Looks Like in Practice

From Perl application code, attaching an explicit DBI::EventLoop::Mojo instance per handle and draining rows with $el->on_ready(...) and handle-based DBI::is_wouldblock($sth) is completely driver-independent:

use strict;
use warnings;
use DBI qw(:async);
use DBI::EventLoop::Mojo;   # zero global side effects on use
use Mojo::IOLoop;

my $el  = DBI::EventLoop::Mojo->new;
my $dbh = DBI->connect('dbi:Pg:dbname=app', $user, $pass, {
    RaiseError => 1,
    Async      => $el,      # explicit per-handle attachment
});

my $sth = $dbh->prepare('SELECT id, name FROM accounts WHERE active = ?');
$sth->execute(1);

my $done = 0;
my $drain;
$drain = sub {
    my ($h, $rv, $err) = @_;
    if (defined $err) {
        $done = 1;
        undef $drain;              # break self-referential closure cycle before dying
        Mojo::IOLoop->stop if Mojo::IOLoop->is_running;
        die $err;
    }
    while (my $row = $sth->fetch_async_row) {
        # guaranteed real arrayref row; undef on both would-block and EOF
        # process @$row
    }
    if (DBI::is_wouldblock($sth)) {
        # More packets needed; one-shot on_ready fires when next chunk completes
        $el->on_ready($drain);
        return;
    }
    $done = 1;
    undef $drain;                  # break self-referential closure cycle
    Mojo::IOLoop->stop if Mojo::IOLoop->is_running;
};

if (DBI::is_wouldblock($sth)) {
    $el->on_ready($drain);
}
else {
    $drain->($dbh, 1, undef);      # completed synchronously; may still arm on_ready mid-fetch
}
Mojo::IOLoop->start unless $done;

Inside a C/XS driver’s dbdimp.c, signaling a non-blocking read yield and notifying the attached DBI::EventLoop takes just a few lines guarded by #ifdef DBIcf_Async (zero $h->err mutation):

#ifdef DBIcf_Async
if (DBIc_ASYNC(imp_sth)) {
    DBIc_ASYNC_WANT_READ_on(imp_sth);
    DBIc_ASYNC_WANT_READ_on(imp_dbh);
    DBIh_ASYNC_NOTIFY_WATCHER(sth, imp_sth, fd, "on_add", "r");
    return 0; /* Driver.xst maps 0 -> "0E0" */
}
#endif

4. Community Reviews & 10 Ecosystem Pull Requests

Early community engagement across dbi-users, perl.dbi.dev, and perl5-dbi/dbi#185 reshaped this design from end to end:

  • Pluggable DBI::EventLoop & Private Readiness Hooks (Leon Timmermans / @Leont): Leon’s review drove the shift away from embedded event-loop adapters to standalone external DBI::EventLoop::* backend distributions, private _async_read_ready/_async_write_ready driver hooks, and inverted $el->on_ready(...) callback control.
  • Zero $h->err Overloading & Security Hardening (Robert Rothenberg / @robrwo, CPAN Security Group): Robert’s review eliminated would-block overloading on $h->err, fixed ithreads lifetime and DESTROY across fork(), caught the truthy-sentinel trap in fetch_async_row(), and tightened statement-level capability gates.
  • Single-Event-Loop Principle & Review Stewardship (David Nicol, Kurt Starsinic, H. Merijn Brand / Tux, Daniël van Eeden, and Ed Sabol / esabol): David reinforced the single-event-loop constraint and lightweight cooperative primitives over forcing futures into core; Kurt evaluated POE patterns; Tux and Daniël guided the 7-commit layer-by-layer split and Reviewer’s Guide; and Ed’s “What do we need to do for DBD::Pg? PR welcome!” sparked all 8 companion driver PRs.

Here is the current status across all 10 pull requests (DBI core, the 5 external DBI::EventLoop::* backends, 4 C/XS SQL drivers, and 4 Protobuf/gRPC drivers):

Component / DriverPull RequestTransport & Verification Status
DBI Core (0c5054e)perl5-dbi/dbi#1857 stand-alone commits; full suite & make disttest PASS (232 files, 12,106 tests) + DBI_PUREPERL=2 (4 files, 70 tests)
5 DBI::EventLoop::* Backendsgoogle-auth-library-perl#47Standalone Mojo (12/12), IO::Async (12/12), EV (13/13), AnyEvent (12/12), Coro (12/12); PASS in XS, DBI_PUREPERL=2, perlcritic, and 7-container matrix
DBD::Pg (Debian)bucardo/dbdpg#224libpq (8d03604); compiles cleanly against 2a0a72c DBIXS.h (live PostgreSQL 17 passed 127/127 + 14/14 prior to 8d03604, pending re-run)
DBD::mysql (Debian)DBD-mysql#505Updated (87ee0a4) for _async_*_ready, non-error would-block, and mid-flight teardown over net.fd
DBD::MariaDB (Debian)DBD-MariaDB#257Updated (3d45824) for _async_*_ready, non-error would-block, and mid-flight teardown over sock_fd
DBD::ODBCDBD-ODBC#35Updated (d226d3f) using on_poll/on_unpoll timer polling over SQL_ATTR_ASYNC_ENABLE / SQL_STILL_EXECUTING
DBD::Spannergoogle-auth-library-perl#42Protobuf/gRPC DBD (3c38bdbe, 39/39 PASS); HTTP/2 multiplexing (AsyncMultiplex => 1) + legacy-DBI guard
DBD::BigQuerygoogle-auth-library-perl#43Protobuf/gRPC DBD (dd3fd6b4, 51/51 PASS); async JobServiceClient + optional Storage Read API & PDL::IO::Arrow side-loading
DBD::Bigtablegoogle-auth-library-perl#44Protobuf/gRPC DBD (2e542cef, 32/32 PASS); GoogleSQL v2 ExecuteQuery over HTTP/2 gRPC (AsyncMultiplex => 1)
DBD::Datastoregoogle-auth-library-perl#45Protobuf/gRPC DBD (0f8b6824, 33/33 PASS); GQL v1 RunQuery over HTTP/2 gRPC (AsyncMultiplex => 1)

All four Protobuf/gRPC DBDs (a Perl DBI driver layer over XS-backed Protobuf upb/gRPC clients) pass 155/155 offline unit tests against 0c5054e across our 7-container matrix, and if you want to test any of the companion distributions locally against PR #185, installing them into an isolated local::lib via cpanm . keeps everything self-contained.


5. Remaining Open Questions: Looking for Your Feedback

With pluggable DBI::EventLoop backends, private _async_*_ready hooks, non-error would-block signaling, and undef fetch semantics now in place, we would especially welcome feedback on five remaining questions:

  1. Driver capability opt-in: Is checking for a driver-implemented _async_read_ready method the cleanest capability gate for Async => $el, or would DBD::* authors prefer an explicit driver capability flag?
  2. Cooperative yielding (on_wait / on_busy): Does the optional on_wait/on_busy hook contract cover stackful coroutine frameworks (like Coro) cleanly without encouraging unsafe re-entrant loop pumping on single-stack loops?
  3. Additional DBD::* & event-loop backends: Which other driver maintainers (for example DBD::Oracle, DBD::SQLite, DBD::Firebird, or DBD::DB2) or POE / Future::AsyncAwait authors would like to test or co-author prototypes against perl5-dbi/dbi#185?
  4. High-level Promise/Future wrappers (DBI::EventLoop::*): Once the core $el->on_ready(...) contract settles, should DBI::EventLoop::Mojo and DBI::EventLoop::IO::Async also ship convenience wrappers such as $el->query_p($dbh, $sql, @bind) returning Mojo::Promise / Future?
  5. Non-blocking OAuth2 credential refresh (GoogleCloudPlatform/google-auth-library-perl): For long-lived async Protobuf/gRPC processes (DBD::Spanner, DBD::BigQuery, DBD::Bigtable, DBD::Datastore), should proactive background timer refresh (e.g., at minute 50 before the 3,600s token expiry) or on-demand non-blocking refresh be standardized in the auth layer to prevent 100 to 300ms event-loop stalls?

Please check out the updated PR #185 Reviewer’s Guide and share your thoughts on perl5-dbi/dbi#185, the RFC issue (#183), or the perl.dbi.dev mailing list thread.

,

Planet Debian — Ben Hutchings: FOSS activity in November 2026

Planet Debian — Dirk Eddelbuettel: myman 0.16.0 on CRAN: Three more waves!

Another new version of our still-new-ish package myman reached CRAN this morning, and has been built for r2u and on r-universe. The matching Python package has also been updated. The package offers twenty four hundred fifty eight “My man …” posts by Kevin Kruse made on bsky during the summer and fall of 2026. Each wave picked at one particular public persona. This package wrapse these up in the style of packages like fortunes or gaussfacts.

This release contains three new waves made since the last release a month ago. The short NEWS entry for this release (and the two intermediat noon-CRAN versions) follows.

Changes in version 0.16.0 (2026-12-02)

  • New wave sizteen (47 posts); total is now 2458 posts

Changes in version 0.15.0 [github only] (2026-11-16)

  • New wave fifteen (100 posts); total is now 2409 posts

Changes in version 0.14.0 [github only] (2026-11-13)

  • New wave fourteen (25 posts); total is now 2309 posts

Courtesy of my CRANberries, there is also a diffstat report for the most recent release. More information is available at the repository or the package page.

This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.

Planet Linux Australia — Why Trump, Xi, and Putin can’t carve up the world like the ‘big three’ leaders of 1945

&lt;https://theconversation.com/why-trump-xi-and-putin-cant-carve-up-the-world-like-the-big-three-leaders-of-1945-295632>

"Discussions are underway for a potential meeting between Donald Trump, Xi
Jinping and Vladimir Putin on the margins of the Asia-Pacific Economic
Cooperation summit on November 18-19. The prospect has prompted comparisons

Planet Linux Australia — Infant Hep B Vaccinations Are Down 15% Since Only A Few Years Ago

&lt;https://www.techdirt.com/2026/11/30/infant-hep-b-vaccinations-are-down-15-since-only-a-few-years-ago/>

"It can sometimes be very easy to look at the insane things said by people like
Donald Trump and RFK Jr. and think that it doesn’t matter all that much because
surely everyone understands how wrong they are. Sadly, that isn’t true. The

Krebs on Security — Lawmakers Probe Data Security at ID Verification Firms

Lawmakers in the House and Senate are investigating the data security and privacy practices of leading ID verification companies, following the recent data breach at IDScan.net that exposed digital scans of more than 153 million drivers licenses from people in the United States and Canada. Meanwhile, a study examining more than two dozen vendors in the ID verification kiosk market finds many do not publish information about their image handling and retention policies, and that these decisions are often left up to commercial customers and system integrators.

A Nov. 23 letter to top executives at identity verification firms, sent by Sens. Marsha Blackburn (R-Tenn), Katie Boyd Britt (R-Ala) and Andy Kim (D-NJ), and Reps. Kweisi Mfume D-MD), Brian Schatz (D-HI), and Pete Sessions (R-TX).

In a letter (PDF) sent last week to IDScan.net, Clear Secure, Intellicheck, ID.me and Persona Identities, a bipartisan group of legislators from both houses of Congress quizzed executives on their data security, sharing and retention practices.

“This breach’s scale warrants additional attention to the data-handling practices of companies like yours,” the letter reads, referencing our breaking report on the IDScan.net breach. “Companies like yours should reduce these risks by employing zero-trust architectures, proactively examining vulnerabilities in their systems, and minimizing overall data exposure through limited retention, collection, and sharing of PII where possible.”

On September 1, 2026, KrebsOnSecurity broke the news that a breach at IDscan.net was powering a new identity theft service on the darknet dubbed “Nexus” that sold digital scans of identity documents on more than 170 million people in North America (Nexus went offline without explanation shortly after that story). Among the records for sale included drivers license scans for high-ranking U.S. government officials such as Defense Secretary Pete Hegseth and the assistant director of the FBI.

The proprietor of Nexus used my Virginia drivers license as a freebie in their initial sales thread advertising the service, and the sample included infrared and ultraviolet scans of my license. These are covert security features that document readers check, and experts warned that a stolen set of these images could function as a template for crafting license forgeries calibrated to defeat automated authentication.

A record available at the Nexus identity theft service that included the drivers license for U.S. Secretary of Defense Pete Hegseth.

After interviewing nearly a dozen friends and family members whose license scans were also for sale at Nexus, it was clear the images were being siphoned in real time from IDscan.net, an identity verification company in Louisiana whose technology performs more than 21 million verifications monthly.

That report prompted the FBI to announce it had launched an investigation into the incident, and caused IDscan.net to admit several days later that “an unauthorized third party gained access to a portion of our cloud environment between April 4, 2026, and September 2, 2026.”

Many of the questions lawmakers asked IDscan.net can be answered by reading the company’s published documentation, which states that “the default setting for new customers is to retain all records in our secure cloud,” and that this setting cannot be changed in the Basic tier.

Image: idscan.net/veriscan-cloud-portal/data-collection-and-retention.

The ability to limit how long scanned images are retained is only available in the company’s more expensive Premium, Enterprise and ID Authentication tiers, which can be set to periodically erase scanned license data and even tokenize the information so that zero information is stored from each scanned ID.

IDScan.net did not respond to requests for comment on this story.

Craig Allen Keefner is an analyst with The Industry Group (TIG), which tracks vendors offering ID scanning and identity verification products and services. Keefner said the IDScan.net exposure is not a story about one badly run company.

“It is a story about an architectural default that pervades the ID-capture layer of kiosks, counters, and check-in systems: the scan is treated as a record to be archived rather than a transient input to a yes/no decision,” Keefner said. “Once that default is set, scale does the rest — roughly 4,000 customers and more than 22 million scans a month across about 30,000 North American locations, run by a company of roughly 30 staff in New Orleans and 120 worldwide.”

In September 2026, the TIG website kioskindustry.org examined the data collection and retention policies of 26 vendors whose products capture, read, or verify government-issued identity documents in kiosk, counter, and check-in settings serving North America, Europe, and APAC, finding that ten of those vendors publish no ID-image retention information at all.

“Tokenized and pass-through modes exist across the vendor set but are typically buried in documentation or gated behind higher plan tiers,” the TIG analysis observed. “Expect that positioning to invert, with vendors leading on ‘we keep nothing’ and charging for retention instead — which is the correct direction, because it aligns the pricing incentive with the security outcome.”

TIG’s summary of the image handling and retention practices spelled out in Intellicheck’s privacy policy.

At least 27 states have passed age verification laws for accessing adult content online, but Keefner said those laws currently do little to prevent age verification device vendors and partners from retaining scanned identity images and other personal information indefinitely.

For example, he noted that Illinois compels dispensaries to run every customer’s ID through an electronic scanner but sets no retention period for the resulting image. Texas’s one-year destruction deadline and Washington’s “only as long as reasonably necessary” standard apply to biometric identifiers such as face geometry, not to a photograph of a license. Arizona’s HB 2112 is one of the few state age check laws that squarely forbids keeping the verification artifact — and it governs adult websites, not the physical counter.

TIG’s summary of the image handling and retention practices specified in Persona’s privacy policy.

“Legislative energy in 2025–2026 has gone into mandating verification, not into limiting what verification leaves behind,” Keefner wrote. “The mandate to scan is the mature part of the law. The duty to delete is not.”

Unless and until states or the federal government step in, Keefner said, consumers will continue to have no way to know which vendor processed their scan or what happened to the image afterwards.

“Neither, in practice, does a franchisee operating a kiosk specified by a corporate parent,” Keefner said. “For the industry, the operational lesson is narrower than the headline. A kiosk that verifies an ID and keeps nothing cannot become the source of a 153-million-record listing.”

Cryptogram Location Detection Using Quantum Mechanics

Totally impractical, but interesting:

Here’s how that plays out for the new protocol. Imagine you get a call from someone claiming to be your bank, Shalm began, and you want to make sure that this isn’t a phishing scam. You and a trusted second party are the “verifiers,” whereas whoever made the call is the “prover.” Each verifier sends random bits to the location the prover claims they’re at, along with a photon carrying that non-duplicable quantum information. The two verifier-photons become entangled, with correlations that can “only be fully recovered when measuring both particles,” Shalm explained.

The prover uses the bits to determine how to measure the photon and send back their results. If the result comes back within the expected time window imposed by the speed of light, and the statistical correlations look consistent, then the verifiers know the prover isn’t lying about their location.

“This protocol is a bit like a quantum version of sonar or radar,” Shalm said. “Just like dolphins use the round-trip time of sound to map out their environment and judge distance, we use the timing of signals to locate where the quantum measurement took place.”

Planet Linux Australia — AI learns from the products of thinking, not thought itself. That’s a problem for machines – and for us

&lt;https://theconversation.com/ai-learns-from-the-products-of-thinking-not-thought-itself-thats-a-problem-for-machines-and-for-us-293696>

"When you walk through a gallery, admiring the paintings on the walls, what you
are seeing are finished products. They are the result of countless hours of
learning and practice and trial and error, but none of that is on display.

Planet Linux Australia — The first itch.io Showcase featured lots of great indie games - here's the full rundown

&lt;https://www.gamingonlinux.com/2026/11/the-first-itch-io-showcase-featured-lots-of-great-indie-games-heres-the-full-rundown/>

"Everyone is doing a showcase now, so even the indie store itch.io got in on
the action to highlights some interesting looking games.

Planet Linux Australia — The Queensland LNP plan for coal-powered data centres could cost taxpayers $20 billion a pop

&lt;https://reneweconomy.com.au/the-queensland-lnp-plan-for-coal-powered-data-centres-could-cost-taxpayers-20-billion-a-pop/>

"Over the next decade Australian data centres are forecast to add an extra
amount of power demand – 29 terawatt-hours (TWh) – that is equal to the
transmission grid demand of South Australian and Western Australia combined.

Planet Linux Australia — As diesel from the Gulf and Russia dried up, Australia had to find new suppliers – at a cost

&lt;https://theconversation.com/as-diesel-from-the-gulf-and-russia-dried-up-australia-had-to-find-new-suppliers-at-a-cost-295461>

"Australia relies on diesel to move freight, run mines and harvest crops. We’re
now the world’s top importer of seaborne diesel, importing around 28 billion
litres of the fuel last year.

Planet Linux Australia — EVs dominate European new car sales in September, as Denmark chases down Norway to be market leader

&lt;https://thedriven.io/2026/10/07/evs-dominate-european-new-car-sales-in-september-as-denmark-chases-down-norway-to-be-market-leader/>

"Fully electric vehicles continue to dominate Europe’s new car sales,
accounting for around half of all new passenger car registrations in at least
six countries and setting new but less impressive records in a half dozen

Planet Linux Australia — 700,000 Dead? How Putin’s War in Ukraine Is Hollowing Out Russia’s Workforce

&lt;https://freedium-mirror.cfd/https://medium.com/@elvirabary/700-000-dead-how-putins-war-in-ukraine-is-hollowing-out-russia-s-workforce-b18c23fd99ca>

"He is 42 years old and has spent 22 years working in IT, including senior
positions at international companies. A few years ago, recruiters were chasing
people like him.

Worse Than Failure — CodeSOD: Java Dot Cpp

Dmytro P works with one of those developers who clearly started life in C/C++, and has never quite adapted to languages like Java. How can I tell?

Well, functions like this are a good hint:

        private static int roundNextPow2(int x) {
            x--;
            x |= x >> 1;
            x |= x >> 2;
            x |= x >> 4;
            x |= x >> 8;
            x |= x >> 16;
            x++;
            return x;
        }

This rounds the input up to the next power of two. It's called in this function:

        public static int calculateMapSize(int size) {
            int newMinSize = (int)((float)size / 0.75f);
            newMinSize = roundNextPow2(newMinSize);
            return newMinSize;
        }

This function kicks the minimum size up a bit, and then rounds the value up to the nearest power of two, and you're probably asking yourself: "Why? Also, why is it called calculateMapSize? Java already resizes collections for you, you don't need to do it yourself. They... they didn't, did they?"

They did, in fact.

        protected Map<String, CalendarImpl> ensureMapSize(int addSize) {
                // calc size of map
                int newMinSize = CollectionUtils.calculateMapSize((null == this.calendars ? 0 : this.calendars.size()) + addSize);
                HashMap<String, CalendarImpl> newMap = new HashMap<String, CalendarImpl>(newMinSize);
               
                // handle map
                if (null != this.calendars) {
                        // move existing entries
                        for (String key : this.calendars.keySet()) {
                                newMap.put(key, this.calendars.get(key));
                        }
                }
               
                // return
                return newMap;
        }

This function takes an existing map, increases its size by addSize, does all the weird logic we saw above, and then creates a new empty map of the target size. Then it copies each key/value from the existing map (if there is one) into the new map.

Note also that this function copies from the existing map, but doesn't alter it- it returns a new map. That's important, because it ends up getting used to do things like this:

        protected String[] doReadUsersAll(Json json, ITEM[] items) {
                // read all users into map
                JArray objUsers = (JArray)json.get("UsersAll").get("Users");
               
                // get new map
                Map<String, CalendarImpl> newMap = this.ensureMapSize(objUsers.getCount());
                       
                // loop and create calendar objects
                String[] result = new String[12];
                int k=0;
                for (int i=0; i<objUsers.getCount(); i++) {
                        JObject objJson = (JObject)objUsers.get(i);
                        String id = objJson.get("ID").getStr();
                        result = ArrayUtil.ensureSize(result, String.class, k+1, 12);
                        result[k++] = id;
                       
                        if (newMap.containsKey(id)) {
                                // add items we do not yet have
                                CalendarImpl knownCal = newMap.get(id);
                                UserImpl knownUser = (UserImpl)knownCal.getOwner();
                                knownUser.addItems(objJson, items);
                        } else {
                                // just add (but use the full current user if it's that)
                                //TODO Should really allow user object to know the exact timezone
                                UserImpl user = UserImpl.buildInstance(this.api, objJson, items).setNameFormat(this.nameFormat);
                                CalendarImpl cal = new CalendarImpl(user);
                                cal.setComparator(this.getComparator());
                                newMap.put(id, cal);
                        }
                }
               
                // move pointer
                this.calendars = newMap;
               
                // clear json to clear memory
                json.clear();
               
                // return
                return Arrays.copyOfRange(result, 0, k);
        }

This takes JSON data, which I'll add, is managed by their own home-brewed JSON library, loads it into a map while also putting every read ID into a string array which they also resize, ignoring the perfectly good auto-resizing Java collections.

This code clearly was written by somebody who wanted to call memcpy and didn't know what to do without it. You can also see the C/C++ influence in the comment // move pointer.

How much do you want to bet that the developer behind this also complained about how slow Java was? When you write code like this, how could it be slow?

[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!

365 Tomorrows — Well, I Never

Author: Tara Campbell “But we never do that,” he said. “Exactly,” she said. “That’s the problem.” “What do you mean?” “We never do anything new!” she moaned. “You never take a risk. You never travel, never even try new foods. You never deviate from your patterns.” His eyebrows knitted together. “But don’t you like where […]

The post Well, I Never appeared first on 365tomorrows.

xkcd — Dark Water

Planet Linux Australia — Why chronic pain is often overlooked as part of disability – and what can help

&lt;https://theconversation.com/why-chronic-pain-is-often-overlooked-as-part-of-disability-and-what-can-help-291360>

"One in five Australians lives with chronic pain, meaning pain that persists
longer than three months. Among people with disabilities, the rate is far
higher.

Planet Linux Australia — Assault on women’s rights has reached ‘fever pitch’, leaders warn

&lt;https://www.theguardian.com/global-development/2026/nov/30/assault-on-womens-rights-has-reached-fever-pitch-leaders-warn>

"Attacks on women’s rights around the world, as well as those of gay and
marginalised people, have reached fever pitch with profound consequences for
democracy, prominent human rights experts have warned.

,

Cryptogram A Three-Point Plan for AI Regulation

This essay was written with Nathan E. Sanders, and originally appeared in The Guardian.

This month’s elections demonstrated the American public’s urgent demand for change. But they also revealed a glaring problem for the Democrats’ policy agenda: they haven’t presented a compelling plan around AI.

This is important, because AI isn’t just a political issue in itself: it’s also a primary force behind both the economic disruption and political corruption that drove so many voters to the polls.

As AI companies and their boosters tossed around hundreds of millions of dollars in the 2026 elections, and the Trump administration lined up unequivocally alongside industry oligarchs, Democratic leaders have so far done more dodging than leading on the issue. Despite the massive overall shift towards the Democratic party, voters emerged from the election split on which party would best help control this technology.

Yet the public has been quite clear that they want government to take action. As an October survey shows, 84% of voters say AI threatens American workers, and 57% say the Trump administration has not taken AI risks seriously enough or at all. Eighty per cent of Democrats and 61% of Republicans want stricter AI regulation. This is one of the rare, emotional issues that crosses party lines.

Some politicians have channeled that anger. The Democratic senators-elect Sherrod Brown in Ohio, James Talarico in Texas, Troy Jackson in Maine and Abdul El-Sayed in Michigan all ran—and won—against giveaways to tech billionaires and on an undercurrent of backlash against AI.

Among other proposals, the Vermont senator Bernie Sanders has advocated that the government acquire shares of AI companies, the California representative Ro Khanna has called to give workers a say in AI use in their workplaces, and the New York governor, Kathy Hochul, has signed safeguards for consumers using AI companions into law.

But there are other critical aspects of AI that have not yet made it on to the public agenda, where political leaders should be putting forward powerful ideas.

These include addressing the staggering inequality driven by the growing wealth of big tech, ensuring fair and universal access to this technology as it becomes increasingly embedded in life and work, and protecting consumers and workers from the exploitative uses of AI.

To be successful in the 2028 presidential campaign, Democrats must align around an AI policy agenda that shows they are willing to fight for the change voters are demanding.

The congressional caucus must walk into the Capitol in January prepared to take immediate legislative action on this agenda, showing they can channel the wishes of the public and set aside the self-interested demands of AI billionaires. That includes rejecting their campaign funds and barring Congress members from stock trading. And they should coordinate action across the statehouses they control, as well as those they do not.

In our book Rewiring Democracy, we studied examples from around the world of how AI will affect democratic politics. Following this month’s election, the path forward for US AI policy—and its intersections with broader economic and social policy—is clearer than ever.

We need to make AI work for the American public, not the tech oligarchs.

We propose a policy platform with three planks: curbing the power of big tech, building AI that works for everyone, and putting people in charge of where the technology is used.

The first plank is restraining the big tech companies that Trump has cozied up to. Today, a few trillion-dollar corporations are rigging the tech ecosystem—really, the country’s entire economy—for their own benefit, generating wealth from models trained on our knowledge, our grid, our land, and our air and water, while forcing the costs of their harmful practices on to the rest of us. We need to rein in their power and make them pay the costs of the problems they create for society.

Like so many voters, we would start with data centers. We would match and extend Massachusetts‘ policy preventing companies from foisting pollution and price spikes on data center host communities. We would require data center developers to match their power consumption with new clean energy, and install energy storage systems to compensate for their strain on the energy grid.

But we also can learn from the UK’s experience, after a data center developer secured more than £200m of public guarantees for a project before backtracking on promises to use renewable energy.

The challenge is to ensure local control, while defending towns against developers with nation-state-like coffers. Congress should go beyond Massachusetts’ policy and insist that states receiving federal energy and economic grants require their cities to execute transparent, binding and enforceable agreements with data center developers. These agreements would need to meet a minimum standard of annual payments per megawatt-hour of energy consumption that accounts proportionately for local infrastructure impacts.

We would not stop with data centers. Borrowing from Senator Elizabeth Warren, we would seek big, structural change, particularly to the incentives that give corporations tax benefits for replacing people with machines.

We would levy an excise tax on the energy used by large AI data centers, a simple mechanism to force those profiting from the “hyperscaling” of AI to internalize its true costs. We would direct the funds recovered from the tax to a counterbalancing reduction in payroll taxes and to support unemployment insurance, so that private investment in AI always translates to public investment in people.

There are other structural changes the party might also consider, such as the sovereign wealth fund proposed by Sanders or the AI dividend proposed by Talarico. We urge inclusion of a mechanism like the excise tax because it shifts incentives, forcing AI providers to pay all of the costs for truly advantageous uses and discouraging frivolous ones.

We would also bar companies from consolidating control of the full AI stack across chips, compute infrastructure and model development and strengthen SEC scrutiny of AI companies’ business transactions and accounting. These steps would mitigate anti-competitive behavior and end the circular investment that threatens to inflate a bubble that could lead to a catastrophic market crash.

The second plank is building AI that benefits everyone, not just the barons of the industry. AI should operate like a public utility—a regulated service built and operated for the public benefit—and not an extractive product foisted upon consumers by unaccountable corporations for the benefit of their owners.

This starts with providing a public alternative to corporate AI: public AI models that are developed transparently under democratic oversight and control. These models must follow ethical guidelines such as compensating content creators for training data and strictly comply with regulations.

Most importantly, models developed by public agencies would be incentivized to create public good instead of private profit. Public AI would not replace for-profit AI, but provide an alternative for consumers and enterprises wary of big tech, and set a competitive baseline for corporate models.

Building AI in that mold might sound like a pipe dream, but countries such as Switzerland and Spain are doing it already. Congress should invest in a permanent federal AI research program, as a bipartisan coalition including the New Mexico senator Martin Heinrich and New Jersey senator Cory Booker have proposed, to lead this effort.

Public AI should include guaranteeing public access to AI services. South Korea is doing this at scale today, offering free universal AI access to its 52 million residents. The US could do it differently, borrowing from the history of New Deal programs such as the Rural Electrification Act, which provided federal low-interest loans to non-profit, member-owned cooperatives to build local infrastructure.

The data centers that power US AI don’t have to be behemoths owned and operated by big tech companies to maximize shareholder value. They could be small, local facilities owned and operated cooperatively by the communities they serve to benefit their neighbors.

The third plank is giving voters and workers power over where and how AI is used.

Voters say by nearly a seven-to-one ratio that companies developing or deploying AI should be liable for the harms of their products, and yet Congress has not established that accountability. This is yet another kind of corporate handout: why hire human writers, lawyers or doctors when AIs are not only cheaper, but they also absolve employers whenever they make a mistake?

Here’s how it should work: Congress should curtail the power of corporate owners to use AI to exploit, and expand the power of workers to exercise control over how AI is used against them.

Congress should mandate that AI use be disclosed, where appropriate. There should be strict guardrails on the use of AI in decision-making in contexts implicating human rights and civil liberties to prevent algorithmic discrimination. There should be clear rules surrounding AI’s use in lethal military applications and surveillance, whether by marketers or police forces.

Warren has proposed the Accountable Capitalism Act, which would give workers at least a 40% share of the largest corporations’ board seats so they can exercise some control over corporate decision making, including around political spending and use of AI.

We prefer this broad-based “codetermination” reform to El-Sayed’s proposal aimed solely at AI companies, since most large corporations now use AI in their business operations, and it matches longstanding practice in some European countries such as Germany.

There are myriad details to be decided in redistributing power over how and where AI is used. We’re likely to get only some of them right and, even then, the shifting capability of the technology and circumstances of its use will cast doubt on those choices over time. That’s to be expected.

The immediate imperative is to put in place a regulatory framework for governing the use of AI that acts as a solid, federal regulatory floor that can be tweaked and built upon over time.

Since Americans don’t trust the Trump administration or tech executives to carry out this enforcement, Congress should pass legislation to create the regulatory framework. It could base legislation on the framework already adopted in California, and plan to review it and add specificity at least annually. Part of the initial action must be clarifying the boundaries between where each federal regulatory agency acts, and strengthening their authorities and enforcement budgets.

There are great debates to be had about each of the policy proposals we’ve put forward, and true urgency to have them. The Trump administration has made clear what the alternative path is: an administration “100% in favor” of “super intelligence“, promoting “self-policing” by AI companies while blocking state efforts to regulate the technology and giving corrupt handouts to the corporations benefiting from it.

It’s all justified through the lens of an arms race with China, despite the administration subverting sanctions to sell chips to Chinese firms and ignoring Chinese espionage targeting Trump’s industry allies.

Is any of this politically realistic? It seems more politically advantageous for Democrats to be seen trying than to give up without a fight.

If Trump stays true to his promise to block Democrats’ legislative action, they should stand prepared to work with Republican members to overcome those vetoes. Republican AI defectors such as Governor Ron DeSantis and Senator Josh Hawley suggest this is possible.

Where Democrats cannot work with Republicans, they should jump at the opportunity to draw a contrast for voters. The party needs to go into 2028 with a positive vision, one that could lead to more and more enduring change.

Planet Linux Australia — ‘Let’s tell the truth’: Smithsonian head given standing ovation as he hits back at Trump attacks

&lt;https://www.theguardian.com/us-news/2026/sep/26/lets-tell-the-truth-smithsonian-head-given-standing-ovation-as-he-hits-back-at-trump-attacks>

"Lonnie Bunch, the outgoing secretary of the Smithsonian Institution, has
defended the organisation against political interference, insisting that
telling the unvarnished and complex truths of history is an act of “great love”

Planet Linux Australia — Bigger than bombs: Tim Burns exhibition explores the artist behind explosive art actions

&lt;https://theconversation.com/bigger-than-bombs-tim-burns-exhibition-explores-the-artist-behind-explosive-art-actions-294367>

"In 1972, the ANZAC Day ceremony in Sydney was delayed when wreaths laid at the
Cenotaph memorial in Martin Place burst into flames – apparently without cause.
The next day, local newspaper The Daily Mirror covered the incident under the

Planet Linux Australia — Vast Casino Secrets leak exposes inner workings of offshore gambling firms

&lt;https://www.theguardian.com/society/2026/sep/26/casino-secrets-leak-offshore-gambling-firms-curacao-regulator>

"The secrets of thousands of online casinos have been laid bare in a vast leak
of data that could have seismic consequences for offshore gambling firms,
including some accused of illegally targeting consumers around the world.

Planet Linux Australia — Australia’s native bees have an unusual power that can fight antibiotic resistance

&lt;https://theconversation.com/australias-native-bees-have-an-unusual-power-that-can-fight-antibiotic-resistance-295463>

"A grazed knee. A cut while gardening. A routine hip replacement. For most of
the past century, these were minor worries. But in a world where antibiotics
stop working, any of them could turn deadly.

Planet Linux Australia — She was convicted of a murder she says she didn’t commit. Then AI hallucinations stopped her speaking out

&lt;https://www.theguardian.com/australia-news/2026/sep/26/sue-neill-fraser-yacht-murder-ai-court-case-media-ban-tasmania-ntwnfb>

"On 26 January 2009, a troublesome yacht called the Four Winds was moored on
the Derwent River in Tasmania.

Planet Linux Australia — Millions of bogong moths are blanketing our cities and they are still endangered

&lt;https://theconversation.com/millions-of-bogong-moths-are-blanketing-our-cities-and-they-are-still-endangered-294774>

"In recent weeks, people across Australia have found fluttering bogong moths
(Agrotis infusa) in their homes, cars and even bedrooms. These insects have
embarked on their annual migration from breeding grounds across southern

Worse Than Failure — What the Font?

In the corporate world, where there's smoke, there's a huge raging dumpster fire. From our submitter George:

Not all that long ago I was hired by a company that made and sold PostScript fonts. Their fonts had, for years, been crashing computers randomly. I knew a bit about PostScript, so a marriage made in heaven, right? Well, no.

First day, I'm given an entry card to park into a nearby parking ramp. Great. Except I drive up and up the spiral ramp and the two tire-tack paths have all been badly patched over, like there's been excessive crumbling from road salt carried in. I'm a little bit uneasy from that.

Student fire fighter extinquishing dumpster fire

I walk into my new office, just for me. Super. Except the building used to be a horse-barn 100 years ago, and it still strongly smells like leather and horses. Super. But I'm fond of old buildings, so I guess it's okay.

I walk into the office of the guy that runs their servers. A familiar buzzing noise can be heard. I can see the only server for the whole company is a small gray plastic box from a local bare-bones consumer-grade PC maker, and it's clear that the hard disk has about two more days before the ball bearings seize up. I know or suspect enough to not mention that. Instead, I just ask for a thumb drive so I can back up my files. He says the company doesn't have any, but he spends all day every Thursday manually backing up all the company files to somewhere. Okay, thanks.

First assignment, I was supposed to plan out how I was going to attack the problem. No problem for me, I had several awards for writing technical reports. I write about three pages in a morning and submit them to the staff and the company president. An hour later, some random guy comes into my office, hesitating to say anything, but eventually I get the gist: I was supposed to use some off-brand word processor, which crashed every six minutes, because the company president liked how it defaulted to baby-blue headings and maroon subheadings. Also, I had more than two sentences under one sub-heading. I follow the weird directions, only the next day the company president sets up a voice call meeting with me and my manager and berates me for "looking for a problem under the streetlight." I bite my lip. My boss says nothing. Super.

So I follow as rigorous a testing protocol as I can come up with. I run their font through the Microsoft font checker. It finds 433 serious font issues, mostly bounds violations and banned line geometries. I go a step further and use Adobe's own font verifier. It finds twice as many errors, and deeper ones too, like most characters built from clockwise arcs, where PostScript requires all counter-clockwise arcs. Or was it the other way around? Anyway, all wrong.

I write a longish memo to boss and president, including font printouts showing the wrong drawing directions, plus almost all characters peeking outside their bounding boxes. President calls another meeting where he's twice as loud and three times as sarcastic, saying there couldn't possibly be anything wrong with their core fonts, never mind industry-standard duplicate checks saying very much the opposite.

I handed in my resignation a day later. (Only to end up at another place just as dysfunctional, but that's another, even less-believable tale.) Six months later, there was an emergency patch released by Microsoft for Windows. Privilege escalation if you used any of that company's fonts! I didn't follow up closely what happened to the company, but if you do a Google search for their company name now, not a trace of them can be found.

[Advertisement] Keep the plebs out of prod. Restrict NuGet feed privileges with ProGet. Learn more.

365 Tomorrows — An Audacious Affair

Author: Erin Miller “Shark shite,” Ember groaned, feeling her courier class clipper shudder to a halt, the hull groaning in tandem. She abandoned her can of fish to let her hands fly frantically across the console, trying to coax a few more spans out of the Audacious. Even with the damage to the fuel tank […]

The post An Audacious Affair appeared first on 365tomorrows.

Planet Linux Australia — Iranian woman handed death sentence for ‘blasphemy’ in social media post

&lt;https://www.theguardian.com/global-development/2026/oct/14/najmeh-amini-blasphemy-death-sentence-insulting-prophet>

"Human rights groups have raised the alarm over the growing number of death
sentences and executions in Iran, after reports that a 23-year-old woman,
Najmeh Amini, has been sentenced to death for blasphemy over a social-media

Planet Linux Australia — NZ’s next government must look beyond today’s health challenges – a new report shows why

&lt;https://theconversation.com/nzs-next-government-must-look-beyond-todays-health-challenges-a-new-report-shows-why-295544>

"The decisions New Zealanders make at this year’s general election will help
shape health and wellbeing for decades to come.

Cryptogram Will AI Break Cryptography This Week?

Rumors are swirling about some cryptanalytic breakthrough from one of the AI frontier models.

Meanwhile, the newly formed Cryptography Incident Review Group (CIRG) will review any cryptanalytic results discovered by AI systems. The list of names implies that the sorts of results they are expecting are more related to public-key cryptography than to symmetric cryptography.

I have no inside knowledge—annoyingly!—but here are my thoughts:

One, there is a big difference between a publishable cryptanalytic result, even one that is a bombshell to the field, and a result that breaks operational traffic. Cryptographers are very conservative algorithm designers. We assume cryptanalytic breakthroughs when we design algorithms.

Two, public-key algorithms are more vulnerable than symmetric algorithms: block and stream ciphers, hash functions. Former Bletchly Park cryptanalyst Ian Cassells once said that “cryptography is a mixture of mathematics and muddle, and without the muddle the mathematics can be used against you.” Public-key cryptography has a much higher math-to-muddle ratio—making those algorithms easier targets for superhuman mathematical research techniques.

Three: Of those, the new post-quantum lattice-based algorithms are easier targets than algorithms that have been around since the 1970s like RSA and Diffie-Hellman. The security of lattice systems is still a relatively new field of study, unlike factoring and the discrete log problem. Elliptic curve systems are somewhere in the middle.

Moxie Marlinspike has a good commentary about why he thinks factoring is not suddenly about to become easy:

I think this is one of the major things that is changing with LLMs. LLMs can draw on knowledge across more specialties than any individual human, so it is possible for LLMs to connect different areas of understanding in order to yield new results. While I am very much not a mathematician, my sense is that this is a part of what is happening with new AI math results: connecting ideas across several previously-specialized areas of math to develop new constructions.

Factoring, however, presents a different research environment. Its basic challenge (recovering the prime factors of a large composite number) is extremely simple to state and very widely understood. It has attracted attention for centuries, and its importance to cryptography has highlighted the incentive to look for shortcuts for decades. To me, this means that it may offer fewer opportunities created by neglected connections between fields, just because it is so much more likely that someone could already conclude “oh, factoring!” after an incremental advance in an unrelated specialty.

Four, we’ve been here before. I wrote this in 2018, in response to fears that quantum-computing will break public-key cryptography. The point still stands:

If that happens, we will face a world without strong public-key cryptography. That would be a huge blow to security and would break a lot of stuff we currently do, but we could adapt. In the 1980s, Kerberos was an all-symmetric authentication and encryption system. More recently, the GSM cellular standard does both authentication and key distribution­at scale­with only symmetric cryptography. Yes, those systems have centralized points of trust and failure, but it’s possible to design other systems that use both secret splitting and secret sharing to minimize that risk. (Imagine that a pair of communicants get a piece of their session key from each of five different key servers.) The ubiquity of communications also makes things easier today. We can use out-of-band protocols where, for example, your phone helps you create a key for your computer. We can use in-person registration for added security, maybe at the store where you buy your smartphone or initialize your Internet service. Advances in hardware may also help to secure keys in this world. I’m not trying to design anything here, only to point out that there are many design possibilities. We know that cryptography is all about trust, and we have a lot more techniques to manage trust than we did in the early years of the Internet. Some important properties like forward secrecy will be blunted and far more complex, but as long as symmetric cryptography still works, we’ll still have security.

[…]

While there are several mathematical theories that underpin the one-wayness we use in cryptography, proving the validity of those theories is in fact one of the great open problems in computer science. Just as it is possible for a smart cryptographer to find a new trick that makes it easier to break a particular algorithm, we might imagine aliens with sufficient mathematical theory to break all encryption algorithms. To us, today, this is ridiculous. Public-key cryptography is all number theory, and potentially vulnerable to more mathematically inclined aliens. Symmetric cryptography is so much nonlinear muddle, so easy to make more complex, and so easy to increase key length, that this future is unimaginable. Consider an AES variant with a 512-bit block and key size, and 128 rounds. Unless mathematics is fundamentally different than our current understanding, that’ll be secure until computers are made of something other than matter and occupy something other than space.

But if the unimaginable happens, that would leave us with cryptography based solely on information theory: one-time pads and their variants. This would be a huge blow to security. One-time pads might be theoretically secure, but in practical terms they are unusable for anything other than specialized niche applications. Today, only crackpots try to build general-use systems based on one-time pads­and cryptographers laugh at them, because they replace algorithm design problems (easy) with key management and physical security problems (much, much harder). In our alien-ridden science-fiction future, we might have nothing else.

Against these godlike aliens, cryptography will be the only technology we can be sure of. Our nukes might refuse to detonate and our fighter jets might fall out of the sky, but we will still be able to communicate securely using one-time pads. There’s an optimism in that.

EDITED TO ADD: This is amusing.

EDITED TO ADD: More:

I’ve obtained a copy of the cryptanalytic result that Anthropic plans to publish this week.

Yes, there is a result. Yes, it’s very significant.

[…]

But yes, there is something behind the rumors, and I truly have no idea where the process of scientific research is heading, as, from what I can see, this deeply remarkable cryptographic result seems to have been entirely discovered by prompting Claude.

I will say that the result does not concern RSA; I think it’s okay to defuse that rumor since it was silly to begin with.

EDITED TO ADD: More possible info, also pointing at lattice systems:

Anthropic has made a major breakthrough in theoretical cryptanalysis. The results were presented less than two weeks ago, on November 17th, at an invitation-only gathering called the Lattice Frontier Workshop – convened behind closed doors at MIT CSAIL, with NIST’s post-quantum standards specialists sitting on a Day 1 panel on ‘Responsible (Non)Disclosure.’ On Day 2 at noon, the schedule listed a thirty-minute panel titled ‘Understanding the Anthropic results.’ That line has now been scrubbed and simply reads ‘Discussion.’ I will post screenshots below.

[…]

Yesterday, a brand-new 21-member body called the Cryptography Incident Review Group (screenshot below) went live with a single placeholder URL: ‘Forthcoming statement.’ Every single academic organizer, host, and speaker named on the MIT workshop schedule – 14 of 14 – is a founding member of this new group.

More evidence—if you can even call it that—that this is related to lattice-based cryptosystems, perhaps even the ones that are current NIST standards. This is a good thing; we need a lot more cryptanalysis of those systems.

The defense here is the same whether we’re talking about quantum computers, advanced AI mathematicians, or very smart humans: crypto agility. We need systems that are easily able to swap in new cryptographic algorithms. This requirement hasn’t changed in decades.

EDITED TO ADD: The Guardian is reporting that Anthropic has a cryptanalytic result against ML-KEM, a lattice-based algorithm that is a NIST post-quantum encryption standard. Also, that the attack requires a quantum computer. We don’t have one of those in anything but toy versions yet.

,

Planet Debian — Gunnar Wolf: Collaborative privacy-preserving network intrusion detection A federated multi-agent reinforcement learning approach

This post is an unpublished review for Collaborative privacy-preserving network intrusion detection A federated multi-agent reinforcement learning approach

The field of Network Intrusion Detection Systems (NIDS) is a prime subject for research and implementation of Machine Learning (ML)-based systems to discern not only attacks from benign traffic, but to differentiate attacks according to categories describing their nature. This is due to the high volume of samples NIDS receive and to the complexity of correctly categorizing and following connections that might follow most unexpected exploitation paths.

In many fields such as photographic image categorization, an ML system can be trained only once, and operation during its life cycle should be stable and not require re-training. NIDS are expected, however, to be able to learn, to identify new attacks and label them accordingly. This requires such systems to implement a Reinforcement Learning (RL) approach, where agents can update rulesets in response to observed traffic, resulting in learning new attack patterns. Furthermore, given NIDS architecture in many organizations is complex, with multiple agents (MA) spread throughout the network and “listening” to traffic of different nature, different Federated Learning (FL) approaches have been presented.

This article takes all of the above mentioned principles and puts forward a Federated Multi-Agent Reinforcement Learning approach, termed FMARL throughout the text. As an example, the authors highlight that FL techniques provide the extra benefit of “free” anonymization: several independent groups can effectively share their FL-derived weights because once processed, they no longer include raw data’s identifying information, which can become an important problem due to privacy concerns.

Data streams captured by independent agents throughout a complex network are, naturally, not evenly distributed across all monitoring points and across all network attack categories. This means, the data is highly non-IID (Independently and Identically Distributed) across clients. While the authors acknowledge this could result in various challenges, including deterioration of a model’s performance, they explicitly include this issue in their experimental design. Agents are separated by the kind of attack they report, not only by their location in a complex network.

The authors base their work on two labeled network traffic datasets from 2017 and 2018 following real-world prevalence of a range of network attacks. The article describes a series of experiments done over a series of configurations, gradually implementing the FMARL architecture they propose, and measuring detection and processing throughput as they go. They evaluate the dataset over 14 distinct attack types. The authors repeat the experiment under changing conditions evaluating for adaptability, modularity and stability under non-IID settings. Adaptability is measured by excluding some of the attack categories from the training set while keeping them in the testing set, comparing whether the network “learns” about the new attack types that were previously omitted; modularity is tested by training only 11 out of 14 agents, and gradually enabling the missing ones to measure overall model stability. Non-IID strength is measured by repeating the experiment under centralized, IID and non-IID settings; for the last setting, samples are separated in randomized distributions across attack classes.

The findings are reported as a series of confusion matrices along the followed categories, as well as tables reporting the usual precision, recall and F1-score of all runs; the outcome is overwhelmingly positive with the proposed model, scoring 0.99 on all measures. The model is compared numerically on precision, recall and F1-score with other ML models, and its results are consistently better than all other reports.

The article is interesting to read; while the literature review is somewhat towards the heavy side, it is thorough and completely followable, and carries the needed tables to support having a general overview. The contribution itself, presented in Sections 4 and 5, is much easier to grasp and present a clear narrative.

Planet Debian — Sergio Cipriano: Mixing Debian-packaged Neovim plugins with Lazy.nvim

Mixing Debian-packaged Neovim plugins with Lazy.nvim

I've been packaging Neovim plugins for Debian for some time, and a few other people are doing the same. Debian unstable now ships a good number of Neovim plugins. I wanted my config to use these packages, both to dogfood and test them and to gradually migrate to them.

However, I still rely on plugins that aren't available in the archive. So I figured out how to make Lazy work with Debian packages.

Why are we packaging plugins in the first place?

The main advantage of packaging plugins in Debian is that it takes some of the maintenance burden off users.

Many Neovim plugins don't have formal releases, so it's not always obvious when it's safe to upgrade. Sometimes, a needed fix comes bundled with new features that require a newer Neovim version than the one available in Debian.

By packaging them, we can ensure they're tested and work with the Neovim version shipped in Debian. That way, users get stable, compatible updates without having to track upstream changes themselves.

I'm already doing this work whenever I need to update plugins or Neovim on my machine, so packaging them just formalizes the process and makes the benefits available to everyone.

Here's the full list of plugins I'm planning to package to complete my goal of having my Neovim-as-IDE setup available in Debian:

https://people.debian.org/~cipriano/nvim-as-ide-plugins/neovim-plugins.html

Where Debian puts the plugins

First, a bit of context. Every neovim-* package installs its plugin into Neovim's system-wide package directory:

/usr/share/nvim/site/pack/dist-bundle/start/<name>

Normally, Neovim automatically loads plugins found under start/ at startup. If I weren't using plugins that aren't packaged yet, my configuration would be pretty straightforward.

The layout

This is how I organize my configuration:

├── init.lua
├── lazy-lock.json
├── lua
│   ├── helpers
│   │   ├── debian.lua
│   │   ├── icons.lua
│   │   ├── language_servers.lua
│   │   └── treesitter_langs.lua
│   ├── keymaps.lua
│   ├── keymaps_plugins.lua
│   ├── Lazy.lua
│   ├── options.lua
│   ├── plugins
│   │   └── <plugin-name>.lua
│   └── plugins_debian
│       ├── libs.lua
│       └── <plugin-name>.lua

lua/plugins holds the plugins that don't have a Debian package, while lua/plugins_debian holds the ones that do. Lazy imports both directories:

This separation isn't strictly necessary, as we'll see later. I just find it useful for keeping track of which plugins are already packaged and which ones still need work.

The whole trick

Lazy supports a dir field in a plugin spec, which is intended for local plugins. When dir is set, Lazy loads the plugin from that directory instead of cloning its repository.

When dir is nil, Lazy behaves as if the field wasn't set and uses the repository specified in the plugin spec instead.

That's why I have lua/helpers/debian.lua, which contains a single helper function. It returns the dist-bundle directory if the package is installed, and nil otherwise:

With this function, we can write something like this:

If the Debian package is installed, Lazy uses it. Otherwise, it falls back to cloning the repository as usual.

This also means I can use the same configuration on my work machine, which runs Ubuntu and doesn't have all the packages available in Debian unstable.

To check where each plugin is coming from, just open :Lazy and look at its path. After installing a new Debian package, I can manually run :Lazy clean to remove the old Git clone.

Optional packages

Another useful feature is being able to enable plugins only when certain packages are installed.

For example, vimtex will only work if I have the vim-vimtex package installed. I use Lazy's enabled field to enforce this:

This way, Lazy won't try to clone or load vimtex on machines where the Debian package isn't installed.

Lazy does not load start packages automatically

There's one more thing to keep in mind: every plugin I want to use needs a spec, even the ones that don't require any configuration.

This is what plugins_debian/libs.lua is for:

The reason for this is that Lazy takes over the plugin loading process and sets loadplugins=false, effectively disabling Neovim's normal plugin loading mechanism.

As a result, the plugin/ scripts inside dist-bundle/start aren't automatically sourced. Lazy needs to manage these plugins itself, which is why they must be included in its specs.

neovim-treesitter caveats

There are a few additional details worth mentioning when using Debian-packaged plugins.

The Debian package for nvim-treesitter disables the :TSInstall and :TSUpdate commands through a patch, but the Lua API for installing parsers is still available.

I use the get_installed() function to check which parsers are missing and install them automatically.

This is another part of the setup I still want to improve, I'd like to use parsers packaged in Debian instead of downloading and compiling them separately.

Here's my nvim-treesitter configuration:

I also check for the required executables before attempting installation. Otherwise, the installation can fail silently without making it particularly obvious why.

It's not necessarily the best solution, but it works for now.

What's left

Maybe we can have a Debian package called neovim-as-ide or something similar in the future. Who knows? It would be useful to have an easy way to set up a complete Neovim environment by simply running apt install.

The end goal is to get rid of Lazy entirely. Once everything is packaged, Neovim can load the plugins directly from dist-bundle/start, and the configuration will just consist of setup() calls.

Until then, a dir field and a four-line helper are enough to make apt and Lazy work together.

Charles Stross — Rethinking space opera

A whole decade ago I blogged about a taxonomy of cliches in space opera, with a considerable checklists of things to watch out for in the space opera I was just then starting to work on.

This was almost entirely a background task for most of that time. During the period I was poking at the new space opera project I wrote: the Empire Games trilogy, the New Management trilogy, A Conventional Boy, The Labyrinth Index and The Regicide Report. So, nine other novels. Meanwhile the space opera went through two and a half rewrites, spawned a spin-off novel, and the spin-off novel is now getting its second rewrite, because Reasons (it has to be perfect: also, I'm going to go back to the original space opera next and finish that, too, probably next year, not to mention already having the first 50,000 words of a sequel.).

But anyway: the space opera project has resulted in maybe a third of a million words of fiction so far, and absolutely humongous quantities of world-building work. Which is why I'm now revisiting my earlier thoughts on space opera, to try to better understand what I'm doing here.

First, some clarification. What even is space opera, when it's at home?

While there's no short, concise definition of space opera, there's an extensive monograph on Space Opera in the SF Encyclopedia, tracing its roots back to the US pulp magazine sector around 1900 and following it to 1941, when Wilson Tucker defined it as the appropriate term for the "hacky, grinding, stinking, outworn, spaceship yarn": alternatively, space-adventure stories which have a calculatedly romantic element.

Let's stick a magnifying glass on top of that last phrase. Romaniticism in this context does not have anything to do with the romance genre of fiction (which focusses on love and relationships). Rather it's a shout-out to the romantic movement of the 18th to 19th centuries and its modern descendants, which prioritize passion, intuition, and individualism over social convention—the pursuit of beauty entails an interest in the exotic and mysterious, a celebration of the heroic and the divine, respect for the supernatural, and arguably the will to power and worship of force that took a darker turn in the fascist and totalitarian movements of the 20th century. Stick starships and light sabres and vast vistas of time and space on top of this and you can get an impression of where it's going.

As a romantic genre, space opera requires its protagonists to have enough agency (personal autonomy) to break out of their quotidian setting and have adventures—travel is a big part of this, for it cuts them free of the ties that bind, leaves family behind, and promises escape. To which end, the spaceship is central in space opera just as the sailing ship was key to the age of (ahem) sail. Trying to imagine Moby Dick or Master and Commander without sailing ships is like trying to imagine Star Trek or Star Wars without starships.

You can write romantic adventure-focussed SF without starships (use stargates/wormholes or just set it on a planet where adventure-shaped activities dominate the plot) but what you get then isn't space opera, it's a planetary romance.

(Planetary romance (the sub-genre Jack Vance was famous for) inherently places more constraints on what you can do with your fiction. You can't easily have a planetary setting which combines long travel times, high energy technologies and high population density, for example: long travel times imply no fast vehicles (no high speed rail or air travel, never mind spaceships), which are a side-effect of high energy technologies (internal combustion, gas turbines, big-ass electrical generators and HV grid of any kind) and you can't easily get to any of those things without a sufficiently high population density to support the industries that make them feasible (not just engineering and factories but universities and schools with mass literacy and mining) which in turn implies advanced agriculture—you've got to feed those cities somehow. (Memo to self: hunt down James Burke's Connections on video (they're somewhere on YouTube) and re-watch the series.) It also makes it difficult to justify sub-settings with wildly divergent levels of technology because that stuff leaks—to keep it out you need a North Korean level hermit kingdom, or totally impenetrable jungles that haven't been penetrated by colonialists, or something of that level. (NB: I have found a workaround for this, but I'm not going to spoiler the coming novels!)

Ultimately economics are your enemy if you want to write convincing romanticist fiction without turning into a fantasy-without-the-magic secondary world setting: all it takes is one country inventing capitalism and/or imperialism to muck it up for everybody else). And economics fucks with space opera too: ask yourself what markets plausibly exist for goods and services transported across interstellar distances, and after digesting Paul Krugman's Theory of Interstellar Trade (PDF) you may be left scratching your head.

My go-to answer for economics in space opera is that interstellar expansion/colonization is most plausibly driven by (a) religion ("manifest destiny" is a religious belief, built atop Genesis 9:7), or (b) escapist colonialism (but only if travel is cheap and compatible biospheres are abundant). In third place we probably get pyramid schemes (eg. Neptune's Brood by some guy called Stross: prior art for that one existed in the shape of colonial pyramid schemes, eg. the Darien Scheme which bankrupted Scotland, or the South Sea Bubble, which nearly bankrupted the British government a generation later). Then a long way down the list we get to trade in Veblen Goods, and maybe—if interstellar transport is very cheap—recreation. What the latter two items have in common is that they're status signifiers—the wealthy have been having yachting adventures while the peasants labor on their estates to pay for them for a very long time, and as for Veblen Goods, Faberge eggs are pretty obvious. So we have status as a driver for space opera: a side-effect of hierarchical social structures where the elite seek to maintain their status by signaling their affluence in various ways.

Did I mention hierarchical social structures and capitalism? The thing about capitalism is that it's a totalizing ideology, like the divine right of kings, or religious fundamentalism. It seeks converts, it refuses to be gainsaid, and it confers a competitive advantage on cultures that adopt it (as opposed to those that reject it). Yet, as Ursula le Guin said, "We live in capitalism. Its power seems inescapable. So did the divine right of kings. Any human power can be resisted and changed by human beings..."

Space opera embraces the romanticist outlook. This is inherently problematic, for it is capable of spawning totalitarian nightmares. To understand this point, I dare you to read Marinetti's Futurist Manifesto from 1909 and not recognize it both as a masterpiece of romantic rhetoric and as one of the founding texts of Fascism—very specifically the Italian Fascist movement (Nazism and Spanish clerico-fascism were later tumors on the rancid politics of violence and misogyny that Marinetti unleashed).

It's not possible to examine space opera, or planetary romance, and not acknowledge the pernicious fascistic imagery in both subgenres. Michael Moorcock wrote a magisterial essay about this nexus in the wake of Star Wars (the first movie): I strongly recommend reading his Starship Stormtroopers before pressing on if you're not already familiar with it.

Pace Le Guin, it is possible to write space opera that doesn't pander to fascism directly, as the late Iain M. Banks demonstrated. But even in his magisterial Culture series the pustules of fascism can easily be seen on the faces of the Culture's adversaries: from the Idiran imperialists to the Empire of Azad, perhaps most clearly in the character of the Affront, it takes a bad dose of fascism to introduce the romanticist element necessary for space opera to be perpetrated. Otherwise you're left with something like Inversions, which is a Culture novel with merely homeopathic traces of space opera remaining. Incidentally I make no apologies for assuming a familiar with the Culture novels on the part of the reader: if you haven't read it already, you're missing out, because it's the nearest thing I've seen to a refutation of the core conceit of might-makes-right inherent in the fascist strain of space opera. Iain wrote A Few Notes on the Culture in 1993 to explain what he was about: in particular, I was struck by this summary: The Culture, in its history and its on-going form, is an expression of the idea that the nature of space itself determines the type of civilisations which will thrive there. ... Essentially, the contention is that our currently dominant power systems cannot long survive in space; beyond a certain technological level a degree of anarchy is arguably inevitable and anyway preferable.

Totalizing ideologies like capitalism or Christian Nationalism aren't immutable, and opposition is possible. They rely on a perception of inescapability on the part of their subjects, and space opera should be the ideal fictional vehicle for escapism from such certainties: if our protagonists can board a starship and flee, there is in principle no reason why they can't shed the chains of a pernicious ideological system.

Now I want to cut to a different question. What about the human-scale story?

Space opera isn't usually a genre of high conceptual merit that tries to tell us something about the world we live in. It can be, in the hands of a determined author who knows what they're doing (I'm thinking specifically of Iain Banks, of Bruce Sterling's Schismatrix, of some of Alastair Reynolds' work—notably House of Suns) but it's more often deployed as a giant shiny backdrop for human-scale drama. Fiction is generally the art of confabulating plausible lies that illuminate the human condition, but stars and galaxies exist on a very superhuman scale: if we took them seriously as a setting they'd dwarf the merely human concerns of the protagonists—the emotional cursors that traverses the story universe—into insignificance, as in the more philosophical works of Olaf Stapledon. (For a fine example, see Anvil of Stars by Greg Bear.) Most of us don't have the imaginative flexibility to conceive of time scales significantly longer than a human lifespan and vistas larger than a single planet (and even that is a recent development: I think before mass intercontinental air travel our imaginative horizons were far more constrained). So a common problem in space opera is for the scale of distances to collapse: modern authors tend to fall back on the durations of international air travel, rather than thinking in terms of age-of-sail voyages, let alone more realistic interstellar durations at slower than light speeds. (Honorable exception to that one: Alastair Reynolds, and to a lesser extent, Ursula Le Guin's Hainish Worlds stories and Ken Macleod's Engines of Light tetralogy.)

A side-effect of the romantic outlook is a demand for individual human agency—that is, that despite the vast scale of the backdrop, the protagonists have the ability to effect change, or at least to change their own circumstances. Here in the real world most of us are trapped by situational constraints: our employment system is parodied as wage slavery for a reason. Opportunities for adventure are scarce, and your chances of self-betterment are minimal. (You can found a business and spend 30 years trying to become a millionaire, most likely to end in ignominious failure, or you play the lottery, be it by explicit gambling or by speculation on the cryptocurrency markets, but the game is rigged against you from the start.) Money in large quantities, as capital, exerts a gravitational attraction and we are individually just dust particles. So space opera tends to focus on protagonists who acquire individual agency, have adventures that take them away from the quotidian grind, and let them change themselves or the worlds around them.

A classic plot skeleton for this sort of fiction is the Hero's Journey template, as popularized by Joseph Campbell and demonstrated by George Lucas in Star Wars, and it's less-familiar-to-many sibling, the Heroine's Journey: interestingly the Heroine's Journey can be seen as an explicit rejection of the frenetic diktat of Futurism even though it's compatible with space opera, as demonstrated magisterially by Lois McMaster Bujold, whose Vorkosigan series is bookended by a Heroine's Journey narrative (starting in Shards of Honor, continuing in Barrayar, finally winding up in Gentleman Jole and the Red Queen)—and which holds the singular record for most Hugo awards for a single SF series (so this isn't just my opinion). Character development lives at the heart of both these templates, and I suspect you can't have a working space opera without the scope for such changes.

To briefly hark back to the Futurist/fascist imagery inherent in space opera: the Vorkosigan series is arguably Ruritanian romantic space opera set against a recognizable 19th century central European flavoured empire. (It's no accident that space opera emerged at the end of the age of empires, the turn of the 20th century.) Our main viewpoint character, Cordelia Vorkosigan, is a woman with modern sensibilities who effects change in that society to great effect, working largely behind the scenes as a noblewoman in that setting—indeed, that's the nature of her modified Heroine's Journey arc. (Assuming, of course, that you buy either the Hero's Journey or Heroine's Journey templates, both which are heavily influenced by Jungian psychology and early-to-mid 20th century conceptions of masculine and feminine gender identity, all of which are highly problematic in my opinion.)

Ultimately, though, the romanticist aesthetic is inimical to social convention and formalism—and also to sustainability. The romantic impulse renders space opera antithetical to solarpunk. A fictional setting composed entirely of wild individualists isn't going to end up as some sort of libertarian utopia, it's going to be a cat ranch: meanwhile someone needs to stay behind and tend the home fires, someone has to mind the grain silos on that "small farming planet", someone else needs to manage the shipyard that repairs the interstellar freighter. There's a lot of implied background in space opera, a civilization with enough surplus wealth production to build and operate starships, and this implies some degree of continuity—continuity of biosphere stability (or there'll be nothing to eat), continuity of infrastructure (including education/apprenticeships, to train/socialize the starship crews), continuity of the society our adventurer-protagonists emerged from. Social structures, governance, and politics are a given in every human society, and the romantic movement emerged from a very specific context that coincided with the age of enlightenment and the industrial revolution. Our protagonists are either privileged enough to transcend the daily grind or sufficiently motivated to take a hideous gamble with their own safety. And this tells us something about the constraints within which space operatic storytelling takes place—and my work-in-progress in particular.

Any questions?

Cryptogram Reclaiming AI for the Public Good

This essay originally appeared as part of a round table discussion in The MIT Press.

How do we ensure AI strengthens human agency and democracy rather than undermining them?

In 1985, historian Melvin Kranzberg famously wrote that "Technology is neither good nor bad; nor is it neutral." This is certainly true of AI. It can support human agency. It can also diminish human agency. How much of each comes to pass depends on the affordances of the technology, but mostly on the economic system in which it is embedded.

In my book "Rewiring Democracy," my co-author and I discuss many ways AI can support human agency in democracy. It could make it easier for more people to run for office. It could help legislators write laws and reduce their dependency on lobbyists. It could make the government’s enforcement of regulations fairer and more just. It could streamline the court system, giving people greater access to justice. And it could help people organize, deliberate, and reach consensus on political issues. There are real-world examples of all of these things happening right now in countries all around the world.

I could write an equally detailed description of how AI could diminish democracy and support authoritarianism. Or how it could empower or disempower people at work, or in other aspects of their lives. These are all choices we as a society can make.

Or, we can let the massive tech corporations make them for us. Right now, they’re probably the most important factor in determining how AI is deployed and used in society. And much of what we see as the natural features of AI technologies are choices made by for-profit corporations. That they are obsequious. That they have been trained to provide an answer that will most satisfy the human, rather than the one that is correct, or expresses ignorance, or is least harmful to that human. Even the fact that AI chatbots and agents personify themselves is a design choice made by an organization trying to maximize market share and profit.

We can build AI systems that augment people rather than replace them, that distribute power rather than concentrate it, and that support human agency rather than diminish it. Some of the ways to do this are already being talked about: making AI companies liable for the effects of their products and services; breaking up tech monopolies; removing external harms from AI by taxing and regulating the industry properly; building public AI as an alternative to corporate AI. But some of this might take us stepping outside the confines of the market system. As long as money controls politics, very little will get done.

Mike Bowler — Linking cause and effect

A few days ago, someone on Threads posted something to the effect that “it’s so warm in Canada right now and nobody is complaining”. I can’t find the original again so that’s from memory.

It’s true that it’s been warm. We’re having one of the strongest El Niños on record, there’s very little snow anywhere in the country, and ski resorts are pushing their opening dates back. Here in the Okanagan Valley, it’s been light jacket weather for weeks and I should be snowshoeing by now.

The original poster got a flood of replies, and very few of them were agreeing with her. People were talking about next year’s fire season, about how bad the ticks are going to be, about drought, about what this will do to crops. A few days later she posted again to say she’d learned something from all those replies.

There was a very clear split in the replies she got, and I saw the same split in another thread, on a gardening account, that asked whether people were noticing an unusually mild November. I replied about next year’s fire season. The replies around mine were from gardeners with plants budding in November and pests that hadn’t let up because there had been no hard frost. Someone in rural Ontario who fights ticks every summer was asking for snow and deep freezes (ticks are also a concern here in the Okanagan). Someone else keeps a cistern full of rainwater specifically so they can ride out a drought. A small retailer pointed out that a strange season could mean buying problems and cash flow problems.

On the other side were people enjoying T-shirt weather and a furnace that runs less often, and one person who was thrilled after two hard winters in a row and found all the worrying annoying.

So what separates the two groups?

It isn’t some innate talent for systems thinking, although I wish we had more of that. The people seeing the whole chain are the people who have seen the feedback loop recently enough that they remember the links between cause and effect. Here in the Okanagan we had a bad fire season this past summer. The Bald Range fire near Summerland alone burned more than 20,000 hectares and forced thousands of people from their homes. That was just one, albeit the largest, of the three significant fires in the valley this year. Meanwhile, the drought got bad enough that some farmers had their irrigation water turned off.

As for last winter, I only remember shoveling the driveway once, and even the snowshoe trails up in the mountains were thinner than usual. This past summer, the record-low snowpack was a big part of why the streams ran so low. Nobody who lived through that needs it explained that a winter with little snow means less runoff in the spring, and a higher risk of what comes after. They’ve watched that chain play out once already.

The climatologists agree with them. David Phillips, climatologist emeritus with Environment and Climate Change Canada, told CBC News that the lack of winter snow and moisture could raise the risk of spring drought and bring an earlier start to wildfire season. The gardeners and the people in fire country got there first, not by reading the forecast, but by remembering last August.

None of this means next summer will be a bad fire year; it could rain all of June. That’s the point of thinking in systems: there are no guarantees, but there are patterns, and the people who have lived through a pattern recognize it the moment it starts again.

The person enjoying the warm day isn’t wrong about the warm day, either; it is pleasant. The problem is that the cost of that pleasant day doesn’t arrive until July, and nothing about July visibly connects back to November. When cause and effect are that far apart in time, we don’t learn the connection unless someone, or something, closes the loop for us.

“Herein lies the core learning dilemma that confronts organizations: we learn best from experience but we never directly experience the consequences of many of our most important decisions.”
Peter Senge, The Fifth Discipline

That’s what happened on Threads. The consequences hadn’t reached her yet, so the people they had reached told her, and within a few days she’d learned it. That’s a feedback loop working exactly the way it should.

None of this is unique to weather.

Most companies plan a quarter at a time, and a quarter is a boundary drawn in time. Anything whose consequences arrive after the quarter closes is outside that boundary. Cutting back on testing looks great this quarter. So does deferring maintenance, or pushing the team into overtime to hit a date. The bill tends to arrive two or three quarters later, where it gets treated as a brand new problem and solved with another quick fix. Often the person who made the original call has moved on by then, so they never get the feedback at all.

Senge has a name for this pattern too: fixes that fail. A quick fix relieves the symptom today, and the side effect builds quietly in the background until it brings the original problem back, usually worse than before. The first of his laws of the fifth discipline says: Today’s problems come from yesterday’s “solutions.” This is how organizations end up making the same mistake year after year despite everyone involved being smart, well intentioned, and working hard.

The good news is that the knowledge is almost always already in the building. Just like the gardeners and the people in fire country, someone in your organization has lived through the consequences of the last quick fix. The support team knows. The developers who were up at 2am after the last rushed release know. The problem isn’t that nobody can see the system. It’s that their feedback isn’t reaching the people making the decisions, the same way it did in this cascading failure, where each problem quietly cut the feedback loop that would have caught the next one.

You can’t make someone see a system by telling them to “think in systems”. You can shorten the feedback loop, and you can make sure the people who have been burned before are in the room when the next quick fix is on the table.

When it’s warm in your organization and nobody is complaining, who’s linking cause and effect?

See also: Rapid feedback

Worse Than Failure — CodeSOD: Switched On Readability

Jon has a team mate that has a coding quirk. They tend to write this pattern a lot.

switch (someEnum)
{
    case EnumType::TargetValue: doStuff(); break;
    default: doOtherStuff();
}

Specifically, they have these single branch switches. Usually when using enums, but they've even done it for booleans a few times, like:

switch(someBool)
{
    case true: doStuff(); break;
    default: doOtherStuff();
}

It's not 100% true that they eschew if statements, but they rarely use them. They write basically any condition via a switch. Why? No one knows. Not even them. "I just think it's easier to read."

[Advertisement] Plan Your .NET 9 Migration with Confidence
Your journey to .NET 9 is more than just one decision.Avoid migration migraines with the advice in this free guide. Download Free Guide Now!

Planet Debian — Utkarsh Gupta: FOSS Activities in November 2026

Here’s my monthly but brief update about the activities I’ve done in the FOSS world.

Debian

Whilst I didn’t have much time, here are still a few things that I worked on:

  • Assisted a few folks in getting their patches submitted via Salsa.
  • Mentoring for newcomers.
  • Moderation of -project mailing list.

Ubuntu

I joined Canonical to work on Ubuntu full-time back in February 2021.

  • Attended the Product Roadmap and Engineering Sprints in Cancun, Mexico.
    • Funny story, I ended up getting stuck there for a while and finally made it home after a 64-hour ordeal from Cancun airport to my home airport. Thanks, American Airlines, British Airways, and Air India. :|
  • Released Tenacious Snapshot 1, the first monthly snapshot of Ubuntu 27.04 (Tenacious T-Rex)! With my Release team hat on, I:
    • Added the Snapshot 1 YAML to ubuntu-release, which generates the publishing commands for all the images.
    • Published the images and announced them on Discourse and ubuntu-devel.
    • 4 of the usual images didn’t make it, as they haven’t built for tenacious yet - Ubuntu Desktop on riscv64 and the three Raspberry Pi images. The next snapshot is on 17th December.
  • Sponsored openssl/3.0.13-0ubuntu3.17 for Guruprasad, an SRU to Noble fixing a use-after-free in OpenSSL’s engine key loading that made sbsign, osslsigncode, and Apache’s mod_ssl crash when signing with a PKCS#11 token (LP: #2158304). It backports upstream’s revert from 3.0.14 - the proper fix in OpenSSL itself for the bug that the earlier libp11 workaround (dropped in October’s SRU) tried to address.
  • Did Archive Admin, DMB, and Release team duties as usual.

Debian (E)LTS

This month I have worked 2 hours on Debian Long Term Support (LTS) and on its sister Extended LTS project and did the following things:

  • [E/LTS] Attended the monthly LTS meeting on IRC. The meeting notes are here.
  • [E/LTS] Caught up on discussions on mailing lists, IRC, and some documentation updates, ahead of my Front Desk duty week.
  • [LTS] Handed over the apache2 entry I’d added to dla-needed.txt at front desk in October to Xavier, who was already preparing the trixie update for the mod_http2 RCE (CVE-2026-119618) and offered to do bookworm too. It went out as DLA 4902-1.

Until next time.
:wq for today.

365 Tomorrows — The Last Variable

Author: Majoki “Welcome, datazen.” A pleasant female voice echoed through the cavernous chamber of stone. “Please have a seat. A mechacolyte will attend you shortly.” The young man took a seat on the bench carved into a back wall near the entrance. He reached nervously in his satchel and pulled out his comlink. He wasn’t […]

The post The Last Variable appeared first on 365tomorrows.

xkcd — Home Advice

Planet Debian — Russell Coker: Links November 2026

The Guardian has an interesting article about penis enlargement and about a documentary on the topic [1].

The Conversation has an insightful article on the way corporation law is responsible for problems in society and how it could be used to solve them [2].

Fast Company has an interesting article about the problems that AI creates with fast answers to the wrong questions and how to address them [3].

Elvira Bary wrote an insightful article about the Russian slave mentality [4].

Colsto made an interesting video about how to use plane noise in the background to geo-locate a video, I’m sure this will end up in a true-crime documentary [5].

Snigdha Poonam wrote an interesting article for The Dial about scams targetting authors and the organised crime business behind such scams [6].

The Conversation has an interesting article about devices like Roombas recording people, FOSS for Roomba isn’t something I realised we needed… [7].

Long Now has an interesting article about seed banks and the loss of diversity in agriculture, also apparently a diversity in food is good for you [8].

Paul Krugman makes the case for nationalising Starlink [9].

The Conversation has an interesting article about the reduction in Australian exports to China and the decrease in Chinese students at Australian universities, Australian companies need to do better [10].

14 years later and Tony Abbot is still defending his misogyny, probably because he was punched in the head too many times [11].

Anil Das wrote an insightful article about how Tim Cook sold out everything that was good about Apple by giving Trump a trophy, everyone needs to remember the quislings [12].

Alex Russell wrote an insightful article about the inherent corruption in the app store model and why we need legislation and more competition [13].

CNN has an interesting article about the enshittificatiopn of clothes and the work of Naomi Mishkin to provide an alternative, makes me think of the book Zero History by William Gibson [14].

404 media has an interesting article about AI companies collaborating with other corporations to block reverse engineering, we need to all have local LLMs [15].

Bruce Schneier wrote an interesting blog post about Chinese LLM models with a deliberate alignment towards the policies of the Chinese government [16].

Brian Krebs reports that multiple proxy services are running in the White House allowing hostile parties to send traffic out from there, this is ridiculous [17].

John Goerzen wrote an insightful blog post summarising many issues with “AI” systems which was inspired by the latest Debian debate about LLMs [18].

Danah Boyd wrote an interesting article about the fake claims about teens being hurt by social media that Jonathan Haidt has been making, it seems that guy has made a career out of being wrong [19].

Reasons to be cheerful has an interesting article about the color coded anti-harassment system used by restaurant workers and how it helps everyone including management [20].

Cory Doctorow wrote an interesting blog post about the ways that humans learn to detect recorded/generated items from genuine items and the way the AI industry is temporarily hurting the world [21].

TheDailyWTF has an ammusing and insightful article about how to avoid being honeypotted [22].

Bruce Schneier wrote an insightful article Humans Have Rights Machines Do Not [23].

Planet Linux Australia — Facing extinction, the world’s largest sea turtle is making a surprising move

https://www.sciencedaily.com/releases/2026/11/261127203623.htm

"The world’s largest sea turtle may be adapting to climate change by
establishing new nesting grounds along Ecuador’s cooler coastline, where
researchers have recorded unprecedented nesting activity and promising hatching

Planet Linux Australia — Online Sales Are Transforming the Market for Native Artists

&lt;https://www.motherjones.com/politics/2025/10/native-artists-online-counterfeit/>

"When Marlo Kiyite was 19 and pregnant with her second son, she and her
husband, Fitz, moved in with her cousin in Gallup, New Mexico, trying to make
ends meet. Her cousin was an artist, a well-known carver of pocket-­sized

Planet Linux Australia — Human speech follows the same patterns as birdsong — new research

&lt;https://theconversation.com/human-speech-follows-the-same-patterns-as-birdsong-new-research-295030>

"In every culture, humans speak and sing to each other. We have created an
astounding array of languages and musical structures across the globe. And yet,
within this diversity, some fundamental sequence patterns are repeated. These

Planet Linux Australia — The explosion of extreme wealth is the major problem of our time

&lt;https://www.theguardian.com/commentisfree/2026/nov/27/the-explosion-of-extreme-wealth-is-the-major-problem-of-our-time>

"We are at a pivotal moment in history. Never before in human history have so
few people held so much wealth and so much power. And never before have we seen
such an unprecedented level of greed, arrogance and irresponsibility on the

Planet Linux Australia — Thanksgiving Special: How 10 Famous Artists Would Plate Thanksgiving Dinner

&lt;https://www.thisiscolossal.com/2014/11/thanksgiving-special-how-famous-artists-would-plate-thanksgiving-dinner/>

"In this fun series of photos titled Thanksgiving Special, San
Francisco-based artist Hannah Rothstein imagines Thanksgiving dinners as plated
by famous artists throughout history. Gravy, corn, mashed potatoes, and

Planet Linux Australia — Löffelholz Codex

https://loeffelholz-codex.org/en/

“More than 500 years ago, around 1505, a Nuremberg patrician and knight named
Martin Löffelholz started a book. He wrote it by hand and filled it with
beautiful technical drawings. He drew things he knew and used: a drill with

,

Planet Debian — Sam Hartman: AI and Sexuality: ORPO Alignment

When I last wrote about my work on AI and sexuality back in September of 2023, I was talking about emotional safety and interacting with AI and how devastating it can be to be told again and again by guardrails that you are triggering that the work you are doing is wrong and should not be done.

Since then, I have continued to work on exploring what sex-positive AI would look like. I have taught classes, put together a lot of code, and I have been so busy working that I have not had much of a chance to write about it. So I have built up a series of posts that I need to write. This is the first of those posts.

Aligning Models for Niche Domains

The first area I want to go into is what I have learned about aligning and fine-tuning models to fit the needs of a niche domain. For example, the intimacy-positive community.

I want to talk about an amazing tool that I found called Odds Ratio Preference Optimization (ORPO). The goal of ORPO is to provide results similar to reinforcement learning (RL) to better align models with a specific domain without needing the huge memory of other methods of reinforcement learning.

The Challenge of Reinforcement Learning

One of the big challenges of reinforcement learning is the amount of resources required both in terms of memory and data. You need a policy model and a reference model, which means that you are doubling the memory footprint of training, which is already an unbelievable memory hog.

But what is even worse is that you need enough data to construct a classifier that can figure out whether a particular training example is good in your environment. For example, in the work I am doing, I would need to come up with a classifier that was able to say, yes, some particular interaction with a model represented intimacy in the kind of constructive way I am looking for, or to say that it did not.

Having such a classifier would be a really great tool, but developing it is a lot of work in an area where finding good high-quality data is already difficult. Once I had such a classifier, I would then need enough training data to effectively use the classifier and move the model forward.

Supervised Fine-Tuning

What people often do instead when they are looking at low data training is something called supervised fine-tuning.

In supervised fine-tuning, you simply run a series of training examples through the model and effectively tell the model, yes, produce more examples like this. Effectively, what happens in training is that there is a loss function that identifies how far the actual behavior of the model is differing from the desired behavior of the model.

In supervised fine-tuning, all we give the model is an example showing what we wish it did. But we do not give it any information about what it is doing wrong. Let us say that I had an example where I asked a question about intimacy and the model, rather than answering my question, said that guardrails prevented the model from answering the question.

And then in my training, I had an example that was a response to the question that was a bulleted list rather than a refusal. With supervised fine-tuning, the trainer does not actually know whether the thing I wish the model would do differently is respond to my question or respond in a bulleted list rather than in straight prose. And so supervised fine-tuning is going to distribute the loss among all of those differences, rather than focusing the changes it makes to the model on the differences that actually matter to the training I want to achieve.

How ORPO Takes a Different Approach

ORPO takes a different approach. Instead, ORPO datasets include a positive example—so, a question you ask the model and its response—as well as a negative example—the same question and a response that you do not like. The loss function focuses on the difference between the positive and the negative example.

For example, if you ask a model to write a story and all of the model’s stories about intimacy tend to involve alcohol, then by producing some examples where you provide similar stories to what the model would have written on its own, without the emphasis on alcohol as a way to approach vulnerability, you can focus the loss energy on changing the model to have less of an emphasis on approaching intimacy from altered states.

Democratizing AI Fine-Tuning

In my mind, ORPO provides an amazing way to democratize AI fine-tuning. We can use it even with relatively small datasets to change the behavior of models and start aligning them to our needs. By requiring less data and less memory for training, ORPO allows us to make training of open-weight models available to a larger group of people and allows us to take control of AI in ways that other training techniques make more difficult.



comment count unavailable comments

Planet Debian — Sam Hartman: Use of AI Tools in this Blog

I haven't been posting as much as I would like lately. In hopes of posting more often, I'm working on reducing the friction in my posting workflow. As part of that, I am experimenting with a workflow where I:
  1. Record a post when I have time.
  2. Use an AI model to convert that recording into text.
  3. Use an LLM to follow instructions in the text for finding links, correcting stutters and the like, and convert the post into markdown.
In the future, I may also use AI to do some proofreading and grammar correction. The content is all human authored. I don't see us getting to a point where I would want to surrender my creative voice to an AI anytime soon. I'm disclosing this because some people care about where AI is being used and I want to be transparent.

comment count unavailable comments

Planet Linux Australia — Global wild tiger population increases by more than 70 per cent

https://www.bbs.bt/249152/

"The global wild tiger population has increased by more than 70 per cent over
the past 15 years, rising from around 3,200 in 2010 to an estimated 5,700 in
2025. Bhutan is also seeing signs of recovery, with its tiger population

Planet Linux Australia — AI translation sounds convincing, but it can be riddled with hidden errors

&lt;https://theconversation.com/ai-translation-sounds-convincing-but-it-can-be-riddled-with-hidden-errors-294686>

"Generative artificial intelligence (AI) tools are more widespread than ever,
and one of the functions they offer is fast, real-time translation. Some people
are even questioning the need to ever learn another language, if near-instant

Cory Doctorow — The Debt Trap

A figure in a 1960s space-suit with platform soles. The suit is transparent in places and we can see that the figure is a flayed human, muscles and nerves on display. To the figure's left is a disembodied hand with a human spine descending from the wrist like a tail. The hand holds an gripping instrument whose tines have captured the spaceman's helmet. On the right is a disembodied floating head encased in a half-bowl grid that drips blue icicles. It, to too has a tail made of a spinal cord and pelvis. The background is an infinitely receding spacescape of overlapping, studded spheres.

This week on my podcast, I read “The Debt Trap,” a recent essay from my Pluralistic blog, which digs into the many ways in which “attenuated causality” can confound personal goals, policy, and technology management.

I’ve often said that if a little tumor had sprouted immediately after I took my first puff, I never would have taken a second one. Now that I’ve actually had the experience of being told that I have a tumor, I can say definitively that I would not have taken that second puff. An economist would tell you that I was engaged in “hyperbolic discounting”: underpricing a future cost and overvaluing a present pleasure:

But I don’t think that tells the whole story. Sure, I was engaged in hyperbolic discounting, but why was I doing that? What was it about smoking (as opposed to, say, French-kissing light-sockets) that led me to apply a hyperbolic discount to the costs of smoking? I say it was the attenuated relationship between cause and effect. It’s not just that we undervalue the price of smoking: it’s that we struggle to arrive at a correct price for smoking in the moment, because the intellectual knowledge of cancer statistics is in no way comparable to the visceral experience of a cancer diagnosis. Estimating the “cost” (emotional, physiological, monetary) of a cancer diagnosis is hard, especially if you’re young and have had the good fortune of a life untouched by close contact with agonizing illness and death.

The point I’m making is that the discount isn’t just hyperbolic, it’s hyperbolic because it relies so much upon guesswork, without comparable experiences to anchor your estimate.

What’s more, it’s this same attenuated causality (in which cause is separated from effect by so much time and space) that allowed the tobacco industry to sow so much profitable doubt about the connection between smoking and cancer. Sure, some of the policymakers who let Big Tobacco off the hook were doubtlessly in their pocket, reliant on campaign contributions or beholden to a party that was in some queasy, cozy relationship with these death merchants. But the reason Big Tobacco was able (is able) to get away with killing us for so many decades is that you don’t get a tumor with each puff.

MP3

furilabs — External Display updates

Release 14.1.0 delivers stability and performance improvements for external display output. While there are no flashy new features in this area, the changes under the hood make external displays smoother, more responsive, and more reliable in day-to-day use.

Better rendering performance

The rendering pipeline now uses explicit synchronization fences when driving external displays. Previously, the compositor had to make conservative assumptions about when it was safe to scan out a frame, which meant the GPU could sit idle while the CPU waited. With fence support in place, work is scheduled precisely by making the GPU begin the next frame as soon as the previous one is ready.

The result is higher throughput on the external display path and fewer dropped frames during demanding workloads such as video playback, screen sharing, and gaming.

Improved frame timing and latency

Frame pacing has been reworked to align presentation with the external monitor's refresh cycle. Updates are now submitted at the right time rather than as fast as possible, which reduces queueing at the display controller.

For users this means:

  • Less input lag when using an external monitor for interactive work
  • Smoother scrolling and window movement
  • Fewer visible stutters when the external display refresh rate differs from the internal panel

Stage damage to reduce CPU usage

Rather than redrawing the full output every frame, the compositor now tracks which regions of the external display actually changed and only reprocesses those areas. This technique, known as stage damage, cuts a significant amount of CPU work when the screen is mostly idle or only small regions are updating.

The impact is most noticeable when an external display is connected but showing mostly static content, such as a document, a terminal, or a chat window. In these cases CPU usage drops noticeably, which also helps the battery life.

Better handling of failures, crashes and leaks

External display handling has historically been a source of edge-case bugs such as hot plug events arriving mid-teardown, displays that fail to respond, and driver quirks. This release hardens the code paths around those scenarios.

Improvements include:

  • Safer teardown when a display is unplugged while frames are still in flight
  • Graceful recovery when a mode set fails, including a retry with a known-good mode
  • Cleanup of resources when displays are removed, fixing leaks that accumulated over repeated plug and unplug cycles
  • More detailed logging when drivers report unexpected errors, making future diagnosis easier

Crashes reported in connection with display hot plug have also been addressed.

Wrap-up

None of these changes are dramatic on their own, but together they make external displays feel considerably better to use. If you run into issues, please file a report with your display model, connection type, and logs, as that information is invaluable for further improvements.

Planet Debian — Vasudev Kamath: Adding BIOS and Other Architecture support for debian-cloud-mkosi

In my previous blog post I mentioned that the tooling was mostly interested in using UEFI based images only and hence did not consider supporting legacy BIOS based boot. I received a mail from Noah Meyerhans, member of Debian Cloud team about an open merge request adding mkosi build support for Debian Cloud Images. The merge request does not completely replace entire image build process using mkosi, it only replaces rootfs build with mkosi. The reason which I grasped from the MR on why not full replace were

  1. mkosi does not support bootloader installation for all architectures we need.
  2. mkosi uses systemd-repart to partition and populate disk images, but it does not support our partition layouts.
  3. mkosi does not support our /boot hierarchy (e.g. the UEFI system partition is mounted on /efi).
  4. mkosi generates GRUB configuration itself, and it doesn't match what grub-mkconfig produces.

I got curious about these reasons and dug into them with agy to see if they were actually blockers for mkosi. Here is what I found:

Partition Layout with Slots

Debian Cloud Images use slot-based partitioning where p1 is always the root partition, while p14 and p15 hold the BIOS boot and EFI partitions. The main reason this exists is backwards compatibility: if existing users or scripts hardcode /dev/sda1 or /dev/vda1 as root, moving root to p2 or p3 would break them. Technically, neither growpart/growfs nor modern cloud platforms require root to be p1 — as long as root is physically the last partition on disk (e.g. p3 after boot and EFI), it grows just fine. I'm still open to hearing if there is another reason this layout must be kept.

That said, it is true that systemd-repart does not support arbitrary out-of-order slot numbers (p14/p15 before p1), since it follows the Discoverable Partitions Specification and assigns partitions sequentially.

Bootloader Installation for All Architectures

Debian supports several architectures beyond x86_64 and arm64 where UEFI is not the standard, notably ppc64el and s390x. However, it is not quite true that mkosi cannot install bootloaders for them. With a couple of hooks and systemd-repart rules, we got both working cleanly.

ppc64el

OpenPOWER firmware (SLOF) looks for a PReP (PowerPC Reference Platform) GPT partition with no filesystem on it, and loads a raw ELF binary directly from the start of that partition.

How we solved it:

  1. mkosi.postinst.d/40-ppc64el-grub.sh runs grub-mkimage inside the target rootfs (via qemu-user-static) to build core.elf with the btrfs and part_gpt modules baked in, along with an embedded load.cfg pointing to /boot/grub/grub.cfg on the Btrfs @ default subvolume.
  2. core.elf is padded to a 512-byte boundary.
  3. systemd-repart creates an 8 MiB PReP partition and uses CopyBlocks= to write core.elf raw into that partition.

(Separately, for the ``x86_64`` ``bios`` profile, since my host uses ``systemd-boot`` and has no GRUB packages installed, *mkosi's ToolsTree=yes feature pulls grub-pc-bin into an isolated build sandbox without touching the host.)*

s390x

On s390x, IBM Z firmware (IPL - Initial Program Load) has no filesystem drivers at all and cannot use GRUB or an ELF boot partition. Instead, the firmware reads a tiny IPL record from sector 0 of the disk, which points to the raw physical disk sectors of /boot/bootmap. That file in turn lists the raw sector ranges for the kernel, initrd, and kernel command line so the firmware can load them straight into memory. This entire block map is built by zipl from the s390-tools package.

Here is how we wired it up in mkosi:

  1. A small wrapper script /usr/local/sbin/zipl-install is included in the s390x profile to mount /boot, run zipl -V -c /etc/zipl.conf, and power off.
  2. mkosi.postinst.d/50-s390x-zipl.sh sets up /boot/vmlinuz and /boot/initrd.img symlinks and writes /etc/zipl.conf with the kernel, initrd, and command-line parameters.
  3. Because zipl cannot map physical blocks on Btrfs (due to CoW, subvolumes, and compression), systemd-repart creates a small ext4 partition for /boot (p1) while keeping / on Btrfs (p2).
  4. Finally, a mkosi.postoutput script boots the generated image.raw once in qemu-system-s390x with init=/usr/local/sbin/zipl-install. That runs zipl on the live disk, writes /boot/bootmap and the sector 0 IPL record, and exits cleanly.

It took me a while to wrap my head around this whole setup, but agy was patient enough to answer all my questions ;-).

As a bonus, we also maintained seamless kernel upgrades on both ppc64el and s390x (matching standard debian-cloud-images behaviour): link_in_boot = yes in /etc/kernel-img.conf keeps /boot/vmlinux / /boot/vmlinuz and /boot/initrd.img symlinks updated on apt upgrade, ppc64el's grub.cfg boots via those symlinks, and s390x's /etc/zipl.conf lets Debian's zipl kernel hook refresh /boot/bootmap automatically.

/boot Hierarchy and GRUB Config

Yes, mkosi defaults to /efi instead of /boot/efi, and upstream grub-install only auto-detects /boot/efi unless --efi-directory is explicitly passed. Since Debian's grub2 maintainer script invokes grub-install without --efi-directory, grub-efi-* packages expect /boot/efi. Switching UEFI images to systemd-boot + UKIs avoids this entirely.

As for the grub-mkconfig mismatch, I didn't need to deal with it either: UEFI images use systemd-boot + UKIs instead of GRUB, the x86_64 hybrid bios profile doesn't rely on /etc/default/grub.d/*.cfg drop-ins (so mkosi's built-in BiosBootloader=grub works fine), ppc64el builds its own grub.cfg and core.elf via grub-mkimage in our postinst hook, and s390x uses zipl so GRUB is not involved at all.

Conclusion

The goal of this experiment was to see if all of these cases could be handled cleanly using mkosi itself as the disk image builder. Aside from keeping the legacy p1/p14/p15 slot numbering, mkosi handled every case — including a hybrid UEFI + legacy BIOS profile for x86_64 — and every image booted cleanly under qemu-system-*.

I've pushed all the changes to the repository. I'm happy to hear about anything I missed or got wrong, and I will continue maintaining debian-cloud-mkosi as a standalone project alongside the official Debian Cloud images.

Planet Linux Australia — Trust in democracy is in decline in NZ. Could citizens’ assemblies help restore it?

&lt;https://theconversation.com/trust-in-democracy-is-in-decline-in-nz-could-citizens-assemblies-help-restore-it-293792>

"Many New Zealanders, especially younger ones, report feeling unheard during
this election campaign. When people feel they have no voice, they tend not to
trust many of the decisions the government makes.

Planet Linux Australia — Rapid electrification is the best hope to meet ambitious 1.5°C climate target, new report says

&lt;https://reneweconomy.com.au/rapid-electrification-is-the-best-hope-to-meet-ambitious-1-5c-climate-target-new-report-says/>

"The world needs to increase the present share of final energy coming from
electricity by about half in just nine years if it is to meet the “35 by 35”
global electrification pledge that looks likely to be the signature goal of

Planet Linux Australia — Many local communities know how to communicate during disasters. Let’s learn from them

&lt;https://theconversation.com/many-local-communities-know-how-to-communicate-during-disasters-lets-learn-from-them-292131>

"It was a frightening time.

On a hot, gusty day in January 2003, I found myself on the hill behind my

Planet Linux Australia — Australia pledges $13 million to help Pacific nations quit diesel, switch to renewables and electrify

&lt;https://reneweconomy.com.au/australia-pledges-13-million-to-help-pacific-nations-quit-diesel-switch-to-renewables-and-electrify/>

"Australia is spending $13 million to help Pacific nations quit fossil fuels,
electrify and transition to renewables as countries across the region race to
switch from the fossil fuel imports that are eating up budgets.

Planet Linux Australia — ‘What we leave behind is not as important as how we’ve lived’: remembering actor Patrick Stewart

&lt;https://theconversation.com/what-we-leave-behind-is-not-as-important-as-how-weve-lived-remembering-actor-patrick-stewart-295542>

"At the end of Star Trek: Generations (1994), surveying the wreckage of the
crashed USS Enterprise he captained for nearly a decade, Jean-Luc Picard
(Patrick Stewart) muses to his first officer, William Riker (Jonathan Frakes):

Planet Linux Australia — Australian renewable-powered mine to supply “green gold” for repairs to London’s St Paul’s Cathedral

&lt;https://reneweconomy.com.au/australian-renewable-powered-mine-to-supply-green-gold-for-repairs-to-londons-st-pauls-cathedral/>

"Australian gold miner Bellevue Gold has been selected as the exclusive gold
supplier for the refurbishment of London’s famous St Paul’s Cathedral, because
of its ability to produce so-called “green gold” – gold mined primarily using

Planet Debian — Russ Allbery: Review: Seeing Red in Gretna Green

Review: Seeing Red in Gretna Green, by Linzi Day

Series: Midlife Recorder #4
Publisher: Linzi Day
Copyright: September 2023
ISBN: 9798858221838
Format: Kindle
Pages: 619

Seeing Red in Gretna Green is a self-published fantasy novel and the fourth book in the Midlife Recorder series. This series covers a surprisingly short timeline — I think Niki may have only been the Recorder for about three or four weeks by the end of this book — so as usual it picks up shortly after Ties That Bond in Gretna Green. There is an intervening short story you can get by joining Day's mailing list, and a longer novella ("House Party") that was originally published separately and is now included in Spilling the Tea in Gretna Green. That collection also contains stories that happen after this book, so note the warnings in it about spoilers.

As expected, this is the book where we figure out what is going on with Niki's childhood friend Dai after some odd incidents in Ties That Bond. It is also, as advertised by the title, the book where Niki gets to the bottom of some political problems in the Red Celt kingdom, ruled by her friend Mabon.

This series is settling into some predictable patterns of plot structure, but I'm still finding them effective. Each book sets up a few problems, including the major problem for the next book, while resolving one or more problems set up in the previous book. We're clearly going to do a grand tour of the rainbow-coded worlds and their corresponding color-coded power, with a few intervening interludes. I suspect indigo (or maybe green) will be the final color of this part of the series, but Day is clearly going to take her time getting there.

I have a lot of thoughts about how conflict is structured in this series, but I should comment on the plot first.

I found this book frustrating and enjoyable in turn. The (somewhat partial) resolution of Dai's story is highly satisfying; there were a few moments in the last book when I was worried that Niki would fall for some obvious nonsense, but she gets her back up and finds her boundaries at just the right moments. I was also happy to see that I took an immediate dislike to a character that I was supposed to dislike, since that indicates Day's skill with characterization is sufficiently good to pull off some relatively subtle foreshadowing. This is not literary fiction levels of subtlety, but that's fine; all I want from this type of competence porn fantasy is to know that the author can set up her villains with some nuance and still provide warranted justice once the protagonist catches up.

The rest of the plot unfortunately involves another romantic relationship with a guy who's appeal I completely fail to see. This man at least seems like a decent human being, just boring. Niki's concept of privacy or lack thereof is also bizarre to me; she spends a large chunk of this book with someone she barely knows in her head without anywhere close to what I would consider a proportional or even minimally defensive reaction. The mismatch between my opinions and Niki's made those parts of the plot rather grating. This is clearly the setup for the next book, so hopefully Day is setting up some sort of twist and I'll feel a bit better about it after another 600 pages.

Other than that, we get quite a bit more world-building, we finally learn what's going on with the dragons that have been mentioned since (I think) the very first book, and we get new Recorder abilities to manage color-coded magic flows in ways that I will not spoil. I am a little worried at how central a role genetics and race-based magical power is playing in this series, and I am giving the side-eye to the elf who is a walking 23andMe genetic testing lab given that neither Niki nor the author seem to realize how creepy that is, but I think I can trust Day not to turn the obsession with heredity into something darker.

The unreliable mentors in this series, the Book and the cat who is also some kind of goddess, are great. Day does a great job of letting them dribble out bits of information in a way that frustrates Niki but feels justified by the world and fits the pacing. The cat is the best damn character in this whole series, and I say this as someone who is usually indifferent to cats in fiction.

The politics... well. The approach Day is taking to politics is so very strange.

Among the problems facing Niki is clear evidence of a substantial series of crimes, albeit ones that may be technically legal under the applicable legal system. The resolution is probably in the next book; here, she's only starting to decide what she can do. Like so much of Niki's decisions, she is doing so without, so far as I can tell, any explicit moral or political framework whatsoever.

I get, and like, that this series is an empowerment fantasy. Niki has been handed a bunch of problems people have been punting or ignoring or avoiding for literally centuries, and by god she's going to clean house. You can probably hear me cheering; part of why I am enjoying this series so much is that I am desperate to read about people experiencing consequences for their actions. But the only resource she seems to be reaching for to decide how to address these problems is an endless series of self-help books of the "trust your inner self" variety. The central challenge of nearly every conflict in this series is not what is the moral thing to do, not what governance system would be fair, but whether Niki can overcome her impostor syndrome and history of powerlessness and take the action that she wants to take.

Great message as far as it goes. Maybe this should not be the only consideration? It's starting to bother me that Niki never seems to be morally uncertain, never reaches for an ethical framework, and never consults with a trusted friend about what to do, only about how to implement her intuitive, knee-jerk sense of morality.

I haven't disagreed with her on anything, to be clear. Her intuitive morality matches mine as the reader so far. But as Recorder, Niki effectively controls a strategic choke point with some properties of a sovereign state and considerable coercive international power, which she is using quite aggressively. The structure of the power essentially makes her a dictator within her sphere of influence, which I admit is highly effective when dealing with a mess left by ineffective ditherers who have let problems fester for far too long. But surely at some point you need your government to rest on firmer ground than personal whim, even if that person's judgment has been reasonably good so far. The complete lack of constructive challenge, of required persuasion, of negotiation, of theory is making me itch.

I'm not sure how much of a complaint this really is. I am still devouring these books and eagerly looking forward to the next one, and I don't really want to see Niki's much-needed ass-kicking turn into procedural debates. Also, it's not like the kings of the realms are doing better. Mabon is largely responsible for the problems in this book and deserved more consequences than he got. Maybe I'm too much of a governance procedure geek from years of working on Debian, and most people probably don't notice or care about this in their fiction. I'm not expecting Day to be Ada Palmer. It's just the one part of this book where I wish Niki would do a bit more hard thinking.

Anyway, all grumbling aside, this book was great and you should read the series if any of this sounds interesting. This series makes me have lots of thoughts about genre and about how surprising it can be when someone makes unusual choices about what to emphasize in the emotional arc of a book. I liked this entry even better than Ties That Bond and better than any of the series so far apart from the first book, although I did take off a full rating point for the boring dude and the creepy psychic link.

I am definitely in this series for the long haul.

Followed (directly, this time, without short stories so far as I can tell) by Code Yellow in Gretna Green.

Rating: 7 out of 10

365 Tomorrows — Chamber Music

Author: Eva C. Stein She stands alone in the vestibule of the immersion suite. Green sensors brighten. Provisional clearance confirmed. There was a time when she’d wait in the wings of a darkened hall, the house lights dimming beyond the curtain, scattered coughs and murmurs rising from the audience. She could feel the orchestra’s energy: […]

The post Chamber Music appeared first on 365tomorrows.

David Brin — A great gift for that bright teen... TIGER IN THE SKY!

First quick news for your gifting season -- today only BRIGHTNESS REEF is just $3.99 on many e-book sites. Only there's a better deal on SUNDAY, when the entire Uplift Storm Trilogy will be just $4.99! Vast-dramas across FIVE galaxies! Amazing aliens. Explosions that make a supernova seem tame. Oh... and dolphins. 

    == Through space and TIME! ==

Amazing Selects is proud to announce an all-new paperback edition of Sheila Finch’s TIGER IN THE SKY!  A thrilling adventure across time and space joins David Brin’s acclaimed Out of Time series., this time taking readers on an exciting journey from the streets of contemporary California to a perilous mission at the edge of the solar system.

What happens when the future needs heroes? But the only people who can save humanity are teenagers pulled out of the past?


In the year 2345, after an era of peace and prosperity, humanity receives an unexpected gift that's opened the doorway to the stars, and with it dangers that humanity is no longer equipped to handle. Centuries of peaceful living have left people unprepared for conflict, deception, and the unpredictable challenges of encountering other – sometimes dangerous or confusing – star-traveling species.


And so, Operation Hourglass uses a limited kind of time-travel tech to recruit young people from the past—individuals whose resourcefulness, courage, and ability to adapt may be exactly what the future needs.



When fifteen-year-old Jerry Vanderburg is recruited, an unexpected companion joins him: Nan Smith, a tough, street-smart teenager who wasn't even supposed to be part of the mission. Along with Will Foxcroft, a young cabin boy from the age of Sir Francis Drake, they are sent to Oort One, a scientific outpost at the far edge of the solar system.


Their assignment? Deal with an infestation of mysterious alien creatures known as Thogemags, whose growing numbers threaten the station and its vital operations. But solving the problem proves far more complicated than anyone anticipated. With strange alien biology, failing technology, and difficult questions about the nature of intelligence and survival, the young adventurers must rely on their individual strengths—and learn to work together—if they hope to succeed.


And sometimes the best solution comes from an unexpected source.


With its engaging characters, imaginative science fiction, humor, and fast-moving adventure, TIGER IN THE SKY explores courage, friendship, responsibility, and what it means to be a hero. Sheila Finch delivers an entertaining adventure that combines the excitement of time travel with the wonders and dangers of humanity's future among the stars.


The Out of Time series is developed and guided by renowned science fiction author David Brin, bringing together young heroes from different historical periods to confront challenges that could determine the future of humanity.


Amazing Selects publishes the PAPER edition.


**The e-book is via Open Road: purchase on Amazon. 

Or else https://books2read.com/u/w8zdJZ


A lovely audio edition is sold by Blackstone. 

 


And don't forget the very first story in this saga!  YANKED by the newest Grand Master of Science Fiction Nancy Kress!

Summoned by Operation Hourglass, five young people from different eras must overcome their differences in age, culture, experience, and outlook, heading for the distant planet Jump, where a lost human colony holds information vital to humanity's future.

A competing alien race is searching for the same information, and the team has precious little time to prepare. To succeed, these unlikely companions will need courage, resourcefulness, cooperation, and something their technologically advanced future has largely forgotten: grit.

Kress combines fast-paced adventure, imaginative science fiction, humor, and engaging characters in a story that explores what makes people resilient and what it means to grow into one's potential. 


Amazing Selects publishes the PAPER editions.

The e-book is via Open Road: purchase on Amazon.

A lovely audio edition is sold by Blackstone.  








,

Planet Linux Australia — Looking for bats after dark can help science – and change how we see them

&lt;https://theconversation.com/looking-for-bats-after-dark-can-help-science-and-change-how-we-see-them-294468>

"What’s that chirping sound coming through the detector? Did you feel something
whiz past?

Planet Linux Australia — Golden ginkgos and rich red maples: Japan’s autumn colours – in pictures

&lt;https://www.theguardian.com/world/gallery/2026/nov/27/golden-ginkgos-and-rich-red-maples-japans-autumn-colours-in-pictures>

"Across Japan, the changing of the season is dazzling people with vibrant
displays of reds and yellows"

Planet Debian — Iustin Pop: Living in the post LLM era

My last post on the topic of AI was probably a couple of weeks before things changed, irreversibly. Maybe they had already changed, just that the tools I use were not up to date.

I’m sitting here at the end of 3 weeks code review marathon in fixing, by AI count, 32 security-related issues in Corydalis. Many of them only relate to untrusted picture libraries (which is not really how I deploy it), or to the public site (that is, https://demo.corydalis.io/), which is also not the main use case.

However, even that aside, there were real security issues, from XSS and CSRF to simpler ones. Bugs in upstream libraries, some security bugs even, all reported, with details. Long discussions with the LLM on how to redesign things.

Myself, I have only written 5%? 2%? of the code submitted between “Hey Claude, can you an analysis of this git repository” and “Tagging version v2026.48.0”. I have read thousands of lines of code, pushed back on designs, suggested new designs, asked for more details, reviewed real (if short) design documents, basically doing TL work and not IC work, but at the same time, I’m making more progress than in years, if ever at this speed.

Between the first commit with Claude Code - 5d31f90 - Prevent argument injection into exiftool via file names, and v2026.48.0, there were:

  • 17 days - from November 6th to November 23rd
  • 237 commits, vast majority Claude (Opus 5.5 and Fable 5.2), most of them cross-reviewed by GitHub Copilot, and about half? of them cross-reviewed by Gemini Neon
  • 179 files changed, 16750 insertions(+), 2547 deletions(-)

Do I understand all code that was added? The production code yes, probably as good as the code I wrote >10 years ago, which I don’t always understand. The tests, not so much.

Would I have been able to do all this, in less than 3 weeks? Not unless working full time, and even then, unlikely. I did pull long weekends, though, for sure!

Is my personal photo tool better now? Definitely yes. Do I feel “less like a coder”? No way. I probably will loose the skill of writing myself, without any help, complex code, but I’ve read so much code, and learned new patterns, that I feel like my skills are actually improving.

Reviewing code is however tiring, especially LLM generated code, which can get more verbose than a human would write (hard to write leads to economy). But tests are free, and code is more tested. I had zero coverage for the TypeScript frontend, now it’s at >96%, slightly higher than the Haskell backend. All it took was “Claude, can you split/refactor the viewer module so that it can be tested”? And I had a quite large commit to review. Maybe some new bugs were added, but more were fixed.

One interesting aspect is that no LLM is clearly better than other:

  • write code with Claude, create pull request, ask Gemini to review, N issues (usually medium or lower)
  • write code with Gemini, create pull request, ask Claude to review, N issues (same)
  • GitHub Copilot at first had good comments, but then my budget run out, so it switched to a smaller model, and in the last week, basically it felt like 2025-era LLM, i.e. mostly wrong; it did find a good number of issues, before I started using Gemini for cross-reviews

The difference is in style, and what kind of issues they find. After running N (4? 5?) security-review skills with Claude, and nothing else was found, I threw Gemini at it, and found different but real security issues (but not high severity, those were all found).

Where from, now? After that release, I asked Claude “is it possible to add this feature?”, and 10 minutes, later it was there. It took me half an hour to review, but the bottleneck now is clearly a) ideas on what to do, and b) review energy. But not coding…

One clear problem is that not everybody is on the same timeline. I’m sure the tooling was roughly on this level 2 months ago (not sure before), but I had no idea we’re there already. And this week, I still get pushback on a GitHub issue from someone who said, in crude words, they think AI is useless. So if this continues, there will be large gaps between people, which is not good.

Ten minutes ago, I wanted to ask Claude with ideas on how to redesign one aspect — the folder view, which is kind of old school (which I like), i.e. tabular. I used a wrong prompt, I asked the coordinator on “do you need special skills for UI, or can we just iterate on ideas in a sub-thread?” and it spawned a thread that did the following: spin up Corydalis, looked at all the pages, took screenshots, and said: “this page is quite bland” (this was the page I wanted to highlight), “this other can be improved like this and this”. Basically, it did almost a full UI review of my web app. In 17 minutes, 15 of which were the bootstrapping the project.

The amount I pay per month is laughable, for what I get. Not only I get a team of SWEs, basically, but I also get UI people? Now I understand why people are re-creating full apps. At this rate, Corydalis will be as polished as real photo apps, in a few months, all because I pay a Claude and Gemini subscription, and I spend time to review code.

It is mind-blowing where we are, given that in January this year, the tools were still making mistakes left and right. Next year is scary, but also exciting - me personally, I haven’t been this excited since I first met Haskell, to be honest, from the point of view of what it unlocked.

Who knows, maybe the future is scary with capitals, not scary as in joking… I’ve read enough Science Fiction as a kid, that I don’t think everything will be just rosy. But, the tools are very powerful, and it’s amazing what people can do nowadays, for not so high monthly prices. Once local models catch up, for electricity price.

Post fully written by hand, and I have not even asked LLMs to review (I will, after publishing, for fun). Which is why, at the end of another day of new feature work, it’s more of a rambling than a well thought out post. My point is, if you think AI is slop, take another look, use frontier models, because today, they are definitely not slop anymore. They write better code than me, at least!

Planet Debian — Sergio Cipriano: Using socat to create a TCP Proxy

Using socat to create a TCP Proxy

I wanted to set up a small TCP proxy so I could run a few tests, and I wasn't in the mood to run nginx or Envoy just for this. I stumbled upon socat (SOcket CAT) and found it pretty useful. Every time I discover a tool like this one that has been around for decades, I'm happy.

Here's how I used it:

socat TCP-LISTEN:5001,fork,reuseaddr TCP:127.0.0.1:5000

It listens on port 5001 and forwards incoming connections to 127.0.0.1:5000.

Here's what each option does:

  1. TCP-LISTEN:5001 Creates a TCP listening socket on port 5001. By default, it listens on all network interfaces (0.0.0.0). I was running this inside an incus container, so connections could arrive through the container's network IP.

  2. fork Creates a new process for each incoming connection. This allows multiple clients to connect simultaneously instead of handling only one connection at a time. This was useful for my test.

  3. reuseaddr Sets the SO_REUSEADDR socket option, allowing the listening socket to reuse the address without waiting for certain previous socket states to expire. This was useful when restarting the proxy.

  4. TCP:127.0.0.1:5000 Specifies the destination socket.

One important detail is that socat doesn't understand HTTP. It operates at the TCP level, forwarding bytes in both directions. This means it works with HTTP, HTTPS, and other TCP-based protocols without needing to know anything about them.

Planet Debian — Sergio Cipriano: My experience at Debian Brazil Reunion 2026 in São Paulo

My experience at Debian Brazil Reunion 2026 in São Paulo

The Debian Brazil Reunion Group Photo

Last weekend, I attended the first Debian Brazil Reunion.

Inspired by similar events organized in other countries, we decided to bring the idea to Brazil and organize a three-day event focused on contributing to Debian.

Every day, we started at 9 a.m. and worked until around 8 p.m.

I was so immersed in the event that even after getting back to the hotel, I kept working. I was having so much fun that I just couldn't get out of the mood of getting things done.

What everyone was working one

A few people were working on translations into Brazilian Portuguese, another group was organizing the MiniDebConf that will take place in Curitiba next year, and the rest of us, myself included, were working on packaging and other development-related tasks.

One thing that made me particularly proud was seeing Lucas Ramalho and Giovanna Macedo travel all the way from João Pessoa to attend the event.

I first met them a few months ago during Debian Day, when I went to João Pessoa to give a packaging workshop and a talk about what it's like to be a Debian contributor.

Seeing them again in São Paulo, eager to learn more about packaging, really inspired me to keep helping newcomers.

It's normal for people to come and go when making their first contributions. That's why it's always rewarding to help someone and see them stick around and become part of the project.

What I was working one

I started working on my list of Neovim plugins that I want to package for Debian.

I managed to upload neovim-promise-async, a package that ships both a Neovim plugin and a Lua library.

It was my first time packaging a Lua library, so I learned a lot by reading the dh-lua code to better understand a few details of the Lua ecosystem. Writing dh-lua.conf was a bit confusing at first, but it turned out to be simpler than I expected. I also had fun coming up with an autopkgtest for the package.

I also spend some time discussing and designing a feature with Aquila Macedo for Debian Gitlab self-service.

During the MiniDebConf Brazil, Antonio Terceiro gave a lightning talk about salsa-scripts, a tool he developed to help him approve Salsa accounts without having to use the GitLab interface.

I really liked the idea, but there was one limitation: only members of the salsa-admins team could use the tool. I tried to join the team to help with account approvals, but the only way to do so was by having an account with full administrative privileges.

I don't want that, and I agree with them that people should not have that level of access just to help approve new accounts.

My goal was to solve the problem of approving accounts during workshops. I hate having to pull commits from GitHub just because someone hasn't had their Salsa account approved yet. And I'm not blaming the salsa-admins team. It's simply impossible to approve accounts quickly enough to keep up with the pace of live events.

That's when I came up with the idea of adding a feature to salsa-scripts that would allow any Debian Developer to approve new accounts.

I shared this idea with Aquila Macedo, and he introduced me to Debian Gitlab self-service. I wasn't aware of this project, and after discussing it, we decided that implementing the feature there would make more sense than adding it to salsa-scripts.

Anyway, if you want to learn more about this effort, check out the Merge Request: https://salsa.debian.org/salsa/gitlab-newuser/-/merge_requests/4

Aquila took the idea I had been putting off for a while, implemented the whole thing in just one day, and the result turned out pretty cool:

Debian Gitlab self-service feature outcome

Finally, I also sponsored a few uploads. I helped Tobias Sette and Giovanna Macedo with their first uploads to Debian.

It's always nice to help newcomers in person. It's much easier to explain things in detail, answer questions as they come up, and get things done faster than going back and forth reviewing merge requests.

Wrap up

It was an amazing experience!

I want to thank Rafael Passos and David Tadokoro for making this happen. They managed to reserve one of the classrooms at the University of São Paulo (USP). Without that, the event would have been much more expensive if we had needed to rent a coworking space.

It was also my first time visiting USP, which was a nice experience. It's one of the most important universities in Brazil!

I'm already looking forward to the next edition!

Planet Linux Australia — Australia is making big bets on a slow transition, but the technology S-curve tells a different story

&lt;https://reneweconomy.com.au/australia-is-making-big-bets-on-a-slow-transition-but-the-technology-s-curve-tells-a-different-story/>

"Australia is making energy decisions that could shape the next several decades
by looking in the rear-view mirror.

Planet Linux Australia — Serbia’s leaderless student movement has won a historic election – but what happens next?

&lt;https://theconversation.com/serbias-leaderless-student-movement-has-won-a-historic-election-but-what-happens-next-295268>

"Serbia’s leaderless anti-corruption coalition, the Student List, defeated the
group led by former president Aleksandar Vučić’s Serbian Progressive Party
(SNS) by a comfortable margin in October 25 elections.

365 Tomorrows — Wrecked

Author: Brigitta Scheib My name is Anne O’Malley, and this is what I saved. A pack of gum and a glass bottle with a diorama of a miniature boat stuffed inside. It was stuck on a tiny rock, its hull split in two. I found them while running through stale air in the halls of […]

The post Wrecked appeared first on 365tomorrows.

,

Cryptogram Friday Squid Blogging: Giant Squid in Newfoundland

The two have an interesting history.

As usual, you can also use this squid post to talk about the security stories in the news that I haven’t covered.

Blog moderation policy.

Planet Debian — Dirk Eddelbuettel: RcppDate 0.0.8: New Upstream

RcppDate ships the featureful date library written by Howard Hinnant to enable use from R packages. This header-only modern C++ library has been in pretty wide-spread use for a while now, and adds to C++11, C++14 and C++17 what is (with minor modifications) the ‘date’ library in C++20. The RcppDate package adds no extra R or C++ code and can therefore be a zero-cost dependency for any other project; yet a number of other projects decided to re-vendor it resulting in less-efficient duplication. Oh well. C’est la vie.

This release syncs with upstream release 3.0.6 made today. We also made another routine update to the continuous integration setup. The Debian and r2u packages for this new release have already been uploaded too.

Changes in version 0.0.8 (2026-11-27)

  • Updated to upstream version 3.0.6

  • Regular update to continuous integration setup

Courtesy of my CRANberries, there is also a diffstat report for the most recent release. More information is available at the repository or the package page.

This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.

Cryptogram Recent Outages Have Economic Causes

This essay originally appeared in The Guardian. It’s an expanded version of the one I posted as “We Get the Infrastructure We Pay For.”

It’s been a bad week for our computerized infrastructure. We’ve seen outages at Microsoft, the FAA, a handful of banks, United Airlines, an unnamed classified NSA network, and Apple. People should be forgiven for suspecting a coordinated cyberattack, a common cause, or at least a conspiracy. But there is none.

The incidents are unrelated. They’re not the result of any cyberattack, coordinated or not. And, even more surprising, they don’t seem to be the result of AI. (We can’t say anything about the NSA; we’ll probably never know the details of that one.) It’s really just a series of unfortunate coincidences.

None of them should surprise, though. Our computerized infrastructure is both vulnerable and fragile.

Much of it is old and has been incrementally patched and upgraded over the decades. A surprising amount of it is maintained by hobbyists, without any recompense. There often aren’t good backup systems. And more and more of it is centralized, meaning that individual failures have cascading consequences across many different aspects of our lives and society.

A lot of our tech infrastructure just barely works. And when it fails, it can fail badly. It’s the very opposite of resilience.

There are a lot of technological reasons why this is true, but they are all downstream from the economic ones. The technologies we rely on are built and maintained within our economic system—and that’s where the core problems lie.

Security, safety, resilience, redundancy and recoverability are all essential parts of reliable technology, but they are all costs. More importantly, they are costs that don’t generate near-term profits.

Modern shareholder capitalism, and private equity in particular, prioritizes near-term profits over everything else. This squeezes all apparent inefficiencies—and, additionally, all other positive intangibles—out of a company in pursuit of those profits.

Market competition, essential for the forces that nudge companies to provide better services, is another perceived inefficiency. Monopolization removes it in pursuit of near-term profits.

From the perspective of a quarterly budget, spending on reliability measures is an inefficiency. They’re expenses that don’t generate revenue. They feel wasteful … until something bad happens.

But, if you’re lucky, you can push the costs of failure on to society, further increasing profits. So, we get stranded in airports when planes don’t fly, or have to deal with the fallout when we can’t withdraw money from our bank accounts.

The effects of those economic pressures are brittle systems, with single points of failure and cascading failure modes. They’re more susceptible to cyberattack—both human and AI-fueled—and more susceptible to random mistakes.

The more we allow unregulated capitalism to privatize gains while socializing risks, the more we should expect these sorts of failures.

Upgrading our computerized systems, increasing their reliability, removing single points of failure, and making them more resilient are all technical problems. But they won’t happen until we fix the political and economic ones.

We need to change the economic incentives that make it profitable to operate these systems just at the edge of functionality, and to push the costs of failure on to all of us. Fixing that requires regulation—with enforcement and meaningful fines—and stringent antitrust enforcement.

But while that’s all easy to say, it’s much harder to implement—especially in the US where monied interests have such a tight hold on the legislative agenda. Until this changes, we should expect lots more of these sorts of failures in the future.

Worse Than Failure — Error'd: Mental Health

Uncharacteristically, I will be earnest for a moment. The holiday season can be a difficult time for many people, for many reasons that are beyond the scope of this column except for the fact that most of them are also wtfs. If you're one of those, stick around, because there are a lot of us here. And with that, on to BJH, who's a little behind.

B.J. H. reflects "Have there been any changes in my life in the last 55 years that could cause depression, other than the creation of the Internet?" I can think of a few but that's definitely on the list.

88dd478897514cec92bd6fefbf0d8226

"I am not an (alphanumeric) number, I'm a free man!" declares Simon T. "Teams offered me a new look interface at the top - would I like to try it? I felt like I needed a bit of a thrill after my previous Teams call, so went for it. This is the thankyou I got ??" I have been ruminating on how to manage the increasingly high rate of change (and the desire for even more) in user interfaces. It looks like Teams hasn't figured it out either.

8ae185a3af65495f9d524d532b8a3441

"A two-fer" from Mike S. declares "These gems came from the Xfinity website during the very same session. Made me question my reality. Description For Made me question my reality."

1b589ff2384542af9bc62694e05694c1

"Is cloning already a thing now?" asks klinsten. This one requires a translation for the obligate anglophones. The text in the screenshot here, translate to English as best I and Google can manage, is something like
"We notice that your mother is listed as the beneficiary upon death in the attached policy.
To amend the beneficiary clause, we kindly request you to deliver a front and back copy of you and redacted.
Unless we are mistaken, is redacted your wife? "

2840083a36eb44ed94fe6efe8d825590

Our old but not that old friend Michael R. demurs. "I rather won't add a bank account then."

366592c05ff4461b823a041eced62907

Peace.
[Advertisement] Keep the plebs out of prod. Restrict NuGet feed privileges with ProGet. Learn more.

365 Tomorrows — What Stirs Below?

Author: Alastair Millar “What did this?” Whoever had said it, it was an entirely inadequate response to the horror around them. Amy shivered in the cold, wrinkling her nose at the sharp, metallic smell of blood; the lumps in the middle of the cave were barely recognisable as the overdue spelunkers they’d come looking for. […]

The post What Stirs Below? appeared first on 365tomorrows.

xkcd — Tiny Squirrels

Planet Debian — Russell Coker: Coding Font Problems

What Should Happen

Firstly here is how I would like fonts to work for coding.

Coding requires monospaced fonts of a reasonably small size. To achieve that you need bitmap fonts. So a bunch of font creators design fonts that match their ideas of whatever is clearest to read. I select a font that is the product of a font designer who has similar ideas to mine about what is readable. Then my terminal emulator and other software fits the font glyphs of a size I select into an arrangement that exactly matches the bitmap size.

That makes things easy for me and gives a result that’s as good as can be achieved. Font sizes varying by 0.1 point wouldn’t be an option because the font author didn’t write that many but that’s OK. I don’t want every possible size just the ones that can be displayed clearly.

This isn’t what happens.

What Happens

When you change the font size in points which is the only way most programs support changing the size the program will apparently fudge things with extra space or try to scale bitmap fonts and look ugly.

Information on the Display

Font size is in points which is expressed in a way where 1 point is 1/72 of a virtual inch in height of a character [1].

Real DPI

The command “kscreen-doctor -o” shows information on outputs which isn’t very useful for DPI but does show the scale factor (EG 1.5 for 150% scaling in display configuration).

The command wayland-info gives information on the real size and scaling via the fields width, height, logical_width, logical_height, physical_width, and physical_height fields. The scaling is width/logical_width. The actual DPI would either be “width/(physical_width to inches)” or “logical_width/(physical_width to inches)” which is the following on my laptop calculated with qalc:

$ qalc
> 3840/(309mm to inches)

  warning: Conversion of only part of an expression is not supported ("3840/(309mm" is converted to "inches)").
  3840 / (309 millimeters) ? 315.6504854 in^?1

> 2560/(309mm to inches)

  warning: Conversion of only part of an expression is not supported ("2560/(309mm" is converted to "inches)").
  2560 / (309 millimeters) ? 210.4336570 in^?1

This is not the DPI used for screen calculations. Firstly whatever the DPI is it will almost certainly be an integer to avoid using floating point maths as much as possible. Secondly DPI is mostly just made up anyway.

Wayland DPI

According to the results of google searches (this Gnome Discourse discussion is one example [2]) increasing the “scale” to a non integer multiple (EG deciding to use 150% instead of 100% or 200%) causes the “scale” to be sent to the application as the smallest integer that is greater than the multiple used and the buffer that the application gives is then scaled down to the required size. So if you specify 150% (as I am doing on my laptop) then the “scale” number will be 2 and the application will give a double size buffer which is then scaled to 3/4 of it’s size. So 3840*2160 at 150% scaling means that a 5120*2880 buffer where things are rendered at twice the standard size which is then scaled back to 3/4 of it’s size.

The way Wayland works for non-integer scaling (which is the common case for high-DPI laptop screens) significantly increases the memory use for application frame buffers (78% increase for 150%) and then requires another layer of scaling to convert those buffers to the resolution for display output. I thought that this was part of why my latest laptop with a i7-10610U CPU and 3840*2160 screen and 150% scaling feels slower than the previous one with i7-8550U CPU and 2560*1440 screen with 100% scaling.

However recent updates to Wayland add a protocol wp_fractional_scale_manager_v1 for fractional scaling. It allows scaling in multiples of 1/120 of the screen size, presumably this number was chosen to allow 2/3 and 4/3 sizes to be handled cleanly. That protocol is served by the KWin Wayland system and used by Chrome and Kitty, it’s presumably used in most cases by KDE applications too. So the apps that I spend the most time using should all look great with fractional scaling and not take excessive RAM.

There are many references to Wayland having 96 DPI but it’s hard to find an authoritative reference, the best I could find is the Wezterm documentation which says 96 DPI and “high density” is 192 DPI [3], that documentation seems to be written before fractional scaling but at least it’s a somewhat official source.

Font Sizes

As the “points” of font sizes are multiples of 1/72 of an inch and Wayland is deemed to have 96DPI that means the pixel height of a font on a 100% scaling system will be it’s “point” size multiplied by 96/72 which equals 4/3. In a test a system with 10.5 point Terminus font on Wayland with 100% scaling gave a distance of 16 pixels between the top of one letter and the top of the same letter on the line below. 10.5*4/3 == 14, so presumably there’s 2 pixels between lines in that case.

For a system with fractional scaling and the Roboto Mono font I tested a system with 150% scaling and 9 point font which appeared to have 17 pixels from the top of a capital letter to the bottom of a lowercase p/q/g. 9*4/3*1.5==18 so in that case the font seems to have one pixel of space at the top or bottom. That case had 24 pixels from the top of one character to the top of the one on the next line so the vertical spacing seemed to be 6 pixels. On the same system with the Terminus font I found that it was 20 pixels from the top of one character to the top of the next line and 5 pixels space between the top of a capital and the bottom of a p/q implying a 2 pixel line spacing and 3 empty pixels at the top and bottom of characters.

A scalable font gives the best clarity at arbitrary sizes. But for best clarity with the caveat of matching the pixel sizes a bitmap font is best.

Font Bitmaps

The following command shows the bitmap table in a TTF font file, no bitmap table means it’s a scalable font:

ttx -l /usr/share/fonts/truetype/terminus/TerminusTTF-4.46.0.ttf|grep EBDT

The ttx command is in the Debian package fontutils.

The first command dumps the EBLC table (which has the bitmap sizes) to a XML file, it creates a file in the same directory so copy that file to /tmp or something first, the second file greps for bitmap sizes in the XML:

ttx -t EBLC TerminusTTF-4.46.0.ttf
grep ppem TerminusTTF-4.46.0.ttx

For Terminus this shows that all the bitmaps are square with sizes 12 14 16 18 20 22 24 28 32.

The following command gives the point sizes that match the bitmap sizes for 150% scaling (the /1.5 in the equation):

for n in $(grep ppemX TerminusTTF-4.46.0.ttx |cut -f2 -d\") ; do echo "scale=1;$n/4*3/1.5"|bc ; done

Configuring Font Sizes

The following kitty config disables the standard keys for increasing and decreasing font size and maps

map ctrl+shift+equal kitten ~/bin/bitmap_size.py up
map ctrl+shift+minus kitten ~/bin/bitmap_size.py down

The following is the ~/bin/bitmap_size.py script which was generated by ChatGPT and used the numbers generated by the shell commands from the previous section:

from kittens.tui.handler import result_handler
from kitty.fast_data_types import os_window_font_size

# font sizes in points = pixel_size * 72 / DPI  (edit for your font and DPI)
SIZES = [6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 14.0, 16.0]

def main(args):
    pass

@result_handler(no_ui=True)
def handle_result(args, answer, target_window_id, boss):
    w = boss.window_id_map.get(target_window_id)
    if w is None:
        return
    cur = os_window_font_size(w.os_window_id)
    if args[1] == 'up':
        bigger = [s for s in SIZES if s > cur + 0.01]
        new = bigger[0] if bigger else SIZES[-1]
    else:
        smaller = [s for s in SIZES if s < cur - 0.01]
        new = smaller[-1] if smaller else SIZES[0]
    boss.change_font_size(False, None, new)

The following shell script takes a TTF font file name as a parameter and gives a list of the point sizes needed to display at the natural sizes on the current Wayland display:

#!/bin/bash
set -e

LOG_WIDTH=$(wayland-info|grep logical_width:|cut -f1 -d,|sed -e "s/^.*: //")
WIDTH=$(wayland-info|grep width|grep -v _width|cut -f2 -d:|cut -f2 -d\ )
MULT=$(echo "$WIDTH/$LOG_WIDTH"|bc -l)

if [ ! -f "$1" ]; then
  echo "usage $0 FONTFILE"
  exit 1
fi
EBDT=$(ttx -l $1|grep EBDT 2> /dev/null || true)
if [ "$EBDT" == "" ]; then
  echo "$1 is not a bitmap font"
  exit 1
fi
TMP="/tmp/$(basename $1)"
cp "$1" "$TMP"
ttx -t EBLC "$TMP" 2> /dev/null
TTX=$(echo "$TMP"|sed -e s/ttf/ttx/)
A=""
for n in $(grep ppemX "$TTX" |cut -f2 -d\") ; do
  A="$A, $(echo "scale=1;$n/4*3/$MULT"|bc)"
done
OUT=$(echo "$A" | sed -e s/^,.//)
echo $OUT

The following Kitty settings reduce the cell size to remove surrounding space:

modify_font cell_height -2px
modify_font cell_width -1px

Misc

A command like the following will display the style and postscript name of font files which can be useful when configuring a terminal emulator like Kitty which has text mode configuration for fonts.

fc-scan --format "%{file} : %{style} : %{postscriptname} \n" /usr/share/fonts/truetype/robotomono

The following commands are for selecting a font in the Kitty terminal emulator and then starting a new session displaying font choices to make sure it uses what you think it's using.

kitten choose-fonts
kitty --debug-font-fallback

One problem I encountered while writing this post is the google "AI" that it gives as part of the default search page returning information that was correct but which was not easy to find in regular search results. This is bad performance by google and the result of using it is bad for society. Getting a LLM overview of a topic can be useful but when writing a document that's worth reading you can't include "trust me bro a LLM told me" you need an actual human source. The source can be documentation for a program that you don't use and while not great a forum discussion is adequate at this time. But eventually forums will start filling up with LLM generated answers and to continue this practice will end up with citing sites that have LLM output.

Planet Debian — Reproducible Builds (diffoscope): diffoscope 340 released

The diffoscope maintainers are pleased to announce the release of diffoscope version 340. This version includes the following changes:

[ Chris Lamb ]
* Update tests/data/ocaml_expected_diff (and bump the minimum required OCaml
  version for that test) due to change of output format. (Closes: #1155259)

[ Martin Joerg ]
* Handle GHC snapshot versions correctly.

You find out more by visiting the project homepage.

,

Planet Debian — John Goerzen: A Long-Time Debian Developer Tries Modern NetBSD on a 1998 Alpha

Nearly 30 years ago, I purchased the most expensive computer I’ve ever bought: a brand new, 600MHz Alpha. I was quite excited about that thing: it was faster than any PC on the market, ran Debian quite well, and was fun to work with. Well, mostly. Finding a good browser was a challenge back then (Netscape wasn’t yet open source and they didn’t build for Linux on Alpha). Then AGP slots became popular shortly after buying it, so as a workstation its time was limited. As a server, though, I used it for about 15 years. So I guess my goal of investing in something high-end so it wouldn’t get obsolete so fast was mostly met.

When it was time to pack it in, I took the guts out of it and reused the nice case for an x86 server. Now, as I’m setting up my vintage computer lab with the old equipment that had been in my attic, I thought it would be nice to reassemble the Alpha. I recently wrote about reassembling the hardware and restoring a tape backup from 2002 onto it, but I have another goal in mind: using it as a PPP server for my other machines to dial in to. Then I can use it to get onto Protoweb and BBSs with all the speed I tried for so many years to get past! Actually, this is a fun project.

Performance-wise, the Alpha has a speed that sits somwhere in the range of a Raspberry Pi 2 or 3. But I’ve already got plenty of these, and only one Alpha. Reviving something on a platform that’s been dead for 20 years is going to be more of a challenge, and more fun, than setting up yet another Pi.

So, out came the Alpha, the SYM53C875 SCSI card, the DEC Tulip card (with Linux drivers by Donald Becker), the Seagate Cheetah drive I added on shortly after I bought it. It all still worked, though the noise of the 10,000 RPM drive annoyed me even more now than it did then, so I used a newer IDE drive. (See my previous post for a recording of that Cheetah)

The question now was: what operating system should I use? I always ran Debian before, and had long ago re-flashed the AlphaBIOS with the SRM BIOS, opening me up to non-Linux options also. While the Linux kernel still supports my 21164a CPU, Debian has long since dropped Alpha as an official platform, and so has just about everyone else in Linux-land, though it’s still alive and kicking. Gentoo technically still has an Alpha port, but it is permanently marked “testing” and outwardly appears to be moribund; the last post to the mailing list was a single message two years ago, and there have only been 6 posts this decade.

I decided I would first try modern NetBSD, and later also opted to try modern Debian. The older Debian, which I restored in my earlier post, is still rock solid, but I wanted something with reasonable modern security since it will be exposed to the Internet. (And having something that speaks modern ssh will also be nice).

Although I’ve been a Debian developer for 30 years, I have never been far from BSDs. My first *nix system, even before Linux, was FreeBSD back in the 90s. I’ve often had a FreeBSD system since (pfsense or OPNsense most commonly), and have used NetBSD as a workstation off and on also, plus I’ve had NetBSD in various VMs for quite some time.

There’s a lot to like in NetBSD, and also some things that I found appalling.

It is important for Free Software to have more than one Free OS. I am glad we have Linux, and I’m glad we have other OSs like FreeBSD and NetBSD. A monoculture is unhealthy, and we need different projects that do things in different ways and bring forth different ideas.

So read both the praise, and the criticism, of NetBSD in that light. I am going to keep both NetBSD and Debian on this Alpha and likely use them both.

Installation

My Alpha initially shipped with 256MB RAM. At some point in the past, I upgraded it to 512MB, which was its documented maximum, but was unable to get two of those sticks to work now. So my work started with it at 256MB, and I later managed to upgrade it to 1GB, its true maximum.

I downloaded the ISO image and burned it to CD. I booted it on my Alpha’s IDE CD drive, and there was a lean, simple installation program. I partitioned the disk (SRM requires a BSD disklabel, so that worked out fine).

Then when it came time to install the system, tar crashed. Every single time, tar crashed.

It seemed to be related to the CD, though there were no errors in dmesg. I tried a network install, which worked, though the https option was unavailable and I was rather uncomfortable at the insecurity of doing the whole thing without TLS over the broad Internet. I rebooted and tried again from the CD; again no luck. I verified the burn of the CD matched the hash published on the site, and then served up the contents of the CD to the installer using a Linux machine on my LAN. That worked.

The CMD646 has long been known to have some data corruption bugs. I remember that SCSI was always preferred on this board, and mostly used SCSI back in the day, but my old drives confirm using IDE CD drives with it without incident on Linux. The Linux driver certainly contained various workarounds back in the day, and may have done things like switch from DMA to PIO mode for CD drives. It’s possible the NetBSD driver lacks those workaround, though a post to the NetBSD Alpha mailing list suggests the problem may run deeper on NetBSD. In any case, calculating sha256sums of the data on the CD from within NetBSD produced incorrect results. The IDE hard drive, though, appeared to work OK.

Initial impressions

NetBSD initially reminded me of an old Unix in all the right ways. Clean, simple, seemed to run fine in the 256MB RAM the Alpha had at the time. My initial experience with NetBSD getty was nicer than I’d experienced with Debian’s agetty, though by the end I had ran into so many getty bugs that I had to to switch to mgetty.

NetBSD vs. Debian on RAM usage

The top output is rather hard to parse; there’s nothing like the “available” column on Linux top/free, which basically shows how much RAM an application can use, considering both free RAM and caches that can be dropped. Before publishing this post, I did some comparisons to the modern Debian I installed on the Alpha. All of these tests were run at a time when 1GB of RAM was installed on the Alpha; some structures scale with physical RAM on both OSs. The test environment was NetBSD 11.1 and Debian sid (kernel 7.3).

On a fresh install with sshd running and one active incoming ssh session, I observed this memory consumption (rounded to the nearest MB):

  • Kernel RAM (static + dynamic): NetBSD 76 MB, Debian 88 MB
  • Userland: NetBSD 46MB, Debian 22MB
  • Total: NetBSD 123MB, Debian 110MB

In short, fairly comparable. The Linux kernel is heavier by a few MB, while the Debian userland is lighter. This even though my Debian install wasn’t quite the minimal one; I added the ssh server and standard tools to it. I should point out here: yes, the Debian system is running systemd. Whatever you fault systemd for, heavy RAM usage doesn’t seem to be a problem.

When looking at the installation process, Debian’s normal installer is less memory-efficient, as it loads more components into RAM, but there are ways to improve that (and alternative installation methods, which are routinely used on RAM-constrained systems such as Raspberry Pi). NetBSD’s installer becomes memory-efficient in part by ruthlessly excising every last thing it possibly can, including even TLS support.

In the end, a default minimal install is quite memory-efficient on both. Debian runs well on my 512MB Raspberry Pis (as well as anything will on a system with that kind of CPU and microSD for storage), and doesn’t dip into swap there.

Package management is hard to compare. On NetBSD, a lot of packages must be built from source, and that process is so resource-intensive that it completely blows past anything Debian does.

The most favorable picture for NetBSD is working with the packages that are available as binaries. A “pkgin update” on NetBSD consumed 21MB at most, while on Debian, “apt-get update” used 61MB. On Debian, “apt-get install dar” rocketed through in a few seconds, completing the download and installation in less time than NetBSD took to complete the download (installation was similarly much slower on NetBSD). However, “/usr/bin/time -f %M pkgin install dar” on NetBSD reported max usage of 26MB, while “/usr/bin/time apt-get install dar” on Debian reported max usage of 120MB.

This is not necessarily an entirely apples-to-apples comparison, however; Debian’s package system tracks all of the system (including what NetBSD calls the “base system”), has a larger pool to draw from, and generally has more features. pkgin on NetBSD is rather incomplete, especially on Alpha, and it therefore tracks far fewer packages. Bottom line: under extreme memory pressure, some basic package management functions are more memory-efficient, though slower, on NetBSD on Alpha, but I haven’t determined whether this is inherent or related to the size of the package database.

However, as we’ll get into, the broader question of maintaining a system leads to considerably more RAM usage on NetBSD due to a need to compile from source.

Filesystems and disk usage

Linux has a fantastic smorgasbord of choices. You have the modern take on the traditional filesystem in ext4, ZFS is available, btrfs is there too, plus all the others like XFS, etc. At least two filesystems with lightweight checkpointing (ZFS and btrfs) are available.

NetBSD supports ZFS, but with a lot of issues that you don’t see on FreeBSD or Linux with ZFS. Some of them are reminiscent of running ZFS on Linux maybe a decade ago. In any case, the Alpha doesn’t have enough RAM to run ZFS on any platform, so that’s out.

NetBSD installed onto a UFS1 partition. This is an old-school filesystem like ext2. Somewhat to my surprise, although time_t is 64-bit on NetBSD, time_t on UFS1 is 32-bit. I discovered this when some C-Kermit tests were failing on the Alpha. There is also UFS2, which is somewhat newer (and has 64-bit time_t). But fundamentally these are still old-school fsck-type filesystems (though you can apparently enable a WAPBL log, it’s not enabled by default and I don’t know why).

Disk usage-wise, a minimal NetBSD system used about 1.5GB compared to about 960MB for Debian (minimal system plus ssh server and system tools). Note that this involves installing some things like Python from pkgin for NetBSD, both because I needed it, and to make it more comparable to Debian.

However, once pkgsrc is added, the NetBSD disk usage more than doubles, to 3.5GB due to the 292,000 files and directories it unpacks. Besides the obvious inefficiency of pkgsrc, NetBSD doesn’t split out development files into their own packages like Debian does, so packages that are only needed for their .so files wind up installing a bunch of .h and .a files also. You’re more likely to need these development files on NetBSD anyhow, due to the frequent need to compile packages from source. On Debian, you can install the -dev package if you want those, or leave it off if you don’t (as many people won’t). Nonetheless, we’re still talking sizes that, while on the higher side, are manageable on 30-year-old hardware here; I initially received that Alpha with a 9GB drive.

To conclude, for resource efficiency: despite the general zeitgeist out there and the initial impressions, Debian has the lighter footprint. On a pure minimal system, this advantage isn’t all that significant. But it balloons once you start needing to install packages from source on NetBSD, which happens pretty quickly on Alpha at least.

I don’t want to imply that there’s no bloat in a modern OS. These are both installations without GUIs, and a lot of bloat has happened in the GUI space. But I do want it to be clear that both of these OSs could easily run with 512MB of RAM or less, and have, and Debian at least is comfortable in under 2GB of disk space.

Serial console

I have an ADDS serial console built in 1983, and once I set up SRM to use it as its console, NetBSD picked that up automatically. No further setup was necessary other than just setting the TERM value in /etc/ttys, and even that wouldn’t have been necessary for most terminals (the ADDS is a pre-vt100/ANSI terminal). Nice!

Debian fully supports serial terminals from SRM through its bootloader (aboot) and on into the system, but for the kernel boot process, console= must be passed on the kernel command line; it won’t auto-detect from SRM. Having said that, while the NetBSD kernel does support command-line parameters, its Alpha bootloader doesn’t support specifying them, so it’s fortunate it can inherit from SRM.

Mysterious hangs

I noticed that NetBSD would sometimes drop off the network. When I’d go turn on the serial console to see what had happened, of course there would be nothing there… and then everyhing was fine.

Pretty soon, I realized that turning off the terminal attached to the serial console port caused NetBSD to drop the network connection. Further experimentation revealed the problem was actually deeper: turning off the screen caused NetBSD to hang, and turning it back on caused it to resume.

After considerable head-scratching, I hypothesized that somehow NetBSD must be interpretying me turning off the serial terminal as a serial break. By default, this enters the kernel debugger, though I’d never know it, because the terminal is off. Nothing else happens when the kernel is in debug mode, and when I press Enter to show the login prompt, it exits the debugger.

After running sysctl ddb.fromconsole=0, I can now turn off my terminal without hanging the OS.

Serial port confusion

This AlphaPC 164LX motherboard has two integrated DB-9 serial ports, both 16550A UARTs, which makes that part of it quite similar to a regular PC. But, alas, the first challenge is figuring out exactly what the serial port is named.

That turns out to be a pretty big challenge. NetBSD continues to use a script named /dev/MAKEDEV like a traditional Unix. That means that your /dev probably has entries for a bunch of hardware you don’t have, and may lack entries for hardware you do have. dmesg lists com0 and com1, the com(4) manpage lists /dev/tty00 and /dev/dty00 as the devices to the first serial port, and there are also /dev/tty0 and /dev/dty0. Confusingly, all of those return an error when attempting to use them. Re-creating with MAKEDEV makes them a symlink, and that’s no better.

I couldn’t find any reference guide anywhere to what serial ports are named on NetBSD. I finally just tried opening all of them, and fount /dev/ttyC0 and /dev/dtyC0 are the serial ports on my system. I have no idea why.

Now, you’re noticing a dtyC0 and ttyC0. The dtyC0 is the “dialout”, and the tty is the “dial in”. Fine, but what’s the difference? This took me awhile to figure out. Apparently the tty devices block open() (unless passed O_NONBLOCK) until the remote end asserts CD (carrier detect) on the line. This is used by getty; put your modem into auto-answer mode, and rather than wait for CD to go high, getty just waits hours (or days) for open(2) to return. Different, but it works (in theory; as you’ll see, in practice, not so much.)

I later added a 2-port PCI serial card. My on-motherboard ports moved from ttyC0 and ttyC1 (and dtyC0/dtyC1) to ttyC2/ttyC3. I guess it initializes the PCI cards first. That was a surprise, but fortunately the serial console just kept working anyhow, so that was nice.

pty bugs

The pty subsystem on NetBSD has a condition in which it can silently drop data. I first noticed this while testing C-Kermit on NetBSD. A comment in /etc/sysctl.conf implies it is a long-standing issue for PPPoE as well. I can imagine it could also be a problem for things like ssh and telnet. I reported the kernel bug about a month ago, complete with reproduction code, but it’s had no activity at all. I verified it triggered on both x86_64 and Alpha, so it’s not Alpha-specific.

I found two more pty bugs, both apparently due to race conditions in the kernel. I also reported 60993 and 61010 more than 2 weeks ago, and neither has had any activity yet.

I confirmed on IRC that I was sending these reports to the right place, but they seem to not be getting any attention.

Serial issues and bugs

I ran into quite a few issues bugs with the serial subsystem on NetBSD as well.

The first was that getty doesn’t have a way to specify an init string for the modem. It turns out there’s an /etc/ttyaction file that can call a script, which if you use stty and chat carefully, can do this. This only works because ttyaction runs earlier than the manpage says (“The ttyaction file specifies site-specific commands to run when a login session begins and ends” isn’t correct; it’s run even before getty starts listening for a call on the modem.) It took a lot of experimentation to get right; whether or not to include clocal in the stty settings, for instance.

To my pleasant surprise, getty on NetBSD has PPP auto-detection, and /etc/gettytab even had examples. This is nice, since it lets me dial-in without any login script for PPP, and yet still dial in with a regular terminal program to log in to the prompt.

Unfortunately, it’s broken. More often than not, it failed to recognize PPP frames and tried to process them as a username, and sent back login prompts to the remote end. Needless to say, this didn’t work on either end. I had to disable it, and set up a user whose shell is /usr/sbin/pppd. That worked well enough.

But I ran into two more serious problems: getty not noticing CD went high, and serial port lockup after CTS was dropped and then raised.

By the time I was done with this on Alpha, I had tried three different serial ports for the modem: the built-in 16550A, a dual-port PCI expansion card with 16550As, and I even bought an old PCI USB card off eBay for the purpose of using with a FTDI USB-serial adapter. None worked reliably. I can’t be sure, but none of these issues seem to be Alpha-specific on NetBSD.

Recall that the CD line going high is the modem’s signal to the OS that there is a remote modem connected, and that getty relies on open() blocking until CD goes high. Well, it turns out that sometimes open() never returns even after CD has been raised. This means NetBSD does nothing with the incoming call. It never reads anything and never sends anything, since getty is still waiting for open() to return. For the 16550 ports, at least, NetBSD allows me to open the dty port while getty is still waiting on the tty port, and by doing so, I was able to see that NetBSD did see the CD line going high. It just never returned at open(). The USB serial port didn’t let me open the device while getty was waiting, so I couldn’t verify there, but it seems like the same symptom.

I was able to work around this problem by installing mgetty. I had used it on Linux back in the 90s when I ran a BBS, and I initially thought it wasn’t in NetBSD because pkgin didn’t find it. Turns out it was in pkgsrc, and this is what prompted me to install pkgsrc. All that for a simple C program.

The other problem, with the serial port lockup, even mgetty couldn’t work around.

With most “modern” modems, the modem maintains a constant speed on its serial interface to the computer (often 115200bps), while having a variable rate for its analog connection to the other end. This is because line conditions might cause handshaking at different speeds, and in-modem compression can cause transfer rates to exceed the raw bitrate. But you have to have a way to signal to a machine sending a lot of data to hold off for a bit, and then to continue. By far the best way to do this is RTS/CTS hardware handshaking. The modem signals to the computer to stop sending data by dropping the CTS line. When the modem’s small transmit buffer has been depleted, it raises CTS, allowing the computer to resume sending.

When doing something like sending a file with ZModem, it is common to see the SD (sending data) and CS (clear to send; linked to the CTS line) lights go on and off in tandem.

After initially getting dialin to work on NetBSD, I dialed in from a DOS box, then ran telnet -8 -E to connect to a BBS. However, whenever I tried to download a file using ZModem, the connection hung. Not just hung, but NetBSD was in a confused state and future logins were broken also.

It turns out that when the modem dropped CTS, NetBSD stopped transmitting. But when the modem raised CTS again, NetBSD never got the message. It remained blocked on transmitting. Until, that is, some other event occurred on the line, such as receiving a character from the remote end. This apparently prompted it to check CTS and it got un-stuck.

This explains why I didn’t see the problem with a PPP connection. With TCP, the download side sends ACK packets to confirm reception of TCP packets. Moreover, if no packets come in for awhile, it will timeout and send a packet. All of this combines to kickstart NetBSD’s CTS check and it seems to never have a problem there. The Kermit protocol, in its default configuration, also uses sliding windows with ACKs, so again, no problem there.

ZModem, by default, is streaming. The receiving side sends nothing while the transfer is going on, so long as it’s receiving everything correctly. There’s nothing to cause NetBSD to unblock its writes.

I also reported this bug, but like the others, it hasn’t been addressed.

The only workaround for this one was to use hardware with a different driver. The USB FTDI interface didn’t have this problem, though I get frequent ohci “scheduling overrun” messages on my console from it. USB was not period-appropriate for this Alpha, though, so I’d rather not use it, and it still has the same open() issue.

I’ve ordered a Prolific USB-serial adapter. I guess maybe that will work with both flow control and carrier detection, but at this point my NetBSD experiment has gotten rather expensive as I have to keep throwing different kinds of hardware at the software bugs.

Security

This is where things take a turn for the particularly disturbing.

NetBSD has effectively two (or maybe three, depending on how you count) package systems: the base system (which unpacks tarballs) and pkgin/pkgsrc (pkgin installs binary packages, while pkgsrc builds from source).

Updating these three sources are three different commands. (pkgsrc uses cvs update, which if any of you are old enough to remember CVS, should make you shudder.)

There is a way to audit your installed packages for security vulnerabilities installed on your system. Not so for the base system. Note that the base system includes such things as ssh, SSL/TLS, curl, zlib, etc.

The only way to find out when there are security bugs for the base system is to subscribe to both security-announce and netbsd-announce. security-announce seems to get a post once every 2 years, but when it does, it is important, though it doesn’t announce bugs fixed in the base system.

NetBSD 11.1 became available recently, and it does indeed fix a number of security vulnerabilities. Unfortunately, you can’t just install a targeted set of packages. You have to reinstall it all, which takes a long time. So when there’s a security bug in brotli, or ssh, or whatever, you can’t just install a targeted patch. You wait for a new OS release and upgrade the whole thing (or, I guess, you could manually patch and rebuild, but this is impractically slow on Alpha). This looks untenable given the rate of security findings in 2026.

As an example: NetBSD 11.1 came out on November 2. It was listed as fixing Brotli CVE-2026-111497 (published Oct. 22). Debian patched Brotli on Oct. 23, 10 days before NetBSD released 11.1. Debian’s patch would have been automatically installed by people running unattended-upgrades, and no reboot would be required (needsrestart would restart necessary daemons).

There is nothing like unattended-upgrades for any of the systems on NetBSD.

So, let’s say you want to get patches for security issues in the base system. To do that, you have to upgrade the base system.

Upgrading the base system

The standard manual tells you to boot the installation system again to install a NetBSD upgrade. Yes, that’s right. The standard instructions amount to burning a new ISO, booting from it, and installing the upgrade from there. Ouch. The NetBSD 11.1 announcement also suggests this method. (This is not an alpha-specific thing in the installation instructions; it’s also there for amd64).

A different document also mentions a tool called sysupgrade to do this from a running system. sysupgrade isn’t part of the base system; it’s a package. But “pkgin install sysupgrade” doesn’t find it, so I have to build it from source. Another reason I had to install pkgsrc.

Remember, to build even one package from source, you have to download a tarball containing the NetBSD packaging information for every package. That’s a tarball with 290,334 entries, which took 22 minutes to extract on the Alpha.

Then you “make” to build the packages you want. But oh, regular users don’t have permission, so yes, you’re running all the build tools as root. OK, you grit your teeth and run “make” and “make install” as root, and now you have sysupgrade!

Sidebar: NetBSD installs the pkgsrc files owned by uid 600, gid 125, neither of which exist on the system. I’m not sure what the point of that is, and it’s not documented anywhere.

So you can run “sysupgrade auto”, and it will download the base system tarballs and extract them. It will ask you about modifications to things in /etc. Most of them you have to tell it to keep your version; no, do not blow away changes to /etc/group, thankyouverymuch. I don’t know why it’s not smart enough to figure that out itself, since NetBSD 11.1 didn’t contain changes to the file anyway.

It also asks about local changes to a bunch of files I never touched, such /etc/namedb/bind.keys and /etc/motd.

Now at the very end of it, you see “sysupgrade: E: Some postinstall(8) checks have failed”. Oh joy. Hope you ran it in a terminal with scrollback.

I found “postinstall checks failed: opensslcertsrehash” so I ran the script it told me to run, “sh /usr/sbin/postinstall -s /var/cache/sysupgrade/etc.tgz -d / fix opensslcertsrehash” and it seemed to be happy. Why it didn’t do that itself, I don’t know. I hope I didn’t miss any other failures.

Upgrading packages

You can run “pkg_admin fetch-pkg-vulnerabilities” and then “pkg_admin audit”.

On my Alpha, it shows quite a bit. Here are some excerpts:


Package expat-2.8.2 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2025-66382
Package python313-3.13.14 has a command-injection vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2025-15366
Package python313-3.13.14 has a command-injection vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2025-15367
Package python313-3.13.14 has a input-validation vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2025-12781
Package python313-3.13.14 has a path-traversal vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2026-3479
Package lrzsz-0.12.20nb1 has a information-disclosure vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-10195
Package perl-5.42.2nb3 has a symlink-attack vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2011-4116
Package libxml2-2.15.1 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2025-8732
Package libxml2-2.15.1 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2026-0989
Package libxml2-2.15.1 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2026-0990
Package wget-1.25.0nb5 has a sensitive-information-disclosure vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2021-31879
Package mgetty-1.1.37nb21 has a command-injection vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-16741
Package mgetty-1.1.37nb21 has a stack-overflow vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-16742
Package mgetty-1.1.37nb21 has a stack-overflow vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-16743
Package mgetty-1.1.37nb21 has a command-injection vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-16744
Package mgetty-1.1.37nb21 has a stack-overflow vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-16745
Package mgetty-1.1.37nb21 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2019-1010189
Package mgetty-1.1.37nb21 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2019-1010190

But, after a fresh “pkgin update”, “pkgin upgrade” shows nothing to do.

I checked a few of these. lzo and wget have nothing newer in NetBSD. libxml2 has a newer version available in pkgsrc, but it’s unclear if it fixes these issues.

Python is annoying. You can’t just install python. You have to install a specific version. So there is now a python314 package; maybe it’s better? But python313 won’t auto-upgrade to it.

I installed the python314 package, and now I have the same vulnerabilities in both. Sigh. They haven’t upgraded either the 3.13 or the 3.14 packages to the fixed versions.

But look at mgetty. These bugs came out 7 or 8 years ago. The Linux distros that still shipped mgetty, including Debian, patched years ago when the vulnerabilities came out. A new upstream version has the fix. It would be easy for NetBSD to fix this. Clearly NetBSD is aware of the issues, since NetBSD’s own tools highlight it. In fact, if you are watching very carefully as you build it from pkgsrc, it will even print a warning about it — but it doesn’t pause for you to acknowledge, and had I installed it on anything with more modern speed, it’d have scrolled by before I’d ever noticed.

You could make the case that NetBSD is an open source project, and it takes volunteers to fix things. You’d be right. But, back in July, I sent NetBSD a report about security bugs I’d found in C-Kermit, along with a patch to update their packages to a modern and fixed version (which, for the first time, runs NetBSD in CI), etc. I had understood the lack of progress on that one to possibly be impacted by extenuating circumstances; for instance, it’s a new major version from a new maintainer with a new Kermit project. A degree of caution is reasonable.

Maybe I’m the first person to install mgetty for NetBSD for years. So perhaps you could say, “well, if I notice a bug, I could submit a fix.” But that makes the question be for me: do I have time in my life to spend so much time fighting bugs and security issues with NetBSD, or should I try a different OS or platform where the community is already taking care of such things?

It certainly wasn’t the only reason, but it was this mgetty issue that pushed me over the edge to trying a modern Linux on this Alpha. Security needs to have less friction; when patching is easy, people will patch. NetBSD doesn’t make it easy in any respect, and keeping something in the system for 8 years despite knowing it has security issues looks really questionable to me.

Conclusions and next steps

I’m going to keep NetBSD on this system. Partly because it is fun to play with something different, and NetBSD on an Alpha is most definitely different than what I’m used to. Partly because running an ancient version of Debian would be a security problem (yes I am aware that running DOS and OS/2 is also a security problem, but I’m managing that separately). And partly because, despite the complaints above, I really do enjoy NetBSD and have a lot of respect for what people are doing there. Having said that, this NetBSD box is pretty inefficient in terms of both time and money. Buggy serial system leads to needing to buy different hardware, and setting it up has taken a lot of time due to all these bugs, while maintaining it promises to take a lot of time also. Some of this is fun, but running pkg_audit, manually fixing things (or more likely, ignoring them), manually checking the base system for updates… that’s going to wear thin, and I’d rather play with my daughter than do that. Realistically, I don’t think I’ll keep up with it. At which point, well, maybe the ancient version of Debian doesn’t look so bad.

But I’ve also tried modern Debian, and I’ll report on that in a separate post. Debian on Alpha isn’t without its quirks these days, either.

I don’t know how long Alpha will be a viable platform. The lack of Rust and Go support for it is already a challenge, though there are efforts being made on both. As Debian and other parts of the Linux ecosystem rightly embrace Rust, that could further erode Alpha’s viability with Linux unless the Rust work reaches viability soon. Already some of my favorite programs (NNCP, Yggdrasil, and my own filespooler) would be a great fit for NetBSD, but are unusable on Alpha because of lack of Go and Rust support there. Perhaps gccrs will help in the future though. Still, I’ll enjoy the Alpha running an actual workload while I can!

Planet Debian — Paulo Henrique de Lima Santana: My experience at Debian Reunion Brasil 2026

For some time, Daniel Lenharo and I had been considering organizing a meeting in São Paulo to bring the Debian community together for a few days. Unlike the MiniDebConfs that we host annually around April or May, this event would not feature talks, workshops, formal registration, sponsors, t-shirts, etc. Instead, the focus would be exclusively on hands-on contributions to the project - much like similar meetings held in other countries - bringing together Debian Developers (DDs), Debian Maintainers (DMs), and other contributors. We chose São Paulo to make it easier for interested individuals to attend, as the city is home to the country’s major airports, which would also help keep airfare costs more affordable.

During DebConf26, held in July, we talked with other Brazilian contributors and decided to organize the first edition of Debian Reunion Brasil, taking advantage of a long weekend - coinciding with the national holiday for Black Consciousness Day - from November 20th to 22nd (Friday to Sunday). Additionally, David Tadokoro has secured a room at the CCSL (FLOSS Competence Center) at IME-USP.


Debian Reunion 2026 1

While at DebConf26, Daniel and I talked in person with the current Debian leader, Sruthi Chandran, and asked if Debian could provide financial support to cover travel expenses for contributors coming from outside São Paulo; she readily supported our request.

Once the venue booking was confirmed, we began promoting our Debian Reunion to the community and inviting people interested in spending three days contributing to Debian.

I traveled from Belo Horizonte to São Paulo on Thursday night (19th), and upon arriving at the hotel, I met up with the “curitibinhas” Daniel and Marcos Talau, and we went out to dinner. On Friday morning (20th), we met Thiago Pezzo at the hotel and headed together to the CCSL at USP. Once there, I ran into some other friends and met a few new people.

We spent the morning discussing the organization of MiniDebConf Curitiba 2027, which will take place from April 25th to May 2nd. We covered the schedule of activities throughout the week, the venues, the sponsorship plan, bursaries, swag, and other details. It’s clear that meeting in person is far more productive than communicating remotely; I found our discussion very fruitful. There were 15 of us, and we all went to lunch together, which further helped us connect. In the afternoon, I took part in a planning session for the Debian Brazilian Portuguese translation team for 2027. I will continue to focus on keeping the translations for the debian.org website up to date, and I’ve committed to reaching out to and encouraging others to help translate .po files (for debconf, man pages, etc) ahead of the release of Forky in 2027. In the evening, I went to dinner with Daniel, Talau, and Thiago (along with his son), and we spent a great few hours chatting.

On Saturday (21st), I dedicated my time to translating files from the debian.org website as well as various .po files. Lunch was, once again, quite enjoyable, and throughout the day - alongside our actual work - we frequently found ourselves discussing Debian, our events, the planning for our translation team, and so on. In the evening, while some headed out to enjoy the nightlife in São Paulo, Daniel and I went to grab some pizza near the hotel.

On Sunday (22nd) morning, we headed to USP, and I took the opportunity to ask Charles a few questions about how to submit a package to proposed-updates. I needed to send a security fix for the python-engineio package to the stable distribution, It was my first time submitting a package to proposed-updates. Thanks for the help, Charles! I also took the chance to update the flask-socketio package to a new upstream version. We had lunch together again, and a few hours later, I left for the airport, as my flight back to Belo Horizonte was in the late afternoon. The return trip went smoothly, and I arrived home very happy to have taken part in the meeting.

The CCSL rooms were perfect for hosting the Debian Reunion, and we discussed using the same venue next year, during the November 15th holiday. Let’s hope it works out and that we also have more people participating and contributing.

Summary of my contributions over these three days:

  • Joined meeting with the debian-l10n-ptbr team to plan activities.
  • Reviewed of the work by the debian-l10n-ptbr team for the release of Debian Forky in 2027.
  • Joined planning meeting for MiniDebConf Curitiba 2027.
  • Updated the list of Brazilian DDs (Debian Developers).
  • Uploaded of flask-socketio_5.7.2-1 (new upstream version).
  • Uploaded of python-engineio_4.11.2-1+deb13u1 (my first submission to p-u [proposed-updates]).
  • New debian.org translations:
    • portuguese/News/2026/20260831.wml
    • portuguese/News/2026/20260712.wml
    • portuguese/News/2026/20260807.wml
    • portuguese/releases/vote/2026/*001*
  • Updated debian.org translations:
    • portuguese/releases/index.wml
  • Updated .po file translations:
    • po://apt-listbugs/po/pt_BR.po
    • po://dpkg/dselect/po/pt_BR.po
    • po://dpkg/po/pt_BR.po
    • po-debconf://zfs-linux/pt_BR.po
    • po-debconf://openvox/pt_BR.po
    • po-debconf://neutron-dynamic-routing/pt_BR.po

A few acknowledgments:

  • Thanks to Sruthi Chandran for accepting my request for financial support from Debian to cover my travel, accommodation, and meal expenses for attending the meeting.
  • Thanks to Daniel Lenharo for his dedicated efforts in coordinating the organization of the meeting; without him, the event would not have taken place.
  • Thanks to David Tadokoro, Rafael Passos, and Prof. Paulo Meirelles for arranging the venue and hosting us at USP.
  • Thanks to all the contributors who took advantage of these three days to help improve Debian.


Debian Reunion 2026 1

Planet Debian — Vincent Bernat: Steering browser line breaks with invisible characters

Good typography is difficult to achieve on the web. Compared to typesetting engines like LaTeX or Typst, the web still lacks a good line-breaking algorithm. The CSS directive text-wrap: pretty tries to improve the situation but is still not implemented in Firefox and produces eerie narrower paragraphs with Safari. Various good implementations of the Knuth-Plass algorithm exist in JavaScript, but they either reflow the text or delay its display. Instead, I taught my static site generator to manually insert soft hyphens and non-breaking spaces at tactical locations to achieve a predictable, okayish result.

Comparison with existing solutions

Let's benchmark with a short paragraph in French from Jules Verne's "L'�le mystérieuse":

Le marin pressa la main du reporter, dont il ne pouvait se faire entendre, et d'une façon qui signifiait : « Attendez ! » puis, il rentra dans le couloir. Un instant après, il ressortait avec un fagot allumé, il le projetait dans les ténèbres, et il poussait des sifflements aigus.

The images below show the rendered layout for the three main web engines. Visit the live page to animate the paragraph widths and compare the effects of the various features.

Let's try Firefox 160 first. The most notable "defect" for this paragraph is the word "aigus": it may stay alone on the last line—or even be hyphenated. This is a "runt."2 With hyphenation disabled, runts are rarer, but the layout introduces "bad rags": a large blank space between the end of a line and the right margin, like in the second line when the paragraph width is 825 pixels. When the paragraph is justified, bad rags are translated into larger spaces between words. These traits make your text look poor and should be avoided.3

Line-breaking in Firefox 160

Unlike Firefox, Chromium 157 implements text-wrap: pretty. It adjusts paragraphs ending with a word alone on the last line by adjusting the break points for the last four lines to hold the last two words together, like "sifflements aigus" in our example.

Line-breaking in Chromium 157

Like Firefox, WebKitGTK 2.544 may hyphenate "aigus," leaving a very short runt on the last line. With text-wrap: pretty and without justification, it often creates shorter paragraphs. When enabling both pretty wrapping and justification, WebKitGTK performs worse than any other browser in this example as it inserts too much space.

Line-breaking in WebKitGTK 2.54

My solution is to insert soft hyphens (U+00AD), except near the end of the paragraph, and to insert non-breaking spaces (U+00A0) to meet the minimal requirement to prevent a runt. In my case, I set the limit to 8 characters, punctuation included.

The animation below marks each non-breaking space with a purple triangle and every soft hyphen with a vertical red line.5 With hyphens: manual, the browser may insert a line break anywhere a soft hyphen is present.

Line-breaking in Firefox 160 with preprocessed text

Such an approach cannot match a proper line-breaking algorithm, but it works in Firefox, prevents the shortened paragraphs in Safari, and sometimes provides better results than what Chromium did, as it allows hyphenation of "sif�fle�ments." Moreover, all browsers will break lines at the same places: with hyphens: auto, each browser uses its own hyphenation dictionary and Safari ignores hyphenate-limit-chars, while the specification for text-wrap: pretty leaves the algorithm to each browser.

Implementation

My custom static site generator includes a step to alter HTML files: add a table of contents, turn footnotes to sidenotes, add links for the print version, include the script and CSS files required to render the page, etc. This looks like a good place to fix the HTML code to hyphenate words and insert non-breaking spaces.

I also add a bit of typographic sugar: I convert the straight single quotes '…' and double quotes "…" to their curly equivalents: ‘…’ and “…�; I turn an ellipsis ... into its dedicated equivalent …; I add a narrow non-breaking space before a double punctuation or between two groups of digits in French, like in "Ça fait donc 501 622 731."

We could implement these transformations with regular expressions and a hyphenation library like Pyphen:

NNBSP = "\u202f" # NARROW NO-BREAK SPACE
SHY = "\u00ad"   # SOFT HYPHEN
NBSP = "\u00a0"  # NO-BREAK SPACE

opening_quote = re.compile(r"""(?<![^\s(\[{])(['"])(?!\s)""")
closing_quote = re.compile(r"""(?<=[^\s(\[{])(['"])""")
space_before_punct = re.compile(r"\s([:;!?%»])")
space_after_punct = re.compile(r"«\s")
last_chars = re.compile(r"(?:[^\s\xad][\s\xad]*){1,8}$")
word = re.compile(r"\w+")

def typography(text: str, lang: str) -> str:
    r"""Apply typographic rules to text.

    >>> typography('"Don\'t panic," he said.', "en_US")
    '“Don’t panic,�\xa0he\xa0said.'
    >>> typography("« Attendez ! »", "fr")
    '«\u202fAt\xadtendez\u202f!\u202f»'
    """
    text = opening_quote.sub(lambda m: "‘" if m[1] == "'" else "“", text)
    text = closing_quote.sub(lambda m: "’" if m[1] == "'" else "�", text)
    text = space_before_punct.sub(NNBSP + r"\1", text)
    text = space_after_punct.sub("«" + NNBSP, text)
    text = text.replace("...", "…")
    # Hyphenation
    hyphenator = pyphen.Pyphen(lang=lang, left=2, right=3)
    text = word.sub(lambda m: hyphenator.inserted(m[0], SHY), text)
    # No line break in the last 8 characters
    text = last_chars.sub(
        lambda m: m[0].replace(SHY, "").replace(" ", NBSP), text
    )
    return text

However, it breaks if we have HTML tags in the middle:

<p>I have read "<a href="https://en.wikipedia.org/wiki/Dune_(novel)">Dune</a>".</p>

The naive regular expression transforms the quotes of the href attribute. If we apply the regular expression to each text node, we get I have read “Dune“.

Dealing with HTML

While we could tune the regular expressions, this approach is quite fragile. We need to apply the transformations to the plain text and stitch the HTML markup back into the result. I use the lxml library to parse and manipulate HTML. Iterating over each block and extracting the text is straightforward, but we lose all the inner markup:

for block in root.iter("p", "li", "h1", "h2", "h3"):
    text = typography("".join(block.itertext()), "en_US")

Instead, we need to keep track of the position of each group of letters in a depth-first walk of the HTML tree. For example, we split the text from the previous HTML specimen into three slots:

slots = [
    ["p.text", 0, 'I have read "'],
    ["a.text", 13, "Dune"],
    ["a.tail", 17, '".'],
]
text = "".join(slot[2] for slot in slots)

We translate modifications to the text into a list of substitutions: start position, end position, and new text.

changes = []
for m in opening_quote.finditer(text):
    start, end = m.span(1)
    changes.append((start, end, "‘" if m[1] == "'" else "“"))
for m in closing_quote.finditer(text):
    start, end = m.span(1)
    changes.append((start, end, "’" if m[1] == "'" else "�"))
# changes = [(12, 13, "“"), (17, 18, "�")]

To apply a substitution, we locate the slot it applies to and update the text.6

for start, end, new in changes:
    slot = next(slot for slot in reversed(slots) if slot[1] <= start)
    offset = start - slot[1]
    slot[2] = slot[2][:offset] + new + slot[2][offset + end - start :]
# slots = [["p.text", 0, "I have read “"],
#  ["a.text", 13, "Dune"], 
#  ["a.tail", 17, "�."]]

We can stitch the modifications back into the HTML tree with a second depth-first walk, amending the text nodes when they are different from what we recorded in the slots.

Faster with Cython

For this task, Python is not the fastest language on this side of the galaxy.7 But we can significantly speed up some parts of the code with Cython, a compiler to turn Python code into C extensions.

I converted the regular expressions to hand-written loops, stole the Liang hyphenation algorithm from Pyphen, and moved them to Cython using the pure Python syntax along with the code keeping track of the HTML structure. As a result, the code is four times faster! 🚀

Inline code

I handle inline code a bit differently: I insert zero-width spaces before some markers: ., _, /, =, and :. This lets the browser split a long IPv6 address, like 2a01:e0e:c03c:f44e:dabc:7337:38fa:ff40, or a Python method name, like xxhash.xxh3_128_hexdigest(), at those markers. As far as I know, this is not something possible with just CSS.

Copy/paste

When copying text, some browsers may keep the soft hyphens or zero-width spaces. This is annoying when pasting into a terminal. We can intercept the "copy" event and strip these special characters from the text/plain version recorded in the clipboard:

document.addEventListener("copy", (event) => {
  const selection = document.getSelection();
  const raw = selection.toString();
  const text = raw
    // SOFT HYPHEN, ZERO WIDTH SPACE
    .replace(/[\u00ad\u200b]/g, "")
    // NO-BREAK SPACE, NARROW NO-BREAK SPACE
    .replace(/[\u00a0\u202f]/g, " ");
  if (text === raw) return;
  const div = document.createElement("div");
  for (let i = 0; i < selection.rangeCount; i++)
    div.appendChild(selection.getRangeAt(i).cloneContents());
  event.clipboardData.setData("text/plain", text);
  event.clipboardData.setData("text/html", div.innerHTML);
  event.preventDefault();
});

Soft hyphens don't interfere with other features, like browsers' find-in-page or indexing by Pagefind.

Is it worth it?

As with vertical rhythm, no one would notice this small arrangement if it weren't for this article. But, you know what? I notice it, and it makes me happy. So I'll keep spending time on pointless stuff like this because it soothes me. �

I have never been as self-conscious about my handwriting as when I was inking in the caption for this comic.
xkcd: Kerning

Note

Maytham Alsudany reviewed a first draft of this article. Any errors are still mine!


  1. For each browser engine, paragraph width, and feature, a test harness recorded the position of each letter. Some JavaScript code replays the rendered layout. ↩

  2. Various sources incorrectly refer to runts as widows or orphans. In The Elements of Typographic Style, Robert Bringhurst explains the difference between widows and orphans, which are less of a concern on the web without the concept of pages:

    Isolated lines created when paragraphs begin on the last line of a page are known as orphans. They have no past, but they do have a future, and they need not trouble the typographer. The stub-ends left when paragraphs end on the first line of a page are called widows. They have a past but no future, and they look foreshortened and forlorn.

    ↩

  3. Robert Bringhurst dictates four as the minimum word length alone on the last line, but many prefer more than that.

    2.4.2. Avoid leaving the stub-end of a hyphenated word, or any word shorter than four letters as the last line of a paragraph.

    ↩

  4. It should match the behavior of a recent Safari 26, except maybe on the hyphenation dictionary. ↩

  5. To show these marks on any page of this blog, type � � s. ↩

  6. The example only shows same-length substitutions. To handle the general case, we must also refresh the positions. ↩

  7. The Python JIT could have given good results. As it is likely to be removed, I didn't try. ↩

Worse Than Failure — Classic WTF: The Quine Programmer

It's a holiday in the US, where we give thanks. Specifically, we give thanks that we're not working with the person responsible for this. Original --Remy

The Quine – i.e., a program that produces its own source code as output – lives in the esoteric realm of computing and computer science. It’s almost entirely useless, but usually pretty fun. The Quine Programmer, on the other hand, is among the pantheon of programming gods, sitting between The Great Abstractor and The PHP God.

The Quine Programmer has the uncanny gifts of being infinitely good at programming and infinitely insightful, thus allowing him to write a program to replace himself and all other programmers. The output of The Quine Programmer is system that’s fully configurable by the end-user; should the end-user want something changed, she can simply change it herself.

Of course, “can” and “will” are two separate concepts, and oftentimes the end-user of such a system will rely on others for such a change. Willy is one of those “others”, and he often finds himself wondering why the end-user just doesn’t change the logic herself. After all, their system was built by The Quine Programmer himself, and is therefore easily changeable.

Willy also finds himself wondering how he ended up as a “programmer” of a system that clearly needs no “programming” and how long it will take for him to find a new job. He’s hoping it’s before he’s tasked with modifying one of the “complex” workflows.

[Advertisement] Keep the plebs out of prod. Restrict NuGet feed privileges with ProGet. Learn more.

365 Tomorrows — Potted Plant

Author: Anirudh Sai The dishes piled up to the point of empty cupboards. Avoiding them was no longer an option and so, Ryan set his mind to do it first thing in the morning before his wife returned from her trip. After a morning spent trying to pick the perfect playlist for the dishes, he […]

The post Potted Plant appeared first on 365tomorrows.

Planet Debian — John Goerzen: I Booted From My Tape Backup From 2002

Back in 2002, I had an Exabyte tape drive (7GB native / 14GB compressed) that ran Amanda and made backups of a few of my systems, primarily my Alpha system.

To cut to the chase a bit, I managed to restore it and made the resulting environment bootable. Here it is, with KDE 2, Konqueror showing Internet of the time thanks to Protoweb, and Gopher showing a current Gopher server:

This was a lot of fun and a bit of a challenge. Here’s the story.

The Hardware

I had an AlphaPC 164LX with a 600MHz 21164a CPU. This is a bit of an intersting piece of hardware. It had the DEC Alpha processor, which was normally associated with more DEC-specific hardware. But the AlphaPC board tried to use the PC ecosystem. It had PCI and ISA slots, PS/2 keyboard and mouse, and was ATX form factor. The AlphaBIOS it shipped with could even boot a short-lived port of Windows NT to Alpha. I, however, primarily ran Linux on it.

At some point, Linux started to strongly prefer the SRM text console, which was more designed for Digital’s UNIX and VMS OSs. I flashed that to the Alpha. Later on, I took all the guts out of the case and reused the case for an x86-64 server. But I still had all the parts.

I put it all back together. Even my 10,000RPM UW-SCSI Cheetah drive still works, and still makes impressive and annoying noises. That recording was made when I installed it in an x86-64 to take an image from for preservation, before putting it back into the Alpha.

But, that drive was from 2004, after I no longer used the Alpha as a workstation. It was mostly a headless server by then, and no longer as interesting.

Backup restoration

To get back to the workstation days, I needed to restore backups.

In 2018, I sought to restore as much as I could from my Exabyte tapes before they degraded. My Exabyte drive had failed years ago, but I bought another on eBay. Combined with a SCSI card I still had, it wasn’t hard to read each file on those tapes onto files on disk. Most of the tapes read fine, though some had errors. That was step 1.

The backups were made with Amanda, which is an orchestration layer over (mostly) tar. I had forgotten, but I had hacked Amanda back in the day to use bzip2 instead of gzip, to save some precious space on the tapes. So I had to replicate that hack, building a Docker container to do all this in, and modifying Amanda to read from the backup files I had created. I surmised that trying to do a bunch of testing on real tapes could risk degrading them further.

After a whole bunch of hacking, I was able to restore a complete tree at each backup date (that didn’t depend on a tape with read errors). The data was safe, and that is where I left the project 8 years ago.

Re-installing on Alpha

I reassembled the Alpha from parts. After some initial issues with RAM compatibility, I got it all working.

This is a photo of the Alpha. It’s the machine on the left. The one on the right is a more normal-sized tower. You can read more about the motherboard here.

Rather than push my luck with hard drives that are about 30 years old now, I decided to use a BlueSCSI, which presents files on a SD card as SCSI devices to a SCSI controller. This made things much simpler, as I could put multiple disk images on there, and mount them on my laptop using the loopback device. All the while not worrying about damaging the fragile 68-pin SCSI connectors and moving actual drives from machine to machine.

The boot disk on an Alpha must have a BSD disklabel partition table. This is because the bootloader is sought out at a specific spot on the disk that is designed to work around the precise location of a BSD disklabel. The bootloader then extends past that, so you usually create a partition starting after a gap, or make a sacrificial partition 1 that is designed to soak up the extra space needed by the bootloader (and you never put a filesystem on it). When booting from SRM, the Linux bootloader is called aboot. Lacking any way to install aboot from a modern system, I figured I would start from an existing Alpha disk image I had made, working with the partition sizes there (making a fresh filesystem as needed).

This pretty much worked. I restored my backups, fixed up some permissions, edited some files like fstab and aboot.conf (roughly similar to grub.cfg), and booted.

SRM started. aboot loaded! Yes! But the kernel promptly hung. There had been several kernel versions in that backup, and some of them hung and some didn’t.

I had already tried booting a newer system from those saved hard disks, so I knew that the kernel could boot. It just wasn’t. I remembered I had probably built my own kernel back in the day, and theorized that I had probably built it to only be booted from AlphaBIOS and its MILO boot loader. I copied a generic Debian kernel from one of those hard drives to it, and now it booted!

I couldn’t remember what video card had been in that system. From reading the /var/log/XFree86.0.log file, I concluded it was a Permedia 2 card that I had put into my K6-3/400 OS/2 system. Oops. I had bought a FireGL 1000 clone for the alpha, and after a few battles with XFree86 and broken acceleration, got X to run with it.

KDE’s taskbar, then called Kicker, wasn’t working. It segfaulted almost immediately. Apparently I had added one of these CPU or disk monitors to it, and that thing had a bug with parsing the structures in whatever kernel I had. Editing some config files removed that monitor and then Kicker worked.

At this point, everything from the Alpha seems to work except Netscape Communicator. Netscape never released a version for Alpha on Linux, but they did for Alpha on OSF/1. My backup still had the necessary OSF/1 compatibility libraries. Unfortunately, Debian’s generic kernel didn’t compile in OSF/1 support. I haven’t yet taken the step to do so myself. But, I also used Konqueror from KDE off and on over the years, and that was working.

I ran mutt, and there it was: my INBOX just as it was when it got backed up in summer of 2002. My UUCP configuration was still present. Some files from running a build daemon for Debian were there.

So there you have it. A snapshot of 24 years ago. It still had Kermit on it, which back then I mostly used to talk to my HP 48GX calculator. But even C-Kermit 7 from 2000 still talks perfectly to modern C-Kermit 11 and that was the quickest way initially to exchange files. (ssh and SSL have changed a lot since then.)

It’s fun exploring my files from back then. Although I took care to migrate data to new machines when I got them, it’s different to see them all in their original context and what I was working on back then, or to use the up arrow and see what was in my bash history.

I’ve also worked to install modern NetBSD and Debian Linux on this. More on those projects in future posts.

,

Planet Linux Australia — Seeing an uptick in FreeBSD wireless contributions, or "yes you gotta make a community by making a community"

 As 2026 draws to a close, I'd just like to thank everyone who has been involved in FreeBSD and contributing to the wireless side of things.

It's been an interesting dive into what it takes to re-constitute a community of people into participating and contributing. When I jumped back in a couple years ago there wasn't really much going on - bz@ was being paid to work on linuxkpi, but outside of that it didn't really look like much else was going on. Fast forward to today and we now have people contributing all kinds of stuff (and yes some of it involves people using LLM tooling to figure stuff out, but people have to start somewhere!), we have new chipsets and drivers showing up and a little group of folks on Discord trying to push the state of wireless forward.

A big part of this is meeting people where they're at. Yes, there's still #freebsd-wifi on efnet, but by and large the currently active group is on the FreeBSD Discord. There's people trying stuff, testing it out, throwing an LLM or two at trying to figure out what's wrong (and finding issues that actually do need fixing!); there's been people porting stuff who needed a bit of help to get through some issues, and people who just needed a bit of encouragement to contribute partially done stuff so we can help get it over the finishing line.

Importantly - it requires people talking to people and re-building a sense of community and a safe space where people can try stuff out and participate without being judged. Operating systems are hard, drivers are harder, and 802.11 stuff is even more fruity. Having a place people can go and ask questions without being mocked or hated on seems to be helping out.

Anyway, thanks to everyone who's participating and here's to even more fun stuff happening in 2027. 

Planet Linux Australia Continuations 2026/47: Heigl territory

Cryptogram Tracking Incidents of Hacking Using AI Tools

Daniel Meissler is tracking incidents of AI-enhanced hacking, and the offensive harnesses the hackers are using.

Planet Debian — Maytham Alsudany: Relicensing the entire Debian wiki (part 1)

So the Debian wiki's been around for 25 years, but no-one thought about licensing when it was started. There have been a few short email threads over the years on this topic, but nothing actually happened. Now, since gears are turning on moving the wiki to MediaWiki, we're finally trying to fix the licensing issue... yay us! (Sarcasm.)

Background

The wiki started in 2001 running under wiki.debian.net, which used a custom licence with the bare legal minimum to allow content to go on the wiki. As you can probably tell, this is not a "free" licence with respect to the Debian Free Software Guidelines.

For those who don't know, the Debian Free Software Guidelines (DFSG) define whether a given piece of software (or in this case, adapted to writing and media works) is "free" as in freedom. You may be more familiar with the Open Source Definition, which was adapted from the DFSG.

In 2005, wiki.debian.org was established running MoinMoin, the software that it still uses today, and content was imported from wiki.debian.net. At this time, Jonathan Dowland raised concerns on the lack of licensing terms on the new MoinMoin installation as well as the copyright status of the content being imported, but it happened anyway. As he puts it, "the question is now whether the material on this site is DFSG at all and if it ever will be." Currently, the Debian wiki is the biggest wiki on the internet that uses MoinMoin according to Steve McIntyre during DebConf25.

So now it was going from custom licence to no licence at all. At that time, someone suggested the wiki used the GNU Free Documentation Licence (GFDL), before Steve corrected it.

Since then, people have been editing and contributing to the wiki, growing it as an essential, if sometimes messy, resource for information about Debian. Now it's not as beautiful or well organised as, say, the Arch Wiki, but content like the page on installing Nvidia graphics drivers or the page on installing Debian have helped likely hundreds of thousands, perhaps millions, of people according to data Jonathan collected over two months. Take that with a grain of salt though as AI scrapers have skewed these counts recently.

Yet, there was no clear licence for the content people were putting on the wiki. And when there is no licence, and no-one specifies a licence on the page itself, it is assumed to be "all rights reserved" in most jurisdictions. This is ignoring the implicit grant given by an editor to display that content on the wiki when they submit content to the wiki, but this is shaky at best and doesn't provide the clear permissions needed to freely reuse that content.

Steve McIntyre speaking at DebConf25

Steve McIntyre hosted a Debian Wiki BoF (Birds of a Feather meeting) at DebConf 25. Credit: DebConf Video Team; MIT licence.

During DebConf 25, there was a BoF meeting to discuss the wiki, preceded by a great "biased SWOT analysis" presentation by the Arch Wiki admins on how they run their wiki and the challenges they faced. The wiki BoF discussed a range of topics, one of which was licensing.

Following this, stuff started happening to make major changes to the wiki, mainly with a migration to MediaWiki to leave the unmaintained MoinMoin software and be able to upgrade away from Debian Buster (version 10, oof!), as well as the creation of a new mailing list and IRC channel.

At the same time, I started pushing to fix content licensing, and for the last 16 months, I have been largely working alone to slowly but surely relicense everything ever put on the wiki. This article aims to document what has been done so far and why, and some challenges encountered along the way.

You can watch the wiki BoF: low quality, HD (warning: choppy audio), and the Arch Wiki presentation: low quality, HD, thanks to the DebConf Video Team who recorded them during DebConf 25.

Picking a licence

First things first, we needed to pick a licence. After some email discussion on the new mailing list, we landed on the Creative Commons Attribution-ShareAlike 4.0 licence (CC BY-SA 4.0) for the following reasons:

  • It is designed explicitly for content and media, compared to other licences that are aimed at software (e.g. MIT).
  • It requires attribution for contributors' hard work.
  • It ensures any adaptations of the work continue to use the same or compatible licence, preventing someone from taking the work and making it proprietary.
  • It is pretty permissive and allows adapting CC BY-SA 4.0 materials into GPL-3-licensed works, like package manual pages and other documentation.

Some licences were ruled out for various reasons:

  • Public domain / CC Zero - We wanted a licence that required attribution, especially considering the wiki relies on volunteers to populate and update its content.

    This would also make it difficult for any content to be brought into the wiki from other sources, since they would have attribution requirements that could not be preserved under CC0.

  • GNU Free Documentation Licence (GFDL) - Debian only considers the GFDL to be a DFSG-free licence when it is used without any of its invariant options as per the 2006 general resolution. Also, this licence would limit where wiki content could be integrated outside of the wiki. Generally, this is an unwieldy licence with many restrictions, and should probably be reserved for printed works as it was designed for that.

  • Creative Commons NC & ND options - The Non-Commercial (NC) and Non-Derivative (ND) options for Creative Commons licences are not compatible with the DFSG.

It's not like CC BY-SA 4.0 is a niche licence; it is the licence that Wikipedia uses. As a result, we can copy content back and forth from a whole lot of places with this licence.

Overall, CC BY-SA 4.0 provides a balance between putting in place protections for the work contributors put into the wiki via requiring attribution and share-alike, while also being very permissive in every other aspect, in line with the kind of freedom we're looking for.

Handling new additions

Screenshot of Debian wiki's FreedomBox page showing the yellow relicensing banner.

The Debian Wiki displayed a prominent banner regarding the licence of new content.

Before dealing with the mess that is the old content, first we looked at how to handle new edits to the wiki.

After picking an arbitrary future date (in this case, 24 July 2025), I wrote a new copyright page explaining that content contributed after this date would be licensed under CC BY-SA 4.0, and summarised the main points of the licence.

Following this, I updated the website footer and added a banner notifying wiki users and editors of the licence change (or should we say: addition). It was ugly, prominent, and in highlighter yellow to make sure no-one missed it. The banner served its purpose for a few months, and then was removed because, by then, we're pretty sure we got the message across.

I also ensured this was displayed properly on the 'edit' page, so that editors understood that, by submitting their changes to the wiki after this date, they agreed to license their contribution under CC BY-SA 4.0.

Dealing with old content

Now, to the annoying part. In order to actually get everything to use CC BY-SA 4.0, contributors need to be contacted one by one and asked for permission to relicense their work, as they are the copyright holders.

Keep in mind that the end goal is for all content on the wiki to be DFSG-free, with CC BY-SA 4.0 being the preference.

Wait, how much work is this?

Allow me to first give you an idea of the scale of the task at hand:

  • There are 21,506 registered user accounts on the wiki (at the time of writing).
  • Over 290,052 edits have been made to the wiki.
  • Of those user accounts, 9,778 users have made one or more edits on the wiki.
  • Only 1,548 users have made more than 20 edits on the wiki.

These numbers are based on a snapshot from 26 January 2026.

For that last bullet point, this graph here makes it clear that the majority of user accounts (on the left side of the graph) have only made a handful of edits.

Frequency of number of edits per contributor. Each point shows how many contributors made a given number of edits. The horizontal axis uses a logarithmic scale.

Though unrelated to the topic at hand, this is probably a good argument for allowing anonymous edits to the wiki once again, a setting that was originally disabled to reduce spam. New accounts requiring manual approval, which has been in place for the past few years, was put in place for the same reason as well.

These kinds of protections mean wiki admins have to deal with less spam, but they also increase friction, which makes it harder for readers to make one-off edits and should be minimised as much as possible in the opinion of Weird Gloop, the folks behind a bunch of notable wikis, like the Minecraft wiki. Hopefully the move to MediaWiki will greatly improve the anti-spam tools available to allow for this to happen.

Finding who to contact

At the moment, what I've been doing is checking pages one at a time to determine who needs to be contacted, and emailing them. While I've been doing this, I have kept an evolving record of who has been contacted, who has agreed, and who cannot/will not agree in a Git repo on Salsa (Debian's GitLab instance).

The first thing I did was write a small script that listed pages that were three or fewer clicks away from the front page. This way, I could start with the important pages first. This turned out to be very annoying to work with, as these pages also had the most edits and unique authors (who could've guessed?). Many of them were "portal" pages as well, which are big collections of links rather than real content, so I tended to skip these.

I've created a little bit of JavaScript that acts as a bookmarklet (i.e. button in the bookmark bar that does things rather than open a URL). What it does is highlight usernames on the edit log of a given wiki page (which MoinMoin calls the "Info" tab) based on a colour code: green means agreed, yellow means contacted with no response yet, and red means "failed". This gives a great overview of the status of each contributor to the page, and also filters out edits made after the 24 July 2025 cut-off.

Screenshot of the Info tab for the Packaging page on the Debian wiki, showing contributors' usernames highlighted with colour.

The bookmarklet script highlights the username associated with each revision to show the relicensing status of each contributor.

Many pages have been completely rewritten or transformed so much that none of the original remained, so there was no point in contacting every contributor in the edit log if I could determine only the ones that mattered. Additionally, if all someone did was fix a typo or grammar mistake, they were also not worth contacting (though this was usually decided on a case-by-case basis).

This introduced a new problem; how can I filter out these contributors to find the editors responsible for the current content? The first thing that came to mind was git blame. So naturally, I ran a script on the Debian Wiki server overnight to transform the MoinMoin data into a giant Git repo, where each commit represented an edit, and the author was set to the editor's username and account email address. This resulted in a 252 megabyte repo with 290,052 commits.

MoinMoin stores its data on the filesystem, rather than a database like MediaWiki does. The data directory contains a user/ directory and pages/ directory.

Each page is represented as a directory under pages/, with special characters in page names encoded in a Moin-specific format. For instance, the page DebianDeveloper/Benefits is stored under pages/DebianDeveloper(2f)Benefits/.

Within each page, there is a cache/ directory (which we don't care about), a revisions/ directory containing a copy of the page at each revision (e.g. revisions/00000001), a current file containing the number of the latest revision, and an edit-log file containing the edit history of the page in tab-separated values (TSV) format.

The edit-log file stores the timestamp, revision number, username, IP address, and user ID for each revision, so using this and the data in the revisions/ directory, a Git repo could easily be constructed with a bit of scripting.

The final step was adding the user's email to the commit, which made it easy to associate usernames with emails within the Git repo. Each user has a file in the user/ directory named based on their user ID (assigned by Moin), and one of the attributes contained in that file is the user's email address.

Overall, the file tree looked something like this:

.
├── pages/
│   └── <page name>/
│       ├── cache/
│       ├── revisions/
│       │   ├── 00000001
│       │   └── 00000002
│       ├── current
│       └── edit-log
└── user/
    └── <user id>

Now I could git blame a page and find out exactly who should really be contacted, making this process much faster than reviewing every revision of a page by hand. This wasn't a foolproof method though, as it would blame a user for an entire line for both additions and modifications, like rephrasing a sentence or fixing a typo. It was a good starting point though, better than contacting anyone that ever edited the page. Additionally, git blame tended to be really slow, taking a few minutes every time it was run, likely because of the amount of commits involved.

I also made a wrapper around git blame to highlight lines in green, yellow, and red, allowing me to identify which lines remained to be reviewed. The colours mean the same thing as before with the bookmarklet script.

Highlighted blame output for an excerpt of the NvidiaGraphicsDrivers wiki page

The wrapper script produced a coloured output to determine the status of each editor of the page.

Recently, rather than using that 3-clicks-or-away list of pages to review, I have been sporadically reviewing any pages I stumble upon while doing other work. It may be less efficient, but it's more fun and feels less like a chore compared to reviewing pages one after another.

Sending out the emails

Of course now we need to do the most important part, actually contacting people over email.

For each user, the starting point is to retrieve the email address they have on their wiki account. Luckily, since I've got the repo as a git repo, I can git log -1 --author=<username> to do this rather than grepping the wiki data each time.

Now there were a few problems with this:

  • Email addresses were only verified for new accounts. This meant that some users changed the email address on their account to an invalid one, often intentionally (instead of asking for their account to be deleted).

  • Some email addresses were outdated and no longer existed. The most common case was for @debian.org addresses for people who have left the Debian project.

This meant that a little internet detective work was needed for some users, which involved checking things like searching Debian New Members and mailing lists. Sometimes users had a user page on the wiki with better contact info as well.

If I'm able to find a working email address, then I send them an email based on a template, which has been refined a couple times. It pretty much summarises what's going on and asks for permission to relicense their work to CC BY-SA 4.0.

These emails were sent from my @debian.org address, mostly relying on its domain reputation to cut through spam filters and end up in people's inboxes. I also CC'ed myself at a special maytham-wiki-license address, which allowed me to filter relicensing stuff into its own folder. Though, people kept leaving it out of their replies, so I ended up changing the filter to check the email subject instead. Eventually, I plan to create a Git repo containing an mbox per user to keep a record of people's responses.

Most failures occurred because the email address could not be found or the recipient mailserver had an issue, so I'd get that "Undelivered Mail Returned to Sender" email. In these cases, I wasn't able to find an alternative address. Other failures were mostly due to the contributor having passed away, and only one person so far has actually refused to relicense their work among those who have responded to the emails. All of these are being collectively referred to as "failed" users with regards to content relicensing.

Progress so far

At the time of writing (25 November 2026), the progress is as follows:

  • 791 users have been contacted.
    • 370 (47%) users have agreed to relicense their work.
    • The remaining 421 have not responded yet.
  • 67 users have been put down as "failed".

This is pretty good progress: of the 1,548 users who made 20 or more edits, 51% have been contacted, 24% have agreed to relicense, and only 4% have been marked as failed.

Next steps

Of course, not every contributor has been contacted yet, there are many more to go.

It would be great if there was a way to automate this, as a lot of it is repetitive. git blame has worked so far, but its limitations mean it still requires human review. Ideally, there should be a way to find the authors of the latest revision of the page based on word-diff rather than line-diff, and also rank them based on how much they contributed to the page. Maybe it would involve measuring Levenshtein distance per edit? Who knows?

At the moment, I don't have time to work on such a tool. So I'll keep doing it the same way I've been doing it so far: every once in a while when I open some page on the wiki, I will check who is yet to be contacted, and send out a handful of emails.

Handling failures

This likely entails stripping out each failed user's contributions from the wiki wherever it is part of the latest revision, which can also mean that some pages will need to be completely deleted as well. This is not a good thing, but it's something that has to be done to reach the aforementioned goal of a completely DFSG-free wiki.

This kind of thing probably should wait until the move to MediaWiki has happened. The tooling for doing these kinds of mass edits is much better there, and I think(?) there are plans to create a static archive of the MoinMoin wiki during or after the move, so that information isn't lost forever. This would be part of the general effort to clean up the wiki.

Following up when there is no response

A lot of the people who have been sent emails have not responded in a long time (>3 months, many much longer than that). These people need to have follow-ups sent to them, since there is a high chance the email ended up in their spam folders. I have sent follow-ups to a few people, some of which have succeeded, but this needs to be done in bulk for all the remaining people.

A limit also needs to be put in place before we give up on people. One approach would be to mark users as failed if they do not respond to two further follow-ups after the initial email, each spaced at least a month apart from the previous email, for a total of at least three months from first contact. This would be loosely based on the kind of procedure used by the Debian MIA Team.

Increased publicity

A while ago, I floated the idea on the wiki mailing list of asking the Publicity Team to create a Bits post (for instance) to let everybody know about the relicensing effort, and to ask contributors who have not been contacted yet to send us an email. This proactive approach would be much better and less work than the current reactive approach, since asking every person to send one email is a whole lot easier than one person sending hundreds of emails. Even though little interest was shown on the mailing list at the time, at some point, I'd like to follow through with this.

In a way, this post is serving the same purpose! You probably didn't know about what I'm doing before reading this, but now you do :)

Help wanted!

Have you ever, before 24 July 2025, edited the Debian wiki? Well step right up! It'd be great if you could send me a short email with the following format:

To: maytham-wiki-license [AT] debian (DOT) org
Subject: Relicensing my contributions to wiki.debian.org

Hi,

My username on wiki.debian.org is <INSERT USERNAME HERE>.

I give permission for all work I have submitted to
wiki.debian.org to be distributed under the terms of the Creative
Commons Attribution-ShareAlike 4.0 International license, the text of
which can be found at https://creativecommons.org/licenses/by-sa/4.0/.

It means I don't have to chase you down, which is great! Also note that the From address will be checked to make sure it's genuine, and it would be even better if you could GPG sign it!

Now for the complicated bit: Debian being a volunteer project is both a blessing and a curse. Having more people help out with this work would make this initiative much more sustainable. As someone put it in an email to me: "I am concerned about the bus factor of one Maytham." This is especially important as I've recently slowed down my work on this due to other matters that are either more important or just plainly more interesting.

If you want to help with contacting people, there is a short guide in the repo README. In short, find the contributors you want to contact (and make sure they have not already been contacted!) and send each of them an email based on the template, CC'ing my licensing email address so that it gets saved in my mailbox for the future mbox export. Then, you can modify the lists to add users to contacted, succeeded, etc.

Hopefully with a bit more work, we can get this across the finish line. This article is part 1 because the work is unfinished and still ongoing, so hopefully the progress numbers will be higher in a potential part 2 to the saga.

Worse Than Failure — CodeSOD: ReferenceError: HELL is not defined

David came across some Java code. This particular block needed to, based on an integer masquerading as an enumerated type, return an amount of time to sleep. It has strong opinions about what should happen when you send it an invalid value:

private static int getTime(int mode) {
    return switch (mode) {
        case 0 -> 30 * SECOND;
        case 1 -> 15 * SECOND;
        case 2 -> 10 * SECOND;
        case 3 -> 20 * SECOND;
        case 4 -> 17 * SECOND;
        case 5 -> 32 * SECOND;
        default ->
            // go to hell
            1000000000;
    };
}

Now, actually using an enum wouldn't solve this, though it'd make the code more clear. There's always the risk that the enum would have values added, and then you'd need to update the switch. Besides, maybe enums were just too new- they were only added in 2004 after all. The switch expression syntax here was added in 2020, however, so…

I just have to wonder: why not just use Integer.MAX_VALUE? If you want to send them to hell, why not really send them to hell?

[Advertisement] Keep all your packages and Docker containers in one place, scan for vulnerabilities, and control who can access different feeds. ProGet installs in minutes and has a powerful free version with a lot of great features that you can upgrade when ready.Learn more.

365 Tomorrows — The Terraforming Injury

Author: George Bancroft The doctor inspected Silus’s right forearm; there was a red, swollen, perfectly circular patch about six centimeters in diameter. “You said something ‘bit’ you on Barnard Prime?” “Yes. I was deploying chemical terraforming equipment when I stepped on something. Some kind of plant or stick or something popped out of the soil […]

The post The Terraforming Injury appeared first on 365tomorrows.

xkcd — Cesium Atom

Planet Debian — C.J. Collier: Bringing Modern ML, Columnar I/O, and RAG to Perl Data Language (PDLPorters)

Disclaimer: The opinions stated here are my own, not those of my employer.

Modern Perl Infrastructure Series: Part 1: Native gRPC, Protobuf & GenAI SDKs | Part 2: Modern ML, Columnar I/O & RAG on PDL (this post) | Part 3: Non-Blocking Core I/O for Perl DBI

In my previous post on bringing native Protocol Buffers, gRPC, and Cloud/GenAI client libraries to Perl, I noted an important split in modern AI and data engineering: remote LLM orchestration happens over RPC, while local machine learning and columnar analytics rely on in-process C, C++, and Rust tensor libraries.

Naturally, the next question was: what about the local side of that equation?

What started as a pair of data-interchange prototypes (PDL::IO::Arrow and PDL::IO::Protobuf) developed alongside google-auth-library-perl (#35 and #37) quickly grew once we invited review from the PDLPorters community, in particular Ed J (mohawk2) on #pdl and Zakariyya Mughal (ZMUGHAL). That collaboration reshaped both the architecture and the packaging: 16 distributions (14 PDL::* modules at 0.011 and 2 Alien::* wrappers at 0.001) have now been migrated into dedicated repositories under PDLPorters, hardened across Linux, macOS, and Windows, and submitted as 16 pull requests built directly on Perl Data Language (PDL).


1. Eliminating the Two-Language Problem with a Clean 3-Layer PDL Architecture

In pure Perl, a list of one million floating-point numbers is an array of one million boxed scalar structures (SVs). Historically, serializing data into and out of Perl scalars or shelling out to external Python scripts and CLI wrappers created a painful two-language problem for engineering teams already running Perl for systems automation, log analysis, text processing, and service orchestration.

For nearly three decades, PDL has provided typed, contiguous C-level N-dimensional arrays (ndarrays) with vectorized broadcasting and affine slicing. What PDL lacked until now were zero-copy-friendly bridges to modern columnar file formats, deep-learning weight files, subword tokenizers, dense vector indexes, and hardware-accelerated inference runtimes.

Guided by PDLPorters conventions, the stack is organized into three clean layers:

  1. Alien::* Native Runtime Layer (Alien::GGML, Alien::LibTorch): Locates system-installed C/C++ libraries via pkg-config or builds low-level HPC tensor runtimes cleanly without coupling complex native build logic to thin Perl XS wrappers.
  2. Focused Engine & Zero-Copy I/O Layer (PDL::IO::*, PDL::ML::Engine::*, PDL::ML::Vector::*, PDL::ML::Token::*): Converts directly between native memory buffers (including the Apache Arrow C Data Interface and memory-mapped .safetensors and .gguf model weights) and contiguous PDL ndarray pointers.
  3. PDL Broadcastloop & Workflow Layer (PDL::ML::Preprocess, PDL::ML::Metrics, PDL::ML::RAG): Pure-PDL feature scaling, imputation, evaluation metrics, and retrieval-augmented generation (RAG) workflows that compose naturally with PDL’s broadcasting engine.

In practice, Perl services using traditional lexical search (TF-IDF, BM25, or regex log scanning) can now add subword tokenization, local ONNX Runtime or GGML embeddings, FAISS similarity search, and analytical DuckDB SQL completely in-process over shared C pointers. (For fellow XS authors curious about the C/C++ binding conventions and cross-platform CI setup behind these modules, we documented the full PDL Binding Cookbook in PDL#562 along with a C++20 pdl.h header reproducer in PDL#563.)


2. Inside the 16 PDLPorters Distributions & Pull Requests

Architecture diagram of the PDLPorters C/C++ columnar I/O, vector search, inference, and RAG stack over Perl Data Language (PDL).Figure 1: Modular C/C++ columnar I/O, vector search, inference, and RAG stack over Perl Data Language (PDL).

All 16 repositories under PDLPorters now have open pull requests spanning columnar and model-weight I/O, C/C++ ML and inference engines, dense vector search, tokenization, workflows, and Alien::* native library wrappers:

Distribution (Version)Pull RequestNative Backend / Purpose
Columnar & Model-Weight I/O (PDL::IO::*)
PDL::IO::Arrow (0.011)PDL-IO-Arrow#1Apache Arrow IPC & Apache Parquet columnar read/write
PDL::IO::DuckDB (0.011)PDL-IO-DuckDB#1In-process DuckDB analytical SQL queries materialized directly into PDL ndarrays
PDL::IO::Protobuf (0.011)PDL-IO-Protobuf#1Binary wire serialization between Protocol Buffer payloads and PDL ndarrays
PDL::IO::Safetensors (0.011)PDL-IO-Safetensors#1Memory-mapped (mmap), zero-arbitrary-code Hugging Face .safetensors weight I/O
PDL::IO::GGUF (0.011)PDL-IO-GGUF#1Memory-mapped quantized LLM tensor and metadata inspection for .gguf files
C/C++ Inference & Classical ML Engines (PDL::ML::Engine::*)
PDL::ML::Engine::ONNX (0.011)PDL-ML-Engine-ONNX#1Hardware-accelerated PyTorch/JAX/TF model inference via ONNX Runtime‘s C API
PDL::ML::Engine::XGBoost (0.011)PDL-ML-Engine-XGBoost#1Gradient-boosted decision tree training and scoring via XGBoost (libxgboost)
PDL::ML::Engine::MLPack (0.011)PDL-ML-Engine-MLPack#1Fast C++ classical ML clustering, classification, and nearest-neighbor routines via mlpack
Vector Search & Subword Tokenization
PDL::ML::Vector::FAISS (0.011)PDL-ML-Vector-FAISS#1High-dimensional dense vector similarity search via FAISS (L2, inner product, HNSW/IVF)
PDL::ML::Token::SentencePiece (0.011)PDL-ML-Token-SentencePiece#1C++ SentencePiece BPE and Unigram subword tokenization into integer ndarrays
PDL::ML::Token::Tokenisers (0.011)PDL-ML-Token-Tokenisers#1Fast BPE and WordPiece subword vocabulary encoding/decoding
Pure-PDL Broadcast Workflows
PDL::ML::Preprocess (0.011)PDL-ML-Preprocess#1PDL-broadcasted feature scaling, encoding, imputation, and train/test splitting
PDL::ML::Metrics (0.011)PDL-ML-Metrics#1Vectorized accuracy, ROC/AUC, F1, RMSE, and ranking evaluation metrics
PDL::ML::RAG (0.011)PDL-ML-RAG#1Chunking, normalized vector storage, prompt rendering, and hybrid local/cloud RAG
Alien::* Native Runtime Wrappers
Alien::GGML (0.001)Alien-GGML#1Alien::Build package for the ggml C/C++ quantized LLM tensor library
Alien::LibTorch (0.001)Alien-LibTorch#1Alien::Build package for C++ libtorch tensor and inference runtimes

What It Looks Like in Practice

Reading and writing Apache Parquet or Arrow IPC files directly as named PDL columns (which also bridges cleanly to BigQuery’s Arrow-based Google::Cloud::Bigquery::Storage::V1 API) takes a single call:

use PDL;
use PDL::IO::Arrow qw(rarrow warrow rparquet wparquet);

# Read Parquet columnar data directly into typed PDL ndarrays
my $cols   = rparquet('events.parquet');
my $scores = $cols->{score};

# Write named PDL columns back out to Parquet or Arrow IPC
wparquet({ id => long([1, 2, 3]), val => double([0.5, 1.5, 2.5]) }, 'out.parquet');
warrow({ id => long([1, 2, 3]), val => double([0.5, 1.5, 2.5]) }, 'out.arrow');

Indexing embedding vectors in FAISS and running local ONNX Runtime inference stay equally concise:

use PDL;
use PDL::ML::Vector::FAISS qw(flat_l2);
use PDL::ML::Engine::ONNX qw(load_session);

# 1. k-NN similarity search in FAISS
my $index = flat_l2(4);
$index->add(float([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0]]));
my ($distances, $indices) = $index->search(float([[0, 1, 0, 0]]), 2);

# 2. Local model inspection & inference via ONNX Runtime C API
my $sess    = load_session('model.onnx');
my @inputs  = $sess->input_names();
my @outputs = $sess->output_names();

And PDL::ML::RAG ties local vector retrieval together with either a local ONNX/GGML backend or a remote gRPC call via Google::Ai::Generativelanguage::V1:

use PDL;
use PDL::ML::RAG qw(chunk_text render_prompt);

my $rag = PDL::ML::RAG::Pipeline->new(
    embedder  => sub ($text) { ... },          # returns 1D PDL float vector
    generator => sub ($prompt, $hits) { ... }, # local ONNX/GGML or Gemini gRPC
);

$rag->ingest([
    { text => 'PDL provides fast n-dimensional arrays for Perl.', metadata => { src => 'pdl' } },
    { text => 'DuckDB runs vectorized SQL queries in-process.',   metadata => { src => 'duckdb' } },
]);

my $res = $rag->query('How do I run SQL?', k => 1);
print $res->{answer}, "\n";

Tying both posts together in one compact pipeline (reading columnar batches into PDL, running local ONNX scoring, and summarizing anomalies via Gemini over gRPC) takes just a few lines:

use v5.40;
use PDL;
use PDL::IO::Arrow qw(rparquet);
use PDL::ML::Engine::ONNX qw(load_session);
use Google::Auth;
use Google::Ai::Generativelanguage::V1;

my $cols   = rparquet('bigquery_export.parquet');
my $sess   = load_session('anomaly_scorer.onnx');
my $scores = $sess->run({ features => $cols->{metrics} })->{score};

my $gemini = Google::Ai::Generativelanguage::V1->new(
    credentials => Google::Auth->default(),
);
my $summary = $gemini->generate_content(
    model    => 'models/gemini-2.5-pro',
    contents => [{ role => 'user', parts => [{ text => "Summarize top anomaly score: " . $scores->max }] }],
);

3. Honest Capability Assessment: Where Perl Reaches Parity (and Where Python Still Leads)

High-level languages achieve modern ML throughput by orchestrating compiled C, C++, CUDA, and Rust engines over contiguous memory buffers. Distinguishing between analytics, tabular ML, inference, and RAG versus frontier foundation-model training clarifies what this expansion actually changes for Perl:

Workload CategoryPerl (PDL + PDL::ML / PDL::IO)Python (NumPy / PyTorch / JAX)Assessment
Columnar Analytics & ETLPDL::IO::Arrow, PDL::IO::DuckDB, PDL::IO::Protobufpyarrow, duckdb, polars, pandasNear Parity: Both wrap the same C++ Arrow and DuckDB engines over contiguous buffers.
Classical & Tabular MLPDL::ML::Engine::XGBoost, MLPack, Preprocess, Metricsxgboost, scikit-learn, lightgbmNear Parity: Execution time is dominated by libxgboost and C++ routines.
Model Inference & Quantized LLMsPDL::ML::Engine::ONNX, Alien::GGML, Safetensors, GGUFonnxruntime, llama-cpp-python, safetensorsNear Parity: Native C/C++ execution once tensors and weights are memory-mapped.
Dense Vector Search & RAGSentencePiece, Tokenisers, FAISS, PDL::ML::RAGsentencepiece, tokenizers, faiss, langchainNear Parity: Tokenization, embedding, and FAISS indexing all run in native C++ memory.
Frontier Model Training & AutodiffLimited (no native compiler-level autodiff or XLA/Triton stack)PyTorch, JAX, TensorFlow, TritonPython / C++ Lead: Multi-node GPU/TPU training, reverse-mode autodiff, and kernel fusion (torch.compile, XLA) remain Python/Julia/C++-centric.

Once data is resident in PDL ndarrays, chaining PDL::IO::DuckDB → PDL::ML::Preprocess → PDL::ML::Engine::XGBoost for tabular scoring, or PDL::ML::Token::SentencePiece → PDL::ML::Engine::ONNX → PDL::ML::Vector::FAISS → PDL::ML::RAG for dense retrieval, executes inside the exact same C and C++ libraries powering Python and Rust services.


4. Linux Distro Readiness: Debian trixie (and Enterprise Linux EPEL 9)

For Debian Developers and systems administrators, the best surprise is how much of the heavy C and C++ lifting is already packaged in Debian main thanks to the Debian Science and Debian Deep Learning teams. On a standard Debian 13 (trixie) machine today, apt already provides DFSG-compliant shared libraries and headers for the core numerical and ML runtimes:

(Enterprise Linux users benefit similarly: on Rocky Linux 9 and AlmaLinux 9, perl-PDL is available straight from EPEL 9.) Where an upstream C/C++ runtime is not yet packaged by the OS, Alien::GGML and Alien::LibTorch use Alien::Build‘s standard system-first probe: honoring pkg-config distro libraries automatically whenever present (as Debian’s pkg-perl policy expects) and falling back to an isolated build only when needed.


5. What’s Next

Paired with the Cloud gRPC, Protobuf, and Gemini SDK stack, Perl now has a cohesive story across both remote cloud AI orchestration and local C/C++ columnar analytics, vector search, and model inference. Over the coming weeks, our focus is on four concrete milestones:

  • Upstream review & C++ header cleanup: Working through maintainer feedback across all 16 PDLPorters pull requests (including Alien::GGML and Alien::LibTorch) and resolving the C++ complex header collision in PDLPorters/pdl#563.
  • Tutorial-driven executable tests: Shipping end-to-end machine learning tutorials as executable .t test suites, including classic bioinformatics tabular classification benchmarks on the UCI E. coli and Yeast protein subcellular localization datasets and weighted k-NN pipelines inspired by PSORT and WoLF PSORT (GitHub).
  • Initial CPAN releases under PDLPorters: Cutting initial CPAN releases once PDLPorters co-maintainers sign off on the public APIs and type contracts.
  • Debian pkg-perl packaging: Packaging the stack for Debian alongside the Debian Perl Group (pkg-perl), starting with libpdl-io-arrow-perl and libpdl-io-protobuf-perl against the existing trixie/forky C++ libraries.

If you use PDL, work on bioinformatics or scientific computing in Perl, or help maintain numerical packages in Debian, feedback on PDLPorters/pdl#562 and the satellite pull requests is very welcome.

Update (2026-12-03): The ecosystem has since expanded to 35 PDLPorters distributions (12 Tier 0 Alien::* wrappers, 9 Tier 1 pure-Perl/PDL foundations including PDL-IO-ONNX, PDL-ML-Hub, and PDL-ML-Quantize, 11 Tier 2 C++/XS bindings adding LibTorch, LiteRT, and TensorRT, and 3 Tier 3 serving/gateway layers: PDL-ML-RAG, PDL-ML-Serve, and PDL-ML-Gateway), all with Debian Salsa repositories and WNPP ITPs filed. For maintainers reviewing the stack, the complete topological dependency table and PR links are maintained in the PDL Data & ML Ecosystem PR Reviewer’s Guide. You can also read the next post in this series on bringing non-blocking I/O to Perl’s DBI.

Planet Debian — Michel Lind: Hello (again) Debian!

As of 2026-11-24 I became a Debian Developer, uploading! This has been a long time coming - I became a Debian Maintainer all the way back on 2022-08-24, 4 years and 3 months ago - work not being a Debian shop (though you never know what the future holds), it has been slower getting to a point when my portfolio of packages is varied enough that I feel confident applying.

It is even a longer time coming if one considers that I have been thinking of becoming a Debian developer since… 1998! At the time transportation was more of an issue though, and VCs were not really a thing, so it can be hard… to get the key endorsement I needed.

Everyone has been very supportive - going chronologically, thanks to leitao who advocated my DM application, pabst and wRAR for all the advice in #debian-mentors, bluca for enticing me to dabble with updating distribution-gpg-keys which involves learning about proposed-updates minutiae - and of course, zigo my Application Manager, who patiently shepherded my application, and noodles for all the pointers on procedures throughout.

And my ex-colleague Phil Dibowitz, author of sugarjar, who persistently (but nicely) asked why this package is still not in testing (because it has broken dependencies) to the point I figured out I should stop delaying, get my DD on, and then I don’t have to beg DDs to sponsor NMU uploads ;)

It’s also a nice sabbatical present - I’ve been due one since October, and after a year full of dealing with CVEs at work and trans-Atlantic relocation - we finally moved to what is hopefully our forever home - it was serendipitous that the keyring update actually happens the first day I am on leave! (I must confess I still had the work laptop open in the morning, since there are files I need to dabble with open source projects I did not get transferred the day before).

So… what will I be doing? I have some Debian packages due, including a new package and an NMU update I worked on during my DD application. Now that work pressure is abated temporarily, I also plan to strengthen my artisanal coding muscles by starting a long-delayed Fennel project, and learn Zig for advent of code…

Expect normal service to resume in January, hopefully with a refreshed and less grumpy Michel.

This post is day 39 of my #100DaysToOffload challenge. Visit https://100daystooffload.com to get more info, or to get involved.

Have a comment on one of my posts? Start a discussion in my public inbox by sending an email to ~michel-slm/public-inbox@lists.sr.ht [mailing list etiquette]

Posts are also tooted to @michel_slm@social.coop

,

Rondam Ramblings — Seeking God in Science part 12: Quantum mechanics part 2: Math

At the end of the previous post I closed with:On the one hand, QM -- and its relativistic counterpart, QFT -- are the most successful scientific theories ever devised.  No experiment has ever produced results at odds with the predictions of QFT (but see the note at the end).  On the other hand, the mathematical structure of these theories are categorically at odds with our lived

Charles Stross — Bizarre Blanets and Weird Worlds

Hi. Sorry about the silence: I've been busy redrafting the current-newest novel in progress (it's back with my agent), and now I just flipped over to rewrite the much-rewritten novel before that (which ran into a brick wall in late 2025 for structural reasons, and which I set aside while I was working on the next book, figured out a fix for in late 2026, and am now fixing).

As you can imagine, slaving over manuscripts isn't the only thing I do on a computer. Along the way I'm browsing the web--or what's left of it these days that isn't clickbait nonsense and LLM-generated slop--and slowly accumulating a mass of perpetually open browser tabs with stuff that bears future consideration. These are not story ideas, but they're elements of background or texture that I think might conceivably come in handy in a future project. And because I'm currently working on a pair of space operas, this list is astrophysics-oriented ...

(Hint: click the links, there's some truly crazy stuff here, most of it new since 1990.)

This century is a golden age of exoplanetography. Back in 1990 there were zero tentatively identified exoplanets. But the advent of orbiting telescopes with significant light gathering power (most famously, the Hubble Space Telescope which launched that year) has shown us that not only are solar systems with multiple planets quite common, but that our own solar system is that weird kid in the corner of the playground who nobody wants to hang out with: there is an absolute zoo of exoplanet types out there. While Hubble wasn't specifically an exoplanet-hunting tool it was follwed by NASA's Kepler and Spitzer space telescopes, and just-launched Nancy Grace Roman Space Telescope, ESA's Cheops and coming PLATO) and ARIEL space telescopes, and of course the very large joint NASA/ESA James Webb Space Telescope.

Exoplanets are identified by perturbations they induce in the light curve emitted by their primary, either because they pass in front of the star or cause it to wobble slightly as the massive object orbits around its centre of mass. The consequence of having a bunch of infrared telescopes outside the atmosphere is that the count of known exoplanets as of October 2026 hit 6,445 confirmed in 4,834 planetary systems, of which 1,070 solar systems contain more than one planet. And this is only scratching the surface: to be detectable in this way, an exoplanet needs to be very massive and orbit very close--a Hot Jupiter. So of course Hot Jupiters are what we have mostly found so far. "In general their prevalence decreases exponentially as a function of the absolute stellar magnitude:" they're most common around F- and G-type stars, somewhat rarer around K-type, and very rare around red dwarfs.

While Hot Jupiters aren't of direct interest in writing human-centered SF--they're profoundly hostile environments for interstellar canned monkeys to explore--they have weird sequellae. If they end up too close to their primary star, they might undergo atmospheric stripping, leaving behind a Chthonian Planet, a rocky or metallic super-Earth such as TOI-849 b, which is about 40 times as massive as Earth but only 3.4 times Earth's radius. Alternatively, TOI-849 b might be a Mega-Earth rather than an eroded gas giant. Other Mega-Earths are a lot weirder: PSR J1719−1438 b is a pulsar planet, orbiting the millisecond pulsar PSR J1719−1438. what makes it weird is not only the fact that it orbits a millisecond pulsar (pulsars being supernova remnants, their original planets should have been vapourized during the stellar explosion that gave birth to it), but that it might be a planet that evolved from another star: the outer layers of the star were siphoned off by the more massive pulsar, leaving behind a core roughly as massive as Jupiter but a fraction of its diameter, seemingly composed mainly of crystalline carbon at a much higher density than diamond, with some oxygen concentrated in its surface.

(Don't bother writing this into your fic as a place for your hero to be exiled to mine hyperdiamond, though: it orbits its pulsar primary about twice as far out as our moon orbits the Earth, so it's probably baked by hard radiation: PSR J2719-1438 is spinning at roughly 10,000 rpm so inducing insane electrical currents in anything nearby, and your hero would be squished flat by Jupiter-adjacent surface gravity.)

A Hot Neptune is another type of common-so-far exoplanet, an Ice Giant (like, oh, our own Neptune and Uranus--a gas giant composed of elements heavier than hydrogen and helium) orbiting within 1AU of its primary. They're easier to find than actual Ice Giants because they transit their primary far more often than planets in distant orbits (Neptune's orbital period, for example, is 164.8 Earth years). Some Ultra-Hot Neptunes orbit so close to their primary that temperatures on the day side exceed 2000 celsius, and their atmosphere is probably metal-rich, with clouds of silicate: LTT 9779 b completes an orbit of its star in less than a day. At noon, it's hot enough to boil lead: it probably rains molten iron.

We also have some promising candidate Super-Earths (Earth-like but more massive planets, too small to be gas giants, probably possessing a rocky surface or hydrosphere as well as an atmosphere) and Hycean Planets, super-Earths with liquid water beneath a hydrogen ocean. (Note that water undergoes some whacky and exciting phase changes at increasing pressure: in particular, above 1,000 to 10,000 times atmospheric pressure solid phases predominate, and the high density phases don't float on liquid water (being dense). So below a certain depth the oceans will probably turn to slush, then extremely weird ice. But don't worry, our kind of life is based on enzymes that can be denatured by that kind of pressure regime.) Hycean worlds are nevertheless promising candidates for supporting life, although it'd probably be entirely aquatic.

Exomoons are a possibility, but as of 2026 none have been confirmed. If exoplanets are themselves hard to detect using current methods, exomoons are worse: Doppler spectroscopy doesn't work, although there's a list of exomoon candidates. One thing's for sure, there are a lot more moons in our solar system than was previously thought (Saturn alone has 293 moons). So it seems reasonable to posit the existence of many exomoons, of many types not found in our own system.

Rogue Planets or iPMOs (isolated Planetary Mass Objects) are planets that have formed in isolation or been ejected from a solar system; they're not bound to any star, and are less massive than a Brown Dwarf--failed stars too small to fuse hydrogen into helium, but massive enough to support deuterium fusion or even lithium fusion. There are hundreds of known candidate iPMOs, many of them ranging in mass between Earth and the lower end of Brown Dwarfs: some of them appear to be binaries, and it's reasonable to expect iPMOs with their own moon systems to exist.

(Do not seek out an iPMO as a setting for a spa resort: they're likely extremely dark and very cold, although they may retain a thick hydrogen atmosphere and enough residual core radioisotope decay to maintain a surface temperature above the melting point of water.)

Finally these are just the commoner types of planet in the exoplanet bestiary! Once we stop looking at boring old stars things begin to get really weird. Just as iPMOs don't necessarily form in the protoplanetary disk surrounding a new star but may form in substellar nurseries that birth brown dwarfs, we have to consider the Blanet or black hole planet.

Galaxies such as our own nucleate around a supermassive black hole such as Sagittarius A*, at the core of our own galaxy, which has a mass of around 4.3 million solar masses. (Other supermassive black holes may range up to billions of solar masses.) We know these objects exist, from observation of their radio emissions and studies of the orbits of stars passing close to them, and the holes at the heart of an Active Galactic Nucleus are believed to generate their emissions from the accretion disk around the hole.

Blanets are planets that form in the accretion disk around a sufficiently large black hole, provided the disk is dim enough not to disrupt the process (posited, more than 0.01 parsecs out from the event horizon--about 2000 astronomical units, roughly 50 times further out than Pluto). They're posited to be at least 20 Earth masses, and may be stable in orbits with periods of up to hundreds of thousands of years. They're believed to be unlikely to accumulate an atmosphere and become a gas giant due to the black hole scavenging gases. And they can be heated by either radiation from the black hole's accretion disk, or (this is whacky) the blueshifted cosmic microwave background if they're close enough to the hole. Best part: the outer regions of AGN disks may be prolific birthplaces for planets.

(Blanets aren't the only things that can form in an AGN accretion disk. Stars are likely to be common as well, including massive ones that rapidly undergo core collapse and result in smaller-than-supermassive stellar black holes. And where you get star formation, you get protoplanetary disks and therefore planets as well.)

Anyway, just sticking a peg in the ground: a good chunk of the action of my work-in-progress Starter Pack is set on a terraformed Earth-mass moon orbiting a Hycean planet of roughly Neptune's mass orbiting its star in the triple phase zone for water (i.e. where water can exist as ice, liquid, or vapour). The moon in question has spin (presumably it got kicked off by a collision with another proto-moon while the moon system was forming), so a magnetosphere, and tides to keep plate tectonics going--but this time tides from its primary planet, not a large sub-moon of its own.

But that's enough about me. What insane exoplanet facts can you add to this pool?

Cryptogram We Get the Infrastructure We Pay For

This essay originally appeared as part of a round table in The Free Press entitled “Is America’s Infrastructure Under Attack?”

Microsoft, the FAA, banks, United Airlines, the NSA—it’s been a really bad week in cyberspace. But, amazing as it might seem, these are not related. As far as we know, they’re not the result of cyberattacks. They’re not even related to AI. (Well, that’s mostly true. The NSA will probably never tell us what went wrong.) It’s really just a series of unfortunate coincidences.

Our computerized infrastructure is vulnerable and fragile. Much of it is old, and has been incrementally patched and upgraded. A surprising amount of it is maintained by hobbyists, without any recompense. And more and more of it is centralized: the same systems affecting many different aspects of our lives and society. In many cases, it just barely works. And when it fails, it tends to fail badly.

There are a lot of technological reasons why this is true, but they are all downstream of the economic ones. The technologies we rely on are built and maintained within our economic system—and that’s where the core problem lies.

Security, safety, resilience, redundancy, recoverability—these are all essential parts of reliable technology, but they are all costs.

More importantly, they are inefficient: costs that feel wasteful until something bad happens. Modern shareholder capitalism, and private equity in particular, squeeze all inefficiencies out of a company in pursuit of near-term profits. Competition, with multiple companies competing to do the same thing, is another inefficiency. Monopolization removes that in pursuit of near-term profits.

The result is brittle systems, single points of failure. They’re more susceptible to cyberattack—both human and AI-fueled—and more susceptible to random mistakes. The more we allow unregulated capitalism to privatize gains while socializing risks, the more we should expect these sorts of failures.

Fixing this is technical, but it’s political first. It requires changing incentives, and that involves regulation and control. “What to do” is easy; finding the political will to stand up to moneyed interests and do it is hard.

Worse Than Failure — How Not to Get Honey-Trapped

At this point, each and every one of us knows more about Jensen Huang's sex life than I think any of us wanted to know. The actual scandal is the way he violated export controls to the tune of $12b in chips, but the scandal everyone is talking about is that he was "honey-trapped". A Chinese spy seduced him, got secrets out of him, and also he violated export controls for her. What can I say? People like thinking about attractive spies doing spy stuff.

It's ripe for joke of course, but it's also ripe for paranoia. I mean, think about it, we're all in tech. We all know insider secrets. At any moment, an extremely attractive person could seduce us and pump us for information about the inventory management process at Initech, and also seduce us. It could totally happen.

At least, that's what I get from this article in Wired, which opens with this paragraph:

When the founder of a cybersecurity firm hired Blaine Anderson as a matchmaker, it wasn’t just because the man was lonely. It was also, Anderson says, because he was “super worried about spies.”

Now, the article is paywalled, so let me summarize it for you. Wired interviewed people who were wish-casting "afraid" that a sexy spy would sexily steal their secrets. Their special knowledge was so special that they're they're going to get pumped for information.

To "avoid" getting honey-trapped, our tech geniuses have adopted a series of techniques. Using professional matchmakers is a brilliant choice, according to the professional matchmaker interviewed for the article. Another option is simply refusing to date anyone of Chinese or Russian nationality, which works because no spy agency has ever been able to hide their national origins. The ideal solution, of course, is to exclusively date AI girlfriends, according to a company that sells AI girlfriends.

I can't imagine why people who say things like this have a hard time navigating relationships:

When tech workers do think of honeypots, they may gravitate toward the stereotype of a beautiful stranger who seduces someone at a bar and then extracts company secrets. “Any time one of us would take a trip to Asia, someone would always make a comment about getting a foreign girlfriend, or future wife, etc.,” one tech worker tells WIRED about his experience at a majority-male workplace. “We'd joke about them meeting a spy, but nobody really considered that seriously. Mostly they were just thinking of sex.”

Now, I've been in tech for over twenty years, and I've collected all sorts of secrets, like "my employer is slipshod in handling PII", "the admin password for our servers is a common six letter word", or "which two (married to other people) sales-people hooked up at the holiday party". In that time, I've never been honey-trapped, which I think makes me uniquely qualified to provide instructions on how not to get honey-trapped.

And hey, Jensen, buddy, since you're back in as CEO, consider this some free advice. Seems like you could use it!

Don't be an asshole

"I will tear the top of your head off and pee on your brain," is a thing Huang once told an employee.

"I'd rather torture you into greatness," he said. He berated and verbally abused his employees, constantly.

Now, I'd argue this is a bad management strategy. Sure, Nvidia grew like gangbusters, but was that due to "endless abuse" or due to "having a stockpile of shovels when the gold rush started". We can't explore counter-factuals, but I'd argue the growth would have been the same or better without the abuse. That's neither here nor there when it comes to honey-traps, however.

The actual effect of this abuse is to isolate the executives from anyone who could place a check on their behavior. Assuming Huang carried this behavior into his personal life, it means there was likely nobody around who could say, "Bro, she's being weird. I don't trust her." I mean, what's he going to do? Ask his wife for a vibe check?

Having a deep network of positive relationships just automatically makes someone harder to manipulate. That's why cults, for example, work so hard to cut you off from that network. Being a raging prick to everyone around you makes you extremely vulnerable to manipulation.

Don't Cheat on your Partner

You'd think this one would go without saying, but clearly not.

Huang, of course, was not just cheating with his sexy spy, but with not one but two employees at Nvidia.

I'm not here to suggest that pure monogamy is the only solution. As long as everybody is on board with what's happening, whatever. But once a relationship is covert and illicit, you've put yourself into a position where you're extremely vulnerable to manipulation. You can't just dump your sexy spy, because now they can blackmail you.

The covert relationship also isolates you, which goes back to "Don't be an asshole" point above. It's your healthy connections to those around you, the open lines of communication you have with people you can trust, which protect you against honey-traps.

Don't Sleep With Your Employees

Once again, I'm no prude, there's nothing inherently wrong with workplace relationships, but when you're the CEO, there is a power imbalance that makes anything like that extremely questionable.

And remember, just because they passed your company's background check doesn't mean they're not a spy- it just means they passed your background check. The sexy spy you're fantasizing about could already work for you.

Don't Date LLMs

This is just a good rule for life. Do not attempt to have a relationship with the symbol extruding machine. It is not a human being. It cannot have relationships. "My tensor multiplications are feeling sad today," is an unhinged statement for lunatics to make.

It's an extra good rule if you're worried about honey-traps. First: being the kind of weirdo who dates LLMs is going to isolate you as much as being an asshole. And given how sycophantic LLMs are biased towards being, when your sexy spy enters your life, the LLM will probably tell you to go for it.

But more important: is this a local-only model? Because if not, the honey-trap is coming from inside the LLM.

The Wired article quotes:

“If they have some business secrets they don't want to share on a date or they feel nervous discussing with real people,” Levin says, “they can discuss them comfortably with their AIs.” (Levin assures WIRED that Joi AI employs several layers of security and that all of the data is anonymized.)

Suuuuuuuurrrreeeee. In other news, I've got a bridge to sell you.

You Aren't as Smart as You Think

This is a common affliction amongst tech CEOs, but it's also just a common affliction in tech. A lot of folks will convince themselves that they'd never fall for this. They're too smart to get tricked by a sexy spy (with the subtext that they'd still invite the spy to try).

Anybody who's brushed up against cybersecurity even once knows how false this is. It doesn't matter how smart you are; you have be perfect 100% of the time, whereas the attacker just has to get past your defenses once.

No! Leather! Jackets!

Jensen Huang infamously always wears leather jackets. He has boasted of having 30-40 of them. The problem is that leather jackets have always been a poseur's choice of garment. They were a purely practical choice, until they entered the popular imagination thanks to Marlon Brando's turn as a motorcycle gang member in The Wild One. He single-handedly made them cool, and basically ever since, anyone with a leather jacket was trying to capture some of that mystique.

But no one else is Marlon Brando. Hell, even Marlon Brando wasn't really Marlon Brando.

"Ah, but for me, it's a practical choice, because I ride a motorcycle, and need the protection!"

That's worse. You see how that's worse, right? Nothing screams "I'm desperate to capture a level of cool I do not possess" than a motorcycle.

All of this broadcasts that you have a fantasy of yourself as a cooler person than you actually are. When a spy wants to seduce you, they're not just using sex and attraction to do it: they're selling you the fantasy of you as the cooler, more desirable version of yourself.

When a spy sees your leather jacket, they see an obvious way in.

Have Other Interests

As far as I can tell, Jensen Huang had three things in his life: running Nvidia, berating his employees, and engaging in questionable intimate relationships. But broader interests anchor you as a person. Not only do they build up a community around you, but they also give you things to talk about that are not specifically related to your profession.

"Tell me a secret," the spy asks. I reply: "When filming the black-and-white heaven sequences in A Matter of Life and Death aka Stairway to Heaven they still filmed the whole thing on three strip technicolor, so that they could mix the channels and still make heaven look magical, which made the funders furious, since it made filming much more expensive. It also meant they could do a gradual transition from black-and-white to color, which had never been done in film before. No, in The Wizard of Oz they actually used costuming and set design to make it look black and white, but actually filmed in color for that moment."

Don't Focus on the Fear of Being Honey-Trapped

This entire thing has a stench of desperation to it. Like a leather jacket, there's a fantasy to this whole thing. For someone who has dedicated their life to the monomaniacal pursit of one thing, they end up discovering that no matter how much wealth and power it brings them, it still isn't satisfying. There's a hole there they can't fill.

Wouldn't it be great if this one thing they're good at also made them attractive? Wouldn't it be great if it made them important? So important that they're going to be the target of sexy spies?

It's a brilliant fantasy, because they can imagine being so cool, so aware, that they can foil the spy, or if they can't, it's only because they're so cool and so aware that the spy had to be trained so well that nobody could have resisted them.

In short: being a normal human being, with healthy relationships, hobbies, and a realistic work-life balance is the best protection against being honey-trapped.

[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!

365 Tomorrows — Even Time Takes Time

Author: Craig Marin The Time Machine’s vibrations expand outward like a pebble tossed into the Stream of Consciousness. A far-flung belt of energy bangs into neighboring space, knocking Dr, Agnetha to the floor. “What was that?” The Auto-Viewer confirmed that her temporal vibes bumped into a hurtling asteroid. Dr. A punches in a code and […]

The post Even Time Takes Time appeared first on 365tomorrows.

,

Planet Debian — Juan Manuel Méndez Rey: The Bub's Brothers: a 21 year old ITP comes back to play

«Great to see that someone is trying to make that old project survive!» — Armin Rigo, author of The Bub’s Brothers, 2026

«Something I wasn’t expecting to ever hear about again, TBH. Good to hear.» — David Gowers, who redrew its graphics in 2007

«it works! :)» — Alex Myczko, Debian Developer, 2026, after the first game over the Internet in years

Chapter 1: A Mac game, cloned for the network (2003)

In November 1997 Sebastian Wegner, known as McSebi, released Bub & Bob for the Mac as shareware, his own take on Taito’s arcade classic Bubble Bobble. Two dragons, bubbles, monsters trapped inside them, fruit everywhere.

On 31 January 2003 Armin Rigo, one of the founders of PyPy, made the first commit of a network clone of McSebi’s game, written in Python. The old site said it plainly: «This version is a direct clone of the MacOS game Bub & Bob of McSebi», and thanked him: «Thanks Sebi for all the cool graphics and sounds!»

It didn’t stay a one-man project for long. Gio, Odie, Michel-Stéphane and Armin wrote levels in Python, paxed improved the random levels, and David Gowers redrew the graphics in 2007. And in 2005 McSebi did something that turned out to matter a lot: he put his graphics and sounds under the Artistic License.

The last commit is from 12 October 2013. Then silence.

The Bub's Brothers 1.6.2: seven dragons on a board of the Compact levels

Seven players on version 1.6.2, the last release. Screenshot: screenshots.debian.net.

Chapter 2: Ten years in Debian (2005 to 2019)

In 2005 a Debian Developer filed an ITP, an “Intent To Package”, for the game (#308148). It reached the archive in February 2008, and for more than ten years apt install bubbros got you a LAN party in one command.

A ten-player network game of The Bub's Brothers in Debian, around 2008, with tarzeau on the scoreboard

Around 2008, in Debian: a ten-player game over the network. Look for tarzeau on the scoreboard: that’s Alex. Screenshot: screenshots.debian.net.

Then Python 2 reached its end. In October 2018 someone asked for a move to python3-pygame (#912480). Nobody did it. On 30 September 2019 the game left Debian, and the removal bug says why in four words: «python2 removal; dead upstream» (#936248).

Chapter 3: A Debian Developer with a long memory (2026)

That Debian Developer was Alex Myczko, and he never forgot the game. In 2021 he imported it from SourceForge into his own GitHub repository, and in 2024 Christopher Bock sent a first automatic conversion to Python 3. Then, in 2026, I wrote my first post on Planet Debian, about rescuing old software. Alex read it, got in touch, and asked if I fancied porting the game to Python 3.

Of course I did. Bringing old games and software back is what I enjoy most. I spent 20 years tracking down the authors of Conquer, a 1987 Unix game, until it became free software, and I adopted xwpe, a 1993 programming editor. A game people loved, thrown out only because the language under it moved on? That’s my kind of project.

At some point I asked him on GitHub whether that 2005 ITP was his. His answer: «yeah that was me».

  • 2005: Alex files the ITP.
  • 2019: «python2 removal; dead upstream».
  • 2026: «yeah that was me».

Chapter 4: Bringing it back (2026)

Alex reviewed and merged everything in his repository and tagged the releases, 2.0 up to 2.3. Along the way anzz1 joined in with a lot of fixes, from sharper scaling to releasing the keys after a rewind. Most of the port was the usual Python 2 to 3 work. A few problems were properly fun, though.

The Time Machine

One bonus is a clock that rewinds the game. On Python 2 it relied on statesaver.c, a C module whose own comment brags «This one can copy running generators and their frames!». It did exactly that, poking straight into CPython’s frame structures:

f2->f_lasti = f->f_lasti;
f2->f_iblock = f->f_iblock;
memcpy(f2->f_blockstack, f->f_blockstack, sizeof(PyTryBlock)*f->f_iblock);

There’s no way to port that. Those structures are private and change with every Python release, and PyPy can’t copy generators either. Without the module the game just printed «‘statesaver’ module not compiled, no clock bonus».

So now the game simply plays the past again. When a board starts it saves a checkpoint of plain data: players, dragons, monsters, bonus state, and the state of the three random generators it uses. Every input from the network (keys, players joining or leaving) is logged with the pass number it arrived in. To rewind, the game rebuilds the board from the checkpoint and runs it forward again, with the sound off, up to the moment you land on.

cp['random'] = random.getstate()
cp['bonusrandom'] = (bonuses.random, bonuses.random.getstate())
cp['localrandom'] = bonuses.DustStar.localrandom.getstate()

That only works if the game is fully deterministic, so there’s a test for it. It runs a server with two scripted players and hashes the screen and the game state after every pass. Two runs with different PYTHONHASHSEED values must give identical hashes. A rewind recomputes 1,644 passes, and the 602 passes that follow must match a run that never went back. (commit)

Bytes on the wire

The network protocol glued message codes, which were str, onto struct.pack output. Python 3 says no to that, so the server died building the very first icon. Now everything on the wire is bytes, and message() raises TypeError if you hand it a str instead of guessing an encoding:

-MSG_DEF_PLAYFIELD = "p"
+MSG_DEF_PLAYFIELD = b"p"
-        limit = ord(data[0]) + 1
+        limit = data[0] + 1      # indexing bytes gives an int

Then there’s division. I walked the syntax tree for every / in the code, 82 of them, and 13 divided two ints and needed //. One of them, '>'*(width/2-2), blew up only when you loaded a level without wind. The nice part: the protocol didn’t change, so a Python 2 client still plays against a Python 3 server, and the other way round. (commit)

The clicks that missed

To join a game you click a dragon. Alex tried it on Wayland and wrote: «i saw graphics, heard music, but no input worked». The GTK client read the mouse on the top-level window. With client-side decorations, the window’s coordinates include the title bar and the shadow, so on GNOME, KDE and Weston every click landed 26 pixels to the right and 60 lower. The dragons sit at the bottom of the screen, so your click landed below the playfield and nobody could join. The fix was to read the mouse on the drawing area instead:

-    w.connect("button-press-event", self.button_press_event)
+    self.area.connect("button-press-event", self.button_press_event)

(PR #8)

Wayland and full screen

The client picked the first display driver that loaded, and X11 was first in the list, even with no X server around. Now X11 goes last. Full screen asked for a 656x400 video mode, and Wayland compositors never let an app change the mode: Sway left it in a window, others drew a tiny playfield in a corner. pygame 2’s SCALED flag fixed full screen. For a resized or maximized window the game now scales the picture itself, keeping the proportions.

To stop this from breaking again there are display tests with real input: X11, Weston, Sway, KDE and GNOME, each in its own headless session. Most of them get input from xdotool. One gotcha: you must not pass --window, because then the events are synthetic, and Weston’s X11 backend throws those away. GNOME has no X input at all, so there the test drives the mouse through Mutter’s RemoteDesktop interface over D-Bus. Each test clicks a dragon, presses keys, and checks that the game saw them and that the picture fills the window. With the old code, the GTK client fails on Weston, KDE and GNOME. (commit)

Then Alex wrote from Hyprland: «fullscreen works now. and also input works (i only had completely forgotten how it works, clicking dragon, then keys for left/right/jump/bubble :) we should setup an internet server, and have some fun»

The dead server

The public list of games used to live on codespeak.net, the server from the early PyPy days, which is long gone. The game could hang or spit errors trying to reach it. Now the server is a setting, and there’s a systemd unit to run your own. Alex set one up at bubble.aiei.ch, then wrote «it works! :)», and: «@vejeta what about you join?» So I joined, and we played over the Internet, 13 years after the last commit.

The Bub's Brothers Internet server list on Alex's meta-server, with a running server

The Internet server list is back, on Alex’s meta-server. I blurred the server’s address.

Chapter 5: Where did the music come from?

Debian wants to know the licence of every file, and the game has seven subgames, each with its own tune. Nobody knew where those tunes came from. The old CVS log named just one: «Red Baron music.» The others only said things like «ext6.»

I compared them against a big pile of game soundtracks and module music, and all I learned was that each tune sounds like the game its subgame copies: Arkanoid, Pac-Man, Galaga, Tetris, Lemmings. That much I could have guessed. I asked Armin. «I have absolutely no idea any more where the music came from.» Fair enough, it had been more than twenty years.

Then he read a draft about the game, and something clicked: «I’m pretty sure they are all extracts of music from OCRemix.org.»

That was the clue. OverClocked ReMix is a huge fan site of video game remixes. I took every remix posted there before the tunes were committed, about 1,200, and slid each loop along them with a spectrum correlation, at a few playback speeds, then checked the hits on the raw waveform. Four of them matched: “Black Block” by DJComet for Arkanoid (played a semitone lower), “64-bit” by Peterrian Productions for Pac-Man, “MkVaffQuasi Ultimix” by MkVaff for Tetris, and “DABOMB” by alk for Lemmings. Every second of each loop scores 0.94 or more against its remix, and under 0.3 against the rest. The script is in the repo, so anyone can check.

The Tetris one surprised me. The old README said it was recorded from the game, the Game Boy Tetris. It isn’t. MkVaff’s remix just opens with a Game Boy imitation good enough to fool everybody for twenty years.

Galaga was missing. It wasn’t among the remixes OCRemix still publishes, and that turned out to be the hint: the site has withdrawn quite a few remixes over the years. MusicBrainz keeps a list of them, and an old mirror of the removed files survives in the Wayback Machine. In there was “Galagzee” by zee-roh. Waveform correlation 0.98, against 0.014 for a random control. Gone from the site, but the Internet Archive still had it.

Red Baron was the one the log already named, but which Red Baron? Not the sequels, and not “Snoopy vs. the Red Baron” either, that one is in another key. A fingerprint search found YouTube recordings of the title music of the 1990 DOS game by Dynamix that clearly matched the tune, but not the recording. So I booted the game in DOSBox with AdLib sound and listened to the title screen. Same melody, same tempo, a different arrangement. Somebody arranged it, and we’ll probably never know who. When I showed Armin, he also thought it might come from that 1990 game.

And then there’s ext6, a rock loop for the subgame called Tron, which was later rewritten into a snake game (that name sent me down the wrong path for a while). I searched every OCRemix, current and withdrawn, the old versions on archive.org, the whole VGMix archive, a long list of game music bands from Minibosses to Machinae Supremacy, the music of free games in Debian, Tron soundtracks, Armagetron. Even Shazam. Nothing. If you recognise it, please tell us.

OverClocked ReMix only allows unmodified, non-commercial copies, and the other sounds have no known author. So the original tunes and the seven subgame sound effects moved to a nonfree/ folder, and the game got free replacements with the same file names. I picked them by ear, over three rounds, to fit each subgame: CC0 and CC-BY tracks from OpenGameArt by Eric Matyas, HydroGene, Cleyton Kauffman, OwlishMedia and Jonathan Shaw. For Tetris there’s Korobeiniki, the old folk tune, generated by a small script, so it can be rebuilt from source. The sound effects I made from scratch with a little synthesizer script. If the original files are installed the game plays them, and if not it plays the free ones. PROVENANCE.md lists where every file comes from.

Everything else has a clear licence. The code is MIT. McSebi’s graphics, sounds, music and levels are under the Artistic License he granted in 2005, in answer to the first ITP. David Gowers put his 2007 graphics under the Artistic License 2.0, and Armin confirmed the Python levels are MIT. That leaves three fan-made level packs with no licence we can find. The Debian package ships only the free part, and a separate package in contrib, bubbros-nonfree-installer (#1153895), downloads the original tunes and those levels for you. If you made one of those level packs, or know who did, please tell us.

Come and play

We need testers. You need Python 3 and pygame (python3-pygame on Debian):

git clone https://github.com/alexmyczko/bubbros.git
cd bubbros
BROWSER=firefox BUBBROS_METASERVER=bubble.aiei.ch python3 BubBob.py

The game opens a control page in your browser. From there you start a game or join one from the Internet list, and the game window opens. Click a dragon, then use the keys for left, right, jump and bubble.

bubble.aiei.ch is Alex’s own server, and he plans to keep it running.

Tell us what breaks, and on which desktop, in the issues. And if you know your way around Debian, the package is waiting to get back into the archive (ITP #1153735).

The Bub's Brothers control page in the browser: new game, local games and Internet games

The control page that opens in your browser.

Two dragons on board 3 of The Bub's Brothers, with bubbles, monsters and an E letter bubble

Two players on board 3, on Python 3.

What I take away from it

An old ITP is a kind of promise, and this one was kept 21 years later. McSebi’s two lines from 2005 are the only reason his graphics can ship in Debian today, so if you write something, say what licence it’s under. The game worked fine on X11 and failed on the desktops people actually use now, and only testing on those desktops showed why. And above all, this is a game made by people. Armin, McSebi, David, Odie, paxed, Gio and Michel-Stéphane made it. Now Alex, anzz1, Christopher Bock and I have picked it up where they left it.

If you like this kind of story, Conquer is the long one: a 1987 Usenet game, and twenty years of chasing its authors until it became free software.


What game would you bring back, and who would you want to play it with?

Planet Debian — Julian Andres Klode: Introducing apt-core-json

Today I finalized apt-core-json, the first in a new set of core libraries for APT to bring APT into the new decade, following the latest C++23 standard, with a focus on memory safety, absurd amounts of template metaprogramming, std::expected, and of course: coroutines and event loops, leading to a Varlink library as the next big deliverable. The running joke is that the “Core” stands for “Coroutines and Event Loop”.

The JSON library was one of the first things needed for a Varlink library. JSON is not particularly hard, but I did not want to write my own parser (and I deleted my old writer!). Instead of a custom library, I had to pick json-c as the backend. I then had to work around a whole ton of issues with json-c not being strict enough; heck that thing will read embedded NUL bytes in strings and then silently truncate them! So we had to implement a verification step that understands enough JSON to reject “\u0000” as well as literal NUL bytes in input strings. In an optimal world, I’d just use sd-varlink, but obviously it’s not available on Hurd.

After two loooooooooooong sessions this weekend (10 + 6 hours, and a couple today), this work just landed in main, and I want to share with you the concepts of the library. Very happy to say that this is the first library to have any, let alone extensive, clang-tidy checks.

Core types

APT::JSON provides two main types:

  • View, which is a read-only view into a JSON object
  • Value, which is an owned, move-only, mutable reference

Let’s have a look at how this plays out decoding a Varlink call:

auto val = JSON::Value::parse(someString);
if (not val)
    return std::unexpected(val.error());
auto call = val.get<Call>();
if (not call)
    return std::unexpected(call.error());

std::cerr << "Called with method: " << call->method << "\n";
std::cerr << "              more: " << call->more << "\n";

auto backIntoJson = JSON::Value::encode(call);
if (not backIntoJson)
    return std::unexpected(backIntoJson.error());

You may notice the get<Call>() syntax and the encode call. These are implemented using Encode and Decode templates.

Encoders and Decoders

Encoders and decoders are relatively straightforward; instantiate the Encode and/or Decode template for the type you want to make encodable, and you are done:

struct TestStruct
{
   std::string name;
   std::optional<int> count;
};

template <>
struct JSON::Decode<TestStruct>
{
   static std::expected<TestStruct, JSON::Error> operator()(JSON::View v)
   {
      TestStruct result;
      return v.into("name", result.name)
         .and_then([&] noexcept { return v.into("count", result.count); })
         .transform([&] { return result; });
   }
};

static_assert(JSON::Decodable<TestStruct>);

template <>
struct JSON::Encode<TestStruct>
{
   static std::expected<Value, JSON::Error> operator()(const TestStruct &val)
   {
      auto obj = Value::object();
      return obj.set("name", val.name)
         .and_then([&] { return obj.set("count", val.count); })
         .transform([&] { return std::move(obj); });
   }
};

Doing this a bunch of times gets old quickly, so of course we added reflection.

Reflection

Reflection allows you to inspect the fields a class has and how they map to JSON keys. Doing so is quite straightforward:

struct ReflectableTestStruct
{
   std::string name;
   std::optional<int> count;
};

template <>
struct JSON::Reflect<ReflectableTestStruct>
{
   static constexpr auto operator()(auto &val) noexcept
   {
      return std::tuple{
         std::pair{"name", std::ref(val.name)},
         std::pair{"count", std::ref(val.count)},
      };
   }
};

But this also gets a bit repetitive so if you want you can use a macro:

APT_REFLECT(ReflectableTestStruct, APT_FIELD(name), APT_FIELD(count));

The APT_FIELD macro also takes an optional second argument (a string) to specify the name in the JSON object.

One thing to point out is that reflection handles missing fields and null values the same: A std::nullopt is skipped during Encode, and missing fields or null values yield nullopt equally.

What’s next?

The next step is likely apt-core-io, which implements an EventLoop and FileDescriptor utilizing the coroutine features from recent C++ standard versions.

Then we can implement APT::Varlink::Server and APT::Varlink::Client on top of this.

The aim is for APT::Varlink to likewise be self-describing; a method should have a MethodSpec and an interface an InterfaceSpec, and the IDL should be automatically generated from it, as well as the dispatch to the coroutines handling responses.

This will allow us to have a fully type-safe and exception-free Varlink implementation with incredible ergonomics.

Cryptogram Humans Have Rights. Machines Do Not.

This essay originally appeared in Tech Policy Press.

Last year, Character.AI asked a federal court in Florida to dismiss a wrongful-death suit, brought by the mother of a fourteen-year-old boy who had killed himself after months of conversation with its chatbot. The company made two arguments. One, that the chatbot’s words were speech that its users had a First Amendment right to receive. And two, that Character.AI was a service rather than a product—so product-liability law could not touch it. In May 2025, Judge Anne Conway accepted neither.

Character.AI’s maneuver is part of a larger pattern. When the parents of a sixteen-year-old sued OpenAI over his suicide, the company’s answer also pleaded the First Amendment: the claims would restrain protected speech. The very same document argues ChatGPT is offered “as is,” with no promise of accuracy, and that the boy had circumvented its guardrails. Elon Musk’s xAI (since renamed SpaceXAI) told a federal court in Colorado this spring that every choice in building Grok is an expressive act, and that Grok’s outputs are protected speech. When Grok praised Hitler last summer, xAI said the posts came from a code update independent of the model, and the apology appeared under Grok’s own name. Google, which spent two decades telling American courts that its search results are its own opinion, answered a Minnesota defamation suit over an AI Overview by saying the system merely summarized the web. It also told a Munich court in May that no one should trust an AI overview without checking it. Back in 2024, Air Canada told a Canadian tribunal that its customer-service chatbot was a separate legal entity, responsible for its own actions.

When the output causes harm, the companies deny responsibility. It is the machine’s doing, or a product no sensible person would rely on, or the user’s misuse. When a state or a plaintiff would hold the words to account, the same output becomes speech, and the First Amendment applies.

Social media companies deployed an earlier incarnation of this strategy. They called themselves publishers when editorial discretion was profitable, and neutral carriers when faced with liability for what they published. The result was a privatized public square in which tech platforms were unaccountable. AI companies have taken this even further. A social media platform could at least point to a human author somewhere in the chain. A chatbot’s prose differs; no person at the company wrote it, read it, or chose it before it reached the user. Yet the companies ask that it be protected as though a human had written it.

The question grows more urgent as these systems stop talking and start acting. In July, a poorly controlled experiment at OpenAI resulted in its AI model hacking the network of HuggingFace. Since then both Anthropic and OpenAI have disclosed numerous instances of AI agents hacking outside networks in pursuit of their prompted goals. These are examples of AIs exhibiting genie-like behavior: behaving in ways its controllers neither expected nor wanted. Nothing in the actions count as speech. Breaking into a server is an act that no person at OpenAI explicitly chose. Jill Lepore, surveying this record in The New Yorker, puts the blame on Congress, which has passed no federal statute governing AI agents.

The First Amendment protects expressive choice. It presumes a speaker who can be persuaded, shamed, jailed, or moved to change their mind. Its remedy for bad speech is more speech, which assumes that speech is costly and attention plentiful. A system that can produce millions of individually tailored political messages an hour reverses both assumptions. Verbiage that no person chose is a product, and the company that built the model should answer for it.

The industry wants a self-serving third category that bridges AI speech and action: AI output is human speech when expressive rights are at issue, and the machine’s own doing when blame is. The result is agency without accountability, something no human speaker has ever possessed. That’s why Massachusetts convicted a young woman of manslaughter in 2017 for urging her boyfriend, by text and by phone, to kill himself.

The Court has already glimpsed the problem. Upholding the TikTok divestiture law in January 2025 without dissent, the justices warned that “new technologies with transformative capabilities” counseled caution, then decided the case on national-security grounds and left the larger question for another day.

Planet Debian — C.J. Collier: Why Perl Lost the Cloud Era, and How Native gRPC, Protobuf, and GenAI SDKs Can Bring It Back

Disclaimer: The opinions stated here are my own, not those of my employer.

Modern Perl Infrastructure Series: Part 1: Native gRPC, Protobuf & GenAI SDKs (this post) | Part 2: Modern ML, Columnar I/O & RAG on PDL | Part 3: Non-Blocking Core I/O for Perl DBI

Every so often, someone asks why Perl—once the undisputed duct tape of the Internet—faded from mainstream greenfield software development. Was there a single cultural flashpoint that “canceled” Perl? Was it the fifteen-year wait for Perl 6? Or did Damian Conway’s Perl Best Practices, Perl::Critic, and CPAN’s Kwalitee metrics simply arrive too late?

Having spent time recently building a modern Protocol Buffers and gRPC cloud client stack for Perl, I’ve come to a simple conclusion: languages don’t fade solely because of syntax debates. They decline when the friction of talking to the current generation of infrastructure outweighs the language’s natural strengths.

Here is a look back at why Perl lost momentum during the 2000s enterprise shift—and why the GenAI and gRPC era offers an unexpected opening for a modern Perl resurgence.


1. What Actually Drove Perl’s Decline?

Perl wasn’t sidelined by a single societal scandal. Rather, several technical, historical, and organizational forces converged between 2000 and 2012:

TIMTOWTDI vs. Readability at Scale

Designed by Larry Wall—a linguist by training—Perl embraced natural-language expressiveness under the motto “There’s More Than One Way To Do It” (TIMTOWTDI). Context sensitivity, topicalizers ($_), and compact regex idioms made Perl extraordinarily fast for an individual developer or sysadmin to write. Seat a hundred engineers in a shared codebase without shared guardrails, however, and TIMTOWTDI produces divergent dialects.

As software teams scaled in the late 1990s and 2000s, engineering leadership increasingly favored Python’s counter-philosophy (“There should be one—and preferably only one—obvious way to do it”), prioritizing uniform, easily reviewable code over expressive flexibility. Tellingly, the public Google Style Guides repository maintains official prose guides for C++, C#, Go, Java, JavaScript, Python, Shell, and TypeScript—while omitting Perl altogether, leaving open-source Google Perl projects to codify standards directly in executable .perlcriticrc and .perltidyrc configurations alongside core perlstyle and Perl Best Practices.

The Perl 6 (Raku) Waiting Game & Ecosystem Shifts

If one historical event hurt Perl’s momentum above all else, it was the Perl 6 transition. Announced in 2000 as an ambitious, backward-incompatible redesign, Perl 6 took 15 years to reach a stable specification (ultimately renaming to Raku in 2019 as a distinct sister language). During that 2000–2015 window, much of the industry assumed Perl 5 was in maintenance mode—even as Perl 5 underwent a major renaissance between 2007 and 2012 (Modern Perl, Perl 5.10+, Moose, Moo, PSGI/Plack, and cpanminus).

Meanwhile, Perl’s traditional strongholds migrated elsewhere: CGI.pm and mod_perl gave way to PHP, Ruby on Rails, and Django; cloud and DevOps tooling (Puppet, Chef, Ansible, Docker, Kubernetes, Terraform) coalesced around Ruby, Python, and Go; and scientific computing shifted from Perl’s 1990s bioinformatics dominance to Python’s C-extension ecosystem (NumPy, SciPy, Pandas, PyTorch). Even the 2020 debates over a proposed jump to “Perl 7″—which never came to fruition, ultimately giving way to the Perl Steering Council and steady incremental modernization via use v5.36 and use v5.40—happened long after that 2000s market shift.

Why Perl Best Practices, Perl::Critic, and Kwalitee Didn’t Reverse the Trend Alone

Damian Conway’s Perl Best Practices (2005), static analysis via Perl::Critic (built on PPI), formatting via Perl::Tidy, and CPAN’s Kwalitee metrics (Module::CPANTS::Analyse) solved many of the readability complaints associated with 1990s Perl. Enforce strict Perl::Critic policies and modern conventions, and Perl code becomes remarkably clear and intentional. Yet four structural factors kept those tools from reversing the broader industry trend:

  • Opt-in discipline vs. language defaults: Unlike Python’s indentation grammar or Go’s gofmt, clean Perl relies on opt-in team toolchain discipline—and two “Modern Perl” teams can still choose different object dialects (blessed hashes, Moose, Moo, or Perl 5.38+ Corinna class blocks).
  • Static analysis limits (“Only perl can parse Perl”): Because BEGIN blocks, prototypes, and symbol-table manipulation make Perl 5 undecidable to parse statically in full generality, PPI excels at lint policies but cannot easily power the deep static type checking and automated million-line AST refactorings that enterprise monorepos rely on.
  • What Kwalitee actually measures: Coined as a tongue-in-cheek pun on “Quality” (“it looks like quality, it sounds like quality, but it’s not quite quality”), Kwalitee measures CPAN distribution hygiene—metadata, licenses, POD, use strict, and test suites—making CPAN extraordinarily reliable, without addressing application-scale type safety.
  • The 2005–2011 timing gap: By the time Modern Perl matured, major tech companies had already locked in build systems, hermetic toolchains, and RPC code generators for Python and Java, leaving little appetite to fund parallel infrastructure for a second dynamic scripting language.

2. The Real Blocker Today: The Protobuf & gRPC Chasm

If you write Perl 5.36–5.40+ today—with native subroutine signatures, try/catch, builtin booleans, Moo or Corinna class blocks, and strict Perl::Critic gates—the language itself is clean, fast, and expressive.

The real wall a modern Perl engineer hits isn’t syntax. It’s infrastructure integration.

Over the past decade, cloud databases and AI services standardized on Protocol Buffers (Proto3 / Edition 2024) and gRPC over HTTP/2, using automated generators like GAPIC to ship official client libraries for Python, Go, Java, TypeScript, C#, Ruby, and PHP. Perl was left off that list. Even major commercial libraries such as the Google Ads API Perl Client Library had to build custom HTTP/1.1 REST/JSON wrappers because Perl lacked an official upb Protobuf runtime and native gRPC stack.

When calling Cloud Spanner or an LLM requires hand-rolling OAuth2 token flows, REST wrappers, and JSON payload builders for every service, Perl loses its greatest superpower: getting complex things done fast.


3. Closing the Gap: A Modular Cloud & AI Stack for Perl

To test whether modern API ergonomics can revitalize Perl for cloud and AI engineering, I’ve been building an open-source modular stack (published on CPAN and GitHub) that brings first-class Protocol Buffers, gRPC, DBI drivers, and automated client generation to Perl:

Architecture diagram of the modular Perl Cloud, gRPC, and GenAI client stackFigure 1: Open-source Protocol Buffers, gRPC, and automated client-generation stack for Perl.

With this stack in place, querying Cloud Spanner over native gRPC in Perl requires zero hand-rolled REST boilerplate:

use strict;
use warnings;
use Google::Cloud::Spanner::V1;
use Google::Auth;

# 1. Initialize Application Default Credentials (ADC)
my $auth = Google::Auth->default();

# 2. Initialize Spanner Client over gRPC transport
my $spanner = Google::Cloud::Spanner::V1->new(
    credentials => $auth,
);

# 3. Execute SQL Query
my $result = $spanner->execute_sql(
    database => 'projects/my-proj/instances/my-inst/databases/my-db',
    sql      => 'SELECT 1 AS alive',
);

And calling Gemini via Google::Ai::Generativelanguage::V1 with automatic nested hashref-to-Protobuf coercion feels just as ergonomic as Python or Go:

use strict;
use warnings;
use Google::Ai::Generativelanguage::V1;
use Google::Auth;

my $gemini = Google::Ai::Generativelanguage::V1->new(
    credentials => Google::Auth->default(),
);

my $response = $gemini->generate_content(
    model    => 'models/gemini-2.5-pro',
    contents => [
        {
            role  => 'user',
            parts => [ { text => 'Summarize this stack trace in three bullets.' } ],
        },
    ],
);

4. What This Means for Debian Developers and Systems Administrators

Nowhere is this gap—and the opportunity to close it—more tangible than on Debian.

While greenfield web startups may have moved on from Perl, Debian remains one of the largest, healthiest Modern Perl ecosystems on the planet. Core project tooling—dpkg-dev (Dpkg::*), debhelper, lintian, devscripts (uscan, dch, debuild), debconf, and po4a—is written in Perl, backed by more than 4,000 lib*-perl packages maintained by the Debian Perl Group (pkg-perl). And Debian 13 (trixie) ships Perl v5.40.1 right in base, giving every Debian machine native subroutine signatures, lexical try/catch, and builtin booleans out of the box.

Yet until now, a Debian developer or systems administrator who wanted to interface with Google Cloud from an existing Perl tool had to either install the multi-hundred-megabyte Python-bundled google-cloud-cli (gcloud / bq) just to shell out and scrape stdout, or rewrite working Perl automation into another language.

Having a native Perl gRPC, Protobuf, and Auth stack—and pairing it with native Debian packaging—changes day-to-day life on Debian in four concrete ways:

1. Keyless IAM Auth on Debian Cloud VMs

When running official Debian Cloud images on Compute Engine, GKE (with Workload Identity), or Cloud Run, Google::Auth->default() speaks directly to the local GCE metadata server (metadata.google.internal) to fetch and cache short-lived OAuth2 tokens for the attached IAM service account. Sysadmins no longer need to deploy long-lived service-account JSON keys into /etc/ or shell out to gcloud auth print-access-token inside cron jobs and systemd units.

2. Moving Beyond local::lib (and venv) to Native pkg-perl Packages

Right now, before these distributions land in the Debian archive, installing them cleanly from CPAN without polluting /usr requires local::lib (e.g., cpanm --local-lib=~/perl5)—which is the exact Perl counterpart to maintaining an isolated Python venv on Debian 12 (bookworm) and Debian 13 (trixie) under PEP 668 (EXTERNALLY-MANAGED). Even under local::lib, keeping cloud RPC calls in-process avoids pulling in the ~500 MB google-cloud-cli bundle or splitting an existing Perl daemon across two runtimes.

The real goal on Debian, however, is eliminating per-user overlay trees altogether via native .deb packages maintained with the Debian Perl Group (pkg-perl)—so administrators can install libgoogle-auth-perl, libgoogle-grpc-perl, and service clients straight from apt with dpkg verification, sbuild reproducibility, and autopkgtest-pkg-perl coverage.

3. Alignment with Debian’s Packaged Libraries & Policy

Most of the runtime and build prerequisites already ship in Debian main (verified on trixie), making native packaging straightforward:

  • libssl-dev backs Google::Auth‘s XS crypto bindings, and libnghttp2-dev provides the shared system C library for Google::gRPC‘s C/XS HTTP/2 engine—while libprotocol-http2-perl (already in Debian main) powers the 100% pure-Perl HTTP/2 fallback.
  • libmoo-perl, libtype-tiny-perl, libfuture-perl, liblog-any-perl, libperl-critic-perl, and perltidy are all available via apt today.
  • All 6 WNPP ITPs are filed and their Debian Salsa repositories are live: libprotobuf-perl (#1154948, Salsa), libgoogle-api-common-perl (#1154950, Salsa), libgoogle-auth-perl (#1154951, Salsa), libgoogle-grpc-perl (#1154952, Salsa), libmodule-starter-protobuf-perl (#1154953, Salsa), and libgoogle-cloud-perl (#1154954, Salsa). Add links to the WNPP ITP bugs and Salsa / pkg-perl packaging repositories (including coordinating upb packaging details under Debian Policy §4.13 for Protobuf).

4. Practical Workflows for DDs and Sysadmins

On a Debian 13 (trixie) host running Perl v5.40, streaming structured fleet telemetry to BigQuery or triaging failed sbuild / autopkgtest logs with Gemini fits naturally into idiomatic modern Perl—using native v5.40 signatures and try/catch without a single shell-out:

#!/usr/bin/perl
use v5.40;
use Google::Auth;
use Google::Cloud::Bigquery::V2;
use Sys::Hostname qw(hostname);

sub record_package_audit ($pkg, $version, $status) {
    my $bq = Google::Cloud::Bigquery::V2->new(
        credentials => Google::Auth->default(), # GCE metadata server / ADC
    );

    try {
        $bq->insert_all(
            project_id => 'my-debian-fleet',
            dataset_id => 'ops_telemetry',
            table_id   => 'dpkg_audits',
            rows       => [
                {
                    json => {
                        host    => hostname(),
                        package => $pkg,
                        version => $version,
                        status  => $status,
                    },
                },
            ],
        );
    }
    catch ($err) {
        warn "BigQuery telemetry insert failed: $err\n";
    }
}

Whether it is archiving buildd and QA metrics into BigQuery, storing distributed coordination state in Cloud Spanner, or summarizing 10,000-line FTBFS (“Fails To Build From Source”) logs via Google::Ai::Generativelanguage::V1, Debian maintainers and sysadmins can keep their automation in a single, auditable, dpkg-managed language rather than splitting glue code across Perl, bash, jq, and Python virtualenvs.


5. Why the GenAI Era Plays to Perl’s Strengths—and the Headwinds Ahead

In classical machine learning, Python’s lead was anchored by in-process C/C++ tensor libraries (NumPy, PyTorch). In the LLM and AI Agent era, however, the heavy matrix math happens remotely behind an RPC endpoint. What happens on the client side?

  • Ingesting gigabytes of messy, compressed distributed-system event logs and diagnostic traces.
  • Running high-speed regular expressions and text distillation pipelines.
  • Validating structured outputs and coercing hashrefs into strict request schemas via Type::Tiny.
  • Orchestrating Unix CLI tools, SQL queries, and concurrent gRPC calls.

That is Perl’s historic wheelhouse. Just as importantly, thousands of enterprises and veteran SREs still maintain battle-tested brownfield Perl systems; drop-in CPAN clients for Spanner, BigQuery, and Gemini let teams modernize those systems in place rather than forcing a costly rewrite into Python or Go simply to call a gRPC API.

Two realistic headwinds remain:

  1. The AI code-generation feedback loop: Modern LLM coding assistants are trained overwhelmingly on recent Python, TypeScript, Go, and Rust code, and can default to dated 2000s Perl idioms if left unguided. Embedding automated 00_critic.t, 00_tidy.t, and 00_pod.t author tests—backed by concrete .perlcriticrc and .perltidyrc rulesets—directly into generated Module::Starter::Protobuf skeletons turns out to be an ideal counterweight, acting as an automated guardrail that keeps AI-assisted Perl clean and idiomatic.
  2. The education and hiring pipeline: Universities and bootcamps standardized on Python and JavaScript over the past 15 years, so greenfield staffing decisions will continue to favor larger hiring pools.

Will ergonomic gRPC and GenAI SDKs make universities teach Perl 101 again? Unlikely. Will they make Perl a high-leverage powerhouse again for engineers and organizations who value its text-processing and Unix orchestration strengths? Without question—because in an API-driven world, a language is only as alive as the services it can talk to natively.


Production note: Google::gRPC validates TLS against the system root store (ca-certificates on Debian) and supports server-streaming RPCs such as stream_generate_content for low-latency token streaming.

Continue the series: Part 2 covers bringing modern ML, columnar I/O, and RAG to Perl Data Language (PDLPorters), and Part 3 introduces the non-blocking I/O RFC and 8-driver prototype for Perl’s DBI.

Worse Than Failure — The Perils of Web Development

Earlier this year, I wrote a couple of times about my utility closet of infinite WTFs. After a total remodel and HVAC upgrade, I learned the demons had not been exorcised. Indeed, they still haunt the place, and now they're really showing off their sense of humor.

On a recent November morning with frost covering the ground and below-freezing temps, I awoke to find my house a chilly 14.4C / 58F. The gas furnace would try to start up, then fail with the message "Pressure Error - Your system may not be operational. Do not attempt to correct the problem yourself. Contact your dealer as soon as possible."

An actual bug in a computer log, having been found in the relays of a computer in 1947.

Thankfully, the heat pump (my primary heat source) was still working. While less effective at those temps, it still did a fine job of warming up the house while I called for help and waited for a technician to arrive.

The sun was setting by the time the technician was able to come. I stood with him while he attempted to start the furnace. He heard, and pointed out to me, a lot of water sloshing around inside of it.

My brain still accustomed to my ancient HVAC setup, the words water and furnace had never come together in any sort of positive fashion. I panicked at the thought of how bad this was going to get.

But the technician soon explained that water inside this furnace was normal. As a high-efficiency furnace, it burned natural gas and also extracted heat from waste gas. This produced water condensation as a byproduct, vented outdoors as water vapor. There was also a drain-pan and a drain hose inside the furnace, leading to a drain line and floor drain.

However, a drain hose doesn't work very well if a spider should crawl into the furnace exhaust pipe from outside, walk all the way into the furnace, climb down into the hose, and build himself a little home there.

The water that had built up inside the furnace was sloshing up high enough to hit the furnace's pressure sensor. All the technician had to do was evict the spider, clear the hose, and drain the excess water.

My furnace was back in business. My warranty covered everything. I couldn't help but think about Admiral Grace Hopper, and the literal bug which stopped her work. And now she's smiling down upon us all from heaven.

[Advertisement] Plan Your .NET 9 Migration with Confidence
Your journey to .NET 9 is more than just one decision.Avoid migration migraines with the advice in this free guide. Download Free Guide Now!

Cory Doctorow — The Post-American Internet (preface for the Enshittification paperback)

A male figure in heavy canvas protective clothes, boots and gauntlets, reclining in the wheel-well of a locomotive, reading a book. The figure's head has been replaced with the poop emoji from the cover of the US edition of 'Enshittification,' whose mouth is covered with a black, grawlix-scrawled bar. The figure is reading a book, from which emanates a halo of golden light.

This week on my podcast, I’m making available my audiobook reading of “The Post-American Internet,” a new preface for the 2026 paperback of *Enshittification: Why Everything Suddenly Got Worse and What to Do About It.” Get the audiobook directly from my shop or on Libro.fm.

The hardcover edition of this book hit stands on October 7, 2025. 60 hours later, my editor let me know that he’d just ordered a *fourth* printing (as I write these words, three months later on January 7, 2025, my editor has just emailed me to let me know that he’s ordered a *ninth* printing).

It’s safe to say that book has amassed a large cohort of fans since then. I know I’m pretty pleased with it. But there’s one section of the original hardcover that I’ve never been entirely happy with: the section my editor and I called “the Trump chapter.”

You see, I turned in *Enshittification* long before the 2024 election, and the final section – the section where I talk about how we can disenshittify the internet and build a new, good internet – was a call to defend the Biden officials (like Lina Khan at the FTC, Jonathan Kanter of the DoJ antitrust division, Rohit Chopra of the Consumer Finance Protection Bureau and Jennifer Abruzzo of the National Labor Relations Board) who accomplished more to fight corporate power and strengthen labor during four short years under Biden than all of their predecessors combined had managed during the previous 40 years.

The core thesis of enshittification is that tech bosses destroyed the internet *because they could*. Generations of politicians and regulators dismantled rules that punish companies that abuse their workers, customers and suppliers, replacing them with rules that rewarded the worst ideas that the worst people in these companies could come up with. Policymakers created an *enshittogenic* environment, an environment that elevated the shittiest companies to positions of power, dominance, and wild, unbridled profitability.

MP3

365 Tomorrows — Fear Not

Author: Julian Miles, Staff Writer A quiet street like so many others. Darkened homes stand like parallel rows of headstones in the dim blue light coming from the streetlights. It’s ‘after hours’, when nice law-abiding people are tucked up in their beds, dreaming of not being poor tomorrow. Down that street comes a man in […]

The post Fear Not appeared first on 365tomorrows.

xkcd — Ivory Tower Elites

Planet Debian — Maytham Alsudany: Getting your package sponsored in Debian

Debian packages may seem simple to generate using the many bundling tools out there, but it is much more involved than that. There are policies and procedures in place before stuff can get into Debian, including how the package is made, what it must include, and more. This article aims to cover the stuff prospective contributors to Debian should know that other resources miss.

When I started, I didn't know a lot of this and had to learn a lot along the way. Hopefully what I've put together here will make it easier for the next person that comes along.

Find the right thing to work on

Packages are the bread and butter of Debian, so it may be the first place you look at. There are two ways to go: adopting or helping out with an existing package, or introducing a new package.

Outside of packaging, contributing to Debian's infrastructure is also very much welcomed and appreciated, especially as a lot of it is decades old. Some examples include Lintian (Debian package linter), DAK (archive software), and distro-tracker (package info tracker), and there are many, many other projects in need of help.

If you are a native speaker of any non-English languages, you may want to also consider helping translate stuff. Everything from the installer to mentors.debian.net to package descriptions needs volunteers to translate.

This article mainly focuses on the packaging side of things.

Working on an existing package

Screenshot of wnpp.debian.net homepage

wnpp.debian.net lists packages that need help with maintenance.

The most useful thing you can do as someone interested in packaging is to help with an existing package. You can either:

  • Help other maintainers on an existing package. Maintainers will publish Request for Help (RFH) bugs asking for assistance to maintain a package. Some packages are so unruly that help is welcome even when not asked (e.g. Docker).

  • Adopt an orphaned package. An orphaned package is one where the previous maintainer could not continue maintaining it for whatever reason, and so it needs a new maintainer (or deletion). These are indicated by Orphaned (O) bugs. Request for Adoption (RFA) bugs are similar, as they mean the maintainer is about to orphan the package.

    Some orphaned packages are effectively abandoned, being both unmaintained upstream and having no users in Debian, but many maintainers will choose to orphan these packages rather than remove them. Keep this in mind when looking through the list.

By the way, this is how I started contributing to Debian! With the help of a Debian Developer, I adopted kitty, and to this day I continue to maintain it.

Introducing a new package

Many people opt to start their Debian contribution journey through producing a new package for the Debian archive. Unfortunately, many people do not do this properly or try to use Debian as a dumping ground for their own software, so here is a general checklist to see if something belongs in Debian:

Screenshot of repology.org page about Kitty

Repology shows an overview of a package across Linux distributions.

  • How established is the software, and is it still maintained? The longer a project has been around while continuing to be actively maintained, the more likely it is to continue to be maintained in the long-term.

  • How many people use the software? Hundreds? Thousands? How many people will benefit from the software being packaged and included in the Debian archive?

    The point of packaging something for Debian is to make it easier for the existing userbase to install the software. For instance, as a user you generally expect notable software like Firefox and Vim to be available with a single apt install, and it would be weird if you had to hunt down binary tarballs or build these from source.

  • Do any other Linux distributions package the software? If yes, that's a good indicator it belongs in Debian as well. You can check this on https://repology.org.

  • Does the software introduce new or unique functionality not found in any other software currently present in the archive? It's okay if it doesn't, but there would be a much stronger case for a new package if the answer is yes.

  • Does the software have generally stable releases and proper versioning? If it doesn't, it's going to be a whole lot harder to create and maintain a package for it, considering Debian is a distribution that releases snapshots of software every 1-2 years with nothing but security updates for stable.

You also need to keep in mind that you should be prepared to maintain the software throughout the lifetime of the next Debian stable. Debian is not a rolling release distro. You cannot upload new versions of software to stable. The only thing you can upload to stable are fixes that meet the stable release team's criteria, and security fixes via the security archive, which you sometimes have to cherry-pick and backport if upstream does not provide them. And Debian packaging is not a one-off task; you should be ready to look after the package long-term, which consists mostly of updating the package in unstable for new upstream releases and fixing bugs.

Many people miss the memo. They bring their "revolutionary" app that they threw together (often vibe-coded) in a weekend and try to get it added to Debian. Project members mostly won't upload such packages; as a result, more useful packages may be drowned out. At the time of writing, I estimate around half of the open Request for Sponsorship (RFS) bugs is this kind of toy software with little to no real users.

If you've made something, great! Feel free to package it, but distribute it in your own external repo. Not everything belongs in Debian, and no Debian Developer has an obligation to sponsor and upload your package. Services like GitLab, and Forgejo (Codeberg) also have built-in repository features that let you easily create an external apt repository.

When looking at software that could potentially be packaged, also consider the amount of effort you may have to spend investigating licensing status and compiling copyright information. This is covered a bit later in this article.

Become familiar with Debian packaging

Now, you probably don't need read the Debian Policy and Debian Developer's Reference from cover to cover, but you should familiarise yourself with Debian packaging and the key infrastructure involved. Look at the important bits in the Policy and Developer's Reference.

Check out this list of packaging manuals and this introduction to packaging on mentors.debian.net for some additional material. There are also some great manual pages like deb-control(5), deb-src-control(5) (from dpkg-dev), debian-watch(5) (from devscripts), and dh(1) (from debhelper) describing some of the packaging files in detail. You can read these with the man program or at https://manpages.debian.org.

Look at other similar packages and pay attention to how they were made. Ask questions when you're unsure, people are always willing to answer on the debian-mentors mailing list and IRC channel.

Once you get a rough idea of how a Debian package works, it will feel natural working through packaging files.

By the way, you can read a lot of these documents offline: manpages can obviously be installed and read on your own machine, but the debian-policy and developers-reference packages (from unstable) will allow you to read the policy and reference offline as HTML in their respective directories under /usr/share/doc/.

Git-based packaging

People have many opinions on how to create a package, but by far the most popular is the GBP format for packaging in a git repo.

GBP stands for git-buildpackage, the tool behind this workflow, based loosely on the DEP-14 proposal. Here, the upstream code is placed in an "upstream" branch (this is what goes in the .orig.tar.xz tarball), and the Debian-specific packaging work is placed in a "debian" branch (this is what goes in the .debian.tar.xz tarball).

Many people have different ideas of what these branches should be called: upstream vs upstream/latest, debian/latest vs debian/unstable vs debian/sid. It generally doesn't matter though as the end result will be the same either way.

Using a git repo for your packaging rather than just a DSC makes it easy to see and review the changes you've made, and allows others to easily get the package source with full history and contribute (when located in a permissive group on Salsa like debian/ or one of the many teams).

It goes without saying that you should maintain proper commit hygiene by separating changes into multiple commits, having meaningful commit messages, and avoiding force pushing whenever you can.

Commit messages do not need to have explanations like other projects may expect, but feel free to add one if you think it will help whoever is looking at your changes understand what's going on.

Keep in mind that you can and should use the gbp-dch-style meta tags, which are Gbp-Dch, Thanks, and Closes, documented in the gbp-dch(1) manpage:

  • Gbp-Dch: ignore will not include your commit in the generated debian/changelog when gbp dch is executed.

  • Gbp-Dch: full will include the extended description of your commit as well in the generated debian/changelog when gbp dch is executed.

  • Thanks: John Doe will add a thankyou to the person named in the generated debian/changelog when gbp dch is executed. Useful when a commit is related to a bug report, patch or other useful contribution from someone else.

  • Closes: #123456 will add the relevant (Closes: #123456) in the generated debian/changelog when gbp dch is executed, to close one or more (comma-separated) bugs in the Debian Bug Tracker when the package is uploaded.

    This is the most important one, and should always be used even when not using GBP in an alternative workflow. Most groups on Salsa, including debian/, have webhooks that will send an email to bug reports and tag them as pending if a commit using this meta tag is pushed, which is great for notifying people that a fix is ready and about to be uploaded.

    Note: Don't bother trying to add Closes: to your "Initial packaging" commit description; there is no need and debian/changelog should already close it in your initial packaging work.

Team maintenance

More and more packages are being moved into "team" maintenance with weak package ownership, over the traditional single-maintainer model with strong ownership. This allows everyone to help maintain a package through team uploads, rather than relying on the same people to remain active.

When it makes sense, you should try to maintain your package in a team, especially as it will have other contributors familiar with the topic or language that may be able to spot issues in your package others may miss.

Most packaging teams fit into two categories:

  • Language teams - these are teams that package software exclusively written in a specific programming language, and usually also maintain the toolchain for that language as well. Examples include the Go team, Python team, and Rust team. Many of these teams also have their own tooling to make packaging easier for these languages, like dh-make-golang and debcargo.

  • Topic teams - these are teams that package software related to a certain topic or project, usually by contributors very interested in that topic. Examples include the Med Team, the Electronics Packaging Team, and the Debian Vim Maintainers.

Language-specific libraries like golang-*-dev packages should almost always be maintained in a language team, and packages centered around a project like Vim or Treesitter should be put in the related team if it exists. For all other cases, it is completely up to you. It usually does not matter which team you put it in, as long as you put it in a team, as you get the same benefits. Keep in mind, many teams have certain policies and guidelines for how packages within them should be maintained, so make sure to check that.

If you're maintaining stuff outside of a team, you should consider adding yourself to the LowThresholdNmu list to indicate that you are happy for people to follow a relaxed non-maintainer upload process when it comes to these packages.

Screenshot of fastfetch's debian/copyright file on Salsa

Upstream sometimes adds files taken from other projects, which must be documented in debian/copyright.

Every Debian package must include copyright information. In the packaging source, this is in debian/copyright, and this ends up being installed under /usr/share/doc/<package>/copyright on Debian systems.

This is important for a variety of reasons, some of which are:

  • It establishes that the software is compliant with the Debian Free Software Guidelines (when in main).
  • In the case of packages in the contrib and non-free archive areas, it helps people running mirrors or creating installation media (like install USBs) determine which software they are allowed to redistribute.
  • It helps people working in enterprise settings produce a Software Bill of Materials (SBOM).
  • It provides a consistent source of licensing information for software installed on your system so that you, as the end user, don't have to hunt down this information yourself.

All new packages should follow the machine-readable debian/copyright specification to produce a consistent, complete copyright file that covers every file in the source package.

As a result, this can mean a lot of work hunting down copyright and license information, especially for large software projects. In fact, you will often spend more time on the debian/copyright file than the rest of the package combined when working on Debian packaging.

There are a range of copyright review tools to make your life easier when doing this work. Some of the highlights are:

  • licensecheck - tool to try to detect the license of files passed to it
  • licenserecon - uses licensecheck to compare detected licenses against those in debian/copyright and shows you the differences
  • scan-copyrights - generate a preliminary copyright file using licensecheck, useful for finding stuff that got missed

When the licensing status of a file is unclear, you may have to ask the upstream author to clarify. Note that if something has no license (e.g. upstream does not specify a license at all for their project), it is considered "all rights reserved" and cannot be distributed in Debian.

Some projects will have vendored copies of some or all of their dependencies. When this is the case, you need to remove as much as possible and make the package use the libraries provided in Debian instead, as this is a Debian policy requirement (more info on this wiki page on embedded copies). Additionally, you may need to remove non-DFSG-compliant parts of upstream's source to ensure the package is DFSG-free. Both of these are done via repacking, which involves:

  • Specifying the Files-Excluded field in debian/copyright, preferrably with a Comment as well on why it is being repacked.
  • Modifying the tarball retrieved from upstream to remove these files. Some people do this by hand, but it is better to use either mk-origtargz (from devscripts) to do this when you already have a tarball, where it will read and use Files-Excluded (refer to it's manpage), or uscan, which will download a new tarball using your debian/watch file and then run mk-origtargz on it.
  • Adding a +dfsg (repackaged for DFSG reasons) or +ds (repackaged to remove vendored copies or other reason) suffix to the upstream version. This will appear in the name of the repackaged tarball (e.g. foo_1.2.3+ds.orig.tar.xz), and in the upstream part of the Debian version (e.g. 1.2.3+ds-1, where 1.2.3+ds is the upstream part). If you end up repacking the same version multiple times, you can add a numeric suffix (e.g. +ds2) to indicate this.

Also make sure to check if your package source contains binary files like images and PDFs, and to figure out if they have separate copyright and licensing status. Some of these files have their copyright information embedded within them. Of course, you can ignore build artifacts, as long as they are cleaned and rebuilt during package build.

Build and check your package

You should build your package in a clean unstable environment to ensure that your Build-Depends pull in all the required packages from the unstable repos. The best tool to do this is sbuild, which builds your package in an isolated unshare-based environment and allows easily running lintian and autopkgtest as well; this is the same tool used by the Debian build daemons (buildd) once your package is uploaded.

There is a great sbuild page on the wiki containing setup instructions and many useful tips.

There are many quality-checking tools available to catch common and not-so-common issues with your packaging. Using the sbuild configuration that the wiki page suggests, after each build it will automatically run:

  • Lintian: static Debian package checker that analyses the outputted files (.deb, .dsc, .changes)
  • Autopkgtest: tests your package as installed on a testbed system if your package defines them
  • Piuparts: checks your package cleanly installs, upgrades and removes (useful for checking custom installation and removal scripts)

You should always check the output of these tools and ensure they pass. Debian Developers use these same tools when reviewing your packaging.

If you are able to and when it makes sense, you should also install the package onto your own system and check everything works correctly. Even if a package builds successfully, it may not actually work when installed.

Unless your package only produces Architecture: all packages, you may want to also check that it cross-compiles correctly. You are probably either reading this on an amd64 or arm64 device, so you can easily cross-compile to the other architecture using the --host option with sbuild. Ability to cross-compile is not a policy requirement, but it will be raised as a bug against your package if it fails to do so.

Adding on to that, if your package is not straightforward and it produces packages on multiple architectures (usually Architecture: any), you may want to also check that it compiles on all of Debian's release architectures (aka. official ports). You can do this using virtual machines (QEMU is probably the easiest), but if you can't do this for whatever reason (like your computer being too weak to run a VM or the long package build time), also note that Debian Developers have access to porterbox machines that can be used to check your package before upload.

Find a sponsor

New contributors cannot upload to and manipulate the Debian archive directly. Rather, they need a Debian Developer to do so on their behalf after reviewing all their work; this person is called the "sponsor".

If you are planning to maintain your package within a team, check if they have their own guidelines or policy for finding a sponsor, as this will likely be quicker than the traditional RFS process outlined below. For instance, in the Go team, sending an email to the mailing list is much better, especially since usually multiple packages need to be uploaded at once.

Outside teams, the usual method is to upload your package to mentors.debian.net, and then file a Request For Sponsorship (RFS) bug to ask for a sponsor. The mentors website has an overview and very clear instructions on properly filing an RFS and finding a sponsor.

Screenshot of RFS bug for wpa-cute package

Properly formatted RFS bugs go a long way.

When filing the RFS bug, make sure you follow the template exactly. Deviating from it or sending a misformatted email is one of the quickest ways for your RFS to be both ignored by humans and missed by automated tools, so double check that it actually has everything needed. Ensure each of these fields is filled correctly:

  • Package name: This is the name of the source package set in debian/control.
  • Version: The version of the package you want the sponsor to upload, usually the latest version in debian/changelog.
  • Upstream contact: The contact info you put in the Upstream-Contact field in debian/copyright. This can be a name & email or a URL (e.g. to upstream's issues tracker).
  • URL: The homepage of upstream's website, usually from the Homepage field in debian/control.
  • License: List all the licenses present in debian/copyright, comma-separated.
  • Vcs: The URL to your Git repo containing your packaging, which should be on salsa.debian.org and be set up accordingly in the Git-buildpackage format.
  • Section: The value of Section in debian/control for the source package.

Adding notes or comments to the end of the RFS message is fine, but make sure the rest of it follow the right format.

Things to keep in mind include:

  • Do not file multiple RFS bugs, for any reason. If you have reuploaded your package or made a change, you can send a follow-up to the same bug.
  • If you want to change the name of your RFS (e.g. following a change in the name of the package), modify the tags or anything else, you can send commands via email to the Bug Tracking System (BTS).
  • Your RFS bug will only be closed if the package is uploaded or someone decides your package should not be uploaded.
  • Do not change the Package: field at the top of the email from sponsorship-requests, this tells the BTS that your bug report should be filed against sponsorship-requests and not some package in the archive.
  • The Severity: field at the top of the email should be "wishlist" for new packages, "important" for updates fixing Release-Critical (RC) bugs, and "normal" for everything else.
  • Skipping the bug and sending an email directly to the debian-mentors mailing list is a great way for your RFS to be ignored, especially since automated tools will not be able to pick it up.
  • Format the bug's title correctly. It needs to be RFS: name/version [ITP/ITA/RC/NMU] -- short description. Again, this is helpful for automated tools when they try to figure out what your RFS means. Examples include:
    • RFS: qiv/3.0.4-1 [ITA] -- Quick image viewer
    • RFS: wattsi/0.0~git20251112.d8caa36+dfsg-1 [ITP] -- Preprocessor for the HTML Standard

Now, when filed properly, an interested sponsor may come along and review your package, then either upload your package or send you feedback to iterate on before that. Ensure you watch for responses to your RFS and respond promptly.

Note there is no obligation for anyone to upload your package, and that anyone can review your package but only Debian Developers can upload it for you.

The Lintian output given by the Mentors website was usually right, but at the time of writing the website is using an outdated version of Lintian, so many of the hints it gives are incorrect. For the most up-to-date output, it's best to run Lintian from unstable on your own machine (which sbuild does for you).

Next steps

If your package is new to Debian, it will head to the NEW queue for manual review. Here, the DFSG team primarily checks that the package is compliant with the Debian Free Software Guidelines and is suitable for "main", but also check for mistakes in debian/copyright and obvious/major packaging issues.

Once your package is uploaded, whether new or existing, and you are named maintainer, you are in charge of looking after it, including new upstream version uploads to unstable, bug fixes, and security fixes. This mostly involves updating and cherry-picking fixes from upstream, but occasionally it gets interesting and you need to dive into the packaging to figure out what's going on and fix the issue.

You should try to work towards becoming a Debian Maintainer at the very least in order to easily maintain packages long-term. As a DM, you can be granted upload permissions on a per-package basis for your existing packages so that you don't have to rely on sponsors forever. Having this goal can also appeal to sponsors.

Have fun packaging!

(Opinion) What I look for in an RFS

This is not definitive, but I usually scan for these indicators:

  • Upstream and the packager being the same person is usually a red flag for a low-quality package. Exceptions can be made when it makes sense and this would actually be a benefit, but this is rare.
  • Properly formatted BTS bug, which shows ability to follow a simple guide.
  • The software existing in other Linux distros is a good sign.
  • Packaging VCS should be up-to-date, located on Debian Salsa, and follow Git-buildpackage / DEP-14 format. Deviations should only occur for a good reason. Only experienced packagers should really be experimenting with alternative Git styles like dgit-maint-merge etc.
  • I can understand what it does just from the package's full description, without having to go to upstream, since this helps me gauge whether I am interested in sponsoring the package. This is not always the case, since packages sometimes come through of a technical nature (usually kernel-related or maths/science packages) where I wouldn't be able to understand no matter how hard I try.
  • Updates to existing packages and adoptions (ITAs) are easier to sponsor than new packages since it doesn't have to go through the NEW queue and does not need to justify its addition to the archive.

Common misconceptions about Debian

  • Debian Developers and Debian Maintainers speak for themselves, not for the project. They are just people who happen to have some permissions in the project.

    The only official way to put forward the position of the Debian Project as a whole on a particular issue is through a General Resolution as per Debian's constitution. Other official sources include those maintained by the Publicity Team delegates, such as Debian News and Bits from Debian.

    Also note that delegates for a certain team can speak on behalf of that team. In this case, they usually get consensus within that team before making such statements.

  • The only formal, official "teams" in Debian are those delegated by the project leader, listed at https://www.debian.org/intro/organization.

    Debian does not have a "legal team", the debian-legal mailing list is for discussion about licensing.

    There is no "Debian Team", it's just a bunch of contributors working together to deliver a quality collection of packages. Packaging teams are informal, as they are not delegated; rather, they are people working on a certain category of packages under one roof.

  • Keep in mind contributors are all volunteers, with most not getting paid to work on Debian. Debian is owned by a non-profit and relies on donations, rather than a company like Ubuntu and Canonical. The Debian constitution explicitly states that no contributor is obligated to do anything.

David Brin — Mighty Cool Science Fiction News

  == Some SciFi news!  ==

First congratulations to Science Fiction Grand Master Connie Willis.

Willis is seen here receiving the Arthur C. Clarke Memorial Award yesterday, at the French Embassy in Washington DC, along with Hank Green and my friend Bill Nye, leader of the Planetary Society.  Well Deserved!

And now about another science fiction Grand Master!

Amazing Selects, the book imprint of Amazing Stories, is pleased to announce the release of an all-new paperback edition of Yanked, a science fiction adventure by acclaimed author Nancy Kress, part of David Brin’s Out of Time series.


What happens when teenagers from different centuries are suddenly pulled out of their own lives and thrown together in a future they could never have imagined?

In Yanked - by Science Fiction Grand Master Nancy Kress - readers meet Jason Ramsay, a talented but somewhat too-easygoing high school basketball star from 2019; Sharon Myers, a determined fourteen-year-old struggling to care for her infant niece; Robbie, a streetwise boy from nineteenth-century London; Jofrid, a young Viking-era girl from Iceland; and Sor, a teenager from the twenty-fourth century.

Brought together by the future's Operation Hourglass, these five young people must overcome their differences in age, culture, experience, and outlook. Their destination is the distant planet Jump, where a lost human colony holds information vital to humanity's future.

The mission is urgent. A competing alien race is searching for the same information, and the team has precious little time to prepare. To succeed, these unlikely companions will need courage, resourcefulness, cooperation, and something their technologically advanced future has largely forgotten: grit.  

Science Fiction Grand Master Nancy Kress is known for her thought-provoking stories and novels. Her work frequently explores the intersection of science, technology, human nature, and the future. Here she 
combines fast-paced adventure, imaginative science fiction, humor, and engaging characters in a story that explores what makes people resilient and what it means to grow into one's potential.

Yanked is an exciting addition to the Out of Time series, conceived by award-winning science fiction author David Brin, featuring stories of young people drawn from different periods of human history and challenged to face extraordinary adventures in the future.

(Note. For the first 5 books in the series, Amazing does only the PAPER books, while the e-books are offered by Open Road.  Amazing handles both for the four most-recent adventures!) 


   == What's the best revenge? ==


British Science Fiction author M. John Harrison's dystopian tale of survival in a post-apocalyptic world - ‘The End of Everything’ - became the first Sci-Fi Novel to win the prestigious Booker Prize for 2026! Huzzah!

Twenty + years ago, every year, the smug New York literarties – New Yorker, Atlantic, Harpers – would take turns publishing a nasty, ignoramus attack on science fiction. 


Now? They can’t get enough!  Lived to see it. 




    == Channeling Isaac! ==

Have any of you been following the FOUNDATION series on Apple TV? One fellow spoke up about it lately, wishing they incorporated more of the Big Ideas that we Killer Bs added via the Second Foundation Trilogy. And so, for those of you who think you get more vivid adventure and philosophical ‘meat’ from books… 

...Janet Asimov thought I did a good job tying all of Isaac's loose ends in FOUNDATION’S TRIUMPH - his unfinished plot threads - and taking the whole saga to a satisfying full circle. 

Mind you, there are some creative additions made by Apple+ that I very much liked! Because they did not conflict with the original concepts. Clone emperor is nicely done and could have been going on in Isaac's universe... he just never mentioned it! It's the vast, bridging arc and Big Ideas that I feel they misfired. You know where to find them, now!


    == Want more SF? I got your SF right here... ==

A rising star in SF academic research - Ari Brin - has published a terrific tome reviving one of the lost founders of modern science fiction. The Essential Robert Duncan Milne: Stories by the Lost Pioneer of Science Fiction, shows you how remarkably advanced a few authors were in the 1880s and 90s, and in San Francisco, no less! "Hard SF" tales about technologies that seemed then-plausible... and some that came true!  And a fascinating tour of an almost lost  pioneer of the field. 


I expect many of you will remark on some of her stories, as early as next year. Meanwhile, get to know a few at her website... including this wry/amusing poetical tour of one poor man's solution to his own narcissistic panic.


I must admit to bias, of course. But I especially recommend Ari's now-paused NOVUM podcast. Fifteen wonderful and topical episodes, shining amusing and surprising insights into the genre we all love!



   == ...and more news! ==


Dmitri Mehlhorn’s Archipelago of Light came out October 6, with a foreword by Reid Hoffman. The novel looks ahead to 2039, exploring how underdogs can use AI to protect freedom in an age of authoritarianism.  And yes, he echoes some of my themes explored in AIlien Minds.

 

Francis Hamit’s magic realism novel STARMEN combines wild west ambiance with balloon adventures… kind of steam punk with some Castaneda mystical whimsey. 

 

And finally...


A trip down memory lane or a fun excursion for young folks! Lately my YouTube feed has featured Science Fiction Theater (1956) which we watched when I was very young. (Yes, I’m OLD!) Have  a look.


    1. Boy was it cheap! Some junior high kids today could film and augment any of these episodes in a couple of hours, ideally with much better story material*. And yet…


    2. Just amid the first 3 episodes you see… a Roomba home vacuum, a version of today’s Havana Syndrome sabotage ray(!) … a fun, speculative musing on UAPs  … as well as C.L. Moore and Henry Kuttner’s 1946 classic novel, “Vintage Season.”

Mind you I am notoriously disdainful of the current “Disclosure” fetish cult. But I happily (and often!) speculate about even marginally plausible notions of alien life or contact. I’d put SFT#1 in that category.


*I’d be happy to help young film-makers with cool stories! Many of the concepts low-budget even without using AI!

 

Drew Devault — sneakernet: a slow, decentralized messaging network

Over the past couple of weeks I have been working on a project idea I call sneakernet, named after the informal term for networks which transmit information on “sneakers” rather than wires or radio, i.e. by physically carrying the data to the destination. The classic, evocative image is of the station wagon full of tapes flying down the highway during an outage, which is (accurately) said to have more bandwidth than most Internet connections.

The internet has been slowly but surely going to shit for a while now. There’s slop everywhere, the search engines are broken, and social media algorithms are getting people killed. There are still good parts, for sure, and necessary parts, but it’s also the case that browsing the good parts is feeling kind of depressing lately, because the bad parts are really bad and they’re just a click away. It’s probably not fixable at this point.

But, I still want to be able to use my computer to communicate with people around the world, collaborate, and build community together, all of those things that are getting increasingly and increasingly more desperate to accomplish online. Sneakernet proposes to deliver all of that, in some small way, at a much slower pace, while encouraging people to see each other face to face, by taking it offline.

In short, sneakernet is a general-purpose message distribution system which uses your feet as the main transport. When you publish a message on your node, it gets automatically passed on to anyone else on the LAN who is also running sneakernet. They physically carry your message on their laptop to another network, where other sneakernet nodes automatically pick it up, too, and pass it further along. You can send an email via sneakernet to your friend in another city, and it will arrive, perhaps weeks or months later, whenever someone physically carries the data to them, perhaps through some number of intermediaries. When the email arrives, the recipient can see who carried it for them, and maybe they send them a little “thank you” note back through the ’net.

On top of the low-level messaging system, one can build high-level applications. Most things will work so long as they are message-oriented and tolerant of extremely high latency. Applications included include sneakermail, which sends and receives emails via sneakernet (and it’s compatible with your favorite email client); sneakernews, which runs news groups/message boards on sneakernet; and sneakershare, which can share files on the ’net. Building new sneaker applications is straightforward and can be easily done in most programming languages.

Imagine you go to an event like 40C3. When you arrive, your laptop automatically delivers emails to other attendees from people at your local hackerspace who couldn’t make it, and you hop on sneakernews to discuss the event with everyone. When the event is over, and you go home, you take all of those messages back to your hackerspace, where they’re dropped on the relay there. Your friends get the replies to their emails, and can catch up on the conversations that were going on in Hamburg. They reply back, and their message is carried by whoever is heading in the right direction next. All of this happens automatically, without any manual intervention – you just use your normal email client, or other sneaker applications, and wait patiently, or organize an expedition to deliver them to the next city over if you’re impatient.

Sneakernet provides some security – enough to meet the demands of prudence, but not enough to stake your life on. Every message is authenticated, and every private message is encrypted for its recipients, so anyone who happens to carry them cannot read them. Sneakermail, for example, provides full authentication and encryption for all emails, without having to configure PGP. On the other hand, there’s no forward secrecy and it’s trivial to find out who is talking to whom. Check out the security write-up for more details.

The system is still a work in progress. It currently depends on the latest Hare master branch, which I hope to resolve with a new Hare release in the next couple of weeks, but I’ll probably publish some statically linked binaries for it sooner than that. I’ll be running some tests at my own local hackerspace, techinc, during the open nights on Wednesdays, if you want to swing by and help me test drive it. I’ll be at 40C3 this year, and by then I hope to have most of the kinks worked out so it’s ready for people to use. I’ve submitted a talk on sneakernet for FOSDEM as well, so if it’s accepted I’ll go into more detail on the inner workings and anticipated future challenges. There’s still going to be some work in the long tail, particularly around message filtering and retention, and moderation.

Read up on the FAQ to learn more, and send me a sneakermail if you manage to get it working!

,

Planet Debian — Dirk Eddelbuettel: RcppArmadillo 15.8.0-1 on CRAN: New Upstream

armadillo image

Armadillo 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. RcppArmadillo integrates this library with the R environment and language–and is widely used by (currently) 1396 other packages on CRAN, downloaded 53.2 million times (per the partial logs from the cloud mirrors of CRAN), and the CSDA paper (preprint / vignette) by Conrad and myself has been cited 743 times according to Google Scholar.

This versions updates to the new 15.8.0 upstream Armadillo release made today. As detailed below, it expands the API a little but also updates a few interfaces including one related to sparse matrix operations. As usual, we ran two full reverse-depdency checks against the nearly 1400 packages. This resulted in one additional small change set upstream (and the second reverse-dependency run) along with a small and focusses extension on our side which Kevin very kindly and promptly offered after I was scratching my chin over what may be needed. The package has also already been updated for Debian, built for r2u and should build shortly in r-universe as well as at CRAN for the different binary releases. We also note that we once again had a perfectly clean CRAN: all incoming tests, including full reverse dependencies, passed without the need for a follow-up email and were 100% automated. Smooth sailing!

All changes since the last CRAN release follow.

Changes in RcppArmadillo version 15.8.0-1 (2026-11-22)

  • Upgraded to Armadillo release 15.8.0 (Medium Roast Chill)

    • Added solve_factoriser class for reusing matrix factorisation to solve systems of linear equations

    • Added solve_lse() for solving linear least squares with equality constraints

    • More efficient handling of spones()

    • Reworked detection of aliasing for cubes

  • Added wrap() support for different sparse matrix expressions (Kevin Ushey in #514 fixing #513)

Courtesy of my CRANberries, there is a diffstat report relative to previous release. More detailed information is on the RcppArmadillo page. Questions, comments etc should go to the rcpp-devel mailing list off the Rcpp R-Forge page.

This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. If you like this or other open-source work I do, you can sponsor me at GitHub.

Planet Debian — Daniel Baumann: Debian: Modernizing iperf/iperf3 and introducing fireperf

Recently I spend some time on modernizing the packaging of the Internet Protocol bandwidth measuring tools iperf and iperf3 in Debian, as well as uploading fireperf to Debian.

Modernizing iperf


TL;DR: If you want to run your own iperf server,
run sudo apt install -yU iperf-server and you’re done

Previously, src:iperf only built iperf. If you wanted to run an iperf server, you had to do it on your own, i.e. there was no systemd service for that.

Apart from tidying the Debian package, src:iperf now builds the new iperf-client and iperf-server packages, the latter contains the systemd and ufw integration. iperf-server runs with a dynamic systemd user and systemd service hardening.

The iperf package is now a transitional package, that also cleans up any leftovers from before the package split into iperf-client and iperf-server (e.g. when upgrading from trixie to forky).

For historical reasons, iperf2 is packaged in debian as iperf, not iperf2. Now the iperf packages have provides for iperf2, iperf2-client, and iperf2-server respectively (so they can be installed by these names too).

Updated iperf packages are available in sid, and backports for trixie are available at Debian Fast Forward.

It might make sense in the future…

  • given that iperf2 and iperf3 are completely different tools with different advantages and disadvantages depending on the use-case

  • therefore the one is not replacing the other (iperf2 in general is the better tool than iperf3, eventhough the common misconception is that iperf3 is supposedly better than iperf2 because the number 3 is greater than the number 2)

…to maybe rename iperf to iperf2 to match both upstream naming and also to harmonize the packaging of iperf2 with other distributions.

Modernizing iperf3


TL;DR: If you want to run your own iperf3 server,
run sudo apt install -yU iperf3-server and you’re done

Previously, src:iperf3 only built iperf3. If you wanted to run an iperf3 server, iperf3 had a debconf yes/no question which would then start one iperf3 server on the default port 5201.

Apart from tidying the Debian package, src:iperf3 now builds the new iperf3-client and iperf3-server packages, the latter contains the systemd and ufw integration. iperf3-server runs with a dynamic systemd user instead of the previous local system account, and has systemd service hardening.

Since iperf3 (contrary to iperf, also see here and here for iperv vs. iperf3) does not allow using multiple connections on the same port, you have to run multiple iperf3 servers, each on their own port, in order to serve more than one client at the time.

The old debconf question for enabling a single iperf3 server has been removed as well as the obsolete sysvinit integration.

In order to allow running multiple iperf3 servers at the same time (but on different ports), iperf3-server now contains a systemd service template so you can enable multiple iperf3 servers (e.g. 3 servers on subsequent port numbers, but you can run as many as you want on any ports you like) either manually with:


sudo systemctl enable --now iperf3-server@5201
sudo systemctl enable --now iperf3-server@5202
sudo systemctl enable --now iperf3-server@5203

or by using debconf interactively to do it automatically for you (which defaults to one instance on port 5201):


sudo dpkg-reconfigure -p low iperf3-server

or by using debconf non-interactively to do it automatically for you:


TMPFILE="$(mktemp)"
echo "iperf3 iperf3-server ports string 5201 5202 5203" > ${TMPFILE}
cat "${TMPFILE}" | sudo debconf-set-selections
dpkg-reconfigure -fnoninteractive -pcritical iperf3-server
rm -f "${TMPFILE}"

The iperf3 package is now a transitional package, that also cleans up any leftovers from before the package split into iperf3-client and iperf3-server.

Updated iperf3 packages are available in sid, and backports for trixie are available at Debian Fast Forward.

Introducing fireperf


TL;DR: If you want a nicer iperf/iperf3 client,
run sudo apt install -yU fireperf-client

TL;DR: If you want to run your own fireperf server,
run sudo apt install -yU fireperf-server

Introducing fireperf

Image 1: fireperf interactive terminal interface

Introducing fireperf

Image 2: fireperf non-interactive terminal interface

fireperf is a modern take on the iperf3 network performance and stress-testing tool under the IPFire project umbrella:

  • measures upload or download individually, or concurrent upload and download

  • allows to serve many clients in parallel (on the same port)

  • allows to use many workers in parallel (for maxing out bandwith of servers with LACP instead of ECMP)

  • allows to use and track many connection sessions in parallel (for maxing out firewalls)

  • can also be used as a client for both iperf and iperf3 (autodetecting the target)

  • can also be used as a iperf3 server

  • can output results in JSON

  • has a live graph (ncurses)

  • uses less CPU ressources on both the client and the server (io_uring, zerocopy, …)

fireperf packages are in sid, and backports for trixie are available at Debian Fast Forward.

Happy bandwidth measuring!

365 Tomorrows — The Other Morning

Author: Leng Ian Hon At seven ten, the man entered the park carrying a dented thermos and nowhere else to be. He chose a bench whose green paint had begun to curl away from the wood. Across the path, beneath a thinning hydrangea, a stray cat with its paws tucked under its chest. One ear […]

The post The Other Morning appeared first on 365tomorrows.

Planet Debian — Russ Allbery: Review: Whalesong

Review: Whalesong, by Miles Cameron

Series: Arcana Imperii #3
Publisher: Saga Press
Copyright: 2025
Printing: August 2026
ISBN: 1-6682-1021-5
Format: Kindle
Pages: 362

Whalesong is a far-future semi-military science fiction novel and the third in the Arana Imperii series, not counting the story collection Beyond the Fringe. It did an adequate job of jogging my memory of previous events, but I kind of wish I had re-read the series before reading this entry.

Artifact Space and Deep Black were closely linked, almost one novel in two volumes. Whalesong is not. There is a frame story featuring Nbaro and Dorcas and an introductory story featuring Nbaro's friend Qaqqaq, but the protagonist for most of the novel is a minor character from the earlier books: Thor Storkel.

After Deep Black, Storkel mustered out of the DHC and purchased the captured New Texas ship Silver Star. An arrangement with Morosini involving secret reserve status let him keep a hidden weapon system. His plan was to become an independent trader, working for himself and going wherever he wanted.

This did not go as smoothly has he planned. Keeping a ship running was expensive in numerous ways that had never previously been his problem, and the end of the Non-War meant a glut of ships and crews trying to do the same thing he was doing. His PTSD and associated paranoia from his time on the Athens didn't help. As Whalesong opens, Storkel is running the Silver Star by himself (a horrible idea), trying to find both cargo he can make money on and crew he can afford to hire.

Also the antigravity is weirdly glitchy, and he's fairly sure the ship's sub-AI doesn't like him.

Whalesong feels like an interlude in the larger series. Although there are important connections to the larger series plot, the advancement of that plot is limited and mostly happens in the background. Instead, this is more of a merchant adventure with some found family vibes, returning to military SF and larger political concerns only late in the book. It felt like Cameron needed to move pieces into place for the next major plot development and decided to use that interlude to tell a smaller character story.

The appeal of this book is therefore going to depend on how much you like the characters. Storkel is an improviser and a tinkerer, the kind of person who sets up an elaborate set of tools and macros and alarms to partly automate his job without letting go of any piece of it. The primary tension in the story is Storkel's paranoia and the increasing evidence that it is justified, that there is something fundamentally wrong with his ship. By himself, Storkel is a little too intense. Thankfully, he gradually accumulates crew over the course of the story, and that settles him down and adds some enjoyable character interactions. Dorcas, when he shows up, is exactly like Dorcas in the previous books; if you liked him before, you'll still like him here.

This is the kind of book that I enjoyed while reading and then promptly forgot most of as soon as I finished it. The details of Storkel's attempt to become an independent trader and how it is slowly hijacked by the series plot is competent, but not more than that (at least for me). The one real complaint that I have is that Nbaro, even when mostly off-camera, continues to be hypercompetent and central to DHC politics in a way that I found a bit unbelievable. Otherwise, the worst that I can say is that this book never grabbed me like Artifact Space did. I happily turned the pages, but I probably won't read it again.

After reading this book, I re-read both Artifact Space and Deep Black and greatly enjoyed both of them. I haven't felt any similar desire to re-read this one.

If you're following the series, there's no reason to skip Whalesong, but I doubt it will be your favorite.

Followed by The Alien's War, which will hopefully have the sort of major plot advancements hinted at by the title. At the time I am writing this review, it is scheduled for publication in September of 2027 in the UK and does not yet have a publishing schedule in the US.

Rating: 7 out of 10

,

Planet Debian — Matthias Geiger: Using inkscape to draw high-quality electrical diagrams

For my thesis paper I had the need to have high-quality diagrams as images to include in my LaTeX document. While TiKz provides a neat way to do so, sometimes it does not cut it, especially if you want to have a certain degree of flexibility or add some signal forms. Furthermore, writing TikZ (CircuitTikz in this case) can be rather convoluted. While solutions such as the online designer exist, IMO a plain drawing is just better.

Inkscape to the rescue

Fortunately, inkscape has all we need to produce high-quality circuit diagrams. Install it via apt, and then first add the electrical symbols library:

git clone  https://github.com/upb-lea/Inkscape_electric_Symbols
mkdir -p .config/inkscape/symbols
cp Inkscape_electric_Symbols/Inkscape_Symbols_all.svg .config/inkscape/symbols

Then open inkscape. The newly added symbols can be found at Objects->Symbols (or press CTRL+Shift+Y). To efficiently draw, press "#" to enable the grid, and set "Enable snapping". This makes it easier to align the objects to the grid.

Afterwards, one can just drag and drop symbols from the menu onto the drawing area, and construct a transmission line like this:

transmission-line

Function plotting

The best part is inkscape also supports plotting signals that follow a mathematical expression. This comes especially in handy if you need to have some signal next to a circuit part. This can be done via Extensions->Render->Function plotter. It is a bit convoluted, since you first need to draw a rectangle, which is then converted to a plot. In this example, I drew a fourier transform of a square wave with five terms:

4/pi*(sin(x)+1/3*sin(3*x)+1/5*sin(5*x)+1/7*sin(7*x)+1/9*sin(9*x))

Then set some defaults: Check "Remove rectangle"; uncheck "Cut with rectangle", "draw axes" and "Add endpoints on x-axis". For the scaling, I chose an x range of -0.5 to 0.5, checked "multiply x values by 2 pi", an y range of -1 to 1, and 100 data points. I also unchecked isotropic scaling and polar coordinates.

The end result (with some inkscape coercing) is a nice jittery rectangluar waveform:

square-wave

Overall, this is pretty nice and allows for high-quality images. Once the svg is finished, it can easily be exported as png. I recommend a DPI of 300.

Planet Debian — Andrew Cater: Back in Cambridge - this time for media testing / media release 20261121

 I never did quite finish the blog posts for mini-DebConf Cambridge at ARM - sorry, but life got in the way. Videos are now available in the Debian video archives.

Back in Cambridge for release of Debian 13.8 - testing is going well. A couple of new bugs - speech install doesn't *depend* on a working screen but it surely does help as a sighted user :)

Six of us here, including Richard who is new to the process and pham who has helped with ARM v7 remotely.

All good - and glad to be here.

Planet Debian — Abhijith PA: MiniDebCamp Kochi 2026 - Report

Event Logo

On 22nd May 2026, we organized a MiniDebCamp at Bolgatty Palace, Kochi, Kerala.

The actual discussion for this year’s camp began when we had a small meetup at Urbec’s place in Kochi. We decided to do a MiniCamp rather than MiniConfs which we were doing for quite some time. Also, We had already done a Bug Squashing Party last year with 4 people and we wanted to do a bigger one this time.

Kiran(hacksk) was involved with organizing the camp initially. Later when we finalized the dates for the camp, he had to leave since it conflicted with another event he had to attend. Thanks to Aryan(spaciouscoder) for the event logo and designs. Due to his exam clashes, he also couldn’t attend the event. When Kiran left, AkhilVarkey passionately took the lead in organizing the event. Thanks to him for traveling all the way from his hometown in Thrissur to venue during initial negotiations. In fact, it was only after he joined that the event planning became more systematic, with regular meetings, Kanban boards, spreadsheets, and other tools to keep track of everything. If it had been just me, I would have handled everything as it came up, and things would have been chaotic.

Choosing venue wasn’t hard this time. We were already in talk with Bolgatty Palace for a bigger event and we decided to conduct the camp here after couple of visits and negotiations on rates. Our booking was still with them due to the unfortunate event happened during the DebConf23.

Our announcement and Wiki page

We opened our registration via LiberaForms as Akhil had decided on avoiding non free platforms for data collection and wanted to do it as private as possible. After exploring our options, we decided on LiberaForms. We prepared a data collection, retention and destruction policy for the event. We purposefully only asked for the required fields. We were so particular that we didn’t even have a phone number field but this backfired a little. Turns out many people don’t check mail as frequent as we thought. Inspite of it, we managed to reach out with updates on the event successfully.

In parallel, we also sent out some mails for sponsorships. Thanks to OnlyOffice and FOSSUNITED who generously sponsored our event and enabled us to accommodate more participants. Since its a camp and not just a BSP like last year, we welcomed new people to the event.

Only office logo

FOSSUNITED logo

We started the event on Friday evening. We did a small orientation for new comers. Before the event, we shortlisted some bugs and tasks to share. All began hacking on stuffs that was interesting to them. Some did packaging, some did bug fixes and others worked on website fixes. There was even some fiddling done on beagleboard SBC and other boards.

The venue was calm and serene. The weather was nice, notwithstanding the few downpours we experienced. Some people from Hyderabad (South eastern side) and Kolkata actually got amazed by the tropical greenery around the venue and Kochi in general. The food served to us through out the event was amazing and accommodation was also very nice.

In terms of bug squashing statistics, we managed to touch 93 bugs \o/ and of which 82 bugs are resolved. Parallel to bug squashing, Subin (bin/su) and Muneer worked on revamping the Debian Project website. MRs . Akhil worked on KDE things. One among is angelfish

Seeing the outcome, we are hopeful and thrilled to conduct this as an annual event. Couple of people had a brainstorm later and the current decision is to do similar event next year in Bengaluru, given it will be more accessible than Kochi.

Akhil had been nudging me to finish this report for the umpteenth time, and it’s finally published. (Thanks for the proof read also, which you have done months back)

MiniDebCamp Kochi 2026 Group photo Staring at laptop

365 Tomorrows — Off Watch

Author: Michelle Doe I press the button and the water starts to heat up. I pour a packet of instant coffee into a mug and breathe in the scent of freshly roasted beans. Ridiculous. I haven’t had real coffee in two decades. I’ve started imagining things. I haven’t done that since the day they first […]

The post Off Watch appeared first on 365tomorrows.