<?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>Rob Raux</title>
	<atom:link href="http://www.dragonslife.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dragonslife.org</link>
	<description>one day at a time...</description>
	<lastBuildDate>Wed, 10 Apr 2013 23:52:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>npm install issue with node v0.8.19 &amp;v0.8.20</title>
		<link>http://www.dragonslife.org/npm-install-issue-with-node-v0-8-19/personal/</link>
		<comments>http://www.dragonslife.org/npm-install-issue-with-node-v0-8-19/personal/#comments</comments>
		<pubDate>Fri, 15 Feb 2013 15:24:05 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.dragonslife.org/?p=367</guid>
		<description><![CDATA[EDIT: This should be resolved for most folks without any action, however if you have github repos in your packages.json, you may need to do some additional cleaning. See here. &#8220;Error: EPERM, chown&#8221; are not issues you want to see when you try to install a Node module through npm. This issue appears to have [...]]]></description>
				<content:encoded><![CDATA[<p><strong>EDIT:</strong><br />
This should be resolved for most folks without any action, however if you have github repos in your packages.json, you may need to do some additional cleaning. See <a href="https://github.com/isaacs/npm/issues/3151#issuecomment-13802720">here</a>.</p>
<hr />
<p>&#8220;Error: EPERM, chown&#8221; are not issues you want to see when you try to install a Node module through npm.</p>
<p>This issue appears to have crept into node v0.8.19 and npm v1.2.9. Falling back to npm@1.2.2, node@v0.8.18 and the npm installs happen fine.</p>
<p>Package to install is irrelevant. I&#8217;ve done the following to no avail:</p>
<ul>
<li>cleaned, cleared cache as local &amp; root (npm cache clean and npm cache clear)</li>
<li>checked/reset all permissions</li>
<li>Rebuilt node v0.8.19 from src installed.</li>
</ul>
<p>Hopefully some <a href="https://github.com/isaacs/npm/issues/3151">folks in the know</a> are able to comment soon, in the meantime, I&#8217;d stick with node v0.8.18. I&#8217;ll post the resolution here when I have it.</p>
<p><script src="https://gist.github.com/robraux/4961026.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dragonslife.org/npm-install-issue-with-node-v0-8-19/personal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I set the PATH in supervisord?</title>
		<link>http://www.dragonslife.org/how-do-i-set-the-path-in-supervisord/personal/</link>
		<comments>http://www.dragonslife.org/how-do-i-set-the-path-in-supervisord/personal/#comments</comments>
		<pubDate>Thu, 24 Jan 2013 21:17:49 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.dragonslife.org/?p=360</guid>
		<description><![CDATA[Unfortunately the examples for supervisord are wrong. The &#8220;environment&#8221; variable can not have non-alphanumeric characters in it. They do mention this buried further in the documentation, but I didn&#8217;t see this until after much cursing as to why a forked program was not running, but functioned in every other environment. environment A list of key/value [...]]]></description>
				<content:encoded><![CDATA[<p>Unfortunately the examples for <a href="http://supervisord.org/subprocess.html">supervisord</a> are wrong. The &#8220;environment&#8221; variable can not have non-alphanumeric characters in it.</p>
<p>They do mention this buried further in the documentation, but I didn&#8217;t see this until after much cursing as to why a forked program was not running, but functioned in every other environment.</p>
<blockquote><p>environment</p>
<p>A list of key/value pairs in the form KEY=val,KEY2=val2 that will be placed in the child process’ environment. The environment string may contain Python string expressions that will be evaluated against a dictionary containing group_name, host_node_name, process_num, program_name, and here (the directory of the supervisord config file). <strong>Values containing non-alphanumeric characters should be placed in quotes (e.g. KEY=&#8221;val:123&#8243;,KEY2=&#8221;val,456&#8243;)</strong> Note that the subprocess will inherit the environment variables of the shell used to start “supervisord” except for the ones overridden here. See Subprocess Environment.</p></blockquote>
<p>Emphasis mine. So your examples should look like this:</p>
<p><script src="https://gist.github.com/4627789.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dragonslife.org/how-do-i-set-the-path-in-supervisord/personal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lua functions in Redis w/string splitting</title>
		<link>http://www.dragonslife.org/lua-functions-in-redis-with-string-splitting/technology/</link>
		<comments>http://www.dragonslife.org/lua-functions-in-redis-with-string-splitting/technology/#comments</comments>
		<pubDate>Tue, 22 Jan 2013 16:08:44 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.dragonslife.org/?p=352</guid>
		<description><![CDATA[If you need to write a function for use in a redis lua script, create it as an anonymous function and assign it to a local variable. You can then use it like you would a first class function stored in a variable. Also, lua does not appear to have a &#8220;split/explode&#8221; function which is [...]]]></description>
				<content:encoded><![CDATA[<p>If you need to write a function for use in a redis lua script, create it as an anonymous function and assign it to a local variable. You can then use it like you would a first class function stored in a variable.</p>
<p>Also, lua does not appear to have a &#8220;split/explode&#8221; function which is available in many other languages. Here is one that I&#8217;ve copied from their site and modified a bit. It works well for my needs in lua 5.1.</p>
<p><script src="https://gist.github.com/4595824.js"></script></p>
<p>The Redis Lua interpreter loads the following Lua libraries:</p>
<ul>
<li>base lib.</li>
<li>table lib.</li>
<li>string lib.</li>
<li>math lib.</li>
<li>debug lib.</li>
<li>cjson lib.</li>
<li>cmsgpack lib.</li>
</ul>
<p>Every Redis instance is guaranteed to have all the above libraries so you can be sure that the environment for your Redis scripts is always the same.</p>
<p>The CJSON library provides extremely fast JSON manipulation within Lua. All the other libraries are standard Lua libraries.</p>
<p>To understand all of the functions which are available for use in redis 2.6, <a href="https://gist.github.com/3924845">this</a> is helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dragonslife.org/lua-functions-in-redis-with-string-splitting/technology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to stop the iPhone from opening iPhoto</title>
		<link>http://www.dragonslife.org/how-to-stop-the-iphone-from-opening-iphoto/technology/</link>
		<comments>http://www.dragonslife.org/how-to-stop-the-iphone-from-opening-iphoto/technology/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 13:56:42 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.dragonslife.org/?p=348</guid>
		<description><![CDATA[I want iPhoto to launch when I plug in my camera, but not when I plug in my iPhone. Preventing this is not possible directly through iPhoto, you have to take a more creative approach. Step 1. Launch Image Capture (Applications&#62;Image Capture). Step 2. Plug you iPhone into the computer via USB. Step 3. Make sure you have [...]]]></description>
				<content:encoded><![CDATA[<p>I want iPhoto to launch when I plug in my camera, but not when I plug in my iPhone. Preventing this is not possible directly through iPhoto, you have to take a more creative approach.</p>
<p><strong>Step 1.</strong> Launch Image Capture (Applications&gt;Image Capture).</p>
<p><strong>Step 2. </strong>Plug you iPhone into the computer via USB.</p>
<p><strong>Step 3. </strong>Make sure you have the iPhone selected in the source list. When you do, you should see any photos you have on the iPhone appear in the right-hand column of the Image Capture application.</p>
<p><strong>Step 4.</strong> At the bottom of the source list, you&#8217;ll see your iPhone&#8217;s name then, below that, you&#8217;ll see the words &#8220;Connecting this iPhone opens:&#8221; and a drop-down menu.</p>
<p>Select &#8220;No application.&#8221; Now close the Image Capture app and you&#8217;re done. No more iPhone opening up iPhoto, but your other cameras will still auto-launch iPhoto when they are connected!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dragonslife.org/how-to-stop-the-iphone-from-opening-iphoto/technology/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creator vs consumer</title>
		<link>http://www.dragonslife.org/creator-vs-consumer/enlightenment/</link>
		<comments>http://www.dragonslife.org/creator-vs-consumer/enlightenment/#comments</comments>
		<pubDate>Mon, 14 Jan 2013 03:56:35 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Enlightenment]]></category>

		<guid isPermaLink="false">http://www.dragonslife.org/?p=345</guid>
		<description><![CDATA[Do you feel differently when you create something, than when you consume something? If I spent 2 hours watching TV, I don&#8217;t necessarily feel like that time was wasted &#8212; but I always feel like it just disappeared into the ether. Don&#8217;t get me wrong, I don&#8217;t find a problem with playing games, watching TV, [...]]]></description>
				<content:encoded><![CDATA[<p>Do you feel differently when you create something, than when you consume something?</p>
<p>If I spent 2 hours watching TV, I don&#8217;t necessarily feel like that time was wasted &#8212; but I always feel like it just disappeared into the ether.</p>
<p>Don&#8217;t get me wrong, I don&#8217;t find a problem with playing games, watching TV, watching movies, reading books, or listening to music.</p>
<p>There&#8217;s no problem with consuming, there&#8217;s a problem with <em>just</em> consuming.</p>
<p>What&#8217;s your ratio? Would you feel more productive if you created, learned, or otherwise engaged yourself in some of the time you now spend consuming?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dragonslife.org/creator-vs-consumer/enlightenment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
