diff options
author | Arjun Satarkar <me@arjunsatarkar.net> | 2023-02-17 17:50:35 +0000 |
---|---|---|
committer | Arjun Satarkar <me@arjunsatarkar.net> | 2023-02-17 17:50:35 +0000 |
commit | afcb63be10747a41c6a2e7db32155e96a8cca9a0 (patch) | |
tree | 96dcd0a49dbbde0714c94fc6abf3cae7d33585d5 | |
parent | 754703844ba5ed118fe0d1858e61d1a203615454 (diff) | |
download | 8hash-main.tar 8hash-main.tar.gz 8hash-main.zip |
-rw-r--r-- | README.adoc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/README.adoc b/README.adoc index c3dc35d..3e9d23d 100644 --- a/README.adoc +++ b/README.adoc @@ -4,8 +4,6 @@ A consistent "magic 8-ball" that chooses the result based on a hash of the input Since the standard non-committal answers in a magic 8-ball indicate that you should try again later, we first randomly decide if we should use a non-committal answer or not, and only if not, use the hash of the input to pick an unchanging committal answer. -We use the "djb2" hash function because of its simplicity. - == Rationale It is somewhat strange that magic 8-balls, both physical and digital, can return opposite responses to the same question. At least in the digital case, we can mitigate this. |