I would also like a word with “bonjour” process while we’re at it.
Thought it was a virus when I first discovered it.
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.
I would also like a word with “bonjour” process while we’re at it.
Thought it was a virus when I first discovered it.
no one? Ok
Would you have felt differently if it was called Rendezvous?
Probably not. I know better then to trust the french /s
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.
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)
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE
Helps a bit.
I am not exactly a programmer. What is the .DS_Store file for?
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.
Just gitignore that. Same for dot idea and whatever vscode adds, if anything
Ya, but that .idea is not inserted in eleven thousand sub folders.
It's not, but I still prefer not pushing my config on others, or others pushing theirs on me.
git add .
> git commit -m "initial"
> git push
Later when I git status
or just look at the repo online… "oh crap I let .DS_Store in didn't I…" and then I remember to set up a .gitignore and make a new commit to take out the .DS_Store and put in the .gitignore.
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.