<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Code Spatter</title>
	
	<link>http://codespatter.com</link>
	<description />
	<pubDate>Sun, 19 Oct 2008 23:40:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/CodeSpatter" type="application/rss+xml" /><item>
		<title>Setting up Apache2, mod_python, MySQL, and Django on Debian Lenny or Ubuntu Hardy Heron</title>
		<link>http://feeds.feedburner.com/~r/CodeSpatter/~3/421644281/</link>
		<comments>http://codespatter.com/2008/10/15/setting-up-apache2-mod_python-mysql-and-django-on-debian-lenny-or-ubuntu-hardy-heron/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 14:46:46 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
		
		<category><![CDATA[Server Administration]]></category>

		<category><![CDATA[apache]]></category>

		<category><![CDATA[AWS]]></category>

		<category><![CDATA[debian]]></category>

		<category><![CDATA[django]]></category>

		<category><![CDATA[mod_python]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://codespatter.com/?p=141</guid>
		<description>Both Debian and Ubuntu make it really simple to get a server up and running. I was trying a few different Machine Images on Amazon and I found myself repeating a lot of things so I wanted to put them here for reference for those who might find it useful.
With a fresh image, the first [...]&lt;img src="http://feeds.feedburner.com/~r/CodeSpatter/~4/421644281" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://codespatter.com/2008/10/15/setting-up-apache2-mod_python-mysql-and-django-on-debian-lenny-or-ubuntu-hardy-heron/feed/</wfw:commentRss>
		<feedburner:origLink>http://codespatter.com/2008/10/15/setting-up-apache2-mod_python-mysql-and-django-on-debian-lenny-or-ubuntu-hardy-heron/</feedburner:origLink></item>
		<item>
		<title>Static Files in Django on Production and Development</title>
		<link>http://feeds.feedburner.com/~r/CodeSpatter/~3/399826733/</link>
		<comments>http://codespatter.com/2008/09/22/static-files-in-django-on-production-and-development/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 14:14:19 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[development]]></category>

		<category><![CDATA[django]]></category>

		<category><![CDATA[files]]></category>

		<category><![CDATA[production]]></category>

		<category><![CDATA[Python]]></category>

		<category><![CDATA[static]]></category>

		<guid isPermaLink="false">http://codespatter.com/?p=110</guid>
		<description>For developing a django application, I&amp;#8217;ve been using the webserver that comes with django. It&amp;#8217;s great for development since there is no need to restart apache. The quick and easy way to server a static file with the django webserver is to use this in your urls.py:

urlpatterns = patterns&amp;#40;'',
    &amp;#40;
   [...]&lt;img src="http://feeds.feedburner.com/~r/CodeSpatter/~4/399826733" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://codespatter.com/2008/09/22/static-files-in-django-on-production-and-development/feed/</wfw:commentRss>
		<feedburner:origLink>http://codespatter.com/2008/09/22/static-files-in-django-on-production-and-development/</feedburner:origLink></item>
		<item>
		<title>Quick Thumbnails in Django</title>
		<link>http://feeds.feedburner.com/~r/CodeSpatter/~3/391620853/</link>
		<comments>http://codespatter.com/2008/09/13/quick-thumbnails-in-django/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 15:44:10 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[django]]></category>

		<category><![CDATA[Python]]></category>

		<category><![CDATA[thumbnail]]></category>

		<guid isPermaLink="false">http://codespatter.com/?p=122</guid>
		<description>I normally like to write code myself instead of installing some large script just to do one task for me. There were a few scripts out there that could create thumbnails, but I wanted something simple and wouldn&amp;#8217;t use most of those features. Plus, I wanted to know how to use the Python Image Library [...]&lt;img src="http://feeds.feedburner.com/~r/CodeSpatter/~4/391620853" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://codespatter.com/2008/09/13/quick-thumbnails-in-django/feed/</wfw:commentRss>
		<feedburner:origLink>http://codespatter.com/2008/09/13/quick-thumbnails-in-django/</feedburner:origLink></item>
		<item>
		<title>PHP Developers, Keep me Sane</title>
		<link>http://feeds.feedburner.com/~r/CodeSpatter/~3/379291413/</link>
		<comments>http://codespatter.com/2008/08/30/php-developers-keep-me-sane/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 00:59:15 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[developers]]></category>

		<category><![CDATA[errors]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[suppress]]></category>

		<guid isPermaLink="false">http://codespatter.com/?p=116</guid>
		<description>There has been one thing that has driven me crazy since the begining days of my php programming. I understand that using @ to suppress errors can be useful. But what I don&amp;#8217;t understand is why php would ever want to suppress a fatal error. Normally if @function() causes a fatal error, the error will [...]&lt;img src="http://feeds.feedburner.com/~r/CodeSpatter/~4/379291413" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://codespatter.com/2008/08/30/php-developers-keep-me-sane/feed/</wfw:commentRss>
		<feedburner:origLink>http://codespatter.com/2008/08/30/php-developers-keep-me-sane/</feedburner:origLink></item>
		<item>
		<title>Just Heard About an Open-Source Database Conference</title>
		<link>http://feeds.feedburner.com/~r/CodeSpatter/~3/376235898/</link>
		<comments>http://codespatter.com/2008/08/27/just-heard-about-an-open-source-database-conference/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 14:30:39 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[conference]]></category>

		<category><![CDATA[Database]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[open souce]]></category>

		<guid isPermaLink="false">http://codespatter.com/?p=113</guid>
		<description>Baron Schwartz, the lead author of 
High Performance MySQL 2nd Edition, has just 
announced 
OpenSQL Camp 2008 over at 
his blog.
Despite the name, this will be different from other Camp conferences you’ve been to. This is a combination of a planned event (with great speakers and sessions), semi-planned spontaneity (sessions to be decided by attendees [...]&lt;img src="http://feeds.feedburner.com/~r/CodeSpatter/~4/376235898" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://codespatter.com/2008/08/27/just-heard-about-an-open-source-database-conference/feed/</wfw:commentRss>
		<feedburner:origLink>http://codespatter.com/2008/08/27/just-heard-about-an-open-source-database-conference/</feedburner:origLink></item>
		<item>
		<title>Updated Theme and Comments</title>
		<link>http://feeds.feedburner.com/~r/CodeSpatter/~3/371125251/</link>
		<comments>http://codespatter.com/2008/08/21/updated-theme-and-comments/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 17:48:11 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[disqus]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://codespatter.com/?p=107</guid>
		<description>I ran across 
this skin while looking for new ones for a different blog. It happened to look similar to what I was hoping to create someday so I thought I would use it for a while. I&amp;#8217;ve already modified a few small things to get it to look a little more to my liking, [...]&lt;img src="http://feeds.feedburner.com/~r/CodeSpatter/~4/371125251" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://codespatter.com/2008/08/21/updated-theme-and-comments/feed/</wfw:commentRss>
		<feedburner:origLink>http://codespatter.com/2008/08/21/updated-theme-and-comments/</feedburner:origLink></item>
		<item>
		<title>A New, Simple Way to Salt your Hashes</title>
		<link>http://feeds.feedburner.com/~r/CodeSpatter/~3/355359164/</link>
		<comments>http://codespatter.com/2008/08/04/a-new-simple-way-to-salt-your-hashes/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 14:08:06 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[encrypt]]></category>

		<category><![CDATA[hash]]></category>

		<category><![CDATA[password]]></category>

		<category><![CDATA[salt]]></category>

		<category><![CDATA[season]]></category>

		<guid isPermaLink="false">http://codespatter.com/?p=92</guid>
		<description>Maybe I&amp;#8217;m not the first to think of this, but it just came to me. Instead of using a single string to season a whole site or saving each new salt with the salted hash, try using this method for simplicity. Take the string and concatenate itself after it. This way, both the value being [...]&lt;img src="http://feeds.feedburner.com/~r/CodeSpatter/~4/355359164" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://codespatter.com/2008/08/04/a-new-simple-way-to-salt-your-hashes/feed/</wfw:commentRss>
		<feedburner:origLink>http://codespatter.com/2008/08/04/a-new-simple-way-to-salt-your-hashes/</feedburner:origLink></item>
		<item>
		<title>Careful with Numeric Data Types in MySQL</title>
		<link>http://feeds.feedburner.com/~r/CodeSpatter/~3/344622108/</link>
		<comments>http://codespatter.com/2008/07/24/careful-with-numeric-data-types-in-mysql/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 13:55:04 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[Data Types]]></category>

		<guid isPermaLink="false">http://codespatter.com/?p=57</guid>
		<description>TINYINT can be set to length of 4, but that doesn&amp;#8217;t mean the max value is 9999. A tiny int will always have the same range no matter what size you specify since that isn&amp;#8217;t what it is for with integers. It is the display width for the command line output.
This is what I was [...]&lt;img src="http://feeds.feedburner.com/~r/CodeSpatter/~4/344622108" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://codespatter.com/2008/07/24/careful-with-numeric-data-types-in-mysql/feed/</wfw:commentRss>
		<feedburner:origLink>http://codespatter.com/2008/07/24/careful-with-numeric-data-types-in-mysql/</feedburner:origLink></item>
		<item>
		<title>Conditions on Count or Sum in MySQL</title>
		<link>http://feeds.feedburner.com/~r/CodeSpatter/~3/342564825/</link>
		<comments>http://codespatter.com/2008/07/22/conditions-on-count-or-sum-in-mysql/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 13:55:57 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[aggregate]]></category>

		<category><![CDATA[conditions]]></category>

		<category><![CDATA[count]]></category>

		<category><![CDATA[functions]]></category>

		<category><![CDATA[having]]></category>

		<category><![CDATA[sum]]></category>

		<category><![CDATA[syntax]]></category>

		<guid isPermaLink="false">http://codespatter.com/?p=42</guid>
		<description>When selecting count, sum, or some other aggregate function, the value isn&amp;#8217;t determined until after the WHERE clause so a condition can&amp;#8217;t be placed there. There is still syntax for specifying a condition for this, it is to use HAVING.
The following example is to count all of the logs an active user has made only [...]&lt;img src="http://feeds.feedburner.com/~r/CodeSpatter/~4/342564825" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://codespatter.com/2008/07/22/conditions-on-count-or-sum-in-mysql/feed/</wfw:commentRss>
		<feedburner:origLink>http://codespatter.com/2008/07/22/conditions-on-count-or-sum-in-mysql/</feedburner:origLink></item>
		<item>
		<title>Implementing HaloScan Powered Comments</title>
		<link>http://feeds.feedburner.com/~r/CodeSpatter/~3/330081648/</link>
		<comments>http://codespatter.com/2008/07/08/implementing-haloscan-powered-comments/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 19:21:32 +0000</pubDate>
		<dc:creator>Greg Allard</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[comment]]></category>

		<category><![CDATA[haloscan]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[webservice]]></category>

		<guid isPermaLink="false">http://codespatter.com/?p=41</guid>
		<description>For some time now, I&amp;#8217;ve been using a 
Magic the Gathering card database for a testing bed for various things. Earlier today 
I learned about a service that will provide commenting functionality for your website. 
HaloScan was easy to set up even for a non-blog type website. It only required a few lines of pasted [...]&lt;img src="http://feeds.feedburner.com/~r/CodeSpatter/~4/330081648" height="1" width="1"/&gt;</description>
		<wfw:commentRss>http://codespatter.com/2008/07/08/implementing-haloscan-powered-comments/feed/</wfw:commentRss>
		<feedburner:origLink>http://codespatter.com/2008/07/08/implementing-haloscan-powered-comments/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic Page Served (once) in 0.462 seconds --><!-- Cached page served by WP-Super-Cache --><!-- Compression = gzip -->
