Hackaday Links Column Banner

Hackaday Links: July 25, 2021

Everyone makes mistakes in their job, but very few of us get the chance to make a one-character mistake with the potential to brick millions of devices. But that’s what happened to a hapless Google developer, who made an understandable typo in the ChromeOS code that ended up making it all the way to production. The error, which was in the OS encryption keys vault, was supposed to include the “&&” operator for a logical AND. The developer instead used a single ampersand, which broke the who conditional statement. This meant the OS evaluated even correct passwords as invalid, leaving users locked out of their Chromebooks. To be fair to the developer there should be a lot of QA steps between that typo and production, but it still has to sting.

Speaking of whoopsies, sometimes it just doesn’t pay to be right on the internet. It started when a player of the popular tank battle simulator “War Thunder” took issue with the in-game 3D model of the British Challenger 2 main battle tank. The player argued that the model was inaccurate to the point of affecting gameplay, and thought the model should be changed to make things more realistic. There seemed to be some basis for this, as the player claimed to have been a Challenger 2 commander and gunnery instructor. What’s more, like any good Netizen, the player cited sources to back up the claims, including excerpts from the official Challenger 2 instruction manual. Players on the War Thunder forum flagged this as likely classified material, but the player insisted that it wasn’t — right up to the point where the UK Ministry of Defence said, “Not so fast.” It turns out that the manual hasn’t been declassified, and that releasing the material potentially runs afoul of the Official Secrets Act, which carries with it up to 14 years detention at Her Majesty’s pleasure.

For fans of pinball, the announcement that the Museum of Pinball in Banning, California is closing its doors for good is probably a mix of good news and bad. It’s obviously bad news for any museum to close, especially one that curates collections from popular culture. And there’s no denying that pinball has been a big part of that culture, and that the machines themselves are often works of electromechanical art. But it appears that the museum just couldn’t make a go of it, and now its cavernous space will be sold off to a cannabis grower. But the sad news is tempered by the potential for private collectors and other pinball aficionados to score one of the estimated 1,100 pins the museum now needs to find a home for. We’ve never been to the museum, so it’s hard to say what kinds of machines they have and how collectible they are, but regardless, the market is about to be flooded. If you’re nearby, you might want to take a chance to see and play some of these machines one last time, before they get shipped off to private game rooms around the world.

And finally, exciting news from Hackaday superfriend Fran Blanche, who will soon tick an item off her bucket list with a zero-G ride on “G-Force 1”. Not to be confused with its military cousin the “Vomit Comet”, the weightlessness-simulating aircraft will afford Fran a total of about five minutes of free-fall when she takes the ride in a couple of months. There will also be periods of the flight that will simulate the gravity on both the Moon and Mars, so Fran has promised some Matt Damon mythbusting and Buzz Aldrin moonbouncing. And always one to share, Fran will bring along a professional video crew, so she can concentrate on the experience rather than filming it. We’ve actually scheduled Fran for a Hack Chat in August, to talk about the flight and some of her other cool goings-on, so watch out for that.

A Free Software OS For The ReMarkable E-Paper Tablet

If you’re looking to rid your day to day life of dead trees, there’s a good chance you’ve already heard of the reMarkable tablet. The sleek device aims to replace the traditional notebook. To that end, remarkable was designed to mimic the feeling of writing on actual paper as closely as possible. But like so many modern gadgets, it’s unfortunately encumbered by proprietary code with a dash of vendor lock-in. Or at least, it was.

[Davis Remmel] has been hard at work porting Parabola, a completely free and open source GNU/Linux distribution, to the reMarkable. Developers will appreciate the opportunity to audit and modify the OS, but even from an end-user perspective, Parabola greatly opens up what you can do on the device. Before you were limited to a tablet UI and a select number of applications, but with this replacement OS installed, you’ll have a full-blown Linux desktop to play with.

You still won’t be watching videos or gaming on the reMarkable (though technically, you would be able to), but you could certainly use it to read and edit documents the original OS didn’t support. You could even use it for light software development. Since USB serial adapters are supported, microcontroller work isn’t out of the question either. All while reaping the considerable benefits of electronic paper.

The only downside is that the WiFi hardware is not currently supported as it requires proprietary firmware to operate. No word on whether or not [Davis] is willing to make some concession there for users who aren’t quite so strict about their software freedoms.

We’ve been waiting patiently for the electronic paper revolution to do more than replace paperbacks with Kindles, and devices like the reMarkable seem to be finally moving us in the right direction. Thankfully, projects that aim to bring free and open source software to these devices mean we won’t necessarily have to let Big Brother snoop through our files in the process.

Variable Mirror Changes Shape Under Pressure

Unless you’re in a carnival funhouse, mirrors are generally dead flat and kind of boring. Throw in some curves and things get interesting, especially when you can control the curve with a touch of your finger, as with this variable surface convex mirror.

The video below starts off with a long but useful review of conic constants and how planes transecting a cone can create circles, parabolas, or ellipses depending on the plane’s angle. As [Huygens Optics] explains, mirrors ground to each of these shapes have different properties, which makes it hard to build telescopes that work at astronomical and terrestrial distances. To make a mirror that works over a wide range of distances, [Huygens Optics] built a mirror from two pieces of glass bonded together to form a space between the front and rear surface. The front surface, ground to a spherical profile, can be deformed slightly by evacuating the plenum between the two surfaces with a syringe. Atmospheric pressure bends the thinner front surface slightly, changing the shape of the mirror.

