1683
.DS_Store (sh.itjust.works)
top 50 comments
sorted by: hot top controversial new old
[-] raspberriesareyummy@lemmy.world 213 points 1 month ago

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 50 points 1 month ago* (last edited 1 month ago)

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 45 points 1 month 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.

load more comments (1 replies)
[-] raspberriesareyummy@lemmy.world 15 points 1 month ago

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...

load more comments (1 replies)
[-] Croquette@sh.itjust.works 19 points 1 month ago

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

[-] vvv@programming.dev 54 points 1 month ago

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.

load more comments (2 replies)
[-] dwemthy@lemmy.world 20 points 1 month ago

Iirc they're indexes for the system wide search feature, Spotlight

load more comments (1 replies)
[-] cm0002@lemmy.world 131 points 1 month ago

See also: Let's roll our own .zip implementation that only Mac can reliably read for....reasons

[-] stebo02@lemmy.dbzer0.com 73 points 1 month ago

every time i get a zip file from a mac user it has a folder with random junk in it. what's up with that? i can open the files without it so clearly those files are unnecessary

[-] skuzz@discuss.tchncs.de 73 points 1 month ago

Metadata that's a holdover from the 1980s MacOS behavior. Hilariously, today, NTFS supports that metadata better than Apple's own filesystems of today. They can hide it in Alternate Data Streams.

load more comments (2 replies)
[-] Lazycog@sopuli.xyz 112 points 1 month ago* (last edited 1 month ago)

Hmm.. Smells like a windows user aswell.. Look at that:

~~.desktop~~ desktop.ini

Edit: fixed the filename

[-] i_dont_want_to 126 points 1 month ago
[-] frisbeedude@feddit.org 14 points 1 month ago

ehthumbs_vista.db

load more comments (2 replies)
[-] Wolfizen@pawb.social 80 points 1 month ago

System Volume Information

[-] breakingcups@lemmy.world 50 points 1 month ago
[-] Lazycog@sopuli.xyz 19 points 1 month ago

Ah shit I've forgotten the ancient tablets, ill fix that thank you!

[-] SubArcticTundra@lemmy.ml 29 points 1 month ago* (last edited 1 month ago)

I've caught the whiff of some Linux too...

lost+found

[-] Hupf@feddit.org 96 points 1 month ago
[-] moseschrute@lemmy.world 80 points 1 month ago

…and whoever decided a file system should be case insensitive by default, I hate you.

[-] polle@feddit.org 17 points 1 month ago

The moment when you try to rename a folder in windows from Hello to hello and it doesn't work.

load more comments (2 replies)
load more comments (5 replies)
[-] FQQD@lemmy.ohaa.xyz 72 points 1 month ago

you should do this with every one of these cases. btw, where does .Trash-1000 actually come from?

[-] Semi_Hemi_Demigod@lemmy.world 80 points 1 month ago

Freedesktop.org’s trash specification. It’s where files moved to trash go before being deleted when it’s emptied. The 1000 is the user id.

[-] skuzz@discuss.tchncs.de 40 points 1 month ago

.Trash-999 was already taken by a metal band.

[-] 30p87@feddit.org 20 points 1 month ago

I had a long and frustrating conflict with this, on this post.

As @d_k_bo@feddit.org (An dem Punkt könnten wir auch einfach Deutsch labern) noted, it's a freedesktop.org specification.

I still stand the point that it's not very thought through (a hidden dir? Why?), and that blindly implementing it is annoying. It shouldn't be a universal standard for all systems, as it's only relevant if you use a file manager which can then use that dir as Trash dir - which I don't. That could be tested by only allowing filemanagers to create the dir, and if it doesn't exist, discard the data. That's probably how some programs work, as only Prismlauncher has created the dir.

Workaround: ln -s .Trash-1000 /dev/null

load more comments (2 replies)
[-] webghost0101@sopuli.xyz 61 points 1 month ago* (last edited 1 month ago)

I would also like a word with “bonjour” process while we’re at it.

Thought it was a virus when I first discovered it.

[-] bobs_monkey@lemm.ee 37 points 1 month ago

"Bonjour, i'm here to fuck shit up"

load more comments (4 replies)
[-] eager_eagle@lemmy.world 28 points 1 month ago
[-] paraphrand@lemmy.world 17 points 1 month ago

Would you have felt differently if it was called Rendezvous?

[-] webghost0101@sopuli.xyz 19 points 1 month ago* (last edited 1 month ago)

Probably not. I know better then to trust the french /s

[-] JackbyDev@programming.dev 14 points 1 month ago

Idk what all it does and doesn't do, but installing it in Windows lets you find your Raspberry Pi by its ".local" hostname. I know it was originally for printers or something.

[-] boonhet@lemm.ee 13 points 1 month ago

It's for local service discovery. Those services may be printers on your network, or another computer sharing music on iTunes (which is why as a Windows user you'd usually get Bonjour when installing iTunes). Or maybe it's your Raspberry Pi.

It feels iffy because it comes bundled with other software without you being asked (IIRC) and it autoruns on startup. And I mean 20 years ago when iPods were a thing and people had to use iTunes on Windows, a couple dozen megabytes of RAM really mattered too. Hell I had 512 MB back when I had an iPod (and therefore iTunes)

load more comments (1 replies)
load more comments (2 replies)
[-] burgermeister@lemm.ee 59 points 1 month ago

Every fucking folder in the file share has one of these

[-] Natanael@lemmy.zip 54 points 1 month ago

I saw somebody with Nintendo .DS_store as a username

load more comments (2 replies)
[-] Cargon@lemmy.ml 45 points 1 month ago

Found one of these in the firmware zip file of my soundbar today.

[-] skuzz@discuss.tchncs.de 44 points 1 month ago

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE

Helps a bit.

load more comments (3 replies)
[-] bitcrafter@programming.dev 36 points 1 month ago

Linux user has been here.

How can you tell?

*sniff* Still smells like smug.

[-] MonkderVierte@lemmy.ml 25 points 1 month ago

*sniff* Still smells like smug.

.Trash-1000

[-] bleistift2@sopuli.xyz 21 points 1 month ago* (last edited 1 month ago)
load more comments (6 replies)
[-] boonhet@lemm.ee 30 points 1 month ago

Just gitignore that. Same for dot idea and whatever vscode adds, if anything

[-] Valmond@lemmy.world 31 points 1 month ago

Ya, but that .idea is not inserted in eleven thousand sub folders.

[-] boonhet@lemm.ee 15 points 1 month ago

It's not, but I still prefer not pushing my config on others, or others pushing theirs on me.

[-] MissingInteger@lemm.ee 12 points 1 month ago

You can add .DS Store in your global gitignore at ~/config/git/ignore

load more comments (15 replies)
[-] Psythik@lemmy.world 25 points 1 month ago* (last edited 1 month ago)

As much as they love to sue people, I don't understand why Nintendo doesn't go after Apple for trademark infringement, so that they're forced to finally come up with a better method of storing folder attributes.

load more comments (2 replies)
[-] FatTony@lemm.ee 24 points 1 month ago

I am not exactly a programmer. What is the .DS_Store file for?

[-] jwt@programming.dev 33 points 1 month ago
load more comments (1 replies)
[-] the_crotch@sh.itjust.works 33 points 1 month ago

Kind of a mac's version of desktop.ini. Remembers layouts and other metadata about a folder.

load more comments (1 replies)
load more comments
view more: next ›
this post was submitted on 28 Jan 2025
1683 points (100.0% liked)

Programmer Humor

20885 readers
1368 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 2 years ago
MODERATORS