Linux Fu: The Wayland Submission

X11 was a brilliant design, though it certainly lacked in some areas that were less important when it was born. However, a funny thing happened. People, for the most part, seemed to forget that X11 was made for multiuser networked machines. So they started using X11 as a display driver for their single-user workstation. Of course, that works fine. But that’s like using a motorcycle to go from the living room to the kitchen. You can do it, but it may come with certain trade-offs.

I would have loved to see X11 fixed to have better security and performance, but that didn’t happen. Instead, we got Wayland. I resisted it as long as I could, but a recent update to my computer stopped me from logging into a GUI session. That’s when I found out that OpenSuse decided that I would really like to replace X11 with Wayland. So much so that they wouldn’t give me a choice. I spent a day trying to figure out a realistic way to roll back or graft X11 in, but finally decided it was too much and would lead to more and more work with each release. So I decided to just bite the bullet.

Why Not Wayland?

If you are like me, you probably don’t really care much about what software is driving your display as long as it works. And that was the problem. I have two workflow tasks I do quite often that Wayland seemed to have problems with. First, I use autokey to remap keys for certain applications, notably web browsers, so that I can use emacs keystrokes in them. Second, because I have multiple networked computers, I often run an ssh tunnel and forward X11 traffic to run remotely. Actually, I used to simply log into those machines remotely, but because of security concerns, most login greeters have had that capability turned off for a while, and getting it to work in modern times has been spotty, so I just tunnel the whole window.

The Solutions

There’s good news and bad news. First, there’s no universal answer that completely replaces the tools I’ve used in the past. The good news is there are some things that get you most of the way there. The bad news, again, though, is that not all of those things work with every application you might want to use, although, presumably, that will get better over time. After all, Wayland is only 13 years old.

Continue reading “Linux Fu: The Wayland Submission” →

Stabilizing Z-Pinch Nuclear Fusion With Sheared Flow

After the taming of fission in the 1940s, physicists were confident that they were on the verge of doing the same with nuclear fusion during the 1950s. Unfortunately their Z-pinch fusion reactors turned out to be unable to sustain a stable plasma, and that is where many of us would assume Z-pinch fusion died as tokamaks and stellarators took over.

A company called [Zap Energy] – a University of Washington spin-off –  disagrees with that notion, laying out their sheared flow take on Z-pinch reactors in a recent paper in Physics of Plasmas, alongside a press release piece in which [Zap Energy] lays out their roadmap for developing their Fusion Z-pinch Experiment (FuZE) into a commercial power reactor.

During the 1950s it was the UK’s ZETA Z-pinch reactor that was at the forefront of nuclear fusion research, yet the problem they ran into was that with the larger reactors instabilities in the plasma became a major problem. This is why we currently have tokamaks and stellarators duking it out, with China predicting commercial fusion power by 2050, and Germany banking on stellarators with the Wendelstein 7-X and its future successors.

In such a competitive field pitching a Z-pinch reactor is definitely an eyebrow-raising event, though notable if there’s actual meat to the theory. Our understanding of plasma dynamics and how to tame small instabilities like edge-localized modes (ELMs) before they can develop into something worse has increased massively since the 1950s, so it’s not inconceivable.

Their FuZE-Q device uses sheared-flow stabilization, involving different layers of the plasma moving at different velocities. This sheared-flow is what prevents many of the instabilities, with a recent test run hitting a claimed 15 ms of plasma stability. Since pulse-based operation is targeted, this seems like a promising start, though the device’s plasma volume is still rather small compared to competing devices, making one once again question whether Z-pinch reactors can be made into a commercially competitive design.

Some Renaissance Men Were… Women

We live in an age of specialization. Mechanics work only on Brand X cars. One doctor deals exclusively with joint problems. Programmers write in one or two languages. But there was the ideal of the polymath, exemplified by Leonardo da Vinci and often known as the Renaissance man — someone skilled in many disciplines.

Hildegard lectures her nuns (public domain)

In theory, someone like that would be able to synthesize insights differently from us mere mortals, because they could draw inspiration from different areas. If you build robots, but also understand how animals move, that probably pays off. But the sheer depth and breadth of knowledge today make it harder and harder to be a true polymath.

Of course, not all Renaissance men lived during the actual Renaissance. Sure, there was Leonardo, but people like Thaddeus S. C. Lowe, Newton, Kelvin, Hooke, Goethe, Tesla, and others were certainly excelled in many different areas.

What you don’t hear very much about are the Renaissance women. But there have been many female polymaths, some of whom did live during the Renaissance itself. They just didn’t get as much press.

Hildegard of Bingen

While the 1100s are a bit early for the Renaissance, Hildegard of Bingen, a nun, was quite the versatile lady. She wrote about diseases and treatments, cataloged plants, and composed music. She produceded poetry and theological works. She even invented her own language, complete with its own alphabet, and also contributed to philosophy. Some of her music is still performed today. You can hear one in the video below. Continue reading “Some Renaissance Men Were… Women” →

The Terminal Browser You Always Wanted, But For The Wrong Reason

Have you ever found something you really like, but which opens a way to something you maybe weren’t expecting? Perhaps a browser such as mob3, from [Milos Stojanovic]. It’s an AGPL-3.0-licensed terminal browser that does everything a browser should: HTML rendering, CSS, JavaScript, images, mouse support, and even tabs.

It’s what you always wished lynx could be, a proper browser in the terminal that’s the equal of your desktop browser. It’s fast, and it comes as a single executable that’s only 22.5 MB in size on an AMD64 platform. The unexpected bit? It’s great bit of software for a human, but it’s also intended as a headless browser for agents. As we’re in a Wild West of agentic interactions swamping businesses, it offers a peek into part of the tooling these machines will use.

