this post was submitted on 01 May 2025
1089 points (96.9% liked)

Comic Strips

16573 readers
2375 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] CidVicious@sh.itjust.works 176 points 2 weeks ago (4 children)

Rich is right, since this is the date format that sorts correctly in filenames.

[–] compostgoblin@slrpnk.net 99 points 2 weeks ago (1 children)

And it is easily extensible to YYYY-MM-DDThh:mm:ss to include the time of day

[–] blazeknave@lemmy.world 15 points 2 weeks ago (2 children)
[–] compostgoblin@slrpnk.net 14 points 2 weeks ago (1 children)

Haha yep, you caught me. I’m a fan of the unique note feature

[–] blazeknave@lemmy.world 3 points 1 week ago (1 children)

I've never met a fellow Templatr in the wild lol

My daily note broke and my life fell apart for a minute.

Have you also spent months building your Data Capture Workflow mermaid.js? 😅😬

[–] compostgoblin@slrpnk.net 2 points 1 week ago (1 children)

Not quite months, but definitely weeks 😂 Obsidian can be such a rabbit hole. If I tweak that last template one more time, then I’ll finally be done, I swear!

[–] blazeknave@lemmy.world 1 points 1 week ago

So I'm like 80% done with my setup. Mostly focused on routine and habit templates, homepage wiki for pkm etc.. between the plugins and css, no matter which device I'm on, it's the slowest app I've ever used. This is why I pushed my old setup and started over clean with more knowledge. I don't know how to get the customization I want without insane unusable lag

[–] b3an@lemmy.world 6 points 2 weeks ago (1 children)

I feel called out and I’m hiding in the bushes reading comments.

[–] blazeknave@lemmy.world 2 points 1 week ago

It's called feeling seen and finding you're not alone. Do you type "# " while screen sharing in work apps to no avail and the chagrin of colleagues? It's okay. Me too.

[–] brsrklf@jlai.lu 42 points 2 weeks ago (6 children)

Won't be true after 9999-12-31, however.

[–] otacon239@lemmy.world 109 points 2 weeks ago (1 children)
[–] Brunbrun6766@lemmy.world 36 points 2 weeks ago (1 children)

Can't wait for the Y40k bug, when Tyranids begin to infect our brains.

[–] rtxn@lemmy.world 9 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Bold of you to assume there isn't already a genestealer cult on Terra. Washington specifically.

[–] Brunbrun6766@lemmy.world 2 points 1 week ago

That...would explain a lot

[–] Saleh@feddit.org 17 points 2 weeks ago

Can be solved with a small shellscript adding a leading zero to all filenames with the format.

[–] GreyEyedGhost@lemmy.ca 15 points 2 weeks ago

If I, my software, or my data last this long, I will have nearly 8000 years to resolve it. Which is to say, the year 9998 is going to get busy.

[–] amon@lemmy.world 5 points 2 weeks ago

natural sort ftw

[–] TeamAssimilation@infosec.pub 4 points 2 weeks ago

If humanity survives until then, we can implement 9-digit dates and delay the problem until Y100K.

[–] thesmokingman@programming.dev 2 points 2 weeks ago (1 children)

I’d be curious to see a sorting algorithm that doesn’t handle YYYYY-MM-DD with YYYY-MM-DD properly. If you drop the dashes you still get a proper numeric order. If you sort by component, you still get the proper order. Maybe a string sort wouldn’t? Off the top of my head the languages I’m thinking either put longer strings later, giving us the proper order, or could put 1YYYY- ahead of 1YYY-M so maybe string sorting is the only one that’s out.

[–] HailHydra@infosec.pub 18 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

Lexical sorting (string sorting/alphabetical order sorting) is what I believe they were referring to when talking about file names.

The fact that you don't have to do any parsing of the string at all, just do a straight character-by-character alphabetical sort, and they will be sorted by date, is a great benifit of this date scheme. That means in situations where no special parsing is set up (eg, in a File Explorer windows showing a folders contents sorted alphabetically) or where your string isn't strictly date only (eg, a file name format such as '2025-05-02 - Project 3.pdf') you can still have everything sorted by date just by sorting alphabetically.

Its this benifit that is lost when rolling over to 5-digit years.

[–] JackbyDev@programming.dev 2 points 2 weeks ago

I bet you could make a one liner to rename files with YYYY-MM-DD to 0YYYY-MM-DD fairly easily. Not a problem.

[–] The_Decryptor@aussie.zone 1 points 2 weeks ago

It's an easy fix at least, just check if you're comparing numbers on both sides and switch to a simple numerical sort.

I think Windows used to get this wrong, but it was fixed so long ago that I'm not even sure now.

[–] waigl@lemmy.world 35 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Who's Rich? Did you mean Randall?

[–] CidVicious@sh.itjust.works 27 points 2 weeks ago (1 children)

...dammit, the only comics I read are XKCD and OOTS and I done fucked up.

[–] tigeruppercut@lemmy.zip 7 points 2 weeks ago (2 children)
[–] CidVicious@sh.itjust.works 5 points 2 weeks ago

The good ones tend to filter their way out.

(I do also read whatever John Allison is currently working on.)

[–] Rai@lemmy.dbzer0.com 2 points 2 weeks ago* (last edited 2 weeks ago)

Banished to back in time to hang with Ozy and Millie

[–] blazeknave@lemmy.world 8 points 2 weeks ago

Omg thank you!! Everyone sees my notes thinks I'm crazy for obsessing... It's the correct fucking sort!