this post was submitted on 08 Dec 2023
373 points (96.0% liked)

Technology

58492 readers
4869 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

First, wear your dust mask. Who knows where these machines have been?

you are viewing a single comment's thread
view the rest of the comments
[–] Gork@lemm.ee 28 points 10 months ago* (last edited 10 months ago) (5 children)

Analog computers are pretty cool, yet underrated tech. Although they aren't very flexible compared to digital computers in the range of what they can do, they do their specific use case very well.

Need to solve a partial differential equation in real time? Don't bother with iterative algorithms, that's fool's math, playa. Just hook it up to an analog computer specifically designed to solve that PDE type, rig up some wires for the input and output to your oscilloscope for real time mathz.

[–] towerful@programming.dev 19 points 10 months ago (4 children)

The old firing computers from WW2 are cool as hell.
Not just analog, but mechanical analog.
They take 25 inputs, some of which come directly from the spotter scope things, some from the ship itself, and then controls the guns directly.
It's all cams, gears, reciprocating whatsits and stuff.
And because it's analog, there is no quantisation, rounding errors, floating point errors. It's continuously and instantly calculated.
Very cool stuff.
https://youtu.be/s1i-dnAH9Y4

[–] WaterWaiver@aussie.zone 15 points 10 months ago* (last edited 10 months ago) (1 children)

Very pretty stuff. I particularly recommend Ken Shirriff's Reverse-engineering the mechanical Bendix Central Air Data Computer:

He goes into detail about how non-linear equations are implemented using shaped cam gears (and how such functions can be difference-encoded against linear forms). It's insane.

And because it’s analog, there is no quantisation, rounding errors, floating point errors.

Eh, I'd say that runout and stiction are their own demons with potentially more bias than those error types :) Not to mention temperature sensitivity -- hot days will give different answers to the equations!

[–] towerful@programming.dev 6 points 10 months ago

Eh, I'd say that runout and stiction are their own demons with potentially more bias than those error types :) Not to mention temperature sensitivity -- hot days will give different answers to the equations!

Ha, oh yeh. Good point.
A bit of dirt throwing off the calculations.

[–] BearOfaTime@lemm.ee 5 points 10 months ago (1 children)

Wow, thanks for the link.

The older I get, the more I appreciate things like this, what is basically 19th century mechanical engineering, and what those geniuses were able to do with it. Like fly planes through WWII.

[–] towerful@programming.dev 3 points 10 months ago (1 children)

Yeh, it's crazy right?
This is all just fancy wheels, turned around, odd shaped, made to fit together better.
And the understanding of mathematics, geometry and mechanics makes this massive apparatus of intricately connected pieces - which are relatively easy to understand in isolation - into this thing that can point a gun to be able to hit a moving target.

World War 2 was horrendous. But some of the tech developed is jaw-dropping.
Since then, it's grown exponentially. We are standing on the shoulders of giants!

[–] evranch@lemmy.ca 4 points 10 months ago (2 children)

The craziest thing to me is they didn't have any sort of CAD, 3d printing or other rapid prototyping tech. Most of these things wouldn't work if made from a cheap sample material either, due to the torque they needed to handle. So really the only option was to put a ton of effort into design, make a few prototypes and start manufacturing. Iterative design could take years to get results back from users.

The classic example to me is the square bale knotter. A collection of cast iron sector gears, cams, jackshafts, blades and hooks with grippers, flung through their complex cycle in 1/4 second in dirty field conditions. Using arbitrary twine and tension, variable drive speed and a product that can vary from 10lbs to 80lbs per volume. For tens of thousands of cycles with minimal maintenance aside from pumping grease into the grease points.

And mine is still working perfectly today after 60 years or more! This year it didn't miss one single knot of thousands. Incredible engineering.

[–] BearOfaTime@lemm.ee 3 points 10 months ago* (last edited 10 months ago) (1 children)

Part of the ~~suction~~ solution was to simply over-engineer things, which is why old anything mechanical is seriously robust.

Looking at cars, an A-arm from a 1950's vehicle can easily weigh 2x-5x more than in a similar new vehicle.

[–] evranch@lemmy.ca 2 points 10 months ago

Good point. I run a lot of old equipment and compared to what new stuff could handle, I absolutely abuse it.

