<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Hauru</title>
	<link>http://hauru.eu</link>
	<description>Personal techblog by Tomasz Paczkowski</description>
	<lastBuildDate>Mon, 15 Feb 2010 19:12:20 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Python&#8217;s Augmented Assignments</title>
		<description><![CDATA[Everyone knows that in Python variables are just references and passing such reference to function effectively copies value of the reference to functions local scope, hence any assignment within function has no effect on original variable. Knowing that, this took me by surprise:

>>> def add_eggs(foo):
...     foo += ['eggs']
...
>>> spam = ['spam']
>>> [...]]]></description>
		<link>http://hauru.eu/2010/02/15/python-augmented-assignments/</link>
			</item>
	<item>
		<title>Equality is not always sufficient</title>
		<description><![CDATA[I&#8217;ve just got hit by one of really typical errors while writing simple value type in Python. Consider following code:
class Simple(object):
    def __init__(self, val):
        self.val = val
    def __eq__(self, other):
        return self.val == other.val

The class [...]]]></description>
		<link>http://hauru.eu/2009/11/22/equality-is-not-always-sufficient/</link>
			</item>
	<item>
		<title>Idea about Expires header</title>
		<description><![CDATA[Since the Steve Sounder&#8217;s High Performance Web Sites everyone knows to set far future Expires header on their static assets. What he didn&#8217;t say was how to deal with the file changes. You can&#8217;t instruct browser to download the file so you actually have to change the file&#8217;s URL. 
Ruby on Rails handles this by [...]]]></description>
		<link>http://hauru.eu/2009/10/18/idea-about-expires-header/</link>
			</item>
	<item>
		<title>Clean Code by Robert C. Martin</title>
		<description><![CDATA[Clean Code is the best book I have read in last six months. In this book Robert C. Martin shares his great experience from the programming battlefield.
The book has a very good style. It guides you through refactoring of reams of Java code as if it was solving riddles. It&#8217;s not about high design, though, [...]]]></description>
		<link>http://hauru.eu/2009/01/28/clean-code-by-robert-c-martin/</link>
			</item>
	<item>
		<title>Gone Wordpress</title>
		<description><![CDATA[Quick and obvious info: I moved to wordpress. That&#8217;s kind of treason: wordpress is not in Python, but after evaluating it for a few hours it seems nice and very usable. I don&#8217;t know internal code, but from outside it&#8217;s quite good piece of software. Theme used: Elite.
]]></description>
		<link>http://hauru.eu/2008/12/14/gone-wordpress/</link>
			</item>
	<item>
		<title>Bazaar with Master Branch</title>
		<description><![CDATA[Problem statement
I have a bit svnish view of writing software: there should be one master branch for project just not to confuse users of your code where to get the most recent code from.
I&#8217;m writing a little app (I&#8217;ve posted about it earlier) with my girlfriend and we wanted to share and control code with [...]]]></description>
		<link>http://hauru.eu/2008/07/31/bazaar-master-branch/</link>
			</item>
	<item>
		<title>Failed with Google App Engine</title>
		<description><![CDATA[I&#8217;m writing a little app for my English course at Jagiellonian University in Django. Right now I&#8217;m hosting it here, on hauru.eu, but soon we&#8217;ll release a book we were producing whole year and thus I have to finish the app and make it public. I thought about putting it on Google App Engine  (think: [...]]]></description>
		<link>http://hauru.eu/2008/07/14/failed-with-google-app-engine/</link>
			</item>
</channel>
</rss>
