this post was submitted on 17 Apr 2024
1461 points (98.6% liked)

Programmer Humor

19589 readers
620 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 7 months ago (2 children)

just use a time based on light?, like meter is based on the speed fo light in the vaccum, or use atomic based times?, like how long take for the hydrogen atom todo something bla bla bla

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

That's actually what's different on the moon. Relativity and all that means that time itself actually flows differently on the moon than it does on earth.

The actual problem they're working to solve is around timekeeping and GPS applications in different reference frames, but it's hard to make a short headline about.

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

When I first saw the news I was thinking "there's no way atoms vibrate differently on the moon" but you're right it's about perspective and I've realized there's no way I'm smart enough to handle timezones on an interplanetary scale. I can only hope that the difference between earth seconds and moon seconds can be expressed as a consistent ratio.

I will gladly use some programming library invented in the basement of a university powered by coffee, and rage.

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

It's well understood math, but it's "only" relativistic orbital mechanics.

It boils down to a pretty consistent number, but how you get there is related to the weight of the moon, how far it is from earth, and how fast it's going.
Since the moon is going different speeds at different places in it's orbit, the number actually changes slightly over the month.

They're just using the average though, since it makes life far easier. We use the average for earth too, since clocks move differently at different altitudes or distances from the equator.

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

It's not too bad. Relativity says that no frame of reference is special.

  • On earth, a second looks like a second, but a second on the moon looks too quick.

  • On the moon, the second looks like a second, but a second on earth looks too slow.

Both are actually correct. The simplest solution is to declare 1 to be the base reference. In this case, the earth second. Any lunar colonies will just have to accept that their second is slightly longer than they think it should be.

If it helps, the difference is tiny. A second is 6.5x10^-10 seconds longer. This works out to 56 microseconds per 24 hours. It won't affect much for a long time. About the only thing affected would be a lunar GPS.

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

Galactic center is the frame to use for any space travel.

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

Unfortunately, it's not a useful one. While we know approximately where it is, we don't know how deep the gravity well is. That gravity well slows the passage of time, just like the earth does. Without an exact mass, and mass density, we can't calculate the correction factor.

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

i guesn it's fine, just keep it updating, like the seed at little that got more precine since the creation of the meter but it got updated too

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

https://en.wikipedia.org/wiki/Second

The second [...] is defined by taking the fixed numerical value of the caesium frequency, ΔνCs, the unperturbed ground-state hyperfine transition frequency of the caesium 133 atom, to be 9192631770 when expressed in the unit Hz, which is equal to s−1.

Do not matter for relativity though, always same change.

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

So are you saying that a caesium-133 atom observed on both the Earth and the Moon to oscillate 9,192,631,770 times will not represent the same absolute span of time?

So, one observer will see those oscillations happen faster than the other?

Does this have to do with the specific gravity fields of both observers, in that those fields affect how the atom oscillates?

Or is there something else I'm missing?

If special relativity is the answer, all good. I'm an electrical engineer trained in classic physics, so I'll rest knowing that I'd probably need to study that to understand the time differences.

[–] [email protected] 5 points 7 months ago* (last edited 7 months ago)

So, one observer will see those oscillations happen faster than the other?

Not quite. In each observer's frame of reference, time appears to pass the same; it's only when you try to reconcile the between two objects that are not at rest with respect to each other does relativity show up.

Basically, when you bring someone back to Earth, the observers will find that their watches don't match up even though both observers experience time passing the same way as normal (because the oberserver is by definition at rest with respect to their own frame of reference).

TL; DR: Relativity is a pain in the ass and makes no sense in everyday terms.

edit: disclaimer - I am not a physicist and have not taken physics classes in a decade plus, but I do teach science at a college. I'm going mostly on half-remembered lectures and some random one-off discussions I've had with my buddy in the physics department over the past few years.

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

It's that relativity thing where each person will see the oscillations happening correctly, but when they look at what the other person did, the answer will seem wrong.

The difference is small enough that it really only matters if you're NASA and building moon GPS. MPS?

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

I vote for LPS, Lunar Positioning System, vs our Global one.