A Calculator In 2020?

This week, Al Williams wrote up an article on what might be the last scientific calculator. Back in the day, the fanciest of scientific calculators had not just sin, cos, and tan, but were also programmable so that you could code in frequently used formulae. And the calculator that he reviews is certainly powerful: with a screen, processor, and memory almost rivalling a mid-scale smartphone.

Wait a minute! “Almost”? I have a smartphone in my pocket right now. Why would I want something less powerful, when all that the calculator brings to the table is a bit of software? And that app can even be purchased for $20!

I’ll confess. I want a proper desktop calculator from time to time. But why? Sure, I can run calculations on the very computer that I’m using to type right now. And in terms of programming languages, the resources are far superior on my laptop. Unit conversions? Units, or the Interwebs. Heck, I can even type calculations directly into the Unix world’s default editor.

But there’s something nice about the single-purpose device. Maybe it’s the feel of the keys. Maybe it’s because it doesn’t require a context-switch on the computer. Maybe it’s irrational calculator nostalgia. Or maybe it’s an elegant tool from a more civilized age: the user experience is better because the tool is just simpler.

I like stand-alone devices that do their one thing right, and I almost always pick them over their more complex, if also more capable, counterparts when I only need that function. The fixed wrench over the adjustable wrench. The standalone audio recorder over my computer’s software. The simple bench power supply over the programmable. And, when I’m actually setting out to take good photos, a real camera instead of my cell phone’s. Purpose-built tools tend to work much better for their purpose than devices that try to do everything.

The days of the standalone calculator are nearly gone, though, so what am I going to do? I’m certainly not going to shell out megabucks for an overly-fancy calculator, nor am I going to be lured by nostalgia into picking up an antique at the ridiculous prices they fetch online. That leaves one option, and it’s both the Hackaday and the Jedi way. I’m going to have to build it myself. Where am I going to get a nice-feeling numeric keypad?

This article is part of the Hackaday.com newsletter, delivered every seven days for each of the last 210 weeks or so. It also includes our favorite articles from the last seven days that you can see on the web version of the newsletter.

Want this type of article to hit your inbox every Friday morning? You should sign up!

Raising The Titanic’s Radio Room

For some reason, of all the ships that have sailed the oceans, it’s the unlucky ones that capture our imagination. Few ships have been as unlucky as the RMS Titanic, sinking as she did on the night of April 15, 1912 after raking across an iceberg on her maiden voyage, and no ship has grabbed as much popular attention as she has.

During her brief life, Titanic was not only the most elegant ship afloat but also the most technologically advanced. She boasted the latest in propulsion and navigation technology and an innovation that had only recently available: a Marconi wireless room, used both for ship-to-shore and ship-to-ship communications.

The radio room of the Titanic landed on the ocean floor with the bow section of the great vessel. The 2.5-mile slow-motion free fall destroyed the structure of the room, but the gear survived relatively intact. And now, more than a century later, there’s an effort afoot to salvage that gear, with an eye toward perhaps restoring it to working condition. It’s a controversial plan, of course, but it is technologically intriguing, and it’s worth taking a look at what’s down there and why we should even bother after all these years.

Continue reading “Raising The Titanic’s Radio Room”

Write Once, Run Everywhere: Cross-Platform Programming Done Right

One of the goals of programming languages back in the 1950s was to create a way to write assembly language concepts in an abstract, high-level manner. This would allow the same code to be used across the wildly different system architectures of that era and subsequent decades, requiring only a translator unit (compiler) that would transform the source code into the machine instructions for the target architecture.

Other languages, like BASIC, would use a runtime that provided an even more abstract view of the underlying hardware, yet at the cost of a lot of performance. Although the era of 8-bit home computers is long behind us, the topic of cross-platform development is still highly relevant today, whether one talks about desktop, embedded or server development. Or all of them at the same time.

Let’s take a look at the cross-platform landscape today, shall we?

Continue reading “Write Once, Run Everywhere: Cross-Platform Programming Done Right”

Inputs Of Interest: My First Aggressively Ergonomic Keyboard

Ever since my RSI surgery, I’ve had to resort to using what I call my compromise keyboard — a wireless rubber dome affair with a gentle curvature to the keys. It’s far from perfect, but it has allowed me to continue to type when I thought I wouldn’t be able to anymore.

This keyboard has served me well, but it’s been nearly three years since the surgery, and I wanted to go back to a nice, clicky keyboard. So a few weeks ago, I dusted off my 1991 IBM Model M. Heck, I did more than that — I ordered a semi-weird hex socket (7/32″) so I could open it up and clean it properly.

And then I used it for half a day or so. It was glorious to hear the buckling springs singing again, but I couldn’t ignore the strain I felt in my pinkies and ring fingers after just a few hours. I knew I had to stop and retire it for good if I wanted to keep being able to type.

