<?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>Jeremy Visser &#187; projects</title>
	<atom:link href="http://jeremy.visser.name/tag/projects/feed/" rel="self" type="application/rss+xml" />
	<link>https://jeremy.visser.name</link>
	<description></description>
	<lastBuildDate>Fri, 16 Jul 2010 03:39:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<atom:link rel='hub' href='https://jeremy.visser.name/?pushpress=hub'/>
<cloud domain='jeremy.visser.name' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Python-iView</title>
		<link>https://jeremy.visser.name/2009/08/30/python-iview/</link>
		<comments>https://jeremy.visser.name/2009/08/30/python-iview/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 05:26:04 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Python-iView]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://jeremy.visser.name/?p=1179</guid>
		<description><![CDATA[An alternative interface to the ABC’s excellent iView service. Allows you to browse the programme and download episodes without needing to use the bulky and slow Flash–based website.]]></description>
			<content:encoded><![CDATA[<p>Python-iView is an alternative frontend to <a href="http://www.abc.net.au/iview/">ABC iView</a>, which if you&#8217;ve been living under a rock, is an awesome ABC TV programme catchup service that lets you watch most ABC programs from the last month in your browser. Not only that, but our ISP, Internode, has unmetered the service so it doesn&#8217;t use up our download quota.</p>
<p>However, the iView website has some major problems:</p>
<ul>
<li>It depends on the use of the <a href="http://www.adobe.com/products/flashplayer/">Adobe Flash</a> plugin, which is proprietary software, which means that only changes or fixes for bugs in the plugin that Adobe approve of can be applied.</li>
<li>Flash only runs on Windows, Mac OS X, and x86 (32-bit or 64-bit) Linux. (e.g. our 1GHz Apple eMac running Linux has a PowerPC processor, which Adobe have chosen not to support, and thus cannot access iView, but would otherwise be powerful enough to play the videos.)</li>
<li>The videos must be watched in the browser inside Flash, which is a lot of overhead compared to a simple media player like VLC. iView is too slow on older or less powerful computers. (e.g. iView is so slow it is unusable on my ASUS Eee PC 901, even though it internally only uses 640&#215;480 FLV video which should in theory be playable by any computer made in the last 10 years.)</li>
<li>Videos must be launched from within the web browser, and cannot be watched offline (e.g. downloading in advance for a long car trip). Though the ABC offers a <a href="http://www.abc.net.au/tv/video/downloads.htm">download service</a> for some of its programmes, it is not as comprehensive as the iView programme. Nor can iView programmes be downloaded for the purposes of <a href="http://en.wikipedia.org/wiki/Fair_dealing">fair dealing</a> (e.g. quoting certain parts in journalism or interoperability &#8212; see points about Flash being proprietary above).</li>
<li>Not everyone has a fast Internet connection, and cannot watch the videos in real-time. You can get much smoother playback by downloading a video in advance and watching it once it is finished.</li>
</ul>
<p><a style="display: block; float: right;" href="https://jeremy.visser.name/wordpress/wp-content/uploads/2009/08/python-iview.png"><img class="alignright size-medium wp-image-1182" title="python-iview" src="https://jeremy.visser.name/wordpress/wp-content/uploads/2009/08/python-iview-264x300.png" alt="python-iview" width="264" height="300" /></a><br />
To address this, I wrote the <strong>open source</strong> (GPLv3 — <a title="The GNU General Public License, version 3" href="http://www.gnu.org/licenses/gpl.html">see license</a>) application Python-iView, which does two main things:</p>
<ul>
<li>Allows you to browse the iView programme outside of the browser (from a GTK+ interface).</li>
<li>Allows you to download episodes to your hard drive in their original FLV format.</li>
</ul>
<p>You can then play the resulting FLV files in a media player such as VLC or Totem. Because certain videos are formatted by the ABC in an <a href="http://en.wikipedia.org/wiki/Anamorphic_widescreen">anamorphic widescreen</a> format some <em>videos may appear squashed</em>. If this happens, make sure to <strong>select the 16:9 aspect ratio</strong> in your movie player to compensate.</p>
<p>Because of this application, I am now able to browse and view iView programmes on my Eee PC, Apple eMac (PowerPC), play programmes on our TV (through our Xbox) instead of having to watch them on a computer screen, or watch programmes during car trips.</p>
<h3>Installation</h4>
<h4>Method one: PPA for Ubuntu users</h4>
<p><a href="https://jeremy.visser.name/2010/05/29/python-iview-gets-some-love-mp4-fix-pauseresume-support-ubuntu-repo/">As of May 2010</a>, the best method for installing Python-iView for Ubuntu users is to add the <a href="https://launchpad.net/~jeremy-visser/+archive/python-iview">Python-iView PPA repository</a> which is hosted on Launchpad.</p>
<p>To add the repository, run:</p>
<blockquote><pre>sudo add-apt-repository ppa:jeremy-visser/python-iview</pre>
</blockquote>
<p>Then, to install the package, reload your apt repositories (<strong><code>sudo&nbsp;apt-get&nbsp;update</code></strong>) and install the python-iview and rtmpdump packages (<strong><code>sudo&nbsp;apt-get&nbsp;install&nbsp;python-iview&nbsp;rtmpdump</code></strong>).</p>
<h4>Method two: install manually for other operating systems or distros</h4>
<p>You will need to install the following dependencies (apart from rtmpdump, all of these should be included in your distro&#8217;s package manager):</p>
<ul>
<li><a href="http://bazaar-vcs.org/">Bazaar</a> (package <a href="apt:bzr">bzr</a> in Debian and Ubuntu)</li>
<li><a href="http://www.python.org/">Python 2.6</a> (preinstalled on most Linux distributions)</li>
<li><a href="http://www.crummy.com/software/BeautifulSoup/">BeautifulSoup</a> (package <a href="apt:python-beautifulsoup">python-beautifulsoup</a> in Debian and Ubuntu)</li>
<li><a href="http://rtmpdump.mplayerhq.hu/">rtmpdump</a> (download the source, and copy the <code>rtmpdump</code> executable to <code>/usr/local/bin</code>, or somewhere in your <code>$PATH</code>)</li>
</ul>
<p>Then, run the following to download python-iview:</p>
<blockquote>
<pre>bzr branch https+urllib://jeremy.visser.name/bzr/python-iview/ python-iview</pre>
</blockquote>
<p>You can then <code>cd python-iview</code> launch either <code>./iview-cli</code> for a command-line interface, or <code>./iview-gtk</code> for a graphical interface. See the included <code>README</code> file for further instructions and usage examples.</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2009/08/30/python-iview/feed/</wfw:commentRss>
		<slash:comments>183</slash:comments>
		</item>
		<item>
		<title>Volcano</title>
		<link>https://jeremy.visser.name/2009/05/03/volcano/</link>
		<comments>https://jeremy.visser.name/2009/05/03/volcano/#comments</comments>
		<pubDate>Sat, 02 May 2009 22:30:55 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://jeremy.visser.name/?p=1051</guid>
		<description><![CDATA[Not-quite-finished Pyglet game that is a clone of the classic DOS game Lavacap.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a game which I&#8217;ve simply dubbed &#8220;Volcano&#8221;. It&#8217;s a simple logic game written in Python (using Pyglet) that has an erupting volcano on a grid, and you need to place pipes to make a path for the lava.</p>
<p><a href="http://jeremy.visser.name/wordpress/wp-content/uploads/2009/05/volcano.png"><img src="http://jeremy.visser.name/wordpress/wp-content/uploads/2009/05/volcano-300x225.png" alt="Volcano" title="Volcano" width="300" height="225" class="alignnone size-medium wp-image-1052" /></a></p>
<p>It&#8217;s meant to be a remake of the classic <a href="http://www.google.com/search?q=lavacap.zip">Lavacap</a>, which is an old DOS game that I loved playing when I was younger.</p>
<p>It&#8217;s coming along slowly but surely. The <a href="https://code.launchpad.net/~jeremy-visser/+junk/volcano">code is on Launchpad</a>. At this stage, I&#8217;m not sure if anybody is interested in working on the game or even playing it, so I&#8217;m just throwing this out there to let people know. To try it out, first install Pyglet (package <code>python-pyglet</code> in Ubuntu/Debian), and then run:</p>
<blockquote><pre>$ bzr branch lp:~jeremy-visser/+junk/volcano
$ cd volcano
$ ./volcano.py</pre>
</blockquote>
<p>The game is not fully functional yet. You can lay out pipes, and it has some unfinished path tracing algorithms, but that&#8217;s pretty much it. To get an idea of what I&#8217;m trying to clone, run the original <a href="http://www.google.com/search?q=lavacap.zip">Lavacap</a> in something like DOSBox.</p>
<p>The game is written in Pyglet, which is not the most resource-friendly way to write apps. However, it should be fairly easy to retrofit it onto a GTK+ GooCanvas or other application. If anybody is interested in helping out, then let me know (and <code>bzr branch</code> is your friend).</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2009/05/03/volcano/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battle for Wesnoth for OLPC</title>
		<link>https://jeremy.visser.name/2008/10/25/battle-for-wesnoth-for-olpc-released/</link>
		<comments>https://jeremy.visser.name/2008/10/25/battle-for-wesnoth-for-olpc-released/#comments</comments>
		<pubDate>Sat, 25 Oct 2008 08:30:52 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[olpc]]></category>
		<category><![CDATA[projects]]></category>

		<guid isPermaLink="false">http://jeremyvisser.wordpress.com/?p=756</guid>
		<description><![CDATA[Port of the popular Battle for Wesnoth to the OLPC XO-1 laptop. The game is unchanged, apart from some minor tweaks to make the game fit the screen size, and be launchable as an 'activity' like other applications on the platform.]]></description>
			<content:encoded><![CDATA[<p><a href="http://laptop.org/">OLPC XO-1</a> users around the world, I give you: <strong>Battle for Wesnoth for OLPC</strong>.</p>
<p><a href="http://olpc-france.org/wiki/images/c/c2/BattailleWesnoth.png"><img src="http://olpc-france.org/wiki/images/thumb/c/c2/BattailleWesnoth.png/180px-BattailleWesnoth.png" alt="Battle for Wesnoth" /></a></p>
<p><em>(Screenshot credit: Samy Boutayeb)</em></p>
<p><span id="more-756"></span></p>
<h3>Kudos</h3>
<p>First, let me say a big <strong>thank you</strong> to all the testers who helped me shape this port into what it has now become &#8212; your feedback has been beyond helpful! Your names have been set in stone for millenia to come in the <a href="http://static.sunriseroad.net/jeremy/releases/Wesnoth-1451.README">README</a> file.</p>
<p>Furthermore, I would like to congratulate the <a href="http://www.wesnoth.org/">Battle for Wesnoth</a> team and contributors for creating this awesome game, which is sufficiently worthy of being ported to just about every platform out there.</p>
<h3>Download</h3>
<p>And, without further ado, I give you: <strong><a href="http://sourceforge.net/projects/wesnoth-olpc/files/">Download</a></strong> (<a href="http://static.sunriseroad.net/jeremy/releases/Wesnoth-1451.README">Readme</a>; <a href="http://static.sunriseroad.net/jeremy/releases/Wesnoth-1452.xo.asc">Signature</a>; <a href="http://static.sunriseroad.net/jeremy/CF13C41A.asc">Public Key</a>)</p>
<h3>Further Notes</h3>
<p>I recommend that you do not download the above bundle on your OLPC XO-1, due to the large filesize, and general unresponsiveness I have found with the user interface. Instead, you should download the bundle onto a USB flash drive, and <a href="http://wiki.laptop.org/go/Activity_installation">transfer it to the XO using the Journal</a> (insert flash drive, open Journal, select flash drive, select Wesnoth bundle, select Copy to Journal from toolbar).</p>
<p><strong>Update:</strong> <a href="http://pipka.org/">Pia</a> created an entry on the <a href="http://wiki.laptop.org/go/Activities/All">Activity repository</a>. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>https://jeremy.visser.name/2008/10/25/battle-for-wesnoth-for-olpc-released/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
