[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nick collide prevention ideas



On Wed, Jul 07, 1999 at 11:03:24PM +0200, Q wrote:
> You want to make sure that nobody can use an uid (cid part) that someone
> used before, right? This means after you crashed too. So you have to
> keep track where you are.

Ah, that's, what you mean. Start with (time() - 94000000). Or minus whatever
release date would be. That'd be enough for running server with 44^5 to
Wed Jan  5 10:10:24 2005, and with 44^6 to, damn, counters overflowed. ;-)
About 200 years more. ;)

p.

ps. 9.4e8 is Fri Oct 15 17:06:40 1999 :)