Lotus 123 For Linux Is Like A Digital Treasure Hunt

Ever hear of Lotus 123? It is an old spreadsheet program that dominated the early PC market, taking the crown from incumbent Visicalc. [Tavis Ormandy] has managed to get the old software running natively under Linux — quite a feat for software that is around 40 years old and was meant for a different operating system. You can see the results in glorious green text on a black screen in the video below.

If you are a recent convert to Linux, you might not remember what a pain it was “in the old days” to install software. But in this case, it is even worse since the software isn’t even for Linux. The whole adventure started with [Tavis] wanting to find the API kit used to add plugins to Lotus. In theory, you could use it to add modern features to the venerable spreadsheet program.

The $395 software development kit wasn’t very common and there was also a Unix version of Lotus 123, but no one seemed to have a copy of that. [Tavis] eventually found someone who ran a circa-1990 BBS and had the data on tape. Turned out there was a hot copy of the SDK that he was able to use. But he noticed something else in the BBS’s list of files: the long-lost Unix version of Lotus!

An investigation found the installer used TD0 files which took some research. Luckily, a utility exists that can convert these to raw disk images. Inside was a very large object file. Apparently, in the days without dynamic loading, that object would be linked with plug in modules to install them.

The object file had all of its debugging information intact which shed a lot of light on the program’s internal operations. The old executables used COFF format but it is possible to relink it to an ELF file. Of course, it isn’t just that easy. [Tavis] wrote a small program to remove the old-style Unix system calls so they could be rerouted to Linux system calls. Some calls just pass through, but others need some translation due to differences in things like structure layout, sizes, and alignment.

In the end, it all worked but didn’t have a valid license. However, [Tavis] felt like since he did have a license and the software is abandoned, he was within his rights to crack the license check.

We are well-known abusers of spreadsheets around here. Of course, we aren’t the only ones.

Continue reading Lotus 123 For Linux Is Like A Digital Treasure Hunt”

Do Flat Tyres Make Your Speedo Lie?

There are some engineering questions that may not have huge importance in the world, but which become the subject of intense idle speculation. A good example is the question of whether a lower tyre pressure on a motor vehicle would make a difference to the indicated speed. There are several contrasting intuitive theories as to what should happen, so [mechatronicsguy] has taken the time for a bit of experimentation in order to find out what really happens.

At stake were the change in effective radius from a flattened portion of the tyre, the so-called tank tracks effect in which the entire circumference of the tyre is still traversed, and the prospect of a change in circumference due to the different pressure. The test wheels were made from foam, and were found to give a different reading when compressed. This might solve toe problem, but of course real car wheels have radial wires to give them stiffness. When these were simulated on the foam wheels with packing tape, the difference evaporated. Later this was confirmed by GPS-measuring a real car with deflated wheels.

All this makes for a fascinating read, because after all, there’s sometimes no substitute for a real-world test.

Header image: Gerlach, Public domain.

Truly Giant Telescope Could Image Exoplanets

Have you ever wished we could peek at all these exoplanets that have been recently discovered? We aren’t likely to visit anytime soon, but it would be possible to build a truly giant telescope that could take a look at something like that. At least according to [SciShow Space] in a recent video you can see below.

The idea put forth in a recent scientific paper is to deliberately create the conditions that naturally form gravitational lenses. If you recall, scientists have used these naturally-occurring lenses to image the oldest star ever observed. These natural super-telescopes have paid off many times, but you can’t pick what you want to look at. It is all a function of the distance to the star creating the lens and the direction a line between us points.

But what if you could create your own gravity lens? Granted, we probably aren’t going to do that in our garages. However, a recent paper talks about launching an optical detector that you could maneuver so that it was on a line that would pass through the object you want to see and our own sun. We clearly have the technology to do this. After all, we have several nice space telescopes, and several probes operating far away from the sun.

