Jenny’s Daily Drivers: SerenityOS, And In Particular, Ladybird

As we continue on with the series in which I take a different OS for a spin every month I am afraid, dear reader, that this month I have a confession to make. Our subject here isn’t a Daily Driver at all, and it’s not the fault of the operating system in question. Instead I’m taking a look at a subject that’s not quite ready for the big time but is interesting for another reason. The OS is SerenityOS, which describes itself as “a love letter to ’90s user interfaces with a custom Unix-like core“, and the reason I’m interested in it comes from its web browser. I know that the OS is very much a work in progress and I’ll have to forgo my usual real hardware and run it in QEMU, but I’ve heard good things about it and I want to try it. The browser in question is called Ladybird, and it’s interesting because it has the aim of creating a modern fully capable cross-platform browser from scratch, rather than being yet another WebKit-based appliance.

A Pleasant Trip Into The 1990s

Part of a Linux desktop with the SerenityOS build instructions in the background, a terminal having built the OS, and the OS itself in a QEMU window.
My first look at SerenityOS after building it.

SerenityOS isn’t ready to be installed on real hardware, and there’s no handy ISO to download. Instead I had to clone the repository to my Linux machine and run the build script to compile the whole thing, something I was very pleased to observe only took about 40 minutes. It creates a hard disk image and opens QEMU for you, and you’re straight into a desktop.

When they mention ’90s user interfaces they definitely weren’t hiding anything, because what I found myself in could have easily been a Windows 9x desktop from the middle of that decade. There are  a bunch of themes including some Mac-like ones, but should you select the “Redmond” one, you’re on very familiar ground if you had a Microsoft environment back then. It’s only skin-deep though, because as soon as you venture into a command line shell there’s no DOS to be found. This is a UNIX-like operating system, so backslashes are not allowed and it’s familiarly similar to an equivalent on my Linux box. The purpose of this review is not to dive too far into the workings of the OS, but suffice it to say that both the underpinnings and the desktop feel stable and as polished as a Windows 95 lookalike can be. The various bundled utilities and other small programs seem to work well, and without any hint of the instabilities I’ve become used to when I’ve experimented with other esoteric operating systems. Continue reading “Jenny’s Daily Drivers: SerenityOS, And In Particular, Ladybird”

Wiring Up 100 Car Batteries So You Don’t Have To

We’re willing to bet most Hackaday readers have accidentally spot welded a few electrical contacts together over the years, complete with the surge of adrenaline that comes with the unexpected pops and sparks. It’s a mistake you’ll usually only make once or twice. But where most of us would look back at such mishaps as cautionary experiences, [Styropyro] sees an opportunity.

Armed with 100 car batteries wired in parallel, his recent video sees him pitting an assortment of household objects against the combined might of eighty-five thousand amps. Threaded rods, bolts, and angle iron all produce the sort of lightshow you’d expect, but [Styropyro] quickly discovered that holding larger objects down was more difficult than anticipated. It turns out that the magnetic fields being generated by the incredible amount of current rushing through the system was pulling the terminals apart and breaking the connection. After reinforcing the business end of his rig, he was able to tackle stouter objects such as crowbars and wrenches with explosive results.

A modified log splitter serves as a remotely operated switch.

We found that his remotely operated switch, built out of a hydraulic log splitter, to be a particular highlight of the video — unfortunately he only briefly goes over its construction at the very start. His side experiment, fashioning an sort of manually-operated carbon arc lamp with a pair of thick graphite electrodes and demonstrating is luminous efficacy compared to modern LEDs was an unexpected treat. As was the off-the-shelf domestic circuit breaker that impressed [Styropyro] by refusing to yield even after repeated jolts.

While the showers of sparks and vaporized metal might trigger some sweaty palms among the audience, we’ve seen [Styropyro] handle far scarier contraptions in the past. Though he may come off as devil-may-care in his videos, we figure there’s no way he could have made it this long without blinding or maiming himself if he didn’t know what he was doing.

Continue reading “Wiring Up 100 Car Batteries So You Don’t Have To”

Could Moon Dust Help Reduce Global Temperatures?

The impacts of climate change continue to mount on human civilization, with warning signs that worse times are yet to come. Despite the scientific community raising an early warning as to the risks of continued air pollution and greenhouse gas output, efforts to stem emissions have thus far had minimal impact. Continued inaction has led some scientists to consider alternative solutions to stave off the worst from occurring.

Geoengineering has long been touted as a potential solution for our global warming woes. Now, the idea of launching a gigantic dust cloud from the moon to combat Earth’s rising temperatures is under the spotlight. However, this very sci-fi solution has some serious implications if pursued, if humanity can even achieve the feat in the first place.

Continue reading “Could Moon Dust Help Reduce Global Temperatures?”

Raspberry Pi Reveals A Little About Their RP1 Peripheral

