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

Programmer Humor

19512 readers
344 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
 
top 50 comments
sorted by: hot top controversial new old
[–] mynamesnotrick@lemmy.zip 145 points 6 months ago (8 children)

No different than any other project the PM/PO team cooks up. Tons of work for no user base.

[–] OpenStars@startrek.website 34 points 6 months ago (2 children)

Why... why is the world like this?

[–] SlopppyEngineer@lemmy.world 23 points 6 months ago (1 children)

Because the world is seen and directed by layers upon layers of abstractions that get divorced from reality but do give monetary benefits when manipulated in some way.

[–] OpenStars@startrek.website 32 points 6 months ago

Sigh... too true.

img

load more comments (1 replies)
load more comments (7 replies)
[–] StrongHorseWeakNeigh@lemmy.world 133 points 6 months ago (2 children)
[–] whotookkarl@lemmy.world 84 points 6 months ago (4 children)

Based on a completely superficial review there are three almost guaranteed ways to become unhinged; studying infinities, refactoring legacy code, and working with timezones.

[–] lea@feddit.de 14 points 6 months ago (6 children)

I think it's time for a refactor of my legacy code that deals with infinite timezones. :/

load more comments (6 replies)
load more comments (2 replies)
load more comments (1 replies)
[–] Randelung@lemmy.world 86 points 6 months ago (25 children)

We've gone too far. Everyone just switch to UTC please. Yes, it means some will go to bed at 2pm and get up at 10pm, so what.

[–] JimVanDeventer@lemmy.world 57 points 6 months ago* (last edited 6 months ago) (1 children)

go to bed at 2pm and get up at 10pm

While we are making reasonable demands, stop using 12 hour time. Sincerely, everyone else.

load more comments (1 replies)
[–] redcalcium@lemmy.institute 19 points 6 months ago (4 children)

Those that propose moving to UTC should take responsibility and take the +12h offset. Why should we let the brits enjoy +0 offset while the rest of the world got the short end of the stick (especially those living in the pacific)?

load more comments (4 replies)
[–] Beetschnapps@lemmy.world 18 points 6 months ago* (last edited 6 months ago) (4 children)

If it makes a dev’s life easier there’s no reason not to upend half the planet.

load more comments (4 replies)
[–] ReluctantMuskrat@lemmy.world 15 points 6 months ago (3 children)

Why switch? It's not too complicated a concept for the average person to understand and deal with. In fact, it's intuitive. Sure in software the logic has a few nuances that are a bit complex when needing to deal with local time and timezones, but that's why we make the computers do the tricky work.

load more comments (3 replies)
load more comments (20 replies)
[–] finkrat@lemmy.world 72 points 6 months ago (8 children)

That's it, I'm only using epoch from now on, that's enough of your time zone shenanigans

[–] SmoothLiquidation@lemmy.world 56 points 6 months ago (5 children)

Except the length of a second is different on the moon because of relativity. So even utc is wrong.

[–] hglman@lemmy.ml 26 points 6 months ago (13 children)

UTC doesn't become wrong, you can either just accept a different pace of the clock, i.e. earth ppl will be ever so late to a meeting or it's just a different kind of timezone conversion. Better would be to have a single time based on the reference frame of the center of the galaxy and everyone keep there time relative to that.

load more comments (13 replies)
load more comments (4 replies)
[–] ricecake@sh.itjust.works 25 points 6 months ago (2 children)

So, in this case a moon timezone, and more generally a "space timekeeping framework" makes sense because time actually moves at a different speed on the moon, so epoch times wouldn't actually stay in sync.
If the goal of "time" is to make it easier to reason about simultaneous things, then space makes that way more complicated.
It's just tricky to condense that into a headline that conveys the point.

https://arxiv.org/abs/2402.11150

load more comments (2 replies)
load more comments (5 replies)
[–] ulterno@lemmy.kde.social 48 points 6 months ago (6 children)

All we need is a single universal Space-Time map that will tell the time (in any and all formats) at any point in space, taking into consideration, all the events caused by all the forces that cause existence, from the start of this universe. Then it can take the place of both, maps and clocks.

Just make sure it is memory safe. Oh and properly escape all queries. And also ...

That should last us until we start exploring the space outside the universe.

load more comments (6 replies)
[–] NeatNit@discuss.tchncs.de 39 points 6 months ago (4 children)

The proposed time zone is to drift about 1 second every 50 years. I also suspect it wouldn't really be a time zone in the same sense as the time zones we know - it would just be a standardised calibration reference. Dates and times expressed in "moon time" would probably just be some leap second off of a known Earth time zone, and because it's mere seconds over centuries, I think the only use of this time zone is to calculate ultra-precise time diffs between two earth datetimes when the observer is on the moon. At least, that's how I interpret the articles I can find about it.

