Skip to content

Saturday, 5 December 2026

Like in the years before, KDE does an end of the year fundraiser campaign.

Beside that Plasma will show some small popup to ask if you want to sponsor us with a donation.

Some people say that is annoying, but I clicked that away a few days ago at work and I think it is very non-intrusive and a good measure to remember our users that they can help us out even if the can’t start contributing in a different way.

It looks like the campaign is going this year again very well, below the state as of today, 5th December 2026.

KDE - End of Year Fundraiser 2026

We had inflation like every year and one can therefor not really compare it 1:1, but we got already now a bit more than at 7th December 2025 with the last campaign.

Thanks to all that donated and naturally to all others that contributed now or in the past in other ways!

Have a nice end of the year 2026 and a merry Christmas time (if you celebrate that).

Last week I released KAIChat 1.0, the first stable version of KDE’s desktop client for AI language models. This post explains what KAIChat is, why I wrote it, what you get in 1.0, and what is already on its way for 1.1.

The KAIChat main window, with the list of chats on the left and a conversation on the right
The KAIChat main window

What is KAIChat?

KAIChat is a chat application for large language models (LLMs). You type a question, the model answers, and the conversation is kept. The model can run on your own computer, with Ollama, llama.cpp or LM Studio, or be provided by an online service such as OpenAI, Anthropic, Mistral AI or one of the many OpenAI-compatible providers.

KAIChat does not ship a model of its own, and it sends nothing anywhere until you have configured a provider and asked a question.

Why another AI chat application?

There is no shortage of AI chat clients, but most of them are web pages or Electron applications, and many of them are tied to one vendor. I wanted something different for the KDE desktop:

  • A native application. KAIChat is a Qt 6 / KDE Frameworks 6 application. It follows your color scheme, your fonts and your shortcuts, uses KDE notifications and the system tray, has a System Settings module, and is translated by the KDE translation teams.
  • Your choice of model. Local or hosted, free or paid: you can configure several providers and switch between them. You are not locked in.
  • Your data on your computer. Conversations are stored in a local database, not in somebody’s cloud. With a local model, nothing leaves your machine at all.
  • Shared building blocks. The AI code itself is not in KAIChat: it lives in the TextAutoGenerateText library of KTextAddons. Other KDE applications can use the same library, the same providers and the same configuration. KAIChat is the application that wraps it with a main window, menus, import/export, a command line, a D-Bus interface and desktop integration.

Instances: connecting to a model provider

The central concept in KAIChat is the instance. An instance is one configured connection to a model provider: a local server on your machine, or an online service with its API key. You can create as many instances as you want, for example a local Ollama for everyday questions and a hosted model for harder ones, and choose which one to use.

The first time you start KAIChat without any instance, it offers to create one. You can also manage them later in Settings → Configure KAIChat… → Instances, or from the AI module of System Settings.

Supported providers come from plugins, and currently include:

  • Local: Ollama, llama.cpp, LM Studio
  • Hosted: Ollama Cloud, OpenAI, Anthropic, Mistral AI, Groq, Grok (xAI), Qwen, OpenRouter, DeepInfra, Novita AI, Cerebras, Kluster AI, Venice, Kimi (Moonshot AI), Sarvam AI, CompactifAI, AtlasCloud, and any other server with an OpenAI-compatible API

A few details make local models easier to use. The default address of a local Ollama server is filled in for you. If Ollama is installed but not running, KAIChat offers to start it, and kaichat --start-ollama does the same. Models can be downloaded from the instance configuration, and a notification tells you when a download is finished. For servers behind a custom URL that do not list their models, you can type the model names yourself.

A word on privacy: with a hosted service, your questions and the files you attach are sent to that provider and fall under its privacy policy. Instance configuration files contain your API keys, so treat them like passwords.

Conversations

Every chat is stored in a local database and is still there the next time you start KAIChat. You can:

  • rename, duplicate or delete a chat, and mark it as a favorite;
  • organize chats in projects and with tags, and filter the list by tag;
  • fork a conversation from any message to try another direction without losing the original;
  • archive chats you no longer need instead of deleting them;
  • search your whole history with Ctrl+F (Edit → Search in Database…);
  • set a retention period, so that chats older than a given number of days are removed (favorites can be kept);
  • start an ephemeral discussion, which is never written to disk and disappears when you quit, unless you decide to save it.

You can attach files to a question, and a chat can be exported as JSON (*.kaichat), Markdown, plain text or PDF. The JSON format can be imported again, from the File menu, from your file manager or from the command line.

Projects and tags

When you use KAIChat every day, the list of chats grows quickly. Projects and tags are two ways to keep it organized.

A project groups the conversations about the same piece of work: a program you are writing, a trip you are planning, an article you are preparing. A chat belongs to at most one project. Right-click a chat and use the Project submenu to move it into a project, or out of it with No Project. Projects are created, renamed and removed with Manage Projects… in the same submenu. Removing a project does not remove its chats: they are simply kept outside of any project.

Moving a chat into a project

Tags are more flexible: a chat can have any number of them, for example code, KDE or to read again. Add or remove them from the Tags submenu of the context menu, and manage them with Manage Tags…. The tag selector above the chat list then shows only the chats having one of the selected tags. Select no tag to see all of them again.

Quick Ask

Sometimes you only have one question and don’t want a full window. Quick Ask is a small dialog for exactly that. Press Meta+Space anywhere, use the system tray menu, or run kaichat --quick-ask. Quick Ask also supports attachments and tools, and questions asked there are not added to your chats unless you choose to save them.

Tools and MCP servers

A model on its own only knows what it learned during training. Tools let it do more: when a tool is enabled for a question, the model can decide to call it, and KAIChat sends the result back so that the model can finish its answer. The status bar shows which tool is running.

KAIChat 1.0 ships a simple current date and time tool, and more tools are available in the kaichat-addons repository. But the real extension point is MCP.

What is MCP?

The Model Context Protocol (MCP) is an open standard that lets a model use tools provided by external programs, called MCP servers. There are servers to read your files, query a database, search documentation, use a Git repository, and many more. KAIChat 1.0 is an MCP client: it connects to the servers you configure and offers their tools to the model.

This is also where KDE’s own MCP servers come in. With KDE Workspace MCP, the model can control your Plasma desktop, and with the Akonadi MCP server, it can access your KDE PIM data. Add them in KAIChat like any other server, and your assistant can work with your own desktop and your own data, without any cloud service in between when you use a local model.

Adding a server

Servers are managed on the MCP Servers page of the configuration dialog (and in System Settings, where the list is shared with the other applications using it). KAIChat supports the three MCP transports:

  • Standard IO: a program started by KAIChat on your computer, with its command and arguments;
  • Streamable HTTP: a remote server reached at a URL, with optional headers such as an Authorization token;
  • SSE: the older HTTP transport, still used by some servers.

