this post was submitted on 28 Jan 2025
1663 points (99.6% liked)

Programmer Humor

20188 readers
1170 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
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] webghost0101@sopuli.xyz 59 points 2 days ago* (last edited 2 days ago) (6 children)

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 2 days ago (4 children)

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

load more comments (4 replies)
[–] eager_eagle@lemmy.world 25 points 2 days ago
[–] paraphrand@lemmy.world 16 points 2 days ago (1 children)

Would you have felt differently if it was called Rendezvous?

[–] webghost0101@sopuli.xyz 18 points 2 days ago* (last edited 2 days ago)

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

[–] JackbyDev@programming.dev 14 points 2 days ago (2 children)

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 2 days 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)
[–] skuzz@discuss.tchncs.de 44 points 2 days ago (3 children)

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE

Helps a bit.

[–] MissingInteger@lemm.ee 1 points 1 day ago

Don't forget:

defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
load more comments (2 replies)
[–] FatTony@lemm.ee 24 points 2 days ago (5 children)

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

[–] Kissaki@programming.dev 6 points 1 day ago* (last edited 1 day ago)

I learned of those files outside the context of programming. When program or file zip packages contained these random ds store files and I looked up what they are.

Turns out, it's metadata ~~caching~~ for macOS. Irrelevant and does not belong into [distributed or shared] packages.

/edit: It's been a long time ago. Looking at it again, I guess it adds folder metadata, so it could be useful when distributing to other macOS. But for other OS, it's noise. Either way, usually it's not intentionally included.

load more comments (4 replies)
[–] boonhet@lemm.ee 29 points 2 days ago (20 children)

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

[–] Valmond@lemmy.world 31 points 2 days ago (1 children)

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

[–] boonhet@lemm.ee 15 points 2 days ago

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

[–] MissingInteger@lemm.ee 13 points 1 day ago

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

load more comments (18 replies)
[–] Psythik@lemmy.world 19 points 2 days ago* (last edited 2 days ago) (2 children)

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)
load more comments
view more: ‹ prev next ›