<?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 pko.ch</title>
	<atom:link href="http://pko.ch/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://pko.ch</link>
	<description>Reflections about reflection</description>
	<lastBuildDate>Sun, 29 Jan 2012 23:25:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Taming git by pkoch</title>
		<link>http://pko.ch/2012/01/28/taming-git/comment-page-1/#comment-98</link>
		<dc:creator>pkoch</dc:creator>
		<pubDate>Sun, 29 Jan 2012 23:25:17 +0000</pubDate>
		<guid isPermaLink="false">http://pko.ch/?p=90#comment-98</guid>
		<description>@Rendeiro: None at all. It is, indeed, quite a different storage philosophy. I don&#039;t know much about Mercurial&#039;s storage internals (I think it&#039;s purely diff based). However, Mercurial&#039;s API is quite sane. When I needed some hardcore node action, I just whipped out python and &lt;code&gt;import mercurial&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p>@Rendeiro: None at all. It is, indeed, quite a different storage philosophy. I don&#8217;t know much about Mercurial&#8217;s storage internals (I think it&#8217;s purely diff based). However, Mercurial&#8217;s API is quite sane. When I needed some hardcore node action, I just whipped out python and <code>import mercurial</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Taming git by Joaquim Rendeiro</title>
		<link>http://pko.ch/2012/01/28/taming-git/comment-page-1/#comment-97</link>
		<dc:creator>Joaquim Rendeiro</dc:creator>
		<pubDate>Sun, 29 Jan 2012 09:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://pko.ch/?p=90#comment-97</guid>
		<description>I recently read something about one of the main differences between Mercurial and Git: the commit graph is not a blob, but something more transparent (and I guess more &quot;unix-y&quot;)... Did that make any difference in your switch from HG to Git?</description>
		<content:encoded><![CDATA[<p>I recently read something about one of the main differences between Mercurial and Git: the commit graph is not a blob, but something more transparent (and I guess more &#8220;unix-y&#8221;)&#8230; Did that make any difference in your switch from HG to Git?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Restored access to mail.google.com by Susanne @ Linksys Factory</title>
		<link>http://pko.ch/2008/05/11/restored-access-to-mailgooglecom/comment-page-1/#comment-87</link>
		<dc:creator>Susanne @ Linksys Factory</dc:creator>
		<pubDate>Wed, 03 Nov 2010 02:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://pko.ch/?p=11#comment-87</guid>
		<description>Hello there, just wandered by.  I have a Linksys site.  Lots of information out there.  Not quite what I was looking for, but nice site.  Have a good day.</description>
		<content:encoded><![CDATA[<p>Hello there, just wandered by.  I have a Linksys site.  Lots of information out there.  Not quite what I was looking for, but nice site.  Have a good day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selective access to mail.google.com by pkoch</title>
		<link>http://pko.ch/2008/05/09/selective-access-to-mailgooglecom/comment-page-1/#comment-82</link>
		<dc:creator>pkoch</dc:creator>
		<pubDate>Tue, 01 Sep 2009 23:39:20 +0000</pubDate>
		<guid isPermaLink="false">http://pko.ch/?p=10#comment-82</guid>
		<description>This was long ago. The current crash has nothing to do with my problems.</description>
		<content:encoded><![CDATA[<p>This was long ago. The current crash has nothing to do with my problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Selective access to mail.google.com by Ian Samson</title>
		<link>http://pko.ch/2008/05/09/selective-access-to-mailgooglecom/comment-page-1/#comment-81</link>
		<dc:creator>Ian Samson</dc:creator>
		<pubDate>Tue, 01 Sep 2009 20:17:24 +0000</pubDate>
		<guid isPermaLink="false">http://pko.ch/?p=10#comment-81</guid>
		<description>It appears Google&#039;s GMail server has crashed. While I can traceroute and ping, any browser access to mail.google.com has vanished. This is utterly ridiculous! What happend??</description>
		<content:encoded><![CDATA[<p>It appears Google&#8217;s GMail server has crashed. While I can traceroute and ping, any browser access to mail.google.com has vanished. This is utterly ridiculous! What happend??</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on For those who don&#8217;t use SQL too much, just like me. by pkoch</title>
		<link>http://pko.ch/2008/06/17/for-those-who-dont-use-sql-too-much-just-like-me/comment-page-1/#comment-76</link>
		<dc:creator>pkoch</dc:creator>
		<pubDate>Thu, 19 Feb 2009 00:07:23 +0000</pubDate>
		<guid isPermaLink="false">http://pko.ch/?p=12#comment-76</guid>
		<description>Hmm. I&#039;ll run some benchmarks and post them.

About the style, it varies. NOT IN is sometimes more legible, sometimes it&#039;s NOT EXISTS.</description>
		<content:encoded><![CDATA[<p>Hmm. I&#8217;ll run some benchmarks and post them.</p>
<p>About the style, it varies. NOT IN is sometimes more legible, sometimes it&#8217;s NOT EXISTS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on For those who don&#8217;t use SQL too much, just like me. by André Restivo</title>
		<link>http://pko.ch/2008/06/17/for-those-who-dont-use-sql-too-much-just-like-me/comment-page-1/#comment-75</link>
		<dc:creator>André Restivo</dc:creator>
		<pubDate>Wed, 18 Feb 2009 00:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://pko.ch/?p=12#comment-75</guid>
		<description>Imagine this query from the link you gave above:

SELECT DISTINCT store_type FROM stores
  WHERE NOT EXISTS (SELECT * FROM cities_stores
                    WHERE cities_stores.store_type = stores.store_type);

For each line of the outer query the inner query has to be computed again because stores.store_type changes. Of course MySQL can have an intelligent caching mechanism, but if the number of stores is very big it won&#039;t be enough. If MySQL is really intelligent it will transform the query into something similar to what I proposed. I know for a fact that PostgreSQL doesn&#039;t like this type of queries very much.

In the example I wrote before. The inner query has to be performed only once and then it&#039;s just a matter of using the index wisely.

Have you tried both approaches with some big chunks of data? You won&#039;t notice the difference with small tables.

IMHO I think that the NOT IN clause is easier to understand than the NOT EXISTS clause and also more elegant. But it&#039;s a matter of taste really ...</description>
		<content:encoded><![CDATA[<p>Imagine this query from the link you gave above:</p>
<p>SELECT DISTINCT store_type FROM stores<br />
  WHERE NOT EXISTS (SELECT * FROM cities_stores<br />
                    WHERE cities_stores.store_type = stores.store_type);</p>
<p>For each line of the outer query the inner query has to be computed again because stores.store_type changes. Of course MySQL can have an intelligent caching mechanism, but if the number of stores is very big it won&#8217;t be enough. If MySQL is really intelligent it will transform the query into something similar to what I proposed. I know for a fact that PostgreSQL doesn&#8217;t like this type of queries very much.</p>
<p>In the example I wrote before. The inner query has to be performed only once and then it&#8217;s just a matter of using the index wisely.</p>
<p>Have you tried both approaches with some big chunks of data? You won&#8217;t notice the difference with small tables.</p>
<p>IMHO I think that the NOT IN clause is easier to understand than the NOT EXISTS clause and also more elegant. But it&#8217;s a matter of taste really &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on For those who don&#8217;t use SQL too much, just like me. by pkoch</title>
		<link>http://pko.ch/2008/06/17/for-those-who-dont-use-sql-too-much-just-like-me/comment-page-1/#comment-74</link>
		<dc:creator>pkoch</dc:creator>
		<pubDate>Wed, 18 Feb 2009 00:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://pko.ch/?p=12#comment-74</guid>
		<description>Hmm, that&#039;s contradictory to my MySQL experience. How/where did you observe that behaviour?</description>
		<content:encoded><![CDATA[<p>Hmm, that&#8217;s contradictory to my MySQL experience. How/where did you observe that behaviour?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on For those who don&#8217;t use SQL too much, just like me. by André Restivo</title>
		<link>http://pko.ch/2008/06/17/for-those-who-dont-use-sql-too-much-just-like-me/comment-page-1/#comment-73</link>
		<dc:creator>André Restivo</dc:creator>
		<pubDate>Tue, 17 Feb 2009 23:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://pko.ch/?p=12#comment-73</guid>
		<description>select * from category
where category.id not in (select cat_id from cat_post where post_id = $the_post_id)

This way seems easier and it&#039;s probably faster as DB usually don&#039;t cope well with &#039;exists&#039; clauses.</description>
		<content:encoded><![CDATA[<p>select * from category<br />
where category.id not in (select cat_id from cat_post where post_id = $the_post_id)</p>
<p>This way seems easier and it&#8217;s probably faster as DB usually don&#8217;t cope well with &#8216;exists&#8217; clauses.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 02:30:00&#124;pkoch@Kochs-PowerBook:~$ history &#124; awk &#8216;{print $2}&#8217; &#124; sort &#124; uniq -c &#124; sort -rn &#124; head by Manuel Parente</title>
		<link>http://pko.ch/2008/04/13/023000pkochkochs-powerbook-history-awk-print-2-sort-uniq-c-sort-rn-head/comment-page-1/#comment-71</link>
		<dc:creator>Manuel Parente</dc:creator>
		<pubDate>Wed, 29 Oct 2008 18:26:33 +0000</pubDate>
		<guid isPermaLink="false">http://pko.ch/?p=8#comment-71</guid>
		<description>Hello,

 157 say
  90 cd
  76 ls
  32 chmod
   9 sudo
   9 rm
   9 ping
   9 man
   8 ipconfig
   7 php



That&#039;s what i use Terminal for.... :P</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p> 157 say<br />
  90 cd<br />
  76 ls<br />
  32 chmod<br />
   9 sudo<br />
   9 rm<br />
   9 ping<br />
   9 man<br />
   8 ipconfig<br />
   7 php</p>
<p>That&#8217;s what i use Terminal for&#8230;. <img src='http://pko.ch/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

