What Is Entropy And How Do I Get More Of It?

Let’s start off with one of my favorite quotes from John von Neumann: “Any one who considers arithmetical methods of producing random digits is, of course, in a state of sin. For, as has been pointed out several times, there is no such thing as a random number — there are only methods to produce random numbers, and a strict arithmetic procedure of course is not such a method.”

What von Neumann is getting at is that the “pseudo” in pseudorandom number generator (PRNG) is really a synonym for “not at all”. Granted, if you come in the middle of a good PRNG sequence, guessing the next number is nearly impossible. But if you know, or can guess, the seed that started the PRNG off, you know all past and future values nearly instantly; it’s a purely deterministic mathematical function. This shouldn’t be taken as a rant against PRNGs, but merely as a reminder that when you use one, the un-guessability of the numbers that it spits out is only as un-guessable as the seed. And while “un-guessability” isn’t a well-defined mathematical concept, or even a real word, entropy is.

That’s why entropy matters to you. Almost anything that your computer wants to keep secret will require the generation of a secret random number at some point, and any series of “random” numbers that a computer generates will have only as much entropy, and thus un-guessability, as the seed used. So how does a computer, a deterministic machine, harvest entropy for that seed in the first place? And how can you make sure you’ve got enough? And did you know that your Raspberry Pi can be turned into a heavy-duty source of entropy? Read on!

Continue reading “What Is Entropy And How Do I Get More Of It?”

Silicon Valley Was Built On Tubes Of Glass

Lee de Forest

Bill Shockley brought the transistor to a pasture in Palo Alto, but he didn’t land there by chance. There was already a plot afoot which had nothing to do with silicon, and it had already been a happening place for some time by then.

Often overshadowed by Edison and Menlo Park or Western Electric and its Bell Labs, people forget that the practical beginning of modern radio and telecommunications began unsuspectingly in the Bay Area on the shoestring-budgeted work benches of Lee de Forest at Federal Telegraph.

As the first decade of the 20th century passed, Lee de Forest was already a controversial figure. He had founded a company in New York to develop his early vacuum tubes as detectors for radio, but he was not very good at business. Some of the officers of the company decided that progress was not being made fast enough and drained the company of assets while de Forest was away. This led to years of legal troubles and the arrest of many involved due to fraud and loss of investors’ money.

Continue reading “Silicon Valley Was Built On Tubes Of Glass”

Teardown With A Twist: 1975 Sinclair Scientific Calculator

When writing a recent piece about Reverse Polish Notation, or RPN, as a hook for my writing I retrieved my Sinclair Scientific calculator from storage. This was an important model in the genesis of the scientific calculator, not for being either a trailblazer or even for being especially good, but for the interesting manner of its operation and that it was one of the first scientific calculators at an affordable price.

I bought the calculator in a 1980s rummage sale, bodged its broken battery clip to bring it to life, and had it on my bench for a few years. Even in the early 1990s (and even if you didn’t use it), having a retro calculator on your bench gave you a bit of street cred. But then as life moved around me it went into that storage box, and until the RPN article that’s where it stayed. Finding it was a significant task, to locate something about the size of a candy bar in the storage box it had inhabited for two decades, among a slightly chaotic brace of shelves full of similar boxes.

The Sinclair's clean design still looks good four decades later.
The Sinclair’s clean design still looks good four decades later.

Looking at it though as an adult, it becomes obvious that this is an interesting machine in its own right, and one that deserves a closer examination. What follows will not be the only teardown of a Sinclair Scientific on the web, after all nobody could match [Ken Shirriff]’s examination of the internals of its chip, but it should provide an insight into the calculator’s construction, and plenty of satisfying pictures for lovers of 1970s consumer electronics.

The Sinclair is protected by a rigid black plastic case, meaning that it has survived the decades well. On the inside of the case is a crib sheet for its RPN syntax and scientific functions, an invaluable aid when it comes to performing any calculations.

It shares the same external design as the earlier Sinclair Cambridge, a more humble arithmetic calculator, but where the Cambridge’s plastic is black, on the Scientific it is white. The LED display sits behind a purple-tinted window, and the blue-and-black keyboard occupies the lower two-thirds of the front panel. At 50 x 111 x 16 mm it is a true pocket calculator, with an elegance many of its contemporaries failed to achieve and which is certainly not matched by most recent calculators. Good industrial design does not age, and while the Sinclair’s design makes it visibly a product of the early 1970s space-age aesthetic it is nevertheless an attractive item in its own right.

Continue reading “Teardown With A Twist: 1975 Sinclair Scientific Calculator”

Surfboard Industry Wipes Out, Innovation Soon Follows

