<?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>HunterDavis.com</title>
	<atom:link href="http://hunterdavis.com/feed" rel="self" type="application/rss+xml" />
	<link>http://hunterdavis.com</link>
	<description>4.0!</description>
	<lastBuildDate>Tue, 24 Aug 2010 06:56:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>rexVM &#8211; A virtualBox Appliance for Developing for The REX 6000</title>
		<link>http://hunterdavis.com/archives/610</link>
		<comments>http://hunterdavis.com/archives/610#comments</comments>
		<pubDate>Tue, 24 Aug 2010 06:55:19 +0000</pubDate>
		<dc:creator>hunter</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Programs]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[live]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://hunterdavis.com/?p=610</guid>
		<description><![CDATA[As most of you readers probably know, I have been terribly remiss in my postings of late. That isn't to say that I haven't been hacking. Oh no. Bootstrapping a startup requires hacking all over the place. During the past week alone I've Gotten to know my franchise tax agent on a first name basis [...]]]></description>
			<content:encoded><![CDATA[<p>As most of you readers probably know, I have been terribly remiss in my postings of late.  That isn't to say that I haven't been hacking.  Oh no.  Bootstrapping a startup requires hacking all over the place.  During the past week alone I've </p>
<ol>
<li>Gotten to know my franchise tax agent on a first name basis</li>
<li>Authored contracts, which in my opinion should be written in python</li>
<li>Authored a research paper on novel methods for efficient bulk virtual machine storage and retrieval (stay tuned for that one!)</li>
<li>Reminded myself daily why I use git, while writing features integrating svn, cvs, etc</li>
<li>Created what, I am fairly sure, is the world's largest openWRT/BCM5354 firmware image/executable set</li>
<li>Created at least 10 new project virtual machines</li>
</ol>
<p>Which actually brings me out of my /startup header and back into :/publish .  One of the terrific things about founding a startup (ducks!) is the flexibility you get while setting up your workflow.  Long a proponent of integrating virtual machines into business processes, I have been enjoying the real freedom a robust virtualized system can provide.  I'll get into the detailed workflow later in the post.  For those 'first page only' readers I'll get to the golden ticket, I recently picked up a REX 6000 credit card PDA for 6$ at the local thrift.  </p>
<p><img src="http://upload.wikimedia.org/wikipedia/commons/3/37/Rex_6000.jpg" alt="REX 6000" align="left" /></p>
<p>Read on for (much) more and download links!</p>
<p><span id="more-610"></span></p>
<p>In 10 years this 4mhz z80 compatible PDA has remained unrivaled in terms of portability and size.  Though I've started (in the few non work-related hours I get each month) prototyping work on an e-ink version of the REX 6000, it still has a long way to go before it's usable.  In the meantime, I've been enjoying my REX 6k immensely.  There were quite a few user programs written for the device in the years after Intel bought and squashed the project, and the history of the device is as fascinating a look at a hacker subculture as you'll ever find.  </p>
<p>Anyway, if you want to develop for the device, there's a useful SDK that's been updated to work with new compilers and versions of linux available <a href="http://www.ipd.bth.se/ska/sim_home/rex_utils.html">here</a>.  As I am using the REX 6000 for prototyping (something I often do at work), I figured I would apply my professional workflow to this my personal project.  This means a tight, low overhead virtual machine in .ovf format using all open source software which you can import from a vmRepo and be up to speed in seconds (cloud friendly!). </p>
<p>DOWNLOAD LINKS:<br />
If you work or are visiting Discursive Labs, you can download rexVM from the VMrepo <a href="vmr://public/hunter/rexVM">here</a>.  For everyone else, you can download it directly from hunterdavis.com <a href="http://hunterdavis.com/rexVM.zip">here</a>.<br />
971,810,614 Bytes, will be available 6am Pacific Time August 24th 2010 ...</p>
<p>One forum post which has saved me immense amounts of time in this process has been <a href="http://ubuntuforums.org/showthread.php?t=575456">this one at ubuntuforums</a>.  I could have (and many many times have) built debian based VM's from scratch/stock/server Ubuntu distros and it is just not the same as when you build from a minimal system that's got just what you want in it.  Here's how I setup rexVM.  I use a set of scripts at DL but for personal projects I don't mind starting from a fresh interactive command line.  Assuming Ubuntu, and wanting to use Puppy (for smallest size... installing make and svn could be easier ...).  We're going to do this a bit backwards.  Puppy likes running in live cd mode, especially when you want to have the devx (compiler) package running.  We're going to install puppy in hard drive mode, then copy the contents of the devx package into our compiler.</p>
<ol>
<li>Download puppy linux 5.1, this is a great tight base image to start building from</li>
<li>Fire up VirtualBox, and create a new VM named rexVM.  For tightly bound development I like to have a 10gb expanding size disk and a small amount of ram ~256mb -i.e. lots of room for libraries and enough ram to compile</li>
<li>Add the puppy-510.iso to your virtual media manager</li>
<li>On the rexVM details page, add the puppy-510.iso as the ide secondary master (cd-drive)</li>
<li>Boot up the VM, and in puppy select 'system->puppy universal installer'</li>
<li>Open gParted, device->create partition table, then partition your virtual HDD to 9.5gb ext3/.5gb swap</li>
<li>Set the boot flag to on for the partition you just created</li>
<li>Close gParted and the installer will commence-do a full install and install grub to sda1</li>
<li>Shutdown the VM and de-attach the pupper live iso from the system</li>
<li>Once it boots up, open system->quickpet and install the xorg_high driver</li>
<li>Reboot or restart the x-server to activated</li>
<li>Open the puppy package configuration utility and add extra repositories</li>
<li>Close the package utility and download the <a href="http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-5.1/lupu_devx_510.sfs">devx package from here</a></li>
<li>Click on the devx_510.sfs in a ROX-Filer window to mount it.</li>
<li>Open a terminal in the mounted directory. (/mnt/+lupu_devx_510.sfs)</li>
<li><code>cp -a --remove-destination ./* /mnt/home/</code></li>
<li>Reboot the VM</li>
<li>At this point we should be ready for the compiler, so make yourself a project directory</li>
<li><code>mkdir /projects/rexVM</code></li>
<li>Enter that directory, and checkout the rxSDK</li>
<li><code>svn co https://mondragon.tek.bth.se/svn/main/world/ska/rex/trunk/rxsdk/</code></li>
<li>(you'll need to accept his security cert..which may be expired bleh)</li>
<li>cd into the rexSDK directory, and edit the Makefile</li>
<li>Change the sdcc: svn root target to be https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc sdcc</li>
<li>(Make sure you've got the extra /sdcc/trunk/sdcc on the end of that link!! )</li>
<li>Now copy over the sdcc-sparse link directory with <code>cp -rp ./sdcc-sparse/link/ ./sdcc/ </code></li>
<li>Now, in that same directory, make the project with a standard <code>make</code></li>
<li>This may take a while, grab a snack, or cheat a little and up the ram/cpus on your VM during this compile <img src='http://hunterdavis.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li>Once sdcc has finished compiling, execute a <code> make install_sdcc </code></li>
<li>Once sdcc has finished installing, softlink the z80 assemler command <code> ln -s /usr/local/bin/sdasz80 /usr/local/bin/as-z80 </code></li>
<li>Execute the next make step with <code> make build_rxsdk </code></li>
<li>Once rxsdk has finished compiling, execute a <code> make install_rxsdk </code></li>
<li>If install_rxsdk barfs on librex, manually finish the tool compile install with <code>cd rxsdk/tools/rxbuild &#038;& make install</code></li>
<li>At this point, you have a nice build environment for your REX 6000 (and really most z80 based chipsets)</li>
<li>If you're like me, you'll want to export the virtual appliance as a .ovf and add it to your vmRepo</li>
</ol>
<p>And that's that.  Time for me to setup - hours.  Time for each developer after me to setup a REX 6000 development environment?  The time taken to download a ~970mb zip file.  About 20 seconds over my local wifi network -- not bad!  You can more generically use these instructions to create any number of custom compile environments.  Like the 300mb Z2 image I posted so long ago, I'll post the 1gb rexVM for as long as it doesn't start to eat up my bandwidth.  Considering there's probably 50 REX users left out there, (only one of whom I'm sure reads this blog) I'm not too worried.  Happy Hacking!!</p>
]]></content:encoded>
			<wfw:commentRss>http://hunterdavis.com/archives/610/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Hackaway 2010 Winners Announced!</title>
		<link>http://hunterdavis.com/archives/597</link>
		<comments>http://hunterdavis.com/archives/597#comments</comments>
		<pubDate>Sun, 30 May 2010 15:00:56 +0000</pubDate>
		<dc:creator>hunter</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacking and Robotics]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[announcement]]></category>
		<category><![CDATA[congratulations]]></category>
		<category><![CDATA[give]]></category>
		<category><![CDATA[hackaway]]></category>
		<category><![CDATA[hackway 2010]]></category>
		<category><![CDATA[hackway2010]]></category>
		<category><![CDATA[people]]></category>
		<category><![CDATA[shipping]]></category>
		<category><![CDATA[winners]]></category>
		<category><![CDATA[zipit dosbox games hacking fun c++ source hack]]></category>

		<guid isPermaLink="false">http://hunterdavis.com/?p=597</guid>
		<description><![CDATA[Thanks again everyone for participating this go round. Using my trusty d-10's, I rolled 6 dice per prize and took the resulting number modulo the number of contest entries. As you can only win 1 prize, I felt it would be unfair to do them in numeric order of hacks, so I randomized the mapping [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks again everyone for participating this go round.  Using my trusty d-10's, I rolled 6 dice per prize and took the resulting number modulo the number of contest entries.  As you can only win 1 prize, I felt it would be unfair to do them in numeric order of hacks, so I randomized the mapping of dice rolls to hacks.  I hope this provides some fairness to the distribution of prizes.  The winners will be receiving an email request for their addresses officially very shortly.... but they are ....<br />
after the jump!<br />
*Update - Packages are shipping out now!<br />
<img src="http://hunterdavis.com/hackaway2010/packages.jpg" alt="hackaway packages" align=left height=200 width=200/></p>
<p><span id="more-597"></span></p>
<p>Sneaky blog tricks!  Hailing from around the globe, the winners are:</p>
<p>   1. Tom Mcleod - Didj Hacking Bundle<br />
   2. Nonya Biz - EEE 701 2g surf (bottom half)<br />
   3. Aaron Cronk - Famicom Bundle<br />
   4. Kea Oliver - Fan Bundle<br />
   5. Mike Metzger- Genesis on a chip<br />
   6. Geordy Rostad - Infrared Bundle<br />
   7. Bob Crichton - Java Bundle<br />
   8. Kraig Hoekstra - Laptop Parts Bundle<br />
   9. Torin Macbeth - Minidisk Bundle<br />
  10. Paul Curtis - netgear zyxel<br />
  11. Kevin Thompson -Palm GPS Bundle<br />
  12. Yohanes Nugroho - Peek Messaging Device<br />
  13. Thomas, der - USB Wireless bundle<br />
  14. Bear Naff - Sound Bundle<br />
  15. Jon Hawkins - Wifi Bundle<br />
  16. Force Multiplier - X10 Home Automation Bundle </p>
<p>Thanks again everyone for making Hackaway 2010 a Tremendous Success!</p>
]]></content:encoded>
			<wfw:commentRss>http://hunterdavis.com/archives/597/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Hackaway 2010 is Over!  A Massive Success!</title>
		<link>http://hunterdavis.com/archives/592</link>
		<comments>http://hunterdavis.com/archives/592#comments</comments>
		<pubDate>Sun, 30 May 2010 01:44:40 +0000</pubDate>
		<dc:creator>hunter</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacking and Robotics]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[crammer leapfrog hacking mp3 ogg linux]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[hackaway]]></category>
		<category><![CDATA[hacking linux wallclock personal]]></category>
		<category><![CDATA[hackway 2010]]></category>
		<category><![CDATA[news new site hunterdavis.com]]></category>
		<category><![CDATA[world]]></category>
		<category><![CDATA[worldwide]]></category>

		<guid isPermaLink="false">http://hunterdavis.com/?p=592</guid>
		<description><![CDATA[The polls have closed! Hackaway 2010 is officially over, and no entries that come in after now will be counted. The winners have already entered! I had entries from Thailand, Singapore, UK, Germany, Brazil, France, all over USA, Canada, Mexico and Jamaica. Perhaps many more as well! I'll be rolling dice and boxing up the [...]]]></description>
			<content:encoded><![CDATA[<p>The polls have closed!  Hackaway 2010 is officially over, and no entries that come in after now will be counted.  The winners have already entered!  I had entries from Thailand, Singapore, UK, Germany, Brazil, France, all over USA, Canada, Mexico and Jamaica.  Perhaps many more as well!  I'll be rolling dice and boxing up the prizes tomorrow.  The winners will be randomly chosen based on dice roll!  I also want to thank all the people who sent in their personal stories of successful or fun hacks.  It's really reaffirming to know how many great folks are all around.  A tremendous success!  </p>
<p><img src="http://www.hunterdavis.com/hackaway2010over.jpg" alt="hackaway 2010 is over" width=200 height=200 align=left/></p>
]]></content:encoded>
			<wfw:commentRss>http://hunterdavis.com/archives/592/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hackaway 2010 Announced!</title>
		<link>http://hunterdavis.com/archives/572</link>
		<comments>http://hunterdavis.com/archives/572#comments</comments>
		<pubDate>Sun, 23 May 2010 02:14:41 +0000</pubDate>
		<dc:creator>hunter</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacking and Robotics]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[give]]></category>
		<category><![CDATA[give away]]></category>
		<category><![CDATA[give back]]></category>
		<category><![CDATA[hackaway]]></category>
		<category><![CDATA[hackaway 2010]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://hunterdavis.com/?p=572</guid>
		<description><![CDATA[Hackaway 2010 has begun!]]></description>
			<content:encoded><![CDATA[<p>It's been a tremendous 2010 so far, and it's time for another Hackaway!  Hackaway 2010 is about to begin.   This one will be even bigger and better than Hackaway 2009, and there are some really awesome hacks coming your way.  Rules and prizes and a ton of images after the jump!</p>
<p><img src="http://www.hunterdavis.com/hackaway2010/hackaway2010.jpg" alt="hackaway 2010" width=200 height=200 align=left/></p>
<p><span id="more-572"></span></p>
<p> Here are the rules.</p>
<ol>
<li>Send an email to hunter at hunterdavis.com with the subject line "Hackaway 2010"</li>
<li>Include in the message the numbers of the hackaway items you would be interested in receiving</li>
<li>That's it.  I will randomly select the winners after 7 days or 5,000 entries, whichever is sooner.  There are no restrictions on who may enter.  Any person from any country could win.  Just like last time.</li>
<li>If you like, let me know what country and state you are from.  Last time we had entries from dozens of countries, and it's always fun to see where they come in from.</li>
<li>After the winners are selected, I email them for their addresses, and send out their prizes.  There are no fees or restrictions to entry, and I pay all duties, customs, and shipping</li>
</ol>
<p>And here are the prizes</p>
<ol>
<li>Didj Hacking Bundle - Didj+Claude's custom board with SD adapter, custom loader, source code, etc.  Everything you need to start porting software.<br />
<img src="http://www.hunterdavis.com/hackaway2010/didj.JPG" alt="hackaway 2010" width=200 height=200 align=left/>  </li>
<li>EEE 701 2g surf (bottom half).  Was used for the blu-ray player hack.<br />
<img src="http://www.hunterdavis.com/hackaway2010/eee.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>Famicom Bundle - Famicom chipset + famicom and nes games, chips, and controllers<br />
<img src="http://www.hunterdavis.com/hackaway2010/famicom.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>Fan Bundle - Fans and fan controllers<br />
<img src="http://www.hunterdavis.com/hackaway2010/fans.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>Genesis on a chip with infrared controllers<br />
<img src="http://www.hunterdavis.com/hackaway2010/genesis.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>Infrared Bundle - Infrared controller game plus many infrared to ps2 remotes with pass-through ports.<br />
<img src="http://www.hunterdavis.com/hackaway2010/infrared.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li> Java Bundle - Four Spongebob branded Npower java consoles.  Follow my previous instructions and links on how to write programs for these.  Perhaps enough for a small end-user study!<br />
<img src="http://www.hunterdavis.com/hackaway2010/java.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>Laptop Parts Bundle - Laptop screen, keyboards, batteries, etc<br />
<img src="http://www.hunterdavis.com/hackaway2010/laptop.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>Minidisk Bundle - A folder full of 74m Sony MiniDisks (all full of data)<br />
<img src="http://www.hunterdavis.com/hackaway2010/mds.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>Late 90's era Netgear router with serial console (zxyel os)<br />
<img src="http://www.hunterdavis.com/hackaway2010/netgear.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>Palm GPS Bundle - Palm V and Tungston with GPS and chargers and serial adapters.<br />
<img src="http://www.hunterdavis.com/hackaway2010/palm.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>Peek Messaging Device - Join the peeklinux project and start porting!<br />
<img src="http://www.hunterdavis.com/hackaway2010/peek.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>USB Wireless bundle - Rip Roar USB wireless messenger (IM-ME clone) along with UBFunkeys reader and many keys (rfid-like keys based on usb passthrough).<br />
<img src="http://www.hunterdavis.com/hackaway2010/riproarusb.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>Sound Bundle - Street Fighter 4 Japanese practice keychain, audio repeater device, and crammer ogg vorbis/wm3 device.<br />
<img src="http://www.hunterdavis.com/hackaway2010/sound.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>Wifi Bundle - Netgear N router pre-flashed with openWRT, and linksys wireless-b access point<br />
<img src="http://www.hunterdavis.com/hackaway2010/wifi.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
<li>X10 Home Automation Bundle - Two X10 PC receivers, wireless receiver, heavy duty appliace module, two light modules, start automating your lab!<br />
<img src="http://www.hunterdavis.com/hackaway2010/x10.JPG" alt="hackaway 2010" width=200 height=200 align=left/></li>
</ol>
<p>And that's that!  Send me an email!  Tell your friends!  Good luck!  Can't wait to see what hacks you come up with this year!</p>
]]></content:encoded>
			<wfw:commentRss>http://hunterdavis.com/archives/572/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>New Ubuntu Z2 Userland from Mozzwald</title>
		<link>http://hunterdavis.com/archives/561</link>
		<comments>http://hunterdavis.com/archives/561#comments</comments>
		<pubDate>Sat, 22 May 2010 15:36:44 +0000</pubDate>
		<dc:creator>hunter</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacking and Robotics]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Zipit Hacking]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[userland]]></category>
		<category><![CDATA[z2]]></category>
		<category><![CDATA[zipit]]></category>
		<category><![CDATA[zipit z2 ubuntu debian userland]]></category>

		<guid isPermaLink="false">http://hunterdavis.com/?p=561</guid>
		<description><![CDATA[A pingback from Geordy Rostad alerted me to a new Z2 Ubuntu userland from mozzwald. Looks like a very solid first release, and gcc compilation support is back in (apparently its not been working since my or aliosa27's bitbaked userlands??). Head over to mozzwald.com for the download and instructions and be sure to leave him [...]]]></description>
			<content:encoded><![CDATA[<p>A pingback from <a href="http://www.notanon.com/zipit/switching-the-zipit-from-side-track-to-ubuntu/2010/05/20/">Geordy Rostad</a> alerted me to a new Z2 Ubuntu userland from mozzwald.  Looks like a very solid first release, and gcc compilation support is back in (apparently its not been working since my or aliosa27's bitbaked userlands??).  Head over to mozzwald.com for the <a href="http://mozzwald.com/node/50">download and instructions</a> and be sure to leave him some positive feedback.  Those familiar with the previous Debian based userlands should feel right at home. Happy hacking!  <img src="http://www.ubuntu.com/files/u3/LaptopUbuntu.jpg" alt="ubuntu laptop" /></p>
]]></content:encoded>
			<wfw:commentRss>http://hunterdavis.com/archives/561/feed</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
		<item>
		<title>90&#8242;s Tech to The Rescue (network monitor)</title>
		<link>http://hunterdavis.com/archives/552</link>
		<comments>http://hunterdavis.com/archives/552#comments</comments>
		<pubDate>Mon, 10 May 2010 21:25:33 +0000</pubDate>
		<dc:creator>hunter</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacking and Robotics]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netgear]]></category>
		<category><![CDATA[networks]]></category>
		<category><![CDATA[palm]]></category>
		<category><![CDATA[paperclips]]></category>
		<category><![CDATA[serial]]></category>

		<guid isPermaLink="false">http://hunterdavis.com/?p=552</guid>
		<description><![CDATA[Like many of you, I am throttled by the uplink speed of my network. Unfortunately, my upstream router (which also supplies my HDTV channels) is supplied by my ISP, and I do not have root access. The cable company also doesn't release metrics for line usage, data transfer for television shows, etc. Fortunately, it uses [...]]]></description>
			<content:encoded><![CDATA[<p>Like many of you, I am throttled by the uplink speed of my network.  Unfortunately, my upstream router (which also supplies my HDTV channels) is supplied by my ISP, and I do not have root access.  The cable company also doesn't release metrics for line usage, data transfer for television shows, etc.  Fortunately, it uses standard ip networking over Ethernet.    I ended up using a 90's era netgear router and an old Palm V to display link statistics, throughput, etc.  The connection was made using paper-clips.... more info after the break!</p>
<p><img src="http://www.hunterdavis.com/palmvrouter.jpg" alt="palm v router information" align = left width=200 height=200/></p>
<p><span id="more-552"></span></p>
<p>The netgear 314 I had in my closet is actually a re-branded ZyXEL Prestige 314.  This is nice as it comes with a serial terminal interface already set up.  By inserting this router into your network between your router and the upstream port you can easily set up a syslog rebroadcaster to a linux box on your network.  That's the easy way.....</p>
<p>As I also had an old Palm V sitting around, I figured it'd be more fun to do it the hard way.  There's an old serial terminal program for palm called ptelnet that I recommend.  It has macro functionality, so also I recommend setting your macros to be your favorite system info commands for the Zyxel interface (net show tables, ip address, etc).  </p>
<p>If you've got a null modem cable around (f-f adapter) you can plug straight in.  Otherwise you'll have to roll your own.  Lucky for us the serial protocol only needs 3 lines (power, rx, tx (pins 2,3,5)).  The netgear expects hardware flow control to be on, so you'll also need to bridge those lines as well (pins 7,8).  I used paper clips (dangerous!!!!), but I would recommend using shielded wires.</p>
<p>Once you've got all your pins connected (or swapped depending on your cabling..), fire up your terminal emulator and power on your router.  You're all set to get all sorts of nice statistics your ISP may not want you knowing about.  </p>
]]></content:encoded>
			<wfw:commentRss>http://hunterdavis.com/archives/552/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>A Quick Tuesday Prediction</title>
		<link>http://hunterdavis.com/archives/550</link>
		<comments>http://hunterdavis.com/archives/550#comments</comments>
		<pubDate>Tue, 20 Apr 2010 19:54:09 +0000</pubDate>
		<dc:creator>hunter</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[arcade]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[live]]></category>
		<category><![CDATA[prediction]]></category>
		<category><![CDATA[xbox]]></category>

		<guid isPermaLink="false">http://hunterdavis.com/?p=550</guid>
		<description><![CDATA[Being capitalists, Microsoft will shortly roll out a buyback program for downloaded Xbox Live arcade games. Games can be "returned" for 1000 Microsoft points, with the caveat that if you want to re-download the game, it will cost you full price. Corollary prediction, they will make money hand over fist. That is all.]]></description>
			<content:encoded><![CDATA[<p>Being capitalists, Microsoft will shortly roll out a buyback program for downloaded Xbox Live arcade games.  Games can be "returned" for 1000 Microsoft points, with the caveat that if you want to re-download the game, it will cost you full price.  Corollary prediction, they will make money hand over fist.  That is all. </p>
]]></content:encoded>
			<wfw:commentRss>http://hunterdavis.com/archives/550/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roll your own Google Cloud Print, Today, Using Your Zipit Z2 (or anything that can run python), in 5 Minutes</title>
		<link>http://hunterdavis.com/archives/506</link>
		<comments>http://hunterdavis.com/archives/506#comments</comments>
		<pubDate>Mon, 19 Apr 2010 06:04:44 +0000</pubDate>
		<dc:creator>hunter</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacking and Robotics]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Zipit Hacking]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[z2]]></category>
		<category><![CDATA[zipit]]></category>

		<guid isPermaLink="false">http://hunterdavis.com/?p=506</guid>
		<description><![CDATA[When I read about Google's new strategy for cloud printing, I thought "hey that's great!, wish I could use it before 2011!". Thankfully, I run linux on damn near everything. As I don't have an android (which would be a pretty ideal running platform for this...), I've used the Z2 as my "drop in" cloud [...]]]></description>
			<content:encoded><![CDATA[<p>When I read about Google's new <a href="http://mashable.com/2010/04/16/google-cloud-print/">strategy</a> for cloud printing, I thought "hey that's great!, wish I could use it before 2011!".  Thankfully, I run linux on damn near everything.  As I don't have an android (which would be a pretty ideal running platform for this...), I've used the Z2 as my "drop in" cloud print server.  Doesn't seem like it'll take the manufacturing companies long to integrate this into new product lines, as it's pretty simple.  Instructions and source code links below!<br />
<img src="http://www.hunterdavis.com/cloudprint.jpg" alt="cloud printing from the zipit z2" align=left width=200 height=200/></p>
<p><span id="more-506"></span></p>
<p>So here's the plan.  We're going to configure our Z2 to periodically check an email address for emails with attachments.  When it finds an email with an attachment, it prints the attachment and archives the email.  As you can see from the photo, I place a little notecard on the Z2 which states "Email __EMAILREDACTED___ to print to this printer".  If you want to print to this device "from the cloud", just email to it.   Pretty simple <img src='http://hunterdavis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , and the arm in the Z2 takes up a fairly low wattage overhead as a cloud monitor/print server.</p>
<p>
<p><ol>
</p>
<li>  First, we'll want to connect the Zipit to an existing printer.  As I've got a network printer at work (fairly common situation), I'll use that as the example case.  Using one of the linux (I'm going the debian (easy) route) Z2 distros that's popular, boot your Z2 up and get it connected to the net/up to a state where it can update via apt get.  Then <code> apt-get install cups </code>  for printing., and <code> apt-get install gmail-notify </code> to install all the relevant pre-reqs for python.  That's one thing that's great about python on embedded, if you know another popular python program uses all your libraries, just install that first and you've got your prerequisites covered...or at least all the ones I can remember <img src='http://hunterdavis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   You can set up cups to handle various filetypes for printing, but it should come with postscript by default and that's enough for me</li>
<p></p>
<li> Next, we'll configure the Z2 to print to a network printer.  This will be your "drop target".  You can either use one of the gui printing configuration tools (select IP Printer from the drop-down list), or the cups command line or web tools.  From the <a href="http://wiki.debian.org/SystemPrinting">debian wiki</a>, cups runs a web daemon locally than can be used to configure new printers.  After installing cups, you can <code> elinks http://localhost:631/ </code> to get to an administration website.  From here it's pretty trivial to print, as your apt-get should have pre-configured a lot of cups for you i.e. samba, workgroups info, etc (interactively in my case). </li>
<p></p>
<li> As this'll be an open source solution, there's no need to re-invent the wheel.  <a href="http://code.activestate.com/recipes/498189-imap-mail-server-attachment-handler/">Suresh Kumar wrote</a> an imap attachment handler in python that's fairly compact, we can use that as an excellent base to write our script.  It's <a href="http://python.org/psf/license/">PSF licensed</a>, so you know it jives with our GPL sensibilities.  </li>
<p></p>
<li> Now in this script it stores all attachments into their own hierarchical directory structure.  You can remove this if you like, but I kind of like having a print backup, at least for a few weeks.  This is the write_file() function.  Wherever this is called you can add your own os.system call to print the file.  For the lazy, if your printer is named "JACKBAUER" at the end of this function just add  <code>sysCommand = "lpr –P JACKBAUER –#1" + filename</code>  .  This fills a string buffer named sysCommand with our command to print using the lpr function (cups standard printing function).  Follow this line with <code> os.system(sysCommand) </code> </li>
<p></p>
<li> Now that your python script is finished, create a script to execute the attdownload.py with the proper variables (username, server, etc perhaps make it a background process with nohup etc).  Make the script executable, and you're good to go.  Either add it to your rc.local so it runs on startup or add it to your bash.rc so it loads on login.  Congrats!  You live in a world with email capable printers <img src='http://hunterdavis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://hunterdavis.com/archives/506/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>The littlest famicom</title>
		<link>http://hunterdavis.com/archives/500</link>
		<comments>http://hunterdavis.com/archives/500#comments</comments>
		<pubDate>Sun, 11 Apr 2010 22:41:29 +0000</pubDate>
		<dc:creator>hunter</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Hacking and Robotics]]></category>
		<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[cheap]]></category>
		<category><![CDATA[chips]]></category>
		<category><![CDATA[famicom]]></category>
		<category><![CDATA[learning]]></category>
		<category><![CDATA[nes]]></category>
		<category><![CDATA[nintendo]]></category>
		<category><![CDATA[repurposing]]></category>
		<category><![CDATA[thrift]]></category>

		<guid isPermaLink="false">http://hunterdavis.com/?p=500</guid>
		<description><![CDATA[Ok not really. But it's pretty sad anyway. Tired of playing games on virtual console, I set out to construct my own nes (and make use of the carts strewn about my closet). As I head out to my usual electronics warehouse (the venice women's council thrift store), I had envisioned building the nes from [...]]]></description>
			<content:encoded><![CDATA[<p>Ok not really.  But it's pretty sad anyway.  Tired of playing games on virtual console, I set out to construct my own nes (and make use of the carts strewn about my closet).  </p>
<p><img src="http://www.hunterdavis.com/famicom.jpg" alt="famicom" align="left" width=200 height=200 /></p>
<p><span id="more-500"></span></p>
<p>As I head out to my usual electronics warehouse (the venice women's council thrift store), I had envisioned building the nes from the necessary parts pulled from old consoles, pda's etc.  I ended up finding a children's keyboard to tv adapter which came with a plug-in mouse and controller.  For 10$, it seemed like a good candidate for chips.  Ripping it open, before my eyes appeared a cartridge connector.  My NES carts did not fit.  They were the wrong size.. by about 12 pins..  Sounds about like. a famicom!  Yep.  Some company decided to save a $ and implemented a learning device based on the now insanely cheap to produce 1mhz famicom.  I slapped it back together with a little hot glue, and that's that!  Abolut the size of 3 famicom carts stacked, it's been fun playing the few famicom games I can understand.  The hackaway pile for this year is getting bigger all the time!.</p>
<p><img src="http://www.hunterdavis.com/famiguts.jpg" alt="gamicom guts" align="left" width=200 height=200/></p>
]]></content:encoded>
			<wfw:commentRss>http://hunterdavis.com/archives/500/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Finished building my first guitar</title>
		<link>http://hunterdavis.com/archives/494</link>
		<comments>http://hunterdavis.com/archives/494#comments</comments>
		<pubDate>Mon, 29 Mar 2010 23:27:01 +0000</pubDate>
		<dc:creator>hunter</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Zipit Hacking]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[guitar]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[luthier]]></category>

		<guid isPermaLink="false">http://hunterdavis.com/?p=494</guid>
		<description><![CDATA[Mark brought over his copy of Make, and it turns out this last Makezine had a great article on building cigar box guitars. It sounded like a really interesting project, so we went off to the hardware store to purchase some oak timber. Many days/hours/blood stains later, the fruits of our labor emerged, tuned and [...]]]></description>
			<content:encoded><![CDATA[<p>Mark brought over his copy of Make, and it turns out this last Makezine had a <a href="http://makezine.com/04/cigarbox/">great article</a> on building <a href="http://cigarboxguitars.com/">cigar box guitars</a>.  It sounded like a really interesting project, so we went off to the hardware store to purchase some oak timber.  Many days/hours/blood stains later, the fruits of our labor emerged, tuned and ready to play.  <img src="http://www.hunterdavis.com/guitar.jpg" alt="cigar box guitar" /> .  Lots of hack potential, and an easy fix if I break something.  Bonus, tablature looks fine in links browser on the Z2, though you will have to scroll quite a lot.  I'll see about getting gnome guitar working, should be interesting (mono bleh).  Yet again another use case for the Z2 I wouldn't have imagined.</p>
]]></content:encoded>
			<wfw:commentRss>http://hunterdavis.com/archives/494/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
