<?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>Joshua M. Clark</title>
	<atom:link href="http://joshuamclark.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://joshuamclark.com</link>
	<description>Web Developer in Seattle, WA</description>
	<lastBuildDate>Wed, 17 Aug 2011 21:25:17 +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>More Database Cleaning</title>
		<link>http://joshuamclark.com/2011/06/more-database-cleaning/</link>
		<comments>http://joshuamclark.com/2011/06/more-database-cleaning/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 01:36:37 +0000</pubDate>
		<dc:creator>Joshua Clark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshuamclark.com/?p=755</guid>
		<description><![CDATA[Rounded up all my personal comments and attached them to my WordPress user. Went through all my internal links and pointed them to the correct pages. Things are feeling quite clean around here. Time for dinner.]]></description>
			<content:encoded><![CDATA[<p>Rounded up all my personal comments and attached them to my WordPress user. Went through all my internal links and pointed them to the correct pages. Things are feeling quite clean around here. Time for dinner.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshuamclark.com/2011/06/more-database-cleaning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Permalinks Updated</title>
		<link>http://joshuamclark.com/2011/06/permalinks-updated/</link>
		<comments>http://joshuamclark.com/2011/06/permalinks-updated/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 00:11:56 +0000</pubDate>
		<dc:creator>Joshua Clark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshuamclark.com/?p=736</guid>
		<description><![CDATA[Added month to URLs &#8212; I feel like I may duplicate a title within a year. Also updated the link slugs for all my old imported posts &#8212; now they&#8217;re all nice and pretty. I didn&#8217;t 301 all my old &#8230; <a href="http://joshuamclark.com/2011/06/permalinks-updated/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Added month to URLs &#8212; I feel like I may duplicate a title within a year. Also updated the link slugs for all my old imported posts &#8212; now they&#8217;re all nice and pretty.</p>
<p>I didn&#8217;t 301 all my old links &#8212; felt like too much of a hassle for such a low-traffic site.</p>
<p>Boy, I&#8217;m using dashes a lot &#8212; because they&#8217;re awesome.</p>
<p>Time to scan through my old comments and link them to my current profile, and then correct various links in my old posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshuamclark.com/2011/06/permalinks-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comments Sorted</title>
		<link>http://joshuamclark.com/2011/06/comments-sorted/</link>
		<comments>http://joshuamclark.com/2011/06/comments-sorted/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 23:37:12 +0000</pubDate>
		<dc:creator>Joshua Clark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshuamclark.com/?p=615</guid>
		<description><![CDATA[Well, that was easier to fix than it seemed&#8230; A ton of my old comments were sorted apparently randomly. It took a little digging, but I finally discovered that at some point, WordPress added a comment_date_gmt field in wp_comments, and &#8230; <a href="http://joshuamclark.com/2011/06/comments-sorted/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well, that was easier to fix than it seemed&#8230;</p>
<p>A ton of my old comments were sorted apparently randomly. It took a little digging, but I finally discovered that at some point, WordPress added a comment_date_gmt field in wp_comments, and during some import most comment dates had been initialized to the default (&#8217;0000-00-00 00:00:00&#8242;). The comment query sorted by this field with identical values for every comment, so the resulting order appeared random (it was actually sorted by the comment_id, which was not chronologically ordered due to various imports in the past).</p>
<p>Anyhow, I added 8 hours to the comment_date to get to the normal PST/MDT time and fixed this nicely:</p>
<p><code>UPDATE wp_comments<br />
    SET comment_date_gmt = comment_date + INTERVAL 8 HOUR<br />
 WHERE comment_date_gmt = '0000-00-00 00:00:00'<br />
</code></p>
<p>If anyone finds this, run a query first to see if any posts have some comments with null gmt values, and some with initialized values. You&#8217;ll have to manually look through those to figure out correct comment order.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshuamclark.com/2011/06/comments-sorted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Titling Untitled</title>
		<link>http://joshuamclark.com/2011/06/titling-untitled/</link>
		<comments>http://joshuamclark.com/2011/06/titling-untitled/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 01:24:36 +0000</pubDate>
		<dc:creator>Joshua Clark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshuamclark.com/?p=612</guid>
		<description><![CDATA[I just went through my archives and added titles for the oldest. I noticed that the URLs were inconsistent still, and some old comments are apparently out-of-order. I&#8217;ll have to work on those another day&#8230;]]></description>
			<content:encoded><![CDATA[<p>I just went through my archives and added titles for the oldest. I noticed that the URLs were inconsistent still, and some old comments are apparently out-of-order. I&#8217;ll have to work on those another day&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://joshuamclark.com/2011/06/titling-untitled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minesweeper App</title>
		<link>http://joshuamclark.com/2011/05/minesweeper-app/</link>
		<comments>http://joshuamclark.com/2011/05/minesweeper-app/#comments</comments>
		<pubDate>Fri, 13 May 2011 01:34:25 +0000</pubDate>
		<dc:creator>Joshua Clark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshuamclark.com/?p=429</guid>
		<description><![CDATA[I&#8217;ve started writing a Minesweeper app. I finished the basic logic to generate a grid &#8212; next up I&#8217;ll be doing click handling and styling it. I&#8217;m building this myself because I have some ideas for improving/enhancing the game I&#8217;d &#8230; <a href="http://joshuamclark.com/2011/05/minesweeper-app/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started writing a <a href="/minesweeper/">Minesweeper</a> app. I finished the basic logic to generate a grid &#8212; next up I&#8217;ll be doing click handling and styling it.</p>
<p>I&#8217;m building this myself because I have some ideas for improving/enhancing the game I&#8217;d like to try out. The thing that annoys me the most about minesweeper is that it&#8217;s not always solvable. In fact, I&#8217;d estimate at least 80% of the time in Advanced, you encounter a situation where you cannot logically deduce which cell is safe. You are forced to make one of a set of guesses, and you must analyze which guess will be wrong least often, and/or which guess will most likely provide useful information if it turns out to be a safe cell.</p>
<p>I&#8217;m interested in testing out alternate grid generation algorithms, ideally landing on one that guarantees sweepability.</p>
<p>Also, I have a few social play ideas I&#8217;d like to try out eventually.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshuamclark.com/2011/05/minesweeper-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Sectioning</title>
		<link>http://joshuamclark.com/2011/05/html5-sectioning/</link>
		<comments>http://joshuamclark.com/2011/05/html5-sectioning/#comments</comments>
		<pubDate>Tue, 10 May 2011 02:46:58 +0000</pubDate>
		<dc:creator>Joshua Clark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshuamclark.com/?p=425</guid>
		<description><![CDATA[I just rebuilt Chasing Hats, removing a lot of old markup bloat and replacing it with lovely HTML5 sectioning elements. I had a lot of old voice-family hacks in my code also for I guess IE 5.5 &#8212; anyway, I &#8230; <a href="http://joshuamclark.com/2011/05/html5-sectioning/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just rebuilt <a href="http://chasinghats.com/">Chasing Hats</a>, removing a lot of old markup bloat and replacing it with lovely HTML5 sectioning elements. I had a lot of old voice-family hacks in my code also for I guess IE 5.5 &#8212; anyway, I gave it a CSSectomy.</p>
<p>Not sure if I want to redesign it &#8212; my old hardcore black and white concept makes the links pretty hard to see. I played around with the CSS3 flexbox stuff today, might be fun to throw some of that in there.</p>
<p>I threw in <a href="http://www.modernizr.com/">Modernizr</a> and <a href="http://code.google.com/p/ie7-js/">IE9.js</a> for IE peeps. It&#8217;s pretty nice to be able to code how I want these days without worrying about old IE (unless they have javascript disabled).</p>
<p>In other news, I&#8217;ve been watching Season 1 of <cite>Prison Break</cite>. Sweet show.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshuamclark.com/2011/05/html5-sectioning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Go Daddy: Multiple Domains in Economy Plan</title>
		<link>http://joshuamclark.com/2011/04/go-daddy-multiple-domains-in-economy-plan/</link>
		<comments>http://joshuamclark.com/2011/04/go-daddy-multiple-domains-in-economy-plan/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 23:53:59 +0000</pubDate>
		<dc:creator>Joshua Clark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshuamclark.com/?p=417</guid>
		<description><![CDATA[Go Daddy charges more to host multiple domains on their hosting plans. They will allow you to point unlimited domains to your html root in the base plan, but they charge extra to point these domains to their own directories. &#8230; <a href="http://joshuamclark.com/2011/04/go-daddy-multiple-domains-in-economy-plan/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.godaddy.com">Go Daddy</a> charges more to host multiple domains on their hosting plans. They will allow you to point unlimited domains to your html root in the base plan, but they charge extra to point these domains to their own directories.</p>
<p>Well, this is easy to circumvent with a little code in your .htaccess file:<br />
<code><br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteCond %{HTTP_HOST} ^YOURDOMAIN.COM$ [NC]<br />
RewriteCond %{REQUEST_URI} !^/SUBDIRECTORY/<br />
RewriteRule ^(.*)$ /SUBDIRECTORY/$1 [L]<br />
&lt;/IfModule&gt;<br />
</code></p>
<p>Simply replace YOURDOMAIN.COM and SUBDIRECTORY with your alternate domain and a subdirectory you create in your root. Voila! Requests to your alternate domain will serve the requested document from their own directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshuamclark.com/2011/04/go-daddy-multiple-domains-in-economy-plan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chasing Hats Republished</title>
		<link>http://joshuamclark.com/2011/04/chasing-hats-republished/</link>
		<comments>http://joshuamclark.com/2011/04/chasing-hats-republished/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 23:43:42 +0000</pubDate>
		<dc:creator>Joshua Clark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshuamclark.com/?p=415</guid>
		<description><![CDATA[Quick note: I just republished the Chasing Hats archives. Surprised to see my old template was XHTML 1.1. That was a pretty ballsy move back when these were up. I dropped it back to XHTML 1.0 at any rate, because &#8230; <a href="http://joshuamclark.com/2011/04/chasing-hats-republished/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Quick note: I just republished the <a href="http://chasinghats.com/">Chasing Hats</a> archives.</p>
<p>Surprised to see my old template was XHTML 1.1. That was a pretty ballsy move back when these were up. I dropped it back to XHTML 1.0 at any rate, because I really don&#8217;t feel like serving as xhtml+xml and tracking down all the bugs.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshuamclark.com/2011/04/chasing-hats-republished/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Exhaustive Blog Import</title>
		<link>http://joshuamclark.com/2011/04/exhaustive-blog-import/</link>
		<comments>http://joshuamclark.com/2011/04/exhaustive-blog-import/#comments</comments>
		<pubDate>Tue, 26 Apr 2011 01:48:42 +0000</pubDate>
		<dc:creator>Joshua Clark</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://joshuamclark.com/?p=409</guid>
		<description><![CDATA[Ok, I want to start writing again. I&#8217;m not exactly sure what I&#8217;ll start with &#8212; probably movie reviews, and a lot of nerdy talk about various aspects of web development. And I don&#8217;t want to be lazy and start &#8230; <a href="http://joshuamclark.com/2011/04/exhaustive-blog-import/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ok, I want to start writing again. I&#8217;m not exactly sure what I&#8217;ll start with &#8212; probably movie reviews, and a lot of nerdy talk about various aspects of web development. And I don&#8217;t want to be lazy and start <a href="http://twitter.com/joshuamclark">tweeting</a> again (yet).</p>
<p>Anyhow, I imported all my old posts and comments into this fresh WordPress installation. It was a fairly trivial task &#8212; years ago, I&#8217;d already done the tedious work of scraping old content from Blogspot and all the independent commenting services I&#8217;d used. The WordPress tables were woefully out-of-date, however &#8212; the exports used to be raw SQL, instead of the new XML exports WordPress provides. So I just DROPped all the fresh WordPress tables, imported the old ones, upgraded the database, and then ran a fresh XML export to bring into a clean install. A bit of php hackery to reset a lost password, and I&#8217;m good to go.</p>
<p>I still need to go back and validate all my posts &#8212; trimming 404 images, correcting character set issues, adding titles, etc. &#8212; but I&#8217;m running out of steam for today. I&#8217;ll clean the data tomorrow, and begin customizing the markup and styles.</p>
<p>I think I&#8217;ll also compile a list of my old URLs here for reference (thanks <a href="http://www.archive.org/">Internet Archive</a>):</p>
<ul>
<li><a href="http://replay.web.archive.org/20050826215624/http://joshuaclark.blogspot.com/">joshuaclark.blogspot.com</a> (<a href="http://web.archive.org/*/http://joshuaclark.blogspot.com/">Crawl Log</a>)</li>
<li><a href="http://replay.web.archive.org/20050404033007/http://myhome.spu.edu/josh/">myhome.spu.edu/josh</a> (<a href="http://web.archive.org/*/http://myhome.spu.edu/josh">Crawl Log</a>)</li>
<li><a href="http://joshuamclark.wordpress.com/">joshuamclark.wordpress.com</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://joshuamclark.com/2011/04/exhaustive-blog-import/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Billy Collins Action Poetry</title>
		<link>http://joshuamclark.com/2007/04/billy-collins-action-poetry/</link>
		<comments>http://joshuamclark.com/2007/04/billy-collins-action-poetry/#comments</comments>
		<pubDate>Tue, 17 Apr 2007 21:23:46 +0000</pubDate>
		<dc:creator>Joshua Clark</dc:creator>
				<category><![CDATA[animation]]></category>
		<category><![CDATA[poetry]]></category>

		<guid isPermaLink="false">http://joshuamclark.wordpress.com/2007/04/17/billy-collins-action-poetry/</guid>
		<description><![CDATA[Steve McCoy shares some really great animations of Billy Collins poetry. These are well worth checking out.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.stevekmccoy.com/">Steve McCoy</a> shares some really great <a href="http://www.stevekmccoy.com/reformissionary/2007/04/npm_billy_colli.html">animations of Billy Collins poetry</a>. These are well worth checking out.</p>
]]></content:encoded>
			<wfw:commentRss>http://joshuamclark.com/2007/04/billy-collins-action-poetry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