load more comments (4 replies)
[–] SloppyPuppy@lemmy.world 36 points 6 months ago (5 children)

Nah dog, its gonna be UTC. End of story.

load more comments (5 replies)
[–] RonSijm@programming.dev 32 points 6 months ago (3 children)

Sure, we can compromise; they can have their own timezone, but it has a constant time value.

const moonTime = DateTime.Utc.MoonTime

[–] Sylver@lemmy.world 27 points 6 months ago (2 children)

As in, it is perpetually 4:20 PM on the moon?

load more comments (2 replies)
load more comments (2 replies)
[–] milicent_bystandr@lemm.ee 32 points 6 months ago (1 children)

So, I read something on this a little while ago. It has to do with the moon's weaker gravity making time progress at a different rate, so the lunar time zone gives a precise reference for sub-second (nanosecond I guess?) precision manoeuvres and such like.

load more comments (1 replies)
[–] Buddahriffic@lemmy.world 25 points 6 months ago (5 children)

It's own timezone? It'll need it's own clock. A moon day is about 28 Earth days.

[–] JoMiran@lemmy.ml 24 points 6 months ago (1 children)

Anyone else keep nearly everything set to UTC?

[–] teft@lemmy.world 15 points 6 months ago (1 children)

In the military that’s all we used. It’s called Zulu time in the Army and it makes for coordinating events in multiple time zones fairly easy. I would assume the moon would be the same since there will 100% be a moon base with military.

load more comments (1 replies)
[–] ThePyroPython@lemmy.world 23 points 6 months ago

The Royal Observatory Greenwich:

"Well, as the first to co-ordinate time we-"

The International Telecommunication Union and International Earth Rotation and Reference Systems Service in Unison:

"Excuse me, I think you'll find we manage the time."

NIST: "I don't see your footprints up there! We're going off my Omega Speedmaster!"

[–] xlash123@sh.itjust.works 17 points 6 months ago (2 children)

Shouldn't it have its own time system? And have its own time zones? You can't give the moon its own single time zone (unless you're into the idea of a single universal time zone).

[–] ricecake@sh.itjust.works 25 points 6 months ago

That's actually what they're doing. The reporting said timezone when the actual order is more about time standards.

They're creating coordinated lunar time, as a complement to coordinated universal time, so it's a different time system with details about how it relates to UTC.

https://www.whitehouse.gov/wp-content/uploads/2024/04/Celestial-Time-Standardization-Policy.pdf

Timezones on the moon don't serve as much function, because the day/night cycle is closer to a month long, and doesn't map to human rhythms at all. In a hypothetical where we have moon colonies on opposite sides of the moon, there's no reason for them to not still have synchronized day/night, since it already has no relation to the movement of the sun in the lunar sky.

load more comments (1 replies)
[–] snack_pack_rodriguez@lemmy.ca 16 points 6 months ago (1 children)

I say we compromise we will take the moon but they must give up daylight savings. it's only fair.

[–] kambusha@lemmy.world 16 points 6 months ago

Adds moonlight savings

[–] reverendsteveii@lemm.ee 16 points 6 months ago

the fact that the acronym for Coordinated Lunar Time is LTC tells you everything you need to know about how this will work.

[–] MonkderDritte@feddit.de 15 points 6 months ago (1 children)

Moon people just have to switch to Universal Moon Time.

load more comments (1 replies)
[–] Korne127@lemmy.world 13 points 6 months ago (4 children)

Shouldn't the moon have… 24 time zones as well, depending where on the moon you currently are?

[–] NielsBohron@lemmy.world 19 points 6 months ago* (last edited 6 months ago) (12 children)

No, the moon's rotation isn't on a 24-hour cycle. I'm not an astronomer, but I pretty sure since it's tidally locked to earth and on a 28-day cycle around the earth, a lunar day is actually 28 Earth days, but I'm not actually sure how that would factor into the number of time zones (I'm pretty sure it would be more complicated than just 24 time zones to match 24 time zones on earth, though).

Plus, I think the speed of the moon relative to the sun is different enough from Earth that you need to take relativity into effect, which is the real headache here.

load more comments (12 replies)
[–] CarbonIceDragon@pawb.social 13 points 6 months ago (3 children)

The moon's day length is so long that it wouldn't make any sense for any crewed mission to use it, they're going to need their own lights on an arbitrary 24 hour cycle anyway, so there's no reason not to have every future crewed mission there use the same one

load more comments (3 replies)
load more comments (2 replies)
load more comments
view more: next ›