New Study Tells Us Where To Hide When The Nukes Are Coming

Geopolitics is a funny thing. Decades can go by with little concern, only for old grudges to suddenly boil to the surface and get the sabers a-rattlin’. When those sabers happen to be nuclear weapons, it can be enough to have you mulling the value of a bomb shelter in your own backyard.

Yes, every time the world takes a turn for the worse, we start contemplating what we’d do in the event of a nuclear attack. It’s already common knowledge that stout reinforced concrete buildings offer more protection than other flimsier structures. However, a new study has used computer modelling to highlight the best places to hide within such a building to maximise your chances of survival.

Continue reading “New Study Tells Us Where To Hide When The Nukes Are Coming”

Punycodes Explained

When you’re restricted to ASCII, how can you represent more complex things like emojis or non-Latin characters? One answer is Punycode, which is a way to represent Unicode characters in ASCII. However, while you could technically encode the raw bits of Unicode into characters, like Base64, there’s a snag. The Domain Name System (DNS) generally requires that hostnames are case-insensitive, so whether you type in HACKADAY.com, HackADay.com, or just hackaday.com, it all goes to the same place.

[A. Costello] at the University of California, Berkley proposed the idea of Punycode in RFC 3492 in March 2003. It outlines a simple algorithm where all regular ASCII characters are pulled out and stuck on one side with a separator in between, in this case, a hyphen. Then the Unicode characters are encoded and stuck on the end of the string.

First, the numeric codepoint and position in the string are multiplied together. Then the number is encoded as a Base-36 (a-z and 0-9) variable-length integer. For example, a greeting and the Greek for thanks, “Hey, ευχαριστώ” becomes “Hey, -mxahn5algcq2″. Similarly, the beautiful city of München becomes mnchen-3ya. Continue reading “Punycodes Explained”

Supercon 2022: All Aboard The SS MAPR With Sherry Chen

How do you figure out what is in a moving body of water over a mile wide? For those in charge of assessing the water quality of the Delaware river, this is a real problem. Collecting the data required to evaluate the water quality was expensive and time-consuming, taking over six years. Even then, the data was relatively sparse, with just a few water quality stations and only one surface sample for every six miles of river.

Sherry Chen, Quinn Wu, Vanessa Howell, Eunice Lee, Mia Mansour, and Frank Fan teamed up to create a solution, and the SS MAPR was the result. At Hackaday Supercon 2022, Sherry outlined the mission, why it was necessary, and their journey toward an autonomous robot boat. What follows is a fantastic guide and story of a massive project coming together. There are plans, evaluations, and tests for each component.

Sherry and the team first started by defining what was needed. It needed to be cheap, easy to use, and able to sample from various depths in a well-confined bounding box. It needed to run for four hours, be operated by a single person, and take ten samples across a 1-mile (2 km) section of the river. Some of the commercial solutions were evaluated, but they found none of them met the requirements, even ignoring their high costs. They selected a multi-hull style boat with off-the-shelf pontoons for stability and cost reasons.
Continue reading “Supercon 2022: All Aboard The SS MAPR With Sherry Chen”

AI-Controlled Twitch V-Tuber Has More Followers Than You

Surely we have all at least heard of Twitch by now. For the as-yet uninitiated: imagine you had your own TV channel. What would you do on it? Although Twitch really got going as a place for gamers to stream the action, there are almost as many people jamming out on their guitars, or building guitars, or just talking about guitars. And that’s just the example that uses guitars — if you can think of it, someone is probably doing it live on Twitch, within the Terms of Service, of course.

Along with the legions of people showing their faces and singing their hearts out, you have people in partial disguise, and then you have v-tubers. That stands for virtual tubers, and it just means that the person is using an anime avatar to convey themselves.

Now that you’re all caught up, let’s digest the following item together: there’s a v-tuber on Twitch that’s controlled entirely by AI. Let me run that by you again: there’s a person called [Vedal] who operates a Twitch channel. Rather than stream themselves building Mad Max-style vehicles and fighting them in a post-apocalyptic wasteland, or singing Joni Mitchell tunes, [Vedal] pulls the strings of an AI they created, which is represented by an animated character cleverly named Neuro-sama. Not only does Neuro-sama know how to play Minecraft and osu!, she speaks gamer and interacts regularly with chat in snarky, 21st century fashion. And that really is the key behind Twitch success — interacting with chat in a meaningful way.

Continue reading “AI-Controlled Twitch V-Tuber Has More Followers Than You”

Ask Hackaday: What’s Your Worst Repair Win?

Like many of you, I’ve become the designated “fix-it” person for my family and friends. While it can be a lot of work — I just finished an oil change that required me to lay in a cold, wet driveway and I can’t mention in polite company the substances I was bathed in while fixing a clogged pipe last week  — I generally relish my role. I enjoy solving problems, I love working with my hands and my head, and who doesn’t like saving money and time?

But for me, the best part of being the fix-it guy is the satisfaction that comes from doing something others can’t do. I find this especially true with automotive repairs, which conventional wisdom says is strictly the province of factory-trained experts. A little bit of a hero complex, perhaps? Absolutely! After all, I don’t get paid for my repairs, so I’ve got to get a little something for the effort.

This is why a recent pair of unrelated fixes left me feeling thoroughly unsatisfied. Neither of these jobs was a clear win, at least in terms of getting the rush of being able to do something that nobody else could. At best, these were qualified wins, which both still left me feeling a little defeated. And that got me thinking that I’m probably not the only one who has had marginal repair wins like these.

Continue reading “Ask Hackaday: What’s Your Worst Repair Win?”

The Surprisingly Simple Way To Steal Cryptocurrency

In the news a few days ago, the revelation that Luke Dashjr, a core Bitcoin developer, had his wallet compromised, and lost 200 BTC. A small fortune, and something of a shock. I’m guessing that someone with that expertise would not have left his private key lying around, so as a cryptocurrency non-enthusiast I’m left curious as to how the attackers might have done it. So I phoned a few friends who do walk those paths for an explanation, and the result was a fascinating conversation or two. The most probable answer is still that someone broke into his computer and copied the keys — straight-up computer theft. But there’s another possible avenue that doesn’t involve stealing anything, and is surprisingly simple. Continue reading “The Surprisingly Simple Way To Steal Cryptocurrency”

Excuse Me, Your Tie Is Unzipped

If you ask your typical handyperson what’s the one thing you need to fix most things, the answer might very well be duct tape. But second place — and first place in some circles — would have to be zip ties. These little wonders are everywhere if you look for them. But they are a relatively recent invention and haven’t always had the form they have today.

The original zip tie wasn’t called a zip tie or even a cable tie. In 1958 they were called Ty-Raps and produced by a company called Thomas and Betts. Originally meant to improve aircraft wiring harnesses, they found their way into various electronic equipment and packaging uses. But they’ve also become helpful in very unusual places too. A policeman trying to round up rioters would have problems carrying more than a few conventional handcuffs. But flexible cuffs based on zip ties are lightweight and easy to carry. Colon surgeons sometimes use a modified form of zip tie during procedures.

History

Maurus Logan worked for the Thomas and Betts company. In 1956, he was touring an aircraft manufacturing plant. Observing a wiring harness being put together on a nail board, similar to how car harnesses are made, he noted that the cables were bundled with waxed twine or nylon cord. A technician had to tie knots in the cord, sometimes cutting their fingers and often developing calluses. In addition, the twine was prone to fungal growth, requiring special treatment.

Logan kept turning the problem over in his mind and tried various approaches. By 1958, he had a patent for the Ty-Rap. The tie was lightweight, easy to install, easy to remove, and inexpensive.

Continue reading “Excuse Me, Your Tie Is Unzipped”