<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>tqoicrtakyfhi</title>
	<atom:link href="http://bnem.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bnem.wordpress.com</link>
	<description></description>
	<lastBuildDate>Tue, 17 May 2011 08:10:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bnem.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>tqoicrtakyfhi</title>
		<link>http://bnem.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bnem.wordpress.com/osd.xml" title="tqoicrtakyfhi" />
	<atom:link rel='hub' href='http://bnem.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Chars</title>
		<link>http://bnem.wordpress.com/2011/05/17/chars/</link>
		<comments>http://bnem.wordpress.com/2011/05/17/chars/#comments</comments>
		<pubDate>Tue, 17 May 2011 08:10:47 +0000</pubDate>
		<dc:creator>bnem</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bnem.wordpress.com/?p=75</guid>
		<description><![CDATA[Firing huge 600 character mortars across each others bows, Deafening one another with our pent up hurt, Indignant that our opponent isn&#8217;t listening.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=75&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Firing huge 600 character mortars across each others bows,<br />
Deafening one another with our pent up hurt,<br />
Indignant that our opponent isn&#8217;t listening.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bnem.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bnem.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bnem.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bnem.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bnem.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bnem.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bnem.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bnem.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bnem.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bnem.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bnem.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bnem.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bnem.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bnem.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=75&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bnem.wordpress.com/2011/05/17/chars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7918117fcd13db3fe8496d987c99ed6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bnem</media:title>
		</media:content>
	</item>
		<item>
		<title>Android, Webkit and Date parsing</title>
		<link>http://bnem.wordpress.com/2011/03/15/android-webkit-and-date-parsing/</link>
		<comments>http://bnem.wordpress.com/2011/03/15/android-webkit-and-date-parsing/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 22:12:33 +0000</pubDate>
		<dc:creator>bnem</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://bnem.wordpress.com/?p=70</guid>
		<description><![CDATA[Here&#8217;s a thing. You know how you&#8217;ve always felt a bit uneasy when you&#8217;ve passed a string into javascript&#8217;s new Date(), even when you know it&#8217;s in perfectly respectable ISO format? Well it doesn&#8217;t work at all on my phone (Android 2.1 running WebKit 3.1). Bummer. Give new Date() a timestamp instead. Here&#8217;s some dirty [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=70&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a thing. </p>
<p>You know how you&#8217;ve always felt a bit uneasy when you&#8217;ve passed a string into javascript&#8217;s <code>new Date()</code>, even when you know it&#8217;s in perfectly respectable ISO format?</p>
<p>Well it doesn&#8217;t work at all on my phone (Android 2.1 running WebKit 3.1).</p>
<p>Bummer.</p>
<p>Give <code>new Date()</code> a timestamp instead. Here&#8217;s some dirty python to generate just that:</p>
<p><pre class="brush: python;">
    import time
    return int(time.mktime(the_date.timetuple()) * 1000)
</pre></p>
<p>We&#8217;ll fret about timezones later</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bnem.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bnem.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bnem.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bnem.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bnem.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bnem.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bnem.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bnem.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bnem.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bnem.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bnem.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bnem.wordpress.com/70/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bnem.wordpress.com/70/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bnem.wordpress.com/70/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=70&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bnem.wordpress.com/2011/03/15/android-webkit-and-date-parsing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7918117fcd13db3fe8496d987c99ed6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bnem</media:title>
		</media:content>
	</item>
		<item>
		<title>My sleepy bunny</title>
		<link>http://bnem.wordpress.com/2011/03/11/my-sleepy-bunny/</link>
		<comments>http://bnem.wordpress.com/2011/03/11/my-sleepy-bunny/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 19:21:58 +0000</pubDate>
		<dc:creator>bnem</dc:creator>
				<category><![CDATA[childs]]></category>

		<guid isPermaLink="false">http://bnem.wordpress.com/?p=66</guid>
		<description><![CDATA[My sleepy bunny sleeps all day long and whiles he sleeping he dreams up a song&#8230; About a pirate who digs up some treasure and whiles hes digging he starts to measure&#8230; He starts to measure a telescope filled with seweed and lots of hope&#8230; The hope says &#8220;I&#8217;m not afraid but please let me [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=66&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My sleepy bunny sleeps all day long<br />
and whiles he sleeping he dreams up a song&#8230;<br />
About a pirate who digs up some treasure<br />
and whiles hes digging he starts to measure&#8230;<br />
He starts to measure a telescope<br />
filled with seweed and lots of hope&#8230;<br />
The hope says &#8220;I&#8217;m not afraid<br />
but please let me join your ambulance aid&#8221;&#8230;<br />
The seweed said &#8220;Of course you can<br />
but promise not to drive my little van&#8230;<br />
Seweeds little ambulance had lots of chance<br />
to rescue fish from the underground ants&#8230;<br />
And the underground ants started to dance<br />
to lots of pop and rock&#8230;<br />
The ants like pop the best<br />
and somtimes they wear their best VEST!</p>
<p><em>Ruby Miller</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bnem.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bnem.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bnem.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bnem.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bnem.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bnem.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bnem.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bnem.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bnem.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bnem.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bnem.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bnem.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bnem.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bnem.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=66&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bnem.wordpress.com/2011/03/11/my-sleepy-bunny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7918117fcd13db3fe8496d987c99ed6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bnem</media:title>
		</media:content>
	</item>
		<item>
		<title>Peas with herbs and feta</title>
		<link>http://bnem.wordpress.com/2009/09/21/peas-with-herbs-and-feta/</link>
		<comments>http://bnem.wordpress.com/2009/09/21/peas-with-herbs-and-feta/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 19:40:14 +0000</pubDate>
		<dc:creator>bnem</dc:creator>
				<category><![CDATA[food]]></category>

		<guid isPermaLink="false">http://bnem.wordpress.com/?p=63</guid>
		<description><![CDATA[Not sure of the provenance of this, I suppose it&#8217;s a bit mezze. Oddly comforting though and a useful store cupboard standby. Preparation time 5m Cooking time 10m Difficulty 1 Serves 4 Ingredients 600g frozen peas 200g Feta 4 tblsps nice olive oil 2 spring onions 1 bunch of parsley &#189; bunch of mint &#188; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=63&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="forkd recipe">
<div class="description">
<p class="first">Not sure of the provenance of this, I suppose it&#8217;s a bit mezze. <br />Oddly comforting though and a useful store cupboard standby.</p>
</p></div>
<dl class="attributes">
<dt class="preparation_time">Preparation time</dt>
<dd class="preparation_time">5m</dd>
<dt class="cooking_time">Cooking time</dt>
<dd class="cooking_time">10m</dd>
<dt class="difficulty">Difficulty</dt>
<dd class="difficulty">1</dd>
<dt class="servings">Serves</dt>
<dd class="servings">4</dd>
</dl>
<p>  <img class="hero" src="http://forkd.com/photo/836?width=235" alt="I really must get a better camera" width="235">
<div class="ingredients">
<div class="subheading">Ingredients</div>
<ul class="ingredients">
<li class="ingredient"><strong class="measure">600g</strong> frozen peas</li>
<li class="ingredient"><strong class="measure">200g</strong> Feta</li>
<li class="ingredient"><strong class="measure">4 tblsps</strong> nice olive oil</li>
<li class="ingredient"><strong class="measure">2</strong> spring onions</li>
<li class="ingredient"><strong class="measure">1</strong> bunch of parsley</li>
<li class="ingredient"><strong class="measure">&#189;</strong> bunch of mint</li>
<li class="ingredient"><strong class="measure">&#188;</strong> bunch fresh oregano (optional)</li>
<li class="ingredient">Squirt of lemon</li>
</ul></div>
<div class="preparation">
<div class="subheading">Preparation</div>
<p>Drop the peas in boiling water and let them come back up to the boil, leave them there for a couple of minutes, then drain.<br />Pour the olive oil into the warm pan and add the finely chopped spring onions. Swirl around a bit, then add the peas, the crumbled feta and the finely chopped herbs.<br />Add a grind of pepper and a squirt of lemon to taste.<br />Eat warm.</p>
</p></div>
<div class="source">    <a href="http://forkd.com/recipe/peas-with-herbs-and-feta-1435"><img class="badge" src="http://forkd.com/static/images/logo_minimal_badge.gif"></a>  </div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bnem.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bnem.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bnem.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bnem.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bnem.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bnem.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bnem.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bnem.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bnem.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bnem.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bnem.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bnem.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bnem.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bnem.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=63&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bnem.wordpress.com/2009/09/21/peas-with-herbs-and-feta/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7918117fcd13db3fe8496d987c99ed6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bnem</media:title>
		</media:content>

		<media:content url="http://forkd.com/photo/836?width=235" medium="image">
			<media:title type="html">I really must get a better camera</media:title>
		</media:content>

		<media:content url="http://forkd.com/static/images/logo_minimal_badge.gif" medium="image" />
	</item>
		<item>
		<title>Toggle screen rotate shell script</title>
		<link>http://bnem.wordpress.com/2009/08/16/toggle-screen-rotate-shell-script/</link>
		<comments>http://bnem.wordpress.com/2009/08/16/toggle-screen-rotate-shell-script/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 09:11:43 +0000</pubDate>
		<dc:creator>bnem</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://bnem.wordpress.com/?p=55</guid>
		<description><![CDATA[A smutty, filthy, dirty little shell script to toggle screen rotation on my netbook. The results of xrandr -q will probably be different depending on what graphics set up you have, so adapt it to suit your needs. Compare the output of xrandr -q when the screen is in a normal rotation to it when [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=55&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A smutty, filthy, dirty little shell script to toggle screen rotation on my netbook.</p>
<p>The results of xrandr -q will probably be different depending on what graphics set up you have, so adapt it to suit your needs. Compare the output of xrandr -q when the screen is in a normal rotation to it when it&#8217;s rotated right (xrandr -o 1 or xrandr -o right) and grep for the difference.</p>
<p>This is really useful when I want to read a long article or admire something in portrait mode. Now just need to work out how to rotate the trackpad input as well&#8230;</p>
<p><pre class="brush: bash;">
#!/bin/sh
if [ &quot;`xrandr -q | grep 'current 1024 x 600'`&quot; != '' ]
then
	xrandr -o 1
else
	xrandr -o 0
fi
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bnem.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bnem.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bnem.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bnem.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bnem.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bnem.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bnem.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bnem.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bnem.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bnem.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bnem.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bnem.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bnem.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bnem.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=55&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bnem.wordpress.com/2009/08/16/toggle-screen-rotate-shell-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7918117fcd13db3fe8496d987c99ed6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bnem</media:title>
		</media:content>
	</item>
		<item>
		<title>Rapid Django views for daft quick prototyping</title>
		<link>http://bnem.wordpress.com/2009/05/19/rapid-django-views-for-daft-quick-prototyping/</link>
		<comments>http://bnem.wordpress.com/2009/05/19/rapid-django-views-for-daft-quick-prototyping/#comments</comments>
		<pubDate>Tue, 19 May 2009 22:15:36 +0000</pubDate>
		<dc:creator>bnem</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://bnem.wordpress.com/?p=45</guid>
		<description><![CDATA[We had a need the other week to churn out the skeleton of a site to see how the different areas fitted together. As the thing was being written in Django anyway I put together this quick &#8216;n dirty utility that renders the reStructuredText docstring of a view to the returned response, so you can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=45&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We had a need the other week to churn out the skeleton of a site to see how the different areas fitted together.<br />
As the thing was being written in Django anyway I put together this quick &#8216;n dirty utility that renders the <a href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> docstring of a view to the returned response, so you can quickly put in page furniture and links to other views without having to go to the effort of creating templates.<br />
Better still, as it&#8217;s implemented as a decorator on the method, it&#8217;s easy to swap out once you get around to writing the actual view code.</p>
<p><pre class="brush: python;">

def docview(fn):
    from docutils.core import publish_string
    from django.http import HttpResponse

    r = HttpResponse(publish_string(
            source=fn.func_doc,
            writer_name='html'))
    
    return lambda rtn: r

</pre></p>
<p>Then decorate your method:</p>
<p><pre class="brush: python;">

@docview
def fast_view(request):
    &quot;&quot;&quot;
===========
A Fast View
===========

With links to:

 * `An even faster view &lt;/faster_view&gt;`_
 * `Somewhere else &lt;http://google.co.uk&gt;`_
 
    &quot;&quot;&quot;

</pre></p>
<p>Which will render something like:</p>
<h1>A Fast View</h1>
<p>With links to:</p>
<ul>
<li><a href="/faster_view">An even faster view</a></li>
<li><a href="http://google.co.uk">Somewhere else</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bnem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bnem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bnem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bnem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bnem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bnem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bnem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bnem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bnem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bnem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bnem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bnem.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bnem.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bnem.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=45&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bnem.wordpress.com/2009/05/19/rapid-django-views-for-daft-quick-prototyping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7918117fcd13db3fe8496d987c99ed6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bnem</media:title>
		</media:content>
	</item>
		<item>
		<title>twitter: who follows who?</title>
		<link>http://bnem.wordpress.com/2009/04/13/twitter-who-follows-who/</link>
		<comments>http://bnem.wordpress.com/2009/04/13/twitter-who-follows-who/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 19:04:54 +0000</pubDate>
		<dc:creator>bnem</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://bnem.wordpress.com/?p=36</guid>
		<description><![CDATA[A hackity hack to find out if one twittard is following another. You&#8217;ll need python-twtitter and simplejson, just do: &#62; python twit.py twittard1 twittard2 or stick it in ~/bin and chmod +x it, a la caolan&#8217;s suggestion<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=36&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: python;">
#!/usr/bin/env python
import sys, urllib2, twitter

def main(*args):
	try:
		t = twitter.Api('A_VALID_USER', 'A_VALID_PASSWORD')
		f = t.GetFriends(user=args[1])
		if any(u for u in f if u.screen_name == args[2]):
			print 'yup, %s follows %s' % (args[1], args[2])
		else:
			print 'nup, %s does not follow %s' % (args[1], args[2])
	except urllib2.HTTPError, e:
		if e.code == 404:
			print "soz, %s isn't a user" % (args[1])
		else:
			raise e

if __name__ == '__main__':
	if len(sys.argv) &gt; 1:
		main(*sys.argv)
	else:
		print "who follows who?"
</pre></p>
<p>A hackity hack to find out if one twittard is following another.</p>
<p>You&#8217;ll need <a href="http://code.google.com/p/python-twitter/">python-twtitter</a> and <a href="http://cheeseshop.python.org/pypi/simplejson">simplejson</a>, just do:</p>
<p>&gt; python twit.py twittard1 twittard2</p>
<p>or stick it in ~/bin and chmod +x it, a la <a href="http://www.caolanmcmahon.com/blog/multiple_account_tweet_script">caolan&#8217;s suggestion</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bnem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bnem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bnem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bnem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bnem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bnem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bnem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bnem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bnem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bnem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bnem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bnem.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bnem.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bnem.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=36&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bnem.wordpress.com/2009/04/13/twitter-who-follows-who/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7918117fcd13db3fe8496d987c99ed6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bnem</media:title>
		</media:content>
	</item>
		<item>
		<title>Easy Peasy on Acer Aspire one</title>
		<link>http://bnem.wordpress.com/2009/03/13/easy-peasy-on-acer-aspire-one/</link>
		<comments>http://bnem.wordpress.com/2009/03/13/easy-peasy-on-acer-aspire-one/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 21:44:12 +0000</pubDate>
		<dc:creator>bnem</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[Netbook Acer Easy Peasy]]></category>

		<guid isPermaLink="false">http://bnem.wordpress.com/?p=29</guid>
		<description><![CDATA[My cute and shiny little brown Acer Aspire One arrived today and very cute and shiny it is too. Did I mention it was brown? I&#8217;m writing on it right now dontcha know. Being a twitchy geek I was switching Linux distros as soon as it came out of the box. It comes with the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=29&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My cute and shiny little brown Acer Aspire One arrived today and very cute and shiny it is too. Did I mention it was brown? I&#8217;m writing on it right now dontcha know.</p>
<p>Being a twitchy geek I was switching Linux distros as soon as it came out of the box. It comes with the perfectly reasonable Linpus on it, which derives from Fedora 8. I switched to Easy Peasy though which is based on Ubuntu and has Debian packagey niceness all over it. You can find it <a href="http://geteasypeasy.com/">here</a></p>
<p>It installed off a USB stick and after a moment of mild panic triggered by not being able to see any wireless networks (a reboot seemed to sort this out) everything was peachy.</p>
<p>One annoying thing (which is mostly the reason for this post) is that on reboot, the installer tries to do it&#8217;s thing again. This is to do with the Ubiquity installer being left in the session start up. To stop this go to System &gt;&gt; Preferences &gt;&gt; Sessions and uncheck Ubiquity in the start up programs list.</p>
<p>Whilst you&#8217;re there, if you want a more classical looking desktop, uncheck Maximus and Netbook Launcher.</p>
<p>But only if you want to you understand.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bnem.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bnem.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bnem.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bnem.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bnem.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bnem.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bnem.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bnem.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bnem.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bnem.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bnem.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bnem.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bnem.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bnem.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=29&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bnem.wordpress.com/2009/03/13/easy-peasy-on-acer-aspire-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7918117fcd13db3fe8496d987c99ed6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bnem</media:title>
		</media:content>
	</item>
		<item>
		<title>Lydell End 2050 sketches</title>
		<link>http://bnem.wordpress.com/2009/02/20/lydell-end-2050-sketches/</link>
		<comments>http://bnem.wordpress.com/2009/02/20/lydell-end-2050-sketches/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 00:20:54 +0000</pubDate>
		<dc:creator>bnem</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[lydell end 2050]]></category>

		<guid isPermaLink="false">http://bnem.wordpress.com/?p=22</guid>
		<description><![CDATA[So, I&#8217;ve failed in getting my arse in gear over this, but have come up with some  ideas which Ru and I sketched out the other day. This is Ru&#8217;s cubist masterpiece: Very Braquian I thought. Mine should be considered more of a technical illustration, coming up with a plan of attack sort of thing. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=22&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve failed in getting my arse in gear over this, but have come up with some  ideas which Ru and I sketched out the other day.</p>
<p>This is Ru&#8217;s cubist masterpiece:</p>
<p><a title="ru_house by bnem, on Flickr" href="http://www.flickr.com/photos/bnem/3294134574/"><img src="http://farm4.static.flickr.com/3310/3294134574_8e0eeca108.jpg" alt="ru_house" width="467" height="500" /></a></p>
<p>Very Braquian I thought.</p>
<p>Mine should be considered more of a technical illustration, coming up with a plan of attack sort of thing. Okay, so I&#8217;ll admit, hers <em>is</em> better than mine:</p>
<p><a title="me_house by bnem, on Flickr" href="http://www.flickr.com/photos/bnem/3294134572/"><img src="http://farm4.static.flickr.com/3320/3294134572_ccfb31010a.jpg" alt="me_house" width="450" height="500" /></a></p>
<p>The idea behind it is, if you have friends or family staying over, you flick a switch and another storey sort of concertinas it&#8217;s way out of the roof space.</p>
<p>It was partly inspired by a cartoon I saw years ago, probably by Tex Avery, that described life in the future. One of the gadgets was an instant house that came the size of a matchbox, to which you just added water and pop!</p>
<p><strong>Update:</strong> The cartoons <em>were</em> by Tex Avery and they were a series of shorts he did called &#8220;&#8230;of Tomorrow&#8221;.<br />
More <a href="http://secretfunspot.blogspot.com/2007/09/tex-averys-tomorrow.html">here</a></p>
<p><strong>Updated update:</strong> actually try <a href="http://www.youtube.com/watch?v=-vPJkQsP20A">here</a> and you don&#8217;t even have to add water.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bnem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bnem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bnem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bnem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bnem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bnem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bnem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bnem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bnem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bnem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bnem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bnem.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bnem.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bnem.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=22&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bnem.wordpress.com/2009/02/20/lydell-end-2050-sketches/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7918117fcd13db3fe8496d987c99ed6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bnem</media:title>
		</media:content>

		<media:content url="http://farm4.static.flickr.com/3310/3294134574_8e0eeca108.jpg" medium="image">
			<media:title type="html">ru_house</media:title>
		</media:content>

		<media:content url="http://farm4.static.flickr.com/3320/3294134572_ccfb31010a.jpg" medium="image">
			<media:title type="html">me_house</media:title>
		</media:content>
	</item>
		<item>
		<title>Lyddle End 2050</title>
		<link>http://bnem.wordpress.com/2009/01/27/lyddle-end-2050/</link>
		<comments>http://bnem.wordpress.com/2009/01/27/lyddle-end-2050/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 00:33:50 +0000</pubDate>
		<dc:creator>bnem</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[big room]]></category>
		<category><![CDATA[lyddle end 2050]]></category>

		<guid isPermaLink="false">http://bnem.wordpress.com/?p=12</guid>
		<description><![CDATA[Couldn&#8217;t really be any more exited without rupturing something. I came across Russell Davies’ Lyddle End 2050 Challenge the other day and penned him the following (terribly polite) email: &#8212;- Hi Russell, Following an extended shamble around the internet the other day, I came across the inspired Lyddle End 2050 project and wondered if I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=12&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Couldn&#8217;t really be any more exited without rupturing something.</p>
<p>I came across <a href="http://russelldavies.typepad.com/planning/2008/11/speculative-mod.html">Russell Davies’ Lyddle End 2050 Challenge</a> the other day and penned him the following (terribly polite) email:</p>
<p>&#8212;-</p>
<p>Hi Russell,</p>
<p>Following an extended shamble around the internet the other day, I came across the inspired Lyddle End 2050 project and wondered if I could get involved?</p>
<p>Having just read the latest (15th Jan) post, I understand I might be a bit late for buildings supplied by you, but was hoping you might be able to give some guidance on obtaining the materials myself as well as any particular aspect of future culture that might be missing from the diorama (or at least what has been already created, so as not to repeat efforts).</p>
<p>Yours in anticipation</p>
<p>Ben Miller</p>
<p>&#8212;-</p>
<p>He very kindly replied with advice on where to find <a href="http://lyddleend2050.tumblr.com/">more information</a> and the only real restriction on materials (anything in the <a href="http://www.hornby.com/brands/lyddle-end/products/">N Gauge,  Lyddle End / Hornby range</a>).</p>
<p>So I giddily went out to the model shop on saturday (which, to top it all off, was my birthday) to get me a tiny house!! LOOK AT IT!!</p>
<p><img class="size-medium wp-image-6 alignnone" title="Small Stone House" src="http://bnem.files.wordpress.com/2009/01/dscf1316.jpg?w=300&#038;h=225" alt="Small Stone House" width="300" height="225" /></p>
<p>I&#8217;ll post some sketches for ideas when I get my scanner working.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bnem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bnem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bnem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bnem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bnem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bnem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bnem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bnem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bnem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bnem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bnem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bnem.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bnem.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bnem.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bnem.wordpress.com&amp;blog=2552369&amp;post=12&amp;subd=bnem&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bnem.wordpress.com/2009/01/27/lyddle-end-2050/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7918117fcd13db3fe8496d987c99ed6d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bnem</media:title>
		</media:content>

		<media:content url="http://bnem.files.wordpress.com/2009/01/dscf1316.jpg?w=300" medium="image">
			<media:title type="html">Small Stone House</media:title>
		</media:content>
	</item>
	</channel>
</rss>
