What Can The Blockchain Do For You?

Imagine you’re a general, camped outside a fortified city with your army. Your army isn’t strong enough to take the city without help. But you do have help: camped on other hills outside this city are a half dozen more generals, with their armies ready to attack. Attacking one army at a time will fail; taking this city will require at least three or four armies, and an uncoordinated attack will leave thousands dead outside the city gates. How do you coordinate an attack with the other generals? Now, how do you coordinate your attack if one of those other generals is Benedict Arnold? What happens when one of the generals is working with the enemy?

This situation is a slight rephrasing of the Byzantine Generals Problem, first presented in the ACM Transactions on Programming Languages and Systems in 1982. It’s related to the Two Generals Problem formulated a decade prior. These are the analogies we use when we talk about trust over a communications channel, how hard it is to transmit knowledge, and how to form a consensus around imperfect facts.

This problem was upended in late 2008 when Satoshi Nakamoto, a person or group of people, published a white paper on the ‘block chain’. This was the solution to double-spending in digital currency. Think of it as having a digital thing that only one person could own. As a test of this block chain technology, Bitcoin was launched at the beginning of 2009. Things got more annoying from there.

Now, blockchain is at the top of the hype cycle. Every industry is looking at blockchain tech to figure out how it will work for them. Kodak launched their own blockchain, there are proposals to use the blockchain in drones and 3D printers. Medical records could be stored on the blockchain, HIPAA be damned, and there’s a blockchain phone, for reasons. This doesn’t even cover the massive amount of speculation in Bitcoin itself; thousands of other cryptocurrencies have also sprung up, and people are losing money.

The blockchain is a confusing thing, with hashes and Merkle trees and timestamps. Everyone is left asking themselves, what does the blockchain actually do? Is there an independent body out there that will tell me what the blockchain is good for, and when I should use it? You’re in luck: NIST, the National Institute of Standards and Technology released their report on blockchain technology (PDF). Is blockchain magic? No, no it is not, and it probably shouldn’t be used for anything other than a currency.

Continue reading “What Can The Blockchain Do For You?”

Teardown Of USB Fan Reveals Journalists’ Lack Of Opsec

Last month, Singapore hosted a summit between the leaders of North Korea and the United States. Accredited journalists invited to the event were given a press kit containing a bottle of water, various paper goods, and a fan that plugs into a USB port.

Understandably, the computer security crowd on Twitter had a great laugh. You shouldn’t plug random USB devices into a computer, especially if you’re a journalist, especially if you’re in a foreign country, and especially if you’re reporting on the highest profile international summit in recent memory. Doing so is just foolhardy.

This is not a story about a USB fan, the teardown thereof, or of spy agencies around the world hacking journalists’ computers. This a story of the need for higher awareness on what we plug into our computers. In this case nothing came of it — the majority of USB devices are merely that and nothing more. One of the fans was recently torn down (PDF) and the data lines are not even connected. (I’ll dive into that later on in this article). But the anecdote provides an opportunity to talk about USB security and how the compulsion to plug every USB device into a computer should be interrupted by a few seconds of thoughtfulness first.

Continue reading “Teardown Of USB Fan Reveals Journalists’ Lack Of Opsec”

Stephanie Kwolek: Saving Lives With Kevlar

Almost a really bad day in the woods.

Like most accidents, it happened in an instant that seemed to last an eternity. I had been felling trees for firewood all afternoon, and in the waning light of a cold November day, I was getting ready to call it quits. There was one tiny little white pine sapling left that I wanted to clear, no thicker than my arm. I walked over with my Stihl MS-290, with a brand new, razor sharp chain. I didn’t take this sapling seriously — my first mistake — and cut right through it rather than notching it. The tree fell safely, and I stood up with both hands on the saw. Somehow I lost my footing, swiveled, and struck my left knee hard with the still-running chainsaw. It kicked my knee back so hard that it knocked me to the ground.

In another world, that would likely have a been a fatal injury — I was alone, far from the house, and I would have had mere minutes to improvise a tourniquet before bleeding out. But as fate would have it, I was protected by my chainsaw chaps, full of long strands of the synthetic fiber Kevlar.

The chain ripped open the chaps, pulled the ultrastrong fibers out, and instantly jammed the saw. I walked away feeling very stupid, very lucky, and with not a scratch on me. Although I didn’t realize it at the time,  I owed my life to Stephanie Kwolek.

Continue reading “Stephanie Kwolek: Saving Lives With Kevlar”

Deconstructing A Simple Op-Amp