The Raspberry Pi 5 is the new hotness from the Cambridge-based single board computer vendor, thanks in part to its new wonder-chip peripheral that speeds up much of its interfacing with the world. The RP1 hangs of the CPU’s PCIe bus and takes on many functions previously in the SoC, and those curious about it now have a little bit of information. Eben Upton has posted an article about the chip, and there’s a partial datasheet and a video in which the engineers talk about the chip as well.

The datasheet is intended to help anyone wishing to write a hardware driver for a Pi 5, and they admit that it doesn’t reveal everything on the silicon. We don’t expect them to put this chip up for sale on its own because doing so would enable their competitors to produce something much closer to a Pi 5 clone. It does reveal a few nuggets, though; there are a couple of Cortex M3 cores for housekeeping, and alongside all the interfaces we know from earlier boards it has, perhaps most interestingly for Hackaday readers, a 12-bit analogue-to-digital converter. This has always been on our Pi wishlist and is a welcome addition.

So, if you read the datasheet and watch the video below, you’ll learn a lot about the interfaces and how to talk to them, but not quite so much about the full workings of the chip itself. They hint that there’s more to be released, but since the Pi people have a history of not letting go of the family silver, we won’t expect the keys to the kingdom.

Have a read of our Pi 5 launch coverage.

Continue reading “Raspberry Pi Reveals A Little About Their RP1 Peripheral”

Implant Fights Diabetes By Making Insulin And Oxygen

Type 1 diabetes remains a problem despite having an apparently simple solution: since T1D patients have lost the cells that produce insulin, it should be possible to transplant those cells into their bodies and restore normal function. Unfortunately, it’s not actually that simple, and it’s all thanks to the immune system, which would attack and destroy transplanted pancreas cells, whether from a donor or grown from the patient’s own stem cells.

That may be changing, though, at least if this implantable insulin-producing bioreactor proves successful.  The device comes from MIT’s Department of Chemical Engineering, and like earlier implants, it relies on encapsulating islet cells, which are the insulin-producing cells within the pancreas, inside a semipermeable membrane. This allows the insulin they produce to diffuse out into the blood, and for glucose, which controls insulin production in islet cells, to diffuse in. The problem with this arrangement is that the resource-intensive islet cells are starved of oxygen inside their capsule, which is obviously a problem for the viability of the implant.

The solution: electrolysis. The O2-Macrodevice, as the implant is called, uses a tiny power-harvesting circuit to generate oxygen for the islet cells directly from the patient’s own interstitial water. The circuit applies a current across a proton-exchange membrane, which breaks water molecules into molecular oxygen for the islet cells. The hydrogen is said to diffuse harmlessly away; it seems like that might cause an acid-base imbalance locally, but there are plenty of metabolic pathways to take care of that sort of thing.

The implant looks promising; it kept the blood glucose levels of diabetic mice under control, while mice who received an implant with the oxygen-generating cell disabled started getting hyperglycemic after two weeks. What’s really intriguing is that the study authors seem to be thinking ahead to commercial production, since they show various methods for mass production of the cell chamber from standard 150-mm silicon wafers using photolithography.

Type 1 diabetics have been down the “artificial pancreas” road before, so a wait-and-see approach is clearly wise here. But it looks like treating diabetes less like a medical problem and more like an engineering problem might just pay dividends.

Giant LED Matrix Fills Blank Space In The Kitchen

We’ve all got one: a blank space somewhere in our home that we don’t know what to do with. [James Miller] had one above his kitchen cabinets, so he filled it with a giant LED matrix. The result is a large but surprisingly attractive LED screen that can send messages, provide illumination, or while away the idle hours of the night playing Conway’s Game of Life.

[James] built the matrix using the usual suspect for these builds: several strings of WS2812 lights . He initially ran this from a Raspberry Pi, but realized that there was no need for such a dizzying amount of computing power, so he switched to an ESP32 instead. The frame is built from wood and foam board.

The first version he built used a fabric diffuser, but after a close encounter with a flaming steak, he switched over to commercial ceiling light diffusers cut down to size. We might have been tempted to keep going and try an “egg crate” style ceiling light panel for a the smaller pixel size, but [James] thinks he has reached the “good enough” point of this project. It’s certainly a fun build, and it looks very cool with minimal materials.

Continue reading “Giant LED Matrix Fills Blank Space In The Kitchen”

Decoding The 8088

There is a lot to like about open software, and in some areas, a well-thought-out piece of software can really make a huge impact. A great example of this is the Sigrok project. Creating simple devices that act like a logic analyzer is relatively easy. What’s hard is writing nice software for such a setup including protocol decoders. Sigrok has done it and since it is open, you can add your device and decode your protocol. [GloriousCow] had done the hardware part of interfacing to the 8088 in an IBM PC using an off-the-shelf logic analyzer that uses a customized version of Sigrok. But the output was a CSV file you had to process in a spreadsheet program. The next step: write a decoder for Sigrok to understand 8088 bus cycles.

The post covers the details of writing such a plug-in for Pulseview, the Sigrok GUI. It will also work for the command line interface if you prefer that. The code is in Python.

Continue reading “Decoding The 8088”