Continue reading “Inputs Of Interest: My First Aggressively Ergonomic Keyboard”

Expanding, And Eventually Replacing, The International Space Station

Aboard the International Space Station (ISS), humanity has managed to maintain an uninterrupted foothold in low Earth orbit for just shy of 20 years. There are people reading these words who have had the ISS orbiting overhead for their entire lives, the first generation born into a truly spacefaring civilization.

But as the saying goes, what goes up must eventually come down. The ISS is at too low of an altitude to remain in orbit indefinitely, and core modules of the structure are already operating years beyond their original design lifetimes. As difficult a decision as it might be for the countries involved, in the not too distant future the $150 billion orbiting outpost will have to be abandoned.

Naturally there’s some debate as to how far off that day is. NASA officially plans to support the Station until at least 2024, and an extension to 2028 or 2030 is considered very likely. Political tensions have made it difficult to get a similar commitment out of the Russian space agency, Roscosmos, but its expected they’ll continue crewing and maintaining their segment as long as NASA does the same. Afterwards, it’s possible Roscosmos will attempt to salvage some of their modules from the ISS so they can be used on a future station.

This close to retirement, any new ISS modules would need to be designed and launched on an exceptionally short timescale. With NASA’s efforts and budget currently focused on the Moon and beyond, the agency has recently turned to private industry for proposals on how they can get the most out of the time that’s left. Unfortunately several of the companies that were in the running to develop commercial Station modules have since backed out, but there’s at least one partner that still seems intent on following through: Axiom.

With management made up of former astronauts and space professionals, including NASA’s former ISS Manager Michael Suffredini and Administrator Charles Bolden, the company boasts a better than average understanding of what it takes to succeed in low Earth orbit. About a month ago, this operational experience helped secure Axiom’s selection by NASA to develop a new habitable module for the US side of the Station by 2024.

While the agreement technically only covers a single module, Axiom hasn’t been shy about their plans going forward. Once that first module is installed and operational, they plan on getting NASA approval to launch several new modules branching off of it. Ultimately, they hope that their “wing” of the International Space Station can be detached and become its own independent commercial station by the end of the decade.

Continue reading “Expanding, And Eventually Replacing, The International Space Station”

The Last Scientific Calculator?

There was a time when being an engineering student meant you had a sword. Well, really it was a slide rule hanging from your belt, but it sounds cooler to call it a sword. The slide rule sword gave way to calculators hanging from your belt loop, and for many engineers that calculator was from HP. Today’s students are more likely to have a TI or Casio calculator, but HP is still in there with the HP Prime. It is hard to call it a calculator since the latest variant has a 528 MHz ARM Cortex A7, 256 MB of RAM, and 512 MB of ROM. But if you can’t justify a $150 calculator, there are some cheap and even free options out there to get the experience. To start with, HP has a free app that runs on Windows or Mac that works just like the calculator. Of course, that’s free as in no charge, not free as in open source. But still, it will run under Wine with no more than the usual amount of coaxing.

You might wonder why you need a calculator on your computer, and perhaps you don’t. However, the HP Prime isn’t just your 1980s vintage calculator. It also has an amazing number of applications including a complete symbolic math system based on xCAS/Giac. It is also programmable using a special HP language that is sort of like Basic or Pascal. Other applications include plotting, statistics, solvers, and even a spreadsheet that can hold up to 10,000 rows and 676 columns.

Portability

It is easy to think that HP provides the free PC software so you’ll go out and buy the real calculator, and that may be part of it. However, you can also get official apps for Android and iOS. They aren’t free, but they are relatively inexpensive. On iOS the cost right now is $25 and on Android it is $20. There are also “lite” versions that are free.

Continue reading “The Last Scientific Calculator?”

Project Rubicon: The NSA Secretly Sold Flawed Encryption For Decades

There have been a few moments in the past few years, when a conspiracy theory is suddenly demonstrated to be based in fact. Once upon a time, it was an absurd suggestion that the NSA had data taps in AT&T buildings across the country. Just like Snowden’s revelations confirmed those conspiracy theories, a news in February confirmed some theories about Crypto AG, a Swiss cryptography vendor.

The whole story reads like a cold-war era spy thriller, and like many of those novels, it all starts with World War II. As a result of a family investment, Boris Hagelin found himself at the helm of Aktiebolaget Cryptograph, later renamed to Crypto AG (1952), a Swedish company that built and sold cipher machines that competed with the famous Enigma machine. At the start of the war, Hagelin decided that Sweden was not the place to be, and moved to the United States. This was a fortuitous move, as it allowed Hagelin to market his company’s C-38 cipher machine to the US military. That device was designated the M-209 by the army, and became the standard in-the-field encryption machine.

Continue reading “Project Rubicon: The NSA Secretly Sold Flawed Encryption For Decades”