For each server you can list the allowed folders it may work in. You don’t have to type all of this yourself, though: the Add Server button offers several ways to add a server.

  • Add Server…: enter the settings yourself, as given in the documentation of the server.
  • From MCP Registry…: search the public MCP registry, read the description, repository, remote addresses and packages of each server, and let KAIChat fill in the settings for you. Only the environment variables, an API key for example, are left for you to fill in.
  • Import…: read the servers from an existing JSON file using the common mcpServers format, such as the .mcp.json file of Claude Code. If you already configured MCP servers for another tool, you can bring them over in one step. A server can also be exported to such a file.
  • From Installed Servers… (new in 1.1): an MCP server installed on your system can ship a small .mcpserver.desktop file in share/mcp-servers/, describing how to start or reach it. KAIChat lists these servers, and you only have to pick one. KDE Workspace MCP and the Akonadi MCP server already install such a file: once they are installed, adding them to KAIChat takes two clicks.
The MCP Servers page and its Add Server menu
Adding a server from the MCP registry

Using MCP in a chat

Each enabled server appears as a button among the tools under the input field. Check it to let the model use that server, or open its menu to allow only some of its tools.

Because a tool can do more than read data, KAIChat asks before running it. The Run Tool dialog shows the server, the tool and the arguments, and lets you Allow it once, Always Allow This Server, or Deny it. KAIChat also supports the requests MCP servers can make in return: elicitation, where a server asks you for some information, and sampling, where a server asks the model to generate text. Sampling is never sent to the model without your confirmation.

Only add MCP servers you trust. A Standard IO server is a program running with your own rights, and whatever a tool returns is read by the model and, with an online service, sent to its provider.

MCP support is still marked as experimental and can be disabled at build time with USE_MCP_SERVER_SUPPORT=OFF.

Accessibility and desktop integration

  • Speech to text: dictate your questions with a microphone button. Vosk and Whisper run on your computer, Google is an online alternative. The text is inserted in the input field so that you can review it before sending.
  • Text to speech to have answers read aloud.
  • Spell checking, adjustable font size (Ctrl++ / Ctrl+-), color schemes, full screen, and a hideable menu bar with a hamburger menu.
  • Optional system tray icon and notifications.
  • A configurable system prompt sent at the start of every conversation.

Command line and D-Bus

KAIChat is a single-instance application: running it again forwards the options to the window that is already open. This makes it easy to script:

# What do I have?
kaichat --list-instances
kaichat --list-chats
kaichat --plugin-info

# Ask a question in a new chat, with a file and a tool
kaichat --new-chat "Release notes" \
        --attach ~/notes.txt \
        --tool current_date_time_tool \
        --ask-message "Turn these notes into a short announcement"

# Or just pop up Quick Ask
kaichat --quick-ask

On systems with D-Bus, the running application also exports the org.kde.kaichat.Application D-Bus interface, to list chats, create or switch to one, show archived chats and ask a question:

qdbus org.kde.kaichat /Application org.kde.kaichat.Application.createNewChat "My chat"
qdbus org.kde.kaichat /Application org.kde.kaichat.Application.ask "Hello"

Coming in KAIChat 1.1

Work on the next version has already started, and its main theme is asking KAIChat from anywhere on the desktop, without opening its window first. The features below are in the development branch and may still change before the release.

A KRunner plugin

In KRunner or the Plasma search, type ai or ask followed by your question, for example ask what is the capital of Peru. Two results are offered: Ask KAIChat shows the answer in Quick Ask, and Ask in a new KAIChat chat opens the main window with a new chat titled after your question.

A few keywords turn the query into a ready-made request:

QueryWhat it does
ai summarize <text>Summarize the text
ai explain <code>Explain what the code does
ai translate <text>Translate the text into your desktop language
ai fixit <text>Correct spelling and grammar

Share menu (Purpose) actions

Applications with a Share menu, such as Kate, Spectacle or Dolphin, will list KAIChat actions: Ask KAIChat…, Summarize with KAIChat, Explain Code with KAIChat, Translate with KAIChat and Fix Text with KAIChat. A small text file is put directly in the question, while a larger file, or one that is not text, is attached to it.

Get KAIChat

KAIChat is free software, licensed under the GPL-2.0-or-later. Version 1.0 needs Qt 6.10, KDE Frameworks 6.30 and KTextAddons 2.3.0 or later. Your distribution may already package it; otherwise you can build it from source:

git clone https://invent.kde.org/utilities/kaichat.git
cd kaichat
cmake -B build
cmake --build build
cmake --install build

Many thanks to the KDE translation teams, to Andres Betts for the icons, and to everyone who tested the earlier versions and reported bugs. Feedback, bug reports and merge requests are very welcome!

Publishing a database of fixes for most Plasmashell bug reports

(Warning: I would like to remind everyone that Planet KDE aggregates blog posts of developers, and opinions here are mine and not KDE's.)

I would like to showcase Tokamak, a website containing bugfixes for ~1200 out of the ~1700 open plasmashell bug reports.

What is this?

During the adventure in my last blogpost, I realized that creating a fix for a particular bug report through Claude is actually extremely cheap; the fix can be verified in a local session to make sure it does work.

Of course, not all fixes are good: some get the UI/UX wrong (models have particularly bad taste), some are ugly hacks or workarounds, some take architectural decisions that no human would.

At the same time, plenty of bug fixes are good out of the box, and plenty of others can be "beaten into shape" just by asking for a few changes; the remaining bad fixes are still verified to work, and they can at least give some context about the nature of the bug when they are read, even if they are then discarded entirely.

Through some quick math, I realized that for a few bucks I could build a database that contained verified fixes for every single reproducible bug filed against Plasmashell, which I thought would turn out to be helpful for all Plasma developers, not just me.

Publishing a database of fixes for most Plasmashell bug reports

Agent reviews

In an attempt to provide as high-quality fixes as possible, I have set up a double code review by both Anthropic's Opus and Google's Neon; ideally a review would come from other models too (especially Sol) but I am out of budget for this.

In the top right of the list, you'll find a selector that you can use to filter out only the bugs that have been accepted by both models. They are ~400, so a bit more than a third of the total, and I'm starting the review from the smallest fixes.

Publishing a database of fixes for most Plasmashell bug reports

On the page of each fix, at the bottom, there's the status of the review, and you can see what each model thought of that particular fix. This is mostly meant to be more machine-readable than human-readable, but it could nonetheless be an interesting input if you want further context on the fix.

Publishing a database of fixes for most Plasmashell bug reports

I'm working on getting all fixes on this dashboard to be accepted by both models, but of course I don't want to burn my usage caps either, so it might take a bit of time.

Quick fixes

One first great benefit is that we now have a large database of verified, quick, obvious fixes. In my earlier blogpost I asked Claude to guess which 150 bug reports would have the easiest fixes; sometimes it nailed the guess, sometimes it ended up with a complex patch it didn't expect.

By fixing every bug in advance, we now know for certain which bugs would be fixed by simple one or two lines changes. Though taken by themselves these are mostly small changes affecting just a few users, they are particularly easy to review and merge, meaning that we can quickly make an aggregated impact for a large set of users.

Publishing a database of fixes for most Plasmashell bug reports

I welcome and encourage developers to go through the list, adopt a fix, review it, and submit it for review from others too. I obviously don't want to overwhelm the review process, but in the coming days I'll do my best to step up my reviewing process myself to help take weight off other devs' shoulders.

Not-quick fixes

Of course, many of the fixes in the database require significant changes. Though we could maybe get to those when the simpler ones are acted upon (either merged or discarded), I think a better purpose for these fixes is to act as context and starting point for developers interested in fixing a specific bug report.

I imagine that a helpful workflow when addressing a specific bug would be: reading the report, checking Tokamak for the suggested fix to gain more context about it, and then either adapting the fix or starting from scratch but with a clear idea of what needs to be done.

All fixes come with before/after picture and videos (when relevant) which could also help understand what the bug looks like; also all bug reports in this database have been confirmed locally, which should help triaging them too.

Publishing a database of fixes for most Plasmashell bug reports

Wishlists

The database also contains fixes for 684 wishlist bugs. Some of these are small and should de facto be treated as easy bugfixes. Some however are fairly major:

  • Videos as wallpapers
  • Widgets on the lockscreen
  • Unlock with a pattern
  • A wallpaper per virtual desktop
  • and tens of very big changes like these
Publishing a database of fixes for most Plasmashell bug reports

I haven't vetted these (or I would've either asked for changes to beat them into shape, or submitted them) but I expect them to be fairly bad, especially in the architecture choices. Many of these might also be the best possible implementation of the features, but maybe they are extremely complex nonetheless, and should raise the question: do we really want these?

