<?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>Random Musings of an Insane Mind &#187; Python</title>
	<atom:link href="http://cd34.com/blog/category/programming/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://cd34.com/blog</link>
	<description>This is my blog, there are many others like it but this one is mine.</description>
	<lastBuildDate>Thu, 02 Feb 2012 20:47:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Documenting projects as you write them</title>
		<link>http://cd34.com/blog/programming/python/documenting-projects-as-you-write-them/</link>
		<comments>http://cd34.com/blog/programming/python/documenting-projects-as-you-write-them/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 17:54:15 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[pyramid]]></category>
		<category><![CDATA[sphinx]]></category>
		<category><![CDATA[sqlalchemy]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=1304</guid>
		<description><![CDATA[In Feb 2009 I started converting a PHP application over to Python and a framework. Today, I have finished all of the functional code and am at the point where I need to write a number of interfaces to the message daemon (currently a Perl script I wrote after ripping apart a C/libace daemon we [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/programming/python/documenting-projects-as-you-write-them/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Python coding standards for imports</title>
		<link>http://cd34.com/blog/programming/python/python-coding-standards-for-imports/</link>
		<comments>http://cd34.com/blog/programming/python/python-coding-standards-for-imports/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 18:40:57 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[imports]]></category>
		<category><![CDATA[pep8]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=1286</guid>
		<description><![CDATA[Recently I&#8217;ve been refactoring a lot of code and I&#8217;m seeing a few trends that I find easier to read. With imports, I prefer putting each import on its own line. It takes up more screenspace, but, when looking at a commit diff, I can see what was added or removed much more easily than [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/programming/python/python-coding-standards-for-imports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Python search and replace script</title>
		<link>http://cd34.com/blog/programming/python/quick-python-search-and-replace-script/</link>
		<comments>http://cd34.com/blog/programming/python/quick-python-search-and-replace-script/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 16:03:49 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=1248</guid>
		<description><![CDATA[Have a client machine that is a little loaded that has a ton of modified files. Normally we just restore off the last backup or the previous generation backup, but, over 120k files since June 2011 have been exploited. Since the machine is doing quite a bit of work, we need to throttle our replacements [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/programming/python/quick-python-search-and-replace-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Pyramid Apex &#8211; putting it in production</title>
		<link>http://cd34.com/blog/infrastructure/pyramid-apex-putting-it-in-production/</link>
		<comments>http://cd34.com/blog/infrastructure/pyramid-apex-putting-it-in-production/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 15:05:29 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Web Infrastructure]]></category>
		<category><![CDATA[openid]]></category>
		<category><![CDATA[pyramid]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=1219</guid>
		<description><![CDATA[After quite a bit of work we&#8217;ve finally gotten Pyramid Apex to a point where I can deploy it on two production apps to make sure things are working as I expect they should. If you&#8217;re developing a Pyramid Application and are using Authentication/Authorization, I18N/L10N, Flash Messages and a Form Library, take a look at [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/infrastructure/pyramid-apex-putting-it-in-production/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google+, Python, and mechanize</title>
		<link>http://cd34.com/blog/programming/python/google-python-and-mechanize/</link>
		<comments>http://cd34.com/blog/programming/python/google-python-and-mechanize/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 19:23:39 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mechanize]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=1202</guid>
		<description><![CDATA[Since Google+&#8217;s release, I&#8217;ve wanted access to an API. I&#8217;m told soon. I couldn&#8217;t wait. #!/usr/bin/env python import mechanize cj = mechanize.LWPCookieJar() cj.load("cookies.txt") br = mechanize.Browser() br.set_cookiejar(cj) br.set_handle_redirect(True) br.set_handle_referer(True) br.set_handle_robots(False) br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1) br.addheaders = [('User-agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.810.0 Safari/535.1 cd34/0.9b')] br.open('https://www.google.com/accounts/ServiceLogin?service=oz&#038;passive=1209600&#038;continue=https://plus.google.com/up/start/') br.select_form(nr=0) br.form.find_control("Email").readonly = False br.form['Email'] [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/programming/python/google-python-and-mechanize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A weekend with Tornado</title>
		<link>http://cd34.com/blog/infrastructure/a-weekend-with-tornado/</link>
		<comments>http://cd34.com/blog/infrastructure/a-weekend-with-tornado/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 04:22:00 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Web Infrastructure]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=975</guid>
		<description><![CDATA[After working on a Pylons project for a week or so, there was a minor part of it that I felt didn&#8217;t need the complexity of a framework. Some quick benchmarking of the most minimal Pylons/SQLAlchemy project I could muster came in around 200 requests per second which put me at roughly 12 million requests [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/infrastructure/a-weekend-with-tornado/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pylons and Facebook Application Layout</title>
		<link>http://cd34.com/blog/programming/python/pylons-and-facebook-application-layout/</link>
		<comments>http://cd34.com/blog/programming/python/pylons-and-facebook-application-layout/#comments</comments>
		<pubDate>Sun, 30 May 2010 21:51:08 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[pylons]]></category>
		<category><![CDATA[uwsgi]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=964</guid>
		<description><![CDATA[While I spent quite a bit of time deciphering the Graph API documentation and the OAuth guides that Facebook puts forth and submitted three documentation fixes for examples that call non-existent parameters and consequently don&#8217;t work, I came to the realization that my original layout really only works if you use a single Pylons instance [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/programming/python/pylons-and-facebook-application-layout/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why do you use an Object Relational Mapping (ORM) System in Development?</title>
		<link>http://cd34.com/blog/programming/python/why-do-you-use-an-object-relational-mapping-orm-system-in-development/</link>
		<comments>http://cd34.com/blog/programming/python/why-do-you-use-an-object-relational-mapping-orm-system-in-development/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 17:51:54 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[orm]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[pylons]]></category>
		<category><![CDATA[smarty]]></category>
		<category><![CDATA[sqlalchemy]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=819</guid>
		<description><![CDATA[Here&#8217;s a programmer that is saying goodbye to ORMs at Hatful of Hollow. And another site offering a tutorial of sorts dealing with ORMs Why should you use an ORM. While both have their points, both have missed a fundamental benefit that an ORM hands you. Most of my development is in Pylons. Django&#8217;s ORM [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/programming/python/why-do-you-use-an-object-relational-mapping-orm-system-in-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysql-python and Snow Leopard</title>
		<link>http://cd34.com/blog/programming/python/mysql-python-and-snow-leopard/</link>
		<comments>http://cd34.com/blog/programming/python/mysql-python-and-snow-leopard/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 16:21:32 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[mac os/x]]></category>
		<category><![CDATA[mysql-python]]></category>
		<category><![CDATA[snow leopard]]></category>
		<category><![CDATA[virtualenv]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=750</guid>
		<description><![CDATA[After the upgrade to Snow Leopard, mysql-python cannot be installed through easy_install. * Install mysql&#8217;s x86_64 version from the .dmg file (I had a problem doing this when booted into the 64bit kernel, a 32bit kernel macbook had no problem) With the 64bit kernel, the system reported &#8216;no mountable file systems&#8217; when trying to mount [...]]]></description>
		<wfw:commentRss>http://cd34.com/blog/programming/python/mysql-python-and-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
		<item>
		<title>Google&#8217;s App Engine goof</title>
		<link>http://cd34.com/blog/infrastructure/googles-app-engine-goof/</link>
		<comments>http://cd34.com/blog/infrastructure/googles-app-engine-goof/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 03:54:58 +0000</pubDate>
		<dc:creator>cd34</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Web Infrastructure]]></category>
		<category><![CDATA[Google App Engine]]></category>

		<guid isPermaLink="false">http://cd34.com/blog/?p=697</guid>
		<description><![CDATA[While Google&#8217;s App Engine is a well planned service and it does work incredibly well for what it does, sometimes things break due to resource limits, etc. While the app engine platform is still running, it appears to be an issue with this particular application&#8217;s committed resources. The App Gallery has exceeded it&#8217;s memory quota.]]></description>
		<wfw:commentRss>http://cd34.com/blog/infrastructure/googles-app-engine-goof/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

