this post was submitted on 11 Feb 2024
142 points (92.8% liked)

Showerthoughts

29698 readers
928 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. A showerthought should offer a unique perspective on an ordinary part of life.

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. Avoid politics
    1. NEW RULE as of 5 Nov 2024, trying it out
    2. Political posts often end up being circle jerks (not offering unique perspective) or enflaming (too much work for mods).
    3. Try c/politicaldiscussion, volunteer as a mod here, or start your own community.
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct-----

founded 1 year ago
MODERATORS
all 40 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 9 months ago (1 children)

I thought we already had a way to deal with bit flips. CPU bit flips should be common by now because of the size of processors these days.

[–] [email protected] 4 points 9 months ago

Yup. There is technology to deal with this. But does every piece of hw have that tech? No. Does every piece of sw run eccs for this purpose? No.

[–] [email protected] 11 points 9 months ago (1 children)
[–] [email protected] 3 points 9 months ago

The real Y2K

[–] [email protected] 2 points 9 months ago
[–] [email protected] 23 points 9 months ago (3 children)

Ok, I'll bite: what's a "cosmic ray bit-flip"?

[–] [email protected] 4 points 9 months ago

Cosmic ray zaps your silicon just right to flip a bit. If you've heard of the Tick Tock Clock upwarp in Mario 64, most people suspect that's what happened.

[–] [email protected] 54 points 9 months ago (2 children)

So basically, we have low level neutron radiation coming at us at all times from space. Mostly from our own sun, some other external sources too. It takes a whole lot of concrete or lead or water to stop that completely, so anything that makes it through our atmosphere is harmlessly passing through all of us.

But since things like computer RAM and other electronic storage have gotten so much smaller, this radiation is now capable of energizing or discharging individual bits — 1s or 0s — in that storage. Imagine you’re in the hospital for a back operation and the robot arm is approaching a 1 bit that tells it to stop… but that 1 flips to a 0 because the sun sneezed and now your spine is in two fun-sized pieces.

This is all mostly moot today, though. ECC-enabled RAM (memory with protections against bit flips) is the norm and this is a pretty well-understood problem.

[–] [email protected] 6 points 9 months ago

Should mention that the robot does not depend on a 1 to stop, more on like 600 in any "modern" programming language. 😅

[–] [email protected] 10 points 9 months ago (3 children)

Ok, there just has to be a movie that capitalizes on this idea.

[–] [email protected] 2 points 9 months ago

Maximum Overdrive?

[–] [email protected] 11 points 9 months ago (1 children)

One definitely could be made. That physics caused a miscount in a local election iirc. That's probably a good movie premise.

[–] [email protected] 4 points 9 months ago

It wasn't from a bit-flip, but they did kind of make that movie already.

[–] [email protected] 8 points 9 months ago (1 children)

In case you're missing it, this is what the Stephen King book and movie "Maximum Overdrive" is about, but technologically behind by 50 years. Radio signals and power surges just happen to influence machines all over the world into vengefully killing people.

[–] [email protected] 1 points 9 months ago

Please explain the soda machine gag to me, I just can't wrap my head around it 😂

[–] [email protected] 9 points 9 months ago

Nearly every computer you use, including the ones people are starting to use for self-driving, can have their memory accidentally modified from cosmic rays

We try really hard to protect spaceships from them, since they’re subject to more

However, due to the law of large numbers, sometimes your computer will get random bit flips - where it should be a 0, but it’s instead a 1, or vice versa

[–] [email protected] 2 points 9 months ago (1 children)
[–] [email protected] 7 points 9 months ago (1 children)

More computers dealing with more parts of your life increases the chance that a bit flip has a negative effect

[–] [email protected] 2 points 9 months ago (1 children)
[–] [email protected] 7 points 9 months ago* (last edited 9 months ago)

Computers store everything as electric current. If the current is on it's a one. If the current is off it's a zero. High energy particles from outer space regularly blast through our upper atmosphere into the Earth passing through most solid matter. These high energy particles can induce the electric currents when they impact computer components. These erant current can cause a one to become a zero or a zero to become a one. This can have all kinds of interesting effects depending on which zero and one got changed when and where. Normally this causes a crash of the program or operating system.

[–] [email protected] 49 points 9 months ago (3 children)

Everything important is using ECC and low-level parity bit protection.

[–] [email protected] 2 points 9 months ago

These have a high probability of working but it isn't perfect. And not all of them tell you which way the bit was flipped.

[–] [email protected] 4 points 9 months ago

Thanks Intel for making this statement false

[–] [email protected] 22 points 9 months ago (1 children)

in a perfect world, perhaps. but we don't live in one.

[–] [email protected] 11 points 9 months ago* (last edited 9 months ago)

Are PDP-11 computers still in use?

The PDP-11 is definitely still in use today, thanks to its unique and strong build. It is still used to power a GE nuclear power-plant robotic application — and will do so until 2050.

Technically, due to its potency, it is still used by the US Navy in its ship radar systems and by Airbus SAS. There are also rumors that it is part of the set up in the British Atomic Weapons Establishment.

https://history-computer.com/dec-pdp-11-computer/

[–] [email protected] 21 points 9 months ago

On first thought : yes.
But on second thought : no (i.e. : not really, because of system's redundancies)