<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.6.1" -->
<rss version="0.92">
<channel>
	<title>David Cramer's Blog</title>
	<link>http://www.davidcramer.net</link>
	<description>A blog about Django, JavaScript, CSS, and general web development.</description>
	<lastBuildDate>Thu, 02 Jul 2009 20:00:03 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Pagination in Django</title>
		<description><![CDATA[One of the common things we do across projects is paginate querysets and lists. Django happens to provide a base Paginator for us, but it&#8217;s usefulness is limited. It requires you to do the same repetitive tasks over and over. We&#8217;re one of those groups of people who believe that not every URL need&#8217;s to [...]]]></description>
		<link>http://www.davidcramer.net/code/466/pagination-in-django.html</link>
			</item>
	<item>
		<title>Chuggin Away</title>
		<description><![CDATA[I haven&#8217;t made too many posts lately. Whether it&#8217;s been from lack of time, or simply nothing to write about who&#8217;s to say. That doesn&#8217;t mean I haven&#8217;t been keeping busy though.
We&#8217;ve been hard at work over at iBegin deploying some new architecture. It&#8217;s a pretty cool feat, but I can&#8217;t say too much about [...]]]></description>
		<link>http://www.davidcramer.net/work/lifestream-work/464/chuggin-away.html</link>
			</item>
	<item>
		<title>The EA Experience (EA Store)</title>
		<description><![CDATA[(My apologies this rant is long and should probably be called &#8220;The EA Nightmare&#8220;)
As many of you are aware, yesterday was the launch of one of the more anticipated games this year: The Sims 3. So, being a typical gamer, I had to pick it up (and the fact that my girlfriend is nuts about [...]]]></description>
		<link>http://www.davidcramer.net/other/455/the-ea-experience.html</link>
			</item>
	<item>
		<title>Improving GZipMiddleware in Django</title>
		<description><![CDATA[One issue we had come up over at iBegin lately, is the fact that GZipMiddleware tries to encode ALL responses (with a few minor exceptions). In our cases, we sometimes stream actual binary files over the response. Doing this with the standard middleware causes a unicode error as it&#8217;s trying to encode all of the [...]]]></description>
		<link>http://www.davidcramer.net/code/451/improving-gzipmiddleware-in-django.html</link>
			</item>
	<item>
		<title>Cleaning up with JSON and SQL in Django</title>
		<description><![CDATA[Most of our projects lately are now using JSON data storage in the database. This makes it very efficient for storing additional data without having to run alters are gigantic data sets. It also allows us to store different data for different kinds of sets within the same table.
Doing this in Django we originally created [...]]]></description>
		<link>http://www.davidcramer.net/code/448/cleaning-up-with-json-and-sql.html</link>
			</item>
	<item>
		<title>Refactoring Lifestream</title>
		<description><![CDATA[For a while now I&#8217;ve been wanting to rewrite Lifestream into a contained OO pattern. It seems to be the &#8220;best practice&#8221; when it comes to WordPress, but tutorials and what are not spread out so it took a bit of time.
During the process, I also took the opportunity to speed up certain areas, such [...]]]></description>
		<link>http://www.davidcramer.net/code/446/refactoring-lifestream.html</link>
			</item>
	<item>
		<title>Problems Uploading Packages with Setuptools on OS X</title>
		<description><![CDATA[This is mostly a note to myself, but also since my blog is very helpful to fellow Google-users I figured I&#8217;d throw it up here publicly.
Today I needed to update a package on PyPi using setuptools:
python setup.py sdist register upload
The problem was, no matter what I did, I always seemed to get this error:
Upload failed [...]]]></description>
		<link>http://www.davidcramer.net/code/python/443/problems-uploading-packages-with-setuptools-on-os-x.html</link>
			</item>
	<item>
		<title>Setting up Django and Sphinx Full-text Search (django-sphinx)</title>
		<description><![CDATA[A while back I posted a quick, and very simplistic guide to setting up django-sphinx within your project. Since that time we&#8217;ve gained a lot of use of the platform. It came to my attention today that the django-nyc group was going to do a presentation on how to setup sphinx within your Django project. [...]]]></description>
		<link>http://www.davidcramer.net/code/django/433/setting-up-django-and-sphinx-full-text-search-django-sphinx.html</link>
			</item>
	<item>
		<title>Scaling Your Frontend: Far-Futures Headers and Template Tags</title>
		<description><![CDATA[One of the many things we do to help optimize our website load times is optimize the frontend by setting far-futures headers. This simply means that media has an Expires tag of sometime in the distant future (maybe a year), and when we make changes, the filename needs to change. The easiest way to do [...]]]></description>
		<link>http://www.davidcramer.net/code/429/scaling-your-frontend-far-futures-headers-and-template-tags.html</link>
			</item>
	<item>
		<title>Mac OS X Security Update 2009-01 Fix for Perl and Fink</title>
		<description><![CDATA[As many users like myself probably have noticed, Apple seriously fucked us with their latest security release. From what I&#8217;ve read, they reverted Perl to an older version which doesn&#8217;t support some common features.
I began receiving errors such as the following with fink and other applications:

IO object version 1.22 does not match bootstrap parameter 1.23
Storable [...]]]></description>
		<link>http://www.davidcramer.net/mac/424/mac-os-x-security-update-2009-01-perl-fix.html</link>
			</item>
</channel>
</rss>
