<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>BEAUHINKS</title>
	
	<link>http://beauhinks.com</link>
	<description>An undergrad's talk of physics, computer science, math, and travels.</description>
	<pubDate>Mon, 01 Dec 2008 07:12:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Beauhinks" type="application/rss+xml" /><feedburner:emailServiceId>1726940</feedburner:emailServiceId><feedburner:feedburnerHostname>http://www.feedburner.com</feedburner:feedburnerHostname><item>
		<title>December</title>
		<link>http://feeds.feedburner.com/~r/Beauhinks/~3/471010551/</link>
		<comments>http://beauhinks.com/2008/12/01/december/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 07:12:26 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://beauhinks.com/?p=69</guid>
		<description><![CDATA[First:
The entry for the Independent Game Developers Festival has been completed, Bubble Blow. You can read more about it at http://beauhinks.com/bubbleblow
Very basic game, but given the time constraints turned out relatively well. Physics work reasonably realistically. I was able to add in dynamic collision geometry generated by the textures before submission to the contest&#8230; kinda [...]]]></description>
			<content:encoded><![CDATA[<h2>First:</h2>
<p>The entry for the Independent Game Developers Festival has been completed, Bubble Blow. You can read more about it at <a href="http://beauhinks.com/bubbleblow">http://beauhinks.com/bubbleblow</a></p>
<p>Very basic game, but given the time constraints turned out relatively well. Physics work reasonably realistically. I was able to add in dynamic collision geometry generated by the textures before submission to the contest&#8230; kinda cool!</p>
<h2>Second:</h2>
<p>The St. Mary&#8217;s project using genetic algorithms for autonomous navigation is slow going&#8211;mostly in part because of time spent on Bubble Blow. However, I have a working robotics platform running a Pic18f2550 which allows us plenty of control. My partner and I are now working on condensing the code and fitting it on the microprocessor so we don&#8217;t have to do any sort of tethered control. We have wireless modules, which I would have to write a bit of code to interface between USB and serial to get to work properly, but the original idea was to have fully autonomous robots capable of seeking goals and avoiding predators.</p>
<p>We&#8217;ll get there. Maybe some pictures will go up soon.</p>
<h2>Third:</h2>
<p>The site has been neglected for a few months. My schedule this semester was a bit more hectic than anticipated due to taking on an aid position for a math class. Hopefully, I&#8217;ll be able to stay on top o Beauhinks more in the next month and year as new opportunities present themselves. Physics is good. Programming is good. I should have a bit of research up soon on the (well understood) application of Statistical Mechanics to Information Theory. Is there a fundamental limit on knowledge?</p>
<p>That is all.</p>
<p>~Steven</p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/12/01/december/feed/</wfw:commentRss>
		<feedburner:origLink>http://beauhinks.com/2008/12/01/december/</feedburner:origLink></item>
		<item>
		<title>July Recap: DBP, Darwin, Robots.. Oh my.</title>
		<link>http://feeds.feedburner.com/~r/Beauhinks/~3/352250564/</link>
		<comments>http://beauhinks.com/2008/08/01/july-recap-dbp-darwin-robots-oh-my/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 04:29:17 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[School]]></category>

		<category><![CDATA[dream build play]]></category>

		<category><![CDATA[physics]]></category>

		<category><![CDATA[robots]]></category>

		<guid isPermaLink="false">http://beauhinks.com/?p=66</guid>
		<description><![CDATA[Didn&#8217;t win in the Darwin Race of Languages&#8230; that wasn&#8217;t a big shock! Ah well congratulations to the individuals that did, some of the submissions were really well done and significantly easier to install than mine. Check out the entries!
Good prizes as well.
Dream Build Play
St. Mary&#8217;s College is fielding two teams for Microsoft&#8217;s Dream Build [...]]]></description>
			<content:encoded><![CDATA[<p>Didn&#8217;t win in the Darwin Race of Languages&#8230; that wasn&#8217;t a big shock! Ah well congratulations to the individuals that did, some of the submissions were really well done and significantly easier to install than mine. <a href="http://www.darwinraceoflanguages.com/">Check out the entries!</a></p>
<p>Good prizes as well.</p>
<h2>Dream Build Play</h2>
<p>St. Mary&#8217;s College is fielding two teams for Microsoft&#8217;s <a href="http://www.dreambuildplay.com/main/default.aspx">Dream Build Play</a> contest. I&#8217;m part of one, we&#8217;re working on ideas now. Hopefully we get started soon, we only have approximately two months left. Should be a blast if we can dedicate some time and effort to a good game building on experience from last year.</p>
<h2>Thesis</h2>
<p>I&#8217;ve a final thesis to do. I want to build robots. This is not <em>entirely</em> physics as my adviser will probably point out, but I am a joint major. So, at the suggestion of a partner, we&#8217;re going to play with genetic algorithms and robots.</p>
<p><strong>First Stages:<br />
</strong><a href="http://www.flickr.com/photos/23488385@N03/2721809940/"><img class="alignright" style="float: right;" src="http://farm4.static.flickr.com/3232/2721809940_21a6b5b40d.jpg" alt="" /></a></p>
<p>We need a robot platform, and we&#8217;re strapped for cash. I&#8217;m going to be in charge of building something cost effective that will allow us to run simulations from a host. Let&#8217;s look at some candidates for parts for a platform to test the feasibility of our idea:</p>
<ul>
<li>(1) PICAXE-08M Microcontroller - the brains of the little guys. 128 bytes to work with. 8 pins. This could get hairy!</li>
<li>(1) L293D Driver. Used for controlling motors. Actually, we might be going with a project board for the picaxe which would give us 4 digital on/offs and 2 reversible power outputs without much headache. Enough to turn two servos and collect a little input from the environment.</li>
<li>(1) 5V Voltage Regulator. We don&#8217;t want any blue smoke.</li>
<li>(2) Microswitches to collect input.</li>
<li>(1) 9V Battery.</li>
<li>(2) GM10 <a href="http://www.solarbotics.com/products/gm10w_deal/">Motor Kits</a>.  They have to move <em>somehow</em>.</li>
</ul>
<p>All of these parts thrown together should make a fairly basic robot. If we add a wireless serial controller, then we&#8217;ve a mobile platform which we can control from a host.</p>
<p>Where&#8217;s my credit card? I&#8217;ll be using it at <a href="http://octopart.com/">Octopart</a>, that&#8217;s for sure!</p>
<p>Steve</p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/08/01/july-recap-dbp-darwin-robots-oh-my/feed/</wfw:commentRss>
		<feedburner:origLink>http://beauhinks.com/2008/08/01/july-recap-dbp-darwin-robots-oh-my/</feedburner:origLink></item>
		<item>
		<title>DarwinRubyMon: Ugly Deploy</title>
		<link>http://feeds.feedburner.com/~r/Beauhinks/~3/342601396/</link>
		<comments>http://beauhinks.com/2008/07/22/darwinrubymon-ugly-deploy/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 14:39:37 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Darwin Race]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://beauhinks.com/?p=65</guid>
		<description><![CDATA[Don&#8217;t forget to VOTE!
Also, check out my other posts to the left concerning the development process using NetBeans.
Update:
The zip archive was quite large and took awhile to extract thanks to all of the doc files and random libraries included. I&#8217;m trying to trim it down to a more manageable size for all of you to [...]]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t forget to <a href="http://www.darwinraceoflanguages.com/">VOTE!</a></p>
<p>Also, check out my other posts to the left concerning the development process using NetBeans.</p>
<h1>Update:</h1>
<p>The zip archive was quite large and took awhile to extract thanks to all of the doc files and random libraries included. I&#8217;m trying to trim it down to a more manageable size for all of you to enjoy. This includes a full installation of Ruby, associated libraries, my applications, and MySQL. There&#8217;s a lot to pack! The new archive below is roughly half the size. Here&#8217;s a quick shot of one of the folders bubbled up using the great tool, <a href="http://windirstat.info">WinDirStat</a>:<br />
<a href="http://www.flickr.com/photos/23488385@N03/2692871053/"><img src="http://farm4.static.flickr.com/3237/2692871053_b0b2519e05.jpg" alt="" /></a></p>
<h1>Downloads:</h1>
<ul>
<li><a href="http://www.beauhinks.com/darmon/DarMonInstantRails.zip">DarMonInstantRails.zip</a></li>
</ul>
<h1>Ruby System Monitoring:</h1>
<p>Well this is my best bet at the moment for having a completed project.</p>
<p>Attached to this post I will include a zip file with everything you should need to get started. This includes Ruby, RoR, ImageMagick, and an abundance of other bits.</p>
<p>Here&#8217;s how to make this all work:</p>
<ol>
<li>Download the attached Zip file (DarMonInstantRails.zip) and extract somewhere on your hard-drive. It should come out as &#8220;X:\PathYouMade\InstantRails\&#8221;. I apologize for the size of the archive. Again, this is the only way I know how to <em>easily</em> make this work.</li>
<li>Navigate to the directory you just extracted to in InstantRails and run the ImageMagick installer:<a href="http://www.flickr.com/photos/23488385@N03/2692857114/"><img src="http://farm4.static.flickr.com/3287/2692857114_d6a603342c.jpg" alt="" /></a></li>
<li>Pick an installation path and accept the rest of the defaults for ImageMagick.</li>
<li>Launch the InstantRails Application:</li>
<p><a href="http://www.flickr.com/photos/23488385@N03/2692048719/"><img src="http://farm4.static.flickr.com/3130/2692048719_5352272d01.jpg" alt="" /></a><br />
You might get some errors. Ignore them! I stripped out Apache because we don&#8217;t need it in this case.</p>
<li>You should get something like below. Make sure that MySQL is Started. If not click the MySQL button and click start.</li>
<p><a href="http://www.flickr.com/photos/23488385@N03/2692869362/"><img src="http://farm4.static.flickr.com/3095/2692869362_7a0efab566.jpg" alt="" /></a></p>
<li>Click the &#8220;I&#8221; button in the top left corner and goto RailsApplications-&gt;Open Ruby Console Window. Do this 3 times so that we can launch the Agent, TractorBeam, and Interpol.</li>
<li><strong>NOTE:</strong> In the root of the rails_apps directory there is an Agents.zip. This contains the Ruby script necessary on any of the computers you wish to monitor. If they have Ruby Installed, the script will run.</li>
<li>Change directories in the three console windows to &#8220;Interpol&#8221;, &#8220;Agents&#8221;, and &#8220;TractorBeam&#8221;.</li>
<li>Launch an Agent:</li>
<p><a href="http://www.flickr.com/photos/23488385@N03/2692070977/"><img src="http://farm4.static.flickr.com/3261/2692070977_d45b140b2c.jpg" alt="" /></a></p>
<li>Launch Interpol from the Interpol directory by typing: &#8220;ruby script/server &#8211;port=3000&#8243;. If you&#8217;re successful you should see this:</li>
<p><a href="http://www.flickr.com/photos/23488385@N03/2692078631/"><img src="http://farm4.static.flickr.com/3051/2692078631_6cc098f69a.jpg" alt="" /></a></p>
<li>Open a browser and navigate to &#8220;http://127.0.0.1:3000&#8243;:</li>
<p><a href="http://www.flickr.com/photos/23488385@N03/2692090953/"><img src="http://farm4.static.flickr.com/3158/2692090953_494f1134b7.jpg" alt="" /></a></p>
<li>Make sure at least 127.0.0.1 is added and your &#8220;Agent&#8221; from above is running.</li>
<li>Bring up your other unused Ruby console and change directory to TractorBeam. Then type: &#8220;ruby script/server &#8211;port=3001&#8243; Take care with the port number!</li>
<p><a href="http://www.flickr.com/photos/23488385@N03/2692103629/"><img src="http://farm4.static.flickr.com/3177/2692103629_2360f86d9d.jpg" alt="" /></a></p>
<li>Once TractorBeam is running navigate in a browser to: &#8220;127.0.0.1:3001&#8243; and click on Sample Administration:</li>
<p><a href="http://www.flickr.com/photos/23488385@N03/2692922962/"><img src="http://farm4.static.flickr.com/3200/2692922962_58067be629.jpg" alt="" /></a></p>
<li>Click &#8220;Run Tests&#8221; and let it roll. It will begin to poll any IP&#8217;s you have added. If you get an error then the Agent probably is not running on the given address.</li>
<li>Go back to 127.0.0.1:3000 and click &#8220;View CPU Load Graph&#8221;. If all is well you should be presented with something similar to this:</li>
<p><a href="http://www.flickr.com/photos/23488385@N03/2692939704/"><img src="http://farm4.static.flickr.com/3295/2692939704_5e67971b91.jpg" alt="" /></a></p>
<li>As you bring up more Agents on your network and add their IP Addresses by click &#8220;Add/Remove CPU to Monitor,&#8221; they will be added to the graph with their respective loads and times. The graph isn&#8217;t pretty right now&#8230; and after awhile it gets cluttered. C&#8217;est la vie for now.</li>
<li>That&#8217;s it. Shoot me an e-mail or post a comment here if you have troubles.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/07/22/darwinrubymon-ugly-deploy/feed/</wfw:commentRss>
		<feedburner:origLink>http://beauhinks.com/2008/07/22/darwinrubymon-ugly-deploy/</feedburner:origLink></item>
		<item>
		<title>Darwin: Not Quite Fin</title>
		<link>http://feeds.feedburner.com/~r/Beauhinks/~3/342310067/</link>
		<comments>http://beauhinks.com/2008/07/22/darwin-not-quite-fin/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 07:15:15 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Darwin Race]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://beauhinks.com/?p=64</guid>
		<description><![CDATA[Well it is 2:40 AM my time on July 22nd and I am not where I would like to be in the project.
However, I do have something to show and will try to package some semblance of a useful application. Truthfully, this is a piece of junk. It collects CPU load and displays a graph [...]]]></description>
			<content:encoded><![CDATA[<p>Well it is 2:40 AM my time on July 22nd and I am not where I would like to be in the project.</p>
<p>However, I do have something to show and will try to package some semblance of a useful application. Truthfully, this is a piece of junk. It collects CPU load and displays a graph for each particular IP entered into the database. Not to mention NONE of the http exchanges are secured and that you have to rely on HTTP in the first place.</p>
<p>As 3AM draws closer, I tell myself, &#8220;This is a learning experience,&#8221; as I said in my opening posts. Sometimes software development is frustrating, especially in a new language and development environment. NetBeans is loaded with lots of modern features and a clean interface that the developers at Delphi could pick up a few things from NetBeans and incorporate them.</p>
<p><a href="http://www.flickr.com/photos/23488385@N03/2692149520/"><img src="http://farm4.static.flickr.com/3289/2692149520_3ced26085e.jpg" alt="" /></a></p>
<p>That&#8217;s not to say that Delphi isn&#8217;t one of my favorite IDE&#8217;s. I use it very regularly, especially with IntraWeb for a few applications. One area that I particularly loved in NetBeans was find/search.  The results of your searches are presented in a more logical manner than the standard Delphi dialogs and they behave in a manner that is familiar.</p>
<p>NetBeans did not start out with Ruby support, yet it functions as a wonderful platform for coding, testing, and learning Ruby or Ruby on Rails. The 6.1 version loads quickly and does not consume gobs of memory like its other Java relatives.  I wish I could have tried CodeGears 3rdRail to compare the feel to Delphi. Any experiences with this?</p>
<h1>Darwin RubyMonitor</h1>
<p>The project consists of three parts.</p>
<ul>
<li><strong>Agents</strong> - these are simple HTTP servers running on port 2000. They respond with YAML containing the CPU load, frequency, and quantity.</li>
<li><strong>TractorBeam</strong> - You would have one of these running on your network. All it does is sit and run through a loop every few seconds to poll &#8220;agents&#8221; you have added to your database for their average CPU load.</li>
<li><strong>Interpol</strong> - The front RoR application that simply renders a graphic right now with the statistics collected from TractorBeam.</li>
</ul>
<p>I&#8217;ll give you all a little tour via screencast below.<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="1021" height="779" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="thumb=http://content.screencast.com/media/a93f94bd-c48b-4b6c-8a9b-791b8287836b_941466ba-b3e6-481b-a03a-2b9cbe81461d_static_0_0_Thumbnail.gif&amp;content=http://content.screencast.com/media/1b33964d-41d1-4ada-bb82-c2b3f567d3ca_941466ba-b3e6-481b-a03a-2b9cbe81461d_static_0_0_2008-07-22_0258.swf&amp;width=1021&amp;height=779" /><param name="allowFullScreen" value="true" /><param name="scale" value="showall" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://content.screencast.com/bootstrap.swf" /><embed type="application/x-shockwave-flash" width="1021" height="779" src="http://content.screencast.com/bootstrap.swf" allowscriptaccess="always" scale="showall" allowfullscreen="true" flashvars="thumb=http://content.screencast.com/media/a93f94bd-c48b-4b6c-8a9b-791b8287836b_941466ba-b3e6-481b-a03a-2b9cbe81461d_static_0_0_Thumbnail.gif&amp;content=http://content.screencast.com/media/1b33964d-41d1-4ada-bb82-c2b3f567d3ca_941466ba-b3e6-481b-a03a-2b9cbe81461d_static_0_0_2008-07-22_0258.swf&amp;width=1021&amp;height=779" bgcolor="#FFFFFF" quality="high"></embed></object></p>
<p>There you have it. Here&#8217;s the graph after a few minutes displaying average CPU load:<br />
<a href="http://www.flickr.com/photos/23488385@N03/2692206798/"><img src="http://farm4.static.flickr.com/3055/2692206798_29c5861d37.jpg" alt="" /></a></p>
<h1>Things I would change:</h1>
<ul>
<li>The &#8220;Agents&#8221; should use a Restful API to communicate with &#8220;TractorBeam&#8221; instead of the other way around. This would allow one collection server to be running, and clients to connect on the fly. Ideally, you could use existing performance statistics available from the operating system and would not need any clients. Much easier for a sysadmin.</li>
<li>The userinterface is awful.</li>
<li>More testing. I have not run any unit tests on this. Use at your own risk&#8211;I don&#8217;t <em>recall</em> writing any code that formats drives, but it could happen by rookie mistake. <img src='http://beauhinks.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Write the application in Ruby/Netbeans and Delphi/Intraweb. I think if I had used Intraweb I could&#8217;ve had a pretty slick application using NexusDB as the backend. However, I did like the productivity increase of Rails over the Intraweb GUI designer.</li>
<li>Temperature. This one drove me nuts. Accessing temperature sensors from Ruby in Windows seemed to be on the same level of difficulty as traveling faster than the speed of light.</li>
</ul>
<p>All in all I thought it came out pretty well given my ability (or lack thereof!). Now to try and submit to the contest&#8230; I hope I can!</p>
<p>Edit: I&#8217;ve tried and have come to learn that SQLite3 does not support one of the functions I use. I&#8217;m not sure what time the deadline officially is, but I&#8217;d like to get it finished before so you all can play with it and maybe I&#8217;ll win! <img src='http://beauhinks.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> We shall see&#8230;</p>
<p>Cheers,</p>
<p>Steve</p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/07/22/darwin-not-quite-fin/feed/</wfw:commentRss>
		<feedburner:origLink>http://beauhinks.com/2008/07/22/darwin-not-quite-fin/</feedburner:origLink></item>
		<item>
		<title>Darwin: Basic Dynamic Graphs</title>
		<link>http://feeds.feedburner.com/~r/Beauhinks/~3/342181586/</link>
		<comments>http://beauhinks.com/2008/07/22/darwin-basic-dynamic-graphs/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 03:55:39 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Darwin Race]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://beauhinks.com/?p=63</guid>
		<description><![CDATA[After pulling a little hair out due to problems with environment variables, my application is capable of drawing a line:

Again, many libraries are helping me out here. They&#8217;re all well documented and easy to use, but sometimes difficult to install.
Steve
]]></description>
			<content:encoded><![CDATA[<p>After pulling a little hair out due to problems with environment variables, my application is capable of drawing a line:<br />
<a href="http://www.flickr.com/photos/23488385@N03/2691751294/"><img src="http://farm4.static.flickr.com/3258/2691751294_acde5bca7a.jpg" /></a></p>
<p>Again, many libraries are helping me out here. They&#8217;re all well documented and easy to use, but sometimes difficult to install.</p>
<p>Steve</p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/07/22/darwin-basic-dynamic-graphs/feed/</wfw:commentRss>
		<feedburner:origLink>http://beauhinks.com/2008/07/22/darwin-basic-dynamic-graphs/</feedburner:origLink></item>
		<item>
		<title>Darwin: Urgency is a good motivator</title>
		<link>http://feeds.feedburner.com/~r/Beauhinks/~3/342162478/</link>
		<comments>http://beauhinks.com/2008/07/22/darwin-urgency-is-a-good-motivator/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 03:25:44 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Darwin Race]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://beauhinks.com/?p=62</guid>
		<description><![CDATA[I was fed up with RubyStack, so I decided to go from scratch and build up the development environment. Potentially this will allow me to deploy the apps in a single (large) zip file that contains Ruby, Rails, and maybe MySQL. I&#8217;ll try to convert to SQLite before I release the application.
This looks bad:

But in [...]]]></description>
			<content:encoded><![CDATA[<p>I was fed up with RubyStack, so I decided to go from scratch and build up the development environment. Potentially this will allow me to deploy the apps in a single (large) zip file that contains Ruby, Rails, and maybe MySQL. I&#8217;ll try to convert to SQLite before I release the application.</p>
<p>This looks bad:<br />
<a href="http://www.flickr.com/photos/23488385@N03/2690844751/"><img src="http://farm4.static.flickr.com/3103/2690844751_8b13fe9cba.jpg" alt="" /></a></p>
<p>But in reality:<br />
<a href="http://www.flickr.com/photos/23488385@N03/2691666010/"><img src="http://farm4.static.flickr.com/3203/2691666010_ed420fe428.jpg" alt="" /></a></p>
<p>Eureka! RMagick actually works&#8230;</p>
<p>Now I can get back to troubleshooting my graph code. If I don&#8217;t get it working, you all will be looking at pencil drawings on graph paper, which are not even close to real-time.</p>
<p>NetBeans is still helping me along the way. I use the console quite a bit now that I&#8217;ve picked up commands, but the built in Rails hooks are very useful if you are afraid of a shell.</p>
<p>Steve</p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/07/22/darwin-urgency-is-a-good-motivator/feed/</wfw:commentRss>
		<feedburner:origLink>http://beauhinks.com/2008/07/22/darwin-urgency-is-a-good-motivator/</feedburner:origLink></item>
		<item>
		<title>Darwin: The Rat Race</title>
		<link>http://feeds.feedburner.com/~r/Beauhinks/~3/342137507/</link>
		<comments>http://beauhinks.com/2008/07/22/darwin-the-rat-race/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 02:49:02 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Darwin Race]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://beauhinks.com/?p=61</guid>
		<description><![CDATA[Well the close of the race is upon me. I have the basics working and a simple HTML user interface able to display the samples collected from hosts specified on the network. Nothing too fancy. I am a complete Ruby novice, so this has been a bit of a challenge. I must say though, that [...]]]></description>
			<content:encoded><![CDATA[<p>Well the close of the race is upon me. I have the basics working and a simple HTML user interface able to display the samples collected from hosts specified on the network. Nothing too fancy. I am a complete Ruby novice, so this has been a bit of a challenge. I must say though, that I enjoy the language.</p>
<p>One of my gripes currently as I rush to have something workable for the race is the ability to package my source into, at a minimum, a windows executable. Alas, this may be quite difficult. The LAST thing I want judges to have to do is install some sort of InstantRuby or RubyStack to run my application. UGH!</p>
<p>That said, I&#8217;ve also been having problems getting some common libraries to install properly as it seems that versions are always in flux. Documentation is still there to help, but it really is a struggle. For example, I was happily working away in Ruby on Rails (again, complete novice) and decided to try upgrading to the latest version through NetBeans. Much to my disappointment I found my project broken. I know all of these projects are rapidly evolving, which is excellent, but the fact that I couldn&#8217;t generate a dynamic scaffolding so easily for the MVC ActiveRecord stuff as I had before drove me nuts for a brief while.</p>
<p>Also, as I write this I&#8217;m trying to calm myself by listening to <a href="http://www.youtube.com/watch?v=1K0eknfuix8">Simon and Garfunkel</a>.<br />
<a href="http://www.flickr.com/photos/23488385@N03/2690711473/"><img src="http://farm4.static.flickr.com/3033/2690711473_9275b71478.jpg" alt="" /></a></p>
<p>Hopefully I <em>won&#8217;t</em> be working on this competitively come 3AM Wednesday morning. In the screenshot above I&#8217;m desperately trying to Install the RMagick gem so that I can generate some fancy schmancy graphs in my web application. Sorrow will most certainly follow for the next few hours&#8230;</p>
<p>Netbeans is still working well. I&#8217;ve only had it lock up on me once, and that was mostly my fault. It does a good job of getting out of your way when you want to code. File explorers and console output collapse speedily as you click to grind away in your scripts. The built in database navigator is quite nice for browsing and can attach to lots of standard RDBMS out of the box.</p>
<p><a href="http://www.flickr.com/photos/23488385@N03/2690751075/"><img src="http://farm4.static.flickr.com/3065/2690751075_e1397eef08.jpg" alt="" /></a></p>
<p>Report back soon,</p>
<p>Steve</p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/07/22/darwin-the-rat-race/feed/</wfw:commentRss>
		<feedburner:origLink>http://beauhinks.com/2008/07/22/darwin-the-rat-race/</feedburner:origLink></item>
		<item>
		<title>Darwin Night 6</title>
		<link>http://feeds.feedburner.com/~r/Beauhinks/~3/336700724/</link>
		<comments>http://beauhinks.com/2008/07/16/darwin-night-6/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 03:30:00 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Darwin Race]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://beauhinks.com/?p=60</guid>
		<description><![CDATA[Everyone else seems to have nice GUI&#8217;s already. I really haven&#8217;t made very much progress relative to the other competitors! This is no fault of the IDE, but rather my inexperience and choice of tools. That said, the resources available to the NetBeans and Ruby community are tremendous and I&#8217;ve got the core of the [...]]]></description>
			<content:encoded><![CDATA[<p>Everyone else seems to have nice GUI&#8217;s already. I really haven&#8217;t made very much progress relative to the other competitors! This is no fault of the IDE, but rather my inexperience and choice of tools. That said, the resources available to the NetBeans and Ruby community are tremendous and I&#8217;ve got the core of the application running. There is still a lot to do:</p>
<ul>
<li>Allow the user to maintain a list of &#8220;drones&#8221; on the network from which to request CPU data.</li>
<li>Finalize the the tables that track each drone so that the user may view and track each in a nice manner</li>
<li>Secure the drones&#8211;right now they&#8217;re just responding with generic HTTP. Hopefully I can figure out something better.</li>
<li>Create an administrator interface to manage aforementioned drones.</li>
<li>Package the application so that it is easy to distribute and judges can test the application without worrying about dependencies and security.</li>
</ul>
<p>For Windows development it would be rather nice to have a hassle free all-in-one executable to do all of this for the user. I find myself thinking of ways I would do this in Delphi&#8230; dropping a DevExpress cxGrid on a form, setting a few properties to link to the database, compiling, and bang! You would have a very basic monitoring utility as a system administrator on a small network.</p>
<p>Here are a few screenshots for your enjoyment:<br />
<a href="http://www.flickr.com/photos/23488385@N03/2673348504/"><img src="http://farm4.static.flickr.com/3099/2673348504_eaba678749.jpg" alt="" /></a><br />
This code resides in a Ruby on Rails application which I hope to be the administrator interface. Notice there&#8217;s not much to it! It just grabs a string from the drone via HTTP.</p>
<p><a href="http://www.flickr.com/photos/23488385@N03/2673381012/"><img src="http://farm4.static.flickr.com/3020/2673381012_600d7463ed.jpg" alt="" /></a><br />
The code to render a basic response with the CPU information I thought was useful. Notice there is no temperature&#8230; that&#8217;s beyond my expertise, especially in Windows. <em>Lots</em> of things are beyond my expertise! <img src='http://beauhinks.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.flickr.com/photos/23488385@N03/2673387762/"><img src="http://farm4.static.flickr.com/3200/2673387762_82139d6cd1.jpg" alt="" /></a><br />
A Rails application on Webrick responding to a request.</p>
<p><a href="http://www.flickr.com/photos/23488385@N03/2672571897/"><img src="http://farm4.static.flickr.com/3283/2672571897_e441e64168.jpg" alt="" /></a><br />
The rendered page sans a template.</p>
<p>That&#8217;s all for tonight in this post, I&#8217;ll be plugging away for awhile longer in the hopes of being competitive!</p>
<p>Steve</p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/07/16/darwin-night-6/feed/</wfw:commentRss>
		<feedburner:origLink>http://beauhinks.com/2008/07/16/darwin-night-6/</feedburner:origLink></item>
		<item>
		<title>Darwin, Not Pleasant</title>
		<link>http://feeds.feedburner.com/~r/Beauhinks/~3/336071542/</link>
		<comments>http://beauhinks.com/2008/07/15/darwin-not-pleasant/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 13:10:38 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Darwin Race]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://beauhinks.com/?p=59</guid>
		<description><![CDATA[Just a quick post with a screenshot again. Upon firing up Netbeans I was presented with the following:

My only choice is to take the survey? No thankyou, I want to code right now. I try clicking the &#8220;X&#8221; in the corner, no response. Had to restart the JavaVM to get my IDE back. You can [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick post with a screenshot again. Upon firing up Netbeans I was presented with the following:<br />
<a href="http://www.flickr.com/photos/23488385@N03/2671333722/"><img src="http://farm4.static.flickr.com/3074/2671333722_18d7651cb8.jpg" /></a></p>
<p>My only choice is to take the survey? No thankyou, I want to code right now. I try clicking the &#8220;X&#8221; in the corner, no response. Had to restart the JavaVM to get <em>my</em> IDE back. You can guess what my user satisfaction level was at that moment.</p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/07/15/darwin-not-pleasant/feed/</wfw:commentRss>
		<feedburner:origLink>http://beauhinks.com/2008/07/15/darwin-not-pleasant/</feedburner:origLink></item>
		<item>
		<title>Darwin Race Night 5?</title>
		<link>http://feeds.feedburner.com/~r/Beauhinks/~3/335657581/</link>
		<comments>http://beauhinks.com/2008/07/15/darwin-race-night-5/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 02:27:51 +0000</pubDate>
		<dc:creator>steve</dc:creator>
		
		<category><![CDATA[Darwin Race]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://beauhinks.com/?p=58</guid>
		<description><![CDATA[Alas, such is the way things work and I haven&#8217;t been able to spend much time on my entry. A little digging and testing of things&#8230; hopefully I&#8217;ll have another update later tonight.
First off, I&#8217;m loving NetBeans. I open up the editor, and straight away their developers have posted a fix for a bug.
 
Upon attempting [...]]]></description>
			<content:encoded><![CDATA[<p>Alas, such is the way things work and I haven&#8217;t been able to spend much time on my entry. A little digging and testing of things&#8230; hopefully I&#8217;ll have another update later tonight.</p>
<p>First off, I&#8217;m loving NetBeans. I open up the editor, and straight away their developers have posted a fix for a bug.</p>
<p> <a href="http://www.flickr.com/photos/23488385@N03/2669867774/"><img src="http://farm4.static.flickr.com/3245/2669867774_29343719c2.jpg" alt="" /></a></p>
<p>Upon attempting the update I get a nice hourglass spinning about, so all is not well in NetBeans concerning updates&#8230;but after a restart of the IDE the update was applied successfully.</p>
<p> </p>
<p>Steve</p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://beauhinks.com/2008/07/15/darwin-race-night-5/feed/</wfw:commentRss>
		<feedburner:origLink>http://beauhinks.com/2008/07/15/darwin-race-night-5/</feedburner:origLink></item>
	</channel>
</rss>
