<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Equivalence</title>
	<atom:link href="http://equivalence.co.uk/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://equivalence.co.uk</link>
	<description>Technical Blog for Software Developers</description>
	<lastBuildDate>Sat, 17 Mar 2012 10:28:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on dynamic queries with LINQ by DanJosef</title>
		<link>http://equivalence.co.uk/archives/819/comment-page-1#comment-1322</link>
		<dc:creator>DanJosef</dc:creator>
		<pubDate>Sat, 17 Mar 2012 10:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=819#comment-1322</guid>
		<description>Yeah it&#039;s removing the Type parameters for some reason...  

Sorry about that -- feel free to email me at the associated address if it&#039;s not clear.</description>
		<content:encoded><![CDATA[<p>Yeah it&#8217;s removing the Type parameters for some reason&#8230;  </p>
<p>Sorry about that &#8212; feel free to email me at the associated address if it&#8217;s not clear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on dynamic queries with LINQ by DanJosef</title>
		<link>http://equivalence.co.uk/archives/819/comment-page-1#comment-1321</link>
		<dc:creator>DanJosef</dc:creator>
		<pubDate>Sat, 17 Mar 2012 10:26:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=819#comment-1321</guid>
		<description>Strange...  The code I pasted is missing the Type parameters...  Trying again..

        private static Expression GetEqualsExpr(ParameterExpression param,
                                            String property,
                                            TColumn value)
        {
            Expression prop = Expression.Property(param, property);
            Expression val = Expression.Constant(value);
            return Expression.Equal(prop, val);
        }

        public static Expression&lt;Func&gt; GetWhereAndLambda(Dictionary filters)</description>
		<content:encoded><![CDATA[<p>Strange&#8230;  The code I pasted is missing the Type parameters&#8230;  Trying again..</p>
<p>        private static Expression GetEqualsExpr(ParameterExpression param,<br />
                                            String property,<br />
                                            TColumn value)<br />
        {<br />
            Expression prop = Expression.Property(param, property);<br />
            Expression val = Expression.Constant(value);<br />
            return Expression.Equal(prop, val);<br />
        }</p>
<p>        public static Expression&lt;Func&gt; GetWhereAndLambda(Dictionary filters)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on dynamic queries with LINQ by DanJosef</title>
		<link>http://equivalence.co.uk/archives/819/comment-page-1#comment-1320</link>
		<dc:creator>DanJosef</dc:creator>
		<pubDate>Sat, 17 Mar 2012 10:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=819#comment-1320</guid>
		<description>I&#039;ve been looking into this for 3 months and this is the first article that started to make sense.

I think that you can make it even more powerful using Type parameters for the Type of object you are filtering... So, e.g., the GetEquals method becomes something like:


        private Expression GetEqualsExpr(ParameterExpression param,
                                            String property,
                                            TColumn value)
        {
            Expression prop = Expression.Property(param, property);
            Expression val = Expression.Constant(value);
            return Expression.Equal(prop, val);
        }

signature for GetWhereLambda becomes something like:

public static Expression&lt;Func&gt; GetWhereAndLambda

Thank you!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been looking into this for 3 months and this is the first article that started to make sense.</p>
<p>I think that you can make it even more powerful using Type parameters for the Type of object you are filtering&#8230; So, e.g., the GetEquals method becomes something like:</p>
<p>        private Expression GetEqualsExpr(ParameterExpression param,<br />
                                            String property,<br />
                                            TColumn value)<br />
        {<br />
            Expression prop = Expression.Property(param, property);<br />
            Expression val = Expression.Constant(value);<br />
            return Expression.Equal(prop, val);<br />
        }</p>
<p>signature for GetWhereLambda becomes something like:</p>
<p>public static Expression&lt;Func&gt; GetWhereAndLambda</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on idiot’s guide to linux on amazon ec2 – part 2 by Set up NginX + Thin + Rails on EC2 &#171; reterwebber</title>
		<link>http://equivalence.co.uk/archives/1578/comment-page-1#comment-1319</link>
		<dc:creator>Set up NginX + Thin + Rails on EC2 &#171; reterwebber</dc:creator>
		<pubDate>Fri, 02 Mar 2012 06:52:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1578#comment-1319</guid>
		<description>[...] How to install thin and Nginx on EC2: http://equivalence.co.uk/archives/1578 [...]</description>
		<content:encoded><![CDATA[<p>[...] How to install thin and Nginx on EC2: http://equivalence.co.uk/archives/1578 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JavaScript media player by Catherine</title>
		<link>http://equivalence.co.uk/archives/1194/comment-page-1#comment-1318</link>
		<dc:creator>Catherine</dc:creator>
		<pubDate>Wed, 08 Feb 2012 17:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1194#comment-1318</guid>
		<description>Hi,

Thanks for such a great player! I really like the playlist feature, is tricky if existent in yahoo media player. Yours is quite complex in how much it can do, but also very easy to customize. Kudos!

I&#039;m wondering if there is way to have several playlist boxes on one page, such as if I am demo&#039;ing sample songs from two different bands and want them clumped each in their own box, per band. 

When I code it as two different  div&#039;s, the JS still automatically takes the second list of song links and puts them into the first playlist. 

[Showing example for now at: http://jazzman.ipsumwebdesign.com/demos/ . Source code shows that there are two &quot;myplayer&quot; div&#039;s.]

Thoughts or workarounds? Thanks very much!
-Catherine</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for such a great player! I really like the playlist feature, is tricky if existent in yahoo media player. Yours is quite complex in how much it can do, but also very easy to customize. Kudos!</p>
<p>I&#8217;m wondering if there is way to have several playlist boxes on one page, such as if I am demo&#8217;ing sample songs from two different bands and want them clumped each in their own box, per band. </p>
<p>When I code it as two different  div&#8217;s, the JS still automatically takes the second list of song links and puts them into the first playlist. </p>
<p>[Showing example for now at: <a href="http://jazzman.ipsumwebdesign.com/demos/" rel="nofollow">http://jazzman.ipsumwebdesign.com/demos/</a> . Source code shows that there are two "myplayer" div's.]</p>
<p>Thoughts or workarounds? Thanks very much!<br />
-Catherine</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on idiot&#8217;s guide to linux on amazon ec2 &#8211; part 1 by Mohamad</title>
		<link>http://equivalence.co.uk/archives/1521/comment-page-1#comment-1317</link>
		<dc:creator>Mohamad</dc:creator>
		<pubDate>Sun, 05 Feb 2012 21:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1521#comment-1317</guid>
		<description>Thanks for this post. I&#039;m trying to make the most of it, but I don&#039;t think it&#039;s &quot;dummy&quot; enough. I could not follow steps E and F for adding a new user. I&#039;m not sure what you mean by &quot;Rename the file ~/.ssh/id_dsa.pub to ~/.ssh/authorized_keys&quot;; also, I can&#039;t figure out how to download the generated key file to my machine. I tried several commands, but nothing worked.</description>
		<content:encoded><![CDATA[<p>Thanks for this post. I&#8217;m trying to make the most of it, but I don&#8217;t think it&#8217;s &#8220;dummy&#8221; enough. I could not follow steps E and F for adding a new user. I&#8217;m not sure what you mean by &#8220;Rename the file ~/.ssh/id_dsa.pub to ~/.ssh/authorized_keys&#8221;; also, I can&#8217;t figure out how to download the generated key file to my machine. I tried several commands, but nothing worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on abolish the switch statement by Nice code and switches &#171; NRGsoft</title>
		<link>http://equivalence.co.uk/archives/99/comment-page-1#comment-1316</link>
		<dc:creator>Nice code and switches &#171; NRGsoft</dc:creator>
		<pubDate>Tue, 10 Jan 2012 11:48:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=99#comment-1316</guid>
		<description>[...] I had a thought while I was working on the game Alone In the Office (my LudumDare 22 entry). I wonder if I can make this code look more beautiful. So I went through and refactored the code. Okay, so I cleaned it up. There was cleaning to be done. But, I wondered if I could find any useful tid-bits of information about what other people do to keep code nice. I found this article and I noticed B. B is to return the immediate value of a boolean test instead of testing if the boolean test returned true or false. Mind you, in certain cases you DO need to check. In the cases of some of my code, I did not. B is the one thing I apparently overlooked in programming over the years. It&#8217;s interesting how I never noticed it to say the least. Anyways, upon reading to the end I find this article. [...]</description>
		<content:encoded><![CDATA[<p>[...] I had a thought while I was working on the game Alone In the Office (my LudumDare 22 entry). I wonder if I can make this code look more beautiful. So I went through and refactored the code. Okay, so I cleaned it up. There was cleaning to be done. But, I wondered if I could find any useful tid-bits of information about what other people do to keep code nice. I found this article and I noticed B. B is to return the immediate value of a boolean test instead of testing if the boolean test returned true or false. Mind you, in certain cases you DO need to check. In the cases of some of my code, I did not. B is the one thing I apparently overlooked in programming over the years. It&#8217;s interesting how I never noticed it to say the least. Anyways, upon reading to the end I find this article. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 7 ways to write beautiful code by Nice code and switches &#171; NRGsoft</title>
		<link>http://equivalence.co.uk/archives/101/comment-page-1#comment-1315</link>
		<dc:creator>Nice code and switches &#171; NRGsoft</dc:creator>
		<pubDate>Tue, 10 Jan 2012 10:47:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=101#comment-1315</guid>
		<description>[...] could find any useful tid-bits of information about what other people do to keep code nice. I found this article and I noticed B. B is to return the immediate value of a boolean test instead of testing if the [...]</description>
		<content:encoded><![CDATA[<p>[...] could find any useful tid-bits of information about what other people do to keep code nice. I found this article and I noticed B. B is to return the immediate value of a boolean test instead of testing if the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on idiot’s guide to linux on amazon ec2 – part 2 by raj</title>
		<link>http://equivalence.co.uk/archives/1578/comment-page-1#comment-1313</link>
		<dc:creator>raj</dc:creator>
		<pubDate>Mon, 26 Dec 2011 22:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1578#comment-1313</guid>
		<description>Hi Gregg,

Nice tutorial.. how did you get the apt-get to work on amazon linux ami!!</description>
		<content:encoded><![CDATA[<p>Hi Gregg,</p>
<p>Nice tutorial.. how did you get the apt-get to work on amazon linux ami!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on the real geek test by Joe</title>
		<link>http://equivalence.co.uk/archives/1297/comment-page-1#comment-1304</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Fri, 16 Dec 2011 21:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.equivalence.co.uk/?p=1297#comment-1304</guid>
		<description>I tend to live on model, anyone claiming to be a geek usually ain&#039;t.  I don&#039;t know what this makes me.  Maybe I&#039;ve stumbled into some sort of paradox.  I&#039;d like to examine further, if anyone has comments pls post.  There must be some sort of evidence leaning in one direction or another, right?</description>
		<content:encoded><![CDATA[<p>I tend to live on model, anyone claiming to be a geek usually ain&#8217;t.  I don&#8217;t know what this makes me.  Maybe I&#8217;ve stumbled into some sort of paradox.  I&#8217;d like to examine further, if anyone has comments pls post.  There must be some sort of evidence leaning in one direction or another, right?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

