<?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>acloudtree &#187; Programming</title>
	<atom:link href="http://www.acloudtree.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.acloudtree.com</link>
	<description>Programming, Computers, Writing, Economics, and Life</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:03:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Developing a Chrome Extension and the &#8220;Origin is not allowed by Access-Control-Allow-Origin Error&#8221;</title>
		<link>http://www.acloudtree.com/developing-a-chrome-extension-and-the-origin-is-not-allowed-by-access-control-allow-origin-error/</link>
		<comments>http://www.acloudtree.com/developing-a-chrome-extension-and-the-origin-is-not-allowed-by-access-control-allow-origin-error/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 15:30:38 +0000</pubDate>
		<dc:creator>jared.folkins</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.acloudtree.com/?p=1180</guid>
		<description><![CDATA[I have been messing around building a Chrome extension and am fetching some resources using good ol&#8217; XMLHttpRequest(). At least I was trying to do so and instead was getting an epic fail. I am using the google developer debugger to test (tutorial) and saw the following error in the console. Example: Origin &#91;YOUR_RESOURCE_NAME&#93; is [...]]]></description>
			<content:encoded><![CDATA[<p>I have been messing around building a Chrome extension and am fetching some resources using good ol&#8217; XMLHttpRequest(). At least I was trying to do so and instead was getting an epic fail.</p>
<p>I am using the google developer debugger to test (<a title="google tutorial for developers tools" href="http://code.google.com/chrome/extensions/tut_debugging.html" target="_blank">tutorial</a>) and saw the following error in the console.</p>
<p>Example:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Origin <span style="color: #7a0874; font-weight: bold;">&#91;</span>YOUR_RESOURCE_NAME<span style="color: #7a0874; font-weight: bold;">&#93;</span> is not allowed by Access-Control-Allow-Origin Error.</pre></div></div>

<p>I thought I had configured my manifest.json file with the correct permissions.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">...<span style="color: #660066;">snip</span>...
  <span style="color: #3366CC;">&quot;permissions&quot;</span> <span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span>
    <span style="color: #3366CC;">&quot;https://*.domain.com&quot;</span>
  <span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
...<span style="color: #660066;">snip</span>...</pre></div></div>

<p>Turns out I was simply missing the trailing slash /.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">...<span style="color: #660066;">snip</span>...
  <span style="color: #3366CC;">&quot;permissions&quot;</span> <span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span>
    <span style="color: #3366CC;">&quot;https://*.domain.com/&quot;</span>
  <span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
...<span style="color: #660066;">snip</span>...</pre></div></div>

<p>Hope that helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acloudtree.com/developing-a-chrome-extension-and-the-origin-is-not-allowed-by-access-control-allow-origin-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macifier.com &#8211; FREE Mac App That Locks Your Keyboard And Mouse</title>
		<link>http://www.acloudtree.com/macifier-com-free-mac-app-that-locks-your-keyboard-and-mouse/</link>
		<comments>http://www.acloudtree.com/macifier-com-free-mac-app-that-locks-your-keyboard-and-mouse/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 19:38:57 +0000</pubDate>
		<dc:creator>jared.folkins</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Keyboard]]></category>
		<category><![CDATA[Lock]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Mouse]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Toddler]]></category>

		<guid isPermaLink="false">http://www.acloudtree.com/?p=956</guid>
		<description><![CDATA[My daughter Gracie was routinely disabling our family laptop while she skyped with her Grandparents. So I wrote a small Macintosh application that locks the keyboard and mouse. After showing the initial app to my buddy Mike Brisk, he created an awesome logo. Head over to http://macifier.com and download it for free.]]></description>
			<content:encoded><![CDATA[<div id="attachment_957" class="wp-caption alignleft" style="width: 282px"><a href="http://www.acloudtree.com/wp-content/uploads/2011/02/macifier_logo.png"><img class="size-full wp-image-957" title="macifier_logo" src="http://www.acloudtree.com/wp-content/uploads/2011/02/macifier_logo.png" alt="" width="272" height="223" /></a><p class="wp-caption-text">Macifier - Pacifying Your Keyboard And Mouse</p></div>
<p>My daughter Gracie was routinely disabling our family laptop while she skyped with her Grandparents. So I wrote a small Macintosh application that locks the keyboard and mouse. After showing the initial app to my buddy Mike Brisk, he created an awesome logo.</p>
<p>Head over to <a title="Macifier - Lock Your Keyboard And Mouse For Free" href="http://macifier.com">http://macifier.com</a> and download it for free.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acloudtree.com/macifier-com-free-mac-app-that-locks-your-keyboard-and-mouse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>(Story) So too will they replace you</title>
		<link>http://www.acloudtree.com/so-too-will-they-replace-you/</link>
		<comments>http://www.acloudtree.com/so-too-will-they-replace-you/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 01:27:51 +0000</pubDate>
		<dc:creator>jared.folkins</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[story]]></category>
		<category><![CDATA[writing]]></category>
		<category><![CDATA[america]]></category>
		<category><![CDATA[china]]></category>
		<category><![CDATA[down-sizing]]></category>
		<category><![CDATA[india]]></category>
		<category><![CDATA[industry]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.acloudtree.com/?p=57</guid>
		<description><![CDATA[He programs, he optimizes, he thinks. And once he is finished there waits satisfaction. “Thank you for all your hard work” his boss says “We really appreciate it” Words are not easy for him, so he doesn’t speak. Only smiles and nods and blinks. He doesn’t say that the software was challenging to write. That [...]]]></description>
			<content:encoded><![CDATA[<p>He programs, he optimizes, he thinks. And once he is finished there waits satisfaction.</p>
<p>“Thank you for all your hard work” his boss says “We really appreciate it”</p>
<p>Words are not easy for him, so he doesn’t speak. Only smiles and nods and blinks. He doesn’t say that the software was challenging to write. That there was a hard segment that stormed against him for weeks. And were it not for his diligence and effort, would have way-laid the project by months.</p>
<p>He does not say that the elegance found in file ‘Algorithm_search.c’ was something that the great artist Michelangelo would have been proud of. He had removed several thousand lines of code, and then optimized it in turn. This had increased the speed of the algorithm by over 80%.</p>
<p>He doesn’t mention that he has not slept well for several weeks. Not the pressures of the job, no far from it. More that he is concerned of what the code he is creating will eventually do.</p>
<p>“What do you mean they are upgrading the software?” he can hear the worker asking. “I’ve labored here for over twenty-five years! Now some dumb machine is going to do better than me?”</p>
<p><span id="more-57"></span></p>
<p>The programmer feels bad. So he emails his boss the next day and asks him if maybe they are not doing the right thing. If maybe they are hurting people.</p>
<p>“No-way-jose!” his boss cheerily says “This next version we are releasing is going to be great!”</p>
<p>So the programmer tunes out his feelings and sits at his desk. There, he strikes the keys of his keyboard in patterned order. There, he concentrates and blinks. Blurring away the passing of time.</p>
<p>Now, he looks down at his wrinkled hand, spotted with age. Extended out before him in supposed congratulatory offering as it shakes it’s partner. The hand of his new and much younger boss. “Thank you for all your awesome work!” his boss says “We couldn’t have asked for a better employee and are sorry to see you go.”</p>
<p><em>Go? </em>The programmer wonders. <em>Where am I going?</em></p>
<p>“I fought to keep you, I truly did. But the share holders, they see you and your team as excess now that we have the creator-program finished.”</p>
<p>The programmer gulps and shuffles his feet. Fear gripping so hard that he feels the squeaking of soles on the expensive tile beneath. It vibrates his clenched teeth.</p>
<p>“You do understand don’t you?” the man that was his boss asks “I mean, what logic is it to keep a group of employees now that we have the God of programs? A program that can create others in it’s own image.”</p>
<p>The programmer could find no error in his logic. The recession and the damage resulting from it, only amplified the argument. So he dropped his head, and stared down at the cardboard box that he gripped between bicep and forearm. There, in the box, were nicknacks from thirty years of employment. From a life-time of work.</p>
<p>“It’s probably all for the best” the chipper tone sounding as artificial as the programmer currently felt. “I am sure you are on to bigger and better things.” His previously new boss smiled as he let go the hand-shake.</p>
<p>The programmer looked up, away from the box. His eyes setting hard on his former new bosses gaze. And he knows not what to say. Words are never easy for him, so he doesn’t speak. Only smiles and nods and blinks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acloudtree.com/so-too-will-they-replace-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Methods : Shifty &amp; Pulse</title>
		<link>http://www.acloudtree.com/iphone-methods-shifty-pulse/</link>
		<comments>http://www.acloudtree.com/iphone-methods-shifty-pulse/#comments</comments>
		<pubDate>Fri, 15 May 2009 01:36:04 +0000</pubDate>
		<dc:creator>jared.folkins</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Objective-C]]></category>
		<category><![CDATA[OOP]]></category>
		<category><![CDATA[xCode]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Pulse]]></category>
		<category><![CDATA[Shifty]]></category>

		<guid isPermaLink="false">http://www.acloudtree.com/?p=47</guid>
		<description><![CDATA[ShiftyAndPulseMethods Over on www.iphonedevsdk.com someone was asking how to make their screen pulse. These methods are from a little experiment I did. They fire and visually show the user when their login attempt to the server fails. Pretty basic, and not perfect, but hopefully they get people started. PS : sorry for watermark, I do [...]]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/pWmXYAM_AAw&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/pWmXYAM_AAw&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><a href="http://acloudtree.com/wp-content/uploads/2009/05/shiftpulse.rtf" title="ShifyAndPulseMethods">ShiftyAndPulseMethods</a></p>
<p>Over on www.iphonedevsdk.com someone was asking how to make their screen pulse. These methods are from a little experiment I did. They fire and visually show the user when their login attempt to the server fails. Pretty basic, and not perfect, but hopefully they get people started.</p>
<p>PS : sorry for watermark, I do not record my screen often enough to justify expense.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acloudtree.com/iphone-methods-shifty-pulse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

