<?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>House of Laudanum &#187; Python</title>
	<atom:link href="http://houseoflaudanum.com/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://houseoflaudanum.com</link>
	<description>Bespoke solutions for creative people, Sydney Australia +61 2 8405 6807</description>
	<lastBuildDate>Thu, 19 Apr 2012 00:50:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New models of research publishing</title>
		<link>http://houseoflaudanum.com/news/new-models-of-research-publishing/</link>
		<comments>http://houseoflaudanum.com/news/new-models-of-research-publishing/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 11:05:01 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[mashups]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[research]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=1095</guid>
		<description><![CDATA[Mashups have recently given rise to exciting new possibilities for SaaS research projects that are light on resources and heavy on assets. By combining existing research with open source tools, cloud computing and hosted solutions, researchers can limit costs, improve outcomes and spend less time coding.
This project by Tim Sherratt caught our eye for just these [...]]]></description>
			<content:encoded><![CDATA[<p>Mashups have recently given rise to exciting new possibilities for SaaS research projects that are light on resources and heavy on assets. By combining existing research with open source tools, cloud computing and hosted solutions, researchers can limit costs, improve outcomes and spend less time coding.</p>
<p>This project by Tim Sherratt caught our eye for just these reasons and clearly demonstrates this methodology most clearly.</p>
<p><a href="http://discontents.com.au/shoebox/weather-research-topics/some-exhibition-magic-with-zotero-and-omeka">Some exhibition magic with Zotero and Omeka</a></p>
<p>We&#8217;ve looked at both <a href="http://www.google.com.au/url?sa=t&amp;source=web&amp;cd=8&amp;sqi=2&amp;ved=0CFQQFjAH&amp;url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FZotero&amp;ei=dk5nTub1J8eQiAeLi4H6Cw&amp;usg=AFQjCNH_Q9iZdiSH3wCjJBRyIKmGy1_lmw">Zotero</a> and <a href="http://en.wikipedia.org/wiki/Omeka">Omeka</a> in the past for various projects because of their growing use by the research community. This project leverages existing data with an API, an open source CMS and some Python magic to create a new view in to an ongoing research project.</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/news/new-models-of-research-publishing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thunderbolt.</title>
		<link>http://houseoflaudanum.com/art-technology/thunderbolt/</link>
		<comments>http://houseoflaudanum.com/art-technology/thunderbolt/#comments</comments>
		<pubDate>Fri, 17 Sep 2010 00:25:04 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[Art and Technology]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[Google AppEngine]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[MicroClient]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=759</guid>
		<description><![CDATA[
Client : Bonita Ely
Location : Jacaranda Square, Sydney Olympic Park.
Job type : Technical bridge.
Year : 2010.
Team : Rob Largent UNSW, Allan Giddy CoFA, Energy Australia

&#8220;Thunderbolt is a temporary public artwork created for the 10th anniversary celebrations of the Sydney 2000 Olympic Games.
&#8220;Made from a recycled windmill found in Broken Hill, the nocturnal lighting of this [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><em>Client : </em>Bonita Ely</li>
<li><em>Location :</em> Jacaranda Square, Sydney Olympic Park.</li>
<li><em>Job type :</em> Technical bridge.</li>
<li><em>Year : </em>2010.</li>
<li><em>Team : </em>Rob Largent UNSW, Allan Giddy CoFA, Energy Australia</li>
</ul>
<blockquote><p>&#8220;Thunderbolt is a temporary public artwork created for the 10th anniversary celebrations of the Sydney 2000 Olympic Games.</p>
<p>&#8220;Made from a recycled windmill found in Broken Hill, the nocturnal lighting of this dynamic meta sculpture changes in repsonse to the amount of electricity consumed in the nearby neighbourhood.&#8221;</p></blockquote>
<p>Thunderbolt is a public sculpture piece by Bonita Ely of the The Environmental Research Initiative for Art at CoFA UNSW. Version 1 is installed at Sydney Olympic Park and will run initially for 3 months. The lighting of the structure is powered by solar cells and altered based on the power consumption of the surrounding residents. Long time collaborators Allan Giddy and Rob Largent have put together the lighting control rig, EnergyAustralia have kindly donated their data, and Laudanum have provided the glue between the two.</p>
<p>On site we have a tiny Microclient SBC connected to an Arduino board and a 3G modem. Each of these 3 parts are seriously overspec&#8217;d for the the job but are all part of our usual toolchain and were on hand. The lighting rig expects  its 5 inputs to be tickled to which it responds with a mix of its 3 lighting colours. So our computer connects to its data source and tells the Arduino to bring up one or more of its pin outs.</p>
<p>In order to work around a couple of techno-political issues (the temporary nature of mobile broadband connections, and who connects to whom, when and how) we elected to move the central data source to Google App Engine. Having done that both the data provider (the company providing our stats) and data consumer (the computer driving the lights) were able to abdicate all the data munging to the App Engine too (which was a boon).</p>
<p>Some GAE gotchas.</p>
<ul>
<li>Large XML archives of prior data to pre-populate our database. Fine consumed in small chunks but quickly exceeded the GAE quota</li>
<li>Unique keys are provided for each <a href="http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model_put">`put`</a> in GQL &#8211; but you can specify your own key thereby making a UNIQUE KEY field. We hashed together our timestamp and station ID to use as a key. Each time GQL puts with the same key it REPLACES the row. There is also a <a href="http://code.google.com/appengine/docs/python/datastore/modelclass.html#Model_get_or_insert">get_or_insert</a> GQL method which either gets existing data for a keyname or puts new data where the keyname doesn&#8217;t exist.</li>
</ul>
<p>Parts</p>
<ul>
<li><a href='http://www.norhtec.com/products/mcsr/index.html'>Microclient SR</a></li>
<li>Huwei mobile broadband USB modem</li>
<li><a href='http://www.arduino.cc/en/Main/ArduinoBoardDuemilanove'>Arduino Duemilanove</a></li>
<li><a href='http://www.ubuntu.com/'>Ubuntu</a>, <a href='http://www.python.org/'>Python</a>, <a href='https://appengine.google.com/'>Google AppEngine</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/art-technology/thunderbolt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recompile cwiid for Ubuntu.</title>
		<link>http://houseoflaudanum.com/uncategorized/recompile-cwiid-for-ubuntu/</link>
		<comments>http://houseoflaudanum.com/uncategorized/recompile-cwiid-for-ubuntu/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 00:04:35 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bloodbath]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[wii]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=730</guid>
		<description><![CDATA[There are a couple of patches outstanding that I&#8217;d like to include in the python-cwiid package. The first is support for the low speed flag for the wii motionplus gyro. This flag lets you know if the motionplus is using the slow or fast scale for its values.
Set up our build environment and get the [...]]]></description>
			<content:encoded><![CDATA[<p>There are a couple of patches outstanding that I&#8217;d like to include in the python-cwiid package. The first is support for the low speed flag for the wii motionplus gyro. This flag lets you know if the motionplus is using the slow or fast scale for its values.</p>
<p>Set up our build environment and get the necessary packages. You&#8217;ll also need your gpg key ID if you&#8217;re going to sign the package.<br />
<code>$ sudo aptitude install bison flex libbluetooth-dev libgtk2.0-dev python-dev libtool automake1.10 autoconf quilt patchutils python-all-dev cdbs<br />
$ mkdir cwiid<br />
$ cd cwiid<br />
</code></p>
<p>Get the source, unpack and patch.<br />
<code>$ apt-get source python-cwiid<br />
$ tar zxf cwiid_0.6.00+svn201.orig.tar.gz<br />
$ gunzip cwiid_0.6.00+svn201-2.diff.gz<br />
$ mv cwiid_0.6.00+svn201-2.diff cwiid-0.6.00+svn201/<br />
$ cd cwiid-0.6.00+svn201/<br />
$ patch < cwiid_0.6.00+svn201-2.diff<br />
</code></p>
<p>Get the patch we want to apply (from http://abstrakraft.org/cwiid/ticket/95 &#038; http://abstrakraft.org/cwiid/ticket/89)<br />
<code>$ cd libcwiid/<br />
$ wget http://abstrakraft.org/cwiid/raw-attachment/ticket/89/0001-added-low_speed-data-from-motionplus.patch<br />
$ patch < 0001-added-low_speed-data-from-motionplus.patch<br />
</code></p>
<p>Configure<br />
<code>$ cd ..<br />
$ ./configure<br />
</code></p>
<p>Build the package. The deb files are placed in the directory above.<br />
<code>$ dpkg-buildpackage -rfakeroot -b -k474f6948<br />
$ ls -l ../*.deb<br />
</code></p>
<p>Install the packages<br />
<code>$ sudo dpkg -i ../*.deb<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/uncategorized/recompile-cwiid-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Louisa Bufardeci</title>
		<link>http://houseoflaudanum.com/art-technology/bufardeci/</link>
		<comments>http://houseoflaudanum.com/art-technology/bufardeci/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 01:10:21 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[Art and Technology]]></category>
		<category><![CDATA[Machines]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[artist]]></category>
		<category><![CDATA[LED-sign]]></category>
		<category><![CDATA[museum]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://houseoflaudanum.com/?p=457</guid>
		<description><![CDATA[The MCA crew asked us to help fix up a work by Louisa Bufardeci called From Ethnicities to Nations. The trouble was the Salient LED sign they&#8217;d acquired only stored about 1% of the actual artwork. The artwork consisted of 140000 phrases mapping peoples ethnicity to their nation of residence using the CIA factbook as source [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.mca.com.au/default.asp?page_id=12&amp;content_id=4802">MCA</a> crew asked us to help fix up a work by Louisa Bufardeci called <a href="http://www.louisabufardeci.net/site/pages/en.html">From Ethnicities to Nations</a>. The trouble was the <a href="http://www.salient.com.au/products-cat-message.html">Salient</a> LED sign they&#8217;d acquired only stored about 1% of the actual artwork. The artwork consisted of 140000 phrases mapping peoples ethnicity to their nation of residence using the CIA factbook as source data. We extended a <a href="http://pypi.python.org/pypi/alphasign/1.0">Python library</a> to support the locally developed XR-Sign LED sign protocol.</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/art-technology/bufardeci/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PyUSB on OS X</title>
		<link>http://houseoflaudanum.com/navigate/howtos/pyusb-on-os-x/</link>
		<comments>http://houseoflaudanum.com/navigate/howtos/pyusb-on-os-x/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 11:28:24 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[HowTos]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Darwin]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://www.houseoflaudanum.com/cms/?p=120</guid>
		<description><![CDATA[The py-usb 0.4.2 package does install on OS X. But you&#8217;ll need to install libusb first. If you are using Fink then all&#8217;s well. If you&#8217;re using MacPorts you&#8217;ll need to modify the setup.py
Install libusb from MacPorts
whale:pyusb-0.4.2 rossetti$ sudo port install libusb
Patch the setup.py file for pyusb-0.4.2
37a38
&#62;     '-L/opt/local/lib',
39c40
&#60;     extra_compile_args = [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://pyusb.sourceforge.net/">py-usb</a> 0.4.2 package does install on OS X. But you&#8217;ll need to install <a href="http://www.libusb.org/">libusb</a> first. If you are using Fink then all&#8217;s well. If you&#8217;re using <a href="http://www.macports.org/">MacPorts</a> you&#8217;ll need to modify the setup.py</p>
<p>Install libusb from MacPorts</p>
<pre>whale:pyusb-0.4.2 rossetti$ sudo port install libusb</pre>
<p>Patch the setup.py file for pyusb-0.4.2</p>
<pre>37a38
&gt;     '-L/opt/local/lib',
39c40
&lt;     extra_compile_args = ['-I/sw/include','-I/usr/local/lib']
---
&gt;     extra_compile_args = ['-I/sw/include','-I/usr/local/lib','-I/opt/local/lib']</pre>
<p>After that pyusb should install well.</p>
<pre>whale:pyusb-0.4.2 rossetti$ sudo python setup.py install</pre>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/navigate/howtos/pyusb-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Discreet Charm Of The Bourgeoisie Robot</title>
		<link>http://houseoflaudanum.com/art-technology/the-discreet-charm-of-the-bourgeoisie-robot/</link>
		<comments>http://houseoflaudanum.com/art-technology/the-discreet-charm-of-the-bourgeoisie-robot/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 00:29:42 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[Art and Technology]]></category>
		<category><![CDATA[Machines]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[EeePC]]></category>
		<category><![CDATA[Festival]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MBROLA]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[robot]]></category>
		<category><![CDATA[SBC]]></category>
		<category><![CDATA[TTS]]></category>
		<category><![CDATA[victorian]]></category>

		<guid isPermaLink="false">http://www.houseoflaudanum.com/cms/?p=77</guid>
		<description><![CDATA[http://marynowsky.net/bourgeoisie.html
Wade pulled together a small team to build a prototype semi-autonomous robot in a Victorian dress. Our job was to provide an interface between the web and the controller board. We installed a small webserver on an EeePC netbook. An Adobe Flash socket sent mouse clicks and speech instructions to a tiny Python server that [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://marynowsky.net/bourgeoisie.html">http://marynowsky.net/bourgeoisie.html</a></p>
<p>Wade pulled together a small team to build a prototype semi-autonomous robot in a Victorian dress. Our job was to provide an interface between the web and the controller board. We installed a small webserver on an EeePC netbook. An Adobe Flash socket sent mouse clicks and speech instructions to a tiny Python server that interpreted whether the instructions should be forwarded to the controller board or handled by the EeePC. Speech commands were forwarded to the onboard <a href="http://www.cstr.ed.ac.uk/projects/festival/">Festival</a> server using an <a href="http://tcts.fpms.ac.be/synthesis/mbrola.html">MBROLA</a> english male voice and then piped to the sound card.</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/art-technology/the-discreet-charm-of-the-bourgeoisie-robot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bluescape feasibility study.</title>
		<link>http://houseoflaudanum.com/technical/bluescape-feasibility-study/</link>
		<comments>http://houseoflaudanum.com/technical/bluescape-feasibility-study/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 12:39:35 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[Machines]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[locative]]></category>
		<category><![CDATA[MicroClient]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[SBC]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://www.houseoflaudanum.com/cms/?p=42</guid>
		<description><![CDATA[In September we ran a complete slice test of a Bluetooth annotation system for the Sydney Olympic Park Authority. The aim is to annotate public artworks that scatter the site using Bluetooth instead of convention didactic panels (signage to the layman).
We used small form MicroClient SNR computers running Debian and some funky Python scripts. The [...]]]></description>
			<content:encoded><![CDATA[<p>In September we ran a complete slice test of a Bluetooth annotation system for the <a href="http://www.sydneyolympicpark.com.au/">Sydney Olympic Park</a> Authority. The aim is to annotate public artworks that scatter the site using Bluetooth instead of convention didactic panels (signage to the layman).</p>
<p>We used small form <a href="http://norhtec.com/products/mcsr/index.html">MicroClient SNR</a> computers running Debian and some funky Python scripts. The system was quite polite – should you refuse any message it would leave you alone henceforth.</p>
<p>The Stride was the artwork we tested with. An installation depicting the final 100m of Cathy Freeman&#8217;s gold medal 400m sprint. We sent the public a text description, then a video of the race, finally an image of the site. Response was much better than expected given the public&#8217;s general suspicion of Bluetooth in general.</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/technical/bluescape-feasibility-study/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rider Spoke preliminary work.</title>
		<link>http://houseoflaudanum.com/technical/rider-spoke-preliminary-work/</link>
		<comments>http://houseoflaudanum.com/technical/rider-spoke-preliminary-work/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 12:28:17 +0000</pubDate>
		<dc:creator>mr.snow</dc:creator>
				<category><![CDATA[Art and Technology]]></category>
		<category><![CDATA[Machines]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Visualisations]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[Google Earth]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[locative]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[wifi]]></category>

		<guid isPermaLink="false">http://www.houseoflaudanum.com/cms/?p=37</guid>
		<description><![CDATA[In December the British Council asked us to do a wireless survey of the Rocks in Sydney. They needed to know that UK artist /  gamesters Blast Theory could run their new game Rider Spoke in the area.]]></description>
			<content:encoded><![CDATA[<p>They needed to know that UK artist /  gamesters <a href="http://www.blasttheory.co.uk/">Blast Theory</a> could run their new game <a href="http://eastasia.britishcouncil.org/public/event.aspx?country=australia-en&amp;eventname=Blast+Theory's+Rider+Spoke+&amp;Event_ID=4f77bf00-37df-469f-9caa-c7e6044e67ba">Rider Spoke</a> in the area. Of course they could. It was a case of data-mapping the Rocks area &#8211; something we can do standing on our head.</p>
<p>We took an E<a href="http://www.asus.com.au/products.aspx?l1=24&amp;l2=164&amp;l3=0&amp;l4=0&amp;model=2623&amp;modelmenu=1">ee PC</a> connected to an old Garmin III running <a href="http://www.kismetwireless.net/">Kismet</a>. Lid down. Earpiece pinging. Raining. Shoes with holes. I&#8217;m certainly glad the police didn&#8217;t tap me on the shoulder. Go rider!</p>
<p>We post-processed the logs in Python to generate Google Earth KML files depicting the coverage. For an old girl the Rocks is certainly rocking to the WiFi.</p>
]]></content:encoded>
			<wfw:commentRss>http://houseoflaudanum.com/technical/rider-spoke-preliminary-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