Maybe you are familiar with the op-amp as an extremely versatile component, and you know how to quickly construct a huge variety of circuits with one. Maybe you even have a favorite op-amp or two for different applications, covering many possible niches. Standard circuits such as an inverting amplifier are your bread and butter, and the formula gain=-Rf/Ri is tattooed on your forearm.

But you can know how to use op-amps without really knowing how they work. Have you ever peered under the hood of an op-amp to find out what’s going on in there? Would you like to? Let’s take a simple device and examine it, piece by piece.

Continue reading “Deconstructing A Simple Op-Amp”

Retrotechtacular: AM Radios, Core Memory, And Color TV, What Was Hot In Chips In ’73

As part of writing tech stories such as those we feature here at Hackaday, there is a huge amount of research to be done.  We trawl through pages and pages of obscure blogs, videos, and data sheets. Sometimes we turn up resources interesting enough that we file them away, convinced that they contain the nucleus of another story at some point in the future.

Today’s topic of entertainment is just such a resource, courtesy of the Internet Archive. It’s not a video as we’d often provide you in a Retrotechtacular piece, instead it’s the February 1973 edition of the Fairchild Semiconductor Linear Integrated Circuits Catalog. Books like this one that could be had from company sales representatives were highly prized in the days before universal Internet access to data sheets, and the ink-on-paper datasheets within it provide a fascinating snapshot of the integrated electronics industry as it was 45 years ago.

The first obvious difference between then and now is one of scale, this is a single volume containing Fairchild’s entire range. At 548 pages it wouldn’t have been a slim volume by any means, but given that Fairchild were at the time one of the big players in the field it is unimaginable that the entire range of a 2018 equivalent manufacturer could be contained in the same way. Given that the integrated circuit was at the time an invention barely 15 years old, we are looking at an industry still in relative infancy.

The catalog has a series of sections with familiar headings: Operational amplifiers, comparators, voltage regulators, computer/interface, consumer, and transistor/diode arrays with analog switches. Any modern catalog will have similar headings, and there are even a few devices you will find have survived the decades. The μA741 op-amp (page 64) from its original manufacturer has not yet become a commodity product here, and it sits alongside familiar devices such as the μA7800 series (page 201) or μA723 (page 194) regulators.

Continue reading “Retrotechtacular: AM Radios, Core Memory, And Color TV, What Was Hot In Chips In ’73”

So Where’s My Low Voltage DC Wall Socket?

What are the evocative sounds and smells of your childhood? The sensations that you didn’t notice at the time but which take you back immediately? For me one of them is the slight smell of phenolic resin from an older piece of consumer electronics that has warmed up; it immediately has me sitting cross-legged on our living room carpet, circa 1975.

"Get ready for a life that smells of hot plastic, son!" John Atherton [CC BY-SA 2.0], via Wikimedia Commons.
“Get ready for a life that smells of hot plastic, son!” John Atherton [CC BY-SA 2.0], via Wikimedia Commons.
That phenolic smell has gone from our modern electronics, not only because modern enclosures are made from ABS and other more modern plastics, but because the electronics they contain no longer get so hot. Our LCD TV for instance nowadays uses only 50 watts, while its 1970s CRT predecessor would have used several hundred. Before the 1970s you would not find many household appliances that used less than 100 watts, but if you take stock of modern electrical appliances, few use more than that. Outside the white goods in your kitchen and any electric heaters or hair dryers you may own, your appliances today are low-powered. Even your lighting is rapidly being taken over by LEDs, which are at their heart low-voltage devices.

There are many small technological advancements that have contributed to this change over the decades. Switch-mode power supplies, LCD displays, large-scale integration, class D audio and of course the demise of the thermionic tube, to name but a few. The result is often that the appliance itself runs from a low voltage. Where once you would have had a pile of mains plugs competing for your sockets, now you will have an equivalent pile of wall-wart power supplies. Even those appliances with a mains cord will probably still contain a switch-mode power supply inside.

Continue reading “So Where’s My Low Voltage DC Wall Socket?”

Furuta Style Inverted Pendulum Is King Of Geek Desk Ornaments

Newton’s Cradle is thought of as the most elegant of executive desk toys. But that 20th-century dinosaur just got run off the road as [Ben Katz]’s Furuta pendulum streaks past in the fast lane, flipping the bird and heralding a new king of desk adornments.

This Furata pendulum has wonderfully smooth movement. You can watch it go through its dance in the video after the break. Obviously you agree that this is the desk objet d’art for the modern titan of industry (geek). Just don’t stop at watching it in action. The best part is the build log that [Ben] put together — this project has a little bit of everything!

Continue reading “Furuta Style Inverted Pendulum Is King Of Geek Desk Ornaments”