<?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>Caramboo Dot Com &#187; Geek</title>
	<atom:link href="http://caramboo.com/category/geek/feed/" rel="self" type="application/rss+xml" />
	<link>http://caramboo.com</link>
	<description>The Web Log  (b-log) of Dave Naylor</description>
	<lastBuildDate>Mon, 06 Sep 2010 10:20:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>New Look</title>
		<link>http://caramboo.com/2010/08/new-look-2/</link>
		<comments>http://caramboo.com/2010/08/new-look-2/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 07:53:27 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://caramboo.com/?p=44942</guid>
		<description><![CDATA[<p>I decided to do a bit of work on a new look for this site on Monday.  I began just messing about in Firefox using Firebug and I was attempting to see how easy it would be to mimic the look and feel of a few sites I&#8217;ve seen recently.  It wasn&#8217;t long before I&#8217;d got the basis of a new theme installed on my local copy of WordPress and the natural progression would be to test out on a live site, like here.  </p>
<p><a href="http://caramboo.com/2010/08/new-look-2/" class="more-link">Read more on New Look&#8230;</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I decided to do a bit of work on a new look for this site on Monday.  I began just messing about in Firefox using Firebug and I was attempting to see how easy it would be to mimic the look and feel of a few sites I&#8217;ve seen recently.  It wasn&#8217;t long before I&#8217;d got the basis of a new theme installed on my local copy of WordPress and the natural progression would be to test out on a live site, like here.  </p>
<p>I&#8217;ve decided to let the live site run the theme even though it&#8217;s not really 100% ready.  it&#8217;s a little work-in-progress but it&#8217;s nearly there.  A few things need sorting out and a few of the pages are a bit icky, if you can find them that is.  The site navigation is another thing to sort out. </p>
<p>I&#8217;ve called the theme <em>Fitzy</em> and it&#8217;s a child theme of <a href="http://themeshaper.com">Thematic</a>.  Once I get it working fully to my liking I may make it a download on here if anyone wants it. </p>
<p>We&#8217;ll see.</p>
]]></content:encoded>
			<wfw:commentRss>http://caramboo.com/2010/08/new-look-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress, The GPL and Me</title>
		<link>http://caramboo.com/2010/07/wordpress-the-gpl-and-me/</link>
		<comments>http://caramboo.com/2010/07/wordpress-the-gpl-and-me/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 15:34:54 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[gpl]]></category>

		<guid isPermaLink="false">http://caramboo.com/?p=26725</guid>
		<description><![CDATA[<p class="announce">
I&#8217;ve woken up today (23rd Jul &#8217;10) to find that Chris Pearson has made Thesis split licence.  The PHP is GPL, the css, javascript and images aren&#8217;t.  It&#8217;s a good thing.  Details over at <a href="http://mashable.com/2010/07/22/thesis-relents/">Mashable</a>
</p>
<p><a href="http://caramboo.com/2010/07/wordpress-the-gpl-and-me/" class="more-link">Read more on WordPress, The GPL and Me&#8230;</a></p>
]]></description>
			<content:encoded><![CDATA[<p class="announce">
I&#8217;ve woken up today (23rd Jul &#8217;10) to find that Chris Pearson has made Thesis split licence.  The PHP is GPL, the css, javascript and images aren&#8217;t.  It&#8217;s a good thing.  Details over at <a href="http://mashable.com/2010/07/22/thesis-relents/">Mashable</a>
</p>
<p>This post is a reaction to, or perhaps it&#8217;s better described as my thoughts on, the situation that exists regarding <a href="http://wordpress.org">WordPress</a> and its licence, the <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License (GPL)</a>.  </p>
<p>I&#8217;m also going to be quoting and answering points raised on Liz Jamieson&#8217;s website over at <a href="http://www.lizjamieson.co.uk/">Big Satchurday</a>.  Liz wrote a blog-post titled <a href="http://www.lizjamieson.co.uk/2010/07/17/thesis-the-gpl-and-wordpress-what-does-it-all-mean/">Thesis, The GPL and WordPress – What Does It All Mean?</a> which was prompted by <a href="http://mixergy.com/chris-pearson-matt-mullenweg/">a discussion</a> over at <a href="http://mixergy.com">Mixergy</a> between <a href="http://ma.tt/">Mat Mullenweg</a> and <a href="http://pearsonified.com/">Chris Pearson</a>.  Mat is a lead developer at WordPress and is its public face.  Chris is the developer of <a href="http://diythemes.com/">Thesis</a>, a theme for WordPress.</p>
<p>I was going to reply to Liz on her site but realised that it would be a lengthy entry, so I decided to expand my reply into an entry on my site, right here.</p>
<p><span id="more-26725"></span></p>
<h3>What are WordPress and The GPL?</h3>
<p>It&#8217;s probable, if you&#8217;re a seasoned internet user, that you&#8217;ve heard of <a href="http://wordpress.org">WordPress</a>.  If you haven&#8217;t, it&#8217;s <em>web software you can use to create a beautiful website or blog</em>.  It&#8217;s what&#8217;s in use right here on this website.  </p>
<p>You may not have heard of the <a href="http://www.gnu.org/licenses/gpl.html">GPL</a>, or, perhaps you have heard of it but didn&#8217;t read it because it looks like some boring terms and conditions that come with stuff you&#8217;ve bought or downloaded.  The GPL is:</p>
<blockquote><p>
&#8230;a free, copyleft license for software and other kinds of works.</p>
<p>The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.</p>
<p>When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.</p>
<p>To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.</p>
<p>For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
</p></blockquote>
<p>An important part of the above quote is the one referring to free software meaning freedom and not price.  This is from WikiPedia:</p>
<blockquote>
<p>With the advent of the free software movement, license schemes were created to give developers more freedom in terms of code sharing, commonly called open source or FOSS. As the English adjective &#8220;free&#8221; does not distinguish between &#8220;for zero price&#8221; and &#8220;liberty&#8221;, the phrases &#8220;free as in beer&#8221; (gratis, freeware) and &#8220;free as in speech&#8221; (libre, open source) were adopted.  </p>
<p>These phrases have become common, along with gratis and libre, in the software development and computer law fields for encapsulating this distinction.
</p></blockquote>
<p>There&#8217;s a good video from The Free Software Foundation that explains the GPL and Free Software:</p>
<p><span class="youtube">
<object width="580" height="350">
<param name="movie" value="http://www.youtube.com/v/te1Vbt-BGMA&amp;color1=234900&amp;color2=4e9e00&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=0" />
<param name="allowFullScreen" value="true" />
<embed wmode="transparent" src="http://www.youtube.com/v/te1Vbt-BGMA&amp;color1=234900&amp;color2=4e9e00&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="580" height="350"></embed>
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=te1Vbt-BGMA">www.youtube.com/watch?v=te1Vbt-BGMA</a></p></p>
<p>Then of course, there&#8217;s Stephen Fry&#8217;s video wishing GNU a Happy 25th birthday:</p>
<p><span class="youtube">
<object width="580" height="350">
<param name="movie" value="http://www.youtube.com/v/cT7Vl4UpCEM&amp;color1=234900&amp;color2=4e9e00&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=0" />
<param name="allowFullScreen" value="true" />
<embed wmode="transparent" src="http://www.youtube.com/v/cT7Vl4UpCEM&amp;color1=234900&amp;color2=4e9e00&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="580" height="350"></embed>
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=cT7Vl4UpCEM">www.youtube.com/watch?v=cT7Vl4UpCEM</a></p></p>
<p>So what we have in the GPL and Free Software is an ideology that promotes sharing, social interaction and advancement in an open and free way.  You are entitled to use, modify and build upon the work of others and the only thing asked of you is that anything you produce that derives from the free software, adopts the same licence.  You are given freedom, you should pass-on freedom.   </p>
<p>So where&#8217;s the problem, how can anyone not like this concept?</p>
<h3>The GPL and Business</h3>
<p>Chris Pearson, the aforementioned Thesis author, is an apparently successful WordPress developer.  His Thesis theme is popular and sells.  You buy Thesis and you get a slick addition to WordPress together with support in the form of tutorials and a web based community.  The problem is, Pearson doesn&#8217;t release Thesis under the GPL in direct violation of the GPL itself.  He builds upon WordPress therefore Thesis automatically must adopt the GPL.  Pearson is entitled to sell you his theme <strong>BUT IT MUST</strong> be GPL.  He could divide his theme into two parts, one that contains code derived from or built upon WordPress and then one part that contains files that don&#8217;t, such as CSS files or Javascript.  He doesn&#8217;t, in fact, he adds his own terms of service:</p>
<blockquote><p>
Use or distribution of Thesis in violation of the terms and conditions of membership contained in this document will result in termination of your membership, without refund. Also, please be civil and considerate when making use of the support forums, as bad behavior is also grounds for termination of your membership.
</p></blockquote>
<p>So Pearson is freely taking the work of others whose expressed wish is that he can have it, use it and build on it <strong>PROVIDED</strong> his derivative work adopts the same licence. </p>
<p>How wonderful and how altruistic of the large numbers of WordPress developers to do such a thing.  What does Pearson do?  He decides to ignore them and apply his own licensing terms with a view to making money.  I personally find that disgusting.  </p>
<p>Pearson can bleat all he wants about how he wants a payout for all his time and effort but he misses the point that&#8217;s sat there right in front of him.  He can make money from the GPL through his support and website but he simply cannot break the GPL licence for his own gain.  The GPL is there to protect people&#8217;s freedoms and he&#8217;s trampling all over them.  Pearson will argue that the GPL doesn&#8217;t apply to Thesis because it&#8217;s a separate entity from WordPress.  Well how can it be?  As Mat Mullenweg says, WordPress without Thesis (using its default 2010 GPL theme), you have something to look at.  Thesis without WordPress, nothing.  So there&#8217;s no argument, Thesis absolutely relies on WordPress and is therefore derived from it and inherits the GPL.</p>
<p>But what does Mat Mullenweg do in response in the interview at Mixergy and Pearson&#8217;s blindness over the issue?  He asks Pearson to join the WordPress family.  He says, in a tongue-in-cheek way that he&#8217;ll use Thesis if it becomes GPL.  He asks Pearson to take a leap of faith and dismantle the restrictive walls surrounding his work and embrace the open community.  I don&#8217;t think he will and he should be ashamed.</p>
<p>I already respected Mat Mullenweg prior to listening to the Mixergy interview but I now admire him immeasurably.  He has this wonderful software that millions of people use and he has the vision to allow it to be GPL.  How can anyone criticise Mat for his adoption and use of the GPL.  He and others are giving you their work, free of charge.  Let&#8217;s put that in bold in case you didn&#8217;t see it, <strong>FREE OF CHARGE</strong> </p>
<h3>Me</h3>
<p>I suppose this is a good place for me to talk about how I came to be such a staunch supporter of the GPL and Free Software.  </p>
<p>When I started regularly using computers, my chosen platform of choice was Amiga.  It was by accident because some software that I wanted to use was based on that platform and so that&#8217;s the direction I took.  The Amiga OS was/is a proprietary system, meaning that it has a closed restrictive licence.  Nevertheless, in those days I was blissfully unaware of the GPL and since the Amiga was a platform running in direct competition to the future behemoth of the Microsoft hegemony, it suited me.  I even became one of the founders of an Amiga User group and I wrote some small pieces of software for the platform.</p>
<p>When the future of Amiga began to look uncertain I clung onto the hope that it would somehow undergo a renewal and be developed into a realistic and viable alternative to Windows.  It didn&#8217;t happen.  It was around this time that I decided to look at Linux.  I grabbed a copy off a magazine cover disk and installed the software to my PC.  It was a crazy new world and I was a little bit bedazzled.  Fortunately, I&#8217;m quite at home on the command line and so changing over to the Linux shell was an easy transition for me.  </p>
<p>One of the first things I wanted to install was a FTP server so that I could transfer files between machines.  I&#8217;d used a some proprietary licensed FTP software on my Amiga so I began searching for a Linux one.  It was a little confusing and my search results didn&#8217;t help.  Then I wondered if perhaps, somehow, there was already a client in my newly installed Linux box.  I opened a terminal and typed &#8220;ftp localhost&#8221;.  I was instantly logged into my own machine because it was already running a FTP server out of the box.  I really was gobsmacked.  The software that I was looking to pay for was already there, and it was free.  It was GPL. </p>
<p>Now this is going to sound a bit silly, but from that moment on my outlook on life has changed.  The fact that people are prepared to effectively give away their work for the benefit of the community at large did and still does blow my mind.  I&#8217;d love to be able to release my own software in a similar way but I&#8217;m not a programmer. So what I do is help out in other ways.  I encourage people to use Free software, I answer question from Free software users and I go out of my way to help them.  </p>
<p>This way of thinking, this ideology has stirred something in me that I didn&#8217;t know was there.  The very core of who I am these days is centred around community, helping people and sharing.  It&#8217;s called socialism.  It&#8217;s the reason I feel very passionate about protecting freedom.  It&#8217;s the reason I hate the big guys hitting on the little guys.  It&#8217;s the reason I despise the bankers bonus culture. It&#8217;s the reason I&#8217;ve decided to join a political party with it&#8217;s roots in socialism.  It&#8217;s the reason I pound the streets of Leeds shoving leaflets into people&#8217;s letterboxes, without being paid to do it.  It&#8217;s the reason I will stop and help someone when others will drive past. It&#8217;s the reason why I&#8217;ll let others go first.  It&#8217;s the reason I consider myself to be a better person than I was in my youth.  </p>
<p>It&#8217;s not about me, me me.  It&#8217;s about us.</p>
<p>There&#8217;s a Bantu word: Ubuntu.  You may know it as a <a href="http://www.ubuntu.com/">Linux Distribution  </a>.  That distribution is so called because of the meaning of Ubuntu.  Nelson Mandela explained Ubuntu as follows:</p>
<blockquote><p>
A traveler through a country would stop at a village and he didn&#8217;t have to ask for food or for water. Once he stops, the people give him food, entertain him. That is one aspect of Ubuntu but it will have various aspects. Ubuntu does not mean that people should not enrich themselves. The question therefore is: Are you going to do so in order to enable the community around you to be able to improve?</p>
</blockquote>
<p>That&#8217;s why I love and fiercely defend the GPL, Free Software, GNU and Linux.  It&#8217;s because <em> I am what I am because of who we all are</em>. </p>
<h3>Richard Stallman</h3>
<p>It&#8217;s worth pointing out that the GPL exists because of <a href="http://en.wikipedia.org/wiki/Richard_Stallman">Richard Stallman</a> (RMS).  The hacker (and that&#8217;s not a bad thing) culture in which he existed promoted sharing and openness.  When he was denied access to source code to try and fix something, the result was the start of his crusade for Free Software.</p>
<h3>Liz Jamieson</h3>
<p>I&#8217;m not singling out Liz here, I&#8217;m actually just answering her blog-post within my blog-post.  I quite like Liz and although I&#8217;ve never conversed with him her husband Russell seems like an OK guy.  </p>
<p>Firstly Liz asks:</p>
<blockquote><p>We built a free GPL compliant WordPress plugin and because we have a high adherence to quality and service, it takes a lot of effort in support and development time. I don’t mind that but I do want to make a paid version of it that protects my time investment in the overall offering. Given that I willingly give the free plugin away for free along with support for said plugin, how can I get paid for the extra effort I place into the paid features? How do I do that? It’s not obvious to me at all – I see Chris’s point of view. I’m not trying to be awkward here – I really want to know the answer. Maybe someone who can pay their mortgage based on their work (non client based please) with wholly compliant GPL plugins and themes could help me out here.</p></blockquote>
<p>I understand your point, I really do.  The thing is though, your plugin (which I like btw!) inherits the GPL.  So you can charge for it but you must make the source available for it.  If you&#8217;re not happy with that, then you should concentrate on writing plugins for non-GPL software.  It&#8217;s cold and harsh, but it really is as simple as that. </p>
<p>A point that I often repeat is that you have chosen the leader in the blogging world: WordPress, because it&#8217;s exactly that.  It has the largest userbase.  So it&#8217;s a bigger market for you.  WordPress however, is given away free of charge because it comes without restriction.  Yet you want to restrict the use of a plugin for it?  That&#8217;s selfish isn&#8217;t it?   You&#8217;re happy to accept the WordPress licence allowing you to do what you want with the software, but you want to then disregard it for your own profit?  You know that can&#8217;t be right.</p>
<p>If this means that it effects you as a small business, because no-one is going to pay for support, well again, it&#8217;s harsh but it&#8217;s a bullet you have to bite.  The bullet was fired your way when you started developing for WordPress.  Software built on sharing and co-operation. </p>
<blockquote><p>
I think that writing something that merely sits on top of something else doesn’t make it derivative. Thesis for me is not a derivative work in common sense terms, only in GPL terms.
</p></blockquote>
<p>Now I really don&#8217;t understand this.  Thesis without WordPress is nothing.  WordPress without Thesis is a blogging platform.  The GPL is there to protect the rights of the authors of WordPress.  If Pearson profits because of Thesis, that profit is <strong>DIRECTLY</strong> linked to Thesis running on WordPress.   Of course, that profit is fine if someone wants to pay, but the <em>price</em> Pearson <strong>MUST</strong> pay is to release Thesis as GPL.  Now that&#8217;s a sensible business model isn&#8217;t it.  What&#8217;s the alternative, enforce a restrictive licence on WordPress thereby requiring all its users to pay a fee for its use?  The blogging world would collapse overnight!</p>
<blockquote><p>
If I go my local supermarket (Waitrose, let’s say it’s a GPL supermarket) and buy a GPL cake, then take it home, cover it in icing and stick a couple of icing sugar roses on it then enter it into a cake competition, which I then win, people might say I cheated (analogy for breaking rules of the GPL). But under the GPL, if I go to Waitrose and buy other GPL products such as flour, eggs, sugar, and some other stuff, take them home, make a cake and enter the result into a cake competition and win it, then that’s also not OK. Because it’s still a derivative cake.</p>
<p>GPL supporters will say that’s right – so base your cake on non-GPL supermarket products if that’s how you feel. But I like shopping at Waitrose.
</p></blockquote>
<p>Your analogy is flawed here Liz.  In the first case, your purchased GPL cake is forked by you when you ice it and decorate it.  If you then win a cake competition, good for you!  Everyone can see what you did.  Are you really going to try and pass it off as completely your own?  The cake world would out you and you&#8217;d just look silly.</p>
<p>In your second case I don&#8217;t even see a problem?  You use GPL products to make another product which then wins you a competition, what&#8217;s wrong with that? </p>
<p>I think the problem is that cakes and ingredients are tangible things.  Software isn&#8217;t.  What you look at are just pixels on a screen.  It doesn&#8217;t exist in the real world.  What does exist is service.  A service to support those ethereal pixels and bytes is tangible and therefore chargeable.  </p>
<blockquote><p>
So this is what we all have to do? Create free and pro versions of plugins that we can offer to those who want to learn from and re-use the code, but keep the tricky bits on remote servers so that we can be paid and so provide quality updates and support to our users.
</p></blockquote>
<p>Provided the <em>tricky</em> bits don&#8217;t inherit the GPL, that&#8217;s fine.  It&#8217;s not my cup of tea since I believe that all software should be free but in this instance we&#8217;re talking about the GPL.</p>
<h3>Grokking Free Software and the GPL</h3>
<p>In my opinion, developers who want to release software derived from or forked from GPL licensed work don&#8217;t actually <a href="http://en.wikipedia.org/wiki/Grok">grok</a> the whole free software ethos.  They see large userbases such as the one surrounding WordPress and simply want to cash-in.  It&#8217;s understandable.  However, they fail to realise the reason why the GPL exists and choose to ignore it for their own reward.  </p>
<p>I don&#8217;t have a solution, other than to recommend a paid-support based service.  Keep your software free and open, bill for your service man-hours.  If it doesn&#8217;t suit your needs, you need to develop for another platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://caramboo.com/2010/07/wordpress-the-gpl-and-me/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Video on the Web</title>
		<link>http://caramboo.com/2010/06/video-on-the-web/</link>
		<comments>http://caramboo.com/2010/06/video-on-the-web/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 08:38:40 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[embedded video]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[flowplayer]]></category>

		<guid isPermaLink="false">http://caramboo.com/?p=785</guid>
		<description><![CDATA[<p>I&#8217;ve spent a few days this week playing around with video on the web.  It&#8217;s a fairly simple process to copy and paste the embed code from YouTube and have videos appear on this site, but I needed to embed a shortened clip of a longer piece.  I&#8217;ve managed to do it (last night) but I had to do a fair bit of Googling to find a solution that worked for me.</p>
<p><a href="http://caramboo.com/2010/06/video-on-the-web/" class="more-link">Read more on Video on the Web&#8230;</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent a few days this week playing around with video on the web.  It&#8217;s a fairly simple process to copy and paste the embed code from YouTube and have videos appear on this site, but I needed to embed a shortened clip of a longer piece.  I&#8217;ve managed to do it (last night) but I had to do a fair bit of Googling to find a solution that worked for me.</p>
<p><span id="more-785"></span></p>
<h3>get_iplayer</h3>
<p>Firstly, the videos I needed to shorten were from the BBC..  There&#8217;s a command line tool called <a href="http://linuxcentre.net/getiplayer">get_iplayer </a> that enables me to grab live or recorded video from the BBC site.  It&#8217;s way too complex to fully describe here but the command I used to grab my video clip was:</p>

<div class="wp_codebox"><table><tr id="p7851"><td class="code" id="p785code1"><pre class="bash" style="font-family:monospace;">get_iplayer http:<span style="color: #000000; font-weight: bold;">//</span>news.bbc.co.uk<span style="color: #000000; font-weight: bold;">/</span>democracylive<span style="color: #000000; font-weight: bold;">/</span>hi<span style="color: #000000; font-weight: bold;">/</span>house_of_commons<span style="color: #000000; font-weight: bold;">/</span>default.stm <span style="color: #660033;">--stop</span> <span style="color: #000000;">1800</span> <span style="color: #660033;">--get</span></pre></td></tr></table></div>

<p>That command retrieves the embedded live video on that particular BBC web page and saves the file as an *.avi.  The <code>--stop 1800</code> argument recorded 1800 seconds of video (<em>60secs x 30mins = half an hour &#8211; I was having my tea!</em>).  Once I&#8217;d retrieved the video I had to find the start-time of my desired clip and then calculate its duration.  I used <a href="http://www.ffmpeg.org/">ffmpeg</a> to create a *.flv file from the original *.avi.  </p>
<p>I found that the original downloaded file&#8217;s audio and video were out of sync,  by approximately 1 second.  More Googling and I found a way to encode the *.flv file and offset the audio/video.  Here&#8217;s the command I used:</p>

<div class="wp_codebox"><table><tr id="p7852"><td class="code" id="p785code2"><pre class="bash" style="font-family:monospace;"> <span style="color: #c20cb9; font-weight: bold;">ffmpeg</span> <span style="color: #660033;">-i</span> downloaded.avi <span style="color: #660033;">-vcodec</span> copy <span style="color: #660033;">-itsoffset</span> <span style="color: #000000;">1</span> <span style="color: #660033;">-i</span> downloaded.avi <span style="color: #660033;">-map</span> <span style="color: #000000;">1</span>:<span style="color: #000000;">0</span> <span style="color: #660033;">-map</span> <span style="color: #000000;">0</span>:<span style="color: #000000;">1</span> <span style="color: #660033;">-ss</span> <span style="color: #000000;">848</span> <span style="color: #660033;">-t</span> <span style="color: #000000;">399</span> result.flv</pre></td></tr></table></div>

<p>That took the video from the downloaded file, offset by 1 second from the audio in the same file, starting at 848 seconds and lasting 399 seconds.  Cool.</p>
<h3>Copy of a Copy</h3>
<p>Much in the way a photo-copied document starts to degrade after multiple recopying, the same goes for video.  Downloading a video, shortening it and then uploading the result to YouTube produced acceptable but not very clear looking videos.  I had to reduce the number of copies so the answer was to locally host the file.  Well, hosting the file on Amazon S3 and making use of their content delivery network (CDN).   </p>
<p>Google led me to the marvellous site by Mark Pilgrim, <a href="http://diveintohtml5.org/">Dive into HTML 5</a>.  The video section of the site goes into great detail about how best to display video in modern browsers and a link through to another awesome page, <a href="http://camendesign.com/code/video_for_everybody">Video for Everybody</a>. That site outlines how to display video in older or incapable browsers; yes Internet Explorer, pay attention.  The information described in those two sites is invaluable, however since I primarily use WordPress for blogs and sites, I decided to use a plugin to display either *.flv or *.m4v files.  </p>
<p>Not as pure as Video for Everybody but nevertheless, everyone should be able to see the video.</p>
<h3>Flowplayer</h3>
<p><a href="http://flowplayer.org/">Flowplayer</a> is a tool that allows you to display video on your site in a YouTube style enclosure, complete with controls. There are a number of WordPress Plugins that utilise Flowplayer but some of them collide with jQuery.  One that doesn&#8217;t is <a href="http://wordpress.org/extend/plugins/fv-wordpress-flowplayer/">FV WordPress Flowplayer</a>, so that&#8217;s what I&#8217;m using here on my site.</p>
<p>The plugin uses short codes to embed your video files, like this:</p>

<div class="wp_codebox"><table><tr id="p7853"><td class="code" id="p785code3"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>flowplayer <span style="color: #007800;">src</span>=source.flv <span style="color: #007800;">width</span>=<span style="color: #000000;">600</span> <span style="color: #007800;">height</span>=<span style="color: #000000;">350</span> <span style="color: #007800;">splash</span>=video_splashimage.jpg<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></td></tr></table></div>

<p>It seems to work pretty well.  You can see an embedded video here: <a href="/2010/06/rachel-reeves-maiden-speech/">Embedded video using flowplayer</a>.  If I wasn&#8217;t using WordPress or something similar I&#8217;d definitely use the Video for Everyone technique for video embedding. </p>
<p>I&#8217;ve put this entry on my blog so that I don&#8217;t forget how to do it next time.  It&#8217;s fairly straightforward to do so if you ended up here from a search engine, I hope you find it useful.  </p>
]]></content:encoded>
			<wfw:commentRss>http://caramboo.com/2010/06/video-on-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Videos in their own Space</title>
		<link>http://caramboo.com/2010/05/videos-in-their-own-space/</link>
		<comments>http://caramboo.com/2010/05/videos-in-their-own-space/#comments</comments>
		<pubDate>Fri, 14 May 2010 22:49:08 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://caramboo.com/?p=750</guid>
		<description><![CDATA[I re-thought the way the blog works this afternoon. It somehow seems more appropriate that any videos I post appear in their own space. So, I made it so.]]></description>
			<content:encoded><![CDATA[<p>I re-thought the way the blog works this afternoon. It somehow seems more appropriate that any videos I post appear in their own space.  So, I made it so.</p>
<p><a href="http://caramboo.com/videos" >Caramboo Videos</a></p>
<p>Nice!</p>
]]></content:encoded>
			<wfw:commentRss>http://caramboo.com/2010/05/videos-in-their-own-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audioboo</title>
		<link>http://caramboo.com/2010/04/audioboo/</link>
		<comments>http://caramboo.com/2010/04/audioboo/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 12:24:53 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[audioboo]]></category>

		<guid isPermaLink="false">http://caramboo.com/?p=726</guid>
		<description><![CDATA[I've just found that I can use <a href="http://audioboo.fm">Audioboo</a> on my Android phone.  So that's kind of cool.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just found that I can use <a href="http://audioboo.fm">Audioboo</a> on my Android phone.  So that&#8217;s kind of cool.  Here is one of my first <em>Boos</em>.</p>
<p><object data="http://boos.audioboo.fm/swf/fullsize_player.swf" height="129" id="iefix1" type="application/x-shockwave-flash" width="400"><param name="movie" value="http://boos.audioboo.fm/swf/fullsize_player.swf" /><param name="scale" value="noscale" /><param name="salign" value="lt" /><param name="bgColor" value="#FFFFFF" /><param name="allowScriptAccess" value="always" /><param name="wmode" value="window" /><param name="FlashVars" value="mp3Author=caramboo&amp;mp3LinkURL=http%3A%2F%2Faudioboo.fm%2Fboos%2F118893-last-test&amp;mp3Title=Last+test.&amp;mp3Time=11.28am+21+Apr+2010&amp;mp3=http%3A%2F%2Faudioboo.fm%2Fboos%2F118893-last-test.mp3" /><a href="http://audioboo.fm/boos/118893-last-test.mp3">Listen!</a></object></p>
]]></content:encoded>
			<wfw:commentRss>http://caramboo.com/2010/04/audioboo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://audioboo.fm/boos/118893-last-test.mp3" length="321664" type="audio/mpeg" />
		</item>
		<item>
		<title>WordPress Remote Cron-Scheduling</title>
		<link>http://caramboo.com/2010/03/wordpress-remote-cron-scheduling/</link>
		<comments>http://caramboo.com/2010/03/wordpress-remote-cron-scheduling/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 13:13:13 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://caramboo.com/?p=698</guid>
		<description><![CDATA[I host several Wordpress sites on my Linode VPS, some of which are quite active and others that are for development purposes or just generally quiet. The VPS itself runs Debian Lenny and the sites are served by Apache, reverse proxied from Nginx.]]></description>
			<content:encoded><![CDATA[<p>I host several <a href="http://wordpress.org/">WordPress</a> sites on my <a href="http://www.linode.com/?r=38744316d36d5ae18473ba72c2b14b29aef23512">Linode VPS</a>, some of which are quite active and others that are for development purposes or just generally quiet.  The VPS itself runs <a href="http://www.debian.org/">Debian Lenny</a> and the sites are served by Apache, reverse proxied from Nginx.  It&#8217;s a little bit over-complicated but the set-up is sweet, fast and until a few months ago, really stable.  </p>
<p>However, sometime at the start of the year, Apache would sometimes throw a wobbler during the night here in the UK.  Perhaps one day in 14 I&#8217;d get up and find my VPS slowed to a crawl; the culprit would be Apache hogging the CPU.  Ouch!  Restarting the Apache process would calm things down and I didn&#8217;t need to reboot but obviously something was awry.</p>
<p>At first I thought that the problem was an Apache misconfiguration.  I focused my attention on a few segments of the main Apache configuration file and fiddled with these as follows:</p>

<div class="wp_codebox"><table><tr id="p6984"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code" id="p698code4"><pre class="apache" style="font-family:monospace;">&lt;<span style="color: #000000; font-weight:bold;">ifmodule</span> mpm_prefork_module&gt;
    <span style="color: #00007f;">StartServers</span>          <span style="color: #ff0000;">3</span>
    <span style="color: #00007f;">MinSpareServers</span>       <span style="color: #ff0000;">3</span>
    <span style="color: #00007f;">MaxSpareServers</span>       <span style="color: #ff0000;">7</span>
    <span style="color: #00007f;">MaxClients</span>           <span style="color: #ff0000;">20</span>
    <span style="color: #00007f;">MaxRequestsPerChild</span>  <span style="color: #ff0000;">1000</span>
&lt;/<span style="color: #000000; font-weight:bold;">ifmodule</span>&gt;
&lt;<span style="color: #000000; font-weight:bold;">ifmodule</span> mpm_worker_module&gt;
    <span style="color: #00007f;">StartServers</span>          <span style="color: #ff0000;">2</span>
    <span style="color: #00007f;">MaxClients</span>          <span style="color: #ff0000;">150</span>
    <span style="color: #00007f;">MinSpareThreads</span>      <span style="color: #ff0000;">25</span>
    <span style="color: #00007f;">MaxSpareThreads</span>      <span style="color: #ff0000;">75</span> 
    <span style="color: #00007f;">ThreadsPerChild</span>      <span style="color: #ff0000;">25</span>
    <span style="color: #00007f;">MaxRequestsPerChild</span>   <span style="color: #ff0000;">0</span>
&lt;/<span style="color: #000000; font-weight:bold;">ifmodule</span>&gt;</pre></td></tr></table></div>

<p>This didn&#8217;t do the trick (although the configuration is sound).  I decided to trawl through my log-files and found that since most of my visitors are UK based, the sites were generally quiet during the UK night.  However, around 6.00am, I&#8217;d get hit with a plethora of robots from all over the place wanting to spider my site.  So that&#8217;s a good thing yeah?  Well not in my case. It was around this time that my VPS would go wonky.  </p>
<p>I wondered about the WordPress pseudo-cron facility.   WordPress can perform tasks on your site(s) at pre-determined times but in the absence of a real cron, the task is triggered on the next page load after the scheduled time has passed.  </p>
<p>I run several time dependent plug-ins on my sites such as Lifestreams, RSS feeds and Caches, so if these weren&#8217;t going to run until a page load, and there were next to no page loads in the night, then when the robots came-a-calling, all the cron jobs across several sites would trigger at the same time.  So I thought about a solution and came up with:</p>
<ul>
<li>Disabling the WordPress pseudo-cron</li>
<li>Enabling a remote cron where I could control the time schedule</li>
</ul>
<h3><em>Disabling the Pseudo-Cron</em></h3>
<p>This is easy.  All you need to do is add this code-snippet into your wp-config.php file:</p>

<div class="wp_codebox"><table><tr id="p6985"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p698code5"><pre class="ini" style="font-family:monospace;">define<span style="">&#40;</span>'DISABLE_WP_CRON', true<span style="">&#41;</span><span style="color: #666666; font-style: italic;">;</span></pre></td></tr></table></div>

<p>Once added, that&#8217;s it.  WordPress doesn&#8217;t run its cron on page loads.  OK, so now we need to run a real cron.  I run mine from a remote server like so:</p>

<div class="wp_codebox"><table><tr id="p6986"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p698code6"><pre class="bash" style="font-family:monospace;"><span style="color: #000000;">0</span>,<span style="color: #000000;">30</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #660033;">-O</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null http:<span style="color: #000000; font-weight: bold;">//</span>foobar.com<span style="color: #000000; font-weight: bold;">/</span>wp-cron.php?doing_wp_cron <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;&amp;</span><span style="color: #000000;">1</span></pre></td></tr></table></div>

<p>The above crontab entry runs the WordPress cron every 30 minutes, on the hour and on the half-hour.  That&#8217;s easy for me since I have a remote shell account.  If you don&#8217;t or the world of crontabs is a little bit mysterious to you, you can get a free web based cron account here:<br />
<a href=" http://www.mywebcron.com/"></p>
<p>http://www.mywebcron.com/</a></p>
<p>Once you&#8217;ve set-up your freebie account you can configure your cron call thus:</p>

<div class="wp_codebox"><table><tr id="p6987"><td class="line_numbers"><pre>1
</pre></td><td class="code" id="p698code7"><pre class="bash" style="font-family:monospace;">http:<span style="color: #000000; font-weight: bold;">//</span>foobar.com<span style="color: #000000; font-weight: bold;">/</span>wp-cron.php?doing_wp_cron</pre></td></tr></table></div>

<h3><em>Nice and Stable</em></h3>
<p>Good news.  Since employing the above strategy, Apache is behaving itself and my sites achieved a 100% uptime during February.  There is one little caveat to this news though.  At the same time as making these changes to my system, I also installed <a href="http://mmonit.com/monit/">Monit</a>:</p>
<blockquote><p>Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations.</p></blockquote>
<p>What all that means is that if Apache does misbehave, Monit will gracefully restart the process and notify me.  Since I installed it, Monit hasn&#8217;t had to do anything because my system has been OK but it&#8217;s a useful addition to my uptime bragging ability!  I&#8217;ll write about Monit in another post.</p>
]]></content:encoded>
			<wfw:commentRss>http://caramboo.com/2010/03/wordpress-remote-cron-scheduling/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Another Look</title>
		<link>http://caramboo.com/2010/03/another-look/</link>
		<comments>http://caramboo.com/2010/03/another-look/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 08:56:42 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://caramboo.com/?p=690</guid>
		<description><![CDATA[I’ve decided to adopt Ian Stewart’s Kirby theme while I work on another look for my site. I think I prefer the smash down what was there before and rebuild method rather than a smooth transition.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided to adopt Ian Stewart&#8217;s Kirby theme while I work on another look for my site.  I think I prefer the <em>smash down what was there before and rebuild</em> method rather than a smooth transition.  So this theme is meant to be a starting point for people new to WordPress and was designed by Ian as a potential default theme for WordPress 3.0.  So it seems like a good set of clothes to wear while I work away in the background.</p>
<p>Anyway, I&#8217;ll do a new theme (most likely child-theme) by the end of the month.</p>
]]></content:encoded>
			<wfw:commentRss>http://caramboo.com/2010/03/another-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Farewell Sweetcron</title>
		<link>http://caramboo.com/2009/11/farewell-sweetcron/</link>
		<comments>http://caramboo.com/2009/11/farewell-sweetcron/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 10:37:44 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://caramboo.com/?p=530</guid>
		<description><![CDATA[I've decided to stop using <a href="http://code.google.com/p/sweetcron/">Sweetcron</a> to aggregate all my social networking activity.]]></description>
			<content:encoded><![CDATA[<p>In recent months I&#8217;ve been using social networking sites like <a href="http://twitter.com/caramboo">Twitter</a> more than good old fashioned blogging as a way of getting my daily online fix.  When I found <a href="http://code.google.com/p/sweetcron/">Sweetcron</a>, which is an aggregation come blogging platform it seemed the ideal way to catalogue all the stuff I was up to.  Sweetcron is also really cool to fool around with and customise so it happily kept me amused for a few months.  I could have an effective daily feed of things I was doing and it was almost like blogging by proxy.  I even set up its own sub-domain to give the thing a home.  My Lifestreamwas born.</p>
<p>Well.  I&#8217;ve decided to stop using it and here&#8217;s why.   </p>
<h3>Too Many Blogs!</h3>
<p>I keep realising <em>(and then forgetting and then re-realising)</em> that if I set-up too many personal sites or blogs, I spread myself out way too thinly.  I&#8217;m not the most prolific of bloggers at the best of times and if I&#8217;ve got to race round updating multiple sites, I&#8217;m just not going to and indeed didn&#8217;t bother.  My Sweetcron site somehow became my lazy-blog.  I knew I could fire off a few tweets here and there and the blog gods would be happy because I was doing my bit.  So then this site site right here becomes like a ghost town.  I even started giving out my  Sweetcron address as the URL of my web-site.  I&#8217;m such a cheat.</p>
<p>What&#8217;s sort of swung it for me are a couple of reasons.  The first is that the <a href="http://yongfook.com/why-posterous-instead-of-sweetcron">Sweetcron Author </a> himself has stopped using his own software and cites the impersonality of lifestreaming as one of the reasons.  He&#8217;s actually moved onto Posterous as his blogging platform and makes regular updates.  The second reason is that there&#8217;s a now a <a href="http://www.enthropia.com/labs/wp-lifestream/download.php">Lifestream Plugin</a> for <a href="http://wordpress.org">WordPress</a>.  I&#8217;ve installed it and without doing any customisation it already looks pretty neat.  You can see it <a href="http://caramboo.com/lifestream/">on this page</a>.  I&#8217;ll probably try and get my own style going there when I can get round to it but like I say, it looks pretty much OK as it is.</p>
<h3>So What Now?</h3>
<p>So, now that the Sweetcron site has bit the dust I&#8217;ll have to write in here more.  I&#8217;m still going to have more than one site running but this place here will be for personal stuff.  A proper blog with the attraction of an added Lifestream.  I&#8217;m going to build a second site for geeky/linuxy/webby stuff and that will be more the start of business enterprise.  We&#8217;ll see what happens.  I&#8217;m going to need to find another income stream anyway since The Form Analyst has now closed its doors and is becoming a free site.  Which kinda sucks!</p>
<p>Onwards and upwards&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://caramboo.com/2009/11/farewell-sweetcron/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Karmic Koala KO</title>
		<link>http://caramboo.com/2009/11/karmic-koala-ko/</link>
		<comments>http://caramboo.com/2009/11/karmic-koala-ko/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 14:58:31 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[rdiff-backup]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://caramboo.com/?p=484</guid>
		<description><![CDATA[Oh bollocks I’ve been busy. Like an old record I’ve said this before many times but I really do think I enjoy fiddling with stuff and getting it working rather than actually using the thing I’m messing about with.]]></description>
			<content:encoded><![CDATA[<p><img src="http://caramboo.com/gallery/zp-core/i.php?&amp;a=sitepics&amp;w=300&amp;i=koala.jpg" alt="koala.jpg" class="alignleft cheese" /> Oh bollocks I&#8217;ve been busy.  Like an old record I&#8217;ve said this before many times but I really do think I enjoy fiddling with stuff and getting it working rather than actually using the thing I&#8217;m messing about with.  However, the reason for no updates for a few weeks is that I had a bit of a catastrophe on the <a href="http://theformanalyst.com" title="The Form Analyst">Form Analyst Site</a>.  There&#8217;s no need to go too much into detail but basically I messed up upgrading the server from Ubuntu 9.04 (<em>was that Jaunty or Intrepid?</em>) to 9.10 Karmic Koala.  It was my fault for being a bit blasé about the upgrade because usually nothing goes wrong.  Except it did this time.</p>
<p>I found myself with the option of working out what had gone wrong (the server wouldn&#8217;t even boot properly) which I may have managed, or to bite the bullet and start again with a fresh install.  I went for the latter because I really couldn&#8217;t be bothered with the former and it would enable me to build a few applications in a way I wished I&#8217;d done on the first install.  Fortunately due to <a href="http://wordpress.org/extend/plugins/wp-db-backup/">WP-DB-Backup</a> and <a href="http://rdiff-backup.nongnu.org/">rdiff-backup</a> I was able to rebuild and restore quite quickly.  DefCon 1 at 8.30am, multi-user subscription website and server back up and running at 2.00pm.  I even managed to get a temporary forum up and running so that the users had somewhere to hang out.  That was on-line at 9.00am.</p>
<p>The new set-up has <a href="http://wiki.nginx.org/Main">Nginx</a> proxying to <a href="http://apache.org">Apache</a>.  I&#8217;d wanted to do it for ages and so now Nginx serves up the static content, Apache looks after all the PHP and other swanky malarky.  I also did a review of the plugins on the site and found that one was really slowing things down to a crawl.  It was <a href=" http://wordpress.org/extend/plugins/social-access-control/">Social Access Control</a> that seemed to be strangling the server.  I swapped it out for Justin Tadlock&#8217;s <a href="http://justintadlock.com/archives/2009/09/17/members-wordpress-plugin">Members</a> plugin.  Things are a lot swifter.  Maybe I didn&#8217;t have Social Access set-up correctly, who knows, it&#8217;s toast now.  Members takes a little bit more messing about with templates to get it running sweet, but I like the concept and it&#8217;s there to stay over at <a href="http://theformanalyst.com">TFA</a>.</p>
<p>I was thinking of writing a few posts on the way I&#8217;ve got Nginx and Apache working in tandem but all I did was Google their names with the word proxy thrown in for good measure and all the help you need is already out there.  </p>
<p><em>Google is your friend</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://caramboo.com/2009/11/karmic-koala-ko/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subversion</title>
		<link>http://caramboo.com/2009/10/subversion/</link>
		<comments>http://caramboo.com/2009/10/subversion/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 11:29:27 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://caramboo.com/2009/10/14/subversion/</guid>
		<description><![CDATA[Instead of FTPing all my updated files to my remote server, I'm now using SVN version control.]]></description>
			<content:encoded><![CDATA[<p>Last night, on a whim, I decided to set up a <a href="http://en.wikipedia.org/wiki/Subversion_%28software%29">subversion</a> repository at my Dreamhost Account. I sorta kinda stopped using Dreamhost several months ago now but I&#8217;ve retained the account simply because at less than $10.00 a month I get:</p>
<ul>
<li>Somewhere to test stuff</li>
<li>An Apache Web Server (I use Nginx on my own server)</li>
<li>As many domains/sub-domains as I like</li>
<li>5OGB of backup space</li>
<li>Lots of funky stuff, like <a href="http://en.wikipedia.org/wiki/Subversion_%28software%29">subversion</a>!</li>
</ul>
<p>All for less than that ten dollars.  Cool or what! </p>
<p>If you don&#8217;t know what subversion is: </p>
<blockquote><p>Subversion (SVN) is a version control system initiated in 1999 by CollabNet Inc. It is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS).</p></blockquote>
<p>So my plan is use the following <i>workflow</i>:</p>
<ul>
<li>Create/Edit files on my Desktop machine</li>
<li>Save/Open them on my local server via SSH</li>
<li>Sync my local server files with my repository at Dreamhost</li>
<li>Sync the live site on my remote server with my repository</li>
</ul>
<p>I already backup any sites I have or am working on via rsync or rdiff-backup to my Dreamhost backup account. This new subversion set-up will be used for current development synchronisation with the bonus of historical svn backups.</p>
<p>It all sounds lovely and geeky to me which is great.  Trust me it&#8217;s good.</p>
]]></content:encoded>
			<wfw:commentRss>http://caramboo.com/2009/10/subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
