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.
We’re Far From Blameless
I like fireballs and fast cars as much as the next person. And we’ve certainly run a lot of articles on the escalatingly dangerous hacks out there for all to see. For instance, we’ve covered several hacks from [kreosan], like microwaving things outside of a microwave and then building a microwave gun.
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?
My phone can now understand me but it’s still an idiot when it comes to understanding what I want. We have both the hardware capacity and the software capacity to solve this right now. What we lack is the social capacity.
We are currently in a dumb state of personal automation. I have Google Now enabled on my phone. Every single month Google Now reminds me of bills coming due that I have already paid. It doesn’t see me pay them, it just sees the email I received and the due date. A creature of habit, I pay my bills on the last day of the month even though that may be weeks early. This is the easiest thing in the world for a computer to learn. But it’s an open loop system and so no learning can happen.
Earlier this month [Cameron Coward] wrote an outstanding pair or articles on AI research that helped shed some light on this problem. The correct term for this level of personal automation is “weak AI”. What I want is Artificial General Intelligence (AGI) on a personal level. But that’s not going to happen, and I am the problem. Here’s why.