I see all of these basic hashtable tutorials where they just calculate a hash with a modulus and they say "dont use this in production."

So my question is... What CAN I use in production? What does a good hash table configuration look like? Which operators should I use besides modulus the hash table size?