<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>微風夕語</title>
	<atom:link href="http://bone.twbbs.org.tw/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://bone.twbbs.org.tw/blog</link>
	<description>在光之翼的守護下訴說著一段段的英雄傳說。</description>
	<lastBuildDate>Fri, 03 Sep 2010 16:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>本週的自言自語（2010-09-04）</title>
		<link>http://bone.twbbs.org.tw/blog/archives/1522</link>
		<comments>http://bone.twbbs.org.tw/blog/archives/1522#comments</comments>
		<pubDate>Fri, 03 Sep 2010 16:00:00 +0000</pubDate>
		<dc:creator>墳墓 (BrianHsu)</dc:creator>
				<category><![CDATA[雜七雜八]]></category>

		<guid isPermaLink="false">http://bone.twbbs.org.tw/blog/archives/1522</guid>
		<description><![CDATA[分享 http://tinyurl.com/275amdr 米飯很強大&#8230;. http://plurk.com/p/77gzsk # 覺得 網路情人裡 F.I.L Gate 的網路情人競標的設定很奇怪，感覺上很多洞…… http://plurk.com/p/77ggky # 喜歡 &#34;Any fool can write code tha a computer can understand. Good programmers write code that humans cand unders&#8230; http://plurk.com/p/77fld6 # 分享 [部落格文章] http://ppt.cc/32tv (本週的自言自語（2010-08-28）) http://plurk.com/p/77ezd9 # 說 睡前再騙一下卡馬。 (sleeping) http://plurk.com/p/77911m # 說 臨睡前推一下這本大島遠永遠的 http://tinyurl.com/29zt7c9 (網路情人)，劇情很有趣。 http://plurk.com/p/77907p # 說 我只能說 TechJob 版的 epfl [...]]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
    <li>分享 <a href="http://tinyurl.com/275amdr" rel="nofollow">http://tinyurl.com/275amdr</a> 米飯很強大&#8230;. <a href="http://plurk.com/p/77gzsk" rel="nofollow">http://plurk.com/p/77gzsk</a> <a href="http://twitter.com/brianhsu/statuses/22518502980" class="aktt_tweet_time">#</a></li>
    <li>覺得 網路情人裡 F.I.L Gate 的網路情人競標的設定很奇怪，感覺上很多洞…… <a href="http://plurk.com/p/77ggky" rel="nofollow">http://plurk.com/p/77ggky</a> <a href="http://twitter.com/brianhsu/statuses/22514511897" class="aktt_tweet_time">#</a></li>
    <li>喜歡 &quot;Any fool can write code tha a computer can understand. Good programmers write code that humans cand unders&#8230; <a href="http://plurk.com/p/77fld6" rel="nofollow">http://plurk.com/p/77fld6</a> <a href="http://twitter.com/brianhsu/statuses/22507301647" class="aktt_tweet_time">#</a></li>
    <li>分享 [部落格文章] <a href="http://ppt.cc/32tv" rel="nofollow">http://ppt.cc/32tv</a> (本週的自言自語（2010-08-28）) <a href="http://plurk.com/p/77ezd9" rel="nofollow">http://plurk.com/p/77ezd9</a> <a href="http://twitter.com/brianhsu/statuses/22505480385" class="aktt_tweet_time">#</a></li>
    <li>說 睡前再騙一下卡馬。 (sleeping) <a href="http://plurk.com/p/77911m" rel="nofollow">http://plurk.com/p/77911m</a> <a href="http://twitter.com/brianhsu/statuses/22471673446" class="aktt_tweet_time">#</a></li>
    <li>說 臨睡前推一下這本大島遠永遠的 <a href="http://tinyurl.com/29zt7c9" rel="nofollow">http://tinyurl.com/29zt7c9</a> (網路情人)，劇情很有趣。 <a href="http://plurk.com/p/77907p" rel="nofollow">http://plurk.com/p/77907p</a> <a href="http://twitter.com/brianhsu/statuses/22471443521" class="aktt_tweet_time">#</a></li>
    <li>說 我只能說 TechJob 版的 epfl 太有種了！敢到 TechJob 版開那種條件徵工讀生。XDDD 地球是很圍險的，你還是回魯肉飯只要十五塊錢的火星去唄！ <a href="http://plurk.com/p/777v49" rel="nofollow">http://plurk.com/p/777v49</a> <a href="http://twitter.com/brianhsu/statuses/22464978511" class="aktt_tweet_time">#</a></li>
    <li>說 平心而論，Scala 是很複雜沒錯（特別是進階型別的議題）啊。只是你可以只用簡單部份達成很多事而已。 <a href="http://plurk.com/p/76y4mh" rel="nofollow">http://plurk.com/p/76y4mh</a> <a href="http://twitter.com/brianhsu/statuses/22391156772" class="aktt_tweet_time">#</a></li>
    <li>說 Eclispe+UCDetector 是清理一沱屎的好方法。我終於知道 IDE 有啥用了…… <a href="http://plurk.com/p/76rjos" rel="nofollow">http://plurk.com/p/76rjos</a> <a href="http://twitter.com/brianhsu/statuses/22343452047" class="aktt_tweet_time">#</a></li>
    <li>問 大部份 refactor 的第一步都是先建 test，可是如果程式都是資料庫操作，大家會怎麼建 test？！ <a href="http://plurk.com/p/76r1zn" rel="nofollow">http://plurk.com/p/76r1zn</a> <a href="http://twitter.com/brianhsu/statuses/22341517072" class="aktt_tweet_time">#</a></li>
    <li>說 #<a href="http://search.twitter.com/search?q=%231CTcVaFW" class="aktt_hashtag">1CTcVaFW</a> (Gossiping) [ptt.cc] 『世界上還有很多人的境遇比你悲慘，但他們從未傷害過任何人。你在72小時內於兩個州殺了12個人，而你希望我同情你，只因為你爸……在你是個小嬰兒時沒有親過你？&#8230; <a href="http://plurk.com/p/76qk3t" rel="nofollow">http://plurk.com/p/76qk3t</a> <a href="http://twitter.com/brianhsu/statuses/22339419092" class="aktt_tweet_time">#</a></li>
    <li>說 [rep] <a href="http://www.plurk.com/p/76pim3" rel="nofollow">http://www.plurk.com/p/76pim3</a> (有人說,殺手是自己放棄自己,還要怪別人放棄他.) <a href="http://plurk.com/p/76q382" rel="nofollow">http://plurk.com/p/76q382</a> <a href="http://twitter.com/brianhsu/statuses/22338939101" class="aktt_tweet_time">#</a></li>
    <li>說 批薩！就是你了，今天的下午茶！ <a href="http://plurk.com/p/76pnvq" rel="nofollow">http://plurk.com/p/76pnvq</a> <a href="http://twitter.com/brianhsu/statuses/22334639336" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/2dm3efd" rel="nofollow">http://tinyurl.com/2dm3efd</a> <a href="http://plurk.com/p/76ocxa" rel="nofollow">http://plurk.com/p/76ocxa</a> <a href="http://twitter.com/brianhsu/statuses/22330328513" class="aktt_tweet_time">#</a></li>
    <li>說 [rep] <a href="http://www.plurk.com/p/76i44e" rel="nofollow">http://www.plurk.com/p/76i44e</a> (我覺得現在的人對於李家同有種親痛仇快得感覺,好像不噓會死一樣,雖然我上過他的課,沒有特別的喜好,但也不會盲目的狂噓,難道他說的話真的一點點點點&#8230; <a href="http://plurk.com/p/76nvkr" rel="nofollow">http://plurk.com/p/76nvkr</a> <a href="http://twitter.com/brianhsu/statuses/22327439594" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/2bhl4ql" rel="nofollow">http://tinyurl.com/2bhl4ql</a> (學生權利的再擴展：受教權、就學成本、勞動權) <a href="http://plurk.com/p/76o20y" rel="nofollow">http://plurk.com/p/76o20y</a> <a href="http://twitter.com/brianhsu/statuses/22326747796" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/2co7fll" rel="nofollow">http://tinyurl.com/2co7fll</a> (殺手投案》李家同：廖國豪「是被放棄的！」) <a href="http://plurk.com/p/76nqo9" rel="nofollow">http://plurk.com/p/76nqo9</a> <a href="http://twitter.com/brianhsu/statuses/22326575608" class="aktt_tweet_time">#</a></li>
</ul>

<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bone.twbbs.org.tw/blog/archives/1522/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Scala] 轉換非 Big5 至 XML 脫逸字元。</title>
		<link>http://bone.twbbs.org.tw/blog/archives/1512</link>
		<comments>http://bone.twbbs.org.tw/blog/archives/1512#comments</comments>
		<pubDate>Fri, 03 Sep 2010 06:16:57 +0000</pubDate>
		<dc:creator>墳墓 (BrianHsu)</dc:creator>
				<category><![CDATA[我的專業]]></category>

		<guid isPermaLink="false">http://bone.twbbs.org.tw/blog/?p=1512</guid>
		<description><![CDATA[話說前一陣子 Scala 社群裡面在吵 Scala 這個程式語言到底簡單還是難，剛好這幾天在看程式時發現這個讓人想大喊 WTF，然後投稿到 The Daily WTF 上的 Java 函式，所以就拿它來開刀了…… 原本的 Java Code 長的像下面這樣： public static String isNotBig5(String ori) { char[] c = ori.toCharArray(); char[] c1 = new char[1]; StringBuffer sb = new StringBuffer(); for (int i = 0; i &#60; c.length; i++) { c1[0] = c[i]; //System.out.println(c1[0]+" "+(int)c1[0]); // String onechar = [...]]]></description>
			<content:encoded><![CDATA[<p>話說前一陣子 <a href="http://www.scala-lang.org/node/7431">Scala 社群裡面在吵 Scala 這個程式語言到底簡單還是難</a>，剛好這幾天在看程式時發現這個讓人想大喊 WTF，然後投稿到 The Daily WTF 上的 Java 函式，所以就拿它來開刀了……</p>

<p>原本的 Java Code 長的像下面這樣：</p>

<pre class="brush: java">public static String isNotBig5(String ori)
{
    char[] c = ori.toCharArray();
    char[] c1 = new char[1];
    StringBuffer sb = new StringBuffer();
    for (int i = 0; i &lt; c.length; i++) {
        c1[0] = c[i];
        //System.out.println(c1[0]+" "+(int)c1[0]); //
        String onechar = "";
        try {
            onechar = new String( (new String(c1)).getBytes() , "Big5");
        }
        catch (Exception e) {}
        if (onechar.equals("?") &amp;&amp; (int)c[i] != 63) { // ?是正常的"?"
            sb.append("&amp;#");
            sb.append(Integer.toString(c1[0]));
            sb.append(";");
        }
        else {
            sb.append(c1[0]);
        }
    }
    return sb.toString();
}
</pre>

<p>因為這段程式實在醜到一種極緻，完全違反了所有 Clean Code 的原則。老實說，雖然一開始我知道這個函式是幹啥用的，但我完全無法理解這個函式到底在搞什麼鬼（看那和實際用途差了十萬八千里的函式名稱），而且它完全無法在非 Windows 的作業系統上正常使用。</p>

<p>最後，經過一連串的實驗，我終於看出來這個函式的演算法了（雖然他的實作是有問題的），其實這個演算法很簡單：</p>

<ol>
    <li>針對字串裡的每一個字元，做下列的動作
<ol>
    <li>檢查該字元是不是在 Big5 可以表示的範圍內</li>
    <li>如果是，將該字元轉成字串，例如從 &#8216;A&#8217; 到 "A"</li>
    <li>如果不是，將該字元轉成 XML 字元參引，例如 &#8216;喆&#8217; 轉成 "&amp;#21894;"</li>
</ol>
</li>
    <li>將上一個步驟所產生出來的所有字串，合併（連接）成單一字串。</li>
</ol>

<p>所以，為了讓我自己往後好過一點，我用 Scala 照著同樣的演算法幹出了另一個版本，不完美，但我想應該至少清楚很多，以下就是 Scala 版的程式碼，其中 normalizeString 的角色就是原來 Java 版中的 isNotBig5()：</p>

<pre class="brush: scala">def normalizeString (string: String) =
    string.flatMap(escapeNonBig5Character _)

def escapeNonBig5Character (character: Char): String = {

    def isNotBig5 (character: Char) =
        character.toString.getBytes("Big5")(0) == '?' &amp;&amp;
        character != '?'

     // 不是 Big5 的字元就轉成字元參引
     // 不然的話維持原樣
    isNotBig5(character) match {
        case true =&gt; "&amp;#%d;" format(character.toInt)
        case false =&gt; character.toString
    }
}

def example () {
    val content = "我是陶喆\n我是游鍚堃\n這是測試"
    println (normalizeString(content))
}
</pre>

<p>如果你是從 Java 背景來的，那麼注意下面幾點應該就可以看懂這個程式：</p>

<ul>
    <li>String#flatMap 是指針對字串裡的每一個字元，套用一個將字元轉成字串的函式（所以這時計算出的東西會是 Array of String），最後再將此 Array of String 合併成單一的字串。</li>
    <li>escapeNonBig5Character 會將字元轉成字串，規則如下：
<ul>
    <li>如果該字元可以在 Big5 編碼下表示，就維持原樣，但轉成字串，也就是從 &#8216;A&#8217; 轉到 "A"</li>
    <li>如果該字元無法以 Big5 編碼表示，那就將該字元轉成 &amp;#XXXXXX; 的格式</li>
</ul>
</li>
    <li>判斷字元可否在 Big5 下表示的方式：
<ul>
    <li>例用 String#getBytes("BIG5&#8243;) 將其轉碼到 BIG5，如果他本來不是問號，卻變成問號（解析不能），那這個字就無法用 Big5 來表示。</li>
</ul>
</li>
</ul>

<p>老實講，是很簡單的轉換法，但上面那段看了就想大喊 WTF 的程式碼，我不知道為什麼能把這麼簡單的東西給搞到這麼複雜……</p>

<p>至於 Scala 到底難不難？！我想這真的很難說，如果你不知道什麼是 High order function （flatMap 就是一個例子），那麼 Scala 版的可能你也覺得不好懂，但相對的，我每次在寫 Scala 時都覺得真的很像在『用嘴巴寫程式』。</p>

<p>仔細對照一下，你會發現 Scala 的版本非常接近於一開始我們針對 Java 版的演算法所做的『描述』，所以，快點把 Java 給丟了唄（大誤）！</p>

<p>BTW，到目前為止我最認同的是這句話：<a href="http://www.scala-lang.org/node/7431#comment-31046">I don&#8217;t expect a car to be built by average people, but by people with proper engineering background.</a></p>

<p>畢竟當你讓一個專業的來的時候，Scala 難不難根本不是個問題……</p>
]]></content:encoded>
			<wfw:commentRss>http://bone.twbbs.org.tw/blog/archives/1512/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>本週的自言自語（2010-08-28）</title>
		<link>http://bone.twbbs.org.tw/blog/archives/1511</link>
		<comments>http://bone.twbbs.org.tw/blog/archives/1511#comments</comments>
		<pubDate>Fri, 27 Aug 2010 16:00:00 +0000</pubDate>
		<dc:creator>墳墓 (BrianHsu)</dc:creator>
				<category><![CDATA[雜七雜八]]></category>

		<guid isPermaLink="false">http://bone.twbbs.org.tw/blog/archives/1511</guid>
		<description><![CDATA[說 昨晚幾乎沒睡，快掛點了，所以雖然今天 H4 有妹，但我還是選了回家睡覺…… http://plurk.com/p/769h1a # 說 奇怪，2.4 版的 Audacious 怎麼 CPU 吃這麼兇？！=_= http://plurk.com/p/761rwb # 說 http://tinyurl.com/5orkq7 (Clojure 也出書了耶)！ http://plurk.com/p/7605y9 # 正在 跑 batch update 三百萬筆的資料……zzzz&#8230;. http://plurk.com/p/7603fq # 說 不開的圖書館、禁行的機車、霸道王權的行政人員……這樣暨南也可以拿到學權評鑑第三名。可見這個評鑑，嗯、呃、啊…… http://plurk.com/p/75wd9g # 說 早安。不過等等，西洽用語詞典這一條：『三無少女： 無口 + 無乳 + 無表情的少女』是怎樣啊？！ 有奇怪的東西混進去了！(lmao) http://plurk.com/p/75vudb # 說 這次真的要睡了，睡不覺也要睡。 http://plurk.com/p/75rhg0 # 說 話說回來……其實我也是逃一名兵啊！真的想逃就早點逃唄，在經濟還過得去的情況下，我寧願選擇讓自己快樂一點。 http://plurk.com/p/75rbum # 說 看樣子明天要動的程式可多了，先來去睡…… http://plurk.com/p/75olq5 # 說 [...]]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
    <li>說 昨晚幾乎沒睡，快掛點了，所以雖然今天 H4 有妹，但我還是選了回家睡覺…… <a href="http://plurk.com/p/769h1a" rel="nofollow">http://plurk.com/p/769h1a</a> <a href="http://twitter.com/brianhsu/statuses/22228778395" class="aktt_tweet_time">#</a></li>
    <li>說 奇怪，2.4 版的 Audacious 怎麼 CPU 吃這麼兇？！=_= <a href="http://plurk.com/p/761rwb" rel="nofollow">http://plurk.com/p/761rwb</a> <a href="http://twitter.com/brianhsu/statuses/22163707445" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/5orkq7" rel="nofollow">http://tinyurl.com/5orkq7</a> (Clojure 也出書了耶)！ <a href="http://plurk.com/p/7605y9" rel="nofollow">http://plurk.com/p/7605y9</a> <a href="http://twitter.com/brianhsu/statuses/22156380421" class="aktt_tweet_time">#</a></li>
    <li>正在 跑 batch update 三百萬筆的資料……zzzz&#8230;. <a href="http://plurk.com/p/7603fq" rel="nofollow">http://plurk.com/p/7603fq</a> <a href="http://twitter.com/brianhsu/statuses/22156001415" class="aktt_tweet_time">#</a></li>
    <li>說 不開的圖書館、禁行的機車、霸道王權的行政人員……這樣暨南也可以拿到學權評鑑第三名。可見這個評鑑，嗯、呃、啊…… <a href="http://plurk.com/p/75wd9g" rel="nofollow">http://plurk.com/p/75wd9g</a> <a href="http://twitter.com/brianhsu/statuses/22131051984" class="aktt_tweet_time">#</a></li>
    <li>說 早安。不過等等，西洽用語詞典這一條：『三無少女： 無口 + 無乳 + 無表情的少女』是怎樣啊？！ 有奇怪的東西混進去了！(lmao) <a href="http://plurk.com/p/75vudb" rel="nofollow">http://plurk.com/p/75vudb</a> <a href="http://twitter.com/brianhsu/statuses/22127131880" class="aktt_tweet_time">#</a></li>
    <li>說 這次真的要睡了，睡不覺也要睡。 <a href="http://plurk.com/p/75rhg0" rel="nofollow">http://plurk.com/p/75rhg0</a> <a href="http://twitter.com/brianhsu/statuses/22100734340" class="aktt_tweet_time">#</a></li>
    <li>說 話說回來……其實我也是逃一名兵啊！真的想逃就早點逃唄，在經濟還過得去的情況下，我寧願選擇讓自己快樂一點。 <a href="http://plurk.com/p/75rbum" rel="nofollow">http://plurk.com/p/75rbum</a> <a href="http://twitter.com/brianhsu/statuses/22100376266" class="aktt_tweet_time">#</a></li>
    <li>說 看樣子明天要動的程式可多了，先來去睡…… <a href="http://plurk.com/p/75olq5" rel="nofollow">http://plurk.com/p/75olq5</a> <a href="http://twitter.com/brianhsu/statuses/22094503606" class="aktt_tweet_time">#</a></li>
    <li>說 輕小說版涼宮一本二十大洋……=_= 不過話說回來，到目前為止能讓我覺得有那個價值，而真的全數收齊的輕小說，也只有文學少女了唄。連好蘿我都沒收。:p <a href="http://plurk.com/p/75nx14" rel="nofollow">http://plurk.com/p/75nx14</a> <a href="http://twitter.com/brianhsu/statuses/22093052568" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/23csyae" rel="nofollow">http://tinyurl.com/23csyae</a> <a href="http://tinyurl.com/2bvqyr4" rel="nofollow">http://tinyurl.com/2bvqyr4</a> 看到吉他那段我笑了。XDDDDDDD <a href="http://plurk.com/p/75nah4" rel="nofollow">http://plurk.com/p/75nah4</a> <a href="http://twitter.com/brianhsu/statuses/22091615014" class="aktt_tweet_time">#</a></li>
    <li>分享 <a href="http://tinyurl.com/25dm8vl" rel="nofollow">http://tinyurl.com/25dm8vl</a> <a href="http://plurk.com/p/75n5tn" rel="nofollow">http://plurk.com/p/75n5tn</a> <a href="http://twitter.com/brianhsu/statuses/22091308407" class="aktt_tweet_time">#</a></li>
    <li>說 真的找不到那個資料表是從哪隻程式寫資料的耶……難道是鬼月的關係？ (thinking) <a href="http://plurk.com/p/75l1kq" rel="nofollow">http://plurk.com/p/75l1kq</a> <a href="http://twitter.com/brianhsu/statuses/22086462044" class="aktt_tweet_time">#</a></li>
    <li>說 看 C_Chat 的討論，真的覺得我真是個幸福的小孩……雖然偶爾也會被唸說像長不大，但父母幾乎從來反對過我玩 ACG，房間貼海報和擺模型也沒被說什麼。 <a href="http://plurk.com/p/75hzoe" rel="nofollow">http://plurk.com/p/75hzoe</a> <a href="http://twitter.com/brianhsu/statuses/22079586686" class="aktt_tweet_time">#</a></li>
    <li>說 啊～～～佐為要消失了啊！ :&#039;-( <a href="http://plurk.com/p/75hj2s" rel="nofollow">http://plurk.com/p/75hj2s</a> <a href="http://twitter.com/brianhsu/statuses/22078563511" class="aktt_tweet_time">#</a></li>
    <li>覺得 嗯，這個神秘的 Table 是從哪來的呢？ (thinking) <a href="http://plurk.com/p/75d9bu" rel="nofollow">http://plurk.com/p/75d9bu</a> <a href="http://twitter.com/brianhsu/statuses/22070250649" class="aktt_tweet_time">#</a></li>
    <li>說 測試+備份完畢，來正式轉檔試試看唄！ <a href="http://plurk.com/p/75btom" rel="nofollow">http://plurk.com/p/75btom</a> <a href="http://twitter.com/brianhsu/statuses/22067151204" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://i.imgur.com/C36UH.jpg" rel="nofollow">http://i.imgur.com/C36UH.jpg</a> 香菜和學姐都好萌！http://tinyurl.com/2duoh3d <a href="http://plurk.com/p/75btew" rel="nofollow">http://plurk.com/p/75btew</a> <a href="http://twitter.com/brianhsu/statuses/22067135290" class="aktt_tweet_time">#</a></li>
    <li>說 什麼，這週的 H4 也有妺要來？！那我也要去！(誤) <a href="http://plurk.com/p/75b8i6" rel="nofollow">http://plurk.com/p/75b8i6</a> <a href="http://twitter.com/brianhsu/statuses/22065814659" class="aktt_tweet_time">#</a></li>
    <li>說 新的索引檔+新的搜尋引擎核心可以搜尋 CC 授權資源，這樣算破關了吧？ (thinking) 接下來要改建 index 的部份了。 <a href="http://plurk.com/p/75arn9" rel="nofollow">http://plurk.com/p/75arn9</a> <a href="http://twitter.com/brianhsu/statuses/22064705594" class="aktt_tweet_time">#</a></li>
    <li>分享 <a href="http://tinyurl.com/2d55hl7" rel="nofollow">http://tinyurl.com/2d55hl7</a> (你是擁有什麼能力的契約者？)：身為契約者的墳墓，能力是操縱時間，代價是咬自己的手臂 <a href="http://plurk.com/p/75a0qf" rel="nofollow">http://plurk.com/p/75a0qf</a> <a href="http://twitter.com/brianhsu/statuses/22062768349" class="aktt_tweet_time">#</a></li>
    <li>覺得 快要可以破 Lucene 這一關了！ <a href="http://plurk.com/p/756s7k" rel="nofollow">http://plurk.com/p/756s7k</a> <a href="http://twitter.com/brianhsu/statuses/22051635199" class="aktt_tweet_time">#</a></li>
    <li>好奇 是我誤會 Lucene 了嗎？搜尋 license:(&quot;MetaDesc:CC2.5-BY-NC-SA&quot;) 這樣是可以 work 的耶？！那我卡關卡那麼久是在幹嘛…… :-&amp; <a href="http://plurk.com/p/756cxb" rel="nofollow">http://plurk.com/p/756cxb</a> <a href="http://twitter.com/brianhsu/statuses/22049943200" class="aktt_tweet_time">#</a></li>
    <li>說 咦？！是我誤會了嗎？搜尋 license:(&quot; <a href="http://plurk.com/p/756c8h" rel="nofollow">http://plurk.com/p/756c8h</a> <a href="http://twitter.com/brianhsu/statuses/22049868658" class="aktt_tweet_time">#</a></li>
    <li>說 [rep] <a href="http://www.plurk.com/p/74mp3a" rel="nofollow">http://www.plurk.com/p/74mp3a</a> (公視「爸媽囧很大」的製作單位，想找尋一些瘋動漫的孩子。 ) <a href="http://plurk.com/p/754r5s" rel="nofollow">http://plurk.com/p/754r5s</a> <a href="http://twitter.com/brianhsu/statuses/22042881883" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/28659bt" rel="nofollow">http://tinyurl.com/28659bt</a> (CCC4 線上索取)。 <a href="http://plurk.com/p/74v6tu" rel="nofollow">http://plurk.com/p/74v6tu</a> <a href="http://twitter.com/brianhsu/statuses/22002397162" class="aktt_tweet_time">#</a></li>
    <li>說 看到有人的 fbsplash 可以有開機音效，我在想我要不要去找學姐的聲音來用。XD <a href="http://plurk.com/p/74rzp3" rel="nofollow">http://plurk.com/p/74rzp3</a> <a href="http://twitter.com/brianhsu/statuses/21995356221" class="aktt_tweet_time">#</a></li>
    <li>好奇 #<a href="http://search.twitter.com/search?q=%231CSw6Fd6" class="aktt_hashtag">1CSw6Fd6</a> (Soft_Job) [ptt.cc] 在工作上使用 C/C++ 的人自學 Java 會覺得吃力？我一直覺得 C/C++ 比較難耶……C 是難在把它用得好，C++ 是難在他真的很複雜，囧。 <a href="http://plurk.com/p/74pxx1" rel="nofollow">http://plurk.com/p/74pxx1</a> <a href="http://twitter.com/brianhsu/statuses/21990915459" class="aktt_tweet_time">#</a></li>
    <li>討厭 Lucene 卡關啦……又愛又恨的 CC 授權吶。 (angry) <a href="http://plurk.com/p/74pu93" rel="nofollow">http://plurk.com/p/74pu93</a> <a href="http://twitter.com/brianhsu/statuses/21990701315" class="aktt_tweet_time">#</a></li>
    <li>問 暨大資管是有要 hosting 什麼 conference 嗎？！ <a href="http://plurk.com/p/74nbcl" rel="nofollow">http://plurk.com/p/74nbcl</a> <a href="http://twitter.com/brianhsu/statuses/21985748405" class="aktt_tweet_time">#</a></li>
    <li>覺得 音樂磁場真的是百聽不厭，可惜都沒再出了。 :&#039;-( <a href="http://plurk.com/p/74j0w4" rel="nofollow">http://plurk.com/p/74j0w4</a> <a href="http://twitter.com/brianhsu/statuses/21976786315" class="aktt_tweet_time">#</a></li>
    <li>說 經驗不足，Unit test 的 coverage 不夠阿……&gt;_&lt; <a href="http://plurk.com/p/74hixw" rel="nofollow">http://plurk.com/p/74hixw</a> <a href="http://twitter.com/brianhsu/statuses/21972759851" class="aktt_tweet_time">#</a></li>
    <li>分享 <a href="http://tinyurl.com/2am7kre" rel="nofollow">http://tinyurl.com/2am7kre</a> 學姐機的開機畫面。 <a href="http://plurk.com/p/74emhu" rel="nofollow">http://plurk.com/p/74emhu</a> <a href="http://twitter.com/brianhsu/statuses/21962374368" class="aktt_tweet_time">#</a></li>
    <li>說 [http://www.plurk.com/p/74cs1m (rep)]http://0rz.tw/bIM6P  (正妹哭窮 「願用最寶貴 換iPhone4」)，姑且不管『最寶貴』的東西是什麼，只有我一個人覺得這種&#8230; <a href="http://plurk.com/p/74d6tq" rel="nofollow">http://plurk.com/p/74d6tq</a> <a href="http://twitter.com/brianhsu/statuses/21956256445" class="aktt_tweet_time">#</a></li>
    <li>說 HOTD 不是僵屍片，是肉片無誤。（蓋章） <a href="http://plurk.com/p/742uss" rel="nofollow">http://plurk.com/p/742uss</a> <a href="http://twitter.com/brianhsu/statuses/21918624905" class="aktt_tweet_time">#</a></li>
    <li>覺得 搞不懂為什麼 GNU 的 <a href="http://tinyurl.com/ylx5nax" rel="nofollow">http://tinyurl.com/ylx5nax</a> (Coding Standard) 可以看起來這麼醜……除了 GNU 外真的有人用這個 Standard 嗎？！XD <a href="http://plurk.com/p/742otj" rel="nofollow">http://plurk.com/p/742otj</a> <a href="http://twitter.com/brianhsu/statuses/21917750756" class="aktt_tweet_time">#</a></li>
    <li>已經 把學姐機的開機主題換成正在吃午餐等點心的遠子學姐了～～ (dance) <a href="http://plurk.com/p/742hcl" rel="nofollow">http://plurk.com/p/742hcl</a> <a href="http://twitter.com/brianhsu/statuses/21915991367" class="aktt_tweet_time">#</a></li>
    <li>說 我到現在才知道 Framebuffer Console 可以開高解析度然後設大字型。XD <a href="http://plurk.com/p/73ycn3" rel="nofollow">http://plurk.com/p/73ycn3</a> <a href="http://twitter.com/brianhsu/statuses/21905892627" class="aktt_tweet_time">#</a></li>
    <li>分享 <a href="http://tinyurl.com/d6up5v" rel="nofollow">http://tinyurl.com/d6up5v</a> (咱家的廟)也太準了吧……今天剛好辦公桌很亂。XDDD  <a href="http://tinyurl.com/27hefye" rel="nofollow">http://tinyurl.com/27hefye</a> <a href="http://plurk.com/p/73vljs" rel="nofollow">http://plurk.com/p/73vljs</a> <a href="http://twitter.com/brianhsu/statuses/21900133901" class="aktt_tweet_time">#</a></li>
    <li>說 X，很明顯的 Lucene 內建排序演算法作幣啦，我用不同的欄位來排，結果搜尋時間一次比一次短？！=_= <a href="http://plurk.com/p/73qnae" rel="nofollow">http://plurk.com/p/73qnae</a> <a href="http://twitter.com/brianhsu/statuses/21889625069" class="aktt_tweet_time">#</a></li>
    <li>說 睡……明天要早點去實驗室。:p <a href="http://plurk.com/p/73dmdc" rel="nofollow">http://plurk.com/p/73dmdc</a> <a href="http://twitter.com/brianhsu/statuses/21835519823" class="aktt_tweet_time">#</a></li>
    <li>分享 [部落格文章] <a href="http://ppt.cc/,yfn" rel="nofollow">http://ppt.cc/,yfn</a> (今日戰利品。) <a href="http://plurk.com/p/73cr5n" rel="nofollow">http://plurk.com/p/73cr5n</a> <a href="http://twitter.com/brianhsu/statuses/21833687403" class="aktt_tweet_time">#</a></li>
    <li>分享 [部落格文章] <a href="http://ppt.cc/UUTV" rel="nofollow">http://ppt.cc/UUTV</a> ([調教學姐] Gentoo Linux on Aspire Aspire 3820TG.) <a href="http://plurk.com/p/73b7zt" rel="nofollow">http://plurk.com/p/73b7zt</a> <a href="http://twitter.com/brianhsu/statuses/21830532427" class="aktt_tweet_time">#</a></li>
    <li>說 PicasaWeb 用到只剩 249MB 了……:( <a href="http://plurk.com/p/738v0w" rel="nofollow">http://plurk.com/p/738v0w</a> <a href="http://twitter.com/brianhsu/statuses/21825757796" class="aktt_tweet_time">#</a></li>
    <li>分享 <a href="http://tinyurl.com/2fxtdvc" rel="nofollow">http://tinyurl.com/2fxtdvc</a> <a href="http://plurk.com/p/72xok4" rel="nofollow">http://plurk.com/p/72xok4</a> <a href="http://twitter.com/brianhsu/statuses/21794845031" class="aktt_tweet_time">#</a></li>
    <li>說 『從oricon排行榜來分析，目前的漫畫和動畫，主要收視以及購買族群都是女性。』＝＝＞結論：果然腐女才是地球上最強的生物（大誤）。 <a href="http://plurk.com/p/72xkm4" rel="nofollow">http://plurk.com/p/72xkm4</a> <a href="http://twitter.com/brianhsu/statuses/21794357746" class="aktt_tweet_time">#</a></li>
    <li>說 好像找到不錯的 Gentoo Kernel Configuration 了！Ya~~~ (drinking) 唯一的缺點是用這個 Configuration 的話，Framebuffer Splash 就不能用了啦。&#8230; <a href="http://plurk.com/p/72xd6b" rel="nofollow">http://plurk.com/p/72xd6b</a> <a href="http://twitter.com/brianhsu/statuses/21793458698" class="aktt_tweet_time">#</a></li>
    <li>說 早安小C，不要再偷懶了！ <a href="http://plurk.com/p/72w62h" rel="nofollow">http://plurk.com/p/72w62h</a> <a href="http://twitter.com/brianhsu/statuses/21787331899" class="aktt_tweet_time">#</a></li>
    <li>問 話說回來，哪裡可以找得到這次得獎的雞排公主？！感覺沒在書店看到過，又不想到博客來浪費運費啊（運費快和書一樣了）…… <a href="http://plurk.com/p/72w5xe" rel="nofollow">http://plurk.com/p/72w5xe</a> <a href="http://twitter.com/brianhsu/statuses/21787306982" class="aktt_tweet_time">#</a></li>
    <li>覺得 大概可以了解為什麼相聚一刻會是那個時候的共同回憶。:p 大概是另一種形式的 Chobits（大誤）。 <a href="http://plurk.com/p/72w4ld" rel="nofollow">http://plurk.com/p/72w4ld</a> <a href="http://twitter.com/brianhsu/statuses/21787054818" class="aktt_tweet_time">#</a></li>
    <li>喜歡 『http://tinyurl.com/2e3rl6t (對櫻花大戰粉絲來說，只有帝都花組才是原汁原味)』，真宮寺櫻最高！ <a href="http://plurk.com/p/72viv9" rel="nofollow">http://plurk.com/p/72viv9</a> <a href="http://twitter.com/brianhsu/statuses/21782236597" class="aktt_tweet_time">#</a></li>
    <li>說 果然……昨天很無聊。我的奶茶演唱會啊～～～～ (sick) <a href="http://plurk.com/p/72viff" rel="nofollow">http://plurk.com/p/72viff</a> <a href="http://twitter.com/brianhsu/statuses/21782116638" class="aktt_tweet_time">#</a></li>
    <li>說 試了一下，Ubuntu 沒有比較強啊……&gt;_&lt; Hybrid Graphics 一樣有問題(Console 進不去)，Battery Life 比我的 Gentoo 還差，唯一比較 OK 的是 ATI driver &#8230; <a href="http://plurk.com/p/7288j2" rel="nofollow">http://plurk.com/p/7288j2</a> <a href="http://twitter.com/brianhsu/statuses/21707409551" class="aktt_tweet_time">#</a></li>
    <li>分享 [部落格文章] <a href="http://ppt.cc/tCkE" rel="nofollow">http://ppt.cc/tCkE</a> (本週的自言自語（2010-08-21）) <a href="http://plurk.com/p/727ueh" rel="nofollow">http://plurk.com/p/727ueh</a> <a href="http://twitter.com/brianhsu/statuses/21705335581" class="aktt_tweet_time">#</a></li>
</ul>

<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bone.twbbs.org.tw/blog/archives/1511/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>今日戰利品。</title>
		<link>http://bone.twbbs.org.tw/blog/archives/1506</link>
		<comments>http://bone.twbbs.org.tw/blog/archives/1506#comments</comments>
		<pubDate>Sun, 22 Aug 2010 14:33:04 +0000</pubDate>
		<dc:creator>墳墓 (BrianHsu)</dc:creator>
				<category><![CDATA[遊戲人間]]></category>

		<guid isPermaLink="false">http://bone.twbbs.org.tw/blog/?p=1506</guid>
		<description><![CDATA[2010/08/22 戰利品2010/08/22 戰利品(View at PicasaWeb) 話說昨天是阿嬤的百年壽宴，但同時也是奶茶的脫掉高跟鞋演唱會，本來票都已經買好啦……但無奈撞期。:( 所以，我就在今天自暴自棄地跑去地下街把本來聽演唱會的預算拿去買表演工作坊的『我和我和她和她』，還有鶴屋學姐的 PVC 了。 話說回來，今天逛地下街的感想就是： 絲茉茉妳怎麼那麼可憐，在三個一百的專區被放置 play，而且數量特多。 斷頭太久果然是比較難騙錢，1/16 的鶴屋學姐竟然只剩 150 了…… 跌到 150 的鶴屋學姐。跌到 150 的鶴屋學姐。(View at PicasaWeb) 因為鶴屋學姐實在跌得太誇張，所以一不忍之之下，我就把他帶回家。（話說回來，我怎麼都沒看過遠子學姐。>_&#60;） 回到正題，其實『我和我和她和她』我在大學的時候就看過了，也是圖書館裡的收藏，不過是 VCD 版的，畫質實在是…… 但即便如此，它依然是我很喜歡的戲，裡面有我喜歡的金士傑，整體的劇本有濃濃的後設味，而劉亮佐飾演的各式角色也很歡樂，讓整齣戲不會顯得沉重過頭。 雖說我第一部接觸的舞台劇，是電影片的暗戀桃花源，但真正讓我迷上舞台劇這個表演形式的，則是這部『我和我和她和她』。 也有很多人說，暗戀桃花源是賴深川和表坊的顛峰之作，很難再有超越暗戀桃花源的作品出現了。 學姐的新鄰居。學姐的新鄰居。(View at PicasaWeb) 可是真要我排名的話，不用說，第一名一定是『如夢之夢』，明明戲長七個小時，但看完後卻覺得不過癮，不想離席，這個經驗是無法取代的。 第二名就是這部『我和我和她和她』，原因我說不出來，我只能說這部戲實在太合我的味口了，我也很喜歡金士傑在戲中的爆發力，他那句：『我們站在香港的高山頂上，對著整個天空宣誓，說，我們是沒有過去的人。我們把所有的過去，通通過去了。』始終縈繞在我的心頭，至今仍未散去。 所以，這次就決定先敗這部了！畢竟，VCD 的畫質實在慘不忍睹啊……胃口真的被現在的科技和愈來愈大的螢幕給養壞了啊。orz..]]></description>
			<content:encoded><![CDATA[<div class="shashin_image" style="width: 298px; float: right; clear: none;"><a href="http://lh3.ggpht.com/_MdBWjiltj8o/THEU80PiQAI/AAAAAAAAI5c/Ouwg_N9HFf4/P1020336.JPG?imgmax=640" class="highslide" id="thumb4" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'groupNone' })"><img src="http://lh3.ggpht.com/_MdBWjiltj8o/THEU80PiQAI/AAAAAAAAI5c/Ouwg_N9HFf4/P1020336.JPG?imgmax=288" alt="2010/08/22 戰利品" title="2010/08/22 戰利品" width="288" height="192" /></a><span class="shashin_caption">2010/08/22 戰利品</span><div class="highslide-caption">2010/08/22 戰利品(<a href="http://picasaweb.google.com.tw/brianhsu.hsu/dmMJzF#5508206854299336706">View at PicasaWeb</a>)</div></div>

<p>話說昨天是阿嬤的百年壽宴，但同時也是奶茶的脫掉高跟鞋演唱會，本來票都已經買好啦……但無奈撞期。:(</p>

<p>所以，我就在今天自暴自棄地跑去地下街把本來聽演唱會的預算拿去買表演工作坊的『我和我和她和她』，還有鶴屋學姐的 PVC 了。</p>

<p>話說回來，今天逛地下街的感想就是：</p>

<ul>
<li><a href="http://www.google.com.tw/images?q=%E7%B5%B2%E8%8C%89%E8%8C%89&#038;oe=utf-8&#038;rls=org.mozilla:zh-TW:official&#038;client=firefox-a&#038;um=1&#038;ie=UTF-8&#038;source=univ&#038;ei=3jNxTM3NO4i4vgOzvcFB&#038;sa=X&#038;oi=image_result_group&#038;ct=title&#038;resnum=1&#038;ved=0CCMQsAQwAA&#038;biw=1280&#038;bih=846">絲茉茉</a>妳怎麼那麼可憐，在三個一百的專區被放置 play，而且數量特多。</li>
<li>斷頭太久果然是比較難騙錢，1/16  的鶴屋學姐竟然只剩 150 了……</li>
</ul>

<div class="shashin_image" style="width: 202px; float: right; clear: none;"><a href="http://lh5.ggpht.com/_MdBWjiltj8o/THEVGFkvBrI/AAAAAAAAI6I/a__1ZvasDew/P1020338.JPG?imgmax=640" class="highslide" id="thumb5" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'groupNone' })"><img src="http://lh5.ggpht.com/_MdBWjiltj8o/THEVGFkvBrI/AAAAAAAAI6I/a__1ZvasDew/P1020338.JPG?imgmax=288" alt="跌到 150 的鶴屋學姐。" title="跌到 150 的鶴屋學姐。" width="192" height="288" /></a><span class="shashin_caption">跌到 150 的鶴屋學姐。</span><div class="highslide-caption">跌到 150 的鶴屋學姐。(<a href="http://picasaweb.google.com.tw/brianhsu.hsu/dmMJzF#5508207013570479794">View at PicasaWeb</a>)</div></div>

<p>因為鶴屋學姐實在跌得太誇張，所以一不忍之之下，我就把他帶回家。（話說回來，我怎麼都沒看過遠子學姐。>_&lt;）</p>

<p>回到正題，其實『我和我和她和她』我在大學的時候就看過了，也是圖書館裡的收藏，不過是 VCD  版的，畫質實在是……</p>

<p>但即便如此，它依然是我很喜歡的戲，裡面有我喜歡的金士傑，整體的劇本有濃濃的後設味，而劉亮佐飾演的各式角色也很歡樂，讓整齣戲不會顯得沉重過頭。</p>

<p>雖說我第一部接觸的舞台劇，是電影片的暗戀桃花源，但真正讓我迷上舞台劇這個表演形式的，則是這部『我和我和她和她』。</p>

<p>也有很多人說，暗戀桃花源是賴深川和表坊的顛峰之作，很難再有超越暗戀桃花源的作品出現了。</p>

<div class="shashin_image" style="width: 298px; float: right; clear: none;"><a href="http://lh6.ggpht.com/_MdBWjiltj8o/THEVVaDf0SI/AAAAAAAAI58/GfvSxvy3Gyc/P1020341.JPG?imgmax=640" class="highslide" id="thumb6" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'groupNone' })"><img src="http://lh6.ggpht.com/_MdBWjiltj8o/THEVVaDf0SI/AAAAAAAAI58/GfvSxvy3Gyc/P1020341.JPG?imgmax=288" alt="學姐的新鄰居。" title="學姐的新鄰居。" width="288" height="192" /></a><span class="shashin_caption">學姐的新鄰居。</span><div class="highslide-caption">學姐的新鄰居。(<a href="http://picasaweb.google.com.tw/brianhsu.hsu/dmMJzF#5508207276766253346">View at PicasaWeb</a>)</div></div>

<p>可是真要我排名的話，不用說，第一名一定是『如夢之夢』，明明戲長七個小時，但看完後卻覺得不過癮，不想離席，這個經驗是無法取代的。</p>

<p>第二名就是這部『我和我和她和她』，原因我說不出來，我只能說這部戲實在太合我的味口了，我也很喜歡金士傑在戲中的爆發力，他那句：『我們站在香港的高山頂上，對著整個天空宣誓，說，我們是沒有過去的人。我們把所有的過去，通通過去了。』始終縈繞在我的心頭，至今仍未散去。</p>

<p>所以，這次就決定先敗這部了！畢竟，VCD 的畫質實在慘不忍睹啊……胃口真的被現在的科技和愈來愈大的螢幕給養壞了啊。orz..</p>
]]></content:encoded>
			<wfw:commentRss>http://bone.twbbs.org.tw/blog/archives/1506/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[調教學姐] Gentoo Linux on Aspire Aspire 3820TG.</title>
		<link>http://bone.twbbs.org.tw/blog/archives/1499</link>
		<comments>http://bone.twbbs.org.tw/blog/archives/1499#comments</comments>
		<pubDate>Sun, 22 Aug 2010 13:45:35 +0000</pubDate>
		<dc:creator>墳墓 (BrianHsu)</dc:creator>
				<category><![CDATA[我的專業]]></category>

		<guid isPermaLink="false">http://bone.twbbs.org.tw/blog/?p=1499</guid>
		<description><![CDATA[我現在的工作主力－－學姐機。我現在的工作主力－－學姐機。(View at PicasaWeb) 話說年初的時候買了一台 Acer Aspire TimelineX 3820TG ，也就是我現在用的這台學姐機。 當初看到這台機器的消息時就很高興，雖然並不像 MacBook AIR 那麼輕，但價錢、重量、效能等等，都在我能夠接受的範圍內，而那時候買這台機器，主要的目的就是以下三點。 在 Windows 下用獨立顯卡玩遊戲（雖然最後都沒時間玩） 平時工作時在 Linux 下當開發程式桌機 出門到咖啡廳或研討會時可以用 Linux 上網 當然第一點是沒有什麼大問題的，但問是在第二三項的 Linux，而說到 Linux 的話，對我而言似乎沒有什麼選擇，第一個想到的就是已經用到習慣的 Gentoo 。 但是買了好幾個月，雖然在上面灌了 Gentoo ，但感覺上用下來還是有好幾個不滿意的地方，列舉如下： 我的 ATI 官方 Driver 跑不起來 Xorg 的 ATI Driver 外接螢幕無法工作 電池續航力大約只有 2 到 2.5 個小時左右 老實說這些並不是什麼大問題，但用起來很不爽，因為如果外接螢幕無法工作，那麼簡報時就很麻煩，而電池續航力在像 COSCUP 等研討會上更是勝負的重點！ 而在 COSCUP 會後在噗浪上看到有人聲稱這台 3820TG 在 Linux [...]]]></description>
			<content:encoded><![CDATA[<div class="shashin_image" style="width: 298px; float: right; clear: none;"><a href="http://lh4.ggpht.com/_MdBWjiltj8o/S-VVYbj1qYI/AAAAAAAAIRw/adU9d9kB1l0/P1010852.JPG?imgmax=640" class="highslide" id="thumb9" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'groupNone' })"><img src="http://lh4.ggpht.com/_MdBWjiltj8o/S-VVYbj1qYI/AAAAAAAAIRw/adU9d9kB1l0/P1010852.JPG?imgmax=288" alt="我現在的工作主力－－學姐機。" title="我現在的工作主力－－學姐機。" width="288" height="191" /></a><span class="shashin_caption">我現在的工作主力－－學姐機。</span><div class="highslide-caption">我現在的工作主力－－學姐機。(<a href="http://picasaweb.google.com.tw/brianhsu.hsu/NinwAL#5468871200714631554">View at PicasaWeb</a>)</div></div>

<p>話說年初的時候買了一台 Acer Aspire TimelineX 3820TG ，也就是我現在用的這台學姐機。</p>

<p>當初看到這台機器的消息時就很高興，雖然並不像 MacBook AIR 那麼輕，但價錢、重量、效能等等，都在我能夠接受的範圍內，而那時候買這台機器，主要的目的就是以下三點。</p>

<ul>
<li>在 Windows 下用獨立顯卡玩遊戲（雖然最後都沒時間玩）</li>
<li>平時工作時在 Linux 下當開發程式桌機</li>
<li>出門到咖啡廳或研討會時可以用 Linux 上網</li>
</ul>

<p>當然第一點是沒有什麼大問題的，但問是在第二三項的 Linux，而說到 Linux 的話，對我而言似乎沒有什麼選擇，第一個想到的就是已經用到習慣的 Gentoo 。</p>

<p>但是買了好幾個月，雖然在上面灌了 Gentoo ，但感覺上用下來還是有好幾個不滿意的地方，列舉如下：</p>

<ul>
<li>我的 ATI 官方 Driver 跑不起來</li>
<li>Xorg 的 ATI Driver 外接螢幕無法工作</li>
<li>電池續航力大約只有 2 到 2.5 個小時左右</li>
</ul>

<p>老實說這些並不是什麼大問題，但用起來很不爽，因為如果外接螢幕無法工作，那麼簡報時就很麻煩，而電池續航力在像 COSCUP 等研討會上更是勝負的重點！</p>

<p>而在 COSCUP 會後在噗浪上看到有人聲稱這台 3820TG 在 Linux 下面的續航力是可以到五個小時的，所以我就下定決心要研究出來要怎麼調教我的 Gentoo 也能達到類似的續航力。</p>

<p>所以這一篇就是來講我的調教方式（誤），呃，我是說，我的驅動程設定，所使用的核心版本是 gentoo-source-2.6.35-r1。</p>

<p>基本上下面是目前我的學姐機上面可以正常工作的硬體以及驅動程式核心設定名稱，你可以在 Kernel Menu Config 裡面按下 / 後輸入設定名稱尋找他的位置以及相依性。</p>

<ul>
<li>音效卡 Intel HD Audio (CONFIG_SND_HDA_INTEL=m)</li>
<li>乙太網路卡 Atheros L1C (CONFIG_ATL1C=m)</li>
<li>無線網路卡 Atheros 802.11n (CONFIG_ATH9K=m)</li>
<li>讀卡機（理論上是 USB Mass Storage 打開就行了）</li>
</ul>

<p>至於 WebCam 因為沒有在用，所以不確定要用哪個 Driver。</p>

<p>以上都是一些基本的設定，也就是我之前用得很高興的部份，而接下來要解決的就是顯示卡和電池續航力的問題了。</p>

<p>經過一些思考後，可以歸納出其實上述的三個問題，本質上都是相同的－－如何把獨立顯卡給關掉，完全使用內建的 Intel 顯示晶片。</p>

<p>經過許多試誤後，我終於找出正確的 Kernel Configuration 了，請注意，這裡的設定請盡量一模一樣，不然螢幕可能會完全出不來。</p>

<ul>
<li><p>首先是把基本的顯卡設定打開</p>

<ul>
<li>CONFIG_AGP=y</li>
<li>CONFIG_AGP_INTEL=y</li>
</ul></li>
<li><p>打開 DRM 以及 ATI Driver，但不要打開 ATI 的 KMS</p>

<ul>
<li>CONFIG_DRM=y</li>
<li>CONFIG_DRM_RADEON=y</li>
<li>CONFIG_DRM_RADEON_KMS=n</li>
</ul></li>
<li><p>打開 Intel i915 Driver 以及 KMS</p>

<ul>
<li>CONFIG_DRM_I915=y</li>
<li>CONFIG_DRM_I915_KMS=y</li>
</ul></li>
</ul>

<p>基本上有了上面這些設定，你的 Gentoo 現在應該可以正確的在開機的時候抓到 Intel 的顯示晶片，並且在啟動 X 視窗的時候，也自動使用 Intel  顯示晶片。</p>

<p>而因為 i951 的顯示晶片驅動程式已經算挺成熟，外接螢幕也可以很順，用 xrandr &#8211;auto 就會自己設定了。</p>

<p>但這個時候如果使用 acpitool 觀看電池續航力，會發現和使用獨立顯卡時並沒有太大的差距，這是因為我們並沒有把獨立顯卡的電源給切斷。</p>

<p>這個時候需要以下這個核心模組來幫忙。</p>

<ul>
<li># git clone git://github.com/brianhsu/timelinex_acpi.git</li>
<li># cd timelinex_acpi</li>
<li># make install</li>
</ul>

<div class="shashin_image" style="width: 298px; float: right; clear: none;"><a href="http://lh4.ggpht.com/_MdBWjiltj8o/THEmKd6pUmI/AAAAAAAAI6g/L29TUL3lpxg/BatteryLife.jpg?imgmax=640" class="highslide" id="thumb10" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'groupNone' })"><img src="http://lh4.ggpht.com/_MdBWjiltj8o/THEmKd6pUmI/AAAAAAAAI6g/L29TUL3lpxg/BatteryLife.jpg?imgmax=288" alt="經過調教後的學姐機續航力。" title="經過調教後的學姐機續航力。" width="288" height="78" /></a><span class="shashin_caption">經過調教後的學姐機續航力。</span><div class="highslide-caption">經過調教後的學姐機續航力。(<a href="http://picasaweb.google.com.tw/brianhsu.hsu/CsRjrD#5508225780521980514">View at PicasaWeb</a>)</div></div>

<p>然後在 X Server 關閉的情況下，用 modprobe timelinex_acpi 來載入這個模組，這個時候核心會顯示 timelinex_acpi: disabled the discrete graphics card  的訊息，可以用 dmesg 觀看。</p>

<p>這個時候再使用 acpitool 看電池續航力，應該會發現可用時間會漸漸地往上飄，這就代表確實把獨立顯卡的電源給觀掉了。</p>

<p>當然，如果你想要讓電池續航力達到四小時左右的話，光是關掉顯示卡可能不夠，還是需要一些額外的設定幫忙，以下是我的設定。</p>

<ul>
<li><p>打開 ACPI CPU 變頻功能</p>

<ul>
<li>CONFIG_CPU_FREQ=y</li>
<li>CONFIG_CPU_FREQ_GOV_PERFORMANCE=m</li>
<li>CONFIG_CPU_FREQ_GOV_POWERSAVE=m</li>
<li>CONFIG_CPU_FREQ_GOV_USERSPACE=y</li>
<li>CONFIG_CPU_FREQ_GOV_ONDEMAND=m</li>
<li>CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m</li>
<li>CONFIG_X86_ACPI_CPUFREQ=m</li>
<li>CONFIG_INTEL_IDLE=m</li>
</ul></li>
<li><p>安裝 sys-power/cpufreqd，並且在電池模式時使用 powersave</p></li>
<li><p>下面是 sys-power/powertop 建議的，但我不知道是不是真的有用</p>

<ul>
<li>CONFIG_PM_RUNTIME=y</li>
<li>CONFIG_PCIEASPM=y</li>
</ul></li>
<li><p>據說 sys-power/powertop 會給很多建議，不過我自己覺得我的學姐機現在的表現已經很不錯了。</p></li>
</ul>

<p>經過以上的設定，基本上我的學姐機總算是可以發揮出他應有的工能了，只是……為什麼我是在 COSCUP 之後才找出這個設定啊！害我兩天下午在 Room 3 只能看著一片黑的螢幕……</p>

<p>最後順道一提，其實這樣的設定還有兩個問題我還沒解決。</p>

<ul>
<li><p>設成內建顯卡後，螢幕亮度不能調了，囧。</p></li>
<li><p>有的時候很明顯會一頓一頓的，看燈後是在讀硬碟，但我不知道是為什麼，有的人說是因為 AHCI 的關係，在 Windows 下也會發生，在 BIOS 調成 IDE 模式就會好，但我還沒試。</p></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://bone.twbbs.org.tw/blog/archives/1499/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>本週的自言自語（2010-08-21）</title>
		<link>http://bone.twbbs.org.tw/blog/archives/1498</link>
		<comments>http://bone.twbbs.org.tw/blog/archives/1498#comments</comments>
		<pubDate>Fri, 20 Aug 2010 16:00:00 +0000</pubDate>
		<dc:creator>墳墓 (BrianHsu)</dc:creator>
				<category><![CDATA[雜七雜八]]></category>

		<guid isPermaLink="false">http://bone.twbbs.org.tw/blog/archives/1498</guid>
		<description><![CDATA[說 早安。 http://plurk.com/p/727si6 # 說 啊……實地測試果然 insertion sort 死很慘啊…… http://plurk.com/p/71rm9l # 說 Great！寫完收工，接下來寫註解……XDDD http://plurk.com/p/71og3v # 說 來 (code) 唄！:D http://plurk.com/p/71i2h9 # 覺得 雲端……總覺得像另一個 Web 2.0，單純只是種謊言和新瓶裝舊酒！=_= http://plurk.com/p/71hjc0 # 說 http://tinyurl.com/24aq7to (Android on X)，可以跑在 Linux 上嗎？！另外不知道和現行 Application 的相容性如何？ http://plurk.com/p/71h60t # 說 HOTD 真的是僵屍片嗎？=_= http://plurk.com/p/718by6 # 說 OK，Sorting 修好了。 http://plurk.com/p/717k5a # 說 Insertion Sort 照抄跑出來的結果是錯的這是怎麼回事？=_= 果然還是自己寫比較實在嗎？ http://plurk.com/p/7119po # [...]]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
    <li>說 早安。 <a href="http://plurk.com/p/727si6" rel="nofollow">http://plurk.com/p/727si6</a> <a href="http://twitter.com/brianhsu/statuses/21705031348" class="aktt_tweet_time">#</a></li>
    <li>說 啊……實地測試果然 insertion sort 死很慘啊…… <a href="http://plurk.com/p/71rm9l" rel="nofollow">http://plurk.com/p/71rm9l</a> <a href="http://twitter.com/brianhsu/statuses/21650291801" class="aktt_tweet_time">#</a></li>
    <li>說 Great！寫完收工，接下來寫註解……XDDD <a href="http://plurk.com/p/71og3v" rel="nofollow">http://plurk.com/p/71og3v</a> <a href="http://twitter.com/brianhsu/statuses/21643326431" class="aktt_tweet_time">#</a></li>
    <li>說 來 (code) 唄！:D <a href="http://plurk.com/p/71i2h9" rel="nofollow">http://plurk.com/p/71i2h9</a> <a href="http://twitter.com/brianhsu/statuses/21623073909" class="aktt_tweet_time">#</a></li>
    <li>覺得 雲端……總覺得像另一個 Web 2.0，單純只是種謊言和新瓶裝舊酒！=_= <a href="http://plurk.com/p/71hjc0" rel="nofollow">http://plurk.com/p/71hjc0</a> <a href="http://twitter.com/brianhsu/statuses/21620777501" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/24aq7to" rel="nofollow">http://tinyurl.com/24aq7to</a> (Android on X)，可以跑在 Linux 上嗎？！另外不知道和現行 Application 的相容性如何？ <a href="http://plurk.com/p/71h60t" rel="nofollow">http://plurk.com/p/71h60t</a> <a href="http://twitter.com/brianhsu/statuses/21618799111" class="aktt_tweet_time">#</a></li>
    <li>說 HOTD 真的是僵屍片嗎？=_= <a href="http://plurk.com/p/718by6" rel="nofollow">http://plurk.com/p/718by6</a> <a href="http://twitter.com/brianhsu/statuses/21581083452" class="aktt_tweet_time">#</a></li>
    <li>說 OK，Sorting 修好了。 <a href="http://plurk.com/p/717k5a" rel="nofollow">http://plurk.com/p/717k5a</a> <a href="http://twitter.com/brianhsu/statuses/21579141866" class="aktt_tweet_time">#</a></li>
    <li>說 Insertion Sort 照抄跑出來的結果是錯的這是怎麼回事？=_= 果然還是自己寫比較實在嗎？ <a href="http://plurk.com/p/7119po" rel="nofollow">http://plurk.com/p/7119po</a> <a href="http://twitter.com/brianhsu/statuses/21564880302" class="aktt_tweet_time">#</a></li>
    <li>說 要寫二維陣列的 Sorting……囧。我最不會 sorting 了啊。orz&#8230; <a href="http://plurk.com/p/70wh3f" rel="nofollow">http://plurk.com/p/70wh3f</a> <a href="http://twitter.com/brianhsu/statuses/21554522817" class="aktt_tweet_time">#</a></li>
    <li>正在 想要去 H4 加班還是去餐車加班…… (thinking) <a href="http://plurk.com/p/70vbvq" rel="nofollow">http://plurk.com/p/70vbvq</a> <a href="http://twitter.com/brianhsu/statuses/21551525442" class="aktt_tweet_time">#</a></li>
    <li>說 吃飽了那就來(code)吧，因為耍蠢忘了注意 large scale 時的 Time/Space Complexity，API 要重定了。XDD <a href="http://plurk.com/p/70v5sl" rel="nofollow">http://plurk.com/p/70v5sl</a> <a href="http://twitter.com/brianhsu/statuses/21551057831" class="aktt_tweet_time">#</a></li>
    <li>說 早安 小C <a href="http://plurk.com/p/70psbk" rel="nofollow">http://plurk.com/p/70psbk</a> <a href="http://twitter.com/brianhsu/statuses/21530461661" class="aktt_tweet_time">#</a></li>
    <li>說 民權西路站好遠，囧。 <a href="http://plurk.com/p/70p694" rel="nofollow">http://plurk.com/p/70p694</a> <a href="http://twitter.com/brianhsu/statuses/21525579977" class="aktt_tweet_time">#</a></li>
    <li>分享 [部落格文章] <a href="http://ppt.cc/Md3p" rel="nofollow">http://ppt.cc/Md3p</a> ([Linux] 我的 Gentoo 在 Aspire 3820TG 上的問題。) <a href="http://plurk.com/p/70iecu" rel="nofollow">http://plurk.com/p/70iecu</a> <a href="http://twitter.com/brianhsu/statuses/21500182620" class="aktt_tweet_time">#</a></li>
    <li>說 Gentoo 的一些 Driver 一直無法調到我滿意的狀態，在想要不要給 Sabayon/Ubuntu 一個機會。 (thinking) <a href="http://plurk.com/p/70hnbn" rel="nofollow">http://plurk.com/p/70hnbn</a> <a href="http://twitter.com/brianhsu/statuses/21497321131" class="aktt_tweet_time">#</a></li>
    <li>說 剛剛無意間轉到公視，無意間聽到將『投資』兩個字套用在朋友上，實在覺得很……OOXX。我真的很不喜歡這樣的論點，與人交友只為了利益？！選擇朋友的條件則是他將來對我有沒有用？！這樣的感覺真的很差…… :-&amp; <a href="http://plurk.com/p/70hgi1" rel="nofollow">http://plurk.com/p/70hgi1</a> <a href="http://twitter.com/brianhsu/statuses/21496288296" class="aktt_tweet_time">#</a></li>
    <li>覺得 有些人真好野啊……&gt;_&lt; <a href="http://plurk.com/p/70hdqt" rel="nofollow">http://plurk.com/p/70hdqt</a> <a href="http://twitter.com/brianhsu/statuses/21496235766" class="aktt_tweet_time">#</a></li>
    <li>說 原來我沒有用過 Ubunutu 10.4 耶，我之前手上的光碟好像還是 9.x。XD <a href="http://plurk.com/p/70bpmg" rel="nofollow">http://plurk.com/p/70bpmg</a> <a href="http://twitter.com/brianhsu/statuses/21481587410" class="aktt_tweet_time">#</a></li>
    <li>說 每天 (coding) 是成為不了好野人的啊……淚目。 <a href="http://tinyurl.com/26cmqsx" rel="nofollow">http://tinyurl.com/26cmqsx</a> <a href="http://plurk.com/p/70ak3i" rel="nofollow">http://plurk.com/p/70ak3i</a> <a href="http://twitter.com/brianhsu/statuses/21478972323" class="aktt_tweet_time">#</a></li>
    <li>說 靠，Ubuntu LiveCD 沒內建 VIM？=_= <a href="http://plurk.com/p/7050x0" rel="nofollow">http://plurk.com/p/7050&#215;0</a> <a href="http://twitter.com/brianhsu/statuses/21467457756" class="aktt_tweet_time">#</a></li>
    <li>分享 [部落格文章] <a href="http://ppt.cc/7aW0" rel="nofollow">http://ppt.cc/7aW0</a> (COSCUP 2010 我給 150 分！) <a href="http://plurk.com/p/704wm5" rel="nofollow">http://plurk.com/p/704wm5</a> <a href="http://twitter.com/brianhsu/statuses/21467168484" class="aktt_tweet_time">#</a></li>
    <li>問 在 Windows 2003 裡面開一個 VirtualBox 跑 Gentoo 會不會很瞎？！XD <a href="http://plurk.com/p/704a16" rel="nofollow">http://plurk.com/p/704a16</a> <a href="http://twitter.com/brianhsu/statuses/21465595924" class="aktt_tweet_time">#</a></li>
    <li>說 李杯杯又來亂了……達文西密碼你從幾年才就在譙了，現在還來，是沒哏可以用了嗎？XD <a href="http://plurk.com/p/7027c0" rel="nofollow">http://plurk.com/p/7027c0</a> <a href="http://twitter.com/brianhsu/statuses/21459466390" class="aktt_tweet_time">#</a></li>
    <li>分享 <a href="http://tinyurl.com/2au9w7w" rel="nofollow">http://tinyurl.com/2au9w7w</a> (大腦跑得動的微軟作業系統)：墳墓的大腦可以跑得動微軟的Windows 1.0。 <a href="http://plurk.com/p/701jzy" rel="nofollow">http://plurk.com/p/701jzy</a> <a href="http://twitter.com/brianhsu/statuses/21457168207" class="aktt_tweet_time">#</a></li>
    <li>說 去實驗室寫 COSCUP 心得和補程式碼註解。 <a href="http://plurk.com/p/6zy4ex" rel="nofollow">http://plurk.com/p/6zy4ex</a> <a href="http://twitter.com/brianhsu/statuses/21441983280" class="aktt_tweet_time">#</a></li>
    <li>問 為什麼 N900 在 COSCUP 2010 上賣得不好？ <a href="http://plurk.com/p/6zy0lx" rel="nofollow">http://plurk.com/p/6zy0lx</a> <a href="http://twitter.com/brianhsu/statuses/21441170967" class="aktt_tweet_time">#</a></li>
    <li>說 這幾天快累掛了，睡覺去……zzzz <a href="http://plurk.com/p/6znp8h" rel="nofollow">http://plurk.com/p/6znp8h</a> <a href="http://twitter.com/brianhsu/statuses/21402261595" class="aktt_tweet_time">#</a></li>
    <li>說 一點小改動就要 Commit 到 Testing Server 實在很蠢，所以乾脆想辦法在自己的 Notebook 上建一個本地端測試伺服器。(code) <a href="http://plurk.com/p/6zghg1" rel="nofollow">http://plurk.com/p/6zghg1</a> <a href="http://twitter.com/brianhsu/statuses/21387688984" class="aktt_tweet_time">#</a></li>
    <li>說 上班去。 <a href="http://plurk.com/p/6z6tm3" rel="nofollow">http://plurk.com/p/6z6tm3</a> <a href="http://twitter.com/brianhsu/statuses/21358796759" class="aktt_tweet_time">#</a></li>
    <li>說 下次參加 COSCUP/ODSDC.tw 一定要先寫個 IRC bot 來抓大家的聊天記錄……IRC 實在太歡樂了，錯過可惜。 <a href="http://plurk.com/p/6z6quq" rel="nofollow">http://plurk.com/p/6z6quq</a> <a href="http://twitter.com/brianhsu/statuses/21358372115" class="aktt_tweet_time">#</a></li>
    <li>說 小聲說：其實我一直到現在還不知道，為什麼 COSCUP 有這麼多小綠綠出現，還有，為什麼看照片明明有這麼多小綠綠，兩天下來我卻只有在拿便當的時候才看到一隻小綠綠。:p <a href="http://plurk.com/p/6z0tqp" rel="nofollow">http://plurk.com/p/6z0tqp</a> <a href="http://twitter.com/brianhsu/statuses/21327394971" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/392gtq5" rel="nofollow">http://tinyurl.com/392gtq5</a> (墳墓的腦容量為：32MB)！真是太準了，難怪我每次都忘東忘西的。 <a href="http://plurk.com/p/6z0mma" rel="nofollow">http://plurk.com/p/6z0mma</a> <a href="http://twitter.com/brianhsu/statuses/21326835075" class="aktt_tweet_time">#</a></li>
    <li>說 最後 Hybrid Card 還是搞不定，算了，反正也不常用電池。&gt;_&lt; 改天拿其 distro 的 Kernel 來研究一下好了。 <a href="http://plurk.com/p/6yz2k0" rel="nofollow">http://plurk.com/p/6yz2k0</a> <a href="http://twitter.com/brianhsu/statuses/21323136894" class="aktt_tweet_time">#</a></li>
    <li>說 不知道是不是聽慣了，或是真的有進步，覺得後面這幾集好蘿的中配還不錯。汝這個爛好人！ <a href="http://plurk.com/p/6ytofm" rel="nofollow">http://plurk.com/p/6ytofm</a> <a href="http://twitter.com/brianhsu/statuses/21309516991" class="aktt_tweet_time">#</a></li>
    <li>說 PTT Java 版上的 #<a href="http://search.twitter.com/search?q=%231CPL6ss3" class="aktt_hashtag">1CPL6ss3</a> 也太囧了吧……orz. <a href="http://plurk.com/p/6ys1vk" rel="nofollow">http://plurk.com/p/6ys1vk</a> <a href="http://twitter.com/brianhsu/statuses/21305771674" class="aktt_tweet_time">#</a></li>
    <li>說 OpenFoundry 最大調動嗎？怎麼最近這幾期電子報都開出那麼多職缺？ <a href="http://plurk.com/p/6yrmzv" rel="nofollow">http://plurk.com/p/6yrmzv</a> <a href="http://twitter.com/brianhsu/statuses/21304859076" class="aktt_tweet_time">#</a></li>
    <li>說 快累掛了，回家休息。 :p <a href="http://plurk.com/p/6yqszw" rel="nofollow">http://plurk.com/p/6yqszw</a> <a href="http://twitter.com/brianhsu/statuses/21303209983" class="aktt_tweet_time">#</a></li>
    <li>覺得 COSCUP/ODSC.tw 常常 IRC 上的東西比講台上還精彩。XD <a href="http://plurk.com/p/6yqnr7" rel="nofollow">http://plurk.com/p/6yqnr7</a> <a href="http://twitter.com/brianhsu/statuses/21302914723" class="aktt_tweet_time">#</a></li>
    <li>說 喔！PM 剛剛說找到人了。 :p <a href="http://plurk.com/p/6yqikr" rel="nofollow">http://plurk.com/p/6yqikr</a> <a href="http://twitter.com/brianhsu/statuses/21302659285" class="aktt_tweet_time">#</a></li>
    <li>問 七夕是啥，可以吃嗎？ (hungry) <a href="http://plurk.com/p/6yn6vf" rel="nofollow">http://plurk.com/p/6yn6vf</a> <a href="http://twitter.com/brianhsu/statuses/21295958388" class="aktt_tweet_time">#</a></li>
    <li>問 如果本身就有 Lucene Index，再去用 Solr 會變脫褲子放屁，不如直接用 Lucene API 自己寫 Search 的功能？ (thinking) <a href="http://plurk.com/p/6ymewn" rel="nofollow">http://plurk.com/p/6ymewn</a> <a href="http://twitter.com/brianhsu/statuses/21294348738" class="aktt_tweet_time">#</a></li>
    <li>說 OK，所以就算有 Scala 的 Code 放到沒有 Scala-plugins 的 Eclipse 也沒問題，只是不會動而已（廢話）。那我可以安心用 ScalaTest 來做 BDD 了！這是第一次在工作上用！ <a href="http://plurk.com/p/6yggmx" rel="nofollow">http://plurk.com/p/6yggmx</a> <a href="http://twitter.com/brianhsu/statuses/21276098392" class="aktt_tweet_time">#</a></li>
    <li>問 到底 3rd party library/Eclipse project  file 該不該進版本控制系統？！ (thinking) <a href="http://plurk.com/p/6ygdxb" rel="nofollow">http://plurk.com/p/6ygdxb</a> <a href="http://twitter.com/brianhsu/statuses/21275826021" class="aktt_tweet_time">#</a></li>
    <li>說 這次的準備真的不夠，我在反省了，昨天晚上又想到其實還有很多可以改進的地方，時間上的掌握也不是很好:-&amp;。 所以明年我要再接再力投稿 OSDC.tw/COSCUP 來雪恥（誤）！而且 LT 的題目也想好了（這是真的）！&#8230; <a href="http://plurk.com/p/6yf9nv" rel="nofollow">http://plurk.com/p/6yf9nv</a> <a href="http://twitter.com/brianhsu/statuses/21271108198" class="aktt_tweet_time">#</a></li>
    <li>說 現在根本是看到噗浪上有未讀訊息，就直覺得按下『全部標為已讀』。XDD 要追實在太累了。 <a href="http://plurk.com/p/6yb2cv" rel="nofollow">http://plurk.com/p/6yb2cv</a> <a href="http://twitter.com/brianhsu/statuses/21243167395" class="aktt_tweet_time">#</a></li>
    <li>說 睡，明天要開始 BDD 專案經理決定砍掉重練的程式！ XD <a href="http://plurk.com/p/6yanlx" rel="nofollow">http://plurk.com/p/6yanlx</a> <a href="http://twitter.com/brianhsu/statuses/21242239912" class="aktt_tweet_time">#</a></li>
    <li>說 我哪有什麼好百聞不如一見的啊。@_@ 去 COSCUP 等場合，真正該百聞不如一見的是像宅色夫這類的奇葩才是。 <a href="http://plurk.com/p/6yamg9" rel="nofollow">http://plurk.com/p/6yamg9</a> <a href="http://twitter.com/brianhsu/statuses/21242171274" class="aktt_tweet_time">#</a></li>
    <li>說 兩天的 COSCUP 下來比上班還累。orz&#8230; <a href="http://plurk.com/p/6y9ch2" rel="nofollow">http://plurk.com/p/6y9ch2</a> <a href="http://twitter.com/brianhsu/statuses/21239465984" class="aktt_tweet_time">#</a></li>
    <li>說 想弄一把烏克利利來玩玩看。:p <a href="http://plurk.com/p/6xy1ym" rel="nofollow">http://plurk.com/p/6xy1ym</a> <a href="http://twitter.com/brianhsu/statuses/21215141676" class="aktt_tweet_time">#</a></li>
    <li>說 [COSCUP] 果然講得很虛啊……orz&#8230; <a href="http://plurk.com/p/6xujec" rel="nofollow">http://plurk.com/p/6xujec</a> <a href="http://twitter.com/brianhsu/statuses/21204160683" class="aktt_tweet_time">#</a></li>
    <li>說 [COSCUP] 到國際會議廳囉！ <a href="http://plurk.com/p/6xrc5c" rel="nofollow">http://plurk.com/p/6xrc5c</a> <a href="http://twitter.com/brianhsu/statuses/21189856535" class="aktt_tweet_time">#</a></li>
    <li>說 睡，明天早點去搶座位再來改投影片。XD <a href="http://plurk.com/p/6xmu74" rel="nofollow">http://plurk.com/p/6xmu74</a> <a href="http://twitter.com/brianhsu/statuses/21161723488" class="aktt_tweet_time">#</a></li>
    <li>說 [COSCUP] 總算把程式寫完了……不過總覺得要 DEMO 的東西好虛……orz.. <a href="http://plurk.com/p/6xmf3u" rel="nofollow">http://plurk.com/p/6xmf3u</a> <a href="http://twitter.com/brianhsu/statuses/21160642328" class="aktt_tweet_time">#</a></li>
    <li>說 我果然是不見棺才不掉淚的類型啊……現在才開始寫明天早上要 Live Demo 的程式碼。orz&#8230; <a href="http://plurk.com/p/6xhyvn" rel="nofollow">http://plurk.com/p/6xhyvn</a> <a href="http://twitter.com/brianhsu/statuses/21149869790" class="aktt_tweet_time">#</a></li>
    <li>說 [COSCUP] <a href="http://tinyurl.com/239e6qu" rel="nofollow">http://tinyurl.com/239e6qu</a> <a href="http://tinyurl.com/28e6dno" rel="nofollow">http://tinyurl.com/28e6dno</a> <a href="http://tinyurl.com/2cnlufj" rel="nofollow">http://tinyurl.com/2cnlufj</a> COSCUP Digital Art&#8230; <a href="http://plurk.com/p/6xcv9h" rel="nofollow">http://plurk.com/p/6xcv9h</a> <a href="http://twitter.com/brianhsu/statuses/21137781872" class="aktt_tweet_time">#</a></li>
    <li>說 [COSCUP] 要跑 4 個 Track 好累……&gt;_&lt; <a href="http://plurk.com/p/6xcm71" rel="nofollow">http://plurk.com/p/6xcm71</a> <a href="http://twitter.com/brianhsu/statuses/21137201073" class="aktt_tweet_time">#</a></li>
    <li>說 [COSCUP] Room3 裡面出現了 <a href="http://tinyurl.com/59kbeq" rel="nofollow">http://tinyurl.com/59kbeq</a> (Aris) 和初音 Miku！ <a href="http://plurk.com/p/6xc4ix" rel="nofollow">http://plurk.com/p/6xc4ix</a> <a href="http://twitter.com/brianhsu/statuses/21136044665" class="aktt_tweet_time">#</a></li>
    <li>說 [COSCUP2010] 我發現我明天的 Track 是在國際會議廳耶。（抖） <a href="http://plurk.com/p/6x6ctn" rel="nofollow">http://plurk.com/p/6x6ctn</a> <a href="http://twitter.com/brianhsu/statuses/21117581003" class="aktt_tweet_time">#</a></li>
    <li>說 [COSCUP] 搶到國際會議廳的位置啦！http://tinyurl.com/23hpzh8 <a href="http://tinyurl.com/2c3njxv" rel="nofollow">http://tinyurl.com/2c3njxv</a> <a href="http://plurk.com/p/6x4dn4" rel="nofollow">http://plurk.com/p/6x4dn4</a> <a href="http://twitter.com/brianhsu/statuses/21108383888" class="aktt_tweet_time">#</a></li>
    <li>分享 [部落格文章] <a href="http://ppt.cc/R~Zm" rel="nofollow">http://ppt.cc/R~Zm</a> (本週的自言自語（2010-08-14）) <a href="http://plurk.com/p/6x41ri" rel="nofollow">http://plurk.com/p/6x41ri</a> <a href="http://twitter.com/brianhsu/statuses/21106336338" class="aktt_tweet_time">#</a></li>
</ul>

<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bone.twbbs.org.tw/blog/archives/1498/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Linux] 我的 Gentoo 在 Aspire 3820TG 上的問題。</title>
		<link>http://bone.twbbs.org.tw/blog/archives/1495</link>
		<comments>http://bone.twbbs.org.tw/blog/archives/1495#comments</comments>
		<pubDate>Wed, 18 Aug 2010 14:53:46 +0000</pubDate>
		<dc:creator>墳墓 (BrianHsu)</dc:creator>
				<category><![CDATA[雜七雜八]]></category>

		<guid isPermaLink="false">http://bone.twbbs.org.tw/blog/?p=1495</guid>
		<description><![CDATA[Gentoo 是個很棒的 Linux distro，我非常喜歡他的 Portage 套件管理系統，以及所有設定檔都可以用純文字改動的方式（很且很好找），但 Gentoo 在我的 Aspire 3820TG 上遇到了一些問題，雖然不至於無法使用，但用起來總是不夠爽。 所以這幾天在思考一下是不是該找一些其他的 Distro 來試試看，目前考慮的有以下兩個： Ubuntu 10.04 這就不用說了，非常多人用，或許會比較成熟，有問題也比較找得到資料 Sabayon Linux 5.3 和 Ubuntu 與 Debain 的關係一樣，Sabayon 的底層是 Gentoo，而且 5.3 是兩個月前才發佈的，或許問題會比較少。 下面則是簡單的記一下我目前面臨到的問題： 電池續航力（有噗友說可以到 5hr，但我目前最高到 3hr，還是差很多） 雙顯卡的控制（我目前如果 BIOS 沒有調成獨立顯卡，會有很奇怪的行為，偶爾會 hang 住） ATI flgrx Drvier 跑不起來 Xorg 的 Radeon Driver，無法使用外接螢幕 Framebuffer/DRI/X Driver 的複雜交互作用搞到死 Disk IO 的 Performance 好像不是很理想 大致上是這些問題，都不是大問題，但就像蚊子或蒼蠅一樣，時不時就來搞我一下，讓我有點煩。 [...]]]></description>
			<content:encoded><![CDATA[<p>Gentoo 是個很棒的 Linux distro，我非常喜歡他的 Portage 套件管理系統，以及所有設定檔都可以用純文字改動的方式（很且很好找），但 Gentoo 在我的 Aspire 3820TG 上遇到了一些問題，雖然不至於無法使用，但用起來總是不夠爽。</p>

<p>所以這幾天在思考一下是不是該找一些其他的 Distro 來試試看，目前考慮的有以下兩個：</p>

<ul>
    <li><a href="http://www.ubuntu-tw.org/">Ubuntu 10.04</a> 這就不用說了，非常多人用，或許會比較成熟，有問題也比較找得到資料</li>
    <li><a href="http://forum.sabayon.org/viewtopic.php?f=60&amp;t=20821">Sabayon Linux 5.3</a> 和 Ubuntu 與 Debain 的關係一樣，Sabayon 的底層是 Gentoo，而且 5.3 是兩個月前才發佈的，或許問題會比較少。</li>
</ul>

<p>下面則是簡單的記一下我目前面臨到的問題：</p>

<ol>
    <li>電池續航力（有噗友說可以到 5hr，但我目前最高到 3hr，還是差很多）</li>
    <li>雙顯卡的控制（我目前如果 BIOS 沒有調成獨立顯卡，會有很奇怪的行為，偶爾會 hang 住）</li>
    <li>ATI flgrx Drvier 跑不起來</li>
    <li>Xorg 的 Radeon Driver，無法使用外接螢幕</li>
    <li>Framebuffer/DRI/X Driver 的複雜交互作用搞到死</li>
    <li>Disk IO 的 Performance 好像不是很理想</li>
</ol>

<p>大致上是這些問題，都不是大問題，但就像蚊子或蒼蠅一樣，時不時就來搞我一下，讓我有點煩。</p>

<p>當然，就算換了其他的 Distro 來試，最終的目的還是要回到 Gentoo 的懷抱滴，只是打算從其他 Distro 那邊找找看解決方案而已。沒辦法，Gentoo 的整個架構實在太美了，一整個打中我的痛點吶！</p>
]]></content:encoded>
			<wfw:commentRss>http://bone.twbbs.org.tw/blog/archives/1495/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>COSCUP 2010 我給 150 分！</title>
		<link>http://bone.twbbs.org.tw/blog/archives/1490</link>
		<comments>http://bone.twbbs.org.tw/blog/archives/1490#comments</comments>
		<pubDate>Wed, 18 Aug 2010 05:55:50 +0000</pubDate>
		<dc:creator>墳墓 (BrianHsu)</dc:creator>
				<category><![CDATA[心情日記]]></category>

		<guid isPermaLink="false">http://bone.twbbs.org.tw/blog/?p=1490</guid>
		<description><![CDATA[COSCUP 2010 上魔法設計師帶來的 MikuCOSCUP 2010 上魔法設計師帶來的 Miku(View at PicasaWeb) COSCUP 2010 在星期天終於結束了，連續兩天的活動全程跑下來，感覺比上班還要累啊…… 話說如果要評分的話，這次 COSCUP 如果滿分是一百分，要說我會給兩百分那就是矯情了，我大概會給個一百二十到一百五十分吧。 其中被扣分的地方是報名系統這次出的包實在是太大了，讓參加者洗了一次三溫暖，然後工作人員的負擔也加重（工作人員也是人啊）。 不論如何，這次 COSCUP 辦得很成功是無庸至疑的，唯一的問題在於我覺得我自己的那一場因為準備不足，實在講得很糟糕啊，內容很虛而且時間也沒掌握好。（掩面奔） 所以，我明年也會繼續投稿 COSCUP 來雪恥！而且我的 LT 題目也已經想好了：Live IRC 救 Presentation（誤）。 回到正題，這次 COSCUP 或許是和 GNOME.Asia 合辦的關係，主題涵蓋的相當廣，而且四軌議程同時進行，這個時候就會好想要有影分身術啊！因為常常四場都很想聽。 但這次印象比較深刻的應該算是 FLOSS &#38; Digital Art  這一軌的議程。 其中聖博介紹的 Processing 早有耳聞，但一直不知道他到底可以做到什麼樣的效果，這次透過聖博的 Live Demo  和作品介紹，總算稍微了解 Processing 好玩的地方了！（透過寫程式來做 MV 實在是太好玩啦，害我也想試試看拿來做 MAD）。 而魔法設計師的那一場，雖然感覺和自由軟體沒啥關係，但因為出現了初音的 PVC  所以加一百分！（誤） 喔，不是，我是說他的那一場給我對於音樂又一種不同的看法，而第二天的茶點時間跑去和他攀談，問了一些像是我這種五音不全又沒節驟感的人要怎麼樣接觸音樂之類的問題。 聽了他的說法後，害我想去買一把烏克麗麗來玩了啦。&#62;_&#60; 最後，第一天下午依瑪貓示範的 [...]]]></description>
			<content:encoded><![CDATA[<div class="shashin_image" style="width: 298px; float: right; clear: none;"><a href="http://lh5.ggpht.com/_MdBWjiltj8o/TGZeYdxtXJI/AAAAAAAAI4E/CYdT4Bdj12g/P1020305.JPG?imgmax=640" class="highslide" id="thumb12" onclick="return hs.expand(this, { autoplay: false, slideshowGroup: 'groupNone' })"><img src="http://lh5.ggpht.com/_MdBWjiltj8o/TGZeYdxtXJI/AAAAAAAAI4E/CYdT4Bdj12g/P1020305.JPG?imgmax=288" alt="COSCUP 2010 上魔法設計師帶來的 Miku" title="COSCUP 2010 上魔法設計師帶來的 Miku" width="288" height="192" /></a><span class="shashin_caption">COSCUP 2010 上魔法設計師帶來的 Miku</span><div class="highslide-caption">COSCUP 2010 上魔法設計師帶來的 Miku(<a href="http://picasaweb.google.com.tw/brianhsu.hsu/COSCUP2010#5505191368910003346">View at PicasaWeb</a>)</div></div>

<p><a href="http://coscup.org/2010/zh-tw">COSCUP 2010</a> 在星期天終於結束了，連續兩天的活動全程跑下來，感覺比上班還要累啊……</p>

<p>話說如果要評分的話，這次 COSCUP 如果滿分是一百分，要說我會給兩百分那就是矯情了，我大概會給個一百二十到一百五十分吧。</p>

<p>其中被扣分的地方是報名系統這次出的包實在是太大了，讓參加者洗了一次三溫暖，然後工作人員的負擔也加重（工作人員也是人啊）。</p>

<p>不論如何，這次 COSCUP 辦得很成功是無庸至疑的，唯一的問題在於我覺得我自己的那一場因為準備不足，實在講得很糟糕啊，內容很虛而且時間也沒掌握好。（掩面奔）</p>

<p>所以，我明年也會繼續投稿 COSCUP 來雪恥！而且我的 LT 題目也已經想好了：Live IRC 救 Presentation（誤）。</p>

<p>回到正題，這次 COSCUP 或許是和 GNOME.Asia 合辦的關係，主題涵蓋的相當廣，而且四軌議程同時進行，這個時候就會好想要有影分身術啊！因為常常四場都很想聽。</p>

<p>但這次印象比較深刻的應該算是 FLOSS &amp; Digital Art  這一軌的議程。</p>

<p>其中聖博介紹的 <a href="http://processing.org/">Processing </a>早有耳聞，但一直不知道他到底可以做到什麼樣的效果，這次透過聖博的 Live Demo  和作品介紹，總算稍微了解 Processing 好玩的地方了！（透過寫程式來做 MV 實在是太好玩啦，害我也想試試看拿來做 MAD）。</p>

<p><a href="http://coscup.org/2010/en/program/abstracts#programmer-and-musician">而魔法設計師</a>的那一場，雖然感覺和自由軟體沒啥關係，但因為出現了初音的 PVC  所以加一百分！（誤）</p>

<p>喔，不是，我是說他的那一場給我對於音樂又一種不同的看法，而第二天的茶點時間跑去和他攀談，問了一些像是我這種五音不全又沒節驟感的人要怎麼樣接觸音樂之類的問題。</p>

<p>聽了他的說法後，害我想去買一把<a href="http://zh.wikipedia.org/zh-tw/%E7%83%8F%E5%85%8B%E9%BA%97%E9%BA%97">烏克麗麗</a>來玩了啦。&gt;_&lt;</p>

<p>最後，第一天下午依瑪貓示範的 OpenOffice.org 魔術真的超神奇的說，我完全沒有想過竟然可以透過網路來即時操作 OpenOffice 耶！杰克，這真是太神奇了！</p>

<p>總而言之，這次的 COSCUP 我只能說，我給所有人一個 GJ （除了我自己之外）。</p>

<p>但話說回來，我不同意這句『<a href="http://www.plurk.com/p/6y4t56">今天參加完coscup，我覺得更確定自已喜歡的東西是什麼了！！</a>』。</p>

<p>因為，每個人講的東西都好好玩，害我更加不知道我應該要先玩什麼了啦！&gt;_&lt;</p>
]]></content:encoded>
			<wfw:commentRss>http://bone.twbbs.org.tw/blog/archives/1490/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>本週的自言自語（2010-08-14）</title>
		<link>http://bone.twbbs.org.tw/blog/archives/1489</link>
		<comments>http://bone.twbbs.org.tw/blog/archives/1489#comments</comments>
		<pubDate>Fri, 13 Aug 2010 16:00:00 +0000</pubDate>
		<dc:creator>墳墓 (BrianHsu)</dc:creator>
				<category><![CDATA[雜七雜八]]></category>

		<guid isPermaLink="false">http://bone.twbbs.org.tw/blog/archives/1489</guid>
		<description><![CDATA[說 [http://www.plurk.com/p/6x1ros (rep)] http://tinyurl.com/2c5j27b (Software Engineer (Scala))，和 SOHO 一樣不適合我，我&#8230; http://plurk.com/p/6x3eg9 # 說 睡，明天一早去中研院參加 COSCUP。不過話說回來，這樣好像和平常去上班沒啥兩樣？連時間都差不多。XDDD http://plurk.com/p/6wumik # 說 淚推 XDite 的這段話：『Q: 把所有東西進版本控制有這麼重要嗎，我不覺得耶？ A: 那是因為你還沒長大 -_-&#124;&#124;&#124;… 長大你就懂了。』 http://plurk.com/p/6wqkcm # 說 http://tinyurl.com/2665ne2 原來港中的同學喜歡海賊啊……(00:41 處) http://plurk.com/p/6wmrj2 # 說 在砍掉重練之前，要先好好菸酒菸酒一下到底要重練哪些功能…… http://plurk.com/p/6wltc3 # 說 因為是連貓都會的主題，那就靠 Live Demo 決勝負唄！問題是……我範例還沒想出來。（掩面奔） http://plurk.com/p/6wlqbl # 說 星期日要在COSCUP講的主題總算有兩頁投影片了－－標題＋Thanks! XDDD http://plurk.com/p/6wkenm # 覺得 還是微糖烏龍茶比較好喝。&#62;_&#60; http://plurk.com/p/6wj94b # 說 我今天一定要吃燒鴨！ [...]]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
    <li>說 [http://www.plurk.com/p/6x1ros (rep)] <a href="http://tinyurl.com/2c5j27b" rel="nofollow">http://tinyurl.com/2c5j27b</a> (Software Engineer (Scala))，和 SOHO 一樣不適合我，我&#8230; <a href="http://plurk.com/p/6x3eg9" rel="nofollow">http://plurk.com/p/6x3eg9</a> <a href="http://twitter.com/brianhsu/statuses/21101534773" class="aktt_tweet_time">#</a></li>
    <li>說 睡，明天一早去中研院參加 COSCUP。不過話說回來，這樣好像和平常去上班沒啥兩樣？連時間都差不多。XDDD <a href="http://plurk.com/p/6wumik" rel="nofollow">http://plurk.com/p/6wumik</a> <a href="http://twitter.com/brianhsu/statuses/21065290265" class="aktt_tweet_time">#</a></li>
    <li>說 淚推 XDite 的這段話：『Q: 把所有東西進版本控制有這麼重要嗎，我不覺得耶？
A: 那是因為你還沒長大 -_-|||… 長大你就懂了。』 <a href="http://plurk.com/p/6wqkcm" rel="nofollow">http://plurk.com/p/6wqkcm</a> <a href="http://twitter.com/brianhsu/statuses/21054736593" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/2665ne2" rel="nofollow">http://tinyurl.com/2665ne2</a> 原來港中的同學喜歡海賊啊……(00:41 處) <a href="http://plurk.com/p/6wmrj2" rel="nofollow">http://plurk.com/p/6wmrj2</a> <a href="http://twitter.com/brianhsu/statuses/21046364214" class="aktt_tweet_time">#</a></li>
    <li>說 在砍掉重練之前，要先好好菸酒菸酒一下到底要重練哪些功能…… <a href="http://plurk.com/p/6wltc3" rel="nofollow">http://plurk.com/p/6wltc3</a> <a href="http://twitter.com/brianhsu/statuses/21044065981" class="aktt_tweet_time">#</a></li>
    <li>說 因為是連貓都會的主題，那就靠 Live Demo 決勝負唄！問題是……我範例還沒想出來。（掩面奔） <a href="http://plurk.com/p/6wlqbl" rel="nofollow">http://plurk.com/p/6wlqbl</a> <a href="http://twitter.com/brianhsu/statuses/21043845048" class="aktt_tweet_time">#</a></li>
    <li>說 星期日要在COSCUP講的主題總算有兩頁投影片了－－標題＋Thanks! XDDD <a href="http://plurk.com/p/6wkenm" rel="nofollow">http://plurk.com/p/6wkenm</a> <a href="http://twitter.com/brianhsu/statuses/21040315106" class="aktt_tweet_time">#</a></li>
    <li>覺得 還是微糖烏龍茶比較好喝。&gt;_&lt; <a href="http://plurk.com/p/6wj94b" rel="nofollow">http://plurk.com/p/6wj94b</a> <a href="http://twitter.com/brianhsu/statuses/21036963402" class="aktt_tweet_time">#</a></li>
    <li>說 我今天一定要吃燒鴨！ <a href="http://plurk.com/p/6winiq" rel="nofollow">http://plurk.com/p/6winiq</a> <a href="http://twitter.com/brianhsu/statuses/21035023474" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/28krpcs" rel="nofollow">http://tinyurl.com/28krpcs</a> (伝説の番組「あいのり」復活！１２月から)，戀愛巴士要繼續耶！ <a href="http://plurk.com/p/6we35q" rel="nofollow">http://plurk.com/p/6we35q</a> <a href="http://twitter.com/brianhsu/statuses/21016288876" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/386wkz9" rel="nofollow">http://tinyurl.com/386wkz9</a> 只有我一個人覺得這首歌是在講一個瘋狂殺人魔的故事嗎？XDDD <a href="http://plurk.com/p/6wdzhs" rel="nofollow">http://plurk.com/p/6wdzhs</a> <a href="http://twitter.com/brianhsu/statuses/21015628697" class="aktt_tweet_time">#</a></li>
    <li>說 咦咦咦咦，COSCUP 就在明天？！嗚……『連貓都會的 BDD』投影片頁數還是零耶。&gt;_&lt; <a href="http://plurk.com/p/6wdu83" rel="nofollow">http://plurk.com/p/6wdu83</a> <a href="http://twitter.com/brianhsu/statuses/21014595672" class="aktt_tweet_time">#</a></li>
    <li>說 好像太早起來了？！現在才七點十分啊……=_= <a href="http://plurk.com/p/6wdpnw" rel="nofollow">http://plurk.com/p/6wdpnw</a> <a href="http://twitter.com/brianhsu/statuses/21013624799" class="aktt_tweet_time">#</a></li>
    <li>說 同學……表演工作坊本來就不是相聲團好不好，老實說『這一夜』系列本來也就不能稱為是相聲，是相聲的『墓誌銘』。=_= <a href="http://plurk.com/p/6w77pg" rel="nofollow">http://plurk.com/p/6w77pg</a> <a href="http://twitter.com/brianhsu/statuses/20981922277" class="aktt_tweet_time">#</a></li>
    <li>說 我的投影片還是 0 頁啊……orz&#8230;. <a href="http://plurk.com/p/6w6ig7" rel="nofollow">http://plurk.com/p/6w6ig7</a> <a href="http://twitter.com/brianhsu/statuses/20980332408" class="aktt_tweet_time">#</a></li>
    <li>說 XPathAPI.selectNodeIterator 有替代品嗎？看到一堆 Warning 很煩……=_= <a href="http://plurk.com/p/6vvdq5" rel="nofollow">http://plurk.com/p/6vvdq5</a> <a href="http://twitter.com/brianhsu/statuses/20955079924" class="aktt_tweet_time">#</a></li>
    <li>說 『計數器加一』，這是什麼鬼註解？=_= <a href="http://plurk.com/p/6vv7zg" rel="nofollow">http://plurk.com/p/6vv7zg</a> <a href="http://twitter.com/brianhsu/statuses/20954679058" class="aktt_tweet_time">#</a></li>
    <li>說 Eclipse 一直 crash 是怎樣……=_= 所以我才說我討厭 IDE 嘛！ <a href="http://plurk.com/p/6vtdc5" rel="nofollow">http://plurk.com/p/6vtdc5</a> <a href="http://twitter.com/brianhsu/statuses/20950398642" class="aktt_tweet_time">#</a></li>
    <li>說 老實說……要面對這一堆盤根錯節、錯綜複雜，看起來像一沱○的程式碼，挑戰性並不會比之前的工作小啊。XDDD <a href="http://plurk.com/p/6vd7vu" rel="nofollow">http://plurk.com/p/6vd7vu</a> <a href="http://twitter.com/brianhsu/statuses/20884421706" class="aktt_tweet_time">#</a></li>
    <li>說 睡～～今天早點睡，然後明天早點去實驗室。:p <a href="http://plurk.com/p/6vd01r" rel="nofollow">http://plurk.com/p/6vd01r</a> <a href="http://twitter.com/brianhsu/statuses/20883892303" class="aktt_tweet_time">#</a></li>
    <li>說 沒有哏可以拿來做投影片……我可以 Live Demo 30 分鐘嗎？（大誤） <a href="http://plurk.com/p/6v9565" rel="nofollow">http://plurk.com/p/6v9565</a> <a href="http://twitter.com/brianhsu/statuses/20874988189" class="aktt_tweet_time">#</a></li>
    <li>說 到一段落，先回家整理一下思緒，想想看接下來到底要從哪裡著手…… <a href="http://plurk.com/p/6v8jvt" rel="nofollow">http://plurk.com/p/6v8jvt</a> <a href="http://twitter.com/brianhsu/statuses/20873671442" class="aktt_tweet_time">#</a></li>
    <li>說 眼精脫窗，隨身碟就放辦公桌上，我還一直以為放在家裡。=_= <a href="http://plurk.com/p/6v7fqv" rel="nofollow">http://plurk.com/p/6v7fqv</a> <a href="http://twitter.com/brianhsu/statuses/20871279087" class="aktt_tweet_time">#</a></li>
    <li>說 上班去。 <a href="http://plurk.com/p/6uxabw" rel="nofollow">http://plurk.com/p/6uxabw</a> <a href="http://twitter.com/brianhsu/statuses/20838438587" class="aktt_tweet_time">#</a></li>
    <li>說 CWT25 Day2 有http://tinyurl.com/26xczos (四葉妹妹和阿愣)耶，可是我沒看到。:( <a href="http://plurk.com/p/6uxa8x" rel="nofollow">http://plurk.com/p/6uxa8x</a> <a href="http://twitter.com/brianhsu/statuses/20838426588" class="aktt_tweet_time">#</a></li>
    <li>說 早安。今日預計：整理程式碼到 Git，還有下班後要做 COSCUP 投影片，不然要開天窗了，囧。 <a href="http://plurk.com/p/6uwuno" rel="nofollow">http://plurk.com/p/6uwuno</a> <a href="http://twitter.com/brianhsu/statuses/20835553519" class="aktt_tweet_time">#</a></li>
    <li>說 我也要去睡啦！明天早上去實驗室正式把程式碼整理到 Git 上！ <a href="http://plurk.com/p/6uo84j" rel="nofollow">http://plurk.com/p/6uo84j</a> <a href="http://twitter.com/brianhsu/statuses/20797285156" class="aktt_tweet_time">#</a></li>
    <li>覺得 被騙了……封面畫的是天使，內容物卻是滿滿的游離子。還我天使來！ (angry) <a href="http://plurk.com/p/6unx8d" rel="nofollow">http://plurk.com/p/6unx8d</a> <a href="http://twitter.com/brianhsu/statuses/20796842138" class="aktt_tweet_time">#</a></li>
    <li>分享 [部落格文章] <a href="http://ppt.cc/RYaT" rel="nofollow">http://ppt.cc/RYaT</a> (Windows 上架設 Git 伺服器。) <a href="http://plurk.com/p/6unfrr" rel="nofollow">http://plurk.com/p/6unfrr</a> <a href="http://twitter.com/brianhsu/statuses/20795523941" class="aktt_tweet_time">#</a></li>
    <li>說 耍蠢了，一直 Google 著 Git Windows SSH Server 然後試不成功……但仔細想想，以我的狀況來說，我直接把 Git Repo 開網芳分享然後掛成網路磁碟不就好了嗎？XDDD <a href="http://plurk.com/p/6umnx9" rel="nofollow">http://plurk.com/p/6umnx9</a> <a href="http://twitter.com/brianhsu/statuses/20793596028" class="aktt_tweet_time">#</a></li>
    <li>說 Ya! 房間整理完了～～～不過書櫃還是一樣亂……orz&#8230; <a href="http://plurk.com/p/6ukirt" rel="nofollow">http://plurk.com/p/6ukirt</a> <a href="http://twitter.com/brianhsu/statuses/20788646823" class="aktt_tweet_time">#</a></li>
    <li>說 房間亂到爆炸，等下要來好好整頓一下……我不過就是去參加了兩天半的 CWT 而已啊。orz&#8230; <a href="http://plurk.com/p/6uj3qj" rel="nofollow">http://plurk.com/p/6uj3qj</a> <a href="http://twitter.com/brianhsu/statuses/20785399454" class="aktt_tweet_time">#</a></li>
    <li>說 Ya！Lucence 試驗完了～～～接下來要想想看怎麼讓他真的可以動。 <a href="http://plurk.com/p/6uflfa" rel="nofollow">http://plurk.com/p/6uflfa</a> <a href="http://twitter.com/brianhsu/statuses/20777898673" class="aktt_tweet_time">#</a></li>
    <li>說 [時代的眼淚] <a href="http://tinyurl.com/yzd7vbr" rel="nofollow">http://tinyurl.com/yzd7vbr</a> <a href="http://tinyurl.com/3x6wmvs" rel="nofollow">http://tinyurl.com/3x6wmvs</a> <a href="http://tinyurl.com/35ww5wd" rel="nofollow">http://tinyurl.com/35ww5wd</a> 不過真人版的櫻還是好可愛。:p <a href="http://plurk.com/p/6ucn0l" rel="nofollow">http://plurk.com/p/6ucn0l</a> <a href="http://twitter.com/brianhsu/statuses/20770468820" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/dxq56t" rel="nofollow">http://tinyurl.com/dxq56t</a> 新谷良子妳不適合走這個路線啦！&gt;_&lt; 還是超強運元氣天然呆梅爾優的 Eternal Love 2007 比較好。 <a href="http://tinyurl.com/26vxqr.." rel="nofollow">http://tinyurl.com/26vxqr..</a>. <a href="http://plurk.com/p/6uce31" rel="nofollow">http://plurk.com/p/6uce31</a> <a href="http://twitter.com/brianhsu/statuses/20769773089" class="aktt_tweet_time">#</a></li>
    <li>說 debug 訊息的顯示真是大學問吶……太多找不到重點，太少不知道發生啥事。&gt;_&lt; <a href="http://plurk.com/p/6u8q73" rel="nofollow">http://plurk.com/p/6u8q73</a> <a href="http://twitter.com/brianhsu/statuses/20757131384" class="aktt_tweet_time">#</a></li>
    <li>打算 把表演工作坊的 DVD 全收齊……但這可是一個超級大坑啊。(thinking) 另外，如夢之夢還是沒出。orz&#8230;. <a href="http://plurk.com/p/6u6vkh" rel="nofollow">http://plurk.com/p/6u6vkh</a> <a href="http://twitter.com/brianhsu/statuses/20749154275" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/2fr94yx" rel="nofollow">http://tinyurl.com/2fr94yx</a> 這是真人版初音 Miku 啊……XDDD <a href="http://plurk.com/p/6u6m5v" rel="nofollow">http://plurk.com/p/6u6m5v</a> <a href="http://twitter.com/brianhsu/statuses/20747596941" class="aktt_tweet_time">#</a></li>
    <li>說 鬼門開，我要回去地底睡覺了。（誤） (sleeping) <a href="http://plurk.com/p/6u15ak" rel="nofollow">http://plurk.com/p/6u15ak</a> <a href="http://twitter.com/brianhsu/statuses/20717623578" class="aktt_tweet_time">#</a></li>
    <li>說 我想起來了……我要噗的是Yes123去死啦，每天一直發垃圾信來，沒一天間斷，討厭死啦！&gt;_&lt; <a href="http://plurk.com/p/6u0icm" rel="nofollow">http://plurk.com/p/6u0icm</a> <a href="http://twitter.com/brianhsu/statuses/20716632276" class="aktt_tweet_time">#</a></li>
    <li>說 喔，卡馬破九十了。好 Lucene，不找一下嗎？（兩者完全無關）。然後，我又忘記我原本到底要噗什麼了。XDDD <a href="http://plurk.com/p/6u0c0q" rel="nofollow">http://plurk.com/p/6u0c0q</a> <a href="http://twitter.com/brianhsu/statuses/20716199798" class="aktt_tweet_time">#</a></li>
    <li>說 咦？所以賭神裡大軍扮女人的那一段真的是『http://tinyurl.com/26rud48 (秦俑)』啊？看來該找原著小說和電影來複習一下了…… <a href="http://plurk.com/p/6ty7vw" rel="nofollow">http://plurk.com/p/6ty7vw</a> <a href="http://twitter.com/brianhsu/statuses/20710973742" class="aktt_tweet_time">#</a></li>
    <li>說 劉毅的第二篇一整個弱掉了啊……=_= <a href="http://plurk.com/p/6tvio3" rel="nofollow">http://plurk.com/p/6tvio3</a> <a href="http://twitter.com/brianhsu/statuses/20704715744" class="aktt_tweet_time">#</a></li>
    <li>分享 [部落格文章] <a href="http://ppt.cc/p_mt" rel="nofollow">http://ppt.cc/p_mt</a> (CWT25、十幾年。) <a href="http://plurk.com/p/6tvemg" rel="nofollow">http://plurk.com/p/6tvemg</a> <a href="http://twitter.com/brianhsu/statuses/20704462208" class="aktt_tweet_time">#</a></li>
    <li>說 COSCUP 的東西都還沒開始動……orz&#8230; <a href="http://plurk.com/p/6tqreq" rel="nofollow">http://plurk.com/p/6tqreq</a> <a href="http://twitter.com/brianhsu/statuses/20694371083" class="aktt_tweet_time">#</a></li>
    <li>分享 [部落格文章] <a href="http://ppt.cc/i8xw" rel="nofollow">http://ppt.cc/i8xw</a> (一些雜感。) <a href="http://plurk.com/p/6tmv26" rel="nofollow">http://plurk.com/p/6tmv26</a> <a href="http://twitter.com/brianhsu/statuses/20685623594" class="aktt_tweet_time">#</a></li>
    <li>說 為什麼我覺得 Flickr 的新界面很像 PicasaWeb 呢？（笑） <a href="http://plurk.com/p/6tlxf2" rel="nofollow">http://plurk.com/p/6tlxf2</a> <a href="http://twitter.com/brianhsu/statuses/20683102185" class="aktt_tweet_time">#</a></li>
    <li>說 開始處理資料，我一定要讓他一勞永逸啊。&gt;_&lt; <a href="http://plurk.com/p/6ti8ks" rel="nofollow">http://plurk.com/p/6ti8ks</a> <a href="http://twitter.com/brianhsu/statuses/20669918701" class="aktt_tweet_time">#</a></li>
    <li>說 OK，演唱會的票應該可以處理掉了……只是還是覺得惋惜。下次又不知道要等到什麼時候啦。&gt;_&lt; <a href="http://plurk.com/p/6tgsd7" rel="nofollow">http://plurk.com/p/6tgsd7</a> <a href="http://twitter.com/brianhsu/statuses/20662619086" class="aktt_tweet_time">#</a></li>
    <li>說 今天聽到最謎的話題是……灣娘也有平胸的時候。內心ＯＳ：這是什麼和什麼啊？！ <a href="http://plurk.com/p/6t8r5p" rel="nofollow">http://plurk.com/p/6t8r5p</a> <a href="http://twitter.com/brianhsu/statuses/20630242232" class="aktt_tweet_time">#</a></li>
    <li>說 難道是我同事的 Win7 玩我，不給我看磁碟和資料夾的大小和複製檔案？！那次我為了確認檔案的大小和複製，光找選單就找了五分鐘，才找到藏在『組合管理』這個莫名其妙的地方，按了幾十次右完全不適用。=_= <a href="http://plurk.com/p/6t7yap" rel="nofollow">http://plurk.com/p/6t7yap</a> <a href="http://twitter.com/brianhsu/statuses/20628651438" class="aktt_tweet_time">#</a></li>
    <li>覺得 K-On 二期的 OP 和 ED 全都不是我的菜。=_= <a href="http://plurk.com/p/6t6exk" rel="nofollow">http://plurk.com/p/6t6exk</a> <a href="http://twitter.com/brianhsu/statuses/20625526075" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/2asnnb9" rel="nofollow">http://tinyurl.com/2asnnb9</a> 還有好久不見的酷拉皮卡！ <a href="http://plurk.com/p/6t5hos" rel="nofollow">http://plurk.com/p/6t5hos</a> <a href="http://twitter.com/brianhsu/statuses/20623625596" class="aktt_tweet_time">#</a></li>
    <li>說 話說回來，每次我都找不到餐車的 Maid 們在哪……FF16 和 CWT25 這兩場都是。XDDD <a href="http://plurk.com/p/6t5czd" rel="nofollow">http://plurk.com/p/6t5czd</a> <a href="http://twitter.com/brianhsu/statuses/20623358739" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/39x6zoe" rel="nofollow">http://tinyurl.com/39x6zoe</a> <a href="http://tinyurl.com/2vowu8b" rel="nofollow">http://tinyurl.com/2vowu8b</a> <a href="http://tinyurl.com/33yfex6" rel="nofollow">http://tinyurl.com/33yfex6</a> <a href="http://plurk.com/p/6t5ayq" rel="nofollow">http://plurk.com/p/6t5ayq</a> <a href="http://twitter.com/brianhsu/statuses/20623246970" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/2djzxtp" rel="nofollow">http://tinyurl.com/2djzxtp</a> 第一次在會場看到遠子學姐耶～～ <a href="http://plurk.com/p/6t57h2" rel="nofollow">http://plurk.com/p/6t57h2</a> <a href="http://twitter.com/brianhsu/statuses/20623068508" class="aktt_tweet_time">#</a></li>
    <li>說 <a href="http://tinyurl.com/259gkca" rel="nofollow">http://tinyurl.com/259gkca</a> 感謝大家對 CCC4 的支持，我真的覺得大家太有愛啦！還一直問第一和第二集還有沒有。:p <a href="http://plurk.com/p/6t55sr" rel="nofollow">http://plurk.com/p/6t55sr</a> <a href="http://twitter.com/brianhsu/statuses/20622957686" class="aktt_tweet_time">#</a></li>
    <li>說 呃……很好，阿嬤的百年壽誕宴席和奶茶演唱會撞期了。所以我又得等不知道有沒有下次的下次了……=_= <a href="http://plurk.com/p/6t506z" rel="nofollow">http://plurk.com/p/6t506z</a> <a href="http://twitter.com/brianhsu/statuses/20622639653" class="aktt_tweet_time">#</a></li>
    <li>說 幹了蠢事……有帶相機沒帶記憶卡，所以這次是灣娘特輯。XDDD <a href="http://plurk.com/p/6t3dj2" rel="nofollow">http://plurk.com/p/6t3dj2</a> <a href="http://twitter.com/brianhsu/statuses/20619120982" class="aktt_tweet_time">#</a></li>
    <li>說 明天還要去戰場，先去睡了。 (sleeping) <a href="http://plurk.com/p/6sow66" rel="nofollow">http://plurk.com/p/6sow66</a> <a href="http://twitter.com/brianhsu/statuses/20560519634" class="aktt_tweet_time">#</a></li>
    <li>說 今天有趕上晚餐團真是太好了！ (drinking) <a href="http://plurk.com/p/6soqzl" rel="nofollow">http://plurk.com/p/6soqzl</a> <a href="http://twitter.com/brianhsu/statuses/20560177317" class="aktt_tweet_time">#</a></li>
    <li>分享 [部落格文章] <a href="http://ppt.cc/hr0x" rel="nofollow">http://ppt.cc/hr0x</a> (本週的自言自語（2010-08-07）) <a href="http://plurk.com/p/6s7xoh" rel="nofollow">http://plurk.com/p/6s7xoh</a> <a href="http://twitter.com/brianhsu/statuses/20508895255" class="aktt_tweet_time">#</a></li>
</ul>

<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bone.twbbs.org.tw/blog/archives/1489/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 上架設 Git 伺服器。</title>
		<link>http://bone.twbbs.org.tw/blog/archives/1487</link>
		<comments>http://bone.twbbs.org.tw/blog/archives/1487#comments</comments>
		<pubDate>Tue, 10 Aug 2010 13:42:12 +0000</pubDate>
		<dc:creator>墳墓 (BrianHsu)</dc:creator>
				<category><![CDATA[我的專業]]></category>

		<guid isPermaLink="false">http://bone.twbbs.org.tw/blog/?p=1487</guid>
		<description><![CDATA[到中研院上工一個多月，現在慢慢接手一些東西，主要是一台 Windows 2003 的伺服器，以及一些有些雜亂或是老舊的小工具程式。 要說到雜亂的程式碼的救星，那當然就是版本控制系統啦！也因為這樣，這幾天在規劃的就是要怎麼樣一步一步來整理這些程式碼，以及劃出一條安全的防護線，例如說至少所有的程式碼從此刻起都要進到版本控制系統來控管才行。 雖說這台 Windows 2003 上已經有了 Subversion 的服務存在著，不過你也知道的……習慣了強大的 Git 之後，回去使用 Subversion 真有一種綁手綁腳的感覺。 於是，我想把一些目前是只有我自己在維護的東西，給放到這台伺服器上並且使用 Git 來做管理，並且讓這台 Windows 2003 成為一台 Git Server。 但很不幸的……要在 Windows 上架設 Git Server 好像很麻煩，Google 了一下，幾乎都是教你用 CopSSH 來做，但不知道為什麼，我就是沒辦法試成功。 最後，我發現如果你只是要很簡單的 remote access，而且不在意傳輸過程沒加密的話，以下的步驟可以讓你超簡單在 Windows 上架設 Git Server。以下假設我們將所有 Git 的 repository 集中放在 D:\GitRepo 這個資料夾下。 安裝 msysgit 執行 GIT-bash 在 git bash 裡執行下列指令 mdkir /d/GitRepo [...]]]></description>
			<content:encoded><![CDATA[<p>到中研院上工一個多月，現在慢慢接手一些東西，主要是一台 Windows 2003 的伺服器，以及一些有些雜亂或是老舊的小工具程式。</p>

<p>要說到雜亂的程式碼的救星，那當然就是版本控制系統啦！也因為這樣，這幾天在規劃的就是要怎麼樣一步一步來整理這些程式碼，以及劃出一條安全的防護線，例如說至少所有的程式碼從此刻起都要進到版本控制系統來控管才行。</p>

<p>雖說這台 Windows 2003 上已經有了 Subversion 的服務存在著，不過你也知道的……習慣了強大的 Git 之後，回去使用 Subversion 真有一種綁手綁腳的感覺。</p>

<p>於是，我想把一些目前是只有我自己在維護的東西，給放到這台伺服器上並且使用 Git 來做管理，並且讓這台 Windows 2003 成為一台 Git Server。</p>

<p>但很不幸的……要在 Windows 上架設 Git Server 好像很麻煩，Google 了一下，幾乎都是教你用 CopSSH 來做，但不知道為什麼，我就是沒辦法試成功。</p>

<p>最後，我發現如果你只是要很簡單的 remote access，而且不在意傳輸過程沒加密的話，以下的步驟可以讓你超簡單在 Windows 上架設 Git Server。以下假設我們將所有 Git 的 repository 集中放在 D:\GitRepo 這個資料夾下。</p>

<ol>
    <li>安裝 msysgit</li>
    <li>執行 GIT-bash</li>
    <li>在 git bash 裡執行下列指令
<ol>
    <li>mdkir /d/GitRepo # 建立檔案庫資料夾集散地</li>
    <li>mkdir /d/GitRepo/testRepo</li>
    <li>cd /d/GitRepo/testRepo</li>
    <li>git init # 建立 Git repository</li>
</ol>
</li>
    <li>接著，直接把 D:\GitRepo 用網路芳臨開分享就好啦，權限控管也是在這邊設定</li>
    <li>接著，在 Client 端把你開出的網芳分享掛到 Z: 磁碟機</li>
    <li>然後就可以在 git bash 裡面用 git clone /z/testRepo 來複製這個 repo 了！</li>
    <li>當然，git push/pull 也都是可以用的。</li>
</ol>

<p>就是這樣簡單，我們都想太多了……Git 本來就可以直接對躺在本機檔案系統上的 repo 做 push/pull，所以我們只要能讓遠端的檔案系統看起來像本機的檔案系統就解決了！</p>

<p>夠簡單了吧？可是我不知道為什麼之前都沒人告訴我啊！&gt;_&lt;</p>
]]></content:encoded>
			<wfw:commentRss>http://bone.twbbs.org.tw/blog/archives/1487/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