[Huygens Optics] also built an interferometer to compare the variable mirror to a known spherical reference. The data from the interferometer was fed to a visualization package that produced maps of the surface shape, which you can easily see changing as the pressure inside the mirror changes. Alas, a deeper dive into the data showed the mirror to be less than perfect, but it’s fascinating to think that a mirror can flex enough to change from elliptical to almost parabolic with nothing more than a puff of air.

We’ve seen a couple of interesting efforts from [Huygens Optics] before, including this next-level spirit level. He’s not all about grinding glass, though — witness this investigation into discriminating metal detectors.

Continue reading “Variable Mirror Changes Shape Under Pressure”

Umbrella And Tin Cans Turned Into WiFi Dish Antenna

There’s something iconic about dish antennas. Chances are it’s the antenna that non-antenna people think about when they picture an antenna. And for many applications, the directionality and gain of a dish can really help reach out and touch someone. So if you’re looking to tap into a distant WiFi network, this umbrella-turned-dish antenna might be just the thing to build.

Stretching the limits of WiFi connections seems to be a focus of [andrew mcneil]’s builds, at least to judge by his YouTube channel. This portable, foldable dish is intended to increase the performance of one of his cantennas, a simple home-brew WiFi antenna that uses food cans as directional waveguides. The dish is built from the skeleton of an umbrella-style photographer’s flash reflector; he chose this over a discount-store rain umbrella because the reflector has an actual parabolic shape. The reflective material was stripped off and used as a template to cut new gores of metal window screen material. It’s considerably stiffer than the reflector fabric, but it stretches taut between the ribs and can still fold up, at least sort of. An arm was fashioned from dowels to position the cantenna feed-horn at the focus of the reflector; not much detail is given on the cantenna itself, but we assume it’s similar in design to cantennas we’ve featured before.

[andrew] hasn’t done rigorous testing yet, but a quick 360° scan from inside his shop showed dozens of WiFi signals, most with really good signals. We’ll be interested to see just how much this reflector increases the cantenna’s performance.

Continue reading “Umbrella And Tin Cans Turned Into WiFi Dish Antenna”

RainCube Spreads Its Umbrella

There are times when a mechanism comes to your attention that you have to watch time and time again, to study its intricacies and marvel at the skill of its designer. Sometimes it can be a complex mechanism such as a musical automaton or a mechanical loom, but other times it can be a device whose apparent simplicity hides its underlying cleverness. Such a moment came for us today, and it’s one we have to share with you.

RainCube is a satellite, as its name suggests in the CubeSat form factor and carrying radar instruments to study Earthly precipitation. One of the demands of its radar system is a parabolic dish antenna, and even at its 37.5 GHz  that antenna needs to be significantly larger than its 6U CubeSat chassis.

The unfolding parabola in action.
The unfolding parabola in action.

It is the JPL engineers’ solution to this problem that is the beautiful mechanism we want to show you. The parabola is folded within itself and tightly furled round the feedhorn within the body of the satellite. As the feedhorn emerges, first the inner sections unfurl and then the outer edge of the parabola springs out to form the dish antenna shape. Simultaneously a mechanism of simplicity, cleverness, and beauty, one we’d be very proud of if it were our creation.

There is nothing new in collapsible parabolas used in spacecraft antennas, petal and umbrella-like designs have been a feature of some of the most famous craft. But the way that this one has been fitted into such a small space (and so elegantly) makes it special, we hope you’ll agree.

[via space.com]

Wifi Antenna

Simple Directional WiFi Antenna

Back in 2007, [Stathack] rented an apartment in Thailand. This particular apartment didn’t include any Internet access. It turned out that getting a good connection would cost upwards of $100 per month, and also required a Thai identification card. Not wanting to be locked into a 12-month contract, [Stathack] decided to build himself a directional WiFi antenna to get free WiFi from a shop down the street.

The three main components of this build are a USB WiFi dongle, a baby bottle, and a parabolic Asian mesh wire spoon. The spoon is used as a reflector. The parabolic shape means that it will reflect radio signals to a specific focal point. The goal is to get the USB dongle as close to the focal point as possible. [Stathack] did a little bit of math and used a Cartesian equation to figure out the optimal location.

Once the location was determined, [Stathack] cut a hole in the mesh just big enough for the nipple of the small baby bottle. The USB dongle is housed inside of the bottle for weatherproofing. A hole is cut in the nipple for a USB cable. Everything is held together with electrical tape as needed.

[Stathack] leaves this antenna on his balcony aiming down the street. He was glad to find that he is easily able to pick up the WiFi signal from the shop down the street. He was also surprised to see that he can pick up signals from a high-rise building over 1km away. Not bad for an antenna made from a spoon and a baby bottle; plus it looks less threatening than some of the cantenna builds we’ve seen.

Roll Your Own Parabolic Microphone

Parabolic microphones are used to listen in from a distance. You see them on the sidelines of NFL football games, but they’re part of the standard issue in detective and spy novels. Now you can build your own parabolic microphone by following this example.

The one component that may be hard to find is the parabolic reflector. You cannot simply use a bowl or other curved object as the precise parabolic shape ensures that sound waves are reflected onto one finite focal point. For this build the reflector was obtained from an eBay seller. But the other parts are scavenged from easy to find sources. The microphone itself is an inexpensive element from Radioshack. It is mounted in the shell from a tweeter speaker, which helps to gather the sound if the element isn’t exactly aligned with the focal point. The setup also needs a preamplification system, which uses many components. Luckily there’s a schematic and other reference material linked in the write up.

You can also build a laser microphone which detects sound waves on a pane of glass.

[Thanks Anonymous]