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

<channel>
	<title>That Fleming Gent</title>
	<atom:link href="http://www.thatfleminggent.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thatfleminggent.com</link>
	<description>A gentleman, tinkerer,  scholar, wanderer....</description>
	<pubDate>Fri, 03 Jul 2009 11:38:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/>		<item>
		<title>Too Fscking Clever</title>
		<link>http://www.thatfleminggent.com/2009/07/03/too-fscking-clever</link>
		<comments>http://www.thatfleminggent.com/2009/07/03/too-fscking-clever#comments</comments>
		<pubDate>Fri, 03 Jul 2009 11:38:58 +0000</pubDate>
		<dc:creator>Michael Fleming</dc:creator>
		
		<category><![CDATA[Just Livin']]></category>

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

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

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

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

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

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

		<guid isPermaLink="false">http://www.thatfleminggent.com/?p=430</guid>
		<description><![CDATA[
If you have six discrete crontabs for a relatively small set of tasks instead of two (or even just one) you may be Too Fscking Clever.
If your SQL statement has five or more JOINS in it, you may be Too Fscking Clever (or a web development framework ORM)
If you are asked to forward ports to [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>If you have six discrete crontabs for a relatively small set of tasks instead of two (or even just one) you may be Too Fscking Clever.</li>
<li>If your SQL statement has five or more JOINS in it, you may be Too Fscking Clever (or a web development framework ORM)</li>
<li>If you are asked to forward ports to a host and instead DNAT the entire IP address, you may find that your Too Fscking Clever-ness will bite your arse when the usage case changes. Thinking it won&#8217;t is a sign of <strong>severe</strong> Too Fscking Clever Syndrome.</li>
<li>&#8220;We should cache this data for as long as humanly possible (what&#8217;s stale data?)&#8221; or &#8220;We should only cache this in RAM for 5mins (and refetch from a  large table?)&#8221; are classic Too Fscking Clever symptoms.</li>
</ul>
<p>If you or someone you know has symptoms of Too Fscking Clever syndrome, often identifiable as a frequent need to overengineer what should be a simple solution, invite design by committee or overthink a problem ignoring practical usage cases and requirements,  suggest seeking immediate help before TFC develops into Solution Looking For A Problem Disease, which can in turn lead to madness or a career in Windows Server administration.</p>
<p>Treatment often involves simple counselling (of the W. Venema &#8220;what problem are you actually trying to solve&#8221; method or similar), introduction to Occam&#8217;s Razor, or in extreme cases flogging the subject with a copy of Plan 9 until s/he has an epiphany and tries to simply just get the job done.</p>
<p>This has been a Public Service Announcement.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.thatfleminggent.com%2F2009%2F07%2F03%2Ftoo-fscking-clever&amp;linkname=Too%20Fscking%20Clever"><img src="http://www.thatfleminggent.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.thatfleminggent.com/2009/07/03/too-fscking-clever/feed</wfw:commentRss>
		</item>
		<item>
		<title>Things I thought I&#8217;d never see</title>
		<link>http://www.thatfleminggent.com/2009/06/27/things-i-thought-id-never-see</link>
		<comments>http://www.thatfleminggent.com/2009/06/27/things-i-thought-id-never-see#comments</comments>
		<pubDate>Sat, 27 Jun 2009 12:21:14 +0000</pubDate>
		<dc:creator>Michael Fleming</dc:creator>
		
		<category><![CDATA[Just Livin']]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://www.thatfleminggent.com/2009/06/27/things-i-thought-id-never-see</guid>
		<description><![CDATA[If I hadn&#8217;t been present for these, I&#8217;d probably call myself a bullspit artist. But I swear on a stack of $documents I was there and my experiences are 100% true.
Firstly, I thought I&#8217;d never ever see a web framework&#8217;s object relationship model used as a database stress tester (cheers Django!). I don&#8217;t think it [...]]]></description>
			<content:encoded><![CDATA[<p>If I hadn&#8217;t been present for these, I&#8217;d probably call myself a bullspit artist. But I swear on a stack of $documents I was there and my experiences are 100% true.</p>
<p>Firstly, I thought I&#8217;d never ever see a web framework&#8217;s object relationship model used as a database stress tester (cheers Django!). I don&#8217;t think it was intended as such but some of the queries it&#8217;s generating are just hideous and driving load averages to insane levels.</p>
<p>Secondly - I have two USB keys in front of me. Nothing really unusual about that, except they have &#8220;Windows + PHP: Platform of Choice&#8221; on them. Yes, I raised an eyebrow too, and I&#8217;ve actually done Windows on PHP before at an old workplace.</p>
<p>Choice, PHP and Windows Server from experience boils down to this, in my experience:  a) Run as FastCGI or b) Endure a world of suffering (the ISAPI is awful and suphp doesn&#8217;t exist).</p>
<p>I&#8217;ll of course advocate c) Run it on a Linux box as a DSO / suphp / under mod_fcgid process as your needs dictate - at least they&#8217;ll all actually work as you&#8217;d expect. <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I got the keys from a presentation / open session run by a good friend and former work colleague Jorke Odolphi, now working for Microsoft (but still genuinely interested in F/OSS, I&#8217;ve trained him <em>fairly</em> well) and &#8220;Professional Geek&#8221; Nick Hodge (also a pleasant and well versed chap).</p>
<p>Microsoft having an open session on OSS was not something my curiousity would let me miss, so off I went. I applaud Nick and Jorke for having a go - the turnout wasn&#8217;t huge but the session was very lively and definitely worthwhile.</p>
<p>Writing up an auto-installer for FOSS web apps under Win/IIS was a nice touch, and now you know how difficult it is to implement a depsolver <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> IronPython / IronRuby are interesting ideas (the Parrot project / Perl6 peeps are doing almost the same thing and Java has been doing it for ages) but your usage case might be a bit of a corner one. We are all aware in the OSS world how charmingly limited the PHP database drivers can be (hence PECL alternatives and native drivers) so you&#8217;re part of a large-ish crowd there <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>But chaps you&#8217;re going to be pushing harder than Sisyphus to get some real FOSS cred for your bosses, if they genuinely want them.</p>
<p>I&#8217;m not going to delve deeply the licensing side of things (for good reason, there&#8217;s a post of it&#8217;s own) but a BSD-like license isn&#8217;t likely to get you the community you might want - it&#8217;s not really Free and there&#8217;s nary a nod to those making code / docs or other contributions (contributor doesn&#8217;t mean distributor by the way, if anyone from MS is reading)</p>
<p>The existing culture and mindset and that of Microsoft, it&#8217;s partners and some users is fatal to any &#8220;open source&#8221; initiative in my view (this doesn&#8217;t mean I&#8217;m unhappy to see an attempt, it shows the strength and relevance of communities like Fedora&#8217;s - or any other distribution&#8217;s for that matter)</p>
<p>They&#8217;re a cathedral; the faithful are handed tools and protocols blessed by the Powers That Be, with such tools/protocols invariably created because they help maintain the status quo (commercially advantageous to the &#8220;church&#8221;, closely coupled together to ensure/encourage adherence / lock in etc.) - many don&#8217;t know of or even see anything outside of the cathedral! Compare to the marketplace that&#8217;s Free Software - don&#8217;t like a tool/protocol? There&#8217;s other stalls with alternatives. Pick up a few and you&#8217;re building your own in no time and trying out ideas they may not even had considered before.</p>
<p>That&#8217;s the worrying part for the &#8220;high priests&#8221; - if the &#8220;faithful&#8221; are choosing their own tools for their own purposes (not just building using blessed tools for those protocols deemed desirable or &#8220;holy&#8221;) what&#8217;s to stop them straying from the rest of the flock? If the market allows you to build your own stall and offer your own wares, why go to the cathedral and be told how what to use?</p>
<p>I&#8217;m sure Microsoft&#8217;s upper management are happy (even if their outward demeanor may not show it) to see the projects around the Codeplex - still centred almost solely around their own technologies - .NET / IIS / Sharepoint / Windows Live Auth. Nothing really innovative and widely interoperable (and decoupled from other MS tech) like XMPP or memcached / OpenID / Laconica..</p>
<p>The real test will be projects that tie to *<strong>genuinely</strong>* open tech, a completely non-MS solution. I suspect the &#8220;high priests&#8221; may quietly sideline such &#8220;heresy&#8221;, even if the frontline preachers do not. <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Lastly: To answer a question posed to me by James Morris via identi.ca: I asked about the IE8 and $10K giveaway: Technically it was mind bogglingly simple: IE8 has a little &#8220;feature&#8221; where it will display these &#8220;web slices&#8221; on certain pages like a favourite / bookmark. Find the &#8220;splice&#8221; with the winning content (on an MS partner site of course) and the 10K is yours.</p>
<p>The splice itself is just a boring standard DIV element with a &#8220;hslice&#8221; class.<br />
But the hack worked for Microsoft Australia marketing, so I suppose it serves it&#8217;s purposes.</p>
<p>Of course there were Chrome and Firefox extensions to support this behaviour almost immediately <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The post is bought to you by <a href="http://fedorahosted.org/lekhonee">lekhonee</a> v0.4</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.thatfleminggent.com%2F2009%2F06%2F27%2Fthings-i-thought-id-never-see&amp;linkname=Things%20I%20thought%20I%26%238217%3Bd%20never%20see"><img src="http://www.thatfleminggent.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.thatfleminggent.com/2009/06/27/things-i-thought-id-never-see/feed</wfw:commentRss>
		</item>
		<item>
		<title>Vale SORBS, we&#8217;ll hardly miss ye&#8230;</title>
		<link>http://www.thatfleminggent.com/2009/06/24/vale-sorbs-well-hardly-miss-ye</link>
		<comments>http://www.thatfleminggent.com/2009/06/24/vale-sorbs-well-hardly-miss-ye#comments</comments>
		<pubDate>Wed, 24 Jun 2009 10:13:26 +0000</pubDate>
		<dc:creator>Michael Fleming</dc:creator>
		
		<category><![CDATA[Just Livin']]></category>

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://www.thatfleminggent.com/?p=420</guid>
		<description><![CDATA[SORBS is on death&#8217;s door.
I can&#8217;t say I&#8217;m unhappy to see this or i&#8217;ll miss it when it&#8217;s gone. An arbitrary definition of &#8220;spam&#8221; is not so good; providing almost no information to administrators and end users is just plain poor and demanding a &#8220;donation&#8221; for removal is just plain bovine excrement.
Something I learned from [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://it.slashdot.org/story/09/06/24/0013215/The-Imminent-Demise-of-SORBS" target="_blank">SORBS is on death&#8217;s door.</a></p>
<p>I can&#8217;t say I&#8217;m unhappy to see this or i&#8217;ll miss it when it&#8217;s gone. An arbitrary definition of &#8220;spam&#8221; is not so good; providing almost no information to administrators and end users is just plain poor and demanding a &#8220;donation&#8221; for removal is just plain bovine excrement.</p>
<p>Something I learned from my formative years as a neophyte mail admin-in-training on news.admin.net-abuse.email was that if you wanted to run a blacklist and be taken seriously, you need a fair deal of transparency (ie provide info on why/how a server got listed and a means to resolve the issue) and fairly sane and personable demeanour, and a clear and stricly enforced policy on listing.</p>
<p>Unfortunately SORBS failed all of these in my experience.</p>
<p>One of my old jobs was to handle abuse@ at a Large Australian Hosting Provider (now part of MelbourneIT) along with my regular systems admin / support duties.</p>
<p>Alas, as unfortunately happens in large network / hosting ops, a customer spews some junk. We found and terminated the perp, but not before getting blacklisted.</p>
<p>A quick check of the major lists found the evidence / reason for listing and after informing them that we&#8217;d resolved the issue removal was quite swift.</p>
<p>But not SORBS. After jumping through a couple of hoops to find out how / when the servers got listed, no evidence for it&#8217;s addition was found aside a single &#8220;Recieved:&#8221; email header - which is easily forged (and at the time quite popular with spammers to confuse less experienced users/admins)</p>
<p>Our request for more information was met with little more than &#8220;I have proof, but I&#8217;m not sharing any more&#8221; and removal was met with &#8220;Donate to the fund supporting Mr Anti-Spammer, who&#8217;s being sued for defamation by WeSpamYou Pty. Ltd and I&#8217;ll remove it&#8221;  (names spared to protect the innocent).</p>
<p>W.T.F? Of course the answer was &#8220;no&#8221; (with the backing of management) especially after I pointed out the case had been settled, in the anti-spammer&#8217;s favour. This was changed to a &#8220;donate to $charity&#8221; after I reminded Mr/Ms Sullivan of that fact.</p>
<p>It still didn&#8217;t act as a deterrent (even Legal pointing out that it&#8217;s potentially extortion didn&#8217;t work!) so I just gave up and stopped bothering with him. You know what they say about arguing with an idiot - they bring you to their level and beat you with experience.</p>
<p>Henceforth, I&#8217;ve been advising mail administrators not to use SORBS zones. Customers getting bounces mentioning SORBS got a boilerplate response outlining the situation and why using opaque and arbitrary lists are a Bad Thing (worded appropriately for on-forwarding to ISPs as applicable). I don&#8217;t recall ever getting one complaint, as most of the major ISPs here didn&#8217;t use it to block mail anyway and smaller players generally got the message once made aware.</p>
<p>There are far better alternatives that don&#8217;t generate so many false positives, catch more genuine spam and don&#8217;t shake down mail admins / abuse guys for removal. I personally use <a href="http://www.spamhaus.org/zen/index.lasso">zen.spamhaus.org</a> for my DNS blacklist needs and it&#8217;s never let me down in over 6 years (tied into a multitude of Postfix and Exim installs for small and large mail providers alike)</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.thatfleminggent.com%2F2009%2F06%2F24%2Fvale-sorbs-well-hardly-miss-ye&amp;linkname=Vale%20SORBS%2C%20we%26%238217%3Bll%20hardly%20miss%20ye%26%238230%3B"><img src="http://www.thatfleminggent.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.thatfleminggent.com/2009/06/24/vale-sorbs-well-hardly-miss-ye/feed</wfw:commentRss>
		</item>
		<item>
		<title>More of Michael&#8217;s Not So Quick Tips</title>
		<link>http://www.thatfleminggent.com/2009/06/21/more-of-michaels-not-so-quick-tips</link>
		<comments>http://www.thatfleminggent.com/2009/06/21/more-of-michaels-not-so-quick-tips#comments</comments>
		<pubDate>Sun, 21 Jun 2009 13:37:21 +0000</pubDate>
		<dc:creator>Michael Fleming</dc:creator>
		
		<category><![CDATA[Just Livin']]></category>

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

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

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

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

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

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

		<guid isPermaLink="false">http://www.thatfleminggent.com/?p=413</guid>
		<description><![CDATA[Migration
I migrated my filesystems to ext4 (I&#8217;ve come from an all0ext3 F10 to F11 upgrade, FWIW) and just like to mention that if you&#8217;re migrating your root filesystem you might want to regenerate your initrd via mkinitrd; the stock one I had didn&#8217;t seem to like ext4 (complained about unsupported filesystem options at boot time [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Migration</strong></p>
<p>I migrated my filesystems to ext4 (I&#8217;ve come from an all0ext3 F10 to F11 upgrade, FWIW) and just like to mention that if you&#8217;re migrating your root filesystem you might want to regenerate your initrd via mkinitrd; the stock one I had didn&#8217;t seem to like ext4 (complained about unsupported filesystem options at boot time and failed dismally) but a quick initrd rebuild in rescue mode had me up and running in minutes.</p>
<p>I didn&#8217;t see this mentioned anywhere - perhaps I&#8217;m a corner case - but I thought I&#8217;d record it for posterity in case someone else finds it useful - or desperately needs it!</p>
<p><strong>Backup</strong></p>
<p>If you&#8217;re looking for a simple, cron-capable no-fuss delta/differential backup solution (looks over in <a title="Backup strategies" href="http://thecodergeek.com/post/224" target="_blank">Peter Gordon&#8217;s</a> direction) I&#8217;d consider the &#8220;rdiff-backup&#8221; package, which has been in Fedora for quite some time, does rsync-like backups of reversed diffs - the actual data transfer is small, you can do &#8220;point in the past&#8221; backups with little fuss plus if you want just the last copy, you can just grab it from the backup tree as-is, without a need to invoke rdiff-backup&#8217;s restore (rdiff-backup -r) option. All you need is SSH set up between two hosts, ideally pubkey auth or GSSAPI (ie passwordless or pre-authenticated)</p>
<p>To back up a home dir (~fred) to a remote server, barney:</p>
<p style="padding-left: 30px;">rdiff-backup /home/fred barney::/home/fred.backup</p>
<p>To restore tmp/wilma from last week (7 days)</p>
<p style="padding-left: 30px;">rdiff-backup -r 7D barney::/home/fred.backup/tmp/wilma /home/fred/tmp/wilma</p>
<p>How simple is that?</p>
<p><strong>Hacks for database admins</strong></p>
<p>This is an ugly idea, but it&#8217;s functional and insanely simple:</p>
<p>Much of my day-to-day systems admin work is with web developers and frameworks. Some frameworks in my experience, whilst being insanely great and powerful for a developer have an unfortunate tendency to hide things under the hood - one example is where the framework defines the database schema (via ORM et. al) but keeps it fairly opaque to the developer - leaving it to the DBA / system admin to work out what may have changed.</p>
<p>This can be a PITA for both developer and systems mangler alike - the developer isn&#8217;t always sure if it&#8217;s introducing a regression and the DBA/sysadmin wondering about the performance difference.</p>
<p>Both PostgreSQL (pg_dump -s  or &#8211;schema) and MySQL (mysqldump -d or &#8211;no-data) allow you to save schema-only dumps of databases (I&#8217;m not sure about Firebird or others, I&#8217;ve not tried them out lately)</p>
<p>I take this at regular intervals and check it in to version control - I can then see changes via standard VC diff commands. It&#8217;s a simple hack but it&#8217;s functional and requires no extra tools.</p>
<p>This came about because I need to maintain a script that purges old data from a pgsql database, including foreign keys (manually as the schema doesn&#8217;t grok DELETE CASCADE) and a change in the FK relations means that my script broke - if I can follow the schema changes it becomes trivial to add in the FK changes needed. <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.thatfleminggent.com%2F2009%2F06%2F21%2Fmore-of-michaels-not-so-quick-tips&amp;linkname=More%20of%20Michael%26%238217%3Bs%20Not%20So%20Quick%20Tips"><img src="http://www.thatfleminggent.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.thatfleminggent.com/2009/06/21/more-of-michaels-not-so-quick-tips/feed</wfw:commentRss>
		</item>
		<item>
		<title>Presto, We Have No Gallery!</title>
		<link>http://www.thatfleminggent.com/2009/06/18/presto-we-have-no-gallery</link>
		<comments>http://www.thatfleminggent.com/2009/06/18/presto-we-have-no-gallery#comments</comments>
		<pubDate>Thu, 18 Jun 2009 13:51:39 +0000</pubDate>
		<dc:creator>Michael Fleming</dc:creator>
		
		<category><![CDATA[Just Livin']]></category>

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

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

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

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

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

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

		<category><![CDATA[yum-presto]]></category>

		<guid isPermaLink="false">http://www.thatfleminggent.com/?p=374</guid>
		<description><![CDATA[Fedora / Linux stuff:
For those users of my package set, you can now use yum-presto to grab deltarpms of my packages for Fedora 10 and 11. This should make your life easier - I know my upstream link isn&#8217;t always fast so the less traffic over it the better for you guys - it&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>Fedora / Linux stuff:</p>
<p>For those users of my package set, you can now use yum-presto to grab deltarpms of my packages for Fedora 10 and 11. This should make your life easier - I know my upstream link isn&#8217;t always fast so the less traffic over it the better for you guys - it&#8217;s a good thing I don&#8217;t do 120+mb packages like Danger From The Deep anymore eh? :-). Feedback welcomed as always.</p>
<p>The last push of Fedora updates hit my local mirror and mostly played nice, except Gallery2 which leads me to:</p>
<p><strong>General Non-Linux-Specific Stuff:</strong></p>
<p>&#8230; the gallery, which has borked itself. Oh Gallery2, why do you mock me?</p>
<p>I used to keep a bunch of old photos - taken or just collected, under /gallery.</p>
<p>As some were of an ex-acquaintance of mine, Tina Wallmann, they proved quite popular and widely linked to (she&#8217;s a bikini model and has large *ahem* tracts of land :-))</p>
<p>But they&#8217;re old, we&#8217;ve long since parted company (have not seen her in a couple of years and she seems disinterested in old friends back here in Brisbane, having moved on to a different crowd in Sydney) and it tends to detract from more interesting content on the site, I&#8217;ve decided to let &#8216;em go. I&#8217;ll get less page impressions, but it&#8217;s quality not quantity I&#8217;d prefer. Gentlemen will just have to look elsewhere for their &#8220;evening private entertainment&#8221;.</p>
<p>The remnants I&#8217;ve pushed up to Flickr and integrated into my Wordpress install via Fidgetr. It&#8217;s a decent compromise I think.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.thatfleminggent.com%2F2009%2F06%2F18%2Fpresto-we-have-no-gallery&amp;linkname=Presto%2C%20We%20Have%20No%20Gallery%21"><img src="http://www.thatfleminggent.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.thatfleminggent.com/2009/06/18/presto-we-have-no-gallery/feed</wfw:commentRss>
		</item>
		<item>
		<title>I&#8217;m IPv6 ready - are you?</title>
		<link>http://www.thatfleminggent.com/2009/06/16/im-ipv6-ready-are-you</link>
		<comments>http://www.thatfleminggent.com/2009/06/16/im-ipv6-ready-are-you#comments</comments>
		<pubDate>Tue, 16 Jun 2009 10:48:35 +0000</pubDate>
		<dc:creator>Michael Fleming</dc:creator>
		
		<category><![CDATA[Linux]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://www.thatfleminggent.com/?p=356</guid>
		<description><![CDATA[Firstly for those wondering about Courier-IMAP / authlib / maildrop+authlib packages for Leonidas:  I&#8217;ve built them successfully - only a minor adjustment needed after all that -  and it&#8217;s available in the usual place. Enjoy, and let me know if there&#8217;s any bugs / issues.
(For a change I managed to get them out the door [...]]]></description>
			<content:encoded><![CDATA[<p>Firstly for those wondering about Courier-IMAP / authlib / maildrop+authlib packages for Leonidas:  I&#8217;ve built them successfully - only a minor adjustment needed after all that -  and it&#8217;s available in the usual place. Enjoy, and let me know if there&#8217;s any bugs / issues.</p>
<p>(For a change I managed to get them out the door before someone emailed me asking where they were. Miracles happen! :-P)</p>
<p>I was quite surprised - and pleased - to check my website stats and find that my most frequent visitor is an IPv6 address:</p>
<div id="attachment_355" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.thatfleminggent.com/wp-content/uploads/2009/06/ipv6stats.png"><img class="size-medium wp-image-355" title="IPv6 in AWStats" src="http://www.thatfleminggent.com/wp-content/uploads/2009/06/ipv6stats-300x53.png" alt="IPv6 in AWStats for ThatFlemingGent" width="300" height="53" /></a><p class="wp-caption-text">IPv6 in AWStats for ThatFlemingGent</p></div>
<p>(If only the GeoIP database had an idea about IPv6 netblock ownership&#8230;)</p>
<p>A good friend of mine is a network administrator for a fair size network - two AS&#8217; under his control and a network covering the Australian eastern seaboard. He&#8217;s often tasked with finding additional IPv4 address space</p>
<p>Because <a title="IPv4 Address Exhaustion - Geoff Huston" href="http://www.potaroo.net/tools/ipv4/index.html" target="_blank">IPv4 addressing is becoming scarce</a> the registrars in many locales (APNIC in his and my case) set a high bar for new allocations to network service providers (must use 80% of existing allocation, justify new allocations for a max of a /22 last I heard) - and rightfully so. They&#8217;re not toffees and they are indeed becoming quite scarce, moreso with increasing takeup of internet-enabled mobile devices and broader broadband availability.</p>
<p>Yes, there are other options such as NAT (Network Address Translation) and name-based virtual hosting to mitigate many issues - but not all applications play nice behind NAT, Voice apps and some games being good examples - and port forwarding isn&#8217;t simple for the novice user.</p>
<p><em>IPv6, step up to the plate! </em> Support in Linux has been around for aeons and it&#8217;s rock solid. If you&#8217;re already IPv6-enabled, you&#8217;re likely talking to me over it now[1]. It&#8217;s even on by default with &#8220;link-local&#8221; fe80:: class addressing ubiquitous on new installs (even if there&#8217;s a lot of frankly ordinary advice on turning it off!)</p>
<p>For Fedora, there&#8217;s a number of options for public IPv6 - the documents for the &#8220;<strong><em>initscripts</em></strong>&#8221; package show the basics of IPv6 quasi-native tunnelling and &#8220;6to4&#8243; tunnelling and are a good starting point</p>
<p>The latter is easier and a good option if you don&#8217;t have a nearby tunnel broker / point of presence like SiXXS, Hurricane Electric or a provider offering a Hexago-like service.</p>
<p>(Australia is a good example - the AARNet educational network offers such a service, as does Internode for it&#8217;s customers; Telstra may still do so but that&#8217;s it, with Hurricane Electric a higher-latency option down here. Other points of presence are just too distant to be useful)</p>
<p>Wolfgang Rupprecht has a <a href="http://www.wsrcc.com/wolfgang/fedora/ipv6-tunnel.html">Fedora-specific howto</a>, which applies just as well for F11 or even RHEL/CentOS.</p>
<p>The <strong><em>aiccu</em> </strong>package is in the Everything repository if you&#8217;re eyeing off a SiXXS tunnel connection.</p>
<p>The <em><strong>&#8220;go6&#8243;</strong></em> client from Hexago is another that hasn&#8217;t been packaged yet (to my knowledge and while I use it due to my provider&#8217;s use of their broker software I&#8217;m not really a fan)</p>
<p>HE.NET (Hurricane Electric) lets you use the standard tools, no extra apps needed (bless &#8216;em!)</p>
<p>The simplest method? 6to4. It&#8217;s not as fast as full tunnelling or &#8220;native&#8221; direct IPv6, but it will get you &#8220;on the road&#8221; so to speak. Unfortunately NetworkManager currently gets in the way,  going from my testing, but on a headless gateway not using NM it works a charm:</p>
<ol>
<li>Make sure IPv6 is on in your network config: (<strong>NETWORKING_IPV6=&#8221;yes&#8221;</strong> in /etc/sysconfig/network)</li>
<li>Tell the network the default IPv6 interface to use (set <strong>&#8220;IPV6_DEFAULTDEV=tun6to4&#8243;</strong> in the above file)</li>
<li>Add the following lines to your network interface:
<ul>
<li><strong>IPV6INIT=yes</strong></li>
<li><strong>IPV6TO4INIT=yes</strong></li>
</ul>
</li>
<li>That&#8217;s about it - restart the network service and you should be rollin&#8217;.</li>
</ol>
<p>It will use anycast to 192.88.99.1 (default anycast prefix host for 6to4) to find the nearest 6to4 broker and use it as the endpoint. Test by going to a site like www.kame.net (if you see an animated turtle, it&#8217;s working) and enjoy.</p>
<p>I&#8217;m moving servers next week (a Xen VPS with a fatter pipe) and rest assured it will be IPv6-aware!</p>
<p>[1]</p>
<pre>[mfleming@qbert ~]$ host -t AAAA www.thatfleminggent.com
www.thatfleminggent.com has IPv6 address 2001:44b8:62:1b0::1</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.thatfleminggent.com%2F2009%2F06%2F16%2Fim-ipv6-ready-are-you&amp;linkname=I%26%238217%3Bm%20IPv6%20ready%20-%20are%20you%3F"><img src="http://www.thatfleminggent.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.thatfleminggent.com/2009/06/16/im-ipv6-ready-are-you/feed</wfw:commentRss>
		</item>
		<item>
		<title>Some updates, and a little &#8220;open sermon&#8221;</title>
		<link>http://www.thatfleminggent.com/2009/06/14/some-updates-and-a-little-open-sermon</link>
		<comments>http://www.thatfleminggent.com/2009/06/14/some-updates-and-a-little-open-sermon#comments</comments>
		<pubDate>Sun, 14 Jun 2009 08:53:44 +0000</pubDate>
		<dc:creator>Michael Fleming</dc:creator>
		
		<category><![CDATA[Just Livin']]></category>

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

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

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

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

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

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

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

		<guid isPermaLink="false">http://www.thatfleminggent.com/?p=351</guid>
		<description><![CDATA[
I&#8217;m in the unusual position of being inside, yet rugged up with a jacket and scarf with what feels like a cold. I can&#8217;t say I&#8217;m happy about it.
Upgraded Wordpress here to 2.7.1 (Fedora 11 RPM rebuilt for F10) without too many hassles. It kept retrying the database upgrade(!) but disabling the plugins and a [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>I&#8217;m in the unusual position of being inside, yet rugged up with a jacket and scarf with what feels like a cold. I can&#8217;t say I&#8217;m happy about it.</li>
<li>Upgraded Wordpress here to 2.7.1 (Fedora 11 RPM rebuilt for F10) without too many hassles. It kept retrying the database upgrade(!) but disabling the plugins and a little bit of tinkering (clean cookies, rebuild config, even restarted memcached / set SELinux to Permissive) got it working. I suspect clearing memcached was the trick.</li>
<li>Sorry to my Planet readers for some cruft in the RSS, the Related Posts plugin needed to be <em>*ahem* </em><span style="text-decoration: underline;">disciplined.</span> It should be fixed now.</li>
<li>Loving the Leonidas release - the adventure during upgrade (died partway, restarted, left behind most of F10 for some reason) seems to have cleared out a lot of stuff I didn&#8217;t need or use and the rest is a definite improvement. Well done to all concerned!</li>
<li>Disappointed that our local news sources are running the front pages with soft non-news pap, when <a title="BBC on Iranian Elections" href="http://news.bbc.co.uk/2/hi/in_depth/middle_east/2009/iran/default.stm">there&#8217;s rioting and apparent vote fraud in Iran</a>. Their people are suffering and getting shafted, and you&#8217;re running crap about actresses doing nude scenes to get ahead&#8230;</li>
</ul>
<p>To our dear Fedora users:  Please don&#8217;t attribute  malicious intent where it&#8217;s not warranted. I&#8217;ve had one comment here and just responded to a thread on fedora-list from users making some frankly melodramatic claims around how / why decisions are made and features disabled/changed/not kept up to date.</p>
<p>A large chunk of us are not on the Red Hat payroll,  we&#8217;re volunteers. Why do we do this? Because we enjoy what we do and are passionate about it. These users should remember that we use it too (&#8221;eating our own dogfood&#8221;) and want to deliver a top quality distribution.</p>
<p>However you can&#8217;t please all of the people all of the time - but just because a feature / change doesn&#8217;t suit you, doesn&#8217;t mean that the developer / packager  is out to get you</p>
<p>The distinct advantage of an open community is just that: it&#8217;s an open community.</p>
<p>If you don&#8217;t like a feature, suggest/contribute changes and/or send a patch. If the documentation is lacking, why not write up a how-to and publish it, help update the wiki or the distro documentation? Likewise if the art isn&#8217;t to your taste,  I&#8217;m sure the Art team welcome volunteers. If you&#8217;re fairly knowledgeable, share it with other users on the lists / IRC / forums.</p>
<p>A &#8220;This is broken, you guys suck and out to get us&#8221; attitude is not helpful, please let such attitudes die off.</p>
<p>Cheers,</p>
<p>A user, packager, infrastructure hacker and occasional developer (since Red Hat 5.1)</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.thatfleminggent.com%2F2009%2F06%2F14%2Fsome-updates-and-a-little-open-sermon&amp;linkname=Some%20updates%2C%20and%20a%20little%20%26%238220%3Bopen%20sermon%26%238221%3B"><img src="http://www.thatfleminggent.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.thatfleminggent.com/2009/06/14/some-updates-and-a-little-open-sermon/feed</wfw:commentRss>
		</item>
		<item>
		<title>That Fleming Gent Meets Leonidas</title>
		<link>http://www.thatfleminggent.com/2009/06/13/that-fleming-gent-meets-leonidas</link>
		<comments>http://www.thatfleminggent.com/2009/06/13/that-fleming-gent-meets-leonidas#comments</comments>
		<pubDate>Sat, 13 Jun 2009 11:14:42 +0000</pubDate>
		<dc:creator>Michael Fleming</dc:creator>
		
		<category><![CDATA[Linux]]></category>

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

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

		<guid isPermaLink="false">http://www.thatfleminggent.com/?p=345</guid>
		<description><![CDATA[My long-running repository at ThatFlemingGent (or &#8220;Enlartenment&#8221; for those who haven&#8217;t caught up) is live and ready for use.
As releases have progressed the list I offer has become smaller, as many have been pulled into Fedora proper (either by me or other Fedora contributors), died upstream or just dropped due to lack of my/visitor interest
There&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>My long-running <a href="http://www.thatfleminggent.com/rpm-packages">repository at ThatFlemingGent</a> (or &#8220;Enlartenment&#8221; for those who haven&#8217;t caught up) is live and ready for use.</p>
<p>As releases have progressed the list I offer has become smaller, as many have been pulled into Fedora proper (either by me or other Fedora contributors), died upstream or just dropped due to lack of my/visitor interest</p>
<p>There&#8217;s only 58 packages this time - long gone are the old (pre-)Extras days when I had 140+ <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>Highlights:</strong> well, there&#8217;s um&#8230; the GNOME Internode Applet![1]. yet another webserver in <a href="http://www.hiawatha-webserver.org/">Hiawatha</a>! (Think lighttpd with a security focus) - the AIM and MSN Python Jabber/XMPP Transports&#8230; A bunch of Wordpress plugins (oh how I&#8217;m jonesing for a 2.7/2.8 package for F10!) and other small but useful tools, especially for random hackers and systems people.</p>
<p>There&#8217;s a couple of non-starters that I&#8217;m still working on - namely the Courier suite (authlib won&#8217;t build at the moment, I&#8217;m trying to work out why) and the MySQL-memcache UDF functions (memcached_functions_mysql in F9/F10). They&#8217;ll be added as soon as they build correctly.</p>
<p>Enjoy, and feel free to drop me a line if you have a suggestion / problem <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>[1] Internode is my ISP, one of the highest regarded in Australia and for good reason, they&#8217;re stable -and it&#8217;s owner/CEO Simon isn&#8217;t averse to being pranked either:</p>
<p><a title="Simon Hackett - Ye Olde Datacenter Prank" href="http://www.youtube.com/watch?v=B3w3R0FkkVQ">http://www.youtube.com/watch?v=B3w3R0FkkVQ</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.thatfleminggent.com%2F2009%2F06%2F13%2Fthat-fleming-gent-meets-leonidas&amp;linkname=That%20Fleming%20Gent%20Meets%20Leonidas"><img src="http://www.thatfleminggent.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.thatfleminggent.com/2009/06/13/that-fleming-gent-meets-leonidas/feed</wfw:commentRss>
		</item>
		<item>
		<title>Experiences in both success and failure</title>
		<link>http://www.thatfleminggent.com/2009/06/08/experiences-in-both-success-and-failure</link>
		<comments>http://www.thatfleminggent.com/2009/06/08/experiences-in-both-success-and-failure#comments</comments>
		<pubDate>Mon, 08 Jun 2009 12:17:14 +0000</pubDate>
		<dc:creator>Michael Fleming</dc:creator>
		
		<category><![CDATA[Linux]]></category>

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

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

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

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

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

		<guid isPermaLink="false">http://www.thatfleminggent.com/?p=333</guid>
		<description><![CDATA[I did my bit:

I really do like where things are headed and I&#8217;m sure the good work will continue  There&#8217;s been some lively debates on the mailing lists of late, but it&#8217;s worked out smoothly and courteously in this humble hacker&#8217;s opinion.
All the tested LiveCDs and pre-releases of F11 I&#8217;ve tried have been painless [...]]]></description>
			<content:encoded><![CDATA[<p>I did my bit:</p>
<p style="text-align: center;"><a href="http://admin.fedoraproject.org/voting"><img class="aligncenter" src="http://mspevack.fedorapeople.org/voted.png" alt="" width="250" height="250" /></a></p>
<p>I really do like where things are headed and I&#8217;m sure the good work will continue <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> There&#8217;s been some lively debates on the mailing lists of late, but it&#8217;s worked out smoothly and courteously in this humble hacker&#8217;s opinion.</p>
<p>All the tested LiveCDs and pre-releases of F11 I&#8217;ve tried have been painless which bodes well, as the certainty of me finding something broken / failing / misbehaving with a freshly distribution-upgraded system is often close to 1 <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Speaking of breakage on the other hand&#8230;</p>
<p>I tried to convert my home ejabberd server from the standard mnesia backend to MySQL. using <em>&#8220;ejabberdctl convert2odbc&#8221;</em> to output the data to flat SQL scripts which you can then import into almost any server (ah, simple, standard transactional SQL, how I love thee :-))</p>
<p>This went really well until I found that I had no MySQL driver for Ejabberd/Erlang installed, and there&#8217;s none packaged (ProcessOne has one in their ejabberd-modules Subversion repository, but finding out after the fact is of little comfort, <strong>*sigh* </strong>)</p>
<p>Oops. Might have to fix that little oversight before retrying. Mea Maxima Culpa</p>
<p>Fortunately I took a backup of the mnesia database before all this (when in doubt, take a backup; when you&#8217;re certain - still take a backup!) and I needed it as even after reverting my configuration changes and restarting ejabberd it still wanted to connect to the MySQL service (there were references still in the spool/ on-disk database to it). The restore fixed it in minutes though, fortunately.</p>
<p>I&#8217;m planning to release an updated PyICQ transport once Leonidas is out and things have settled (and I have time to test a local scratch build). I also had a look at the python-based Yahoo! Transport, which isn&#8217;t very good in my opinion and I already have the MSN Transport packaged here; it&#8217;s good and works with the current MSN servers with a little patch. It&#8217;s upstream development is slow/&#8221;undead&#8221;, however which makes me a little hesitant to push it to Fedora proper.</p>
<p><em>Twitter Fail:</em> Even mentioning Yahoo! tongue in cheek / in passing gets you retweeted by the Yahoo! News bot. Really, if you&#8217;re going to let loose any form of artificial intelligence (I use the term loosely) the &#8220;intelligence&#8221; part is important, yknow. <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>(On a slight tangent I&#8217;m fairly certain a Markov/MegaHAL style bot, if set loose on Twitter, will post more interesting content than most &#8220;celebrities&#8221; using it to pimp themselves, Stephen Fry being an exception)</p>
<p>I&#8217;d advise folks interested in signal to try an open, laconi.ca based solution (like <a href="http://identi.ca/">Identi.ca</a>) instead <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>PS. Yes, I thought about PostgreSQL as the driver is there. Alas WordPress is tied to MySQL only</p>
<p>PPS. Laconica seems very fail-whale free <img src='http://www.thatfleminggent.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.thatfleminggent.com%2F2009%2F06%2F08%2Fexperiences-in-both-success-and-failure&amp;linkname=Experiences%20in%20both%20success%20and%20failure"><img src="http://www.thatfleminggent.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.thatfleminggent.com/2009/06/08/experiences-in-both-success-and-failure/feed</wfw:commentRss>
		</item>
		<item>
		<title>Scale and speed and spam</title>
		<link>http://www.thatfleminggent.com/2009/06/06/scale-and-speed-and-spam</link>
		<comments>http://www.thatfleminggent.com/2009/06/06/scale-and-speed-and-spam#comments</comments>
		<pubDate>Sat, 06 Jun 2009 11:10:57 +0000</pubDate>
		<dc:creator>Michael Fleming</dc:creator>
		
		<category><![CDATA[Linux]]></category>

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

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

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

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

		<guid isPermaLink="false">http://www.thatfleminggent.com/?p=321</guid>
		<description><![CDATA[Obligatory Laugh-and-head-shake digression: I&#8217;ve been fighting email spam for 12 years plus, and I still see stupid spammers - pardon the tautology - indiscriminately junkmailing abuse@  role addresses. Idiots. Why not just offer crack to a cop?
With that thought out of the way&#8230;
Mike McGrath&#8217;s memcached plug prompted me to give it a go here, for [...]]]></description>
			<content:encoded><![CDATA[<p><em>Obligatory Laugh-and-head-shake digression:</em> I&#8217;ve been fighting email spam for 12 years plus, and I still see stupid spammers - pardon the tautology - indiscriminately junkmailing abuse@  role addresses. Idiots. Why not just offer crack to a cop?</p>
<p>With that thought out of the way&#8230;</p>
<p>Mike McGrath&#8217;s <a href="http://mmcgrath.livejournal.com/27491.html">memcached plug</a> prompted me to give it a go here, for well, two reasons.</p>
<p>a) I&#8217;ve had some (good) experiences in the workplace with it - it&#8217;s a boon for database intensive web apps especially and b) because I can and it&#8217;s there (which is always a good reason in my ever humble view)</p>
<p>Memcached itself is always a fairly simple install for Fedora - Install via yum (including memcached-selinux if you&#8217;re running SELinux - and if you aren&#8217;t <strong>why not!</strong> :-)), give it some options via <em>/etc/sysconfig/memcached</em> eg. <em>CACHESIZE=&#8221;64&#8243;</em> (at home, usually &#8220;1024&#8243; at work because their app is a lot heavier) start it up and point clients at it.</p>
<p>Wordpress was a touch trickier - there isn&#8217;t an &#8220;official&#8221; Wordpress plugin, with a client available buried in Wordpress Plugins version control (<a href="http://plugins.trac.wordpress.org/browser/memcached/trunk/">http://plugins.trac.wordpress.org/browser/memcached/trunk/</a>) - which has worked well - if you&#8217;re reading this it&#8217;s not killed my blog.</p>
<p>To install, grab the above file(s) and drop the object-cache.php file in /<em>usr/share/wordpress/wp-content</em>, set <em>&#8220;WP_CACHE&#8221;</em> to <em>&#8220;true&#8221;</em> in <em>wp-config.php</em> and you&#8217;re most of the way there.</p>
<p>On the server side, memcached-tool&#8217;s &#8220;stats&#8221; command should start seeing increases in cache hits/misses and cached object numbers.</p>
<p>Adding <a title="Andy Skelton's batcache Wordpress plugin" href="http://wordpress.org/extend/plugins/batcache/">Andy Skelton&#8217;s batcache</a> plugin can help to fine-tune what and how it caches - it&#8217;s functional but not as &#8220;click-and-drool&#8221; as many WP plugins, but how much tweaking do you need to do really?</p>
<p>Drupal was a similar adventure I&#8217;ll go into elsewhere; there&#8217;s a reasonably simple to install plugin from drupal.org - download, drop into <em>/etc/drupal/all/modules,</em> configure and enable -  and the results just as good.</p>
<p>I was surprised to find related Perl packages not in the main repository (Other major languages are covered - my workplace couldn&#8217;t survive without the Python bindings :-)) so I whipped up a <a href="http://www.thatfleminggent.com/packages/fedora/10/x86_64/repoview/perl-Cache-Memcached.html">package of Cache::Memcached 1.26</a> (also for <a href="http://www.thatfleminggent.com/packages/centos/5/x86_64/repoview/perl-Cache-Memcached.html">RHEL/CentOS</a>) on my own repository, plus I&#8217;ll be uploading it for review for Fedora proper[2] as a Perl-using systems admin it&#8217;s just too useful not to have (monitoring / stats-gathering scripts for a start :-))</p>
<p>In my continued masquerade as a web developer/SEO maven (which isn&#8217;t fooling anyone, I know!) I&#8217;ve spent too much time looking at analytics to the point of my poor old eyes turning square and developing line graphs burnt in to my retinas.</p>
<p>At least that&#8217;s been a little successful. I have one sticking point in the development side, which is avoiding / dumping web form spam. I could use CAPTCHA but I forsee a lot of visitors finding it off-putting, which is undesirable (it&#8217;s for my girlfriend&#8217;s business venture). I could use Akismet but that seems more suited to blogging, alas (and I&#8217;d need to package the PHP PEAR apps for it anyway).</p>
<p>I&#8217;m welcome to other suggestions as always.</p>
<address>[1] well, if you&#8217;re not reading Planet Fedora via an aggregator anyway..</address>
<address>[2]  Update at 9:07pm AEST: Bug #<a href="https://bugzilla.redhat.com/show_bug.cgi?id=504403">504403</a> if someone is keen.<br />
</address>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?&amp;linkurl=http%3A%2F%2Fwww.thatfleminggent.com%2F2009%2F06%2F06%2Fscale-and-speed-and-spam&amp;linkname=Scale%20and%20speed%20and%20spam"><img src="http://www.thatfleminggent.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.thatfleminggent.com/2009/06/06/scale-and-speed-and-spam/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