For decades, Gordon Clark and his company Clark Foam held an almost complete monopoly on the surfboard blank market. “Blanks” are pieces of foam with reinforcing wood strips (called “stringers”) in a rough surfboard shape that board manufacturers use to make a finished product, and Clark sold almost every single one of these board manufacturers their starting templates in the form of these blanks. Due to environmental costs, Clark suddenly shuttered his business in 2005 with virtually no warning. After a brief panic in the board shaping industry, and a temporary skyrocketing in price of the remaining blanks in existence, what followed next was rather surprising: a boom of innovation across the industry.

Continue reading “Surfboard Industry Wipes Out, Innovation Soon Follows”

Water Slide + Ferris Wheel = SlideWheel

This might be German engineering at its funnest. [Wiegand Maelzer GmbH] have created a new type of amusement park ride that combines the thrill of a water slide with the gentle revolutions of a Ferris wheel.

Inspired by the wish of a young Swiss boy in 2012, the whimsical feat of engineering known as the SlideWheel was realized this year. This is isn’t quite the giant sloshing drowning machine it appears to be on first blush, though. It begins and ends at the same shallow pool, where three- and four-person rafts are lifted into the ride by conveyor belt. What happens next is difficult to describe. It’s easier just to watch the first-person video below that demonstrates the pendulum-like motion that comes from floating while rotating.

SlideWheel moves at a modest 3 RPM, though this can be adjusted. Travel speed through the tube maxes out at 40 KPH/ 25 MPH, but will vary depending on the raft’s location, the position of the wheel, and gravity. The ride can handle up to three rafts at a time and delight 720 people per hour. A trip through the tube lasts a mere two minutes, but all those who’ve tried it say the experience seems much longer. [Wiegand Maelzer] have already received a few orders and are working on a dry version for malls and indoor amusement parks.

Not enough of an engineering feat, you say? Here’s a car-juggling robot.

Continue reading “Water Slide + Ferris Wheel = SlideWheel”

This Power Strip Is A Fire Starter

A few weeks ago I needed a power strip in my home office. The outlet in question is located behind a filing cabinet so it would need a low profile plug. I jumped on Amazon to buy a surge suppressor strip. That’s when I noticed strips with rotating plugs. I’ve always had some apprehensions about plugs like that, though I could never quite put my finger on why. Looking at the reviews on this particular plug, I found some scary issues. Photos of melted plugs, melted outlets, and cries of “fire hazard”. So I did what any crazy hacker would do – bought two power strips. One with a fixed right angle plug to use in my office, and one with a rotating plug to tear down.

Failed plug – from Amazon reviews

Surge suppressors, power strips, outlet strips, they have many names. Underwriter’s Laboratories (UL) calls them “Relocatable power taps”. They all have several outlets, most have a circuit breaker of some sort inside, and some have circuits for surge suppression. These are some of the most common devices to find in the modern home. Many of our houses were designed and built before surround sound, cable boxes, computers, modems, cell phone chargers, tablet chargers, and all our other modern conveniences. There weren’t as many electrical loads, so the houses didn’t have many outlets. Power strips solve this problem.

After a couple of days, I had my strips in hand. I expected the plug to rotate once – maybe 270 degrees. That would indicate there were wires connecting the rotating head to rest of the plug. Not so – this plug would spin round and round all day long.

Continue reading “This Power Strip Is A Fire Starter”

Reverse Polish Notation And Its Mildly Confusing Elegance

The best rummage sale purchase I ever made was a piece of hardware that used Reverse Polish Notation. I know what you’re thinking… RPN sounds like a sales gimmick and I got taken for a fool. But I assure you it’s not only real, but a true gem in the evolution of computing.

Best rummage sale find ever!
Best rummage sale find ever!

Sometime in the 1980s when I was a spotty teen, I picked up a calculator at a rummage sale. Protected by a smart plastic case, it was a pretty good condition Sinclair Scientific that turned out when I got it home to have 1975 date codes on its chips, and since anything with a Sinclair badge was worth having it became mine for a trifling amount of money. It had a set of corroded batteries that had damaged one of its terminals, but with the application of a bit of copper strip I had a working calculator.

And what a calculator! It didn’t have many buttons at a time when you judged how cool a scientific calculator was by the prolific nature of its keyboard. This one looked more akin to a run-of-the-mill arithmetic calculator, but had button modes for trigonometric functions and oddly an enter key rather than an equals sign. The handy sticker inside the case explained the mystery, this machine used so-called Reverse Polish Notation, or RPN. It spent several years on my bench before being reverently placed in a storage box of Sinclair curios which I’ve spent half a day turning the house over to find as I write this article.

Continue reading “Reverse Polish Notation And Its Mildly Confusing Elegance”