Star Trek Was Right About Prompt Injection, Sorta

This following statement is a lie: “I am telling the truth”. Okay, now that it’s just us meatbags, let’s get down to brass tacks. Captain Kirk’s logic bombs couldn’t possibly work on modern LLMs, right? Surely that was just a bit of 1960s silliness from when computers filled rooms and were esoteric magic even to most sci-fi writers?

Well, not entirely, according to a recent article in IEEE Spectrum. While you might not be able to make a data center explode, you certainly can use  a lot of tokens by making an LLM overthink with your prompt.

It comes down to the much-vaunted ‘reasoning’ ability of the new models — which isn’t really reasoning the way we think of it, but does involve breaking the stated prompt down into smaller problems. That’s part of what lets the new models tackle such involved tasks as porting MicroPython to the SNES with a prompt like “Please make this [stuff] work now!” It’s also a weakness, because with the right prompt you can get that virtual ‘reasoning’ to tie itself in knots with mutually incompatible smaller steps.

The models seem to be able to break out of it, but they burn a lot of tokens along the way, which is an attack in and of itself if you’re found a way to inject prompts into someone else’s API. It’s a little more subtle than what Kirk got up to, but underneath it’s essentially the same thing. At scale, it could serve as a DDoS attack on LLM servers. (Un)Fortunately, modern computers are better designed than their imaginary 23rd-Century counterparts, and there’s no way to craft a logic bomb into something that will let out the magic smoke.

Get Your ESP32 Sunny Side Up With This Solar Dev Board

There are a lot of ESP32-based development boards out there– and why not? It’s a versatile chip that can be used in all sorts of situations, and people want boards to match them. Not finding one to his liking that was specifically built for solar powered IoT projects, [Narrow Studios] rolled his own. Well, designed it; like most these days, he’s outsourced the manufacturing to PCBWay, which is where you’ll need to go if you want one.

Why might you want one? Well, if you have similar goals in mind to [Narrow Studios]. He’s put an ESP32-C6 Mini on the board, which means it’s got most of the IoT communications protocols you might be interested in — bluetooth, wifi, Matter, Thread, and Zigbee, too. Ten 10 IO pins have been broken out, plus I2C on a QWIIC connector, which gets you a whole ecosystem of sensors to easily plug into. The “solar” part is justified by the inclusion of a BQ25186 linear battery charging IC from Texas Instruments, with the designated solar power input protected against reverse voltage in case you– like this author– have let magic smoke out by hooking things up backwards. Is it embarrassing? Yes. Does it happen? Also yes, so putting protection on the board is a nice feature. [Narrow Studios] released a video that we’ve embedded below discussing his design choices and demonstrating the device, but the project page can give you the gist.

Of course there’ve been plenty of solar-powered projects to feature the ESP32 here before– you can even use it for maximum power point tracking— but this dev board might be exactly what someone is looking for to build their next IoT project, so we’re thankful to [Narrow Studios] for the tip.

Continue reading “Get Your ESP32 Sunny Side Up With This Solar Dev Board”

MicroPython Is This Summer’s Hottest Title For The SNES, Thanks To Claude Fable

MicroPython, for the uninitiated, is a pared-down version of python meant to run on today’s powerful microcontollers. As impressive as it was for its day, the SNES is not quite in their league in terms of computing power. Time marches on, and so while there may be other indie releases worth mentioning, we’re declaring the hottest SNES game this season to be [Fabian Kübler]’s port of MicroPython.

Well, except he didn’t exactly do the porting himself: the Antrhopic LLM Claude generated the code, and performed most of the testing, as [Fabian]’s test of its new Fable 5 model. A brief pause during an export ban showed that Opus would crash and burn on the same task, but Fable was able to get things quickly back on track. It might be “AI slop” by some definitions, but the port scales 430 out of 468 on MicroPython’s core test/basics, which makes it usable to play some simple python games… slowly.

As you can see for yourself in an embedded emulator if you check out [Fabian]’s blog, spooling up MicroPython takes about twenty seconds at 3.58 MHz, and after that you can watch some sprites bouncing around at a blistering 0.8 FPS. [Fabian] seems satisfied with that performance, and impressed with Fable’s efforts at optimization. What to you think? Does the hardware have much more to give, or is that about it, given the nature of the Pythonic beast? Perhaps some plucky human could become a digital John Henry by producing a better, faster port — if you do, please let us know. If you’d rather just to see what Fable can do, the project is available on GitHub, so you can judge for yourself how sloppy the code is or test out the ROM.

Putting Python onto limited hardware may not to be to everyone’s taste, but there’s a good case to be made for it. The SNES may actually be too limited, though. It makes sense — the kind of micros you run MicroPython on can emulate the SNES.

Reject Modernity, Return To 80s, Learn C.

We’re not exactly sure how old [SnailMail] is, but he’s probably a member of Generation Alpha considering that to our wizened eyes the lad looks only slightly older than a fetus– which makes it all the more impressive that he’s written his own text editor, from scratch, in C– on a 386. See, [SnailMail] tried to learn the modern way, with IDEs that have code completion and AI integration, but his thoughts couldn’t gel in the modern environment. So he went online and bought an old IBM-compatible complete with monochrome amber monitor, and a whole 4MB of RAM. Big spender that he is, [SnailMail] upgraded that to 8MB.

