<?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>Synapse</title>
	<atom:link href="http://synapse.bencoder.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://synapse.bencoder.com</link>
	<description>The junction between one mind and another</description>
	<lastBuildDate>Sat, 29 May 2010 15:20:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Manufactoria</title>
		<link>http://synapse.bencoder.com/?p=25</link>
		<comments>http://synapse.bencoder.com/?p=25#comments</comments>
		<pubDate>Sat, 29 May 2010 15:20:52 +0000</pubDate>
		<dc:creator>bencoder</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://synapse.bencoder.com/?p=25</guid>
		<description><![CDATA[a few days ago my friend found an excellent game called manufactoria. You can play the game here: http://jayisgames.com/games/manufactoria/
It is kind of a cross between a Turing machine and befunge. To play you place your program onto the grid and a robot moves across it, with the operations determining how it will move and how [...]]]></description>
			<content:encoded><![CDATA[<p>a few days ago my friend found an excellent game called manufactoria. You can play the game here: http://jayisgames.com/games/manufactoria/</p>
<p>It is kind of a cross between a Turing machine and <a href="http://en.wikipedia.org/wiki/Befunge">befunge</a>. To play you place your program onto the grid and a robot moves across it, with the operations determining how it will move and how its memory string will be affected.</p>
<p>This is my progress so far:</p>
<p><img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/0.png" alt="" width="640" height="480" /></p>
<p>Images of my solutions so far and comments can be found after the break. Spoilers ahead!</p>
<p><span id="more-25"></span></p>
<p><img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/1.png" alt="" width="640" height="480" /><br />
Level one, a little too easy</p>
<p><img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/2.png" alt="" width="640" height="480" /></p>
<p>Level 2. Immediately pop a blue off the string and go to the exit. if no blue exists then it fails.<br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/3.png" alt="" width="640" height="480" /></p>
<p>Level 3, Pop 3 blues off the string. ignore reds but if the string ends before 3 blues are found then it fails.</p>
<p><img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/4.png" alt="" width="640" height="480" /></p>
<p>Level 4, Ignore blues but die if it&#8217;s a red</p>
<p><img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/5.png" alt="" width="640" height="480" /></p>
<p>Level 5, here we start being able to write to the string. If the first digit is a red then write a red to the end of the string and go to exit, and vice versa for blue.</p>
<p><img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/6.png" alt="" width="640" height="480" /></p>
<p>Level 6, here you have to start using that programming brain because we&#8217;re looping. if you follow the control structure you should see the robot dies if there is ever two of the same colour in a row.</p>
<p><img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/7.png" alt="" width="640" height="480" /></p>
<p>Level 7, pretty easy, simply go backwards and forwards writing the correct colours.</p>
<p><img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/8.png" alt="" width="640" height="480" /></p>
<p>Bored of writing for now, might fill these in later</p>
<p><img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/9.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/10.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/11.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/12.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/13.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/14.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/15.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/16.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/17.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/18.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/20.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/21.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/23.png" alt="" width="640" height="480" /><br />
<img class="aligncenter" title="Progress" src="http://bencoder.com/manufactoria/26.png" alt="" width="640" height="480" /></p>
]]></content:encoded>
			<wfw:commentRss>http://synapse.bencoder.com/?feed=rss2&amp;p=25</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cyberpunk Radio</title>
		<link>http://synapse.bencoder.com/?p=23</link>
		<comments>http://synapse.bencoder.com/?p=23#comments</comments>
		<pubDate>Sat, 17 Apr 2010 16:26:37 +0000</pubDate>
		<dc:creator>bencoder</dc:creator>
				<category><![CDATA[Cyberpunk]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://synapse.bencoder.com/?p=23</guid>
		<description><![CDATA[There is now a twitter feed for the cyberpunk radio: @CyberpunkRadio
That should update you whenever there are live streams going on. I&#8217;ve also changed the fallback music a lot now to be more what I&#8217;m into at the moment.
You can listen to it here:
download the .m3u playlist
You&#8217;ll need a player capable of listening to vorbis [...]]]></description>
			<content:encoded><![CDATA[<p>There is now a twitter feed for the cyberpunk radio: <a href='http://www.twitter.com/cyberpunkradio'>@CyberpunkRadio</a></p>
<p>That should update you whenever there are live streams going on. I&#8217;ve also changed the fallback music a lot now to be more what I&#8217;m into at the moment.</p>
<p>You can listen to it here:</p>
<p><a href='http://stream.cyberpunked.net'>download the .m3u playlist</a></p>
<p>You&#8217;ll need a player capable of listening to vorbis streams (VLC, MPlayer, Winamp, FooBar all confirmed to work)</p>
]]></content:encoded>
			<wfw:commentRss>http://synapse.bencoder.com/?feed=rss2&amp;p=23</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pyweek</title>
		<link>http://synapse.bencoder.com/?p=17</link>
		<comments>http://synapse.bencoder.com/?p=17#comments</comments>
		<pubDate>Sat, 17 Apr 2010 16:22:34 +0000</pubDate>
		<dc:creator>bencoder</dc:creator>
				<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://synapse.bencoder.com/?p=17</guid>
		<description><![CDATA[2 weeks ago me and my friend made a game for pyweek 10 where you ride a unicycle.
You can see the project page here to download the game.
Voting ends tonight so we&#8217;ll be able to see how we did. You can see a video of the game here: http://www.youtube.com/watch?v=yQrzsNs6br4
]]></description>
			<content:encoded><![CDATA[<p>2 weeks ago me and <a href="http://www.matmoore.co.uk">my friend</a> made a game for <a href="http://www.pyweek.org">pyweek 10</a> where you ride a unicycle.</p>
<p><a href="http://pyweek.org/e/dcent/">You can see the project page here to download the game.</a></p>
<p>Voting ends tonight so we&#8217;ll be able to see how we did. You can see a video of the game here: <a href="http://www.youtube.com/watch?v=yQrzsNs6br4">http://www.youtube.com/watch?v=yQrzsNs6br4</a></p>
]]></content:encoded>
			<wfw:commentRss>http://synapse.bencoder.com/?feed=rss2&amp;p=17</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cheap backups via google mail</title>
		<link>http://synapse.bencoder.com/?p=5</link>
		<comments>http://synapse.bencoder.com/?p=5#comments</comments>
		<pubDate>Sat, 27 Feb 2010 17:26:04 +0000</pubDate>
		<dc:creator>bencoder</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://synapse.bencoder.com/?p=5</guid>
		<description><![CDATA[If you need or want a cheap(free) remote backup option for a small website, consider using google&#8217;s generous mail service.
This script runs in the middle of the night each day:

#!/bin/bash
#Make dump of the database from mysql
mysqldump --user=dbuser --password=dbpass --databases dbname --opt --quote-names --complete-insert &#124; bzip2 -c &#62; /tmp/dbbackup.bz2

#Move yesterdays backup to .old, just in case [...]]]></description>
			<content:encoded><![CDATA[<p>If you need or want a cheap(free) remote backup option for a small website, consider using google&#8217;s generous mail service.<br />
This script runs in the middle of the night each day:</p>
<pre>
#!/bin/bash
#Make dump of the database from mysql
mysqldump --user=dbuser --password=dbpass --databases dbname --opt --quote-names --complete-insert | bzip2 -c &gt; /tmp/dbbackup.bz2

#Move yesterdays backup to .old, just in case we want to keep it for some reason
mv /home/user/backup.tar.gz /home/user/backup.tar.gz.old

#tar up all the files
tar -cf /home/user/backup.tar /path/to/some/data /path/to/more/data /tmp/dbbackup.bz2

#compress them
gzip -9 /home/user/backup.tar

#Split the files up into 5mb chunks called backup.aa, backup.ab, backup.ac etc.
split -b 5m /home/user/backup.tar.gz /home/user/pieces/backup.

cd /home/user/pieces
FILES="*.*"
for f in $FILES
do
        #uuencode the file and send it as an attachment
        uuencode $f $f | mail mybackupmailaddress@googlemail.com
done
</pre>
<p>Recovering your backups requires downloading all the pieces for that day(this is the longest part of the process) and performing:</p>
<p>cat backup.* &gt; backup.tar.gz</p>
]]></content:encoded>
			<wfw:commentRss>http://synapse.bencoder.com/?feed=rss2&amp;p=5</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