Publishing a database of fixes for most Plasmashell bug reports

Again, I think it's highly helpful to have at least one verified approach to the task, so that we can have an idea of what it might take and possibly take inspiration from it, if there's anything good. I will say that I did find a few larger patches that were quite interesting and that I'd like to work on and submit.

Testing

To make testing easier, I have built a KDE Linux ISO that has a "Tokamak" session with all of these fixes applied. People can just download that and run it inside a VM (or on a bare machine, if you dare) to see how certain changes behave.

Publishing a database of fixes for most Plasmashell bug reports

Of course, plenty of fixes would benefit from testing Plasma + that fix specifically, not the whole stack; but plenty of others (e.g. "widgets on the lockscreen") can be reviewed regardless of what other fixes are applied, at least in their UI/UX part.

As you can imagine, applying more than 1100 commits to Plasma repositories brought up plenty of conflicts; all of these were resolved automatically by Claude, and the resolutions are saved so that the entire stack can be re-built when Plasma changes underneath without having to re-do all of the conflict resolution.

Ideally the ISO could come with an auto-update mechanism for when either Plasma or Tokamak diffs change, but I preferred to keep the project simple for now, and I even disabled KDE Linux updates since they'd break the Tokamak session.

In the future, the Tokamak session could easily be installed in any KDE Linux distribution for testing purposes, and be updated as KDE Linux itself updates, to keep track of changes. Maybe it could even be ported to other distributions! But right now, I just wanted to get a simple ISO out.

Nonetheless, I would suggest that people try out the Tokamak ISO and see how they like it. Is it overwhelming because it auto-accepted all user wishes? Is it very unstable because it auto-accepted all slop fixes? Does it have terrible UI/UX because models have awful taste? I think it can be an interesting experience that tells us more about what happens to this kind of "software via AI at a scale".

To be clear, I'm not suggesting that we go ahead and auto-merge everything on Tokamak into Plasma. At all. Review still needs to happen by humans and we need to make sure changes that get merged are stable and reliable.

I think this changes things?

Still... I think that we are slowly going towards a world where making medium to high quality fixes gets cheaper and cheaper; we've set up our systems thinking that making (good) fixes takes more time than reviewing them on average, and I think this is no longer a reliable assumption, and I wonder how we should change our systems as a result.

It is increasingly common for me to hear developers say, "uh, actually, I tried using Claude and it did the work better than I would've done". I have no reason to think this is the best models will ever be (in fact, we know for certain that Anthropic has internal models that are leaps forward compared to current Opus/Fable), so I would expect that to become even more true.

I often watch videos of Theo, the T3 guy, and in one video he said something along the lines of "[...] in early 2026, the old times when we waited for other humans to review code before merging it!"; this made me think. T3 Code, the open-source app that can use harnesses like Claude Code, Codex, Antigravity etc., is a very complex application that was developed quickly and now wins in quality and stability over famous commercial alternatives (such as Claude Code and Codex themselves).

This is not to say "let's vibecode everything"; that's not what he meant, and that's not what we should do. Again, models (currently) have awful taste. However, as I get used to day-to-day development with Claude, I begin to understand what he means.

I believe it doesn't make much sense anymore to review lines of code per se; frontier models are good enough that they're going to get the details just right. What then becomes increasingly important is the approach: why are you changing the protocol like this? Does it make sense to rely on that? etc, etc.

As software development scales up, I don't think the amount of communication that developers have needs to decrease at all! But I do think that communication will inevitably move towards talking about approaches and the structure of the code we're working on. Who really cares about the detail of exactly how a function is written, if we can be confident that it is written as correctly as we would've written it?

Another thing that Theo does is to have a "council of models": he has OpenAI, Anthropic, Meta, Google, ..., subscriptions (must be nice to be that rich) and all decisions that models take invoke a "council" skill that auto-asks for an opinion from all different kinds of models, which all have their strengths and weaknesses, thus increasing the chance of a good choice. He then has a "full go" skill, which makes a model take over a bug/task, implement it, verify, submit it, make another model (or a council) review it, apply the requested changes, re-review, until every model is happy with it.

His approach seems to be: how can I make it the most likely possible that something will require the least possible involvement from me? And yet he also talks about some major MRs to T3 Code taking months because large scale restructures still need to be thought out, reviewed, discussed, and so on.

It's a complex new world to me! But, as I don't write any line of code myself anymore, I don't feel like a manager, and I don't feel less connected to other KDE developers. I actually feel a new kind of joy where I can take on more ambitious projects, iterate on things quickly and just have fun.

As a final example: I now use Plasma Studio for video editing, and it's the only application on Linux that I know of that can reliably edit my 6k 10bit clips with 10bit effects and without dying of lack of RAM and having an entirely hardware accelerated pipeline, whilst having more effects and crashing less than Kdenlive (I still love Kdenlive! It's a wonderful project with great taste! Use it!). It still features some incredibly dumb design decisions from Claude that I haven't beaten out of, but it's already a better app to me that allows me to do my job better and more quickly. At this point I don't even care if it becomes a KDE app or if anybody else uses it: it just paid off because I can use it and it works so well for me. This makes me happy.

I have more elaborate thoughts on the exact impacts of the development of LLMs on open source, but I'm trying to keep these blog posts self-contained to some extent.

What's next for Tokamak?

Right now, here's what Tokamak lacks:

  • Some wishlist items still need to be implemented
  • Most bugs still have to pass review
  • The ISO should have some auto-update mechanism
  • There should be a way to try the Tokamak session on KDE Linux itself
  • Bug fixes are currently stuck at a few weeks ago, when I ran the fix process; new bug reports are not being auto-fixed and added to the dashboard. This would be necessary to keep the dashboard up to date.

I hope to slowly be able to address the above things over time. That said, I had to take a break due to some personal reason/communication which I'm hoping to address.

My previous blogpost caused a lot of concern from people worrying that we're adding slop to Plasma; that's not the case, since all fixes are well reviewed and self-contained. That said, I hope that this blogpost will cause less concern, since - though the scope is bigger - the Tokamak dashboard does not directly affect KDE Plasma in any way, and it's meant to just be a useful resource for people to try out things.

Thanks for reading! I hope this resource can be useful to you too. Let me know if the ISO works for you and whether you like the changes. More updates to come from me :-)

It’s four months since the last update on what happened around Itinerary. That’s twice as long as usual, and that’s not because there’s nothing to report. Itinerary got improvements to the transfer handling, a better location search, improved performance and much more.

New Features

Transfer updates

Unreachable transfers are now marked with a warning icon.

Itinerary showing a organge warning icon next to an unreachable transfer due to a delay of a preceding train.
Unreachable transfer indicator.

Transfers are automatically updated in more cases now, although there’s still more to do here. To make polling for changes more efficient, work started on supporting journey refresh queries in KPublicTransport, the library underneath this. This allows to receive updates such as delays or disruption information for a previously searched journey without doing the expensive routing again.

The location search so far consisted of a two stage process, selecting the country from a combo box and then typing a name. This historically made sense as we only had coverage in a limited amount of countries and no backend that could cover all of them. Transitous has outgrown this though, approaching 90 countries, making the manual country selection very tedious.

Therefore this has been changed to no longer even try to find a suitable local backend, but run the location search on two global backends by default, Transitous for public transport stops and Photon for all other locations based on OpenStreetMap. The previous way is now only used when those backends have explicitly been disabled.

Once we have resolved a location name to a geographic coordinate the actual routing is then still done by the best available local backend, as before.

As a side-effect of this we moved closer to OSM’s data model and have more of OSM’s location information available, such as the type of a point of interest (POI).

Screenshot of Itinerary's location search result list showing different icons for libraries, court houses and public transport stops.
POI type icons in Itinerary's location search.

Panoramax images

The indoor map information popup can now also show linked images from the free and open street-level imagery service Panoramax, similar to how it can already show content linked via Wikidata. Tapping on a Panoramax image will open the right spot on the Panoramax web viewer.

Itinerary's indoor map of a university hosting a conference, with the details dialog open for a lecture hall showing an indoor image.
Panoramax image of an event venue.

Infrastructure Work

Application performance

Several of Itinerary’s UI components were changed to load conditionally used elements on demand. This should improve both the startup performance of the entire application and the performance when switching between pages inside the application. A downside of this approach is that errors in the QML code might go unnoticed for longer, to counter that the Appium test coverage has been extended.

A performance issue in Kirigami (MR 2207) considerably impacting Itinerary has also been identified, a fix is still pending at this point though.

Transitous data augmentation

Itinerary has been using OpenStreetMap and Wikidata data to obtain proper line colors and line logos since quite some time already. There’s now work going on to do something similar for Transitous, with a much broader scope.

Following an initial concept there’s now a prototype of the augmentation feed generator as well as MOTIS patches to make use of this. The current state can be seen on the MOTIS test instance. The most visible effect there are the line colors and translated names, but if you look at the API responses you’ll also find Wikidata ids for elements that could be matched.

Map of Copenhagen with colorful public transport lines, and the green S-Train B line highlighted.
MOTIS path debug view with line colors from OSM/Wikidata in Copenhagen.

Less visible but also already included are information about wheelchair accessibility, whether a bike can be taken on a train/bus, and whether a ferry can transport cars, all potentially crucial information for routing that official schedule data often simply omits, and something that unlike line colors we can’t simply add after the fact on the client.

Static application builds

Maté has prototyped an iOS build of Itinerary. One part of this are iOS specific fixes as well as support for static builds in KDE Frameworks and other libraries Itinerary is built on top of. Quite a few of these have meanwhile been integrated.

Photo of Itinerary running on an iPhone showing train connections and looking almost like on any other platform.
KDE Itinerary running on iOS.

Don’t get too execited about that just yet though, as this doesn’t cover two other major aspects yet:

  • iOS build support in Craft. Hannah’s recent work on expanding the cross-compilation support in Craft lay the foundation for this, but there’s still a lot more to do.
  • The actual delivery pipeline for iOS, with the proper packaging and signing to make this actually distributable and installable. The KDE CD infrastructure so far only supports macOS, not iOS, and that is also rather shaky given all the hoops Apple makes you jump through to deliver applications for their platforms.

Events

The reason this post was overdue is the amount of events in the past few months:

And more is coming up:

Fixes & Improvements

Travel document extractor

  • New or improved extractors for Accor, Airbnb, Air Canada, Clorian, Alhambra, ALSA, America Airlines, ArtiTicketing, Balearia, booking.com, Delta Air, Deutsche Bahn, DSB, easyJet, easyTable, Entur, Eurostar, eveeno, Eventbrite, Fandango, Finnair, Frontier Air, KLM, LTG Link, Lufthansa, Movelia, Ouigo, Renfe, Ryanair, SBB, Shinkansen, Snållåget, Uber, Ventrata, Vivaticket, Vueling, Westbahn and Wizz Air.
  • Fixed Dutch airports not having the right country code due to how the specialties of the Netherlands vs the Kingdom of the Netherlands are modeled in Wikidata.
  • Added a generic extractor for calendar links in HTML content.
  • Improved support for overnight flights in the generic boarding pass extractor.
  • Improved handling of flight tickets operated by trains.
  • Automatically identify countries based on unique postal code and address format patterns.
  • A few more domestic ticket barcode standards got documented in the Train Ticket Wiki.

This has been made possible thanks to your travel document donations!

Public transport data

  • Fixed service alerts with cancellations of intermediate stops from propagating to cancellations of entire legs in MOTIS reponses. This isn’t properly specified (yet), and breaks real-world data e.g. in Paris.
  • Service alerts whose impact is in the past or the (distant) future are filtered out now, to reduce the amount of messages shown for e.g. long-lasting construction works.
  • Non-administrative boundary elements from Photon geocoding results are now ignored, avoiding some unexpected and misleading location search results.
  • Very short walking sections at the begin and end of journeys are now removed in more cases.
  • Fixed access to the VVT backing in Austria and the MVV backend in Germany.
  • Fixed forwarding error messages from the Deutsche Bahn backend (bug 513244).
  • Fixed handling of altitude information not being available in the ČD onboard API.
  • Show warnings for MOTIS results based on timetable data past its expiration date.
  • Fixed issues with lacking contrast between a line color in relation to the application background or the text color used on top of it. Rather than the previous heuristics this now uses the WCAG relative contrast metric.

All of this also directly benefits KTrip.

Itinerary app

  • Favorite locations visited as part of a trip are now also shown on the trip map.
  • Fixed car rental pick-up/drop-off location display in timeline entries.
  • Fixed wrongly colored title label for car rental timeline entries.
  • Detect food courts as restaurants when importing from OSM.
  • Support pasting images from the clipboard, for importing QR codes.
  • Fixed the export menu sometimes being shown with a height of zero.
  • Very long public holiday names are now elided.
  • Added missing screen reader description for ferry bookings in the timeline view.
  • Fixed inconsistent labels between arrival and departure cards in the bus editor.
  • Fixed wrong preselection in the import view when the current trip has been deleted.
  • Perform an online address lookup also for events and for more variants of partial addresses, when enabled.
  • Fixed opening external maps while the indoor map is still loading.
  • Fixed various issues with conditionally shown UI elements not being shown despite having content.
  • Consistently show currency conversions with the target currency first.
  • Fixed journey progress bar when encountering time-less intermediate stops.
  • Only show the trip map when there’s actually content for it.
  • List Transitous as a source with global coverage in the public transport backend configuration. Showing one entry per country was getting out of hand with meanwhile more than 90 countries.
  • Handle more variants of incoming Intents on Android.
  • Fix reservation merging for some multi-traveler scenarios.
  • Improved rendering of hotel reservation.
  • Improved the UI for Matrix account settings.

