<?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 Lukas&#039; Weblog</title>
	<atom:link href="http://lukas-prokop.at/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://lukas-prokop.at/blog</link>
	<description>tail -f /var/log/web</description>
	<lastBuildDate>Tue, 06 Dec 2011 18:00:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on The top 10 signs you&#8217;re a computer scientist by meisterluk</title>
		<link>http://lukas-prokop.at/blog/2011/12/the-top-10-signs-youre-a-computer-scientist/#comment-512</link>
		<dc:creator>meisterluk</dc:creator>
		<pubDate>Tue, 06 Dec 2011 18:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=2190#comment-512</guid>
		<description>@Ax Yeah, I have also thought of that. However, I did not want to leave out the &quot;10&lt;sub&gt;2&lt;/sub&gt;&quot; argument and keep the list to 10 elements ;-)
@Nathan Yes, you are right. That&#039;s nicer :-) &#8594; fixed</description>
		<content:encoded><![CDATA[<p>@Ax Yeah, I have also thought of that. However, I did not want to leave out the &#8220;10<sub>2</sub>&#8221; argument and keep the list to 10 elements <img src='http://lukas-prokop.at/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
@Nathan Yes, you are right. That&#8217;s nicer <img src='http://lukas-prokop.at/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  &rarr; fixed</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The top 10 signs you&#8217;re a computer scientist by Nathan</title>
		<link>http://lukas-prokop.at/blog/2011/12/the-top-10-signs-youre-a-computer-scientist/#comment-509</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Sun, 04 Dec 2011 03:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=2190#comment-509</guid>
		<description>I expected a list with 10&lt;sub&gt;2&lt;/sub&gt; elements.</description>
		<content:encoded><![CDATA[<p>I expected a list with 10<sub>2</sub> elements.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The top 10 signs you&#8217;re a computer scientist by Ax</title>
		<link>http://lukas-prokop.at/blog/2011/12/the-top-10-signs-youre-a-computer-scientist/#comment-506</link>
		<dc:creator>Ax</dc:creator>
		<pubDate>Sat, 03 Dec 2011 17:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=2190#comment-506</guid>
		<description>I was expecting the list to use a zero-based index.</description>
		<content:encoded><![CDATA[<p>I was expecting the list to use a zero-based index.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Gastronomy #fail by Frédéric Gierlinger</title>
		<link>http://lukas-prokop.at/blog/2011/08/gastronomy-fail/#comment-474</link>
		<dc:creator>Frédéric Gierlinger</dc:creator>
		<pubDate>Tue, 25 Oct 2011 10:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=2034#comment-474</guid>
		<description>It is the same as with the &quot;ping&quot; command. If a ping fails, you cannot know if there is a problem with the sender or with the receiver or even both. So probably the gastronomy does not fail,mbut the sender? :P

BTW nice new blog design (only saw it now because I got a little lazy reading your blog)</description>
		<content:encoded><![CDATA[<p>It is the same as with the &#8220;ping&#8221; command. If a ping fails, you cannot know if there is a problem with the sender or with the receiver or even both. So probably the gastronomy does not fail,mbut the sender? <img src='http://lukas-prokop.at/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>BTW nice new blog design (only saw it now because I got a little lazy reading your blog)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python wants to become one-based? by MeisterLuk</title>
		<link>http://lukas-prokop.at/blog/2011/09/python-wants-to-become-one-based/#comment-439</link>
		<dc:creator>MeisterLuk</dc:creator>
		<pubDate>Mon, 12 Sep 2011 22:48:35 +0000</pubDate>
		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=2054#comment-439</guid>
		<description>@karl well, the &quot;zeroth&quot; number is exactly what we consider to be the &quot;first&quot; number by convention. In an ordered list of numbers like (7, 8, 9), we call 7 to be the &quot;first&quot; number, but with the rise of popularity of the C programming language &quot;zero&quot; became the actual &quot;first&quot; number by convention. In natural languages, we keep on naming it the &quot;first&quot; number.

As most of the people pointed out, there are no major mathematical explanations.

As far as &quot;range(min, max) vs range(include, exclude)&quot; is concerned, I think the latter is more handy than the first. Your mentioned example &quot;range(1, len(seq))&quot; is one of those. But we have to define some parameters: Where do we use the range? For iteration? For defining an abstract slicing object? For iteration like &quot;for (i=0; i&lt;3; i++)&quot; I always prefer to use &quot;&lt;&quot; and an (incremented max)-value condition. For slicing, it really does not matter. In case of python, you generally need such a definition, if you have a length in mind; nothing else (python only has foreach loops). If you have to think of a starting and ending index, you will have to convert your internal representation in your brain of the range to indizes. It&#039;s more comfortable to just write &quot;from 0 to length&quot;.

In context of included/excluded, I also enjoyed Tim Peter&#039;s articles.

mail.python.org/pipermail/python-list/2000-October/637704.html
(sorry, for the missing link. I hate Wordpress so much for that problem)

You are absolutely right. Its a matter of convention and it&#039;s most important to be consistent.</description>
		<content:encoded><![CDATA[<p>@karl well, the &#8220;zeroth&#8221; number is exactly what we consider to be the &#8220;first&#8221; number by convention. In an ordered list of numbers like (7, 8, 9), we call 7 to be the &#8220;first&#8221; number, but with the rise of popularity of the C programming language &#8220;zero&#8221; became the actual &#8220;first&#8221; number by convention. In natural languages, we keep on naming it the &#8220;first&#8221; number.</p>
<p>As most of the people pointed out, there are no major mathematical explanations.</p>
<p>As far as &#8220;range(min, max) vs range(include, exclude)&#8221; is concerned, I think the latter is more handy than the first. Your mentioned example &#8220;range(1, len(seq))&#8221; is one of those. But we have to define some parameters: Where do we use the range? For iteration? For defining an abstract slicing object? For iteration like &#8220;for (i=0; i&lt;3; i++)&#8221; I always prefer to use &#8220;<&#8221; and an (incremented max)-value condition. For slicing, it really does not matter. In case of python, you generally need such a definition, if you have a length in mind; nothing else (python only has foreach loops). If you have to think of a starting and ending index, you will have to convert your internal representation in your brain of the range to indizes. It&#8217;s more comfortable to just write &#8220;from 0 to length&#8221;.</p>
<p>In context of included/excluded, I also enjoyed Tim Peter&#8217;s articles.</p>
<p>mail.python.org/pipermail/python-list/2000-October/637704.html<br />
(sorry, for the missing link. I hate WordPress so much for that problem)</p>
<p>You are absolutely right. Its a matter of convention and it&#8217;s most important to be consistent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python wants to become one-based? by Karl</title>
		<link>http://lukas-prokop.at/blog/2011/09/python-wants-to-become-one-based/#comment-438</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Sun, 11 Sep 2011 18:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=2054#comment-438</guid>
		<description>You&#039;re probably right with those mathematical reasons. Consistency is also important I agree.

But from usability point of view: what the hell is a &quot;zeroth&quot; number? There is no such thing. And people starting to program are puzzled about the index &quot;0&quot; for the first item, the item number *one*. This *is* also some kind of inconsistency.

If a language is one-based, I personally find &quot;range(1, len(seq))&quot; *including* the last index perfectly intuitively. I never got used to those weird index calculations where &quot;range(x,y)&quot; does *not* include y: I wrote &quot;y&quot; in the second parameter! Why the hell should the result *not* include &quot;y&quot; as well?

So there are reasons for the current situation. But there are also perfectly logical reasons for another situation. This is a matter of convention.</description>
		<content:encoded><![CDATA[<p>You&#8217;re probably right with those mathematical reasons. Consistency is also important I agree.</p>
<p>But from usability point of view: what the hell is a &#8220;zeroth&#8221; number? There is no such thing. And people starting to program are puzzled about the index &#8220;0&#8243; for the first item, the item number *one*. This *is* also some kind of inconsistency.</p>
<p>If a language is one-based, I personally find &#8220;range(1, len(seq))&#8221; *including* the last index perfectly intuitively. I never got used to those weird index calculations where &#8220;range(x,y)&#8221; does *not* include y: I wrote &#8220;y&#8221; in the second parameter! Why the hell should the result *not* include &#8220;y&#8221; as well?</p>
<p>So there are reasons for the current situation. But there are also perfectly logical reasons for another situation. This is a matter of convention.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python wants to become one-based? by MeisterLuk</title>
		<link>http://lukas-prokop.at/blog/2011/09/python-wants-to-become-one-based/#comment-437</link>
		<dc:creator>MeisterLuk</dc:creator>
		<pubDate>Sat, 10 Sep 2011 12:57:35 +0000</pubDate>
		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=2054#comment-437</guid>
		<description>@nodh I am pretty sure you are right. Guido pointed out that he does not want another backwards incompatible release. For me, I wanted to point out why one-based python would be bad.</description>
		<content:encoded><![CDATA[<p>@nodh I am pretty sure you are right. Guido pointed out that he does not want another backwards incompatible release. For me, I wanted to point out why one-based python would be bad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python wants to become one-based? by nodh</title>
		<link>http://lukas-prokop.at/blog/2011/09/python-wants-to-become-one-based/#comment-436</link>
		<dc:creator>nodh</dc:creator>
		<pubDate>Sat, 10 Sep 2011 12:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=2054#comment-436</guid>
		<description>I think thats a joke.</description>
		<content:encoded><![CDATA[<p>I think thats a joke.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Mein PHP-Denken by Lukas&#8217; Weblog &#187; Blog Archive &#187; Programming criticism</title>
		<link>http://lukas-prokop.at/blog/2008/08/mein-php-denken/#comment-169</link>
		<dc:creator>Lukas&#8217; Weblog &#187; Blog Archive &#187; Programming criticism</dc:creator>
		<pubDate>Thu, 21 Jul 2011 10:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=364#comment-169</guid>
		<description>[...] Sämtliche aktuelle Kritik konnte wiederlegt werden. Aber hat jemand eine Lösung für eine der Fragen? Update: mitsuhiko hat einen genialen Beitrag zu [...] </description>
		<content:encoded><![CDATA[<p>[...] Sämtliche aktuelle Kritik konnte wiederlegt werden. Aber hat jemand eine Lösung für eine der Fragen? Update: mitsuhiko hat einen genialen Beitrag zu [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Big Bang Theory Relationship Diagram by MeisterLuk</title>
		<link>http://lukas-prokop.at/blog/2011/06/the-big-bang-theory-relationship-diagram/#comment-434</link>
		<dc:creator>MeisterLuk</dc:creator>
		<pubDate>Mon, 27 Jun 2011 14:09:17 +0000</pubDate>
		<guid isPermaLink="false">http://lukas-prokop.at/blog/?p=1967#comment-434</guid>
		<description>@flo thx, great work :-)</description>
		<content:encoded><![CDATA[<p>@flo thx, great work <img src='http://lukas-prokop.at/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

