<?xml version='1.0' encoding='utf-8' ?>
<!--  If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/  -->
<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:media='http://search.yahoo.com/mrss/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>gugod</title>
  <link>http://gugod.livejournal.com/</link>
  <description>gugod - LiveJournal.com</description>
  <lastBuildDate>Thu, 11 Sep 2008 19:50:40 GMT</lastBuildDate>
  <generator>LiveJournal / LiveJournal.com</generator>
  <lj:journal>gugod</lj:journal>
  <lj:journalid>12653211</lj:journalid>
  <lj:journaltype>personal</lj:journaltype>
  <atom10:link rel='hub' href='http://pubsubhubbub.appspot.com/' />
  <image>
    <url>http://l-userpic.livejournal.com/60351431/12653211</url>
    <title>gugod</title>
    <link>http://gugod.livejournal.com/</link>
    <width>48</width>
    <height>48</height>
  </image>

<item>
  <guid isPermaLink='true'>http://gugod.livejournal.com/1829.html</guid>
  <pubDate>Thu, 11 Sep 2008 19:50:40 GMT</pubDate>
  <title>On Vox: 橫濱山下公園</title>
  <link>http://gugod.livejournal.com/1829.html</link>
  <description>&lt;p&gt;這的確是個很直接的地方。&lt;/p&gt;&lt;div at:enclosure=&quot;asset&quot; at:xid=&quot;6a00cd97856deaf9cc00fae8ddc1ee000b 6a00cd97856deaf9cc00fa96992ad60002 6a00cd97856deaf9cc00fad6ab65c50005 6a00cd97856deaf9cc00fa9699cddf0003 6a00cd97856deaf9cc0100a7fa2ddb000e 6a00cd97856deaf9cc0100a7fa2dda000e 6a00cd97856deaf9cc00fad6ab65bf0005 6a00cd97856deaf9cc0100a7fa2db8000e 6a00cd97856deaf9cc00fa9699cdb50003 6a00cd97856deaf9cc0100a7fa2db1000e 6a00cd97856deaf9cc0100a7fa2daf000e 6a00cd97856deaf9cc0100a7fa2dae000e 6a00cd97856deaf9cc0100a7fa2dac000e&quot; at:format=&quot;strip-horizontal&quot; at:align=&quot;center&quot; class=&quot;enclosure enclosure-center enclosure-strip enclosure-strip-horizontal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;div class=&quot;enclosure-inner&quot; style=&quot; margin: 5px; border: 1px solid; text-align: center;&quot;&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc00fae8ddc1ee000b.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1010932&quot;&gt;&lt;img src=&quot;http://a6.vox.com/6a00cd97856deaf9cc00fae8ddc1ee000b-120pi&quot; alt=&quot;P1010932&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc00fa96992ad60002.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1010946&quot;&gt;&lt;img src=&quot;http://a6.vox.com/6a00cd97856deaf9cc00fa96992ad60002-120pi&quot; alt=&quot;P1010946&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc00fad6ab65c50005.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1010915&quot;&gt;&lt;img src=&quot;http://a5.vox.com/6a00cd97856deaf9cc00fad6ab65c50005-120pi&quot; alt=&quot;P1010915&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc00fa9699cddf0003.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1010977&quot;&gt;&lt;img src=&quot;http://a7.vox.com/6a00cd97856deaf9cc00fa9699cddf0003-120pi&quot; alt=&quot;P1010977&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc0100a7fa2ddb000e.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1010984&quot;&gt;&lt;img src=&quot;http://a3.vox.com/6a00cd97856deaf9cc0100a7fa2ddb000e-120pi&quot; alt=&quot;P1010984&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc0100a7fa2dda000e.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1020010&quot;&gt;&lt;img src=&quot;http://a2.vox.com/6a00cd97856deaf9cc0100a7fa2dda000e-120pi&quot; alt=&quot;P1020010&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc00fad6ab65bf0005.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1020028&quot;&gt;&lt;img src=&quot;http://a7.vox.com/6a00cd97856deaf9cc00fad6ab65bf0005-120pi&quot; alt=&quot;P1020028&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc0100a7fa2db8000e.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1010888&quot;&gt;&lt;img src=&quot;http://a0.vox.com/6a00cd97856deaf9cc0100a7fa2db8000e-120pi&quot; alt=&quot;P1010888&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc00fa9699cdb50003.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1010889&quot;&gt;&lt;img src=&quot;http://a5.vox.com/6a00cd97856deaf9cc00fa9699cdb50003-120pi&quot; alt=&quot;P1010889&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc0100a7fa2db1000e.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1010895&quot;&gt;&lt;img src=&quot;http://a1.vox.com/6a00cd97856deaf9cc0100a7fa2db1000e-120pi&quot; alt=&quot;P1010895&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc0100a7fa2daf000e.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1010893&quot;&gt;&lt;img src=&quot;http://a7.vox.com/6a00cd97856deaf9cc0100a7fa2daf000e-120pi&quot; alt=&quot;P1010893&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc0100a7fa2dae000e.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1010906&quot;&gt;&lt;img src=&quot;http://a6.vox.com/6a00cd97856deaf9cc0100a7fa2dae000e-120pi&quot; alt=&quot;P1010906&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://gugod.vox.com/library/photo/6a00cd97856deaf9cc0100a7fa2dac000e.html&quot; class=&quot;enclosure-strip-link&quot; title=&quot;P1010933&quot;&gt;&lt;img src=&quot;http://a4.vox.com/6a00cd97856deaf9cc0100a7fa2dac000e-120pi&quot; alt=&quot;P1010933&quot; class=&quot;enclosure-strip-image&quot; style=&quot;margin: 5px; border: 0;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt; 
 