How you can help

Feedback and travel document samples are very much welcome, as are all other forms of contributions. Feel free to join us in the KDE Itinerary Matrix channel.

Welcome to a new issue of This Week in Plasma!

This week was full of new features for Plasma 6.9! They’re cool enough to speak for themselves, so let’s get right to it:

Notable new features

Plasma 6.9

You can now manually rearrange System Tray icons! (Ramil Nurmanov, plasma-workspace MR #6958)

When an app or process is blocking shutdown, now the logout screen tells you what it is, rather than just silently failing to shut down or reboot. (Ramil Nurmanov, KDE Bugzilla #523719)

Logout screen showing the reason why shutdown is being blocked

You can now choose a custom color for your Sticky Note widgets. (Golla Bharath, kdeplasma-addons MR #1114)

Custom colors for Sticky Note widgets

The Breeze GTK theme now lets you optionally apply your system colors to GTK apps using the Adwaita style. (Kylie CT and Artem Grinev, kde-gtk-config MR #146 and plasma-workspace MR #7376)

For those of you who don’t like the bouncy app icon animation by the pointer when an app is launching, there’s now an option to display a standard busy spinner instead. (Jin Liu, kwin MR #9959 and plasma-workspace MR #7075)

The “Static” and “Blinking” options are not great, and will likely be removed soon now that there are two good animations.

Notable UI improvements

Plasma 6.6.8

The global shortcut chooser window now accepts modifier-only shortcuts like Shift, which can be useful for push-to-talk purposes. (David Redondo, xdg-desktop-portal-kde MR #666)

Plasma 6.8.5

The screen chooser OSD now appears on the active screen (i.e. the one with focus or the pointer on it), not the left-most screen. (Niccolò Venerandi, KDE Bugzilla #518584)

Plasma 6.9

More Bluetooth devices’ battery levels are now shown in the Bluetooth widget. (Sean Seymour, KDE Bugzilla #505394)

The Pager widget now highlights windows that are asking for attention, just like the Task Manager widget does. (Jonathan Arezki, plasma-desktop MR #4294)

The System Tray and Lock/Logout widgets now behave more sensibly when activated via custom keyboard shortcuts. (Christoph Wolk, plasma-workspace MR #7432 and KDE Bugzilla #500462)

In application launcher widgets, right-clicking on apps now only shows the “Uninstall or Manage Add-Ons” menu item if the item can be uninstalled or managed using Discover. (Tobias Fella, KDE Bugzilla #528629)

You can now delete installed third-party sound themes right from their page in System Settings. (Sam Crawford, plasma-workspace MR #7403)

System Settings is no longer pinned to the Task Manager by default. We reasoned that this reinforces the old stereotype that the best way to use Plasma is to customize everything in sight. System Settings remains one of the default Favorites in Kickoff, so we’re not trying to hide it completely. (Tobias Fella, plasma-desktop MR #4300)

KQuickImageEditor 0.7.1

The ellipse tool in Spectacle and Koko now uses a thicker line and no fill by default, making it more useful for circling things in screenshots to call attention to them. (Tobias Fella, kquickimageeditor MR #73)

Notable bug fixes

Plasma 6.8.4

Fixed a source of visual glitches on the Overview screen with certain NVIDIA GPUs. (Shane Murphy, KDE Bugzilla #529626)

Plasma 6.8.5

Tooltips for Task Manager tasks no longer awkwardly stay open after interacting with them using a touchscreen. (Christoph Wolk, libplasma MR #1647)

Plasma’s built-in RDP server now correctly uses a custom TLS certificate you’ve specified. (Oliver Beard, KDE Bugzilla #529166)

Long keyboard layout names no longer visually overflow their bounding box when displayed on a panel or in the System Tray. (Niccolò Venerandi, KDE Bugzilla #476542)

Plasma 6.9

Fixed a case where the power management system could crash after the system went to sleep due to being low on battery power. (Kai Uwe Broulik, KDE Bugzilla #526797)

Flatpak-packaged Chromium-based browsers no longer crash (and potentially lose your tabs) when they’re automatically quit due to logging out, restarting, or shutting down the system. (Charles Perrot-Minot, KDE Bugzilla #514571)

Fixed a case where Spectacle could crash when taking rectangular region screenshots on external screens with certain geometry and positioning. (Mohanraj Velayutham, KDE Bugzilla #520032)

Fixed a regression that prevented open/save dialogs from remembering your preferred view settings. (Arie Miller, KDE Bugzilla #521926)

Fixed an issue that prevented transparent sticky notes on the desktop from showing their intended faint outlines. (Golla Bharath, libplasma MR #1648)

Fixed multiple visual glitches in the Breeze GTK theme. (Artem Grinev, breeze-gtk MR #120, KDE Bugzilla #457163, KDE Bugzilla #522576, and KDE Bugzilla #525984)

Notable in performance & technical

Plasma 6.8.5

Fixed a performance issue that could make Plasma freeze if you rapidly dragged a window around using a high-resolution mouse while the virtual desktop pager widget was visible. (Niccolò Venerandi, KDE Bugzilla #510046)

Plasma 6.9

Session restoration at login now actually works for windows that have opted into the Wayland session restoration protocol. That’s not a lot of windows yet, but more will be opting in over time. This does not yet implement position restoration for windows opened after login; that’s coming later. (Xaver Hugl, kwin MR #10368)

Frameworks 6.34

Plasma no longer lags and consumes excessive system resources while a large number of files are being moved or copied. (Niccolò Venerandi, KDE Bugzilla #469753)

How you can help

KDE has become important in the world, and your time and contributions have helped us get there. As we grow, we need your support to keep KDE sustainable.

Would you like to help put together this weekly report? Introduce yourself in the Matrix room and join the team!

Beyond that, you can help KDE by directly getting involved in any other projects. Donating time is actually more impactful than donating money. Each contributor makes a huge difference in KDE — you are not a number or a cog in a machine! You don’t have to be a programmer, either; many other opportunities exist.

You can also help out by making a donation! This helps cover operational costs, salaries, travel expenses for contributors, and in general just keeps KDE bringing Free Software to the world.

To get a new Plasma feature or a bug fix mentioned here

Push a commit to the relevant merge request on invent.kde.org.

Friday, 4 December 2026

Qt and Trivial Relocation (Part 6)

An experiment with C++26 reflection

It's been a while since the last instalment of this series! Back then, I wrote that having trivial relocation in C++26 was "doable". Well... it didn't quite go that way: P2786 was merged into the C++26 draft in February 2025, and then removedin November of the same year. C++26 is going to ship without trivial relocation.

I've just given a talk at Meeting C++ about the whole story. I'd suggest you catch up with the recording as soon as it gets online; and if you have any questions about the content, please ask me!

The C++29 cycle has now started, and for trivial relocation there are still design decisions to make. I've published a paper about them, P4197 ("Design questions for trivial relocation in C++29"). Once we agree on the design, I'd like to get to the feature layer by layer: starting from the building blocks in the library, like algorithms and containers, and then working our way up into the core language. I'm not going to talk about C++29 in this post, though.

This post is a bit different from the previous ones: I'd like to show you a small experiment. C++26 may not have trivial relocation, but it does have reflection. Can we use it to make Qt's own trivial relocation easier and safer to use?

What was the problem again?

In the first post I claimed that there is no way to know "from the outside" if a generic type can be moved in memory via memcpy. Qt plays it safe: unless a type is trivially copyable, Qt assumes that it is not trivially relocatable. If it is, you have to say so, using a macro.

Consider this very simple type:

struct Person
{
    QString firstName;
    QString lastName;
};

QString is trivially relocatable, therefore Person is trivially relocatable as well. But Qt doesn't know that! We have to remember to add this:

Q_DECLARE_TYPEINFO(Person, Q_RELOCATABLE_TYPE);

There are two things that can go wrong here:

  1. We forget the macro. Nothing breaks, but we lose the optimization.
  2. We use the macro on a type that is not trivially relocatable. This is much worse: the code compiles just fine, and then it may misbehave at runtime.

With reflection, we can do something about both.

Detecting trivially relocatable types

Person follows the Rule Of Zero: it doesn't define any copy or move operation, nor a destructor. The compiler generates them for us, and they simply work member by member. So, if relocating each member is just a byte copy, relocating the whole object is a byte copy, too.

This gives us a recipe. A class is automatically trivially relocatable if:

  • all of its non-static data members and base classes are trivially relocatable, and none of the bases are virtual; and
  • it has no user-provided copy operations, move operations, or destructor.

This isn't a new idea. Barry Revzin explored it in a blog post back in 2024, where he implemented (most of) P2786's type trait using reflection. I am just doing something similar, but on top of Qt's facilities.

Note: the code that follows is a very simplified version of the real one, which also has to deal with references, arrays, and so on.

Let's start with the first half. I'm going to call a type eligible if all of its subobjects are trivially relocatable:

template <typename T>
constexpr bool isRelocatable = QTypeInfo<T>::isRelocatable;

consteval bool isRelocatableType(std::meta::info type)
{
    return extract<bool>(substitute(^^isRelocatable, { type }));
}

template <typename T>
consteval bool isEligible()
{
    constexpr auto ctx = std::meta::access_context::unchecked();

    for (std::meta::info member : nonstatic_data_members_of(^^T, ctx)) {
        if (!isRelocatableType(type_of(member)))
            return false;
    }

    for (std::meta::info base : bases_of(^^T, ctx)) {
        if (is_virtual(base) || !isRelocatableType(type_of(base)))
            return false;
    }

    return true;
}

QTypeInfo is the class template that Q_DECLARE_TYPEINFO specializes. isRelocatableType takes the reflection of a type, plugs it into isRelocatable, and extracts the result. Note the unchecked() access context: we want to look at private members, too.

The second half looks at the special member functions:

template <typename T>
consteval bool isAutomaticallyRelocatable()
{
    if (std::is_trivially_copyable_v<T>)
        return true;

    if (!isEligible<T>())
        return false;

    constexpr auto ctx = std::meta::access_context::unchecked();

    return std::ranges::none_of(members_of(^^T, ctx), [](std::meta::info member) {
        return (is_copy_constructor(member) || is_move_constructor(member)
                || is_copy_assignment(member) || is_move_assignment(member)
                || is_destructor(member))
            && is_user_provided(member);
    });
}

Now we can make QTypeInfo use this check by default, and that's it: Person is trivially relocatable, no macro needed!This also works recursively, so a class with a Person data member gets detected as well.

Why user-provided?

The code looks for special member functions that are user-provided, not merely user-declared. A destructor which is = default-ed inside the class is fine.

This is deliberate: it's the same criterion used by trivial copyability, and a trivially copyable type must always be trivially relocatable. It would be absurd if we could memcpy an object in order to copy it, but not in order to relocate it!

For the same reason, I'm not trying to figure out which constructor overload resolution would pick when building an object from an rvalue (maybe a constructor template?). That's what P2786 asked for, and Barry discusses in his post why it can't be precisely implemented using reflection. Trivial copyability doesn't look at that, and neither do I.

Finally, a type with deleted copy and move operations can still be detected as trivially relocatable. I see relocation as an operation of its own, independent from copies and moves.

Checking the types marked by hand

What about a type that follows the Rule Of Five? There we still need the macro: reflection can tell us that there is a user-provided move constructor, but not what it does.

However, we can at least check that the type is eligible! If a class has a data member which isn't trivially relocatable, then marking the class is very likely a mistake. For instance:

class Contact
{
public:
    Contact();
    Contact(const Contact &other);
    Contact(Contact &&other) noexcept;
    Contact &operator=(const Contact &other);
    Contact &operator=(Contact &&other) noexcept;
    ~Contact();

private:
    QString m_name;
    std::string m_email;  // oops
};

Q_DECLARE_TYPEINFO(Contact, Q_RELOCATABLE_TYPE);

As we know, std::string is usually not trivially relocatable, because of the Short String Optimization. Today this code compiles without a warning. With a static_assert inside Q_DECLARE_TYPEINFO, we get this instead:

error: static assertion failed: The type Contact is not structurally trivially relocatable

("Structurally trivially relocatable" is what the real code calls an eligible type.)

Did it find anything in Qt?

Of course it did! :-)

  • A type that was really marked by mistake. One of Qt's own tests had a class with a std::string data member, marked as trivially relocatable. Luckily it was only a test, and it didn't misbehave.
  • Types that nobody had marked. This was by far the most common case: a class was correctly marked, but the type of one of its data members (or a base class) wasn't. For example, QArrayDataPointer, the building block of QString and QVector, had no marking; neither did QPaintDevice, the base class of QImage. Here the fix was to add the missing macro.
  • An empty destructor. A class used by qmake had a destructor defined as {}, which makes it user-provided. Changing it to = default was enough.

So, apart from that one test, all the classes that we had marked were indeed trivially relocatable: we didn't accidentally mark one that wasn't. But the moment we enforce that all the subobjects must be trivially relocatable as well, the check gets angry, and we need to add the missing markings to their types. Several of these fixes are already in Qt, as they make sense on their own.

The problem: everybody else's types

So, why don't we just turn this on? The difficulties start when a class contains types that don't come from Qt.

Is std::unique_ptr trivially relocatable? In practice, yes, on every Standard Library implementation that Qt supports (as long as its pointer and deleter types are, too). But this isn't "official" in any way, and the detection can't figure it out, because std::unique_ptr has user-provided special member functions. I had to special-case it, together with std::optional.

Those are just the ones used inside Qt. What about std::tuple, std::variant, std::shared_ptr? Containers are even scarier: in debug mode, a Standard Library implementation may store extra data in them, such as pointers back from their iterators. And for some types, like std::atomic, it's questionable whether we want them to be trivially relocatable, given that they can't be copied or moved to begin with.

The same applies to any third-party type you may be using. When the detection says "no", it may be because the type really isn't trivially relocatable, or because nobody has marked it yet. We can't tell the difference! And with the check in place, a correctly marked class could stop compiling just because of one such data member.

Should we then allow the author of a class to force the marking, no matter what its data members say? In the standardization discussions these are called "sharp knife" semantics (the author is always trusted, even when they're wrong), as opposed to "dull knife" semantics (the subobjects have to cooperate). Qt's macro has always been a sharp knife; my experiment turns it into a dull one. Each choice has its own advantages and disadvantages: a sharp knife lets us work around legacy types that nobody has marked, but it also lets us hurt ourselves, like in the std::string example above. I've written more about this in P4197 (it's Question 6), also as a result of this experiment.

Not knowing what a "no" means is also one of the problems that I have with the proposals for Standard C++: they leave unspecified whether a given Standard Library type is trivially relocatable. That's very annoying for adoption.

What if the answer changes?

Suppose that somebody does add the missing marking, and a type goes from "not trivially relocatable" to "trivially relocatable". That's great, right?

Not necessarily: this can be a binary compatibility problem. In the first post we have seen that QVariant stores small objects inside itself only if they're trivially relocatable. Now suppose that a library creates a QVariant containing an object of a type that it considers trivially relocatable, and then passes it to another library, which was built when that type wasn't marked yet. Where is the object stored?

QVariant has been engineered around this problem: it remembers whether it's using its internal storage, so the second library will find the object in the right place. But it's very easy to get this wrong! Imagine a similar type-erased wrapper, with its own small object optimization, which instead checks whether the type is trivially relocatable every time it needs to access the object. If two libraries disagree about the type, one of them will look for the object in the wrong place.

Automatic detection makes this kind of disagreement more likely. Person would be trivially relocatable when compiling in C++26 mode with reflection enabled, and not trivially relocatable in C++20 mode; all it takes is mixing the two in the same application.

Conclusions

In this post we have seen that, using reflection:

  • we can automatically detect that simple types, like Person, are trivially relocatable
  • we can check that the types marked by hand are at least eligible
  • we still need to mark types with user-provided special member functions
  • we still don't have a good answer for types that we don't control.

This is just an experiment, and I don't plan to merge it into Qt anytime soon. Still, it's remarkable how little code it takes, and it has already proved useful to find mistakes. If you want to have a look at the real code, the patch is on Gerrit(at the time of this writing, you may need to log in to see it).

In the meanwhile, please keep marking your types. :-)

Thank you for reading!

Overview about all installments:

The post Qt and Trivial Relocation (Part 6) appeared first on KDAB.

Let’s go for my web review for the week 2026-49.


Why I can’t sell you a €1 email inbox

Tags: tech, email, europe, law

OK… This is awkward. There’s something really wrong about the application of NIS2 for email providers.

https://www.jannis.io/why-i-cant-sell-you-a-eur1-email-inbox/


Tech Hype is Cannibalizing the Future

Tags: tech, hype, politics, economics

There’s indeed a problem with the constant hype the Silicon Valley is running on. It brings dire consequences and tries to kill agency.

https://www.techpolicy.press/tech-hype-is-cannibalizing-the-future/


Don’t Trust People Who Talk Like This

Tags: tech, art, culture, movie, music

Indeed, those people don’t know anything about art or culture. They are just not equipped to understand it.

https://www.honest-broker.com/p/dont-trust-people-who-talk-like-this


Exit Music for a Film

Tags: tech, ai, machine-learning, gpt, copilot, foss, community, burnout, ethics

This piece from GNOME contributor extraordinaire Emmanuele Bassi punched me hard in the guts. It honestly makes me sad and angry. I hope our communities will find a better path forward. Forcing GenAI tools output on everyone else like this is clearly taking a toll and breaking communities apart.

https://www.bassi.io/articles/2026/11/27/exit-music-for-a-film/


Prelude 9B: the first open model from OpenEuroLLM

Tags: tech, ai, machine-learning, gpt, foss

Looks like we can expect a new breed of fully open LLMs from this consortium. Starting small with this first release but looks like there’ll be more ambitious releases in the coming months.

https://openeurollm.eu/blog/prelude-announcement


Data center climate emissions are worse than previously thought

Tags: tech, ecology

Maybe it’s time to regulate and require more transparency? Because this is really out of control at this point.

https://www.wbur.org/news/2026/11/23/harvard-study-data-centers-climate-emissions-energy


Nvidia’s Jensen Huang is getting his CEO job back, but history shows companies perform better when corporate boards take executive misbehavior seriously

Tags: tech, management, ethics

In case some people are still wondering what the better move should have been. It was in fact easy and was just better to not have him back.

https://theconversation.com/nvidias-jensen-huang-is-getting-his-ceo-job-back-but-history-shows-companies-perform-better-when-corporate-boards-take-executive-misbehavior-seriously-281689


Anatomy Of An AI Kill Chain

Tags: tech, ai, machine-learning, war

How do you like our current flavor of dystopia?

https://ai-killchain.airwars.org/


The shelf life of LLM findings

Tags: tech, ai, machine-learning, gpt, research

Interesting work. Probably means there should be some continuous monitoring of such findings. Clearly the behavior change over time often without noticing.

https://zou-group.github.io/llm-claims-shelf-life/


The Industrialization of Noise: Why Automated Proof-Solving is the Same Old Dead End

Tags: tech, ai, machine-learning, gpt, mathematics, commons, knowledge, research

Very interesting paper. Indeed, dumping Lean proofs does nothing to advance human knowledge, it still needs to go through the social filter of the field to be useful. One sentence in the conclusion is spot on I think: “Corporate AI labs can automate the generation of syntax, but they cannot automate the social assignment of meaning”.

https://arxiv.org/abs/2611.31286


Will AI Break Cryptography This Week?

Tags: tech, ai, machine-learning, gpt, cryptography, security

Nope. Sure the result is interesting from a theoretical standpoint and will likely influence the design of future cryptography algorithms. Still someone has been crying wolf… again. I wish people would stop helping the PR stunts of the LLM industrial complex. There was no need to panic. So much noise than nothing that when there’ll really be something we won’t pay attention or act the wrong way.

https://www.schneier.com/blog/archives/2026/11/will-ai-break-cryptography-this-week.html


The NSA’s New Advisory on Encryption Algorithms

Tags: tech, security, cryptography

Maybe it’s time to stop panicking each time someone publish some public piece about cryptography?

https://www.cs.columbia.edu/~smb/blog/2026-12/2026-12-03.html


Catching AI’s mistakes is a mental burden – and a drag on productivity

Tags: tech, ai, machine-learning, gpt, productivity, cognition

It’s only by looking at full workflows that you can see if automation is bringing productivity improvements. Trading creation for verification is not necessarily the boost you expect.

https://theconversation.com/catching-ais-mistakes-is-a-mental-burden-and-a-drag-on-productivity-291748


Number of Diseases Cured by AI

Tags: tech, ai, machine-learning, gpt, health, medecine

Alright, let’s see how this goes. A decade to move the needle apparently.

https://diseasescuredbyai.com/


Pigeon2Shell — Critical Avian-to-Root Vulnerability

Tags: tech, security, satire

I think this conveys the current atmosphere around exploits quite well. Made me laugh at least.

https://pigeon2shell.com/


Your family should have a shared two-factor authentication code

Tags: tech, security

In this day and age this might become necessary indeed…

https://shkspr.mobi/blog/2026/11/your-family-should-have-a-shared-two-factor-authentication-code/


unkernel: A real Linux kernel, compiled to WebAssembly

Tags: tech, kernel, linux, webassembly

Interesting approach allowing to reuse existing binaries as is. This gives nice sandboxing out of the box too. But expect things to be slow after boot of course.

https://github.com/pithings/unkernel


Aeneas, a Verification Framework for Rust

Tags: tech, rust, safety, formal-verification

Looks like another interesting option for formal verification of Rust code.

https://aeneasverif.github.io/


4 filesystem performance traps in the standard library

Tags: tech, c++, api, filesystem, performance

Indeed, the std::filesystem API can be misleading. There are constructs to avoid for performance reasons.

https://mropert.github.io/2026/11/24/filesystem_traps/


Scottish HTTP Codes

Tags: tech, http, funny

Blame me for finding this funny I guess. Lots of Scottish idioms to pick from.

https://underwood.network/http/scots.html


Teamtype

Tags: tech, pairing, remote-working, tools, networking

Still young but looks like a neat and simple solution for remote pair programming.

https://teamtype.github.io/teamtype/introduction.html


shwim: Peer-to-peer terminal sharing

Tags: tech, shell, tools, networking, pairing, remote-working

So we got magic wormhole, then git-withme, and now “shell with me”. That’s a cool series of convenient tools.

https://github.com/magic-wormhole/shwim


Creating Beveled Corners with “corner-shape”

Tags: tech, web, browser, css

This looks like a neat new CSS property coming to our browsers soon.

https://www.joshwcomeau.com/css/bevel-corners/


The importance of understanding what the fuck is going on

Tags: tech, engineering, craftsmanship, ai, machine-learning, copilot, learning

This will to understand the reasons why something behaves the way it behaves is necessary for learning. This is indeed something we have to keep to train the next crop of engineers.

https://blog.jsbarretto.com/post/understanding


Climate Dashboard

Tags: ecology, climate

Everything is fine I guess…

https://dashboard.theclimatebrink.com/


The Mega-Storm Inside Neptune Is Actually Insane

Tags: physics, science

We actually know so little about Neptune. Fascinating and making me wonder what could be in there for real.

https://www.youtube.com/watch?v=or7HNFrK3Lg



Bye for now!

Chessament 1.0.1 has been released. Chessament is a chess tournament manager. It supports individual Swiss-system tournaments.

This release fixes some issues importing certain rating lists and opening the handbook inside a Flatpak.

Packagers

The package is available on download.kde.org and it’s signed with my PGP key.

Kirigami Addons 1.16.2 is out! Kirigami Addons is a growing collection of nice components you can use in your Kirigami and QML applications.

Like the previous release, this release mainly includes small bugfixes and some visual polish.

Packager section

You can find the package on download.kde.org (kirigami addons) as soon as it is available and it has been signed with my GPG key.

I started easypp for small C and C++ projects. Put a program in src/bin, put a library under src/libs, and the includes tell the tool which library the program needs, and magically it finds everything. I wanted to take that workflow to a cluster and see where it would hold up.

The first useful result was a 321 × 241 image of the Mandelbrot set. Two MPI ranks shared a GPU on the Luxembourg Supercomputer, and each rank used two OpenMP threads. A simply easypp run creates the Slurm launcher and the modules dependencies for lmod and easybuild, when needed.

Supercomputing Mandelbrot

Mandelbrot makes it easy to see what each parallel API does. MPI gives each process a range of rows. A CUDA kernel computes how many iterations each pixel takes to escape. OpenMP colors those pixels on the CPU. MPI gathers the colored rows back to rank zero, which writes the image. An odd height gives the two ranks different numbers of rows, so even a tiny picture exercises the gather.

The example is three files under examples/hpc-fractal in the easypp checkout.

src/
  bin/fractal.cpp
  libs/fractal/mandelbrot.hpp
  libs/fractal/mandelbrot.cu

See the lack of makefiles.

The C++ program includes fractal/mandelbrot.hpp, which points easypp to the library folder. The .cu file selects nvcc. The MPI header and OpenMP pragmas tell the tool that the host build needs MPI and OpenMP. This gives students a concrete way to see the connection between the API they use and the things their program needs to compile and link.

Finding MPI and CUDA on the cluster

A header gives me a dependency. The cluster still decides which compiler and library installations are available together. easypp uses the environment that is already active, including CC, CXX and the pkg-config paths. When nvcc or MPI metadata is missing, it can probe the CUDA and MPI modules visible in Lmod. It checks that a candidate supplies the missing tool or metadata and preserves the modules already loaded. If several candidates work, easypp reports them and lets me choose. Lmod user guide

After a successful build that discovered modules, easypp writes their names to hpc.conf. I can read it, change a version, and run again. Here is what that file can look like with one site’s module names.

[lmod]
mpi/OpenMPI/4.1.6-GCC-13.2.0
system/CUDA/12.6.0

The [easybuild] section is for exact .eb recipes that I add myself. If their corresponding modules in [lmod] cannot be loaded, easypp can ask an available EasyBuild installation to provision the recipes under my user prefix. That makes the choice visible and gives a collaborator something concrete to reproduce on the same module stack. EasyBuild usage guide

From a Slurm allocation to a picture

On the Supercomputer, inside of the examples/hpc-fractal folder, alloc your slice:

salloc --partition=interactive --qos=debug --constraint=gpu --gres=gpu:1 \
    --nodes=1 --ntasks=2 --cpus-per-task=2 --time=00:05:00 \
    bash --noprofile --norc

Once Slurm grants the allocation, run easypp directly in that shell. This assumes the executable is on your PATH.

easypp run --release -j2 -- 321 241 smoke.ppm

On the first run, easypp writes run.slurm in the project directory and uses it to start a job step with srun. It reuses that file on later runs, so I can edit the launcher when I need a different binding or a site-specific option. If I start easypp inside a job step, it builds and runs there. The shared project lock lets the ranks take turns through the build. Slurm job steps

The launcher defaults OpenMP to the two CPUs per task. The -j2 on easypp run controls the build jobs. Here’s what the program prints when the GPU has computed the image and rank zero has written the PPM file.

Wrote smoke.ppm with 2 MPI ranks and 4 OpenMP threads total

For the cluster checks, I built a static x86-64 executable locally and copied it over. This is handy on clusters with older Rust toolchains or system libraries. The release build command is below. There is also an EasyBuild recipe for putting a prebuilt executable on a group’s module path.

cargo rustc --release --locked --bin easypp -- -C target-feature=+crt-static

What I checked

On Iris, two ranks shared one Tesla V100. I edited run.slurm to print a line on the second run, saw the line in the output, and got a byte-identical image. After splitting easypp into a Rust workspace, I built the tool again and ran a CPU-only MPI/OpenMP fixture on Aion. It reported two ranks and four threads. The follow-up Iris allocation timed out in the queue, so the GPU result is from the earlier build.

There’s a caveat if you put several kinds of program in the same project. The launcher currently looks for MPI across the project. An MPI test can make it start several copies of a serial executable. For a project like that, the generated script is where I can set the task count explicitly.

The part I like about this example is that the decisions worth explaining are still easy to find. The row split is in the C++ program. The GPU work is in the CUDA file. The allocation describes the resources we asked for. A student can change one of those pieces and see the effect on the next picture. easypp on GitHub