<?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"
	>

<channel>
	<title>char1es.net</title>
	<atom:link href="http://char1es.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://char1es.net</link>
	<description>Nathan's musings</description>
	<pubDate>Mon, 18 Aug 2008 16:47:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>Jesus for President</title>
		<link>http://char1es.net/2008/08/17/113/</link>
		<comments>http://char1es.net/2008/08/17/113/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 03:24:53 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://char1es.net/2008/08/17/113/</guid>
		<description><![CDATA[One thing I&#8217;ve noticed since moving to Durham is that young adults in this area is pretty transitory.   This might not be anything geographically unique, but  we come for a couple years go to grad school and then move on.  I first spent extended time in Durham in the Summers of 2001 and 2002  when I was [...]]]></description>
			<content:encoded><![CDATA[<p>One thing I&#8217;ve noticed since moving to Durham is that young adults in this area is pretty transitory.   This might not be anything geographically unique, but  we come for a couple years go to grad school and then move on.  I first spent extended time in Durham in the Summers of 2001 and 2002  when I was here for an internship and since 2003 it&#8217;s been home.  I&#8217;ve seen many people come and go.  Someday I will also and I imagine I&#8217;ll go with mixed emotions.  I haven&#8217;t always enjoyed the time I&#8217;ve spent here.  I feel like there are more loose meandering threads than anything clear or concrete.</p>
<p><br id="obl211" />Without relatives in this area I probably would have never come and upon arrival and I started attending Durham Mennonite Church with them.  For as long as I&#8217;ve been there it&#8217;s been missing a solid group of 20-somethings.   Brad and Beth Yoder moved into the area and from them I found out about this Mennonite Church Plant in Chapel Hill.  I visited but the service for me at the time was a bit much and I didn&#8217;t return until about 4 years ago.  In that time it had changed to something I found more palatable and since then I&#8217;ve been attending both churches.  Those who have sojourned there and at Durham have gotten me into a fair number of things.  From Fred and Elizabeth Bahnson I got involved in Anathoth Garden.  On Tuesday nights I try and get out to to the work session in the garden, It&#8217;s a bit of a haul but there&#8217;s a potluck after the garden work is done and a Mexican lady makes these fresh tortilla&#8217;s that are to die for.  Jonathan and Leah Wilson-Hartgrove were part of the same Christian Peace Maker Team as Shane Claiborne and I got to know some of the folks from Rutba house as that formed and gotten to know something about the New Monastic Movement.  I led the youth group at Durham such as it was until everybody graduated from High School about two years ago.   We did a few things with Raleigh Mennonite and I got to know folks from there.   So I feel like I&#8217;ve formed a life here, but it&#8217;s spread out, everything requires driving 20 minutes to get there and I move from event to event, group to group without a lot of connection.<br id="obl233" /><br id="obl234" />&#8230; Cue Ramble On - Led Zeppelin &#8230;<br id="obl235" /><br id="obl236" />So when the Jesus for President tour comes to Raleigh I&#8217;m only mildly interested, I think I know a bit about this Shane Claiborne character.  I figure I know the community he&#8217;s writing from and his story, but even still it&#8217;d be fun to see the pageantry.   He and Chris Haw didn&#8217;t disappoint as it was more than I expected.  Their dialogue interspersed with fragments of song from the Psalters was raucous, awesome in the classical sense and I love that sort of thing.  But I feel like I&#8217;m in the choir.  I&#8217;m not really sure we&#8217;re the crowd who should have been there.  I&#8217;d have loved to see how a bunch of Southern Baptists or Presbyterians would have reacted.  I thing that most us of attending probably agreed with him going in, so for us it&#8217;s nice hear another voice speaking counter to the market.  It&#8217;s refreshing to hear a prophet who isn&#8217;t shilling for the man.  It allows us to tune out the messages in the media a little while longer.  So although the audience might have been the wrong one, to me it was the audience was the most significant part of the evening.  Amidst this motley crew of 700ish people that showed up, there were those I know from the Mennonite Churches in the area(Greensboro, Graham, Raleigh Durham and Chapel Hill), people I know from playing Ultimate Frisbee on Sunday afternoons, people I know from Habitat from Humanity, from Anathoth and from Rutba house.  It made me really happy to feel like all these fragmented pieces that seem so disconnected are part of a larger community, if only for one night.</p>
]]></content:encoded>
			<wfw:commentRss>http://char1es.net/2008/08/17/113/feed/</wfw:commentRss>
		</item>
		<item>
		<title>City of Lights</title>
		<link>http://char1es.net/2008/07/11/city-of-lights/</link>
		<comments>http://char1es.net/2008/07/11/city-of-lights/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 16:47:43 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://char1es.net/2008/07/11/city-of-lights/</guid>
		<description><![CDATA[
	

	, originally uploaded by Nathan.Charles.


	I put up some photos from my trip to Europe on Flickr.   Berlin -> Geneva -> Milan -> Italian Lake District -> Lyon -> Taize -> Paris.   All in all quite a nice trip.
]]></description>
			<content:encoded><![CDATA[<div class="flickr-frame">
	<a href="http://www.flickr.com/photos/ncharles/2599073628/" title="photo sharing"><img src="http://farm4.static.flickr.com/3202/2599073628_7dc203c274.jpg" class="flickr-photo" alt="" /></a><br />
<br />
	<span class="flickr-caption"><a href="http://www.flickr.com/photos/ncharles/2599073628/"></a>, originally uploaded by <a href="http://www.flickr.com/people/ncharles/">Nathan.Charles</a>.</span>
</div>
<p class="flickr-yourcomment">
	I put up some photos from my trip to Europe on Flickr.   Berlin -> Geneva -> Milan -> Italian Lake District -> Lyon -> Taize -> Paris.   All in all quite a nice trip.</p>
]]></content:encoded>
			<wfw:commentRss>http://char1es.net/2008/07/11/city-of-lights/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What IT can learn from Video games</title>
		<link>http://char1es.net/2008/05/20/what-it-can-learn-from-video-games/</link>
		<comments>http://char1es.net/2008/05/20/what-it-can-learn-from-video-games/#comments</comments>
		<pubDate>Tue, 20 May 2008 21:42:11 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
		
		<category><![CDATA[Babbling]]></category>

		<category><![CDATA[Ranting]]></category>

		<category><![CDATA[UI]]></category>

		<guid isPermaLink="false">http://char1es.net/?p=111</guid>
		<description><![CDATA[As I sit here in front of my computer, I hear my roommate in the other room talking to his Xbox 360.  He&#8217;s actually playing in a multi-player online game and communicating with people via the in game voice chat.  I think it&#8217;s Halo 3 but the actual game he&#8217;s playing is irrelevant.  They all [...]]]></description>
			<content:encoded><![CDATA[<p>As I sit here in front of my computer, I hear my roommate in the other room talking to his Xbox 360.  He&#8217;s actually playing in a multi-player online game and communicating with people via the in game voice chat.  I think it&#8217;s Halo 3 but the actual game he&#8217;s playing is irrelevant.  They all seem to have the same technology these days&#8211;high resolution, hi fidelity landscapes that one interacts with with friends and strangers alike.  So what relevance does this have to IT?  It&#8217;s _simple_.  Simplicity is something we in IT seem to run away from as fast as possible.  His video game presents a cohesive interface that allows him to interact in a virtual world more vibrant than the sci-fi portrayed by major motion pictures 15 years ago.  It is high technology made accessible and put in the hands of the masses.  Comparatively the interfaces of our IT computing systems are in the stone age.   At best the collaboration tools I use are overlays in my environment.  Band-aids slapped on a series of deep wounds.  So what am I complaining about?  My problem is that software development and management should think deeply about the medium in which it is presented.  I spend my day working in 4 windows.  My email, my web browser, my instant messenger and my shell session.  I happen to like my shell session most of all.  It&#8217;s the most powerful interface I have because it can encompass the other 3.    I can control just about anything from it and with one command I can travel from Durham to Boston, Florida even China.  I&#8217;m talking about bash and ssh by extension.    There are days when I want to be entirely in a shell session.  I run screen, I have finch for IM on one window, mutt for email on another and listen to music or control video playback on a third.  I used to work on mainframes and there it was TSO over TN3270.  Terminals are very powerful interfaces to those who know how to drive them.  Individual pieces of software can be wonderful.  However, whenever we have to change context, change from one user interface to another, it takes time.  It&#8217;s the integration that is the problem.  The glue.  We need to thing about changing the paradigm of the way we get to interfaces and creating a landscape that fosters innovation.  My roommate has a persistent Voice over IP (VOIP) connection with everyone in his game.  He doesn&#8217;t have to start to initiate a voice call, it&#8217;s already going.  Everyone is in the same landscape with different views of the same information.  In a day and age of working mobile, virtual team, and reduced travel budgets, IT solutions need to make screen sharing and collaboration as intuitive as Halo 3. <br id="xhq0" /> <br id="a3-4" />Have you seen any of these articles saying how Vista is terrible and Vista has failed?  The truth of the matter is that Vista tries to be everything to all and failed.  This is no fault of Vista.  The problem is that the paradigm of individual operating systems is changing.  A slashdot meme that is slowly fading is &#8220;imagine a beowolf cluster.&#8221;  Now we talk of virtualization.  What changed?  The hardware got more powerful than it wasn&#8217;t as important to make look two like one as to make one look like two.  I read an article recently that touted the IBM mainframe because it was able to have 85% utilization vs. 15% utilization of commodity hardware.  In the same article a VMware spokesperson made the claim that their software also allows hardware to be 85% efficient. I used to work on mainframes and  everything was done on a tn3270 session.  Mainframes were carved up with z/VM to allow lost of z/OS images to run in parallel, but it was always done with a tn3270 session.  One interface.  I never saw most of the machines I worked on because I didn&#8217;t need to.  The only time I had any sort of physical interaction was when I had to load tapes for maintenance and even that went away at the end.  <br id="mybg" /> <br id="b6bx" />Command line interfaces aren&#8217;t going away any time soon.  Microsoft&#8217;s offering a headless version of Windows 2008 is an acquiescence of that fact.  However, a text mode console isn&#8217;t always the best interface.  They are ill suited to deal with images, or non-linear editing or casual users.  At the other extreme of a command line interface is immersive 3D.  There&#8217;s been a lot of talk about Second Life recently.  To anyone who&#8217;s read Snowcrash by Neal Stephenson, you recognize that Second Life is a poor interpretation of The Steet.  Second life is a video game.  It&#8217;s a user interface that attempts to be a representation of data.  It is a top down approach and as a result is semantically entirely unlike the street.  The street was an abstraction of data, an aggregate of interfaces to systems, but it&#8217;s a vision of what might be.  <br id="rlit" /> <br id="qm:w" />These days I work with the previously mentioned &#8220;commodity hardware&#8221; and while I&#8217;m working with decentralized hardware,  I still can do remote administration via KVM over IP.  KVM over IP is wonderful although it can have a few limitations, like the need for an addition module for remote hard power cycling.  The rest of my time I use VMware.  When I&#8217;m sitting at my computer doing remote administration.  KVM over IP and VMware present a very similar interface.  The catch is that I can&#8217;t access them from the same interface. The latest VMware server beta has a Web interface.  The console doesn&#8217;t work properly in Firefox on Ubuntu, so I go to a VMware image running windows and access it that way.  The abstraction of processing data and power is no longer at a individual OS level but data center level.  A result of this shift is that I don&#8217;t care if my computer crashes nearly as much as I care if my connection is down.  Whether testers/developer/it professionals/users are presented with VNC, Remote Desktop, a RMA or VMware console or KVM over IP doesn&#8217;t matter, to the end user it&#8217;s a window. The paradigm of &#8220;my machine&#8221; has changed.   So the way we give them the box should be changed.  We need to envision our entire IT infrastructure as a cloud which we carve out bits which are given to people as needed and returned to the cloud when finished.  Amazon&#8217;s Elastic Compute Cloud (EC2) and Simple Storage Service (S3) are early examples of this mentality.   S3 provides a simple API for data storage of any size and similarly EC2 provides a API that allows creation and control of an Amazon Machine Image (AMI).   These services are too homogeneous for an test organization because they currently only supports x86 Linux images.  However it points toward a comprehensive test framework with network sandboxing, storage and different architectures all controlled from a common API. <br id="izlu" /> <br id="jw53" />What should IT look like in the future?  The paradigm of &#8220;my computer&#8221; are going to look a lot more gray and we must answer the question of how we bring together communication and work sessions.  How do we pull together VOIP, chat, shell sessions, email and other collaboration tools?  Lets start by looking at video games.</p>
]]></content:encoded>
			<wfw:commentRss>http://char1es.net/2008/05/20/what-it-can-learn-from-video-games/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ridable Bamboo Bike!</title>
		<link>http://char1es.net/2008/05/01/ridable-bamboo-bike/</link>
		<comments>http://char1es.net/2008/05/01/ridable-bamboo-bike/#comments</comments>
		<pubDate>Fri, 02 May 2008 03:16:11 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
		
		<category><![CDATA[Check this out]]></category>

		<category><![CDATA[Bamboo Bike]]></category>

		<category><![CDATA[make]]></category>

		<guid isPermaLink="false">http://char1es.net/2008/05/01/ridable-bamboo-bike/</guid>
		<description><![CDATA[
Finished, originally uploaded by Nathan.Charles.

The Bamboo Bike is finally ridable.  I won&#8217;t say done because I think there is still some more work I want to do, but I rode it today.  It rides really nice.  I don&#8217;t know if that&#8217;s surprising or not.   I&#8217;ve learned a lot during the [...]]]></description>
			<content:encoded><![CDATA[<div class="flickr-frame"><a title="photo sharing" href="http://www.flickr.com/photos/ncharles/2458599434/"><img class="flickr-photo" src="http://farm3.static.flickr.com/2363/2458599434_3a3a3f6318.jpg" alt="" /></a></p>
<p><span class="flickr-caption"><a href="http://www.flickr.com/photos/ncharles/2458599434/">Finished</a>, originally uploaded by <a href="http://www.flickr.com/people/ncharles/">Nathan.Charles</a>.</span></p>
</div>
<p class="flickr-yourcomment">The Bamboo Bike is finally ridable.  I won&#8217;t say done because I think there is still some more work I want to do, but I rode it today.  It rides really nice.  I don&#8217;t know if that&#8217;s surprising or not.   I&#8217;ve learned a lot during the process and I think I should build another one just to fix all the little things I could have done differently.</p>
<p>Jason from <a href="http://backalleybikes.net/">Back Alley Bikes</a> gave me a hand by building it up.  I put some pictures up on <a href=" http://flickr.com/photos/ncharles">flickr</a></p>
]]></content:encoded>
			<wfw:commentRss>http://char1es.net/2008/05/01/ridable-bamboo-bike/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linville Gorge</title>
		<link>http://char1es.net/2008/04/03/linville-gorge/</link>
		<comments>http://char1es.net/2008/04/03/linville-gorge/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 13:19:17 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
		
		<category><![CDATA[Wanderlust]]></category>

		<category><![CDATA[Hiking]]></category>

		<guid isPermaLink="false">http://char1es.net/2008/04/03/linville-gorge/</guid>
		<description><![CDATA[
Scruff, originally uploaded by Nathan.Charles.
David, Mark, Pat and myself went backing at Linville Gorge over the weekend.  It was the first time I&#8217;ve been out in a while so it felt really good.  It was rainy and cold but we were fortunate that it only rained when when the tent was set up. [...]]]></description>
			<content:encoded><![CDATA[<div class="flickr-frame"><a title="photo sharing" href="http://www.flickr.com/photos/ncharles/2376152856/"><img class="flickr-photo" src="http://farm3.static.flickr.com/2092/2376152856_77da464022.jpg" alt="" /></a></p>
<p><span class="flickr-caption"><a href="http://www.flickr.com/photos/ncharles/2376152856/">Scruff</a>, originally uploaded by <a href="http://www.flickr.com/people/ncharles/">Nathan.Charles</a>.</span></div>
<p class="flickr-yourcomment">David, Mark, Pat and myself went backing at Linville Gorge over the weekend.  It was the first time I&#8217;ve been out in a while so it felt really good.  It was rainy and cold but we were fortunate that it only rained when when the tent was set up.  I stayed warm and dry the whole time.  Hiking out we saw Rhododendron leaves covered in Ice.  When we drove out the thermometer on Mark&#8217;s jeep said it was 31 degrees.  I put some pictures up on flickr, check them out!</p>
]]></content:encoded>
			<wfw:commentRss>http://char1es.net/2008/04/03/linville-gorge/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bamboo Bike Frame</title>
		<link>http://char1es.net/2008/03/15/bamboo-bike-frame/</link>
		<comments>http://char1es.net/2008/03/15/bamboo-bike-frame/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 01:57:50 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
		
		<category><![CDATA[Check this out]]></category>

		<category><![CDATA[Bamboo Bike]]></category>

		<category><![CDATA[make]]></category>

		<guid isPermaLink="false">http://char1es.net/2008/03/15/bamboo-bike-frame/</guid>
		<description><![CDATA[
Bamboo Bike Frame, originally uploaded by Nathan.Charles.
I&#8217;ve been working on this frame off and on since August. I finally got it ready to build up a few days ago. It&#8217;s not the prettiest frame in the world. But I made it, it&#8217;s bamboo, and that&#8217;s cool.  This afternoon I went down the  bike [...]]]></description>
			<content:encoded><![CDATA[<p class="flickr-frame"><a title="photo sharing" href="http://www.flickr.com/photos/ncharles/2335703113/"><img class="flickr-photo" src="http://farm3.static.flickr.com/2308/2335703113_2677c6ae12.jpg" alt="" /></a></p>
<p><span class="flickr-caption"><a href="http://www.flickr.com/photos/ncharles/2335703113/">Bamboo Bike Frame</a>, originally uploaded by <a href="http://www.flickr.com/people/ncharles/">Nathan.Charles</a>.</span></p>
<p class="flickr-yourcomment">I&#8217;ve been working on this frame off and on since August. I finally got it ready to build up a few days ago. It&#8217;s not the prettiest frame in the world. But I made it, it&#8217;s bamboo, and that&#8217;s cool.  This afternoon I went down the  bike shop and ordered parts so I could build it. up.  I&#8217;m planning on building it up as fixed gear bike.  It should be lots of fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://char1es.net/2008/03/15/bamboo-bike-frame/feed/</wfw:commentRss>
		</item>
		<item>
		<title>twitter is the new finger (a bedtime story for little hackers)</title>
		<link>http://char1es.net/2008/03/09/twitter-is-the-new-finger-a-bedtime-story-for-little-hackers/</link>
		<comments>http://char1es.net/2008/03/09/twitter-is-the-new-finger-a-bedtime-story-for-little-hackers/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 04:54:13 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
		
		<category><![CDATA[Babbling]]></category>

		<category><![CDATA[Code Hacking]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[perl]]></category>

		<category><![CDATA[stories]]></category>

		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://char1es.net/2008/03/09/twitter-is-the-new-finger-a-bedtime-story-for-little-hackers/</guid>
		<description><![CDATA[Once upon a time there was an operating system philosophy called Unix.   Unix was the operating system of all the good people at  universities and colleges.  If you wanted to a use a computer at school there was only one computer to use, a Unix machine, and everybody had an account [...]]]></description>
			<content:encoded><![CDATA[<p>Once upon a time there was an operating system philosophy called Unix.   Unix was the operating system of all the good people at  universities and colleges.  If you wanted to a use a computer at school there was only one computer to use, a Unix machine, and everybody had an account on the same Unix server and you accessed it with a terminal.  People with accounts on the machine were called users and all your files were stored in your home directory.  The amazing thing was you never had to carry around a computer and you could get to them whenever you had access to terminal.  Unix made it easy to share, it made sure everybody was nice.   Pale men in dark rooms made sure everything worked, most of the time.  The happy little code monkeys wrote services like sendmail that allowed users to send electronic messages to each other, talk so they could chat and finger so they could see was online.   finger even checked a file in you home directory for a file called .plan that you could leave messages about what you were doing or going to be doing when you were away.   Configuration files in  Unix always had a . in front of them so you didn&#8217;t see them unless you really looked for them with ls -la .   And life was good.   Then the Personal Computer came and made it difficult to do all the things that worked well on Unix.  People had to maintain their computer and worry about nasty things like bugs, viruses, worms and blue screens of death.   Nobody used finger anymore.  And people were not happy.  Then one day the World Wide Web was invented,  people decided that they didn&#8217;t like to maintain their own data anymore so they used software on the web like gMail to store all their email.   The software code monkeys wrote things like Instant messenger so you could chat and <a href="http://twitter.com">twitter</a> so you could see what your friends were doing.    A silly little code monkey named <a href="http://char1es.net">Nathan</a> even wrote a little perl program to sync the .plan file with twitter.   So twitter was like finger.   And once again people could access their data whenever they had access to a terminal.  Except now we call terminals  apple macbook pros.  And everybody was happy except the blue screens of death.    They went and sulked under the overpasses leading away from Redmond.</p>
<p>So what is the moral of the story? Well the moral of the story is that nothing is new under the sun, and the more things change the more they stay the same.</p>
<p>Code Follows&#8230;</p>
<p><span id="more-106"></span></p>
<p>#!/usr/bin/perl<br />
#Program: twitterd<br />
#Author: Nathan Charles  ncharles at gmail dot com<br />
#Version: 0.1<br />
#This program watches .plan file in your home directory and updates<br />
#your twitter account with the contents of that file when it changes<br />
#<br />
# This program has no warranty to the full extent of the law</p>
<p>use File::Monitor;<br />
use Getopt::Long;<br />
use Net::Twitter;<br />
use POSIX &#8217;setsid&#8217;;</p>
<p>#CONSTANTS<br />
use constant TWUSER =&gt; &#8220;twitterusername&#8221;;<br />
use constant TWPASS =&gt; &#8220;twitterpassword&#8221;;<br />
use constant TWPLANINT =&gt; 60;</p>
<p>sub usage {<br />
print &#8220;usage: twitterd [-d]\n&#8221;;<br />
print &#8221;   -d, &#8211;daemon       run in background&#8221;;<br />
exit 1;<br />
}<br />
sub daemonize {<br />
open STDIN, &#8220;/dev/null&#8221;;<br />
open STDOUT,&#8221;&gt;/dev/null&#8221;;<br />
open STDERR,&#8221;&gt;/dev/null&#8221;;<br />
exit if fork &gt; 0;<br />
setsid;<br />
exec(&#8221;twitterd&#8221;);<br />
}</p>
<p>sub twitterplan {<br />
my $twit = Net::Twitter-&gt;new(username=&gt;TWUSER, password=&gt;TWPASS );<br />
open(PLAN, $file);<br />
@lines = &lt;PLAN&gt;;<br />
close(PLAN);<br />
print @lines;<br />
$result = $twit-&gt;update(@lines);<br />
print $result;<br />
}</p>
<p>sub watchloop {</p>
<p>my $loopy = 1;</p>
<p>my $monitor = File::Monitor-&gt;new();<br />
$home = $ENV{&#8217;HOME&#8217;};</p>
<p>$file = &#8220;$home/.plan&#8221;;<br />
$monitor-&gt;watch($file, \&amp;twitterplan);</p>
<p>$monitor-&gt;scan;</p>
<p>my @changes = $monitor-&gt;scan;<br />
while ($loopy )<br />
{<br />
@changes = $monitor-&gt;scan();<br />
sleep TWPLANINT<br />
}<br />
}</p>
<p>MAIN:<br />
{<br />
my $daemon = &#8221;;<br />
GetOptions (&#8217;d|daemon&#8217; =&gt; \$daemon);</p>
<p>if ($daemon) {<br />
daemonize();<br />
} else {<br />
watchloop();<br />
}<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://char1es.net/2008/03/09/twitter-is-the-new-finger-a-bedtime-story-for-little-hackers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>rebirth or maybe just a work in progress</title>
		<link>http://char1es.net/2008/02/19/rebirth-or-maybe-just-a-work-in-progress/</link>
		<comments>http://char1es.net/2008/02/19/rebirth-or-maybe-just-a-work-in-progress/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 04:23:46 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
		
		<category><![CDATA[Babbling]]></category>

		<category><![CDATA[blog software]]></category>

		<category><![CDATA[movabletype]]></category>

		<category><![CDATA[web]]></category>

		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://char1es.net/2008/02/19/rebirth-or-maybe-just-a-work-in-progress/</guid>
		<description><![CDATA[So this thing called blogging, it turns out I often don&#8217;t like to write these short essays but infrequently.  Eric said he thinks that between he and Kyle they have the &#8220;most prolific blogging family&#8221;.  Well then between Derrick and myself I think we have more inactive websites than any other family.  [...]]]></description>
			<content:encoded><![CDATA[<p>So this thing called blogging, it turns out I often don&#8217;t like to write these short essays but infrequently.  <a href="http://er-uk.blogspot.com/2008/02/prolificnessly.html" title="Eric">Eric</a> said he thinks that between he and <a href="http://www.kyledeanreinford.com/" title="K">K</a><a href="http://cemusic.blogspot.com/" title="y">y</a><a href="http://nomadicallyspeaking.wordpress.com/" title="l">l</a><a href="http://avmusicmag.com/" title="e">e</a> they have the &#8220;most prolific blogging family&#8221;.  Well then between <a href="http://d.char1es.net">Derrick</a> and myself I think we have more inactive websites than any other family. <img src='http://char1es.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I haven&#8217;t had a whole lot of time for this site and even less motivation.  I was having some problems with Movabletype with themes and pages and  I  sort of got fed up with dealing with it.   I don&#8217;t know if this is perception or reality but I feel like blogging software has stagnated over the last year or so as blogs have gone mainstream.   All the cool kids are now doing mashups and hanging out on flickr, youtube or facebook.    I&#8217;ve been using Movabletype since college.  The first post on this blog was in August of 2003 and I&#8217;ve always liked it because it statically renders html so your website handles traffic much better.  The downside is that it isn&#8217;t as reactive and it&#8217;s a little more challenging to add new technologies like AJAX.   Movabletype was the original cool blog software.  It&#8217;s changed it&#8217;s pay structure though what seems like every year and now they&#8217;ve open sourced their code base to try and catch up again with Wordpress.   For the last while I&#8217;ve been telling I&#8217;ve been telling my friends to use that if they want to start a blog, use that because there seems to be more free themes and good plugins available.   I finally broke down and took sometime today to migrate to Wordpress and grab a new theme.  So over the next weeks and months I&#8217;ll be tinkering until I come up with something I like.  It&#8217;s always a big of a pain to add back in the galleries and other &#8220;features.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://char1es.net/2008/02/19/rebirth-or-maybe-just-a-work-in-progress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>44B Tingen Ct, or some of the problems with Private Streets.</title>
		<link>http://char1es.net/2008/01/21/44b-tingen-ct-or-some-of-the-problems-with-private-streets/</link>
		<comments>http://char1es.net/2008/01/21/44b-tingen-ct-or-some-of-the-problems-with-private-streets/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 17:06:52 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
		
		<category><![CDATA[Babbling]]></category>

		<category><![CDATA[addresses]]></category>

		<category><![CDATA[homeowners associatoins]]></category>

		<category><![CDATA[trails]]></category>

		<category><![CDATA[urban sprawl]]></category>

		<guid isPermaLink="false">http://char1es.net/wordpress/?p=101</guid>
		<description><![CDATA[&#8220;I know that development, it was Durham&#8217;s experiment in Urban Sprawl&#8221; was what someone told me who did some work on my house.  The development I live was built in middle of nowhere on the farmland just off of I-40 at the end of the 70&#8217;s.  30 years later the website says, &#8220;Woodcroft [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;I know that development, it was Durham&#8217;s experiment in Urban Sprawl&#8221; was what someone told me who did some work on my house.  The development I live was built in middle of nowhere on the farmland just off of I-40 at the end of the 70&#8217;s.  30 years later the website says, &#8220;Woodcroft is a planned community of over 2,000 homes aimed to coexist harmoniously with nature, We strive to achieve this goal through a well-crafted design, miles of biking and jogging trails, and acres of common area greenways.&#8221;</p>
<p>Things have been built up significantly in the last 10 years and the American Tobacco trail which is to be a part of the eventual East Coast Greenway crosses Woodcroft Parkway just a few blocks from where I live.  Sometimes websites want to correct my address and say that I live on West Woodcroft, but technically there is no West Woodcroft Parkway, The roadsigns are just Woodcroft and East Woodcroft, however certain institutions add the West for &#8220;Clarification&#8221; which is just the tip of the oddities in the road name issues with my neighborhood.</p>
<p>Woodcroft is somewhat of a maze for the uninitiated and giving directions is a bit of a trick.  If you go to <a href="http://maps.google.com">maps.google.com</a> and search for 44B Tingen Ct., Durham, NC, the result will show you an arrow on a cul-de-sac off of St. Giles Drive.  However were you to get in your car and try and follow the directions to that address you would never get there.  The road signs for these roads don&#8217;t exist.  I wish they did because 44B Tingen Ct. shows up exactly where my house is.  I assume what happened was at some point the roads were made private and the names changed because on some of my tax forms I see Tingen Ct.  I&#8217;m not sure of the rational but it would be nice if would revert so I could get an address people could actually find.</p>
]]></content:encoded>
			<wfw:commentRss>http://char1es.net/2008/01/21/44b-tingen-ct-or-some-of-the-problems-with-private-streets/feed/</wfw:commentRss>
		</item>
		<item>
		<title>dropd.pl</title>
		<link>http://char1es.net/2007/10/09/dropdpl/</link>
		<comments>http://char1es.net/2007/10/09/dropdpl/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 15:36:41 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
		
		<category><![CDATA[Code Hacking]]></category>

		<category><![CDATA[avahi]]></category>

		<category><![CDATA[dropcopy]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[perl]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://char1es.net/wordpress/?p=100</guid>
		<description><![CDATA[Mac using Anders wanted to dump something on my laptop running Ubuntu.  He suggested dropcopy but there wasn’t a server for linux.  Turns out the drop copy protocol is pretty basic and it wasn’t too difficult to write a server in perl. This could be integrated into avahi so you can use bonjour. [...]]]></description>
			<content:encoded><![CDATA[<p>Mac using <a href="http://anders.com/">Anders</a> wanted to dump something on my laptop running Ubuntu.  He suggested dropcopy but there wasn’t a server for linux.  Turns out the drop copy protocol is pretty basic and it wasn’t too difficult to write a server in perl. This could be integrated into avahi so you can use bonjour.   Code follows,</p>
<p><span id="more-100"></span><br />
#!/usr/bin/perl<br />
#Author: Nathan Charles &lt;ncharles at gmail dot com&gt;<br />
#<br />
#This is a quick and dirty DropCopy server for linux written in perl.<br />
#It dumps the file into the directory the sever is run from.<br />
#It works for me.  Your mileage may vary.<br />
#</p>
<p>use IO::Socket;<br />
print &#8220;Starting Server\n&#8221;;</p>
<p>my $SERVER_RUNNING = TRUE;</p>
<p>while($SERVER_RUNNING) {<br />
my $sock = new IO::Socket::INET (<br />
LocalHost =&gt; &#8216;localhost&#8217;,<br />
LocalPort =&gt; &#8216;5052&#8242;,<br />
Proto =&gt; &#8216;tcp&#8217;,<br />
Reuse =&gt; 1,<br />
);<br />
die &#8220;Could not create socket: $!\n&#8221; unless $sock;</p>
<p>$sock-&gt;listen();<br />
$sock-&gt;autoflush(1);<br />
my $new_sock = $sock-&gt;accept();<br />
my $HEADER_FLAG = &#8220;1&#8243;;<br />
my $header;<br />
my $filename;<br />
my $filesize;<br />
@metadata;<br />
$metacounter=0;<br />
$filesize=0;<br />
my $trans=0;</p>
<p>while(&lt;$new_sock&gt;) {<br />
if ($HEADER_FLAG) {<br />
$HEADER_FLAG=0;<br />
$headerlen= length($_);<br />
$header = substr($_,0,$headerlen-1);<br />
print $header . &#8220;\n&#8221;;<br />
$headerlen= length($_);<br />
@metadata = split(/\|/,$header);<br />
$filename = @metadata[1];<br />
$filesize = @metadata[2];<br />
print &#8220;1=&#8221;.@metadata[1].&#8221; 2=&#8221;.@metadata[2].&#8221;\n&#8221;;<br />
$_ = substr($_,$headerlen);<br />
open(FILEOUT, &#8220;&gt;&#8221;.$filename);<br />
}<br />
$trans +=length($_);<br />
print FILEOUT $_;<br />
if ($trans==$filesize) {<br />
print $trans.&#8221; Bytes of &#8220;.$filesize.&#8221; transfered.\n&#8221;;<br />
close(FILEOUT);<br />
break;<br />
}<br />
}<br />
close(FILEOUT);<br />
close($sock);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://char1es.net/2007/10/09/dropdpl/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
