<?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>The Mad Philosopher</title>
	<atom:link href="http://madphilosopher.ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://madphilosopher.ca</link>
	<description>Because being mad is all the rage. A personal weblog of Darren Paul Griffith.</description>
	<lastBuildDate>Fri, 29 Mar 2013 18:24:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>The Mathematics of Easter</title>
		<link>http://madphilosopher.ca/2013/03/the-mathematics-of-easter/</link>
		<comments>http://madphilosopher.ca/2013/03/the-mathematics-of-easter/#comments</comments>
		<pubDate>Fri, 29 Mar 2013 18:23:06 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Astro]]></category>
		<category><![CDATA[Philosophy]]></category>
		<category><![CDATA[Spirituality]]></category>
		<category><![CDATA[Alvin Boyd Kuhn]]></category>
		<category><![CDATA[christianity]]></category>
		<category><![CDATA[moon]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/?p=582</guid>
		<description><![CDATA[Why is Lent 40 days long, why is Passion Week 7 days, and why was Jesus &#8220;in the earth&#8221; for 3 days? Further, why do we celebrate his birth on the solstice and his resurrection on the equinox? This essay by Alvin Boyd Kuhn explains it all, and it blew my mind. Good reading for [...]]]></description>
				<content:encoded><![CDATA[<p>Why is Lent 40 days long, why is Passion Week 7 days, and why was Jesus &#8220;in the earth&#8221; for 3 days? Further, why do we celebrate his birth on the solstice and his resurrection on the equinox?</p>
<p>This essay by Alvin Boyd Kuhn explains it all, and it blew my mind. Good reading for an Easter weekend.</p>
<ul>
<li><a href="http://pc93.tripod.com/ssunmoon.htm">Spiritual Symbolism of the Sun and Moon</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2013/03/the-mathematics-of-easter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup Your Dropbox Files with rdiff-backup</title>
		<link>http://madphilosopher.ca/2013/03/backup-your-dropbox-files-with-rdiff-backup/</link>
		<comments>http://madphilosopher.ca/2013/03/backup-your-dropbox-files-with-rdiff-backup/#comments</comments>
		<pubDate>Sun, 10 Mar 2013 20:30:33 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[rdiff-backup]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/?p=581</guid>
		<description><![CDATA[The Problem Teresa and I use a single Dropbox account to share files between our computers. I also use the same account to store (and sync) plain-text notes on my iPad and iPhone (I use the apps PlainText and iA Writer). In case things go wrong with these apps, the syncing, or with Dropbox itself, [...]]]></description>
				<content:encoded><![CDATA[<h3>The Problem</h3>
<p>Teresa and I use a single Dropbox account to share files between our computers. I also use the same account to store (and sync) plain-text notes on my iPad and iPhone (I use the apps <a href="http://www.hogbaysoftware.com/products/plaintext">PlainText</a> and <a href="http://www.iawriter.com/">iA Writer</a>). In case things go wrong with these apps, the syncing, or with Dropbox itself, I want to backup my Dropbox files <i>and keep past snapshots of the backups</i> so I can go back in time.</p>
<h3>The Solution</h3>
<p><a href="http://www.nongnu.org/rdiff-backup/"><code>rdiff-backup</code></a> can do this. It is a command-line tool written in Python that:</p>
<blockquote><p>
&#8230;backs up one directory to another, possibly over a network. The target directory ends up a copy of the source directory, but extra reverse diffs are stored in a special subdirectory of that target directory, so you can still recover files lost some time ago. The idea is to combine the best features of a mirror and an incremental backup.
</p></blockquote>
<p>To make this all happen, I have Dropbox installed, signed-in, and running on my Linux desktop/server, which runs Ubuntu 11.04 Natty with Gnome 2.</p>
<p>Install <code>rdiff-backup</code> thusly:</p>
<pre>
    # aptitude install rdiff-backup
</pre>
<p>I use the directory <code>/backup/</code> to hold all my backup targets, so I can run <code>rdiff-backup</code> like this:</p>
<pre>
    $ rdiff-backup  \
        --exclude $HOME/Dropbox/.dropbox \
        --exclude $HOME/Dropbox/.dropbox.cache \
        $HOME/Dropbox /backup/Dropbox
</pre>
<p>Every time I run <code>rdiff-backup</code> like this, it creates a new snapshot of my Dropbox files. Old snapshots are kept until I decide to purge them (if at all). To purge any snapshots older than two months, for example, I run this command:</p>
<pre>
    $ rdiff-backup --force --remove-older-than 2M /backup/Dropbox
</pre>
<p>I run the above two commands in an <code>@hourly</code> crontab script to keep this all happening automatically.</p>
<h3>Browsing Past Snapshots</h3>
<p><code>rdiff-backup</code> has its own commands for digging into the files stored in the past snapshots, but it requires exactly knowing the filenames and backup times. Another tool, <a href="https://code.google.com/p/rdiff-backup-fs/">rdiff-backup-fs</a> solves this problem by mounting the rdiff-backup backup directory as a FUSE filesystem, allowing me to <code>grep</code> and <code>find</code> my way through a directory tree of all snapshots.</p>
<p>After installing FUSE and <code>rdiff-backup-fs</code>, I mount my Dropbox snapshot tree with this command:</p>
<pre>
    $ rdiff-backup-fs ~/mnt /backup/Dropbox
</pre>
<p>Note that the order of the arguments for mounting source and target are backwards compared to the canonical <code>mount</code> command.</p>
<p>A long listing of my 10-oldest snapshots looks like this:</p>
<pre>
    $ ls -lF ~/mnt/ | head -10
    total 0
    dr-xr-xr-x 1 root root 4096 2013-03-10 13:52 2013-01-06T05:00:01/
    dr-xr-xr-x 1 root root 4096 2013-03-10 13:52 2013-01-06T06:00:01/
    dr-xr-xr-x 1 root root 4096 2013-03-10 13:52 2013-01-06T07:00:01/
    dr-xr-xr-x 1 root root 4096 2013-03-10 13:52 2013-01-06T08:00:01/
    dr-xr-xr-x 1 root root 4096 2013-03-10 13:52 2013-01-06T09:00:01/
    dr-xr-xr-x 1 root root 4096 2013-03-10 13:52 2013-01-06T10:00:01/
    dr-xr-xr-x 1 root root 4096 2013-03-10 13:52 2013-01-06T11:00:01/
    dr-xr-xr-x 1 root root 4096 2013-03-10 13:52 2013-01-06T12:00:01/
    dr-xr-xr-x 1 root root 4096 2013-03-10 13:52 2013-01-06T13:00:01/
</pre>
<p>I can then explore all my snapshots at once with any tools wish.</p>
<p>When done, I unmount the rdiff-backup-fs filesystem with:</p>
<pre>
    $ /bin/fusermount -u ~/mnt
</pre>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2013/03/backup-your-dropbox-files-with-rdiff-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Last.fm Tag Cloud</title>
		<link>http://madphilosopher.ca/2012/08/last-fm-tag-cloud/</link>
		<comments>http://madphilosopher.ca/2012/08/last-fm-tag-cloud/#comments</comments>
		<pubDate>Thu, 09 Aug 2012 19:30:00 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[lastfm]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/?p=575</guid>
		<description><![CDATA[Make your own dynamic tag cloud]]></description>
				<content:encoded><![CDATA[<p><center><a href="http://www.last.fm/user/madphilosopher"><img src="http://fxdteam.com/lastcloud/i.php?i=madphilosopher-_-6month-_-red-_-" /></a></center></p>
<p><center><a href="http://fxdteam.com/lastcloud/"><font size="1">Make your own dynamic tag cloud</font></a></center></p>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2012/08/last-fm-tag-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Teresa&#8217;s Peace River Expedition</title>
		<link>http://madphilosopher.ca/2010/07/teresas-peace-river-expedition/</link>
		<comments>http://madphilosopher.ca/2010/07/teresas-peace-river-expedition/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 00:19:14 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[mapping]]></category>
		<category><![CDATA[paddling]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/?p=508</guid>
		<description><![CDATA[Last Thursday, I put Teresa in the water at the town of Peace River to begin her 9-day solo kayak expedition to Fort Vermilion. You can follow her progress by clicking on the map below:]]></description>
				<content:encoded><![CDATA[<p>Last Thursday, I put Teresa in the water at the town of Peace River to begin her <a href="http://flownorth.ca/blog/2010/07/getting-ready-for-my-paddling-expedition/">9-day solo kayak expedition to Fort Vermilion.</a> You can follow her progress by clicking on the map below:</p>
<p><center><br />
<a href="http://www.acme.com/GeoRSS/?xmlsrc=http://flownorth.ca/georss/peace2fort2010.xml"><img src="http://www2.madphilosopher.ca/darren110/peace2fort2010_small.png" width="450" height="337" alt="[Clickable map of Teresa's progress]" title="Clickable map of Teresa's progress"  /></a><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2010/07/teresas-peace-river-expedition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell laptop BIOS update using FreeDOS and ISO Master</title>
		<link>http://madphilosopher.ca/2010/04/dell-laptop-bios-update-using-freedos-and-iso-master/</link>
		<comments>http://madphilosopher.ca/2010/04/dell-laptop-bios-update-using-freedos-and-iso-master/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 20:56:52 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[bios]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[isomaster]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/?p=487</guid>
		<description><![CDATA[I recently needed to update the BIOS on a Dell Inspiron 630m laptop. The file, available from Dell support, is a DOS executable named MX51_A04.EXE. I had two problems with this file: (1) Windows would not boot, so I couldn&#8217;t run the file using Windows. (2) The laptop had no floppy drive, so I couldn&#8217;t [...]]]></description>
				<content:encoded><![CDATA[<p>I recently needed to update the BIOS on a Dell Inspiron 630m laptop. The file, available from Dell support, is a DOS executable named <tt>MX51_A04.EXE</tt>.</p>
<p>I had two problems with this file: (1) Windows would not boot, so I couldn&#8217;t run the file using Windows. (2) The laptop had no floppy drive, so I couldn&#8217;t easily boot into DOS.</p>
<p>Now, one can solve this problem by booting from a FreeDOS LiveCD to run the file. But then you have to figure out how to get and run the <tt>MX51_A04.EXE</tt> file from within the FreeDOS environment. Various websites suggested methods using USB flash drives, but I couldn&#8217;t get this to work. </p>
<p>Instead, I was able to add the file to the LiveCD ISO image <i>before</i> I burnt the CD.  Here&#8217;s how it worked:</p>
<ol>
<li>Download the FreeDOS LiveCD called <a href="http://www.freedos.org/freedos/files/">fdfullcd.iso (153MB)</a>.
</li>
<li>Under Linux or Windows, install and run <a href="http://www.littlesvr.ca/isomaster/">ISO Master</a>.
</li>
<li>Load the <tt>fdfullcd.iso</tt> in ISO Master and then <i>add</i> the <tt>MX51_A04.EXE</tt> file to it.
</li>
<li>Save the modified ISO under a new name.
</li>
<li>Burn the modified ISO to a CD and boot from that.
</li>
<li>When you boot the laptop using this modified FreeDOS LiveCD, be sure to choose the <b>LiveCD mode</b> and <i>not</i> the install option.
</li>
<li>Once you have a DOS prompt, the command <tt>X:</tt> will switch you to the <tt>X:</tt> drive, where you&#8217;ll find the contents of the CD and the BIOS update file.
</li>
<li>Run it, cross your fingers, and reboot.
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2010/04/dell-laptop-bios-update-using-freedos-and-iso-master/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>A Better Online Dictionary</title>
		<link>http://madphilosopher.ca/2010/04/a-better-online-dictionary/</link>
		<comments>http://madphilosopher.ca/2010/04/a-better-online-dictionary/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 14:02:13 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[dictionary]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/?p=479</guid>
		<description><![CDATA[I like using the online dictionary at die.net because it&#8217;s fast and clean. It&#8217;s easy to query, also. Just append your word to the end of the URL. For example: dictionary.die.net/spam It describes itself as offering &#8220;free cross-referenced definitions, spelling correction, and word searches from WordNet, Webster&#8217;s, FOLDOC, and a variety of specialized sources.&#8221; In [...]]]></description>
				<content:encoded><![CDATA[<div style="float: right; margin-left: 10px; margin-bottom: 10px;"><a href="http://dictionary.die.net/"><img src="http://www2.madphilosopher.ca/darren110/die.net.png" alt="[die.net]" width="123" height="123" /></a></div>
<p>I like using the <a href="http://dictionary.die.net/">online dictionary at die.net</a> because it&#8217;s fast and clean. </p>
<p>It&#8217;s easy to query, also. Just append your word to the end of the URL. For example: </p>
<ul>
<li><a href="http://dictionary.die.net/spam">dictionary.die.net/spam</a></li>
</ul>
<p>It describes itself as offering &#8220;free cross-referenced definitions, spelling correction, and word searches from <a href="http://wordnet.princeton.edu/">WordNet</a>, Webster&#8217;s, FOLDOC, and a variety of specialized sources.&#8221; </p>
<p>In the &#8220;spam&#8221; entry above, some of the sources include the <a href="http://foldoc.org/">Free On-Line Dictionary of Computing</a>, the <a href="http://www.delorie.com/gnu/docs/vera/vera.html">Virtual Entity of Relevant Acronyms</a>, and the <a href="http://www.catb.org/jargon/">Jargon File</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2010/04/a-better-online-dictionary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Which editor should I learn?</title>
		<link>http://madphilosopher.ca/2010/03/which-editor-should-i-learn/</link>
		<comments>http://madphilosopher.ca/2010/03/which-editor-should-i-learn/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 21:07:07 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[vi]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/?p=472</guid>
		<description><![CDATA[On serverfault.com, Rory McCann asked, &#8220;What&#8217;s the best terminal editor to suggest to a Unix newbie? i.e. not vi or Emacs.&#8221; This answer, which purposefully ignores the original poster&#8217;s restriction, says it best: My take is still Emacs or vi. Even for a beginner. Why? Because time invested in learning an editor is productive only [...]]]></description>
				<content:encoded><![CDATA[<p>On serverfault.com, Rory McCann asked, &#8220;What&#8217;s the best terminal editor to suggest to a Unix newbie? i.e. not vi or Emacs.&#8221;</p>
<p>This answer, which purposefully ignores the original poster&#8217;s restriction, <a href="http://serverfault.com/questions/51026/best-terminal-unix-editor-to-suggest-to-someone/51040#51040">says it best</a>:</p>
<blockquote><p>
My take is <b>still</b> <a href="http://en.wikipedia.org/wiki/Emacs">Emacs</a> or <a href="http://en.wikipedia.org/wiki/Vi">vi</a>. Even for a beginner.</p>
<p>Why?</p>
<p>Because time invested in learning an editor is productive only as long as you keep using that editor. All those less expressive options are poor choices for the long run, and <i>will</i> be abandoned eventually. At which point the time spent learning them is wasted, and the user <i>still</i> has to learn Emacs or vi.
</p></blockquote>
<p>In other words, the best (most expressive) tool for the job is one of Emacs or vi, and so you&#8217;ll eventually switch to one of them. It ultimately doesn&#8217;t matter which one you choose, but you would be smart to invest yourself into learning one of them.</p>
<p>For the record, I&#8217;m a <a href="http://www.vim.org/">vim</a> user, and I love using it.</p>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2010/03/which-editor-should-i-learn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wil Wheaton has a new podcast</title>
		<link>http://madphilosopher.ca/2009/11/wil-wheaton-has-a-new-podcast/</link>
		<comments>http://madphilosopher.ca/2009/11/wil-wheaton-has-a-new-podcast/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 07:58:46 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Astro]]></category>
		<category><![CDATA[Audio]]></category>
		<category><![CDATA[Speech]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[wilwheaton]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/?p=452</guid>
		<description><![CDATA[I just learned tonight that Wil Wheaton has a new podcast out, called Memories of the Futurecast. The podcast is a promotion of his latest book, Memories of the Future, Volume One, which is Wil&#8217;s going-down-memory-lane review of the first 13 episodes of Star Trek: The Next Generation. I listened to the first episode of [...]]]></description>
				<content:encoded><![CDATA[<div style="float: left; margin-right: 10px; margin-bottom: 10px;"><a href="http://wilwheaton.typepad.com/futurecast/"><img src="http://www2.madphilosopher.ca/darren109/memories-of-the-future-jellyfish-basic.jpg" alt="[Memories of the Future Jellyfish]" width="200" height="81" /></a></div>
<p>I just learned tonight that Wil Wheaton has a new podcast out, called <a href="http://wilwheaton.typepad.com/futurecast/">Memories of the Futurecast</a>. </p>
<p>The podcast is a promotion of his latest book, <a href="http://www.wilwheatonbooks.com/memories-of-the-future-volume-one/"><i>Memories of the Future, Volume One</i></a>, which is Wil&#8217;s going-down-memory-lane review of the first 13 episodes of <i>Star Trek: The Next Generation</i>.</p>
<p>I listened to the first episode of the podcast already, and I&#8217;m looking forward to hearing the rest (12 of 13 have been published so far, as I write this). I enjoy everything Wil Wheaton does. </p>
<p><a href="http://wilwheaton.typepad.com/futurecast/">Check it out.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2009/11/wil-wheaton-has-a-new-podcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
