<?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>Sam&#039;s random musings &#187; Code Development</title>
	<atom:link href="http://blog.samdevore.com/archives/category/code-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.samdevore.com</link>
	<description>The internet wanderings of a stay at home dad</description>
	<lastBuildDate>Sat, 24 Apr 2010 01:45:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='blog.samdevore.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Speedlimit Preference Pane: test your app with different bandwidths</title>
		<link>http://blog.samdevore.com/archives/2009/03/25/speedlimit-preference-pane-test-your-app-with-different-bandwidths/</link>
		<comments>http://blog.samdevore.com/archives/2009/03/25/speedlimit-preference-pane-test-your-app-with-different-bandwidths/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 17:23:52 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Code Development]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://blog.samdevore.com/?p=1855</guid>
		<description><![CDATA[Speedlimit Preference Pane: test your app with different bandwidths


speedlimit is a Leopard preference pane for limiting your network bandwidth to one of a couple different speeds%u2014768k DSL, Edge, 3G, and Dialup. This is really handy for testing your iPhone app under normal Edge network conditions in the iPhone Simulator. The new version allows you to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://mschrag.github.com/">Speedlimit Preference Pane: test your app with different bandwidths</a></p>

<blockquote>
speedlimit is a Leopard preference pane for limiting your network bandwidth to one of a couple different speeds%u2014768k DSL, Edge, 3G, and Dialup. This is really handy for testing your iPhone app under normal Edge network conditions in the iPhone Simulator. The new version allows you to restrict the slowdown to only a specific set of hosts.
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.samdevore.com/archives/2009/03/25/speedlimit-preference-pane-test-your-app-with-different-bandwidths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working through Screen</title>
		<link>http://blog.samdevore.com/archives/2008/11/23/working-through-screen/</link>
		<comments>http://blog.samdevore.com/archives/2008/11/23/working-through-screen/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 16:53:46 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[Code Development]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://blog.samdevore.com/?p=1729</guid>
		<description><![CDATA[Working through Screens: 100 Ideas for Envisioning Powerful, Engaging, and Productive User Experiences in Knowledge Work


This book is a reference for product teams creating new or iteratively improved applications for thinking work. Written for use during early, formative conversations, it provides teams with a broad range of considerations for setting the overall direction and priorities [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flashbulbinteraction.com/WTS_opening.html">Working through Screens: 100 Ideas for Envisioning Powerful, Engaging, and Productive User Experiences in Knowledge Work</a></p>

<blockquote>
This book is a reference for product teams creating new or iteratively improved applications for thinking work. Written for use during early, formative conversations, it provides teams with a broad range of considerations for setting the overall direction and priorities for their onscreen tools. With hundreds of envisioning questions and fictional examples from clinical research, financial trading, and architecture, this volume can help definers and designers to explore innovative new directions for their products.
</blockquote>

<p>Looks like a good thing to spend some time pondering, on the plan for reading during the US Thanksgiving</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.samdevore.com/archives/2008/11/23/working-through-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chart Creator</title>
		<link>http://blog.samdevore.com/archives/2008/11/21/google-chart-creator/</link>
		<comments>http://blog.samdevore.com/archives/2008/11/21/google-chart-creator/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 16:03:53 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Code Development]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://blog.samdevore.com/?p=1723</guid>
		<description><![CDATA[Google Chart Creator

Ok now that is actually going to be useful later
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.clabberhead.com/googlechartgenerator.html">Google Chart Creator</a></p>

<p>Ok now that is actually going to be useful later</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.samdevore.com/archives/2008/11/21/google-chart-creator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Take screenshots with iPhone 2.0 software</title>
		<link>http://blog.samdevore.com/archives/2008/07/10/take-screenshots-with-iphone-20-software/</link>
		<comments>http://blog.samdevore.com/archives/2008/07/10/take-screenshots-with-iphone-20-software/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 16:18:15 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Apple Dev Tech]]></category>

		<guid isPermaLink="false">http://blog.samdevore.com/?p=1645</guid>
		<description><![CDATA[Take screenshots with iPhone 2.0 software


Running the new iPhone 2.0 software? Want to grab a screenshot of something? Turns out it&#8217;s amazingly easy. Hold the Home button down, then tap the power button on the top of the phone. The screen will flash white, and that&#8217;s it &#8212; the screenshot has been taken.


Sweet feature

(Via MacOSXHints.com.)
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.macosxhints.com/article.php?story=20080710074630863#comments">Take screenshots with iPhone 2.0 software</a></p>

<blockquote>
Running the new iPhone 2.0 software? Want to grab a screenshot of something? Turns out it&#8217;s amazingly easy. Hold the Home button down, then tap the power button on the top of the phone. The screen will flash white, and that&#8217;s it &#8212; the screenshot has been taken.
</blockquote>

<p>Sweet feature</p>

<p>(Via <a href="http://www.macosxhints.com">MacOSXHints.com</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.samdevore.com/archives/2008/07/10/take-screenshots-with-iphone-20-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prototype JavaScript framework: Prototype hosted on Google&#8217;s servers</title>
		<link>http://blog.samdevore.com/archives/2008/05/27/prototype-javascript-framework-prototype-hosted-on-googles-servers/</link>
		<comments>http://blog.samdevore.com/archives/2008/05/27/prototype-javascript-framework-prototype-hosted-on-googles-servers/#comments</comments>
		<pubDate>Tue, 27 May 2008 20:27:14 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[Code Development]]></category>
		<category><![CDATA[JavaScript/AJAX]]></category>

		<guid isPermaLink="false">http://blog.samdevore.com/?p=1626</guid>
		<description><![CDATA[Prototype JavaScript framework: Prototype hosted on Google&#8217;s servers

The AJAX Libraries API is a content distribution network and loading architecture for the most popular open source JavaScript libraries. By using the Google AJAX API Loader&#8217;s google.load() method, your application has high speed, globaly available access to a growing list of the most popular JavaScript open source [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://prototypejs.org/2008/5/27/prototype-hosted-on-google-s-servers">Prototype JavaScript framework: Prototype hosted on Google&#8217;s servers</a></p>

<p>The AJAX Libraries API is a content distribution network and loading architecture for the most popular open source JavaScript libraries. By using the Google AJAX API Loader&#8217;s google.load() method, your application has high speed, globaly available access to a growing list of the most popular JavaScript open source libraries including:</p>

<ul>
<li>jQuery</li>
<li>prototype</li>
<li>script.aculo.us</li>
<li>MooTools</li>
<li>dojo</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.samdevore.com/archives/2008/05/27/prototype-javascript-framework-prototype-hosted-on-googles-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coding Horror: Is HTML a Humane Markup Language?</title>
		<link>http://blog.samdevore.com/archives/2008/05/14/coding-horror-is-html-a-humane-markup-language/</link>
		<comments>http://blog.samdevore.com/archives/2008/05/14/coding-horror-is-html-a-humane-markup-language/#comments</comments>
		<pubDate>Wed, 14 May 2008 22:22:39 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Code Development]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://blog.samdevore.com/?p=1620</guid>
		<description><![CDATA[Coding Horror: Is HTML a Humane Markup Language?


One of the things we&#8217;re thinking about while building stackoverflow.com is how to let users style the questions and answers they&#8217;re entering on the site. Nothing&#8217;s decided at this point, but we definitely won&#8217;t be giving users one of those friendly-but-irritating HTML GUI browser layout controls.


I am also [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.codinghorror.com/blog/archives/001116.html">Coding Horror: Is HTML a Humane Markup Language?</a></p>

<blockquote>
One of the things we&#8217;re thinking about while building stackoverflow.com is how to let users style the questions and answers they&#8217;re entering on the site. Nothing&#8217;s decided at this point, but we definitely won&#8217;t be giving users one of those friendly-but-irritating HTML GUI browser layout controls.
</blockquote>

<p>I am also bothered by the gui widgets that people tend to like in pages, for one I want more control given to my designers over my &#8216;users&#8217; pages.  Generally people really abuse those controls and make the ugliest darn things.  The worst looking emails tend to come from yahoo and other web mail products that have those darn things.</p>

<p>I also like the markup that markdown makes, easy to style into something that flows with the rest of the site.  Not by me you know, but by my designers&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.samdevore.com/archives/2008/05/14/coding-horror-is-html-a-humane-markup-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying errors</title>
		<link>http://blog.samdevore.com/archives/2008/05/07/displaying-errors/</link>
		<comments>http://blog.samdevore.com/archives/2008/05/07/displaying-errors/#comments</comments>
		<pubDate>Wed, 07 May 2008 22:40:24 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Code Development]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.samdevore.com/?p=1614</guid>
		<description><![CDATA[Displaying errors




&#60;?php
&#160;&#160;&#160;&#160;$isDev&#160;&#160;= $_SERVER['HTTP_HOST'] == 'dev.phpguru.org';
&#160;&#160;&#160;&#160;$isLive = $_SERVER['HTTP_HOST'] == 'www.phpguru.org';

&#160;&#160;&#160;&#160;if ($isDev) {
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;error_reporting(E_ALL);
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;ini_set('display_errors', 1);

&#160;&#160;&#160;&#160;} elseif ($isLive) {
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;error_reporting(0);
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;ini_set('display_errors', 0);
&#160;&#160;&#160;&#160;}
?&#62;







sometimes the simple ways are the best ways.  I do some very similar things build on this same approach&#8230;

(Via phpguru.org &#8211; Richard Heyes&#8217; ramblings and code.)
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.phpguru.org/#293">Displaying errors</a></p>

<blockquote>

<code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php
<br />&nbsp;&nbsp;&nbsp;&nbsp;$isDev&nbsp;&nbsp;</span><span style="color: #007700">= </span><span style="color: #0000BB">$_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'HTTP_HOST'</span><span style="color: #007700">] == </span><span style="color: #DD0000">'dev.phpguru.org'</span><span style="color: #007700">;
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$isLive </span><span style="color: #007700">= </span><span style="color: #0000BB">$_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'HTTP_HOST'</span><span style="color: #007700">] == </span><span style="color: #DD0000">'www.phpguru.org'</span><span style="color: #007700">;
<br />
<br />&nbsp;&nbsp;&nbsp;&nbsp;if (</span><span style="color: #0000BB">$isDev</span><span style="color: #007700">) {
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">error_reporting</span><span style="color: #007700">(</span><span style="color: #0000BB">E_ALL</span><span style="color: #007700">);
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'display_errors'</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);
<br />
<br />&nbsp;&nbsp;&nbsp;&nbsp;} elseif (</span><span style="color: #0000BB">$isLive</span><span style="color: #007700">) {
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">error_reporting</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">);
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'display_errors'</span><span style="color: #007700">, </span><span style="color: #0000BB">0</span><span style="color: #007700">);
<br />&nbsp;&nbsp;&nbsp;&nbsp;}
<br /></span><span style="color: #0000BB">?&gt;
<br /></span>
</span>
</code>


</blockquote>

<p>sometimes the simple ways are the best ways.  I do some very similar things build on this same approach&#8230;</p>

<p>(Via <a href="http://www.phpguru.org/">phpguru.org &#8211; Richard Heyes&#8217; ramblings and code</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.samdevore.com/archives/2008/05/07/displaying-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Representative Line: On a Budget</title>
		<link>http://blog.samdevore.com/archives/2008/01/30/representative-line-on-a-budget/</link>
		<comments>http://blog.samdevore.com/archives/2008/01/30/representative-line-on-a-budget/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 15:14:22 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Code Development]]></category>

		<guid isPermaLink="false">http://blog.samdevore.com/archives/2008/01/30/representative-line-on-a-budget/</guid>
		<description><![CDATA[Representative Line: On a Budget: &#8220;

&#8216;I was called in by a small company to make some minor changes to their software,&#8217; Baughn wrote, &#8216;mostly language translations. Apparently, the normal maintainer had just up and quit.&#8217; 
&#8216;As I entered my temporary office, I got an inkling of why. On the wobbly desk sat a flickering 15&#8242; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://thedailywtf.com/Articles/On-a-Budget.aspx">Representative Line: On a Budget</a>: &#8220;</p>

<blockquote>&#8216;I was called in by a small company to make some minor changes to their software,&#8217; Baughn wrote, &#8216;mostly language translations. Apparently, the normal maintainer had just up and quit.&#8217; <br />
&#8216;As I entered my temporary office, I got an inkling of why. On the wobbly desk sat a flickering 15&#8242; CRT attached to a grimy, Compaq-branded Pentium II. But what made up my mind, however, was this following line.&#8217;

<pre>if (exitStatus==(3-3)) // Sorry, some ov my keys are broken</pre>
</blockquote>

<p>You know you are in trouble if this could happen in your home office, as a remote worker&#8230;.</p>

<p>(Via <a href="http://thedailywtf.com/">The Daily WTF</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.samdevore.com/archives/2008/01/30/representative-line-on-a-budget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bingodisk and Strongspace: What Happened?</title>
		<link>http://blog.samdevore.com/archives/2008/01/28/bingodisk-and-strongspace-what-happened/</link>
		<comments>http://blog.samdevore.com/archives/2008/01/28/bingodisk-and-strongspace-what-happened/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 21:20:36 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Code Development]]></category>
		<category><![CDATA[Developer]]></category>
		<category><![CDATA[My Work]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Tools I Use]]></category>

		<guid isPermaLink="false">http://blog.samdevore.com/archives/2008/01/28/bingodisk-and-strongspace-what-happened/</guid>
		<description><![CDATA[&#60;

p>Bingodisk and Strongspace: What Happened?

The past 10 days have not been the best days at Joyent. Bingodisk and Strongspace went off-line 12 Saturday. Bingodisk service was restored eight days later on 19 January. Strongspace limped back into service late 21 January, nearly ten days after it went off-line. Customers of these services are rightly outraged [...]]]></description>
			<content:encoded><![CDATA[<p>&lt;</p>

<p>p><a href="http://www.joyeur.com/2008/01/22/bingodisk-and-strongspace-what-happened">Bingodisk and Strongspace: What Happened?</a></p>

<blockquote>The past 10 days have not been the best days at Joyent. Bingodisk and Strongspace went off-line 12 Saturday. Bingodisk service was restored eight days later on 19 January. Strongspace limped back into service late 21 January, nearly ten days after it went off-line. Customers of these services are rightly outraged by the outage. While Strongspace and Bingodisk represent a very small fraction of Joyentâ€™s entire infrastructure, we understand how critical it is to many of you, and have been working and investing many, many hours to bring these services back on-line as expeditiously as possible. I apologize for the outages.</blockquote>

<p>This is an important read on a couple of fronts.</p>

<ul>
<li>it really helps one to understand the dangers of putting all your backup plans in a single &#8216;cool&#8217; technology</li>
<li>that the really hard part about a problem that requires restoration from a back up is the restoration</li>
<li>that this kind of transparency about a problem will probably go a long way for Joyeur.  </li>
</ul>

<p>It should be noted that I am the owner of a couple of lifetime plans with Joyeur and really like most of their services.</p>

<p>(Via <a href="http://www.joyeur.com/">Joyeur</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.samdevore.com/archives/2008/01/28/bingodisk-and-strongspace-what-happened/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beanstalk Subversion Hosting</title>
		<link>http://blog.samdevore.com/archives/2008/01/28/beanstalk-subversion-hosting/</link>
		<comments>http://blog.samdevore.com/archives/2008/01/28/beanstalk-subversion-hosting/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 21:17:18 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Code Development]]></category>
		<category><![CDATA[Products]]></category>

		<guid isPermaLink="false">http://blog.samdevore.com/archives/2008/01/28/beanstalk-subversion-hosting/</guid>
		<description><![CDATA[Beanstalk Subversion Hosting

Beanstalk is a hosted Subversion system, offering a simple web-based UI for creating and managing repositories. They also offer smooth integration with systems such as Basecamp, Campfire, FogBugz, Twitter, and Lighthouse. You can get started with a free account â€” free, I say â€” in just minutes, and can upgrade to a paid [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.beanstalkapp.com/?ad=df">Beanstalk Subversion Hosting</a></p>

<blockquote>Beanstalk is a hosted Subversion system, offering a simple web-based UI for creating and managing repositories. They also offer smooth integration with systems such as Basecamp, Campfire, FogBugz, Twitter, and Lighthouse. You can get started with a free account â€” <em>free</em>, I say â€” in just minutes, and can upgrade to a paid plan at any time. Beanstalk is a perfect example of a â€˜do one thing and do it wellâ€™ service.</blockquote>

<p>This is a nice looking service, one that I might test out for the next collaborative project that I have for a client.  Traditionally I have set up the repos on a machine that I control and then have to figure out how to migrate the service later.  It might be nice to take an existing service and just pass it off instead&#8230;.</p>

<p>(Via <a href="http://daringfireball.net/">Daring Fireball</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.samdevore.com/archives/2008/01/28/beanstalk-subversion-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
