this post was submitted on 28 Dec 2024
38 points (100.0% liked)

Programmer Humor

420 readers
33 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
 

Bonus:

Explanation: asking for a program to effectively remove duplicates gives 14 programs that do essentially the same (therefore, making them duplicates).

Relevant XKCD:

https://xkcd.com/927/

you are viewing a single comment's thread
view the rest of the comments
[–] ulterno@programming.dev 9 points 2 weeks ago (3 children)

Nice. I actually wanted a program to find duplicates and tell me, without doing anything to them, so that I can make decisions on a case-by-case basis.

Now I found 14 duplicates out of which some might fit my case.

[–] xtrapoletariat 8 points 2 weeks ago (2 children)

I always found the actual challenge to decide what to get rid of once the duplicates where found.

Some tools I tried would also ask file-by-file, which I found a bit useless for thousand of files. Yet, I cannot even express a set of rules to decide this in general, so I'm not blaming the tools.

In particular, with picture collections I also came to the conclusion that some redundancy is probably ok rather than accidentially deleting data that I duplicated on purpose and simply forgot why.

[–] ulterno@programming.dev 5 points 2 weeks ago

Also, it is important that the tool recognises if the whole directory tree has been duplicated. e.g. if you duplicate an installation folder.

[–] MonkeMischief@lemmy.today 3 points 2 weeks ago

Exactly, with things like music or pictures, there's always that bit of doubt that makes it scary to actually delete anything...