Making Old Computers Count To A Million

How fast can you count to a million? It would probably take you a while. A computer could certainly do it faster. Indeed, the The National Museum of Computing figured it could actually prove to be a simple but useful benchmark for comparing computers over many eras and architectures. Thus was born the Million Measure.

The intention was to develop a benchmark that could run on just about anything considered a “computer.” As explained in a recent talk, the Million Measure can be run quite simply on anything from an ancient World War II computer like Colossus, to a modern Raspberry Pi. There are no complicated algorithms that need optimization, nor architecture-specific code required to do the job. The museum also found it to be a useful way to figure out which computers in their collection were actually working at any given time. Early computers from the mid-20th century reported benchmark times in minutes, while a 1995 BeBox is the fastest machine tested so far at 0.004 seconds.

It’s not a particularly useful measure for modern machines, which are so fast as to make the test difficult to parse in an intuitive way. But if you’re working with today’s hardware, there are other techniques you can use. Video after the break.

Continue reading “Making Old Computers Count To A Million”

How LLMs Can Be Assisted To Do Arithmetic Correctly

One of the most hilarious things you can do with an LLM-based chatbot is to ask it to do calculations. If it’s a well-written chatbot frontend, it can detect requests for arithmetic – like summing 1 and 1 – and pass it on to a dedicated calculator application, even if still cannot correctly count the ‘r’s in ‘strawberry’. This is where [Alvaro Videla] asks the question whether it is at all possible to perform arithmetic with a language model.

Since an LLM at its core is nothing but a vector space of probabilities that a matrix-based inference process uses to create a probabilistic output of tokens you’d not expect a lot of deterministic behavior. How can you do arithmetic without grounding it in some kind of deterministic process?

This is where [Alvaro]’s Rune project comes into play, which is ‘a mechanism-aware JIT compilation project for language-model arithmetic’. Although it is statistically impossible for an LLM to ever correctly perform any random series of arithmetic calculations, you can monitor the internal state of the model and interfere once the parameters of an arithmetic calculation have been identified. By putting the correct result back into the inference process and letting it continue you did not need to rely on external tools.

Ultimately this attempt sort-of worked, but was deemed a failure. It would seem that a language model is the wrong tool after all for replacing the humble calculator.

Epson HX-20 Gets A Drive Upgrade

The Epson HX-20 is sometimes referred to as an early laptop computer. It’s a little odd in its form factor, and in its storage, relying on a microcassette drive to store data. It can be problematic to keep these tapes and drives going after so many decades, so [Andrew Menadue] has been tinkering with a more modern solution.

The replacement drive uses a Raspberry Pi Pico to emulate the original tape drive. The Pico uses a microSD card to store data instead of the magnetic media of old. The device has a small screen for showing status information and four buttons for navigation, allowing the faux drive to be controlled as to what “tape” it’s pretending to be. It’s also possible to use the device to emulate ROM cartridges that could be used with the HX-20 in place of its original tape deck storage solution.

We’ve seen some other old hardware get similar drive upgrades before, too. No surprise, because mechanical drives and media simply don’t last forever. Sometimes you need to build a replacement that’s viable today. Video after the break.

Continue reading “Epson HX-20 Gets A Drive Upgrade”

PCBs Straight From The Magazine

It’s never been easier to get a printed circuit board made. In fact, almost every electronics video out on the internet will incessantly remind you of this fact now. But making a custom PCB wasn’t always as straightforward as sending a KiCad file to a board house. Many DIY methods involve harsh chemicals and tedious processes, but did have the potential benefit of taking much less time than waiting on boards to arrive in the mail. [Bettina Neumryr] is demonstrating one of these older methods, called the toner transfer method, using a circuit that was printed directly in an old magazine.

