<?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>benwatts.ca</title>
	<atom:link href="http://www.benwatts.ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benwatts.ca</link>
	<description>The crazy ramblings of designer/web developer Ben Watts.</description>
	<lastBuildDate>Sat, 02 Jan 2010 22:31:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
		<item>
		<title>An Embarrassing &#8220;Speech&#8221;</title>
		<link>http://www.benwatts.ca/2010/01/02/an-embarrassing-speech/</link>
		<comments>http://www.benwatts.ca/2010/01/02/an-embarrassing-speech/#comments</comments>
		<pubDate>Sat, 02 Jan 2010 22:27:46 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.benwatts.ca/?p=555</guid>
		<description><![CDATA[I just stumbled across something horrifying in my closet &#8230;
When I was in grade 6 &#8212; which was exactly 10 years ago (&#8216;99-&#8217;00) I wrote a &#8217;speech&#8217; on what I then called &#8216;Web Building&#8217;. I&#8217;m going to have to ponder whether or not I post scans of it or transcribe it, because after reading it I [...]]]></description>
			<content:encoded><![CDATA[<p>I just stumbled across something horrifying in my closet &#8230;</p>
<p>When I was in grade 6 &#8212; which was exactly 10 years ago (&#8216;99-&#8217;00) I wrote a &#8217;speech&#8217; on what I then called &#8216;Web Building&#8217;. I&#8217;m going to have to ponder whether or not I post scans of it or transcribe it, because after reading it I feel like ENDING IT ALL. I&#8217;m glad we weren&#8217;t marked on the factual content of this speech, because I would have failed, had the teacher decided to go to &#8220;geocity.com&#8221;.</p>
<blockquote><p>&#8220;H.T.M.L. is everything! Literally everything! Its the whole website!&#8221;</p></blockquote>
<p>Perhaps more rich than the atrocious written speech (which I probably read, word for word) is the peer feedback forms that are attached to it. One surprising highlight:</p>
<blockquote><p><em>Would you like to learn more about this subject? If so, what?</em><br />
&#8220;Yes I would like to learn more about how you advertise your site.&#8221; &#8211; Kevin</p></blockquote>
<p>I wonder if he does anything with Marketing now &#8230;</p>
<p>There was also an anti-drug poem in the binder containing grade six stuff. This thing will never see the light of day again. <em>&#8220;Do you think smoking&#8217;s rad? /  To think that you&#8217;ve got to be mad!&#8221;. </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benwatts.ca/2010/01/02/an-embarrassing-speech/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Fav Book: The Visual Miscellaneum</title>
		<link>http://www.benwatts.ca/2009/12/26/book-visual-miscellaneum/</link>
		<comments>http://www.benwatts.ca/2009/12/26/book-visual-miscellaneum/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 20:03:12 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[infographics]]></category>

		<guid isPermaLink="false">http://www.benwatts.ca/?p=547</guid>
		<description><![CDATA[If you are a fan of infographics, graphic design, or need a fun book for a coffee table &#8212; this is the book for you. Frankly if I saw this in the store and flipped through it I probably would have bought it right then and there based solely on the bright and fun colours [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a fan of infographics, graphic design, or need a fun book for a coffee table &#8212; this is the book for you. Frankly if I saw this in the store and flipped through it I probably would have bought it right then and there based solely on the bright and fun colours inside.</p>
<p><a title="The Visual Miscellaneum by benwatts, on Flickr" href="http://www.flickr.com/photos/benwatts/4216856450/"><img src="http://farm3.static.flickr.com/2632/4216856450_49950e42f5.jpg" alt="The Visual Miscellaneum" width="500" height="333" /></a></p>
<p><a title="The Visual Miscellaneum by benwatts, on Flickr" href="http://www.flickr.com/photos/benwatts/4216858150/"><img src="http://farm3.static.flickr.com/2658/4216858150_d4a9e8b21a.jpg" alt="The Visual Miscellaneum" width="500" height="333" /></a></p>
<p>There are a few instances where gutters appear to have been ignored, so you end up with illegible text or a graphic might be harder to read. This is a fairly minor issue in an otherwise fantastic book.</p>
<p>I give it five arbitrary stars!</p>
<p>More at <a href="http://www.informationisbeautiful.net/">http://www.informationisbeautiful.net/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benwatts.ca/2009/12/26/book-visual-miscellaneum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating Instances from the Library with Strings</title>
		<link>http://www.benwatts.ca/2009/12/20/creating-instances-from-the-library-with-strings/</link>
		<comments>http://www.benwatts.ca/2009/12/20/creating-instances-from-the-library-with-strings/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 18:52:25 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[actionscript3]]></category>

		<guid isPermaLink="false">http://www.benwatts.ca/?p=531</guid>
		<description><![CDATA[Problem: while working on an AS3 document you uncover an unusual situation in which you have a string class name that corresponds to something in the library. How does one do it? 
I&#8217;ve come across this a number of times and found myself dropboxing this snippet so I would always have it with me &#8230;
import [...]]]></description>
			<content:encoded><![CDATA[<p>Problem: while working on an AS3 document you uncover an unusual situation in which you have a string class name that corresponds to something in the library. How does one do it? </p>
<p>I&#8217;ve come across this a number of times and found myself dropboxing this snippet so I would always have it with me &#8230;</p>
<div class="codecolorer-container actionscript3 " style="overflow:auto;white-space:nowrap;width:540px"><div class="actionscript3 codecolorer" style="font-family:Monaco,Lucida Console,monospace"><span class="kw1">import</span> <span class="kw6">flash.utils</span>.<span class="sy0">*</span>;<br />
<br />
<span class="coMULTI">/** <br />
&nbsp;* Takes a string classname, returns an instance of that class, if it exists. <br />
&nbsp;*/</span><br />
<span class="kw1">private</span> <span class="kw3">function</span> newInstanceFromString<span class="br0">&#40;</span>className<span class="sy0">:</span><span class="kw5">String</span><span class="br0">&#41;</span><span class="sy0">:*</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">try</span><span class="br0">&#123;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> classRef<span class="sy0">:</span><span class="kw5">Class</span> = <span class="kw7">getDefinitionByName</span><span class="br0">&#40;</span>className<span class="br0">&#41;</span> <span class="kw1">as</span> <span class="kw5">Class</span>; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="kw1">new</span> classRef<span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">catch</span><span class="br0">&#40;</span> e<span class="sy0">:</span><span class="kw5">ReferenceError</span> <span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw7">trace</span><span class="br0">&#40;</span><span class="st0">'Error: there was a problem creating an instance of the &quot;'</span><span class="sy0">+</span>className<span class="sy0">+</span><span class="st0">'&quot; class. Check your library and linkage to ensure it<span class="es0">\'</span>s there.'</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw7">trace</span><span class="br0">&#40;</span>e<span class="sy0">+</span><span class="st0">&quot;<span class="es0">\n</span>&quot;</span><span class="br0">&#41;</span>; <br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span></div></div>
<p>See the AS3 livedocs for more information about <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/utils/package.html#getDefinitionByName()">getDefinitionByName</a>, the super helpful method that makes it all work. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.benwatts.ca/2009/12/20/creating-instances-from-the-library-with-strings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphs</title>
		<link>http://www.benwatts.ca/2009/12/13/graphs/</link>
		<comments>http://www.benwatts.ca/2009/12/13/graphs/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 00:03:05 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://www.benwatts.ca/?p=528</guid>
		<description><![CDATA[
Context
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.benwatts.ca/wp-content/uploads/2009/12/091213-fan-of-graphs.jpg"><img class="alignnone size-full wp-image-529" title="091213-fan-of-graphs" src="http://www.benwatts.ca/wp-content/uploads/2009/12/091213-fan-of-graphs.jpg" alt="" width="562" height="256" /></a></p>
<p><a href="http://twitter.com/SteveStP/status/6641504405">Context</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benwatts.ca/2009/12/13/graphs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Unleashing SecretSantaBot</title>
		<link>http://www.benwatts.ca/2009/12/06/unleashing-secretsantabot/</link>
		<comments>http://www.benwatts.ca/2009/12/06/unleashing-secretsantabot/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 20:36:18 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[secret santa]]></category>

		<guid isPermaLink="false">http://www.benwatts.ca/?p=522</guid>
		<description><![CDATA[
About two years ago the occasion arose for a Secret Santa with people who, for whatever reason, couldn&#8217;t find themselves in the same room to draw names from a hat. Determined, I soldiered on and wrote a script to email all parties with a randomly selected name. It worked, it drives a slow trickle of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.benwatts.ca/sandbox/secret-santa/"><img class="alignnone size-full wp-image-524" title="secretsantabot-banner" src="http://www.benwatts.ca/wp-content/uploads/2009/12/secretsantabot-banner1.jpg" alt="" width="560" height="153" /></a></p>
<p>About two years ago the occasion arose for a Secret Santa with people who, for whatever reason, couldn&#8217;t find themselves in the same room to draw names from a hat. Determined, I soldiered on and wrote a script to email all parties with a randomly selected name. It worked, it drives a slow trickle of traffic to the site every December.</p>
<p>I decided to give it a bit of an OOP makeover this year and go <em>ALL-OUT</em> and get in on the git action, too. What I have ended up with is bizarrely tacked-on front-end to an otherwise super straightforward SecretSantaBot class.</p>
<p>I&#8217;m going to set up a site in the future to forgo the need to have a web server in order to use the script. That&#8217;s not as fun, eh? For now, it&#8217;s targeted at the developer.</p>
<p><a href="http://github.com/benwatts/SecretSantaBot">Source @ Github</a> | <a href="http://www.benwatts.ca/sandbox/secret-santa/">Demo</a></p>
<p><small>Oh, I should mention that before you ream me &#8212; this is the first PHP class I&#8217;ve written, and I&#8217;m sure it&#8217;s not the most optimally written thing out there. <em>That&#8217;s what forking is for! Forking and reaming in the same sentence &#8230; </em></small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benwatts.ca/2009/12/06/unleashing-secretsantabot/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Takedown</title>
		<link>http://www.benwatts.ca/2009/11/15/takedown/</link>
		<comments>http://www.benwatts.ca/2009/11/15/takedown/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 00:58:09 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[illustration]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[sketch]]></category>

		<guid isPermaLink="false">http://www.benwatts.ca/?p=512</guid>
		<description><![CDATA[I&#8217;ve tried a couple times this year to participate in &#8220;Make Something Cool Every Day&#8221; (it&#8217;s pretty self-descriptive, flickr set here)  but despite my best efforts I haven&#8217;t been able to do it successfully. There was a time back in February-April where I was getting close to making something every week, but even that slowly [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve tried a couple times this year to participate in &#8220;Make Something Cool Every Day&#8221; (it&#8217;s pretty self-descriptive, <a href="http://www.flickr.com/groups/1012163@N22/">flickr set here</a>)  but despite my best efforts I haven&#8217;t been able to do it successfully. There was a time back in February-April where I was getting close to making something every week, but even that slowly faded away. To help get around the issue I thought I&#8217;d challenge myself to a one-hour exercise: 30 minutes to sketch, 30 minutes in Illustrator. That didn&#8217;t quite work out, but the result was a <em>tentacled</em> <em>monster taking down a ship</em>. Yup.</p>
<p><a href="http://www.flickr.com/photos/benwatts/4106519475/sizes/l/"><img class="alignnone size-full wp-image-513" title="091115-ship-takedown-thumb" src="http://www.benwatts.ca/wp-content/uploads/2009/11/091115-ship-takedown-thumb.jpg" alt="" width="560" height="350" /></a></p>
<p><a href="http://www.benwatts.ca/wp-content/uploads/2009/11/091115-ship-takedown-illustrator.jpg"><img class="alignnone size-full wp-image-515" title="091115-ship-takedown-(illustrator)" src="http://www.benwatts.ca/wp-content/uploads/2009/11/091115-ship-takedown-illustrator.jpg" alt="" width="560" height="350" /></a></p>
<p><a href="http://www.benwatts.ca/wp-content/uploads/2009/11/sketch.jpg"><img class="alignnone size-full wp-image-514" title="sketch" src="http://www.benwatts.ca/wp-content/uploads/2009/11/sketch.jpg" alt="" width="560" height="355" /></a></p>
<p>Oh, I guess it should go without saying that I was largely unable to adhere to my rules. The sketch was done in under 10 minutes &#8212; so I shifted the other 20 minutes to Illustrator time. Then came 30 minutes of Photoshop time &#8230; which came about after my time in Illustrator was up and I wanted to keep going; I figure switching programs and setting a new time limit is fair, no?.</p>
<p>What can I say, the system isn&#8217;t perfect yet.<br />
The process is too lengthy to do one per day. Balls. It&#8217;s got to fit into 30-45 minutes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benwatts.ca/2009/11/15/takedown/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
