<?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 &#187; Tech</title>
	<atom:link href="http://madphilosopher.ca/category/tech/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>Thu, 22 Dec 2011 04:13:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<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>4</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>How to Disable Autosave in WordPress</title>
		<link>http://madphilosopher.ca/2009/03/how-to-disable-autosave-in-wordpress/</link>
		<comments>http://madphilosopher.ca/2009/03/how-to-disable-autosave-in-wordpress/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 14:40:58 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Rant]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Writings]]></category>
		<category><![CDATA[autosave]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/?p=427</guid>
		<description><![CDATA[The autosave feature in recent versions of WordPress (versions 2.5&#8211;2.7) is actually a misfeature: &#8230; A misfeature is not a bug. Nor is it a simple unforeseen side effect; the term implies that the feature in question was carefully planned, but its long-term consequences were not accurately or adequately predicted (which is quite different from [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://codex.wordpress.org/Revision_Management">autosave feature</a> in recent versions of <a href="http://wordpress.org/">WordPress</a> (versions 2.5&#8211;2.7) is actually a <a href="http://catb.org/~esr/jargon/html/M/misfeature.html">misfeature:</a></p>
<blockquote><p>
&#8230; A misfeature is not a bug. Nor is it a simple unforeseen side effect; the term implies that the feature in question was carefully planned, but its long-term consequences were not accurately or adequately predicted (which is quite different from not having thought ahead at all).
</p></blockquote>
<p>The improper functioning of the WordPress autosave has bitten me several times. It&#8217;s <i>supposed</i> to prevent you from losing work by periodically saving your blog edits in the background, when in fact it <i>has caused me to lose work</i> by its very operation. </p>
<div style="float: left; margin-right: 10px; margin-bottom: 10px;"><img src="http://www2.madphilosopher.ca/darren109/wp-logo-login.png" alt="[WordPress Logo Inverted]" width="310" height="70" /></div>
<p>Basically, the most recent edits made to a blog entry often get dropped when you go to &#8220;Preview&#8221; or &#8220;Publish&#8221; the entry. In other words, during either of these two operations, it reverts you to what it had autosaved in the past and the new edits are lost. The frustrating thing is that most users would expect the &#8220;Preview&#8221; operation if not the &#8220;Publish&#8221; operation to properly save what&#8217;s in the edit box. So often, you might end up publishing an incomplete or incorrect version of your blog entry without even knowing it.</p>
<p>This is madness. Let&#8217;s stop it.</p>
<p>Find the following four files in the <code>wp-admin/</code> directory of your WordPress installation:</p>
<ol>
<li><code>page-new.php</code>
</li>
<li><code>page.php</code>
</li>
<li><code>post-new.php</code>
</li>
<li><code>post.php</code>
</li>
</ol>
<p>and comment out the following line:</p>
<div id="codito">
<pre>
wp_enqueue_script('autosave')
</pre>
</div>
<p>by changing it to:</p>
<div id="codito">
<pre>
//wp_enqueue_script('autosave')
</pre>
</div>
<p>This will disable the autosave feature in the WordPress user interface.</p>
<p>A secondary part of the solution, too, is to always hit &#8220;Save Draft&#8221; before hitting &#8220;Preview&#8221;. I&#8217;m not sure if this is strictly necessary, but now I&#8217;m paranoid.</p>
<p>Thanks to <a href="http://www.spicylogic.com/allenday/blog/2008/05/06/wordpress-disable-autosave/">Allen Day</a> and <a href="http://www.moon-blog.com/2007/12/how-to-turning-off-wordpress-autosave.html">William Lone</a> for showing me how to do this.</p>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2009/03/how-to-disable-autosave-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Dialog Box</title>
		<link>http://madphilosopher.ca/2008/12/dialog-box/</link>
		<comments>http://madphilosopher.ca/2008/12/dialog-box/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 16:53:53 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[humour]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/?p=337</guid>
		<description><![CDATA[Does the following dialog box make sense to you? That is, are you able to answer the question it asks? Think about it for a bit, then see the comments for this post for the answer.]]></description>
			<content:encoded><![CDATA[<p>Does the following dialog box make sense to you? That is, are you able to answer the question it asks?</p>
<p><center><img src="http://www2.madphilosopher.ca/darren108/dialog_yes_or_no.png" width="347" height="138" alt="[Nonsensical dialog box]" /></center></p>
<p>Think about it for a bit, then see the <a href="http://madphilosopher.ca/2008/12/dialog-box/#comments">comments for this post</a> for the answer.</p>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2008/12/dialog-box/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>School</title>
		<link>http://madphilosopher.ca/2008/12/school/</link>
		<comments>http://madphilosopher.ca/2008/12/school/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 18:39:45 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Philosophy]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[education]]></category>
		<category><![CDATA[xkcd]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/?p=333</guid>
		<description><![CDATA[Interestingly, Python was first released when I was in Grade 11. Via xkcd.]]></description>
			<content:encoded><![CDATA[<p><center><a href="http://xkcd.com/519/"><img src="http://www2.madphilosopher.ca/darren108/11th_grade.png" width="450" height="280" title="And the ten minutes striking up a conversation with that strange kid in homeroom sometimes matters more than every other part of high school combined." alt="[xkcd's 11th Grade]" /></a></center></p>
<p>Interestingly, Python was <a href="http://svn.python.org/view/*checkout*/python/trunk/Misc/HISTORY">first released</a> when I was in Grade 11. Via <a href="http://xkcd.com/519/">xkcd</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2008/12/school/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jason&#8217;s Alternator Story</title>
		<link>http://madphilosopher.ca/2007/10/jason-alternator-story/</link>
		<comments>http://madphilosopher.ca/2007/10/jason-alternator-story/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 19:55:46 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[cars]]></category>
		<category><![CDATA[macgyver]]></category>
		<category><![CDATA[story]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/2007/10/jason-alternator-story/</guid>
		<description><![CDATA[My friend Jason Rule was in Edmonton for the Father&#8217;s Day weekend and had a funny trip back from Edmonton to Calgary. In his own words, here is what happened. While driving in Edmonton, I noticed at one point my alternator light go on&#8230; It just happened for a second and I did not really [...]]]></description>
			<content:encoded><![CDATA[<p>My friend Jason Rule was in Edmonton for the Father&#8217;s Day weekend and had a funny trip back from Edmonton to Calgary. In his own words, here is what happened.</p>
<blockquote>
<div style="float: right; margin-left: 15px; margin-bottom: 10px;"><a href="http://flickr.com/photos/goodharbor/131695359/"><img src="http://www2.madphilosopher.ca/darren107/alternator-goodharbor.jpg" alt="[Alternator photo by goodharbor. Used with permission.]" title="Photo by goodharbor. Used with permission." width="240" height="180" /></a></div>
<p>While driving in <a href="http://en.wikipedia.org/wiki/Edmonton">Edmonton</a>, I noticed at one point my alternator light go on&#8230; It just happened for a second and I did not really think anything of it. Later as I was leaving the city, the light was about 50% on, so basically it&#8217;s putting out some power&#8212;the exact amount the car needs. By the <a href="http://en.wikipedia.org/wiki/Edmonton_International_Airport">Edmonton International Airport</a>, the light was on and I was running on battery power (the battery power was making the spark for the engine).</p>
<p>I went into conservation mode and turned off all electrical systems but the radio.</p>
<p>Around <a href="http://en.wikipedia.org/wiki/Red_Deer%2C_Alberta">Red Deer</a>, the engine started skipping a beat and the radio died. There was not enough power to spark the plugs&#8230; I pulled over (leaving the engine running) and quickly wired up my second battery to the engine by the wires I had pre-installed years before. The car&#8217;s back to life!!! I turn off the radio and keep driving.</p>
<p>It starts raining&#8230; I try using the windshield wipers, but there is so little power, they take about 10 seconds to cycle. So, with no fan (defog) and no wipers&#8230; I continue.</p>
<p>I need to stop in <a href="http://en.wikipedia.org/wiki/Didsbury%2C_Alberta">Didsbury</a> where Brooke&#8217;s dad lives. I needed to pick something up and get as much power as possible. About 10 km from Didsbury, the dash fails, no speedo, nothing&#8230; About 3 km from Didsbury, the car is skipping again. I am approaching a stop sign and go to apply the brake. The power going to the brake lights makes the engine quit. As I was still travelling fast, I pop the clutch and get the engine running again. I then stop the car with engine breaking and the ebrake. I just get to the house and park in front of her dad&#8217;s truck.</p>
<p>Without explaining what I was doing, I start his truck and start transferring as much power as possible via booster cables into the car battery. I also start charging the second battery via a charger&#8230;. How long to wait&#8230; it&#8217;s 8 p.m. and the sun is going down. By 9:45 p.m., it will be dark and I will need headlights and I will be screwed&#8230; But, I need as much power as possible. </p>
<p>I pull out almost all of the circuit breakers from the fuse box. At 8:15 p.m., I start driving, extra battery not connected, car battery driving the engine. There are no electrical systems at all&#8230;</p>
<p>I make it to just north of <a href="http://en.wikipedia.org/wiki/Airdrie%2C_Alberta">Airdrie</a>. Engine, with no warning, fails&#8230; Poor steering and brakes (that was a surprise). I pull over and remove the primary battery and install the secondary battery. I tried to start the engine, but there is not enough power to turn the starter&#8230;. I get out of the car, push it backwards, down the little hill I was on&#8230; Pop the clutch and the engine is running&#8230; I&#8217;m off.</p>
<p>I make it to <a href="http://maps.google.com/maps?f=q&#038;hl=en&#038;geocode=&#038;q=Calgary+Alberta&#038;ie=UTF8&#038;ll=51.096084,-114.041176&#038;spn=0.056598,0.116043&#038;z=13&#038;om=1">Deerfoot and McKnight</a>. Engine again quits&#8230; I pull over and call Brooke. The Deerfoot Trail is nuts as cars are going by at nuts speeds. She comes quickly and now it&#8217;s about 9:30 p.m. I pull the extra battery from her truck and throw it into the car. The car starts and we start driving&#8212;Brooke following me and being my lights.</p>
<p>About five blocks from home, car again fails&#8230; We load the gear into the truck and leave the car there for the night&#8230; We come back the next morning with a charged battery and drive home.</p>
<p>Two points to this story:</p>
<ol>
<li>All that crap I carry in my car sometimes comes in very handy.
</li>
<li><a href="http://en.wikipedia.org/wiki/MacGyver">MacGyver</a> himself would have been proud!
</li>
</ol>
<p>&#8211; Jason</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2007/10/jason-alternator-story/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My First Bug Report</title>
		<link>http://madphilosopher.ca/2007/05/my-first-bug-report/</link>
		<comments>http://madphilosopher.ca/2007/05/my-first-bug-report/#comments</comments>
		<pubDate>Tue, 15 May 2007 05:02:50 +0000</pubDate>
		<dc:creator>Darren</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://madphilosopher.ca/2007/05/my-first-bug-report/</guid>
		<description><![CDATA[I recently submitted my first bug report to the Debian Project, regarding mod_dav and apache2. It was accepted by the maintainers of the relevant packages, and they&#8217;re taking the necessary steps to fix it. So I&#8217;m proud of my little contribution. Yay for me! Yay for Debian!]]></description>
			<content:encoded><![CDATA[<p>I recently submitted my first bug report to the Debian Project, regarding <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420101">mod_dav and apache2</a>. It was accepted by the maintainers of the relevant packages, and they&#8217;re taking the necessary steps to fix it. </p>
<p>So I&#8217;m proud of my little contribution. <img src='http://madphilosopher.ca/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Yay for me! Yay for Debian!</p>
]]></content:encoded>
			<wfw:commentRss>http://madphilosopher.ca/2007/05/my-first-bug-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

