Why Get Dressed When There Are Software Pants?

With so many of us working from home over the last two years, it’s really become apparent that people generally dislike sitting all day with pants on. Until such a utopian time when all clothing is considered unisex, and just as many men as women are kicking it in loose, flowing skirts and dresses, you may want to remember to actually wear something on your lower half, uncomfortable though pants may be. But there is another way — you could build [Everything Is Hacked]’s pants filter and continue to be a chaos agent. Check out the video after the break.

These pants go as wide as you please.

That’s right, whether you forego or just forget to dress yourself below the equator, the pants filter has you covered. It works like you might expect — machine learning tracks body landmarks and posture to figure out where your NSFW region is and keep it under wraps.

By default, it blurs everything below the belt, or you can draw on pants if you’re inclined to be in revealing tighty-whities and prefer more coverage. You can adjust the width of the pants to cover the covid-19 you may have put on since 2020, and even change the pants to match your shirt.

We love that [Everything Is Hacked] had the um, gumption to test the pants filter in public at what appears to be a local taco joint. After the first few rounds of weird looks, he switched to a pants moustache to save face.

Want to add even more fun to those boring video calls? Try connecting up some vintage hardware, or install a pull chain to end those sessions with a gesture that won’t get you fired.

Continue reading “Why Get Dressed When There Are Software Pants?”

Backyard with a squirrel maze

Fort Knutz – Squirrels Go All Mission Impossible

[Mark Rober] has a bird feeder in his back yard. Also, squirrels who eat the seed. So, as one does, he built a nine part squirrel obstacle course with a reward of walnuts at the end, and filmed them beating the course.

(Spoiler – this is all much better in the video, which we’ve placed below the break).

His four backyard squirrels enter a ‘Casino’ and avoid the plushie ‘security’.  From there it’s across a rod mounted on bearings, leap into a crate under a helicopter, which zip-lines to a brick wall with randomly moving bricks, and into their hideout.

A squirrel at a model buffet in a casino
Security is about to get him.

The hideout elevator shaft leads to a sewer, which leads to the famous room from Mission Impossible where [Tom Cruise] has to avoid the floor, but to get to the hatch in the top they have to lower a ladder by ‘hacking into’ the control system (by pushing a keyboard shaped button) and lowering a rope ladder.

Next they go through a tube maze to a room full of laser beams (3D printer filament) and finally they can jump onto the platform with Fort Knutz. If they get the vault door open, they’re rewarded with a shower of walnuts.

Continue reading “Fort Knutz – Squirrels Go All Mission Impossible”

Learning Electronics By Just Doing It

Learning anything new, especially so broad and far reaching as electronics, can be hard. [IMSAI Guy] knows this because he gets asked regularly “how do I learn electronics?” Many of you reading this will have a few ideas to pass along (and we encourage you to share your take on it in the comments below) but there is an even greater number of people who are asking the same question, and [IMSAI Guy]’s take on it is one that this particular Hackaday writer can relate to.

The ARRL Handbook can be found at hamfests, radio clubs, libraries, or at arrl.org

According to [IMSAI Guy], an excellent place to start is the ARRL Handbook. The ARRL Handbook is an electronics and RF engineering guide published by the Amateur Radio Relay League in the US. It’s a wonderful reference, and past editions can be had very inexpensively and are every bit as handy. Many hams will have a copy they could be talked out of, and you can likely find one at your local library. Where to start in the Handbook, then?

[IMSAI Guy] recommend starting with whatever catches your fancy. As an example, he starts with Op Amps, and rather than diving straight into the math of how they work or even worrying to much about what they are- he just builds a circuit and then plays with it to intrinsically understand how it works, a “learn by doing” approach that he has found extremely helpful just as many of us have. We also appreciated is very straightforward approach to the math: Don’t bother with it unless you need to for some reason, and definitely don’t start by learning it first.

In fact, that same reasoning is applied to any subject: Learn it as you need it, and don’t start by learning but rather by doing. The learning will come on its own! Be sure to check out the entire video and let us know what you think, and how you approached learning electronics. Thanks to [cliff] for the great Tip!

Continue reading “Learning Electronics By Just Doing It”

Our Favorite Things: Binary Search

You might not think that it would be possible to have a favorite optimization algorithm, but I do. And if you’re well-versed in the mathematical art of hill climbing, you might be surprised that my choice doesn’t even involve taking any derivatives. That’s not to say that I don’t love Newton’s method, because I do, but it’s just not as widely applicable as the good old binary search. And this is definitely a tool you should have in your toolbox, too.

Those of you out there who slept through calculus class probably already have drooping eyelids, so I’ll give you a real-world binary search example. Suppose you’re cropping an image for publication on Hackaday. To find the best width for the particular image, you start off with a crop that’s too thin and one that’s too wide. Start with an initial guess that’s halfway between the edges. If this first guess is too wide, you split the difference again between the current guess and the thinnest width. Updated to this new guess, you split the differences again.

But let’s make this even more concrete: an image that’s 1200 pixels wide. It can’t get wider than 1200 or thinner than 0. So our first guess is 600. That’s too thin, so we guess 900 — halfway between 600 and the upper limit of 1200. That ends up too wide, so we next guess 750, halfway between 600 and 900. A couple more iterations get us to 675, then 638, and then finally 619. In this case, we got down to the pixel level pretty darn fast, and we’re done. In general, you can stop when you’re happy, or have reached any precision goal.

[Ed note: I messed up the math when writing this, which is silly. But also brought out the point that I usually round the 50% mark when doing the math in my head, and as long as you’re close, it’s good enough.]

What’s fantastic about binary search is how little it demands of you. Unlike fancier optimization methods, you don’t need any derivatives. Heck, you don’t even really need to evaluate the function any more precisely than “too little, too much”, and that’s really helpful for the kind of Goldilocks-y photograph cropping example above, but it’s also extremely useful in the digital world as well. Comparators make exactly these kinds of decisions in the analog voltage world, and you’ve probably noticed the word “binary” in binary search. But binary search isn’t just useful inside silicon. Continue reading “Our Favorite Things: Binary Search”

Soldering iron tip heating up a piece of wire wrapped around the metal parts of a MicroUSB socket, with melted solder heating up all the important parts.

Desoldering Without Hot Air: Piece Of Wire Edition

Quite a few hackers nowadays share their tips and tricks on Twitter – it’s easy to do so, and provided either an existing audience or a bit of effort to get one, you’ll get at least a few notifications telling you that people appreciated what you had to share. Today, we’re covering two desoldering hacks highlighted there that will be useful some day, exactly when you need them. Both of them use a piece of wire and, in a way, extend the reach of your soldering iron’s tip. Copper wire would work better because of superior thermal conductivity, but other types of solid core wire will work in a pinch.

First hack is brought to us by [Erin Rose] – desoldering a microUSB socket. You need to heat up the entire shield and the pins at the same time, which the wire acts as a thermal gateway for. As long as there are melted solder bridges from sections of the wire to all the copper-to-part connection points, it should be easy to pump enough heat into the solder joints for all of them to eventually melt and give in at once.

Second hack is brought to us by [arturo182]. A piece of thick wire acts, again, as a heat conductor to desolder a 0.5mm pitch TQFP-100 package IC. You have to bend the wire into a correct shape, so that it’s as close to the pins of the TQFP as possible. In this situation, the wire performs two functions: first, transferring the heat from the iron’s tip to different points along the wire, then, as a barrier that helps solder not escape too far away from the pins. Copious amounts of flux likely desired for this one!

Hopefully, this comes handy if you ever need to replace an all-SMD part ASAP but don’t have a hot air gun or a hotplate handy. After getting this concept down to an art, we are sure you won’t limit yourself to TQFP parts and MicroUSB sockets. We’ve talked about desoldering practices before as part of our newsletter, and using lots of melted solder for part removal is not a foreign concept to us, either.

Continue reading “Desoldering Without Hot Air: Piece Of Wire Edition”

Two clothespin hacks mentioned in the article, side-by-side.

Need To Probe Circuits? Remember About Clothespins!

After browsing Thingiverse for some printable PCB probe designs, [Henry York] looked around and found a wooden clothespin on his desk. After some collaboration between his 3D printer and his CNC, Henry graced us with a nifty helper tool design that many of us might want to make in a pinch – a small, cheap and easy to make PCB probe, for circuits where soldering and headers are out of the question. Small magnets are glued to the clothespin, holding it flush to a magnetizable work surface (aka a toaster tray), and the probing itself is done by an extruder cleaning needle end. 3D printer and Edge.Cuts files are shared with us – thanks to Henry’s helpfulness, it should be easy to repeat if ever needed!

[Tyler Rosonke] (@zonksec) was programming a batch of badges and needed a reliable way to attach to a 6-pin ISP header – without actually soldering to the badges before they’re handed out to participants! A clothespin materialized nearby yet again – most likely, channeled from a different dimension by the spirit of numerous acrylic-cast pogopin-toothed clip-on tools we scroll by on Aliexpress. With a small perfboard piece and a bunch of pogopins jumping out of their respective drawers, it became no longer necessary to hold a bundle of male-ended pin header wires at a weird angle while nervously looking at the avrdude progress bar. This ended up saving a whole lot of time, something that’s always best spent on adding insidious bugs to the badge firmware (as well as, perhaps, easter eggs).

We’d love to hear about all the small hacks and improvements that you, hackers in our audience, invent. Whether it’s reusing a SOIC flashing clip for ISP programming or printing yourself an octopus-like contraption with needle probes, you should share it with us!

Camping For $25: Thrift Store Hacks To Keep Cozy

A hacker is somebody who’s always thinking creatively to solve problems, usually using what they have on hand. Sometimes that means using a 555 to build a CPU, and other times it means using a dead flashlight to start a fire. In the video below the break, [Kelly] shows us a series of hacks you can use while camping in the woods for a night to keep you warm, dry, and well fed!

[Kelly] started his camping trip not in the woods, but rather at a local thrift store. Instead of packing along hundreds of dollars in gear, his aim was to keep costs low. Very low. With some searching he was able to find a blanket, cooking utensils, rope, knife, tarp, and several other camp necessities for just $25.

A good campfire is a necessity of course, and [Kelly]’s full of great ways to start a fire even if all you have is a lighter with no butane or an old flashlight with dead batteries. The purpose of the video is to show how anyone can get their bush craft on even when all they have is a few dollars and a little know-how, which he generously shares. And after watching, we’re sure you’ll agree that he met his mark.

Will you raid the local second hand store before your next camping trip? After seeing this video, you just might! And while you’re there, make sure to grab the things you’ll need to make your own camping-friendly French press so you have some good coffee while you’re out camping in your… uh… Corolla?

Continue reading “Camping For $25: Thrift Store Hacks To Keep Cozy”