<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://srtsolutions.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>Bill Blogs in C# - All Comments</title><link>http://srtsolutions.com/blogs/billwagner/default.aspx</link><description>Bill Wagner discusses C#, LINQ, and other items of interest</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Improved Search Engine Placement Using Unique Internet Business Training Program</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/03/19/do-i-write-software-at-home-like-i-write-at-work.aspx#3110</link><pubDate>Sat, 10 May 2008 01:51:17 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:3110</guid><dc:creator>Improved Search Engine Placement Using Unique Internet Business Training Program</dc:creator><description>&lt;p&gt;It\'s been really long since I started reading your posts and today I just want to say that your blog is great!&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=3110" width="1" height="1"&gt;</description></item><item><title>euler</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/03/28/notes-on-euler-problem-3.aspx#3025</link><pubDate>Tue, 29 Apr 2008 20:32:38 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:3025</guid><dc:creator>euler</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;euler&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=3025" width="1" height="1"&gt;</description></item><item><title>re: A Functional Programming Q &amp; A</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/04/23/a-functional-programming-q-amp-a.aspx#3023</link><pubDate>Tue, 29 Apr 2008 19:45:54 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:3023</guid><dc:creator>Dianne Marsh</dc:creator><description>&lt;p&gt;In Scala, you could do:&lt;/p&gt;
&lt;p&gt;val leftVector = Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9)&lt;/p&gt;
&lt;p&gt;val rightVector = Array(9, 8, 7, 6, 5, 4, 3, 2, 1, 0)&lt;/p&gt;
&lt;p&gt;val answer = &lt;/p&gt;
&lt;p&gt; &amp;nbsp; for ((v1, v2) &amp;lt;- leftVector zip rightVector)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; yield v1 + v2&lt;/p&gt;
&lt;p&gt;Likewise, the multiply just changes the yield statement to yield v1 * v2&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=3023" width="1" height="1"&gt;</description></item><item><title>re: A Functional Programming Q &amp; A</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/04/23/a-functional-programming-q-amp-a.aspx#3015</link><pubDate>Mon, 28 Apr 2008 15:25:46 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:3015</guid><dc:creator>Dustin Campbell</dc:creator><description>&lt;p&gt;Since IEnumerator&amp;lt;T&amp;gt; implements IDisposable, it&amp;#39;s probably a good practice to declare leftEnumerator and rightEnumerator inside using statements.&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=3015" width="1" height="1"&gt;</description></item><item><title>Hello World!</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/04/14/several-new-blogs-at-srt-solutions.aspx#3014</link><pubDate>Mon, 28 Apr 2008 15:15:34 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:3014</guid><dc:creator>//TODO</dc:creator><description>&lt;p&gt;Well it finally happened.&amp;amp;#160; First it was a subtle hint, &amp;amp;#8220;we&amp;amp;#8217;re giving you all blogs in&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=3014" width="1" height="1"&gt;</description></item><item><title>re: Project Euler problem 6</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/04/11/project-euler-problem-6.aspx#2741</link><pubDate>Sat, 12 Apr 2008 05:00:56 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:2741</guid><dc:creator>Francois Tanguay</dc:creator><description>&lt;p&gt;I know it probably isn&amp;#39;t as performant since we loop twice (althoug there is less instanciations), but I find the following approach easier to understand:&lt;/p&gt;
&lt;p&gt;int sum = Enumerable.Range(1, 100).Sum();&lt;/p&gt;
&lt;p&gt;int sumOfSquare = Enumerable.Range(1, 100).Select(i =&amp;gt; i * i).Sum();&lt;/p&gt;
&lt;p&gt;int diff = (sum * sum) - sumOfSquare;&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=2741" width="1" height="1"&gt;</description></item><item><title>http://srtsolutions.com/blogs/billwagner/archive/2007/10/31/the-c-team-and-habitat-for-humanity.aspx</title><link>http://srtsolutions.com/blogs/billwagner/archive/2007/10/31/the-c-team-and-habitat-for-humanity.aspx#2716</link><pubDate>Thu, 10 Apr 2008 16:24:49 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:2716</guid><dc:creator>http://srtsolutions.com/blogs/billwagner/archive/2007/10/31/the-c-team-and-habitat-for-humanity.aspx</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://srtsolutions.com/blogs/billwagner/archive/2007/10/31/the-c-team-and-habitat-for-humanity.aspx"&gt;srtsolutions.com/.../the-c-team-and-habitat-for-humanity.aspx&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=2716" width="1" height="1"&gt;</description></item><item><title>re: Euler Problem 5</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/04/08/euler-problem-5.aspx#2706</link><pubDate>Wed, 09 Apr 2008 11:59:54 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:2706</guid><dc:creator>george byrkit</dc:creator><description>&lt;p&gt;Dear Bill,&lt;/p&gt;
&lt;p&gt;The new listing format just drives my eyes crazy! &amp;nbsp;The effect of the alternating white with text and black bars to me seems difficult to read. &amp;nbsp;And with my &amp;#39;old eyes&amp;#39; and progressive bifocals, it seems to &amp;#39;swim&amp;#39; before my eyes. &amp;nbsp;I can imagine that it must be worse on a CRT than on an LCD panel?&lt;/p&gt;
&lt;p&gt;It&amp;#39;s a great series, btw!&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=2706" width="1" height="1"&gt;</description></item><item><title>re: Euler Problem 4: Finding Palindrome numbers</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/04/06/euler-problem-4-finding-palindrome-numbers.aspx#2679</link><pubDate>Tue, 08 Apr 2008 01:37:20 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:2679</guid><dc:creator>wwagner</dc:creator><description>&lt;p&gt;A couple folks asked if the Enumerable.Range() call should be Enumerable.Range(100,999) rather than Enumerable.Range(100,900.&lt;/p&gt;
&lt;p&gt;The second parameter on the API is the number of elements, not the ending value. So, to get values from 100 through 999, it's (100,900), not (100,999). Oh well.&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=2679" width="1" height="1"&gt;</description></item><item><title>re: Euler Problem 4: Finding Palindrome numbers</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/04/06/euler-problem-4-finding-palindrome-numbers.aspx#2678</link><pubDate>Tue, 08 Apr 2008 00:49:06 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:2678</guid><dc:creator>Joe</dc:creator><description>&lt;p&gt;Very elegant code. I especially like &amp;quot;orderby product descending&amp;quot;.&lt;/p&gt;
&lt;p&gt;BTW, shouldn&amp;#39;t the ranges go to 999?&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=2678" width="1" height="1"&gt;</description></item><item><title>re: Euler Problem 4: Finding Palindrome numbers</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/04/06/euler-problem-4-finding-palindrome-numbers.aspx#2677</link><pubDate>Mon, 07 Apr 2008 22:38:08 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:2677</guid><dc:creator>Kyle</dc:creator><description>&lt;p&gt;On the way home tonight, I realized that it&amp;#39;s impossible to reverse engineer the reverse-then-add algorithm effectively (due to it basically not being a 1-to-1 function). Hence, strike my comments!&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=2677" width="1" height="1"&gt;</description></item><item><title>re: Euler Problem 4: Finding Palindrome numbers</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/04/06/euler-problem-4-finding-palindrome-numbers.aspx#2676</link><pubDate>Mon, 07 Apr 2008 21:24:00 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:2676</guid><dc:creator>Kyle</dc:creator><description>&lt;p&gt;Whoops, forgot to mention that you keep doing the reverse then add part and it&amp;#39;ll eventually converge (for most numbers).&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=2676" width="1" height="1"&gt;</description></item><item><title>re: Euler Problem 4: Finding Palindrome numbers</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/04/06/euler-problem-4-finding-palindrome-numbers.aspx#2675</link><pubDate>Mon, 07 Apr 2008 21:22:32 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:2675</guid><dc:creator>Kyle</dc:creator><description>&lt;p&gt;Cool little algorithm. Something interesting to add to it might be finding the first number of the reverse-then-add* series to produce the palindrome. I imagine that would be significantly harder, though!&lt;/p&gt;
&lt;p&gt;* note: I think this is also called the 196-algorithm. It&amp;#39;s the algorithm where you take a number A, reverse it to make B, then add A and B together. This algorithm is known to produce a palindrome for most numbers very quickly. 196 was the first number found (I believe) for which it does not produce a palindrome, as far as we can tell, ever. I say as far as we can tell, because I don&amp;#39;t believe it has even been inductively shown yet; we just haven&amp;#39;t been able to find the end of the series, if there is one!&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=2675" width="1" height="1"&gt;</description></item><item><title>re: Euler Problem 4: Finding Palindrome numbers</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/04/06/euler-problem-4-finding-palindrome-numbers.aspx#2674</link><pubDate>Mon, 07 Apr 2008 16:49:00 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:2674</guid><dc:creator>James Curran</dc:creator><description>&lt;p&gt;&amp;gt;&amp;gt; Enumerable.Range(100, 900)&lt;/p&gt;
&lt;p&gt;Shouldn&amp;#39;t those be Enumerable.Range(100, 999)&lt;/p&gt;
&lt;p&gt;??&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=2674" width="1" height="1"&gt;</description></item><item><title>Project Euler in Ruby</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/03/25/project-euler-problem-1.aspx#2667</link><pubDate>Sun, 06 Apr 2008 18:06:50 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:2667</guid><dc:creator>Lazy Evaluation</dc:creator><description>&lt;p&gt;I&amp;amp;#39;m taking Bill Wagner up on his Project Euler challenge , but in Ruby. I&amp;amp;#39;ve secretly wanted&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=2667" width="1" height="1"&gt;</description></item></channel></rss>