-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hashNameIntoInt() hash collision #19
Comments
Suggest removing Line 20 in 3a190b7
Other option: just get resh to expose the id, would be a small change on his end. Unfortunately whatever option is used it will require either users to delete their sqlite database and do a full re-scan or add some kind of migration that just rehashes CV names when a user updates to the latest version. |
You may want to have a look at my repo: The main problem with kikoeru-project is that I have not add i18n functionality to it, since most of the users of that project only understands Japanese and Chinese. If any English speaker is interested in an English version, please tell me, then I will make it available someday. Also, if anyone is interested, please tell me where you communicate with each other about DLsite vocie works, what's the name or link to that webpage of yours, and how many people exactly are interested in this project. |
Yeah, I found that repo recently and see that you get around the issue by generating a uuid instead. Unfortunate that repo wasn't forked from here so it's harder to merge back. Regarding english i18n I'll take a look and open an issue if it seems like people will be interested. |
Actually I don't like this way of fix. If I rewrote the code someday, I would replace the surrogate key with natural key, i.e. remove the id column entirely. But because that would require too much refactoring I was just feeling lazy and monkey patched in the uuid way. |
Removes [is-svg](https://github.com/sindresorhus/is-svg). It's no longer used after updating ancestor dependency [postcss-svgo](https://github.com/cssnano/cssnano). These dependencies need to be updated together. Removes `is-svg` Updates `postcss-svgo` from 4.0.2 to 4.0.3 - [Release notes](https://github.com/cssnano/cssnano/releases) - [Commits](cssnano/cssnano@4.0.2...4.0.3) --- updated-dependencies: - dependency-name: is-svg dependency-type: indirect - dependency-name: postcss-svgo dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
hashNameIntoInt('かの仔')
returns12285
.hashNameIntoInt('こっこ')
returns12285
as well.Thus the two Voice Actors are incorrectly identified as the same person.
The text was updated successfully, but these errors were encountered: