There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Vilian , in Hand over your javascript, we have you surrounded

this photo screams brasil more than football and samba

owsei OP ,

I’ll take this as a complement mano

ICastFist ,
@ICastFist@programming.dev avatar

Eu não sou seu mano, parça

owsei OP ,

Eu não sou seu parça, camarada

marcos ,

São Paulo.

Now, why a crane-renting company is visiting a house eludes me.

NakariLexfortaine ,

Brazilian remake of What’s Eating Gilbert Grape?

owsei OP ,

the house was stuck

RonSijm , in It's time to mentally prepare yourselves for this
@RonSijm@programming.dev avatar

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

const moonTime = DateTime.Utc.MoonTime

Sylver ,

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

problematicPanther ,
@problematicPanther@lemmy.world avatar

nice.

IWantToFuckSpez ,

To the moon 🚀 🚀 🚀

barsoap ,

That sounds… iffy. Thing is that UTC lags more and more behind TAI as UTC takes the earth’s rotation into account, introducing leap seconds so that all the timezones don’t slowly drift across the globe. Moon people care preciously little about the earth’s rotation around its own axis, more relevant is its own day/night cycle which (because tidal lock) is an earth month. The system might just be stable enough so that UTC can simultaneously sync to that, you’d have to ask an astronomer.

Actually, no, forget it: The moon moves quite fast relatively to the earth’s surface, more than enough for relativistic effects to apply – they also apply to GPS satellites, stuff simply wouldn’t work if those things ran on Newtonian maths. Sooner or later it’s going to need adjustments due to that.

RonSijm ,
@RonSijm@programming.dev avatar

Well TAI stands for International Atomic Time and “international” generally pertains to Earth-bound locations.

Coordinated Universal Time sounds like it has a bigger inclusivity scope

Otherwise we’d have to rename TAI to “Intergalactic Atomic Time”

snack_pack_rodriguez , in It's time to mentally prepare yourselves for this

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

kambusha ,

Adds moonlight savings

JoMiran , in It's time to mentally prepare yourselves for this
@JoMiran@lemmy.ml avatar

Anyone else keep nearly everything set to UTC?

teft ,
@teft@lemmy.world avatar

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.

JoMiran ,
@JoMiran@lemmy.ml avatar

I have response teams in a “follow the sun” model as well as having my US team spread coast to coast, plus all our clients set their servers to UTC. It makes the most sense to keep something set to UTC at a moment’s glance.

Dr_Vegapunk , in It's time to mentally prepare yourselves for this

Will it follow the lunar calendar?

Infynis , in It's time to mentally prepare yourselves for this
@Infynis@midwest.social avatar

Can’t believe the US is putting trains on the moon before making them viable on Earth

StrongHorseWeakNeigh , in It's time to mentally prepare yourselves for this
whotookkarl ,
@whotookkarl@lemmy.world avatar

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

Hazzia ,

I’ve done 2 of those things already. If I ever have to tac on the timezones I will actually break.

lea ,

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

oce ,
@oce@jlai.lu avatar

That’s a good idea! Instead of discrete timezones, let’s have continuous timezones!

zerofk ,

I’ve been a proponent of this for ages. It makes no sense to cross some imaginary line and suddenly time shifts. Time should change constantly as you move east or west, up or down. Everyone has their own personal time, which is constantly updated.

Bonus: no more daylight savings switch.

oce , (edited )
@oce@jlai.lu avatar

How do you agree on a meeting time with a group of people who all live in different places of your country?

zerofk ,

That’s another benefit: no more meetings.

oce ,
@oce@jlai.lu avatar

Not even to spend good times with friends?

barsoap ,

That was kinda the situation in the past: Every town would have its own time, synced to the local noon every once in a while as the precision of the church or townhall clock demanded. That stuck around until railroad operators and passengers got sick and tired of dealing with the timetables that produces.

dan ,
@dan@upvote.au avatar

I had to refactor legacy date/time code (including timezone code) at work. D:

NerfHerder ,

You poor soul

jballs ,
@jballs@sh.itjust.works avatar

Lmao I love how he just gets more and more flabbergasted throughout the whole video. Truly an accurate depiction of dealing with timezones (which I’m unfortunately dealing with right now!)

xlash123 , in It's time to mentally prepare yourselves for this
@xlash123@sh.itjust.works avatar

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).

whotookkarl ,
@whotookkarl@lemmy.world avatar

