this post was submitted on 03 Apr 2024
1097 points (96.2% liked)

Programmer Humor

20866 readers
1548 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 2 years ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 8 points 11 months ago (6 children)

The UK press every year makes a huge song and dance in opinion pieces about getting rid of DST. However I'm always horrified to see that people want us to keep British Summer Time instead of Grenwich Mean Time. I understand that there are "longer evenings" in BST; however we literally invented GMT and coerced the rest of the world to adjust their times based on that. From the point of view of being constantly compatible with UTC and having more consistent business hours for international companies it makes more sense to me if we kept GMT.

Also the longer evenings thing can be achieved by simply staying up an hour later. It's not exactly like an hour is being stolen from you when the times switch, the change of clocks are mainly pointless admin.

Lastly I read an article recently that described a correlation between the incidence of heart attacks and the clocks changing. The theory is that just slightly messing with people's sleeping patterns can cause additional strain on the body.

load more comments (6 replies)
[โ€“] [email protected] 8 points 11 months ago (2 children)

The only code with timezones should be the bit squishy meat bags touch. Everything's is should be UNIX time. Or it you are unfortunate enough to be on Windows, NT time.

Some unfortunate programmers already have to deal with the speed of time not being a constant. In a distant future, timestamps might always have a universal position (and speed), and is that much different from timezones?

Or we find some way of removing time distortion of physics. Find the universe's real systick. ๐Ÿ˜ƒ

load more comments (2 replies)
[โ€“] [email protected] 7 points 11 months ago

DST is a digital STD

[โ€“] [email protected] 7 points 11 months ago (1 children)

If only I had a numeric type that could hold the value of how many seconds since the creation of the Universe, without overflowing, I'd be set.

load more comments (1 replies)
[โ€“] [email protected] 7 points 11 months ago

I'm not a developer but give him one for me too

[โ€“] [email protected] 7 points 11 months ago

Move to International Atomic Time timezone. clock_gettime(CLOCK_TAI, ...) and stop complaining.

[โ€“] [email protected] 6 points 11 months ago

Would be more appropriate if it was the datetime library creator.

[โ€“] [email protected] 5 points 11 months ago

I just discovered that while the ServiceNow APIs return all times in UTC, they use the user's default time for all times passed in as a parameter.

So if your account is set up in PDT and you say "give me this item that I just created", it will say "here your item, this was created at 17:00".

But if you say, "cool let me see all items created in the last hour, so anything greater than 16:00", then it will respond "got nothing for ya, chief."

[โ€“] [email protected] 4 points 11 months ago (1 children)

Leap year creator has left the chat & blocked.......

load more comments (1 replies)
load more comments
view more: โ€น prev next โ€บ