4 ms·
I didn't stick around with the company long enough to figure out how this worked out, but probably the unholiest thing I ever did was implement an internal mana
by nonameiguess 3y ago
I didn't stick around with the company long enough to figure out how this worked out, but probably the unholiest thing I ever did was implement an internal management tool with a fuzzy hash table. That is, I created a hashing system that hashed strings very close to each other in Hamming distance as the same value, the purpose of which was to create a config object in memory loaded from a file that allowed you to typo the keys, ignored whitespace and capitalization, tolerated some amount of spelling mistakes, and tried to figure out what you actually meant. This was based on early user feedback that they were confused their config files didn't work and it was usually because of stupid typos and whitespace differences like that.
- itsboring 3y agoSomehow this reminded me of when I worked at a bank some 20 years ago, and there was a ton of VBA code with “On Error Resume Next”. People would just pop that in there to “fix” their errors. Also HTML parsing and Postel’s law. To me, that’s the real “billion-dollar mistake”.