A Noob’s Guide To McMaster-Carr

For the penny-pinching basement hacker, McMaster-Carr seems like a weird go-to resource for hardware. For one, they’re primarily a B2B company; and, for two, their prices aren’t cheap. Yet their name is ubiquitous among the hacker community. Why? Despite the price, something makes them too useful to ignore by everyday DIY enthusiasts. Those of us who’ve already been enlightened by the McMaster-Carr can design wonders with a vocabulary of parts just one day away at the click of a button.

Today, this article is for those of us who have yet to receive that enlightenment. When used wisely, this source of mechanical everything brings us a world of fast parts at our fingertips. When used poorly, we find nothing but overpriced stock components in oversized shipping boxes.

Since we, the McMaster-Carr sages, are forever doomed to stuff our desk drawers with those characteristic yellow baggies till the end of time, we thought we’d give an intro to the noobs that are just beginning to flex their muscles with this almighty resource. Grab another cup of coffee as we take you on a tour of the good and good-grievances of McMaster-Carr.

Continue reading “A Noob’s Guide To McMaster-Carr”

Video Streaming Like Your Raspberry Pi Depended On It

The Raspberry Pi is an incredibly versatile computing platform, particularly when it comes to embedded applications. They’re used in all kinds of security and monitoring projects to take still shots over time, or record video footage for later review. It’s remarkably easy to do, and there’s a wide variety of tools available to get the job done.

However, if you need live video with as little latency as possible, things get more difficult. I was building a remotely controlled vehicle that uses the cellular data network for communication. Minimizing latency was key to making the vehicle easy to drive. Thus I set sail for the nearest search engine and begun researching my problem.

My first approach to the challenge was the venerable VLC Media Player. Initial experiments were sadly fraught with issues. Getting the software to recognize the webcam plugged into my Pi Zero took forever, and when I did get eventually get the stream up and running, it was far too laggy to be useful. Streaming over WiFi and waving my hands in front of the camera showed I had a delay of at least two or three seconds. While I could have possibly optimized it further, I decided to move on and try to find something a little more lightweight.

Continue reading “Video Streaming Like Your Raspberry Pi Depended On It”

Hack Space Debris At Your Peril

Who has dibs on space debris? If getting to it were a solved problem, it sure would be fun to use dead orbital hardware as something of a hacker’s junk bin. Turns out there is some precedent for this, and regulations already in place in the international community.

To get you into the right frame of mind: it’s once again 2100 AD and hackers are living in mile-long space habitats in the Earth-Moon system. But from where do those hackers get their raw material, their hardware? The system abounds with space debris, defunct satellites from a century of technological progress. According to Earth maritime law, if space is to be treated like international waters then the right of salvage would permit them to take parts from any derelict. But is space like international waters? Or would hacking space debris result in doing hard time in the ice mines of Ceres?

Continue reading “Hack Space Debris At Your Peril”

Hacker Heroism: Building Your Way Out Of AV Hell

Many years ago, in a rainy concrete jungle on the west coast of Australia, I worked for a medium-sized enterprise doing a variety of office-based tasks. Somehow, I found myself caught up in planning a product launch event outside the official remit of my position. We got through it, but not before the audiovisual (AV) setup of the event turned into one giant hack.

The initial planning stages went remarkably smoothly until less than a month out from the big day when three weeks of frantic changes and revisions to the presentation rained down. These were some of the hardest days of my working life to date, as it seemed that we would lock in a new arrangement, only to tear it up days later as some new vital criteria came to light, throwing everything back into disarray.

Things came to a head on the night before the event. Working with two different AV teams we had planned for four projection screens and five flat screen televisions spread throughout the venue and controlled from the central AV desk. But somewhere in all those changes the televisions were set up to all display a still image, or nothing at all. I needed to show different videos on each and have the ability to black them all out.

It was at this point I realized we were screwed. The production team simply didn’t have the hardware to drive another five screens, but they could source it — for the sum of $5000. Management were furious, and were under the impression, like myself that this was what we had asked and paid for already. I was at an impasse, and beginning to wonder if I’d have a job come Monday. I wandered off to a corner to curse, and more importantly, think. After all, I’m a hacker — I can get through this.

Continue reading “Hacker Heroism: Building Your Way Out Of AV Hell”

In-Band Signaling: Dual-Tone Multifrequency Dialing

One late night many decades ago, I chanced upon a technical description of the Touch-Tone system. The book I was reading had an explanation of how each key on a telephone sends a combination of two tones down the wire, and what’s more, it listed the seven audio frequencies needed for the standard 12-key dial pad. I gazed over at my Commodore 64, and inspiration hit — if I can use two of the C64’s three audio channels to generate the dual tones, I bet I can dial the phone! I sprang out of bed and started pecking out a Basic program, and in the wee hours I finally had it generating the recognizable Touch-Tones of my girlfriend’s phone number. I held the mouthpiece of my phone handset up to the speaker of my monitor, started the program, and put the receiver to my ear to hear her phone ringing! Her parents were none too impressed with my accomplishment since it came at 4:00 AM, but I was pretty jazzed about it.

