Posts in Linux (20 found)
Farid Zakaria 2 days ago

Your phone is a Kubernetes node

tl;dr tabernetes turns browser tabs into real Kubernetes nodes. Open tabernet.es on your phone to join my live cluster: the scheduler assigns your tab a pod, and it runs on a Linux kernel booted inside the browser . Ever since I came across @_pi0_ ’s work on unkernel.dev , it’s been a chaotic brain-gasm of ideas about running Linux in unconventional places now that it’s economical and practical enough to do even on a phone. 1 In my last post I introduced tabc , a container runtime that runs each container in a browser tab. Feedback to the project and the post were a mix of curiosity and a surprising amount of skepticism about whether this could actually be useful. What can you do with a container runtime that treats every browser tab as a potential host? How about create a massive botnet Kubernetes cluster out of people’s browsers? The genesis of the idea came from that flag in . It made me realize that any browser that opens a link could effectively become a host for a container. If you could coordinate multiple browsers, you could orchestrate them like a real cluster. By default that URL is only bound to localhost, so it’s meant for your own browser. Nothing in actually cares where the browser lives, though: put a reverse proxy or tunnel in front of it, send the link to a friend, and their laptop runs your container. If any browser can run a container just by opening a link, then any browser can become a node in “a cluster”. The one thing missing is a way to coordinate them all: a scheduler like Kubernetes . The end result is tabernet.es , a Kubernetes cluster made out of people’s browsers, phones included! Ready to join? 🧑‍🍳 Go ahead and scan it (or open tabernet.es/join ) and your browser will join my live cluster: That is a real k3s cluster, 2 and is just the phone in my hand with a browser tab open. 🤯 The cluster at the moment is configured with two services: one counting visits and another rendering Mandelbrot tiles. Once you join, your tab displays your pod’s live logs and you can even start a shell. Hit “Send a request” or “Render a picture” on the dashboard a few times and watch the tab start churning with activity. 3 As far as Kubernetes is concerned, a node is really just two things: a object in the API server advertising some capacity ( 1 CPU, 256 MiB of RAM, Ready ), and a that keeps renewing its lease and starts whatever pods the scheduler binds to it. There is no rule saying the kubelet has to run on the same physical machine as the workload it manages. 4 is a small Go agent sitting next to the API server that acts as a kubelet for every connected browser tab at once . On the Kubernetes side, a pod only needs a single line to land on a browser. Everything else is standard pod YAML: The agent also labels each with whatever the browser reports about itself: the OS platform, browser name, and device model when available. That means you can target specific devices with a normal : That pod will only run on Android phones. Swap in and you have the world’s first Kubernetes workload with a blue-bubble requirement. 5 In order to facilitate migrating workloads between the browser and the host, the pod is effectively split in two. The browser tab supplies the CPU and RAM. Everything else: the container image and volumes, stays on the server. This is the magic that makes it possible to migrate a stateful service like Redis between different phones without losing its state. 6 Did this further exploration change any of those eye-rolls from earlier? Obviously this is not how you should run production but it does make me think of leveraging possibly the world’s largest pool of disposable compute: people’s phones. 7 I continue to be fascinated with exploring what new possibilities arise when running the bedrock component, Linux, in the browser makes possible. It’s wild that a single URL is now enough to turn almost any device on earth into a sandboxed Linux compute node in a couple of seconds. Go join the cluster at tabernet.es , or check out the README if you want to spin up your own. Sometimes you build the ridiculous version just to see how far the abstraction actually bends. trynix.dev is another project of mine exploring Linux in the browser, which inspired some of my thinking here.  ↩ I chose to run k3s because it is a lightweight Kubernetes distribution and I’m running this on a small exe.dev instance.  ↩ Please be kind to the server. It is running on a tiny instance with 2 vCPUs and 8 GB of RAM.  ↩ Virtual Kubelet has been doing this for years to make managed cloud container services look like a single giant node.  ↩ I actually cringed making this joke.  ↩ unkernel.dev can actually snapshot a running Linux guest, serialize its memory, and resume it in a completely different browser tab but that requires a graceful shutdown.  ↩ This is reminiscent of distributed computing projects like Folding@home , where people’s personal devices contribute to a larger computational effort.  ↩ trynix.dev is another project of mine exploring Linux in the browser, which inspired some of my thinking here.  ↩ I chose to run k3s because it is a lightweight Kubernetes distribution and I’m running this on a small exe.dev instance.  ↩ Please be kind to the server. It is running on a tiny instance with 2 vCPUs and 8 GB of RAM.  ↩ Virtual Kubelet has been doing this for years to make managed cloud container services look like a single giant node.  ↩ I actually cringed making this joke.  ↩ unkernel.dev can actually snapshot a running Linux guest, serialize its memory, and resume it in a completely different browser tab but that requires a graceful shutdown.  ↩ This is reminiscent of distributed computing projects like Folding@home , where people’s personal devices contribute to a larger computational effort.  ↩

0 views
Jeff Geerling 4 days ago

Ansible Fails waiting for privilege escalation on Ubuntu 26

I've slowly been moving my servers from Ubuntu 22 and 24 to 26 this year, and noticed my Ansible automation starts failing if I have password protection for use: Apparently Ubuntu's been rewriting system utilities in Rust, and the version that ships on Ubuntu 26.04 has some incompatiblities with the I've used on servers for 20+ years.

0 views
マリウス 1 weeks ago

sysdeck: Raycast for Linux & BSD

