<?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"
	>
<channel>
	<title>Comments for Evan Fosmark</title>
	<atom:link href="http://www.evanfosmark.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evanfosmark.com</link>
	<description>"In the face of ambiguity, refuse the temptation to guess." - Zen of Python</description>
	<pubDate>Tue, 07 Sep 2010 11:16:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on SSL support in asynchat.async_chat by Jean-Paul Calderone</title>
		<link>http://www.evanfosmark.com/2010/09/ssl-support-in-asynchatasync_chat/#comment-10546</link>
		<dc:creator>Jean-Paul Calderone</dc:creator>
		<pubDate>Fri, 03 Sep 2010 22:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanfosmark.com/?p=70#comment-10546</guid>
		<description>@Giampaolo: It seems that bug was deemed important enough to include twice. ;)  The one in ssl.py does appear to be fixed, but the one in _ssl.c is still there: see the do loop in PySSL_SSLRead at http://svn.python.org/view/*checkout*/python/trunk/Modules/_ssl.c?revision=82210&#38;content-type=text/plain</description>
		<content:encoded><![CDATA[<p>@Giampaolo: It seems that bug was deemed important enough to include twice. ;)  The one in ssl.py does appear to be fixed, but the one in _ssl.c is still there: see the do loop in PySSL_SSLRead at <a href="http://svn.python.org/view/" rel="nofollow">http://svn.python.org/view/</a>*checkout*/python/trunk/Modules/_ssl.c?revision=82210&amp;content-type=text/plain</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSL support in asynchat.async_chat by Giampaolo Rodolà</title>
		<link>http://www.evanfosmark.com/2010/09/ssl-support-in-asynchatasync_chat/#comment-10473</link>
		<dc:creator>Giampaolo Rodolà</dc:creator>
		<pubDate>Fri, 03 Sep 2010 15:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanfosmark.com/?p=70#comment-10473</guid>
		<description>@jp: what python version are you using?
Python 2.6.6 should already include a fix for that: http://bugs.python.org/issue3890</description>
		<content:encoded><![CDATA[<p>@jp: what python version are you using?<br />
Python 2.6.6 should already include a fix for that: <a href="http://bugs.python.org/issue3890" rel="nofollow">http://bugs.python.org/issue3890</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Send a message THROUGH TIME in Python by mikellasha</title>
		<link>http://www.evanfosmark.com/2009/09/send-a-message-through-time-in-python/#comment-10308</link>
		<dc:creator>mikellasha</dc:creator>
		<pubDate>Fri, 03 Sep 2010 01:55:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanfosmark.com/?p=65#comment-10308</guid>
		<description>allowed , http://epsaservicecenter.com/members/Cheap-Adderall-Xr--Buy-Online-NOW.aspx , variation</description>
		<content:encoded><![CDATA[<p>allowed , <a href="http://epsaservicecenter.com/members/Cheap-Adderall-Xr--Buy-Online-NOW.aspx" rel="nofollow">http://epsaservicecenter.com/members/Cheap-Adderall-Xr&#8211;Buy-Online-NOW.aspx</a> , variation</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSL support in asynchat.async_chat by Jean-Paul Calderone</title>
		<link>http://www.evanfosmark.com/2010/09/ssl-support-in-asynchatasync_chat/#comment-10173</link>
		<dc:creator>Jean-Paul Calderone</dc:creator>
		<pubDate>Thu, 02 Sep 2010 11:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanfosmark.com/?p=70#comment-10173</guid>
		<description>Unfortunately, you may not find this as useful as you would have expected.  The ssl module does not support non-blocking reads:

&#62;&#62;&#62; import socket
&#62;&#62;&#62; import time
&#62;&#62;&#62; import ssl
&#62;&#62;&#62; s = ssl.wrap_socket(socket.socket())
&#62;&#62;&#62; s.connect(('localhost', 8443))
&#62;&#62;&#62; s.send('GET /async.rpy HTTP/1.1\r\n\r\n')
27
&#62;&#62;&#62; s.setblocking(False)
&#62;&#62;&#62; a = time.time(); s.recv(1024); b = time.time()
'HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\nDate: Thu, 02 Sep 2010 11:51:03 GMT\r\nContent-Type: text/html\r\nServer: TwistedWeb/10.1.0+r29954\r\n\r\n4c\r\n&#60;html&#62;&#60;body&#62;Sorry to keep you waiting.&#60;/body&#62;&#60;/html&#62;\r\n0\r\n\r\n'
&#62;&#62;&#62; print b - a
4.13403391838
&#62;&#62;&#62; 

Even worse than the fact that it blocks is the fact that it is busy looping while it does so.  Expect to see 100% CPU when using this approach any time there's a network hiccup or someone decides to DoS your service. :(</description>
		<content:encoded><![CDATA[<p>Unfortunately, you may not find this as useful as you would have expected.  The ssl module does not support non-blocking reads:</p>
<p>&gt;&gt;&gt; import socket<br />
&gt;&gt;&gt; import time<br />
&gt;&gt;&gt; import ssl<br />
&gt;&gt;&gt; s = ssl.wrap_socket(socket.socket())<br />
&gt;&gt;&gt; s.connect((&#039;localhost&#039;, 8443))<br />
&gt;&gt;&gt; s.send(&#039;GET /async.rpy HTTP/1.1\r\n\r\n&#039;)<br />
27<br />
&gt;&gt;&gt; s.setblocking(False)<br />
&gt;&gt;&gt; a = time.time(); s.recv(1024); b = time.time()<br />
&#039;HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\nDate: Thu, 02 Sep 2010 11:51:03 GMT\r\nContent-Type: text/html\r\nServer: TwistedWeb/10.1.0+r29954\r\n\r\n4c\r\n&lt;html&gt;&lt;body&gt;Sorry to keep you waiting.&lt;/body&gt;&lt;/html&gt;\r\n0\r\n\r\n&#039;<br />
&gt;&gt;&gt; print b - a<br />
4.13403391838<br />
&gt;&gt;&gt; </p>
<p>Even worse than the fact that it blocks is the fact that it is busy looping while it does so.  Expect to see 100% CPU when using this approach any time there&#039;s a network hiccup or someone decides to DoS your service. :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XOR Encryption With Python by Todas as possibilidades de maiusculas e minusculas</title>
		<link>http://www.evanfosmark.com/2008/06/xor-encryption-with-python/#comment-7496</link>
		<dc:creator>Todas as possibilidades de maiusculas e minusculas</dc:creator>
		<pubDate>Fri, 30 Jul 2010 15:34:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanfosmark.com/?p=14#comment-7496</guid>
		<description>[...] LinkedIn [...]</description>
		<content:encoded><![CDATA[<p>[...] LinkedIn [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Simple Output Buffering in Python by Jorge Vargas</title>
		<link>http://www.evanfosmark.com/2008/06/simple-output-buffering-in-python/#comment-7205</link>
		<dc:creator>Jorge Vargas</dc:creator>
		<pubDate>Thu, 29 Jul 2010 03:46:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanfosmark.com/?p=22#comment-7205</guid>
		<description>Hi,

I just stumble upon this very same problem, and I find your class excellent as it solves exactly what I'm trying to do. 

Just one minor correction to this article. sys.__stdout__ , etc. Will keep the reference to the original stdout, similar variables exists for the other streams. 

So you don't really lose those references and you can replace them afterwards.


Another unhappy thing is that your module is GPL3 which prevents me from using it in this particular codebase therefore I'm afraid I'm going to have to just learn from it :(

Anyway great find and thank you.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I just stumble upon this very same problem, and I find your class excellent as it solves exactly what I&#039;m trying to do. </p>
<p>Just one minor correction to this article. sys.__stdout__ , etc. Will keep the reference to the original stdout, similar variables exists for the other streams. </p>
<p>So you don&#039;t really lose those references and you can replace them afterwards.</p>
<p>Another unhappy thing is that your module is GPL3 which prevents me from using it in this particular codebase therefore I&#039;m afraid I&#039;m going to have to just learn from it :(</p>
<p>Anyway great find and thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on XOR Encryption With Python by san</title>
		<link>http://www.evanfosmark.com/2008/06/xor-encryption-with-python/#comment-5223</link>
		<dc:creator>san</dc:creator>
		<pubDate>Tue, 18 May 2010 18:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanfosmark.com/?p=14#comment-5223</guid>
		<description>hi,
    any one help me to brak 256 byte key</description>
		<content:encoded><![CDATA[<p>hi,<br />
    any one help me to brak 256 byte key</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Planet SEO, Great Resource to Web Developers by Oscar	Turner</title>
		<link>http://www.evanfosmark.com/2008/06/planet-seo-great-resource-to-web-developers/#comment-5122</link>
		<dc:creator>Oscar	Turner</dc:creator>
		<pubDate>Wed, 05 May 2010 18:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanfosmark.com/?p=23#comment-5122</guid>
		<description>I am still a beginner in website SEO and i usually submit to website directories and article directories to boost the ranking of my site. .-"'</description>
		<content:encoded><![CDATA[<p>I am still a beginner in website SEO and i usually submit to website directories and article directories to boost the ranking of my site. .-&#034;&#039;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cross-platform file locking support in Python by Rick Harris</title>
		<link>http://www.evanfosmark.com/2009/01/cross-platform-file-locking-support-in-python/#comment-4928</link>
		<dc:creator>Rick Harris</dc:creator>
		<pubDate>Sun, 18 Apr 2010 07:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanfosmark.com/?p=47#comment-4928</guid>
		<description>Evan, thanks for posting this, was a big help. I ended up using your FileLock to build a file-based counting semaphore which is used by http://github.com/rconradharris/filecache.

Great job!</description>
		<content:encoded><![CDATA[<p>Evan, thanks for posting this, was a big help. I ended up using your FileLock to build a file-based counting semaphore which is used by <a href="http://github.com/rconradharris/filecache" rel="nofollow">http://github.com/rconradharris/filecache</a>.</p>
<p>Great job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cross-platform file locking support in Python by PP</title>
		<link>http://www.evanfosmark.com/2009/01/cross-platform-file-locking-support-in-python/#comment-4550</link>
		<dc:creator>PP</dc:creator>
		<pubDate>Tue, 16 Mar 2010 12:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.evanfosmark.com/?p=47#comment-4550</guid>
		<description>It works very well!
Many thanks!
PP</description>
		<content:encoded><![CDATA[<p>It works very well!<br />
Many thanks!<br />
PP</p>
]]></content:encoded>
	</item>
</channel>
</rss>
