There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

lemmy.ml

NoGodsNoMasters , to memes in 2023-08-09.jpg

I’ve always used it for everything

dingus , to memes in Running, on our way, hiding, you will be dying, one thousand deaths
@dingus@lemmy.ml avatar

Let the Metal Memes flow, my dark brothers and sisters!

frozen , to memes in Running, on our way, hiding, you will be dying, one thousand deaths
@frozen@lemmy.frozeninferno.xyz avatar

Holy shit, a Metallica meme! Didn’t expect that today, what a nice surprise.

triplenadir , to memes in 2023-08-09.jpg
@triplenadir@lemmygrad.ml avatar

join south africa and (sorta) japan, use YYYY-MM-DD as a default - sorts well, zero ambiguity… at least until some joker starts popularising YYYY-DD-MM, anyway

RedEyeFlightControl , to memes in 2023-08-09.jpg
@RedEyeFlightControl@lemmy.world avatar

I’m a systems guy. ISO8601 or die. Whomever decided to put the most significant digits at the end of MMDDYYYY can get fired. From a cannon. Into the sun.

frokie , to memes in 2023-08-09.jpg

Everyone talks big game about the file names but forget how important standardizing on log time stamps is too. When I’m able to pipe a bunch of logs into sort, I get so happy.

silenium_dev ,

Yeah, exactly, it’s always a pita to pipe stuff through sed/awk to reformat the timestamps

TheLobotomist , to memes in 2023-08-09.jpg
@TheLobotomist@lemmy.dbzer0.com avatar
driving_crooner ,
@driving_crooner@lemmy.eco.br avatar

Can’t believe he missed the opportunity to add 41332 to the number of ways of how not to write dates.

Squirrel ,
@Squirrel@thelemmy.club avatar

I must be missing something.

Mutelogic ,

Excel ::shudder::

driving_crooner ,
@driving_crooner@lemmy.eco.br avatar

Experience with excel.

hglman ,

I feel better that I don’t understand now.

uid0gid0 ,

Excel doesn’t display ISO dates unless you define a custom format.

lastjunkieonearth ,

They’re trying to make it look fake!

funkajunk ,
@funkajunk@lemm.ee avatar

Everyone tries to make it look fake. Fuckers!

SEND_BUTTPLUG_PICS ,
@SEND_BUTTPLUG_PICS@lemmy.world avatar

Drivingcrooner.com

lord_ryvan , (edited )

I recall writing a script that produces that 01237 with smaller digits around it for the current date. It lists the numbers that occur in the date (0, 2, 3 and 9 for 2023-09-09), the smaller digits show at which position they show up in a YYYYMMDD format (the 0 shows up on positions 2, 5 and 7)

The script has not been pushed online cause it was so dang bad

Utter_Karate , to memes in Abe-sama gives advice
@Utter_Karate@hexbear.net avatar

Well, as he found out from one of those young Japanese males, the answer is a firm no.

original_ish_name , to memes in 2023-08-09.jpg

Directories exist for a reason

rclkrtrzckr ,

load “$”,8

metaStatic ,

?FILE NOT FOUND ERROR

rclkrtrzckr ,

This was actually the very first lemmy notification I got!

TimeSquirrel ,
@TimeSquirrel@kbin.social avatar
Jamie , to memes in 2023-08-09.jpg
@Jamie@jamie.moe avatar

I enforce ISO 8601 for the shared storage in my office. Before I got there, files were kinda stored in all kinds of formats, but mostly month first.

I tell the person under me she can store her files in her user any way she wants, but if it goes into shared storage, it’s ISO 8601. I even have a folder in there called !Date format: YYYY-MM-DD Description to help anyone else remember.

Samsy OP ,

Oh that’s a good idea. Thx.

Rootiest ,

Haha I did the same.

It was the Wild West, no standard, everyone used their own date format all in the same shared storage.

I’ve got most of the office doing it correctly now

Collatz_problem , to memes in 2023-08-09.jpg

YYYY-DD-MM is some unintuitive shit.

PXoYV1wbDJwtz5vf ,

I refuse to believe anyone does this. I think the inconsistency comes down to how people speak. "The meeting will be held on the 10th of January 2023" = 10/01/2023 but "January 10, 2023" = 01/10/2023.

I don't know how you would have to torture your brain for it to feel at home with YYYY-DD-MM.

jollyrogue , to memes in 2023-08-09.jpg

Unix epoch for life! 😂

NeelixBiederman , to memes in 2023-08-09.jpg

Look at this amateur wasting keystrokes on dashes

rclkrtrzckr ,

My Autohotkey does this when I type


<span style="color:#323232;">.tod
</span>
Samsy OP ,

Understandable, but the keystrokes are helpful for human readable. I always have the “Suspicions Fry eyes” when I want to read 20230809 in a lot of files.

xilliah , to memes in 2023-08-09.jpg

I apply it violently. It’s like my boxing bag.

cerberus , to memes in 2023-08-09.jpg
@cerberus@lemmy.world avatar

ISO 8601 is amazing for data storage and standardizing the date.

Display purposes sure, whatever you feel like

But goddammit if you don’t use ISO 8601 to store dates, I will find you, and I will standardize your code.

datelmd5sum ,

epoch not acceptable then?

Rootiest ,

Epoch is also acceptable if humans don’t need to understand it

cerberus ,
@cerberus@lemmy.world avatar

I will agree it’s a valid storage but it has to be specified in ms

snek_boi ,

I actually need to standardize my code. I’ve got “learning F2” as something I want to do soon. The goal: use the exif data of my pictures to create [date in ISO 8601] - [original filename].[original file type termination]

So a picture taken the third of march 2022 titled “asdf.jpg” would become “2022-3-3 - asdf.jpg”

Help? lol

Samsy OP ,

I did this in the past and I would search through my notes… If I had notes ffs.

notabot ,

If you’re on Linux exiftool can get the creation date for you: exiftool -p ‘$CreateDate’ -d ‘%Y-%m-%d’ FILENAME, and you could run tgat in a loop over your files, something like:


<span style="color:#323232;">mkdir -p out
</span><span style="color:#323232;">for f in *.jpg
</span><span style="color:#323232;">do
</span><span style="color:#323232;">createdate=$(exiftool -p '$CreateDate' -d '%Y-%m-%d' "${f}")
</span><span style="color:#323232;">cp -p "${f}" "out/${createdate} - ${f}"
</span><span style="color:#323232;">done
</span>

Obviously don’t justbgo running code some stranger just posted on the internet, especially as I haven’t tested it, but that should copy images from the current directory to a subdirectory called ‘out’ with the correct filenames.

metaStatic ,

ok I think I finally need to ask

What the fuck is up with the html code? Ive seen this in a lot of posts and it just throws me every time.

notabot ,

I don’t see any HTML when I look at that comment from Lemmy, but kbin seems to make a real mess of rendering code blocks. Basically that bit had a few lines of code they could yse to do what they wanted.

scubbo ,

Do you mean strings like %Y? They’re not url-encoded values - they’re strftime format directives.

cerberus ,
@cerberus@lemmy.world avatar

Can you give more context, what are you using? Language / system / etc?

snek_boi ,

I’m using NixOS. Ext4 filesystem. As to language, I’m not entirely sure what you mean. If you refer to the character set in the filenames, I think there are no characters that deviate from the English alphabet, numbers, dashes, and underscores.

cerberus ,
@cerberus@lemmy.world avatar

Oh ok so you’re more so working with folder structure etc, so bash for when you plug-in a card?

I’m thinking in more programmatic terms, there’s definitely some bash scripting you can execute. Or just go balls out and write a service that executes on systemctl

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines