Hackaday Podcast 156: 3D-Printing Rainbows, Split-Flap Clocks, Swapping EV Car Batteries, And Floppy Time

This week, Hackaday Editor-in-Chief Elliot Williams and Assignments Editor Kristina Panos fawn over a beautiful Italian split-flap clock that doesn’t come cheap, and another clock made of floppies that could be re-created for next to nothing. We’ll also sing the praises of solderless circuitry for prototyping and marvel over a filament dry box with enough sensors to control an entire house. The finer points of the ooh, sparkly-ness of diffraction gratings will be discussed, and by the end of the show, you’ll know what we each like in a microscope.

Take a look at the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

(And if you’re wondering about what my joke about not having Kristina on the show for 28 seconds, and all the professionalism, was about — we both forgot to press record the first time through and got ~15 minutes into the show before noticing. Yeah. But we had a good time the second time around anyway.)

Direct Download (The best 40 MB you’ll download today!)

Continue reading “Hackaday Podcast 156: 3D-Printing Rainbows, Split-Flap Clocks, Swapping EV Car Batteries, And Floppy Time”

This Week In Security: Chrome 0-day,Cassandra, And A Cisco PoC

Running Chrome or a Chromium-based browser? Check for version 98.0.4758.102, and update if you’re not running that release or better. Quick tip, use chrome://restart to trigger an immediate restart of Chrome, just like the one that comes after an update. This is super useful especially after installing an update on Linux, using apt, dnf, or the like.

CVE-2022-0609 is the big vulnerability just patched, and Google has acknowledged that it’s being exploited in the wild. It’s a use-after-free bug, meaning that the application marks a section of memory as returned to the OS, but then accesses that now-invalid memory address. The time gap between freeing and erroneously re-using the memory allows malicious code to claim that memory as its own, and write something unexpected.

Google has learned their lesson about making too many details public too early, and this CVE and associated bug aren’t easily found in in the Chromium project’s source, and there doesn’t seem to be an exploit published in the Chromium code testing suite. Continue reading “This Week In Security: Chrome 0-day,Cassandra, And A Cisco PoC”

Remoticon 2021 // Matt Venn Helps You Make ASICS

What would you make if you were given about ten square millimeters of space on a silicon wafer on a 130 nm process? That’s the exact question that the Open MPW program asks, and that [Matt Venn] has stepped up to answer. [Matt] came to Remoticon in 2020 to talk about his journey from nothing to his own ASIC, and he came back in 2021 to talk about what has happened in a year.

image of the metal layers of an IC
[maxiborga] has been making beautiful renders of his and others’ chip designs
We expected great designs, but the variety of exciting and wonderful designs that have been submitted we think exceeded our expectations. [Matt] goes through quite a few of them, such as an analog neuron, a RISC-V Arduino-compatible microprocessor, and a satellite transceiver. Perhaps an unexpected side effect has been the artwork. Since the designs are not under an NDA, anyone can take the design and transform it into something gorgeous.

Of course, all of this hardware design isn’t possible without an open toolchain. There is an SRAM generator known as OpenRAM that can generate RAM blocks for your design. Coriolis2 is an RTL to GDS tool that can do placement and routing in VLSI. Finally, FlexCell is a cell library that tries to provide standard functions in a flexible, customizable way that cuts down on the complexity of the layout. There are GitHub actions that can run tests and simulations on PRs to keep the chip’s HDL in a good state.

However, it’s not all roses, and there was an error on the first run (MPW1). Hold time violations were not detected, and the clock tree wasn’t correct. This means that the GPIO cannot be set up, so the designs in the middle could be working, but without the GPIO, it is tricky to determine. With a regular chip, that would be the end, but since [Matt] has access to both the layout and the design, he can identify the problem and come up with a plan. He’s planning on overriding the IO setup shift register with an auxiliary microcontroller. (Ed Note: [tnt] has been making some serious progress lately, summarized in this video.)

It is incredible to see what has come from the project so far, and we’re looking forward to future runs. If this convinces you that you need to get your own ASIC made, you should check out [Matt]’s “Zero to ASIC” course.

Continue reading “Remoticon 2021 // Matt Venn Helps You Make ASICS”

Linux Fu: Fusing Hackaday

Unix and, by extension, Linux, has a mantra to make everything possible look like a file. Files, of course, look like files. But also devices, network sockets, and even system information show up as things that appear to be files. There are plenty of advantages to doing that since you can use all the nice tools like grep and find to work with files. However, making your own programs expose a filesystem can be hard. Filesystem code traditionally works at the kernel module level, where mistakes can wipe out lots of things and debugging is difficult. However, there is FUSE — the file system in user space library — that allows you to write more or less ordinary code and expose anything you want as a file system. You’ve probably seen FUSE used to mount, say, remote drives via ssh or Dropbox. We’ve even looked at FUSE before, even for Windows.