&lt;p&gt;&lt;/p&gt;&lt;p&gt;海邊的公園裡，主旋律是常時停泊在岸邊的大船，離岸稍遠、仍在水面活動的船則是間奏。興奮過頭，跑在媽媽前面的小娃兒令人期待，像裝飾音。不走不飛，而是坐在地上的鴿子與樹影正好畫成二、四分休止符。而當你的目光放在身旁唸書的女、樹下散步的情侶、路過休憩的單車騎士團、在草地上練身體的男、讓人大呼驚奇的街頭藝人、以及青春閃閃的吉他二重唱。&lt;br /&gt;你領悟到自已是在賦格裡。&lt;/p&gt;&lt;p&gt;大家各顧各的，但造成整個公園的美好。 &lt;/p&gt; &lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;p&gt;Originally posted on &lt;a href=&quot;http://gugod.vox.com/library/post/%E6%A9%AB%E6%BF%B1%E5%B1%B1%E4%B8%8B%E5%85%AC%E5%9C%92.html&quot;&gt;gugod.vox.com&lt;/a&gt;&lt;/p&gt;</description>
  <comments>http://gugod.livejournal.com/1829.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://gugod.livejournal.com/1769.html</guid>
  <pubDate>Sat, 19 May 2007 13:24:13 GMT</pubDate>
  <title>Jobs about this framework</title>
  <link>http://gugod.livejournal.com/1769.html</link>
  <description>Recenty used Rails for $work, and came up this function to make it more convenient to retrieve remote records in a many-to-many relationship with a join-table used to saved the relationship and it&apos;ll takes a .map-conversion away to get the actual records.&lt;br /&gt;&lt;br /&gt;Here&apos;s what we came up:&lt;br /&gt;&lt;pre&gt;module AsynapseSupport&lt;br /&gt;  def has_(prefix, item)&lt;br /&gt;    prefix = prefix.to_s&lt;br /&gt;    item = item.to_s&lt;br /&gt;&lt;br /&gt;    sy = &quot;#{prefix}_#{item}&quot;&lt;br /&gt;    mo = sy.camelcase.singularize&lt;br /&gt;&lt;br /&gt;    self.class_eval &amp;lt;&lt;eoe&gt;&lt;br /&gt;    has_many :_#{sy}, :class_name =&amp;gt; &quot;#{mo}&quot;&lt;br /&gt;    def #{sy}&lt;br /&gt;      _#{sy}.map { |f| f.#{item.singularize} }&lt;br /&gt;    end&lt;br /&gt;EOE&lt;br /&gt;  end&lt;br /&gt;end&lt;br /&gt;&lt;/eoe&gt;&lt;/pre&gt;If your mixin this module in your ActiveRecord::Base, then you can say this in your user.rb model class:&lt;br /&gt;&lt;pre&gt;  has_ :favorite, :chatrooms&lt;br /&gt;&lt;/pre&gt;It&apos;ll make an favorite_chatrooms method to retrieve a list of &quot;Chatroom&quot; instead of retrieving a list of &quot;FavoriteChatroom&quot;, which is the behaviour if you say:&lt;br /&gt;&lt;pre&gt;  has_many :favorite_chatrooms&lt;br /&gt;&lt;/pre&gt;Our has_ method, although seems to be a controversial name, is pretty handy to deal with many-to-many relationship.&lt;br /&gt;&lt;br /&gt;Project asynapse: &lt;a href=&quot;http://code.google.com/p/asynapse/&quot;&gt;http://code.google.com/p/asynapse/&lt;/a&gt;</description>
  <comments>http://gugod.livejournal.com/1769.html</comments>
  <category>asynapse</category>
  <category>activerecord</category>
  <category>rails</category>
  <lj:music>the postal office</lj:music>
  <media:title type="plain">the postal office</media:title>
  <lj:mood>busy</lj:mood>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://gugod.livejournal.com/1417.html</guid>
  <pubDate>Wed, 25 Apr 2007 10:15:07 GMT</pubDate>
  <title>Help me choose!</title>
  <link>http://gugod.livejournal.com/1417.html</link>
  <description>&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;blockquote&gt;&lt;p&gt;The battey of my MacbookPro starts go bad. Besides exchange current one from apple store, I want to know if it&apos;s worth it to buy an extra one.&lt;/p&gt;&lt;/blockquote&gt;
