“I’m Not Dead Yet!” Reverse Polish Notation Calculators You Can Still Buy

If you used a scientific calculator in the 1970s or 1980s, there was a fair chance that it worked differently from almost every calculator you see today. Instead of typing:

2 + 3 =

you entered:

2 ENTER 3 +

There wasn’t even an equals key. Hewlett-Packard made this system — Reverse Polish Notation, or RPN — practically synonymous with serious scientific calculators until other players like TI and Casio got serious. Once you got used to it, ordinary algebraic calculators could feel annoyingly clumsy.

Today, RPN calculators look like a nearly extinct species. HP left the calculator market, licensing the HP calculator line to Moravia Consulting. Old HP-15Cs, 16Cs, 32Ss, 42Ss, and 48s have become collectibles. But RPN isn’t dead. You can still buy new hardware, build your own, or turn almost any computer or phone into a very capable RPN machine. There are reasons some of us still want to.

But Why Polish?

The name goes back to Polish logician [Jan Łukasiewicz], who devised a notation in which operators precede their operands. Instead of writing:

A + B

you can write:

+ A B

The big advantage is that parentheses aren’t required. The structure of the expression tells you exactly what operates on what. Reverse Polish notation simply puts the operator at the other end:

A B +

[Łukasiewicz] wasn’t designing calculators, of course, but the same idea turned out to be extremely convenient for computers and calculators. Your software doesn’t have to remember what operation is in progress. Each operator is ready to go and can simply work on the operands that you’ve already read.

RPN isn’t exactly the way people calculate with pencil and paper, and it certainly wasn’t derived from the slide rule, but there is a similarity in the way you work. With a slide rule, you generally establish some value, operate on it, and continue from the result. When doing a long-hand calculation, you often calculate a subexpression, write down the answer, and use that answer in the next step. You will probably start with the inner parenthesis and work outward, just like someone with an RPN calculator does. RPN formalizes that process with a stack.

Suppose you want:

(3 + 4) × (5 + 6)

On a conventional calculator, you either need parentheses, or you have to calculate one result and remember it. On an RPN calculator:

3 ENTER

4 +

5 ENTER

6 +

×

The first + leaves 7 on the stack. The second leaves 11 above it. The multiply consumes both and leaves 77.

Notice what’s missing: parentheses, an equals key, and any need to tell the calculator about precedence. This isn’t much of a win for a five-key calculation. It becomes more apparent with something like computing the value of a bunch of parallel resistors:

R=1/(1/R1+1/R2+1/R3…)

An RPN user can calculate each reciprocal, add it to the running result on the stack, and finally take the reciprocal. Intermediate answers stay in the calculator naturally instead of being stuffed into memory registers or enclosed in increasingly impressive collections of parentheses.

Is RPN better? Calculator users have been arguing about that for half a century. But once RPN gets wired into your fingers, it can be surprisingly hard to give up.

Continue reading ““I’m Not Dead Yet!” Reverse Polish Notation Calculators You Can Still Buy”

What’s Mu Metal?

If you tear into old TVs or recording equipment, you may see shields made from some exotic-looking metal. Old timers will tell you it’s called mu metal, and its purpose is to — sort of — shield things from magnetic fields. The qualification is important. Unlike a conductive RF shield, mu metal doesn’t really stop a magnetic field. Instead, it gives magnetic flux an easier path to follow around whatever you’re trying to protect.

What’s In The Metal?

Mu metal belongs to a family of soft magnetic nickel-iron alloys. A typical modern formulation is about 80% nickel and 15% iron, with molybdenum and a few other elements making up most of the remainder. What makes it useful is its extremely high magnetic permeability. Commercial material can have relative permeability around 100,000 or more, and some specialty alloys can reach even higher.

You can think about reluctance as the magnetic equivalent of resistance. Put a high-permeability shell around something sensitive, and magnetic flux would much rather travel through the shell than through the space inside it, just like current tends to take the path of least resistance.

This works particularly well for DC and low-frequency fields, exactly where your usual copper or aluminum EMI shield isn’t much help.

Continue reading “What’s Mu Metal?”

RAM And EMMC Prices Are So High, Pine64 Has Stopped Linux Device Production

We all know that the price of RAM and storage has shot up due to demand from the AI industry and other factors. In most cases that means we grumble about the price, but if we really need the part we can fork out for it. [CNX Software] are reporting that rather than continue to push up their prices, Pine64 are responding to the crisis by halting production of their Linux boards for the time being.

We’ve seen online comment over the now-exorbitant cost of other boards such as a fully-loaded Raspberry Pi, and this follows in that vein. If we had to guess we’d speculate that the high prices have resulted in too little in the way of sales, which considering the knock-on impact on our community if other vendors follow suit, could be concerning.

