Scott Spradlin

Developer Community Enthusiast

  Home  |   Contact  |   Syndication    |   Login
  21 Posts | 0 Stories | 9 Comments | 0 Trackbacks

News

Twitter












Tag Cloud


Archives

Post Categories

Friend's Blogs

SharePoint Blogs

My friend Todd Kitta and I were having a discussion on GUIDs.  He said that one day he compared the number of possible GUIDs to the number of grains of sand estimated to be on all the beaches on the earth.

Number of GUIDs 340,282,366,920,938,463,463,374,607,431,770,000,000 *
Grains of sand 75,000,000,000,000,000,000 *

I guess that's why we don't typically put in error checking to detect duplicate GUIDs.  It hasn't yet, but if it can happen, it'll happen to me.

 

Technorati Tags:

* Numbers estimated based on the decimal precision of our scientific calculator as provided in Vista.

posted on Wednesday, July 09, 2008 3:51 PM

Feedback

# re: Duplicate GUID Encountered? 7/9/2008 6:14 PM Scott Isaacs
I wrote a related post about this a couple years ago, here: http://tapmymind.com/blog/tap_my_mind/archive/2006/01/05/My-Environmental-Concerns.aspx

# re: Duplicate GUID Encountered? 7/11/2008 11:06 AM doug
Actually it happens all of the time. In fact hackers love to duplicate guids. It's a fun way to hijack program interfaces.

Purveyors of code samples and tutorials should also expect to see their published guids in all kinds of disparate applications (as the kids today don't actually write code, they just assemble it from the various code caches discovered online).

Also, somehow SharePoint always seems to end up with a bunch of duplicate guids. I usually blame the newbie admin, but it could also be just some errant code in there not checking on import, migration, and on database restoration since they are presumed to always be unique by definition after all, so why check them right?.


Post Feedback

Title:
Name:
Email: (never displayed)
Url:
Comments: 
Please add 4 and 4 and type the answer here: