<?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>Darren Beale &#187; General</title>
	<atom:link href="http://bealers.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://bealers.com</link>
	<description>Husband, Father and Entrepreneurial Geek</description>
	<pubDate>Sun, 31 Aug 2008 16:39:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Bealers.com v10</title>
		<link>http://bealers.com/2008/04/20/bealerscom-v10/</link>
		<comments>http://bealers.com/2008/04/20/bealerscom-v10/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 17:10:06 +0000</pubDate>
		<dc:creator>Bealers</dc:creator>
		
		<category><![CDATA[General]]></category>

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

		<guid isPermaLink="false">http://bealers.com/?p=457</guid>
		<description><![CDATA[Today I put together the 10th iteration of Bealers.com which is a massive relief as it&#8217;s been on my to do list for 6 months+.
Initially as I was going to use external help (and I had some great offers of assistance, thanks all) but in the end I simply used a pre-built theme. The Fresh [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="http://bealers.com/wp-content/uploads/2008/04/darrenbeale-oct2003.gif" alt="" />Today I put together the 10th iteration of Bealers.com which is a massive relief as it&#8217;s been on my to do list for 6 months+.</p>
<p>Initially as I was going to use <a href="http://bealers.com/2008/02/21/retarded-design/">external help</a> (and I had some great offers of assistance, thanks all) but in the end I simply used a pre-built theme. The <a href="http://www.premiumnewstheme.com/fresh-news-wp25/">Fresh News Theme</a> that I chose not only looks great but care has been taken on the server-side aspects too, which is not so common with WP themes IMO.</p>
<p>I&#8217;ve ditched all explicit references to PHP dev (if you can ignore the whacking great banner) and I&#8217;ll be posting much more general and personal items to the site moving forwards. This is not really new as I&#8217;ve already been making a conscious effort to take the emphasis away from freelance PHP development - which I only did for about a month between selling Exponetic and setting up Siftware anyway - but it&#8217;s still a shame as I was ranking #1 for a number of relevant broad phrases for a couple of years.</p>
<p>I&#8217;ve still a number of items left to sort out that will get nailed in the coming days:</p>
<ul>
<li>Finish re-categorising and tagging all 350 posts in a simpler hierachy</li>
<li>Fix a few validation issues</li>
<li>Check mobile version</li>
<li>Re-markup popular technical posts with decent syntax highlighting</li>
<li>Decent 404 page</li>
</ul>
<p>Whether you hate it or love it I&#8217;d be interested to know your opinions either way.</p>
]]></content:encoded>
			<wfw:commentRss>http://bealers.com/2008/04/20/bealerscom-v10/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Personal goals</title>
		<link>http://bealers.com/2008/04/13/personal-goals/</link>
		<comments>http://bealers.com/2008/04/13/personal-goals/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 08:28:07 +0000</pubDate>
		<dc:creator>Bealers</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://bealers.com/?p=498</guid>
		<description><![CDATA[When we downshifted in July 2006 - actually it turns out that it was Cathie that really downshifted, I simply started again from scratch albeit with a much healthier balance between my business and home life and with considerably less stress - one part of our due diligence was to sit down and write up [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="http://bealers.com/wp-content/uploads/2008/04/goals.gif" alt="Picture of person writing in notebook - Taken from http://www.flickr.com/photos/peterkaminski/51296708/" />When we <a href="http://www.becomingdomestic.co.uk/downshifting/">downshifted</a> in July 2006 - actually it turns out that it was Cathie that really downshifted, I simply started again from scratch albeit with a much healthier balance between my business and home life and with considerably less stress - one part of our due diligence was to sit down and write up some personal and joint goals. Nearly 2 years on with a another child, a growing business and a spare hour I thought it would be a good idea to revisit them to see how I&#8217;m doing.</p>
<p>Before I go any further it&#8217;s worth mentioning that each of these goals were made to be S.M.A.R.T. i.e. <strong>S</strong>pecific, <strong>M</strong>easurable, <strong>A</strong>ttainable, <strong>R</strong>ealistic and <strong>T</strong>imely. I feel it&#8217;s easy to set goals such as &#8216;be successful&#8217; or &#8216;get fit&#8217; but if you don&#8217;t apply the S.M.A.R.T. rules to your goals then how do you know when you&#8217;ve achieved them?! It&#8217;s also worth pointing out that goals such as &#8216;be a better husband|father|boss&#8217; are a given.</p>
<p><span id="more-451"></span></p>
<p>So, my personal life goals and how well I feel I&#8217;m doing, in no particular order, are:</p>
<p><strong>Do regular exercise each week, each month, each year<br />
</strong><strong><span style="color: #ff0000;">Rubbish</span></strong></p>
<p>In London I used to cycle 6 miles per day but ironically since moving out into the Worcestershire countryside I&#8217;m too scared that I&#8217;ll get flattened by all of the lorries doing 60 on the narrow A roads or tractors in the lanes, so I don&#8217;t bother. To rectify this I recently joined the local health club and I am now taking the twins swimming at least once a week. Definitely need to get this one properly back on track.</p>
<p><strong>Cook at least two meals from scratch each week and constantly try new recipes<br />
</strong><strong><span style="color: #ff9900;">Room for improvement</span></strong></p>
<p>A life goal surely not I hear you say. Well for me it is. I really love cooking and derive a lot of pleasure from making dishes from their base ingredients. Currently Cathie keeps us all fed for most of the week but I reckon I&#8217;m consistently cooking from scratch (opening a few tins doesn&#8217;t count) twice a week but as it&#8217;s still limited to Roasts, Pizza, Chilli and a few favourite Nigel Slater or Jamie Oliver recipes then I&#8217;m still marking this one down as having room to improve.</p>
<p><strong>Spend quality time with all members of my immediate family each week<br />
</strong><strong><span style="color: #ff9900;">Room for improvement</span></strong></p>
<p>Compared to our old life things are *much* better with Cathie &amp; I being much tighter and I get to see the kids every day and I&#8217;m hanging properly with them on the weekend. However I can&#8217;t confidently say that I regularly spend as much quality time with them all as I&#8217;d like, hence the need to further improve.</p>
<p><strong>Have no debt*, live within means and ensure a contingency fund equalling 6 month&#8217;s living expenses<br />
<span style="color: #339966;">Done</span></strong></p>
<p>I feel the above is a minimum in order for me to sleep well at night. Moving on from there we&#8217;re then looking to the future to see how to afford to meet our goals. <a href="http://www.amazon.co.uk/Richest-Man-Babylon-Revised-Updated/dp/9562913791/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1208073734&amp;sr=8-1">This book</a> has no hidden agenda and serves as an excellent non-cheesy motivator.</p>
<p><em>*Except mortgage although I&#8217;d be trying to pay it off ASAP, making sure I could afford payments if interest rates doubled and wouldn&#8217;t use my home&#8217;s equity as an overdraft!</em></p>
<p><strong>Own a decent family home outright before I&#8217;m 40<br />
<span style="color: #ff9900;">Jury is out</span></strong></p>
<p>This is not a small undertaking but it is currently my main motivation. I&#8217;ve 4 years left to do this and I&#8217;ve still a fighting chance dependant upon retaining good health, the economy (particularly businesses spending money on web), luck, aggressive saving and house prices resetting back to affordable levels*. To clarify the goal is for a house big enough to fit the 5 of us comfortably until the kids are teenagers, give us a garage (see later point) and have a decent sized garden (or two).</p>
<p><em>*average house price = 3.5 x average salary.<br />
Based on current figures (average house price £222,000 and salary £24,000) I genuinely feel that a reset of 30%-40% isn&#8217;t unlikely although the drops may be somewhat hidden by inflation. </em><em><br />
</em></p>
<p><strong>Own and use an Aston Martin before I&#8217;m 45<br />
<span style="color: #ff9900;">Working on it</span><br />
</strong></p>
<p>Totally selfish, crass &amp; materialistic I know, but it&#8217;s a genuine goal nonetheless. It doesn&#8217;t need to be a new one, or a museum piece DB5 or anything, but I must own one (and be able to afford to run it).</p>
<p><strong>Go racing in my own vehicle (now and again will do) before I&#8217;m 40<br />
<span style="color: #ff9900;">Doable now, just not enough time &amp; need a garage<br />
</span></strong></p>
<p>This isn&#8217;t the same as owning and Aston Martin and is much more modest; I simply want to push a car to its limits, legally and safely, now and again. Current plan is for it to be a &lt; £1K banger with a few spare sets of wheels and all extra weight pulled out. I&#8217;d plonk the lot on a trailer and pull it to a local race circuit a couple of times a year where I can pay ~ £200 to hoon around the track all day. As soon as I&#8217;ve the space to store it all, this will become a reality.</p>
<p><strong>Have business interests that generate an income covering my outgoings <em>without</em> my day-to-day input<br />
<span style="color: #ff9900;"> Working on it</span></strong></p>
<p>My retirement plan. It&#8217;d need to cover all outgoings, including discretional spend (holidays etc). In contradiction to my S.M.A.R.T. point above I&#8217;ve not set a firm date on this yet as the house is the current primary objective, that said if I don&#8217;t nail this by the time I&#8217;m 50 I&#8217;ll be disappointed.</p>
<p><strong>Do the swim in a cage with Great White sharks outside thing before I die<br />
<span style="color: #ff0000;">Currently made no attempt</span></strong></p>
<p>*Shrug* I&#8217;ve always wanted to do it, better go to Auz at some point I guess.</p>
<p>That&#8217;s it. On re-reading them I&#8217;m aware that there&#8217;s quite a few material &amp; wealth related points there but then I&#8217;ve always been motivated by reward at some level.</p>
<p>What are yours?</p>
<p><em>Photo courtesy of <a href="http://www.flickr.com/photos/peterkaminski/51296708/">Peter Kaminski</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://bealers.com/2008/04/13/personal-goals/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blank Wordpress comments</title>
		<link>http://bealers.com/2008/04/11/blank-wordpress-comments/</link>
		<comments>http://bealers.com/2008/04/11/blank-wordpress-comments/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 07:04:46 +0000</pubDate>
		<dc:creator>Bealers</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://bealers.com/?p=496</guid>
		<description><![CDATA[I&#8217;ve been getting these since the recent 2.5 upgrade. I had other issues that I managed to fix by massaging the data structure so I&#8217;ll need to fix this too. I assume it&#8217;s because my WP install is around 4 years old and one of the upgrade scripts missed off a few schema changes.
Anyway, apologies [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been getting these since the recent 2.5 upgrade. I had other issues that I managed to fix by massaging the data structure so I&#8217;ll need to fix this too. I assume it&#8217;s because my WP install is around 4 years old and one of the upgrade scripts missed off a few schema changes.</p>
<p>Anyway, apologies in advance if you&#8217;ve actually commented on something and it has not shown.</p>
<p>A new comment on the post # &#8220;&#8221; is waiting for your approvalAuthor :  (IP:  , )</p>
<p>E-mail :<br />
URL    :<br />
Whois  : <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=" target="_blank">http://ws.arin.net/cgi-bin/whois.pl?queryinput=</a><br />
Comment:</p>
<p>Approve it: <a href="#" target="_blank">http://bealers.com/wp-admin/&#8230;..</a><br />
Delete it: <a href="#" target="_blank">http://bealers.com/wp-admin/&#8230;..</a><br />
Spam it: <a href="#" target="_blank">http://bealers.com/wp-admin/&#8230;..</a></p>
<p>Currently  comments are waiting for approval. Please visit the moderation panel:<br />
<a href="#" target="_blank">http://bealers.com/wp-admin/&#8230;..</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bealers.com/2008/04/11/blank-wordpress-comments/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Jean Michel Jarre - Oxygene Live at The Albert Hall</title>
		<link>http://bealers.com/2008/04/01/jean_michel_jarre_oxygene_live_at_the_albert_hall/</link>
		<comments>http://bealers.com/2008/04/01/jean_michel_jarre_oxygene_live_at_the_albert_hall/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 21:54:35 +0000</pubDate>
		<dc:creator>Bealers</dc:creator>
		
		<category><![CDATA[General]]></category>

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

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

		<guid isPermaLink="false">http://bealers.com/?p=494</guid>
		<description><![CDATA[
On Sunday Kurt and I went to see Jean Michel Jarre at The Albert Hall. He was for the first time ever playing Oxygene - his first album released in 1976 - live in its entirety.
We had top-dollar seats that gave us a very good view of the antiques that he was going to be [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://bealers.com/wp-content/uploads/2008/04/oxyge08680.jpg"><img class="alignleft size-full wp-image-495" title="Jarre" src="http://bealers.com/wp-content/uploads/2008/04/oxyge08680.jpg" alt="" width="350" height="222" /></a></p>
<p>On Sunday <a href="http://www.ozficici.com/">Kurt</a> and I went to see Jean Michel Jarre at The Albert Hall. He was for the first time ever playing Oxygene - his first album released in 1976 - live in its entirety.</p>
<p>We had top-dollar seats that gave us a very good view of the antiques that he was going to be using; a total old-school analoge synth-fest. It really was live too. He had three musicians helping him, each with their own huge bank of synths whilst Jarre was running around all over the shop twiddling knobs and pressing buttons and of course knocking out the odd tune; he was visibly relieved at the end with only a couple of mistakes that we could notice.</p>
<p>Whilst I&#8217;ve seen Jean Michel live before at his docklands concert yonks ago I&#8217;m really glad that I made the effort to go see him again. It was a top night and a quality show, I&#8217;ve also finally been to the Albert Hall which is a stunning venue.</p>
<p>I took some movies on my Nokia N93 which as you&#8217;d expect came out pretty rubbish with people&#8217;s heads in the way, however the sound is excellent. Here&#8217;s Oxygene IV in it&#8217;s entirety:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="http://www.youtube.com/v/3_bYccD5Av8&amp;hl=en" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/3_bYccD5Av8&amp;hl=en" wmode="transparent"></embed></object></p>
<p>Edit: <a href="http://www.youtube.com/watch?v=AlMIepNTVRk&amp;NR=1">This video</a> - also of Oxygene IV - is better quality &amp; taken by someone to the right of us and higher up. It gives a much better feel for the kit on show:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="http://www.youtube.com/v/AlMIepNTVRk&amp;hl=en" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/AlMIepNTVRk&amp;hl=en" wmode="transparent"></embed></object></p>
<p><strong>Edit2: </strong>YouTube gave me a slapped wrist for the videos so I&#8217;ve taken them down.</p>
]]></content:encoded>
			<wfw:commentRss>http://bealers.com/2008/04/01/jean_michel_jarre_oxygene_live_at_the_albert_hall/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Multipack&#8217;s March 2008 meeting</title>
		<link>http://bealers.com/2008/03/10/multipacks-march-2008-meeting/</link>
		<comments>http://bealers.com/2008/03/10/multipacks-march-2008-meeting/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 11:59:25 +0000</pubDate>
		<dc:creator>Bealers</dc:creator>
		
		<category><![CDATA[General]]></category>

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

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

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

		<guid isPermaLink="false">http://bealers.com/2008/03/10/multipacks-march-2008-meeting/</guid>
		<description><![CDATA[The Multipack describes itself as &#8220;a community of multi-talented Web professionals from across the West Midlands&#8221; and attending one of their meetings has been high on my list for over a year now. This Saturday I finally made the effort to get to Birmingham for the March meeting and it was definitely worth it.
I got [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://bealers.com/wp-content/uploads/2008/03/multipack.gif" alt="multipack.gif" style="margin-right: 10px" align="left" /><a href="http://www.multipack.co.uk/">The Multipack</a> describes itself as &#8220;a community of multi-talented Web professionals from across the West Midlands&#8221; and attending one of their meetings has been high on my list for over a year now. This Saturday I finally made the effort to get to Birmingham for the March meeting and it was definitely worth it.</p>
<p>I got there a bit late so didn&#8217;t manage to speak with all of the 15 or so people in attendance as the seating was initially an awkward L-Shape but they seemed a friendly, knowledgeable bunch and people started moving around soon enough. Discussions ranged from Mark James (of <a href="http://www.famfamfam.com/">FamFamFam</a> fame) describing the features of his pseudo-UML source code generator, the merits (or not) of twittering ones every mundane thought and super-mobile notebooks. I also got to put a face to the name of <a href="http://www.fullcreammilk.co.uk/about/">Owen Gregory</a>, had a general business chat with Noel Welsh and Dave Gurnell of <a href="http://www.untyped.com">Untyped</a>, bumped into <a href="http://www.383project.com/">Sukhi Dehal</a> again and had a good chat with <a href="http://www.thesitedoctor.co.uk/">Tim Gaunt</a> on the train home who also happens to be a fellow <a href="http://www.under-score.org.uk/">Underscore</a> subscriber.</p>
<p>I&#8217;m particularly excited by The Multipack as it&#8217;s (as far as I know) the only general interest gathering of web types round these parts, I like its relaxed beer and geekage attitude and although it&#8217;s a bit of a mission for me to get to - 1.5 hr journey each way including a £20 cab fair for the last stretch home from the train station (although that&#8217;s my fault for wanting to drink and living in the middle of nowhere) - I do think Birmingham is a sensible location for the meetings. I did also raise the subject of there being a mailing list aspect to the group which, as I&#8217;ve <a href="http://mailman.lug.org.uk/pipermail/phpwm/2008-January/002333.html">mentioned previously elsewhere</a>, would mean that people don&#8217;t have to remember to visit a website to have a conversation; everyone&#8217;s got email, right?</p>
<p>If you&#8217;re into web and available for the <a href="http://upcoming.yahoo.com/event/417758/">next meeting on the 12th of April</a> then you should definitely come along. It&#8217;s already in my diary.</p>
<p><strong>Update:</strong> There *is* a mailing list, hooray. <a href="http://groups.google.com/group/multipack">http://groups.google.com/group/multipack</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bealers.com/2008/03/10/multipacks-march-2008-meeting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Please redesign me!</title>
		<link>http://bealers.com/2008/02/21/retarded-design/</link>
		<comments>http://bealers.com/2008/02/21/retarded-design/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 09:49:59 +0000</pubDate>
		<dc:creator>Bealers</dc:creator>
		
		<category><![CDATA[General]]></category>

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

		<guid isPermaLink="false">http://bealers.com/2008/02/21/retarded-design/</guid>
		<description><![CDATA[Are you a designer? Do you fancy making this blog look less rubbish? If so please get in touch.
Siftware is already in the process of getting re-done so I figured my personal site should get updated at the same time.
Ideally we&#8217;ll do a trade on services, e.g. I&#8217;ll provide some dev time to you, but [...]]]></description>
			<content:encoded><![CDATA[<p>Are you a designer? Do you fancy making this blog look less rubbish? If so <a href="mailto:bealers@gmail.com">please get in touch</a>.</p>
<p><a href="http://www.siftware.co.uk">Siftware</a> is already in the process of getting re-done so I figured my personal site should get updated at the same time.</p>
<p>Ideally we&#8217;ll do a trade on services, e.g. I&#8217;ll provide some dev time to you, but if that doesn&#8217;t work then I&#8217;m happy to pay going rates.</p>
<p>Rough brief is:</p>
<ul>
<li>2/3 column layout</li>
<li>Deliver layered PSD ready for me to mark-up</li>
<li>Must be able to cope with largish posted images, swathes of example code and a bunch of widgets</li>
<li>There&#8217;ll be a lot of text</li>
</ul>
<p>I&#8217;ll provide more should we agree terms.</p>
<p><strong>Update: I&#8217;ve come to an agreement with somebody now thanks, more in due course.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://bealers.com/2008/02/21/retarded-design/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Scarlett Eve Beale</title>
		<link>http://bealers.com/2008/01/24/scarlett-eve-beale/</link>
		<comments>http://bealers.com/2008/01/24/scarlett-eve-beale/#comments</comments>
		<pubDate>Thu, 24 Jan 2008 10:25:33 +0000</pubDate>
		<dc:creator>Bealers</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://bealers.com/2008/01/24/scarlett-eve-beale/</guid>
		<description><![CDATA[..was born this morning at 4:59am weighing in at 6lb 13oz. Mother and baby doing well.
 
]]></description>
			<content:encoded><![CDATA[<p>..was born this morning at 4:59am weighing in at 6lb 13oz. Mother and baby doing well.</p>
<p> <img src="http://bealers.com/wp-content/uploads/2008/01/ackers-and-scarlett.jpg" alt="ackers-and-scarlett.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://bealers.com/2008/01/24/scarlett-eve-beale/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Multiple project Trac set-up</title>
		<link>http://bealers.com/2008/01/03/multiple-project-trac-set-up/</link>
		<comments>http://bealers.com/2008/01/03/multiple-project-trac-set-up/#comments</comments>
		<pubDate>Thu, 03 Jan 2008 10:15:01 +0000</pubDate>
		<dc:creator>Bealers</dc:creator>
		
		<category><![CDATA[General]]></category>

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

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

		<category><![CDATA[top-top]]></category>

		<guid isPermaLink="false">http://bealers.com/2008/01/03/multiple-project-trac-set-up/</guid>
		<description><![CDATA[I&#8217;ve already installed Trac and I now want to be able to set-up multiple projects with the minimum of fuss.
My requirements are:

Not having to mess with the Apache configuration every time I add a new project because I don&#8217;t want to have to restart apache
Make some simple modifications to the stanadard trac.ini so that, for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve already <a href="http://bealers.com/2008/01/01/installing-trac-on-debian-etch/">installed Trac</a> and I now want to be able to set-up multiple projects with the minimum of fuss.</p>
<p>My requirements are:</p>
<ul>
<li>Not having to mess with the Apache configuration every time I add a new project because I don&#8217;t want to have to restart apache</li>
<li>Make some simple modifications to the stanadard trac.ini so that, for example, the logo at the top links to the home of that trac project</li>
<li>Improve upon the default authentication where logging out involves closing the browser (which is a drag when accessing multiple projects)</li>
<li>Change the default wiki page text</li>
</ul>
<p>The most important job is to get Apache set-up properly. I&#8217;m using mod_python so:<br />
<code>apt-get install libapache2-mod-python</code></p>
<p>I then set-up a VirtualHost for http://my.trac.url, thus:</p>
<p><code>&lt;VirtualHost *&gt;<br />
DocumentRoot /var/www/my.trac.docroot<br />
ServerName my.trac.url<br />
ServerAdmin webmaster@my.trac.url<br />
LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""<br />
TransferLog /var/log/apache2/trac-access.log<br />
ErrorLog /var/log/apache2/trac-error.log</code></p>
<p><code>&lt;LocationMatch "/.+/"&gt;<br />
SetHandler mod_python<br />
PythonInterpreter main_interpreter<br />
PythonHandler trac.web.modpython_frontend<br />
PythonPath "sys.path + ['/export/trac']"<br />
PythonOption TracEnvParentDir /export/trac<br />
PythonOption TracUriRoot /<br />
&lt;/LocationMatch&gt;</code></p>
<p><code>&lt;/VirtualHost&gt;</code></p>
<p>Note the <strong>LocationMatch</strong>. From the docs:</p>
<blockquote><p>This will instruct Apache to use mod_python for all locations different from root while having the possibility of placing a custom home page for root in your DocumentRoot folder.</p></blockquote>
<p>Therefore in /var/www/my.trac.docroot I&#8217;ve placed a one line PHP script that redirects users to our main website url.</p>
<p>After restarting Apache I then set-up a new project &#8216;project1&#8242; as per my <a href="http://bealers.com/2008/01/01/installing-trac-on-debian-etch/">mini Trac install how-to</a> and visiting http://my.trac.url/project1/ gives me the vanilla Trac interface so we know it&#8217;s all working.</p>
<p>The rest of the configuration is with Trac itself and is down to personal requirements and mine are already listed above. I&#8217;ve scripted everything I need to do to get a new project up and running and don&#8217;t intend to go though it all here. You can however <a href="http://bealers.com/wp-content/uploads/2008/01/traccreatesh1.gz" title="traccreatesh.gz">download it</a> and use it for your own purposes. You use this at your own risk and you should bear in mind the following cavets:</p>
<ul>
<li>Assumes that the <a href="http://trac-hacks.org/wiki/AccountManagerPlugin">Account Manager plugin</a> is already installed. I did <code>easy_install http://trac-hacks.org/svn/accountmanagerplugin/trunk</code></li>
<li><code></code>The first user input is used as the Trac project name AND should match the name of the already set-up svn project</li>
<li>I&#8217;m using MySQL on the backend</li>
<li>A few of the trac.ini settings at the end are hard-coded though it is easy to change them</li>
</ul>
<p>I&#8217;m a lot more impressed with this version of Trac than the much older version we were using before and with the above set-up I can now have a project up and running within a few minutes.<br />
<strong>Related</strong><br />
<a href="http://trac.edgewall.org/wiki/TracModPython">http://trac.edgewall.org/wiki/TracModPython</a><br />
<a href="http://trac-hacks.org/wiki/AccountManagerPlugin">http://trac-hacks.org/wiki/AccountManagerPlugin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bealers.com/2008/01/03/multiple-project-trac-set-up/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Vim auto indenting</title>
		<link>http://bealers.com/2008/01/02/vim-auto-indenting/</link>
		<comments>http://bealers.com/2008/01/02/vim-auto-indenting/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 11:56:12 +0000</pubDate>
		<dc:creator>Bealers</dc:creator>
		
		<category><![CDATA[General]]></category>

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

		<category><![CDATA[top-tip]]></category>

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

		<guid isPermaLink="false">http://bealers.com/2008/01/02/vim-auto-indenting/</guid>
		<description><![CDATA[I used to get annoyed when pasting text into a Vim window as each line would indent one more tab than the last line.
To fix it I used to add set noautoindent in /etc/vimrc, however this unsurprisingly  turns off auto indenting, which is a useful feature for normal typing.
Today I came up with a [...]]]></description>
			<content:encoded><![CDATA[<p>I used to get annoyed when pasting text into a Vim window as each line would indent one more tab than the last line.</p>
<p>To fix it I used to add <code>set noautoindent</code> in /etc/vimrc, however this unsurprisingly  turns off auto indenting, which is a useful feature for normal typing.</p>
<p>Today I came up with a definitive solution to this by setting a key binding for &#8216;pastetoggle&#8217;. Now in vimrc  is the line:</p>
<p><code>set pastetoggle=&lt;F11&gt;</code></p>
<p>..meaning that should I need to paste in some formated text I simply press F11 when in insert mode to enter paste mode,  paste my text in and then F11 again to exit paste mode (but still be in insert).</p>
<p>One could also do <code>:set paste</code> and <code>:set nopaste</code>, but this was far too much typing for my liking.</p>
<p>Note: This is working for me in Vim 7.0</p>
]]></content:encoded>
			<wfw:commentRss>http://bealers.com/2008/01/02/vim-auto-indenting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Subversion over ssh</title>
		<link>http://bealers.com/2008/01/02/subversion-over-ssh/</link>
		<comments>http://bealers.com/2008/01/02/subversion-over-ssh/#comments</comments>
		<pubDate>Tue, 01 Jan 2008 23:28:46 +0000</pubDate>
		<dc:creator>Bealers</dc:creator>
		
		<category><![CDATA[General]]></category>

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

		<category><![CDATA[top-tip]]></category>

		<guid isPermaLink="false">http://bealers.com/2008/01/02/subversion-over-ssh/</guid>
		<description><![CDATA[My background task over the Christmas holidays was to ensure that I had the ability to give read/write access to a subversion repository situated on a machine within our corporate network so that staff or external contractors can access it via the interweb but without me needing to open up additional ports on our firewall.
The [...]]]></description>
			<content:encoded><![CDATA[<p>My background task over the Christmas holidays was to ensure that I had the ability to give read/write access to a subversion repository situated on a machine within our corporate network so that staff or external contractors can access it via the interweb but without me needing to open up additional ports on our firewall.</p>
<p>The server running Debian &#8216;etch&#8217; is sitting within our DMZ and is only open to the outside world via port 80 for apache and also for ssh listening on a non-standard port. Internally we can access the repositories using the svn:// method between the internal network and the DMZ using the standard svn password-db authentication (and the handy password caching that this provides).</p>
<p>To give external access it seemed a no-brainer that I&#8217;d tunnel over ssh especially when I found out that I could set it up so that authentication would be dealt with by maintaining system (i.e. ssh) users for remote access (which all relevant staff have anyway) and could then administrate separately my local-only svn users that access via the plain-text svn://method. On balance I figured this would work for me as I&#8217;d rarely need to give access to an &#8216;outsider&#8217; and when I did then them having a non-privileged user account on the machine wouldn&#8217;t be a big deal.</p>
<p>In the end it turned out to not be <em>too </em>difficult to get working though there was a bit of hoop jumping; I was expecting as much after reading this <a href="http://svnbook.red-bean.com/en/1.4/svn.serverconfig.multimethod.html">in the svn book</a>:</p>
<blockquote><p>Once you&#8217;ve jumped through these hoops, your repository should be accessible by all the necessary processes. It may seem a bit messy and complicated, but the problems of having multiple users sharing write-access to common files are classic ones that are not often elegantly solved.</p></blockquote>
<p>Permissions were the biggest issue and the first thing that I did was to add all external users to the svn group. I already have everything chmoded 2770 with owner/group being &#8217;svn&#8217; but when accessing over ssh the lock files (amongst others) are read-only for everyone except the svn user. To fix this I had to create two wrapper scripts for the svn and svnserve binaries respectively that set the correct umask:</p>
<p><code>#!/bin/sh</code><br />
<code>umask 002<br />
/usr/bin/svn-real "$@"</code></p>
<p>&#8230;where svn-real is the renamed svn binary and this script is /usr/bin/svn, repeat for /usr/bin/svnserve.</p>
<p>That was pretty much it except that for external access the way to connect was slightly different. Firstly the connection &#8216;URL&#8217; was of the form svn+ssh:// for example:<br />
<code>svn co svn+ssh://hostname/path/to/remote/project/trunk </code></p>
<p>Also, because we&#8217;re connecting over ssh via a non-standard port I needed to set an environment variable for the user on the client machine. To do so I simply added the following to their ~/.profile:<br />
<code>export SVN_SSH="ssh -p PORT_NUMBER"</code>.</p>
<p>That was it.</p>
<p>So, in summary to give external access all I now need do is:</p>
<ul>
<li>Create a system account on the svn server</li>
<li>Add that account to the svn group</li>
<li>Tell that user to create a local SVN_SSH environment variable so they connect via ssh over the right non-standard port</li>
</ul>
<p>Complicated to set-up? Not really. Easy to administer? Yes. Secure? As good as I could make it.</p>
]]></content:encoded>
			<wfw:commentRss>http://bealers.com/2008/01/02/subversion-over-ssh/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
