<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>GUID Guide, part one</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/04/24/guid-guide-part-one.aspx</link><description>What is a GUID? The acronym stands for "globally unique identifier"; GUIDs are also called UUIDs, which stands for "universally unique identifier". (It is unclear to me why we need two nigh-identical names for the same thing, but there you have it.) A</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: GUID Guide, part one</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/04/24/guid-guide-part-one.aspx#10304400</link><pubDate>Fri, 11 May 2012 21:59:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10304400</guid><dc:creator>efflux</dc:creator><description>&lt;p&gt;(*) The attentive reader will note that there are usually two bar codes on a book in the United States. The first one is the ISBN; the second bar code is the number 5 followed by a four digit number that is the publisher&amp;#39;s suggested price of the book in American pennies. &lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;In another incarnation back when I was in univeristy, I worked at the university&amp;#39;s bookstore and I remember there being two pricing schemes publishers used. &amp;nbsp;One was &amp;quot;list price&amp;quot; where there would a suggested retail price for the book and a set discount passed to the store which was often upwards of 40%. &amp;nbsp;With this pricing, the second barcode would indeed reflect the suggested retail price. &amp;nbsp;The second pricing was &amp;quot;net&amp;quot; pricing, which did not carry a suggested retail price at all. &amp;nbsp;These tended to either be all zeroes or have a number beginning with &amp;quot;9&amp;quot; and seeming random information. &amp;nbsp;Having just read this post prompted me to finally look this up and I see that prefix indicates &amp;quot;internal use&amp;quot;. &amp;nbsp;Nice to have that mystery solved :-)&lt;/p&gt;
&lt;p&gt;For what it&amp;#39;s worth, the &amp;quot;net&amp;quot; priced books tended to be &amp;quot;textbooks&amp;quot; whereas list priced books typically fell under the &amp;quot;trade book&amp;quot; category, which while sometimes required reading for courses were of the type to also be in general circulation.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10304400" width="1" height="1"&gt;</description></item><item><title>re: GUID Guide, part one</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/04/24/guid-guide-part-one.aspx#10300173</link><pubDate>Wed, 02 May 2012 22:39:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10300173</guid><dc:creator>Jimi</dc:creator><description>&lt;p&gt;So GUIDs are created by gnomes are they? &amp;nbsp;Well that will explain all those tiny footprints around our database server.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10300173" width="1" height="1"&gt;</description></item><item><title>re: GUID Guide, part one</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/04/24/guid-guide-part-one.aspx#10300032</link><pubDate>Wed, 02 May 2012 16:46:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10300032</guid><dc:creator>Static Shock</dc:creator><description>&lt;p&gt;I&amp;#39;m very worried that at the rate we are using them we will run out of GUID&amp;#39;s and everything after that will have to be non-unique &amp;nbsp;;-) &amp;nbsp;:-D&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10300032" width="1" height="1"&gt;</description></item><item><title>re: GUID Guide, part one</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/04/24/guid-guide-part-one.aspx#10299832</link><pubDate>Wed, 02 May 2012 07:14:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10299832</guid><dc:creator>Jürg Steffen</dc:creator><description>&lt;p&gt;What about the CDDB (&lt;a rel="nofollow" target="_new" href="http://freedb.freedb.org"&gt;http://freedb.freedb.org&lt;/a&gt;). I think they have also thought that the indentifier of a Music CD should be unique. But I found also collisions there! &lt;/p&gt;
&lt;p&gt;But anyway, good article!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10299832" width="1" height="1"&gt;</description></item><item><title>re: GUID Guide, part one</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/04/24/guid-guide-part-one.aspx#10298969</link><pubDate>Mon, 30 Apr 2012 05:16:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10298969</guid><dc:creator>Birthday paradox</dc:creator><description>&lt;p&gt;I had a colleague who was concerned about GUID collisions, which prompted me to write this explanation:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://ralphbecket.blogspot.com.au/2011/09/birthday-paradox-and-guid-collisions.html"&gt;ralphbecket.blogspot.com.au/.../birthday-paradox-and-guid-collisions.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The punchline is that you can assign about a million billion GUIDs *before* you hit a one in a billion chance of a collision.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10298969" width="1" height="1"&gt;</description></item><item><title>re: GUID Guide, part one</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/04/24/guid-guide-part-one.aspx#10298712</link><pubDate>Sat, 28 Apr 2012 12:40:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10298712</guid><dc:creator>carlos</dc:creator><description>&lt;p&gt;@Gabe: I was in the USA a couple of weeks ago and, unfamiliar with the coins, grumbled to my brother that the dime must be the only coin in the world that doesn&amp;#39;t state how much it&amp;#39;s worth (i.e. ten cents).&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t realise it was a currency unit, but now I do. &amp;nbsp;Cheers!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10298712" width="1" height="1"&gt;</description></item><item><title>re: GUID Guide, part one</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/04/24/guid-guide-part-one.aspx#10298658</link><pubDate>Sat, 28 Apr 2012 03:26:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10298658</guid><dc:creator>Gabe</dc:creator><description>&lt;p&gt;Phoog: Actually, the American currency system was designed with four units: dollars, dismes, cents, and milles, according to the Coinage Act of 1792. Note that the &amp;#39;s&amp;#39; was soon dropped from &amp;#39;disme&amp;#39;. No &amp;quot;disme&amp;quot; coin was ever minted, but there was a &amp;quot;half disme&amp;quot; for a while. The first 10-cent coins had no denomination printed on them (they were silver and silver coins were not required to show their denomination), and later ones had the denomination printed as &amp;quot;one dime&amp;quot;.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t believe any coin was ever minted in milles, and in fact the only place the denomination is commonly used is for taxes. There was a 5 mil coin, but its denomination was &amp;quot;half cent&amp;quot;.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10298658" width="1" height="1"&gt;</description></item><item><title>re: GUID Guide, part one</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/04/24/guid-guide-part-one.aspx#10298505</link><pubDate>Fri, 27 Apr 2012 15:30:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10298505</guid><dc:creator>Phoog</dc:creator><description>&lt;p&gt;I note that the name of the US currency subdivision is &amp;quot;cent&amp;quot;, not &amp;quot;penny&amp;quot;. &amp;nbsp;The name &amp;quot;penny&amp;quot; is commonly used for the coin, but its proper name is &amp;quot;cent&amp;quot;. &amp;nbsp;Interestingly, the American currency system was designed with three units, by analogy with pounds, shillings, and pence; these units are dollars, dimes, and cents. &amp;nbsp;This distinction lived on for some time, at least theoretically: I&amp;#39;ve seen an invoice form from the 19th century with columns for dollars, dimes, and cents. &amp;nbsp;This also explains why the US dime says &amp;quot;one dime&amp;quot; rather than &amp;quot;ten cents&amp;quot;.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10298505" width="1" height="1"&gt;</description></item><item><title>re: GUID Guide, part one</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/04/24/guid-guide-part-one.aspx#10298453</link><pubDate>Fri, 27 Apr 2012 13:28:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10298453</guid><dc:creator>GUID wasting on a massive scale.</dc:creator><description>&lt;p&gt;If you want a random record from an SQL Server table, you need to use TOP 1 and ORDER BY NEWID(). (RAND returns the same value for each record in the select.) Does this mean I generate and waste thousands of GUIDs every time? There&amp;#39;s only a finite number of them available.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10298453" width="1" height="1"&gt;</description></item><item><title>re: GUID Guide, part one</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/04/24/guid-guide-part-one.aspx#10298413</link><pubDate>Fri, 27 Apr 2012 10:43:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10298413</guid><dc:creator>CodeInChaos</dc:creator><description>&lt;p&gt;You also forgot to mention that `Guid.NewGuid` is the finest cryptographic random number generator available in .net :P&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10298413" width="1" height="1"&gt;</description></item></channel></rss>