cliss/accidentalbot — pull request #12 by sperelson (2014-06-22 15:22:55+00:00)
Title: New IDs

I wasn't fond of the title and link identifiers being the length of the strings. Length as an ID is not a suitable identifier for a title voting system. Votes could easily get misattributed to the first of two title if they both had the same length.

I suggested a few options in an issue, but my favourite was the SHA1 of the strings.

This is because the SHA1 can be used in an improved data schema to prevent duplicates and make use of hash lookups to improve performance.