<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/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>Frans Bouma's blog - All Comments</title><link>http://weblogs.asp.net/fbouma/default.aspx</link><description>Generator.CreateCoolTool();</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: The Firefox 3.5 fiasco</title><link>http://weblogs.asp.net/fbouma/archive/2009/07/09/the-firefox-3-5-fiasco.aspx#7143979</link><pubDate>Thu, 09 Jul 2009 20:29:12 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7143979</guid><dc:creator>FransBouma</dc:creator><description>&lt;p&gt;@mac user: it's a normal font? I wasn't aware that this page uses a stylesheet with a font that wasn't available anywhere else. (I based the style on an existing style of this blogengine here at asp.net). I'll check if I can change it. &lt;/p&gt;
&lt;p&gt;FF 3.5 seems to suffer from the slowdown delay only on windows indeed. Which is makes it even more weird why on windows NSS uses these odd file-system based randomization. Anyway, I installed v3.0 over 3.5 and everything is back to normal&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7143979" width="1" height="1"&gt;</description></item><item><title>re: The Firefox 3.5 fiasco</title><link>http://weblogs.asp.net/fbouma/archive/2009/07/09/the-firefox-3-5-fiasco.aspx#7143969</link><pubDate>Thu, 09 Jul 2009 19:46:01 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7143969</guid><dc:creator>A Mac user</dc:creator><description>&lt;p&gt;FireFox 3.5 seems just fine on the systems I use(WinXP and MacOSX).&lt;/p&gt;
&lt;p&gt;Btw, why do you have that awful Windows font on your page? Did you know that for those(like me right now) that don&amp;#39;t have that Cambria or what-ever it is called, the page is unreadably compressed.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7143969" width="1" height="1"&gt;</description></item><item><title>re: The Firefox 3.5 fiasco</title><link>http://weblogs.asp.net/fbouma/archive/2009/07/09/the-firefox-3-5-fiasco.aspx#7143908</link><pubDate>Thu, 09 Jul 2009 15:30:04 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7143908</guid><dc:creator>Bryan</dc:creator><description>&lt;p&gt;Wow. &amp;nbsp;Just, wow. &amp;nbsp;And you know what? &amp;nbsp;I just started Firefox and watched it in the Resource Monitor. &amp;nbsp;Sure enough, it appeared to touch every single damn file in the fonts folder.&lt;/p&gt;
&lt;p&gt;This is a completely amateur mistake. &amp;nbsp;How can we trust a security system that is built by somebody making mistakes like THIS?&lt;/p&gt;
&lt;p&gt;My God...&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7143908" width="1" height="1"&gt;</description></item><item><title>re: The Firefox 3.5 fiasco</title><link>http://weblogs.asp.net/fbouma/archive/2009/07/09/the-firefox-3-5-fiasco.aspx#7143893</link><pubDate>Thu, 09 Jul 2009 14:11:56 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7143893</guid><dc:creator>Jeff</dc:creator><description>&lt;p&gt;No such problems on the Mac version. There was some weirdness caused by the Google toolbar, but uninstalling and reinstalling that cleared it up.&lt;/p&gt;
&lt;p&gt;Weird though that they&amp;#39;d end up taking a step back like that.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7143893" width="1" height="1"&gt;</description></item><item><title>re: The Firefox 3.5 fiasco</title><link>http://weblogs.asp.net/fbouma/archive/2009/07/09/the-firefox-3-5-fiasco.aspx#7143882</link><pubDate>Thu, 09 Jul 2009 13:18:48 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7143882</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;I hate to sound like an MS fanboy, but if you haven&amp;#39;t used it yet, IE8 is a great offering. It&amp;#39;s much faster than FF3 (not sure how it compares to FF3.5), has some nice additions compared to IE7, and the developer tools are great! They&amp;#39;re *almost* as good as FireBug, but are a lot easier to use.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7143882" width="1" height="1"&gt;</description></item><item><title>re: Linq: Beware of the 'Access to modified closure' demon</title><link>http://weblogs.asp.net/fbouma/archive/2009/06/25/linq-beware-of-the-access-to-modified-closure-demon.aspx#7138430</link><pubDate>Thu, 02 Jul 2009 06:29:51 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7138430</guid><dc:creator>FransBouma</dc:creator><description>&lt;p&gt;@Mike: It doesn't reset the reference, as Where returns a new IQueryable&amp;lt;T&amp;gt; :) so after an iteration of that loop, 'customers' _was_ an IQueryable&amp;lt;Customer&amp;gt; and still _is_ an IQueryable&amp;lt;Customer&amp;gt; however, the contents of that object has changed: it now contains a call to Where() with as input the filterlambda and the original customers IQueryable. It's a fluent interface :)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7138430" width="1" height="1"&gt;</description></item><item><title>re: Linq: Beware of the 'Access to modified closure' demon</title><link>http://weblogs.asp.net/fbouma/archive/2009/06/25/linq-beware-of-the-access-to-modified-closure-demon.aspx#7138316</link><pubDate>Thu, 02 Jul 2009 00:18:42 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7138316</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;@Frans&lt;/p&gt;
&lt;p&gt;Ok, maybe I&amp;#39;m missing something else about the code then. I know that the query execution is deferred until the &amp;#39;customers&amp;#39; is enumerated, but doesn&amp;#39;t:&lt;/p&gt;
&lt;p&gt;foreach(var search in searchCriteria) &amp;nbsp;&lt;/p&gt;
&lt;p&gt;{ &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;customers = customers.Where(p =&amp;gt; p.Country.Contains(search)); &amp;nbsp;&lt;/p&gt;
&lt;p&gt;} &lt;/p&gt;
&lt;p&gt;just keep resetting the customers reference? It doesn&amp;#39;t look like it is appending to a list of customers there.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7138316" width="1" height="1"&gt;</description></item><item><title>re: Linq: Beware of the 'Access to modified closure' demon</title><link>http://weblogs.asp.net/fbouma/archive/2009/06/25/linq-beware-of-the-access-to-modified-closure-demon.aspx#7138116</link><pubDate>Wed, 01 Jul 2009 17:17:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7138116</guid><dc:creator>FransBouma</dc:creator><description>&lt;p&gt;@Mike: that's because of the 'deferred execution' of a linq query: it's executed when it's enumerated. So when the query returns an enumerable, it's executed when it's enumerated, otherwise it's executed directly. Yes, this sucks, but that's how MS designed it, unfortunately. &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7138116" width="1" height="1"&gt;</description></item><item><title>re: Linq: Beware of the 'Access to modified closure' demon</title><link>http://weblogs.asp.net/fbouma/archive/2009/06/25/linq-beware-of-the-access-to-modified-closure-demon.aspx#7138001</link><pubDate>Wed, 01 Jul 2009 14:12:25 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7138001</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;I don&amp;#39;t understand this statement:&lt;/p&gt;
&lt;p&gt;&amp;quot;As there are no more values, the loop ends and the query is executed.&amp;quot;&lt;/p&gt;
&lt;p&gt;This must be something I don&amp;#39;t understand about Linq...why isn&amp;#39;t the query executed during every loop interation? Why is it that the loop ends and then the query is executed? If after the Linq statement, you did:&lt;/p&gt;
&lt;p&gt;customers.Count, wouldn&amp;#39;t that only work if the query was executed inside the loop?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7138001" width="1" height="1"&gt;</description></item><item><title>re: Linq: Beware of the 'Access to modified closure' demon</title><link>http://weblogs.asp.net/fbouma/archive/2009/06/25/linq-beware-of-the-access-to-modified-closure-demon.aspx#7134758</link><pubDate>Fri, 26 Jun 2009 09:34:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7134758</guid><dc:creator>FransBouma</dc:creator><description>&lt;p&gt;@Think: that's what I mentioned in the first line of the post. &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7134758" width="1" height="1"&gt;</description></item></channel></rss>