That is one of the biggest catches, though. This new telescope will need to be some 550 AU from the sun to get good results. For the record, the Earth is 1 AU (about 8 light minutes) out. Pluto — maybe not a planet anymore, but still a signpost on the way out of the solar system — is a scant 39 AU out. Voyager I, which has been racing away from the sun since 1977 is only about 156 AU out.

Because the craft would be so far out, it would be practically a one-shot mission. You also have to have something reliable enough to go the 17 years it would take with today’s technology to get in place. You also need a way to get the data back over that distance. All doable, but non-trivial.

The paper simulates what the Earth would look like using this technique from a nearby star. The images are shockingly good, especially after a bit of post-processing. Meanwhile, we may have to settle for more modest images. You might not see detail, but it is possible to find exoplanets with reasonably modest equipment.

Continue reading “Truly Giant Telescope Could Image Exoplanets”

Hackaday Links Column Banner

Hackaday Links: May 22, 2022

It looks like it’s soon to be lights out for the Mars InSight lander. In the two years that the lander has been studying the geophysics of Mars from its lonely post on Elysium Planitia, InSight’s twin solar arrays have been collecting dust, and now are so dirty that they’re only making about 500 watt-hours per sol, barely enough to run the science packages on the lander. And that’s likely to worsen as the Martian winter begins, which will put more dust in the sky and lower the angle of the Sun, reducing the sunlight that’s incident to the panels. Barring a “cleaning event” courtesy of a well-placed whirlwind, NASA plans to shut almost everything down on the lander other than the seismometer, which has already captured thousands of marsquakes, and the internal heaters needed to survive the cold Martian nights. They’re putting a brave face on it, emphasizing the continuing science and the mission’s accomplishments. But barely two years of science and a failed high-profile experiment aren’t quite what we’ve come to expect from NASA missions, especially one with an $800 million price tag.

Closer to home, it turns out there’s a reason sailing ships have always had human crews: to fix things that go wrong. That’s the lesson learned by the Mayflower Autonomous Ship as it attempted the Atlantic crossing from England to the States, when it had to divert for repairs recently. It’s not clear what the issue was, but it seems to have been a mechanical issue, as opposed to a problem with the AI piloting system. The project dashboard says that the issue has been repaired, and the AI vessel has shoved off from the Azores and is once more beating west. There’s a long stretch of ocean ahead of it now, and few options for putting in should something else go wrong. Still, it’s a cool project, and we wish them a fair journey.

Have you ever walked past a display of wall clocks at the store and wondered why someone went to the trouble of setting the time on all of them to 10:10? We’ve certainly noticed this, and always figured it had something to do with some obscure horological tradition, like using “IIII” to mark the four o’clock hour on clocks with Roman numerals rather than the more correct “IV”. But no, it turns out that 10:10 is more visually pleasing, and least on analog timepieces, because it evokes a smile on a human face. The study cited in the article had volunteers rate how pleasurable watches are when set to different times, and 10:10 won handily based on the perception that it was smiling at them. So it’s nice to know how easily manipulated we humans can be.

If there’s anything more pathetic than geriatric pop stars trying to relive their glory days to raise a little cash off a wave of nostalgia, we’re not sure what it could be. Still, plenty of acts try to do it, and many succeed, although seeing what time and the excesses of stardom have wrought can be a bit sobering. But Swedish megastars ABBA appear to have found a way to cash in on their fame gracefully, by sending digital avatars out to do their touring for them. The “ABBA-tars,” created by a 1,000-person team at Industrial Light and Magic, will appear alongside a live backing band for a residency at London’s Queen Elizabeth Olympic Park. The avatars represent Benny, Bjorn, Agnetha, and Anni-Frid as they appeared in the 1970s, and were animated thanks to motion capture suits donned while performing 40 songs. It remains to be seen how fans will buy into the concept, but we’ll say this — the Swedish septuagenarians look pretty darn good in skin-tight Spandex.

And finally, not that it has any hacking value at all, but there’s something shamefully hilarious about watching this poor little delivery bot getting absolutely wrecked by a train. It’s one of those food delivery bots that swarm over college campuses these days; how it wandered onto the railroad tracks is anyone’s guess. The bot bounced around a bit before slipping under the train’s wheels, with predictable results once the battery pack is smooshed.

