Re: [google-appengine] Hash function

2015-05-27 Thread Jeff Schnitzer
Alternatively, just use the id generator. Personally I use the id generator and crockford's base32 encoding variant to generate "pretty" (that is, short enough to type or read over phone if necessary) ids for public URLs. Jeff On Wed, May 27, 2015 at 7:55 AM, Karl MacMillan wrote: > > On May 2

Re: [google-appengine] Hash function

2015-05-27 Thread Karl MacMillan
> On May 27, 2015, at 10:50 AM, Saturnino Mateus wrote: > > > Hello! I need to create a page to tracking orders, each order must have a > key. How can i generate this key? Im thinking use hash, is there any good > hash function without colision? Is there other way to solve it with GAE? >

[google-appengine] Hash function

2015-05-27 Thread Saturnino Mateus
Hello! I need to create a page to tracking orders, each order must have a key. How can i generate this key? Im thinking use hash, is there any good hash function without colision? Is there other way to solve it with GAE? Regards -- You received this message because you are subscribed to the Go

[google-appengine] Hash function: migrating from Python 2.5 to Python 2.7

2012-02-20 Thread Andrin von Rechenberg
The built-in hash function differs from Python2.5 to Python2.7. If you are planning to migrate from Python 2.5 to Python 2.7 and you were dumb enough to store the value of python 2.5's hash function, just like I did, you might be interested in the following code snippet. This is the hash function