Nothing makes us feel more like we’re on Star Trek then saying “Computer, turn on desk light,” and watching the light turn on. Of course, normal people would have left the wake up word as “Alexa,” but we like “Computer” even if it does make it hard to watch Star Trek episodes without the home automation going crazy.
There’s a lot of hype right now about how voice recognition and artificial intelligence (AI) are transforming everything. We’ve even seen a few high-profile types warning that AI is going to come alive and put us in the matrix or something. That gets a lot of press, but we’re not sure we are even close to that, yet. Alexa and Google’s similar offerings are cool, there’s no doubt about it. The speech recognition is pretty good, although far from perfect. But the AI is really far off still.
Today’s devices utilize two rather rudimentary parts to provide an interaction with users. The first is how the devices pattern match language; it isn’t all that sophisticated. The other is the trivial nature of many of the apps, or — as Alexa calls them — skills. There are some good ones to be sure, but for every one useful application of the technology, there’s a dozen that are just text-to-speech of an RSS feed. Looking through the skills available we were amused at how many different offerings convert resistor color codes back and forth to values.
There was a time when building electronics meant learning the resistor color code. With today’s emphasis on surface mount components, though, it is less useful than it used to be. Still, like flossing, you really ought to do it. However, if you have an Amazon Alexa, it can learn the color code for you thanks to [Dennis Mantz].
Don’t have an Alexa? You can still try it in your browser, as we will show you shortly. There are at least eight similar skills out there like this one from [Steve Jernigan] or [Andrew Bergstrom’s] Resistor Reader.
Hardware hacking is a way of life here at Hackaday. We celebrate projects every day with hot glue, duct tape, upcycled parts, and everything in between. It’s open season to hack hardware. Out in the world, for some reason software doesn’t receive the same laissez-faire treatment. “Too many lines in that file” “bad habits” “bad variable names” the comments often rain down. Even the unsafest silliest of projects isn’t safe. Building a robot to shine lasers into a person’s eyes? Better make sure you have less than 500 lines of code per file!
Why is this? What makes readers and commenters hold software to a higher standard than the hardware it happens to be running on? The reasons are many and varied, and it’s a trend I’d like to see stopped.
Software engineering is a relatively young and fast evolving science. Every few months there is a new hot language on the block, with forums, user groups, and articles galore. Even the way software engineers work is constantly changing. Waterfall to agile, V-Model, Spiral model. Even software design methodologies change — from pseudo code to UML to test driven development, the list goes on and on.
Terms like “clean code” get thrown around. It’s not good enough to have software that works. Software must be well commented, maintainable, elegant, and of course, follow the best coding practices. Most of these are good ideas… in the work environment. Work is what a lot of this boils down to. Software engineers have to stay up to date with new trends to be employable.
There is a certain amount of “born again” mentality among professional software developers. Coders generally hate having change forced upon them. But when they find a tool or system they like, they embrace it both professionally, and in their personal projects. Then they’re out spreading the word of this new method or tool; on Reddit, in forums, to anyone who will listen. The classic example of this is, of course, editors like the vi vs emacs debate.
These are the Golden Years of electronics hacking. The home DIY hacker can get their hands on virtually any part that he or she could desire, and for not much money. Two economic factors underlie this Garden of Electronic Eden that we’re living in. Economies of scale make the parts cheap: when a factory turns out the same MEMS accelerometer chip for hundreds of millions of cell phones, their setup and other fixed costs are spread across all of these chips, and a $40 million factory ends up only costing $0.50 per unit sold.
But the unsung hero of the present DIY paradise is how so many different parts are available, and from so many different suppliers, many of them on the other side of the globe. “The Internet” you say, as if that explains it. Well, that’s not wrong, but it’s deeper than that. The reason that we have so much to choose from is that the marginal cost of variety has fallen, and with that many niche products and firms have become profitable where before they weren’t.
So let’s take a few minutes to sing the praises of the most important, and sometimes overlooked, facet of the DIY economy over the last twenty years: the falling marginal cost of variety.
Oh, for cryin’ out loud. That’s the last straw. We’ve seen one dangerous YouTube video too many. Are we honestly cursed with a false feedback system that unequitably rewards dangerous behavior in online videos? Obviously the answer is ‘yes’. Now the real question becomes, can we do anything about it?
Professional Driver on a Closed Course
Marketing is all about putting something in front of a consumer and getting their brain to go “awesome!”. The fast, loud, shiny, burny, and sharp things are all on the table for that task. It’s the primal part of your brain that gives you jolt, as if your amygdala forgot how to run from sabertooths (saberteeth?) and learned how to like and subscribe.
Back in the day, people were hurt and even killed when replicating stunts they saw done on television. To protect from litigation, companies started adding disclaimers — Don’t Try this at Home or my favorite: Professional Driver on a Closed Course.
But the thing is, commercials are big business. If someone gets hurt, there’s money to be had by assigning blame in a court of law. When the ability to produce and distribute video content was democratized by the coming of the Internet we lost those warnings and the common sense that went with them.
Going way back to this remote-control-a-real-car hack in 2009 I haven’t been able to shake the lack of consideration for danger in a project like this. I included it in the title, which ends with “(dangerously)”. While I wasn’t taken to task in the comments for that title, I have been chided for advocating for things as controversial as helmets when strapping your body to a moving object. Do a Ctrl-F on “helmet” in this article to see what I mean.
The people pulling off these hacks were doing it because it felt awesome and they wanted to document how that felt. They weren’t stars, they were hackers and the world mostly ignored them except in places like Hackaday. We might debate the lack of safety measures but most assumed anyone with skills to do this would take a beat to consider the risks. This was probably a false assumption.
It’s All About the Subs
Things have gotten worse since then. I can’t blame all of this on YouTube, but I’m going to try. One day, YouTube changed everything. They put together a perfect mix of easy uploading, great discoverability, and (most importantly) advertising revenue sharing. For some people, this became a business and not just a way to connect with the rest of the hacker community.
This is the rise of the subscriber base. It’s a vicious cycle — you need more people to like and subscribe so that their influence will push your channel to more people to like and subscribe. The problem is, the fastest way to this is that tricky amygdala again. For some, this is being funny, but for others this is speed, fireballs, and loud bangs, with no regard for life, limb, or eyeball.
But even the more mainstream content appears to be getting more and more dangerous. Our beloved [Colin Furze] is guilty of dangerous behavior. Not only did he burn himself testing a jet engine out without any safety gear, but turned the aftermath into another ad-supported video.
Which brings me to the straw that broke the camel’s back. Here’s a hack that’s based on the idea of hurting people. It’s what is (luckily) a crappy robot designed to recognize faces and shine lasers into any eyes it detects. Literally it’s conceived to shoot your eyes out. It’s using a red laser that likely won’t cause eye damage unless you intentionally stare into it without blinking, but that’s not discussed in the video, and someone who doesn’t know better replicating this with a different laser could easily cause irreparable damage to their sight.
Rocket Scientists Use Common Sense and So Should You
I was going to use the heading “This Isn’t Rocket Science”, but you don’t see rocket scientists testing new engine designs by lighting a fuse as they run away giggling in short sleeves and flip-flops. Those brilliantly intelligent people are tucked safely in a bunker at a safe distance with their hands hovering over the emergency kill switch as fire fighting equipment hangs out at arms reach. Rocket scientists know a lot about safety and so should you.
This is simple. We don’t have to invent anything to add safety to our hacks. Use common sense. Dress appropriately for your demo — as the situation dictates use reasonable fire-resistant clothing, helmet, etc. Wear protective glasses, laser spec’d goggles, and ear plugs; each whenever called for. Take fumes and particulates seriously and wear respiratory gear. Keep a fire extinguisher around. And if you’re making a video or posting images about it — which you should definitely do — snap a picture or give us a quick video cut to the safety precautions you’ve chosen.
I still want to see awesome projects on YouTube. But I also want to see the trend towards danger for clicks stopped. Let’s do dangerous stuff safely. And let’s be conspicuous about those safety measures. That combination is truly awesome.
Now get off my lawn, and wear your seat belt while doing so.
We all know that what we mean by hacker around here and what the world at large thinks of as a hacker are often two different things. But as our systems get more and more connected to each other and the public Internet, you can’t afford to ignore the other hackers — the black-hats and the criminals. Even if you think your data isn’t valuable, sometimes your computing resources are, as evidenced by the recent attack launched from unprotected cameras connected to the Internet.
As [Elliot Williams] reported earlier, Trustwave (a cybersecurity company) recently announced they had found a backdoor in some Chinese voice over IP gateways. Apparently, they left themselves an undocumented root password on the device and — to make things worse — they use a proprietary challenge/response system for passwords that is insufficiently secure. Our point isn’t really about this particular device, but if you are interested in the details of the algorithm, there is a tool on GitHub, created by [JacobMisirian] using the Trustwave data. Our interest is in the practice of leaving intentional backdoors in products. A backdoor like this — once discovered — could be used by anyone else, not just the company that put it there.
My son approached me the other day with his best 17-year-old sales pitch: “Dad, I need a bucket of cash!” Given that I was elbow deep in suds doing the dishes he neglected to do the night before, I mentioned that it was a singularly bad time for him to ask for anything.
Never one to be dissuaded, he plunged ahead with the reason for the funding request. He had stumbled upon a series of YouTube videos about paramotoring, and it was love at first sight for him. He waxed eloquent about how cool it would be to strap a big fan to his back and soar with the birds on a nylon parasail wing. It was actually a pretty good pitch, complete with an exposition on the father-son bonding opportunities paramotoring presented. He kind of reminded me of the twelve-year-old version of myself trying to convince my dad to spend $600 on something called a “TRS-80” that I’d surely perish if I didn’t get.
Needless to say, the $2500 he needed for the opportunity to break his neck was not forthcoming. But what happened the next day kind of blew my mind. As I was reviewing my YouTube feed, there among the [Abom79] and [AvE] videos I normally find in my “Recommended” queue was a video about – paramotoring. Now how did that get there?
The war of the currents was fairly decisively won by AC. After all, whether you’ve got 110 V or 230 V coming out of your wall sockets, 50 Hz or 60 Hz, the whole world agrees that the frequency of oscillation should be strictly greater than zero. Technically, AC won out because of three intertwined facts. It was more economical to have a few big power plants rather than hundreds of thousands of tiny ones. This meant that power had to be transmitted over relatively long distances, which calls for higher voltages. And at the time, the AC transformer was the only way viable to step up and down voltages.
But that was then. We’re right now on the cusp of a power-generation revolution, at least if you believe the solar energy aficionados. And this means two things: local power that’s originally generated as DC. And that completely undoes two of the three factors in AC’s favor. (And efficient DC-DC converters kill the transformer.) No, we don’t think that there’s going to be a switch overnight, but we wouldn’t be surprised if it became more and more common to have two home electrical systems — one remote high-voltage AC provided by the utilities, and one locally generated low-voltage DC.
Why? Because most devices these days use low-voltage DC, with the notable exception of some big appliances. Batteries store DC. If more and more homes have some local DC generation capability, it stops making sense to convert the local DC to AC just to plug in a wall wart and convert it back to DC again. Hackaday’s [Jenny List] sidestepped a lot of this setup and went straight for the punchline in her article “Where’s my low-voltage DC wall socket?” and proposed a few solutions for the physical interconnects. But we’d like to back it up for a minute. When the low-voltage DC revolution comes, what voltage is it going to be?