If there’s one bright spot in the current situation, it’s that for many applications where a single-board computer might be used, a microcontroller might now be a better choice for the job than something running Linux. We’re in a very different situation from that we were in when cheap Linux boards appeared, the current generation of high-power microcontrollers have significantly closed the gap between the two. Given that microcontrollers have onboard memory and storage, their immunity from the price hikes makes them even more attractive. As to Pine64, we hope that sales of their other products make up for it.


Header image: BasilicumTree, CC0.

The Farador Quack Medical Device

Over the centuries there have been an incredible number of purported medical devices released onto the market, with some having more outrageous claims than others. Released in the 1910s and produced into the 1920s, the Farador electrotherapeutic device claimed to be a thermoelectric device that would cure all disease conditions. In a recent video over at the [Our Own Devices] channel we get an in-depth look at this device and its usage instructions.

It's a thermoelectric generator. Sort of. (Credit: Our Own Devices, YouTube)
It’s a thermoelectric generator. Sort of. (Credit: Our Own Devices, YouTube)

On the Smithsonian’s website you can see the version they’ve got. It’s not identical, but the working principle remains the same — after bypassing the whole ‘is this the right treatment’ questionnaire because it’s a cure-all device, you take the main metal device and its connected electrodes out of the box.

Unlike similar devices of the era that applied an actual electrical current using batteries or similar, this Farador purportedly uses thermoelectric power generation, but there’s no clear hot or cold side to what would be the generator. Despite this, about 20-30 mV can be measured across the electrodes, so surely it’s working?

As it turns out, the Farador is just one of many fake medical devices that cloned the original Electropoise. Naturally such devices have been disassembled by many over the past decades, and as it turns out they are all empty inside, or at least devoid of any mechanisms. Much like many of such fake medical devices today, they mostly bank on the placebo effect. This placebo effect can be so strong that it’s even a confounding factor in real medical trials and medicine.

The more involved and complex the purported medical treatment seems, the stronger the effect tends to be. For the Farador the complex instructions, apparently high-tech thermoelectric generator and such all help to create the illusion and could thus be construed to be the main feature of this product.

Continue reading “The Farador Quack Medical Device”

Australia’s Nationwide Phone Outage Was An Embarrassing Failure

The phones! They were one of the basic utilities of the 20th century, and were just about as reliable as death and taxes. Even when then power grid went down, you still had a fair shot of getting a phone call through thanks to the reliability of the Plain Old Telephone Service.

Today, we eschew the simplicity of copper and mechanical switches for the supreme bandwidth and capability of high-speed cellular connectivity. With that, we accept that the additional complexity comes with a risk of complicated failures that bring everything tumbling down. Australia’s largest telecommunications provider found that out to its peril just a few short months ago.

Continue reading “Australia’s Nationwide Phone Outage Was An Embarrassing Failure”

How Packaging Can Kill An Electronics Microbusiness

Quite a few in our community make a bit of cash on the side by selling our creations, and it’s not uncommon to find that a project which catches your eye can be picked up as a kit for a few of your preferred currency units. But there’s a problem facing such tiny producers in the form of regulations intended for large businesses which are beyond their ability to comply with. [Alain Pannetrat] writes for the Lectronz marketplace about one of them, the new European Union packaging waste regulations.

At face value it sounds like a good idea, that suppliers should be responsible in some way for the disposal of their packaging. It discourages excessive packaging and encourages recycling, indeed the EU even describe the scheme as boosting business. The problem is that its administration is left to individual member states, and someone selling across the whole bloc would have to join multiple schemes. The hefty price is nothing to a large enterprise, but impossible for a tiny one. He makes a very good point, that it’s difficult to claim to champion innovation, while also imposing something like this on grass-roots innovators. Going by the experiences of our acquaintances in this space an extra burden on top of that presented by the current unstable tariff and customs situation involved in selling to the USA would likely be the straw which broke the camel’s back.

In practice we suspect that many are simply doing the same as they have with compliance marking and waste electronic equipment regulations, simply not bothering and hoping they fly under the radar and never get caught. We hope we won’t end up reporting on any future crackdown, the landscape has definitely changed since we tried our hand in this business.

Anatomy Of An SLA Resin Printing Disaster

When I got back into SLA resin printing recently, I knew that I’d inevitably have to deal with the agony of failed prints and of course resin spills. This moment eventually came, and I felt motivated to treat mistakes as teaching moments on aspects like how to properly prepare an SLA build plate in terms of angles and supports or how to deal with failed print aftermaths.

Before moving on to the disaster, I’d like to first start with a look at the resin print of the previous article, which contained a number of fairly small parts. These I had oriented and supported almost fully using the automatic methods provided by the ChituBox slicer software, and worked about 90% as I had hoped, while leaving plenty of room for improvement as well.

Overall, preparing an SLA build plate in the slicer isn’t quite the same as for an FDM printer, mostly due to one phrase that strikes fear in the heart of anyone who has ever done resin printing: “peeling forces”.

Continue reading “Anatomy Of An SLA Resin Printing Disaster”