<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>EleventyTen</title>
	
	<link>http://blog.eleventyten.com</link>
	<description>Life is an interface</description>
	<lastBuildDate>Wed, 03 Jun 2009 05:36:12 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/eleventyten" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="eleventyten" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>There may be some slight turbulence..</title>
		<link>http://blog.eleventyten.com/2009/06/03/slight-turbulence/</link>
		<comments>http://blog.eleventyten.com/2009/06/03/slight-turbulence/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 04:07:56 +0000</pubDate>
		<dc:creator>Cliff</dc:creator>
				<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://blog.eleventyten.com/?p=183</guid>
		<description><![CDATA[My apologies to anyone subscribed to my feed in the RSS reader who may be receiving anomalous updates, I am in the process of splitting and pruning my current posts to allow me to start writing more seriously and focus more on specific topics.  I will post an update with more information once I [...]]]></description>
			<content:encoded><![CDATA[<p>My apologies to anyone subscribed to my feed in the RSS reader who may be receiving anomalous updates, I am in the process of splitting and pruning my current posts to allow me to start writing more seriously and focus more on specific topics.  I will post an update with more information once I am done, but in the meantime please bear with me and excuse the noise!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.eleventyten.com/2009/06/03/slight-turbulence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Pradipta 416</title>
		<link>http://blog.eleventyten.com/2008/07/21/the-pradipta-416/</link>
		<comments>http://blog.eleventyten.com/2008/07/21/the-pradipta-416/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 00:10:14 +0000</pubDate>
		<dc:creator>Cliff</dc:creator>
				<category><![CDATA[social internet]]></category>
		<category><![CDATA[pradipta]]></category>

		<guid isPermaLink="false">http://blog.eleventyten.com/?p=69</guid>
		<description><![CDATA[So the funniest thing happened the other day (and as usual I&#8217;ve only just found the convenience to blog it).  I was sitting working, minding my own business when I received yet another formulated mass post from a recruitment agent.  Only this one was a little different..


I have a couple of Ruby on [...]]]></description>
			<content:encoded><![CDATA[<p>So the funniest thing happened the other day (and as usual I&#8217;ve only just found the convenience to blog it).  I was sitting working, minding my own business when I received yet another formulated mass post from a recruitment agent.  Only this one was a little different..</p>
<p><span id="more-69"></span></p>
<blockquote><p>
I have a couple of Ruby on Rails position, wanted to know if you are interested?</p>
<p>Max Archie<br />
Technical Recruiter<br />
Prodigus Source<br />
Cell: 219-669-9216<br />
Phone: 312-235-2365<br />
Max@prodigussource.com
</p></blockquote>
<p>Seems pretty normal on the face of it &#8211; just a typical impersonal email recruiters send out to hundreds of &#8220;potential candidates&#8221; (read: anonymous list of farmed email addresses).  However this agent forgot to use BCC instead of CC, and so 416 selected individuals all over the world were kindly supplied with each others email addresses.</p>
<p>So what did a group of complete strangers from all cultures and walks of life decide to do with this new found information?  Well, for a while we laughed.  And then we went a bit mad.  And now you&#8217;ll find the 
<a  href="http://www.google.com/search?q=Pradipta+Max+Archie&#038;btnG=Google+Search" onclick="javascript:pageTracker._trackPageview('/external/www.google.com/search');" >Pradipta 416</a> all over the &#8216;net.  Including, but not limited to, 
<a  href="http://twitter.com/Pradipta" onclick="javascript:pageTracker._trackPageview('/external/twitter.com/Pradipta');" >Twitter</a>, 
<a  href="http://www.facebook.com/group.php?gid=43333321264" onclick="javascript:pageTracker._trackPageview('/external/www.facebook.com/group.php');" >FaceBook</a> and a 
<a  href="http://groups.google.com/group/pradiptas-rolodex?hl=en" onclick="javascript:pageTracker._trackPageview('/external/groups.google.com/group/pradiptas-rolodex');" >Google discussion group</a>.</p>
<p>I love it.  A community was born.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.eleventyten.com/2008/07/21/the-pradipta-416/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screen resolution bookmarklets</title>
		<link>http://blog.eleventyten.com/2008/07/17/screen-resolution-bookmarklets/</link>
		<comments>http://blog.eleventyten.com/2008/07/17/screen-resolution-bookmarklets/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 03:35:43 +0000</pubDate>
		<dc:creator>Cliff</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[bookmarklets]]></category>

		<guid isPermaLink="false">http://blog.eleventyten.com/?p=54</guid>
		<description><![CDATA[I&#8217;ve been using various methods to test screen resolutions in Safari, but this is probably my favourite:


Just drag these links to your bookmarks bar (creating a folder to put them in if you so desire) and click them to resize Safari to the desired resolution.  Simple huh?


640&#215;480 (588&#215;290)

800&#215;600 (748&#215;410)

1024&#215;768 (972&#215;578)

1280&#215;800 (1228&#215;610)

These viewport sizes are [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using various methods to test screen resolutions in Safari, but this is probably my favourite:</p>
<p><img src="http://blog.eleventyten.com/wp-content/uploads/2008/07/safari_screen_resolutions.png" alt="Safari screen resolutions" title="Safari screen resolutions" width="222" height="205" class="size-full wp-image-59" /></p>
<p><span id="more-54"></span></p>
<p>Just drag these links to your bookmarks bar (creating a folder to put them in if you so desire) and click them to resize Safari to the desired resolution.  Simple huh?</p>
<ul>
<li>
<a  href="javascript:self.resizeTo(588+(window.outerWidth-window.innerWidth),290+(window.outerHeight-window.innerHeight));">640&#215;480</a> (588&#215;290)</li>
<li>
<a  href="javascript:self.resizeTo(748+(window.outerWidth-window.innerWidth),410+(window.outerHeight-window.innerHeight));">800&#215;600</a> (748&#215;410)</li>
<li>
<a  href="javascript:self.resizeTo(972+(window.outerWidth-window.innerWidth),578+(window.outerHeight-window.innerHeight));">1024&#215;768</a> (972&#215;578)</li>
<li>
<a  href="javascript:self.resizeTo(1128+(window.outerWidth-window.innerWidth),610+(window.outerHeight-window.innerHeight));">1280&#215;800</a> (1228&#215;610)</li>
</ul>
<p>These viewport sizes are &#8220;safe&#8221; resolutions (taking into account task bars, toolbars, status bars, menus and such) based on the most common set of browsers and operating systems, including Safari, Camino, Firefox, Omniweb, Opera, and Internet Explorer 5, 6 and 7.</p>
<p><strong>Update:</strong> classic example of eating one&#8217;s own words. My colleague 
<a  href="http://www.inter-sections.net" onclick="javascript:pageTracker._trackPageview('/external/www.inter-sections.net');" >Daniel</a> just sent me a mail to let me know that he&#8217;d installed my bookmarklets and discovered that my own site failed on a 1024&#215;768 screen.  D&#8217;oh!  In my defense, it&#8217;s not my template, and I hadn&#8217;t actually tested it. *sheepish grin* Thanks Daniel! :-P</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.eleventyten.com/2008/07/17/screen-resolution-bookmarklets/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>RA D IO HEA_D</title>
		<link>http://blog.eleventyten.com/2008/07/14/ra-d-io-hea_d/</link>
		<comments>http://blog.eleventyten.com/2008/07/14/ra-d-io-hea_d/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 01:14:00 +0000</pubDate>
		<dc:creator>Cliff</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[radiohead]]></category>

		<guid isPermaLink="false">http://blog.eleventyten.com/?p=49</guid>
		<description><![CDATA[I meant to post this waay before now..  Read it and weep..


It was freaking awesome by the way, sorry you couldn&#8217;t be there :-P
]]></description>
			<content:encoded><![CDATA[<p>I meant to post this waay before now..  Read it and weep..</p>
<p>
<a  href='http://blog.eleventyten.com/wp-content/uploads/2008/07/100_5073.jpg' onclick="javascript:pageTracker._trackPageview('/downloads/wp-content/uploads/2008/07/100_5073.jpg');"  rel="lightbox[49]"><img src="http://blog.eleventyten.com/wp-content/uploads/2008/07/100_5073-300x225.jpg" alt="RA D IO HEA_D" title="RA D IO HEA_D" width="300" height="225" class="alignnone size-medium wp-image-50" /></a></p>
<p>It was freaking awesome by the way, sorry you couldn&#8217;t be there :-P</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.eleventyten.com/2008/07/14/ra-d-io-hea_d/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Strict typing as a first line of defence</title>
		<link>http://blog.eleventyten.com/2008/02/05/strict-typing-as-a-first-line-of-defence/</link>
		<comments>http://blog.eleventyten.com/2008/02/05/strict-typing-as-a-first-line-of-defence/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 14:03:07 +0000</pubDate>
		<dc:creator>Cliff</dc:creator>
				<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>

		<guid isPermaLink="false">http://blog.eleventyten.com/2008/02/05/strict-typing-is-good-mkay/</guid>
		<description><![CDATA[I&#8217;m currently in the final stages of a refactor and I thought I&#8217;d just share this little tidbit on why strict typing is a good thing in AS3, especially when working in an agile environment where things can change quickly as requirements unfold and mutate.

Let&#8217;s say you&#8217;re working with data via AMF, and you have [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently in the final stages of a refactor and I thought I&#8217;d just share this little tidbit on why strict typing is a good thing in AS3, especially when working in an agile environment where things can change quickly as requirements unfold and mutate.</p>
<p><span id="more-40"></span></p>
<p>Let&#8217;s say you&#8217;re working with data via AMF, and you have a Project value object with the properties &#8216;id&#8217;, &#8216;name&#8217; and &#8217;status&#8217;.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">class</span> Project <span style="color: #66cc66;">&#123;</span>
  <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> id:<span style="color: #0066CC;">Number</span>;
  <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">name</span>:<span style="color: #0066CC;">String</span>;
  <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">status</span>:<span style="color: #0066CC;">String</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>In no time at all the rest of your code will be littered with references to these properties, and obviously if any of these properties changes during refactoring will be instantly picked up by the compiler. No biggie refactoring those. But there are instances where changes can slip under the radar.</p>
<p>For example (examples are always good), take a look at this snippet:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> on_result<span style="color: #66cc66;">&#40;</span>event:ResultEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
  <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">status</span> = event.<span style="color: #006600;">result</span>.<span style="color: #0066CC;">status</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>See the subtlety? In this instance, <code>event.result</code> is an 
<a  href="http://livedocs.adobe.com/flex/201/langref/Object.html" onclick="javascript:pageTracker._trackPageview('/external/livedocs.adobe.com/flex/201/langref/Object.html');" ><code>Object</code></a>, which is dynamically typed. Therefore accessing erroneous properties will not be picked up by the compiler, and this ultimately leads to subtle, frustrating bugs and loss of hair.</p>
<p>To avoid this, ensure you type cast dynamic objects to their appropriate types before accessing properties thusly:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> on_result<span style="color: #66cc66;">&#40;</span>event:ResultEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span> <span style="color: #66cc66;">&#123;</span>
  <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">status</span> = <span style="color: #66cc66;">&#40;</span>event.<span style="color: #006600;">result</span> as Project<span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">status</span>;
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>Now if the status property is renamed during refactoring, the compiler will instantly pick it up and the world will seem a little brighter.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.eleventyten.com/2008/02/05/strict-typing-as-a-first-line-of-defence/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