There’s not really a difference between 0 timezones and 1 timezone, let’s split it and go with 1/2 timezones

ricecake ,

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.

whitehouse.gov/…/Celestial-Time-Standardization-P…

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.

ThePyroPython , in It's time to mentally prepare yourselves for this

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!”

FartsWithAnAccent , in It's time to mentally prepare yourselves for this
@FartsWithAnAccent@fedia.io avatar

"Forget it Jake, it's Moontown."

WhereGrapesMayRule , in Unicode

I would have sex with this bumper sticker.

Imgonnatrythis ,

Sir, This is a Wendy’s parking lot.

WhereGrapesMayRule ,

You’re just making it worse.

DreadPotato ,
@DreadPotato@sopuli.xyz avatar

You’re just making it worse better.

Korne127 , in It's time to mentally prepare yourselves for this
@Korne127@lemmy.world avatar

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

NielsBohron , (edited )
@NielsBohron@lemmy.world avatar

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.

jnk ,

Pretty sure it’s both pointless and impossible to have an earth-like timezone system in an object that has coordinated rotation and translocation cycles. Meaning this mess we call “timezones” shouldn’t exist in the moon.

whostosay ,

Shouldn’t exist anywhere

kaputt ,

It’s pretty simple, actually. The time zones are on average 1 hour apart. So there should be about 24*28=672 time zones on the Moon. SIMPLE.

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

Or we invent 24 lunar hours and then we’re back to 24 timezones.

However I don’t think keeping the sun overhead at noon is the goal here. That stuff is only important to humans. The real issue is figuring out how to count time on the moon in such a way that it doesn’t run out of sync with how we count time on earth because of relativistic effects.

moody ,

The relativistic effects would be so small in human terms that the clock could just be synchronized eith Earth time once daily and nobody would ever notice.

trolololol ,

Yep, relativity accounts for a difference of like 50ms drift per earth day. I would assume that it’s forward drifting if you’re on earth but backwards if you’re on the moon.

Take that, timezone whiners!

NielsBohron , (edited )
@NielsBohron@lemmy.world avatar

It’s been a long time since I took modern physics, so I’m not positive, but I think you’re right that the moon would have time moving slower, and if your 50ms/day is right (edit: I based this on the moon traveling faster than the earth, but I don’t know anything about gravitational relativity, so that’s probably wrong) then you’d need to do something like skip a second every 20th day on the moon to keep pace with Earth. We could call it an “anti-leap-second”

Programmers, that seems pretty simple; what’s the big deal? ^/s^

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

anti-leap-second

HORROR

amanaftermidnight ,

We’re close to skipping a second too here on earth since the Earth had actually sped up a bit the past decade.

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

i heard, can’t wait for satellites to fall out of the sky because of this one second

JoeCoT ,

“An atomic clock on the moon will tick at a different rate than a clock on Earth,” said Kevin Coggins, Nasa’s top communications and navigation official. “It makes sense that when you go to another body, like the moon or Mars, that each one gets its own heartbeat.”

article

It's possible that they don't end up putting atomic clocks on the moon, but it's on the table, they haven't worked out the details yet.

dan ,
@dan@upvote.au avatar

24 time zones on earth, though

Even if you just count UTC offsets, there’s 38 time zones: en.m.wikipedia.org/wiki/Time_zone

There’s more than that though, due to Daylight Saving Time. The rules for DST are part of the definition of the time zone. For example, in Australia, Queensland and Victoria are both UTC+10. However, Victoria observes DST while Queensland doesn’t, so technically they’re two separate timezones (in the Olsen database, they’re Australia/Melbourne and Australia/Brisbane respectively).

CarbonIceDragon ,
@CarbonIceDragon@pawb.social avatar

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

NielsBohron ,
@NielsBohron@lemmy.world avatar

I mean, this is the real answer here, but you can’t just put them on UTC because of the relativity like we were discussing elsewhere, so it would still have to be a separate time zone for programming and timekeeping purposes, even if humans won’t be able to tell the difference

Fosheze ,

So, just plonk an atomic clock on the moon and call that moon time. Ocasionally synchronize moon time with UTC.

ricecake ,

That’s pretty close to what they’re doing. The tricky bit is detailing how you convert a lunar timestamp to a terrestrial timestamp.

Jostling clocks with things like leap seconds turns out to be more trouble than it’s really worth. Better to just let them get out of sync but be able to precisely define what the drift is.

