<?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>kueda.net</title>
	<atom:link href="http://kueda.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://kueda.net</link>
	<description>I'm Back</description>
	<pubDate>Sun, 14 Dec 2008 05:58:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simple Shell Script for Installing TextMate Bundles</title>
		<link>http://kueda.net/blog/2008/10/14/simple-shell-script-for-installing-textmate-bundles/</link>
		<comments>http://kueda.net/blog/2008/10/14/simple-shell-script-for-installing-textmate-bundles/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 01:56:27 +0000</pubDate>
		<dc:creator>Ken-ichi</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://kueda.net/?p=225</guid>
		<description><![CDATA[You need to have svn installed, of course.  If you want to improve it, here&#8217;s the gist.

#!/bin/bash
tmsupportpath=&#34;/Library/Application Support/TextMate&#34;
bundlepath=&#34;$tmsupportpath/Bundles&#34;
if &#91; ! -d &#34;$bundlepath&#34; &#93;
  then
  echo &#34;First time, eh?  Making $bundlepath...&#34;
  mkdir -p &#34;$bundlepath&#34;
fi
&#160;
if &#91; ! -d &#34;$tmsupportpath/Support&#34; &#93;
  then 
  cd &#34;$tmsupportpath&#34;
  echo &#34;Checking out the most [...]]]></description>
			<content:encoded><![CDATA[<p>You need to have svn installed, of course.  If you want to improve it, <a href="http://gist.github.com/16739">here&#8217;s the gist</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #007800;">tmsupportpath</span>=<span style="color: #ff0000;">&quot;/Library/Application Support/TextMate&quot;</span>
<span style="color: #007800;">bundlepath</span>=<span style="color: #ff0000;">&quot;$tmsupportpath/Bundles&quot;</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;$bundlepath&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
  <span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;First time, eh?  Making $bundlepath...&quot;</span>
  <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #ff0000;">&quot;$bundlepath&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot;$tmsupportpath/Support&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
  <span style="color: #000000; font-weight: bold;">then</span> 
  <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #ff0000;">&quot;$tmsupportpath&quot;</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Checking out the most recent Support folder...&quot;</span>
  <span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> http:<span style="color: #000000; font-weight: bold;">//</span>macromates.com<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span><span style="color: #000000; font-weight: bold;">/</span>Bundles<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span>Support
<span style="color: #000000; font-weight: bold;">fi</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #ff0000;">&quot;$bundlepath&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> http:<span style="color: #000000; font-weight: bold;">//</span>macromates.com<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span><span style="color: #000000; font-weight: bold;">/</span>Bundles<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span>Bundles<span style="color: #000000; font-weight: bold;">/</span>$1.tmbundle
<span style="color: #c20cb9; font-weight: bold;">svn</span> up <span style="color: #000000; font-weight: bold;">*</span>.tmbundle
osascript <span style="color: #660033;">-e</span> <span style="color: #ff0000;">'tell app &quot;TextMate&quot; to reload bundles'</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #ff0000;">&quot;$tmsupportpath/Support&quot;</span>
<span style="color: #c20cb9; font-weight: bold;">svn</span> up</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://kueda.net/blog/2008/10/14/simple-shell-script-for-installing-textmate-bundles/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Living in a Shipping Container &#8230; On a Boat</title>
		<link>http://kueda.net/blog/2008/10/06/living-in-a-shipping-container-on-a-boat/</link>
		<comments>http://kueda.net/blog/2008/10/06/living-in-a-shipping-container-on-a-boat/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 03:40:30 +0000</pubDate>
		<dc:creator>Ken-ichi</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

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

		<guid isPermaLink="false">http://kueda.net/?p=221</guid>
		<description><![CDATA[Andrew and I were recalling BBC&#8217;s The Box today when I wondered if people have tried living in shipping containers.  I know there have been many efforts to sell prefab homes based on shipping containers as low-cost, eco-friendly housing solutions, but I&#8217;ve never heard of someone living in one while it was shipped around the [...]]]></description>
			<content:encoded><![CDATA[<p>Andrew and I were recalling BBC&#8217;s <a href="http://news.bbc.co.uk/2/hi/in_depth/629/629/7600053.stm">The Box</a> today when I wondered if people have tried living in shipping containers.  I know there have <a href="http://www.fabprefab.com/fabfiles/containerbayhome.htm">been</a> <a href="http://www.pfnc.net/residence.htm">many</a> <a href="http://www.shipping-container-housing.com/">efforts</a> to sell prefab homes based on shipping containers as low-cost, eco-friendly housing solutions, but I&#8217;ve never heard of someone living in one while it was shipped around the world.</p>
<p>I thought this might be a cool idea for a story: who lives in shipping container communities on boats and at port?  What kind of relationships and norms form under such fleeting conditions?  Could this ever be economically feasible if <a href="http://wiki.answers.com/Q/How_much_does_it_cost_to_ship_a_full_40-foot_or_12-meter_container_from_China_to_the_US">shipping a container from China to the US costs $8000</a>?  Any ship carrying house containers could carry freight beneath them, but I guess the only way it could work is if passengers were willing to pay as much or more than their weight in freight was worth.</p>
<p>I also started thinking about how this might work in space.  Rotating container bays for simulated gravity?  Completely self-sufficient shipping container space homes?</p>
]]></content:encoded>
			<wfw:commentRss>http://kueda.net/blog/2008/10/06/living-in-a-shipping-container-on-a-boat/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Deleting Unversioned SVN Files</title>
		<link>http://kueda.net/blog/2008/09/19/deleting-unversioned-svn-files/</link>
		<comments>http://kueda.net/blog/2008/09/19/deleting-unversioned-svn-files/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 05:47:39 +0000</pubDate>
		<dc:creator>Ken-ichi</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

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

		<guid isPermaLink="false">http://kueda.net/?p=216</guid>
		<description><![CDATA[Here&#8217;s a silly bash trick that will delete all unversioned SVN files

svn st &#124; grep &#34;^?&#34; &#124; sed s/?&#91;&#91;:space:&#93;&#93;*// &#124; xargs rm -rf

Use with care, obviously.  If there&#8217;s a more concise method, please let me know.
And here&#8217;s how you might use similar commands to apply fmresolve to all conflicted files, and then resolve them.

for [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a silly bash trick that will delete all unversioned SVN files</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> st | <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;^?&quot;</span> | <span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span>?<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>:space:<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">*//</span> | <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span></pre></div></div>

<p>Use with care, obviously.  If there&#8217;s a more concise method, please let me know.</p>
<p>And here&#8217;s how you might use similar commands to apply <code>fmresolve</code> to all conflicted files, and then resolve them.</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> f <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">svn</span> st | <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;^C&quot;</span> | <span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span>C<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>:space:<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">*//</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span> fmresolve <span style="color: #007800;">$f</span>; <span style="color: #000000; font-weight: bold;">done</span>
<span style="color: #c20cb9; font-weight: bold;">svn</span> st | <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #ff0000;">&quot;^C&quot;</span> | <span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span>C<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>:space:<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">*//</span> | <span style="color: #c20cb9; font-weight: bold;">xargs</span> <span style="color: #c20cb9; font-weight: bold;">svn</span> resolved</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://kueda.net/blog/2008/09/19/deleting-unversioned-svn-files/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Active Record Model Adapters</title>
		<link>http://kueda.net/blog/2008/09/09/active-record-model-adapters/</link>
		<comments>http://kueda.net/blog/2008/09/09/active-record-model-adapters/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 22:32:25 +0000</pubDate>
		<dc:creator>Ken-ichi</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

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

		<guid isPermaLink="false">http://kueda.net/?p=208</guid>
		<description><![CDATA[I recently refactored some code in iNaturalist that fetches taxon names from external name providers like uBio and the Catalogue of Life.  They return names and classification data that are similar but (of course) not identical to ActiveRecord models we use in iNat, so I figured I&#8217;d write adapters for them, and I thought [...]]]></description>
			<content:encoded><![CDATA[<p>I recently refactored some code in <a href="http://inaturalist.org">iNaturalist</a> that fetches taxon names from external name providers like <a href="http://ubio.org">uBio</a> and the <a href="http://catalogueoflife.org">Catalogue of Life</a>.  They return names and classification data that are similar but (of course) not identical to ActiveRecord models we use in iNat, so I figured I&#8217;d write adapters for them, and I thought a really smart solution would be to subclass the models themselves, simply overriding the attributes with getters that mined a private instance variable holding an XML response from one of the web services.  Big mistake.  ActiveRecord mixes in all kinds of magic into the models that doesn&#8217;t necessarily get passed on to child classes.  I ran into all sorts of fun errors and problems until I remembered the Adapter implementation described <a href="http://www.scribd.com/doc/396559/gof-patterns-in-ruby">here</a>, which takes a much more sensible approach: don&#8217;t sublcass, and instead hold an internal copy of the adaptee, passing calls to anything you don&#8217;t want to override to the adaptee.</p>
<p><span id="more-208"></span>The only real &#8220;gotcha&#8221; is that <code>ActiveRecord::Base</code> overrides some of <code>Object</code>&#8217;s methods, so you need to delegate those to the adaptee as well.  I just delegated them all, though there may be some unforeseen consequences in this, I don&#8217;t know.</p>
<p>Anyway, here&#8217;s my solution: a model adapter module:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby ruby" style="font-family:monospace;"><span style="color:#008000; font-style:italic;">#</span>
<span style="color:#008000; font-style:italic;"># Module for ActiveRecord model adapters.</span>
<span style="color:#008000; font-style:italic;">#</span>
<span style="color:#008000; font-style:italic;"># Usage:</span>
<span style="color:#008000; font-style:italic;">#   class YourModelAdapter</span>
<span style="color:#008000; font-style:italic;">#     include ModelAdapter</span>
<span style="color:#008000; font-style:italic;">#     alias :your_model :adaptee # optional</span>
<span style="color:#008000; font-style:italic;">#     </span>
<span style="color:#008000; font-style:italic;">#     def initialize</span>
<span style="color:#008000; font-style:italic;">#       @adaptee = YourModel.new # required!</span>
<span style="color:#008000; font-style:italic;">#     end</span>
<span style="color:#008000; font-style:italic;">#     </span>
<span style="color:#008000; font-style:italic;">#     def some_attribute</span>
<span style="color:#008000; font-style:italic;">#       do_something_different</span>
<span style="color:#008000; font-style:italic;">#     end</span>
<span style="color:#008000; font-style:italic;">#   end</span>
<span style="color:#008000; font-style:italic;">#</span>
<span style="color:#9966CC; font-weight:bold;">module</span> ModelAdapter
  attr_accessor <span style="color:#ff3333; font-weight:bold;">:adaptee</span>
&nbsp;
  <span style="color:#9966CC; font-weight:bold;">def</span> method_missing<span style="color:#006600; font-weight:bold;">&#40;</span>method, <span style="color:#006600; font-weight:bold;">*</span>args<span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#9966CC; font-weight:bold;">if</span> <span style="color:#0066ff; font-weight:bold;">@adaptee</span>.<span style="color:#9900CC;">respond_to</span>? method
      <span style="color:#0066ff; font-weight:bold;">@adaptee</span>.<span style="color:#9900CC;">send</span><span style="color:#006600; font-weight:bold;">&#40;</span>method, <span style="color:#006600; font-weight:bold;">*</span>args<span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#9966CC; font-weight:bold;">else</span>
      <span style="color:#CC0066; font-weight:bold;">raise</span> <span style="color:#CC00FF; font-weight:bold;">NoMethodError</span>, <span style="color:#996600;">&quot;#{self.class} hasn't implemented #{method}&quot;</span>
    <span style="color:#9966CC; font-weight:bold;">end</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
  <span style="color:#008000; font-style:italic;"># Redirect calls to public methods in Object to the adaptee</span>
  <span style="color:#CC00FF; font-weight:bold;">Object</span>.<span style="color:#9900CC;">methods</span>.<span style="color:#9900CC;">each</span> <span style="color:#9966CC; font-weight:bold;">do</span> |method_name|
    define_method<span style="color:#006600; font-weight:bold;">&#40;</span>method_name.<span style="color:#9900CC;">to_sym</span><span style="color:#006600; font-weight:bold;">&#41;</span> <span style="color:#9966CC; font-weight:bold;">do</span> |*args|
      <span style="color:#0066ff; font-weight:bold;">@adaptee</span>.<span style="color:#9900CC;">send</span><span style="color:#006600; font-weight:bold;">&#40;</span>method_name.<span style="color:#9900CC;">to_sym</span>, <span style="color:#006600; font-weight:bold;">*</span>args<span style="color:#006600; font-weight:bold;">&#41;</span>
    <span style="color:#9966CC; font-weight:bold;">end</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://kueda.net/blog/2008/09/09/active-record-model-adapters/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Git Cheatsheet</title>
		<link>http://kueda.net/blog/2008/09/02/git-cheatsheet/</link>
		<comments>http://kueda.net/blog/2008/09/02/git-cheatsheet/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 03:32:23 +0000</pubDate>
		<dc:creator>Ken-ichi</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

		<category><![CDATA[version control]]></category>

		<guid isPermaLink="false">http://kueda.net/?p=117</guid>
		<description><![CDATA[It&#8217;s small, fast, and github is rad.  So I am trying to learn it.

# Setup
git config --global --list
git config --global user.name &#34;Ken-ichi&#34;
git config --global user.email &#34;fortinbras@norway.net&#34;
&#160;
# The colors, children.  Mm-hey
git config --global color.diff auto
git config --global color.status auto
git config --global color.branch auto
&#160;
# Getting Info
git remote -v # Display the remote repository URL
&#160;
# Committing
git [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s small, fast, and github is rad.  So I am trying to learn it.</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Setup</span>
git config <span style="color: #660033;">--global</span> <span style="color: #660033;">--list</span>
git config <span style="color: #660033;">--global</span> user.name <span style="color: #ff0000;">&quot;Ken-ichi&quot;</span>
git config <span style="color: #660033;">--global</span> user.email <span style="color: #ff0000;">&quot;fortinbras@norway.net&quot;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># The colors, children.  Mm-hey</span>
git config <span style="color: #660033;">--global</span> color.diff auto
git config <span style="color: #660033;">--global</span> color.status auto
git config <span style="color: #660033;">--global</span> color.branch auto
&nbsp;
<span style="color: #666666; font-style: italic;"># Getting Info</span>
git remote <span style="color: #660033;">-v</span> <span style="color: #666666; font-style: italic;"># Display the remote repository URL</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Committing</span>
git add .
git commit <span style="color: #660033;">-a</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Pushing to another repos</span>
<span style="color: #666666; font-style: italic;"># could be local like /path/to/somewhere </span>
<span style="color: #666666; font-style: italic;"># or ssh://me@there.net/path/to/repos</span>
git push path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>repos</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://kueda.net/blog/2008/09/02/git-cheatsheet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GoodReads iPhone App</title>
		<link>http://kueda.net/blog/2008/08/19/goodreads-iphone-app/</link>
		<comments>http://kueda.net/blog/2008/08/19/goodreads-iphone-app/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 22:10:23 +0000</pubDate>
		<dc:creator>Ken-ichi</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

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

		<guid isPermaLink="false">http://kueda.net/?p=71</guid>
		<description><![CDATA[This may already exist in some form, but here&#8217;s an imaginary feature list:

adds to GoodReads library based on a photo of a bar code and/or ISBN
page-based annotations based on photo or entry of page #, including word-lookups, favorite words, or just random notes
maybe you could print out a bookmark with a barcode for a given [...]]]></description>
			<content:encoded><![CDATA[<p>This may already exist in some form, but here&#8217;s an imaginary feature list:</p>
<ul>
<li>adds to GoodReads library based on a photo of a bar code and/or ISBN</li>
<li>page-based annotations based on photo or entry of page #, including word-lookups, favorite words, or just random notes</li>
<li>maybe you could print out a bookmark with a barcode for a given book, and when you want to leave a note for the book your reading, you use your iPhone to scan the bar code first</li>
</ul>
<p>I usually have a bookmark and pen by my side as I read, and I keep note of cool or unknown words, choice quotes, or whatever thoughts occur to me while reading.  I don&#8217;t think the iPhone can really serve as a replacement (too thick, too expensive), but it might make for an interesting way to enhance social reading sites like <a href="http://www.goodreads.com">GoodReads</a>, <a href="http://www.shelfari.com">Shelfari</a>, or <a href="http://www.librarything.com">LibraryThing</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://kueda.net/blog/2008/08/19/goodreads-iphone-app/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What is up with the Temescal farmer&#8217;s market creek?</title>
		<link>http://kueda.net/blog/2008/08/03/what-temescal-farmers-market-creek/</link>
		<comments>http://kueda.net/blog/2008/08/03/what-temescal-farmers-market-creek/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 21:27:57 +0000</pubDate>
		<dc:creator>Ken-ichi</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

		<guid isPermaLink="false">http://kueda.net/?p=65</guid>
		<description><![CDATA[There is a small, seasonal creek that runs through the Temescal Farmer&#8217;s market.  As far as I can tell, it runs above ground from around Frog Park, under CA-24, down to around 51st St.  It only seems to run in the summer, and kids at the market play poohsticks and splash around in it.  I [...]]]></description>
			<content:encoded><![CDATA[<p>There is a small, seasonal creek that runs through the Temescal Farmer&#8217;s market.  As far as I can tell, it runs above ground from around Frog Park, under CA-24, down to around 51st St.  It only seems to run in the summer, and kids at the market play <a href="http://en.wikipedia.org/wiki/Poohsticks">poohsticks</a> and splash around in it.  I have found this stream confusing for a while and have a few questions</p>
<ul>
<li>where does it come from?</li>
<li>why does flow in summer?</li>
<li>is it really safe for children?</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://kueda.net/blog/2008/08/03/what-temescal-farmers-market-creek/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My Ubuntu Cheat Sheet</title>
		<link>http://kueda.net/blog/2008/08/01/my-ubuntu-cheat-sheet/</link>
		<comments>http://kueda.net/blog/2008/08/01/my-ubuntu-cheat-sheet/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 06:45:24 +0000</pubDate>
		<dc:creator>Ken-ichi</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

		<guid isPermaLink="false">http://kueda.net/?p=57</guid>
		<description><![CDATA[Looks like I&#8217;m maintaining an Ubuntu server these days&#8230;
Package Management

# Finding Installed Dependent Packages
apt-cache rdepends --installed packageX
&#160;
# Installing Individual .deb Packages
sudo dpkg -i package_file.deb

Trust not to aptitude&#8230;
Sometimes aptitude does silly things, like install X11 when all you wanted was ImageMagick.  Try apt-get as well to see if it doesn&#8217;t have a different set of [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like I&#8217;m maintaining an Ubuntu server these days&#8230;</p>
<h3>Package Management</h3>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Finding Installed Dependent Packages</span>
<span style="color: #c20cb9; font-weight: bold;">apt-cache</span> rdepends <span style="color: #660033;">--installed</span> packageX
&nbsp;
<span style="color: #666666; font-style: italic;"># Installing Individual .deb Packages</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> package_file.deb</pre></div></div>

<h4>Trust not to aptitude&#8230;</h4>
<p>Sometimes aptitude does silly things, like install X11 when all you wanted was ImageMagick.  Try apt-get as well to see if it doesn&#8217;t have a different set of deps (this is true of ImageMagick as of December 2008).</p>
]]></content:encoded>
			<wfw:commentRss>http://kueda.net/blog/2008/08/01/my-ubuntu-cheat-sheet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Question: Why Does California Have a Mediterranean Climate?</title>
		<link>http://kueda.net/blog/2008/07/30/question-why-does-california-have-a-mediterranean-climate/</link>
		<comments>http://kueda.net/blog/2008/07/30/question-why-does-california-have-a-mediterranean-climate/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 15:44:13 +0000</pubDate>
		<dc:creator>Ken-ichi</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

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

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

		<guid isPermaLink="false">http://kueda.net/?p=55</guid>
		<description><![CDATA[Someone asked this among a group of perfectly intelligent UC Berkeley staffers and no one had a good answer, so I think this is a good exscuse to start using this blog in one of the ways I originally intended it: answering my own questions.  More to come&#8230;
Answer
First of all, not all of California has [...]]]></description>
			<content:encoded><![CDATA[<p>Someone asked this among a group of perfectly intelligent UC Berkeley staffers and no one had a good answer, so I think this is a good exscuse to start using this blog in one of the ways I originally intended it: answering my own questions.  More to come&#8230;</p>
<h3>Answer</h3>
<p>First of all, not all of California has a Mediterranean climate.  A Mediterranean climate is one in which summers are hot and dry and winters are mild and rainy, similar to the regions bordering the Mediterranean Sea.  These conditions exist in CA from about Cape Medocino south to Baja, and east to the Sierra Foothills.</p>
<p><span id="more-55"></span>To understand why the climate is Mediterranean around here, you first need to know a basic fact about global climate.  The equator receives more direct sunlight than other parts of the planet, which causes the air there to heat up and rise.  The planet is spinning on its axis, so when air rises, it gets delfected north or south [uh, why?].  The rising air loses pressure, cools, and expands, losing the water vapor it gained at the equator in the form of equatorial rain.  High up in the atmosphere, this dry, expanding air spreads out in all directions and falls back to Earth, and the air moving north and south falling around the 30th latitudes.  In falling, the this dry air increases in pressure and heat again.  Dry, warm air, falling around 30°, right where the Earth&#8217;s major deserts are … not a coincidence.</p>
<p>SO.  Mediterranean climates occur on the poleward borders of these 30° desert zones.  Basically, when I said the equator receives the most sunlight, what I meant was the region of the Earth that receives the most perpendicular sunlight, which oscilates between the tropics as the tilted planet revolves around the sun.  So in the northern summer, the region of falling, warm air shifts north as the region w/ the most perpendicular insolation approaches the Tropic of Cancer.  This pushes the hot dry weather up in to the Bay Area and beyond.  In the winter the opposite happens, and we get cooler temperatures and rain.</p>
<p>So why isn&#8217;t the southeastern US similar, given that it&#8217;s at the same latitude?  Uh, still working on that, though I imagine it has to do with oceanic gyres&#8230;</p>
<h3>References</h3>
<ul class="references small quiet">
<li>“Ideal gas law - Wikipedia, the free encyclopedia.” 3 Aug 2008 &lt;http://en.wikipedia.org/wiki/Ideal_Gas_Law&gt;.</li>
<li>“Mediterranean climate - Wikipedia, the free encyclopedia.” 3 Aug 2008 &lt;http://en.wikipedia.org/wiki/Mediterranean_climate&gt;.</li>
<li>Schoenherr, Allan A. <span style="font-style:italic;">A Natural History of California</span>. University of California Press, 1995.</li>
<li>Skinner, Brian J./ P. <span style="font-style:italic;">Dynamic Earth An Introduction to Physical Geology 4th Text Only No CD</span>. John Wiley &amp; Sons Inc, 2000.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://kueda.net/blog/2008/07/30/question-why-does-california-have-a-mediterranean-climate/feed/</wfw:commentRss>
		</item>
		<item>
		<title>.bashrc, .bash_profile, and cloning a remote git repository</title>
		<link>http://kueda.net/blog/2008/07/26/bashrc-bash_profile-and-cloning-a-remote-git-repository/</link>
		<comments>http://kueda.net/blog/2008/07/26/bashrc-bash_profile-and-cloning-a-remote-git-repository/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 08:33:27 +0000</pubDate>
		<dc:creator>Ken-ichi</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

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

		<guid isPermaLink="false">http://kueda.net/?p=19</guid>
		<description><![CDATA[I&#8217;m just getting started with git.  Turns out if your git binaries are in a path specified in something like .bash_profile on your remote machine, something like git clone ssh://you.com/~you/repos.git will fail with an error like bash: git-upload-pack: command not found because sshd ignores .bash_profile, so git won&#8217;t find its binaries.  So you need [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m just getting started with git.  Turns out if your git binaries are in a path specified in something like .bash_profile on your remote machine, something like <code>git clone ssh://you.com/~you/repos.git</code> will fail with an error like <code>bash: git-upload-pack: command not found</code> because sshd ignores .bash_profile, so git won&#8217;t find its binaries.  So you need to alter the PATH env var in .bashrc instead.  Fun.  The <a href="http://www.kernel.org/pub/software/scm/git/docs/v1.0.13/git-clone-pack.html">git-clone-pack</a> man page is worth a look.</p>
]]></content:encoded>
			<wfw:commentRss>http://kueda.net/blog/2008/07/26/bashrc-bash_profile-and-cloning-a-remote-git-repository/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
