Gene Kwiecinski wrote:
Thinking about how a wiki works shows that keeping tip numbers
is doomed. First, there is no auto-increment id, and as you
point out, there is no reasonable way to automate fixes.

Is there any equivalent to javascript's document.lastModified?

Can create a "serial number" based on the date of submission, then
rearrange by fields to a sortable ID, eg 2007.05.15.23.53 for a tip
created yesterday at 23:53.

Don't need dots, or hyphens, or anything, as 2007051523353 would be
fine, too.  The odds of having 2 tips be submitted in the same minute
would be remote.



I don't think so. A minute is sixty seconds, and sooner or later we'll have two different users submitting tips less than sixty (or even thirty) seconds away from each other. Even adding the seconds to the ID doesn't clear the problem, it lowers the probability but doesn't make it zero. With enough Vimmers adding tips, sooner or later there'll be a clash.


Best regards,
Tony.
--
If the odds are a million to one against something occurring, chances
are 50-50 it will.

Reply via email to