this post was submitted on 28 Jan 2025
22 points (100.0% liked)

Programmer Humor

31875 readers
1655 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] raspberriesareyummy@lemmy.world 3 points 1 year ago (2 children)

honestly - while a Mac is certainly less painful to use than winshit, putting rubbish files recursively into each(!!) accessed folder, on all thumbdrives ever inserted, that's something Jobs deserves to burn in hell for.

[–] ulterno@programming.dev 1 points 1 year ago* (last edited 1 year ago) (2 children)

You'd want that, but a lot of programs do that, both in Windows and Linux.

e.g. The .directory files with the [Desktop Entry] spec by freedesktop.org
Dolphin has the option to enable/disable the feature

[–] lengau@midwest.social 1 points 1 year ago

FWIW Dolphin only does it if the filesystem doesn't provide a way to add that metadata directly to the directory and you change the view configuration for that directory away from your standard configuration. Which is how the standard describes to do it. (Some file managers incorrectly add those .directory files to every directory you visit.)

A mac will add a .DS_Store file to any directory just by breathing on it.

[–] raspberriesareyummy@lemmy.world 1 points 1 year ago (1 children)

today I learned - using Linux at home since 2005ish and I have never had an auto-file generated on any USB attached drives of mine...

[–] ulterno@programming.dev 1 points 1 year ago

I have manually made .directory files (using a bash script) to set icons on folders.

It feels good when programs let you know what they intend on doing.

[–] Croquette@sh.itjust.works 0 points 1 year ago (1 children)

I am not familiar with MacOS, but that seems like a nightmare. What is the purpose of these files?

[–] vvv@programming.dev 2 points 1 year ago (1 children)

the macos file browser, Finder, lets you set a background for a folder, move file icons around to arbitrary positions, other shenanigans. in order for this to work across systems on removable storage media and network mounts, they have this.

[–] EddoWagt@feddit.nl 0 points 1 year ago (1 children)

Why not make the file when a change is made like with windows desktop.ini files?

[–] filcuk@lemmy.zip 1 points 1 year ago

I don't think the code is available for people to figure out whether there's a reason or if it's completely arbitrary.