<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>MotomaSTYLE</title>
		<link>http://motomastyle.com/life/</link>
		

		
		<item>
			<title>Alice Release</title>
			<link>http://motomastyle.com/alice-release/</link>
			<description>&lt;p&gt;I have made an official release of the graph traversal engine, codenamed Alice, today. Alice is an experimental graph traversal algorithm, based loosely on the &lt;a href=&quot;http://en.wikipedia.org/wiki/Breadth-first_search&quot;&gt;Breadth-First Search&lt;/a&gt;, and having the properties &lt;a href=&quot;http://motomastyle.com/view/11/&quot;&gt;listed in one of my previous posts&lt;/a&gt;. For you readers who are curious, you may pick up the path-finding library, its source code, and a small demonstration from the &lt;a href=&quot;http://sourceforge.net/projects/motomabase&quot;&gt;MotomaBASE Sourceforge Page&lt;/a&gt;.  If anyone takes the time to try it out and play with it, please post your thought here so I can know what you think of it.&lt;/p&gt;</description>
			<pubDate>Tue, 15 May 2007 00:00:00 -0400</pubDate>
			
			
			<guid>http://motomastyle.com/alice-release/</guid>
		</item>
		
		<item>
			<title>New Project: Slipstream</title>
			<link>http://motomastyle.com/new-project-slipstream/</link>
			<description>&lt;p&gt;I have been recruited to work on a &lt;a href=&quot;http://sf.net/projects/slipstream/&quot;&gt;new Sourceforge.net project&lt;/a&gt; called Slipstream. We are still in the design and layout phase, but we have some hard-hitting experts in on the project and there are great ideas kicking around.&lt;/p&gt;&lt;p&gt;Character generation, and rendering engines are slated, the UI is going through some heavy construction, and I am tackling an AI path-finding engine which is approximately 35% complete.&lt;/p&gt;&lt;p&gt;Stay tuned for more on this project as we get our modules up in the repository.&lt;/p&gt;</description>
			<pubDate>Tue, 24 Apr 2007 00:00:00 -0400</pubDate>
			
			
			<guid>http://motomastyle.com/new-project-slipstream/</guid>
		</item>
		
		<item>
			<title>Slipstream: Pathing</title>
			<link>http://motomastyle.com/slipstream-pathing/</link>
			<description>&lt;p&gt;I completed the path-finding algorithm today. At its simplest level it is merely a &lt;a href=&quot;http://en.wikipedia.org/wiki/Breadth-first_search&quot;&gt;Breadth-First Search&lt;/a&gt; on an undirected graph. This has a number of benefits:&lt;/p&gt;&lt;p&gt;&lt;em&gt;The code is short&lt;/em&gt;: The entire traversal algorithm takes up no more than 20 lines of code.
&lt;em&gt;The code is fast&lt;/em&gt;: Due to the method in which parental assignment occurs, the traversal takes place in O(n) time. Another benefit of the BFS algorithm is that the time to find one path is based on the number of vertexes, not the complexity of the graph itself; therefore, a difficult maze will be solved in the same amount of time as a wide open field.
&lt;em&gt;Vertex adjacency can be arbitrarily assigned&lt;/em&gt;: The system has no concept of dimensional space, only vertex adjacency. Further, there are no limitations on the number of adjacent vertexes any particular vertex can have. Additionally, these vertexes could conceivably be in an entirely different section of a map (i.e. a teleporter) or in the exact same position allowing two entities to occupy the same location in space at the same time. The path-finding engine will correctly handle these situations.
&lt;em&gt;Mapping is not limited to a set number of dimensions, nor is it restricted to the Cartesian coordinate system&lt;/em&gt;: The path-finding system and the logical representation of the nodes are not reliant on each other. The path-finding algorithm works as well in a Cartesian coordinate system as it does in a Polar system. It can be as easily applied to an Isometric tile set as it can to the 4 dimensions of a hyper-cube; the concept of space, as well as its relationship to paths, are up to the programmer's design.
&lt;em&gt;One traversal of the graph finds the shortest path from any location in the map&lt;/em&gt;: My implementation of the BFS algorithm will traverse all vertexes in a map, assigning pointers to parent nodes to denote how any particular vertex was reached. At the end of a traversal, the graph is left in such a state that from any given node you can follow the parent path back through the graph and arrive at the origin. The benefit of this feature is that for any given target on any given graph, the traversal needs only to happen once. The immediate benefit of this is that if I were making a number of entities move to the same position, I would need only to give them the path map, and by looking up their position on the map, a parent traversal for each entity would land them at their destination.&lt;/p&gt;&lt;p&gt;With all that said, I am now in the process of rewriting the code. The major pitfall of the engine as it is right now is the lack of support for weighted graphs. To add to the robustness of the path-finding procedure, I am going to implement &lt;a href=&quot;http://en.wikipedia.org/wiki/Dijkstra's_algorithm&quot;&gt;Dijkstra's Shortest Path Algorithm&lt;/a&gt;. This will allow the engine to take into account the difficulties of passing through certain terrains.&lt;/p&gt;</description>
			<pubDate>Tue, 24 Apr 2007 00:00:00 -0400</pubDate>
			
			
			<guid>http://motomastyle.com/slipstream-pathing/</guid>
		</item>
		
		<item>
			<title>Gumstix Verdex has finally arrived!</title>
			<link>http://motomastyle.com/gumstix-verdex-has-finally-arrived/</link>
			<description>&lt;p&gt;I received my &lt;a href=&quot;http://www.gumstix.com/store/catalog/product_info.php?cPath=27&amp;amp;amp;products_id=178&quot;&gt;Gumstix Verdex XL6P&lt;/a&gt; and the matching &lt;a href=&quot;http://gumstix.com/store/catalog/product_info.php?products_id=185&quot;&gt;Console-VX&lt;/a&gt; board from the friendly UPS man last night. After 15 minutes of set-up and tinkering, I had my &lt;a href=&quot;http://www.chiark.greenend.org.uk/~sgtatham/putty/&quot;&gt;PuTTY&lt;/a&gt; terminal greeted me with with a friendly login prompt:&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;codesnippet&quot;&gt;
Welcome to the Gumstix Linux Distribution!
 
gumstix login: root
Password:
Don't eat me!
#
&lt;/div&gt;

So far I have had quite a bit of fun playing with it. I am using USB to power the tiny machine, and connecting to it over a USB to Serial connection cable from my laptop. Two things have caused me frustration, however: the Verdex board (according to the meager documentation I have found) does not support USB networking (a.k.a USBnet), and the USB host connector is a USB-B female connection.&lt;/p&gt;&lt;p&gt;Now, neither one of these would be much more than a nuisance alone, yet together they put a heavy damper on my intent for the board. USB Host is a very welcome (and in my opinion necessary) addition for a HL programmer like myself, but I have been unable to find the proper connectors at my local hardware stores. At this point I am sure that you are asking me &quot;Why didn't you pick up the &lt;a href=&quot;http://gumstix.com/store/catalog/product_info.php?products_id=187&quot;&gt;Gender Changer&lt;/a&gt; that they supply for just that purpose?&quot; The thing is, I never expected that this would be an uncommon part, and for $8 I figure I would be better off picking one up at the local Radio Shack. I walked in and asked the two men at the counter for a USB-A gender changer, and the smacktards cracked up giggling. BOH! I will not be able to connect with this wirelessly until I am able to get one of these damn parts to plug my B/G adapter in to.&lt;/p&gt;&lt;p&gt;The lack of USBnet ability is another frustrating thing (this is probably related to the fact that the Console-VX board is a USB Host, rather than client); I wanted to be able to set up a bridged network connection and try out the portage system that the Gumstix supports. I have always been a big fan of Gentoo (link at the bottom of the menu) and I figured this would be a great little fun way to get the system set up. I had big plans for this too: create a samba share on my laptop to act as the primary storage for the Gumstix, keep X11 running on the laptop, and use X11 forwarding over the USBnet to run native Linux GUI applications from the device. This would be the ultimate merging of the Windows and Linux environment; finally I would have both the Linux and Windows interfaces running on the same data side by side.&lt;/p&gt;&lt;p&gt;One last note: I have been unable thus far to get &lt;a href=&quot;http://www.cygwin.com/&quot;&gt;Cygwin&lt;/a&gt; to properly build the buildroot system, leaving me feeling quite useless at the moment. I do not feel like getting a full &lt;a href=&quot;http://fedoraproject.org/&quot;&gt;Fedora&lt;/a&gt; virtual machine running in VMWare (the VMWare image is huge!) just to do a little cross compiling. I was hoping to use Microsoft's &lt;a href=&quot;http://www.microsoft.com/windows/products/winfamily/virtualpc/default.mspx&quot;&gt;Virtual PC 2007&lt;/a&gt; to boot up a LiveCD distro, download the proper maketools and the gumstix-buildroot toolkit to a tiny vitual partition, and use that system to run my cross compiling. The problem with this is that most LiveCD distros are severely lacking as far as developer tools are concerned (Backtrack2 might have gcc) and the package systems are mostly broken, as these are LiveCD distros, and not intended to be used in the perverse ways I do.&lt;/p&gt;&lt;p&gt;If anyone has a solution to any one of my problems, or wants an update on how my &lt;a href=&quot;http://www.gumstix.com/&quot;&gt;Gumstix&lt;/a&gt; adventure is going, send me an email or give me a post.&lt;/p&gt;</description>
			<pubDate>Fri, 08 Jun 2007 00:00:00 -0400</pubDate>
			
			
			<guid>http://motomastyle.com/gumstix-verdex-has-finally-arrived/</guid>
		</item>
		
		<item>
			<title>Gumstix == Success</title>
			<link>http://motomastyle.com/gumstix-success/</link>
			<description>&lt;p&gt;This weekend I spliced together a couple of USB cables to allow me to attach my USB-A devices to the USB-B port on the Console-VX. I have successfully connected my USB thumbdrive, 60Gb iPod, and Vimicro webcam to the tiny board. I still need to compile the video drivers for the camera, but it was quite exciting to see the Verdex mount and search my iPod's 60 gig hard drive.&lt;/p&gt;</description>
			<pubDate>Thu, 14 Jun 2007 00:00:00 -0400</pubDate>
			
			
			<guid>http://motomastyle.com/gumstix-success/</guid>
		</item>
		

	</channel>
</rss>
