Linux Fu: Failing Pipelines

Bash is great for automating little tasks, but sometimes a little script you think will take a minute to write turns into a half hour or more. This is the story of one of those half-hour scripts.

I have too many 3D printers. In particular, I have three that are almost — but not exactly — the same, so each one has a slightly different build process when I want to update their firmware. In all fairness, one of those printers is heading out the door soon, but I’ll probably still wind up building firmware images for it.

My initial process was painful. I have a special directory with the four files needed to configure Marlin for each machine. I copy all four files and ask PlatformIO to perform the build. Usually, it succeeds and gives me a file that looks like firmware-yyyyddmmhhmm.bin or something like that.

The problem is that the build process doesn’t know which of the three machines is the target: Sulu, Checkov, or Fraiser. (Long story.) So, I manually look at the file name, copy it, and rename it. Of course, this is an error-prone process, and I’m basically lazy, so I decided to write a script to do it. I figured it would take just a minute to bundle up all the steps. I was wrong.

Continue reading “Linux Fu: Failing Pipelines”

FLOSS Weekly Episode 793: Keeping An Eye On Things With Hilight.io

This week Jonathan Bennett and Aaron Newcomb chat with Jay Khatri, the co-founder of Highlight.io. That’s a web application monitoring tool that can help you troubleshoot performance problems, find bugs, and improve experiences for anything that runs in a browser or browser-like environment. Why did they opt to make this tool Open Source? What’s the funding model? And what’s the surprising challenge we tried to help Jay solve, live on the show? Listen to find out!

Continue reading “FLOSS Weekly Episode 793: Keeping An Eye On Things With Hilight.io”

Supercon 2023: Jesse T. Gonzalez Makes Circuit Boards That Breathe And Bend

Most robots are built out of solid materials like metal and plastic, giving them rigid structures that are easy to work with and understand. But you can open up much wider possibilities if you explore alternative materials and construction methods. As it turns out, that’s precisely what [Jesse T. Gonzalez] specializes in.

Jesse is a PhD candidate at Carnegie Mellon’s Human-Computer Interaction Institute, and an innovator to boot. His talk at the 2023 Hackaday Supercon covers his recent work on making circuit boards that can breathe and bend. You might not even call them robots, but his creations are absolutely robotic.

Continue reading “Supercon 2023: Jesse T. Gonzalez Makes Circuit Boards That Breathe And Bend”

Illustrated Kristina with an IBM Model M keyboard floating between her hands.

Keebin’ With Kristina: The One With The Key Cap Map

So, [zyumbik]’s trademark seems to be sexing things up, and the Artsey layout did not escape their gaze. This is the Sexy Artsey. Let’s back up a bit.

A pink and purple 10-key keyboard with a rotary encoder, spikes, and a custom area with LEGO attached.
Image by [zyumbik] via reddit
Artsey is a keyboard layout for chording, and this keyboard is built for it. It’s a one-handed keyboard meant for pressing multiple keys at a time to produce each character. With some use, [zyumbik] discovered that the Taipo layout might be a better fit, so there are currently some elements of both.

If you’d like to make this adorable keyboard, everything is waiting for you to download, including files for various thingamabobs you can stick on the side there where the rainbow is now. There’s also a groovy flower version of the knob.

Controller-wise, you can use a Seeed Studio Xiao in either BLE or RP2040 format, or the Waveshare RP2040 Zero. The firmware is written in ZMK.

Remember the death metal macropad? (Who could forget that tentacled nightmare?) This is the same creator. Kind of hard to believe, innit? Well, except for the spikes. Apparently they’re for thumb discipline.

Via reddit

Continue reading “Keebin’ With Kristina: The One With The Key Cap Map”

Small Mammals Appear To Have A Secret Infrared Sense

If you’ve ever watched Predator, you’ve noted the tactical advantage granted to the alien warrior by its heat vision. Indeed, even with otherwise solid camoflauge, Dutch and his squad ended up very much the hunted.

And yet, back in reality, it seems the prey might be the one with the ability to sense in the infrared spectrum. Research has now revealed this unique ability may all be down to the hairs on the back of some of the smallest mammals.

Continue reading “Small Mammals Appear To Have A Secret Infrared Sense”

Hackaday Links Column Banner

Hackaday Links: July 21, 2024

When monitors around the world display a “Blue Screen of Death” and you know it’s probably your fault, it’s got to be a terrible, horrible, no good, very bad day at work. That’s likely the situation inside CrowdStrike this weekend, as engineers at the cybersecurity provider struggle to recover from an update rollout that went very, very badly indeed. The rollout, which affected enterprise-level Windows 10 and 11 hosts running their flagship Falcon Sensor product, resulted in machines going into a boot loop or just dropping into restore mode, leaving hapless millions to stare at the dreaded BSOD screen on everything from POS terminals to transit ticketing systems.

Continue reading “Hackaday Links: July 21, 2024”

Do Your Research

We were talking about a sweet hack this week, wherein [Alex] busts the encryption for his IP web cam firmware so that he can modify it later. He got a number of lucky breaks, including getting root on the device just by soldering on a serial terminal, but was faced with having to reverse-engineer a binary that implemented RSA encryption and decryption.

Especially when they’re done right, and written to avoid side-channel attacks, encryption routines aren’t intuitive, even when you’re looking at the C source. Reversing it from the binary would be a tremendous hurdle.

That’s when [Alex] started plugging in strings he found in the binary into a search engine. And that’s when he found exactly the open source project that the webcam used, which gave him the understanding he needed to crack the rest of the nut.

Never forget! When you’re doing some reverse engineering, whether hardware or software, do a search for every part number and every string you find in memory. If you’re like me, it might feel like cheating a little bit, but it’s just being efficient. It’s what all your hacker heroes say they do, and if you’re lucky, it might just be the break you need too.