Since that fateful night I’ve always wondered about how the Touch-Tone system worked, and in delving into the topic I discovered that it’s part of a much broader field of control technology called in-band signaling, or the use of audible or sub-audible signals to control an audio or video transmission. It’s pretty interesting stuff, even when it’s not used to inadvertently prank call someone in the middle of the night. Continue reading “In-Band Signaling: Dual-Tone Multifrequency Dialing”

Ethereum: GPU Mining Is Back But For How Long?

By now, everyone and their dog has at least heard of Bitcoin. While no government will accept tax payments in Bitcoin just yet, it’s ridiculously close to being real money. We’ve even paid for pizza delivery in Bitcoin. But it’s not the only cryptocurrency in town.

Ethereum initially launched in 2015 is an open source, it has been making headway among the 900 or so Bitcoin clones and is the number two cryptocurrency in the world, with only Bitcoin beating it in value. This year alone, the Ether has risen in value by around 4000%, and at time of writing is worth $375 per coin. And while the Bitcoin world is dominated by professional, purpose-built mining rigs, there is still room in the Ethereum ecosystem for the little guy or gal.

Ethereum is for Hackers

There may be many factors behind Ethereum’s popularity, however one reason is that the algorithm is designed to be resistant to ASIC mining. Unlike Bitcoin, anyone with a half decent graphics card or decent gaming rig can mine Ether, giving them the chance to make some digital currency. This is largely because mining Ethereum coins requires lots of high-speed memory, which ASICs lack. The algorithm also has built-in ASIC detection and will refuse to mine properly on them.

Small-scale Bitcoin miners were stung when the mining technology jumped from GPU to ASICs. ASIC-based miners simply outperformed the home gamer, and individuals suddenly discovered that their rigs were not worth much since there was a stampede of people trying to sell off their high-end GPU’s all at once. Some would go on to buy or build an ASIC but the vast majority just stopped mining. They were out of the game they couldn’t compete with ASICs and be profitable since mining in its self uses huge amounts of electricity.

Economies of scale like those in Bitcoin mining tend to favor a small number of very large players, which is in tension with the distributed nature of cryptocurrencies which relies on consensus to validate transactions. It’s much easier to imagine that a small number of large players would collude to manipulate the currency, for instance. Ethereum on the other hand hopes to keep their miners GPU-based to avoid huge mining farms and give the average Joe a chance at scoring big and discovering a coin on their own computer.

Ethereum Matters

Ethereum’s rise to popularity has basically undone Bitcoin’s move to ASICs, at least in the gamer and graphics card markets. Suddenly, used high-end graphics cards are worth something again. And there are effects in new equipment market. For instance, AMD cards seem to outperform other cards at the moment and they are taking advantage of this with their release of Mining specific GPU drivers for their new Vega architecture. Indeed, even though AMD bundled its hottest RX Vega 64 GPU with two games, a motherboard, and a CPU in an attempt to make the package more appealing to gamers than miners, AMD’s Radeon RX Vega 56 sold out in five minutes with Ethereum miners being blamed.

Besides creating ripples in the market for high-end gaming computers, cryptocurrencies are probably going to be relevant in the broader economy, and Ethereum is number two for now. In a world where even banks are starting to take out patents on blockchain technology in an attempt to get in on the action, cryptocurrencies aren’t as much of a fringe pursuit as they were a few years ago. Ethereum’s ASIC resistance is perhaps its killer feature, preventing centralization of control and keeping the little hacker in the mining game. Only time will tell if it’s going to be a Bitcoin contender, but it’s certainly worth keeping your eye on.

Way To Go, Einstein; His Time Spent Being Wrong

When you hear someone say “Einstein”, what’s the first thing that pops into your head? Is it high IQ… genius… or maybe E=MC2? Do you picture his wild grey hair shooting in all directions as he peacefully folds the pages back from his favorite book?  You might even think of nuclear bombs, clocks and the Nobel Prize. It will come as a surprise to many that these accomplishments were a very small part of his life. Indeed, Einstein turned the world of classical physics upside down with his general theory of relativity. But he was only in his early twenties when he did so.

What about the rest of his life? Was Einstein a “one-hit-wonder”? What else did he put his remarkable mind to? Surely he tackled other dilemmas that plagued the scientific world during his moment in history. He was a genius after all… arguably one of the smartest people to have ever walked the earth. His very name has become synonymous with genius. He pulled the rug out from under Isaac Newton, whose theories had held the universe together for over 300 years. He talked about enigmatic concepts like space and time with an elegance that laid bare the beauty hidden within their simplicity. Statues have been made of him. His name and face are recognizable across the globe.

But when you hear someone say “Einstein”, do you think of a man who spent the better half of his life… being wrong?  You should.

Continue reading “Way To Go, Einstein; His Time Spent Being Wrong”