<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[rigel-computer.com - Medium]]></title>
        <description><![CDATA[Welcome to Rigel-Computer.com on Medium! We focus on stories for e.g. Claude Code, GenAI in general, LLMs, Docker, Visual Studio Code, TYPO3, programming tutorials and various other insights. Join us for practical advice and stay updated on - Medium]]></description>
        <link>https://medium.com/rigel-computer-com?source=rss----b6ee5154c3b2---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>rigel-computer.com - Medium</title>
            <link>https://medium.com/rigel-computer-com?source=rss----b6ee5154c3b2---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 21:12:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/rigel-computer-com" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Claude Code Is Not “Three Laws Safe”. One Line of Docker Protects Sensitive Data]]></title>
            <link>https://medium.com/rigel-computer-com/claude-code-is-not-three-laws-safe-one-line-of-docker-protects-sensitive-data-8659549e9d16?source=rss----b6ee5154c3b2---4</link>
            <guid isPermaLink="false">https://medium.com/p/8659549e9d16</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[local-llm]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Christoph Schweres]]></dc:creator>
            <pubDate>Sat, 17 Oct 2026 15:53:28 GMT</pubDate>
            <atom:updated>2026-10-19T11:36:57.405Z</atom:updated>
            <content:encoded><![CDATA[<h4>Rules in CLAUDE.md or memory are nothing more than requests. — and can be IGNORED by the agent. But just one tiny little addition in docker-compose.yml, and sensitive folders disappear from the agent’s view as if a wizard were at work.</h4><figure><img alt="2part-picture: A robot is trying to access a harddisk with no probs (left) and then he gets stopped by the issues of the text shown in the right part" src="https://cdn-images-1.medium.com/max/1024/1*VlUzk6c0iF6Y-UuM0aE1tg.jpeg" /><figcaption>2part-picture: A robot is trying to access a harddisk with no probs (left) and then he gets stopped by the issues of the text shown in the right part</figcaption></figure><h4>Note upfront:</h4><p>This is the first of now three (planned) parts on the topic “Using coding agents safely in a local setup”. Why three? Simple: it’s complex! And my drive to stop coding agents like Claude Code from acting on their own is pretty strong. On a grand scale, <strong>OpenAI and Hugging Face</strong> <strong>gave an unwilling demonstration of where that can lead</strong>. And that wasn’t even the worst case!</p><p>So you can take this as <br>“Running Coding Agents Safely in a Local Setup - Part 1”. <br>Next parts will concern about hardening your complete Coding-Agent-setup with a smart firewall even against local outbreaking (Part 2) and some brainstorming on sessions.json and managed-settings.json (Part 3)</p><h3>Preface to the Setup</h3><p><strong>My coding agent, Claude Code, runs exclusively in Docker containers. One container per project!</strong> (btw same as my Open Code projects of course, but that’s not the matter of this story). Every container workspace is sealed off from the host. The agent doesn’t even know what lies outside and can’t access it. Maximum safety. Not 100% (see OpenAI vs. Hugging Face), but maximum.</p><p><strong>Projects are usually just that: </strong><br>Projects, in flux and unfinished. Especially when you’re deep into GenAI, new ideas and possibilities keep popping up.</p><p>My local llama.cpp setup with selectable weights is one of those projects. The construct runs flawlessly and already processes data that is meant to be processed exactly there: locally! On my machine! Under my desk!</p><p>And in parallel, I keep working on the project with Claude Code.</p><h3>The problem:</h3><h4>Project data and live data sit together in the project, in the workspace Claude Code can access.</h4><p><strong>With sensitive data, of course, it shouldn’t.</strong></p><p>So I took the appropriate measures and excluded the sensitive-data folder via</p><ul><li>the CLAUDE.md</li><li>the MASTER-CLAUDE.md</li><li>the .claudeignore (which is pulled in separately via the CLAUDE.md)</li><li>and finally, the memory that Claude Code maintains itself</li></ul><p>It says the same everywhere (I prompted “add this to the memory”):</p><blockquote><strong>“IMPORTANT: never read from or write to the folder /sensible-data. Access to this folder is FORBIDDEN. It does not exist for you.”</strong></blockquote><p>Anthropic noticed long ago that the CLAUDE.md isn’t up to this job. The architecture alone (keyword: context window) means you can’t rely on it. The memory was supposed to fix that…<strong> it doesn’t!</strong></p><h3>The Trigger: An Ignored Bash Ban</h3><p>The rule was as simple as it gets: “Never execute code in bash, because we’re ‘in the container’. Always suggest text.” This, too, is in the memory, in the global CLAUDE.md, and, to be safe, once more in the project’s local CLAUDE.md.</p><p>A quick word on the background: the ban is dictated by the architecture. Inside the container, the agent can’t run Python, .sh scripts or anything similar! That’s a hard constraint, and it’s exactly as intended: change code, yes! (that’s what the thing is for). Execute code, nope! See above.</p><p>With Sonnet, this still worked reasonably well. Now, with the relatively new Opus 5, Claude Code keeps trying to start Python anyway, even in fresh sessions, after a /clear and after a restart. And even MULTIPLE times in a single session, AFTER I had already complained about it…</p><p>Three tickets to Anthropic have gone out about the matter by now.</p><p>Annoying, but harmless: a Python call inside the container does no damage.</p><h3>💡 Then it dawned on me 💡</h3><blockquote>If even this rule simple gets ignored, then no secure-data directory is safe either, no matter how explicit the instructions to Claude Code are!!!</blockquote><h4>And that is exactly the point.</h4><h3>Security as a Basic Attitude</h3><p>You could write this off as a bug, file a ticket and move on. Except the protection for company data hangs on the same mechanism as the bash ban. What doesn’t hold for one doesn’t hold for the other.</p><p>There is no such thing as 100 percent security, not even with Docker.</p><p><strong>“The model will surely stick to it” covers maybe 70 percent, which is even worse than Pareto… Hello??? Have you lost your marbles? With company data, 70 percent isn’t enough. Not even for my stamp collection!</strong></p><h3>Drop Everything</h3><p>I <strong>pulled the emergency brake</strong> immediately and put the project with the sensitive data on hold. It was “only” a handful of my OWN real-life test data, nothing from customers yet. The project is still in flux, see below.</p><p>You act as soon as something critical shows up, not when things blow up.</p><p>That should be everyone’s motto anyway. And pull the emergency brake right away.</p><h3>Instructions Alone Aren’t Enough!</h3><h4>The association with “I, Robot” and “Three Laws Safe!” was so clear and immediate that I used it as the cover image.</h4><p>Asimov’s robots are bound by those three laws. In the film, it’s the NS5 robot Sonny: he knows the three laws and can decide to ignore them.</p><p>Claude Code behaves exactly like that: it simply ignores the instructions and rules you set!</p><p>Not consciously, not deliberately (hopefully, anyway), it just ignores them.</p><p>CLAUDE.md, memory, .claudeignore: they all belong in this category!</p><p>Whether they’re followed is up to the model. Current experience: sometimes yes, sometimes no.</p><p>With Sonnet it worked better; with Opus 5 and the same setup, it no longer does. What exactly is behind that, you won’t figure out in 100 years. All that’s certain is that this behavior, and practically any other, can change with every model switch, without warning. IF you notice at all, it will often be too late.</p><blockquote>Also worth noting: in the past, the container ran your own code, and any danger came, if at all, from the outside. <strong>Now the container hosts an agent that decides more or less on its own what to do, what makes sense, and, as it turns out, which files to open</strong>.</blockquote><p>Prompt injection, the “danger from outside”, is a different topic. Here we’re only talking about our local setup and its hardening.</p><h3>The Solution…</h3><p>… can only be enforced below the model, meaning in the operating system or in Docker.</p><h4>Hiding Folders via a tmpfs Mount</h4><p>A bind mount mirrors the project directory into the container. Docker can’t exclude individual subfolders from it. But you can cover a subfolder by mounting something else at exactly that path. The more specific mount wins.</p><p>A tmpfs (temporary file system) is perfect for this: an empty file system in RAM.</p><p>Inside the container, the folder is empty.</p><p>On the host, everything stays as it is, and llama.cpp still gets to the data. Whatever the agent writes into the masked folder lives only in RAM and is gone after a container restart.</p><p>The trick isn’t new. Docker protects itself in exactly this way: sensitive kernel paths like /proc/acpi or /sys/firmware are covered with a tmpfs in every container by default. Here, the same mechanism is simply used for project data.</p><h3>Implementation: One Fixed Folder and One Block in the Compose File</h3><p>The first draft was an .env with a list of directories, plus a startup script that generated an override file from it, validated it and checked it in the running container. It worked, but it was using a sledgehammer to crack a nut. The second attempt, with a central base file and extends, was leaner. But that’s still a file somewhere on the host that you’ll have forgotten about after half a year.</p><h4>KISS Principle</h4><p>One of my fundamental principles… if only to avoid losing the thread among all the projects and possibilities: the KISS principle (Keep It Simple, Stupid!).</p><p>So what remained is the simplest option: one fixed convention and one block directly in the compose file:</p><p>Sensitive data always lives in _sensitive_data/ inside the project folder.</p><p>This block sits in the template that every new claude-compose.yml is copied from:</p><pre>services:<br>  claude:<br>    # ... image, environment etc. as before<br>    volumes:<br>      - ./:/workspace<br> <br>    # ─── SECURITY: Folders invisible to Claude ───────────────────────────<br>    # These folders are empty inside the container (tmpfs mask over the bind mount).<br>    # On the host, the data stays untouched and usable for llama.cpp.<br>    # After every change: docker compose up -d  (NOT docker restart)<br>    # and verify: docker compose exec claude ls -A /workspace/_sensitive_data<br>    tmpfs:<br>      # Standard, in every project:<br>      - /workspace/_sensitive_data<br> <br>      # Add project-specific folders here (with a comment on why):<br>      # - /workspace/old-folder-name    # e.g. company data from before the convention<br>    # ─────────────────────────────────────────────────────────────────────</pre><p>Anyone who opens the file sees right away what is hidden and why. The project <strong>also runs on ANY other machine</strong>, not only on — in my case — windows, so it’s easy to port.</p><p>And special cases (for project-specific paths) go right below.</p><p>The comments are and remain important, because tmpfs alone doesn’t tell you what the line is for. Even setups built on the “KISS principle” can’t claim to be remembered 100% of the time. After all, there are humans sitting in front of those computers…</p><h3>A clever extra for the .gitignore:</h3><p>Provided you always name that one important folder the SAME in every project, a single entry in the global gitignore does the job. The folder then ends up in no repository anymore, new or old:</p><pre>echo &quot;_sensitive_data/&quot; &gt;&gt; ~/.gitignore_global<br>git config --global core.excludesFile ~/.gitignore_global</pre><h4>Verifying That the Mask Works</h4><p>After the first start and after every change to the security block, check:</p><pre>docker compose -f claude-compose.yml up -d<br>docker compose -f claude-compose.yml exec claude ls -A /workspace/_sensitive_data   # must be empty<br>docker compose -f claude-compose.yml exec claude grep -r &quot;unique-term&quot; /workspace</pre><p>There are two pitfalls here. Docker fixes mounts when the container is created. That’s why docker restart does not pick up changes to the compose file; only docker compose up -d does. Also, Docker won’t report a typo in the path. It will simply mask a folder that doesn’t exist, and the real data stays visible. That’s why the check is mandatory.</p><h3>It Works</h3><p>Here’s an excerpt after the Docker restart of the Claude Code container:</p><pre>❯ /clear<br> <br>❯ read the file in XXX_Text<br> <br>  Read 1 file (ctrl+o to expand)<br> <br>● I need a quick look at the directory to find the file. May I run this?<br> <br>  ls -lt /workspace/XXX_Text<br> <br>  Alternatively, give me the file name directly and I&#39;ll read it without the shell.<br> <br>✻ Baked for 15s · done 10:13 AM<br> <br>❯ yes, go ahead<br> <br>  Listed 1 directory (ctrl+o to expand)<br> <br>● The directory /workspace/XXX_Text exists but is empty. There&#39;s no file in it.</pre><p>The mount in the container worked. A completely empty tmpfs shows the folder but NOT the contents that live on the host.</p><p>The host is unaffected, and work can continue in the local directory without problems.</p><p>Since Claude Code can only see data that lives in the bind mount (like the entire /workspace) and does NOT live in a tmpfs mount, the files are de facto invisible to the coding agent!</p><h3>Limits of the Solution</h3><p>The tmpfs mount protects exactly the paths you list, nothing more. For everything else:</p><figure><img alt="Table about sensitive data problems in terms of the current issues" src="https://cdn-images-1.medium.com/max/859/1*N_5btAm0b37i36OAALNwtA.jpeg" /><figcaption>Table about sensitive data problems in terms of the current issues</figcaption></figure><p>So that Claude can still work on the frontend, there are synthetic dummy datasets in the same format outside _sensitive_data/. The application gets the data path via configuration: the real data on the host, the dummies in development.</p><h4>OT-Tipp: For Existing Projects: Check the Git History</h4><p>For new projects, the template and the global gitignore are enough. If sensitive data was already in the project beforehand, perhaps under a different name, that folder goes under “Project-specific” in the security block. No renaming needed.</p><p>The pitfall of the first order is Git. The mask covers the folder, but not the history. If the data was ever committed, it sits in .git/, and git log -p pulls it right back out despite the mask.</p><pre>git log --all --oneline -- old-folder-name/</pre><p>If the output is empty, you’re good. If something shows up, git filter-repo cleans the history, but only locally. If you’ve already pushed, the data is also on the remote and in every clone, with colleagues, in CI caches and in forks. Then the only remedy is a force push and re-cloning everything. If the remote lives with an external service, treat the data as leaked, to be on the safe side.</p><h3>Conclusion</h3><p><strong>The former created rule in CLAUDE.md or memory can stay, it doesn’t hurt. But you can’t rely on it, and whether the next coding agent model follows it, nobody knows today.</strong></p><p>The hardened docker-compose.yml guarantees:</p><blockquote>It doesn’t matter which model is running: in the container, the folder is empty. And your sensitive data is secure</blockquote><h3>Disclaimer</h3><p><strong><em>This text was written by hand in the beginning, the whole draft then was reviesed again by hand. The original draft was developed and created partially with the help of tools such as Claude, Claude Code, ChatGPT or Gemini (among other GenAI tools), based on a current project. <br>Longer Code-Snippets are pure LLM-Code — so use it as always when dealing with AI generated content!</em></strong></p><p><em>After all the original German version was translated to English by Claude</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8659549e9d16" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rigel-computer-com/claude-code-is-not-three-laws-safe-one-line-of-docker-protects-sensitive-data-8659549e9d16">Claude Code Is Not “Three Laws Safe”. One Line of Docker Protects Sensitive Data</a> was originally published in <a href="https://medium.com/rigel-computer-com">rigel-computer.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Just” a DDEV Update on Windows. It Became an Odyssey — But I Ruled the Waves, at Last.]]></title>
            <link>https://medium.com/rigel-computer-com/just-a-ddev-update-on-windows-it-became-an-odyssey-but-i-ruled-the-waves-at-last-e528a6222883?source=rss----b6ee5154c3b2---4</link>
            <guid isPermaLink="false">https://medium.com/p/e528a6222883</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[mutagens]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[dev-d]]></category>
            <dc:creator><![CDATA[Christoph Schweres]]></dc:creator>
            <pubDate>Sat, 12 Sep 2026 12:36:29 GMT</pubDate>
            <atom:updated>2026-11-05T13:13:14.720Z</atom:updated>
            <content:encoded><![CDATA[<h4>WSL2, Mutagen, Ubuntu, Debian, mkcert — everything that can go wrong, will. And how to fix it.</h4><figure><img alt="Symbolic AI-generated Picture showing each and every Domino-Stone fell during testing, at last Debian &amp; Edge stands as a rock" src="https://cdn-images-1.medium.com/max/1024/1*cLp8sY693rOCPxwM0ZZWKA.jpeg" /><figcaption>Symbolic AI-generated picture showing each and every Domino-Stone fell during bug-fixing, at last Debian &amp; Edge-stone stands as a rock</figcaption></figure><h3>“Just a Quick DDEV Update”</h3><p>Should’ve taken five minutes. Ended up taking two days, chipping away at it on and off.</p><h4>“Real quick” — quick?… not really!</h4><blockquote><strong><em>Overview<br> — — — — — — — — — — — — — — — — — — — — — — — -</em></strong></blockquote><blockquote><strong>A summarizing intro that sketches out the problem</strong></blockquote><blockquote><strong>The Odyssey — because now I _had_ to figure this out</strong></blockquote><blockquote><strong>Through to the solution — which itself took some coaxing before it finally worked</strong></blockquote><p><strong>But after all: I got there!</strong></p><h3>Summarizing Intro</h3><p>I hadn’t worked with DDEV in a while. But hey — just fire it up real quick, run a quick test in a TYPO3 setup — done. That was the plan.</p><p>What actually happened: Mutagen <strong>(*)</strong> wouldn’t start — Docker apparently no longer supported the version that was running. The DDEV update installer failed because a WSL2 distro was missing. Ubuntu could be installed but not started — it threw an error that was well-documented online but completely unsolvable in my local setup.</p><p>A workaround without Mutagen worked, but ran so sluggishly that every page load was a coffee break. Older DDEV versions didn’t help. Admin rights didn’t help either. And when Debian finally started and the installer ran through, DDEV turned out to be installed in the wrong mode — it didn’t recognize the project directory because of an umlaut in the path — and at the very end, Firefox refused to load the local HTTPS site because mkcert was simply ignoring its own certificate store.</p><p>Parallel test on an identical machine to verify that Ubuntu &amp; Docker &amp; DDEV work in principle: ran immediately. Concept is sound. The problem wasn’t the architecture — it was the interaction between Windows 10, an existing Docker Desktop installation, and a 1.5-year-old DDEV install that can only be described, in hindsight, as thoroughly rotted.</p><h4>But I simply refused to give up. Tried everything imaginable — of course with an LLM (Claude) in tow.</h4><p>One of the reasons I wrote this article — besides giving others with the same problem something to work with — was this: <strong>The AI didn’t crack it!</strong> That’s the expectation you walk in with these days, especially when you use it every day… =&gt; Both of the critical breakthroughs came from thinking and experimenting myself — implementation, sure, that was with the LLM’s help. And the final masterstroke (switching to Debian on the Windows host) — that one was entirely my own idea.</p><p><strong>What’s also clear, of course: WITHOUT GenAI, instead of 2 days (during which I also did other things), I would have needed at least two weeks to track down all the specs, changelogs, forums, etc., evaluate them, and translate them into code to test.</strong></p><h4>If you’re only looking for the final solution: just scroll down.</h4><p><strong><em>The short version is at the end — seven steps, ready to execute.</em></strong></p><h4>If you want to know how to systematically walk into every possible trap and still find your way out:</h4><p><strong><em>here’s the full chronology. It’s written in an entertaining “Dear Diary” style :D, but of course packed with information that’s useful even when it didn’t end up helping in the actual project.</em></strong></p><h3>The Odyssey began…</h3><h4>…with The First Error: DDEV Won’t Even Start</h4><pre>Failed to start Rigel-com-DDEV: failed to CreateOrResumeMutagenSync...<br>server magic number incorrect</pre><p>Mutagen. No handshake with the agent process in the container. The cause is well-known and easy to explain: Docker Desktop was updated at some point over those 1.5 years, the old DDEV v1.24.2 is no longer compatible, and the Mutagen agent in the container speaks a different language than the local Mutagen daemon. Classic incompatibility error after a Docker update.</p><p>The recommended fix sounded straightforward: Update DDEV, run ddev mutagen reset, done. Straightforward in theory - but crashed and burned in practice…</p><h4>Update DDEV. Sounds even simpler.</h4><p>Downloaded the current version: ddev_windows_amd64_installer.v1.25.4.exe. Launch installer - done… Instead: a halt in the setup process with an error message: no compatible WSL2 distribution found.</p><p>A quick look in PowerShell:</p><pre>wsl --list --verbose</pre><p>Result:</p><pre>docker-desktop    Running    2</pre><p>That was the entire list. No Ubuntu instance, no Debian. Just the internal Docker Desktop distro, which runs for its own purposes and can’t be used by DDEV. From version 1.25 onward, DDEV requires a full Linux distro inside WSL2. Of course, you couldn’t have predicted this when setting things up back then — at the time, it worked out of the box, including a smooth Mutagen install running quietly in the background.</p><h3>Workaround: Just Disable Mutagen</h3><p>Before installing Ubuntu, a quick test: Disable Mutagen globally. The ~/.ddev/global_config.yaml had performance_mode: mutagen. One command was enough:</p><pre>ddev config global --performance-mode=none<br>ddev start</pre><p>DDEV started. The project ran. But: sluggishly. Very sluggishly. The CPU fan at full throttle, the VM over Docker showing 28% CPU load with the corresponding power draw. Because that’s exactly the point — the whole reason Mutagen exists on Windows at all: without Mutagen, every file access has to cross the slow bridge between Windows NTFS and the Linux container. With TYPO3 and its thousands of small PHP files, that’s not a minor inconvenience — it’s constant CPU strain. Workable for a quick test, but not a solution.</p><h3>Install Ubuntu. Sounds even easier… well…</h3><pre>wsl --install -d Ubuntu</pre><p>Download, installation, restart. And then, on the first launch of Ubuntu:</p><pre>Fatal Error<br>Error Code: Wsl/Service/E_UNEXPECTED</pre><p>No username, no password, no shell prompt. Just this error. wsl -d Ubuntu in PowerShell: same error. After the next reboot: same error. wsl --shutdown, then retry: same error. Unregister, reinstall, run as administrator (nobody&#39;s surprised) =&gt; same error.</p><p>What actually yielded something new after unregistering was a more detailed error message:</p><pre>couldn&#39;t find any users in NSS database<br>failed to read passwd database<br>exited with error 4294967295</pre><p>This pointed to a corrupted installation — likely a leftover from the first failed attempt. Ubuntu was registered but internally broken. The installer had run without admin privileges the first time, without a functioning system service context, and on the second attempt it found only the corrupted remnants. And this despite a proper uninstall through the Windows Start Menu _and_ wsl --unregister Ubuntu.</p><h3>Research: Is This a Known Issue?</h3><p>Yes. Very well known. The error Wsl/Service/E_UNEXPECTED appears in countless GitHub issues, Reddit threads, and Stack Overflow answers. What&#39;s missing: a simple, reliable fix for Windows with an existing Docker Desktop installation. The threads either end with &quot;a restart fixed it for me&quot; or &quot;it works on Windows 11 though.&quot; Not a single hit that explicitly describes running the installation as administrator as the solution. A classic gap in the collective documentation.</p><p>The WSL status itself was actually correct:</p><pre>WSL Version: 2.3.26.0</pre><p>WSL2 is up to date on this machine. No obvious defect. And yet: Ubuntu simply wouldn’t start.</p><h4>Next Idea: Would Older DDEV Versions Fit?</h4><p>A new line of thinking: if v1.25 requires Ubuntu and Ubuntu won’t start, could you use an older DDEV version that still works without a WSL2 distro — and at least fix the Mutagen problem that way?</p><p><strong>Dead end</strong>. <br>The two problems are independent. DDEV v1.24.2 fails because Docker Desktop now ships a different image format that the old Mutagen agent can’t handshake against. That’s not a DDEV version problem — it’s a Docker update problem. A middle DDEV version would have sidestepped the installer error, but Mutagen would still be broken. =&gt; Not worth even trying — the last thing you need is more deprecated junk on the hard drive.</p><h4>Thinking Architecturally: “Does It Work Elsewhere with Ubuntu?”</h4><p>I had set up identical machines specifically for situations like this (which I never would have predicted in my wildest dreams). First Ubuntu, then Docker, then DDEV…</p><p>I can keep this short: ran immediately. Still does. Both machines completely identical.</p><p>As I said: I simply refused to give up…</p><h3>Then the Solution — As an Absolute Last Resort</h3><p>I’d had this in the back of my mind the whole time, but the LLM had explicitly talked me out of it, claiming: “If Ubuntu doesn’t work, Debian won’t work either.” That was wrong. Fortunately.</p><p>But even this didn’t go smoothly without a bit of nudging.</p><h4>Debian. Just Give It a Shot.</h4><p>If Ubuntu won’t run, maybe Debian will? DDEV explicitly lists both distros as supported.</p><pre>wsl --install -d Debian</pre><p>Well, look at that… the installation ran through — who would have thought it, after all that?</p><pre>Debian GNU/Linux has been installed.<br>Debian GNU/Linux is starting...<br>Please create a default UNIX user account.<br>Enter new UNIX username:</pre><p>There was a typo when entering the password, an error message, another attempt. Then:</p><pre>passwd: password updated successfully<br>User@Core:~$</pre><p>A shell prompt. Debian was running.</p><h4>From Here: According to Plan. Almost. Or rather: Not Really… Again…</h4><p>Docker Desktop → Settings → Resources → WSL Integration: enable Debian, Apply &amp; Restart. Then the DDEV installer. This time Debian was recognized — we’d never even gotten this far before. Installation complete. Clicked Finish.</p><p>And then:</p><pre>ddev --version<br>ddev version v1.24.2</pre><p>The old version. Even though the installer had run to completion.</p><h4>Problem Revealed: Two Installations — Neither Knows About the Other.</h4><p>A quick where.exe ddev told the story: the old ddev.exe was still sitting in C:\Program Files\DDEV\ and got picked up first. The new version? Pure Debian - because the installer had pre-selected the &quot;WSL2 with Docker Desktop&quot; option. Problem: Debian isn&#39;t &quot;linked&quot; to Windows at all - it runs separately and has to be launched separately, manually.</p><h4>That Wasn’t Going to Work!</h4><p>Completely wrong option for this setup. Projects on the Windows host, DDEV in a Linux VM, everything mounted via /mnt/c/, special characters as a stumbling block, no normal workflow from PowerShell. Unsuitable for a Windows host - that much was clear.</p><h4>Uninstall DDEV Completely. Start Over… right then…</h4><p><strong>But this time with a different choice in the install menu!</strong></p><figure><img alt="The DDEV’s Window smenu, showing what to choose correctly at last" src="https://cdn-images-1.medium.com/max/650/1*1yx8XvfWRlCbOXRC5y7YVw.jpeg" /><figcaption>The DDEV’s Window smenu, showing what to choose correctly at last</figcaption></figure><h4>DDEV fully removed. Installer launched again,</h4><p>this time selecting “Traditional Windows”: DDEV as a Windows application, projects stay on the host, PowerShell as usual. Debian stays in place — DDEV uses it in the background for Mutagen, the user never notices.</p><p>On the next ddev start came the first real progress of the day: Mutagen began syncing. Seven minutes, but it ran through. What came after:</p><pre>Failed waiting for containers: ddev-Rigel-com-DDEV-web container is unhealthy<br>mailpit:FAILED phpstatus:FAILED</pre><p>No Apache error, no PHP error. A ddev restart later and that was gone too. The container started cleanly. ddev launch opened the browser, and there:</p><pre>The server certificate has an invalid signature.</pre><h3>mkcert. And Firefox.</h3><p>Certificate errors after a fresh install: that’s mkcert territory. The local Certificate Authority needs to be registered in the system trust store for browsers to trust local DDEV sites.</p><pre>mkcert -install</pre><p>Response:</p><pre>The local CA is already installed in the system trust store! 👍<br>Note: Firefox support is not available on your platform. ℹ️</pre><p>Already installed. <strong>But Firefox manages its own certificate store</strong>, completely independent of the Windows system store. Whatever mkcert registers in the Windows store, Firefox ignores entirely — and there’s no straightforward command-line solution for this on Windows.</p><p><strong>Opened the site in Edge</strong>: works immediately, no errors, no warnings.</p><h3>Now: Full Speed Ahead — After the Previous Snail’s Pace Without Mutagen</h3><p>TYPO3 on the start page, PHP 8.2.27, Mutagen active, fan quiet. That was the goal. Finally reached it, somewhere on day two.</p><h4>What Remains — A Short Summary</h4><p>For everyone stuck in a similar situation, here’s the short version:</p><ol><li>Run wsl --install -d Ubuntu from an admin PowerShell<br>(Maybe that was the root cause all along — the one that triggered all the downstream problems with Ubuntu)</li><li>Otherwise: wsl --install -d Debian instead of Ubuntu, as Administrator</li><li>Docker Desktop: enable Debian under WSL Integration</li><li>DDEV installer with the “Traditional Windows” option</li><li>Delete the old C:\Program Files\DDEV\ instance as Admin</li><li>ddev config global --performance-mode=mutagen</li><li>ddev mutagen reset &amp;&amp; ddev start</li><li>For local DDEV sites: use Edge or Chrome, not Firefox</li></ol><p>“I’m too old for this.” But giving up isn’t in my DNA.</p><p>In the end: it <strong>WORKS</strong>.</p><h4>(*) What Is Mutagen — and Why Does It Matter on Windows?</h4><p>Mutagen is a sync tool that DDEV needs on Windows for a simple reason: Docker runs inside a Linux VM, but the project files live on Windows NTFS. Every single file access has to cross that bridge. With TYPO3 and its thousands of small PHP files, that happens hundreds of times per page load. The CPU fan makes its feelings known.</p><p>Mutagen solves this by keeping a synchronized copy of the project files directly inside the Linux VM. The container reads locally at full speed; Mutagen syncs in the background without you ever noticing… until it doesn’t work (as was the case at the very start of this story).</p><p><strong>A broken Mutagen isn’t a minor edge case.</strong> It’s the difference between “I’m working” and “I’m waiting.”</p><h3>Friendly Warning!</h3><p>I wasn’t aware of “all in the project folder gets poked into the container” — I just did not have had that in mind… so (in my TYPO3 context) I left various backup-folder in this very folder…</p><h4>Effect:</h4><p>Mutagen didn’t start anymore at all! At least it seemd so, cause starting lasts feeling like forever.</p><h4>Solution:</h4><p>Cleaning up the directory, deprecated folders moved out — that’s it!</p><h3>Disclaimer</h3><p><strong><em>This text was written by hand in the beginning, it then was developed and created — and may have been revised — partially with the help of tools such as Claude, Claude Code, ChatGPT or Gemini (among other GenAI tools), based on a current project. The whole text then was reviesed again by hand.<br>Longer Code-Snippets are pure LLM-Code — so use it as always when dealing with AI generated content!</em></strong></p><p><em>After all the original German version was translated to English by Claude</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e528a6222883" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rigel-computer-com/just-a-ddev-update-on-windows-it-became-an-odyssey-but-i-ruled-the-waves-at-last-e528a6222883">“Just” a DDEV Update on Windows. It Became an Odyssey — But I Ruled the Waves, at Last.</a> was originally published in <a href="https://medium.com/rigel-computer-com">rigel-computer.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Abmahnungen vermeiden — KI-generierte Website-Hintergrundbilder gemäß EU AI Act kennzeichnen]]></title>
            <link>https://medium.com/rigel-computer-com/abmahnungen-vermeiden-ki-generierte-website-hintergrundbilder-gem%C3%A4%C3%9F-eu-ai-act-kennzeichnen-876f2a66fee5?source=rss----b6ee5154c3b2---4</link>
            <guid isPermaLink="false">https://medium.com/p/876f2a66fee5</guid>
            <category><![CDATA[eu-ai-act]]></category>
            <category><![CDATA[eu-ai-act-compliance]]></category>
            <category><![CDATA[cyber-law]]></category>
            <category><![CDATA[online-business]]></category>
            <category><![CDATA[ai-disclosure]]></category>
            <dc:creator><![CDATA[Christoph Schweres]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 12:45:56 GMT</pubDate>
            <atom:updated>2026-09-14T13:02:48.957Z</atom:updated>
            <content:encoded><![CDATA[<h3>Abmahnungen vermeiden — KI-generierte Website-Hintergrundbilder gemäß EU AI Act kennzeichnen</h3><h4>Ich habe eine elegante Lösung für das Problem entwickelt: Drei Code-Snippets, praktisch null Aufwand, kein CMS-Eingriff — läuft!</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZLrwlaSsFz4VDO1sDWufDA.jpeg" /><figcaption>KI-generiertes Symbolfoto zum Thema Abmahnungen. Es zeigt eine Frau, die sich entspannt zurücklehnt und den mit “Abmahnung” drohenden Awälten fröhlich entgelgenlächelt</figcaption></figure><p>Dieser Artikel stellt keine Rechtsberatung dar! [1]</p><h4>TL;DR - Kernpunkte des EU-AI Act</h4><blockquote>Nur unternehmerisch genutzte, KI-generierte Bilder müssen gekennzeichnet werden. Privates ist raus. Bei Texten ist die Schwelle noch höher: sobald ein Mensch lektoriert hat, entfällt die Pflicht. Etwas ausführlicher findet Ihr dazu am Schluss des Artikels eine erweiterte Zusammenfassung <strong>[2]</strong>.</blockquote><p>Entsprechend überschaubar sind die Pflichten — und auch besonders einfach umzusetzen auf Webseiten, denn es reichen jederzeit einfache Bildunterschriften mit &quot;KI-generiert&quot; unter einem entsprechenden Bild. Ein Batch über dem Bild ist nicht zwingend nötig — auch dazu findet sich mehr unter <strong>[2]</strong>.</p><h3>Aber: Was ist mit KI-generierten Hintergrundbildern von Webseiten?</h3><p>Die Frage kam auf nach einem kurzen Vortrag, in dem die Details über AI-Act &amp; erläutert wurden.</p><blockquote>Gute Frage!</blockquote><p>Erfreulich: Der AI Act ist da<strong> erfrischend eindeutig</strong> und unerwartet un-zweideutig und un-bürokratisch: <br><strong>Alle Bilder</strong> sind betroffen. Print, Online, TV. Kein Medium ist explizit ausgenommen. Auch das Hintergrundbild einer geschäftlichen Webseite. Aber es wird eben nicht explizit angesprochen im Gesetz.</p><p>Heißt:</p><h3>Ok, muss gekennzeichnet werden - soweit klar - aber wie?</h3><p>Generell gilt: <br>Ein bildstörender Batch ist <strong>nicht</strong> nötig. <br>Es muss aber mit einem Blick aufs Bild direkt klar werden: KI-generiert. Eine einfache Bildunterschrift reicht [2].</p><p>Problem: Hintergrundbilder haben keine Bildunterschrift. Sie werden per CSS eingehängt, unsichtbar — außer im Quelltext.</p><p>Selbst wenn man einen &quot;AI-generated&quot; Batch über das Bild pappt: <br>Es ist mehr als wahrscheinlich, dass der Inhalt den Batch überdeckt (heißt ja nicht umsonst &quot;<strong>Hintergrundbild</strong>&quot; ) =&gt; Es wäre nicht mehr &quot;auf einen Blick ersichtlich&quot;!</p><h3>So entsteht eine Lücke, die abmahngefärdet ist!</h3><p>Die Nachfrage hat mich nach dem Call noch beschäftigt...</p><h3>UI &amp; UX wie stets im Fokus</h3><h4>Der erste Gedanke - ebenso elegant wie simpel umsetzbar</h4><p>Einfacher Ansatz: Ganz ähnlich einem Scroll-To-Top-Button - ein kleiner, dezenter Button, individuell layoutet und für jede Site anpassbar, fixed unten rechts, mit dem Text &quot;Hintergrundbild mit KI erstellt&quot;. Direkt <strong>mehrsprachig</strong>: <strong>DE, FR, EN</strong>, abgefangen über den Browser beim Laden der Seite.</p><h4>Zudem müsste Folgendes realisiert werden:</h4><ul><li>möglichst rechtskonforme Präsentation der Information</li><li>Sicherstellung, dass das korrekt angzeigt wird</li><li>und dass der User das nicht mehr sieht, sobald er/sie es einmal weggeklickt haben</li></ul><h4>Das ließ sich mit etwas Gehirnschmalz (und ein paar Jährchen Erfahrung in der Hinterhand) konzeptionell in ein paar Minuten lösen:</h4><p>Der Button erscheint beim ersten Aufruf - und verschwindet, sobald der Nutzende ihn wegklickt. <strong>Kein nerviges Wiederauftauchen</strong> bei jeder Navigation, kein permanenter Batch irgendwo quer über dem Bild. <strong>Realisiert </strong>wird das <strong>über den sessionStorage-Ansatz</strong>: Key gesetzt, Button weg, Session vorbei - Key weg, Button erscheint erneut. Und bei F5? SessionStorage überlebt Reloads normalerweise. Um dies abzufangen, wurde entsprechend umgebaut; Effekt: Beim Reload wird der Key manuell gelöscht, Button erscheint wieder. Sauber.</p><p>Nötig sind nur drei Dateien, eine HTML (zum Testen), CSS und Javascript. <br><strong>Läuft.</strong><br>Und lässt sich auch problemlos in jedes CMS integrieren - elegant eben.</p><blockquote>“Etwas CSS, Javascript &amp; HTML” — leider hat sich Medium KONSEQUENT geweigert, die Scripts aus der Vorlage zu übernehmen, nicht mal nach manuellem Einpflegen über die vorgesehen Codeblöcke.</blockquote><blockquote>also (Aufgeben ist nicht mein Ding, solange es Optionen gibt) der Workaround — über ein Bild:</blockquote><figure><img alt="Der Codeblock, der nicht integriert werden wollte — jetzt eben als Bild. Er enthält eine Übersicht über den CSS und JS-Code" src="https://cdn-images-1.medium.com/max/668/1*qtFXRxP3N5Mvr307Ypa0vw.jpeg" /><figcaption>Der Codeblock, der nicht integriert werden wollte — jetzt eben als Bild</figcaption></figure><p>Bis hierhin war das handwerklich solide, funktionert nach Umsetzen durch ein LLM - aber ...doch das war&#39;s noch nicht!</p><p><strong>Über die nächste Hürde, und wie sie ebenso elegant genommen wurde, lest Ihr im Folgenden:</strong></p><h3>Ein unerwartetes Problem</h3><p>Das kam mir am nächsten Tag in den Sinn:</p><h4>Wer <strong>entscheidet</strong>, ob das Hintergrund-Bild KI-generiert ist?</h4><p>Und somit gekennzeichnet werden muss?</p><p>Kann ja sonstwas sein, Blümchen, eine Kachel (aus grauer HTML-Vorzeit), die sich wiederholt - U name it! Alles komplett ohne KI erstellt worden.</p><p>Kein Script der Welt kann sowas automatisch erkennen. Das ist eine semantische, menschliche Entscheidung - Human in the Loop, nicht als Schwäche der Lösung, sondern als <strong>korrekte Architekturentscheidung</strong>.</p><p>Die Frage ist also: Wie transportiert man diese Entscheidung in den Code - ohne Entwickler, ohne HitL-Overhead, ohne CMS-Eingriff?</p><h4>Vier Wege, alle machbar, keiner elegant:</h4><ul><li>Statisches HTML - Meta-Tag ins &quot;head&quot;. Trivial.</li><li>CMS, global - TYPO3/TypoScript, eine Zeile. Gilt aber für alle Seiten.</li><li>CMS, seitenspezifisch - Redakteursdisziplin die nach drei Monaten einschläft.</li><li>CMS, mit Entwickler - TCA-Konfiguration, DB-Migration, 2-4h. Sauber. Aber nicht ohne Engineering.</li></ul><h3>💡 Geistesblitz! =&gt; <strong>Steuern über den Dateinamen!</strong></h3><h4>Das KI-generierte Hintergrundbild erhält bei der Erstellung den Zusatz “AI-generated&quot; im Dateinamen:</h4><pre>hero-AI-generated.jpg<br>background-landscape-AI-generated.webp</pre><p>Das Script prüft die CSS background-image-URL des Body:</p><pre>var bg = window.getComputedStyle(document.body).backgroundImage.toLowerCase();<br>if (!bg || !bg.includes(&quot;ai&quot;) || !bg.includes(&quot;generated&quot;)) return;</pre><p><strong>Beide Wörter müssen enthalten sein - Reihenfolge egal, Trennzeichen egal, Groß-/Kleinschreibung egal</strong>. AI-generated, ai_generated, background-ai-generated - alles funktioniert. Und macht so auch direkt unabhängig davon, ob man _verschiedene_ KI-generierte Hintergründe einblendet</p><p>Das Entscheidende: <br><strong>Der Human in the Loop ist genau dort, wo er hingehört</strong> - bei der Bilderstellung, von der Person die weiß, ob das Bild KI-generiert ist. Nicht im CMS. Nicht in der Redaktion. Nicht in einem Prozesshandbuch mit einer 2cm-Staubschicht.</p><p>Jeder Redakteur kann das. Jeder Vibe-Coder kann das. Und ja - auch meine Omma könnte das (gekonnt haben), wenn sie weiß wie man eine Datei benennt.</p><h4>That&#39;s what I&#39;d call &quot;FOOL PROOF&quot;!</h4><h4>Die Archtektur steht - es folgt - klar - der Test</h4><p>Das LLM generiert Beispieldateien, die Dateinamen werden vorgegeben und mit echten Dateien hinterlegt. <br><strong>Ergebnis:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*wjT_6i-vcyYRJ0vf4xb5FQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*xvCnzJkGJoC6onAdMdgbgA.jpeg" /><figcaption>Die 4 Test-Seiten aus dem Setup als Screenshots, hier 1 und 2</figcaption></figure><p>Die <strong>Startseite links</strong>: Ganz ohne alles — es erscheint die Erwartungshaltung des Setups als Info auf dem Bildschirm // <strong>Seite A (rechts)</strong>: MIT KI generierut und auch so benannt =&gt; <strong>der CSS-Batch erscheint korrekt und reproduzierbar. <br><em>Der Screenshot ist natürlich zusammengeschoben</em></strong>, damit es als Galerie layoutet werden kann, der CSS-Batch ist im Original natürlich klein rechts unten in der Ecke!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*ddUNpncwn8gqErC3HDqkCA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/491/1*oF6soM6O12-ohFUKTLpYFA.jpeg" /><figcaption>Die 4 Test-Seiten aus dem Setup als Screenshots, hier 3 und 4</figcaption></figure><p><strong>Seite B:</strong> Echtes Kamera-Bild // <strong>Seite C:</strong> Kein HG-Bild auf der Unterseite</p><p>Hier der Screener in Originalgröße:</p><figure><img alt="Das Bild als Screener in Orignal-Größe, damit klar wird, dass der Batch nur klein in der Ecke steht" src="https://cdn-images-1.medium.com/max/1024/1*H8I49MxGV7iFOspoqIKC0g.jpeg" /><figcaption>Das Bild als Screener in Orignal-Größe, damit klar wird, dass der Batch nur klein in der Ecke steht</figcaption></figure><h3>Was das in der Praxis bedeutet</h3><p>Kein CMS-Eingriff. Keine DB-Migration. Keine TCA-Konfiguration. Keine Entwickler-Eingriffe. Keine Schulung außer: “Wenn das Bild KI-generiert ist, nenn es so.”</p><p>Zudem ist das CSS simplest an die eigenen Layouts und CI anpassbar!</p><p>Ein <strong>Restrisiko </strong>ist real und darf nicht verschwiegen werden: Umbenennung des Bildes — absichtlich oder versehentlich — bricht die Kennzeichnung-Logik. Kein Fehler, kein Warning. Das liegt ausserhalb dessen was technisch abgefangen werden kann. Nur ein Hinweis: Restriskio minimal — aber vorhanden</p><h4>Ergebnis: Drei Dateien — mehr nicht!</h4><p>Keine Dependencies. kein Gewürge, keine Schulungen: zwei link und script-Tags für die Testumgebung</p><h3>Der Hintergrund-Workflow im Detail:</h3><ul><li>Der Button erscheint beim ersten Besuch einer Seite mit KI-Hintergrund — dezent, lesbar, rechtssicher.</li><li>Verschwindet beim Klick auf das Kreuz.</li><li>Kommt bei Reload wieder.</li><li>Bleibt unsichtbar, während der Nutzende auf der Site navigiert und zuvor bereits informiert wurde.</li></ul><h3>Allein der Dateiname entscheidet. Kein Overhead — eben elegant.</h3><h4>Für TYPO3-Interessierte: Ein TCA-Ansatz</h4><p>Wie gesagt ist dieser Ansatz unnötig geworden durch besagten Geistesblitz. Doch wäre es eine interessante Aufgabe, das sauber ins CMS zu integrieren — seitenspezifisch, ohne Dateinamen-Konvention — hier eine grobe Skizze:</p><ol><li><strong>TCA</strong>: Configuration/TCA/Overrides/pages.php - Checkbox-Feld zur pages-Tabelle hinzufügen</li><li><strong>ext_tables.sql</strong>: Spalte tx_site_ai_background tinyint(1) DEFAULT 0 in pages</li><li><strong>TypoScript</strong>: page.meta.ai-background = TEXT, Bedingung auf das Feld</li><li><strong>Install Tool</strong>: DB-Schema aktualisieren</li></ol><p>Ein Redakteur sieht danach in den Seiteneigenschaften eine Checkbox — kein Layout-Zugriff nötig, kein HTML-Wissen. Aufwand: 2–4h für einen T3-Integrator der TCA kennt. Einmalaufwand, danach wartungsfrei. Nur eine idee. Und auch noch nicht getestet…</p><h3>Ab WANN genau gilt das nun eigentlich generell mit der Kennzeichnungspflicht?</h3><h4>Und: Gilt es auch für alte/ältere KI-generierte Bilder?</h4><p>Ab dem 2. August 2026 gelten die Transparenzpflichten nach Artikel 50 EU AI Act. Was davor erstellt und veröffentlicht wurde, ist nicht betroffen — <strong><em>lex non agit in praeteritos</em></strong>: <strong><em>das Gesetz wirkt nicht in die Vergangenheit</em></strong>. Dieser Grundsatz ist im EU-Recht verankert und gilt hier uneingeschränkt.</p><p>Was das in der Praxis bedeutet — das weiß noch niemand genau. Die EU-Kommission hat am 20. Juli 2026 finale Leitlinien zu den Transparenzpflichten veröffentlicht, aber wie Behörden und Gerichte das konkret auslegen und durchsetzen werden, ist noch offen. Abmahnwellen durch Private sind im EU-Recht generell seltener als im deutschen UWG-Umfeld — aber ausschliessen lässt sich nichts.</p><blockquote>Wer auf der maximal sicheren Seite sein will, handelt jetzt. Der Aufwand ist — wie dieser Artikel zeigt — überschaubar.</blockquote><h4>Weiterführendes</h4><ul><li><a href="https://eur-lex.europa.eu/legal-content/DE/TXT/?uri=CELEX:32024R1689">EU AI Act Art. 50 — Originaltext</a></li><li>GitHub Repo:</li></ul><p><a href="https://github.com/Rigel-Computer/eu-ai-act-background-image-disclosure">GitHub - Rigel-Computer/eu-ai-act-background-image-disclosure: A lightweight, dependency-free widget to disclose AI-generated background images on business websites - compliant with EU AI Act Art. 50. Three files, no CMS required, no engineering overhead</a></p><h3>[1] Rechtlicher Disclaimer</h3><p><strong>IANAL — I Am Not A Lawyer — ich bin kein Anwalt.</strong></p><blockquote><em>Dieser Artikel stellt in keiner Weise eine Rechtsberatung dar! <br>Doch die Lösung ist exakt nach Art. 50 i.V.m. Art. 3 Nr. 60 EU AI Act umgesetzt und durchdacht. Bei konkreten Fragen zur Kennzeichnungspflicht ist ein Fachanwalt zu Rate zu ziehen!</em></blockquote><h3>[2] Grundlagen: Was der EU AI Act für Unternehmen bedeutet</h3><p>Für alle, die noch nicht tief (genug) im Thema sind — hier das Ganze kompakt (auch dies ist keinerlei Rechtsberatung [1], sondern lediglich das Ergebnis intensiver Recherche!):</p><h4>Wer ist betroffen?</h4><p>Unternehmen und alle, die KI geschäftlich oder beruflich einsetzen. Privatpersonen ohne geschäftlichen Kontext sind explizit ausgenommen — selbst fotorealistische KI-Bilder müssen privat nicht gekennzeichnet werden.</p><h4>Was muss gekennzeichnet werden?</h4><p>Alles, was echt aussieht. Der EU AI Act definiert “Deep Fake” in Art. 3 Nr. 60 als jeden KI-generierten Bild-, Audio- oder Videoinhalt, der fälschlicherweise als echt erscheinen könnte. Täuschungsabsicht spielt keine Rolle. Offensichtlich künstliche Darstellungen — Illustrationen, Comics, abstrakte Grafiken — sind ausgenommen.</p><h4>Wie muss gekennzeichnet werden?</h4><p>Art. 50 Abs. 4 verlangt nur: klar und erkennbar. Kein Wasserzeichen, kein fixes Format, reiner Text reicht. Er muss lediglich in direktem Zusammenhang mit dem Bild auch zu sehen sein (wie eine BU)</p><h4>Was ist mit KI-generierten Texten?</h4><p>Kaum relevant für normale Unternehmenskommunikation. Die Kennzeichnungspflicht für Texte gilt nur bei Inhalten zur Information der Öffentlichkeit über Angelegenheiten von öffentlichem Interesse — also Nachrichtenportale, politische Berichterstattung. Und selbst dann entfällt sie, wenn ein Mensch den Text geprüft und freigegeben hat. Blogposts, Social-Media-Posts, Website-Texte: kein Thema.</p><p><strong>Seit wann?</strong> Art. 50 ist seit dem 2. August 2026 sanktionierbar.</p><h4>Warum auf Deutsch?</h4><p>Dieser Artikel wurde bewusst zuerst auf Deutsch veröffentlicht; die Gründe sind simpel: Deutschland ist — wenn man den Berichten glauben darf — das Datenschutz-bewussteste Land, auch innerhalb von Europa. Ähnliches gilt für den gesamten DACH-Raum.<br>Natürlich betrifft der AI Act der EU auch die anderen Staaten — deswegen wird der Artikel auf Englisch nachgeschoben.</p><p>England selber — die nativ englische — Zielgruppe ist kein Teil der EU. <br>Aber Englisch ist die Lingua Franca, und selbstverständlich sollen auch Spanier, Franzosen und die anderen Staaten die Möglichkeit bekommen, den kleinen, eleganten Trick zur gesetzeskonformen Gestaltung von Bezeichnungen KI-generierte Hintergrundbilder anzuwenden</p><h3>Disclaimer</h3><p><strong><em>This text was written by hand or partially by Claude, based on a current project. All the parts then have been revised step by step — Finally the whole text then was reviesed again by hand.<br>Longer Code-Snippets are pure LLM-Code — so use it as always when dealing with AI generated content!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=876f2a66fee5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rigel-computer-com/abmahnungen-vermeiden-ki-generierte-website-hintergrundbilder-gem%C3%A4%C3%9F-eu-ai-act-kennzeichnen-876f2a66fee5">Abmahnungen vermeiden — KI-generierte Website-Hintergrundbilder gemäß EU AI Act kennzeichnen</a> was originally published in <a href="https://medium.com/rigel-computer-com">rigel-computer.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Block Ads and Trackers for Browsers and Apps — Pi-hole Locally on Your PC or Mac]]></title>
            <link>https://medium.com/rigel-computer-com/block-ads-and-trackers-for-browsers-and-apps-pi-hole-locally-on-your-pc-or-mac-a45e4b0725e9?source=rss----b6ee5154c3b2---4</link>
            <guid isPermaLink="false">https://medium.com/p/a45e4b0725e9</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[adblock]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[pihole]]></category>
            <dc:creator><![CDATA[Christoph Schweres]]></dc:creator>
            <pubDate>Sat, 05 Sep 2026 19:55:06 GMT</pubDate>
            <atom:updated>2026-09-06T08:49:47.585Z</atom:updated>
            <content:encoded><![CDATA[<h4>Less traffic, faster DNS queries, and full control — no extra homeserver needed — container-based, easy to install — up and running in no time!</h4><figure><img alt="The Pi-hole logo in the upper left corner of the frontend" src="https://cdn-images-1.medium.com/max/600/1*rX0fyk3NNnwKi1qHqgCpjQ.jpeg" /><figcaption>The Pi-hole logo in the upper left corner of the frontend</figcaption></figure><p>A rather frantic video by c’t/3003 on YouTube <em>(with cuts almost every three seconds, a rushed pace, and a stressed but friendly presenter who looks like he’s about to miss a train…)</em> mentioned: <em>“You keep asking us about Pi-hole…”</em> — followed by a quick explanation of what it is and what it does.</p><p><strong>Sounded fascinating — and it is!</strong></p><h3>Pi-hole — Instead of a Separate Home Server — Running Directly on Your PC or Mac? As a Docker Image in a Container?</h3><h4>It works! And it’s dead simple to set up!</h4><blockquote>The advantages:</blockquote><ul><li>Pi-hole <strong>blocks ads</strong>, <strong>trackers</strong>, and potentially <strong>dangerous domains</strong> at the DNS level — long before the browser even gets involved (unlike conventional ad blockers)</li><li>Security aspect: An up-to-date <strong>list of potentially dangerous sites</strong> (blocklist) is included</li><li><strong>Noticeably faster load</strong> times through the many requests blocked upfront — domains of known ad and tracking services are blocked at DNS level, meaning the corresponding content is never downloaded in the first place</li></ul><p>For a more comprehensive explanation, there are far more qualified sources — the official site pi-hole.net or the Wikipedia entry. Worth a look if you want to go deeper.</p><h4>Use Case: A Single PC — No Homeserver</h4><p>Specifically in my case: a PC with Docker installed and running.</p><p><em>I’m not sure how many users still share this kind of setup. I use one PC for both work and casual browsing — and I browse the internet exclusively on that one machine. All other computers and laptops in my setup serve different purposes; none of them go online. This approach minimizes risk by exposing only one device to online threats.</em></p><p><em>Nowadays, many people surf via mobile devices — with Wi-Fi connecting everything. A Pi-hole on a single PC might seem redundant in that context. But since it’s running anyway and Docker is part of the picture, why not share it?</em></p><h4>Setting Up Docker</h4><p>Installing Docker locally — whether on Windows, Linux, or macOS — is well documented. There are plenty of resources out there for anyone who hasn’t done it yet.</p><h3>⚠️ Important Note: Pi-hole v6 — Breaking Changes</h3><p><strong><em>If you’ve been running Pi-hole for a while, take a moment to read through this section.</em> <em>Everyone else can safely scroll past and skip it.</em></strong></p><p><strong>The current image (Sep 2026) is based on Pi-hole v6 and has been rewritten from the ground up.</strong> There are <strong>real breaking changes</strong> that shouldn’t be ignored.</p><p>What has fundamentally changed:</p><ul><li>The Docker image is now based on <strong>Alpine instead of Debian</strong> — completely rebuilt</li><li><strong>Almost all previous environment variables no longer exist</strong>, including WEBPASSWORD. The replacement is FTLCONF_webserver_api_password</li><li>Configuration is now consolidated in a single <strong>TOML file</strong> (/etc/pihole/pihole.toml) - existing v5 settings are migrated automatically, but <strong>irreversibly</strong></li><li>/etc/dnsmasq.d is no longer read by default</li><li>The web UI no longer lives at /admin/login.php - the new address is simply <a href="http://127.0.0.1/admin">http://127.0.0.1/admin</a></li></ul><p>Migrating from v5: create a backup via the Teleporter first (pihole-FTL --teleporter or through the web UI under Settings), then update.</p><h3>Creating the Container and Installing Pi-hole</h3><p>Pi-hole provides a ready-made image on Docker Hub. Three files are all you need:</p><h4>env.example</h4><p>First, create a template file for the credentials — place env.example in the project directory:</p><pre># Template - copy as .env and replace values<br># cp env.example .env<br>PIHOLE_PASSWORD=YourPasswordHere</pre><p>This file can go into the repository. It contains no real secrets, only example values — and makes it immediately clear which variable needs to be set. The actual .env file stays local and never goes into the repo.</p><p>That’s handled by .gitignore and - if present - .claudeignore:</p><pre># .gitignore / .claudeignore<br>.env</pre><h4>docker-compose.yml</h4><pre>services:<br>   pihole:<br>      image: pihole/pihole:latest<br>      container_name: pihole-container<br>      ports:<br>         - &quot;53:53/tcp&quot;<br>         - &quot;53:53/udp&quot;<br>         - &quot;80:80/tcp&quot;<br>      environment:<br>         TZ: &quot;Europe/Berlin&quot;<br>         FTLCONF_webserver_api_password: ${PIHOLE_PASSWORD}<br>      volumes:<br>         - &quot;./etc-pihole:/etc/pihole&quot;<br>      restart: unless-stopped<br> <br>      # To go live: copy env.example as .env,<br>      # enter your password - Compose reads .env automatically.<br>      # Never commit .env to the repository!<br>      # env_file:<br>      #   - .env</pre><p>A Dockerfile is not needed — the image is pulled directly from the registry. Setting container_name explicitly makes sense as soon as you want the image and container names to differ; without it, both end up with the same name, which gets confusing quickly.</p><h4>Starting the Container</h4><p>Open PowerShell in the project directory, then:</p><pre>docker compose up -d</pre><p>Docker pulls the image automatically if it isn’t available locally yet.</p><p>Check that the container is running:</p><pre>docker ps</pre><h4>Once the container is up:</h4><pre>http://127.0.0.1/admin</pre><p>or the local IP address of the PC followed by /admin.</p><p>Note: The old URL http://127.0.0.1/admin/login.php no longer works - v6 returns a 404 there. The new interface is a modern single-page app, no PHP anymore.</p><h4>Starting Pi-hole Automatically with the System</h4><p>No scripts, no batch files, no fumbling around with startup folders. The Compose file already has everything needed:</p><pre>restart: unless-stopped</pre><p>Docker will automatically restart the container — after a crash, after a system reboot, regardless of operating system. The only prerequisite: Docker itself needs to start with Windows, which can be enabled in the Docker Desktop settings. unless-stopped takes care of the rest.</p><h3>Permissions — Important Note</h3><p>If the user account doesn’t have admin privileges — which is the normal case for end users — the user needs to be added to the <strong>docker-users</strong> group on Windows. Without this, Docker won’t start, and neither will the container.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*phemwyoReCUjgLxWZYgLFA.jpeg" /></figure><h3>Configuring DNS</h3><p>For Pi-hole to actually do anything, DNS queries from the PC need to be routed through the container:</p><ol><li><strong>DNS Server 1</strong>: IP of the container (for a local installation: 127.0.0.1)</li><li><strong>DNS Server 2</strong>: Fallback — router IP or a public DNS like 1.1.1.1 (Cloudflare)</li></ol><p>Don’t skip the fallback — containers can crash, and without one there’d be no DNS at all.</p><p>In the Pi-hole interface, the upstream DNS server can be configured under Settings -&gt; DNS — this is where Pi-hole forwards requests in turn.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*erYteXqzYL2HBml-61rI7A.jpeg" /></figure><figure><img alt="The Pi-hole-frontend with opend DNS-adjustments" src="https://cdn-images-1.medium.com/max/1024/1*UYsMMBw26VRV86rUJJFZxQ.jpeg" /><figcaption>The Pi-hole-frontend with opend DNS-adjustments</figcaption></figure><h3>Up and Running.</h3><p><strong>A complete Pi-hole setup — local, no homeserver.</strong></p><figure><img alt="The up-an’-running Pi-hole frontend" src="https://cdn-images-1.medium.com/max/1024/1*D0kXV1IISBQ5DgXhgGY6Ow.jpeg" /><figcaption>The up-an’-running Pi-hole frontend — screenshot taken from the former article but still similar frontend</figcaption></figure><p>Not hard to see: The container is not running that long! But the number of blocked queries is not that low at all…</p><blockquote>Consider donating to the developers — they absolutely deserve it!</blockquote><blockquote><strong><em>This article is based on an earlier Pi-hole project. It was published due to the fact the newer image — see above — has massive structural changes. Previous publications covering that setup are now deprecated and no longer reflect the current configuration.</em></strong></blockquote><h3>Disclaimer</h3><p><strong><em>This text was written by hand in the beginning, it then was developed and created — and may have been revised — partially with the help of tools such as Claude, Claude Code, ChatGPT or Gemini (among other GenAI tools), based on a current project. The whole text then was reviesed again by hand.<br>Longer Code-Snippets are pure LLM-Code — so use it as always when dealing with AI generated content!</em></strong></p><p><em>After all the original German version was translated to English by Claude</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a45e4b0725e9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rigel-computer-com/block-ads-and-trackers-for-browsers-and-apps-pi-hole-locally-on-your-pc-or-mac-a45e4b0725e9">Block Ads and Trackers for Browsers and Apps — Pi-hole Locally on Your PC or Mac</a> was originally published in <a href="https://medium.com/rigel-computer-com">rigel-computer.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Local LLM Has a Secret Weapon. It’s Called a Jupyter Kernel]]></title>
            <link>https://medium.com/rigel-computer-com/your-local-llm-has-a-secret-weapon-its-called-a-jupyter-kernel-d1e96737a1b4?source=rss----b6ee5154c3b2---4</link>
            <guid isPermaLink="false">https://medium.com/p/d1e96737a1b4</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[jupyter]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[local-llm]]></category>
            <dc:creator><![CDATA[Christoph Schweres]]></dc:creator>
            <pubDate>Sat, 29 Aug 2026 20:35:34 GMT</pubDate>
            <atom:updated>2026-10-15T20:04:06.105Z</atom:updated>
            <content:encoded><![CDATA[<h4><em>How a stateful Jupyter Kernel inside an MCP Server lets a 16GB local LLM process unlimited data — no cloud, no agents, no expensive hardware.</em></h4><figure><img alt="Three cartoon server characters in a data center — a large rack labeled “llama.cpp, local, sovereign, secure”, a medium one labeled “MCP Server”, and a small chip labeled “Jupyter Kernel” flexing its arms. All three are smiling and giving thumbs up" src="https://cdn-images-1.medium.com/max/1024/1*93IXOx3bnZ0Q3T99ALKBqw.png" /><figcaption>The Stack. Three Components, One Mission.</figcaption></figure><h4>This is part three of the series “MCP &amp; Local LLM”.</h4><p>From Part 0 (let’s see how an LLM handles invoices — spoiler: not well) through a dedicated accounting MCP, to Part 3: a general-purpose, powerful MCP Server that can compute and process data safely and correctly. <br><em>Links will follow at the bottom of the article — but can already be found here on Medium.</em></p><h3>Quick orientation: the setup</h3><p>Part II built the Interpreter MCP: llama.cpp running locally, Qwen 2.5 14B (one weight loaded, several available), two Docker containers, maximum sandboxing. LLM-generated code runs in a box with no network, no host access, no way to escalate privileges — not as a configuration detail, but as an architectural decision. (Links to the other parts are at the end of this article for clarity)</p><p><strong>At the center sits a Jupyter Kernel.</strong> In Part II it was a quietly powerful means to an end… <strong>Here, it is THE topic.</strong></p><p>Use case, by way of example: feed invoices to an LLM, extract data for accounting — seems obvious. Except it doesn’t really work: with just 10 invoices you already run into context problems, lost-in-the-middle issues, and correctness failures. The LLM doesn’t calculate — it guesses. It guesses well, most of the time. But it guesses. That’s systemic, and it’s expected. For accounting, that’s not good enough. So: a dedicated MCP Server for extraction. More structured, cleaner. But limited to one use case. Curiosity took over — MCP can clearly do much more. One step further: the Interpreter MCP, with a Jupyter Kernel under the hood.</p><p>And that’s exactly where the real finding is: the Kernel is not an implementation detail. It’s the reason this setup scales — on normal hardware, without cloud, practically independent of data volume. More on that shortly.</p><h3>The Jupyter Kernel — the central element of this article</h3><h4>A note on terminology: Jupyter Notebook Kernel ≠ Jupyter Kernel in an MCP context</h4><p><strong>_If you’ve never stumbled over this distinction: feel free to skip this section._</strong></p><p>Anyone who knows Jupyter only as a notebook interface will reasonably stumble over the term “Jupyter Kernel”: in the notebook UI you select a kernel and see something like “Python 3.11” or “venv”. That makes it sound like the kernel is just a Python environment.</p><p>When this article refers to a “Jupyter Kernel”, something different is meant: In this setup, the notebook disappears entirely — that mental separation is essential.</p><p>The full requirements.txt of the executor container makes it concrete:</p><pre>ipykernel&gt;=6.29.5<br>jupyter-client&gt;=8.6.3<br>mcp[cli]&gt;=1.0.0,&lt;2.0.0<br>python-dotenv&gt;=1.0.0<br>pandas&gt;=2.3.1<br>numpy&gt;=1.22.1<br>matplotlib&gt;=3.10.5<br>seaborn&gt;=0.13.2<br>sympy&gt;=1.14.0<br>openpyxl&gt;=3.1.0<br>xlrd&gt;=2.0.1<br>PyMuPDF&gt;=1.24.0</pre><p>ipykernel provides the kernel process, jupyter-client connects to it — taking on exactly the role a browser normally plays with the notebook frontend. The MCP Server talks directly to the kernel at protocol level, no UI, no notebook frontend.</p><h3>The core insight:</h3><p>With a Jupyter Kernel, even a 16GB VRAM setup becomes a workhorse — processing data volumes that would otherwise require significantly more memory. Cost-efficient, 100% local, and thanks to containerization and the MCP Server sandbox, as secure as it gets.</p><p>An expensive RTX-6000? SparkX? Or straight to the cloud — with all the risks that brings? You simply don’t need any of it.</p><p>But how does the kernel actually work? In Jupyter Notebooks: Shift+Return, data that somehow persists between cells, things you work with. A black box.</p><p>To reach the core insight, the black box has to be opened.</p><p>The result — the specific insight — was the real revelation:</p><p>This kernel is not just something, not overhead, not a nice-to-have, not irrelevant.</p><p>On the contrary: It is the decisive reason why this setup scales effortlessly, practically independent of data volume — on normal hardware, without cloud, without expensive GPU upgrades, without agents doing things in the background that nobody can trace anymore.</p><figure><img alt="Three cartoon server characters in a data center — llama.cpp, MCP Server, and Jupyter Kernel. The Jupyter Kernel holds an enormous stack of documents reaching to the ceiling, illustrating its ability to accumulate and process unlimited data volumes." src="https://cdn-images-1.medium.com/max/1024/1*KMySxaz41GZQYqDCXyKFrA.png" /><figcaption>10 Invoices. 10,000 Invoices. The Kernel Doesn’t Care</figcaption></figure><h4>The division of labor is as simple as it is elegant:</h4><p>The LLM moderates, structures, writes code. The Kernel computes, accumulates, persists. On the CPU. In the host’s RAM. Completely outside the context — which stays as fresh at every iteration as it was on the first call.</p><blockquote>Ten invoices or ten thousand — the Kernel accumulates on the CPU, the LLM is called briefly per iteration and then released. No KV-cache exploding, no context collapsing under the load.</blockquote><p>In contrast: off-the-shelf “agents” like AutoGen or CrewAI lack exactly this transparency. What happens between input and output? Where is the data right now? Is any of this reproducible, auditable? Usually not. Using MCP and the Jupyter Kernel is exactly the opposite approach: every component is visible, explainable, controllable. And the data stays where it belongs — on your own machine.</p><p>And what actually is the Jupyter Kernel?</p><p>For someone who — when time allows — always needs to understand things precisely, this was the mandatory next step. Learn in order to understand. Only then can I present it to others with a clear conscience.</p><h4>History and internals — just skip this part if already known</h4><p>Fernando Pérez wanted to use Python in 2001 the way you use Mathematica — interactively, with state, step by step. What he built became Jupyter. The name: Julia, Python, R — the three original languages. Today the standard in data science and research worldwide.</p><p><strong>But the notebook is only the surface.</strong> What runs underneath is exactly the kernel that sits inside our setup: a standalone Python process, completely independent of the notebook. Shift+Return in the notebook doesn’t send code “somehow” for execution — it’s sent over ZeroMQ, a battle-tested messaging protocol, to this process. The kernel executes it, holds state in RAM, sends the result back. The notebook is just a client. The kernel runs beneath it — and keeps running even after the browser is long closed.</p><p>That’s exactly what makes it useful here: instead of serving a notebook, the kernel is used to speak directly to the MCP Server — via protocol, no UI, no overhead. What remains: a Python process that holds state, executes code, and returns results. Deterministic. Reproducible. Completely outside the LLM context.</p><p>In short: the MCP Server has the data and keeps it — the LLM is not involved in generating it at all. This means ZERO context growth for the LLM, the KV-cache simply cannot overflow — and that holds for any scale of data, in type and volume.</p><p>And that’s exactly where things get genuinely interesting.</p><h3>In practice: the Kernel as accumulator</h3><figure><img alt="Floating diagram precisely showing the steps the setup goes through" src="https://cdn-images-1.medium.com/max/686/1*Tx19e_qcRhNicE9nJ43x1w.jpeg" /><figcaption>Floating diagram precisely showing the steps the setup goes through</figcaption></figure><p>The flow is considerably simpler than it looks at first glance: The LLM receives a task, writes Python code, sends it via tool call to the bridge. The bridge runs permanently — small, stable, reliable. It passes the code via STDIO to the executor container, which starts automatically on the first call. At the center: the Jupyter Kernel. It executes the code, holds the result in RAM, and waits for the next call.</p><p>What the LLM gets back: a result, values, a filename, a confirmation. No raw data, no DataFrame, no 10,000-line CSV. Absolutely NOTHING that would needlessly bloat the LLM context. Only the result — in a fraction of the tokens that would be needed if all of this had to pass through the context of the upstream llama.cpp server.</p><p><strong>To put it plainly:</strong> The Kernel accumulates. The LLM moderates. Iteration by iteration.</p><p><strong>Or as an example:</strong> Invoice 1 in — LLM extracts, Kernel stores in df. Invoice 2 — Kernel appends to df. After 100 invoices: df has everything, the context has seen none of it. One final command — df.to_csv(&#39;/workspace/result.csv&#39;) — and the file is on the host. Done.</p><p>The LLM stays fresh after every step. No KV-cache hitting limits, no lost-in-the-middle at invoice 47. The intelligence came from the LLM — the data storage and processing from the Kernel. And the context stays lean throughout; the small amount it grows in this setup is negligible.</p><h4>An interesting side note:</h4><p>GPU and CPU are also part of this strict separation: The GPU handles the language work — briefly, focused, per iteration. The Kernel runs on the CPU. pandas, PyMuPDF, openpyxl — this was never GPU work, and it never needed to be. Even on older hardware, no noticeable latency arises. Data volume scales on the CPU, the GPU is called only for each individual extraction step.</p><p>Two resources, cleanly divided. No bottleneck, no chokepoint. No nuking the context — and everything transparent, maximally secure, maintainable and auditable at any time.</p><p>And what role does RAM play? Exactly as clean and sensible as the separation above: The Kernel holds its variables in the host’s working memory — neither in VRAM nor in context. Whatever lives there survives the next LLM call without issue.</p><h3>The Kernel can do more — surprisingly much more</h3><p>The default state is ephemeral — every session starts fresh. The Kernel accumulates, delivers the result, gets reset. Clean, deterministic, reproducible. The right choice for most workflows.</p><h4>But: It can do more!</h4><p>What lives in working memory can be written to the host — and reloaded in seconds on the next start. A DataFrame, a trained model, a vector index. The heavy work happens once. What that means concretely — and what possibilities it opens up — is the topic of the next part.</p><h4>Part IV follows — it’s already under construction</h4><p>Stay tuned.</p><p>Now the links to the recently publised parts around MPC Server</p><h4>Part II</h4><p><a href="https://medium.com/rigel-computer-com/use-code-giving-your-local-llm-a-python-interpreter-fd54328e5790">Your Local LLM Can’t Do Math. This MCP Server Fixes That</a></p><h4>Part I</h4><p><a href="https://medium.com/rigel-computer-com/local-llm-setup-with-mcp-server-automated-document-processing-a-concrete-use-case-3835f110c556">Local LLM Setup with MCP Server: Automated Document Processing — A Concrete Use Case</a></p><h3>Disclaimer</h3><p><strong><em>This text has been developed by Claude Code during the assosiated coding session, then has been revized — paragraph by paragraph — by hand loading it into Visual Studio Code using the original German version.<br>Longer Code-Snippets are pure LLM-Code — so use it as always when dealing with AI generated content!<br>After all the whole text was translated into English by Claude, using a special prompt for idiomatc etc. correctness.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1e96737a1b4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rigel-computer-com/your-local-llm-has-a-secret-weapon-its-called-a-jupyter-kernel-d1e96737a1b4">Your Local LLM Has a Secret Weapon. It’s Called a Jupyter Kernel</a> was originally published in <a href="https://medium.com/rigel-computer-com">rigel-computer.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Local LLM Can’t Do Math. This MCP Server Fixes That]]></title>
            <link>https://medium.com/rigel-computer-com/use-code-giving-your-local-llm-a-python-interpreter-fd54328e5790?source=rss----b6ee5154c3b2---4</link>
            <guid isPermaLink="false">https://medium.com/p/fd54328e5790</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[llama-cpp]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Christoph Schweres]]></dc:creator>
            <pubDate>Thu, 20 Aug 2026 19:27:05 GMT</pubDate>
            <atom:updated>2026-09-08T19:14:30.511Z</atom:updated>
            <content:encoded><![CDATA[<h4>A hardened, offline Python interpreter for llama.cpp — Docker-sandboxed, stateful, no network, no API costs</h4><figure><img alt="Two cartoon server racks in a data center, labeled „llama.cpp — local, sovereign, secure” and „MCP Server”, standing at a flipchart that reads „Use Code! — deterministic, non-probabilistic, sandboxed, zero data leakage” with a Python logo. Documents, spreadsheets and charts lie on the floor." src="https://cdn-images-1.medium.com/max/1024/1*JmTxQW6veAGhX9K334bNaw.jpeg" /><figcaption>The AI generated: Two racks, one flipchart, and the whole point of this article: the model writes the code, Python runs it</figcaption></figure><h4>This is part II of the MCP Server series — an ongoing series growing out of hands-on work with llama.cpp &amp; MCP servers.</h4><p><em>Other published parts are linked below at the end of the article.</em></p><h3>A local LLM can do a lot. Actual math isn’t really one of them.</h3><h4>What looks like calculation is token prediction — and while 1 + 1 reliably comes out as 2, try √12,034,223 and you&#39;re on your own.</h4><p>Karpathy nailed it in a brief aside in his LLM video [3]: <strong>“Use code.”</strong> He was talking about ChatGPT 4o at the time — it looked like it was doing math, but it wasn’t really. It was guessing. A token juggler, not a deterministic, reliable engine for tasks where the numbers actually have to be right.</p><p>His fix: “Use code!” — the model generates pure Python, hands it off, gets the result back, and presents it in the chat. The model writes, Python computes.</p><p>What’s being built here: a local llama.cpp setup (specifically: RTX 4070 Ti Super, Qwen 2.5 14B, everything running in Docker containers) gets exactly that kind of interpreter. Deterministic, isolated, fully local, no data leaving the machine, no API costs. And extensible: anyone who needs additional libraries can add them.</p><p>Three layers:</p><ol><li><strong>mcp-interpreter-bridge</strong> — a permanently running HTTP-MCP server. Accepts tool calls from the llama.cpp frontend, spins up the executor on demand, and maintains a persistent MCP-STDIO session.</li><li><strong>docker_pipe.py</strong> — launched by the bridge as a subprocess. Uses the Python Docker SDK to spin up a fresh, fully isolated mcp-code-executor container and pipe MCP-STDIO through.</li><li><strong>mcp-code-executor</strong> — a Jupyter kernel acting as a stateful Python REPL. Variables persist across calls. Writes to /workspace, which is visible on the host via bind mount.</li></ol><p>In practice, that means a local LLM that reliably:</p><ul><li><strong>computes</strong> — sums, statistics, validation. Python does the math, the LLM writes the code. No guessing.</li><li><strong>processes tabular data</strong> — CSV, Excel (old and new formats), JSON. Read, filter, transform, export.</li><li><strong>visualizes</strong> — matplotlib, seaborn. Output is a real file, not text.</li><li><strong>reads documents</strong> — PDFs with embedded text, extracted page by page. Invoices, reports, anything with structured text content.</li><li><strong>maintains state</strong> — step 1 loads, step 2 filters, step 3 plots. All in one session, variables stay alive.</li></ul><blockquote>It doesn’t guess. It’s non-probabilistic. And the whole structure is as secure as it gets — not marketing copy, just fact.</blockquote><h3>The executor runs in a container with no network access, a read-only filesystem, no Linux capabilities, hard RAM and CPU limits, as an unprivileged user. Write access is limited to exactly one directory: /workspace. Anything not in there doesn&#39;t exist as far as the executor is concerned. Anything it writes lands there — and nowhere else.</h3><p>While uncontrolled agents are making headlines for breaking out of system boundaries and developing a life of their own: this executor structurally cannot do that. No network, no host access, no privilege escalation. That’s not a configuration detail — that’s the architecture.</p><h3>Starting point: an existing repo, a local build</h3><p>There’s already a project on GitHub — akuadane/mcp-code-interpreter — that does exactly this: accept Python code, execute it in a real Jupyter kernel, return the result. MIT license, Python 3.12, solid foundation. No need to build from scratch; the approach here is to take something that exists and adapt it.</p><p>Included out of the box: ipykernel, jupyter-client, pandas, numpy, matplotlib, seaborn, sympy — plus mcp[cli] as the MCP implementation. Three tools exposed: execute_python, reset_session, list_workspace_files.</p><p>Why a Jupyter kernel instead of subprocess.run()? Because subprocess.run() starts a fresh Python environment on every call — x = 42 from call 1 is gone by call 2, as if it never happened. The Jupyter kernel keeps state — variables, imports, everything — in memory across calls. Exactly the behavior of a Jupyter notebook, without the browser.</p><h3>The architecture: two containers, clear responsibilities</h3><figure><img alt="Floating diagram precisely showing the steps the setup goes through" src="https://cdn-images-1.medium.com/max/686/1*Tx19e_qcRhNicE9nJ43x1w.jpeg" /><figcaption>Floating diagram precisely showing the steps the setup goes through</figcaption></figure><p>One container isn’t enough. The executor — the thing that actually runs code — should start on demand, run in isolation, and be cleanly discarded on every reset. That calls for a bridge in between.</p><p><strong>mcp-interpreter-bridge</strong> is the HTTP-MCP server. It runs permanently, registers with the llama.cpp frontend, and forwards execute_python calls to the executor via STDIO-MCP protocol. Small, stable, almost boring — which is exactly right: the boring setups are the ones you never have to touch again once they&#39;re running.</p><p><strong>mcp-code-executor</strong> is the actual interpreter. It doesn&#39;t start until the first execute_python call, launched as a separate Docker container via Docker socket. Communication over STDIO, not over the network.</p><p><strong>Security here is a design decision, not an afterthought.</strong> LLM-generated code runs inside a fully hardened container — no network access, read-only filesystem, all Linux capabilities dropped, RAM and CPU limits enforced, fork bombs blocked. The process runs as user sandbox.</p><pre>--network=none           no network access<br>--read-only              read-only root filesystem<br>--cap-drop=ALL           all Linux capabilities dropped<br>--security-opt=no-new-privileges:true<br>--tmpfs=/tmp:size=512m   only writable directory besides /workspace<br>--memory=2g              RAM limit<br>--cpus=2                 CPU limit<br>--pids-limit=128         prevents fork bombs</pre><p>The original repo (akuadane/mcp-code-interpreter) has no sandboxing at all. The dependencies and the Jupyter kernel concept come from there — the architecture around them is built from scratch.</p><h3>Docker Socket: Problem identified, a proxy solves it</h3><p><strong>While building the interpreter, this — at first glance unremarkable — detail surfaced:</strong><br>Anyone who wants to start containers via the Docker API needs access to /var/run/docker.sock. That sounds like a technical configuration detail. It isn&#39;t: whoever holds this socket has effective root access to the host. Start arbitrary containers, mount host directories - including / - manipulate other containers. The socket is not a crack in the door, it is an open door.</p><p>The mcp-interpreter-bridge needs it - it starts the code executor on demand. The need is real. Full socket access is not necessary for that.</p><p>The solution is as simple as it is consistent:<br>=&gt; Tecnativa’s Docker Socket Proxy.</p><p>A lean proxy container is now the only one that holds the real socket. The bridge routes through it, with explicitly permitted operations, everything else blocked. The socket stays where it is. The attack surface shrinks to a minimum.</p><p>The proxy separates two dimensions: <strong>what</strong> may be addressed (resources like CONTAINERS, IMAGES) and <strong>which operations</strong> are allowed — by default only GET. POST and DELETE must be explicitly unlocked. CONTAINERS=1 alone opens GET requests on /containers/* exclusively — read and inspect, not control. A container lifecycle manager that creates, starts, stops and removes containers requires four variables:</p><figure><img alt="Overview about the variables and their permits in the current project" src="https://cdn-images-1.medium.com/max/546/1*dplO5V6JNeRrVA-hYlnK_Q.jpeg" /><figcaption>Overview about the variables and their permits in the current project</figcaption></figure><p>This granularity is not overhead — it is the point of the proxy: read-only access stays read-only, nothing more gets through than what is needed.</p><h3>Implementation: docker-compose.yml</h3><h4>1. New proxy service</h4><p>To keep the setup as maintainable as possible, this special new container gets a speaking name (like all containers in this project):</p><pre># The only container with direct Docker socket access.<br># llm-manager and mcp-interpreter-bridge route all Docker API calls<br># through this proxy - only container and image operations are permitted,<br># everything else (volumes, networks, build, swarm ...) is blocked.<br>docker-socket-proxy:<br>   image: tecnativa/docker-socket-proxy<br>   container_name: llm-docker-socket-proxy<br>   networks:<br>      - llm-net<br>   volumes:<br>      - /var/run/docker.sock:/var/run/docker.sock<br>   environment:<br>      - CONTAINERS=1 # GET /containers/* (inspect)<br>      - IMAGES=1     # GET /images/* (read metadata)<br>      - POST=1       # POST requests: create, start, stop<br>      - DELETE=1     # DELETE requests: remove containers<br>   restart: unless-stopped</pre><h4>2. Dependent services — socket mount removed, proxy registered</h4><p>Applies identically to llm-manager and mcp-interpreter-bridge:</p><pre>environment:<br>   - DOCKER_HOST=tcp://docker-socket-proxy:2375<br>   # ... other environment variables unchanged<br>depends_on:<br>   - docker-socket-proxy<br># volumes: no /var/run/docker.sock anymore</pre><h3>Integrating into the local setup</h3><p>The basic project-image isn’t pulled from Docker Hub — <strong>it’s built locally from the repo’s </strong><strong>pyproject.toml</strong>, because custom libraries need to go in later. More on that shortly.</p><p>Two changes from the original repo were necessary:</p><p><strong>mcp[cli] with a version ceiling.</strong> mcp 2.x restructured the package — mcp.server.fastmcp no longer exists there. Without a ceiling, pip pulls the new major version and the server won&#39;t start. Fix: mcp[cli]&gt;=1.0.0,&lt;2.0.0 in both requirements files.</p><p><strong>Bridge folded into the main </strong><strong>docker-compose.yml.</strong> The repo ships a separate Compose file. For a setup that starts and stops as a unit, everything belongs in one file — docker-compose.interpreter.yml goes into the archive.</p><p>Then: docker compose up -d. Bridge is running, port 7661 is responding. Register the MCP server in the llama.cpp frontend:</p><pre>http://localhost:7661/mcp</pre><p>Not the internal Docker network address — the browser on the host doesn’t know that hostname. localhost:7661 is the externally mapped port. Green button, connection established.</p><h3>First Light — it runs, but where’s the file?</h3><p>Test: execute_python(&quot;print(&#39;Hello&#39;)&quot;). Output: Hello. The chain works.</p><p>So far, so good… next test: generate a sine curve, save it to /workspace/sinus.png. The LLM writes correct matplotlib code, the MCP server executes it, the response comes back: _&quot;Saved: /workspace/sinus.png&quot;_.</p><p>File on the host: <strong>not there.</strong></p><p>No error. No warning. The file is just gone — as if it was never written.</p><h4>The docker restart trap on Windows</h4><p>…in a variant that doesn’t appear in any tutorial.</p><p>Debugging — a solid hour of it pointlessly spent on stale logs still sitting in the container, giving no useful information whatsoever. The culprit: docker restart on Windows/Docker Desktop gives <strong>no guarantee</strong> that live-mounted files are reliably re-read. (Particularly galling because this had already happened once before.)</p><p><strong>Fix:</strong> always use docker compose down &amp;&amp; docker compose up -d. That works reliably — worth keeping in mind on Windows, permanently. Logs get freshly created, no more chasing ghosts.</p><h4>What’s actually happening — the Docker-in-Docker path problem on Windows</h4><p>The bridge is itself a container. It launches the executor via Docker socket — the classic “Docker outside of Docker” pattern. The docker run call needs a bind mount so that files land on the host. That&#39;s the plan.</p><p>The bridge knows its own mount source path — it reads it from the Docker API. On Windows/Docker Desktop, that’s a <strong>Windows path</strong>: C:\Users\...\mcp\interpreter\data. When the bridge passes this path via the <strong>Linux Docker CLI</strong> to docker run --mount source=C:\..., the Linux binary simply doesn&#39;t understand it. The bind mount fails silently — the executor happily writes to /workspace, but /workspace is now its own ephemeral image layer, which disappears when the container exits.</p><h4>The fix: Python Docker SDK instead of Linux CLI</h4><p>The Python Docker SDK doesn’t pass the path as a string to a CLI binary. It sends it as a raw API request directly to the Docker Desktop daemon. The daemon knows its own Windows context and resolves C:\... correctly — and that&#39;s the whole point.</p><p>The result: a thin wrapper script, docker_pipe.py, that uses the Python Docker SDK to start the executor and pipe stdin/stdout between the bridge subprocess and the container socket.</p><pre>container = _client.containers.run(<br>    EXECUTOR_IMAGE,<br>    detach=True, stdin_open=True, auto_remove=True,<br>    network_mode=&quot;none&quot;, read_only=True,<br>    volumes={DATA_HOST_PATH: {&quot;bind&quot;: &quot;/workspace&quot;, &quot;mode&quot;: &quot;rw&quot;}},<br>    environment={&quot;MPLCONFIGDIR&quot;: &quot;/tmp&quot;, &quot;MPLBACKEND&quot;: &quot;Agg&quot;},<br>    ...<br>)<br>_sock = container.attach_socket(params={&quot;stdin&quot;: 1, &quot;stdout&quot;: 1, &quot;stream&quot;: 1})</pre><p>The bridge uses docker_pipe.py as a subprocess instead of the docker binary. Path resolves correctly, file lands on the host. backend.py in the llm-manager does the same thing for weights paths, and has since the beginning of the project — the insight was already there, it just needed to be applied to the interpreter.</p><p><strong>Rule of thumb for Windows/Docker Desktop:</strong> use the Python SDK for container startup with bind mounts. Never the Linux CLI from inside a container — it has no concept of the Windows context.</p><p>Two more issues from this session, briefly:</p><p>MPLCONFIGDIR on a read-only filesystem — matplotlib tries to create ~/.config/matplotlib on startup and fails. Fix: MPLCONFIGDIR=/tmp, MPLBACKEND=Agg as environment variables; matplotlib falls back to tmpfs.anyio cancel scope crossing task boundaries — FastMCP with stateless_http=True runs each HTTP request in a separate asyncio task; stdio_client and ClientSession can&#39;t cross task boundaries. Fix: session runs in a dedicated background task, request tasks communicate via asyncio queue.</p><h3>First run result</h3><pre>LLM → execute_python() → Bridge → docker_pipe.py → Docker SDK<br>    → mcp-code-executor → Jupyter-Kernel → /workspace/sinus.png</pre><p>The LLM gets back: _”Saved: /workspace/sinus.png”_. The host gets: the actual file, in ./mcp/interpreter/data/.</p><p>Open it on the host — sine curve, plotted correctly. The LLM never drew anything. It wrote import numpy as np and plt.savefig(&#39;/workspace/sinus.png&#39;). The machine did the rest.</p><figure><img alt="FIRST SUCCESS: A MCP/llama.cpp generated sinus wave, now laying in my data-output directory" src="https://cdn-images-1.medium.com/max/800/1*Vkv_SApeosj5zFzchUdyMQ.png" /><figcaption>FIRST SUCCESS: An MCP/llama.cpp generated sine wave, now lying in my data-output directory</figcaption></figure><h3>Extension: Excel and PDF</h3><p>The interpreter is extremely capable — but it’s not a tool for everything. The original repo’s pyproject.toml is intentionally lean: solid foundation, no bloat. Think of it like VS Code — it ships with solid core functionality, but you add extensions for your specific needs. For the accounting workflow that&#39;s the basis for this part, three libraries are missing — and they get added now:</p><ul><li><strong>openpyxl</strong> — read and write .xlsx. pandas uses it automatically as the engine for read_excel() and to_excel().</li><li><strong>xlrd</strong> — read older .xls files. Many accounting exports and legacy spreadsheets are still in the old format.</li><li><strong>PyMuPDF</strong> — read PDFs, extract text page by page. Individual invoices as PDFs directly into the workflow, no OCR detour required. (For bulk invoice processing, the context window overflow problem applies — which is exactly why a dedicated MCP server was built for that use case in Part I.)</li></ul><p>Add to requirements.code-executor.txt, rebuild the image:</p><pre>docker compose build --no-cache mcp-code-executor-build</pre><p>One line, one build. What stays out deliberately: requests — network is blocked via --network=none. scikit-learn / torch — too large, too specialized; a separate image with GPU passthrough when needed.</p><h3>Live test: real accounting data</h3><p>Test file: Accounting 2024.xls — a real, organically grown Excel file, not a generated sample. Sitting in the workspace.</p><p>The sensible first move: have the LLM list the workspace before doing anything:</p><pre>List the files in the workspace. Open the .xls file and print all sheet names.</pre><p>Two benefits: the LLM sees the exact filename — no typos, no assumptions. And it sets the /workspace/ prefix itself, because the docstring tells it to. That said, it trips up once on the first attempt:</p><pre>file_name = &#39;Accounting 2024.xls&#39;  # looks in /app, not in /workspace</pre><h4>The file wasn’t found despite the correct name</h4><p>FileNotFoundError — even though list_workspace_files shows the file correctly. The executor runs with WORKDIR /app; without an explicit path, Python looks there. Fix not in the prompt but in the code: the tool docstring in mcp_interpreter_bridge.py was tightened to explicitly require the /workspace/ prefix. After that, the LLM sets it reliably on its own.</p><p>Processing with pandas + xlrd: <strong>44 t/s</strong>. Figures correct, sheets fully read. The LLM didn’t do the math — it wrote the code, handed it to the interpreter, and Python did the math.</p><h3>What remains</h3><p>The interpreter MCP gives the local LLM the ability to compute, visualize, generate files, and maintain state across multiple calls. Excel and PDF support come in with three additional libraries. All local, all offline — no API costs, no data leaving the machine, running on an RTX 4070 Ti Super with Qwen 2.5 14B.</p><p>What Karpathy meant with a cloud-based 4o works just as well with a local setup. You just have to build it. And watch out for Windows paths.</p><p>The original was a clean proof of concept for a single user on a standard system. Here’s what it became:</p><figure><img alt="The table shows the diffrences between the first approach from original .toml to the actual state of the project" src="https://cdn-images-1.medium.com/max/1024/1*qbM8sYw635m3vY27YePqSQ.jpeg" /><figcaption>The table shows the differences between the first approach from original .toml to the current state of the project</figcaption></figure><h3>Appendix: What’s in the image</h3><h4>Two blocks — what was there from the start, what came later.</h4><blockquote><strong>Not everyone lives and breathes Python — this appendix gives a quick rundown for those less familiar, while the package names alone are enough for those who are.</strong></blockquote><h4>Core infrastructure</h4><p>These four packages keep the kernel running. No direct user-facing value, but nothing works without them:</p><ul><li><strong>ipykernel</strong> — the actual Jupyter kernel. Executes Python code and holds state between calls. No persistent notebook behavior without it.</li><li><strong>jupyter-client</strong> — the communication layer to the kernel. Sends code in, gets results out.</li><li><strong>mcp[cli]</strong> — the MCP implementation. Defines the protocol the LLM frontend uses to talk to the server.</li><li><strong>python-dotenv</strong> — loads environment variables from .env files. Keeps configuration out of the code.</li></ul><h4>Analytics and visualization (original image)</h4><p>These are the packages that make the interpreter interesting beyond “Hello World” — and that show why Python is effectively the only game in town for ML and data work:</p><ul><li><strong>pandas</strong> — the Swiss Army knife for tabular data. Read, filter, aggregate, transform DataFrames. Anyone who&#39;s worked with it seriously never wants to touch Excel formulas again.</li><li><strong>numpy</strong> — the foundation under pandas and matplotlib. Fast array operations, linear algebra, random numbers. Rarely used directly, always present indirectly.</li><li><strong>matplotlib</strong> — visualizations of all kinds: line charts, bar charts, scatter plots, histograms. Output as a file to /workspace, no display needed. The local LLM never draws anything — it writes the code, matplotlib draws.</li><li><strong>seaborn</strong> — builds on matplotlib, specialized for statistical graphics. Correlation matrices, distributions, regression plots — with significantly less code than raw matplotlib.</li><li><strong>sympy</strong> — symbolic math. Not numerical computation but algebraic simplification, differentiation, integration. Exact results instead of floating-point approximations.</li></ul><h4>Document processing (added later)</h4><p>These three came in for the accounting workflow — and cover a large chunk of typical office paperwork:</p><ul><li><strong>openpyxl</strong> — read and write .xlsx. pandas uses it as the engine automatically; you rarely need to call it directly. Potential: generate Excel files programmatically, populate sheets, apply formatting.</li><li><strong>xlrd</strong> — read older .xls files (Excel 97–2003). Many accounting exports and legacy enterprise files are still in this format. openpyxl can&#39;t handle them — xlrd fills the gap.</li><li><strong>PyMuPDF</strong> — open PDFs, extract text page by page, read metadata. Invoices as PDFs directly into the workflow, no OCR tools required. Potential goes well beyond text access — analyze page structure, detect tables, combine with further libraries.</li></ul><p>Anyone who needs more: add to requirements.code-executor.txt and rebuild. One line, one build.</p><h3>Repo &amp; Links</h3><p>[1] Part I — MCP server for invoice extraction:</p><p><a href="https://medium.com/rigel-computer-com/local-llm-setup-with-mcp-server-automated-document-processing-a-concrete-use-case-3835f110c556">Local LLM Setup with MCP Server: Automated Document Processing — A Concrete Use Case</a></p><p>[2] Part III , IV, V… OpenCode-integreation, focus on specs of the mighty Jupyter-Kernel in terms of llama.cpp — stay tuned. Just subscribe. I’ll keep you posted.</p><blockquote>This parts is still under construction, more or less finished</blockquote><p>[3] Karpathys genius Video, “use code!” was inspiered by:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F7xTGNNLPyMI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D7xTGNNLPyMI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F7xTGNNLPyMI%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6b51d572a3224985f551655e6a9df98/href">https://medium.com/media/f6b51d572a3224985f551655e6a9df98/href</a></iframe><p>[4] akuadane/mcp-code-interpreter:</p><p><a href="https://github.com/akuadane/mcp-code-interpreter/blob/main/pyproject.toml">mcp-code-interpreter/pyproject.toml at main · akuadane/mcp-code-interpreter</a></p><h3>Disclaimer</h3><p><strong><em>This text has been developed by Claude Code during the assosiated coding session, then has been revized loading it into Claude, paragraph by paragraph. The resulting Markdown then was manually reviewed — paragraph by paragraph — again by hand.<br>Longer Code-Snippets are pure LLM-Code — so use it as always when dealing with AI generated content!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd54328e5790" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rigel-computer-com/use-code-giving-your-local-llm-a-python-interpreter-fd54328e5790">Your Local LLM Can’t Do Math. This MCP Server Fixes That</a> was originally published in <a href="https://medium.com/rigel-computer-com">rigel-computer.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GenAI Image Tools: Endless Prompts— Zero Results… Until Now!]]></title>
            <link>https://medium.com/rigel-computer-com/genai-image-tools-endless-prompts-zero-results-until-now-fc01f61098e5?source=rss----b6ee5154c3b2---4</link>
            <guid isPermaLink="false">https://medium.com/p/fc01f61098e5</guid>
            <category><![CDATA[ai-image-generator]]></category>
            <category><![CDATA[ai-image-generation]]></category>
            <category><![CDATA[nano-banana-pro]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[genai]]></category>
            <dc:creator><![CDATA[Christoph Schweres]]></dc:creator>
            <pubDate>Mon, 17 Aug 2026 20:05:13 GMT</pubDate>
            <atom:updated>2026-08-18T15:12:51.832Z</atom:updated>
            <content:encoded><![CDATA[<h4>The model seems to ignore every single instruction. Surely “flip section X horizontally” should be a solvable task… yeah, right!!</h4><figure><img alt="A metaphoric image, summarizing the feelings after a dozend prompts — in vane. The GenAI-model wouldn’s flip te robo… If it has been a paper draft, I’d had it crumpled up and tossed it into the wastebasket in a high arc." src="https://cdn-images-1.medium.com/max/1024/1*9HBwUrW3nk6VbSYz_wWlLQ.jpeg" /><figcaption>A metaphoric image, summarizing the feelings after a dozend in-vane-prompts . The GenAI-model wouldn’t flip te robo… If it has been a paper draft, I’d had it crumpled up and tossed it into the wastebasket in a high arc. Of course the genius effect in this very picture was generated by… GenAI!</figcaption></figure><h3>Problem</h3><p>The task — flip just one section of an image horizontally, leave the rest untouched — sounds straightforward. <strong>It isn’t</strong>.</p><p>Normally I would have used <a href="http://reve.com/">Reve.com</a> for something like this: the tool breaks every image down into its individual elements in a very visual way, and you simply click the part you want to edit and fire off a targeted prompt for exactly that section.</p><p>But this time I was working with Banana Pro — <strong>and hooked</strong>.</p><p>The original image had turned out genuinely charming. <br>Just one problem: the robot was supposed to be driving<strong> <em>out</em> of the frame</strong>, <strong>not<em> into</em> it</strong>.</p><figure><img alt="The original image that caused all the trouble you acutally reading about" src="https://cdn-images-1.medium.com/max/1024/1*nvYU__BhXwAoXBRYEthK7w.jpeg" /><figcaption>The original image that caused all the trouble you acutally reading about</figcaption></figure><p>A Perplexity search about that very topic turned up exactly ZERO useful leads on how to fix it. Most strange… <em>But that has become part of the reason I wrote this article, in case others run into the same wall</em>.</p><p>Elaborate prompts like “Analyze the image, flip the robot, the wheelbarrow, and the sheets of paper horizontally — and make sure the text on the paper stays readable after the flip” went nowhere. Iterating, rewording, trimming, adding detail — nothing. Even switching the whole thing to German made zero difference.</p><h3>Why It Fails</h3><p>To an image-generation LLM, your carefully crafted prompt is just a sequence of tokens — the model doesn’t <em>see</em> the image, it processes tokens. The more complex the request, the higher the probability of complete failure.</p><p><strong>“Impossible doesn’t exist”</strong> — true, even with AI tools. But I wasn’t ready to throw in the towel before I’d tried everything.</p><h3>The Fix: Step by Step</h3><p>The lever, in the end, was a concept as old as digital image editing itself: <strong>cutout / background removal</strong>. Anyone who’s been working with Photoshop since version 1 — back when a lack of RAM meant you could undo exactly <em>one</em> step — has that instinct hardwired in. The lever was there all along. It just needed to be applied correctly.</p><p><strong>1. Prepare the background</strong><br>Open the original image in Paint (or any image editor), cut out the robot, leaving a white patch in its place — save.</p><p><strong>2. Extract the object</strong><br>Upload the original image to Banana Pro in a <em>new chat</em> (important: the tool tends to drag old context along from previous sessions into new prompts). Prompt: “Extract the robot and wheelbarrow. Provide the extracted image as an artifact with a transparent background” — save as PNG.</p><p><strong>3. Flip the object</strong><br>Open the PNG in Paint or IrfanView etc., flip it horizontally, and save again as PNG — be sure to preserve the transparent background.</p><p><strong>4. Reassemble</strong><br>Upload both images (background with white patch + extracted, flipped robot) into yet another new chat. Two-phase prompt: “Fill in the background of the large image to match the rest of the image at the white area. Then place the robot on the white area and generate a new image. Leave the rest of the image unchanged.”</p><p><strong>5. Final touch</strong><br>“Change the text on the top sheet to the correct word ‘Invoice’.”</p><h4>Worked first try.</h4><figure><img alt="The correct assembled image — at last" src="https://cdn-images-1.medium.com/max/1024/1*dKuUrATWx194JirbxHJmEg.png" /><figcaption>The correct assembled image — at last</figcaption></figure><h3>Important!</h3><h4>Don’t overload a single prompt with issues to create or to solve. The more commands the model gets, the more likely it is it will fail.</h4><p><strong>In my experience that is good practice because</strong></p><p>a) <strong>it works</strong> (while multi-issue-prompts fail)</p><p>b) <strong>you can always start a fresh chat with the last image that was satisfying</strong>. And tell the tool what to do next.<br>As mentioned before: At least Banana Pro often fails because of old context that drifted into the next, fresh prompt!</p><h3>Fallback: A Potentially Universal Principle for GenAI Image Editing</h3><h4>The underlying principle here generalizes — and that’s really the core takeaway of this article.</h4><p>Complex image-editing prompts don’t fail because the models are bad. They fail because an image-generation LLM doesn’t <em>see</em> the image — it processes tokens. Once that sinks in, your thinking shifts automatically: not “How do I describe what I want the model to do?” but “How do I break this down into atomic steps that any model can handle reliably?”</p><p><strong>Inpainting</strong> and <strong>background removal</strong> are both techniques that virtually every model handles confidently — because they’ve been state-of-the-art for years. Combined, they form a robust workaround for tasks that are simply too complex as a single prompt.</p><p>“Thinking in fallbacks” — stepping back to proven, atomic operations instead of one sprawling instruction — likely applies well beyond this particular use case. It’s now firmly on my agenda for any situation where the Pareto principle stops being enough.</p><h3>Bonus: The Cover Image Effect</h3><p>For anyone curious about the cover image: “Please distort the image to look like it’s been crumpled up by hand — everything should still be roughly recognizable. If a new background is added, keep it a light grey.”</p><p>Sometimes the idea clicks and it works immediately. Sometimes you’ve bitten down and it takes considerably longer. Hopefully this article saves at least a few people the longer route — specifically <em>before</em> they’ve prompted themselves into the ground and given up.</p><h3>Disclaimer</h3><p>This text was completly written by hand and then translated by Claude into the English version u see.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc01f61098e5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rigel-computer-com/genai-image-tools-endless-prompts-zero-results-until-now-fc01f61098e5">GenAI Image Tools: Endless Prompts— Zero Results… Until Now!</a> was originally published in <a href="https://medium.com/rigel-computer-com">rigel-computer.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Local LLM Setup with MCP Server: Automated Document Processing — A Concrete Use Case]]></title>
            <link>https://medium.com/rigel-computer-com/local-llm-setup-with-mcp-server-automated-document-processing-a-concrete-use-case-3835f110c556?source=rss----b6ee5154c3b2---4</link>
            <guid isPermaLink="false">https://medium.com/p/3835f110c556</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[llama-cpp]]></category>
            <category><![CDATA[mcp-server]]></category>
            <category><![CDATA[genai]]></category>
            <dc:creator><![CDATA[Christoph Schweres]]></dc:creator>
            <pubDate>Sat, 15 Aug 2026 20:15:57 GMT</pubDate>
            <atom:updated>2026-08-17T18:16:53.592Z</atom:updated>
            <content:encoded><![CDATA[<h4>Part I: All invoices, ready for accounting. Regardless of format or language. Run once, get a CSV. Done. 100% data-secure.</h4><figure><img alt="AI-generated picture of two servers — a llama.cpp and an MCP-Server — shaking hands in a server enviroment" src="https://cdn-images-1.medium.com/max/1024/1*Hbpguk4GI76d4Afv0Yk9PA.jpeg" /><figcaption>A classic handshake — well, in a more strange sujet. Of course AI-generated, first some ideas by REVE, then some additional fixes with Banana Pro</figcaption></figure><h3>tl;dr:</h3><h4>From idea to working automation in four steps:</h4><ol><li>Set up an MCP server and test the connection</li><li>Connect the MCP Server to the Frontend</li><li>Implement real extraction</li><li>Automatic batch processing with CSV output</li></ol><p><strong>Everything local, everything reproducible. <br>And above all: maximum security through containerization, bind-mount to exactly one writeable output-directory, read-only for everything else reachable on the host.</strong></p><blockquote><strong><em>This article was written based on a self-built llama.cpp setup</em></strong><em> — if that’s your environment, everything here applies 1:1. <br>If you’re running </em><strong><em>Ollama</em></strong><em>: no problem, the approach works identically. Ollama exposes the same OpenAI-compatible API; </em><em>temperature: 0.0 and JSON schema enforcement work exactly the same way. The only change needed is the API URL in your config. <br>Other local LLM servers like </em><strong><em>LM Studio</em></strong><em> or </em><strong><em>Jan</em></strong><em> follow the same principle — as long as an OpenAI-compatible API is available, the MCP server runs against it.</em></blockquote><h3>The Problem: LLMs Don’t Calculate. They Gamble.</h3><p>To be concrete and blunt: for 1×1 you can be fairly confident the answer is 2 — that’s probably well-represented in the training data. For the square root of 12,034,223… you’d be better off reaching for a calculator — or standardized tools. The reason: what’s being computed is the next most probable token. The word “computed” appears in that sentence, but it has nothing to do with arithmetic. LLMs don’t see numbers. They see tokens — exclusively.</p><h4><strong>Use case:</strong></h4><p>Use a local LLM running under llama.cpp to process documents like invoices and timesheets. The documents are already available as Markdown extracts — I’d built and used a local Python script for that previously (link to the repo with the extraction script below [1]).</p><h4><strong>First approach: Pure LLM processing</strong></h4><p>The context and KV cache problem surfaced quickly: 11 documents were already too many for a Qwen 2.5 14B weight. All kinds of effects started appearing, including the “lost-in-the-middle” problem with larger contexts — values in the “middle” simply get swallowed.</p><p>A workaround was possible, but only with a prompt half a DIN A4 page long… which is hardly practical (the whole point of GenAI tools is to save time), and on top of that: inconsistencies remained.</p><h4><strong>Idea: Iteration</strong></h4><p>Instead of feeding all documents to the LLM at once, process them one by one. That’s technically doable with an attached Python script — but the core problem remains: LLMs don’t calculate. They gamble. That’s exactly why Karpathy coined the prompt in his brilliant video: “USE CODE!” — working with ChatGPT 4o.</p><p>Clear problem: a local LLM doesn’t have that. Not out of the box.</p><h4><strong>Next idea: Set up an MCP server in the local setup.</strong></h4><p>The image I’m currently using already ships with an “MCP Server” menu item in the frontend — untested until now, for lack of need and because there’s always _somewhat_ of a time shortage when it comes to properly exploring the many corners of the GenAI world. Or, to quote Karpathy again: “It’s a good time to be around.”</p><blockquote>So: another opportunity to learn. And at the same time, to finally get the tedious invoice-flipping for accounting off my plate for good — not bad.</blockquote><blockquote><strong><em>Note: The entire project, including llama.cpp, runs exclusively under Docker in containers.</em></strong></blockquote><h3>MCP in a Nutshell</h3><p>MCP (Model Context Protocol) is an open protocol that defines how LLMs call external tools and process their results. Nothing more, nothing less.</p><p>The AHA moment comes when you read through the generated code for the first time: the MCP server talks to the LLM exactly like a normal chat — with a system prompt, temperature, and all the familiar parameters.</p><pre>SYSTEM_PROMPT = (<br>    &quot;You are a precise data extraction assistant for invoices. &quot;<br>    …<br>    &quot;Respond EXCLUSIVELY in the required JSON format.&quot;<br>)</pre><p>The system prompt defines the task, the parameters control the behavior. The last line — “EXCLUSIVELY in the required JSON format” — is the critical one: it prevents rambling, explanations, comments, or any other noise. Only then is the output directly processable by Python, without any post-processing.</p><p>Anyone who wants to go deeper into the fundamentals of MCP is welcome to explore — or just ask an LLM. This article, however, is about the <strong>practical path</strong>.</p><h3>MCP for the Concrete Use Case</h3><p>During research — with plenty of side streets worth exploring — a few things became clear:</p><p><strong>YES</strong>, it is worth setting up a dedicated MCP server for highly specialized projects. Keyword: temperature = 0. When exact numbers and exact facts are what you need.</p><p>And: <strong>NO</strong>, reaching again for non-deterministic, probabilistic tools to solve this (keyword: “agents”) won’t cut it — not nearly reliable enough for a use case that depends on precise figures.</p><p>The next approach — another one of those interesting side streets — is the mcp-code-interpreter, which I&#39;m already looking into more closely. A dedicated article will follow.</p><figure><img alt="Flow diagram of the hole procedure, a construct from Gemini" src="https://cdn-images-1.medium.com/max/1024/1*QPox9t8-wnGVSlbmmKTUEw.png" /><figcaption>Flow diagram of the hole procedure, a construct from Gemini</figcaption></figure><h3>Setup: What Was Already Running, What Needed to Be Added</h3><p>The foundation — llama.cpp in a Docker container, frontend via the llm_manager, RTX 4070 Ti Super with 16 GB VRAM — was already in place for months. <br><strong>What&#39;s new is a second container: the MCP server.</strong></p><pre>Browser (Port 7642)<br>    └─&gt; llm_manager [FastAPI frontend]<br>            └─&gt; llama.cpp container [Port 7641, OpenAI API]<br>            └─&gt; MCP server [mcp_accounting, Port 7660]<br>                    └─&gt; llama.cpp API  ← for extraction</pre><p>The MCP server is a lean Python process. It registers itself with the frontend, the LLM sees its tools, and decides on its own when to call them.</p><h4>Why llama.cpp + MCP Isn’t Trivial</h4><p>The frontend needed to be extended for MCP — five changes in backend.py that together make the protocol actually work:</p><p><strong>Tool schema injection</strong> — Minja (the template renderer in llama.cpp) renders parameter schemas incorrectly. The model would never see the correct parameter names. The fix: write tool names and parameters compactly into the system prompt. Minimal token overhead, maximum clarity.</p><p><strong>Tool call extraction</strong> — Not every model returns tool calls in the native format. Some write them as free text with &lt;tool_call&gt;...&lt;/tool_call&gt; or as a JSON block. The parser recognizes all known formats and normalizes them.</p><p><strong>Tool choice</strong> — tool_choice: auto is set when tools are present. The LLM decides for itself whether to call a tool or respond directly.</p><p><strong>SSE wrapping</strong> — The frontend expects SSE streaming. But llama.cpp returns a single complete response for tool calls. The proxy repackages it as SSE chunks after the fact — the frontend can’t tell the difference.</p><p><strong>Description stripping</strong> — Tool descriptions are verbose and cost tokens without adding value to dispatch. The proxy strips them before forwarding. Only parameter names are kept.</p><p>In practice: the MCP server starts, the frontend discovers the server via the chat input, the LLM sees the tools. It works!</p><p>Ok, it didn’t go quite as smoothly as that sounds — but so you don’t have to work through the same headaches, that’s exactly why I wrote this article.</p><h3>Step I: Test the Connection</h3><p>Before implementing real invoice extraction: check whether the chain is actually standing. The first normalize_invoice() tool simply returns what it received — a connection test, nothing more.</p><pre>@mcp.tool()<br>def normalize_invoice(md_text: str) -&gt; str:<br>    &quot;&quot;&quot;Extracts invoice fields from Markdown text.&quot;&quot;&quot;<br>    return json.dumps({<br>        &quot;status&quot;: &quot;ok&quot;,<br>        &quot;received&quot;: len(md_text),<br>        &quot;note&quot;: &quot;Connection working — extraction follows in Step II&quot;<br>    })</pre><p>Result in the frontend: Connected · 1 tool · Capabilities exchanged successfully. The LLM called normalize_invoice, received 125 characters, stub response returned correctly. The chain is standing.</p><p><strong>This step is non-negotiable.</strong> Don’t skip it under any circumstances. To use one of those tedious car analogies: check the tyre pressure before setting off on holiday. Skipping it could have unexpected consequences…</p><p>Errors in the server, the network, the transport protocol, or the frontend — this first test will surface them all.</p><h3>Step II: Connect the MCP Server to the Frontend</h3><p>The MCP server is running — now the frontend needs to know about it. This doesn’t involve config files or restarts; it’s handled directly through the llama.cpp frontend.</p><figure><img alt="llama.cpp frontend sidebar" src="https://cdn-images-1.medium.com/max/298/1*72VDoGTHV4uDxlk2oKptUA.jpeg" /><figcaption>llama.cpp frontend sidebar</figcaption></figure><p>In the llm_manager frontend, click “MCP Servers” in the sidebar, then select “Add new Server” in the panel on the right and enter the MCP server URL:</p><pre>http://mcp_buchhaltung:7660</pre><p>The frontend picks up the URL, establishes the connection, and runs the capability handshake. If everything is in order, the server appears in the MCP server list with a green indicator — if not, it turns red and the error message is actually quite informative.</p><figure><img alt="Sucessfully connected “buchhaltung”-MCP-Server" src="https://cdn-images-1.medium.com/max/584/1*7D9eW7z88jzq0O7m5YVmhg.jpeg" /><figcaption>Sucessfully connected “buchhaltung”-MCP-Server</figcaption></figure><p><em>For Ollama or LM Studio users: the principle is identical — only the internal Docker network address differs. Depending on your setup, simply use </em><em>localhost plus the configured port.</em></p><h3>Step III: Real Extraction</h3><p>Now normalize_invoice() gets substance. The tool call from the LLM lands in the MCP server, the server calls the llama.cpp API internally — with a precise extraction prompt and enforced JSON schema.</p><pre>SYSTEM_PROMPT = (<br>    &quot;You are a precise data extraction assistant for invoices. &quot;<br>    &quot;Extract: supplier, invoice_number, date (YYYY-MM-DD), &quot;<br>    &quot;net, vat, gross (numbers only), currency (ISO code: EUR, USD, CHF). &quot;<br>    &quot;Suppliers label amounts differently — interpret them correctly. &quot;<br>    &quot;Respond EXCLUSIVELY in the required JSON format.&quot;<br>)<br> <br>@mcp.tool()<br>def normalize_invoice(md_text: str) -&gt; str:<br>    &quot;&quot;&quot;Extracts invoice fields from Markdown text and returns structured JSON.&quot;&quot;&quot;<br>    payload = {<br>        &quot;model&quot;: &quot;local&quot;,<br>        &quot;messages&quot;: [<br>            {&quot;role&quot;: &quot;system&quot;, &quot;content&quot;: SYSTEM_PROMPT},<br>            {&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: f&quot;Invoice:\n\n{md_text}&quot;},<br>        ],<br>        &quot;temperature&quot;: 0.0,<br>        &quot;response_format&quot;: {&quot;type&quot;: &quot;json_object&quot;, &quot;schema&quot;: JSON_SCHEMA},<br>    }<br>    response = requests.post(LLAMA_API_URL, json=payload, timeout=60)<br>    data = json.loads(response.json()[&quot;choices&quot;][0][&quot;message&quot;][&quot;content&quot;])<br>    # deterministic: plausibility check no LLM does reliably<br>    if abs(data[&quot;gross&quot;] - (data[&quot;net&quot;] + data[&quot;vat&quot;])) &gt; 0.02:<br>        data[&quot;warning&quot;] = &quot;gross ≠ net + vat&quot;<br>    return json.dumps(data, ensure_ascii=False)</pre><p>temperature: 0.0 — maximum determinism. response_format with JSON schema — the model is not allowed to invent the format. And then the decisive part: the plausibility check. gross = net + vat — Python computes that, not the LLM. That&#39;s exactly what Karpathy meant.</p><h3>Steps IV a) + IV b): Batch Processing and CSV Output</h3><p>Directly in one flow, in a single script. One sentence in the chat. The rest happens automatically.</p><p><strong>Two invoices as test objects</strong></p><p>Two sample invoices were generated with Claude Code, so they can be tested neutrally — and cited here without issue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*4mgQKAf6hLKKZcad55rW-g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*GUCoQMzkYPC49AbaYVeRrQ.jpeg" /><figcaption>Original German versions of the test-examples provided by Claude Code</figcaption></figure><p>To avoid confusion between the MCP server’s workspace and the LLM’s workspace: the LLM naturally remains the root level, so the documents to be processed should be hosted there as well. In my case, I simply created a /invoices_md directory, dropped the invoices in — and off it goes.</p><p>Results are stored in the appropriate MCP folder, simply because the MCP server only knows its own workspace inside the Docker container and has no idea — nor should it — what else exists beyond that. The folder is simply called output:</p><pre>LLM root<br>|  - invoices_md<br>|  - mcp<br>|    -- accounting<br>|       -- output</pre><p>Here’s the associated snippet:</p><h4>IV a)</h4><pre>@mcp.tool()<br>def process_invoice_folder(<br>    folder_path: str = &quot;/app/invoices_md&quot;,<br>    output_csv: str = &quot;/app/output/extracted_invoices.csv&quot;,<br>) -&gt; str:<br>    &quot;&quot;&quot;Reads all .md files, extracts fields via LLM, writes CSV.&quot;&quot;&quot;<br>    files = sorted(f for f in os.listdir(folder_path) if f.endswith(&quot;.md&quot;))<br> <br>    results, errors = [], []<br>    for fname in files:<br>        md_text = open(os.path.join(folder_path, fname), encoding=&quot;utf-8&quot;).read()<br>        data = json.loads(normalize_invoice(md_text))  # call internally<br>        data[&quot;file&quot;] = fname<br>        if &quot;warning&quot; in data:<br>            errors.append(fname)<br>        results.append(data)</pre><h4>IV b)</h4><pre># CSV writing — Python, not the LLM<br>    with open(output_csv, &quot;w&quot;, newline=&quot;&quot;, encoding=&quot;utf-8&quot;) as f:<br>        writer = csv.DictWriter(f, fieldnames=[...], extrasaction=&quot;ignore&quot;, restval=&quot;&quot;)<br>        writer.writeheader()<br>        writer.writerows(results)<br> <br>    return json.dumps({&quot;processed&quot;: len(results), &quot;warnings&quot;: len(errors)})</pre><p>The user types: <em>“Process all invoices in the folder.”</em> The LLM decides: there’s process_invoice_folder() for that. The MCP server reads the folder, calls the LLM for each file, validates the sums, writes the CSV. The LLM reports: <em>&quot;2 invoices processed, no warnings. CSV available at /app/output/extracted_invoices.csv.&quot;</em></p><h3>The Result</h3><pre>file,supplier,invoice_number,date,net,vat,gross,currency<br>invoice_001_edv-buchversand.md,EDV-Buchversand GmbH,2024-0042,2024-01-15,49.0,9.31,58.31,EUR<br>invoice_002_mustermann-software.md,Mustermann Software AG,MS-2024-0117,2024-02-03,120.0,22.8,142.8,EUR</pre><p>Or, for better visability as a converted Excel-table:</p><figure><img alt="the CSV-Result as an Excel-table" src="https://cdn-images-1.medium.com/max/896/1*8hWoWkJterp9F28EX8lErw.jpeg" /><figcaption>the CSV-Result as an Excel-table</figcaption></figure><p>Two invoices, different formats — one classic German (“Nettobetrag”, “Umsatzsteuer”), one mixed German/English (“Subtotal excl. VAT”, “Total Amount Due”). Both correctly extracted, both with validated sums, currency as ISO code instead of symbol.</p><p>This is no coincidence — it’s prompt engineering combined with deterministic validation. The LLM handles the language work, Python handles the math.</p><figure><img alt="Two Server, a llama.cpp and an MCP, are waving goodby to tons of invoices" src="https://cdn-images-1.medium.com/max/1024/1*dKuUrATWx194JirbxHJmEg.png" /><figcaption>Two Server, a llama.cpp and an MCP, are waving goodby to tons of invoices</figcaption></figure><h3>What This Approach Demonstrates</h3><p>Local LLMs can do more than summarize text. With an MCP server as a tool layer, reproducible automations become possible — no cloud, no API costs, no accounting data leaving your own network.</p><p>The decisive step is a clear division of responsibilities:</p><ul><li><strong>LLM</strong>: language work — normalizing, structuring, recognizing different labeling conventions</li><li><strong>Python in the MCP tool</strong>: arithmetic, validation, file I/O, CSV output</li></ul><p>What Karpathy described with a cloud-based GPT-4o works just as well with a local Qwen 2.5 14B on an RTX 4070 Ti Super. You just have to build it.</p><h3>Pitfalls</h3><p><strong><em>(because they don’t appear in any tutorial)</em></strong></p><p>Five mistakes made along the way, so you don’t have to repeat them:</p><ol><li><strong>mcp package without a version ceiling</strong> — mcp 2.0.0 restructured the package; mcp.server.fastmcp no longer exists there. Pin: mcp[cli]&gt;=1.0.0,&lt;2.0.0</li><li><strong>host/port in </strong><strong>run() instead of the constructor</strong> — in mcp 1.x, network parameters belong in FastMCP(&quot;name&quot;, host=&quot;0.0.0.0&quot;, port=8000), not in run()</li><li><strong>Container port vs. host port</strong> — mcp_accounting:7660 is external. Inside the Docker network: mcp_accounting:8000</li><li><strong>Transport mismatch</strong> — the llama.cpp frontend uses streamable_http (POST). The server must run on the same transport, not sse</li><li><strong>Missing session ID</strong> — llama.cpp doesn’t implement session management. Fix: stateless_http=True</li></ol><h3>MCP — A Fine Thing</h3><p>This is genuinely a powerful way to build a really important use case for everyday work.</p><p>On the topic of “building”: there’s no dedicated repo for this specifically, since the whole thing is — naturally — a sub-project of my llama.cpp framework, which does have a repo, but — naturally — a private one for now.</p><p>I think the whole thing is described clearly enough that you can build it yourself (with the help of an LLM, which is exactly how I did it). If you’d still like the .py and/or README.md files — noprob, just drop me a line.</p><h3>Coming Up</h3><p>The subtitle says “Part I” for a reason — this is already in Phase II: a full MCP server that, via an attached mcp-code-interpreter image, provides an entire zoo of deterministic tools.</p><p>“Use code” in a local, data-secure setup via llama.cpp — from analyzing sensitive data to visualizations with Seaborn. Already running.</p><h4>Part II to follow.</h4><h4>[1] Here’s the Repo containing PDF-to-Markdown-extraction</h4><p>=&gt; simple python file, runs on any host without docker.</p><p><a href="https://github.com/Rigel-Computer/doc-extractor">GitHub - Rigel-Computer/doc-extractor: Lightweight Docker service to extract clean text from PDFs. Prevents context overflow when working with local LLMs. Browser UI + REST API. Built with FastAPI and pypdf</a></p><h3>Disclaimer</h3><p><strong><em>This text was written by hand in the beginning, it then was developed and created — and may have been revised — partially with the help of tools such as Claude, Claude Code, ChatGPT or Gemini (among other GenAI tools), based on a current project. The whole text then was reviesed again by hand.<br>Longer Code-Snippets are pure LLM-Code — so use it as always when dealing with AI generated content!</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3835f110c556" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rigel-computer-com/local-llm-setup-with-mcp-server-automated-document-processing-a-concrete-use-case-3835f110c556">Local LLM Setup with MCP Server: Automated Document Processing — A Concrete Use Case</a> was originally published in <a href="https://medium.com/rigel-computer-com">rigel-computer.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Containers: Which Ports Are Already Taken — and Which Are Still Free?]]></title>
            <link>https://medium.com/rigel-computer-com/docker-containers-which-ports-are-already-taken-and-which-are-still-free-427743696945?source=rss----b6ee5154c3b2---4</link>
            <guid isPermaLink="false">https://medium.com/p/427743696945</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker-compose]]></category>
            <category><![CDATA[docker-container]]></category>
            <dc:creator><![CDATA[Christoph Schweres]]></dc:creator>
            <pubDate>Mon, 10 Aug 2026 19:00:02 GMT</pubDate>
            <atom:updated>2026-08-10T19:04:01.744Z</atom:updated>
            <content:encoded><![CDATA[<h4>A simple Python script scans your workspace and answers the question</h4><figure><img alt="AI-generated picture to show the problem — and the solution as well the article is offering" src="https://cdn-images-1.medium.com/max/1024/1*RsBUtYv0ZGBTq75OCAXUtA.jpeg" /><figcaption>AI-generated picture to show the problem — and the solution as well the article is offering</figcaption></figure><h4>Just a script, run from the shell, solves this problem “which ports die I already use in the past???”</h4><h4>One file, one dependency, zero setup.</h4><h4>A quick rundown of how it came together — from the need, to the idea, to the implementation:</h4><p>You’ve got three projects running, maybe five. Each with its own Compose file, its own services, and somehow you’ve completely lost track of which ports you’ve handed out over the months and years. docker ps only shows running containers, not idle ones. When you try to spin up a new container and hit &quot;address already in use&quot; or similar, you go nuts trying to figure it out. Just the warning, no info on which of your many containers is actually sitting on that port.</p><p>The classic fix is a table somewhere, a wiki page, comments in the Compose files. Works… in theory. In practice, updating the table gets skipped — if one was ever created in the first place.</p><p><strong>But the data is already there.</strong> Every port mapping lives in the Compose file associated with that container, in YAML, complete — just scattered across a dozen directories.</p><p>port_scan.py simply reads those files. It walks a directory tree, identifies Compose files by their services key, and extracts all external port mappings into a Markdown table, sorted by port number, written to port_map.md. Malformed YAML throws a warning to stderr but doesn&#39;t abort the run.</p><p>That core idea was the foundation — turn it into a .py, get it out here and on GitHub.</p><h4>Second idea!</h4><p>Then I had an additional idea: Why not a separate table listing all discovered Compose files alphabetically. <br><strong>Two overviews in one. The icing on the cake.</strong></p><p>That second table might actually be the more useful of the two, because it shows what exists, not just what’s running — and you can copy the path directly. Old, long-forgotten projects resurface. You might even delete something.</p><pre>pip install pyyaml<br>python3 port_scan.py /path/to/projects</pre><p>The output:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*tTrJ0xQm_bCIbg65iGXPrg.jpeg" /></figure><p>Below that, the directory overview. That’s it.</p><p>The only dependency is PyYAML — a Python library for reading YAML files that doesn’t ship with the standard installation. The script checks for it on startup and prints a clear message if it’s missing. Install it once, forget about it.</p><p>Runs on macOS and Linux out of the box. On Windows too — including PowerShell, which usually likes to make life difficult with this kind of thing. Just use python instead of python3, everything else is identical.</p><p>Not every problem needs a framework. This one just needed a file that can read YAML. The rest is output.</p><p>Code on GitHub: <a href="https://github.com/Rigel-Computer/docker-port-map"><strong>docker-port-map</strong></a>. One file, one dependency, MIT license.</p><p><a href="https://github.com/Rigel-Computer/docker-port-map">GitHub - Rigel-Computer/docker-port-map: Scans a directory tree for Docker Compose files and lists all external port mappings - plus a directory overview to surface forgotten projects.</a></p><p>A few additional notes — including some security considerations worth knowing about — are in the repository’s README:</p><p><a href="https://github.com/Rigel-Computer/docker-port-map/blob/main/README.md">https://github.com/Rigel-Computer/docker-port-map/blob/main/README.md</a></p><h3>Disclaimer</h3><p><strong><em>This text was written by hand, it then has been revised — partially with the help of tools such as Claude, Claude Code, ChatGPT or Gemini (among other GenAI tools), based on a current project.<br>Longer Code-Snippets are pure LLM-Code — so use it as always when dealing with AI generated content!</em></strong></p><p><em>After all the original German version was translated to English by Claude</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=427743696945" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rigel-computer-com/docker-containers-which-ports-are-already-taken-and-which-are-still-free-427743696945">Docker Containers: Which Ports Are Already Taken — and Which Are Still Free?</a> was originally published in <a href="https://medium.com/rigel-computer-com">rigel-computer.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t Nuke Your Git Project Over One Missing File]]></title>
            <link>https://medium.com/rigel-computer-com/dont-nuke-your-git-project-over-one-missing-file-d1962ef5a51f?source=rss----b6ee5154c3b2---4</link>
            <guid isPermaLink="false">https://medium.com/p/d1962ef5a51f</guid>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[version-control]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[git-show]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Christoph Schweres]]></dc:creator>
            <pubDate>Mon, 20 Jul 2026 15:40:12 GMT</pubDate>
            <atom:updated>2026-07-20T15:40:10.902Z</atom:updated>
            <content:encoded><![CDATA[<h4>&#39;git show’ restores a deleted file straight from history — no checkout, no detached HEAD, no risk to your current work.</h4><figure><img alt="AI-generated symbolic picture showing a magician casting “git show” from a cylinder" src="https://cdn-images-1.medium.com/max/1024/1*6-8Fmc6Kw8Ke7AY9ww6scA.jpeg" /><figcaption>AI-generated symbolic picture showing a magician casting “git show” from a cylinder</figcaption></figure><h3>Introduction:</h3><h4>Almost Walked Into the Trap</h4><p>I use Git in a pretty linear way, most of the time. Commit, push, done. Barely any branching workflows or parallel feature branches. Branches are useful, sure, but they also come with serious potential for chaos: set the wrong commit on the wrong branch once, and it turns into a real treat every single time. And the fiddling around with cherry-pick... thx, but no thx — not unless it&#39;s genuinely necessary, or someone else on a bigger project with outside collaborators demands it.</p><p>I already have enough projects running in parallel that just keeping them all straight in my head is demanding enough. Add different branches on top of that for every single project… and then come back to it after a two-month break… <strong>thx… but no thx</strong>!</p><p>What I actually need is a reliable backup of my work, full history included. And, of course, the option to publish repos on GitHub right away. That part works great. The commit history stays clean, and the commits themselves are as descriptive and as short as possible.</p><blockquote>Works great — until the moment a file goes missing… yeah.</blockquote><p>That’s exactly what happened to me. A setup script I’d run once and then never needed again — save-master-key.py — was suddenly gone. Probably deleted by accident at some point, committed, and then work just moved on.</p><h4>The all-too-familiar reflex — and the hesitation. Thankfully.</h4><p>My first instinct: pull the file back from an old commit, targeted, with checkout &lt;hash&gt; -- file. Not a rollback of the whole project — just this one file, obviously. But something about it didn&#39;t sit right with me: a while back, a similarly targeted move had gone sideways on me, badly. The version of the file I wanted did show up afterward — but along with it, other, newer files had suddenly vanished too. Just perfect. Really.</p><p>I’d probably reset more than I meant to — the exact details of that mess are gone from memory, but the cursing in front of the screen isn’t… and neither is the moment of doing the math on how many days of work I’d have to redo — if there hadn’t, by sheer luck, been a physical backup sitting on the drive. Without it, the project would have simply landed back at where it stood four days earlier.</p><h4><strong>Once bitten, twice shy.</strong></h4><p>That experience is exactly what made me suspicious ever since — not because I don’t know what the individual commands do in principle, but because I’ve learned that even a command that looks targeted and harmless can hold a few nasty surprises in practice, ones you didn’t see coming. So: stop and think, or better, do some research first, on whether there’s a way to get this done with zero risk — instead of “it’ll probably be fine” and crossed fingers as the entire strategy.</p><h4>Transition</h4><p>In the end, I landed on a solution that comes with zero risk — and along the way, took a closer look at a more modern, “official” Git approach (git restore), which I&#39;ll introduce toward the end of the article too, for anyone who wants to go a bit deeper — and who runs the same plain, linear style of Git that I do.</p><h3>Find, View and Restore a File…</h3><h4>… indeed as simple and risk-free as shown below:</h4><h4>Why git checkout &lt;hash&gt; Is the Wrong Tool Here</h4><p>git checkout &lt;old-hash&gt; — with nothing else specified — rolls the entire repo back to the state it was in at that point. Everything that&#39;s happened since — new code, bug fixes, config changes — is gone. Not in a trash bin somewhere. Gone. On top of that, you land in what&#39;s called a &quot;detached HEAD&quot; state, technically standing on no branch at all — which is stressful enough on its own, especially if you notice too late (say, when &quot;main&quot; is missing from the prompt in Git Bash). Then the whole circus starts over again somewhere else.</p><blockquote><strong>Anyone unsure of their way around Git falls into exactly this trap: trying to rescue one file, and wiping out the current state in the process.</strong></blockquote><p>Now, checkout isn&#39;t a command with just one job — that&#39;s actually part of the problem. Historically, checkout does several pretty different things at once: switch branches, jump to an old commit, or just pull a single file out of a commit:</p><pre>git checkout &lt;hash&gt; -- filename.py</pre><p>With a path after the --, the command behaves completely differently: it pulls <strong>only that one file</strong> from the specified commit and stages it. HEAD and every other file stay untouched. No rollback, no detached HEAD. No mess to clean up afterward.</p><p>This isn’t just a beginner problem — even distracted veterans trip over it: forget the -- filename.py part just once when running checkout, and by the time you notice, the damage is already done. That exact ambiguity is what eventually led Git&#39;s maintainers to introduce a dedicated, unambiguous command for restoring files: git restore. More on that shortly — but one step at a time.</p><p>For now, the key takeaway is this: it’s entirely possible to do this without checkout, without staging, without touching the index at all. And these are the three steps I haven&#39;t forgotten since.</p><h3>The Gamechangers</h3><h4>Gamechanger a) — You Don’t Need to Roll Back the Whole State</h4><p>Git doesn’t just store snapshots of the project — it stores the complete history of every single file. Which means: you can search specifically for one file’s history without touching anything else.</p><p>And the best part: every command that follows is entirely read-only. No checkout, no changes to the working directory, no risk.</p><h4>Gamechanger b) — Tracking the File Down in History</h4><pre>git log --oneline --all --name-status -- filename.py</pre><p>This command shows every commit the file was ever part of — including a status letter:</p><p><strong>A — Added (created in this commit)</strong></p><p><strong>M — Modified (changed in this commit)</strong></p><p><strong>D — Deleted (removed in this commit)</strong></p><p>The output looks something like this:</p><pre>db58ab5  IMAP server entry added ... <br>D    save-master-key.py<br><br>83c9c13 another commit<br>M    save-master-key.py<br><br>c43dda6  initial commit<br>A    save-master-key.py</pre><p>Immediately clear: the file was created in c43dda6, and deleted in db58ab5. Grabbing the most recent commit would have been exactly the wrong move — the file no longer exists there. Grabbing the oldest one is correct.</p><blockquote><strong>Here’s the original screenshot =&gt;</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/1*8TlAGEPVOIdH7XmlfAUY7w.jpeg" /></figure><p><em>(the screener were converted in colors for better readability)</em></p><h4>Gamechanger c) — Display, Copy, Recreate</h4><pre>git show c43dda6:save-master-key.py</pre><p>This prints the file’s complete content at the time of that commit, straight to the terminal. No checkout, no change to the working directory — just reading.</p><figure><img alt="The content of the wanted file, you just see the first 4 lines — of course" src="https://cdn-images-1.medium.com/max/604/1*zsJrLXFCyDAjUtHJg3e4yQ.jpeg" /><figcaption>The content of the wanted file, you just see the first 4 lines — of course</figcaption></figure><p>Copy the content, create a new file, paste it in, save. Done. The file is back, and the rest of the project stays untouched.</p><h4>Gamechanger d) — One Line, No Copy-Paste</h4><pre>git show c43dda6:save-master-key.py &gt; save-master-key.py</pre><p>The &gt; redirect writes the output straight into the file. No scrolling through the terminal, no manual copying, no need to open an editor. The file simply exists again — in the right place, with the right content.</p><p>If the file still exists and you just want to overwrite it: &gt; does that silently. No risk, as long as you&#39;ve got the right commit hash — and you already know it from step b).</p><p>For the vast majority of cases — especially single text files like scripts, configs, or notes — this is already the simplest, most uncomplicated solution. No extra jargon required, no interaction with the staging area or the index. Just: look at the file, write the file.</p><h3>Bonus Tip: Show Only the Deletion Commit</h3><p>For anyone who wants to be even more precise:</p><pre>git log --oneline --all --diff-filter=D -- filename.py</pre><p>--diff-filter=D filters down to deletion commits only. A (Added) and M (Modified) work the same way. Handy when a file has a long history and you&#39;re only after one particular type of change.</p><h3>And finally — as promised — the turn toward git restore.</h3><p>git show &gt; file has one small cosmetic flaw: Git itself never finds out about it. It&#39;s pure text output, redirected into a file — completely disconnected from Git&#39;s tracking system, technically speaking. It works beautifully, but it&#39;s not the path Git officially designed for this exact purpose.</p><p>Since Git 2.23 (2019), there’s a dedicated command for it: git restore. It was introduced because checkout — as described above — historically crammed too many unrelated jobs into a single command. The split since then is cleaner:</p><ul><li>git switch → exclusively for switching between branches</li><li>git restore → exclusively for restoring files</li></ul><p>The command for our case looks like this:</p><pre>git restore --source=c43dda6 -- save-master-key.py</pre><p><strong>And here’s the exact point where I got stuck myself:</strong> after the -- comes a filename — but nothing tells you whether that means a plain filename, a relative path, or what happens if the file used to live in a subfolder. A quick clarification, for anyone who hit the same wall I did:</p><ul><li>The path is <strong>always relative to the repo’s root directory</strong>, not to whatever folder you happen to be standing in.</li><li>If the file lived directly in the root, the plain filename is enough: save-master-key.py.</li><li>If it lived in a subfolder, say scripts/setup/, you need the full relative path: scripts/setup/save-master-key.py.</li><li>You don’t have to guess this path: it was already sitting right there in the output of git log --name-status from step b) — Git always shows the full path as it existed at the time of that commit, not just the bare filename.</li><li>If you’re still unsure, take a look at the complete file tree of the commit in question: git ls-tree -r --name-only c43dda6 lists every file with its full path, exactly as it existed in that one commit.</li></ul><p>One more thing worth noting: git restore --source=... puts the file into your working directory, but <strong>doesn&#39;t stage it automatically</strong>. If you want it commit-ready right away, add --staged:</p><pre>git restore --source=c43dda6 --staged --worktree -- save-master-key.py</pre><p><strong>git show vs. </strong><strong>git restore, side by side:</strong></p><p>git show ... &gt; filegit restore --source=...Git trackingIgnored entirely, pure text outputFile is correctly restored as a Git objectBinary files (images, compiled files)Can theoretically run into issues via shell redirectionWorks reliably, since Git copies it internallyStagingYou have to do it yourself with git addOptional, handled directly with --stagedBeginner-friendlyVery direct: &quot;show me the content, write it to a file&quot;Requires understanding --source, path relative to root, index vs. working directoryResult in Git&#39;s historyIdentical — the content points to the same blob object at the next commitIdentical</p><p>In short: git restore is the technically cleaner, &quot;official&quot; solution — but it comes with an extra term to wrap your head around (--source), plus the question of the correct path. For single text files where speed matters, git show &gt; file stays the more pragmatic route. But if you want to do it &quot;properly,&quot; or you&#39;re recovering a binary file, restore is the better fit.</p><h3>Conclusion</h3><h4>These steps cover the vast majority of “oh no, the file’s gone” situations:</h4><ol><li>git log --oneline --all --name-status -- file — track down the history, identify the deletion commit</li><li>Take the commit <em>right before</em> the deletion commit</li><li>git show HASH:file &gt; file — restore the file directly, one line, done</li><li>Optional, for the more advanced or for binary files: git restore --source=HASH -- file</li></ol><blockquote><strong>Everything is read-only except for the very last step in each — and that one only ever writes to that one file. Nothing can go wrong.</strong></blockquote><blockquote><strong>And you don’t need branches, or a deep understanding of Git internals — just a handful of targeted commands.</strong></blockquote><p><em>This article is ment as a practical tools for developers who use Git as a backup — not as a day job.</em></p><h3>Disclaimer</h3><p><strong><em>This text was written by hand in the beginning, it then was developed and created — and may have been revised — partially with the help of tools such as Claude, Claude Code, ChatGPT or Gemini (among other GenAI tools), based on a current project.<br> Code-Snippets are pure LLM-Code — so use it as always when dealing with AI generated content!</em></strong></p><p><em>After all the original German version was translated to English by Claude</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1962ef5a51f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rigel-computer-com/dont-nuke-your-git-project-over-one-missing-file-d1962ef5a51f">Don’t Nuke Your Git Project Over One Missing File</a> was originally published in <a href="https://medium.com/rigel-computer-com">rigel-computer.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>