Someone Set us Up the Compiler Bomb

Despite the general public’s hijacking of the word “hacker,” we don’t advocate doing disruptive things. However, studying code exploits can often be useful both as an academic exercise and to understand what kind of things your systems might experience in the wild. [Code Explainer] takes apart a compiler bomb in a recent blog post.

If you haven’t heard of a compiler bomb, perhaps you’ve heard of a zip bomb. This is a small zip file that “explodes” into a very large file. A compiler bomb is a small piece of C code that will blow up a compiler — in …read more

Continue reading Someone Set us Up the Compiler Bomb→

Buck Converter Efficiency

We always appreciate when someone takes the time to build something and then demonstrates what different design choices impact using the real hardware. Sure, you can work out the math and do simulations, but there’s something about having real hardware that makes it tangible. [Julian Ilett] recently posted two videos that fit this description. He built a buck converter and made measurements about its efficiency using different configurations.

The test setup is simple. He monitors the drive PWM with a scope and has power meters on the input and output. That makes it easy to measure the efficiency since it …read more

Continue reading Buck Converter Efficiency→

Print Your Own Filament

Ask anyone with a 3D printer what they make the most. They’ll probably say “trash.” There are extra pieces, stuff that oozes out of the extruder, support material, parts that didn’t stick to the bed, or just parts that needed a little tweaking to get right. No matter what you do, you are going to wind up with a lot of scraps. It would be great if you could recycle all this, and [3D Printing Nerd] looks at the FelFil Evo Filament extruder that promises it can do just that. You can see the video below.

As you’d expect, the …read more

Continue reading Print Your Own Filament→

Linux Fu: Counter Rotate Keys!

If you’ve done anything with a modern Linux system — including most variants for the Raspberry Pi — you probably know about sudo. This typically allows an authorized user to elevate themselves to superuser status to do things.

However, there is a problem. If you have sudo access, you can do anything — at least, anything the sudoers file allows you to do. But what about extremely critical operations? We’ve all seen the movies where launching the nuclear missile requires two keys counter-rotated at the same time and third firing key. Is there an equivalent for Linux systems?

It isn’t …read more

Continue reading Linux Fu: Counter Rotate Keys!→

Hacking a Fitness Tracker

When [rbaron] started a new job, he got a goodie bag. The contents included a cheap fitness tracker bracelet that used Bluetooth LE. Since this is Hackaday, you can probably guess what happened next: hacking ensued.

For something cheap enough to give away, [rbaron] claims it cost $10, the device has quite a bit in it. In the very tiny package, there is an OLED display, a battery, a vibration motor, and a Nordic 32-bit ARM with BLE. The FCC ID was key to identifying the device. Opening the case, which was glued down, was pretty difficult, but doable with …read more

Continue reading Hacking a Fitness Tracker→

Ham Radio on $100 Or Less

There are a lot of reasons to get a ham radio license, and if you are one of those that think ham radio is dead you can probably skip this post. However, if you have been interested, but didn’t want to drop a lot of money on a station, [KE6MT] has got some great advice for you. He says you can have a rewarding time in ham radio for about $100 of spending.

The post is the advice he wished he had been given in 2015 when he got his license. It turns out you can get on the air …read more

Continue reading Ham Radio on $100 Or Less→

Muscle Your Way into Music

Inspired by an old Old Spice commercial, [Juliodb96] decided he too wanted to make music by flexing his muscles. An Arduino and a MyoWare sensor did the trick. However, he also tells you how to make your own sensors, if you are so inclined. You can see the instrument in action in the video below.

If you use the ready-made MyoWare sensors, this is a pretty easy project. You just respond to sensor input by playing some notes. If you decide to roll your own, you’ll have some circuit building ahead of you.

In particular, the signal conditioning for the …read more

Continue reading Muscle Your Way into Music→

The Robots Were Coming! The Robots Were Coming!

The recent influx of home assistants proves that everything old is new again. If we told you about a life-sized robot that was self-charging, had a map of your home for navigation, and responded to voice commands, you’d assume we were going to point you to a Kickstarter or a new product release. Instead, we will point you to this post about a robot marketed in 1985.

You have to put all this in context. In 1985 the personal computer was practically a solution in search of a problem. Back then it was wildly popular to predict that every home …read more

Continue reading The Robots Were Coming! The Robots Were Coming!→

Their Battery is Full of Air

Storing electrical energy is a huge problem. A lot of gear we use every day use some form of battery and despite a few false starts at fuel cells, that isn’t likely to change any time soon. However, batteries or other forms of storage are important in many alternate energy schemes. Solar cells don’t produce when it is dark. Windmills only produce when the wind blows. So you need a way to store excess energy to use for the periods when you aren’t creating electricity. [Kris De Decker] has an interesting proposal: store energy using compressed air.

Compressed air storage …read more

Continue reading Their Battery is Full of Air→

Their Battery is Full of Air

Storing electrical energy is a huge problem. A lot of gear we use every day use some form of battery and despite a few false starts at fuel cells, that isn’t likely to change any time soon. However, batteries or other forms of storage are important in many alternate energy schemes. Solar cells don’t produce when it is dark. Windmills only produce when the wind blows. So you need a way to store excess energy to use for the periods when you aren’t creating electricity. [Kris De Decker] has an interesting proposal: store energy using compressed air.

Compressed air storage …read more

Continue reading Their Battery is Full of Air→