In August I started working on a tool that I had been missing on my Linux desktop for a while, and for which I tried to build a somewhat glued-together mess of scripts that used bemenu to do what I wanted. At some point, though, I figured that I should probably try to put together an actual program, ideally using Zig and GTK. I wanted something that, just like bemenu (or rofi, or wofi, or whatnot), is basically a single popup that I can open with a hotkey and type a few letters into, to start an application, find a file, paste something I copied an hour ago, or convert a currency without opening a browser. Now, roughly three months later, I think I got it to a point where it’s worth publishing for others to try. It’s called sysdeck , and the way I describe it is the less bloated Linux/BSD equivalent of Raycast on macOS . Yes, I’m aware that the title of this post is clickbait. sysdeck isn’t a port of Raycast , it doesn’t share a single line of code with it, and it doesn’t come with an extension store or a subscription plan. However, Raycast is the name that probably most people know for this kind of tool, and considering that you’re here, reading this post, the title has obviously done its job. :-) sysdeck is supposed to be bound to a hotkey in your window manager. When you press it, a window appears in which you start typing, and sysdeck shows the matching entries from your applications, command-line executables, files and folders, browser bookmarks, clipboard history, open Sway windows, SSH hosts, Podman containers, text snippets and emoji. Return acts on the selected entry depending on its kind, meaning it launches an application, opens a file or copies a clipboard entry back. Holding Alt opens a context menu with further actions. Selected images are shown along with their EXIF data, and executables show their manual page underneath the list unless the extension is disabled in the config. Besides searching, sysdeck calculates and converts units and currencies using the library behind . It also controls running media players via MPRIS, connects and disconnects NetworkManager connections, and takes screenshots of a region, a window or the whole screen. If you configure a Gemini, OpenAI or Anthropic model, or any OpenAI-compatible server, it also sends your questions to an LLM. It keeps track of what you pick and ranks its suggestions accordingly so that it can show you recommendations that matter to your personal workflow. Oh, and its mode can replace in scripts, just like a single line in your Sway configuration lets it replace clipboard managers like . What I’d like sysdeck to become is the one command center from which you start, find and control everything on a Linux or BSD desktop, instead of the collection of single-purpose tools and scripts that a typical tiling window manager setup combines for launching programs, managing the clipboard, picking emoji and taking screenshots. As mentioned before, sysdeck is written in Zig, uses GTK4 for its interface and keeps its indexes in SQLite. One part of sysdeck ’s design that differs from most launchers that come with more advanced features is that sysdeck doesn’t use a background service. This is deliberate and will stay that way for the foreseeable future. Raycast, for example, keeps running at all times, so that its window can appear the instant you press the hotkey. sysdeck , however, only runs when you ask for it. Every press of the hotkey starts a new process that shows the window, does what you asked it to do, and exits as soon as you pick an entry, press Escape or switch to another window. Whenever one of its indexes is older than its configured maximum age, sysdeck rebuilds it on a separate thread while the window is open, and searches the existing index in the meantime. Similarly, even the clipboard history works without a resident process of its own, because starts a lightweight sysdeck process (that only loads the absolute necessary bits) for every copy. That run records the entry and exits again, all within 10 to 20 milliseconds. The price for all of this is a start time of about a tenth of a second on my machine, most of which GTK spends on building and presenting the window. In my opinion this “slight delay” is a fair trade over running a background service, because RAM has become expensive and hard to get, as I’ve outlined in my posts on holding on to your hardware and on dealing with faulty RAM , and I believe that a program that is on screen for only a few seconds at a time shouldn’t occupy memory and eat up CPU cycles for the rest of the day. sysdeck uses the library for conversions and can convert various units and currencies. You can configure custom web search engines and search them directly from sysdeck , which then opens your default browser with the results. sysdeck can be configured to index specific folders and include their contents in its search results. In disk mode it shows only those items. Using MPRIS, sysdeck can control media players and trigger actions such as play, pause, skip the current track or go back to the previous one, and it can also show what is currently playing from within its UI. sysdeck builds an index of all available emoji and lets you search for individual ones using keywords that make sense, so that you find the one you’re looking for, which it then copies to your clipboard on Return . Podman containers can be started and stopped from within sysdeck , which also shows the current status of each individual container. Anyway, sysdeck is open source under the SEGV License and its primary repository is on tty.fail , with a mirror on GitHub that also publishes pre-built binaries. The latest release includes builds for Linux on , , , and , each for glibc as well as musl, a musl build for , and builds for FreeBSD, NetBSD and OpenBSD. The binaries use your system’s GTK4 libraries. If you’d rather build sysdeck yourself, the README lists the packages you need on each of these systems. If a keyboard-driven command center that only runs when you need it sounds like your kind of thing, give sysdeck a try, and let me know how it works for you in the community channel . sysdeck on tty.fail sysdeck on GitHub

0 views
Farid Zakaria 2 weeks ago

beer.drv.drv.drv

Have you heard about dynamic derivations ? They are an experimental-feature in Nix that lets a derivation produce other derivations as its output. Why ? This lets you dynamically create your build graph, instead of having to know it all at evaluation time. It’s Nix’s answer to try and match the build speed of other build systems like Bazel or buck2 . There is not much written about dynamic derivations, and the documentation is sparse. I have written a few posts about them, so I sometimes get questions about them. Recently, I got a DM from Evan Porter over LinkedIn , the ultimate bug triaging network, about whether it is possible to query the deriver of a dynamic derivation to get the initial derivation. For dynamic derivations let’s say I have a .drv.drv file. This file outputs a derivation. Is it usually possible to query deriver the output derivation to obtain the initial derivation? They had tried it and got this: That should work. 🤨 Every path a build registers carries a , the that produced it, and a that came out of a build is still a path a build registered. When I tried it, it worked. 🤷 You will need in your to drive the samples in this post. Turns out, there is a case where you do get if you set on the producer. If the producer is content-addressed, its output path is not known until after the build, and Nix does not fill in the of a path that already exists. I filed NixOS/nix#16823 . The question though made me wonder how far back you can walk the chain of dynamic derivations. I had to try it. 😈 Let’s pick a fun example to see how far we can go. Here is a derivation that imitates the classic song 99 bottles of beer by producing a chain of derivations, each one outputting the next verse. 1 Tip A derivation whose output is a must set . In our example we are using a content-addressed derivation, but the same idea works with an input-addressed one, but it’s more work to compute the output path in the shell, unless you are using to do it for you with recursive Nix. The Nix side builds the first derivation and then follows once per bottle. While working through this example, I hit a bug in Nix that made me set on the top derivation. That is not necessary for a derivation that outputs a , but it works around the bug. I filed NixOS/nix#16830 . You might notice that we limit the number of beers to 50. Why 50 and not 99? Well, 50 is the most that fits in a store path. The maximum length of a store path is 211 characters . A derivation’s store path must include the suffix, and every in a chain adds four characters. The top derivation is named and if you add 51 s we get 208 characters. No room for any more beer. 🍻 Let’s build sing it. Fifty-one builds, one after another 2 . Evaluation knows about only the first one. Nix discovers each of the other 50 by building the one before it. 🍺 Back to the original question: can we query the deriver of the output derivation to get the initial derivation? Yes, we can. Let’s put in a loop that walks from the result all the way back to the top. We have the result plus 51 derivations. 💪 Since every derivation in the chain was built, every one has a build log, and you can ask any of them to sing its verse again. I’m very excited for the future of dynamic derivations. tomberek is leading a working-group to finalize the feature and are currently meeting weekly. With dynamic derivations, Nix will be able to compete with other build systems in terms of speed and flexibility and take over the world . Nix the world. The builder writes the next derivation by hand in ATerm , so there is no recursive Nix and no involved.  ↩ A single trivial build takes about 1.5 seconds on my laptop, so the cost of building 51 derivations is about 75 seconds largely due to substituter lookups. If you disable substituters , the builds take about 1.3 seconds in total.  ↩ The builder writes the next derivation by hand in ATerm , so there is no recursive Nix and no involved.  ↩ A single trivial build takes about 1.5 seconds on my laptop, so the cost of building 51 derivations is about 75 seconds largely due to substituter lookups. If you disable substituters , the builds take about 1.3 seconds in total.  ↩

0 views
Kev Quirk 2 weeks ago

