this post was submitted on 15 Sep 2023
635 points (98.2% liked)

Programmer Humor

32472 readers
590 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 105 points 1 year ago (1 children)

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

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

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

[–] krey@sh.itjust.works 39 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 7 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 16 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 60 points 1 year ago (2 children)

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

[–] Kata1yst@kbin.social 11 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 11 months ago) (1 children)

[This comment has been deleted by an automated system]

load more comments (1 replies)
[–] 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)
[–] Thrickles@lemm.ee 47 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?

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

12-12-12

Just to keep you guessing

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

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

[–] skullgiver@popplesburger.hilciferous.nl 8 points 1 year ago* (last edited 11 months ago)

[This comment has been deleted by an automated system]

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

It's the 21st of 1946, June.

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

Who the FUCK is June? You cheating bastard!

[–] 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 (5 children)
[–] BleatingZombie@lemmy.world 42 points 1 year ago (1 children)
[–] PlexSheep@feddit.de 15 points 1 year ago (1 children)

Rfc3339 is the way. Mathematical superiority is on our side.

[–] Fogle@lemmy.ca 8 points 1 year ago

Auto alphanumerical sequencing

[–] RickyRigatoni@lemmy.ml 10 points 1 year ago

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

load more comments (3 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)
[–] darklamer@lemmy.dbzer0.com 10 points 1 year ago (12 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.

load more comments (12 replies)
[–] slazer2au@lemmy.world 7 points 1 year ago (1 children)

Na, month data year is still the worse.

[–] BorgDrone@lemmy.one 12 points 1 year ago (2 children)

What about month year day ?

load more comments (2 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 (2 children)
  1. 1970-1999 - 4 digits.
  2. 2000+ - 2 digits.
  3. No separators
load more comments (2 replies)
load more comments (1 replies)
[–] vlad76@lemmy.sdf.org 6 points 1 year ago* (last edited 1 year ago) (2 children)
[–] likeaduck@programming.dev 7 points 1 year ago (4 children)
[–] redditReallySucks@lemmy.dbzer0.com 14 points 1 year ago (1 children)
[–] Bene7rddso@feddit.de 7 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)
[–] yetAnotherUser@feddit.de 7 points 1 year ago
[–] vlad76@lemmy.sdf.org 6 points 1 year ago (1 children)
load more comments (1 replies)
load more comments
view more: next ›