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

<channel>
	<title>Carson Baker</title>
	<atom:link href="http://carsonbaker.org/feed" rel="self" type="application/rss+xml" />
	<link>http://carsonbaker.org</link>
	<description>Thoughts on finance, robotics, embedded systems, and interactive art.</description>
	<pubDate>Tue, 09 Dec 2008 06:12:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.8-bleeding-10187</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fictionaut @ Rice Alliance Web 2.0 Forum</title>
		<link>http://carsonbaker.org/2008/11/07/fictionaut-rice-alliance-2008</link>
		<comments>http://carsonbaker.org/2008/11/07/fictionaut-rice-alliance-2008#comments</comments>
		<pubDate>Fri, 07 Nov 2008 19:01:37 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://carsonbaker.org/2008/11/30/fictionaut-rice-alliance-2008</guid>
		<description><![CDATA[On December 11th, 2008 I&#8217;ll be giving a ninety second pitch for Fictionaut at the 6th Annual I.T. &#038; Web 2.0 Venture Forum held at Rice University.
]]></description>
			<content:encoded><![CDATA[<p>On December 11th, 2008 I&#8217;ll be giving a ninety second pitch for <a href="/fictionaut">Fictionaut</a> at the 6th Annual <a href="http://www.alliance.rice.edu/alliance/IT08_Agenda.asp?SnID=978013534" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.alliance.rice.edu');">I.T. &#038; Web 2.0 Venture Forum</a> held at Rice University.</p>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2008/11/07/fictionaut-rice-alliance-2008/feed</wfw:commentRss>
		</item>
		<item>
		<title>The life Fictionautic</title>
		<link>http://carsonbaker.org/2008/09/29/life-fictionautic</link>
		<comments>http://carsonbaker.org/2008/09/29/life-fictionautic#comments</comments>
		<pubDate>Tue, 30 Sep 2008 03:48:29 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[Projects]]></category>

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

		<guid isPermaLink="false">http://carsonbaker.org/2008/09/29/life-fictionautic/</guid>
		<description><![CDATA[A month ago I announced Fictionaut, a writer&#8217;s community I co-founded back in April. Since then there have been over 200 stories posted and hundreds of interesting comments. If you&#8217;d like to take a peek, we&#8217;re now actively soliciting new users. To see what it&#8217;s all about, simply request an invitation.
Carolyn Kellog of the LA [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://carsonbaker.org/fictionaut" >A month ago</a> I announced <a href="http://fictionaut.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/fictionaut.com');">Fictionaut</a>, a writer&#8217;s community I co-founded back in April. Since then there have been over 200 stories posted and hundreds of interesting comments. If you&#8217;d like to take a peek, we&#8217;re now actively soliciting new users. To see what it&#8217;s all about, simply <a href="http://fictionaut.com/request-invite" onclick="javascript:pageTracker._trackPageview('/outbound/article/fictionaut.com');">request an invitation</a>.</p>
<p>Carolyn Kellog of the LA Times <a href="http://latimesblogs.latimes.com/jacketcopy/2008/09/what-exactly--1.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/latimesblogs.latimes.com');"><em>Jacket Copy</em></a> recently had this to say:</p>
<blockquote><p>The site has a sophisticated, clean design, one which seems to assume that its members will plunge in and begin reading with little hand-holding. With its integration of social networking and magazine-style content, Fictionaut might just take off and be the next best version of Zoetrope&#8217;s Virtual Studio or NaNoWriMo.</p></blockquote>
<p>So when&#8217;s the official launch date? Well, we&#8217;re still watching the way the community works &#8212; if everything is running smoothly then it shouldn&#8217;t be <em>too</em> much longer.</p>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2008/09/29/life-fictionautic/feed</wfw:commentRss>
		</item>
		<item>
		<title>Processing, cylinder-tree redone</title>
		<link>http://carsonbaker.org/2008/09/25/processing-and-cylinder-tree</link>
		<comments>http://carsonbaker.org/2008/09/25/processing-and-cylinder-tree#comments</comments>
		<pubDate>Thu, 25 Sep 2008 11:10:59 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://carsonbaker.org/2008/11/17/processing-cylinder-tree-redone/</guid>
		<description><![CDATA[
I borrowed Samuel Bravo Silva&#8217;s excellent &#8220;cylinder_tree&#8221; sketch and ported it to my native GL framework (called CBGameworks, soon to be released). Download Octopus.zip (51KB) (seen above). Keys ESDF move the camera. R peds upward. L toggles lighting, off by default.
Source code (73KB) is available for download, bundled with an undocumented and symbol-stripped version of [...]]]></description>
			<content:encoded><![CDATA[<div id="octopusMovie" style="display: none;"><object width="600" height="400" class="offset"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=1432064&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=1432064&amp;server=www.vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="600" height="400"></embed></object></div>
<p><a href="#TB_inline?height=400&#038;width=600&#038;inlineId=octopusMovie" class="thickbox"><img src="http://carsonbaker.org/wp-content/uploads/2008/07/octopus.jpg"  width="515" height="280" class="wideimg"/></a></p>
<p>I borrowed <a href="http://terreno.wordpress.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/terreno.wordpress.com');">Samuel Bravo Silva</a>&#8217;s excellent &#8220;<a href="http://www.openprocessing.org/visuals/?visualID=306" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.openprocessing.org');">cylinder_tree</a>&#8221; sketch and ported it to my native GL framework (called CBGameworks, soon to be released). Download <a href="http://files.carsonbaker.org/native_processing_demos/Octopus.zip" onclick="javascript:pageTracker._trackPageview('/downloadsfiles./native_processing_demos/Octopus.zip');">Octopus.zip (51KB)</a> (seen above). Keys <strong>ESDF</strong> move the camera. <strong>R</strong> peds upward. <strong>L</strong> toggles lighting, off by default.</p>
<p><a href="http://files.carsonbaker.org/native_processing_demos/Octopus_source.zip" onclick="javascript:pageTracker._trackPageview('/downloadsfiles./native_processing_demos/Octopus_source.zip');">Source code (73KB)</a> is available for download, bundled with an undocumented and symbol-stripped version of my CBGameworks library.</p>
<p>It&#8217;s truly amazing what Ben Fry&#8217;s little framework has done to the demo scene in the past two years. Despite having made no real technical achievement, Processing has become the de-facto engine for interactive art — exhibiting itself in galleries, on magazine covers, and all over the internet. Its success lies in its simplicity, its elegance — the shared value among artists and programmers that connects both sides of the brain. And while it&#8217;s true that more powerful tools are available, nothing else comes with such a clear methodology, extensible design, and fanatical community.</p>
<p>Check out the <a href="http://www.vimeo.com/processing" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.vimeo.com');">processing group</a> on Vimeo. Stunning. The top two producers, in my opinion, are <a href="http://www.unlekker.net/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.unlekker.net');">Marius Watz</a> (<a href="http://www.vimeo.com/watz/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.vimeo.com');">watz</a>) and <a href="http://www.flight404.com" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.flight404.com');">Robert Hodgin</a> (<a href="http://www.vimeo.com/flight404" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.vimeo.com');">flight404</a>) of The Barbarian Group.</p>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2008/09/25/processing-and-cylinder-tree/feed</wfw:commentRss>
		</item>
		<item>
		<title>Radiohead&#8217;s city street</title>
		<link>http://carsonbaker.org/2008/09/11/radioheads-city-street</link>
		<comments>http://carsonbaker.org/2008/09/11/radioheads-city-street#comments</comments>
		<pubDate>Thu, 11 Sep 2008 11:11:15 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://carsonbaker.org/2008/11/17/radioheads-city-street/</guid>
		<description><![CDATA[Available to download from Google is a small part of the data set from Radiohead&#8217;s recent House of Cards music video, shot entirely without cameras — just LIDAR and 3D capture. Part of the idea is that fans will be able to remix the &#8220;footage&#8221; or mash it up in some way.
This is tremendously cool [...]]]></description>
			<content:encoded><![CDATA[<p>Available to download from Google is a small part of the data set from Radiohead&#8217;s recent <em>House of Cards</em> <a href="http://code.google.com/creative/radiohead/" onclick="javascript:pageTracker._trackPageview('/outbound/article/code.google.com');">music video</a>, shot entirely without cameras — just <a href="http://en.wikipedia.org/wiki/LIDAR" onclick="javascript:pageTracker._trackPageview('/outbound/article/en.wikipedia.org');">LIDAR</a> and 3D capture. Part of the idea is that fans will be able to remix the &#8220;footage&#8221; or mash it up in some way.</p>
<p>This is tremendously cool and very thoughtful of Radiohead to copyleft this part of their work.</p>
<p>Unfortunately Google or Radiohead has only provided a one minute sample of the animation data, which isn&#8217;t much to work with. Of the 14,000 data downloads and counting, I think this probably explains why no one has come up with anything too striking on the <a href="http://www.youtube.com/group/houseofcards" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.youtube.com');">YouTube Remix Group</a>.</p>
<p>Still, I <a href="http://code.google.com/p/radiohead/downloads/list" onclick="javascript:pageTracker._trackPageview('/outbound/article/code.google.com');">grabbed the data</a> and got to work. First step: <strong>better tools</strong>. Personally I feel the Processing code is just too slow and painful to work with. OpenGL really needs to be run through native code.</p>
<p>So the first app I wrote is a Obj-C based <strong>first-person browser of the city street landscape</strong> (which includes 1.3 million vertices). It&#8217;s intel Mac-only and completely untested, but if you&#8217;re daring it might be fun to play with. It takes a couple seconds to load all the points, but then runs surprisingly fast. I get 30fps on my first-generation MacBook Pro.</p>
<p><img src="http://carsonbaker.org/wp-content/uploads/2008/07/hoc-teaser.jpg" alt="hoc-teaser.png" width="515" height="280" class="wideimg" /></p>
<p>You can download it here (21.6MB):<br />
<a href="http://files.carsonbaker.org/hoc/HOC-CitySceneViewer.zip" onclick="javascript:pageTracker._trackPageview('/downloadsfiles./hoc/HOC-CitySceneViewer.zip');">http://files.carsonbaker.org/hoc/HOC-CitySceneViewer.zip</a></p>
<p>Or watch a <a href="http://www.youtube.com/watch?v=y_LXpqmdk9U" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.youtube.com');">quick demonstration on YouTube</a>.</p>
<p>Two more apps are on their way. One just displays the other landscape; the other is a facial animation viewer of Thom. These projects are layered on top of a custom OpenGL threaded graphics framework I built four years ago — just something that comes in handy from time to time. In a way it has kind of evolved into its own mini-version of Processing, without the performance penalties.</p>
<p style="display: none;">So, what about source code? Well, <strong>if Radiohead releases the entire data set then I&#8217;ll post sources for everything</strong>, including my graphics framework and the client code. I don&#8217;t know how hard it is to prepare the data, but I don&#8217;t think that&#8217;s too unreasonable of an idea. I think it&#8217;s win-win — more people could put together better montages with a more capable tool.</p>
<p>If Google decides to release more of the data, one thing I suggested is <strong>not</strong> distributing the vertex points as CSV data. It makes it much bigger to download and slower to parse. Why CSV anyway? Hopefully people aren&#8217;t opening this stuff up in Excel. Save it as binary! We can handle it. Here&#8217;s some code to do it:</p>
<p><a href="http://files.carsonbaker.org/csv_to_binary.c.txt" >http://files.carsonbaker.org/hoc/csv_to_binary.c.txt</a></p>
<p>Also — for anyone that might know:</p>
<p>It&#8217;s not clear to me how the Geometric Informatics capture hardware works. What&#8217;s the technology behind it? How much does their GeoVideo system cost? I&#8217;m having a hard time finding this out.</p>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2008/09/11/radioheads-city-street/feed</wfw:commentRss>
		</item>
		<item>
		<title>Thom Yorke orbit</title>
		<link>http://carsonbaker.org/2008/08/25/thom-yorke-orbit</link>
		<comments>http://carsonbaker.org/2008/08/25/thom-yorke-orbit#comments</comments>
		<pubDate>Mon, 25 Aug 2008 11:10:30 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://carsonbaker.org/2008/11/17/thom-yorke-orbit/</guid>
		<description><![CDATA[
Watch the above video in high-definition on Vimeo.
Source code is available (1.5MB):
http://carsonbaker.org/wp-content/uploads/2008/07/thom.zip
The point data set is not included. Download it from the Google project site.
]]></description>
			<content:encoded><![CDATA[<div id="thomMovie" style="display: none;"><object width="720" height="405"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.vimeo.com/moogaloop.swf?clip_id=1437986&amp;server=www.vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" /><embed src="http://www.vimeo.com/moogaloop.swf?clip_id=1437986&amp;server=www.vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="720" height="405"></embed></object></div>
<p><a href="#TB_inline?height=405&#038;width=720&#038;inlineId=thomMovie" class="thickbox noborder"><img src="http://carsonbaker.org/wp-content/uploads/2008/07/thom2.gif"  width="515" height="280" class="wideimg" /></a></p>
<p>Watch the above <a href="http://vimeo.com/1437986" onclick="javascript:pageTracker._trackPageview('/outbound/article/vimeo.com');">video in high-definition</a> on Vimeo.</p>
<p>Source code is available (1.5MB):<br />
<a href="http://carsonbaker.org/wp-content/uploads/2008/07/thom.zip" onclick="javascript:pageTracker._trackPageview('/downloads/wp-content/uploads/2008/07/thom.zip');" title="Thom.zip">http://carsonbaker.org/wp-content/uploads/2008/07/thom.zip</a></p>
<p>The point data set is not included. Download it from the Google <a href="http://code.google.com/p/radiohead/downloads/list" onclick="javascript:pageTracker._trackPageview('/outbound/article/code.google.com');">project site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2008/08/25/thom-yorke-orbit/feed</wfw:commentRss>
		</item>
		<item>
		<title>Time Machine on Linux</title>
		<link>http://carsonbaker.org/2008/06/23/time-machine-restore</link>
		<comments>http://carsonbaker.org/2008/06/23/time-machine-restore#comments</comments>
		<pubDate>Tue, 24 Jun 2008 02:38:34 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://carsonbaker.org/?p=33</guid>
		<description><![CDATA[Recently after switching from Mac OS X to Debian, I found I needed to restore a couple files from the Time Machine backup that I kept. The drive works just fine as an HFS+ mount, but I couldn&#8217;t figure out how to retrieve anything within. When Google didn&#8217;t yield the answer, I began to explore [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://carsonbaker.org/wp-content/uploads/2008/07/penguinonball1.gif" width="152" height="200" alt="tux on a time machine" style="float:right;" class="noborder" />Recently after switching from Mac OS X to Debian, I found I needed to restore a couple files from the Time Machine backup that I kept. The drive works just fine as an HFS+ mount, but I couldn&#8217;t figure out how to retrieve anything within. When Google didn&#8217;t yield the answer, I began to explore on my own. Turns out Apple does a couple slick things with the file system to make incremental backups work.</p>
<p>So for anyone that needs to access their Time Machine from something other than its associated Mac, here&#8217;s how you do it:</p>
<p><strong>Mount the drive.</strong> On linux it should automount if you have <code>gnome-volume-manager</code> installed. If you don&#8217;t see it in /media then run <code>nautilus</code> and check the desktop. Still don&#8217;t see it? Read <code>man mount</code>. And then don&#8217;t forget the <code>-t hfsplus</code> flag.</p>
<p><strong>Change directory.</strong> My mount point is <code>/media/Time Machine/</code>. Within that path I find the directory <code>Backups.backupdb/</code>. This represents the directory layout of your backup system. Inside that directory is the name of your disk. Inside that are folders labeled with dates corresponding to each incremental backup that was made. Pick the one you want, or choose the <code>Latest</code> symlink. For example, my path is now:</p>
<pre>/media/Time Machine/Backups.backupdb/Drive\ 1/2008-06-05-073745</pre>
<p><strong>Find your file&#8217;s folder.</strong> Within that path is a complete representation of your filesystem. Navigate to the location of your file. If it&#8217;s not too big or nested too deep, it may be plainly visible. However there&#8217;s a good chance that its parent directory doesn&#8217;t exist. Instead you&#8217;ll see a zero-byte file for the parent that takes its name and acts as a pointer. Run <code>ls -l</code> and take note of the first numbered column. Example:</p>
<pre>
...
-r--r--r-- 2155704 root 5791966       0 2007-06-25 02:54 Wallpaper
-r--r--r-- 2155725 root 5791967       0 2007-06-25 02:54 Web-Identity
-r--r--r-- 5441953 root 5791968       0 2007-06-25 02:54 Windows
-r--r--r-- 5511926 root 5791969       0 2007-06-25 02:54 Work
</pre>
<p>After the permissions you&#8217;ll see the directory number that typically refers to the number of directories within that folder. For a file it should always be 1. Here it is not. What Apple has done is adjust the information in this file&#8217;s inode to use it as a pointer to the directory that contains the actual file. That way multiple revisions of the same drive can coexist without duplicating data.</p>
<p><strong>Find the data.</strong> So in my case I want to grab something out of the <code>Wallpaper</code> folder. First I make a note of the directory number, <code>2155704</code> and then <code>cd /media/Time Machine/.HFS+ Private Directory Data</code>. This is where the data really lives. From there just <code>cd dir_2155704</code> and <em>voilà</em>!</p>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2008/06/23/time-machine-restore/feed</wfw:commentRss>
		</item>
		<item>
		<title>Biomorphs</title>
		<link>http://carsonbaker.org/2008/06/19/biomorphs</link>
		<comments>http://carsonbaker.org/2008/06/19/biomorphs#comments</comments>
		<pubDate>Thu, 19 Jun 2008 11:15:33 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://carsonbaker.org/2008/11/17/biomorphs/</guid>
		<description><![CDATA[Recently I came across an academic reference to Cliffard Pickover&#8217;s biomorphs, a generative fractal-like art that resembles cell structures. Outside of Richard Dawkins&#8217; famous evolutionary invention of the same name, which is similar in purpose but different in design, I had never heard of Pickover&#8217;s work. Sadly I couldn&#8217;t find the original article for free. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I came across an academic reference to <a href="http://sprott.physics.wisc.edu/pickover/home.htm" onclick="javascript:pageTracker._trackPageview('/outbound/article/sprott.physics.wisc.edu');">Cliffard Pickover&#8217;s</a> biomorphs, a generative fractal-like art that resembles cell structures. Outside of Richard Dawkins&#8217; famous evolutionary invention of the same name, which is similar in purpose but different in design, I had never heard of Pickover&#8217;s work. Sadly I couldn&#8217;t find the original article for free. [<em>Biomorphs: Computer displays of biological forms generated from mathematical feedback loops</em>]</p>
<p>I did, however, find a good <a href="http://www.madteddy.com/biomorph.htm" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.madteddy.com');">overview</a> of the subject by <a href="http://www.madteddy.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.madteddy.com');">Mad Teddy</a>. [Explore his website to discover why he is, in fact, quite mad.]</p>
<p>Ten minutes later I generated my own biomorph:</p>
<p><img src="http://carsonbaker.org/wp-content/uploads/2008/07/biomorph.jpg" alt="biomorph.jpg" width="500" height="299" class="wideimg" /></p>
<p>Download the source code as an <a href="http://carsonbaker.org/wp-content/uploads/2008/05/biomorph-may-2008.zip" onclick="javascript:pageTracker._trackPageview('/downloads/wp-content/uploads/2008/05/biomorph-may-2008.zip');">Xcode project (Mac only, 51 KB)</a>. Possible improvements, including animations, to follow.</p>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2008/06/19/biomorphs/feed</wfw:commentRss>
		</item>
		<item>
		<title>Recently: Quantitative finance books</title>
		<link>http://carsonbaker.org/2007/12/04/recently-quantitative-finance-books</link>
		<comments>http://carsonbaker.org/2007/12/04/recently-quantitative-finance-books#comments</comments>
		<pubDate>Wed, 05 Dec 2007 00:39:16 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[Recent Reads]]></category>

		<guid isPermaLink="false">http://carsonbaker.org/2007/12/04/top-5-recent-quantitative-finance-books/</guid>
		<description><![CDATA[These are a handful of the books I&#8217;ve enjoyed recently about finance. The summaries are brief because countless others on Amazon have done the job for me.






The Concepts and Practice of Mathematical Finance
by Mark S. Joshi, 2003
One of the most succinct, to-the-point explanations of what finance is all about. Joshi, in very clear words, turns [...]]]></description>
			<content:encoded><![CDATA[<p>These are a handful of the books I&#8217;ve enjoyed recently about finance. The summaries are brief because countless others on Amazon have done the job for me.</p>
<table>
<tr>
<td style="padding-right: 25px">
<p><a href="http://www.amazon.com/gp/redirect.html%3FASIN=0521823552%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0521823552%253FSubscriptionId=02ZH6J1W0649DTNS6002" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.amazon.com');" class="nolinkborder"><img src="/wp-content/uploads/2007/12/1.jpg" /></a></p>
</td>
<td>
<p><a href="http://www.markjoshi.com/concepts/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.markjoshi.com');">The Concepts and Practice of Mathematical Finance</a><br />
<em>by Mark S. Joshi, 2003</em><br />
One of the most succinct, to-the-point explanations of what finance is all about. Joshi, in very clear words, turns the theory into complete understanding.</p>
</td>
</tr>
<tr>
<td style="padding-right: 25px">
<p><a href="http://www.amazon.com/gp/redirect.html%3FASIN=0470192739%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0470192739%253FSubscriptionId=02ZH6J1W0649DTNS6002" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.amazon.com');" class="nolinkborder"><img src="/wp-content/uploads/2007/12/2.jpg" /></a></p>
</td>
<td>
<p><a href="http://www.amazon.com/My-Life-Quant-Reflections-Physics/dp/0471394203">My Life as a Quant<br />
</a><em>by Emanuel Derman, 2007</em></p>
<p>For those considering jobs as Quants, this memoir leaves you with plenty of inspiration, but little practical insight.</p>
</td>
</tr>
<tr>
<td style="padding-right: 25px">
<p><a href="http://www.amazon.com/gp/redirect.html%3FASIN=0470138440%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0470138440%253FSubscriptionId=02ZH6J1W0649DTNS6002" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.amazon.com');" class="nolinkborder"><img src="/wp-content/uploads/2007/12/3.jpg" /></a></p>
</td>
<td>
<p>	<a href="http://www.amazon.com/Statistical-Arbitrage-Algorithmic-Insights-Techniques/dp/0470138440" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.amazon.com');">Statistical Arbitrage</a><br />
<em>by Andrew Pole, 2007</em></p>
<p>A decent numerical guide to the guiding principles behind stat arb. Very similar to other Wiley Finance books.</p>
</td>
</tr>
<tr>
<td style="padding-right: 25px">
<p><a href="http://www.amazon.com/gp/redirect.html%3FASIN=0465043550%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0465043550%253FSubscriptionId=02ZH6J1W0649DTNS6002" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.amazon.com');" class="nolinkborder"><img src="/wp-content/uploads/2007/12/4.jpg" /></a></p>
</td>
<td>
<p>	<a href="http://www.amazon.com/Mis-Behavior-Markets-Fractal-Reward/dp/0465043577" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.amazon.com');">The (Mis) Behavior of Markets</a><br />
<em>by Benoit B. Mandelbrot</em></p>
<p>Mandelbrot&#8212;without question&#8212;is one of the most influential, yet under-appreciated figures in complexity, math, and finance. This book should be required reading for any risk manager, trader, or economist.</p>
</td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2007/12/04/recently-quantitative-finance-books/feed</wfw:commentRss>
		</item>
		<item>
		<title>The Software Design Pit</title>
		<link>http://carsonbaker.org/2007/06/10/the-scourge-of-uml</link>
		<comments>http://carsonbaker.org/2007/06/10/the-scourge-of-uml#comments</comments>
		<pubDate>Mon, 11 Jun 2007 05:08:11 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://carsonbaker.org/2007/06/10/the-scourge-of-uml/</guid>
		<description><![CDATA[I want to highlight this particular link, &#8220;Top Ten of Programming Advice NOT to follow&#8221; [sic]. Except for #10 (throw exceptions), every one of these suggestions flies in the face of what programmers are traditionally taught. The general complaint that the author makes (suggestion #1) is that design is overrated. Start coding instead! I completely [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://carsonbaker.org/wp-content/uploads/2008/07/software-design-pit.gif" width="150" height="327" alt="Shoveling bits and bytes" class="noborder" style="float: right;"/>I want to highlight this particular link, &#8220;<a href="http://www.chrylers.com/top-ten-of-programming-advice-to-not-follow" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.chrylers.com');">Top Ten of Programming Advice NOT to follow</a>&#8221; [sic]. Except for #10 (throw exceptions), every one of these suggestions flies in the face of what programmers are traditionally taught. The general complaint that the author makes (suggestion #1) is that design is overrated. Start coding instead! I completely agree, with only a few provisions. Take time to think about what&#8217;s going on, but don&#8217;t waste valuable time creating formalisms.</p>
<p>Unless you&#8217;re working for NASA, you probably don&#8217;t have to prove your invariants&#8212;so stop pretending. If you understand the problem you&#8217;re approaching, and you&#8217;re competent enough, you&#8217;ll quickly figure out a reasonable way to get there. Even if you make mistakes along the way, who wants to bet it&#8217;s easier to correct them after the fact, when everything is set out plain and clear than it is to try to nail the solution the first time around. Think about the tradeoff you make everytime you draw a UML diagram. Is your careful planning <em>really</em> saving development time? No, you&#8217;re massaging yourself into delusion&#8212;your model isn&#8217;t robust; you&#8217;ve ignored the implementation details; and now you have to manage another component of the system.</p>
<p>Let&#8217;s think about the evolution of software design over the past decade and try to draw out a few points. In the beginning there was assembly, of which the function call pattern was a <em>design</em> issue. C made it obsolete&#8212;you <em>had</em> to use it. Then the theorists spent their time lecturing on the OO paradigm, writing books, and generally coercing the masses into its adoption. C++ obsoleted that. Since then, further refinements in the way we program have transpired, giving rise to Java, C#, and agile techniques. So at least for the moment, the issue of design has been resolved. Given the hardware we currently use it seems unlikely that there will be any new paradigm shifts. Oh no. What are the authors, the theorists, and the managers to do?</p>
<p>Here&#8217;s a challenge: find all the software design books of the past few years and look up the author&#8217;s biographies. How many still regularly program? It should be surprising, except when you realize that there&#8217;s a lot more money in consulting than in actual programming. I&#8217;d say most of the &#8220;top ten&#8221; advice you get when you read about software engineering should be taken about as seriously as your horoscope.</p>
<p>Yet although they&#8217;re obnoxious, I don&#8217;t see the designarati as the reason people fall into the pit. To me software development is an art. It requires practice and learning by example, also by doing. And it&#8217;s a subjective thing; what works for you may not work for someone else. The important thing is think a little about what makes sense and then get to work. You can&#8217;t preemptively design your way to a solution. It&#8217;s a premature optimization of the very worst temptation.</p>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2007/06/10/the-scourge-of-uml/feed</wfw:commentRss>
		</item>
		<item>
		<title>Summer redesign</title>
		<link>http://carsonbaker.org/2007/05/28/redesign-for-summer</link>
		<comments>http://carsonbaker.org/2007/05/28/redesign-for-summer#comments</comments>
		<pubDate>Mon, 28 May 2007 08:48:30 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[Meta]]></category>

		<guid isPermaLink="false">http://carsonbaker.org/2007/05/28/redesign-for-summer/</guid>
		<description><![CDATA[If you&#8217;re new to this weblog, you may have been redirected here from a stale link of many years ago. You see, over the past decade or so I&#8217;ve leisurely toyed around on the web, maintaining various websites, and experimenting with various ideas. This post marks the culmination of my effort to consolidate my online [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re new to this weblog, you may have been redirected here from a stale link of many years ago. You see, over the past decade or so I&#8217;ve leisurely toyed around on the web, maintaining various websites, and experimenting with various ideas. This post marks the culmination of my effort to consolidate my online self into one location. Of the old domains that I still own, I have now redirected them here.</p>
<p>The result is that I see a not insignificant amount of traffic to this website. This is great; having a website that many people visit challenges me to create interesting things. (Whether or not anyone cares about it is another matter.) My challenge now is to think of the genre that I want to write about, and the types of things people will read. Those who stumble upon this page are almost certainly of the techno-culture crowd, so my immediate vector is in that direction.</p>
<p>What I will not do is relate personal stories, comment on memes, or throw my voice into any discussion that is already too big. My intent is to make this weblog worthwhile to everyone who reads it&#8212;not just for friends or family, and not just for those who care only about something specific or obscure.</p>
<p>I&#8217;ve never <em>really</em> had a personal weblog before, so I guess we&#8217;ll see how it goes. Hopefully the fresh redesign and transition to Wordpress will be a catalyst to keep me on top of things. In summary, my rules:</p>
<ul>
<li>Stay fresh.</li>
<li>No journaling, no meming.</li>
<li>Be original. Be useful.</li>
</ul>
<p>Many thanks to those that visit.</p>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2007/05/28/redesign-for-summer/feed</wfw:commentRss>
		</item>
		<item>
		<title>Microchip&#8217;s PIC: Developing with Mac</title>
		<link>http://carsonbaker.org/2007/05/24/developing-embedded-systems-on-the-mac</link>
		<comments>http://carsonbaker.org/2007/05/24/developing-embedded-systems-on-the-mac#comments</comments>
		<pubDate>Fri, 25 May 2007 05:09:47 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://2007.carsonbaker.org/?p=7</guid>
		<description><![CDATA[Developing embedded systems without a lousy PC.]]></description>
			<content:encoded><![CDATA[<p>For the past six months or so, I&#8217;ve been learning the ins and outs of the <a href="http://www.microchip.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.microchip.com');">PIC</a>. It&#8217;s a small microprocessor that runs at 4 MIPS. One of the setbacks I&#8217;ve had to deal with is the lack of development tools for Mac OS X.</p>
<p>There are many packages for PC, some of them free, many of them commercial. The commercial variety can cost anywhere from $100 - $5000 dollars, depending on how gullible you are. I used the free and trial versions of MPLAB, the IDE that Microchip distributes, in conjunction with HiTech&#8217;s <a href="http://www.htsoft.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.htsoft.com');">PICC Lite</a>.</p>
<p>I began by installing the software that came with my <a href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=1406&amp;dDocName=en010053" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.microchip.com');">PicKit</a> into Virtual PC and working with the IDE there. As anyone who has actually tried using Virtual PC for any serious work will tell you, it&#8217;s very frustrating. I had to jump through a bunch of hoops and set up a few hacks to let me even compile what I needed. Then I would transfer the binary to Mac OS X and use <a href="http://charm.cs.uiuc.edu/users/olawlor/projects/2003/microchip/" onclick="javascript:pageTracker._trackPageview('/outbound/article/charm.cs.uiuc.edu');">usb_pickit</a> to get the binary into the hardware. It was a slow, tedious process but it worked&#8212;which is important.</p>
<p>The second thing I tried was assembly. <a href="http://www.gnupic.org/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.gnupic.org');">GNUPic</a> has a <a href="http://gputils.sourceforge.net/" onclick="javascript:pageTracker._trackPageview('/outbound/article/gputils.sourceforge.net');">package</a> that contains an assembler, disassembler, profiler, and an interesting high-level language called gpal. Unfortunately, various parts of this collection only work with certain PIC models. I learned the asm codes from the datasheet (it wasn&#8217;t too hard) and proceeded to write code. I soon learned that complex math should not be attempted in asm. Flow-control was easy enough but beyond simple addition and subtraction, anything like sin(1.5) / 5.3 + 9^3 is heavily obfuscated. Yet this too worked.</p>
<p><a href="http://gputils.sourceforge.net/gpal.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/gputils.sourceforge.net');">GPAL</a>, it seems, is not ready for prime-time. There is very little example code and sparse documentation. If I have some time though, I&#8217;ll plow on and see if I can figure things out and perhaps build a repository of code that others can use.</p>
<p>The things that didn&#8217;t work? <a href="http://www.gnupic.org/i_compile.html" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.gnupic.org');">Take a look.</a> Half of these links are dead or broken and the other half lead to incomplete projects. <a href="http://packages.debian.org/unstable/electronics/sdcc" onclick="javascript:pageTracker._trackPageview('/outbound/article/packages.debian.org');">SDCC</a> looks to be the most promising. This isn&#8217;t saying much, and I only <em>think</em> that it&#8217;s being updated semi-regularly.</p>
<p>Lessons learned? Try <a href="http://www.atmel.com/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.atmel.com');">Atmel</a> and <a href="http://www.avrfreaks.net/AVRGCC/" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.avrfreaks.net');">AVR-GCC</a>. Also, some serious thought should be given to the idea that ANSI C probably isn&#8217;t the best language from which to compile code for a MCU that can&#8217;t do recursion or even floating-point arithmetic.</p>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2007/05/24/developing-embedded-systems-on-the-mac/feed</wfw:commentRss>
		</item>
		<item>
		<title>Looping through C++ enums</title>
		<link>http://carsonbaker.org/2007/05/18/looping-through-c-enums</link>
		<comments>http://carsonbaker.org/2007/05/18/looping-through-c-enums#comments</comments>
		<pubDate>Sat, 19 May 2007 04:26:32 +0000</pubDate>
		<dc:creator>carson</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://2007.carsonbaker.org/2007/05/18/looping-through-c-enums/</guid>
		<description><![CDATA[Perhaps this is obvious to most, but I thought I&#8217;d share my trick with C++ enums. Consider:

enum Face &#123;ACE=1, TWO, THREE, ... , QUEEN, KING&#125;;

If you want to step through this datatype you can&#8217;t just do:

Face f; f++;

No, you must do some kind of conditional checking or integer-to-enum casting which becomes unsightly and difficult. Instead, [...]]]></description>
			<content:encoded><![CDATA[<p>Perhaps this is obvious to most, but I thought I&#8217;d share my trick with C++ enums. Consider:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp cpp" style="font-family:monospace;"><span style="color: #0000ff;">enum</span> Face <span style="color: #008000;">&#123;</span>ACE<span style="color: #000080;">=</span><span style="color: #0000dd;">1</span>, TWO, THREE, ... , QUEEN, KING<span style="color: #008000;">&#125;</span>;</pre></div></div>

<p>If you want to step through this datatype you can&#8217;t just do:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp cpp" style="font-family:monospace;">Face f; f++;</pre></div></div>

<p>No, you must do some kind of conditional checking or integer-to-enum casting which becomes unsightly and difficult. Instead, simply overload the ++ operator for the enum type:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp cpp" style="font-family:monospace;">Face operator<span style="color: #000040;">++</span><span style="color: #008000;">&#40;</span>Face<span style="color: #000040;">&amp;</span>amp; f, <span style="color: #0000ff;">int</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span> <span style="color: #666666;">// int denotes postfix++</span>
    <span style="color: #0000ff;">if</span> <span style="color: #008000;">&#40;</span>f <span style="color: #000080;">==</span> KING<span style="color: #008000;">&#41;</span> <span style="color: #0000ff;">return</span> f <span style="color: #000080;">=</span> ACE; <span style="color: #666666;">//rollover</span>
    <span style="color: #0000ff;">int</span> temp <span style="color: #000080;">=</span> f;
    <span style="color: #0000ff;">return</span> f <span style="color: #000080;">=</span> <span style="color: #0000ff;">static_cast</span><span style="color: #000080;">&lt;</span>face<span style="color: #000080;">&gt;</span> <span style="color: #008000;">&#40;</span><span style="color: #000040;">++</span>temp<span style="color: #008000;">&#41;</span>;
<span style="color: #008000;">&#125;</span></pre></div></div>

<p>Now <tt>f++</tt> works properly and you can enumerate away.</p>
]]></content:encoded>
			<wfw:commentRss>http://carsonbaker.org/2007/05/18/looping-through-c-enums/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