Hack Another ELF On The Stack

[dropbear] recently found herself in a pickle. Dumping some data out of an Android app at a specific point for reverse engineering purposes. While it worked great in the simulator, it was painfully slow on hardware via lldb. The solution was to write a patch and apply it to the ELF file.

Writing the AArch64 assembly to dump the buffer is relatively trivial, but adding it to the existing ELF and repackaging it into a new APK leads to strange errors. The relative offsets into .rodata are now all wrong. For those who don’t routinely interface with the format of ELF files, we have a fantastic resource to take you into the dark depths. But the quick summary version is that sections contain various resources, and you find parts of those resources by relative offsets. The program header describes what type of resources each section contains.

[dropbear] found a NOTE section that just contained some metadata. She created a new section at the end of the file for her custom assembly and modified the header to declare the NOTE section as a LOAD section that pointed at her new section, which would get mapped into memory. All that was left to do was tweak the assembly in the actual code to jump to her new code that dumps. The BSS section was extended by a few bytes so that her program could store its state there.

It’s an impressive technique, and her program for modifying the program header is on her website under a BSD-3 license.

Expedient Jig Lets You Crank Out Chain Link Fence

After the zombie apocalypse or whatever is coming, folks like us will be in high demand as the people who know how to fix things, generate electricity, and scavenge parts. But keeping out marauding zombies and neighbors requires fencing. Can you make your own chain link fence? If you watch [Diamleon]’s recent video, you might be able to. Admittedly, the bulk of the video is about fabricating the jig and you should expect to do some welding and cutting.

However, you might be able to make a similar jig with a little less work. The jig is essential a spool on a shaft with a crosswise cut to guide the wire. The whole thing is powered by an electric drill turning a sprocket much like a bicycle.

One pass through the machine makes a nice twisty wire. Once you’ve run off a few lengths of twisty wire it is relatively easy to interlace them into fencing panels. It is one of those things that is hard to visualize until you see it. We were impressed with the drill drive and immediately thought about modifying the design to wind large coils. There are probably many other uses for such a thing. So even if you don’t want to build a fence, you might want to check it out.

As for us, we’ll probably just make our fence out of wood. Or do something electric. Oddly enough, we saw a hand-crank version of this same type of machine last year.

Continue reading “Expedient Jig Lets You Crank Out Chain Link Fence”

A wooden picture frame with an e-ink display

Receive Virtual Postcards On This Beautiful E-Ink Photo Frame

Sending postcards to loved ones used to be standard procedure for travelers back when travel was glamorous and communications were slow. While some travelers still keep this tradition alive, many have replaced stamps and post offices with instant messaging and social media — faster and more convenient, but a lot less special than receiving a postcard with a handwritten message from a faraway land.

[Cameron] designed a postcard picture frame that aims to bring back a bit of that magic. It’s a wooden frame that holds an e-ink display, which shows pictures sent to it by your friends. All they need to do is open the unique link that you sent them beforehand and upload an interesting photo; the picture frame will cycle through the submissions based on an adjustable schedule. A web interface allows you to change settings and delete any inappropriate images.

A black PCB with an ESP32 mounted on itThe wooden frame is beautifully made, but the sleek black PCB inside is an true work of art. It holds a battery and a USB-C charging circuit, as well as an ESP32 that connects to WiFi, stores images and downscales them to the 800×480 monochrome format used by the display. [Cameron] has not accurately measured the current consumption, but estimates that it should work for about one year on a single charge thanks to the extremely low power requirements of e-ink displays.

Having your friends decide on the images shown in your house is an interesting idea, if you can trust them to keep it decent. If you like to have more control over your e-ink display, have a look at this solar-powered model or this wall-mounted newspaper display.

Continue reading “Receive Virtual Postcards On This Beautiful E-Ink Photo Frame”