<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.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>Granville Barnett - All Comments</title><link>http://msmvps.com/blogs/gbarnett/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>heh..</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/09/20/experiment-using-a-dark-theme-in-vs-for-a-week.aspx#1688245</link><pubDate>Fri, 17 Apr 2009 03:13:29 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1688245</guid><dc:creator>DesFlestetymn</dc:creator><description>&lt;p&gt;nice, really nice!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1688245" width="1" height="1"&gt;</description></item><item><title>re: Data Structures and Algorithms book flying out (again!)</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1659006</link><pubDate>Thu, 08 Jan 2009 03:54:13 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1659006</guid><dc:creator>Granville Barnett</dc:creator><description>&lt;p&gt;Hi newbie (although I has a feeling thats not your name ;-)),&lt;/p&gt;
&lt;p&gt;All the source code for the book is the book itself. The examples given can be translated relatively friction free to your respective imperative language of choice. However, if you want an implementation then we have one on offer in the DSA CodePlex project - &lt;a rel="nofollow" target="_new" href="http://codeplex.com/dsa"&gt;http://codeplex.com/dsa&lt;/a&gt; which is all done in C#.&lt;/p&gt;
&lt;p&gt;HTH&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1659006" width="1" height="1"&gt;</description></item><item><title>re: Data Structures and Algorithms book flying out (again!)</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1658806</link><pubDate>Wed, 07 Jan 2009 18:43:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1658806</guid><dc:creator>newbie</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Where can you download the source code for the book?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1658806" width="1" height="1"&gt;</description></item><item><title>Dew Drop - January 7, 2009 | Alvin Ashcraft's Morning Dew</title><link>http://msmvps.com/blogs/gbarnett/archive/2009/01/06/a-tool-i-just-couldn-t-dream-of-living-without.aspx#1658758</link><pubDate>Wed, 07 Jan 2009 15:14:18 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1658758</guid><dc:creator>Dew Drop - January 7, 2009 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dew Drop - January 7, 2009 | Alvin Ashcraft&amp;#39;s Morning Dew&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1658758" width="1" height="1"&gt;</description></item><item><title>re: Data Structures and Algorithms book flying out (again!)</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1657652</link><pubDate>Wed, 24 Dec 2008 11:32:07 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657652</guid><dc:creator>Granville Barnett</dc:creator><description>&lt;p&gt;Hi Phil,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll recheck the algorithm when I have some time (which is hard to find these days).&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657652" width="1" height="1"&gt;</description></item><item><title>Data Structures and Algorithms</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1657647</link><pubDate>Wed, 24 Dec 2008 10:22:29 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657647</guid><dc:creator>Think Before Coding</dc:creator><description>&lt;p&gt;I had a peek through Jon Skeet’s blog this morning at a free eBook called Data Structures and Algorithms by Granville Barnett and Luca Del Tongo. The book is clear and presents the usual linked lists, trees, sets structures in a concise yet precise&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657647" width="1" height="1"&gt;</description></item><item><title>re: Data Structures and Algorithms book flying out (again!)</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1657594</link><pubDate>Tue, 23 Dec 2008 21:46:55 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657594</guid><dc:creator>Phil Duby</dc:creator><description>&lt;p&gt;Chapter 5: Sets; Intersection&lt;/p&gt;
&lt;p&gt;While traversing the smallerset, there is no need to check if the smallerset contains the item. &amp;nbsp;That is already known, or it would not have been found during the traversal. &amp;nbsp;Syntax adjusted to use what this form allows.&lt;/p&gt;
&lt;p&gt;1) algorithm Intersection(set1, set2)&lt;/p&gt;
&lt;p&gt;2) Pre: set1, and set2 not 1 emptySet&lt;/p&gt;
&lt;p&gt;3) intersection, smallerSet and largerSet are sets&lt;/p&gt;
&lt;p&gt;3) Post: An intersection of set1, and set2 has been created&lt;/p&gt;
&lt;p&gt;4) if set1.Count &amp;lt; set2.Count&lt;/p&gt;
&lt;p&gt;5) smallerSet is set1&lt;/p&gt;
&lt;p&gt;6) largerSet is set2&lt;/p&gt;
&lt;p&gt;7) else&lt;/p&gt;
&lt;p&gt;8) smallerSet is set2&lt;/p&gt;
&lt;p&gt;9) largerSet is set1&lt;/p&gt;
&lt;p&gt;10) end if&lt;/p&gt;
&lt;p&gt;11) foreach item in smallerSet&lt;/p&gt;
&lt;p&gt;12) if largerSet.Contains(item)&lt;/p&gt;
&lt;p&gt;13) intersection.Add(item)&lt;/p&gt;
&lt;p&gt;14) end if&lt;/p&gt;
&lt;p&gt;15) end foreach&lt;/p&gt;
&lt;p&gt;16) return intersection&lt;/p&gt;
&lt;p&gt;17) end Intersection&lt;/p&gt;
&lt;p&gt;Alternative, &lt;/p&gt;
&lt;p&gt;1) algorithm Intersection(set1, set2)&lt;/p&gt;
&lt;p&gt;2) Pre: set1, and set2 not 1 emptySet&lt;/p&gt;
&lt;p&gt;3) intersection is a set&lt;/p&gt;
&lt;p&gt;3) Post: An intersection of set1, and set2 has been created&lt;/p&gt;
&lt;p&gt;4) if set1.Count &amp;lt; set2.Count&lt;/p&gt;
&lt;p&gt;5) foreach item in set1&lt;/p&gt;
&lt;p&gt;6) if set2.Contains(item)&lt;/p&gt;
&lt;p&gt;7) intersection.Add(item)&lt;/p&gt;
&lt;p&gt;8) end if&lt;/p&gt;
&lt;p&gt;9) end foreach&lt;/p&gt;
&lt;p&gt;10) else&lt;/p&gt;
&lt;p&gt;11) foreach item in set2&lt;/p&gt;
&lt;p&gt;12) if set1.Contains(item)&lt;/p&gt;
&lt;p&gt;13) intersection.Add(item)&lt;/p&gt;
&lt;p&gt;14) end if&lt;/p&gt;
&lt;p&gt;15) end foreach&lt;/p&gt;
&lt;p&gt;16) end if&lt;/p&gt;
&lt;p&gt;17) return intersection&lt;/p&gt;
&lt;p&gt;18) end Intersection&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657594" width="1" height="1"&gt;</description></item><item><title>Dew Drop - December 22, 2008 | Alvin Ashcraft's Morning Dew</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1657452</link><pubDate>Mon, 22 Dec 2008 14:50:37 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657452</guid><dc:creator>Dew Drop - December 22, 2008 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dew Drop - December 22, 2008 | Alvin Ashcraft&amp;#39;s Morning Dew&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657452" width="1" height="1"&gt;</description></item><item><title>Dew Drop - December 19, 2008 | Alvin Ashcraft's Morning Dew</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/19/updated-version-of-the-free-data-structures-and-algorithms-book-available.aspx#1657252</link><pubDate>Fri, 19 Dec 2008 15:39:07 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657252</guid><dc:creator>Dew Drop - December 19, 2008 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dew Drop - December 19, 2008 | Alvin Ashcraft&amp;#39;s Morning Dew&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657252" width="1" height="1"&gt;</description></item><item><title>Arjan`s World    &amp;raquo; LINKBLOG for December 19, 2008</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/19/updated-version-of-the-free-data-structures-and-algorithms-book-available.aspx#1657250</link><pubDate>Fri, 19 Dec 2008 15:16:57 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657250</guid><dc:creator>Arjan`s World    » LINKBLOG for December 19, 2008</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Arjan`s World &amp;nbsp; &amp;nbsp;&amp;raquo; LINKBLOG for December 19, 2008&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657250" width="1" height="1"&gt;</description></item><item><title>Reflective Perspective - Chris Alcock  &amp;raquo; The Morning Brew #248</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/19/updated-version-of-the-free-data-structures-and-algorithms-book-available.aspx#1657207</link><pubDate>Fri, 19 Dec 2008 08:40:01 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657207</guid><dc:creator>Reflective Perspective - Chris Alcock  » The Morning Brew #248</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Reflective Perspective - Chris Alcock &amp;nbsp;&amp;raquo; The Morning Brew #248&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657207" width="1" height="1"&gt;</description></item><item><title>re: Data Structures and Algorithms book (free) first preview available!</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/08/27/data-structures-and-algorithms-book-free-first-preview-available.aspx#1656252</link><pubDate>Tue, 09 Dec 2008 10:22:19 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1656252</guid><dc:creator>Deepak Kumar</dc:creator><description>&lt;p&gt;Thanks 4 provide Data structures and Algorithms ebook&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1656252" width="1" height="1"&gt;</description></item><item><title>Dew Drop - November 11, 2008 | Alvin Ashcraft's Morning Dew</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/11/09/code-contracts-my-opinion-on-them-anyway.aspx#1653750</link><pubDate>Tue, 11 Nov 2008 13:42:07 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1653750</guid><dc:creator>Dew Drop - November 11, 2008 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dew Drop - November 11, 2008 | Alvin Ashcraft&amp;#39;s Morning Dew&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1653750" width="1" height="1"&gt;</description></item><item><title>re: Code Contracts – my opinion on them anyway...</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/11/09/code-contracts-my-opinion-on-them-anyway.aspx#1653707</link><pubDate>Tue, 11 Nov 2008 01:28:01 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1653707</guid><dc:creator>TraumaPony</dc:creator><description>&lt;p&gt;I agree. I&amp;#39;d definitely like to see it included in pre/post/invariant keywords like in Spec#, but for the time being, this is better than nothing.&lt;/p&gt;
&lt;p&gt;QUT HIGH FIVE&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1653707" width="1" height="1"&gt;</description></item><item><title>re: Design Patterns – Part 5 published</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/10/07/design-patterns-part-5-published.aspx#1650285</link><pubDate>Thu, 09 Oct 2008 10:51:50 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1650285</guid><dc:creator>Granville Barnett</dc:creator><description>&lt;p&gt;@Costin - no problems, I&amp;#39;m just glad someone finds them useful! ;-)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1650285" width="1" height="1"&gt;</description></item><item><title>re: Design Patterns – Part 5 published</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/10/07/design-patterns-part-5-published.aspx#1650277</link><pubDate>Thu, 09 Oct 2008 09:41:41 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1650277</guid><dc:creator>Costin</dc:creator><description>&lt;p&gt;I want to address you a personally &amp;quot;Thank you&amp;quot; for this series of articles. I am very interested about design patterns and how they can help building a great infrastructure and your articles couldn&amp;#39;t be more helpful.&lt;/p&gt;
&lt;p&gt;Thank you, and keep it up!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Costin&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1650277" width="1" height="1"&gt;</description></item><item><title>Dew Drop &amp;ndash; September 30, 2008 (Evening Edition) | Alvin Ashcraft's Morning Dew</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/09/30/our-cries-have-finally-been-answered-then.aspx#1649325</link><pubDate>Wed, 01 Oct 2008 02:28:05 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1649325</guid><dc:creator>Dew Drop – September 30, 2008 (Evening Edition) | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dew Drop &amp;ndash; September 30, 2008 (Evening Edition) | Alvin Ashcraft&amp;#39;s Morning Dew&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1649325" width="1" height="1"&gt;</description></item><item><title>re: Results: Using a dark theme in VS for a week</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/09/26/results-using-a-dark-theme-in-vs-for-a-week.aspx#1649069</link><pubDate>Sat, 27 Sep 2008 23:26:18 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1649069</guid><dc:creator>Granville Barnett</dc:creator><description>&lt;p&gt;@Peter - Thanks, I&amp;#39;ll keep that in mind.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1649069" width="1" height="1"&gt;</description></item><item><title>re: Results: Using a dark theme in VS for a week</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/09/26/results-using-a-dark-theme-in-vs-for-a-week.aspx#1649068</link><pubDate>Sat, 27 Sep 2008 23:12:46 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1649068</guid><dc:creator>Peter</dc:creator><description>&lt;p&gt;I like a darker background; I&amp;#39;ve switched to a dark gray (not black) a while back. Since then I had to work with the default VS colors a few times and it felt like looking in the sun.&lt;/p&gt;
&lt;p&gt;If your eyes strain easily taking some lutein supplements can help.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1649068" width="1" height="1"&gt;</description></item><item><title>re: Results: Using a dark theme in VS for a week</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/09/26/results-using-a-dark-theme-in-vs-for-a-week.aspx#1649055</link><pubDate>Sat, 27 Sep 2008 14:09:01 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1649055</guid><dc:creator>Granville Barnett</dc:creator><description>&lt;p&gt;@Joe - I&amp;#39;ve never heard of it being possible, at least not with VS out of the box. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1649055" width="1" height="1"&gt;</description></item></channel></rss>