The first part of the toner transfer method is to create an image that can be printed. Since this circuit came from a magazine, it is first scanned in to a computer and imported into GIMP, where it can be scaled to match the size of the components and then sharpened to make a crisp print. With the image ready, it’s time to print the image onto some toner transfer paper, ensuring that the printer in question is a laser printer which actually uses toner. From there, a sheet of blank copper PCB is prepared and then the toner is transferred by heating, in this case using a laminator. After that its etched, removing all of the copper not protected by the toner, and then the toner itself can be removed which leaves behind the copper traces.

For those of you who were around when toner transfer was in vogue, this video might not have much value. But for anyone who can’t use a board manufacturer for whatever reason or is looking for alternatives, a modern video showing the method could be much more useful and have better context for beginners than videos made a decade or more ago now. Some of those older methods include similar processes using inkjet printers instead, but there are more modern DIY methods as well using lasers or CNC machines too.

Continue reading “PCBs Straight From The Magazine”

Making An Ultra Minimal Cyberdeck

The cool thing about cyberdecks is that you get to design them to suit your personal tastes. [NickZero] wanted an ultra-minimal build, and set about putting together just that.

The build is based around a Raspberry Pi Zero 2W, which has a lighter power draw than the full-fat models at the trade-off of some processing power. Since it’s a W model, it has the benefit of wireless connectivity baked in from the factory. The Pi is paired with a Gherkin 30% layout keyboard kit, which neatly matches the 7″ Waveshare touch display in width. Power is courtesy of a juicy 4000 mAh lithium-ion cell, which is taken care of by an Adafruit Powerboost 1000 charger module. Everything is then laced up together inside a nifty 3D printed case.

It’s a simple cyberdeck, and one that’s probably quite satisfying to use when you get used to the fact that there are no number or modifier keys on the ultra-cut-down keyboard. It’s also a great example of how a bunch of off-the-shelf gear can nonetheless be assembled into quite a cohesive whole. In much the opposite way, we’ve seen some maximalist cyberdeck builds lately, too.

Continue reading “Making An Ultra Minimal Cyberdeck”

Hackaday Podcast Episode 374: Flippin’ Phones, Sexy Spraysers, And Frikkin’ Lasers

Things are back to normal around the Podcast studio, and this week you’ll hear the dulcet tones of Elliot Williams and Kristina Panos.

In Hackaday news, we still have a Frikkin’ Lasers Challenge going on, and now you can even enter your project into it! Join the ranks, won’t you?

Not only do we have a triple mailbag this week, we have another failed attempt at guessing the sound by Kristina. However, [Baron Maximilian von Knuthausen] knew that it was a train, a British one, even. Then it’s on to the hacks, of course, which ought to go far in explaining the show title.

Check out the links below if you want to follow along, and as always, tell us what you think about this episode in the comments!

Download in lovely MP3.

Continue reading “Hackaday Podcast Episode 374: Flippin’ Phones, Sexy Spraysers, And Frikkin’ Lasers”

Creating Beautiful Light Shows With Soap

We feature a lot of fun projects with LEDs and lasers and all kinds of light effects going on. Most of these are very digital. However, there are a great many ways to make beautiful lighting effects without ones and zeros. The Maelstrom Lamp from [Michele Lorenzi] is a great example of that.

The Maelstrom Lamp is externally decorated to indicate its function. 

The concept is decidedly old-school. The lamp uses a delicate, thin soap film stretched across an aperture as its primary optical element. The varying thickness of the film across its surface leads to constructive and destructive interference when white light passes through it. This creates a kaleidoscope of color; the same effect you might have seen when an oil slick forms in a dirty puddle.

In this case, though, that effect is projected with the aid of a powerful 800-lumen flashlight and some supporting optics. [Michele]’s write-up does a great job of explaining the finer design details that maximize the vibrancy of the effect, from the waviness in the gasket that supports the soap film, to the optics that focus the torch beam.

If you’re looking for some suitably psychedelic lighting effects for your next house party, you really ought to build one of these. We’ve featured some other fun classic lighting effects before, like these wonderful bubble lamps. Continue reading “Creating Beautiful Light Shows With Soap”