Laser cut bug body with pincers and electronics to control the pincers

A Buggy Entry In The Useless Robot Category

No one loves a useless robot more than we do here at Hackaday. But if anyone does it might be [ARC385] with her Bug Bite Bot.

A true engineering marvel, [ARC385]’s bug bot extinguishes the candle on its own little birthday cupcake. Yup. That’s it! Even more peculiar, (and to be fair, somewhat fittingly) before her bug releases its less-than-crushing bite, it plays itself a little Happy Birthday jingle. Seems legit.

If you choose to build this little bug yourself, you’ll be happy to know that the electronics on this build are pretty straightforward. Servo motors control the pincers and a photoresistor detects the flame. [ARC385] tried using a flame sensor instead of the photoresistor, but mentioned she couldn’t get consistent performance at her required sensing distance. She also mentions that you’ll probably need to calibrate the photoresistor to ambient light if for whatever reason you choose to embark on this build yourself.

[ARC385] did a pretty good job with the laser-cut plywood to construct the bug, but using plywood adds a few more question marks to this already puzzling build. She even mentioned having to modify the pincers so they wouldn’t catch fire trying to extinguish the candle.

Would be cool if the candle could rekindle itself, but we can’t possibly support making this hack even more of a fire hazard than it already is.

Continue reading “A Buggy Entry In The Useless Robot Category”

No Lathe? Build Your Own

If you need to make round things, you probably need a lathe. Can you build one as nice as one you can buy? Probably not. But can you build one that will work and allow you to do more things than having no lathe at all? [Mikeandmertle] say absolutely! You can see the contraption in operation in the video below.

The build is decidedly functional-looking and only requires a few parts. Most of the components are unremarkable, save for a threaded bar, a metal pipe, some bearings, and a few threaded inserts. Well, there’s also a drill chuck and two lathe centers. Those don’t have to be very expensive, but they may well be the bulk of what you have to spend to make this project.

Continue reading “No Lathe? Build Your Own”

This Week In Security: BatBadBut, DLink, And Your TV Too

So first up, we have BatBadBut, a pun based on the vulnerability being “about batch files and bad, but not the worst.” It’s a weird interaction between how Windows uses cmd.exe to execute batch files and how argument splitting and character escaping normally works. And what is apparently a documentation flaw in the Windows API.

When starting a process, even on Windows, the new executable is handed a set of arguments to parse. In Linux and friends, that is a pre-split list of arguments, the argv array. On Windows, it’s a single string, left up to the program to handle. The convention is to follow the same behavior as Linux, but the cmd.exe binary is a bit different. It uses the carrot ^ symbol instead of the backslash \ to escape special symbols, among other differences. The Rust devs took a look and decided that there are some cases where a given string just can’t be made safe for cmd.exe, and opted to just throw an error when a string met this criteria.

And that brings us to the big questions. Who’s fault is it, and how bad is it? I think there’s some shared blame here. The Microsoft documentation on CreateProcess() strongly suggests that it won’t execute a batch file without cmd.exe being explicitly called. On the other hand, This is established behavior, and scripting languages on Windows have to play the game by Microsoft’s rules. And the possible problem space is fairly narrow: Calling a batch file with untrusted arguments.

Almost all of the languages with this quirk have either released patches or documentation updates about the issue. There is a notable outlier, as the Java language will not receive a fix, not deeming it a vulnerability. It’s rather ironic, given that Java is probably the most likely language to actually find this problem in the wild. Continue reading “This Week In Security: BatBadBut, DLink, And Your TV Too”

Synesthetic Clock Doesn’t Require Synesthesia

We often think of synesthetes as those people who associate say, colors with numbers. But the phenomenon can occur with any of the senses. Simply put, when one sense is activated, synesthesia causes one to experience an unrelated, activated sense. Sounds trippy, no?

Thankfully, [Markus Opitz]’s synesthetic clock doesn’t require one to have synesthesia. It’s actually quite easy to read, we think. Can you tell what time it is in the image above? The only real requirement seems to be knowing the AM color from the PM color. The minute display cycles through blue, green, yellow, and red as the hour progresses.

Behind that pair of GC9a01 round displays lies an ESP32 and a real-time clock module. [Markus] couldn’t find a fillArc function, so instead he is drawing triangles whose ends lie outside the visible area. To calculate the size of the triangle, [Markus] is using the angle function tangent, so each minute has an angle of 6°.

[Markus] created a simple but attractive oak housing for the clock, but suggests anything from cardboard and plastic to a book. What’s the most interesting thing you’ve ever used for an enclosure? Let us know in the comments.

Do you appreciate a good analog clock when you see one? Here’s a clock that uses analog meters for its display.

Royal Typewriter Gets A Second (or Third) Life

Usually when we are restoring something with a keyboard, it is some kind of old computer or terminal. But [Make it Kozi] wanted an old-fashioned typewriter. The problem is, as he notes, they are nostalgically popular these days, so picking up a working model can be pricey. The answer? Buy a junker and restore it. You can watch the whole process in the video below, too, but nearly the only sound you’ll hear is the clacking of the keys. He doesn’t say a word until around the 14-minute mark. Just warning you if you have it playing in the background!

Of course, even if you can find a $10 typewriter, it probably won’t be the same kind, nor will it have the same problems. However, it is a good bet that any old mechanical typewriter will need many of the same steps.

Continue reading “Royal Typewriter Gets A Second (or Third) Life”

Heating Mars On The Cheap

Mars is fairly attractive as a potential future home for humanity. It’s solid, with firm land underfoot. It’s able to hang on to a little atmosphere, which is more than you can say about the moon. It’s even got a day/night cycle remarkably close to our own. The only problem is it’s too darn cold, and there’s not a lot of oxygen to breathe, either.

Terraforming is the concept of fixing problems like these on a planet-wide scale. Forget living in domes—let’s just make the whole thing habitable!

That’s a huge task, so much current work involves exploring just what we could achieve with today’s technology. In the case of Mars, [Casey Handmer] doesn’t have a plan to terraform the whole planet. But he does suggest we could potentially achieve significant warming of the Red Planet for $10 billion in just 10 years. Continue reading “Heating Mars On The Cheap”

KanaChord Is A Macro Pad For Japanese Input

There are various situations that warrant additional keyboards on your desk, and inputting a second language is definitely a good one. That’s the idea behind KanaChord, which generates Unicode macros to render Japanese Kana characters using chords — pressing multiple keys at once as you would on a piano.

The Japanese writing system is made up of Kanji (Chinese characters), Hirigana, and Katakana. Without going into it too much, just know that Hirigana and Katakana are collectively known as the Kana, and there’s a table that lays out the pairing of vowels and consonants. To [Mac Cody], the layout of the Kana table inspired this chording keyboard.

Continue reading “KanaChord Is A Macro Pad For Japanese Input”