<?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>Entropy &#187; Featured Post</title>
	<atom:link href="http://entropy.co.za/blog/category/featured/feed/" rel="self" type="application/rss+xml" />
	<link>http://entropy.co.za/blog</link>
	<description>information out of chaos</description>
	<lastBuildDate>Thu, 06 Oct 2011 16:14:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Intrepid Ibex (or How Ubuntu just made Linux even friendlier)</title>
		<link>http://entropy.co.za/blog/tech/intrepid-ibex-or-how-ubuntu-just-made-linux-even-friendlier/</link>
		<comments>http://entropy.co.za/blog/tech/intrepid-ibex-or-how-ubuntu-just-made-linux-even-friendlier/#comments</comments>
		<pubDate>Sun, 09 Nov 2008 00:04:16 +0000</pubDate>
		<dc:creator>The Extremist</dc:creator>
				<category><![CDATA[Featured Post]]></category>
		<category><![CDATA[Technoramble]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[FLOSS]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[ibex]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[Intrepid Ibex]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[operating systems]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://entropy.co.za/blog/?p=77</guid>
		<description><![CDATA[A different look to the List view and a whole new Compact view in Nautilus. Connecting to the Internet (especially with 3G modems and cell phones) is also a whole load easier with the new overhauled NetworkManager Applet (nm-applet). <a href="http://entropy.co.za/blog/tech/intrepid-ibex-or-how-ubuntu-just-made-linux-even-friendlier/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Sequestered from my humble (by global standards) DSL connection in the heart of the Cradle of Humankind I desperately try to get online with the few bars of GPRS signal that I have. It&#8217;ll be expensive, but I&#8217;ve not checked my mail, Slashdot, or miscellaneous forums in over 16 hours&#8230; Violent withdrawal was moments away and it&#8217;s never pretty.</p>
<p><span id="more-77"></span></p>
<p>I recently upgraded from Hardy Heron (Ubuntu 8.04) to Intrepid Ibex (8.10) but I was certain that the old pppd configuration I had for just this situation must have survived the upgrade. It was painstakingly put together from searches conducted over GPRS with Opera Mini on the self-same phone I wanted to connect with in a situation not unlike the one I found myself in &#8211; removed from all semblances of civilization (i.e. cabled broadband).</p>
<p>Just for fun I decided to check if there were any significant changes to nm-applet (or NetworkManagement Applet). There hadn&#8217;t really been any changes to it worth writing home about in the last 3 versions of Ubuntu (at least) but for some reason a force, perhaps even <em>the</em> Force (the one <em>without</em> midi-chlorients), reached out from within the Ether(net) and compelled me to right click on the applet icon and click &#8220;Edit Connections&#8230;&#8221;</p>
<p>And lo the clouds parted, choirs chanted, and a beam of white light shone upon the lowly notebook (specs to come later). Or the light shone upon the roof that protected the notebook from the wonderful summer rain falling outside at least.</p>
<p>For the Network Connections dialog had indeed evolved, nay <em>mutated</em>. Here we gazed upon the new &#8220;Mobile Broadband&#8221; tab (though this connection is anything but broad) and all was at once well with the &#8216;Tubes. For from within this tab one could click &#8216;Add&#8217; and a pretty clickety-click Wizard adorned the desktop. And with the simple selection of country and service provider, alteration of the arbitrary contents of a descriptive text box, and the click of an &#8216;Apply&#8217; button a connection capable of making use of a GSM modem was created.</p>
<p>But surely it couldn&#8217;t be that simple? Where do you tell it which modem device to use? Upon connecting the phone to the notebook all was revealed&#8230; nm-applet now automatically discovered modem devices. Connecting was as simple as clicking the correct radio button in the left-click drop-down menu of nm-applet. I could cry.</p>
<p>A part of me is sad that another aspect of Linux&#8217;s divine complexity has gone the same route as the ill-supported wireless networking drivers. Whatever will the geeks of tomorrow do to get their kicks from computing? Imagine your children never having to ever compile their own kernel? My blood runs cold. And yet I&#8217;m joyed that the illustrious Mark Shuttleworth (or his team at Canonical and the brave me and women of the Ubuntu community to be exact) has brought Linux yet another step closer to the mass market.</p>
<p>Screenshots and more to follow upon my return to the arms of DSL, my mistress. Apologies for the current lack of bling but this post is being written from an old laptop running Ubuntu, connected to the Internet via a Sony Ericsson W850i which is paying premium rates for bandwidth.</p>
]]></content:encoded>
			<wfw:commentRss>http://entropy.co.za/blog/tech/intrepid-ibex-or-how-ubuntu-just-made-linux-even-friendlier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading WordPress (2.1.0 to 2.6.2) &#8211; what a mission</title>
		<link>http://entropy.co.za/blog/dev/upgrading-wordpress-210-262/</link>
		<comments>http://entropy.co.za/blog/dev/upgrading-wordpress-210-262/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 22:49:53 +0000</pubDate>
		<dc:creator>The Extremist</dc:creator>
				<category><![CDATA[Featured Post]]></category>
		<category><![CDATA[Software Development]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://entropy.co.za/blog/?p=38</guid>
		<description><![CDATA[Generally WordPress is really easy to upgrade. They could have a whole load less people complaining on the forums about broken upgrades if they used sane defaults in the configuration files, though. <a href="http://entropy.co.za/blog/dev/upgrading-wordpress-210-262/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the short of it for those that don&#8217;t want to read my whole epic.</p>
<p>While trying to upgrade from WordPress 2.1 to 2.6 I was presented with the database upgrade page when trying to get to the backend (/wp-admin). Upon clicking the <em>Upgrade</em> button/link a half-ream long list of &#8220;Table doesn&#8217;t exist&#8221; errors were displayed.</p>
<div class="wp-caption aligncenter" style="width: 410px"><a href="src=http://lh4.ggpht.com/nanderman/SQUH9H_2iTI/AAAAAAAAAxo/H4vSU2G-BXc/s800/WP_DB_upgrade_error.jpg"><img title="WordPress database corrupts, data is lost, a great wailing and gnashing of teeth" src="http://lh4.ggpht.com/nanderman/SQUH9H_2iTI/AAAAAAAAAxo/H4vSU2G-BXc/s400/WP_DB_upgrade_error.jpg" alt="WordPress failed database upgrade - Table doesnt exist error messages." width="400" height="385" /></a><p class="wp-caption-text">WordPress failed database upgrade - Table doesnt exist error messages.</p></div>
<p>The reason WordPress can&#8217;t find the tables is because it fails to create them during the database upgrade. For the full reason behind why this happens you&#8217;ll have to read the whole post. If you&#8217;re only interested in what to do to get it working the next three paragraphs and two code samples should explain all.</p>
<p>In WordPress 2.2 <a title="Database character set and collation options in wp-config.php since WP2.2" href="http://codex.wordpress.org/Editing_wp-config.php#Database_collation" target="_blank">two new settings</a> were introduced in the wp-config.php file namely DB_CHARSET and DB_COLLATE. By default, that is in the wp-config-sample.php file, it sets these variables to &#8216;utf8&#8242; and &#8216;utf8-general&#8217; respectively.</p>
<p><!-- Remove the code tags once id="code" is properly defined --></p>
<div id="code" style="padding-left: 30px;"><code>define('DB_CHARSET', 'utf8');<br />
define('DB_COLLATE', 'utf8-general-ci');<br />
</code></div>
<p>If you added the DB_COLLATE option to your old wp-config.php file and retained the default option as given in the sample file then it is highly likely you experienced this error since <em>utf8-general-ci</em> is not a valid MySQL collation. The silly little error that causes so much grief lies in the dashes &#8212; they should be underscores.</p>
<p>Most MySQL installations use utf8_unicode_ci as the default collation. You&#8217;re likely to get joy by setting the DB_COLLATE option to</p>
<div id="code" style="padding-left: 30px;"><code>define('DB_COLLATE', 'utf8_general_ci');</code></div>
<p><span id="more-38"></span></p>
<p>I had an old WordPress 2.1 installation that needed to be upgraded. Besides the obvious security issues that have been fixed and the features that have been added, I wanted to use a theme that required at least WP2.5 to work.</p>
<p>I don&#8217;t do anything on any of my live websites without first ensuring that I won&#8217;t break anything by trying the changes on the copies I keep locally on my development machine. Upon attempting the famous 3-step upgrade process I found that not only does WordPress struggle to create a bunch of new tables for some reason, it proceeds to delete the old WP2.1 <em>categories</em>, <em>link2cat</em>, and <em>post2cat</em> tables even though the CREATE TABLE queries for the replacement tables, <em>terms</em>, <em>term_taxonomies</em>, and <em>term_relationships</em> fail.</p>
<p>The only <a title="Support thread at WordPress.org" href="http://wordpress.org/support/topic/190524" target="_blank">relevant thread</a> I could find at WordPress&#8217; support forums suggested incrementally upgrading and from the responses it suggested that it worked for the original poster. But why were the tables not being created? What do the other upgrade scripts do differently from the 2.6.2 one?</p>
<p>After some hunting I found the CREATE TABLE queries that are supposed to create the new tables during an upgrade to the file <em>schema.php</em> in <em>wp-admin/includes/</em>.</p>
<p>Copying and pasting the query verbatim into the MySQL Query Browser and replacing the variables with the values I suspected them to be (determined mainly from <em>wp-config.php</em>) indicated that the query was indeed failing. After ensuring that no amount of quoting or backticking would fix the query, the DEFAULT CHARACTER SET and COLLATE directives at the end of the CREATE TABLE query caught my interest. Could the use of dashes rather than underscores really be breaking the query?</p>
<p>A quick test by removing the directives entirely, forcing MySQL to use its defaults, verified it. The defaults WordPress supplied in its sample configuration file (<em>wp-config-sample.php</em>) were in fact not valid.</p>
<p>The WordPress documentation does mention that people who are upgrading should not include the DB_CHARSET and DB_COLLATE variables in their <em>wp-config.php</em> files unless they know what they&#8217;re doing&#8230; But that&#8217;s only on the <a title="Obscure documentation basic WordPress users will almost never come across..." href="http://codex.wordpress.org/Editing_wp-config.php" target="_blank">&#8216;Editing wp-config.php&#8217; page</a>! This should be made very clear in the <a title="The famous 3-step upgrade documented... A much more well-read document than the &quot;Editing wp-config.php&quot; doc I'll wager." href="http://codex.wordpress.org/Upgrading_WordPress" target="_blank">Upgrading WordPress</a> documentation.  For someone that doesn&#8217;t know the format MySQL expects arguments to COLLATE this can translate to days of struggle&#8230; Bad WordPress! No treat for you!</p>
]]></content:encoded>
			<wfw:commentRss>http://entropy.co.za/blog/dev/upgrading-wordpress-210-262/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Invader(s of) Zim</title>
		<link>http://entropy.co.za/blog/wam/invaders-of-zim/</link>
		<comments>http://entropy.co.za/blog/wam/invaders-of-zim/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 23:04:33 +0000</pubDate>
		<dc:creator>The Extremist</dc:creator>
				<category><![CDATA[Featured Post]]></category>
		<category><![CDATA[Musings]]></category>
		<category><![CDATA[W.A.M.]]></category>
		<category><![CDATA[politics]]></category>
		<category><![CDATA[Zimbabwe]]></category>

		<guid isPermaLink="false">http://entropy.co.za/blogs/WAM/?p=33</guid>
		<description><![CDATA[The situation in Zimbabwe is precarious to say the least. Peaceful resolution doesn't seem possible - either way blood is going to be spilled. Should South Africa invade? Do we even stand a chance? <a href="http://entropy.co.za/blog/wam/invaders-of-zim/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img title="Logo of the African Union - used here because the SADC logo sucks" src="http://lh4.ggpht.com/nanderman/SGFcIBqeEcI/AAAAAAAAAug/Wzv917o-ehc/s800/Logo_of_the_African_Union.png" alt="Logo of the African Union - used here because the SADC logo sucks" width="201" height="200" align="left" />Sorry for the horrible attempt at a <a title="Resurrecting an old franchise almost never works..." href="http://en.wikipedia.org/wiki/Invader_Zim">pun</a>.</p>
<p>By now is old news that <a title="Hunted by his fellow man." href="http://en.wikipedia.org/wiki/Morgan_Tsvangirai" target="_blank">Morgan Tsvangirai</a>, leader of the <a title="Some are born to rule, others to oppose." href="http://en.wikipedia.org/wiki/Movement_for_Democratic_Change" target="_blank">Movement for Democratic Change</a>, has withdrawn from the final run-off elections in Zimbabwe which would determine the next president of the country.</p>
<p>This comes after at least 70 MDC supporters have been killed. <a title="Hitler with (thankfully) less military will." href="http://en.wikipedia.org/wiki/Robert_Mugabe" target="_blank">Robert Mugabe</a>&#8216;s answer to the &#8220;imperialist West&#8221; to the allegations that opposition supporters are being killed by mandate of the government is that the media is once again misrepresenting what is happening in Zimbabwe to justify their interference in the country.</p>
<p>Steve Pierson at <a title="About The Standard.org.nz" href="http://www.thestandard.org.nz/?page_id=2" target="_blank">The Standard</a>, a political blog, says:</p>
<blockquote><p>Military action seems to be the only option left. A smart campaign could be conducted relatively bloodlessly but it would have to be led by South Africa, the only country in the region with the standing and the military might to carry out such an action. And South Africa is showing no will to act. [<a title="Free Zim!" href="http://www.thestandard.org.nz/?p=2298" target="_blank">http://www.thestandard.org.nz/?p=2298</a>]</p></blockquote>
<p>In some respects I agree with Steve. It is obvious that non-violence seems to be a tactic only the opposition are interested in. But I disagree that any military campaign conducted by South Africa against Zimbabwe will be &#8220;relatively bloodless.&#8221; I also agree that New Zealand should offer its support &#8211; but that South Africa should decline. At least initially.</p>
<p><span id="more-33"></span></p>
<p>I have it on relatively good authority that should a military incursion from South Africa to assist in a <em>coup d&#8217;Ã©tat</em> degenerate into an all-out bush war (which is likely) then our army will be given a thorough shelacking. We might have the technological upper-hand and superior numbers, but our military has deteriorated significantly over the last 10 years. I would venture a guess that this is due to more pressing concerns at home than keeping a well-oiled fighting machine in reserve.</p>
<p>While I don&#8217;t profess to be a military genius, I do not logically see the technological advantage we have counting for much if we&#8217;re</p>
<ol>
<li>Fighting in the bush; and</li>
<li>Trying to preserve innocent life.</li>
</ol>
<p>The Zimbabwean army should also not be underestimated. I don&#8217;t know about the state of repair of the Zimbabwean air force or armoured divisions but I know that ours leaves much to be desired, mainly due to funding reasons.</p>
<p>Our special forces known as the <a title="South African Special Forces" href="http://en.wikipedia.org/wiki/South_African_Special_Forces_Brigade" target="_blank">Recces</a> could be deployed to covertly assist rather than risking open warfare, but our Special Forces Regiments also suffered due to the shift in priorities that came with the changes in 1994. For instance, as part of the &#8220;military transformation process,&#8221; 1 Special Forces Regiment was disbanded in 1996.</p>
<p>Today I&#8217;m not coming up with solutions. The prospects in this situation look bleak. Either people continue to die or live in squalor or we send in our troops to and <em>they</em> die to try and prevent the Zanu-PF from killing more innocents. Today I am saying that whatever the ANC decides to do about this they have to weigh the cost in human life carefully &#8211; hardly an easy task and one that will most assuredly be met with criticism no matter which path they take:</p>
<ul>
<li>Try to convince Mugabe to buy into a &#8220;government of national unity&#8221; (maintain status quo). Should this fail it will appear as if the ANC have done nothing but it will likely cost fewer lives. Mugabe is unlikely to give up his seat of power, however.</li>
<li>Get the AU or SADC to approve the deployment of a peace force. Should we then lose to the Zanu-PF in a bush war at least it would look like the ANC tried but failed. No matter how you slice it, a military campaign will cost more lives. The chancesÂ  of the <a title="The Truth: South African National Defence Force" href="http://en.wikipedia.org/wiki/South_African_National_Defence_Force" target="_blank">SANDF</a> winning a bush war against the Zanu-PF (<a title="The Truth: Zimbabwe National Army " href="http://en.wikipedia.org/wiki/Zimbabwe_National_Army" target="_blank">ZNA</a>) is unknown.</li>
</ul>
<p>Regarding the support from New Zealand &#8211; it would be great to know that we&#8217;re not in this alone, but in the end I don&#8217;t think an African nation could accept help to depose another African government from the &#8216;imperial West.&#8217; This includes funding, arms, and personnel, I think. It&#8217;s sick that politics doesn&#8217;t seem to have anything to do with making mature, well calculated decisions but with street cred.</p>
<p>So for the initial campaign South Africa should decline help, but once the rebuilding of Zimbabwe is underway I reckon all aid will be welcome again.</p>
<p>Thus ends my reply to Steve Pierson&#8217;s post. Below is just a little bit more added for flavour.</p>
<p>In an <a title="Transitional government for Zim?" href="http://www.news24.com/News24/Africa/Zimbabwe/0,,2-11-1662_2346142,00.html" target="_blank">article on News24</a> it is reported that Henri Boshoff, of the Institute for Security Studies said that a UN peace mission requires that a resolution to the effect being adopted and this could only happen if the host nation requests it or there is evidence of gross human rights violations. In the latter case (which most everyone is willing to agree on) the UN will still use a regional organisation like <a title="Southern African Development Community website." href="http://www.sadc.int" target="_blank">SADC</a> or the <a title="African Union website." href="http://www.africa-union.org/" target="_blank">AU</a> for peace enforcement. According to the article it is very unlikely SADC or the AU will condone the deployment of troops in the region because of their individual policies on interference.</p>
<p>Karin Alexander of the Institute for Democracy in South Africa who is currently in Zimbabwe went so far as to say that deployment a peace force was an unlikely solution because Mugabe&#8217;s possible response created risks.</p>
<p>This basically means that a military campaign into Zim is out of the question for the ANC for the time being.</p>
<p>The Minister of Provinial and Local Government, <a title="The Truth about Sydney Mufamadi." href="http://en.wikipedia.org/wiki/Sydney_Mufamadi" target="_blank">Sydney Mufamadi</a> and Thabo Mbeki&#8217;s legal advisor, Mojanku Gumbi are in Harare at the moment to discuss the &#8220;goverment of national unity&#8221; with Mugabe. I guess we&#8217;ll have to see what results our diplomatic efforts and the elections on Friday yield before grabbing our guns.</p>
<p>History has a funny way of repeating itself, though, and Robert Mugabe has shown very little inclination to relinquish his presidency. I guess the question is not if diplomacy fails and Mugabe is re-elected but when? And what will the &#8216;imperialist West&#8217; do if South Africa, SADC, and the AU disappoints again? Will they risk the repercussions of interfering in African affairs?</p>
]]></content:encoded>
			<wfw:commentRss>http://entropy.co.za/blog/wam/invaders-of-zim/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

