<?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>The online home of Rufus Pollock &#187; Code</title>
	<atom:link href="http://rufuspollock.org/tags/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://rufuspollock.org</link>
	<description></description>
	<lastBuildDate>Thu, 02 Feb 2012 15:12:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Shuttleworth Fellowship Bi-Annual Review</title>
		<link>http://rufuspollock.org/2011/11/25/shuttleworth-fellowship-bi-annual-review/</link>
		<comments>http://rufuspollock.org/2011/11/25/shuttleworth-fellowship-bi-annual-review/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 17:14:03 +0000</pubDate>
		<dc:creator>Rufus Pollock</dc:creator>
				<category><![CDATA[Activity Updates]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Open Data]]></category>
		<category><![CDATA[Open Knowledge Foundation]]></category>
		<category><![CDATA[Own Work]]></category>
		<category><![CDATA[Shuttleworth Fellow]]></category>

		<guid isPermaLink="false">http://rufuspollock.org/?p=1057</guid>
		<description><![CDATA[As part of my Shuttleworth Fellowship I&#8217;m preparing bi-annual reviews of what I &#8212; and projects I&#8217;m involved in &#8212; have been up to. So, herewith are some some highlights from the last 6 months. CKAN and the theDataHub Finalized separation of software and site: <a href="http://ckan.org/">CKAN</a> = data hub software, <a href="http://thedatahub.org/">theDataHub.org</a> = community [...]]]></description>
			<content:encoded><![CDATA[<p>As part of my Shuttleworth Fellowship I&#8217;m preparing bi-annual reviews of what I &#8212; and projects I&#8217;m involved in &#8212; have been up to. So, herewith are some some highlights from the last 6 months.</p>

<h2>CKAN and the theDataHub</h2>

<ul>
<li>Finalized separation of software and site: <a href="http://ckan.org/">CKAN</a> = data hub software, <a href="http://thedatahub.org/">theDataHub.org</a> = community data hub site</li>
<li>Worked heavily to develop CKAN as a product e.g. much improved website <a href="http://ckan.org/">http://ckan.org/</a>, nascent partner programme and more</li>
<li>Major milestone with <a href="http://blog.okfn.org/2011/11/14/major-new-ckan-release-v1-5/">CKAN v1.5 release</a> just 2 weeks ago. Result of 6 months of development with major new features.</li>
<li><a href="http://thedatahub.org/">theDataHub</a> has also been much improved with move to new servers, a new theme (default in CKAN v1.5) and deployment of ever more extensions</li>
<li>Some personal items:

<ul>
<li><a href="http://wiki.ckan.org/DataExplorer">DataExplorer</a></li>
<li>UX work &#8211; <a href="http://wiki.ckan.org/UX">http://wiki.ckan.org/UX</a></li>
<li><a href="http://github.com/okfn/dpm">data package manager (dpm)</a> and work on <a href="http://wiki.ckan.org/Data_Packages">Data Packages spec</a></li>
</ul></li>
</ul>

<h2>OpenSpending</h2>

<ul>
<li>Two major point releases of <a href="https://github.com/okfn/openspending">OpenSpending software</a> <a href="http://blog.okfn.org/2011/09/20/openspending-v0-10-released/">v0.10</a> and <a href="http://blog.openspending.org/2011/11/16/openspending-v0-11-released/">v0.11</a> (v0.11 just last week!). Huge maturing and development of the system. Backend architecture now finalized after a major refactor and reworking.</li>
<li>Community has grown significantly with now almost 50 OpenSpending datasets on theDataHub.org and growing group of core &#8220;data wranglers&#8221;</li>
<li><a href="http://blog.okfn.org/2011/06/22/spending-stories-is-a-winner-of-the-knight-news-challenge/">Spending Stories</a> was a winner of the Knight News Challenge. Spending Stories will build on and extend OpenSpending.</li>
</ul>

<h2>Open Bibliography and the Public Domain</h2>

<ul>
<li>The <a href="http://publicdomainreview.org/">Public Domain Review</a> goes from strength to strength</li>
<li><a href="http://bibserver.okfn.org/">BibServer</a> has had a ground-up rewrite and can be seen online at <a href="http://bibsoup.net/">http://bibsoup.net/</a></li>
<li>Additional support from JISC for a second phase of <a href="http://openbiblio.net/p/jiscopenbib2/">JISC Open Bibliography project</a></li>
</ul>

<h2>Open Knowledge Foundation and the Community</h2>

<ul>
<li>In September we received a 3 year <a href="http://blog.okfn.org/2011/09/19/omidyar-network-support-okf-to-go-global/">grant from the Omidyar Network to help the Open Knowledge Foundation sustain and expand its community</a> especially in the formation of new chapters</li>
<li>Completed a <a href="http://okfn.org/jobs">major recruitment process</a> in (Summer-Autumn 2011) to bring on more paid OKFN team members including community coordinators, foundation coordinator and developers</li>
<li>The Foundation participated in launch of Open Government Partnership and CSO events surrounding the meeting</li>
<li><a href="http://okfn.org/wg/">Working groups</a> continuing to develop. Too much activity to summarize it all here but some highlights include:

<ul>
<li>WG Science Coordinator Jenny Molloy travelling to OSS2011 in SF to present Open Research Reports with Peter Murray-Rust</li>
<li>Open Economics WG developing and Open Knowledge Index in August</li>
<li>Open Bibliography working group&#8217;s work on an Metadata guide.</li>
<li>Open Humanities / Open Literature working group winning Inventare Il Futuro competition with their idea to use the <a href="http://okfn.org/projects/annotator/">Annotator</a></li>
</ul></li>
<li>Development of new <a href="http://okfn.org/chapters/">Local Groups and Chapters</a>

<ul>
<li>Lots of ongoing activities in existing local groups and chapters such as those in Germany and Italy have</li>
<li>In addition, interest from a variety of areas in the establishment of new chapters and local groups, for example in <a href="http://wiki.okfn.org/Chapter/Brazil">Brazil</a> and <a href="http://wiki.okfn.org/Chapter/Brazil">Belgium</a></li>
</ul></li>
<li>Start of work on <a href="http://wiki.okfn.org/OKFN_Labs">OKFN labs</a>

<ul>
<li>Alpha website at <a href="http://labs.okfn.org/">http://labs.okfn.org/</a></li>
<li><a href="http://wiki.okfn.org/Community_Dashboard">Dashboard sprint</a></li>
</ul></li>
</ul>

<h3>Meetups and Events</h3>

<ul>
<li>Regular OKFN organized <a href="http://www.meetup.com/OpenKnowledgeFoundation/London-GB/">Open Data meetup in london</a></li>
<li><a href="http://ogdcamp.org/">Open Government Data Camp</a></li>
</ul>

<h3>Talks and Events</h3>

<ul>
<li>Attended Open Government Partnership meeting in July in Washington DC and launch event in New York in September</li>
<li>Attended Chaos Computer Camp with other OKFNers in August near Berlin</li>
<li>September: Spoke at PICNIC in Amsterdam</li>
<li>October: Code for America Summit in San Francisco (plus meetings) &#8211; see <a href="http://rufuspollock.org/2011/10/17/weekly-update-rufus-pollock-2/">partial writeup</a></li>
<li>October: <a href="http://ogdcamp.org/">Open Government Data Camp</a> in Warsaw (organized by Open Knowledge Foundation)</li>
<li>November: South Africa &#8211; see this post on <a href="http://blog.okfn.org/2011/11/18/two-open-knowledge-events-in-cape-town-africahome-and-open-knowledge-meetup/">Africa@Home and Open Knowledge meetup in Cape Town</a></li>
</ul>

<h3>General</h3>

<ul>
<li>Partcipation in meetings of the <a href="http://data.gov.uk/blog/new-public-sector-transparency-board-and-public-data-transparency-principles">UK Public Sector Transparency Board</a></li>
<li><a href="http://okfn.org/projects/annotator/">Annotator</a> has seen ongoing coding and growing use &#8211; including very promising <a href="http://lists.okfn.org/pipermail/annotator-dev/2011-September/000110.html">integration of Annotator with textbooks thanks to Ewald Zietsman of Siyavula</a></li>
<li>Co-coded <a href="https://github.com/citizen-cyberscience-centre/pybossa">PyBossa</a> &#8211; an open source platform for crowd-sourcing online (volunteer) assistance to perform tasks that require human cognition, knowledge or intelligence (e.g. image classification, transcription, information location etc)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://rufuspollock.org/2011/11/25/shuttleworth-fellowship-bi-annual-review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tabular Data Formats</title>
		<link>http://rufuspollock.org/2011/10/09/tabular-data-formats/</link>
		<comments>http://rufuspollock.org/2011/10/09/tabular-data-formats/#comments</comments>
		<pubDate>Sun, 09 Oct 2011 14:04:52 +0000</pubDate>
		<dc:creator>Rufus Pollock</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Open Knowledge Foundation]]></category>
		<category><![CDATA[Shuttleworth Fellow]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://rufuspollock.org/?p=1011</guid>
		<description><![CDATA[As part of recent work on the <a href="http://wiki.ckan.org/DataExplorer">DataExplorer</a> I&#8217;ve been looking into formats / schemas for tabular data and have just posted this info on the wiki: <a href="http://wiki.ckan.org/Data_Formats#Formats_-_Tabular">http://wiki.ckan.org/Data_Formats#Formats_-_Tabular</a> The list is quite short and if anyone out there has useful links or comments I&#8217;d love to know more (as one example, I hear [...]]]></description>
			<content:encoded><![CDATA[<p>As part of recent work on the <a href="http://wiki.ckan.org/DataExplorer">DataExplorer</a> I&#8217;ve been looking into formats / schemas for tabular data and have just posted this info on the wiki:</p>

<p><a href="http://wiki.ckan.org/Data_Formats#Formats_-_Tabular">http://wiki.ckan.org/Data_Formats#Formats_-_Tabular</a></p>

<p>The list is quite short and if anyone out there has useful links or comments I&#8217;d love to know more (as one example, I hear very positive things about R and its data frames but have not yet tracked down a really good overview of interface of how its designed).</p>

<p>Background: why are we looking at this? The immediate reason is that we want to define a lightweight intermediate format for <a href="http://wiki.ckan.org/DataExplorer">DataExplorer</a> (and possibly the <a href="http://wiki.ckan.org/Webstore">Webstore</a>) into which one can convert incoming data coming from different sources (e.g. Webstore, Google docs, OData etc) before exporting to formats needed for the display widgets (such as SlickGrid, flot, d3 etc).</p>
]]></content:encoded>
			<wfw:commentRss>http://rufuspollock.org/2011/10/09/tabular-data-formats/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Javascript Libraries for Working with Data</title>
		<link>http://rufuspollock.org/2011/05/08/javascript-libraries-for-working-with-data/</link>
		<comments>http://rufuspollock.org/2011/05/08/javascript-libraries-for-working-with-data/#comments</comments>
		<pubDate>Sun, 08 May 2011 13:35:59 +0000</pubDate>
		<dc:creator>Rufus Pollock</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://rufuspollock.org/?p=946</guid>
		<description><![CDATA[Any pointers to existing js utility libraries for working with data (e.g. convert to/from standard services, parse dates etc)?]]></description>
			<content:encoded><![CDATA[<p>Any pointers to existing js utility libraries for working with data (e.g. convert to/from standard services, parse dates etc)?</p>
]]></content:encoded>
			<wfw:commentRss>http://rufuspollock.org/2011/05/08/javascript-libraries-for-working-with-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript Templating and Frameworks</title>
		<link>http://rufuspollock.org/2011/04/03/javascript-templating-and-frameworks/</link>
		<comments>http://rufuspollock.org/2011/04/03/javascript-templating-and-frameworks/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 11:10:13 +0000</pubDate>
		<dc:creator>Rufus Pollock</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Open Knowledge Foundation]]></category>

		<guid isPermaLink="false">http://rufuspollock.org/?p=963</guid>
		<description><![CDATA[Ongoing and incomplete review of javascript templating systems and frameworks. Templating Unobtrusive (HTML + JSON) weld <a href="https://github.com/hij1nx/weld">https://github.com/hij1nx/weld</a> tags: unobtrusive beta minimal.js <a href="https://github.com/ruidlopes/minimal.js">https://github.com/ruidlopes/minimal.js</a> tags: unobtrusive &#8216;Standard&#8217; Templating Browser jquery.tmpl / jqtpl <a href="https://github.com/jquery/jquery-tmpl">https://github.com/jquery/jquery-tmpl</a> / <a href="https://github.com/kof/node-jqtpl">https://github.com/kof/node-jqtpl</a> tags: nodejs jquery browser beta tempo <a href="http://twigkit.github.com/tempo/">http://twigkit.github.com/tempo/</a> Listings <a href="https://github.com/ry/node/wiki/modules#templating">https://github.com/ry/node/wiki/modules#templating</a> Many of these work with browser Testing [...]]]></description>
			<content:encoded><![CDATA[<p>Ongoing and incomplete review of javascript templating systems and frameworks.</p>

<h1>Templating</h1>

<h2>Unobtrusive (HTML + JSON)</h2>

<ul>
<li>weld

<ul>
<li><a href="https://github.com/hij1nx/weld">https://github.com/hij1nx/weld</a></li>
<li>tags: unobtrusive beta</li>
</ul></li>
<li>minimal.js

<ul>
<li><a href="https://github.com/ruidlopes/minimal.js">https://github.com/ruidlopes/minimal.js</a></li>
<li>tags: unobtrusive</li>
</ul></li>
</ul>

<h2>&#8216;Standard&#8217; Templating Browser</h2>

<ul>
<li>jquery.tmpl / jqtpl

<ul>
<li><a href="https://github.com/jquery/jquery-tmpl">https://github.com/jquery/jquery-tmpl</a> / <a href="https://github.com/kof/node-jqtpl">https://github.com/kof/node-jqtpl</a></li>
<li>tags: nodejs jquery browser beta</li>
</ul></li>
<li>tempo

<ul>
<li><a href="http://twigkit.github.com/tempo/">http://twigkit.github.com/tempo/</a></li>
</ul></li>
</ul>

<h2>Listings</h2>

<ul>
<li><a href="https://github.com/ry/node/wiki/modules#templating">https://github.com/ry/node/wiki/modules#templating</a>

<ul>
<li>Many of these work with browser</li>
</ul></li>
</ul>

<h1>Testing</h1>

<ul>
<li>nodeunit</li>
<li>qunit</li>
<li>jasmine</li>
<li>sinon.js (mocking) &#8211; integrates with qunit well</li>
</ul>

<h1>Frameworks</h1>

<h2>Client-side</h2>

<ul>
<li>backbone &#8211; used quite a bit</li>
<li>knockout</li>
<li>(big) sproutcore</li>
</ul>

<h2>Node</h2>

<ul>
<li>express

<ul>
<li>tags: nodejs</li>
</ul></li>
<li>backbone now supported pretty well</li>
</ul>

<h1>Messaging and Job Queues</h1>

<ul>
<li>rabbit.js</li>
<li>resque in js &#8211; <a href="https://github.com/technoweenie/coffee-resque">https://github.com/technoweenie/coffee-resque</a></li>
</ul>

<h1>HTML5</h1>

<ul>
<li>modernizr</li>
<li>html5boilerplate

<ul>
<li><a href="http://html5boilerplate.com/">http://html5boilerplate.com/</a></li>
</ul></li>
</ul>

<h1>ORMs</h1>

<ul>
<li>For mongo: <a href="http://mongoosejs.com/">http://mongoosejs.com/</a></li>
<li>Backbone sort of includes one (though relationships are poorly handled at the moment)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://rufuspollock.org/2011/04/03/javascript-templating-and-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hg-git and pushing to git from mercurial</title>
		<link>http://rufuspollock.org/2011/02/12/hg-git-and-pushing-to-git-from-mercurial/</link>
		<comments>http://rufuspollock.org/2011/02/12/hg-git-and-pushing-to-git-from-mercurial/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 13:06:59 +0000</pubDate>
		<dc:creator>Rufus Pollock</dc:creator>
				<category><![CDATA[*nix]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://rufuspollock.org/?p=868</guid>
		<description><![CDATA[Documenting my experience pushing mercurial repos to git (and github specifically). Install hg-git Follow <a href="https://bitbucket.org/durin42/hg-git/src/tip/README.md">https://bitbucket.org/durin42/hg-git/src/tip/README.md</a> Install dulwich >= 0.6. On ubuntu: sudo apt-get install python-dulwich Get the latest version of hg-git: hg clone https://bitbucket.org/durin42/hg-git Add it to your extensions [extensions] git = path/to/hg-git/hggit Push an existing mercurial repo Assuming you&#8217;ve got a git repo [...]]]></description>
			<content:encoded><![CDATA[<p>Documenting my experience pushing mercurial repos to git (and github specifically).</p>

<h3>Install hg-git</h3>

<p>Follow <a href="https://bitbucket.org/durin42/hg-git/src/tip/README.md">https://bitbucket.org/durin42/hg-git/src/tip/README.md</a></p>

<p>Install dulwich >= 0.6. On ubuntu:</p>

<pre><code>sudo apt-get install python-dulwich
</code></pre>

<p>Get the latest version of hg-git:</p>

<pre><code>hg clone https://bitbucket.org/durin42/hg-git
</code></pre>

<p>Add it to your extensions</p>

<pre><code>[extensions]
git = path/to/hg-git/hggit
</code></pre>

<h3>Push an existing mercurial repo</h3>

<p>Assuming you&#8217;ve got a git repo somewhere, e.g. for me (rgrp) on github:</p>

<pre><code> cd my-current-mercurial-repo
 hg push git+ssh://git@github.com/rgrp/myrepo
</code></pre>

<p><strong>Really important note:</strong> do <strong><em>not</em></strong> change git before the @ sign to your username as you would in mercurial but leave it as &#8216;git&#8217; (this cost me around 20m of googling with errors like</p>

<pre><code>Permission denied (publickey).
abort: the remote end hung up unexpectedly
</code></pre>

<p>You may also want to check your ssh setup with github really is working (see <a href="http://help.github.com/troubleshooting-ssh/">http://help.github.com/troubleshooting-ssh/</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://rufuspollock.org/2011/02/12/hg-git-and-pushing-to-git-from-mercurial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Datapkg 0.8 Released</title>
		<link>http://rufuspollock.org/2011/02/09/datapkg-0-8-released/</link>
		<comments>http://rufuspollock.org/2011/02/09/datapkg-0-8-released/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 17:48:11 +0000</pubDate>
		<dc:creator>Rufus Pollock</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Open Data]]></category>
		<category><![CDATA[Open Knowledge Foundation]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Shuttleworth Fellow]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://rufuspollock.org/?p=857</guid>
		<description><![CDATA[A new release (<a href="http://ckan.org/milestone/datapkg-0.7">v0.8</a>) of <a href="http://okfn.org/projects/datapkg">datapkg</a>, the tool for distributing, discovering and installing data is out! Release: <a href="http://pypi.python.org/pypi/datapkg">http://pypi.python.org/pypi/datapkg</a> Docs: <a href="http://packages.python.org/datapkg/">http://packages.python.org/datapkg/</a> There&#8217;s a quick getting started section below (also see <a href="http://packages.python.org/datapkg/">the docs</a>). About the release This release brings substantial improvements to the download functionality of datapkg including support for extending the [...]]]></description>
			<content:encoded><![CDATA[<p>A new release (<a href="http://ckan.org/milestone/datapkg-0.7">v0.8</a>) of <a href="http://okfn.org/projects/datapkg">datapkg</a>, the tool for distributing, discovering and installing data is out!</p>

<ul>
<li>Release: <a href="http://pypi.python.org/pypi/datapkg">http://pypi.python.org/pypi/datapkg</a></li>
<li>Docs: <a href="http://packages.python.org/datapkg/">http://packages.python.org/datapkg/</a></li>
</ul>

<p>There&#8217;s a quick getting started section below (also see <a href="http://packages.python.org/datapkg/">the docs</a>).</p>

<h3>About the release</h3>

<p>This release brings substantial improvements to the download functionality of datapkg including support for extending the download system via <a href="http://packages.python.org/datapkg/extending.html">plugins</a>. The full changelog below has more details and here&#8217;s an example of the new download system being used to download material selectively from the <a href="http://ckan.net/package/cofog">COFOG package</a> on <a href="http://ckan.net/">CKAN</a>.</p>

<pre><code># download metadata and all resources from cofog package to current directory
# Resources to retrieve will be selected interactively
download ckan://cofog .

# download all resources
# Note need to quote *
download ckan://name path-on-disk "*"

# download only those resources that have format 'csv' (or 'CSV')
download ckan://name path-on-disk csv
</code></pre>

<p>For more details see the documentation of the download command:</p>

<pre><code>datapkg help download
</code></pre>

<h3>Get started fast</h3>

<pre><code># 1. Install: (requires python and easy_install)
$ easy_install datapkg
# Or, if you don't like easy_install
$ pip install datapkg or even the raw source!

# 2. [optional] Take a look at the manual
$ datapkg man

# 3. Search for something
$ datapkg search ckan:// gold
gold-prices -- Gold Prices in London 1950-2008 (Monthly)

# 4. Get some data
# This will result in a csv file at /tmp/gold-prices/data
$ datapkg download ckan://gold-prices /tmp
</code></pre>

<p><a href="http://packages.python.org/datapkg/">Find out more &raquo;</a> &#8212; including how to create, register and distribute your own &#8216;data packages&#8217;.</p>

<h3>Changelog</h3>

<ul>
<li>ResourceDownloader objects and plugin point (#964)</li>
<li>Refactor PackageDownloader to use ResourceDownloader and support Resource
filtering</li>
<li>Retrieval options for package resourcs (#405). Support selection of
resources to download (on command line or API) via glob style patterns or
user interaction.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://rufuspollock.org/2011/02/09/datapkg-0-8-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing YourTopia &#8211; Development beyond GDP</title>
		<link>http://rufuspollock.org/2011/01/12/introducing-yourtopia-development-beyond-gdp/</link>
		<comments>http://rufuspollock.org/2011/01/12/introducing-yourtopia-development-beyond-gdp/#comments</comments>
		<pubDate>Wed, 12 Jan 2011 14:39:10 +0000</pubDate>
		<dc:creator>Rufus Pollock</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Open Data]]></category>
		<category><![CDATA[Open Knowledge Foundation]]></category>
		<category><![CDATA[Own Work]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Shuttleworth Fellow]]></category>

		<guid isPermaLink="false">http://rufuspollock.org/?p=825</guid>
		<description><![CDATA[The following is cross-posted from the <a href="http://blog.okfn.org/2011/01/12/introducing-yourtopianet/">Open Knowledge Foundation blog post</a>. It reports the results of the code-sprint <a href="http://rufuspollock.org/2011/01/07/openhdi-open-human-development-index/">reported in this previous blog post</a>. Today we&#8217;re announcing a simple new app (also submitted to <a href="http://appsfordevelopment.challengepost.com/">World Bank Apps competition</a>) that allows anyone to say what kind of world, what &#8216;YourTopia&#8217;, they would like [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The following is cross-posted from the <a href="http://blog.okfn.org/2011/01/12/introducing-yourtopianet/">Open Knowledge Foundation blog post</a>. It reports the results of the code-sprint <a href="http://rufuspollock.org/2011/01/07/openhdi-open-human-development-index/">reported in this previous blog post</a>.</strong></p>

<p>Today we&#8217;re announcing a simple new app (also submitted to <a href="http://appsfordevelopment.challengepost.com/">World Bank Apps competition</a>) that allows anyone to say what kind of world, what &#8216;YourTopia&#8217;, they would like to live in:</p>

<p><a href="http://yourtopia.net/">http://yourtopia.net/</a></p>

<p>As well as having a very simple function: to tell you what country is closest to your ideal, the app also has a very serious purpose: to help us develop a real empirical basis for the measures of development that are used to guide policy-making.</p>

<p>Is health more important than education, or GDP, is the amount of R&amp;D more important than amount spent on primary education? Help us find out what the world thinks!</p>

<p>You can see the app in action in the following video, or head over directly <a href="http://yourtopia.net/">YourTopia</a> and answer the 2-minute quiz.</p>

<div class="youtube_embed" style="margin-bottom: 20px"> 
 <object width="370" height="297"><param name="movie" value="http://www.youtube.com/v/Nv-00MAxa0g?fs=1&amp;hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/Nv-00MAxa0g?fs=1&amp;hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="370" height="297"></embed></param></object> 
</div>

<h3>More Information</h3>

<p>Development Economics has for a long time recognised the deficiency of GDP as an indicator of human development but with little reception in policy-circles. Recently, however, the debate changed and no month passes now without a high-level report on “Development beyond GDP”.</p>

<p>OKFN&#8217;s new Open Economics Group has now constructed an <a href="http://www.yourtopia.net" target="_blank">application </a>to test two solutions to primary problems in this debate, and it is participating in the World Bank&#8217;s competition &#8220;<a href="http://www.worldbank.org/appsfordevelopment" target="_blank">Applications for Development</a>&#8220;.</p>

<p>Measures of human progress beyond GDP either use so-called dashboards of indicators (e.g. WDI) or composite indices (e.g. HDI or MPI). An openness-problem with the first approach has been that dashboards were so complex that the public was de facto excluded from the debate. The second approach tried to simplify through combining different dimensions into a single index but then suffered from arbitrary assumptions on the choice of weights applied to indices and choice of proxies for different development dimensions.</p>

<p>These are significant problems and so we&#8217;ve created <strong><a href="http://yourtopia.net/">Yourtopia</a>, as the first application that produces a composite index of human development (OpenHDI) without arbitrary choices of indicator-weights and proxy choices.</strong></p>

<p>We circumvent these problems simply: by letting the user participate. Rather than the researcher selecting proxies and indicator-weights we let the user choose. The resulting index of human progress is then personalised and contains no arbitrary assumptions by construction.</p>

<p>While the constructors of the HDI, for example, was always attacked for their assumption that human progress just depends on education, health and income and that these each carried the same importance, we now let the user decide which dimensions of progress are important and how they compare to each other.</p>

<h3>Get Involved</h3>

<p>We&#8217;d love to <a href="https://bitbucket.org/okfn/openhdi/issues">improve YourTopia</a> in lots of ways and we need help with design, coding (python or javascript), and writing (from both an economists and a layman&#8217;s point of view!) (for example what does GNI in PPP terms mean to most people &#8212; we need translators from jargon to English!).</p>

<p>If you&#8217;re interested in helping please send either join the <a href="http://lists.okfn.org/mailman/listinfo/open-economics">open-economics</a> mailing list or just send a mail to info [at] okfn [dot] org.</p>

<h3>Colophon</h3>

<ul>
<li>Code: <a href="https://bitbucket.org/okfn/openhdi">https://bitbucket.org/okfn/openhdi</a></li>
<li>Data: From world bank data store &#8211; <a href="http://yourtopia.net/about">details</a></li>
<li>Mailing list: <a href="http://lists.okfn.org/mailman/listinfo/open-economics">open-economics</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://rufuspollock.org/2011/01/12/introducing-yourtopia-development-beyond-gdp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenHDI: Open Human Development Index</title>
		<link>http://rufuspollock.org/2011/01/07/openhdi-open-human-development-index/</link>
		<comments>http://rufuspollock.org/2011/01/07/openhdi-open-human-development-index/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 10:00:56 +0000</pubDate>
		<dc:creator>Rufus Pollock</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Data Digging]]></category>
		<category><![CDATA[Economics]]></category>
		<category><![CDATA[Open Data]]></category>
		<category><![CDATA[Open Knowledge Foundation]]></category>
		<category><![CDATA[Own Work]]></category>
		<category><![CDATA[Shuttleworth Fellow]]></category>

		<guid isPermaLink="false">http://rufuspollock.org/?p=818</guid>
		<description><![CDATA[A few members of the <a href="http://okfn.org/">Open Knowledge Foundation&#8217;s</a> nascent <a href="http://wiki.okfn.org/wg/economics">open economics working group</a> are having a code-sprint this Friday and Saturday to work on an app for the world bank competition currently called &#8216;Open HDI&#8217; (Human Development Index): [Update] <a href="http://yourtopia.net">http://yourtopia.net</a> we&#8217;ve renamed to YourTopia <a href="http://openhdi.org/">http://openhdi.org/</a> &#8211; stub website (it&#8217;s what we&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>A few members of the <a href="http://okfn.org/">Open Knowledge Foundation&#8217;s</a> nascent <a href="http://wiki.okfn.org/wg/economics">open economics working group</a> are having a code-sprint this Friday and Saturday to work on an app for the world bank competition currently called &#8216;Open HDI&#8217; (Human Development Index):</p>

<ul>
<li><strong>[Update] <a href="http://yourtopia.net">http://yourtopia.net</a> we&#8217;ve renamed to YourTopia</strong> </li>
<li><strike><a href="http://openhdi.org/">http://openhdi.org/</a></strike> &#8211; stub website (it&#8217;s what we&#8217;ll make today and tomorrow!)</li>
<li><a href="http://okfnpad.org/openhdi">http://okfnpad.org/openhdi</a> &#8211; planning pad</li>
<li><a href="http://bitbucket.org/okfn/openhdi">http://bitbucket.org/okfn/openhdi</a> &#8211; source code and data</li>
</ul>

<p>The idea is to look at &#8216;development beyond GDP&#8217; by collecting weightings on particular aspects of &#8216;development&#8217; (health, education, gdp, inequality) from users and using that to build our own human development index.</p>

<p>We first talked about this a few months ago at the open economics online meetup. Dirk Heine and Guo Xu then put together an excellent demo version: <a href="http://eutopia.guoxu.org/">http://eutopia.guoxu.org/</a> and now we&#8217;re working to take that to the status of a full app!</p>
]]></content:encoded>
			<wfw:commentRss>http://rufuspollock.org/2011/01/07/openhdi-open-human-development-index/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PyWordPress &#8211; Python Library for WordPress</title>
		<link>http://rufuspollock.org/2011/01/05/pywordpress-python-library-for-wordpress/</link>
		<comments>http://rufuspollock.org/2011/01/05/pywordpress-python-library-for-wordpress/#comments</comments>
		<pubDate>Wed, 05 Jan 2011 10:42:15 +0000</pubDate>
		<dc:creator>Rufus Pollock</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Own Work]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://rufuspollock.org/?p=814</guid>
		<description><![CDATA[Announcing <a href="https://bitbucket.org/rgrp/pywordpress">pywordpress</a>, a python interface to WordPress using the WordPress XML-RPC API. Download: <a href="http://pypi.python.org/pypi/pywordpress/">http://pypi.python.org/pypi/pywordpress/</a> Source code: <a href="https://bitbucket.org/rgrp/pywordpress/">https://bitbucket.org/rgrp/pywordpress/</a> Usage Command line Check out the commands:: wordpress.py -h You will need to create a config with the details (url, login) of the wordpress instance you want to work with:: cp config.ini.tmpl config.ini # now [...]]]></description>
			<content:encoded><![CDATA[<p>Announcing <a href="https://bitbucket.org/rgrp/pywordpress">pywordpress</a>, a python interface to WordPress using the WordPress XML-RPC API.</p>

<ul>
<li>Download: <a href="http://pypi.python.org/pypi/pywordpress/">http://pypi.python.org/pypi/pywordpress/</a></li>
<li>Source code: <a href="https://bitbucket.org/rgrp/pywordpress/">https://bitbucket.org/rgrp/pywordpress/</a></li>
</ul>

<h1>Usage</h1>

<h2>Command line</h2>

<p>Check out the commands::</p>

<pre><code>wordpress.py -h 
</code></pre>

<p>You will need to create a config with the details (url, login) of the wordpress
instance you want to work with::</p>

<pre><code>cp config.ini.tmpl config.ini
# now edit away ...
vim config.ini
</code></pre>

<h2>Python library</h2>

<p>Read the code documentation::</p>

<pre><code>&gt;&gt;&gt; from pywordpress import WordPress
&gt;&gt;&gt; help(WordPress)
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://rufuspollock.org/2011/01/05/pywordpress-python-library-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Datapkg 0.7 Released</title>
		<link>http://rufuspollock.org/2010/11/29/datapkg-0-7-released/</link>
		<comments>http://rufuspollock.org/2010/11/29/datapkg-0-7-released/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 18:25:49 +0000</pubDate>
		<dc:creator>Rufus Pollock</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Knowledge Systems]]></category>
		<category><![CDATA[Open Data]]></category>
		<category><![CDATA[Open Knowledge Foundation]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Shuttleworth Fellow]]></category>

		<guid isPermaLink="false">http://rufuspollock.org/?p=746</guid>
		<description><![CDATA[A major new release (<a href="http://ckan.org/milestone/datapkg-0.7">v0.7</a>) of <a href="http://okfn.org/projects/datapkg">datapkg</a> is out! Release: <a href="http://pypi.python.org/pypi/datapkg">http://pypi.python.org/pypi/datapkg</a> Docs: <a href="http://packages.python.org/datapkg/">http://packages.python.org/datapkg/</a> There&#8217;s a quick getting started section below (also see <a href="http://packages.python.org/datapkg/">the docs</a>). About the release This release brings major new functionality to datapkg especially in regard to its integration with <a href="http://ckan.net/">CKAN</a>. datapkg now supports uploading as well [...]]]></description>
			<content:encoded><![CDATA[<p>A major new release (<a href="http://ckan.org/milestone/datapkg-0.7">v0.7</a>) of <a href="http://okfn.org/projects/datapkg">datapkg</a> is out!</p>

<ul>
<li>Release: <a href="http://pypi.python.org/pypi/datapkg">http://pypi.python.org/pypi/datapkg</a></li>
<li>Docs: <a href="http://packages.python.org/datapkg/">http://packages.python.org/datapkg/</a></li>
</ul>

<p>There&#8217;s a quick getting started section below (also see <a href="http://packages.python.org/datapkg/">the docs</a>).</p>

<h3>About the release</h3>

<p>This release brings major new functionality to datapkg especially in regard to its integration with <a href="http://ckan.net/">CKAN</a>. datapkg now supports uploading as well as downloading and can now be easily extended via <a href="http://packages.python.org/datapkg/extending.html">plugins</a>. See the full changelog below for more details.</p>

<h3>Get started fast</h3>

<pre><code># 1. Install: (requires python and easy_install)
$ easy_install datapkg
# Or, if you don't like easy_install
$ pip install datapkg or even the raw source!

# 2. [optional] Take a look at the manual
$ datapkg man

# 3. Search for something
$ datapkg search ckan:// gold
gold-prices -- Gold Prices in London 1950-2008 (Monthly)

# 4. Get some data
# This will result in a csv file at /tmp/gold-prices/data
$ datapkg download ckan://gold-prices /tmp
</code></pre>

<p><a href="http://packages.python.org/datapkg/">Find out more &raquo;</a> &#8212; including how to create, register and distribute your own &#8216;data packages&#8217;.</p>

<h3>Changelog</h3>

<ul>
<li>MAJOR: Support for uploading datapkgs (upload.py)</li>
<li>MAJOR: Much improved and extended documenation</li>
<li>MAJOR: New sqlite-based DB index giving support for a simple, central,
&#8216;local&#8217; index (ticket:360)</li>
<li><p>MAJOR: Make datapkg easily extendable</p>

<ul>
<li>Support for adding new Index types with plugins</li>
<li>Support for adding new Commands with command plugins</li>
<li>Support for adding new Distributions with distribution plugins</li>
</ul></li>
<li><p>Improved package download support (also now pluggable)</p></li>
<li>Reimplement url download using only python std lib (removing urlgrabber
requirment and simplifying installation)</li>
<li>Improved spec: support for db type index + better documentation</li>
<li>Better configuration management (especially internally)</li>
<li>Reduce dependencies by removing usage of PasteScript and PasteDeploy</li>
<li>Various minor bugfixes and code improvements</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://rufuspollock.org/2010/11/29/datapkg-0-7-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

