<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Algorithm.co.il &#187; rants</title>
	<atom:link href="http://www.algorithm.co.il/blogs/category/rants/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.algorithm.co.il/blogs</link>
	<description>Algorithms, for the heck of it</description>
	<lastBuildDate>Tue, 21 Jun 2011 20:37:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Debugging in IE.</title>
		<link>http://www.algorithm.co.il/blogs/programming/debugging-in-ie/</link>
		<comments>http://www.algorithm.co.il/blogs/programming/debugging-in-ie/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 20:12:49 +0000</pubDate>
		<dc:creator>lorg</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://www.algorithm.co.il/blogs/?p=257</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.algorithm.co.il/blogs/programming/debugging-in-ie/' addthis:title='Debugging in IE.'  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>I did something I shouldn&#8217;t have done: from JavaScript, I appendChildNodes()-ed some text and an img to an existing img. I apologize. Firefox told me it was OK. To put it more accurately, Firefox didn&#8217;t tell me anything, and just &#8230; <a href="http://www.algorithm.co.il/blogs/programming/debugging-in-ie/">Continue reading <span class="meta-nav">&#8594;</span></a><div class="addthis_toolbox addthis_default_style " addthis:url='http://www.algorithm.co.il/blogs/programming/debugging-in-ie/' addthis:title='Debugging in IE.' ><a href="http://addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<p>I did something I shouldn&#8217;t have done: from JavaScript, I appendChildNodes()-ed some text and an img to an existing img. I apologize. Firefox told me it was OK. To put it more accurately, Firefox didn&#8217;t tell me anything, and just didn&#8217;t show the text and the img, which was what I wanted it to do. IE really didn&#8217;t like it.</p>
<p>Finding out what IE was so upset about wasn&#8217;t fun, as I didn&#8217;t have a debugger for IE. So I started looking for one. Not wanting to install visual studio just for that, I installed(*) &#8220;Microsoft Script Debugger&#8221;, which is one old piece of software. It&#8217;s so old that its readme states that it works with IE 4. At least it works. It lacks watches and some other features you&#8217;d expect from a debugger (which Firebug has!), but it got the job done. Mostly.</p>
<p>I wasted about 40 minutes on that issue.</p>
<p>* Installing &#8220;Microsoft Script Debugger&#8221;, contrary to what some my tell you, <strong>does not require installing old office versions</strong>. I followed a download link on Microsoft&#8217;s website, and got it. It does require some voodoo if you&#8217;re running Vista, but nothing too hard to handle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.algorithm.co.il/blogs/programming/debugging-in-ie/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Python Rant</title>
		<link>http://www.algorithm.co.il/blogs/programming/a-python-rant/</link>
		<comments>http://www.algorithm.co.il/blogs/programming/a-python-rant/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 01:46:22 +0000</pubDate>
		<dc:creator>lorg</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[bisect]]></category>
		<category><![CDATA[heapq]]></category>
		<category><![CDATA[list-functions]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://www.algorithm.co.il/blogs/?p=197</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.algorithm.co.il/blogs/programming/a-python-rant/' addthis:title='A Python Rant'  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Last night I encountered yet again one of Python&#8217;s annoyances. The annoyance I&#8217;m referring to is the lack of string like functions for lists. Trivial examples include find() and rfind(). Before you mention index though, it&#8217;s important to point out &#8230; <a href="http://www.algorithm.co.il/blogs/programming/a-python-rant/">Continue reading <span class="meta-nav">&#8594;</span></a><div class="addthis_toolbox addthis_default_style " addthis:url='http://www.algorithm.co.il/blogs/programming/a-python-rant/' addthis:title='A Python Rant' ><a href="http://addthis.com/bookmark.php?v=250&#38;username=xa-4d2b47597ad291fb" class="addthis_button_compact">Share</a><span class="addthis_separator">&#124;</span><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a></div>]]></description>
			<content:encoded><![CDATA[<p>Last night I encountered yet again one of Python&#8217;s annoyances.<br />
The annoyance I&#8217;m referring to is the lack of string like functions for lists. Trivial examples include find() and rfind(). Before you mention index though, it&#8217;s important to point out that index() checks for equality. I&#8217;d be much happier if instead it could take a function argument for comparisons.<br />
A less trivial example is split(), also with a possible criterion argument. A complicated example is regular expressions.</p>
<p>It seems that most of these functions, when applied to lists should take at least a function argument. Maybe regular expressions for lists would be better with a key argument though.<br />
This reminds me a bit of C++&#8217;s generic algorithms for collections.</p>
<p>On a similar subject, it would have been nice, if <a href="http://www.algorithm.co.il/blogs/index.php/programming/python/proofreading-and-whats-wrong-with-the-heapq-module/">along with heapq</a>, bisect functions would receive a key argument.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.algorithm.co.il/blogs/programming/a-python-rant/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

