<?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>re: My 24 hours with Chrome</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/09/04/my-24-hours-with-chrome.aspx#4517</link><pubDate>Fri, 05 Sep 2008 16:13:42 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4517</guid><dc:creator>Ricardo Villamil</dc:creator><description>&lt;p&gt;Hi Bill, very interesting point of view, I had never thought of Google that way, but I think you are 100% correct, I will start paying more attention to what info I give them.&lt;/p&gt;
&lt;p&gt;Ricardo.&lt;/p&gt;
&lt;p&gt;P/S: I must say I love your articles but the white on black is almost painful to read. &amp;nbsp;And it&amp;#39;s even more painful when you&amp;#39;re finished on your site and go back to the &amp;#39;standard&amp;#39; black over white ;)&lt;/p&gt;&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4517" width="1" height="1"&gt;</description></item><item><title>re: My 24 hours with Chrome</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/09/04/my-24-hours-with-chrome.aspx#4516</link><pubDate>Fri, 05 Sep 2008 16:09:13 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4516</guid><dc:creator>Richard Reukema</dc:creator><description>&lt;p&gt;Bill - I could not have said it better! &amp;nbsp;My take on this is the same, but I take another angle. &amp;nbsp;If Google is making so much money from user profiles - why aren&amp;#39; the users benefiting? &amp;nbsp;Sure we get the service, but without my data, Google makes nothing! &amp;nbsp;I understand that if Google does not make money, we don&amp;#39;t get the service. &amp;nbsp;But is Google hurting for coin? &amp;nbsp;How much money do you need to have to be successful? &amp;nbsp;Why not allocated a % back to those that have made you successful? &amp;nbsp;How about being a good corporate citizen? &amp;nbsp;&lt;/p&gt;&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4516" width="1" height="1"&gt;</description></item><item><title>Second thoughts on Google's Chrome browser</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/09/04/my-24-hours-with-chrome.aspx#4513</link><pubDate>Fri, 05 Sep 2008 13:56:18 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4513</guid><dc:creator>Scott's musings</dc:creator><description>&lt;p&gt;So, we&amp;amp;#39;re 3 days into Chrome and 2 major themes have emerged: 1. The G-man is watching There are&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4513" width="1" height="1"&gt;</description></item><item><title>re: My 24 hours with Chrome</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/09/04/my-24-hours-with-chrome.aspx#4510</link><pubDate>Fri, 05 Sep 2008 11:49:47 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4510</guid><dc:creator>Peter</dc:creator><description>&lt;p&gt;&amp;gt;&amp;gt; The EULA has another clause (which Google is updating, but I haven&amp;#39;t seen the updates) that gives Google a non-exclusive license to all content created with Chrome.&lt;/p&gt;
&lt;p&gt;But this was just a mistake. Take it a bit more easy, please.&lt;/p&gt;&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4510" width="1" height="1"&gt;</description></item><item><title>re: My 24 hours with Chrome</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/09/04/my-24-hours-with-chrome.aspx#4508</link><pubDate>Fri, 05 Sep 2008 02:02:51 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4508</guid><dc:creator>Si</dc:creator><description>&lt;p&gt;Fair enough, technically I find it very fast and for an early beta, well polished.&lt;/p&gt;
&lt;p&gt;Your EULA concerns are valid and should be addressed. However, given their massive reach (a link is now on the main google search page) I really wonder how much of a problem it will be for them?&lt;/p&gt;
&lt;p&gt;Remember also it&amp;#39;s FOSS and a BSD license at that, so if enough of the tech-savy EULA angst continues, then what&amp;#39;s there to stop a fork?&lt;/p&gt;
&lt;p&gt;From reading the PR releases, so consume with a large grain of salt, they don&amp;#39;t seem too concerned with dominating browser market share, just getting better web tech out to the market, hence the liberal licensing. I certainly don&amp;#39;t have a problem with that!&lt;/p&gt;
&lt;p&gt;Competition is good. IE 7 &amp;amp; 8 probably wouldn&amp;#39;t exist (yet) if it weren&amp;#39;t for Firefox. Personally I find their approach a refreshing and welcome change of tactics from the standard Microsoft model.&lt;/p&gt;
&lt;p&gt;Regardless, it will be interesting to see how much traction they will get:&lt;/p&gt;
&lt;p&gt;&lt;a target="_new" href="http://www.w3schools.com/browsers/browsers_stats.asp" rel="nofollow"&gt;www.w3schools.com/.../browsers_stats.asp&lt;/a&gt;&lt;/p&gt;&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4508" width="1" height="1"&gt;</description></item><item><title>re: My 24 hours with Chrome</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/09/04/my-24-hours-with-chrome.aspx#4507</link><pubDate>Fri, 05 Sep 2008 01:30:14 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4507</guid><dc:creator>AdamC</dc:creator><description>&lt;p&gt;It also indexes every page you visit, including all https traffic. Yeah, there is &amp;quot;incognito&amp;quot; mode, but still, it is https..&lt;/p&gt;
&lt;p&gt;&lt;a target="_new" href="http://www.tgdaily.com/content/view/39176/108/" rel="nofollow"&gt;www.tgdaily.com/.../108&lt;/a&gt;&lt;/p&gt;&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4507" width="1" height="1"&gt;</description></item><item><title>re: Code from Lightning Talk: Compiler Tricks</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/08/30/code-from-lightning-talk-compiler-tricks.aspx#4479</link><pubDate>Wed, 03 Sep 2008 12:14:06 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4479</guid><dc:creator>wwagner</dc:creator><description>&lt;p&gt;Mark,&lt;/p&gt;
&lt;p&gt;Object Initializers are a compile time feature in C# 3.0. That means you can use it in projects that target the 2.0 framework. The framework targeting feature ensures that you don't use features in the newer versions of the framework that may not be installed on your target machine.&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4479" width="1" height="1"&gt;</description></item><item><title>re: Euler Problem 10</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/08/31/euler-problem-10.aspx#4478</link><pubDate>Wed, 03 Sep 2008 10:25:02 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4478</guid><dc:creator>Slobodan Filipovic</dc:creator><description>&lt;p&gt;futher improvements&lt;/p&gt;
&lt;p&gt;instead of &lt;/p&gt;
&lt;p&gt;var range = Enumerable.Range(2, int.MaxValue-1);&lt;/p&gt;
&lt;p&gt;you can loop union of 2 + odd numbers &lt;/p&gt;
&lt;p&gt;odd numbers :&lt;/p&gt;
&lt;p&gt;Enumerable.Range(1,int.MaxValue-)/2).Select(x =&amp;gt; &amp;nbsp;2 * x + 1);&lt;/p&gt;&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4478" width="1" height="1"&gt;</description></item><item><title>re: Code from Lightning Talk: Compiler Tricks</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/08/30/code-from-lightning-talk-compiler-tricks.aspx#4474</link><pubDate>Tue, 02 Sep 2008 18:49:36 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4474</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;I didn&amp;#39;t realize you could initialize objects in this manner until seeing your post. I fired up Visual Studio and gave it a shot. You mentioned &amp;quot;new&amp;quot; object initializer syntax in your post, but I compiled under .NET Framework 2.0 in VS 2008 and it appeared to work. Am I missing something? When was this feature introduced?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4474" width="1" height="1"&gt;</description></item><item><title>re: Euler Problem 10</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/08/31/euler-problem-10.aspx#4449</link><pubDate>Sun, 31 Aug 2008 23:52:07 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4449</guid><dc:creator>george byrkit</dc:creator><description>&lt;p&gt;Bravo, Bill!&lt;/p&gt;
&lt;p&gt;And using this technique, (TakeWhile vs FindAll), Euler #7, my version, runs in approx .29 seconds (vs 20 seconds with my original attempt). &amp;nbsp;That&amp;#39;s ~10 times faster than Bill&amp;#39;s original implementation (about 2.5 seconds on my machine.) &amp;nbsp;I had only tried a simple attempt, as work is a bit overbearing at the moment.&lt;/p&gt;
&lt;p&gt;I always learn a lot from Bill and his books. &amp;nbsp;It&amp;#39;s wonderful to be able to work interactively on such problems with a &amp;#39;master&amp;#39; and improve one&amp;#39;s own skills (such as via a website like this). &amp;nbsp;I knew the flaw in my original approach (creating a new list after traversing the entire KnownPrimes list, for each potential prime being tested).&lt;/p&gt;
&lt;p&gt;One of the more difficult things for me, an &amp;#39;only programmer&amp;#39; at my employer (and 57, with many years of programming experience), is who are my peers, and how do I reach (out to) them to discuss the problems/issues that I run into, and how do I solve these problems? &amp;nbsp;It&amp;#39;s so wonderful to have people like Bill in the Ann Arbor (and online) programming community. &amp;nbsp;The Ann Arbor Computing Society, some of the .Net user groups in the area, and contacts made thru both types of groups, constitute the peers that I have access to.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll certainly add TakeWhile and extending TrueForAll (and other methods) to my &amp;#39;bag of tricks&amp;#39;.&lt;/p&gt;&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4449" width="1" height="1"&gt;</description></item><item><title>re: Euler Problem 9</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/08/28/euler-problem-9.aspx#4416</link><pubDate>Fri, 29 Aug 2008 12:37:31 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4416</guid><dc:creator>Octavio Hernandez</dc:creator><description>&lt;p&gt;Bill,&lt;/p&gt;
&lt;p&gt;The nature of this problem and of your and Patrick&amp;#39;s solutions closely resemble those of a problem/solutions I posted in my blog some time ago:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://geeks.ms/blogs/ohernandez/archive/2007/04/27/should-we-learn-a-new-way-of-writing-loops.aspx"&gt;geeks.ms/.../should-we-learn-a-new-way-of-writing-loops.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Octavio&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4416" width="1" height="1"&gt;</description></item><item><title>Los problemas de Euler y LINQ</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/08/14/euler-problem-7.aspx#4415</link><pubDate>Fri, 29 Aug 2008 12:22:32 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4415</guid><dc:creator>Sobre C#, LINQ y algo más...</dc:creator><description>&lt;p&gt;Revisando nuevos enlaces aparecidos durante agosto en la p&amp;#225;gina de C# de MSDN, he dado con el blog de&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4415" width="1" height="1"&gt;</description></item><item><title>Los problemas de Euler y LINQ</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/08/28/euler-problem-9.aspx#4414</link><pubDate>Fri, 29 Aug 2008 12:22:31 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4414</guid><dc:creator>Sobre C#, LINQ y algo más...</dc:creator><description>&lt;p&gt;Revisando nuevos enlaces aparecidos durante agosto en la p&amp;#225;gina de C# de MSDN, he dado con el blog de&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4414" width="1" height="1"&gt;</description></item><item><title>re: Euler Problem 9</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/08/28/euler-problem-9.aspx#4413</link><pubDate>Fri, 29 Aug 2008 11:17:15 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4413</guid><dc:creator>Koen</dc:creator><description>&lt;p&gt;I guess you want to add A, B and C in the last line rather than multiplying them...&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4413" width="1" height="1"&gt;</description></item><item><title>Euler 10</title><link>http://srtsolutions.com/blogs/billwagner/archive/2008/08/14/euler-problem-7.aspx#4407</link><pubDate>Wed, 27 Aug 2008 13:24:13 GMT</pubDate><guid isPermaLink="false">727bb5a1-3d8b-4cbc-a411-ac1a71136f7d:4407</guid><dc:creator>Patrick Steele</dc:creator><description>&lt;p&gt;After tackling number 9 yesterday , I thought I&amp;amp;#39;d do #10 real quick since it seemend pretty easy&lt;/p&gt;
&lt;img src="http://srtsolutions.com/aggbug.aspx?PostID=4407" width="1" height="1"&gt;</description></item></channel></rss>