257
submitted 5 months ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
top 39 comments
sorted by: hot top controversial new old
[-] morgunkorn@discuss.tchncs.de 82 points 5 months ago

The article: https://www.politico.eu/article/norway-arctic-region-asks-eu-commission-for-26-hour-day/

How would the new time zones work in practice? Wenche Pedersen, the mayor of Vadsø who authored the letter, is unsure.

“We haven’t thought a lot about that” she said. “The clock will go from 12 to 13… and we have to see how this will go. I don’t think they’re going to say yes so we haven’t thought about all the details.”

Huh. Great idea.

[-] hexaflexagonbear@hexbear.net 36 points 5 months ago

Make a proposal without a plan or a feasibility study is peak management. Starting to understand how I end up with projects with very firm deadlines that are only vaguely defined and no one is sure if we have the resources on hand.

[-] xmunk@sh.itjust.works 2 points 5 months ago

In this case I suspect this mayor simply made this proposition to get their town some free publicity. I am more sympathetic to these performative actions if they're just for the media attention.

[-] melpomenesclevage@lemm.ee 1 points 5 months ago* (last edited 5 months ago)

When every decision is made by people alienated from every material or functional concern by like ten layers of abstraction, all decisions smell of recent severe skull deforming head trauma.

[-] Nougat@fedia.io 15 points 5 months ago

I hear they're also declaring that pi equals three.

[-] elxeno@lemm.ee 15 points 5 months ago
[-] PowerCrazy@lemmy.ml 1 points 5 months ago

I assume this is just to get people use to the idea of algebra.

[-] remotedev@lemmy.ca 8 points 5 months ago

They'll settle for three-ish

[-] LordPassionFruit@lemm.ee 6 points 5 months ago

pi = 3.1±0.05

Gotta allow for a little uncertainty, just to absolutely ruin everything.

[-] asg101@hexbear.net 45 points 5 months ago

Seems like these idiots have too much time on their hands already.

[-] PowerCrazy@lemmy.ml 7 points 5 months ago

Excellent comment.

[-] lugal@lemmy.ml 3 points 5 months ago

And when you have something, you want more and more of it

[-] xmunk@sh.itjust.works 38 points 5 months ago

If you're not using tz_database or equivalents for literally all date-time logic, if 24 or 60*60 are constants defined in your project... you're doing it fucking wrong. I don't know how many times we need to break out the idiot club, but date, time and timezones are extremely complicated - unless your business is primarily concerned with them you must use a library or service.

Do Not Reinvent This Wheel

[-] jsomae@lemmy.ml 2 points 5 months ago

What does tz_database do? Wikipedia makes it seem like it basically converts a pair (geocoordinatr, utc time) to local time

[-] InputZero@lemmy.ml 3 points 5 months ago

From my very basic understanding, yeah that's basically what it does. However it accounts for a whole lot more into adding or subtracting from UTC. Timezones aren't absolute, they're political. Timezones have weird rules, and history that needs to be somehow expressed in the code to get the right time. That's what's sets tz_database apart from just looking at a map and saying it's +7 UTC.

[-] jsomae@lemmy.ml 2 points 5 months ago

So it updates now and then with new rules, and it keeps historical rules for past dates?

[-] InputZero@lemmy.ml 2 points 5 months ago

I think so. Like I said, I have a very basic understanding of it. There are definitely a lot of people who know more about this than I do.

[-] interdimensionalmeme@lemmy.ml 1 points 5 months ago

What is tz-database equivalent in batch language ?

[-] JoMiran@lemmy.ml 36 points 5 months ago* (last edited 5 months ago)

I'd start with a 13 month/28 day calendar and planetary time (all clocks set to UTC).

EDIT: And set the date format to YYYY.MM.DD for the entire world. Americans and Europeans can stop arguing. The Japanese got it right.

[-] MinekPo1@lemmygrad.ml 22 points 5 months ago

