<?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>Random Hacks</title>
	<atom:link href="http://benosteen.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://benosteen.wordpress.com</link>
	<description>Hacks, code and other things</description>
	<lastBuildDate>Sat, 11 May 2013 13:25:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='benosteen.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Random Hacks</title>
		<link>http://benosteen.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://benosteen.wordpress.com/osd.xml" title="Random Hacks" />
	<atom:link rel='hub' href='http://benosteen.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Conway&#8217;s Game of Life, interpreted in sound.</title>
		<link>http://benosteen.wordpress.com/2013/02/06/conways-game-of-life-interpreted-as-sounds/</link>
		<comments>http://benosteen.wordpress.com/2013/02/06/conways-game-of-life-interpreted-as-sounds/#comments</comments>
		<pubDate>Wed, 06 Feb 2013 18:44:50 +0000</pubDate>
		<dc:creator>benosteen</dc:creator>
				<category><![CDATA[creativity]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[play]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[cellular automaton]]></category>
		<category><![CDATA[conway]]></category>
		<category><![CDATA[game of life]]></category>

		<guid isPermaLink="false">http://benosteen.wordpress.com/?p=505</guid>
		<description><![CDATA[Some videos you find on Youtube fill you with questions. Questions like &#8216;why did I just spend 2 minutes of my life watching that?&#8217; or &#8216;what is this?&#8217; Sometimes though, you find videos that fill you with the right kind of questions. Questions that lead you through lots of different ideas and possibilities and inspire [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=505&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Some videos you find on Youtube fill you with questions. Questions like &#8216;why did I just spend 2 minutes of my life watching that?&#8217; or &#8216;what is this?&#8217;</p>
<p>Sometimes though, you find videos that fill you with the right kind of questions. Questions that lead you through lots of different ideas and possibilities and inspire you to tinker, hack and code. The following video by ViHart is one of these. Her fascinating video mathematically plays with the idea of space and time notation using only a music box, some paper and a hole punch.</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='594' height='365' src='http://www.youtube.com/embed/WkmPDOq2WfA?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>Towards the end of the video, she puts a continuous loop of paper through the music box, that will endlessly play the notes punched into the paper.</p>
<p><strong>What if</strong> the punched notes could change every time the paper looped through?</p>
<p><strong>What if</strong>, the notes changed and moved around on their own?</p>
<p><strong>What if</strong> it behaved like a <a href="https://en.wikipedia.org/wiki/Cellular_automaton">cellular automaton</a>, like <a href="http://www.conwaylife.com/">Conway&#8217;s Game of Life</a>?</p>
<p>So, using a little bit of code, some MIDI sounds and a lunch break, I explored just that. I coded a bounded square of cells (32&#215;32), and ran the automaton rules over the set. After each iteration, I processed it as if it were holes punched into a tape, being played by a music box. I experimented with different speeds of note and different musical scales and the following video is of &#8220;Gosper&#8217;s Glider Gun&#8221;, with each note being played in a fraction of a second. This allows the listener to hear the evolution of the game without having to sit through half an hour of notes!</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='594' height='365' src='http://www.youtube.com/embed/rH9tY9YwHZo?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>Code: <a href="https://github.com/benosteen/conways-game-of-life">https://github.com/benosteen/conways-game-of-life</a></p>
<p>Included in the code are some recordings of various examples, in .ogg format, that play much more slowly. I used QSynth as a MIDI synthesiser, JACK and audacity to record the audio.</p>
<p><a href="https://github.com/benosteen/conways-game-of-life/blob/master/glider_pusher.ogg?raw=true" title="Direct link to an example ogg file"></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/benosteen.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/benosteen.wordpress.com/505/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=505&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://benosteen.wordpress.com/2013/02/06/conways-game-of-life-interpreted-as-sounds/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ecd5ffb05416817fdeb1fbf9322ee887?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">benosteen</media:title>
		</media:content>
	</item>
		<item>
		<title>Gloomy education? (Creative writing and card games)</title>
		<link>http://benosteen.wordpress.com/2012/10/11/gloomy-education-creative-writing-and-card-games/</link>
		<comments>http://benosteen.wordpress.com/2012/10/11/gloomy-education-creative-writing-and-card-games/#comments</comments>
		<pubDate>Thu, 11 Oct 2012 15:29:44 +0000</pubDate>
		<dc:creator>benosteen</dc:creator>
				<category><![CDATA[idea]]></category>
		<category><![CDATA[boardgame]]></category>
		<category><![CDATA[cardgame]]></category>
		<category><![CDATA[creativewriting]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[Gloom]]></category>
		<category><![CDATA[storytelling]]></category>

		<guid isPermaLink="false">http://benosteen.wordpress.com/?p=494</guid>
		<description><![CDATA[This isn&#8217;t a rant about the state of modern education. Rather, I want to talk about a somewhat melancholy card game called &#8216;Gloom&#8217; (info) (amazon). Gloom is a game of &#8220;inauspicious incidents and grave consequences&#8221; &#8211; a game where you control the fates of a band of misfits and malcontents, playing cards to make their [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=494&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://benosteen.files.wordpress.com/2012/10/gloom.jpg"><img class="alignnone size-full wp-image-495" title="Gloom" alt="" src="http://benosteen.files.wordpress.com/2012/10/gloom.jpg?w=594&#038;h=414" height="414" width="594" /></a></p>
<p>This isn&#8217;t a rant about the state of modern education. Rather, I want to talk about a somewhat melancholy card game called &#8216;Gloom&#8217; (<a href="http://boardgamegeek.com/boardgame/12692/gloom">info</a>) (<a href="http://www.amazon.co.uk/Atlas-Games-Gloom-Card-Game/dp/158978068X">amazon</a>).</p>
<p>Gloom is a game of &#8220;inauspicious incidents and grave consequences&#8221; &#8211; a game where you control the fates of a band of misfits and malcontents, playing cards to make their lives miserable and (hopefully) your opponents&#8217; lives more happy and content. The main aim is for the family you control to be beset by tragedy on all sides and to meet untimely deaths. All deaths in this game are untimely!</p>
<p><a href="http://benosteen.files.wordpress.com/2012/10/family.jpg"><img class="alignnone size-full wp-image-496" title="Family" alt="" src="http://benosteen.files.wordpress.com/2012/10/family.jpg?w=594&#038;h=394" height="394" width="594" /></a></p>
<p>What sets this game apart is the storytelling it inspires. You are recommended not just to play the cards in your favour, but to construct stories around <em>what</em> that card does, with everyone contributing to the communal mythos building up in from the cards. This, to me, is the interesting part &#8211; using these cards and the evocative text and artwork on them in a creative writing exercise. The cards provide enough story material and texture to inspire but also enough of a constraint to focus the mind. Sometimes the worst thing to have when writing is the freedom to write anything you want!</p>
<p><strong>Spinning the yarn</strong></p>
<p>Pick the characters you want to use. I&#8217;m only going to use one here, but don&#8217;t let that guide you. Pick a family, pick randomly, pick <em>any</em> combination of them that you feel might be inspiring. Picking 3 characters might be a sensible idea for a young student &#8211; enough of a constraint for them to work with, but not to many so that a character is left out.</p>
<p>Shuffle the event cards and the modifier cards together, as usual.</p>
<p>Place these face down and draw 5 cards from the top. So far, this is very much like playing the original game. Even if more than one person is playing this collaboratively, only draw a single hand.</p>
<p>At this point, setting the scene for the story with a short introduction might be worthwhile. You can give your characters more depth and describe parts of their personality or backstory that you think would be interesting to include.</p>
<p>The &#8216;gameplay&#8217; is simple &#8211; play a card, and draw a card. However, all notion of points should be ignored and you should only pay attention to the text in the banner at the top (and optionally, the text that states that a card can only be played if a certain symbol is visible on the character. For example, a character cannot be &#8216;widowed at the wedding&#8217; if they haven&#8217;t had any love/marriage-themed cards placed on them beforehand. Again, it is up to you!)</p>
<p>You can see, on the left in the picture below, a typical card that you might play with descriptive text in the banner at the top, some symbols and numbers along the sides and a little snippet of text at the bottom, adding flavour to the modifier.</p>
<p><a href="http://benosteen.files.wordpress.com/2012/10/dariusdark1.jpg"><img title="DariusDark1" alt="" src="http://benosteen.files.wordpress.com/2012/10/dariusdark1.jpg?w=594&#038;h=381" height="381" width="594" /></a></p>
<p>Event cards (see below) cause various gameplay actions to happenin the normal game, but for this version, you can ignore this aspect. The important part is, as usual, the text at the top &#8211; &#8220;A Second Chance&#8221;, &#8220;Smoke and Mirrors&#8221; and so on. Use these sentences to spur on an idea for an event in your story. Did a character just have a run in with the law? Maybe the &#8220;Smoke and Mirrors&#8221; event could be a chase sequence where they successfully lose their pursuers only to land in an even more dire situation?</p>
<p><a href="http://benosteen.files.wordpress.com/2012/10/secondchance.jpg"><img title="secondchance" alt="" src="http://benosteen.files.wordpress.com/2012/10/secondchance.jpg?w=594&#038;h=725" height="725" width="594" /></a></p>
<p>The final type of card are the Untimely Death cards. These have RIP in each corner and describe the final tragedy of a character. Sometimes the card states it cannot be placed on a character unless a certain symbol is showing. Use your own judgement on this, but you might find your story makes more sense if you do pay attention to this!</p>
<p>The characters can suffer Untimely Deaths at any time the player chooses. Kill a character after putting them through an veritable odyssey of misfortune and heartbreak? Give them a fleeting moment of happiness before dashing their hopes to pieces? Have a family member die early to provide an element of pathos for the rest of story to play on? Who knows <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If playing collaboratively, I suggest the following ideas:</p>
<ul>
<li>As nature intended aka Just play the normal game! I&#8217;ve put the following down as ways to concentrate on the story and not be distracted by beating your opponent, but with 3 or more players, you might find the normal method of playing to be a good exercise in itself. The goal is to tell a good story after all!</li>
<li>Madlibs style: people play cards turnwise, passing the cards to the next player after they have told their tale,</li>
<li>Death by committee: cards are placed only after everyone has discussed and agreed on the card put down,</li>
<li>Roleplay: Each player chooses a character for themselves and play proceeds in the Madlibs style above. Every time a card is played, the player must construct the story so that  their character is involved in some way &#8211; as a witness, the cunning instigator or just acting in character.</li>
</ul>
<p>I&#8217;ll walk through an example of the story play, just to show you what I mean. First a quick introduction:</p>
<p>I&#8217;ve picked out the ringleader of &#8220;Dark&#8217;s Den of Deformity&#8221;, Darius Dark himself:</p>
<p><em>Truth be told, Darius is a dreadful talent scout for the freakish and the deformed. In fact, he is the worst. His &#8216;den&#8217; consists of such ill-chosen acts as a bearded man, a shy and bashful painted lady who refuses to show her tattoos, and a creepy skull-faced clown. He fails to understand why people aren&#8217;t as astounded as he is by his show. He cannot see that why a man who has a beard but cannot a moustache isn&#8217;t that amazing. He fails to grasp that not everyone has his childlike imagination, and are not satisfied just thinking about the infinite artistic, mysterious and inspiring possibilities of the tattoos on a woman who keeps herself covered from head to foot. He believes in the wondrousness of his family even if the rest of the world doesn&#8217;t</em></p>
<p><em>Business has been very bad for some time and many of the acts feel at their lowest ebb. Darius, ever the optimist (and he&#8217;d have to be with a show like his), is still striving for the big time, looking for that one lucky break that will get his family of freaks the renown they deserve.</em></p>
<p><em>Ironically, most who come to see the show only visit to find out if the show really is as comically bad as everyone says.</em></p>
<p>I played through a few cards, before finally killing him off:</p>
<p><a href="http://benosteen.files.wordpress.com/2012/10/fullrundown.jpg"><img class="alignnone size-full wp-image-499" title="Fullrundown" alt="" src="http://benosteen.files.wordpress.com/2012/10/fullrundown.jpg?w=594&#038;h=727" height="727" width="594" /></a></p>
<p>They can be read as a very wordy epitaph, with a little embellishment:</p>
<blockquote><p><em>Darius Dark, the sinister ringmaster,</em></p>
<p><em>Pursued by Poodles,</em></p>
<p><em>and Galled by Gangrene.</em></p>
<p><em>He was given a second chance</em></p>
<p><em>but he Stole from a Stiff in desperation.</em></p>
<p><em>Haunted by remorse, he ruined himself on liquor and rum.</em></p>
<p><em>He was killed in a bar-fight, after drinking the wrong person&#8217;s whiskey.</em></p></blockquote>
<p>I&#8217;ve added a little bit of colour to the text, but I think you can see how this can be a useful exercise, whether it&#8217;s for a young student or just someone trying to switch creative gears.</p>
<p><strong>Why Gloom?</strong></p>
<p>Why not? It&#8217;s been written with storytelling in mind, dark and miserable storytelling but still, there is nothing special about the cards that means it cannot be done by some other means. Print a number of inspiring suggestions on small cards, written in the same format as the modifier and event cards and use those instead. The mini-moo cards look to be an interesting size for this sort of thing too. Why not make your own &#8216;Happy&#8217; version!</p>
<p>For those who do not have the time, or don&#8217;t believe they have the ability to to the above, then Gloom might be an interesting set to begin with. If used with students, I&#8217;m sure that they will soon be writing their own cards and adding them to the mix <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Gloom played for real</strong></p>
<p>Wil Wheaton and friends played through a game of <a href="http://www.amazon.co.uk/Atlas-Games-Gloom-Card-Game/dp/158978068X">Gloom</a> on an <a href="http://tabletop.geekandsundry.com/episodes/gloom-amber-benson-michele-boyd-and-meghan-camarena-strawburry17-join-wil-on-tabletop/">episode of Tabletop</a> which is worth watching to get the feel for the game and the characters in it.</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='594' height='365' src='http://www.youtube.com/embed/0artLwe87I4?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/benosteen.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/benosteen.wordpress.com/494/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=494&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://benosteen.wordpress.com/2012/10/11/gloomy-education-creative-writing-and-card-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ecd5ffb05416817fdeb1fbf9322ee887?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">benosteen</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/10/gloom.jpg" medium="image">
			<media:title type="html">Gloom</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/10/family.jpg" medium="image">
			<media:title type="html">Family</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/10/dariusdark1.jpg" medium="image">
			<media:title type="html">DariusDark1</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/10/secondchance.jpg" medium="image">
			<media:title type="html">secondchance</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/10/fullrundown.jpg" medium="image">
			<media:title type="html">Fullrundown</media:title>
		</media:content>
	</item>
		<item>
		<title>Exploring Locksmithing and Lockpicking as an intellectual pursuit</title>
		<link>http://benosteen.wordpress.com/2012/09/30/this-years-skill-lockpicking/</link>
		<comments>http://benosteen.wordpress.com/2012/09/30/this-years-skill-lockpicking/#comments</comments>
		<pubDate>Sun, 30 Sep 2012 18:19:48 +0000</pubDate>
		<dc:creator>benosteen</dc:creator>
				<category><![CDATA[fun]]></category>

		<guid isPermaLink="false">http://benosteen.wordpress.com/?p=488</guid>
		<description><![CDATA[I am fascinated by complex things and always have been, whether they are mechanical, chemical, mathematical or other, similarly elegant pieces of &#8220;clockwork&#8221;. I was the clichéd kid repeatedly told off for dismantling things or repairing them. It wasn&#8217;t because I lacked the ability to do so, it was just because I was caught in the act. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=488&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I am fascinated by complex things and always have been, whether they are mechanical, chemical, mathematical or other, similarly elegant pieces of &#8220;clockwork&#8221;. I was the clichéd kid repeatedly told off for dismantling things or repairing them. It wasn&#8217;t because I lacked the ability to do so, it was just because I was caught in the act.</p>
<p>At a young age, I learnt the value of tact and that using half-truths when dealing with adults was pretty effective. If something is fixed before an adult realises that it is broken, then, well, so much the better.</p>
<p>My mother was a single parent and did what she could to raise me in very difficult circumstances. When I was 9 years old, she took a job as a secretary at a car scrapyard which paid the bills, but didn&#8217;t stretch to cover a babysitter. I spent my summer holidays climbing up stacks of 3 or 4 flattened cars, peering into engines, digging about in their electronics and frankly, having a wonderful time amongst all that shattered glass, buckled metal and engine parts. The few guys that worked there got used to me, and answered some of my questions about engines, carburettors, and ignition systems. They also confided in me a few hacks. Like how they got into cars and drove them when the key was damaged or lost. That you can start the car by connecting wires together, or that some older  ["older" in an 80s context] ignitions used pin tumbler locks that can be dealt with using a fine chisel and a good whack.</p>
<p><strong>I caused my first car accident a few weeks after that. </strong></p>
<p>I had found a car that was in half-decent shape, just needing a new battery, the distributor reattaching, and a little petrol. I &#8216;dealt&#8217; with the ignition lock and pushed a flat bit of scrap into the slot and as I held onto a deep breath, I gave it a sharp turn to the right, as I had seen done before. The engine spluttered, coughed and the whole car lurched forward, smacking into the upright corrugated iron fence in front of it. Shaken, I got out of the car and my work was swiftly uncovered.</p>
<p>I have been paranoid about leaving a car in gear ever since.</p>
<p>I still retained that love of discovering how things work, what makes them tick and what their mechanisms &#8211; their secrets &#8211; are. I am more aware of risk these days however!</p>
<p><strong>Locks and puzzles</strong></p>
<p>Some puzzles can really get under my skin and I simply have to work them out, otherwise they will drive me insane. Locks always had a charm to them, as they can be so simple yet powerful enough to stop a determined human being. A few millimetres of dumb metal stopping an intelligent being. <a href="http://www.amazon.co.uk/exec/obidos/ASIN/0393316041">Feynman</a> famously dabbled with picking locks as an intellectual pursuit and that is pretty much all the encouragement I needed to look into this further.</p>
<p>I made a few (mostly unsuccessful) <a href="https://en.wikipedia.org/wiki/Lock_picking#Rake_picks">rakes</a> and padlock shims from coke cans, which I must confess, I used to impress friends at my new school. I opened their padlocked lockers in front of them after betting them I could. I must of become bored of this or they did, as I only did it a few times and then stopped. It was really dumb and naive of me. What I viewed as a simple party trick was something that authorities take very seriously. In any case, I quickly moved onto rubik&#8217;s cubes, my friend&#8217;s handheld computer games and just being a teenager.</p>
<p><strong>tl;dr I&#8217;ve dabbled with lockpicking in the past as an intellectual puzzle and party trick</strong></p>
<p>Every birthday, since I was about 20 years old, I&#8217;ve tried to pick one skill or area to take seriously as a hobby and to dive into it. This helps keep my mind working and gives me something to work towards. Last year&#8217;s skill was knitting and crafting, and previous years, I had chosen things like book-binding, microelectronics, playing the piano and guitar and so on,</p>
<p>This year I&#8217;ve chosen <strong>locksmithing and lockpicking.</strong></p>
<p>Earlier this year, I found <a href="http://www.youtube.com/watch?v=VVSL0liiWoc&amp;feature=BFa&amp;list=SP66CD42F86F3A1F85">this</a> excellent course playlist &#8211; 24 videos! &#8211; on pin tumblers by  <a href="http://www.youtube.com/user/SchuylerTowne" rel="author">SchuylerTowne</a> on YouTube. His videos are really clear, well-done and above all, really, REALLY exciting (in a geeky way!) Re-watching these a few days ago made my decision about what to pick this year very easy indeed <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here&#8217;s his introduction to his <a href="http://www.youtube.com/watch?v=VVSL0liiWoc&amp;feature=BFa&amp;list=SP66CD42F86F3A1F85">course</a>:</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='594' height='365' src='http://www.youtube.com/embed/VVSL0liiWoc?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>Some important information to anyone considering going further:</p>
<ol>
<li><strong>Never</strong> pick a lock that you do not own.</li>
<li><strong>Never</strong> pick a lock that is in use.</li>
<li>(In the UK) <strong>Never</strong> carry your tools outside. It&#8217;s not illegal as to own them, but for all practical purposes, it is illegal to carry them. Police officers will pull you in as you are &#8216;equipped for burglary&#8217;, especially if you haven&#8217;t begun any formal locksmith training or certification. So, keep them at home, with your other hobby gear.</li>
</ol>
<p>So far, I&#8217;ve bought a nicely reviewed set of <a href="http://www.amazon.co.uk/Lock-Picking-C2010-Piece-Slimline/dp/B000NW868S/ref=pd_bxgy_diy_text_b">picks</a>, a <a href="http://www.amazon.co.uk/Locksmiths-Picking-Practice-Board-Number/dp/B004LGKK9U/ref=pd_bxgy_diy_text_c">block of practice locks</a> and &#8220;<a href="http://www.amazon.co.uk/Practical-Lock-Picking-Physical-Penetration/dp/1597496111/ref=pd_sim_diy_4">Practical Lock Picking: A Physical Penetration Tester&#8217;s Training Guide&#8221; by Deviant Ollam</a> which should arrive next week! I can&#8217;t wait!</p>
<p>I doubt I&#8217;ll get as far as entering a lockpicking competition, but I do hope that I will have at least explored it. Who knows, I may even apply for formal training after all! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/benosteen.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/benosteen.wordpress.com/488/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=488&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://benosteen.wordpress.com/2012/09/30/this-years-skill-lockpicking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ecd5ffb05416817fdeb1fbf9322ee887?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">benosteen</media:title>
		</media:content>
	</item>
		<item>
		<title>Open Source Cola &#8211; &#8220;Cube Cola&#8221;</title>
		<link>http://benosteen.wordpress.com/2012/09/26/open-source-cola-cube-cola/</link>
		<comments>http://benosteen.wordpress.com/2012/09/26/open-source-cola-cube-cola/#comments</comments>
		<pubDate>Wed, 26 Sep 2012 16:06:56 +0000</pubDate>
		<dc:creator>benosteen</dc:creator>
				<category><![CDATA[fun]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[chemistry]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[recipes]]></category>

		<guid isPermaLink="false">http://benosteen.wordpress.com/?p=478</guid>
		<description><![CDATA[From their site: Standing on the Hands of Giants We are wildcrafting our own cola from an open source recipe reverse-engineered from the original Coke. A process merging domestic and scientific methodologies. Cube-Cola is distributed by social courier within the city perimeters of Bristol UK, and is available by mail as a cola concentrate worldwide. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=478&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>From <a href="http://cube-cola.org/">their site</a>:</p>
<blockquote><p><strong>Standing on the Hands of Giants</strong></p>
<p>We are wildcrafting our own cola from an open source recipe reverse-engineered from the original Coke. A process merging domestic and scientific methodologies. Cube-Cola is distributed by social courier within the city perimeters of Bristol UK, and is available by mail as a cola concentrate worldwide.</p></blockquote>
<p>I chatted with one of the people behind this at <a href="http://www.makerfairebrighton.com/maker_2012/cube-cola/">their stall at the recent Brighton Mini Maker Faire</a> and she told me the backstory to it and I mentioned some of the recipes I had seen for it. The exorbitant price of neroli oil was mentioned too, and you&#8217;ll see why that is worthy of note later. (I must confess that do not know which of the two women I spoke to as my memory for names is shamefully non-existent).</p>
<p>I am interested in the history of chemical recipes of this sort, even though I am a lapsed chemist graduate and I have collected a number of books about the history and development of the &#8216;high-street chemist&#8217;, for want of a better name. (In that vein, if you can track down watchable copies of the BBC and Open University produced &#8220;<a href="http://www.bbc.co.uk/programmes/b00ylyfg/episodes/guide">Victorian Pharmacy</a>&#8220;, I highly recommend it!)</p>
<p>I found a few recipes for &#8220;Coca-cola&#8221; in the books I have, a generic narcotic version (pre ~1900ish IIRC) and a few unofficial non-narcotic versions. One book in particular is full of fascinating generic fomulas, originally published in 1938 under the title &#8220;The Standard Book of Formulas: How to make what you use&#8221;. The reprint I own is from 2004 and is provocatively titled &#8220;Two Thousand Formulas, Recipes and Trade Secrets&#8221; but I strongly doubt it contains many secrets <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://benosteen.files.wordpress.com/2012/09/cover.jpg"><img class="alignnone size-full wp-image-479" title="Cover image" alt="Two Thousand formulas, recipes and trade secrets" src="http://benosteen.files.wordpress.com/2012/09/cover.jpg?w=594&#038;h=611" height="611" width="594" /></a></p>
<p>It has a generic recipe listed inside for a &#8220;Kola beverage&#8221;:</p>
<p><a href="http://benosteen.files.wordpress.com/2012/09/cocakola.jpg"><img class="alignnone size-full wp-image-480" title="cocakola" alt="" src="http://benosteen.files.wordpress.com/2012/09/cocakola.jpg?w=594&#038;h=689" height="689" width="594" /></a></p>
<p>The &#8220;Fluidextract of Cola&#8221; is both where the modern drink gets its name from and the original drink got its &#8216;uplifting and refreshing&#8217; qualities (as it is a source of cocaine.)</p>
<p>Unfortunately, I cannot find the book with the later, post-1900 recipes in, (the non-narcotic versions) so cannot show you what that looks like. The original combination of flavouring oils surprised me when I first read them and they may surprise you to! (The combination did look a lot like the Cube Cola recipe, so I&#8217;ll borrow that, emphasis my own):</p>
<ul>
<li>7.50 ml orange oil</li>
<li>7.00 ml lime oil</li>
<li>2.00 ml lemon oil</li>
<li>0.75 ml cassia oil</li>
<li>1.50 ml nutmeg oil</li>
<li>0.50 ml coriander oil (12 drops)</li>
<li>0.50 ml <strong>lavender oil</strong> (12 drops)</li>
<li>0.50 ml <strong>neroli oil</strong> (optional due to high expense of neroli)</li>
</ul>
<p>The majority of the ingredients are not that exceptional. Orange, lime, lemon&#8230; sure, they make sense. Cassia, nutmeg, coriander, fine too, exotic but makes sense to me. But then lavender appears as an ingredient, something I really didn&#8217;t expect. I managed to convince myself that this is the case by drinking some cola and then smelling some lavender oil. It&#8217;s faint, but it is certainly a match!</p>
<p>Neroli oil is also very interesting. I won&#8217;t bore you with details, but suffice to say it has an aromatic flavour, a sophisticated floral scent, very expensive, but surprisingly commonly found in perfume. <a href="https://en.wikipedia.org/wiki/Neroli">This</a> is a link to its wikipedia page. Neroli oil also features in another couple of flavourings I found interesting:</p>
<p><a href="http://benosteen.files.wordpress.com/2012/09/absinthe.jpg"><img class="alignnone size-full wp-image-481" title="absinthe" alt="" src="http://benosteen.files.wordpress.com/2012/09/absinthe.jpg?w=594&#038;h=672" height="672" width="594" /></a></p>
<p>I also stumbled over the following, a recipe for artifical Neroli oil which makes for interesting reading although I wouldn&#8217;t recommend trying it today!</p>
<p><a href="http://benosteen.files.wordpress.com/2012/09/artificalneroli.jpg"><img class="alignnone size-full wp-image-482" title="artificalNeroli" alt="" src="http://benosteen.files.wordpress.com/2012/09/artificalneroli.jpg?w=594&#038;h=509" height="509" width="594" /></a></p>
<p><strong>Making my own Open Source Cola!</strong></p>
<p>Needless to say that after talking about this with them, I bought some of their cola concentrate to try! It is based on their <a href="http://cube-cola.org/index.php?route=information/information&amp;information_id=10">GPL&#8217;d open source recipe</a> and looks very much like the one I remembered reading a number of years ago. However, I have only recently got round to making up the sugar syrup needed for it. The 56ml concentrate may not look like a lot, but it makes almost 2 litres of cola syrup which still requires dilution with carbonated water (at a ratio of 1 part to 7 of water) before you can drink it happily!</p>
<p>As it turned out, I only had 1.2kg of the required 1.5kg of white sugar so I improvised with ~200g of some light muscovado sugar. It has affected the flavour, but the treacly flavour matches well enough with the flavourings. The taste itself I would rate as being far better than most supermarket own brand colas and would give the original a run for its money! I&#8217;m not a big fan of the full-fat coke, but I have a friend who is and I&#8217;ll get his verdict on it later!</p>
<p>This is <em>one</em> of the two containers of syrup next to the partially drunk bottle of newly minted Cube Cola:</p>
<p><a href="http://benosteen.files.wordpress.com/2012/09/dsc0090.jpg"><img class="alignnone size-full wp-image-483" title="Cube Cola syrup" alt="" src="http://benosteen.files.wordpress.com/2012/09/dsc0090.jpg?w=594&#038;h=832" height="832" width="594" /></a></p>
<p>So, it looks like I am going to be drinking cola for quite a while to come!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/benosteen.wordpress.com/478/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/benosteen.wordpress.com/478/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=478&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://benosteen.wordpress.com/2012/09/26/open-source-cola-cube-cola/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ecd5ffb05416817fdeb1fbf9322ee887?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">benosteen</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/09/cover.jpg" medium="image">
			<media:title type="html">Cover image</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/09/cocakola.jpg" medium="image">
			<media:title type="html">cocakola</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/09/absinthe.jpg" medium="image">
			<media:title type="html">absinthe</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/09/artificalneroli.jpg" medium="image">
			<media:title type="html">artificalNeroli</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/09/dsc0090.jpg" medium="image">
			<media:title type="html">Cube Cola syrup</media:title>
		</media:content>
	</item>
		<item>
		<title>Birthdays and Boardgames</title>
		<link>http://benosteen.wordpress.com/2012/09/26/birthdays-and-boardgames/</link>
		<comments>http://benosteen.wordpress.com/2012/09/26/birthdays-and-boardgames/#comments</comments>
		<pubDate>Wed, 26 Sep 2012 13:24:52 +0000</pubDate>
		<dc:creator>benosteen</dc:creator>
				<category><![CDATA[opinion]]></category>

		<guid isPermaLink="false">http://benosteen.wordpress.com/?p=472</guid>
		<description><![CDATA[Monopoly is the game that killed my interest in boardgames. Why? Its depressingly long-winded, yawnsome play is based more on luck than skill. The crushing inevitable win by the player who got ahead early in the game. The forced family play at christmas with children who&#8217;d rather play on their new computer games and adults who [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=472&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://benosteen.files.wordpress.com/2012/09/dsc0087.jpg"><img class="alignnone size-full wp-image-473" title="My collection" src="http://benosteen.files.wordpress.com/2012/09/dsc0087.jpg?w=594&#038;h=394" alt="Image of the boardgames I own" width="594" height="394" /></a></p>
<p>Monopoly is the game that killed my interest in boardgames. Why?</p>
<p>Its depressingly long-winded, yawnsome play is based more on luck than skill. The crushing inevitable win by the player who got ahead early in the game. The forced family play at christmas with children who&#8217;d rather play on their new computer games and adults who were too drunk or sedated by food to pay attention.</p>
<p><em>I remember it as a joy-killer in my childhood memories.</em></p>
<p>That said, I gave it another chance shortly after University. After all, it&#8217;s popular, how bad can it be? I really enjoy games and gameplay, so why not boardgames?</p>
<p><em>tl;dr it killed my interest again.</em></p>
<p>Fast forward to this year, I discovered Wil Wheaton&#8217;s new show on Youtube called <a href="http://tabletop.geekandsundry.com/">TableTop</a>, which can be summed up as internet famous and geeky people playing a boardgame &#8211; it is somewhat like a indirect set of personal interviews plus a review of the game. I watched the first episode quickly followed by the second &#8211; these people were having fun! It&#8217;s possible to have fun playing boardgames after all!?</p>
<p>A quick search led me to the <a href="http://boardgamegeek.com/">Board Game Geek</a> site and I was staggered by the amount of a) fun looking <em>reviewed</em> games out there and b) the ridiculous amount of content on that site. Armed only with the titles played on TableTop, I made some progress and finally got into it.</p>
<p>The image at the top of this post shows my current collection, grown significantly because I had a birthday earlier this month. From left to right, then top to bottom (with links to their pages on BoardGameGeek):</p>
<ul>
<li><a href="http://boardgamegeek.com/boardgame/40692/small-world">Smallworld</a>- a fantasy styled Risk-like game with lots of variety in the races you play as and an interesting mechanics where the player&#8217;s races go into decline. 30-40 min playtime enforced by a turn limit.
<ul>
<li><a href="http://tabletop.geekandsundry.com/episodes/episode-1-small-world/">TableTop vid</a>: Wil Wheaton and guests, Sean Plott (host of “Day9TV”, a Starcraft II dedicated webcast on how to be a better gamer), Grant Imahara (host of Discovery Channel’s “Mythbusters”), and Jenna Busch (geek blogger, writer and host) play Small World!</li>
</ul>
</li>
<li><a href="http://boardgamegeek.com/boardgame/104006/village">Village</a> &#8211; a very recent purchase. It looks really fun, well presented and intelligent and has lots of unique gameplay mechanics but I&#8217;ve yet to play this one with my gf or anyone else.</li>
<li><a href="http://boardgamegeek.com/boardgame/822/carcassonne">Carcassonne</a> and the <a href="http://boardgamegeek.com/boardgameexpansion/2993/carcassonne-inns-cathedrals">Inns/Cathedrals expansion</a> &#8211; a really great game, can&#8217;t recommend it enough. Gameplay: place a starter tile on the table and each player takes a tile at random from the remainder, joins it to the one(s) on the table and puts down a token &#8211; a meeple &#8211; to claim something on the tile: a city, a road, a field or a monastery. Players get points for completing what they claim and highest points wins. The box art did put me off this one but this is definitely the game I&#8217;ve played the most with my gf. It took one day of play before I had to get an expansion for it, we enjoyed it that much. 30 minute gameplay and takes seconds to set up.</li>
<li> <a href="http://boardgamegeek.com/boardgame/71836/onirim">Onirim</a> &#8211; an interesting patience/Klondike-style game, where you are trapped in a labyrinth of dreams and have to find all the doors to escape. Fun solo game, definitely replaced solitaire for me and great value and artwork. Comes with 3 expansions to the core games too!</li>
<li><a href="http://boardgamegeek.com/boardgame/15987/arkham-horror">Arkham Horror</a> &#8211; I absolutely love the Lovecraftian Mythos, his short stories and works that have built on that, so it comes as little surprise that I would buy this as soon as I found it. A complex and deep role-playing game, where every component is written in theme, allowing you to weave your own narratives with ease as there is little to yank you out of the feel of its world. A tough but rewarding one player game too, with the only downside is the size of table you need for it and the time it takes to play (2hrs+). I really enjoy this, but <a href="http://boardgamegeek.com/boardgame/100423/elder-sign">Elder Sign</a>seems to be a nice lite version of this too, which plays much quicker
<ul>
<li><a href="http://tabletop.geekandsundry.com/episodes/elder-sign-felicia-day-mike-morhaime-and-bill-prady-join-wil-on-tabletop-episode-11/">TableTop vid of Elder Sign</a>: Wil Wheaton and guests Felicia Day (Actress, Producer, Writer – The Guild), Mike Morhaime (President, Co-founder – Blizzard Entertainment), and Bill Prady (Co-creator, Executive Producer, Writer – The Big Bang Theory) play Elder Sign!</li>
</ul>
</li>
<li><a href="http://boardgamegeek.com/boardgame/1927/munchkin">Munchkin</a>- humorous, backstabbing, bribing, social role-playing game with most of the role-playing removed. Pick up a card, defeat a monster, go up a level&#8230; unless your so-called friends decide to gang up on you and help the monster out to pull you down a few levels.
<ul>
<li><a href="http://tabletop.geekandsundry.com/episodes/munchkin-felicia-day-steve-jackson-and-sandeep-parikh-join-wil-wheaton-on-tabletop-episode-5/">TableTop vid</a>: Wil Wheaton and guests Felicia Day (Actress, Producer, Writer – The Guild), Steve Jackson (Game Designer Guru, Creator of Munchkin) and Sandeep Parikh (Actor-The Guild and creator of Legend Of Neil) play Munchkin!</li>
</ul>
</li>
<li><a href="http://boardgamegeek.com/boardgame/14996/ticket-to-ride-europe">Ticket To Ride: Europe</a> and its <a href="http://boardgamegeek.com/boardgameexpansion/53383/ticket-to-ride-europa-1912">1912 expansion</a>- collect cards, buy routes, join cities, block your friend&#8217;s routes and complete yours to win! Great fun, easy to learn, a good game to get your friends playing if they are a bit apprehensive about boardgames (as I was.)
<ul>
<li><a href="http://tabletop.geekandsundry.com/episodes/colin-ferguson-plays-ticket-to-ride-with-wil-wheaton-anne-wheaton-and-amy-dallen/">TableTop vid</a>: Wil Wheaton and guests Colin Ferguson (Actor – Eureka), Anne Wheaton (Wil’s lovely wife), and Amy Dallen (Wil’s good friend and fellow comic book nerd) play Ticket to Ride! [NB USA version]</li>
</ul>
</li>
<li>Just hiding off the bottom left corner is the <a href="http://boardgamegeek.com/boardgame/77423/the-lord-of-the-rings-the-card-game">Lord of the Rings Card Game</a> &#8211; a really tough card game for one player (easier with two though). Create a deck of cards to aid your chosen heros fight through sections of the book&#8217;s plot. This draws from the books and not the films and benefits from that. It&#8217;s about deck building and balancing your deck against the scenario you&#8217;ve picked. Tough and beats me on a regular basis. I love the game world though, so I keep playing it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>So, my advice is if Monopoly or something similar put you off boardgames, give them another try. I advise you to give Carcassonne or Ticket To Ride a try and see how you feel about it. If you are planning to have a few drinks with friends, then you also might want to give Munchkin a go too <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>(Also, if you know of a good gaming group I could join in with in London, or even near me in Bishops Stortford, I&#8217;m all ears!)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/benosteen.wordpress.com/472/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/benosteen.wordpress.com/472/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=472&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://benosteen.wordpress.com/2012/09/26/birthdays-and-boardgames/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ecd5ffb05416817fdeb1fbf9322ee887?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">benosteen</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/09/dsc0087.jpg" medium="image">
			<media:title type="html">My collection</media:title>
		</media:content>
	</item>
		<item>
		<title>Why ignorance can be helpful and Learned Helplessness</title>
		<link>http://benosteen.wordpress.com/2012/09/26/why-ignorance-can-be-helpful-and-learned-helplessness/</link>
		<comments>http://benosteen.wordpress.com/2012/09/26/why-ignorance-can-be-helpful-and-learned-helplessness/#comments</comments>
		<pubDate>Wed, 26 Sep 2012 12:14:22 +0000</pubDate>
		<dc:creator>benosteen</dc:creator>
				<category><![CDATA[opinion]]></category>

		<guid isPermaLink="false">http://benosteen.wordpress.com/?p=470</guid>
		<description><![CDATA[I&#8217;ve had a bit of a problem for the past few months. I couldn&#8217;t seem to finish and write about any of my personal projects. I felt blocked. I&#8217;d sit at my desk, staring at a mostly blank draft post, stumbling over the words to describe what I was working on, whether it was a [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=470&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve had a bit of a problem for the past few months. I couldn&#8217;t seem to finish and write about any of my personal projects. I felt blocked. I&#8217;d sit at my desk, staring at a mostly blank draft post, stumbling over the words to describe what I was working on, whether it was a pen plotter made from a couple of old DVD drives, my long delayed posts about some of my proof of concepts or even just a post on what I am up to with my 3d printer.</p>
<p>I keep seeing people churn out new and interesting things, well-written and attractively photographed. They made it look so easy, so effortless and to be honest, I really believe that it is that effortless to them. I saw <a href="http://finalbullet.com/">Leila Johnston</a> and <a href="http://infovore.org/">Tom Armitage</a> talk at the <a href="http://www.makerfairebrighton.com/maker_2012/">Brighton MiniMaker Faire</a> a few weeks ago, talking about how to make things fast and to &#8216;put a box on it&#8217;; to finish a project properly. As good as their talks were, I felt they only depressed me further and didn&#8217;t know why. Leila&#8217;s advice to stop caring about it, ship it and &#8220;forget&#8221; about it should be helpful, but they weren&#8217;t to me. What gives?</p>
<p>I&#8217;ve tried to avoid making excuses, blaming something external when the problem is my motivation, an internal problem. It is internal, I know what the problem is but being told to stop caring isn&#8217;t helping. The speed at which people are putting stuff out there makes me feel useless, slow and to be honest, stupid. These thoughts keep running through my mind every time I tried to write, every time I attempted to capture online the things I make.</p>
<p>I think my problem is made worse simply by knowing prolific makers, by following what they are doing and interacting with them and reading about their works, I am digging myself a deeper hole.</p>
<p>The more I read, the more reluctant I am to publish anything of my own.</p>
<p><strong><a href="https://en.wikipedia.org/wiki/Learned_helplessness">Learned Helplessness</a>. </strong></p>
<p>I am abusing this term perhaps, but I really do think it applies to what I am feeling right now. I feel stupid, frustrated and helpless to change myself when compared to the work put out by the people on the cutting edge. The following video shows a great example of this concept in practice with a class of students and is worth your time:</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='594' height='365' src='http://www.youtube.com/embed/gFmFOmprTt0?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p><strong>What am I going to do about it?</strong></p>
<p>If this really is what is exacerbating my problem and making my block worse, what am I going to do? Well, I&#8217;m going to try the following:</p>
<ul>
<li>Stop following interesting links &#8211; especially ones from Makers and Doers &#8211; for a short time.</li>
<li>Write small posts (like this one) about anything other than the things I am making and just publish it.</li>
<li>Break up my projects into tiny tasks and post about them once I have got back into the rhythm of posting.</li>
</ul>
<p>That&#8217;s it really, a schedule of planned ignorance followed by blind publishing of stuff that interests me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/benosteen.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/benosteen.wordpress.com/470/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=470&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://benosteen.wordpress.com/2012/09/26/why-ignorance-can-be-helpful-and-learned-helplessness/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ecd5ffb05416817fdeb1fbf9322ee887?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">benosteen</media:title>
		</media:content>
	</item>
		<item>
		<title>RETRACT ALL THE THINGS!</title>
		<link>http://benosteen.wordpress.com/2012/09/26/retract-all-the-things/</link>
		<comments>http://benosteen.wordpress.com/2012/09/26/retract-all-the-things/#comments</comments>
		<pubDate>Wed, 26 Sep 2012 10:52:26 +0000</pubDate>
		<dc:creator>benosteen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Citations]]></category>
		<category><![CDATA[PLoS]]></category>
		<category><![CDATA[Retraction]]></category>
		<category><![CDATA[science]]></category>

		<guid isPermaLink="false">http://benosteen.wordpress.com/?p=427</guid>
		<description><![CDATA[PLoS has just put out an editiorial titled &#8220;The role of retractions in correcting the scientific literature&#8221; where they make a number of suggestions around retracting papers once the consensus of evidence and opinion suggests that the paper&#8217;s conclusions are false. The key section is this (emphasis my own): &#8230; as editors and as a [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=427&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>PLoS has just put out an editiorial titled &#8220;<a href="http://blogs.plos.org/speakingofmedicine/2012/09/25/the-role-of-retractions-in-correcting-the-scientific-literature/">The role of retractions in correcting the scientific literature</a>&#8221; where they make a number of suggestions around retracting papers once the consensus of evidence and opinion suggests that the paper&#8217;s conclusions are false. The key section is this (emphasis my own):</p>
<blockquote><p>&#8230; as editors and as a publisher we encourage the publication of studies that replicate or refute work we have previously published. We work with authors (through communication with the corresponding author) to publish corrections if we find parts of articles to be inaccurate.<strong> <em>If a paper’s major conclusions are shown to be wrong we will retract the paper</em></strong>. By doing so, and by being open about our motives, we hope to clarify once and for all that there is no shame in correcting the literature. Despite the best of efforts, errors occur and their timely and effective remedy should be considered the mark of responsible authors, editors and publishers. We welcome further discussion of this important topic.</p></blockquote>
<p><em>Retraction</em>. This is an incredibly emotive word to many researchers because papers are typically retracted by the publisher when the work is deeply flawed or even fraudulent in nature. Often, a retracted paper is marked as if it was wearing a dunce&#8217;s cap, with large RETRACTED lettering running across its text (eg <a href="http://www.thelancet.com/journals/lancet/article/PIIS0140-6736(97)11096-0/abstract">Wakefield&#8217;s infamous Lancet paper</a>)</p>
<p>Putting aside that labelling an entire paper with a binary TRUE/REJECTED stamp (especially using a label that carries severe emotion baggage) is an absurd idea which misses the point and practice of literature review. To steal a phrase from Ben Goldacre, &#8220;it&#8217;s a little more complex than that.&#8221; It always is. I don&#8217;t think this move by PLoS will de-stigmatise the term, when all the other publishers will carry on regardless. They will be seen as the outlier, the one that is doing something wrong, regardless of motive.</p>
<p>There is a silver lining to consider however:</p>
<p><strong>PLoS are willing to try unconventional things to improve the way we do science.</strong></p>
<p>Yes, I agree, they got it wrong this time but please don&#8217;t just blast them out of the water with critism! Can we suggest things that might help us really use and make sense of the ever-growing mountain of published, peer-reviewed material? Consider these strawmen:</p>
<ul>
<li>Annotating a paper&#8217;s abstract with links and contextual fragments from reviews and meta-analyses that discuss or use it?</li>
<li>Citation checking, likely human powered (&#8216;crowdsourced&#8217;). A tally of whether a cited work a) exists and b) says what the citing paper suggests it says?</li>
<li>Finer grained citations &#8211; explicity  <a href="http://www.jbiomedsem.com/content/1/S1/S6">refute, reuse, review a paper</a>, rather than just &#8216;cite&#8217; a paper, so that this semantic difference is clear to us and to computer programs/text-mining apps/search engines/etc?
<ul>
<li>Including the ability to link to a section or even a sentence in a manner in which text-mining applications can understand.</li>
</ul>
</li>
<li>Cross-domain suggestions: how can we help the biologist working with cellular fluid flow dynamics read the work of or even meet mathematicians who specialises in this area and vice-versa? There is so much literature to read out there, that it is easy and almost necessary to have a very narrow focus.</li>
</ul>
<p>I saw a large number of responses to PLoS&#8217;s editorial on twitter last night (which have since evaporated into the ether. Twitter is not that citable anymore.) They mainly consisted of jokes: &#8220;My biology book is mostly wrong, should I burn it now?&#8221;, statements of offence: &#8220;How dare they delete papers!&#8221;, truly unhelpful knee-jerk critisms &#8220;That&#8217;s not how we do things&#8221; and so on, but some were links to better, much more thought out and reasoned arguments against it, such as <a href="http://isisthescientist.com/2012/09/25/the-dumbest-shit-ive-ever-heard/">this one: &#8220;The Dumbest Shit I’ve Ever Heard&#8221;</a> which lays out why the broad-stroke application of a retraction is a very bad idea.</p>
<p>This may just be on my slice of twitter, but the majority of messages were not helpful. They were less than helpful, becoming A Typical Twitter Pitchfork Mob.</p>
<p>I&#8217;m not going to sidetrack and deal with why many reactions were inaccurate and simply say that PLoS should never have used the term &#8216;Retraction&#8217;</p>
<p><a href="http://memegenerator.net/instance/27373021"><img class="alignnone" title="Obligatory Meme" src="http://cdn.memegenerator.net/instances/400x/27373021.jpg" alt=" &quot;Retraction? You keep using that word, I do not think it means what you think it means&quot;" width="400" height="345" /></a></p>
<p>A retraction is seen as a complete rejection of all the methods, data and conclusions in a paper, potentially due to malicious intent by the author. I do not think the consensus view is that a retraction is applicable in this case: &#8220;[a] paper’s major conclusions are shown to be wrong, we [PLoS] will retract the paper.&#8221; The aforementioned editorial even admits that the term is problematic: &#8220;There is much misunderstanding about retractions.&#8221; The English dictionary is a register of use as <a href="http://public.oed.com/history-of-the-oed/">the English language never stops evolving</a>. If  the majority of readers understand a term in a certain way (as a heinous or shameful thing in this case) then <em>that</em> is its meaning.</p>
<p>I don&#8217;t want to defend them further as it will get conflated with me defending the plan they put out (which I do not agree with.) Let me reiterate the important outcome here:</p>
<p><strong>PLoS are willing to try unconventional things to improve the way we do science.</strong></p>
<p>Criticising them inaccurately (&#8220;destroying the historical record&#8221; based arguments) or stating that it is wrong because it is &#8220;not how we do things<em>&#8220;</em> are not helpful.</p>
<p>This is a <strong>perfect</strong> time to suggest ways in which the internet and online publishing might help or improve the way we do science. Let&#8217;s not discourage them but help them &#8211; tell them why this won&#8217;t work, but do so constructively. There is a large body of work already out there about ways to improve scientific discourse &#8211; let&#8217;s point it out to them.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/benosteen.wordpress.com/427/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/benosteen.wordpress.com/427/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=427&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://benosteen.wordpress.com/2012/09/26/retract-all-the-things/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ecd5ffb05416817fdeb1fbf9322ee887?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">benosteen</media:title>
		</media:content>

		<media:content url="http://cdn.memegenerator.net/instances/400x/27373021.jpg" medium="image">
			<media:title type="html">Obligatory Meme</media:title>
		</media:content>
	</item>
		<item>
		<title>CBM 1000 thermal printer hack</title>
		<link>http://benosteen.wordpress.com/2012/08/14/cbm-1000-thermal-printer-hack/</link>
		<comments>http://benosteen.wordpress.com/2012/08/14/cbm-1000-thermal-printer-hack/#comments</comments>
		<pubDate>Tue, 14 Aug 2012 11:26:17 +0000</pubDate>
		<dc:creator>benosteen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[max]]></category>
		<category><![CDATA[microprinter]]></category>
		<category><![CDATA[serial]]></category>

		<guid isPermaLink="false">http://benosteen.wordpress.com/?p=423</guid>
		<description><![CDATA[(Rescuing this page from the spam-ridden pbworks Microprinter wiki) Notes and settings I used to get this printer to work and accept input. The main problem with this printer is the low baud rate (9600) for the connection. This is fine for text, but when you are pushing bytes down the line to print images, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=423&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><strong>(Rescuing this page from the spam-ridden pbworks Microprinter wiki)</strong></p>
<p>Notes and settings I used to get this printer to work and accept input. The main problem with this printer is the low baud rate (9600) for the connection. This is fine for text, but when you are pushing bytes down the line to print images, it is painfully slow.</p>
<p>Datasheet &#8211; <a href="http://www.goodson.com.au/download/manual/cbm/user/CBM1000%20User%20Manual.pdf">get it here</a></p>
<p><a href="http://en.wikibooks.org/wiki/Serial_Programming/RS-232_Connections">Wikibooks page on the RS 232 connection</a> (contains details on the pinout of the 25 pin serial connector, as well as details of how to short circuit certain connectors)</p>
<p><strong>Settings</strong>: (YMMV)</p>
<p>Dip switch settings (1 &#8211; on, 0 &#8211; off)</p>
<p>DS1 &#8211; 10110011</p>
<p>DS2 &#8211; 0000000000</p>
<p>DS3 &#8211; 0000</p>
<p>DS4 &#8211; 0100</p>
<p>Which leads to the following diagnostic: (Hold down the feed button as you turn on the printer to get a printout containing the diagnostics)</p>
<p>58mm paper &#8211; (<strong>important</strong> &#8211; if you are using 80mm wide paper instead, you need to flip DS1, switch 3 to OFF!)</p>
<p>Baud rate: 9600 bps</p>
<p>Data bit: 8 bit</p>
<p>Parity: None</p>
<p>Handshake: DTR/DSR</p>
<p>Buffer size: 4k</p>
<p><strong>Pinout wiring</strong> (using a MAX232N chip to interface with an arduino &#8211; pins refer to printer serial pins unless otherwise mentioned)</p>
<p>(See the serial page linked to above for a description of how the pinout is numbered)</p>
<p>Pins 4 &amp; 5 on the printer (RTS&amp;CTS) were simply connected together</p>
<p>Pins 8 &amp; 20 (DCD &amp; DCR) were also connected together (even though the datasheet suggests 8 isn&#8217;t used)</p>
<p>Pin 7 was connected to ground</p>
<p>Pin 2 (TX) was connected directly to pin 8 on the MAX232 N (R2in)</p>
<p>Pin 3 (RX) was connected directly to pin 7 on the MAX232 N (T2out)</p>
<p>Used the following circuit: (MAX232IN chip with 1µF electrolytic capacitors)</p>
<p><a href="http://benosteen.files.wordpress.com/2012/08/max232.png"><img class="alignnone size-full wp-image-424" title="MAX232" src="http://benosteen.files.wordpress.com/2012/08/max232.png?w=594&#038;h=363" alt="" width="594" height="363" /></a></p>
<p><strong>Arduino connections:</strong></p>
<p><a href="http://github.com/rooreynolds/microprinter/">Roo Reynolds&#8217;s arduino sketch from github</a> &#8211; this .pde file was able to be used unchanged to control the printer.</p>
<p>The rxPin of the arduino was connected to pin 9 on the MAX232N chip. The arduino txPin was connected to pin 10 on the MAX232N.</p>
<p>[Weirdly, I found that the circuit and connection worked both at 5v and at 3.3v, both as supplied by the arduino.]</p>
<p>Hopefully this should help people get started. Feel free to rejig and add to this page for others.</p>
<p><a href="http://github.com/benosteen/microprinter">Python code to control the microprinter and also to print images to it &#8211; (requires python&#8217;s PIL)</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/benosteen.wordpress.com/423/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/benosteen.wordpress.com/423/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=423&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://benosteen.wordpress.com/2012/08/14/cbm-1000-thermal-printer-hack/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ecd5ffb05416817fdeb1fbf9322ee887?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">benosteen</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/08/max232.png" medium="image">
			<media:title type="html">MAX232</media:title>
		</media:content>
	</item>
		<item>
		<title>RaspberryPi birdfeeder webcam</title>
		<link>http://benosteen.wordpress.com/2012/05/31/raspberrypi-birdfeeder-webcam/</link>
		<comments>http://benosteen.wordpress.com/2012/05/31/raspberrypi-birdfeeder-webcam/#comments</comments>
		<pubDate>Thu, 31 May 2012 11:59:47 +0000</pubDate>
		<dc:creator>benosteen</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[idea]]></category>
		<category><![CDATA[play]]></category>
		<category><![CDATA[#raspberrypi]]></category>
		<category><![CDATA[#raspi]]></category>
		<category><![CDATA[accelerometer]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[usb cam]]></category>

		<guid isPermaLink="false">http://benosteen.wordpress.com/?p=400</guid>
		<description><![CDATA[This isn&#8217;t so much a Howto (as other people have already written that up very nicely) but a post on what I am using one of my Pi&#8217;s for. The first gotcha is that for some unknown reason, the default, recommended, reference debian image is built without support for USB webcams&#8230; Nuts, but there you [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=400&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/ben_on_the_move/7307645672/in/photostream"><img alt="" src="http://farm8.staticflickr.com/7076/7307645672_cf288a5870.jpg" class="alignnone" width="318" height="500" /></a></p>
<p>This isn&#8217;t so much a Howto (as <a href="http://jeremyblythe.blogspot.co.uk/2012/05/raspberry-pi-webcam.html">other people have already written that up very nicely</a>) but a post on what I am using one of my Pi&#8217;s for.</p>
<p>The first gotcha is that for some unknown reason, the default, recommended, reference debian image is built without support for USB webcams&#8230; Nuts, but there you have it. [UPDATE - the latest, tippety-top kernel does now have camera support - be sure to update your debian image to the latest version from the github repository]</p>
<p>Arch linux is built with a more sensible set of defaults and works out of the box. I pushed the arch image onto a fresh SD, did a swap, ssh&#8217;d in and set up a simple ffmpeg webcam server, very similar too the guide I linked to above, but I was only interested in getting an asf stream out.</p>
<p>It means that I can keep an eye on my birdfeeder very simply <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>My next step is to make a kernel with USB cam support and bootc&#8217;s <a href="http://www.bootc.net/archives/2012/05/19/i2c-and-the-raspberry-pi/">i2c/SPI driver</a> support in so I can use an accelerometer to log comings and goings to the feeder <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://benosteen.files.wordpress.com/2012/05/cam.png"><img src="http://benosteen.files.wordpress.com/2012/05/cam.png?w=594&#038;h=512" alt="" title="cam" width="594" height="512" class="alignnone size-full wp-image-401" /></a></p>
<p>UPDATE<br />
======</p>
<p>I have connected my D90 camera to the Pi as well, via one of the GPIO pins.</p>
<p>I used the helpful information and cable pin-out for the shutter release from <a href="http://www.doc-diy.net/photo/remote_pinout/">http://www.doc-diy.net/photo/remote_pinout</a> to work out what to do. </p>
<p><a href="http://benosteen.files.wordpress.com/2012/05/d90_pinout1.jpg"><img src="http://benosteen.files.wordpress.com/2012/05/d90_pinout1.jpg?w=594&#038;h=396" alt="" title="d90_pinout" width="594" height="396" class="alignnone size-full wp-image-406" /></a></p>
<p>I wasn&#8217;t going to pay £20+ for an attachment that I was only going to butcher anyway, so I printed a small insert (x=5.2mm, y=2.8mm z=10mm with a 0.5mm perimeter) to fit in the socket.</p>
<p>Close-up of the insert, showing the notch cut into it. The wire is threaded through the centre and out and the end folded over to pass through the notch &#8211; aiming to connect to the correct pin for the shutter control. A thin layer of tape is wrapped round the outside, to stop the wire end touching the grounded socket case. </p>
<p>Plug it in and see if it will take a photo when this wire is connected to the socket casing!</p>
<p><a href="http://benosteen.files.wordpress.com/2012/05/dsc0038_nub.jpg"><img src="http://benosteen.files.wordpress.com/2012/05/dsc0038_nub.jpg?w=594&#038;h=503" alt="" title="_DSC0038_nub" width="594" height="503" class="alignnone size-full wp-image-408" /></a></p>
<p>Judicious use of tape to hold things in place&#8230;</p>
<p><a href="http://benosteen.files.wordpress.com/2012/05/dsc0039.jpg"><img src="http://benosteen.files.wordpress.com/2012/05/dsc0039.jpg?w=594&#038;h=810" alt="" title="_DSC0039" width="594" height="810" class="alignnone size-full wp-image-409" /></a></p>
<p>Connecting to the Raspberry Pi:</p>
<p>Using the Slice of Pi breakout board, I connected GPIO pin 0 and Gnd to power a relay switch, connecting the shutter wires to the switch itself.</p>
<p><a href="http://benosteen.files.wordpress.com/2012/05/dsc0041.jpg"><img src="http://benosteen.files.wordpress.com/2012/05/dsc0041.jpg?w=594&#038;h=408" alt="" title="_DSC0041" width="594" height="408" class="alignnone size-full wp-image-410" /></a></p>
<p>Then, to fire the shutter, all you have to do is put the GPIO pin to high: (<a href="http://elinux.org/RPi_Low-level_peripherals#Code_examples">other ways to do so shown here</a>)</p>
<pre>
(Set up the GPIO 0 pin for output. (GPIO 0 pin on the header is actually 
GPIO17 in the system. The low-level peripherals wiki page linked to
just above has more info)

[root@alarmpi ~]# echo "17" &gt; /sys/class/gpio/export
[root@alarmpi ~]# echo "out" &gt; /sys/class/gpio/gpio17/direction

(Now to take a picture:)

[root@alarmpi ~]# echo "1" &gt; /sys/class/gpio/gpio17/value 
[root@alarmpi ~]# echo "0" &gt; /sys/class/gpio/gpio17/value 
[root@alarmpi ~]# 

</pre>
<p>And that&#8217;s it really. Next step is to set up a pressure sensor on the feeder and capture pictures of the various visitors <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/benosteen.wordpress.com/400/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/benosteen.wordpress.com/400/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=400&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://benosteen.wordpress.com/2012/05/31/raspberrypi-birdfeeder-webcam/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ecd5ffb05416817fdeb1fbf9322ee887?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">benosteen</media:title>
		</media:content>

		<media:content url="http://farm8.staticflickr.com/7076/7307645672_cf288a5870.jpg" medium="image" />

		<media:content url="http://benosteen.files.wordpress.com/2012/05/cam.png" medium="image">
			<media:title type="html">cam</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/05/d90_pinout1.jpg" medium="image">
			<media:title type="html">d90_pinout</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/05/dsc0038_nub.jpg" medium="image">
			<media:title type="html">_DSC0038_nub</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/05/dsc0039.jpg" medium="image">
			<media:title type="html">_DSC0039</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/05/dsc0041.jpg" medium="image">
			<media:title type="html">_DSC0041</media:title>
		</media:content>
	</item>
		<item>
		<title>GLSL Sandbox on the Raspberry Pi</title>
		<link>http://benosteen.wordpress.com/2012/05/13/glsl-sandbox-on-the-raspberry-pi/</link>
		<comments>http://benosteen.wordpress.com/2012/05/13/glsl-sandbox-on-the-raspberry-pi/#comments</comments>
		<pubDate>Sun, 13 May 2012 14:10:28 +0000</pubDate>
		<dc:creator>benosteen</dc:creator>
				<category><![CDATA[creativity]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[#raspberrypi]]></category>
		<category><![CDATA[#raspi]]></category>
		<category><![CDATA[glsl]]></category>
		<category><![CDATA[opengles]]></category>
		<category><![CDATA[shaders]]></category>

		<guid isPermaLink="false">http://benosteen.wordpress.com/?p=390</guid>
		<description><![CDATA[I hope many of you have seen the excellent and fun WebGL GLSL sandbox at http://glsl.heroku.com/. This live editing of shaders is an excellent learning tool, as it allows you to watch the consequences of any changes you make. I am constructing some simple OpenGL ES scripts as a learning resource for anyone new to it, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=390&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I hope many of you have seen the excellent and fun WebGL GLSL sandbox at <a href="http://glsl.heroku.com/">http://glsl.heroku.com/</a>. This live editing of shaders is an excellent learning tool, as it allows you to watch the consequences of any changes you make.</p>
<p>I am constructing some simple OpenGL ES scripts as a learning resource for anyone new to it, in part as a way to help me learn it too. As part of this, I&#8217;ve written a little script that gives a similar kind of experience, but on the commandline, with a Raspberry Pi. It overlays the render display over the top of the framebuffer window, and reloads the shader any time you save the script.</p>
<p>You can run this from the terminal (as I do in the video later on) or from within LXDE (X11). (You may wish to replace &#8216;nano&#8217; with &#8216;leafpad&#8217; in glsl_sandbox.sh if you are running it in LXDE)</p>
<h3>Prerequisites:</h3>
<p>* Install pyinotify</p>
<pre>$ sudo apt-get install python-pyinotify</pre>
<p>* Get the repository:</p>
<pre>$ wget https://github.com/benosteen/pyopengles/zipball/master -O pyopengles.zip
$ unzip pyopengles.zip
  Inflating benosteen-pyopen....
  ...</pre>
<p><code>cd</code> into the repository and you are ready to go!</p>
<h3>Usage of &#8216;glsl_sandbox.sh&#8217;:</h3>
<p>$ bash glsl_sandbox.sh [NAME_OF_SHADER_FILE]</p>
<p>The repository has a few demo shaders that are known to work included for you to try &#8211; they are copied from the WebGL sandbox site (<a href="http://glsl.heroku.com/" rel="nofollow">http://glsl.heroku.com/</a>)<br />
<a href="http://benosteen.files.wordpress.com/2012/05/basic.png"><img class="size-full wp-image-391 alignnone" title="basic" src="http://benosteen.files.wordpress.com/2012/05/basic.png?w=594" alt=""   /></a><br />
&#8216;basic.glsl&#8217; &#8211; From <a href="http://glsl.heroku.com/e#2423.0">http://glsl.heroku.com/e#2423.0</a></p>
<p><a href="http://benosteen.files.wordpress.com/2012/05/leds.png"><img class="size-full wp-image-392 alignnone" title="leds" src="http://benosteen.files.wordpress.com/2012/05/leds.png?w=594" alt=""   /></a><br />
&#8216;leds.glsl&#8217; &#8211; From <a href="http://glsl.heroku.com/e#2450.0">http://glsl.heroku.com/e#2450.0</a></p>
<p><a href="http://benosteen.files.wordpress.com/2012/05/raymarch.png"><img class="alignnone size-full wp-image-393" title="raymarch" src="http://benosteen.files.wordpress.com/2012/05/raymarch.png?w=594" alt=""   /></a><br />
&#8216;raymarch.glsl&#8217; &#8211; From <a href="http://glsl.heroku.com/e#2171.0">http://glsl.heroku.com/e#2171.0</a></p>
<p>Pass the script any new filename, and it will create a new shader from the template and save it to that location.</p>
<p>This uses the &#8220;nano&#8221; text editor by default, as that is installed on the reference debian image, but if you look in the script, it is not hard to change to your preference <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>(NB Ctrl-O, followed by enter to save the file, and Ctrl-X to quit nano.)</p>
<p>Here is a video of it in action, as it is quite hard to describe in words.</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='594' height='365' src='http://www.youtube.com/embed/rBDgNZCSgyM?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/benosteen.wordpress.com/390/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/benosteen.wordpress.com/390/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=benosteen.wordpress.com&#038;blog=11977096&#038;post=390&#038;subd=benosteen&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://benosteen.wordpress.com/2012/05/13/glsl-sandbox-on-the-raspberry-pi/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/ecd5ffb05416817fdeb1fbf9322ee887?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">benosteen</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/05/basic.png" medium="image">
			<media:title type="html">basic</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/05/leds.png" medium="image">
			<media:title type="html">leds</media:title>
		</media:content>

		<media:content url="http://benosteen.files.wordpress.com/2012/05/raymarch.png" medium="image">
			<media:title type="html">raymarch</media:title>
		</media:content>
	</item>
	</channel>
</rss>