captain_aggravated ,
@captain_aggravated@sh.itjust.works avatar

Because the moon is tidally locked to the Earth, some things are quite different up there.

The day/night cycle is a lot longer, from sunrise to sunrise is ~28 Earth days. 14 straight days of sunlight, 14 straight days of darkness. Depending on where you are on the surface, you may never be able to see Earth at all, or if you can it remains more or less fixed in the sky; if you really pay attention it slightly wobbles. The waxing and waning of the Earth’s disc are in sync with the sun as well, but not necessarily in phase. For example, if you’re on the Moon’s meridian, New Earth occurs at noon, but if you’re to the East or West it will lag or lead. You can just barely make out major surface features of the Earth enough to tell that the Earth rotates, but at a period that has nothing to do with your local conditions.

There wouldn’t really be any utility to dividing the Moon into 24 time zones, it wouldn’t line up with anything meaningful on Earth or to human circadian rhythms, so for expeditions like the Apollo program or upcoming Artemis flights, you’d just keep an onboard mission clock for the benefit of the crew and rely on artificial lighting and shades to maintain an Earth-like day/night cycle.

It feels to me like this is a problem that doesn’t need to be solved yet if ever; I would wait until there are actual people living on the Moon and let them solve the problem in a way that fits their needs, which we cannot fully anticipate from down here on Earth.

I will note that time zones make more sense on Mars than the Moon. Mars has a rapid day/night cycle fairly similar to Earths, a Martian sol is about a half hour longer than an Earth day, fairly easy for humans to adapt to and live la vida loca. Some humans already have; NASA crews working on our various rovers adjust their working days to their rover’s local solar conditions. They wear watches calibrated for Martian sols and the wake up and go to bed at a different Earth time every day so that they can work from the rover’s sunrise to sunset, when they have light to see and when Spirit and Opportunity had power to move. And because the rovers are scattered across the surface of Mars, their local sunrises and sunsets happen at different times, so we already have de facto time zones on Mars.

ricecake ,

So, there is an actual utility for it, it’s just not people centric.
Having a framework for how you convert the clock measurements from the lunar reference frame to terrestrial reference frame is helpful for orbital maneuvering and navigation, as well as communication coordination.

They’re not building a "UTC+5” style timezone, but a “given the moons mass and orbit, here’s how we define the time ratio between the earth and moon so we can consistently calibrate our clocks”.

apoisel , in Unicode
@apoisel@discuss.tchncs.de avatar

These errors were much more common before Unicode encodings were in broad use. Unicode pretty much solved this.

davidgro ,

Still happens for new emoji on old OSs, or just missing characters in the font being used.

Vilian ,

exacgly today these errors is always because some old emojis

Norgur ,
@Norgur@fedia.io avatar

No it hasn't. It has just pushed them out of sight for English natives.

apoisel ,
@apoisel@discuss.tchncs.de avatar

Can’t confirm that. In the 90s encodings were a nightmare. ISO-8859-1, ISO-8859-15, CP1252, IBM850, … If you tried to build a website with an upload form, you’d get the most bizarre encodings and there was no way to reliably distinguish them. I’m not an English native, my world is full of umlauts and s-z ligatures. Things got A LOT better in the last years, thanks to Unicode encodings.

wizardbeard ,

Only if it’s enabled by default, or the dev knows to enable it.

I had a lot of weird problems processing some info with names in Powershell until I found out that Powershell doesn’t default to unicode format when shoving output into files. You can easily specify the encoding, but if you don’t it replaces any non-ascii characters with “?” by default, so it’s not even immediately obvious that there’s an incorrect character, as it just silently substitutes a valid one.

vox ,
@vox@sopuli.xyz avatar

it uses big-endian utf-16 with BOM by default unless you upgrade to PowerShell 7

PoolloverNathan ,

Still needs to be widely used. It took me about an hour to figure out that my encoding issues were because of Vim being in latin1, another to figure out how to change that, and a third to realize that screen also wasn’t in UTF-8 mode.

fibojoly ,

I like your enthusiasm. I remember when I believed the same. The last 16 years have clearly shown this is not the case.

lugal , in Unicode

Ä3

MonkderDritte , in It's time to mentally prepare yourselves for this

Moon people just have to switch to Universal Moon Time.

bradorsomething ,

What about Earthmoon Savings Time?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines