Slimelite BBS

what is a serial number?

Back to FREE25

From Pierre Phaneuf · 1996-04-11 07:02 · #73151 in FREE25

In reply to Re: what is a serial number? by HECTOR SANTOS

 HS> No problem, you say, we can use a TICK COUNT on an IBM PC as some
 HS> suggest. But then I say, what about machines with "multple processors"
 HS> which may yield equal tick value for multiple cpus.  But thats too
 HS> advance for us.

You could use, say for a 4 processor system, the two most significant bit of the serial number to identify the processor... I'd better like a MSGID working like the one used in Usenet (RFC-1036), a string of arbitrary length that must be compared byte to byte, and that is *never* to be parsed. You could put the address of the site, followed by (in base-36 to save some bytes maybe) the unix date, thread number and message base number... That would yield never ending serial numbers! At least, until the Unix date wraps around, in the late 21st century...

 HS> The point is, are you going to be able to guarantee unique serial
 HS> number across the board?  No matter what you do, you be able to
 HS> guarantee that. Its almost impossible and furthermore, you will not
 HS> guarantee that all applications will comply and do it all the same
 HS> way.

Just look at my proposal and try to think of a way to fool it without fooling with the system clock (come on, if a system fuck up his computer, there could be some dupes anyway)...

Pierre
phaneuf@absint.login.qc.ca

--- FMail/386 1.02
 * Origin: Zaphod Beeblebrox for President! (1:167/136.14)