<?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 IntegerZero</title>
	<atom:link href="http://www.integerzero.net/blog/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://www.integerzero.net/blog</link>
	<description>A blog for math, programming, and whatever else</description>
	<lastBuildDate>Thu, 15 Jul 2010 15:31:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on Carpool Planner Version 1.0 by Jelle Fresen</title>
		<link>http://www.integerzero.net/blog/?p=4&#038;cpage=1#comment-2578</link>
		<dc:creator>Jelle Fresen</dc:creator>
		<pubDate>Thu, 15 Jul 2010 15:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.integerzero.net/blog/?p=4#comment-2578</guid>
		<description>Hi Meyer,

Thanks for this tool, it&#039;s about the only such tool available in the first x pages of google, where x denotes the number of pages I can scan through before losing my interest ;)
I&#039;ve got some remarks, questions and/or improvements.

First of all I&#039;d like to point out that in the mean time, geopy has become available for 2.6 as well.

Second, adding the following lines before opening the cache file removes the need to manually initialize a cache:
&lt;pre lang=&quot;python&quot;&gt;#add &#039;import os.path&#039; at the list of import statements
if not os.path.exists(&quot;cache&quot;):
    cache = {}
else:&lt;/pre&gt;

Third, you forgot to add the route of each car from its final pickup location to the destination. Within the routes function, change the lines
&lt;pre lang=&quot;python&quot;&gt;            for op in ops:
                paths[(cnode, ) + op] = duration(origin, cnode) + ops[op]
        else:
            paths[(cnode, )] = duration(origin, cnode)&lt;/pre&gt;
to
&lt;pre lang=&quot;python&quot;&gt;            for op in ops:
                newpath = (cnode, ) + op
                paths[newpath] = duration(origin, cnode) + ops[op]
                if plan[1] != plan[0]:
                    paths[newpath] += duration(cnode, dest)
        else:
            paths[(cnode, )] = duration(origin, cnode) + duration(cnode, dest)&lt;/pre&gt;

Fourth, I think it can be optimized greatly in space requirements if you don&#039;t return all possible routes in the route function, but only the most optimal route. I haven&#039;t tested this though, as I&#039;m not sure that that would actually be correct. I think it is, because all options from a returned set op options are prepended with the same nodes.

Fifth, I changed some more code to make it more human readable, adding names of the passengers and drivers and outputting those instead of numbers and addresses. Interested in the code?

Regards,
Jelle</description>
		<content:encoded><![CDATA[<p>Hi Meyer,</p>
<p>Thanks for this tool, it's about the only such tool available in the first x pages of google, where x denotes the number of pages I can scan through before losing my interest ;)<br />
I've got some remarks, questions and/or improvements.</p>
<p>First of all I'd like to point out that in the mean time, geopy has become available for 2.6 as well.</p>
<p>Second, adding the following lines before opening the cache file removes the need to manually initialize a cache:</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p184code1'); return false;">View Code</a> PYTHON</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1841"><td class="code" id="p184code1"><pre class="python" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">#add 'import os.path' at the list of import statements</span>
<span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #ff7700;font-weight:bold;">not</span> <span style="color: #dc143c;">os</span>.<span style="color: black;">path</span>.<span style="color: black;">exists</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;cache&quot;</span><span style="color: black;">&#41;</span>:
    cache = <span style="color: black;">&#123;</span><span style="color: black;">&#125;</span>
<span style="color: #ff7700;font-weight:bold;">else</span>:</pre></td></tr></table></div>

<p>Third, you forgot to add the route of each car from its final pickup location to the destination. Within the routes function, change the lines</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p184code2'); return false;">View Code</a> PYTHON</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1842"><td class="code" id="p184code2"><pre class="python" style="font-family:monospace;">            <span style="color: #ff7700;font-weight:bold;">for</span> op <span style="color: #ff7700;font-weight:bold;">in</span> ops:
                paths<span style="color: black;">&#91;</span><span style="color: black;">&#40;</span>cnode, <span style="color: black;">&#41;</span> + op<span style="color: black;">&#93;</span> = duration<span style="color: black;">&#40;</span>origin, cnode<span style="color: black;">&#41;</span> + ops<span style="color: black;">&#91;</span>op<span style="color: black;">&#93;</span>
        <span style="color: #ff7700;font-weight:bold;">else</span>:
            paths<span style="color: black;">&#91;</span><span style="color: black;">&#40;</span>cnode, <span style="color: black;">&#41;</span><span style="color: black;">&#93;</span> = duration<span style="color: black;">&#40;</span>origin, cnode<span style="color: black;">&#41;</span></pre></td></tr></table></div>

<p>to</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p184code3'); return false;">View Code</a> PYTHON</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1843"><td class="code" id="p184code3"><pre class="python" style="font-family:monospace;">            <span style="color: #ff7700;font-weight:bold;">for</span> op <span style="color: #ff7700;font-weight:bold;">in</span> ops:
                newpath = <span style="color: black;">&#40;</span>cnode, <span style="color: black;">&#41;</span> + op
                paths<span style="color: black;">&#91;</span>newpath<span style="color: black;">&#93;</span> = duration<span style="color: black;">&#40;</span>origin, cnode<span style="color: black;">&#41;</span> + ops<span style="color: black;">&#91;</span>op<span style="color: black;">&#93;</span>
                <span style="color: #ff7700;font-weight:bold;">if</span> plan<span style="color: black;">&#91;</span><span style="color: #ff4500;">1</span><span style="color: black;">&#93;</span> <span style="color: #66cc66;">!</span>= plan<span style="color: black;">&#91;</span><span style="color: #ff4500;">0</span><span style="color: black;">&#93;</span>:
                    paths<span style="color: black;">&#91;</span>newpath<span style="color: black;">&#93;</span> += duration<span style="color: black;">&#40;</span>cnode, dest<span style="color: black;">&#41;</span>
        <span style="color: #ff7700;font-weight:bold;">else</span>:
            paths<span style="color: black;">&#91;</span><span style="color: black;">&#40;</span>cnode, <span style="color: black;">&#41;</span><span style="color: black;">&#93;</span> = duration<span style="color: black;">&#40;</span>origin, cnode<span style="color: black;">&#41;</span> + duration<span style="color: black;">&#40;</span>cnode, dest<span style="color: black;">&#41;</span></pre></td></tr></table></div>

<p>Fourth, I think it can be optimized greatly in space requirements if you don't return all possible routes in the route function, but only the most optimal route. I haven't tested this though, as I'm not sure that that would actually be correct. I think it is, because all options from a returned set op options are prepended with the same nodes.</p>
<p>Fifth, I changed some more code to make it more human readable, adding names of the passengers and drivers and outputting those instead of numbers and addresses. Interested in the code?</p>
<p>Regards,<br />
Jelle</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python Client for Omegle by Adam</title>
		<link>http://www.integerzero.net/blog/?p=184&#038;cpage=1#comment-2004</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Wed, 09 Jun 2010 19:33:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.integerzero.net/blog/?p=184#comment-2004</guid>
		<description>Hmm. This client seems to flicker via my command prompt. I&#039;m using unicode-rxvt and Arch Linux.</description>
		<content:encoded><![CDATA[<p>Hmm. This client seems to flicker via my command prompt. I'm using unicode-rxvt and Arch Linux.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Browsing Webcomics with the Arrow Keys by Vladislav67</title>
		<link>http://www.integerzero.net/blog/?p=60&#038;cpage=1#comment-1409</link>
		<dc:creator>Vladislav67</dc:creator>
		<pubDate>Wed, 24 Mar 2010 18:39:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.integerzero.net/blog/?p=60#comment-1409</guid>
		<description>&lt;a href=&quot;http://rupeople.com/&quot; rel=&quot;nofollow&quot;&gt;Отличная статья. Краткость явно Ваша сестра&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://rupeople.com/" rel="nofollow">Отличная статья. Краткость явно Ваша сестра</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Embed Terminal Into Desktop by Lag-sama</title>
		<link>http://www.integerzero.net/blog/?p=33&#038;cpage=1#comment-1400</link>
		<dc:creator>Lag-sama</dc:creator>
		<pubDate>Tue, 23 Mar 2010 20:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.integerzero.net/blog/?p=33#comment-1400</guid>
		<description>This article helped me a lot. Thanks brosef.</description>
		<content:encoded><![CDATA[<p>This article helped me a lot. Thanks brosef.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Python Client for Omegle by Stranger</title>
		<link>http://www.integerzero.net/blog/?p=184&#038;cpage=1#comment-1261</link>
		<dc:creator>Stranger</dc:creator>
		<pubDate>Mon, 01 Mar 2010 09:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.integerzero.net/blog/?p=184#comment-1261</guid>
		<description>Sorry I left like that I found it to be quite rude. if you wish, contact me at this email: manule_r@live.com</description>
		<content:encoded><![CDATA[<p>Sorry I left like that I found it to be quite rude. if you wish, contact me at this email: <a href="mailto:manule_r@live.com">manule_r@live.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Senior Project, Application Launcher, System Customizations by #1#</title>
		<link>http://www.integerzero.net/blog/?p=178&#038;cpage=1#comment-1239</link>
		<dc:creator>#1#</dc:creator>
		<pubDate>Mon, 22 Feb 2010 08:01:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.integerzero.net/blog/?p=178#comment-1239</guid>
		<description>Hey there. I didn&#039;t actually see a good &quot;contact me&quot; thing, so I figured commenting on here was enough. I&#039;ll find out I guess if you don&#039;t catch this for a while or ever.
Figure out what happened to that omegle server? That was a pretty odd error.
I assume I get an email if you reply to this, so that should be enough, otherwise I&#039;ll just check from time to time.
Chat with you more later Admin.</description>
		<content:encoded><![CDATA[<p>Hey there. I didn't actually see a good "contact me" thing, so I figured commenting on here was enough. I'll find out I guess if you don't catch this for a while or ever.<br />
Figure out what happened to that omegle server? That was a pretty odd error.<br />
I assume I get an email if you reply to this, so that should be enough, otherwise I'll just check from time to time.<br />
Chat with you more later Admin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Things That Have Happened, Things That Have Not, and Senior Project Status by Micah</title>
		<link>http://www.integerzero.net/blog/?p=106&#038;cpage=1#comment-1041</link>
		<dc:creator>Micah</dc:creator>
		<pubDate>Fri, 13 Nov 2009 16:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.integerzero.net/blog/?p=106#comment-1041</guid>
		<description>OMG YOU&#039;RE SO AWESOME EVERYTHING YOU DO IS MAGICAL</description>
		<content:encoded><![CDATA[<p>OMG YOU'RE SO AWESOME EVERYTHING YOU DO IS MAGICAL</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Application Launcher by IntegerZero / Things That Have Happened, Things That Have Not, and Senior Project Status</title>
		<link>http://www.integerzero.net/blog/?page_id=90&#038;cpage=1#comment-1040</link>
		<dc:creator>IntegerZero / Things That Have Happened, Things That Have Not, and Senior Project Status</dc:creator>
		<pubDate>Fri, 13 Nov 2009 05:27:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.integerzero.net/blog/?page_id=90#comment-1040</guid>
		<description>[...] IntegerZero A blog for math, programming, and whatever else  Skip to content HomeAboutProjectsSenior ProjectApplication Launcher [...]</description>
		<content:encoded><![CDATA[<p>[...] IntegerZero A blog for math, programming, and whatever else  Skip to content HomeAboutProjectsSenior ProjectApplication Launcher [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Accelerometer Working! by meyermagic</title>
		<link>http://www.integerzero.net/blog/?p=87&#038;cpage=1#comment-982</link>
		<dc:creator>meyermagic</dc:creator>
		<pubDate>Thu, 08 Oct 2009 07:33:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.integerzero.net/blog/?p=87#comment-982</guid>
		<description>I&#039;m excited too. About the Wacom Tablet, though: I have a tablet I can use for testing (though I&#039;ll want to test with others later), I just don&#039;t have a good way to get pressure data inside Python.

Also, this theme doesn&#039;t seem to support nested comments. I really like the theme, so I might try to modify it for support (if you have any advice on this, I&#039;d accept it).</description>
		<content:encoded><![CDATA[<p>I'm excited too. About the Wacom Tablet, though: I have a tablet I can use for testing (though I'll want to test with others later), I just don't have a good way to get pressure data inside Python.</p>
<p>Also, this theme doesn't seem to support nested comments. I really like the theme, so I might try to modify it for support (if you have any advice on this, I'd accept it).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Accelerometer Working! by Captain Thomas</title>
		<link>http://www.integerzero.net/blog/?p=87&#038;cpage=1#comment-981</link>
		<dc:creator>Captain Thomas</dc:creator>
		<pubDate>Thu, 08 Oct 2009 07:22:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.integerzero.net/blog/?p=87#comment-981</guid>
		<description>I am very excited about this project!  Been looking forward to how you are going to go about it.  Also, if you need some testing done with the Wacom tablet as an instrument, let me know; two of my friends have tablets - one is a Graphire 2 and the other a Bamboo.</description>
		<content:encoded><![CDATA[<p>I am very excited about this project!  Been looking forward to how you are going to go about it.  Also, if you need some testing done with the Wacom tablet as an instrument, let me know; two of my friends have tablets - one is a Graphire 2 and the other a Bamboo.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
