<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Developer On Line - Latest Comments</title><link>http://dol.disqus.com/</link><description></description><atom:link href="https://dol.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Aug 2010 15:49:59 -0000</lastBuildDate><item><title>Re: Everybody Said Something, So Will I: Google Chrome!</title><link>http://developeronline.blogspot.com/2008/09/everybody-said-something-so-will-i.html#comment-65621932</link><description>&lt;p&gt;Thanks! We're very excited and humbled to see so many people writing in asking us to study their conditions. Happy and honored to be a part of this and work towards ending suffering. Thank YOU for thinking and blogging about this.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">of mesothelioma</dc:creator><pubDate>Sun, 01 Aug 2010 15:49:59 -0000</pubDate></item><item><title>Re: Everybody Said Something, So Will I: Google Chrome!</title><link>http://developeronline.blogspot.com/2008/09/everybody-said-something-so-will-i.html#comment-65574286</link><description>&lt;p&gt;Great to hear the articleof how things actually developed topup to the launch of the station. It seems that there was a lot of luck complicated.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">buy youtube views</dc:creator><pubDate>Sun, 01 Aug 2010 04:35:19 -0000</pubDate></item><item><title>Re: Perl by Example: English Dictionary In  22 Lines</title><link>http://developeronline.blogspot.com/2008/04/perl-by-example-english-dictionary-in.html#comment-65069529</link><description>&lt;p&gt;Perl is king when it comes to regexes.&lt;br&gt;Does anyone know if there's documentation anywhere on the princeton http public interface for wordnet, which would return xml or json?  For xhr purposes.  You can go to webwn but it returns html, and the html could change in the future (breaking one's regexes). &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philipmorant</dc:creator><pubDate>Thu, 29 Jul 2010 08:51:02 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-63768438</link><description>&lt;p&gt;Dijikstra's argument about why the array index should start at 0 instead of 1 is weak. I like his argument for denoting the sequence as a&amp;lt;=i&amp;lt;b, but="" his="" subsequent="" argument="" as="" to="" why="" the="" lower="" limit="" should="" be="" indexed="" zero="" boils="" down="" to="" the="" bogus="" claim="" that="" 0&amp;lt;="i&amp;amp;lt;N" is="" "nicer"="" than="" 1&amp;lt;="i&amp;amp;lt;N+1." using="" exactly="" this="" same="" approach,="" i="" can="" argue="" that="" when="" referencing="" the="" last="" element="" of="" an="" array="" x[n]="" is="" "nicer"="" than="" x[n-1]="" and="" so="" indexing="" should="" start="" at="" 1,="" not="" 0!="" programming,="" which="" is="" the="" whole="" point="" here,="" would="" unarguably="" be="" a="" bit="" simpler="" if="" array="" indexes="" started="" at="" 1.="" it's="" not="" a="" disaster="" that="" they="" instead="" start="" at="" 0,="" but="" drop="" the="" silly="" pretense="" that="" there="" is="" something="" mathematically="" proper="" about="" starting="" at="" 0.=""&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">GymRat</dc:creator><pubDate>Thu, 22 Jul 2010 15:44:53 -0000</pubDate></item><item><title>Re: Using Perl Against Facebook - Part I: Login</title><link>http://developeronline.blogspot.com/2008/10/using-perl-against-facebook-part-i.html#comment-58782127</link><description>&lt;p&gt;Would be nice to see a Perl program that could login to your account, and create facebook fanpages.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jerome Laramie</dc:creator><pubDate>Sat, 26 Jun 2010 17:03:52 -0000</pubDate></item><item><title>Re: Popular Demand: The Youtube Download PHP Scripts</title><link>http://developeronline.blogspot.com/2008/04/popular-demand-youtube-download-php.html#comment-58719265</link><description>&lt;p&gt;wrong Code.  Caz ur html code should be written in body section don't head section. Fro example.  &amp;lt;body&amp;gt;you html code&amp;lt;/body&amp;gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">shibbir</dc:creator><pubDate>Sat, 26 Jun 2010 02:09:43 -0000</pubDate></item><item><title>Re: Using Perl Against Facebook - Part II: Status Updates</title><link>http://developeronline.blogspot.com/2008/10/using-perl-against-facebook-part-ii.html#comment-49703251</link><description>&lt;p&gt;he i tryed to use your &lt;a href="http://Facebot.pm" rel="nofollow noopener" target="_blank" title="Facebot.pm"&gt;Facebot.pm&lt;/a&gt; bu it doesn't work.&lt;/p&gt;&lt;p&gt;i´m new in perl, so could you help me ??&lt;br&gt;this message I got:&lt;/p&gt;&lt;p&gt;Possible unintended interpolation of @mail in string at &lt;a href="http://fbot.pl" rel="nofollow noopener" target="_blank" title="fbot.pl"&gt;fbot.pl&lt;/a&gt; line 5.&lt;br&gt;Name "main::mail" used only once: possible typo at &lt;a href="http://fbot.pl" rel="nofollow noopener" target="_blank" title="fbot.pl"&gt;fbot.pl&lt;/a&gt; line 5.&lt;br&gt;Can't exec "del": No such file or directory at &lt;a href="http://Facebot.pm" rel="nofollow noopener" target="_blank" title="Facebot.pm"&gt;Facebot.pm&lt;/a&gt; line 37.&lt;br&gt;mkdir: temp: File exists&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">me</dc:creator><pubDate>Tue, 11 May 2010 08:18:16 -0000</pubDate></item><item><title>Re: The Fundamental Theorem Of Betting</title><link>http://developeronline.blogspot.com/2010/01/fundamental-theorem-of-betting.html#comment-47290245</link><description>&lt;p&gt;After reading a former article (&lt;a href="http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html)" rel="nofollow noopener" target="_blank" title="http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html)"&gt;http://developeronline.blog...&lt;/a&gt; I thought I would read a little more of this author's work to see if the articles were of the same quality (or lack thereof). While most of what I've seen is simply mindless drivel or personal opinions stated as fact, this article is actually quite interesting.&lt;/p&gt;&lt;p&gt;Amazingly, this article is pretty well DEAD on, with the exception that you'l quite often see odds where M &amp;gt; 1.0, a strategy that gives the IMPRESSION that the house will lose money, but that requires that the LEAST likely scenario happen, and pretty much EVERYONE to bet on it.&lt;/p&gt;&lt;p&gt;You can play the numbers around, but in all cases, the MOST you can stand to gain while covering your bets with other bets is depicted by the M value. Site 1 the largest possible gain is 8.28%, for site 2 you get only 7.73%. This is, of course, only if you placed your bets on the winning option, and only COVERED your bets with the other two.&lt;/p&gt;&lt;p&gt;Interestingly, you can fairly easily beat this system, taking higher risk, but normally coming out ahead. Eliminating the least likely ("draw" or X) option from site 1 raises M to 1.7704 and from site 2 to 1.7547.&lt;/p&gt;&lt;p&gt;You'll also notice that the less likely the outcome, the higher the odds. Since I don't really follow sports all that much, I would have put equal money on each team, with my money on Egypt on site 1, and on Nigeria on site 2. Outcome? I would have gained 45%. Had Nigeria won, I would have still come out with a 32.5% profit. And if it was a draw (the risky part) I would have been asking for a second mortgage. If only I were a betting man...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">md5sum</dc:creator><pubDate>Wed, 28 Apr 2010 17:47:15 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-47263094</link><description>&lt;p&gt;I've made a comment here that defines what Dijkstra was pointing out and the errors in this author's (NOT Dijkstra) explanation. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">md5sum</dc:creator><pubDate>Wed, 28 Apr 2010 14:56:09 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-47252455</link><description>&lt;p&gt;Before dismissing my comments as bunk, please READ the link referenced in the first paragraph of the author's work.&lt;/p&gt;&lt;p&gt;Dijkstra was simply implying that we should use ordinals in sequence from their most basic mathematical simplification, a fact that this author somehow MISSED apparently...&lt;/p&gt;&lt;p&gt;Fallacies:&lt;br&gt;All of the equations begins with 1, and end on 10. So, where index i = 0, 1 &amp;gt; i, making (1&amp;lt;=i) false.&lt;/p&gt;&lt;p&gt;Truth:&lt;br&gt;The proper equation should be 0 &amp;lt;= i &amp;lt; N, where N is the count of items in the array.&lt;/p&gt;&lt;p&gt;The Point:&lt;br&gt;1&amp;lt;=i&amp;lt;11 is not the most simplified version of the equation. The author of the article at least got the comparison symbols right... but that's all. The point was to mathematically simplify. So, to take what the author claims is correct (1&amp;lt;=i&amp;lt;11) and simplify, we can take the following step: 1 - 1 &amp;lt;= i - 1 &amp;lt; 11 - 1&lt;/p&gt;&lt;p&gt;Now we're left with 0 &amp;lt;= i &amp;lt; 10 which is what Dijkstra was wanting to see. Simplify your equations to make them readable and understandable. That's all Dijkstra wanted.&lt;/p&gt;&lt;p&gt;To QUOTE the article by Dijkstra referenced here "When dealing with a sequence of length N, the elements of which we wish to distinguish by subscript, the next vexing question is what subscript value to assign to its starting element. Adhering to convention a) yields, when starting with subscript 1, the subscript range 1 ≤ i &amp;lt; N+1; starting with 0, however, gives the nicer range 0 ≤  i &amp;lt; N. So let us let our ordinals start at zero: an element's ordinal (subscript) equals the number of elements preceding it in the sequence. And the moral of the story is that we had better regard —after all those centuries!— zero as a most natural number."&lt;/p&gt;&lt;p&gt;See that? 0 ≤  i &amp;lt; N? So after reading that article, THIS author somehow managed to write 4 equations using the SAME RANGE, which happen to NOT be the most simple of any possibility, then claim that ONE OF THOSE is what Dijkstra was talking about. The author of the current article missed the entire point of Dijkstra's statement. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">md5sum</dc:creator><pubDate>Wed, 28 Apr 2010 13:57:36 -0000</pubDate></item><item><title>Re: Greece Enters the Dark Ages</title><link>http://developeronline.blogspot.com/2008/09/greece-enters-dark-ages.html#comment-46509180</link><description>&lt;p&gt;I tried to give a complete picture of the huge scandal that is unfolding right now in Greece.&lt;br&gt;&lt;b&gt; &lt;a href="http://www.sixsingles.com/" rel="nofollow noopener" target="_blank" title="free dating sites"&gt;free dating&lt;/a&gt;&lt;/b&gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dating sites</dc:creator><pubDate>Sun, 25 Apr 2010 08:17:58 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-43634436</link><description>&lt;p&gt;Mikael, you're arguments are not bad, but not sufficient. I'm not really convinced.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bit Master</dc:creator><pubDate>Wed, 07 Apr 2010 06:25:32 -0000</pubDate></item><item><title>Re: Catalan Numbers, Dyck Words and Robots Climbing Stairs</title><link>http://developeronline.blogspot.com/2008/06/catalan-numbers-dyck-words-and-robots.html#comment-43461355</link><description>&lt;p&gt;Kudos to you! Great article!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Junjun</dc:creator><pubDate>Tue, 06 Apr 2010 03:32:37 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-40574961</link><description>&lt;p&gt;Not more, but the same: the beauty can be mathematically expressed.&lt;/p&gt;&lt;p&gt;When using a for loop to iterate over an array you specify a whole lot more information, and in more places, than when you use a foreach loop: the name of an index variable, the value it should start with, and explicit stop criterion, which usually involves the name of the variable, a comparison operation, and a primitive to get the last index element or the number elements of the array; and finally, the construct to produce, given the name of the array and the name of the index variable, the corresponding array value.  None of this is specified in a foreach loop.  Therefore, all of this is overspecific, at least in cases where i is not used within the loop other than to access the i-th value; all of it only serves as an oppurtunity to make mistakes - at least in cases where all you do with the for loop is to express a foreach loop.  This can be expressed by a program transformation that transforms such for loops into foreach loops.  Given a formal specification of the semantics of the language in question, you can prove that such a transformation strictly reduces the amount of information you give to the program with no change to the effect of the program.  Such conciseness is what mathematicians call elegance or beauty.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reinier_post</dc:creator><pubDate>Fri, 19 Mar 2010 14:26:07 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-40302851</link><description>&lt;p&gt;More coding beauty than mathematical. Surely?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gary Varga</dc:creator><pubDate>Thu, 18 Mar 2010 09:05:44 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-40292150</link><description>&lt;p&gt;Mathematical beauty is to use a foreach loop instead.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">reinier_post</dc:creator><pubDate>Thu, 18 Mar 2010 05:33:29 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-39624846</link><description>&lt;p&gt;Actually Mikael, you bought some pretty good arguments.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bit Master</dc:creator><pubDate>Sun, 14 Mar 2010 11:17:36 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-39622628</link><description>&lt;p&gt;Because stopwatches count how many seconds have passed since you started the timer, not the current second.&lt;br&gt;The years are the same.&lt;br&gt;The reason why 2000 is not in the third millenium is that in the 2000th year, 1999 years have passed, so the second millenium is not complete.&lt;br&gt;So don't confuse counting (that starts from 1, and expresses blocks of time that last 1 year), with measuring passed time (that expresses the number of finished blocks of 1 year).&lt;/p&gt;&lt;p&gt;And yes, v[0] is empty array (my mistake). I meant that the number between the brackets is the length, not the last element...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bit Master</dc:creator><pubDate>Sun, 14 Mar 2010 11:10:42 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-39621739</link><description>&lt;p&gt;Why must the sequence include the smallest natural number?&lt;/p&gt;&lt;p&gt;l -&amp;gt; array length&lt;br&gt;I don't see why this notation&lt;/p&gt;&lt;p&gt;[0;1] -&amp;gt; First two elements&lt;br&gt;[l-2;l-1] -&amp;gt; Last two elements&lt;br&gt;[0;l-1] -&amp;gt; whole array&lt;br&gt;[0;-1] -&amp;gt; Empty string&lt;/p&gt;&lt;p&gt;is any better than this notation&lt;/p&gt;&lt;p&gt;[1;2] -&amp;gt; First two elements&lt;br&gt;[l-1;l] -&amp;gt; Last two elements&lt;br&gt;[1;l] -&amp;gt; whole array&lt;br&gt;[1;0] -&amp;gt; Empty string&lt;/p&gt;&lt;p&gt;I think that index 0 should be used to count logical array length.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bit Master</dc:creator><pubDate>Sun, 14 Mar 2010 10:54:37 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-39621224</link><description>&lt;p&gt;At indexing from 1, the last element is length, which is a plus.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bit Master</dc:creator><pubDate>Sun, 14 Mar 2010 10:43:31 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-36072845</link><description>&lt;p&gt;BitMaster; -1? Whats that? Thats not even a natural number. It doesn't even exist. You fail to produce a empty set with the numbers available. You *CAN'T* even practically do it at all if you would have an unsigned integers (i.e. natural number, the reasonable choice for an index in an array). &lt;br&gt;That alone should remove any doubt about the correct choice.&lt;/p&gt;&lt;p&gt;Compare every kind of manipulation of indices, be it matrices in mathematics, or cropping and pasting with strings, and indexing from 0 is much more logical and consistent. The  code becomes much much more elegant. It is the most logical choice by far. &lt;br&gt;The only reason not to chose it is from historical reasons and misconceptions.&lt;/p&gt;&lt;p&gt;Oh and yes, an empty array would be v[0]. No one is arguing that. Do not mix up index with length.&lt;/p&gt;&lt;p&gt;We don't start our continuous stopwatches from 1.00. We start them from 0.00.  &lt;br&gt;We use a decimalsystem, we have ten numbers, 0,1,2,3,4,5,6,7,8,9. If you think our numbers range from 1-10, you are gravely mistaken. &lt;br&gt;Would you say the binary system contains the digits 1 and 10? No. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mikael</dc:creator><pubDate>Tue, 23 Feb 2010 09:16:37 -0000</pubDate></item><item><title>Re: Using Perl Against Facebook - Part I: Login</title><link>http://developeronline.blogspot.com/2008/10/using-perl-against-facebook-part-i.html#comment-35753957</link><description>&lt;p&gt;that should be "incorrect"&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ftumsh</dc:creator><pubDate>Sun, 21 Feb 2010 17:53:38 -0000</pubDate></item><item><title>Re: Using Perl Against Facebook - Part I: Login</title><link>http://developeronline.blogspot.com/2008/10/using-perl-against-facebook-part-i.html#comment-35753897</link><description>&lt;p&gt;Well, you are unable to connect to the server. Either the net connection is failing or the username/password is correct.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ftumsh</dc:creator><pubDate>Sun, 21 Feb 2010 17:52:20 -0000</pubDate></item><item><title>Re: Using Perl Against Facebook - Part I: Login</title><link>http://developeronline.blogspot.com/2008/10/using-perl-against-facebook-part-i.html#comment-35690683</link><description>&lt;p&gt;why i use your script and got an error: 500 Connect failed: connect: Connection timed out; Connection timed out&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mark</dc:creator><pubDate>Sun, 21 Feb 2010 01:38:54 -0000</pubDate></item><item><title>Re: Why The Array Index Should Start From 0</title><link>http://developeronline.blogspot.com/2008/04/why-array-index-should-start-from-0.html#comment-34271880</link><description>&lt;p&gt;So the justification for having arrays starts at 0 instead of 1 like 99,9999% of the humans on this planet would have done is&lt;/p&gt;&lt;p&gt;" The subsequence includes the smallest natural number, 0"&lt;/p&gt;&lt;p&gt;ho well...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mee</dc:creator><pubDate>Mon, 15 Feb 2010 10:47:06 -0000</pubDate></item></channel></rss>