this post was submitted on 05 Nov 2025
140 points (95.5% liked)

Programmer Humor

39878 readers
79 users here now

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

Rules:

founded 6 years ago
MODERATORS
top 20 comments
sorted by: hot top controversial new old
[–] LordTrychon@sh.itjust.works 15 points 2 months ago (2 children)

Maybe it's just too late and I'm too tired... but how is this DESC?

[–] Cevilia@lemmy.blahaj.zone 11 points 2 months ago* (last edited 2 months ago) (2 children)

It has ORDER BY Hour DESC, results placed anticlockwise?

[–] tias@discuss.tchncs.de 9 points 2 months ago (1 children)

But... why would you place them anticlockwise when the hands move in a clockwise direction

[–] Cevilia@lemmy.blahaj.zone 7 points 2 months ago (1 children)

Why would it have them in descending order in the first place? Nothing of this makes sense!

[–] tias@discuss.tchncs.de 4 points 2 months ago* (last edited 2 months ago)

Probably to make them appear right in clockwise order! Sometimes two wrongs make a right. Except when lexical ordering is used.

[–] racketlauncher831@lemmy.ml 5 points 2 months ago (3 children)

Isn't the word counter-clockwise?

[–] porous_grey_matter@lemmy.ml 8 points 2 months ago (1 children)

It's an American/British English difference

[–] Klear@quokk.au 4 points 2 months ago

Widdershins.

[–] Cevilia@lemmy.blahaj.zone 2 points 2 months ago (1 children)

Literally never said that in my life?

[–] HelloRoot@lemy.lol 3 points 2 months ago

You can learn something new every day.

[–] MajinBlayze@lemmy.world 6 points 2 months ago

It's either extremely successful ragebait, or op thinks "desc" means "sort as a string"

[–] MachineFab812@discuss.tchncs.de 7 points 2 months ago

Thanks, I hate it. I hate it BECAUSE I get it, to be clear. F'ing digits ...

[–] sepi@piefed.social 5 points 2 months ago

It makes so much more sense this way.

[–] AngryishHumanoid@lemmy.world 4 points 2 months ago

You sick son of a bitch.

[–] Fedizen@lemmy.world 4 points 2 months ago

Duodecimal clock > this. See you at B:00

[–] untorquer@lemmy.world 4 points 2 months ago* (last edited 2 months ago)

I'm more bothered by the hour and minute hands having the same length.

Edit: make the minute hand shorter to make it worse

[–] poolhelmetinstrument@lemmy.world 3 points 2 months ago

No need for -n -r flags on the sort, looks good.

[–] luciferofastora@feddit.org 2 points 2 months ago

I work with a Data Warehouse that has a date table where the month is a text column. No, I don't mean the name, I mean the month number. It's a text. If I sort by month, I get this exact result.

It's not a huge issue, really, but pissed me off when I finally realised why my shit looks all wrong.

[–] Unknown_0671@lemmy.blahaj.zone 1 points 2 months ago