<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Disqus - Latest Comments for jnoller</title><link>http://disqus.com/people/jnoller/</link><description></description><language>en</language><lastBuildDate>Mon, 09 Nov 2009 20:27:25 -0000</lastBuildDate><item><title>Re: PEP 3003: &amp;#8220;Python Language Moratorium&amp;#8221; &amp;#8211; Accepted</title><link>http://pyjesse.disqus.com/pep_3003_8220python_language_moratorium8221_8211_accepted/#comment-22511307</link><description>It was brought up in the discussions of this pep on python-dev, I  &lt;br&gt;don't remember ther arguments against it, but there were a few.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Mon, 09 Nov 2009 20:27:25 -0000</pubDate></item><item><title>Re: SSH Programming with Paramiko | Completely Different</title><link>http://pyjesse.disqus.com/ssh_programming_with_paramiko_completely_different/#comment-21392756</link><description>Given the article was about SSH programming, and paramiko is for SSH&lt;br&gt;programming - I think it's a much better fundamental solution to SSH&lt;br&gt;programming than pexpect. I've had plenty of expect-like scripts, and&lt;br&gt;expect-base script break because assumption on output, regexes, etc&lt;br&gt;broke. I agree that paramiko isn't a generalized tool, but for the&lt;br&gt;problem it tries to solve it is the best tool (in my opinion).&lt;br&gt;&lt;br&gt;If we were talking a general "watch something and react" tool, then&lt;br&gt;yeah - pexpect makes sense, but we're not.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Fri, 30 Oct 2009 17:48:55 -0000</pubDate></item><item><title>Re: SSH Programming with Paramiko | Completely Different</title><link>http://pyjesse.disqus.com/ssh_programming_with_paramiko_completely_different/#comment-21391763</link><description>Actually something expect-like doesn't care what the output is if you code the same way you do with paramiko.  pexpect.expect takes a list of args... that list can be regular expressions or perhaps pexpect.TIMEOUT or pexpect.EOF.  Based on that which one in that list matches, you make a decision; this is not an issue of a small decision tree.  I'm ok with people using other tools, but lets be fair to the tools available.  pexpect is a much more generalized solution than paramiko; paramiko gives you more granular visibility into stderr than pexpect does, but paramiko is limited to ssh.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mikepenn</dc:creator><pubDate>Fri, 30 Oct 2009 17:35:54 -0000</pubDate></item><item><title>Re: SSH Programming with Paramiko | Completely Different</title><link>http://pyjesse.disqus.com/ssh_programming_with_paramiko_completely_different/#comment-21374947</link><description>Personally, I've found any tool which waits for specific output from&lt;br&gt;commands to be terribly brittle. Output from remote sources can (and&lt;br&gt;does) frequently change - sure, something expect-like does the job if&lt;br&gt;you can count on the same output over and over again.&lt;br&gt;&lt;br&gt;I know pexpect has gotten better since the time I used it, which&lt;br&gt;admittedly was awhile ago and at this point I go out of my way to&lt;br&gt;avoid it/expect-like tools unless I simply can't. I'm also much more a&lt;br&gt;fan of tackling things with tools like paramiko, which is more&lt;br&gt;programmatic/reliable in my mind.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Fri, 30 Oct 2009 14:36:31 -0000</pubDate></item><item><title>Re: Python on Ice</title><link>http://wordaligned.disqus.com/python_on_ice/#comment-21350972</link><description>Most patches need only target 1 version - typically the committer applying the patch will back port/forward port as needed. Only core-dev is actively maintaining the two versions.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Fri, 30 Oct 2009 09:46:17 -0000</pubDate></item><item><title>Re: Python on Ice</title><link>http://wordaligned.disqus.com/python_on_ice/#comment-21288047</link><description>Thanks for the extra information, Jesse. I think this change of focus is right, and important. I would argue, though, that it is the strength of the core language which has made so many people willing to contribute to the standard library, tests, documentation etc. Python is a pleasure to write and use.&lt;br&gt;Maintaining two versions of Python is less pleasant.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tag</dc:creator><pubDate>Thu, 29 Oct 2009 16:04:46 -0000</pubDate></item><item><title>Re: Python on Ice</title><link>http://wordaligned.disqus.com/python_on_ice/#comment-21234854</link><description>Already brought up and rejected.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Wed, 28 Oct 2009 21:37:21 -0000</pubDate></item><item><title>Re: Python on Ice</title><link>http://wordaligned.disqus.com/python_on_ice/#comment-21230023</link><description>We've added more features in the last few years than strictly necessary - many of those features have not seen widespread usage simply due to people/companies/OS Vendors being slow to update. A cooling off period, which only affects syntax, built-ins and things in the core will give us a greater idea of what has been added that works, and what doesn't.&lt;br&gt;&lt;br&gt;Most places haven't even upgraded to 2.6 yet.&lt;br&gt;&lt;br&gt;Now let's take into account 3.0 - 2.7 is slated to be the end of the line for python-core working on the 2.x codebase. 3.x is the future, from a core development standpoint - things are being done on 3k, which are not being back ported. 3.x is the way forward, and letting the world catch up to 2.6 (and 2.7 next year) with minimal syntax alterations, and then 3.0 which bring on a whole bunch of syntax and idiom changes also benefits us, and the ecosystem.&lt;br&gt;&lt;br&gt;As Jason notes; the moratorium does not apply to docs, tests, the standard library or the interpreter. The hope is that minimizing focus on syntax in will add bandwidth and focus in favor of improving these other things - which helps *everyone*.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Wed, 28 Oct 2009 20:03:52 -0000</pubDate></item><item><title>Re: Dive Into Python 3: The Foreward</title><link>http://pyjesse.disqus.com/dive_into_python_3_the_foreward/#comment-21153164</link><description>Any text in the foreword is under the same license as the book itself! Go for it!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Tue, 27 Oct 2009 23:00:56 -0000</pubDate></item><item><title>Re: Dive Into Python 3: The Foreward</title><link>http://pyjesse.disqus.com/dive_into_python_3_the_foreward/#comment-21069339</link><description>Thank you; again</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Mon, 26 Oct 2009 21:10:58 -0000</pubDate></item><item><title>Re: Dive Into Python 3: The Foreward</title><link>http://pyjesse.disqus.com/dive_into_python_3_the_foreward/#comment-21069026</link><description>There's another 'foreward' typo in the first sentence of this blogpost..</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Thijs</dc:creator><pubDate>Mon, 26 Oct 2009 21:02:10 -0000</pubDate></item><item><title>Re: Dive Into Python 3: The Foreward</title><link>http://pyjesse.disqus.com/dive_into_python_3_the_foreward/#comment-21028969</link><description>Why are you bustin my balls? ;)&lt;br&gt;&lt;br&gt;Actually, juggling work-work with open-source work and being a parent is a painful process for me, honestly. It doesn't help I'm a severe workaholic. I'd be perfectly fine with 12 hour workdays :|</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Mon, 26 Oct 2009 09:06:43 -0000</pubDate></item><item><title>Re: Dive Into Python 3: The Foreward</title><link>http://pyjesse.disqus.com/dive_into_python_3_the_foreward/#comment-21026608</link><description>I already read Guido's proposal - I volunteered to draft the PEP (it's in progress) for the moratorium. I know that the 2/3 split will mark a pause - I'm for pausing. Being in core dev, my boogeyman has been the standard library - I'd like to see more focus on that, improving, cleaning, testing and other areas outside of the syntax and builtins.&lt;br&gt;&lt;br&gt;It will be interesting ;)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Mon, 26 Oct 2009 07:48:59 -0000</pubDate></item><item><title>Re: Dive Into Python 3: The Foreward</title><link>http://pyjesse.disqus.com/dive_into_python_3_the_foreward/#comment-21026546</link><description>Argh. Fixed.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Mon, 26 Oct 2009 07:46:22 -0000</pubDate></item><item><title>Re: Dive Into Python 3: The Foreward</title><link>http://pyjesse.disqus.com/dive_into_python_3_the_foreward/#comment-20991444</link><description>Typo, thanks for catching it - fixed</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Sun, 25 Oct 2009 14:35:07 -0000</pubDate></item><item><title>Re: Django, mod_wsgi, Apache and OS X - do it.</title><link>http://pyjesse.disqus.com/django_mod_wsgi_apache_and_os_x_do_it/#comment-15564487</link><description>By the way Graham; setting apache/python/mod_wsgi up with the default python2.6 interpreter was dirt simple.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Sat, 29 Aug 2009 08:48:26 -0000</pubDate></item><item><title>Re: Django, mod_wsgi, Apache and OS X - do it.</title><link>http://pyjesse.disqus.com/django_mod_wsgi_apache_and_os_x_do_it/#comment-14914212</link><description>re: egg cache -- after firing things up the first time, I got an error that ended like this: &lt;br&gt;&lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1] The following error occurred while trying to extract file(s) to the Python egg&lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1] cache:&lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1] &lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1]   [Errno 13] Permission denied: '"'&lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1] &lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1] The Python egg cache directory is currently set to:&lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1] &lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1]   "/.python-eggs/"&lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1] &lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1] Perhaps your account does not have write access to this directory?  You can&lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1] change the cache directory by setting the PYTHON_EGG_CACHE environment&lt;br&gt;[Sat Aug 15 23:53:29 2009] [error] [client 127.0.0.1] variable to point to an accessible directory.&lt;br&gt;&lt;br&gt;I fixed that by adding a "user=myuser" arg to the WSGIDaemonProcess directive (this after also creating 'chmod 777' dirs owned by the web user, which didn't work, and which I still don't understand). I also tried fixing this using os.environ('PYTHON_EGG_CACHE') in my myapp.wsgi script, and also using the WSGIPythonEggs directive mentioned here: &lt;a href="http://code.google.com/p/modwsgi/wiki/ApplicationIssues" rel="nofollow"&gt;http://code.google.com/p/modwsgi/wiki/Applicati...&lt;/a&gt;  Nothing worked until I found "user=". BTW, I'm using mod_wsgi 2.5, installed (and dl'd for that matter) using your exact commands, because I was pretty sure going into it that we had near-identical macbook pros. &lt;br&gt;&lt;br&gt;I'm using the Apple-supplied python installation. I initially created my virtualenv using your instructions exactly, but went back to add '--no-site-packages' when I started having issues loading mysqldb. Then I actually just uninstalled mysqldb from the system, did the "export ARCHFLAGS" like the modwsgi site says to do to get around arch issues, built a new version of the module from source, and now I'm getting: &lt;br&gt;"[Sun Aug 16 13:23:49 2009] [error] [client 127.0.0.1]     raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)&lt;br&gt;[Sun Aug 16 13:23:49 2009] [error] [client 127.0.0.1] ImproperlyConfigured: Error loading MySQLdb module: dynamic module does not define init function (init_mysql)&lt;br&gt;"&lt;br&gt;I guess it's progress, but again, hardly simple. I haven't finished googling the issue to see what the fix is. It's v. 1.2.3c1 of the module. I guess it's true that this is perhaps mostly an arch-level issue outside the control of modwsgi, but why is it that I can write CLI scripts with Python all day long and never run into any of these issues? I'm not blaming modwsgi or questioning what you've said, I really just want to understand this more clearly, because it's driving me insane, and that's not enjoyable. &lt;br&gt;&lt;br&gt;I haven't given much thought to arch up to now. Perhaps it'd be easier to just build *everything* from source: apache, python, etc. Have a bare-bones base python install, and just easy_install modules in virtualenv as needed. Advice/opinion hereby solicited. I'm not sure how to reach Graham - I'm sure there's a mod_wsgi google group, so I'll see what I find.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian</dc:creator><pubDate>Sun, 16 Aug 2009 13:50:03 -0000</pubDate></item><item><title>Re: Django, mod_wsgi, Apache and OS X - do it.</title><link>http://pyjesse.disqus.com/django_mod_wsgi_apache_and_os_x_do_it/#comment-14913317</link><description>Hey Brian-&lt;br&gt;&lt;br&gt;I have no idea what you're talking about with regards to the python egg cache. I also didn't run into architecture related issues; so I'd be interested to hear what those are. Are you hand compiling it? Is it the built in version? I know Graham has outlined some of the issues here: &lt;a href="http://code.google.com/p/modwsgi/wiki/InstallationOnMacOSX" rel="nofollow"&gt;http://code.google.com/p/modwsgi/wiki/Installat...&lt;/a&gt; - the biggest one is the fact the &lt;a href="http://python.org" rel="nofollow"&gt;python.org&lt;/a&gt; versions of python don't ship 64 bit compatible.&lt;br&gt;&lt;br&gt;Frankly, most of the issues I've run into are problems with the multi-architecture mess which is leopard+python builds - not mod_wsgi, mod_wsgi just shows the problems. Having a 64 bit apache, and a 32 bit version of Python (which &lt;a href="http://python.org" rel="nofollow"&gt;python.org&lt;/a&gt; ships) doesn't exactly make things easy for mod_wsgi which has to work with both.&lt;br&gt;&lt;br&gt;As for the dev vs. production issue - I run the same config on the server (+ or - minus some tweaks) as I do on the desktop.&lt;br&gt;&lt;br&gt;I can understand your pain, which is why I tried to be explicit as possible. Have you talked to Graham (the mod_wsgi maintainer) about any of this?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Sun, 16 Aug 2009 13:23:31 -0000</pubDate></item><item><title>Re: Interested in a Boston Python Conference?</title><link>http://pyjesse.disqus.com/interested_in_a_boston_python_conference/#comment-13868798</link><description>Yes, there are a few of us - Doug, James tauber, etc that live in MA.  &lt;br&gt;Yes, there's probably enough in the state to put something together.  &lt;br&gt;The point is, is to do something big enough to draw people outside the  &lt;br&gt;state in.&lt;br&gt;&lt;br&gt;Just based on trying to recruit python people in the area, there  &lt;br&gt;aren't as many as I'd like.&lt;br&gt;&lt;br&gt;I'd like to point out I live here again :)&lt;br&gt;&lt;br&gt;If you want I can call it PyNortheast :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Tue, 04 Aug 2009 02:11:33 -0000</pubDate></item><item><title>Re: Interested in a Boston Python Conference?</title><link>http://pyjesse.disqus.com/interested_in_a_boston_python_conference/#comment-13868710</link><description>Oh, I want you to come, complaining is optional - but entirely  &lt;br&gt;amusing :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Tue, 04 Aug 2009 02:09:35 -0000</pubDate></item><item><title>Re: Interested in a Boston Python Conference?</title><link>http://pyjesse.disqus.com/interested_in_a_boston_python_conference/#comment-13864991</link><description>Yes, there are a few of us - Doug, James tauber, etc that live in MA.  &lt;br&gt;Yes, there's probably enough in the state to put something together.  &lt;br&gt;The point is, is to do something big enough to draw people outside the  &lt;br&gt;state in.&lt;br&gt;&lt;br&gt;Just based on trying to recruit python people in the area, there  &lt;br&gt;aren't as many as I'd like.&lt;br&gt;&lt;br&gt;I'd like to point out I live here again :)&lt;br&gt;&lt;br&gt;If you want I can call it PyNortheast :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Mon, 03 Aug 2009 23:59:16 -0000</pubDate></item><item><title>Re: Interested in a Boston Python Conference?</title><link>http://pyjesse.disqus.com/interested_in_a_boston_python_conference/#comment-13864895</link><description>Oh, I want you to come, complaining is optional - but entirely  &lt;br&gt;amusing :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Mon, 03 Aug 2009 23:56:45 -0000</pubDate></item><item><title>Re: Interested in a Boston Python Conference?</title><link>http://pyjesse.disqus.com/interested_in_a_boston_python_conference/#comment-13807452</link><description>Oh yeah, Doug and I talked a bit last night - my idea is not original, come to find out - doug's thought about it a bit. We're going to keep chewing on it as a side-thread due to PyCon 2010 and other stuff eclipsing everything else right now.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Sun, 02 Aug 2009 09:18:57 -0000</pubDate></item><item><title>Re: Interested in a Boston Python Conference?</title><link>http://pyjesse.disqus.com/interested_in_a_boston_python_conference/#comment-13807341</link><description>Hey, hot isn't wretched. It's better than snow. And I know Ned, there's a handful of people in the immediate area I'd hit up for talks. There's about a dozen companies I'd hit up for sponsorship, even if that means I have to walk around dressed in a suit covered in sponsorships like Nascar :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Sun, 02 Aug 2009 09:10:24 -0000</pubDate></item><item><title>Re: Interested in a Boston Python Conference?</title><link>http://pyjesse.disqus.com/interested_in_a_boston_python_conference/#comment-13807319</link><description>I work 45 minutes outside of cambridge, and live an hour outside. I have a hard time explaining to the wife why I'm going to be MIA well past the kiddo's bedtime.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jnoller</dc:creator><pubDate>Sun, 02 Aug 2009 09:08:33 -0000</pubDate></item></channel></rss>