<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Complex Compulsions</title>
	<atom:link href="http://complexcompulsions.com/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://complexcompulsions.com/wordpress</link>
	<description>Blog and Portfolio of Jeremy Worboys</description>
	<lastBuildDate>Sun, 11 Apr 2010 21:49:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wesley House Players</title>
		<link>http://complexcompulsions.com/wordpress/665/wesley-house-players/</link>
		<comments>http://complexcompulsions.com/wordpress/665/wesley-house-players/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 10:29:10 +0000</pubDate>
		<dc:creator>Jem</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://complexcompulsions.com/wordpress/?p=665</guid>
		<description><![CDATA[Convert existing Wesley House Players website to a dynamic Wordpress driven website.]]></description>
			<content:encoded><![CDATA[<p><strong>The Client:</strong> Wesley House Players</p>
<p><strong>Project Description:</strong> Convert an existing website to a dynamic Wordpress driven website.</p>
<p><a target="_blank" href="http://www.wesleyhouseplayers.org.au">Visit site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://complexcompulsions.com/wordpress/665/wesley-house-players/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Imagesnap From a PHP Script.</title>
		<link>http://complexcompulsions.com/wordpress/633/running-imagesnap-from-a-php-script/</link>
		<comments>http://complexcompulsions.com/wordpress/633/running-imagesnap-from-a-php-script/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 11:07:16 +0000</pubDate>
		<dc:creator>Jem</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://complexcompulsions.com/wordpress/?p=633</guid>
		<description><![CDATA[After a lot of failed research as to why I was unable to use imagesnap from a PHP script, I finally figured out why, and how to get it to work.]]></description>
			<content:encoded><![CDATA[<p>As part of a project I started a month or so ago I wanted to be able to take a photo from the iSight camera in current iMacs from an SSH terminal. To do this I came across <a href="http://iharder.sourceforge.net/current/macosx/imagesnap/">imagesnap</a>.</p>
<p>This satisfied my problem for a little while, but before long I wanted more functionality. This led me to creating a PHP script to call imagesnap and thus give me a web interface to the iSight camera. It all seemed to be working, my form was submitting and there were no PHP errors being thrown, but there was no file being created. I checked permissions, everything seemed fine. I SSHed in and ran imagesnap manually, everything worked fine. I googled for days but couldn&#8217;t find anything. I even scoured the source code of imagesnap to try to get some insight but to no avail.</p>
<p>Eventually I ran my PHP script from an SSH terminal to try to produce some sort of error and to my surprise everything worked fine, but back in the browser &#8211; nothing.</p>
<p>The next piece of the puzzle came whilst playing around imagesnap itself, apparently when it is executed as anyone but a regular user it does not find any devices. This meant when apache was calling the PHP who in turn was calling imagesnap, it was getting executed as the apache user and couldn&#8217;t find any devices to take the photo with. The fix was call the imagesnap as a regular user. The easiest way to do this is to set its owner to be a regular user and then set permissions to be set user ID on execution using chmod.</p>
<p><code>chown <em>username</em> imagesnap<br />
chmod 4755 imagesnap</code></p>
<p>Hopefully this will be useful for anyone else trying something similar.</p>
<p>For those interested I still have a few things to fix up before posting this app.</p>
]]></content:encoded>
			<wfw:commentRss>http://complexcompulsions.com/wordpress/633/running-imagesnap-from-a-php-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handbrake360</title>
		<link>http://complexcompulsions.com/wordpress/601/handbrake360/</link>
		<comments>http://complexcompulsions.com/wordpress/601/handbrake360/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 09:05:34 +0000</pubDate>
		<dc:creator>Jem</dc:creator>
				<category><![CDATA[Applications]]></category>

		<guid isPermaLink="false">http://complexcompulsions.com/wordpress/?p=601</guid>
		<description><![CDATA[A python script written to simplify ripping DVDs for playback on an Xbox 360.]]></description>
			<content:encoded><![CDATA[<h2>A python script written to simplify ripping DVDs for playback on an Xbox 360.</h2>
<p><strong class="attention">This script currently only works on Linux and OS X with <a href="http://handbrake.fr/downloads.php">HandbrakeCLI</a> somewhere in the <a href="http://en.wikipedia.org/wiki/Path_(variable)">PATH</a></strong></p>
<h2>Known Issues</h2>
<ul>
<li>Issues ending before rip is complete. <em>Fixed, but very poorly.</em></li>
</ul>
<h2>Todo</h2>
<ul>
<li>Select titles as a command line argument.</li>
<li>Impliment naming from a file.</li>
<li>Set cache directory as a command line argument.</li>
<li>Windows support.</li>
<li>Optimization.</li>
</ul>
<h2>Changelog</h2>
<p><strong>v1.1.3</strong ></p>
<ul>
<li>Fixed broken program cause by last update.</li>
</ul>
<p><strong>v1.1.2</strong ></p>
<ul>
<li>Fixed issue with title caching.</li>
<li>Re-enabled title caching and removed all warnings.</li>
<li>Fixed an error where no DVD would cause an infinite loop.</li>
</ul>
<p><strong>v1.1.1</strong></p>
<ul>
<li>Changed display of some prompts.</li>
<li>Disabled title caching as it will fail when ripping from disks.</li>
</ul>
<p><strong>v1.1.0</strong></p>
<ul>
<li>Now caches imdb lookups.</li>
<li>Cache level argument added.</li>
<li>Moved scanning for titles to it&#8217;s own function.</li>
</ul>
<p><strong>v1.0.1</strong></p>
<ul>
<li>Minor spelling/wording/bug fixes.</li>
<li>Fixed issue where in titles pulled from imdb did not decode entities.</li>
</ul>
<p><strong>v1.0.0</strong></li>
<ul>
<li>Implimented the imdb naming system.</li>
<li>Better argument parsing.</li>
<li>Further argument control.</li>
<li>Improved documentation.</li>
</ul>
<p><strong>v0.1.0</strong></p>
<ul>
<li>Basic application and functionality.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://complexcompulsions.com/wordpress/601/handbrake360/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Funky Feet</title>
		<link>http://complexcompulsions.com/wordpress/577/funky-feet/</link>
		<comments>http://complexcompulsions.com/wordpress/577/funky-feet/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 10:49:26 +0000</pubDate>
		<dc:creator>Jem</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://complexcompulsions.com/wordpress/?p=577</guid>
		<description><![CDATA[Static website for Funky Feet.]]></description>
			<content:encoded><![CDATA[<p><strong>The Client:</strong> Funky Feet</p>
<p><strong>Project Description:</strong> To design small and effective website to advertise from.</p>
<p><a target="_blank" href="http://www.funkyfeet.com.au">Visit site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://complexcompulsions.com/wordpress/577/funky-feet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pygame Forms</title>
		<link>http://complexcompulsions.com/wordpress/409/pygame-forms/</link>
		<comments>http://complexcompulsions.com/wordpress/409/pygame-forms/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 13:23:12 +0000</pubDate>
		<dc:creator>Jem</dc:creator>
				<category><![CDATA[Applications]]></category>

		<guid isPermaLink="false">http://themekrones.com/portofolio/iamilkay/picco/wp/?p=409</guid>
		<description><![CDATA[A small python module I hacked together whilst working on a school assignment.]]></description>
			<content:encoded><![CDATA[<h2>A small python module I hacked together whilst working on a school assignment.</h2>
<p><strong class="attention">I am planning a full rewrite with a huge amount of bug fixes and many new features.</strong></p>
<p><img src="http://complexcompulsions.com/wordpress/wp-content/uploads/2009/11/pyforms_sc.png" alt="Screenshot of Pygame Forms in action" title="Screenshot of Pygame Forms in action" width="416" height="338" class="thumbnail alignnone size-full wp-image-534" /></p>
<p>Chances are this is still very buggy but I am happy to work on any issues you find. The best way to get me to work on them is to leave a comment detailing the problem (ie. the error and what you did to cause it).</p>
<p>Supports:
<ul>
<li>Frames (for grouping items)</li>
<li>Static Text</li>
<li>Text input box (with case, cursor and backspace)</li>
<li>Buttons</li>
<li>Drop-down box</li>
<li>Absolute or relative positioning&nbsp;</li>
<li>Basic object styles</li>
<li>Simple syntax</li>
</ul>
<p>I hope everyone finds use in it and I&#8217;ll try to get some decent docs done ASAP.</p>
]]></content:encoded>
			<wfw:commentRss>http://complexcompulsions.com/wordpress/409/pygame-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bush Safari</title>
		<link>http://complexcompulsions.com/wordpress/322/bush-safari/</link>
		<comments>http://complexcompulsions.com/wordpress/322/bush-safari/#comments</comments>
		<pubDate>Thu, 28 May 2009 02:45:23 +0000</pubDate>
		<dc:creator>Jem</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://themepreview.sixonefivedesign.com/Bluelight-Wordpress/?p=322</guid>
		<description><![CDATA[WordPress based website for the Forensic Services Police Bush Safari.]]></description>
			<content:encoded><![CDATA[<p><strong>The Client:</strong> Forensic Services Police Bush Safari</p>
<p><strong>Project Description:</strong> To design, code and implement a WordPress based website.</p>
<p><a target="_blank" href="http://www.bushsafari.org">Visit site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://complexcompulsions.com/wordpress/322/bush-safari/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
