case Not(DistanceMetric)():
a syntax error?133 karma · joined July 11, 2010
[ my public key: https://keybase.io/jenrzzz; my proof: https://keybase.io/jenrzzz/sigs/KjBvxPfWib8r2J_JJCVTYkjypfQtf-BUogJsHPPKErE ]
case Not(DistanceMetric)():
a syntax error?Also, I learned today that cat takes a -n option to prepend line numbers to the output! My solution ended up being
cat -n faces.txt | sort -k2 -k1n | uniq -f1 | sort -nk1,1 | cut -f2-`sym_equal` only makes 2 appearances in the whole codebase (to be bound to `Symbol#==` and `Symbol#===` in string.c), so there's not a whole lot of room for confusion.
Also, this is Ruby core! Smart people do what works and makes sense to them and don't spend a lot of time worrying about how clear it is to us unwashed masses.
I guess that's it. And fun times were had by all.
4b) bagureha.ugz (Pink Floyd!)
5a) vgevrq.ugz
5b.1) ohevrq.cat