And set the date format to YYYY.MM.DD for the entire world. Americans and Europeans can stop arguing.

this made me uncontrollably angry , its YYYY-MM-DD not YYYY.MM.DD

[-] QuazarOmega@lemy.lol 1 points 5 months ago

I'll do you one better: YYYY/MM/DD

[-] rmuk@feddit.uk 3 points 5 months ago* (last edited 5 months ago)

YYYY-𝓜𝓜-DD

I like my months fancy.

[-] QuazarOmega@lemy.lol 0 points 5 months ago

As long as you don't switch them around with the days, it'll be fine

[-] xzinik@feddit.cl 2 points 5 months ago* (last edited 5 months ago)

proceeds to write least significant digit to the left when using YYYY·MM·DD

[-] doctordevice@lemmy.ca 5 points 5 months ago

And the extra day is a special interstitial holiday in the "14th" month, right? And leap days go into that holiday month as well.

[-] xmunk@sh.itjust.works 2 points 5 months ago

That fourteenth month should be managed by Congress, every year they could vote on whether we'd have it or not.

[-] absGeekNZ@lemmy.nz 1 points 5 months ago

No, "new years day" would just be a day all by it's self, global celebration day... And get this, every 4 years you get two party days.

Obviously this will never happen, the world would all have to agree on the change..., which isn't going to happen. Oh well it is nice in theory.

[-] Bishma@discuss.tchncs.de 35 points 5 months ago

Time for all the maintainers of datetime libraries to unionize and give a collective nope.

[-] bjornsno@lemm.ee 24 points 5 months ago

I leave the country for six goddamn months and they pull this shit while I'm away???

[-] sbv@sh.itjust.works 4 points 5 months ago

I wouldn't go back, if I were you.

[-] lugal@lemmy.ml 14 points 5 months ago

Is the idea to have longers days or shorter hours? Eitherway: why?

[-] dfyx@lemmy.helios42.de 11 points 5 months ago

Longer days. Which kind of works in an area where the sun doesn't rise all winter and doesn't set all summer. Until you have to consider having to work with anyone else. Not only do you have timezone offsets that change every day, you get date offsets. After less than a month, you're already two days off from the rest of the world.

[-] lugal@lemmy.ml 5 points 5 months ago

Remindes me of Mars. Never been there but the researchers who controlled the rovers had Mars time which is slightly off but very slidely. And since there were several rovers ad once, each team, or rather each floor, had their own time zone.

[-] BlueMagma@sh.itjust.works 1 points 5 months ago

Thanks now I can visualize how that would work, it's actually pretty cool. And the reasons is good, i can see myself doing tourism in a place like that for this reason.

[-] hexaflexagonbear@hexbear.net 11 points 5 months ago

The funny part is 24 and 60 are already great numbers to base your time system on. They're both very divisible which means you can divide up the day or hour into halves, thirds, and quarters without dealing with fractional time periods. It would remove a practical aspect of time keeping to no benefit.

[-] CanadaPlus@lemmy.sdf.org 11 points 5 months ago* (last edited 5 months ago)

Link.

No, they don't really explain why that's better. The main reason given is to attract people, so in other words it's a stunt.

[-] MisterD@lemmy.ca 3 points 5 months ago

"By extending the length of the days, Pedersen hopes that more people will be inspired to move to the remote region. Ensuring that the area is populated is “more important than ever” in light of Russia’s war against Ukraine, Pedersen added."

Yup. Imagine the ads for this:

Move here and age slower (disclaimer: you might have to change your birthday because we needed to remove some days from OUR calendar.

[-] juicy@lemmy.today 8 points 5 months ago

You know, if I had an extra two hours two sleep every day, I might finally wake up ready to go in the morning.

[-] culpritus@hexbear.net 5 points 5 months ago

Reminds me of DS9. This isn’t Bajor though.

this post was submitted on 12 Apr 2024
257 points (97.1% liked)

Programmer Humor

32144 readers
98 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS