<?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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>thecapacity</title>
	
	<link>http://blog.thecapacity.org</link>
	<description />
	<lastBuildDate>Thu, 25 Nov 2010 14:27:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19719</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/thecapacity" /><feedburner:info uri="thecapacity" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Postgresql Mac Installation</title>
		<link>http://feedproxy.google.com/~r/thecapacity/~3/0VryXDQanyo/</link>
		<comments>http://blog.thecapacity.org/2010/11/25/postgresql-mac-installation/#comments</comments>
		<pubDate>Thu, 25 Nov 2010 14:27:25 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[frustration]]></category>

		<guid isPermaLink="false">http://blog.thecapacity.org/?p=373</guid>
		<description><![CDATA[Just a quick note for Thanksgiving. I&#8217;m doing some experimentation and thought, given my frustrations with Sun and Oracle that I&#8217;d check out PostgreSQL instead of mysql (my typical DB of choice). Unfortunately, the Mac installer threw some issues, stating: &#8220;The &#8230; <a href="http://blog.thecapacity.org/2010/11/25/postgresql-mac-installation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just a quick note for Thanksgiving.</p>
<p>I&#8217;m doing some experimentation and thought, given my frustrations with Sun and Oracle that I&#8217;d check out PostgreSQL instead of mysql (my typical DB of choice).</p>
<p>Unfortunately, the <a>Mac installer</a> threw some issues, stating:</p>
<blockquote><p>&#8220;The database cluster initialization failed.&#8221;</p></blockquote>
<p>If you&#8217;re interested you can check out:</p>
<blockquote><p>sudo less /tmp/bitrock_installer.log</p></blockquote>
<p>And at the end you&#8217;ll probably see a failure such as:</p>
<blockquote><p>&#8220;su: no directory&#8221;</p></blockquote>
<p>I tried running the command manually, but got the same error and realized that&#8217;s because I set my user to &#8220;postgres&#8221; but that user doesn&#8217;t exist.</p>
<p>The installer tells you it will create the user, but apparently doesn&#8217;t. So if you run the initcluster.sh script as your normal user (or set the installer to use a user that exists) you should be ok.</p>
<p>Happy Turkey Day and hope that helps someone!!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thecapacity.org/2010/11/25/postgresql-mac-installation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.thecapacity.org/2010/11/25/postgresql-mac-installation/</feedburner:origLink></item>
		<item>
		<title>Processing… Processing</title>
		<link>http://feedproxy.google.com/~r/thecapacity/~3/1cCnOPVjVZo/</link>
		<comments>http://blog.thecapacity.org/2010/11/05/processing-processing/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 19:35:46 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://blog.thecapacity.org/?p=368</guid>
		<description><![CDATA[Like most people I&#8217;ve been bitten by the &#8220;social networks take up all my blogging time&#8221; bug. But in reality, I think that&#8217;s OK. I once read someone who said SMS is becoming the polite way of conversing, as opposed &#8230; <a href="http://blog.thecapacity.org/2010/11/05/processing-processing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Like most people I&#8217;ve been bitten by the &#8220;social networks take up all my blogging time&#8221; bug.</p>
<p>But in reality, I think that&#8217;s OK. I once read someone who said SMS is becoming the polite way of conversing, as opposed to a phone call, because it permits the recipient to respond when it&#8217;s convenient for them as opposed to when it&#8217;s convenient for the initiator.</p>
<p>So blogging, remains a &#8216;slow and steady&#8217; system to support the hivemind; Convenient for the author, and the searcher.</p>
<p>With that in mind here&#8217;s a bit of code I wrote a while back to create a <a href="http://processing.org/">Processing</a> visualization.</p>
<p>I&#8217;ve loved the &#8216;clock&#8217; charts where data is presented around a circle, from 1 o&#8217;clock to 12 o&#8217;clock, but never had a solid reason to use one. Unlike the <a href="http://sunlightfoundation.com/">Sunlight Foundation&#8217;s</a> excellent example <a href="http://blog.sunlightfoundation.com/2009/03/06/transparency-visualized/">visualizing transparency</a>.</p>
<p>However, &#8216;recently&#8217; (in blogger time) I had a unique opportunity at work to apply the technique to visualizing how participants interacted with a site over time.</p>
<p>Here&#8217;s what I came up with:</p>
<div id="attachment_369" class="wp-caption aligncenter" style="width: 310px"><a href="http://blog.thecapacity.org/wp-content/uploads/2010/11/visual.png"><img class="size-medium wp-image-369" title="Processing Visualization" src="http://blog.thecapacity.org/wp-content/uploads/2010/11/visual-300x200.png" alt="'clock' chart of activity" width="300" height="200" /></a><p class="wp-caption-text">User Website Activity</p></div>
<p>This represents how often users interacted with our site during it&#8217;s availability period (which spanned a number of days).</p>
<p>I first created the data with Python, taking the time portion of each action and creating a count, which I recorded East Coast (blue) and West Coast (orange) time. You&#8217;ll notice that the data is exactly the same in intensity, simply shifted by the appropriate timezone. This is because we had no way of knowing where the users were connecting from and wanted to simply look at the overall data to discern any patterns (and my brain doesn&#8217;t have a timezone converter built in).</p>
<p>Looking at the data, it should be fairly obvious that:</p>
<ul>
<li>An &#8220;East Coast&#8221; interepretation meant that users interacted with the site either as the first thing during their day (i.e. 8am) or during the latter part of lunch (noon and 1:00 PM).</li>
<li>Meanwhile, &#8220;West Coast&#8221; users probably responded before lunch (11) or towards the end of the day.</li>
</ul>
<p>I was able to build upon <a href="http://blog.blprnt.com/blog/blprnt/processing-json-the-new-york-times">a great example</a> from Jer Thorp and I apologize greatly for butchering his solution. Thankfully I didn&#8217;t need anything near as complex (and didn&#8217;t have to fight Java for JSON data since I embedded my arrays directly in the code).</p>
<p>So in case it helps anyone else, here&#8217;s my solution with all its warts (e.g. I know the data keys are drawn twice and there&#8217;s some manual tweaking to the drawHeight for sizing):</p>
<pre><span style="color: #cc6600;">import</span> processing.opengl.*;

<span style="color: #cc6600;">int</span> maxVal = 0;           <span style="color: #7e7e7e;">//Keeps track of the maximum returned value over the all terms</span>
<span style="color: #cc6600;">int</span> localMax = 0;         <span style="color: #7e7e7e;">//Keeps track of the maximum returned value over the each term</span>
<span style="color: #cc6600;">float</span> drawHeight = 0.45;  <span style="color: #7e7e7e;">//Portion of the screen height that the largest bar takes up</span>
<span style="color: #7e7e7e;">//.45 for hours .65 for dates</span>
<span style="color: #cc6600;">float</span> drawWidth = .25;  <span style="color: #7e7e7e;">//Portion of the screen height that the largest bar takes up</span>

<span style="color: #cc6600;">int</span> center_size = 10;
<span style="color: #cc6600;">int</span> border = 1;           <span style="color: #7e7e7e;">//Border between bars</span>
<span style="color: #cc6600;">int</span> lastTotal = 0;        

<span style="color: #cc6600;">color</span>[] colours = { #400101, #E46D0A, #009BF1 }; <span style="color: #7e7e7e;">//Graph Colours</span>
<span style="color: #cc6600;">color</span> textColor1 = #D98D30;
<span style="color: #cc6600;">color</span> textColor = #333333;
<span style="color: #cc6600;">color</span> backColor = #F2F2F2;
<span style="color: #cc6600;">color</span> curColor;

<span style="color: #cc6600;">int</span> MAX_HEIGHT = 1200;
<span style="color: #cc6600;">int</span> MAX_WIDTH = 800;

<span style="color: #7e7e7e;">// Time Shifted Data built with a separate Python script </span>
<span style="color: #cc6600;">String</span>[] Hours = {<span style="color: #006699;">"00:00"</span>, <span style="color: #006699;">"01:00"</span>, <span style="color: #006699;">"02:00"</span>, <span style="color: #006699;">"03:00"</span>, <span style="color: #006699;">"04:00"</span>, <span style="color: #006699;">"05:00"</span>, <span style="color: #006699;">"06:00"</span>, <span style="color: #006699;">"07:00"</span>, <span style="color: #006699;">"08:00"</span>, <span style="color: #006699;">"09:00"</span>, <span style="color: #006699;">"10:00"</span>, <span style="color: #006699;">"11:00"</span>, <span style="color: #006699;">"12:00"</span>, <span style="color: #006699;">"13:00"</span>, <span style="color: #006699;">"14:00"</span>, <span style="color: #006699;">"15:00"</span>, <span style="color: #006699;">"16:00"</span>, <span style="color: #006699;">"17:00"</span>, <span style="color: #006699;">"18:00"</span>, <span style="color: #006699;">"19:00"</span>, <span style="color: #006699;">"20:00"</span>, <span style="color: #006699;">"21:00"</span>, <span style="color: #006699;">"22:00"</span>, <span style="color: #006699;">"23:00"</span>};

<span style="color: #cc6600;">int</span>[] mod_est_Activity_Hours_Values = {3, 0,0,0,0,0,0, 3, 7, 9, 10, 26, 4, 7, 6, 20, 38, 10, 1, 5, 3, 2, 1, 1};
<span style="color: #cc6600;">int</span>[] mod_pdt_Activity_Hours_Values = {0,0,0,0, 3, 7, 9, 10, 26, 4, 7, 6, 20, 38, 10, 1, 5, 3, 2, 1, 1,3, 0,0};
<span style="color: #7e7e7e;">// end generated Data</span>

<span style="color: #cc6600;">void</span> <span style="color: #cc6600;"><strong>draw</strong></span>() {

};

<span style="color: #cc6600;">void</span> <span style="color: #cc6600;"><strong>setup</strong></span>() {
  <span style="color: #cc6600;">PFont</span> font = <span style="color: #cc6600;">loadFont</span>(<span style="color: #006699;">"Meta-Normal-48.vlw"</span>);
  <span style="color: #cc6600;">textFont</span>(font);

  <span style="color: #7e7e7e;">//Set the size of the stage &amp; set the background</span>
  <span style="color: #cc6600;">size</span>(MAX_HEIGHT,MAX_WIDTH);
  <span style="color: #006699;">frameRate</span>(60);
  <span style="color: #cc6600;">background</span>(backColor);
  <span style="color: #cc6600;">smooth</span>();

  curColor = colours[1];
  drawData(Hours, mod_est_Activity_Hours_Values, Hours.<span style="color: #cc6600;">length</span>);

  curColor = colours[2];
  drawData(Hours, mod_pdt_Activity_Hours_Values, Hours.<span style="color: #cc6600;">length</span>);

  <span style="color: #cc6600;">save</span>(<span style="color: #006699;">"visual.png"</span>);
};

<span style="color: #cc6600;">void</span> drawKey(<span style="color: #cc6600;">String</span> <span style="color: #006699;">key</span>, <span style="color: #cc6600;">float</span> xinc, <span style="color: #cc6600;">float</span> theta) {
      <span style="color: #cc6600;">float</span> y = 0;
      <span style="color: #cc6600;">float</span> x = .5;
      <span style="color: #cc6600;">String</span> s = <span style="color: #006699;">key</span>;

      <span style="color: #cc6600;">pushMatrix</span>();
      <span style="color: #cc6600;">translate</span>(x + xinc/2 * drawWidth, y - (xinc * 2) * drawHeight);

      <span style="color: #7e7e7e;">//Draw key</span>
      <span style="color: #cc6600;">rotate</span>(-<span style="color: #006699;">PI</span>/2);
      <span style="color: #cc6600;">fill</span>(textColor);

      <span style="color: #cc6600;">textSize</span>(<span style="color: #cc6600;">max</span>(xinc/2, 13));
      <span style="color: #cc6600;">text</span>(s, 0, 0);

      <span style="color: #cc6600;">translate</span>(<span style="color: #cc6600;">cos</span>(theta), <span style="color: #cc6600;">sin</span>(theta));

      <span style="color: #cc6600;">popMatrix</span>();
};

<span style="color: #cc6600;">void</span> drawData(<span style="color: #cc6600;">String</span>[] keys, <span style="color: #cc6600;">int</span>[] data, <span style="color: #cc6600;">int</span> len) {
  parseData(keys, data, len);

  <span style="color: #cc6600;">fill</span>(curColor);
  <span style="color: #cc6600;">float</span> xinc = <span style="color: #cc6600;">float</span>(<span style="color: #006699;">width</span>)/len;

  <span style="color: #7e7e7e;">//Move to the center of the screen</span>
  <span style="color: #cc6600;">pushMatrix</span>();
  <span style="color: #cc6600;">translate</span>(<span style="color: #006699;">width</span>/2, <span style="color: #006699;">height</span>/4);
  <span style="color: #cc6600;">noStroke</span>();

  <span style="color: #7e7e7e;">//Draw each value as a bar</span>
  <span style="color: #cc6600;">for</span> (<span style="color: #cc6600;">int</span> i = 0; i &lt; len; i++) {
    <span style="color: #cc6600;">color</span> c = <span style="color: #cc6600;">color</span>(<span style="color: #cc6600;">red</span>(curColor), <span style="color: #cc6600;">green</span>(curColor), <span style="color: #cc6600;">blue</span>(curColor), <span style="color: #cc6600;">random</span>(100,255));
    <span style="color: #cc6600;">fill</span>(c);

    <span style="color: #cc6600;">float</span> h = <span style="color: #cc6600;">float</span>(data[i])/<span style="color: #cc6600;">float</span>(maxVal);
    <span style="color: #cc6600;">float</span> theta = i * (<span style="color: #006699;">PI</span> / (len/2));

    <span style="color: #cc6600;">translate</span>(<span style="color: #cc6600;">cos</span>(theta) * center_size, <span style="color: #cc6600;">sin</span>(theta) * center_size);

    <span style="color: #7e7e7e;">//Rotate</span>
    <span style="color: #cc6600;">pushMatrix</span>();
    <span style="color: #cc6600;">rotate</span>(theta);

    <span style="color: #7e7e7e;">//Draw the bar</span>
    <span style="color: #cc6600;">rect</span>(0, 0, xinc * drawWidth, -h * <span style="color: #006699;">height</span> * drawHeight);

    drawKey(keys[i], xinc, theta);

    <span style="color: #cc6600;">popMatrix</span>();
  };

  <span style="color: #cc6600;">popMatrix</span>(); <span style="color: #7e7e7e;">//back to original center</span>
};

<span style="color: #7e7e7e;">// Helps normalize the chart</span>
<span style="color: #cc6600;">void</span> parseData(<span style="color: #cc6600;">String</span>[] keys, <span style="color: #cc6600;">int</span>[] data, <span style="color: #cc6600;">int</span> len) {
  <span style="color: #cc6600;">for</span> (<span style="color: #cc6600;">int</span> i = 0; i &lt; len; i++) {
    <span style="color: #cc6600;">if</span> (data[i] &gt; localMax) {
      localMax = <span style="color: #cc6600;">min</span>(data[i], 3000);
      <span style="color: #cc6600;">if</span> (localMax &gt; maxVal) maxVal = localMax;
    };
  };
};
</pre>
<p>To make it work you&#8217;ll need to make sure the font&#8217;s installed (see Jer&#8217;s original tutorial) but it should be relatively straightforward after that.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thecapacity.org/2010/11/05/processing-processing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.thecapacity.org/2010/11/05/processing-processing/</feedburner:origLink></item>
		<item>
		<title>I love Chrome Cookies</title>
		<link>http://feedproxy.google.com/~r/thecapacity/~3/6kC6XnFXlm0/</link>
		<comments>http://blog.thecapacity.org/2010/08/24/i-love-chrome-cookies/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 01:58:58 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[frustration]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://blog.thecapacity.org/?p=364</guid>
		<description><![CDATA[OK, I know it&#8217;s been way too long since I&#8217;ve posted and this isn&#8217;t intended as a heartfelt explanation, merely a reference for those in need. I&#8217;ve been hacking up a storm and shoehorning my way around problems and this &#8230; <a href="http://blog.thecapacity.org/2010/08/24/i-love-chrome-cookies/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>OK,</p>
<p>I know it&#8217;s been way too long since I&#8217;ve posted and this isn&#8217;t intended as a heartfelt explanation, merely a reference for those in need.</p>
<p>I&#8217;ve been hacking up a storm and shoehorning my way around problems and this is no different.</p>
<p>If you need to use wget with a site that requires authentication, then you need to dump some cookies from Chrome (or Firefox) because they&#8217;ve moved from <a href="http://blog.omnux.com/index.php/2008/03/25/cookiestxt-file-format/">cookies.txt</a> to sqlite3.</p>
<p>Here&#8217;s how (when typing this from the cmdline hit ^V then &lt;Tab&gt; for the separator, i.e. after the 1st &#8216;:</p>
<pre>sqlite3 -separator '       ' Cookies 'select host_key, httponly, path, secure, expires_utc, name, value from cookies' &gt; ~/Sites/uservice/chrome_cookies.txt
</pre>
<p>Unfortunately that didn&#8217;t work for me (not sure why wget wasn&#8217;t correctly reading the file) so I ended up using Firebug to look at the HTTP headers, and then using wget with:</p>
<pre>wget --no-cookies --header= "Cookie: name1=v1; name2=v2; name3=v3"
</pre>
<p>It&#8217;s actually way easier than it looks to get your header correctly, just copy and paste what you see from Firebug (look at the &#8220;Net&#8221; field and have it show all communications, what you want is the 1st line sent).</p>
<p>I figured this out <a href="http://www.linuxquestions.org/questions/linux-software-2/using-the-cookies-sqlite-from-firefox-3-in-wget-653227/">with some help</a> but mostly by my lonesome given the differences for Chrome.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thecapacity.org/2010/08/24/i-love-chrome-cookies/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.thecapacity.org/2010/08/24/i-love-chrome-cookies/</feedburner:origLink></item>
		<item>
		<title>Turing Test for Clouds</title>
		<link>http://feedproxy.google.com/~r/thecapacity/~3/VUKXs0w1RkQ/</link>
		<comments>http://blog.thecapacity.org/2009/12/11/turing-test-for-clouds/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 19:19:12 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[cloud_computing]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://blog.thecapacity.org/?p=350</guid>
		<description><![CDATA[One of the &#8216;trends&#8217; in programming is Monkey Patching which bypasses fixed static types and is used in more dynamic languages. I internalize the technique as; &#8220;if it looks like a duck, walks like a duck and quacks like a &#8230; <a href="http://blog.thecapacity.org/2009/12/11/turing-test-for-clouds/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the &#8216;trends&#8217; in programming is <a href="http://en.wikipedia.org/wiki/Monkey_patch">Monkey Patching</a> which bypasses fixed static types and is used in more dynamic languages. I internalize the technique as; &#8220;if it looks like a duck, walks like a duck and quacks like a duck&#8230;. then who cares what it really is&#8221;.</p>
<p>Yea, as a philosophy I know it lacks nuance but it&#8217;s worked well historically so let that dog hunt.</p>
<p>Another important bit of geek-trivia is the famous <a href="http://en.wikipedia.org/wiki/Turing_test">Turing Test</a>, if you&#8217;re here and don&#8217;t know what that is (or how to figure it out) then you should move along now, this isn&#8217;t the droid you&#8217;re looking for.</p>
<p>Simplified, Turing&#8217;s Test and Monkey Patching both suggest that explicit identifications aren&#8217;t practical. Rather that implicit behaviors should define the use of something. It&#8217;s a very expedient supposition that anyone who&#8217;s dealt with contracts would envy.</p>
<p><strong>What&#8217;s in this for Cloud, given that NIST has done a nice job of <a href="http://csrc.nist.gov/groups/SNS/cloud-computing/">defining</a> cloud in practical terms?</strong></p>
<p>As a buzzword, cloud&#8217;s seen more then it&#8217;s fair share of hype;</p>
<p><img src="http://www.google.com/trends/viz?q=cloud+computing&amp;date=all&amp;geo=all&amp;graph=weekly_img&amp;sort=1&amp;sa=N" alt="google trends for cloud computing" width="424" height="189" /></p>
<p>So everyone&#8217;s been trying to claim the moniker, and today I was reading about a &#8216;cloud based product&#8217; that really was simply a web portal much like <a href="walmart.com">Walmart</a>. Though I&#8217;m sure it can accurately claim to be cloud under a number of definitions, my instinct was &#8220;No, definitely not&#8221;.</p>
<p>However, a colleague replied to my skepticism saying; &#8220;it underlines that there are already commonplace applications in use that are legitimately &#8216;cloud&#8217;.&#8221;</p>
<p><strong>Where do you stand on such a claim?</strong> <em>That online shopping or market makers such as <a href="http://www.ebay.com/">eBay</a> are SaaS cloud services?</em></p>
<p>Underlying it all, are deep philosophical questions as integral to humanity&#8217;s future as determining where the soul resides!</p>
<ul>
<li><strong>What if I have an amazingly dynamic and responsive application, run by monkeys behind the curtain?</strong></li>
<li><strong>Would I be cloud computing if I used twitter via snail mail?</strong></li>
<li><strong>Does my subdivision&#8217;s swimming pool classify as IaaS</strong>, with its broad network-wide (i.e. roads) access, and rapid elasticity (easy capacity management) and measured service (towel charge) if there&#8217;s no lifeguard (On-demand self-service)?<strong> </strong>Surely you don&#8217;t need me to explain &#8220;resource pooling&#8221;.</li>
</ul>
<p><strong>Strictly speaking I&#8217;m not sure where I stand, but I think Turing would tell me to go with the duck and even a million monkeys patching the pool shouldn&#8217;t change my mind.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thecapacity.org/2009/12/11/turing-test-for-clouds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.thecapacity.org/2009/12/11/turing-test-for-clouds/</feedburner:origLink></item>
		<item>
		<title>couchdb coming back for more</title>
		<link>http://feedproxy.google.com/~r/thecapacity/~3/kAdKnnl4gGY/</link>
		<comments>http://blog.thecapacity.org/2009/10/30/couchdb-coming-back-for-more/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 03:34:24 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[couchdb]]></category>

		<guid isPermaLink="false">http://blog.thecapacity.org/?p=346</guid>
		<description><![CDATA[Not that long ago, JChris pointed out that not only was there a new version of couchdb out but that Janl had released a new version of his OSX package, CouchDBX!! So I knew I needed to find a time &#8230; <a href="http://blog.thecapacity.org/2009/10/30/couchdb-coming-back-for-more/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Not that long ago, JChris <a href="http://blog.thecapacity.org/2009/03/19/couchdb-performance-or-use-a-file/#comment-1473">pointed out</a> that not only was there a new version of couchdb out but that <a href="http://twitter.com/Janl">Janl</a> had released a new version of his OSX package, <a href="http://janl.github.com/couchdbx/">CouchDBX</a>!!</p>
<p>So I knew I needed to find a time to try both new versions out.</p>
<p>&#8216;Thankfully&#8217;, I can&#8217;t really get to sleep right now so I thought I&#8217;d try to be productive and give them both a go again with my small <a href="http://blog.thecapacity.org/2009/05/31/couchdb-performance-too-much-tcp/">performance test</a>.</p>
<p>And here&#8217;s the latest results.</p>
<p>Here&#8217;s a baseline, which if you recall loads the file from disk.</p>
<pre>$time ./finding_keywords.py
[('Hacker', 249160.0), ('Techcrunch', 249160.0)]

real    0m0.259s
user    0m0.216s
sys    0m0.041s</pre>
<p>Now for couchdb&#8217;s results. Here&#8217;s the portion of time required for the database load:</p>
<pre>$ time ./couchdb_finding_keywords.py
real	16m53.912s
user	2m57.409s
sys	1m35.209s</pre>
<p>This is down quite substantially from the 28 minutes the last version tested took to load.</p>
<p>Rather then run the timing for the loading stage again (since it&#8217;s clearly way beyond the time required to analyze the text file), I thought I&#8217;d jump to an actual query.</p>
<p>Unfortunately in the process of running the real test I realized I hadn&#8217;t created the necessary views for the new database.</p>
<p>Then, in doing so, I made a typo in my map() function and had to wait through many, many error messages like:</p>
<pre>OS Process :: function raised exception (ReferenceError: worse is not defined) with doc._id ############</pre>
<p>This was certainly my fault, but it would be nice if couch could take a break from spitting out error messages and not bake my processor any further running a bad map()!</p>
<p>I finally was able to click off the temporary view page and found the &#8220;Stop&#8221; button.</p>
<p>I managed to get most of my view function squared away but then missed the quotes around the dictionary key &#8220;word&#8221;, so while it should have read:</p>
<pre>"map": function(doc) {
    emit(doc[\"word\"], 1);
}

"reduce": function(key, value, rereduce) {
    if (rereduce) {
        return sum(value);
    }
    else {
      return value.length;
    }
}</pre>
<p>It didn&#8217;t and the bad line came out as:</p>
<pre>emit(doc[word], 1);</pre>
<p>So as you can imagine, I had to do the dance all over again. This time, after I was able to stop it I went directly to the document for the design itself and edited the code there.</p>
<p>I know I hit the green arrow to save, but when I went back to the design view to see the results it still had the same mistake. So I corrected it there, and quickly hit &#8216;Save&#8217; and then couchdbx promptly crashed on me.</p>
<p>After I told OSX to restart it I got:</p>
<pre>"The application beam.smp quit unexpectedly after it was relaunched"</pre>
<p>So yes&#8230; sometimes software and I don&#8217;t get along. What can I say, but that it makes me a great tester!</p>
<p>I was able to restart couchdbx though, and it seemed to load fine, and eventually got data from a browser after the view was built.</p>
<p>But I also got an interesting tidbit from the DBX console too:</p>
<pre>1&gt; [info] [&lt;0.66.0&gt;] 127.0.0.1 - - 'GET' /_config/native_query_servers/ 200
1&gt; [info] [&lt;0.86.0&gt;] checkpointing view update at seq 92542 for keywords _design/finding
1&gt; [error] [&lt;0.69.0&gt;] Uncaught error in HTTP request: {exit,normal}
1&gt; [info] [&lt;0.69.0&gt;] Stacktrace: [{mochiweb_request,send,2},
             {couch_httpd,send_chunk,2},
             {couch_httpd_view,send_json_reduce_row,3},
             {couch_httpd_view,'-make_reduce_fold_funs/5-fun-1-',8},
             {couch_btree,reduce_stream_kv_node2,8},
             {couch_btree,reduce_stream_kp_node2,11},
             {couch_btree,fold_reduce,7},
             {couch_httpd_view,'-output_reduce_view/6-fun-0-',12}]
1&gt; [info] [&lt;0.81.0&gt;] 127.0.0.1 - - 'GET' /keywords/_design/finding/_view/word_count?group=true 200
1&gt;</pre>
<p>Yep, I think I broke it yet again&#8230;</p>
<p>A subsequent query to:</p>
<pre>http://localhost:5984/keywords/_design/finding/_view/word_count?group=true</pre>
<p>Seemws to show all&#8217;s well, so I thought I&#8217;d get fancy:</p>
<pre>wget -O - http://localhost:5984/keywords/_design/finding/_view/word_count?group=true</pre>
<p>But when I hit Control-C to cancel the get (because I realized I hadn&#8217;t redirected output to /dev/null) I got yet another stack trace:</p>
<pre>1&gt; [info] [&lt;0.126.0&gt;] 127.0.0.1 - - 'GET' /keywords/_design/finding/_view/word_count?group=true 304
1&gt; [error] [&lt;0.387.0&gt;] Uncaught error in HTTP request: {exit,normal}
1&gt; [info] [&lt;0.387.0&gt;] Stacktrace: [{mochiweb_request,send,2},
             {couch_httpd,send_chunk,2},
             {couch_httpd_view,send_json_reduce_row,3},
             {couch_httpd_view,'-make_reduce_fold_funs/5-fun-1-',8},
             {couch_btree,reduce_stream_kv_node2,8},
             {couch_btree,reduce_stream_kp_node2,11},
             {couch_btree,fold_reduce,7},
             {couch_httpd_view,'-output_reduce_view/6-fun-0-',12}]</pre>
<p>So let&#8217;s just get on with the performance test I guess&#8230;</p>
<p>After another DBX restart (more to be sure then anything since couchdb seems to almost enjoy dumping stack traces while still merrily marching along).</p>
<p>I changed my URLs:<br />
old_url u = &#8220;http://localhost:5984/%s/_view/finding/word_count&#8221; % (db_name)</p>
<p>new_url = &#8220;http://localhost:5984/%s/_design/finding/_view/word_count&#8221; % (db_name)</p>
<p>And can now officially tell you (after one more stack traces) that:</p>
<pre>$ time ./couchdb_finding_keywords.py
[('Hacker', 249160.0), ('Techcrunch', 249160.0)]

real	0m31.559s
user	0m0.730s
sys	0m0.429s</pre>
<p><strong>It&#8217;s still an impressive bit of performance for the functionality, and I think I&#8217;ve clearly shown it&#8217;s fault resistance. I just wish it didn&#8217;t come at more than 100 times the cost of the flat file.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thecapacity.org/2009/10/30/couchdb-coming-back-for-more/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.thecapacity.org/2009/10/30/couchdb-coming-back-for-more/</feedburner:origLink></item>
		<item>
		<title>Where are the filters for Google Reader?</title>
		<link>http://feedproxy.google.com/~r/thecapacity/~3/wDBEC8JLIWk/</link>
		<comments>http://blog.thecapacity.org/2009/10/29/where-are-the-filters-for-google-reader/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 13:46:30 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[frustration]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://blog.thecapacity.org/?p=343</guid>
		<description><![CDATA[If I can create filters for GMail, to push notes to certain folders or automatically star things, then why can&#8217;t I create similar rules for my RSS feeds? RSS has quickly become at least as important to me as email, &#8230; <a href="http://blog.thecapacity.org/2009/10/29/where-are-the-filters-for-google-reader/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If I can create filters for GMail, to push notes to certain folders or automatically star things, then <strong>why can&#8217;t I create similar rules for my RSS feeds?</strong></p>
<p><strong>RSS has quickly become at least as important to me as email, so I think it deserves at least as many tools.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thecapacity.org/2009/10/29/where-are-the-filters-for-google-reader/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.thecapacity.org/2009/10/29/where-are-the-filters-for-google-reader/</feedburner:origLink></item>
		<item>
		<title>Can Android Equal Apple ?</title>
		<link>http://feedproxy.google.com/~r/thecapacity/~3/M_0nicYVdq4/</link>
		<comments>http://blog.thecapacity.org/2009/10/26/can-android-equal-apple/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 01:15:29 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://blog.thecapacity.org/?p=341</guid>
		<description><![CDATA[Here&#8217;s an idea for any aspiring hacker out there. Find a way to make Android mimic an iPhone when it&#8217;s connected. Users will gain the ability to use iTunes to sync music and podcasts (and possibly Apple Apps too if &#8230; <a href="http://blog.thecapacity.org/2009/10/26/can-android-equal-apple/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s an idea for any aspiring hacker out there.</p>
<p><strong>Find a way to make Android mimic an iPhone when it&#8217;s connected.</strong></p>
<p>Users will gain the ability to use iTunes to sync music and podcasts (and possibly Apple Apps too if the emulation went that far).</p>
<p>However, more important then just leveraging a known user interface it provides an obvious migration path off of Apple&#8217;s proprietary lock-in platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thecapacity.org/2009/10/26/can-android-equal-apple/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://blog.thecapacity.org/2009/10/26/can-android-equal-apple/</feedburner:origLink></item>
		<item>
		<title>Skinned Programming Paradigms</title>
		<link>http://feedproxy.google.com/~r/thecapacity/~3/Nd60pv2HAf4/</link>
		<comments>http://blog.thecapacity.org/2009/10/19/skinned-programming-paradigms/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 15:57:27 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[frustration]]></category>
		<category><![CDATA[inspiration]]></category>

		<guid isPermaLink="false">http://blog.thecapacity.org/?p=339</guid>
		<description><![CDATA[Here&#8217;s a free thought for you. How much of people choice in programming languages is really syntax dependent? For example, I dislike Java (I hate it for other reasons) simply because of the verbosity of &#8216;System.out.println&#8217; and don&#8217;t really understand &#8230; <a href="http://blog.thecapacity.org/2009/10/19/skinned-programming-paradigms/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a free thought for you.</p>
<p><strong>How much of people choice in programming languages is really syntax dependent?</strong></p>
<p>For example, I dislike Java (I hate it for other reasons) simply because of the verbosity of &#8216;System.out.println&#8217; and don&#8217;t really understand why Scala would chose &#8216;println&#8217; instead of Python&#8217;s terse use of &#8216;print&#8217;.</p>
<p>And I&#8217;m pretty sure despite overt rationalizations like &#8216;saving myself keystrokes&#8217; that&#8217;s just a petty reason.</p>
<p><strong>However, what I learned in compiler construction is that the parser or tokenizer is really separate from the language itself. </strong></p>
<p>So, for example, there&#8217;s no reason there couldn&#8217;t be a plugin for Java that allowed me to write with python&#8217;s syntax, or vice versa. Such a technique might require a little bit of library support, but I suspect adding pythons &#8216;map()&#8217; even to C/C++ would be fairly trivial.</p>
<p><strong>We should be able to &#8216;skin&#8217; our languages with our syntax of choice regardless of the underlying compiler, JVM or bytecode.</strong></p>
<p>If this were possible, then &#8216;language wars&#8217; could be less about syntax and interface (a la emacs vs. vi) and more about the underlying value of the language itself.</p>
<p><strong>If we can theme operating systems and user interfaces, then why not programming languages?</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thecapacity.org/2009/10/19/skinned-programming-paradigms/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://blog.thecapacity.org/2009/10/19/skinned-programming-paradigms/</feedburner:origLink></item>
		<item>
		<title>Welcome to the White House State of Confusion</title>
		<link>http://feedproxy.google.com/~r/thecapacity/~3/_0YxZ2Bho-8/</link>
		<comments>http://blog.thecapacity.org/2009/09/28/welcome-to-the-white-house-state-of-confusion/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 20:30:54 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[frustration]]></category>

		<guid isPermaLink="false">http://blog.thecapacity.org/?p=337</guid>
		<description><![CDATA[I know it&#8217;s easy to sit on the sidelines and poke fun at people trying actually do something. And we&#8217;ve been given many reasons to respect the technical proficiency of the recent administration&#8217;s IT personnel. However, here&#8217;s an example of drop down box, &#8230; <a href="http://blog.thecapacity.org/2009/09/28/welcome-to-the-white-house-state-of-confusion/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I know it&#8217;s easy to sit on the sidelines and poke fun at people trying actually <em>do</em> something. And we&#8217;ve been given many reasons to respect the technical proficiency of the recent administration&#8217;s IT personnel.</p>
<p>However, here&#8217;s an example of drop down box, from a section of the <a href="http://www.whitehouse.gov/">White House</a> site, which seems frustratingly naive:</p>
<select id="user_request_bureau" name="user_request[bureau]">
<option>Select your Component</option>
<option value="10000349">Executive Residence at the White House </option>
<option value="10000006">Legislative Branch </option>
<option value="10000007">Senate </option>
<option value="10000008">House of Representatives </option>
<option value="10000009">Joint Items </option>
<option value="10000010">Office of Compliance </option>
<option value="10000011">Capitol Police </option>
<option value="10000012">Congressional Budget Office </option>
<option value="10000013">Architect of the Capitol </option>
<option value="10000014">Botanic Garden </option>
<option value="10000015">Library of Congress </option>
<option value="10000016">Government Printing Office </option>
<option value="10000017">Government Accountability Office </option>
<option value="10000018">United States Tax Court </option>
<option value="10000019">Legislative Branch Boards and Commissions </option>
<option value="10000029">Judicial Branch </option>
<option value="10000030">Supreme Court of the United States </option>
<option value="10000031">United States Court of Appeals for the Federal Circuit </option>
<option value="10000033">United States Court of International Trade </option>
<option value="10000035">Courts of Appeals, District Courts, and other Judicial Services </option>
<option value="10000036">Administrative Office of the United States Courts </option>
<option value="10000037">Federal Judicial Center </option>
<option value="10000039">Judicial Retirement Funds </option>
<option value="10000041">United States Sentencing Commission </option>
<option value="10000046">Department of Agriculture </option>
<option value="10000047">Office of the Secretary </option>
<option value="10000048">Executive Operations </option>
<option value="10000049">Departmental Administration </option>
<option value="10000050">Office of Communications </option>
<option value="10000051">Office of the Inspector General </option>
<option value="10000052">Office of the General Counsel </option>
<option value="10000053">Economic Research Service </option>
<option value="10000054">National Agricultural Statistics Service </option>
<option value="10000056">Agricultural Research Service </option>
<option value="10000057">National Institute of Food and Agriculture </option>
<option value="10000061">Animal and Plant Health Inspection Service </option>
<option value="10000063">Food Safety and Inspection Service </option>
<option value="10000065">Grain Inspection, Packers and Stockyards Administration </option>
<option value="10000069">Agricultural Marketing Service </option>
<option value="10000070">Risk Management Agency </option>
<option value="10000072">Farm Service Agency </option>
<option value="10000076">Natural Resources Conservation Service </option>
<option value="10000078">Rural Development </option>
<option value="10000082">Rural Utilities Service </option>
<option value="10000084">Rural Housing Service </option>
<option value="10000086">Rural Business &#8211; Cooperative Service </option>
<option value="10000089">Foreign Agricultural Service </option>
<option value="10000101">Food and Nutrition Service </option>
<option value="10000105">Forest Service </option>
<option value="10000108">Department of Commerce </option>
<option value="10000109">Departmental Management </option>
<option value="10000110">Economic Development Administration </option>
<option value="10000111">Bureau of the Census </option>
<option value="10000112">Economic and Statistical Analysis </option>
<option value="10000115">International Trade Administration </option>
<option value="10000116">Bureau of Industry and Security </option>
<option value="10000117">Minority Business Development Agency </option>
<option value="10000119">National Oceanic and Atmospheric Administration </option>
<option value="10000120">U.S. Patent and Trademark Office </option>
<option value="10000121">Technology Administration </option>
<option value="10000122">National Technical Information Service </option>
<option value="10000123">National Institute of Standards and Technology </option>
<option value="10000124">National Telecommunications and Information Administration </option>
<option value="10000141">Department of Health and Human Services </option>
<option value="10000143">Food and Drug Administration </option>
<option value="10000144">Health Resources and Services Administration </option>
<option value="10000145">Indian Health Services </option>
<option value="10000146">Centers for Disease Control and Prevention </option>
<option value="10000147">National Institutes of Health </option>
<option value="10000148">Substance Abuse and Mental Health Services Administration </option>
<option value="10000149">Agency for Healthcare Research and Quality </option>
<option value="10000152">Centers for Medicare and Medicaid Services </option>
<option value="10000154">Administration for Children and Families </option>
<option value="10000155">Administration on Aging </option>
<option value="10000157">Departmental Management </option>
<option value="10000158">Program Support Center </option>
<option value="10000159">Office of the Inspector General </option>
<option value="10000160">Allowances </option>
<option value="10000164">Department of the Interior </option>
<option value="10000166">Bureau of Land Management </option>
<option value="10000167">Minerals Management Service </option>
<option value="10000168">Office of Surface Mining Reclamation and Enforcement </option>
<option value="10000169">Bureau of Reclamation </option>
<option value="10000170">Central Utah Project </option>
<option value="10000171">United States Geological Survey </option>
<option value="10000173">Bureau of Mines </option>
<option value="10000174">United States Fish and Wildlife Service </option>
<option value="10000176">National Park Service </option>
<option value="10000177">Bureau of Indian Affairs and Bureau of Indian Education </option>
<option value="10000179">Departmental Offices </option>
<option value="10000180">Insular Affairs </option>
<option value="10000181">Office of the Solicitor </option>
<option value="10000182">Office of Inspector General </option>
<option value="10000184">Office of the Special Trustee for American Indians </option>
<option value="10000186">National Indian Gaming Commission </option>
<option value="10000189">Department of Justice </option>
<option value="10000190">General Administration </option>
<option value="10000191">United States Parole Commission </option>
<option value="10000192">Legal Activities and U.S. Marshals </option>
<option value="10000193">Radiation Exposure Compensation </option>
<option value="10000194">Interagency Law Enforcement </option>
<option value="10000195">Federal Bureau of Investigation </option>
<option value="10000196">Drug Enforcement Administration </option>
<option value="10000198">Federal Prison System </option>
<option value="10000199">Office of Justice Programs </option>
<option value="10000200">Violent Crime Reduction Trust Fund </option>
<option value="10000203">Department of Labor </option>
<option value="10000204">Employment and Training Administration </option>
<option value="10000206">Employee Benefits Security Administration </option>
<option value="10000207">Pension Benefit Guaranty Corporation </option>
<option value="10000208">Employment Standards Administration </option>
<option value="10000209">Occupational Safety and Health Administration </option>
<option value="10000210">Mine Safety and Health Administration </option>
<option value="10000211">Bureau of Labor Statistics </option>
<option value="10000212">Departmental Management </option>
<option value="10000216">Department of State </option>
<option value="10000217">Administration of Foreign Affairs </option>
<option value="10000218">International Organizations and Conferences </option>
<option value="10000219">International Commissions </option>
<option value="10000220">Other </option>
<option value="10000224">Department of the Treasury </option>
<option value="10000225">Financial Crimes Enforcement Network </option>
<option value="10000226">Departmental Offices </option>
<option value="10000230">Interagency Law Enforcement </option>
<option value="10000231">Financial Management Service </option>
<option value="10000232">Federal Financing Bank </option>
<option value="10000233">Alcohol and Tobacco Tax and Trade Bureau </option>
<option value="10000235">Bureau of Engraving and Printing </option>
<option value="10000236">United States Mint </option>
<option value="10000237">Bureau of the Public Debt </option>
<option value="10000238">Internal Revenue Service </option>
<option value="10000240">Comptroller of the Currency </option>
<option value="10000241">Office of Thrift Supervision </option>
<option value="10000242">Interest on the Public Debt </option>
<option value="10000246">Social Security Administration </option>
<option value="10000253">Department of Education </option>
<option value="10000254">Office of Elementary and Secondary Education </option>
<option value="10000255">Office of English Language Acquisition </option>
<option value="10000256">Office of Special Education and Rehabilitative Services </option>
<option value="10000257">Office of Vocational and Adult Education </option>
<option value="10000258">Office of Postsecondary Education </option>
<option value="10000259">Office of Federal Student Aid </option>
<option value="10000260">Institute of Education Sciences </option>
<option value="10000261">Departmental Management </option>
<option value="10000264">Department of Energy </option>
<option value="10000265">National Nuclear Security Administration </option>
<option value="10000266">Environmental and Other Defense Activities </option>
<option value="10000267">Energy Programs </option>
<option value="10000268">Power Marketing Administration </option>
<option value="10000269">Departmental Administration </option>
<option value="10000272">Environmental Protection Agency </option>
<option value="10000275">Department of Transportation </option>
<option value="10000277">Office of the Secretary </option>
<option value="10000283">Federal Aviation Administration </option>
<option value="10000284">Federal Highway Administration </option>
<option value="10000286">Federal Motor Carrier Safety Administration </option>
<option value="10000287">National Highway Traffic Safety Administration </option>
<option value="10000290">Federal Railroad Administration </option>
<option value="10000293">Federal Transit Administration </option>
<option value="10000294">Saint Lawrence Seaway Development Corporation </option>
<option value="10000296">Pipeline and Hazardous Materials Safety Administration </option>
<option value="10000298">Office of Inspector General </option>
<option value="10000300">Surface Transportation Board </option>
<option value="10000303">Maritime Administration </option>
<option value="10000306">General Services Administration </option>
<option value="10000308">Real Property Activities </option>
<option value="10000309">Supply and Technology Activities </option>
<option value="10000313">General Activities </option>
<option value="10000316">Department of Housing and Urban Development </option>
<option value="10000318">Public and Indian Housing Programs </option>
<option value="10000320">Community Planning and Development </option>
<option value="10000321">Housing Programs </option>
<option value="10000322">Government National Mortgage Association </option>
<option value="10000323">Policy Development and Research </option>
<option value="10000324">Fair Housing and Equal Opportunity </option>
<option value="10000325">Office of Lead Hazard Control and Healthy Homes </option>
<option value="10000326">Management and Administration </option>
<option value="10000329">National Aeronautics and Space Administration </option>
<option value="10000332">Office of Personnel Management </option>
<option value="10000335">Small Business Administration </option>
<option value="10000338">Department of Veterans Affairs </option>
<option value="10000340">Veterans Health Administration </option>
<option value="10000342">Benefits Programs </option>
<option value="10000344">Departmental Administration </option>
<option value="10000347">Executive Office of the President </option>
<option value="10000348">The White House </option>
<option value="10001686">Business Transformation Agency </option>
<option value="10000350">Special Assistance to the President and the Official Residence </option>
<option value="10000351">Council of Economic Advisers </option>
<option value="10000352">Council on Environmental Quality and Office of Environmental Qua</option>
<option value="10000356">National Security Council </option>
<option value="10000359">Office of Administration </option>
<option value="10000362">Office of Management and Budget </option>
<option value="10000363">Office of National Drug Control Policy </option>
<option value="10000364">Office of Science and Technology Policy </option>
<option value="10000365">Office of the United States Trade Representative </option>
<option value="10000371">Unanticipated Needs </option>
<option value="10000461">Federal Drug Control Programs </option>
<option value="10000553">International Security Assistance </option>
<option value="10000554">Multilateral Assistance </option>
<option value="10000555">Agency for International Development </option>
<option value="10000556">Overseas Private Investment Corporation </option>
<option value="10000557">Trade and Development Agency </option>
<option value="10000559">Peace Corps </option>
<option value="10000560">Inter-American Foundation </option>
<option value="10000562">African Development Foundation </option>
<option value="10000564">International Monetary Programs </option>
<option value="10000566">Military Sales Program </option>
<option value="10000567">Special Assistance Initiatives </option>
<option value="10000574">Military Retirement </option>
<option value="10000575">Retiree Health Care </option>
<option value="10000576">Educational Benefits </option>
<option value="10000577">American Battle Monuments Commission </option>
<option value="10000578">White House Commission on the National Moment of Remembrance </option>
<option value="10000579">Armed Forces Retirement Home </option>
<option value="10000580">Cemeterial Expenses </option>
<option value="10000581">Forest and Wildlife Conservation, Military Reservations </option>
<option value="10000584">Selective Service System </option>
<option value="10000590">Corps of Engineers-Civil Works </option>
<option value="10000616">Administrative Conference of the United States </option>
<option value="10000627">Advisory Council on Historic Preservation </option>
<option value="10000635">Appalachian Regional Commission </option>
<option value="10000638">Architectural and Transportation Barriers Compliance Board </option>
<option value="10000647">Barry Goldwater Scholarship and Excellence in Education Foundati</option>
<option value="10000656">Central Intelligence Agency </option>
<option value="10000674">Commission of Fine Arts </option>
<option value="10000683">Commission on Civil Rights </option>
<option value="10000709">Committee for Purchase from People who are Blind or Severely Dis</option>
<option value="10000712">Commodity Futures Trading Commission </option>
<option value="10000722">Consumer Product Safety Commission </option>
<option value="10000725">Corporation for Public Broadcasting </option>
<option value="10000727">United States Court of Appeals for Veterans Claims </option>
<option value="10000732">Defense Nuclear Facilities Safety Board </option>
<option value="10000739">District of Columbia Courts </option>
<option value="10000741">District of Columbia General and Special Payments </option>
<option value="10000744">Equal Employment Opportunity Commission </option>
<option value="10000748">Export-Import Bank of the United States </option>
<option value="10000752">Farm Credit Administration </option>
<option value="10000762">Farm Credit System Insurance Corporation </option>
<option value="10000765">Federal Communications Commission </option>
<option value="10000769">Federal Deposit Insurance Corporation, activities </option>
<option value="10000771">Deposit Insurance </option>
<option value="10000772">FSLIC Resolution </option>
<option value="10000773">FDIC-Office of Inspector General </option>
<option value="10000783">Federal Election Commission </option>
<option value="10000789">Federal Financial Institutions Examination Council </option>
<option value="10000794">Federal Housing Finance Board </option>
<option value="10000797">Federal Labor Relations Authority </option>
<option value="10000800">Federal Maritime Commission </option>
<option value="10000804">Federal Mediation and Conciliation Service </option>
<option value="10000807">Federal Mine Safety and Health Review Commission </option>
<option value="10000810">Federal Retirement Thrift Investment Board </option>
<option value="10000813">Federal Trade Commission </option>
<option value="10000819">Harry S Truman Scholarship Foundation </option>
<option value="10000822">Institute of American Indian and Alaska Native Culture and Arts </option>
<option value="10000828">United States Interagency Council on Homelessness </option>
<option value="10000833">International Trade Commission </option>
<option value="10000842">James Madison Memorial Fellowship Foundation </option>
<option value="10000845">Japan-United States Friendship Commission </option>
<option value="10000853">Legal Services Corporation </option>
<option value="10000858">Marine Mammal Commission </option>
<option value="10000866">Merit Systems Protection Board </option>
<option value="10000875">National Archives and Records Administration </option>
<option value="10000878">National Capital Planning Commission </option>
<option value="10000891">National Commission on Libraries and Information Science </option>
<option value="10000920">National Council on Disability </option>
<option value="10000925">National Credit Union Administration </option>
<option value="10000930">National Endowment for the Arts </option>
<option value="10000933">National Endowment for the Humanities </option>
<option value="10000938">National Labor Relations Board </option>
<option value="10000941">National Mediation Board </option>
<option value="10000944">National Science Foundation </option>
<option value="10000949">National Transportation Safety Board </option>
<option value="10000957">Neighborhood Reinvestment Corporation </option>
<option value="10000959">Nuclear Regulatory Commission </option>
<option value="10000964">Nuclear Waste Technical Review Board </option>
<option value="10000967">Occupational Safety and Health Review Commission </option>
<option value="10000972">Office of Government Ethics </option>
<option value="10000975">Office of Navajo and Hopi Indian Relocation </option>
<option value="10000978">Office of Special Counsel </option>
<option value="10000990">Postal Service </option>
<option value="10001003">Railroad Retirement Board </option>
<option value="10001011">Securities and Exchange Commission </option>
<option value="10001020">Smithsonian Institution </option>
<option value="10001023">State Justice Institute </option>
<option value="10001030">Tennessee Valley Authority </option>
<option value="10001033">United States Holocaust Memorial Museum </option>
<option value="10001040">United States Institute of Peace </option>
<option value="10001055">Christopher Columbus Fellowship Foundation </option>
<option value="10001060">Intelligence Community Management Account </option>
<option value="10001072">Institute of Museum and Library Services </option>
<option value="10001078">United Mine Workers of America Benefit Funds </option>
<option value="10001093">Corporation for National and Community Service </option>
<option value="10001099">Morris K. Udall Scholarship and Excellence in National Environme</option>
<option value="10001133">Other Commissions and Boards </option>
<option value="10001137">Community Empowerment Board </option>
<option value="10001141">Chemical Safety and Hazard Investigation Board </option>
<option value="10001143">Court Services and Offender Supervision Agency for the District </option>
<option value="10001145">Presidio Trust </option>
<option value="10001147">Denali Commission </option>
<option value="10001149">Broadcasting Board of Governors </option>
<option value="10001151">Commission on Ocean Policy </option>
<option value="10001155">Delta Regional Authority </option>
<option value="10001157">National Veterans Business Development Corporation </option>
<option value="10001159">Vietnam Education Foundation </option>
<option value="10001163">United States-Canada Alaska Rail Commission </option>
<option value="10001334">Department of Homeland Security </option>
<option value="10001342">Departmental Management and Operations </option>
<option value="10001343">Office of the Inspector General </option>
<option value="10001344">Citizenship and Immigration Services </option>
<option value="10001345">United States Secret Service </option>
<option value="10001347">United States Coast Guard </option>
<option value="10001348">Federal Emergency Management Agency </option>
<option value="10001349">Science and Technology </option>
<option value="10001350">Information Analysis and Infrastructure Protection </option>
<option value="10001351">Bureau of Alcohol, Tobacco, Firearms, and Explosives </option>
<option value="10001353">Office of Innovation and Improvement </option>
<option value="10001354">Office of Safe and Drug-Free Schools </option>
<option value="10001355">Election Assistance Commission </option>
<option value="10001356">Millennium Challenge Corporation </option>
<option value="10001357">Public Company Accounting Oversight Board </option>
<option value="10001358">Standard Setting Body </option>
<option value="10001359">CMS Scorekeeping Adjustment </option>
<option value="10001365">Office of Civil Rights </option>
<option value="10001376">Telecommunications Development Fund </option>
<option value="10001419">Research and Innovative Technology Administration </option>
<option value="10001441">National Protection and Programs Directorate </option>
<option value="10001444">Federal Housing Enterprise Regulator </option>
<option value="10001447">National Security Division </option>
<option value="10001449">Domestic Nuclear Detection Office </option>
<option value="10001451">Affordable Housing Program </option>
<option value="10001452">Electric Reliability Organization </option>
<option value="10001454">Hurricane Education Recovery </option>
<option value="10001622">Office of the Fed Coordinator for Alaska Natural Gas Transportat</option>
<option value="10001639">Department-Wide Programs </option>
<option value="10001645">Transportation Security Administration </option>
<option value="10001646">Customs and Border Protection </option>
<option value="10001649">Office of Under Secretary for Border and Transportation Security</option>
<option value="10001650">DEPARTMENT OF NATIONAL INTELLIGENCE </option>
<option value="10001651">Federal Law Enforcement Training Center </option>
<option value="10001652">Immigration and Customs Enforcement </option>
<option value="10001659">Privacy and Civil Liberties Oversight Board </option>
<option value="10001662">Presidential Transition </option>
<option value="10001665">Federal Housing Finance Agency </option>
<option value="10001673">Federal Housing Finance Agency </option>
<option value="10001676">National Infrastructure Bank </option>
<option value="10001680">Recovery Act Accountability and Transparency Board </option>
<option value="10001681">Foreign Assistance Program Allowances </option>
<option value="10001682">Automatic Workplace Pensions </option>
<option value="10001683">Discrimination Claims Settlement </option>
<option value="10001684">Council of the Inspectors General on Integrity and Efficiency </option>
<option value="10001717">Defense Contract Audit Agency (DCCA) </option>
<option value="10001718">Defense Contract Management Agency (DCMA) </option>
<option value="10001719">Defense Finance and Accounting Service (DFAS) </option>
<option value="10001720">Defense Human Resource Activity (DHRA) </option>
<option value="10001721">Defense Information Systems Agency (DISA) </option>
<option value="10001716">Defense Commissary Agency (DCA) </option>
<option value="10001723">Defense Intelligence Senior Executive Service (DISES) </option>
<option value="10001724">Defense Logistics Agency (DLA) </option>
<option value="10001725">Defense Media Activity (DMA) </option>
<option value="10001726">Defense Security Cooperation Agency (DSCA) </option>
<option value="10001727">Defense Technical Information Center (DTIC) </option>
<option value="10001728">Department of Defense Education Agency (DODEA) </option>
<option value="10001722">Defense Intelligence Agency (DIA) </option>
<option value="10001730">Health Affairs (HA) </option>
<option value="10001731">Missile Defense Agency (MDA) </option>
<option value="10001732">National Geospatial-Intelligence Agency (NGA) </option>
<option value="10001733">National Reconnaissance Office (NRO) </option>
<option value="10001734">National Security Agency (NSA) </option>
<option value="10001735">Office of the Inspector General (OIG DoD) </option>
<option value="10001729">Deployment Process Modernization Office (DPMO) </option>
<option value="10001737">Pentagon Force Protection Agency </option>
<option value="10001738">Policy-Defense Technology Security Administration (DTSA) </option>
<option value="10001739">United States Air Force (Air Force) </option>
<option value="10001740">United States Army (Army) </option>
<option value="10001741">United States Marine Corps (USMC) </option>
<option value="10001742">United States Navy (Navy) </option>
<option value="10001736">Office of the Secretary of Defense (OSD) </option>
<option value="10001743">Washington Headquarters Services (WHS) </option>
<option value="10001748">Defense Advanced Research Projects Agency (DARPA) </option>
</select>
<p>Does anyone see a problem?</p>
<p><span style="text-decoration: underline;">For starters it&#8217;s not alphabetical, which makes finding anything atrocious!</span></p>
<p><span style="text-decoration: underline;">However, beyond that I see three entries for &#8220;Departmental Administration&#8221;!</span></p>
<p><strong>That&#8217;s what happens when you don&#8217;t sanitize your data, you can&#8217;t sanitize what you do with it!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thecapacity.org/2009/09/28/welcome-to-the-white-house-state-of-confusion/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://blog.thecapacity.org/2009/09/28/welcome-to-the-white-house-state-of-confusion/</feedburner:origLink></item>
		<item>
		<title>The Reciprocal World of IT and Business</title>
		<link>http://feedproxy.google.com/~r/thecapacity/~3/6iSp8inYG_Q/</link>
		<comments>http://blog.thecapacity.org/2009/09/21/the-reciprocal-world-of-it-and-business/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 18:34:39 +0000</pubDate>
		<dc:creator>jay</dc:creator>
				<category><![CDATA[business]]></category>
		<category><![CDATA[enterprise]]></category>
		<category><![CDATA[management]]></category>

		<guid isPermaLink="false">http://blog.thecapacity.org/?p=323</guid>
		<description><![CDATA[Working as an Enterprise Architect, you will frequently hear how technology must support a business need. It&#8217;s a cliché, yet accurate, reminder that technologists often deploy something that doesn&#8217;t best satisfy the problem. Although play and creativity has a place, &#8230; <a href="http://blog.thecapacity.org/2009/09/21/the-reciprocal-world-of-it-and-business/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Working as an Enterprise Architect, you will frequently hear how technology must support a business need. It&#8217;s a cliché, yet accurate, reminder that technologists often deploy something that doesn&#8217;t best satisfy the problem.</p>
<p>Although play and creativity has a place, even in business, no IT environment can long survive without supplying the business with the means to meet its objectives. There is surly no better route to bankruptcy then wasting time and money, which is what happens when IT divorces itself from the business.</p>
<p><strong><span style="text-decoration: underline;">However, often overlooked is the reciprocal need for the business to support IT. </span></strong></p>
<p>This doesn&#8217;t happen when a CIO or CTO is relegated to the back office and denied a seat at the executive table and the effects are more insidious though no less disastrous in the end. Or imagine being asked to run a massive IT department with the wrong skills, or responding to a mandate for change without the ability to make the proper investments.</p>
<p>For any organization to succeed it&#8217;s important to realize that all offices must be imbued with the same driving passion and resources for success.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.thecapacity.org/2009/09/21/the-reciprocal-world-of-it-and-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.thecapacity.org/2009/09/21/the-reciprocal-world-of-it-and-business/</feedburner:origLink></item>
	</channel>
</rss>