Rather than fall victim to the siren song of Wolfenstien 3D or SimCity, he set out to learn to code: C, specifically, since that language bridges four decades between [SnailMail] and his new PC. Even more specifically, he got ahold of disks for Borland Turbo C and Turbo C++, which brings back memories for some of us. Of course the lad also had to learn how to use a DOS PC at the same time, but a teen in the 80s with a fresh box would have climbed the same steep learning curve. Some of you probably remember doing so yourselves. Just like you–or the hypothetical teen in the 80s–[SnailMail] did it not by googling or begging Claude for answers, but by digging into books. Many books.

After all the reading, he started with a text editor, something we remember being a pretty big project not given to first year students. Video evidence suggests he pulled it off. He describes how his solution works from about 8:00 in the video, so you greybeards in the audience can judge his work for yourself.

If you’re a member of Gen Alpha reading this and looking to learn to program, we cannot recommend this technique highly enough– [SnailMail] is going to have a better understanding of the underlying logic of computer science than a lot of CS grads being frocked today. Especially when you consider he ends by promising to learn assembly, something we heartily endorse.

Continue reading “Reject Modernity, Return To 80s, Learn C.”

3D Printed Scooter Fits In Your Luggage, Some Assembly Required

Though [Ivan Miranda] calls the 3D printed vehicle in his recent video a motorbike, what he ultimately pulls out of his suitcase is clearly a scooter. Linguistic confusion aside, the “Mirandetta” looks like an awesome build and pulling a scooter out of your suitcase and whizzing past everyone in the taxi line just sounds amazing, especially knowing you made it yourself.

Aside from a whole lot of filament, he’s got a couple of tool batteries for hot-swappable energy that Airport security shouldn’t mind too much — provided you carry them with you, anyway — plus the usual e-bike motor and electronic speed control you might expect, and lawnmower tires which you might not. The narrow 3D printed rims round over the normally-flat tires to make them usable for this application. He seems particularly taken with the bi-stable mechanism he built for the kickstand, and we can’t blame him as we love seeing that kind of thing ourselves. The TPU seat is also a nice touch to keep with ‘everything printed’ vibe.

Now while the finished product does indeed fit into his suitcase, it needs to be completely disassembled. Well, unless you have an over-sized suitcase, perhaps. So our dreams of zooming away from the luggage line from the first paragraph were perhaps a bit premature. Still, from the footage at Prague Maker Faire at the end of the video, it looks like it was a fun enough ride that we can forgive [Ivan] for our overactive imaginations.

If you want an open-source e-bike, we’ve seen those too — but that won’t fit in any kind of suitcase.

Continue reading “3D Printed Scooter Fits In Your Luggage, Some Assembly Required”

Radio-Gaga Is A Toddler Friendly Remote In A Radio

Humans of all ages like music, but you can’t exactly pass a toddler the aux cable. That’s not to say the younger set don’t have their own particular tastes– they absolutely do, and they absolutely love to take control and inflict them on the rest of us. [nbr23] has a toddler who loves both music and tactile controls, and decided to combine the two for them with a project he calls Radio-Gaga, which is a gutted Panasonic radio that calls up tunes via Home Assistant.

Interestingly enough the radio is now just a remote control– the speaker has been removed along with the rest of the radio hardware. The buttons and dials are still there, though, letting the toddler control what tunes are on offer and at what volume via couple of potentiometers hooked to an ESP32. The sound itself is being served up from the homelab to a USB speaker. There’s one notable flaw with this architecture: if the batteries die on the remote, “Let it Go” does not until an adult intervenes manually or recharges the remote.

One interesting lesson [nbr23] wanted to share was that he was able to improve an unsatisfactorily slow startup time by assigning the device a static IP on his network– apparently the single longest step in getting the tunes going was negotiating a DHCP lease. Skipping that gets the tunes playing in under a second, which is fast enough even for the most impatient of tiny humans.

If you prefer a more self-contained device, we’ve seen toddler jukeboxes that keep storage and speaker built-in, many with NFC control. 

Overpowered RC Car + Gimbal Cam = The Greatest Chase Vehicle We’ve Ever Seen

Modern cinema relies very heavily on quadrotor drones, because they make for very smooth, very easy to position platforms. From slow pans to chase shots, drones are great– if your shots can be taken at a high enough altitude. Close to the ground, things get a bit dodgier. That’s where [Transistor Man]’s camera chase vehicle comes in— it’s a rover, so it excels close to the ground. In fact, it can’t go anywhere else, except perhaps if provided with a jump. It’s got a hefty gimbal to hold the camera steady on any terrain, a decade-old surplus radio to provide full HD FPV to the remote driver, and a powerful 1/5th scale radio control rally chassis to make it all go. Plus googly eyes, because everything is better with googly eyes.

It looks like an enormous amount of fun to drive, but more importantly it provides smooth, cinematic shots from the professional Sony camera held in the gimbal. One big takeaway is that when 3D printing something that will bounce around this much, you can’t rely on pure strength– flexible filaments are your friend. Just about everything printed ended up remade in TPU if it didn’t start that way. The other takeaway is that we’ve reached enough of a technological plateau that if you scrounge around, you can build something to take a top-of-the-line footage with decade-old castoffs, like the gimbal and radio used in this project, which is a great thing for hobbyists and small studios.

If you can’t find surplus, you could always DIY a gimbal. We’re not filmmakers, but we find ourselves wondering how shots made with this rover would compare to a camera slider.