<?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>Martin Wolf&#039;s weblog &#187; meta</title>
	<atom:link href="http://mwolf.net/archive/category/meta/feed/" rel="self" type="application/rss+xml" />
	<link>http://mwolf.net</link>
	<description>Software development and assorted geekery</description>
	<lastBuildDate>Sun, 08 Aug 2010 18:15:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Long server outage, some mail lost</title>
		<link>http://mwolf.net/archive/long-server-outage-some-mail-lost/</link>
		<comments>http://mwolf.net/archive/long-server-outage-some-mail-lost/#comments</comments>
		<pubDate>Sun, 03 Feb 2008 20:10:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://mwolf.net/archive/long-server-outage-some-mail-lost/</guid>
		<description><![CDATA[A week or two ago, the ancient laptop I use as my personal web/mail/fileserver and firewall, suddenly got a bit flaky: it kept running, but all attempts to write to the disk failed. Naturally, this prompted me to get extra conscientious about making sure everything of importance was backed up regularly (my e-mail was already [...]]]></description>
			<content:encoded><![CDATA[<p>A week or two ago, the ancient laptop I use as my personal web/mail/fileserver and firewall, suddenly got a bit flaky: it kept running, but all attempts to write to the disk failed. Naturally, this prompted me to get extra conscientious about making sure everything of importance was backed up regularly (my e-mail was already being backed up automatically each day, but I discovered that the MySQL database containing my Wordpress articles was not in the backup set &#8212; oops). A reboot fixed the problem, however, so I didn&#8217;t run out and get a replacement drive just yet.</p>
<p>However, last Thursday the same thing happened again, and this time after a reboot all I got was the message &#8220;primary hard disk not found&#8221;. So that&#8217;s why my  server was unreachable for the past couple of days. It&#8217;s quite possible that I lost some mail, too &#8212; I have a fallback mailserver through my DNS provider, but I&#8217;m not sure that they will have retained everything for three days. <strong>If you sent me an e-mail recently and have not received a response yet, please send it again.</strong></p>
<p><strong><br />
</strong><span id="more-21"></span>I decided to drop the idea of using an old laptop as a server, so I went out and told the local computer shop to give me the cheapest hardware they could find &#8212; which turned out to be an Asus 2GHz dual-core board, 1GB of memory, two 80GB SATA drives (that&#8217;s the main reason why I didn&#8217;t just get another laptop drive: software RAID) and an extra network card. Turns out that Ubuntu 6.06LTS does not support the on-board network card, which is rather annoying, so I installed the desktop edition of Feisty and turned it into a server system.</p>
<p>The important stuff seems to work again, but there may be some more minor outages over the coming week, as I&#8217;m further tweaking the new system. No more mail should be lost, however.</p>
<p class="poweredbyperformancing">Powered by <a href="http://scribefire.com/">ScribeFire</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mwolf.net/archive/long-server-outage-some-mail-lost/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>12-01-07 blog outage</title>
		<link>http://mwolf.net/archive/outage-120107/</link>
		<comments>http://mwolf.net/archive/outage-120107/#comments</comments>
		<pubDate>Sat, 13 Jan 2007 19:05:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://mwolf.net/archive/outage-120107/</guid>
		<description><![CDATA[My site was down for most of the day yesterday, as XS4ALL moved me to a new IP address because I am now an ADSL-only customer. The move to the new IP went smoothly enough, but I had to restart my firewall script manually, and of course the DNS records for mwolf.net and martinwolf.net had [...]]]></description>
			<content:encoded><![CDATA[<p>My site was down for most of the day yesterday, as XS4ALL moved me to a new IP address because I am now an <a title="XS4ALL-only" href="http://www.xs4all.nl/xs4allonly/xs4allonly.php">ADSL-only</a> customer. The move to the new IP went smoothly enough, but I had to restart my firewall script manually, and of course the DNS records for mwolf.net and martinwolf.net had to be changed. And because I was at work, I couldn&#8217;t see to that right away.</p>
<p>No mail should have been lost, however, thanks to <a title="EasyDNS" href="http://www.easydns.com">EasyDNS</a>&#8217;s backup mail spool feature. I run my own mailserver, but there is a secondary MX record which points to a backup server maintained by EasyDNS, which caches anything sent to me while my own server is down and then forwards it when I&#8217;m up again. Great feature!</p>
<p><font face="monospace">~$ dig mwolf.net mx</font></p>
<p><font face="monospace">;; QUESTION SECTION:<br />
;mwolf.net.                     IN      MX</font></p>
<p><font face="monospace">;; ANSWER SECTION:<br />
mwolf.net.              10416   IN      MX      5 mwolf.net.<br />
mwolf.net.              10416   IN      MX      10 smtp.easydns.com.<br />
mwolf.net.              10416   IN      MX      100 smtp2.easydns.com</font></p>
]]></content:encoded>
			<wfw:commentRss>http://mwolf.net/archive/outage-120107/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Added an RSS aggregator</title>
		<link>http://mwolf.net/archive/added-aggregator/</link>
		<comments>http://mwolf.net/archive/added-aggregator/#comments</comments>
		<pubDate>Sun, 31 Dec 2006 21:15:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://mwolf.net/archive/added-aggregator/</guid>
		<description><![CDATA[I added an aggregator to my site for some of the low-volume blogs I like to keep track of. It&#8217;s on the sidebar, under &#8216;pages&#8217;. Thanks to the BDP aggregator from ozpolitics, with a little help from the Exec-PHP plugin from Bluesome. I&#8217;m not quite certain about the latter, though; my site seems to feel [...]]]></description>
			<content:encoded><![CDATA[<p>I <a title="Feed aggregator" href="http://mwolf.net/aggregator/">added an aggregator</a> to my site for some of the low-volume blogs I like to keep track of. It&#8217;s on the sidebar, under &#8216;pages&#8217;. Thanks to <a title="BDP RSS Aggregator" href="http://www.ozpolitics.info/blog/?p=87">the BDP aggregator</a> from ozpolitics, with a little help from the <a title="Exec-PHP plugin" href="http://bluesome.net/post/2005/08/18/50/">Exec-PHP plugin</a> from Bluesome. I&#8217;m not quite certain about the latter, though; my site seems to feel slower after I installed it, and of course it&#8217;s a bit scary from a security perspective. Maybe I should add a custom page template and stick the PHP code in there.</p>
<p><span id="more-8"></span><strong>Update:</strong> yep, that&#8217;s what I did: I copied <em>pages.php</em> in the default theme&#8217;s directory to <em>rss-aggregator.php</em>, added the lines</p>
<p><code> /*<br />
Template Name: RSS Aggregator<br />
*/<br />
</code></p>
<p>as <a title="Wordpress docs on Page Templates" href="http://codex.wordpress.org/Pages#Page_Templates">described</a> in the Wordpress documentation,  added the call to <em>BDPRSS2::output(1)</em> as described in the README file that comes with the BDP plugin, changed my aggregator page to use the new template, and disabled the Exec-PHP plugin again. Feels better already..</p>
]]></content:encoded>
			<wfw:commentRss>http://mwolf.net/archive/added-aggregator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Customizing Wordpress: failing SK2 captchas and a clickable logo</title>
		<link>http://mwolf.net/archive/customizing-wordpress/</link>
		<comments>http://mwolf.net/archive/customizing-wordpress/#comments</comments>
		<pubDate>Sun, 31 Dec 2006 20:44:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[hacks]]></category>
		<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://mwolf.net/archive/customizing-wordpress/</guid>
		<description><![CDATA[Well, I must say I&#8217;m quite pleased with Wordpress so far.
I did some customizations, and ran into some minor problems:
Spam Karma
I didn&#8217;t want to enable comments and pingbacks before I had some good spam protection. I have that now: Jeroen pointed me to Spam Karma 2.  Although the installation and configuration were easy enough, [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I must say I&#8217;m quite pleased with <a title="WordPress open-source blogging software" href="http://www.wordpress.org">Wordpress</a> so far.</p>
<p>I did some customizations, and ran into some minor problems:</p>
<p><strong>Spam Karma</strong></p>
<p>I didn&#8217;t want to enable comments and pingbacks before I had some good spam protection. I have that now: <a title="Jeroen Leenarts" href="http://blog.leenarts.net">Jeroen</a> pointed me to <a title="Spam Karma 2" href="http://unknowngenius.com/blog/wordpress/spam-karma/">Spam Karma 2</a>.  Although the installation and configuration were easy enough, I ran into one snag: it did not display <a title="Wikipedia: captcha" href="http://en.wikipedia.org/wiki/Captcha">captcha</a> images correctly.</p>
<p><span id="more-7"></span> Using the old &#8216;<em>telnet localhost 80</em>&#8216; trick, followed by &#8216;<em>GET /wordpress/wp-content/plugins/SK2/sk2_captcha_graphic.php</em>&#8216;, I discovered that the PHP script was generating the following error: &#8216;<em>Call to undefined function: <a title="PHP manual: ImageCreate" href="http://nl3.php.net/manual/en/function.imagecreate.php">imagecreate</a>()</em>&#8216;. This turned out to be caused by the fact that my server (Ubuntu 6.06 LTS) did not have the PHP bindings for the GD2 library installed. A simple &#8216;<em>apt-get install php5-gd</em>&#8216; solved the problem.</p>
<p>I added a note about this on the <a title="Spam Karma 2 FAQ Wiki" href="http://wp-plugins.net/wiki/index.php?title=SK2_FAQ">SK2 FAQ Wiki page</a> which, rather ironically, seems to be plagued by spam (it&#8217;s sneakily hidden using some CSS tricks, so that people won&#8217;t see it but the links still contribute to the spammer&#8217;s PageRank). I took the liberty of removing the spam a couple of hours ago, but it has been added again already.</p>
<p><strong>Clickable logo</strong></p>
<p>And speaking of CSS tricks.. I used <a title="The Gimp: open-source Photoshop alternative" href="http://www.gimp.org/">The Gimp</a> to create a nice custom logo for my blog. OK, so it&#8217;s not particularly creative: I used the fractal renderer plugin to create a background, and then pasted the text on top of it using a couple of the standard &#8220;alpha to logo&#8221; plugins. The result is not too different from  hundreds of other blogs out there, but at least it&#8217;s a change from the standard Wordpress default theme.</p>
<p>However, now that the text is part of the image instead of HTML-ed on top of it by Wordpress, it was no longer possible to get back to the <a title="Main page of my blog" href="http://www.mwolf.net">main page</a> by clicking on the logo! At first, I thought I could live with that, but it rapidly annoyed me more and more. And because the logo is technically a background image rather than an ordinary img element, putting a link on it was not completely trivial.</p>
<p>Fortunately, I found <a title="Clickable background images via CSS" href="http://haacked.com/archive/2006/01/13/ClickableBackgroundImagesViaCSS.aspx">a nice CSS trick</a> to make the logo clickable again, by setting the size and position of the invisible  element so that they overlap the image exactly. This required some minor changes to my stylesheet file and to the <em>header.php</em> file of the Wordpress theme.</p>
<p>The relevant part of my <em>header.php</em> file now looks like this:</p>
<p><code><br />
&lt;div id="header"&gt;<br />
&lt;a xhref="&lt;?php echo get_settings('home'); ?/"&gt;<br />
&lt;div id="headerimg"&gt;<br />
&lt;p&gt;<br />
&lt;h1</code><code>&gt;</code><code>&lt;?php bloginfo('name'); ?</code><code>&gt;</code><code>&lt;/h1&gt;<br />
&lt;div class="description"</code><code>&gt;</code><code>&lt;/div&gt;<br />
&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;/a&gt;<br />
&lt;/div&gt;<br />
</code></p>
<p>And here&#8217;s the relevant part of my <a title="CSS file" href="http://mwolf.net/wordpress/wp-content/themes/default/style.css">style.css</a> file:</p>
<p><code><br />
#header {<br />
background: #73a0c5<br />
url('images/kubrickheader.jpg')<br />
no-repeat bottom center;<br />
position: relative;<br />
}<br />
#header a {<br />
position: absolute;<br />
margin: 7px 9px 0;<br />
height: 192px;<br />
width: 740px;<br />
}</code></p>
<p>#headerimg      {<br />
margin: 7px 9px 0;<br />
height: 192px;<br />
width: 740px;<br />
}</p>
<p>#headerimg p {<br />
display: none;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://mwolf.net/archive/customizing-wordpress/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>Hello, world!</title>
		<link>http://mwolf.net/archive/hello-world/</link>
		<comments>http://mwolf.net/archive/hello-world/#comments</comments>
		<pubDate>Fri, 29 Dec 2006 14:21:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://192.168.1.2/?p=3</guid>
		<description><![CDATA[Well, looks like I&#8217;ve got Wordpress up and running. That was easy!
My previous blog can be found at the site of my former employer, Info Support.
]]></description>
			<content:encoded><![CDATA[<p>Well, looks like I&#8217;ve got <a title="WordPress" href="http://www.wordpress.org">Wordpress</a> up and running. That was easy!</p>
<p>My <a title="Martin Wolf's blog at blogs.infosupport.com" href="http://blogs.infosupport.com/martinw/default.aspx">previous blog</a> can be found at the site of my former employer, <a title="Info Support" href="http://www.infosupport.com">Info Support</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mwolf.net/archive/hello-world/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
