Click here to Skip to main content
15,908,906 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: The Proof that a GUID is not unique Pin
svella23-Oct-13 3:39
svella23-Oct-13 3:39 
GeneralRe: The Proof that a GUID is not unique Pin
RafagaX23-Oct-13 4:51
professionalRafagaX23-Oct-13 4:51 
GeneralRe: The Proof that a GUID is not unique Pin
code_junkie23-Oct-13 7:32
code_junkie23-Oct-13 7:32 
GeneralRe: The Proof that a GUID is not unique Pin
dpminusa23-Oct-13 8:22
dpminusa23-Oct-13 8:22 
GeneralRe: The Proof that a GUID is not unique Pin
StatementTerminator23-Oct-13 9:22
StatementTerminator23-Oct-13 9:22 
GeneralRe: The Proof that a GUID is not unique Pin
Plamen Dragiyski23-Oct-13 11:19
professionalPlamen Dragiyski23-Oct-13 11:19 
GeneralRe: The Proof that a GUID is not unique Pin
dpminusa23-Oct-13 13:52
dpminusa23-Oct-13 13:52 
GeneralRe: The Proof that a GUID is not unique Pin
patbob23-Oct-13 14:57
patbob23-Oct-13 14:57 
Systems without network cards can generate GUIDs. What do they use for their MAC address? Yup.. zeros. A GUID also includes clock ticks of some sort or another that (they hope) tick faster than the system can request GUIDs. I seem to recall there's some bits in there for sequence number within a clock tick, or maybe systems just keep track of the last one issued and ensure they don't generate duplicates. I think there might be some other sources of mostly unique bits thrown in, like CPU serial numbers or something. The idea being that within a given uptime, of a given OS load, on a given system, they are guaranteed to be unique, and between systems, they are as unique as reasonably possible.

How are these bits packed into the GUID? It doesn't matter, no amount of deterministically massaging the bits will give you anything more unique. Massaging the source bits could obscure them and make backtracking to the original values for nefarious purposes more difficult, and I suspect its done. Using the source bits as seed for a pseudorandom number generator won't add uniqueness, but it is probably a pretty good, and inexpensive, way to deterministically massage the bits to obscure them.


GUIDs were never absolutely guaranteed to be unique, and I'd be willing to bet most of those sources of unique bits are no longer unique once one starts running GUID generation code in virtual machines.
We can program with only 1's, but if all you've got are zeros, you've got nothing.

GeneralRe: The Proof that a GUID is not unique Pin
dpminusa23-Oct-13 15:45
dpminusa23-Oct-13 15:45 
GeneralRe: The Proof that a GUID is not unique Pin
dpminusa23-Oct-13 15:48
dpminusa23-Oct-13 15:48 
GeneralRe: The Proof that a GUID is not unique Pin
Member 460889824-Oct-13 7:40
Member 460889824-Oct-13 7:40 
GeneralBlack Adhesive Rubber Foot Pin
Michael Martin22-Oct-13 0:47
professionalMichael Martin22-Oct-13 0:47 
GeneralRe: Black Adhesive Rubber Foot Pin
Dalek Dave22-Oct-13 0:57
professionalDalek Dave22-Oct-13 0:57 
GeneralRe: Black Adhesive Rubber Foot Pin
Keith Barrow22-Oct-13 1:46
professionalKeith Barrow22-Oct-13 1:46 
GeneralRe: Black Adhesive Rubber Foot Pin
Michael Martin22-Oct-13 1:56
professionalMichael Martin22-Oct-13 1:56 
GeneralRe: Black Adhesive Rubber Foot Pin
glennPattonWork322-Oct-13 1:10
professionalglennPattonWork322-Oct-13 1:10 
GeneralRe: Black Adhesive Rubber Foot Pin
Mark_Wallace22-Oct-13 1:15
Mark_Wallace22-Oct-13 1:15 
GeneralRe: Black Adhesive Rubber Foot Pin
glennPattonWork322-Oct-13 1:35
professionalglennPattonWork322-Oct-13 1:35 
GeneralRe: Black Adhesive Rubber Foot Pin
grralph122-Oct-13 1:14
grralph122-Oct-13 1:14 
GeneralRe: Black Adhesive Rubber Foot Pin
Mark_Wallace22-Oct-13 1:14
Mark_Wallace22-Oct-13 1:14 
GeneralRe: Black Adhesive Rubber Foot Pin
Michael Martin22-Oct-13 1:19
professionalMichael Martin22-Oct-13 1:19 
GeneralRe: Black Adhesive Rubber Foot Pin
Bassam Abdul-Baki22-Oct-13 1:26
professionalBassam Abdul-Baki22-Oct-13 1:26 
GeneralRe: Black Adhesive Rubber Foot Pin
_Maxxx_22-Oct-13 12:51
professional_Maxxx_22-Oct-13 12:51 
GeneralTJOTD PinPopular
Dalek Dave21-Oct-13 23:00
professionalDalek Dave21-Oct-13 23:00 
GeneralRe: TJOTD Pin
Nicholas Marty21-Oct-13 23:06
professionalNicholas Marty21-Oct-13 23:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.