2026 Self-Host User Survey Results

by Ethan Sholly Visualized results across 6,200+ responses to 2026's annual user survey. Read post ➡ Fascinating look at how people (like me) self-host their tech stack across the Internet. There were some surprises for me, like Debian being above Ubuntu, and Android being far more popular that iOS. Interesting reading if you like data. Thanks for reading this post via RSS. RSS is ace, and so are you. ❤️ You can reply to this post by email , or leave a comment .

0 views

Want to Rent an Internet Address at the White House?

Several staffers at the White House are using computers or mobile devices equipped with residential proxy services that render their internet address available for others to rent, security experts warned today. One of the proxy services is a Russian company whose founder’s web hosting business was ground zero for cyberattacks against election systems in Arizona and Illinois in 2016. The security firm Layer3 Intel said it detected multiple residential proxy nodes beaconing out from the internet address network reserved for the Executive Office of the President ( AS2650 ). Layer3 said the proxy activity was relatively persistent between October 5 to November 3, and that a review of the proxies available from AS2650 showed they exited from the White House network 236 times during that period. The proxy tracking company Synthient said on Twitter/X that the activity it saw coming from AS2650 was related to multiple Windows 11 installations of a service called Infatica , a proxy program that is often integrated into “free” mobile and desktop applications . Infatica’s founder Vladimir Fomenko is a Russian man whose hosting firm King Servers was home to six of the eight internet addresses used by Russia’s state security services to compromise databases for election systems in Arizona and Illinois in 2016. Synthient’s depiction of the frequency of outgoing proxy traffic from the dedicated White House network (AS2650). Click to enlarge. There are dozens of residential proxy providers with varying degrees of legitimacy, many of them based in China or Russia. But at a minimum, they all make it simple for customers to rent someone else’s internet address as a way to anonymize their web traffic or spoof their true location. From a website’s perspective, the traffic from a proxy network user appears to originate from the rented IP address, not from the proxy service customer. Layer3 Intel said the proxy exit nodes at the White House came from six internet addresses, on 26 of the 30 days, and that most of the activity happens in the evening, between 5 p.m. and midnight. Incredibly, Infatica was not the only proxy service that reportedly has been reselling access to White House internet addresses: Layer3 Intel said it found 28 separate residential proxy services were able to exit through this network . “This is public access,” the Layer3 Intel team wrote . “Anybody can obtain it by signing up to a public residential proxy service, paying a few dollars and sending requests through it. We did not selectively target this network or try to make our probes exit from it. We caught this by chance, simply by requesting global rotating access through these services.” The White House did not immediately respond to a request for comment. As detailed in several stories here over the past year, residential proxy services are a major source of unwanted and often malicious traffic, including account takeover and other cybercrime activity, advertising fraud, and mass content scraping for AI projects. They can also introduce serious security risks. In late 2025, it was discovered that cybercriminals were mass exploiting a widespread vulnerability in these services that allowed them to probe each proxy endpoint’s local network for vulnerable systems to infect with malware. In January 2026, dozens of proxy services were forced to patch their networks after Synthient Founder Ben Brundage showed how cybercriminals were abusing a vulnerability in these residential proxy services to seize control over devices inside the local networks of unsuspecting users. “Some of these resellers sell bandwidth for as low as 60 cents a Gigabyte, that means for less than a dollar you can gain access into some of the most confidential and trusted networks,” Brundage told KrebsOnSecurity. “The reseller ecosystem further enables this with any criminal able to buy access while skipping KYC [Know Your Customer] processes.” All too often, these proxy services are beaconing out from employee devices brought into the workplace. App developers can embed software development kits (SDKs) provided by the residential proxy networks to monetize their software, allowing them to receive a small amount of money on each installation. As risky as residential proxies can be for unsuspecting end users, they are all too commonly found on government and corporate networks. In a webinar in January 2026, the proxy tracking service Spur found residential proxies in nearly 300 government owned and operated networks, 318 utility companies, 166 healthcare companies or hospitals, and 141 companies in banking and finance. In a blog post earlier this year, the security firm Infoblox said it discovered that fully 65% of its customer base was querying one or more residential proxy related domains.

0 views
Blargh 1 months ago

Fixing SCHED_IDLE for real

