this post was submitted on 15 Sep 2023
612 points (98.0% liked)

Programmer Humor

32560 readers
435 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] dauerstaender@feddit.de 94 points 1 year ago (1 children)

Might as well roll the dice for order every time a user loads the page.

[–] Pechente@feddit.de 56 points 1 year ago (2 children)

We definitely need a "bad UI battles" community here.

[–] krey@sh.itjust.works 36 points 1 year ago (4 children)

i already have an idea: dropdown to select the date as a UNIX time stamp in roman numerals

[–] lauha@lemmy.one 14 points 1 year ago* (last edited 1 year ago)

Roman numerals with slider selection and roman numerals are in alphabetical order

Edit. But shown in arabic numerals

[–] Gork@lemm.ee 6 points 1 year ago

Ooh let's make it so that it the user has to manually add in all the time before January 1, 1970 in order for it to be accurate. That time is also in Roman numerals.

The program then does a system time check against NIST to see if the calculation is correct, otherwise it won't let you proceed.

load more comments (2 replies)
[–] Xylight@lemmy.xylight.dev 13 points 1 year ago* (last edited 1 year ago) (1 children)
[–] drcobaltjedi@programming.dev 6 points 1 year ago

I'm so glad you guys remember that sub. I miss the silly things you guys made.

[–] RacoonVegetable@reddthat.com 54 points 1 year ago (2 children)

DONT SPEAK TO MY OR MY ISO 8601 EVER AGAIN! 🤬🤧😢

[–] Kata1yst@kbin.social 10 points 1 year ago (1 children)

I hope you mean RFC 3339 instead of that non-authoritative ISO crap 😤

[–] RacoonVegetable@reddthat.com 16 points 1 year ago (2 children)

You mean the standard defined by The Internet Engineering Task Force? Of course I do! The ISO name is just more popular.

[–] skullgiver@popplesburger.hilciferous.nl 14 points 1 year ago* (last edited 1 year ago) (1 children)

[This comment has been deleted by an automated system]

[–] RacoonVegetable@reddthat.com 4 points 1 year ago

I am going to cry.

[–] azimir@lemmy.ml 6 points 1 year ago (1 children)

Love the smell of a good standards body fight in the morning (0900 GMT+0).

[–] RacoonVegetable@reddthat.com 6 points 1 year ago (2 children)

You mean 1694768400 in Unix timestamp?

load more comments (2 replies)
load more comments (1 replies)
[–] ArtVandelay@lemmy.world 46 points 1 year ago (2 children)

12-12-12

Just to keep you guessing

[–] palordrolap@kbin.social 32 points 1 year ago

Then you feed {12,12,12} to the API and it turns it into 1970-01-01T12:12:12UTC

[–] Thrickles@lemm.ee 44 points 1 year ago (2 children)

At least it's not a phone number entry via slider.😤

[–] Crackhappy@lemmy.world 12 points 1 year ago

The fuck you just say to me, you son of a bitch?

[–] Darkassassin07@lemmy.ca 36 points 1 year ago (1 children)

It's the 21st of 1946, June.

[–] bufordt@sh.itjust.works 12 points 1 year ago

Who the FUCK is June? You cheating bastard!

[–] ndsvw@feddit.de 27 points 1 year ago (1 children)

The month selection is ordered alphabetically.

[–] blackn1ght@feddit.uk 25 points 1 year ago (1 children)

And the days go 1,11,12,13,14,15,16,17,18,19,2,21,23 ...

[–] No_Money_Just_Change@lemmy.ml 7 points 1 year ago (2 children)
[–] blackn1ght@feddit.uk 17 points 1 year ago

The team did a test and found that not enough people who were born on the 22nd bought anything and UX wanted to make the list shorter, so it got removed.

load more comments (1 replies)
[–] peto@lemm.ee 21 points 1 year ago* (last edited 1 year ago) (1 children)

Nah, worst is palindrome interpolated ymdyydmy

load more comments (1 replies)
[–] flango@lemmy.eco.br 13 points 1 year ago (2 children)
[–] RickyRigatoni@lemmy.ml 10 points 1 year ago

Y/D/Y/M/Y/M/Y/D

[–] TonyTonyChopper@mander.xyz 5 points 1 year ago (2 children)

DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD 😻❤️

it's the number of days since the asteroid blasted the dinosaurs, conveniently in 32 decimal digits

load more comments (2 replies)
[–] darklamer@lemmy.dbzer0.com 11 points 1 year ago (1 children)

Is that not the format that's actually used in the US? I mean, it's utterly insane, but a lot of people really are used to having the components of the date in random order.

[–] Still@programming.dev 4 points 1 year ago (8 children)

nope, we use the format that matches the words spoken so Friday September 15th, 2023 would be Fri 9/15/2023 sometimes the year is shortened

[–] fushuan@lemm.ee 29 points 1 year ago (1 children)

take into account that your "words spoken" isn't necessarily how other say it. For me, saying 15th of july of 2023 sounds way more natural in english.

[–] blackn1ght@feddit.uk 7 points 1 year ago (1 children)

I wonder if they have a special rule to use dd/mm/yyyy on the 4th of July.

load more comments (1 replies)
[–] ScreamingFirehawk@feddit.uk 4 points 1 year ago (1 children)
load more comments (1 replies)
load more comments (6 replies)
[–] Rhllor@feddit.de 10 points 1 year ago (1 children)

At this point, just go full bananas and use SEP-2023/15

load more comments (1 replies)
[–] Pxtl@lemmy.ca 7 points 1 year ago (2 children)

We must know: how many digits is the year? And when they're displayed later, do they use slashes or hyphens? I want to really breathe in the awful.

[–] el_bhm@lemm.ee 7 points 1 year ago (1 children)
  1. 1970-1999 - 4 digits.
  2. 2000+ - 2 digits.
  3. No separators
[–] lugal@lemmy.ml 3 points 1 year ago (1 children)

People argue about 2 and 4 digits years. Make it 3 and everyone is annoyed.

023-16-09

load more comments (1 replies)
load more comments (1 replies)
[–] vlad76@lemmy.sdf.org 7 points 1 year ago* (last edited 1 year ago) (2 children)
[–] likeaduck@programming.dev 6 points 1 year ago (4 children)
[–] redditReallySucks@lemmy.dbzer0.com 13 points 1 year ago (1 children)
[–] Bene7rddso@feddit.de 6 points 1 year ago (2 children)

no, the best is YYYY-MM-DD

That's what I use but the dashes aren't the most important part

[–] likeaduck@programming.dev 5 points 1 year ago (1 children)
load more comments (1 replies)
load more comments (3 replies)
[–] gibmiser@lemmy.world 5 points 1 year ago (2 children)
[–] vlad76@lemmy.sdf.org 6 points 1 year ago (1 children)
load more comments (1 replies)
[–] yetAnotherUser@feddit.de 4 points 1 year ago
load more comments
view more: next ›