A text and block graphics rendering of Hackaday
This is what it makes of Hackaday.

Using it is as simple as downloading a pre-built binary for your platform and running it from the command line. The docs provide a simple install process, but it’s not necessary. In use it’s as described above, a browser that Just Works. The graphics support is either off, block ANSI graphics, or graphics support in the Kitty or iTerm terminal emulators. Meanwhile the font remains your terminal font — while some CSS styling works, as you’d expect, font sizing doesn’t. All manner of its options can be controlled from the command line, which is where those agents will come in. As a terminal browser it’s like nothing we’ve seen before, and makes other offerings look very old-fashioned indeed.

A clue to the upcoming battle twixt bot and site came though in the response from Google when we tried a search. The engine immediately blocked it, suggesting that those agents have been put on the naughty step. It’s a brave new world out there.

Looking At The Revised Switch 2 The EU Forced On Nintendo

With the new battery regulations for consumer devices now mere months away from being enforced, Nintendo has recently released its new Switch 2 game console for the EU market. Naturally this meant that the US-based [iFixit] had to import one to see for themselves what difference this makes.

As they note in the video, these new rules – which we covered before – have an impact far beyond game consoles with built-in batteries. Most consumer devices with such a battery now to have to be able to be replaced by an end-user without special tools, solvents or heat, which [iFixit] shows has also led to a move to hard-shelled batteries which are by design more robust than a pouch cell that’s easily pierced by a slipped screwdriver.

After noting that the Switch 2’s battery swap in both the main unit and both Joy-Cons is now significantly easier, they bump the EU model’s repair score up to a 5/10 from its previous 3/10. Unfortunately the battery replacement is pretty much the only thing that got easier, as the rest of the device is pretty much identical to the original design.

Whether this revised model will be rolled out to North America, Asia, and Oceania remains to be seen. Legally there’s no such obligation for Nintendo, but perhaps the costs of manufacturing both models side by side will compel a full shift to easy battery replacements for all. Much like how the EU’s rules for standard charge port for cellphones helped end the reign of proprietary chargers.

Either way, this is a good example that shows the impact of good regulations on consumer protections and right to repair. With the inherent drive for manufacturers being to produce something that is e-waste the moment any part of the device fails, us consumers and our political representatives have to push back against it if we want to regain our right to repair.

Continue reading “Looking At The Revised Switch 2 The EU Forced On Nintendo” →

The FPGA setup for the Spectrum Next / Spec256 mashup

Broadening The Spectrum For The Love Of The Game

Nostalgia can drive a person to do interesting things.  The cool hack by [Jon Over Does it!] in the video below the break builds on decades of work in the ZX Spectrum community, and a neat hack it certainly is!

The dizzying array of components starts with the ZX Spectrum, released in 1982. The ZX Spectrum’s 256×192 display could only use 15 colors across a 32×24 grid, and each block could only have two different colors. This worked, and helped games stay within the ZX’s 48 KB memory. But it wasn’t all that pretty.

The loading screen for the Spectrum Next / Spec256 mashup
The colorized Spec256 load right along with standard ZX Spectrum versions

In 1999, an emulator called Spec256 changed the game by adding eight more Z80 cores and the needed memory to play colorized ZX games. Later, Spec256 was ported to FPGA. In 2020 the Spectrum Next, a ZX successor that is also FPGA-based, came on the scene.

And this is where [Jon Over Does it!]’s build gets very interesting: [Jon] has treated all of these parts like a lot of Lego bricks! He has ported the ZX Spectrum Next to his Sipeed Tang Console 138K FPGA board and combined it with the Spec256’s FPGA implementation, creating a ZX Spectrum Next that can play ZX Spectrum games that were colorized for the Spec256. Why, you might ask? So he can turn it all into the debugger he wishes he had, so he can recreate his favorite childhood ZX game, Cobra, on a modern platform.

Has the love of the retro game driven you to great lengths? Perhaps you’ll appreciate the winners of the 2026 Retrocomputing Challenge!

Continue reading “Broadening The Spectrum For The Love Of The Game” →

MIDI Glove Makes Gestures Into Music

Musical instruments come in all shapes and sizes but [sneak-thief]’s Sneaky Gestures V2 has got to be one of the most unobtrusive, least imposing and– dare we say it?– sneakiest examples of an electronic instrument we’ve ever seen. Well, technically it’s not a standalone instrument, since it is just a MIDI controller– but with BLE onboard to transmit that MIDI data, it’s not going to be hard to find a device for Sneaky Gestures V2 to control.

Said control uses the fingers and thumb, primarily– touching conductive fabric on the thumb to pads on the fingers can play notes. There’s also a flex sensor in the index finger for glissando– that’s a glide from one pitch to another, to those of us who aren’t musicians or Italian– and two accelerometers that let you add the hand’s orientation to your control schema. A force-sensitive resistor in the thumb pad adds the ability to modify the note playing with after-touch effects. If that’s not enough, an array of RGB LEDs provide visual feedback for the musician, and a certain degree of “bling”. Since the device has 63 presets built in– and the open-source nature of the device means users can make even more– visual indicators do look handy.

The code is all on GitHub, as is the bill of materials and schematics– everything you need to get started making beautiful music with just one hand.  In the demo video embedded below, you can see that you can get an amazing amount of musical versatility out of a simple glove.

Nintendo might have defined– and possibly ruined–the idea of glove controllers for millions, but not everyone wrote off the Power Glove, or the idea of gloves as controllers in general.

Thanks to [michel] for the tip!

Continue reading “MIDI Glove Makes Gestures Into Music” →