I’ve wondered for years why tasks are allowed to preempt other tasks. Nobody seems to know, and I’ve not had the time to dig in and understand the Linux kernel scheduler better. But now I finally have my answer. I want to be able to run a CPU-heavy task in the background, without it stealing any CPU, any at all , from other processes. If you read various documentation, you’d be forgiven if this is as simple as . (and similar statements, e.g. from sched.7 ) But if you try that, you’ll find that it’ll actually preempt other processes, taking little but nonzero CPU. There’s a test program , if you want to try it out. I literally want it to take zero CPU. And not just against , but everything. There appear to be two places that minmax guarantees can show up. Settings with default values: If is enabled in the kernel, then this setting is the maximum limit how much CPU the real-time (RT) classes ( and ) can take, if there are other runnable processes. If is not enabled, then it’s a more hazy tunable, with no preemption guarantees. You can set to , to remove this limit. (though again, it’s not actually a limit unless is enabled) Actually, technically removes the limit, and just sets it to allow taking all of it. I’m not sure what the difference between unconstrained and “constrained to 100%” is. But that’s not the only limit, so even with , the problem is not fixed. So that’s the maximum that a RT process can claim during contention. But it’s not the minimum that other process can take. The non-RT processes are scheduled by the “fair scheduler”, and it gives a minimum of 50ms (50 million nanoseconds) per second that deadlined processes get to make progress in (I think I got the terminology right on that): If you set to , then realtime processes will never be interrupted by lower priority tasks. Note that if your kernel is in lockdown mode (from a SecureBoot), you can neither read nor write this setting. But doing this can make things get wonky. My wifi broke while I was testing this until I killed the test program. Presumably from my test preventing even interrupt handling from completing. So if running realtime classes without limits, you may want to ensure those CPUs have no IRQs assigned to them. Maybe changing in the kernel would fix that aspect, but I’ve not tried it. But this is just for realtime processes. This doesn’t prevent from preempting the default scheduling class, . And this is the main thing I want to do. The scheduler weighting for is not 0. It’s 3 . The default weight is 1024 . This means the supposedly IDLE tasks will always make progress. Another word for “make progress” is “selfishly steal CPU resources that could go to higher priority things”. This is a compile time constant, and you cannot change it at runtime. It’s not even as simple as changing the constant and recompiling, because the math doesn’t work (think divide by zero). You can also change weights between cgroups, but again not to zero: If my goal is not to let the realtime classes dominate, but to prevent from taking even a pinky toe, I’ve actually not solved anything at all. I’m not a kernel programmer. But I know a robot who is. After having it confirm my understanding of the various knobs mentioned, I just said `Make a patched kernel that allows 0 weighting for SCHED_IDLE against SCHED_OTHER. It went brrr for a while, and even wrote scripts to spin up a VM in qemu to test with, and finally produced a patch that adds a scheduler feature that ensures only gets scheduled if there’s nothing non- running. While I have done some minimal kernel coding manually, I’m not competent to evaluate the scheduler changes. But it does work. When you enable the feature, the thread instantly stops being scheduled. This is a patch on top of kernel 6.12.111, with scripts and stuff in this repo . A patched kernel tree in this branch , and the exact patch is this file . Well, in terms of understanding why it was broken, yes. But ideally this scheduler feature should be upstreamed. I need to understand it fully before I’d ask someone else to take a look. But if anybody reading this wants to take that on, go for it! Maybe one day our processes will finally live up to their promise. Kernel docs on realtime scheduler config differences Fixing SCHED_IDLE (it doesn’t)

0 views
David Bushell 1 months ago

D-Bus Hell

The time has come to address the elephant in the comments. Whenever my blog hits a place with a comments section the most predictable comment I see — besides some variation of “this idiot is utterly delusional!” † — is this one: lol I read the domain as “D-Bus Hell” Random commenter I’d prefer if they focused on my actual blog content but I can’t get annoyed at people for seeing the wrong words. There’s a reason has a hyphen, and who can forget Susan’s party? I’d probably read “D-Bus Hell” myself, if I forgot my own name. † Why is Hacker News like that? But for the sake of the record I would like to point you to your nearest WHOIS tool: Don’t ask me what I was doing at ten minutes to midnight registering a domain name. Is there a more appropriate time? The significant point is the date: May 2004. That was 22 years ago. Now if I may direct your attention to the D-Bus project Wikipedia page : Release November 2006; 19 years ago D-Bus - Wikipedia I rest my case. The D-Bus project doesn’t even have it’s own domain name, for crying out loud! So next time you see a post about D-Bus, maybe drop a comment saying: “reminds me of that dummy with a blog and a giant logo spelling out his full name!” Or something to that effect. (I’m joking, don’t do that.) To date I’ve resisted the siren call of nominative determinism so I can’t answer to whether D-Bus is actually hell or not. I considered writing a D-Bus review as a joke, but then I decided to watch paint dry. I’ve never heard Linux nerds express any strong opinions on the topic (for which they’re prone to do; see Systemd, Wayland, etc.) I did go down the Wikipedia rabbit hole of cognitive psychology and linguistics. There’s an interesting read on Rebracketing where a word like “Hamburger” becomes “ham + burger” which was altered from the origin: “Hamburg + er” . This is a form of Folk etymology where words can change due to unfamiliarity. My surname could simply come from “bushel”. An imperial unit of volume still favoured by fantasy novels, before the Trollocs attack and shit gets real. “Bushel” dates back to Middle English with origins in the Old French word “boissel”. At the risk of being part French, I’m inclined to believe an alternate theory that my name derives from “Bossall” a hamlet in North Yorkshire. But that would make me part Yorkshireman. I’m not sure which is worse. It’s not a very common surname. If this Geneanet heat map has any credibility, the name favours the south of England. That might support the French theory? Liverpool has the highest number of Bushells though. Bushells is also an Australian brand of tea founded by tea dealer Alfred Bushell in 1883. Alfred was born in Worcestershire, England (pronounced: Wrcstrshr ). Interestingly, Wikipedia notes: After the Norman conquest of England; the Domesday Book noted in 1086 that in seven of the twelve hundreds covering Worcestershire, the Crown had no authority. Worcestershire - Wikipedia The Domesday Book always references Bossall (the Yorkshire hamlet) as Boscele or Bosciale ; names that are Anglo Saxon in origin. When I say “Bushell” over the phone my pronunciation is often mistaken for saying “Buchel”. Some sources say they’re from the same Anglo Saxon origin. These distribution maps for Bushell and Buchel cast doubt on that idea (if Forebears data is accurate). “Büchel” also has different origins if you stick an umlaut on it. I suspect I’m dealing with multiple different names of Anglo Saxon and Norman origin. There are many spelling variations of “Bushell” and similar names in historic records (though few have survived). Most people were illiterate until recent decades so spelling variations are not surprising. It seems probable to me that whenever families adopted a spelling, a variation from the wrong lineage could’ve been written due to phonetic differences. Even if I traced my ancestry back hundreds of years, I’d likely reach a moment when a scribe wrote “Bushell” in some form and my ancestor just shrugged because he couldn’t read. The etymology of “David” is well known despite being much older. Its roots are Hebrew meaning “beloved” and has found its way across Judaism, Christianity, and Islam. D-Bus is “Desktop Bus” if you were too lazy to click the link. Domain names are a strange system. They’re temporary URIs that are leased and inevitably lost. I’ve spent half my life publishing content on . I started using it seriously once I had a design portfolio. If you’re curious you can see past versions at: legacy.dbushell.com In hindsight if I knew I was going to build a career around my website I’d have chosen something more memorable. Imagine all the common words that were still untouched in 2004? wasn’t taken until 2005! I don’t actually go by “Dave” myself but like the “D-Bus” thing it’s not my choice to make. For a brief moment I did consider moving to another domain. I would have had to maintain redirects forever. It’s not a sensible “SEO” manoeuvre either, if that matters anymore… Now that I’m running my business from valleyfold.co.uk I’m happy I stuck with for my personal space. Anyway, next time you spot the “D-Bus” comment please direct them there! Better yet, take up this blog challenge: write about the etymology behind your name and domain name. Thanks for reading! Follow me on Mastodon and Bluesky . Subscribe to my Blog and Notes or Combined feeds.

0 views
Unsung 1 months ago

“Yeah… I was very tired that night.”

The (un)installation bug from the previous post was an overeager directory delete, but a more common problem I’ve seen is this one. Here’s an example from iTunes 2.0 : The installer tries to erase a previous version of iTunes using (with root privileges) the command. However it doesn’t take into account that volume names can contain spaces. […] When the diskname (partition name) starts with a space the following happens: So removes (all mount points!) and a nonexistent path , but no errors are displayed because they are /dev/​nulled. And a very similar thing a decade later, from Steam’s Linux installer: I launched Steam. It did not launch, it offered to let me browse, and still could not find it when I pointed to the new location. Steam crashed. I restarted it. It re-installed itself and everything looked great. Until I looked and saw that steam had apparently deleted everything owned by my user recursively from the root directory. Including my 3TB external drive I back everything up to that was mounted under /media. The culprit was identified by another user a few messages down: could be evaluated as is empty These are the sort of classic user-generated content meets string concatenation/​interpolation bugs that haunt engineers’s dreams. The solution: If a user gives you a string, you have to wrap it as safely as possible so that it could never break apart into pieces in transit. So you wrap the path with quotation marks. (I believe you can actually do this everywhere in Linux – will work as well as – except no one ever does so as it’s quite annoying.) But then, a string with quotation marks would escape containment, so you have to escape those by changing to . And then, naturally, you also have to escape any freefloating backslashes to . Of course, there are usually functions that take care of all of the above; you just have to remember to use them, as well as think about the edge cases like a variable being empty to begin with. This all is a distant version of SQL injection – perhaps most well-known from this XKCD comic – and a more modern prompt injection . There’s even a version of it in UI design: = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/yeah-i-was-very-tired-that-night/1.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/yeah-i-was-very-tired-that-night/1.1600w.avif" type="image/avif"> = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/yeah-i-was-very-tired-that-night/2.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/yeah-i-was-very-tired-that-night/2.1600w.avif" type="image/avif"> = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/yeah-i-was-very-tired-that-night/3.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/yeah-i-was-very-tired-that-night/3.1600w.avif" type="image/avif"> Here, the wrapping isn’t for security reasons, but to help people understand where the command ends and the string begins. But this introduces a new challenge, as any type of visual wrapping – quotation marks, bolding, italicization – can draw undue attention to the string itself. So, sometimes you just leave it be and hope for the best: = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/yeah-i-was-very-tired-that-night/4.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/yeah-i-was-very-tired-that-night/4.1600w.avif" type="image/avif"> But let’s go back to the installation issues. I bet there are were tons more string interpolation and escaping bugs that we simply never learned about. Yet, as users of a project called Bumblebee learned in 2011, nothing beats the destructive power of a simple typo. The best way to start here is with the summary of the fix to the bug, because that is the best encapsulation of the story: = 2x) and (width >= 700px)" srcset="https://unsung.aresluna.org/_media/yeah-i-was-very-tired-that-night/5.2096w.avif" type="image/avif"> = 3x) or (width >= 700px)" srcset="https://unsung.aresluna.org/_media/yeah-i-was-very-tired-that-night/5.1600w.avif" type="image/avif"> Yeah, you read it right. Here’s the original bug report : An extra space at line 351: causes the install.sh script to do an on the directory for people installing in ubuntu. Totally uncool dude!!! The script deletes everything under . I just had to reinstall linux on my pc to recover. Removing the space will fix this. Probably should do it quickly!!! Reader, the bug was fixed quickly.

0 views
Kev Quirk 2 months ago

2026-09-29 16:03: I think it's time... #Ubuntu

I think it's time... #Ubuntu Thanks for reading this post via RSS. RSS is ace, and so are you. ❤️ You can reply to this post by email , or leave a comment .

0 views
Kev Quirk 2 months ago

I Switched to Brave Browser

I've been whinging about wanting to move away from Firefox for nearly a year now. It started with Mozilla's announcement about their AI strategy and my initial thoughts . Then they doubled-down and it raised my heckles even more . Then I had a long old whinge about how fucked they seem to be. I took Vivaldi for a spin , but I couldn't get used to it. It just tries to do too much, and has way too much going on with the UI, and dark/light theme switching still doesn't work despite it apparently being fixed. So I made my peace with Firefox and stuck with it. I kept Vivaldi on my machine as a backup, and over the last 6 months or so, I've found myself having to open it more and more due to something not working in Firefox. This was far from a daily occurrence, but it happened often enough for it to become annoying. But I still couldn't use Vivaldi full time. It's worth stating that things not working isn't the fault of Firefox. It's developers not testing their web apps with Firefox, since it has such a small market share. I decided to install Brave a couple months ago just to see how things went. I had some messing around to do up front, like hiding all the crypto and AI nonsense, but once that was gone, it's been fine. Everything works how I expect, both on Ubuntu and Android. The UI is similar to Firefox, and most importantly, it doesn't try to boil the ocean. I renders webpages, then gets out of my way. I don't need it to check RSS feeds, or emails, or have toolbars on every edge of the screen. Even dark mode switching works! I haven't felt the need to open Firefox since starting this exeperiment, so I think Brave is gonna stick. Yes yes yes. Brave was founded by an absolute scumbag . But there's scumbags everywhere, in all walks of life. Contrary to what some people on the internet will say, my use of Brave doesn't mean I agree with, or support, Bendan Eich's world views. I consider his personal views to be separate from Brave. You may disagree, and that's fine. But Brave is objectively a good piece of software that does what I need it to do, and does it well. So I'm gonna continue using it for the forseable future. If Firefox get their act together and become relevant again, I may jump back, but for now it will remain my secondary browser. I do still have Vivaldi installed too. So I will continue to check in on it now and then, and if I decide they're on a par with Brave on Linux (mainly light/dark theme switching is what's missing), then I'll definitely make the switch as I feel their moral compass is far more aligned with my own. Thanks for reading this post via RSS. RSS is ace, and so are you. ❤️ You can reply to this post by email , or leave a comment .

0 views
Farid Zakaria 2 months ago

Every package is already installed

tl;dr; omnibin is a FUSE filesystem that puts every binary nixpkgs ever shipped on your . Nothing is installed. Nothing needs building. 0 bytes on disk until something actually reads a file. 😈 It’s 2026, why am I still installing packages individually? 1 Why must I go through the ritual of adding a package to my , running or succumb to the hellscape of . Nix gives us the power of having packages installed side-by-side without conflict. Why do I have to pick which ones I want to install? Why can’t I just have them all? What if the machine just had all of them? That is over fifty thousand 2 top-level binaries available on my , from 2013 to 2026 built by Nixpkgs , available on-demand, without installing anything. This is the magic 🧙‍♂️ of Nix , but it’s not restricted to Nix. Everyone seems to still love Docker and OCI , why am I still picking which base image to use? Why can’t I just have them all? Is this the ultimate agent harness? It’s a container with everything in it, right from the start. Try it at fmzakari/omnibin . Of course, I cannot forget our NixOS friends. You no longer have to curate your or , you can just have them all. What is “package management” if every package is already installed? Turns out that Hydra writes a file next to every single narinfo on cache.nixos.org that describes the contents of the archive as JSON: That metadata turns out to be the perfect index for a FUSE filesystem that can lazily fetch the NARs from the cache and unpack them on-demand. 🤓 None of this would mean anything without nixpkgs-multiverse , which already resolves any in nixpkgs history to the store path Hydra built for it on cache.nixos.org . When you combine the two, you get a filesystem that can answer the question “where is ” and then fetch it from the cache and unpack it for you, all without ever having to install it. I crawled all of it the files in under twelve minutes. 🤯 Once you have that, the filesystem writes itself: That is CPython 3.6.2, from 2017. That downloaded nothing , it is answered from the pre-crawled index. Agents are “a thing”. Making them useful is a thing. Making them useful without installing anything is a thing. If your agent tried to and stat every single entry, it would have a really bad time. There are 881,933 binaries in the tree, and it would take a long time to stat them all. To help the agents out a bit, lists only the bare names, one per executable, each resolving to the newest package that provides it. The versioned forms all resolve, but they are not listed. For example, resolves to the latest Python 3, which is 3.14.6 at the time of writing, but resolves to the 2017 version. For everything else there is the index, which is sitting right there in the mount: That UX is a little rough, so you can also use the CLI to query the index: Lastly, there is a /omnibin/README.md whose entire job is to tell whatever is exploring the filesystem to stop exploring the filesystem and query the database instead. 🤖 At this point it should be obvious, but you pay for this on startup for the first access. The first run took 2.7 seconds to fetch the NARs and unpack them, the second run was instantaneous because the store paths were already present. Other than that? Not really, which is pretty amazing. For any long-lived machine, you would expect your to already be warmed up with the packages you need, so the first access penalty is not a big deal. I remember one of the first things that blew my mind and sold me on Nix, was seeing a demo by @burke on comma . The capability to test a package, at a single nixpkgs revision, without “installing it”; revolutionary! I believe this to be a spiritual successor and I hope to imbue others with the same sense of wonder and amazement that I felt back then as a beacon of the power of Nix. The repo is at github.com/fzakaria/omnibin . Please responsibly. Yes, I am a little inspired after watching DHH’s keynote at RailsConf 2026 . I feel the same way about package management.  ↩ There are actually 881,933 binaries in the tree, but only lists the latest version of each binary. The versioned forms are still available, but they are not listed.  ↩ Yes, I am a little inspired after watching DHH’s keynote at RailsConf 2026 . I feel the same way about package management.  ↩ There are actually 881,933 binaries in the tree, but only lists the latest version of each binary. The versioned forms are still available, but they are not listed.  ↩

0 views
Entropic Thoughts 2 months ago

Shrinking a Fedora virtual disk

I have a weird setup for my laptop. In summary, I have been irrationally scared of running Fedora on bare, dual-GPU metal, so I run it in a virtual machine with Hyper-V on Windows as a hypervisor. The idea was to let Windows manage GPUs and power management stuff like hibernation, and then use Fedora as my main UI to the computer. This has worked surprisingly well, but that’s only because my expectations were low to begin with. The VM can barely access the hardware of the underlying machine: it can’t use the GPU, it can’t use the front-facing camera, Linux starts thrashing weirdly when the VM runs out of memory, among other quirks I’ve learned to work around. Thus, I’ve wanted to re-install on bare metal for a while, but! problem! Come on a journey with me. It’s got a hero with hubris, mistakes, tension, and a cliffhanger. (Continue reading the full article on the web.)

0 views
alikhil 2 months ago

My MikroTik workaround for LaLiga Cloudflare blocks

Spain loves football. Spain also has plenty of people watching football on pirate streams. Those streams often sit behind Cloudflare, where one IP address can belong to a lot of completely unrelated websites. LaLiga spent a while trying to get Cloudflare to take the pirate streams down. That did not work out. Then LaLiga got a court order that lets Spanish ISPs block IP addresses during matches. So they block the IPs used by the streams, and legitimate sites behind Cloudflare go down with them. Message shown by a Spanish ISP when you try to load a website hosted on an IP address it has blocked. The result is annoying. A random site does not load. An API starts timing out. You can spend an hour debugging your own setup before noticing that there is a LaLiga match on. I used to fix it by enabling a rule on my MikroTik that sends Cloudflare traffic through a VPN. Every match, same small ritual. Recently I found ¿Hay ahora fútbol? , a site with one useful question: is football on right now, and is Cloudflare probably broken again? It also exposes its signal over DNS. That was enough to automate the whole thing. The router keeps a list of Cloudflare IP ranges. When Hayahora reports a large set of blocked IPs, it enables one disabled mangle rule. New connections from my LAN to Cloudflare then go through my existing VPN. When the DNS answer goes back to normal, the rule turns itself off. Only Cloudflare traffic takes the detour. The VPN is not my default route, and the rest of the network keeps using my normal ISP connection. My setup uses RouterOS 7 and an existing policy-based IPsec connection marked . If your VPN uses a different connection mark, replace below. Get the VPN working first; this post only adds the automatic switch. First, refresh a firewall address list named every day. I use Davie3’s list , but any maintained Cloudflare IP-list import will do. Then add this rule. It starts disabled on purpose. Finally, this script checks Hayahora every five minutes. More than ten DNS answers is my signal that a blocking event is active. The same threshold is used by the TRMNL LaLiga plugin . You might wonder why this does an HTTP request to Google DNS instead of using RouterOS’s native . returns only one record. I need the full answer set to keep the threshold, so one record does not send all Cloudflare traffic through the VPN by accident. This is a blunt workaround. While the rule is enabled, every new connection from my LAN to a Cloudflare IP goes through the VPN. That is fine for me during a match, but it sends all Cloudflare traffic through the VPN, not just traffic to the site that failed. The DNS data is an observation, not an official blocklist. And connections that already exist keep their old route until they reconnect. Still, it has saved me from one more round of “why is this website broken only tonight?” If football is on and the block is active, I am French automatically.

0 views
Farid Zakaria 2 months ago

A build graph that rolls dice

We are right around the corner from NixCon 2026 . Another year where I sadly won’t be present. I looked at the lineup and saw quite a few talks on dynamic derivations, along with some recent other posts on the topic such as cargo-dyndrv which had me thinking about revisting the topic since my earlier posts on the subject. I wanted to better understand the implications of dynamic derivations and how they change the build graph. Originally, I was focused on how it could replace the lang2nix style of build graph generation, but I realized that the implications are much broader than that. The graph does not need to be known up front. It can be defined as the build progresses. 🧐 What do I mean? Traditionally, Nix requires you to ask it to build anything and it will tell you exactly the steps it will take ahead of time as the “derivations” that comprise the build graph. This is an important property of Nix. It is what makes it possible to reason about builds without running them by understanding what will be built. Many Nix tools rely on this property via . For instance, nix-diff tells you why two closures differ without building either . Why does dynamic derivations change this? In functional languages it’s very easy to get abstract and use fancy words like “applicative” and “monadic” to describe the difference between types of computation. The difference is subtle, but it is profound. Nix traditionally was an “applicative” build system. Dynamic derivations make it a “monadic” build system. The difference is that in an applicative build system, the entire build graph is known up front, while in a monadic build system, the graph can be defined as the build progresses. 1 One way to think about the difference is to look at the type signatures of the two operations that define them: (applicative) takes a value known ahead of time and returns the result . You can see the entire graph before you run it. (monadic) takes , a function , to return . You cannot see the entire graph before you run it. Applicative can be thought of writing the shopping list before you leave the house. You read the recipe, you write down every ingredient, you drive to the store once. The list is a function of the recipe and nothing else. Monadic is a recipe with a step that says taste it, and if it is too salty, go buy a potato . You cannot write that shopping list up front. Whether the potato is on it depends on the saltiness, and the saltiness does not exist until you have already done some of the cooking. Nix used to be solely the former, dynamic derivations add the latter. Okay, I guess I should have said “Nix is now monadic in the scheduler”. Nix has always had bind in the evaluator. We have been doing monadic builds for years. We call it import from derivation . on a derivation output is a bind in exactly the sense above: what to build next is a function of a value that does not exist yet. The Nix evaluator cannot produce the graph without that value, and the only way to get it is to stop evaluating and run a builder. Unfortunately, this has a lot of footguns, such as causing to take ten seconds , and why nixpkgs bans the technique outright . Whereas import from derivation is a bind in the evaluator, dynamic derivations now adds bind in the scheduler. The difference is that the scheduler can run builders in parallel, ship them to remote machines, and it can substitute their results from a cache. The evaluator cannot do any of that. Dynamic derivations do not add the bind. The bind was always there. What changes is which layer performs it. 🤓 Many of the examples of dynamic derivations have been focused on build graph generation via lang2nix tooling, but I wanted to explore the implications of dynamic derivations in a more general sense. In the true monadic sense, the build graph can be defined as the build progresses. The next step in the build graph can depend on the result of a previous step. Here is a really simple example, & , that rolls a die and either stops or continues the chain by adding a new derivation step to the build graph. The depth of the chain is random, and the result of the build is how deep we got. Only the leftmost box exists when you run . Everything to the right of it is written by a builder, while the build is already underway. The general idea of this derivation is: Either way the file copied into is a , so works the same on a chain that stopped and a chain that kept going. 2 We can see the build graph grow in the denominator as the build progresses. If we try to introspect the graph with or , we get nothing. Since the graph is not known yet, our tools cannot see it. Dynamic derivations introduce a second graph that exists only after the build, and the ecosystem has no way to introspect it yet. I ran the build 900 times and logged the length of the chain. Rolling a six-sided die is one of the most classic ways to simulate geometric decay and we can see the results in the histogram below. The mean is 6.18, median 4, longest 46. The math maths. Every dynamic derivations demo so far, mine included, has been a build system: MakeNix for C, NpmNix for node, cargo-dyndrv for Rust, nix-ninja for ninja. That is a reasonable place to start but it does not capture the full power of the primitive. What other ideas can we explore? Mario. In Super Mario Derivations the attribute path is the button sequence and I have to supply the press count. The dynamic version emulates until Mario dies. The stopping condition is data, discovered mid-build, and the run is however long it turns out to be. Searching a state space. Swap the die for a predicate and you have a search where each frontier node is a derivation. Model checking, puzzle solvers, a fuzzer that only expands inputs which found new coverage. States you reach twice collapse onto one store path, and they survive a reboot. Crawling. Fetch a page, parse the links, emit one derivation per link. The frontier is discovered rather than declared, the crawl resumes because the store remembers every page already fetched, and the dependency graph of the result is the link graph. What are the bounds of this primitive? I don’t know. The size of the graph now is only limited by whether Nix stops emitting successors. There is no depth limit for the store layer, no equivalent. My longest honest chain in the die-roll was 46 deep, but I had rigged examples that went to 500. How far can it go? I am so brainwashed to thinking about making a plan before I start for my build systems, that the idea of making it up as I go is a little scary. 😨 The paper Build Systems à la Carte is the defacto read on this topic.  ↩ We actually need a depth parameter to avoid infinite recursion and so that the store-path of the derivations are different since they are content-addressed.  ↩ roll a six and we write a derivation that echoes the depth. Ordinary, nothing dynamic about it. This terminates the build graph. roll anything else and we write a passthrough : a derivation whose only job is , where is . The paper Build Systems à la Carte is the defacto read on this topic.  ↩ We actually need a depth parameter to avoid infinite recursion and so that the store-path of the derivations are different since they are content-addressed.  ↩

0 views
Luke Hsiao 2 months ago

Turning a $40 Surface Go into an always-on camera monitor

TL;DR I wanted an always-on screen showing a camera feed. Something that boots straight into the stream with no prompts, survives Wi-Fi drops and camera hiccups, and can be maintained remotely. A used Surface Go 3 running Omarchy turned out to be a great fit, with only a few setup steps. I have my home kitted out with UniFi PoE cameras. Inspired by Casey Neistat’s studio door camera , I made a similar setup: a camera pointed outside with a screen mounted on a wall inside. In practice, this is meaningfully more convenient than a peephole (we also don’t have any windows with a good view of the entrance). When someone knocks, we can glance at the monitor from just about anywhere in the room and see who it is. Until now, I was just using a cheap Amazon Fire HD 8 tablet. My thinking at the time was to make this as simple as possible: get a cheap Android tablet, run VLC for the RTSP stream, attach it to the wall with Command Strips, leave it plugged in, done. This had some downsides. The Fire HD 8 is underpowered, so we could only use a medium-resolution stream (720p), and the stream would lag behind by a few seconds. The simplicity of the VLC setup meant that anytime our network went down for an upgrade or the stream cut out momentarily, we’d have to reconnect manually. That worked for about three years. Then, I suspect, being permanently plugged in at 100% charge took its toll. Over the past week, the stream grew increasingly unreliable, mostly because the tablet failed to connect to my home Wi-Fi. I suspect the Wi-Fi card is dying. So, this presented an opportunity for an upgrade. My main goal was reliability. I wanted anyone in my family to be able to turn this on and get it working with as little interaction as possible. That meant I wanted them to literally just turn it on, walk away, and be greeted by the stream playing in full screen. I also wanted the stream to recover automatically from network and camera feed drops robustly. In addition, I wanted something better suited to this unusual always-on, always-streaming, always-plugged-in design. This eliminated OLED screens; this would be a worst-case scenario for burn-in. It also made devices with battery charge limits more appealing, since those limits could mitigate battery deterioration from always being plugged in. I also wanted something that didn’t feel awful to use, unlike Amazon’s bloated, ad-riddled version of Android for its Fire tablets. I wanted something I could keep getting software updates for forever. That pushed me toward a device I could run Linux on, rather than another Android tablet with an unavoidable end-of-life date. Finally, I still wanted this to be cheap. After doing some research, I settled on something like a Microsoft Surface Go 2. Powerful enough hardware and a nice enough display to handle a high-resolution HEVC stream. Able to run Linux. And, perhaps most importantly, BIOS-level support for battery limiting —when set, the battery stops charging when it reaches 50% of its capacity. Then, the stars aligned even more: I found a base (4 GB, 64 GB eMMC) Surface Go 3 on my local Facebook Marketplace for just $40. Score. Updating the BIOS Whenever I buy a used device I intend to put Linux on, I always update the BIOS using the Windows installation first. Most manufacturers do not have a way to update the BIOS without Windows. In the case of this tablet , released in 2021, I was able to bump my BIOS from a 2022 version to a recent release. BIOS updates often improve system stability and performance. Next, I prepared the UEFI settings for installing Omarchy and using the tablet as a kiosk. To get into the BIOS, hold Volume Up when hitting the power button. For this install, I have no data on the device. I specifically want it to be easy to boot, so that means skipping Omarchy’s default full-disk encryption. At the time of writing, this meant hitting at the disk-formatting confirmation prompt . This tablet only has a single USB-C port, so I needed a USB-C hub to plug in my mouse, keyboard, and USB drive simultaneously. I didn’t have the Surface keyboard (part of why I got a good deal on Marketplace). This one bit me. Omarchy always logs in automatically on encrypted installs because the LUKS prompt is the auth gate. On an unencrypted install, it logs in automatically exactly once. Then a one-shot service deletes , and SDDM shows a login screen forever after. To re-enable autologin, we just put the file back under a filename nothing will remove: Next, in the Omarchy menu, we set up . With that, the boot chain is fully unattended. Turning the machine on will take us straight to the desktop. is already installed in Omarchy. We can use a user service to launch the stream. We can keep the secrets out of the unit. Then, in : Then enable and check it: We can run on a different workspace, since the original workspace is now playing full-screen video. The recovery logic is all in . makes exit on a stalled connection rather than show a frozen frame, and makes it exit when the stream ends. relaunches it, starting with a 2-second delay and backing off toward 30 seconds during a long outage. Wi-Fi needs no special handling: reconnects on its own, and simply fails until it does. stops taps on the touchscreen from pausing or seeking, and uses VAAPI, which matters for heat on a fanless tablet. is there because Omarchy ships a default rule that floats the app ID in an 875×600 window. So, we can give the kiosk its own rule instead, appended to : A simple or a click on the “Stay Awake” icon in the taskbar will do the trick. This can also be done via the CLI: These settings are useful despite our Hyprland rule because the rule only applies while is playing. Without them, the tablet might still lock or sleep during downtime. These settings persist across reboots by default. Once the tablet is deployed, SSH is the intended way to interact with it. Omarchy has easy ways to set up SSH and Tailscale . The SSH setup installs OpenSSH, opens port 22 in (with a rate limit), handles key authorization, and disables password auth. Then, once Tailscale was set up, I disabled key expiry for this node. I like Omarchy for this because it is a rolling distro (based on Arch), which makes it easy to keep up to date. Just SSHing into the machine and running periodically does the trick. When a reboot is necessary, that’s no problem since the RTSP service will reconnect to the stream automatically on boot. Demo of the unattended boot. This turned out as nicely as I had hoped. All my goals were met, for cheap! Enable the battery limiter (Boot configuration -> Battery Limit: Enabled). Disable Secure Boot (Security -> Secure Boot: Off) (currently required to install Omarchy). Change the boot order to put the USB drive first.

0 views
Alex White's Blog 2 months ago

I've got a switching problem

The past two weeks I've developed a problem. Almost every other day I've been switching between two tech extremes, my MacBook + iPad Pro + iPhone + Apple Watch setup and my Ubuntu ThinkPad + GrapheneOS Pixel + Supernote Nomad + Fitbit/Pixel Watch setup. It's gotten to the point that I imagine someone at Google Fi must be looking at my insane amount of eSim transfers and just thinking "what the hell is wrong with this guy?". I think there's a number of reasons why my mind has been causing me to do this, but it all comes down to one goal: dumping Apple once and for all. There's the obvious case for privacy, escaping the walled garden and freeing myself from iCloud subscriptions. I also want to get out of such an expensive line of products, and open myself up to more Chinese domestic products (Xiaomi, Huawei, etc) in case I do end up moving to the country. Finally, I just find my Linux based computing devices to be faster. Somehow my Pixel 9 Pro is leagues snappier than my iPhone 17 Pro Max, and my ThinkPad P14s Gen 4 (feels like) it can run circles around my MacBook M1 Pro. Ever since Liquid Glass, my Apple devices just feel sluggish. But then why do I keep switching back to Apple? Primarily guilt, I spent too much on these damn Apple devices to not use them. Maybe someday I'll just bite the bullet and sell the Apple devices, until then, sorry Google Fi, I'm gonna need some more eSims provisioned.

0 views
Alex White's Blog 2 months ago

From Omarchy to Pop_OS!

I fell for the hype for a bit and was playing around with Omarchy on my ThinkPad. While I did like some of the opioniated setup (the theming system is very cool), a number of things bothered me. First and foremost, the controversy surrounding DHH is hard to ignore. I wasn't particularly well versed in it, but after doing some research I didn't feel great about using the distro. The second issue was the amount of AI. I said in my original article that some of the AI integration was pretty cool, and I still think so. Debugging a system crash with a model or leveraging AI to understand complex config files is a great use. But the problem is that everything is AI. It's a vibe coded Arch config, and that doesn't instill a ton of confidence when it comes to a daily driver. All that to say, I'm now testing out Pop_OS! with the new Cosmic desktop. I've used Pop_OS! before, back when it was basically a GNOME shell extension. I even own a System76 laptop and Launch Heavy keyboard. I support what the company is doing, and their CEO as done actual good (like fighting against age verification in OSS). It's a product I can feel good about supporting. So far, I'm pretty impressed! Cosmic has come a long way since the last time I tried out a beta. The theming is goregous and very customizable, workspaces is done very well, and the tiling is better than what's on offer in Omarchy land. I love that things were crafted rather than slopped together, and being built on Rust is a strong foundation. There's still some things missing, but overall I look forward to daily driving Pop_OS! and Cosmic. Heck, I might even try revitalizing my interest in coding by creating a app or two using their UI kit!

0 views
Jeff Geerling 2 months ago

Rebuilding a 1995 GPS Time Server so I don't get Telstra'd

In June I purchased this TrueTime XL-AK time server , so I could learn more of the history of GPS-based time. I received it on June 22, and just 16 days later a similar GPS time server took down Australia's cell service for 12 hours ! I made a short video about it but put off digging into the TrueTime... until now. Over the past couple weeks, I've 'restomodded' this device with a Raspberry Pi, to build a stratum 1 NTP Time server, which I'd like to eventually add to the NTP Pool . I found a way to drop in a Pi 5 and GNSS HAT, display the time and GPS status on the built-in 16x2 LCD, show the status on the bicolor LED, and make this box useful again.

0 views
Kev Quirk 2 months ago

2026-09-02 09:16: I've recently switched to Gnome's default apps for email etc. So instead of #Thunderbird doing...

I've recently switched to Gnome's default apps for email etc. So instead of #Thunderbird doing all the things, I have Geary, Calendar, and Contacts. Most of the time I only need email, so it's nice having a much simplified UX. I also like how integrated into Gnome they all are. Thanks for reading this post via RSS. RSS is ace, and so are you. ❤️ You can reply to this post by email , or leave a comment .

0 views