What’s missing, naturally, is the Hackaday RSS feed, mountable as a normal file. And that’s what we’re building today.

Writing a FUSE filesystem isn’t that hard, but there are a lot of tedious jobs. You essentially have to provide callbacks that FUSE uses to do things when the operating system asks for them. Open a file, read a file, list a directory, etc. The problem is that for some simple projects, you don’t care about half of these things, but you still have to provide them.

Luckily, there are libraries that can make it a lot easier. I’m going to show you a simple C++ program that can mount your favorite RSS feed (assuming your favorite one is Hackaday, of course) as a file system. Granted, that’s not amazing, but it is kind of neat to be able to grep through the front page stories from the command line or view the last few articles using Dolphin. Continue reading “Linux Fu: Fusing Hackaday”

“So Long,” Said All The Tank-Driving Fish

Though some of us are heavily assisted by smart phone apps and delivery, humans don’t need GPS to find food. We know where the fridge is. The grocery store. The drive-thru. And we don’t really need a map to find shelter, in the sense that shelter is easily identifiable in a storm. You might say that our most important navigation skills are innate, at least when we’re within our normal environment. Drop us in another city and we can probably still identify viable overhangs, cafes, and food stalls.

The question is, do these navigational skills vary by species or environment? Or are the tools necessary to forage for food, meet mates, and seek shelter more universal? To test the waters of this question, Israeli researchers built a robot car and taught six fish to navigate successfully toward a target with a food reward. This experiment is one of domain transfer methodology, which is the exploration of whether a species can perform tasks outside its natural environment. Think of all the preparation that went into Vostok and Project Mercury.

Continue reading ““So Long,” Said All The Tank-Driving Fish”

Predicting The Future: How’s That Working Out?

With 2022 off to a good start, it is about time to let go of all those New Year’s resolutions that didn’t quite work out. The scale’s needle didn’t reverse, our nails are still bitten, and we are still binge-watching Breaking Bad instead of reading the classics. But, of course, there’s always the future where we just know we’re going to stick to our resolutions. Besides, the future will be replete with fat-eating nanobots, 3D printed nails every morning, and a pill you can take that will make you remember reading Ulysses.

Predicting the future is fraught with peril, which is why launching a new company or product is so risky. However, there have been a few prognosticators that have made some impressive forecasts. For example, in 1922 popular (if not critically acclaimed) author W. L. George wrote a piece for The New York Herald titled “What the World Will be Like In a Hundred Years.” Since May will see that piece’s 100th anniversary, let’s see how he did.

Continue reading “Predicting The Future: How’s That Working Out?”

Featured image of Aladdin's Castle Arcade

Retrotechtacular: Raw Video From Inside A 1980s Arcade

It was just this year that Sega left the arcade business for good. A company synonymous with coin-op games for over a half century completely walked away from selling experiences you can only get on location. No more Outrun or Virtua Fighter machines, because arcades these days tend to resemble The House of the Dead. Arcades still exist to a degree, it’s just that headlines like that serve only as a reminder of an era gone by. Which is what makes raw footage like the video [Jon] posted of an Aladdin’s Castle arcade from the 1980s so compelling.

scan of Aladdin's Castle Arcade pamphlet ad
Aladdin’s Castle ad brochure circa 1983. Credit: John Andersen

The raw VHS footage starts with a sweep around the location’s pinball machines and arcade cabinets. There’s an extended shot of a rare TX-1 tri-monitor sitdown cabinet. The racing game was the first of its kind to feature force feedback in the steering wheel, so it’s no wonder it received the focus. The arcade’s lighting tech was also a point of pride as it allowed for programmable lighting cues. A far cry from the flickering fluorescent tubes no doubt in use elsewhere. Eventually the employee filming takes us to the back room where it the owner has made it abundantly clear that they are not a fan of Mondays, judging by the amount of Garfield merchandise.

Bally’s Aladdin’s Castle was a chain of arcades and had nearly 400 locations across the US at its height in the mid 1980s (at least according to their brochure seen above). Those neon red letters were a mainstay of American shopping malls throughout the decade. Namco, the Pac-Man people, acquired Aladdin’s Castle in 1993 and the brand faded away soon after. Although there is a lone location in Quincy, IL that is still open for business today.

Continue reading “Retrotechtacular: Raw Video From Inside A 1980s Arcade”