My flatbed "1-ton" F350 used to be a grain truck. 1 ton of grain wouldn't even fill half the box.

I can put 4 round bales on the deck, well over 2 tons, and the overload spring pack isn't even touching the mounts yet. It was overbuilt, all right.

[–] towerful@programming.dev 1 points 10 months ago

Oh yeh, things like old looms? That ran on punch cards to program the pattern?
https://en.wikipedia.org/wiki/Jacquard_machine
First prototyped in 15th century.
And all the iterations on it in the 18th and 19th century. Very cool tech

[–] frezik@midwest.social 3 points 10 months ago (1 children)

IIRC, when they were looking at refitting the Iowa class ships in the late 70s/early 80s, they found that while they could make the mechanical fire control computers smaller, they couldn't make them any more accurate.

[–] towerful@programming.dev 3 points 10 months ago

I mean, that's 40 years ago.
I can understand that their mechanical abilities had peaked, and weren't able to improve on it.
It would be curious to test that against a modern CNCd mechanical analog firing computer, and then test THAT against a modern 128-bit fixed/floating point computer.
I imagine the computer would win

[–] PipedLinkBot@feddit.rocks 2 points 10 months ago

Here is an alternative Piped link(s):

https://piped.video/s1i-dnAH9Y4

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] TimeSquirrel@kbin.social 5 points 10 months ago* (last edited 10 months ago)

"CuriousMarc" on YouTube has a couple videos where he takes apart and restores an electromechanical navigation computer from an old soviet Soyuz capsule. It could show you exactly where in your orbit you were and calculate rendezvous and reentry burns, all with just a shitload of gears and things. It was incredible.

[–] MonkderZweite@feddit.ch 3 points 10 months ago (1 children)

Isn't that what FPGAs are for?

[–] WaterWaiver@aussie.zone 2 points 10 months ago (1 children)

Are FPGAs particularly suited to solving PDEs? I just did a search and there seem to be some papers discussing implementing various PDE solving algorithms on FPGAs, but I'm not sure if it's a task uniquely suited to them.

[–] MonkderZweite@feddit.ch 2 points 10 months ago (4 children)

Probably not especially. But aren't they basically wires burnt in circuit, made programmable via (UV?) light.

[–] anlumo@lemmy.world 5 points 10 months ago

They're still digital (a wire is either 0 or 1), which isn’t more useful for this than a regular CPU.

What they do excel in is doing stuff in parallel, because there is no linear list of instructions, everything can happen at the same time (unless you specifically block something until a certain signal is sent).

[–] WaterWaiver@aussie.zone 2 points 10 months ago* (last edited 10 months ago)

No. Modern FPGAs do not use any UV light or have any windows. For storage they use flash memory (same as what's used in MicroSD cards, USB sticks and SSDs). Some (most?) require you to provide this yourself externally.

Old EPROM (not EEPROM) storage had windows and needed UV to erase, but that's decades old. I'm not sure if FPGA was common nomenclature back then (PAL/GAL/CPLD were probably the market).

[–] WHYAREWEALLCAPS@kbin.social 2 points 10 months ago (2 children)

Maybe you're thinking of EPROMs? I can't think of anything else that you'd need UV light for. Even then the UV was used to erase them, not write.

[–] frezik@midwest.social 2 points 10 months ago

Modern FPGAs don't use UV light, but maybe earlier ones did? As you say, EEPROMs used UV for erasing before writing again.

[–] MonkderZweite@feddit.ch 1 points 10 months ago* (last edited 10 months ago)

...now i'm getting confused. Those chips with the round window in the center, what were they again?

[–] kalkulat@lemmy.world 2 points 10 months ago* (last edited 10 months ago)

Ur so right! Diffy-Q has its uses, but analog was too advanced for us to grok so we had to settle for it. Newton 'discovered' gravity, and calculus, then found out how useful calc was!

Non-linear? Hella faster! Nature went with analog long ago. No analog, no music!

[–] hglman@lemmy.ml 1 points 10 months ago

Tbf, the pinball machine is not really the same as an analog computer, it uses relays in the same way that a modern computer uses a transistor. There is no continuously variable part, just lots of on/offs.