Hacker News new | past | comments | ask | show | jobs | submit login

Looking into it, I found a Ruby implementation:

https://github.com/jmhodges/minhash

Which depends on a Ruby implemenation of MurmurHash2:

https://github.com/jmhodges/murmur_hash

Anyone have any idea what the 23 is for?

  # 23 can be any unsigned 32-bit integer (i.e. from 0 to 2**32 - 1)
  hash_number = MurmurHash.murmur_hash("somestring", 23)



23 is the seed s/he's using for the hasing function it seems.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: