Live data from Hacker News

Death to .DS_Store

aorensoftware.com

21–30 of 127 posts

Re: Death to .DS_Store

#21
post #7

As someone who has to deal with coworkers who keeps sending me .DS_Store files in every compressed archive, folder, and new project commit. I agree, this must die. I even have a script built around just cleaning .DS_Store from these items. This should not be something that I need...

Unix users are offended by all the useless carriage returns in HTTP too, (and heaven forbid source files) but there just has to be some tolerance if we are all to get along. You can probably augment your VFS dispatch functions to never report a .DS_Store file and to delete one and retry any time a directory remove fails and you'll never know they exist! Or you could just ignore them the way Unix users ignore carriage…

Funny, I'm on a Linux system more often than Mac or Windows and the carriage returns drive me insane. Also, because the Windows users on my team are the ones that can't manage to figure out how to get their IDE or Git to leave our line endings alone. Our least performing team member dominates our git stats because he repeatedly manages to change nearly every line of code in our project.

Re: Death to .DS_Store

#22

I use TotalFinder as a finder replacement. It has a feature called "The Asepsis feature" which will redirect .DS_Store files to /usr/local/.dscache. Quite handy.

From the TotalFinder preferences menu:

"The Asepsis feature has been removed from TotalFinder since version 1.3.0

If you are interested in this functionality, please check out a separate project asepsis.binaryage.com.

For migration info please read asepsis.binaryage.com#migration."

Re: Death to .DS_Store

#23
For git users:

    echo ".DS_Store" >> ~/.gitignore
    git config --global core.excludesfile ~/.gitignore
If you spend many man hours dealing w/ .DS_Store files in source code repos you're doing something wrong.

Re: Death to .DS_Store

#24
WOW - the best feature here is that Total Finder enables cut-and-paste to move files!

This is the one thing I have missed terribly from Windows. It boggles my mind that Apple thinks all that clicking, rearranging windows, dragging, shifting, and dropping is a sane way to move files. Intuitive yes, but more painful than typing it out at a command line. Sometimes Apple gets stuck in "make it pretty" and forgets "make it useful".

Re: Death to .DS_Store

#25
post #16

Earlier quoted context omitted.

But Apple doesn't actually make hardware, and their OS and hardware designs are meant to be paired together. OS X has some flaws, but I think it's better than the alternatives in the market.

>Apple doesn't actually make hardware I don't understand this comment. Apple absolutely makes their own hardware. They pride themselves on the A4/5 series processors and took meticulous care in designing the unibody styling that their laptops have.

Not to mention motherboards, batteries, keyboards, trackpads, and soon SSDs.

But I still wouldn't want them to stop making software. I really enjoy using a lot of Apple's software and software available for their platforms.

Re: Death to .DS_Store

#26
post #16

Junk files like this being littered across filesystems just wreak of extremely poor software engineering. I would love to see Apple stop writing software and operating systems and just stick to hardware.

But Apple doesn't actually make hardware, and their OS and hardware designs are meant to be paired together. OS X has some flaws, but I think it's better than the alternatives in the market.

I agree OSX on a whole may have other advantages but that doesn't mean Apple is really any good at writing software (eg iTunes, Quicktime) or gets off the hook for leaving behind stigma like DS_Store.

Re: Death to .DS_Store

#27
post #23

For git users: echo ".DS_Store" >> ~/.gitignore git config --global core.excludesfile ~/.gitignore If you spend many man hours dealing w/ .DS_Store files in source code repos you're doing something wrong.

Nobody individually spends too much time on dealing with them. It the global accumulation of man hours having to deal with them that is a travesty.

Re: Death to .DS_Store

#28

Junk files like this being littered across filesystems just wreak of extremely poor software engineering. I would love to see Apple stop writing software and operating systems and just stick to hardware.

And what, be yet another Windows OEM? Lots of people have had that bright idea in the last 15 years. No thanks, there are enough of those already.

This aspect of OS X sucks but it doesn't mean they should stop making software altogether. That is ludicrous. Lazy, lazy thinking.

Re: Death to .DS_Store

#29

WOW - the best feature here is that Total Finder enables cut-and-paste to move files! This is the one thing I have missed terribly from Windows. It boggles my mind that Apple thinks all that clicking, rearranging windows, dragging, shifting, and dropping is a sane way to move files. Intuitive yes, but more painful than typing it out at a command line. Sometimes Apple gets stuck in "make it pretty" and forgets "make i…

Lion lets you move copied files by adding option to your paste: option-command-V.

Re: Death to .DS_Store

#30

I use TotalFinder as a finder replacement. It has a feature called "The Asepsis feature" which will redirect .DS_Store files to /usr/local/.dscache. Quite handy.

TotalFinder have actually de-coupled Asepsis from it. http://asepsis.binaryage.com/ is a free download.
Post reply on HN