hey @ArtOfCode mind if I pick your brain on a bot i'm using Smokey's ChatExchange setup and stuff for (though it's not Smokey)? Because I've got a weird issue where the bot send the same response message twice and is being stupid.
@NobodyNada It was just someone spamming rude youtube things like the let it go I'm a hoe song and stuff. So I found dab those spammers and kept spamming him out the chat
@Mithrandir Well, that's the only one rejected and I made a note about it in the comments. All other watchlist additions had their conflicts resolved and merged. I just think Smokey is a little behind the times ;)
@Mithrandir Interesting. A user signed up today and tried to edit a YouTube link into a question. I'm not going to try the link. Is there anything that's worth doing beyond rejecting the edit?
@NisseEngström Youtube video is safe for work, and code related, title: "C program for CRC - Cyclic Redundency Check Code Computer Network Lab", duration: about 40 minutes
Given that I'm just looking at typos, which are most likely to manifest as a changed character or two or an extra character or two, we don't need anything more fancy
In information theory and computer science, the Damerau–Levenshtein distance (named after Frederick J. Damerau and Vladimir I. Levenshtein) is a string metric for measuring the edit distance between two sequences. Informally, the Damerau–Levenshtein distance between two words is the minimum number of operations (consisting of insertions, deletions or substitutions of a single character, or transposition of two adjacent characters) required to change one word into the other.
The Damerau–Levenshtein distance differs from the classical Levenshtein distance by including transpositions among its allowable...
> differs from the classical Levenshtein distance by including transpositions
it literally passes the ruby name and version directly to Homebrew, I'm not kidding
glorified Homebrew installation script
(one that trashes your entire /usr/local/bin and ruins any symlinks you might have immediately, I control-c'd it the second it said "Installing Homebrew..." and it still screwed up my Python in that time)
luckily I have a Vagrant with Ruby 2.4.0 so should be all good
@ArtOfCode just seems like a waste of disk space to smear the same packages across a bunch of different directories and leave a distinctly-non-human readable lock file in all your repos
granted I'm opinionated
because I don't like npm and love pip
I'm kind of a mixed bag of opinions on package managers
@quartata Although the lockfile is ugly, it’s worth it IMO to ensure that everyone has the same package versions. Someone also made pkglink to resolve the issue of duplicate modules.