&lt;form method=&quot;post&quot; action=&quot;http://doxory.com/pick&quot; style=&quot;margin: 0 auto; text-align: center; width: 100%;&quot;&gt;
&lt;div class=&quot;hidden&quot;&gt;&lt;input type=&quot;hidden&quot; name=&quot;J:A-vote&quot; value=&quot;Doxory::Action::CreateVote&quot; /&gt;&lt;/div&gt;
  &lt;input type=&quot;hidden&quot; name=&quot;J:A:F-choice-vote&quot; value=&quot;1052&quot; class=&quot;widget  argument-choice    &quot; /&gt;

     &lt;p style=&quot;border-top: 1px dashed #999; margin-top: 15px; padding-bottom: 5px; padding-top: 5px;&quot;&gt;
      &lt;strong&gt;Help me choose!
      &lt;/strong&gt;
     &lt;/p&gt;
     &lt;div align=&quot;center&quot; class=&quot;choice&quot;&gt;
      &lt;div style=&quot;position: relative; width: 100%; overflow: hidden;&quot;&gt;
       &lt;div style=&quot;width:49%; float:left; padding-bottom: 1em; border-right: 1px dashed #999;&quot;&gt;
        &lt;p style=&quot;margin-left: 5px;&quot;&gt;Don&amp;#39;t, it&amp;#39;s not worth it.
        &lt;/p&gt;&lt;span class=&quot;preamble  &quot;&gt;&lt;/span&gt;
&lt;input type=&quot;submit&quot; name=&quot;J:A:F-suggestion-vote=b|J:ACTIONS=vote!auto-eb17cc2855b706c7a8a33d03bd893c19-1&quot; value=&quot;This one&quot; accesskey=&quot;x&quot; class=&quot;widget       button&quot; /&gt; 


       &lt;/div&gt;
       &lt;div style=&quot;width: 50%; float: right; padding-bottom: 1em;&quot;&gt;
        &lt;p style=&quot;margin-left: 5px;&quot;&gt;Buy an extra battery, that&amp;#39;s really handy.
        &lt;/p&gt;&lt;span class=&quot;preamble  &quot;&gt;&lt;/span&gt;
&lt;input type=&quot;submit&quot; name=&quot;J:A:F-suggestion-vote=a|J:ACTIONS=vote!auto-eb17cc2855b706c7a8a33d03bd893c19-1&quot; value=&quot;This one&quot; accesskey=&quot;y&quot; class=&quot;widget       button&quot; /&gt; 


       &lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt;
     &lt;div class=&quot;single_button&quot;&gt;
      &lt;p style=&quot;margin-top: 10px;&quot;&gt;&lt;span class=&quot;preamble  &quot;&gt;&lt;/span&gt;
&lt;input type=&quot;submit&quot; name=&quot;J:A:F-suggestion-vote=_skip|J:ACTIONS=vote!auto-eb17cc2855b706c7a8a33d03bd893c19-1&quot; value=&quot;Neither option sounds better to me&quot; accesskey=&quot;S&quot; class=&quot;widget       button&quot; /&gt; 


      &lt;/p&gt;
     &lt;/div&gt;
     &lt;p style=&quot;border-top: 1px dashed #999; margin-top: 15px; padding-top: 5px;&quot;&gt;&lt;div class=&quot;form_field argument-comments&quot;&gt;
&lt;span class=&quot;preamble  argument-comments&quot;&gt;&lt;/span&gt;
&lt;label class=&quot;label  argument-comments&quot; for=&quot;J:A:F-comments-vote-S33515506&quot;&gt;Comments?&lt;/label&gt;
&lt;textarea name=&quot;J:A:F-comments-vote&quot; rows=&quot;5&quot; cols=&quot;50&quot; class=&quot;widget  argument-comments    &quot;&gt;&lt;/textarea&gt;

&lt;span class=&quot;hints  argument-comments&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;error  argument-comments&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;warning  argument-comments&quot;&gt;&lt;/span&gt;
&lt;span class=&quot;canonicalization_note  argument-comments&quot;&gt;&lt;/span&gt;
&lt;/div&gt;

      &lt;p&gt;Before you click, give us some idea of &lt;i&gt;why&lt;/i&gt; you feel that way.
      &lt;/p&gt;
     &lt;/p&gt;
&lt;/form&gt;
&lt;p style=&quot;margin-top: 0;&quot;&gt;[&lt;a href=&quot;http://doxory.com/choice/1052&quot;&gt;Comments&lt;/a&gt;]&lt;/p&gt;

&lt;div style=&quot;text-align: right&quot;&gt;
	&lt;a href=&quot;http://doxory.com/&quot;&gt;&lt;img src=&quot;http://doxory.com/images/logo-badge-purple.png&quot; alt=&quot;Doxory&quot; style=&quot;border: 0&quot; /&gt;&lt;/a&gt;
&lt;/div&gt;
</description>
  <comments>http://gugod.livejournal.com/1417.html</comments>
  <category>doxory</category>
  <lj:music>some jazz</lj:music>
  <media:title type="plain">some jazz</media:title>
  <lj:mood>blah</lj:mood>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://gugod.livejournal.com/1059.html</guid>
  <pubDate>Wed, 25 Apr 2007 09:59:45 GMT</pubDate>
  <title>8 days a week.</title>
  <link>http://gugod.livejournal.com/1059.html</link>
  <description>As Google calculates that &quot;8 (days a week) = 1.14285714&quot;, this long week is indeed over. Now we&apos;re at ground zero, hopefully everything can only go better, and I just realized that this is the first cup of coffee ever since the beginning.</description>
  <comments>http://gugod.livejournal.com/1059.html</comments>
  <category>after-some-big-events</category>
  <lj:music>No, they can&apos;t take that away from me.</lj:music>
  <media:title type="plain">No, they can&apos;t take that away from me.</media:title>
  <lj:mood>calm</lj:mood>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://gugod.livejournal.com/958.html</guid>
  <pubDate>Thu, 05 Apr 2007 16:42:21 GMT</pubDate>
  <link>http://gugod.livejournal.com/958.html</link>
  <description>mala 的 Lighingtalk Slide.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://ma.la/files/yapcasia2007/&quot;&gt;http://ma.la/files/yapcasia2007/&lt;/a&gt;</description>
  <comments>http://gugod.livejournal.com/958.html</comments>
  <category>yapcasia2007</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://gugod.livejournal.com/534.html</guid>
  <pubDate>Thu, 05 Apr 2007 09:11:35 GMT</pubDate>
  <title>The actual usage of USB Missile Launcher.</title>
  <link>http://gugod.livejournal.com/534.html</link>
  <description>&lt;font size=&quot;6&quot;&gt;&lt;b&gt;YAPC::Asia&lt;/b&gt; rocks because a guy just&amp;nbsp; fired his boss&amp;nbsp; an USB missile rocks too in the lighting talk and everyone see that happening from the guy&apos;s webcam in his office.&lt;br /&gt;&lt;/font&gt;</description>
  <comments>http://gugod.livejournal.com/534.html</comments>
  <category>fire</category>
  <lj:mood>amused</lj:mood>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
