<?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"
	>

<channel>
	<title>Trouble With Dreams &#187; silly</title>
	<atom:link href="http://troublewithdreams.com/category/silly/feed/" rel="self" type="application/rss+xml" />
	<link>http://troublewithdreams.com</link>
	<description></description>
	<pubDate>Mon, 05 Jan 2009 14:05:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Life in the Stencil Buffer</title>
		<link>http://troublewithdreams.com/2008/11/25/life-in-the-stencil-buffer/</link>
		<comments>http://troublewithdreams.com/2008/11/25/life-in-the-stencil-buffer/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 13:46:29 +0000</pubDate>
		<dc:creator>sam</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[silly]]></category>

		<guid isPermaLink="false">http://troublewithdreams.com/?p=215</guid>
		<description><![CDATA[Stumbling through a load of OpenGL documentation I came across a demonstration of Conway&#8217;s Game of Life using the stencil buffer, which is simultaneously awesome and horrible:
Life in the Stencil Buffer
One way to create this game using OpenGL is to use a multipass algorithm. Keep the data in the color buffer, one pixel for each [...]]]></description>
			<content:encoded><![CDATA[<p>Stumbling through a load of OpenGL documentation I came across a demonstration of Conway&#8217;s <a href="http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life">Game of Life</a> using the stencil buffer, which is simultaneously awesome and horrible:</p>
<blockquote><h3>Life in the Stencil Buffer</h3>
<p>One way to create this game using OpenGL is to use a multipass algorithm. Keep the data in the color buffer, one pixel for each grid point. Assume that black (all zeros) is the background color, and the color of a live pixel is nonzero. Initialize by clearing the depth and stencil buffers to zero, set the depth-buffer writemask to zero, and set the depth comparison function so that it passes on not-equal. To iterate, read the image off the screen, enable drawing into the depth buffer, and set the stencil function so that it increments whenever a depth comparison succeeds but leaves the stencil buffer unchanged otherwise. Disable drawing into the color buffer.</p>
<p>Next, draw the image eight times, offset one pixel in each vertical, horizontal, and diagonal direction. When you&#8217;re done, the stencil buffer contains a count of the number of live neighbors for each pixel. Enable drawing to the color buffer, set the color to the color for live cells, and set the stencil function to draw only if the value in the stencil buffer is 3 (three live neighbors). In addition, if this drawing occurs, decrement the value in the stencil buffer. Then draw a rectangle covering the image; this paints each cell that has exactly three live neighbors with the “alive” color.</p>
<p>At this point, the stencil buffers contain 0, 1, 2, 4, 5, 6, 7, 8, and the values under the 2&#8217;s are correct. The values under 0, 1, 4, 5, 6, 7, and 8 must be cleared to the “dead” color. Set the stencil function to draw whenever the value is not 2, and to zero the stencil values in all cases. Then draw a large polygon of the “dead” color across the entire image. You&#8217;re done.</p>
</blockquote>
<p><a href="http://www710.univ-lyon1.fr/~jciehl/Public/OpenGL_PG/ch15.html#id5553768">http://www710.univ-lyon1.fr/~jciehl/Public/OpenGL_PG/ch15.html#id5553768</a></p>
]]></content:encoded>
			<wfw:commentRss>http://troublewithdreams.com/2008/11/25/life-in-the-stencil-buffer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A Few Things</title>
		<link>http://troublewithdreams.com/2007/09/20/a-few-things/</link>
		<comments>http://troublewithdreams.com/2007/09/20/a-few-things/#comments</comments>
		<pubDate>Thu, 20 Sep 2007 22:05:51 +0000</pubDate>
		<dc:creator>sam</dc:creator>
		
		<category><![CDATA[edinburgh]]></category>

		<category><![CDATA[inthenews]]></category>

		<category><![CDATA[silly]]></category>

		<guid isPermaLink="false">http://troublewithdreams.com/2007/09/20/a-few-things/</guid>
		<description><![CDATA[Third year 0_o.  I&#8217;ve chosen Operating Systems, Computer Design, an Introduction to Vision &#38; Robots, Logic Programming, Agent Based Systems, Security and Language Semantics and Implementation (the best of a bad bunch, no way I&#8217;m doing ADS eh), along with a course in professional issues, an individual practical and a group project.  We [...]]]></description>
			<content:encoded><![CDATA[<p>Third year 0_o.  I&#8217;ve chosen Operating Systems, Computer Design, an Introduction to Vision &amp; Robots, Logic Programming, Agent Based Systems, Security and Language Semantics and Implementation (the best of a bad bunch, no way I&#8217;m doing ADS eh), along with a course in professional issues, an individual practical and a group project.  We were introduced with phrases like &#8216;full time job&#8217; and &#8216;harder than fourth year&#8217; and even &#8216;hardest work outside medicine&#8217; and I&#8217;m sure everybody gets earfuls of that at the beginning but I suspect they&#8217;re actually telling the truth, so I may have to work harrrrrd.</p>
<p>New flat is coming along, I need lots of posters to fill the walls - I only have five at the moment and three are the same :\  We have hot water, so we can shower, and sharp knives, so I don&#8217;t have to use a junior hacksaw to chop chicken breasts into small pieces.  And internet, so I can post this, scrobble and restart downloading from eMusic.  Though it&#8217;s still a flat, not a home.</p>
<p>And finally: <a href="http://news.bbc.co.uk/1/hi/england/north_yorkshire/7004943.stm">In the news today</a>.</p>
<blockquote><p>&#8220;Very unfortunately Mrs Coles was locked into our public toilets overnight which was extremely unfortunate.<br />&#8220;We&#8217;re very sorry that this happened.&#8221; </p></blockquote>
<p>But just a bunch of flowers in apology?</p>
]]></content:encoded>
			<wfw:commentRss>http://troublewithdreams.com/2007/09/20/a-few-things/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Horses and KFC and Menstrual Cups</title>
		<link>http://troublewithdreams.com/2007/08/20/horses-and-kfc-and-menstrual-cups/</link>
		<comments>http://troublewithdreams.com/2007/08/20/horses-and-kfc-and-menstrual-cups/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 01:57:05 +0000</pubDate>
		<dc:creator>sam</dc:creator>
		
		<category><![CDATA[silly]]></category>

		<guid isPermaLink="false">http://troublewithdreams.com/2007/08/20/horses-and-kfc-and-menstrual-cups/</guid>
		<description><![CDATA[Edinburgh Uni hosts an i love kfc and horses also mailing list.  I&#8217;ve been looking for this for years.
And: Why is GMail recommending me menstrual cups?
]]></description>
			<content:encoded><![CDATA[<p>Edinburgh Uni hosts an <a href="http://lists.tardis.ed.ac.uk/cgi-bin/mailman/listinfo/ilovekfcandhorsesalso">i love kfc and horses also</a> mailing list.  I&#8217;ve been looking for this for years.</p>
<p>And: Why is GMail recommending me <a href="http://www.keeper.com/?gclid=CPeOn9z7go4CFQ0eEgoddkfJOw">menstrual cups</a>?</p>
]]></content:encoded>
			<wfw:commentRss>http://troublewithdreams.com/2007/08/20/horses-and-kfc-and-menstrual-cups/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Serving tea whilst bending backwards</title>
		<link>http://troublewithdreams.com/2007/07/27/serving-tea-whilst-bending-backwards/</link>
		<comments>http://troublewithdreams.com/2007/07/27/serving-tea-whilst-bending-backwards/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 23:54:37 +0000</pubDate>
		<dc:creator>sam</dc:creator>
		
		<category><![CDATA[silly]]></category>

		<guid isPermaLink="false">http://troublewithdreams.com/2007/07/27/serving-tea-whilst-bending-backwards/</guid>
		<description><![CDATA[The BBC is claiming these twins set a world record for &#8216;accurately serving tea whilst bending backwards&#8217;.  But what kind of teapot has a spout like that?

Righto.
]]></description>
			<content:encoded><![CDATA[<p>The BBC is claiming these twins set a world record for &#8216;accurately serving tea whilst bending backwards&#8217;.  But what kind of teapot has a spout like that?</p>
<p><img src="http://newsimg.bbc.co.uk/media/images/44022000/jpg/_44022299_tea_afp416b.jpg" /></p>
<p>Righto.</p>
]]></content:encoded>
			<wfw:commentRss>http://troublewithdreams.com/2007/07/27/serving-tea-whilst-bending-backwards/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Goatse Speakers</title>
		<link>http://troublewithdreams.com/2007/07/12/goatse-speakers/</link>
		<comments>http://troublewithdreams.com/2007/07/12/goatse-speakers/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 10:32:17 +0000</pubDate>
		<dc:creator>sam</dc:creator>
		
		<category><![CDATA[internet]]></category>

		<category><![CDATA[silly]]></category>

		<guid isPermaLink="false">http://troublewithdreams.com/2007/07/12/goatse-speakers/</guid>
		<description><![CDATA[
Don&#8217;t try to tell me that&#8217;s unintentional.
]]></description>
			<content:encoded><![CDATA[<p><a href='http://troublewithdreams.com/wordpress/wp-content/uploads/2007/07/goatse-speakers.JPG' title='Goatse Speakers' rel='lightbox'><img src='http://troublewithdreams.com/wordpress/wp-content/uploads/2007/07/goatse-speakers.thumbnail.JPG' alt='goatse-speakers.JPG' /></a></p>
<p>Don&#8217;t try to tell me that&#8217;s unintentional.</p>
]]></content:encoded>
			<wfw:commentRss>http://troublewithdreams.com/2007/07/12/goatse-speakers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>(Almost) Eurovision time again</title>
		<link>http://troublewithdreams.com/2007/05/09/almost-eurovision-time-again/</link>
		<comments>http://troublewithdreams.com/2007/05/09/almost-eurovision-time-again/#comments</comments>
		<pubDate>Wed, 09 May 2007 14:05:01 +0000</pubDate>
		<dc:creator>sam</dc:creator>
		
		<category><![CDATA[europe]]></category>

		<category><![CDATA[music]]></category>

		<category><![CDATA[silly]]></category>

		<guid isPermaLink="false">http://troublewithdreams.com/2007/05/09/almost-eurovision-time-again/</guid>
		<description><![CDATA[Great selection of lyrics at the BBC:

 Oh, don&#8217;t call me funny bunny
I&#8217;ll blow your money, money
I&#8217;ll get you to my bad ass spinning for you.
Gotta tease you nasty guy
So take it don&#8217;t be shy
Put your cherry on my cake
And taste my cherry pie.

Sounds hot?
This is the Ukrainian entrant:

Righto.
PS. Seems to have become a BBC [...]]]></description>
			<content:encoded><![CDATA[<p>Great selection of lyrics <a href="http://news.bbc.co.uk/1/hi/entertainment/6624377.stm">at the BBC</a>:</p>
<blockquote><p>
 Oh, don&#8217;t call me funny bunny<br />
I&#8217;ll blow your money, money<br />
I&#8217;ll get you to my bad ass spinning for you.</p>
<p>Gotta tease you nasty guy<br />
So take it don&#8217;t be shy<br />
Put your cherry on my cake<br />
And taste my cherry pie.
</p></blockquote>
<p>Sounds hot?</p>
<p>This is the Ukrainian entrant:</p>
<p><img src='http://newsimg.bbc.co.uk/media/images/42885000/jpg/_42885455_ukraine_416.jpg' alt='ukraine.jpg' /></p>
<p>Righto.</p>
<p>PS. Seems to have become a BBC themed post - <a href="http://www.bbc.co.uk/6music/events/lyrical/top10.shtml">more terrible lyrics</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://troublewithdreams.com/2007/05/09/almost-eurovision-time-again/feed/</wfw:commentRss>
		</item>
		<item>
		<title>149 Own Goals</title>
		<link>http://troublewithdreams.com/2007/04/12/149-own-goals/</link>
		<comments>http://troublewithdreams.com/2007/04/12/149-own-goals/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 00:06:08 +0000</pubDate>
		<dc:creator>sam</dc:creator>
		
		<category><![CDATA[football]]></category>

		<category><![CDATA[inthenews]]></category>

		<category><![CDATA[silly]]></category>

		<guid isPermaLink="false">http://troublewithdreams.com/2007/04/12/149-own-goals/</guid>
		<description><![CDATA[
Not posted any of these articles in quite a while, so here&#8217;s my favourite of all time.  It&#8217;s from the Times some time in 2002.  The manager&#8217;s decision just makes no sense whatsoever!
A worthy world record to hold.  Apparently their punishment was quite harsh.
]]></description>
			<content:encoded><![CDATA[<p><a href='http://troublewithdreams.com/wordpress/wp-content/uploads/2007/04/149nil.jpg' title='149nil.jpg' rel="lightbox"><img src='http://troublewithdreams.com/wordpress/wp-content/uploads/2007/04/149nil.thumbnail.jpg' alt='149nil.jpg' class="alignleft"/></a></p>
<p>Not posted any of these articles in quite a while, so here&#8217;s my favourite of all time.  It&#8217;s from the Times some time in 2002.  The manager&#8217;s decision just makes no sense whatsoever!</p>
<p>A worthy world record to hold.  Apparently their punishment was <a href="http://football.guardian.co.uk/News_Story/0,1563,850776,00.html">quite harsh</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://troublewithdreams.com/2007/04/12/149-own-goals/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Masada: Jazz brilliance</title>
		<link>http://troublewithdreams.com/2007/04/11/masada-jazz-brilliance/</link>
		<comments>http://troublewithdreams.com/2007/04/11/masada-jazz-brilliance/#comments</comments>
		<pubDate>Wed, 11 Apr 2007 01:18:49 +0000</pubDate>
		<dc:creator>sam</dc:creator>
		
		<category><![CDATA[jazz]]></category>

		<category><![CDATA[masada]]></category>

		<category><![CDATA[music]]></category>

		<category><![CDATA[silly]]></category>

		<guid isPermaLink="false">http://troublewithdreams.com/2007/04/11/masada-jazz-brilliance/</guid>
		<description><![CDATA[I was going to write something about friends in Portsmouth and Gloucester and how my last week was awesome, but then I ran most of the way home from the pub and my chest decided to hate me.  THEN I turned on Masada&#8217;s Live in Sevilla and was completely caught out by the utter [...]]]></description>
			<content:encoded><![CDATA[<p>I was going to write something about friends in Portsmouth and Gloucester and how my last week was awesome, but then I ran most of the way home from the pub and my chest decided to hate me.  THEN I turned on Masada&#8217;s <i>Live in Sevilla</i> and was completely caught out by the utter brilliance of the music and got completely excited.</p>
<p>The quality of support and jousting and play between John Zorn on sax and Dave Douglas on trumpet is entirely ridiculous and each member of the quartet seems to know <i>exactly</i> what the others might do, any given moment, even at 90mph.  Zorn&#8217;s solos squeak and squeal and wail everywhere, always getting ever more intense, never once faltering.  Douglas&#8217; counterpoints to Zorn work brilliantly.  The rhythms supporting are tense and pumping with energy.  It&#8217;s how jazz should be.  I&#8217;d really love to see them live - it seems almost bizarre I&#8217;ve never heard of the group before.</p>
<p><i>Ne&#8217;eman</i> and <i>Nashon</i> are particular highlights, scarily fast and complex.</p>
<p>I have this down under silly because it&#8217;s so, SO fucking good it&#8217;s unreal.</p>
]]></content:encoded>
			<wfw:commentRss>http://troublewithdreams.com/2007/04/11/masada-jazz-brilliance/feed/</wfw:commentRss>
		</item>
		<item>
		<title>City Farming and Italian Doorbells</title>
		<link>http://troublewithdreams.com/2007/03/13/city-farming/</link>
		<comments>http://troublewithdreams.com/2007/03/13/city-farming/#comments</comments>
		<pubDate>Tue, 13 Mar 2007 14:21:30 +0000</pubDate>
		<dc:creator>sam</dc:creator>
		
		<category><![CDATA[europe]]></category>

		<category><![CDATA[internet]]></category>

		<category><![CDATA[moments]]></category>

		<category><![CDATA[quotes]]></category>

		<category><![CDATA[silly]]></category>

		<category><![CDATA[stories]]></category>

		<guid isPermaLink="false">http://troublewithdreams.com/2007/03/13/city-farming/</guid>
		<description><![CDATA[This story is really quite odd, and how it ever came to be passed as legislation makes no sense whatsoever..
Only the EU could have created a situation where people who are not farmers are paid not to farm.
The stories accompanying the pictures here are wonderful .. this one especially.  The man with a wink [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.timesonline.co.uk/tol/news/world/europe/article1506042.ece">This story</a> is really quite odd, and how it ever came to be passed as legislation makes no sense whatsoever..</p>
<blockquote><p>Only the EU could have created a situation where people who are not farmers are paid not to farm.</p></blockquote>
<p>The stories accompanying the pictures <a href="http://www.flickr.com/photos/andrewlos/tags/flicktion/">here</a> are wonderful .. <a href="http://www.flickr.com/photos/andrewlos/12350806/">this one</a> especially.  The man with a wink and a small coin is a strange recurrence and not one whose significance (if there&#8217;s any at all) I can decipher.  Someone else&#8217;s moments.</p>
]]></content:encoded>
			<wfw:commentRss>http://troublewithdreams.com/2007/03/13/city-farming/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Footballers</title>
		<link>http://troublewithdreams.com/2007/02/25/footballers/</link>
		<comments>http://troublewithdreams.com/2007/02/25/footballers/#comments</comments>
		<pubDate>Sun, 25 Feb 2007 17:17:43 +0000</pubDate>
		<dc:creator>sam</dc:creator>
		
		<category><![CDATA[football]]></category>

		<category><![CDATA[quotes]]></category>

		<category><![CDATA[silly]]></category>

		<guid isPermaLink="false">http://troublewithdreams.com/2007/02/25/footballers/</guid>
		<description><![CDATA[&#8216;We got the three points &#8230; It was a no-win situation, but we got the win.&#8217;
Wayne Bridge, of Chelsea, after winning the Carling Cup.
0_o
]]></description>
			<content:encoded><![CDATA[<p>&#8216;We got the three points &#8230; It was a no-win situation, but we got the win.&#8217;</p>
<p>Wayne Bridge, of Chelsea, after winning the Carling Cup.</p>
<p>0_o</p>
]]></content:encoded>
			<wfw:commentRss>http://troublewithdreams.com/2007/02/25/footballers/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
