2008年6月3日 星期二

剔銀燈(與歐陽公席上分題)

范仲淹

昨夜因看蜀志。笑曹操、孫權、劉備。用盡機關,徒勞心力,只得三分天地。屈指細尋思,怎如共、劉伶一醉。

人世都無百歲。少癡騃、老成尫悴。只有中間,些子少年,忍把浮名牽系。一品與千金,問白髮、如何迴避。

2008年6月1日 星期日

Alone Again



Gilbert O'Sullivan

In a little while from now,
If I'm not feeling any less sour
I promised myself to treat myself
And visit a nearby tower,
And climbing to the top,
Will throw myself off
In an effort to make it clear to who
Ever what it's like when your shattered
Left standing in the lurch, at a church
Where people 're saying,
"My God that's tough, she stood him up!
No point in us remaining.
May as well go home."
As I did on my own,
Alone again, naturally

To think that only yesterday,
I was cheerful, bright and gay,
Looking forward to, but who wouldn't do,
The role I was about to play
But as if to knock me down,
Reality came around
And without so much as a mere touch,
Cut me into little pieces
Leaving me to doubt,
All about God and His mercy
For if He really does exist
Why did He desert me
In my hour of need?
I truly am indeed,
Alone again, naturally

It seems to me that
There are more hearts
Broken in the world
That can't be mended
Left unattended
What do we do? What do we do?

Now looking back over the years,
And what ever else that appears
I remember I cried when my father died
Never wishing to have cried the tears
And at sixty-five years old,
My mother, God rest her soul,
Couldn't understand, why the only man
She had ever loved had been taken
Leaving her to start with a heart
So badly broken
Despite encouragement from me
No words were ever spoken
And when she passed away
I cried and cried all day
Alone again, naturally
Alone again, naturally

2008年5月12日 星期一

The Final Countdown


剩三個星期... 不奢望能逆轉勝,但求能進入延長賽...

2008年5月8日 星期四

漁父

蘇軾

漁父飲,誰家去。魚蟹一時分付。酒無多少醉為期,彼此不論錢數。

漁父醉,蓑衣舞。醉裏卻尋歸路。輕舟短棹任斜橫,醒後不知何處。

漁父醒,春江午。夢斷落花飛絮。酒醒還醉醉還醒,一笑人間今古。

漁父笑,輕鷗舉。漠漠一江風雨。江邊騎馬是官人,借我孤舟南渡。

2008年4月29日 星期二

Remember the Name



Fort Minor

You ready?! Let's go!
Yeah, for those of you that want to know what we're all about
It's like this y'all (c'mon!)

This is ten percent luck, twenty percent skill
Fifteen percent concentrated power of will
Five percent pleasure, fifty percent pain
And a hundred percent reason to remember the name!

Mike! - He doesn't need his name up in lights
He just wants to be heard whether it's the beat or the mic
He feels so unlike everybody else, alone
In spite of the fact that some people still think that they know him
But fuck em, he knows the code
It's not about the salary
It's all about reality and making some noise
Making the story - making sure his clique stays up
That means when he puts it down Tak's picking it up! Let's go!

Who the hell is he anyway?
He never really talks much
Never concerned with status but still leaving them star struck
Humbled through opportunities given despite the fact
That many misjudge him because he makes a living from writing raps
Put it together himself, now the picture connects
Never asking for someone's help, or to get some respect
He's only focused on what he wrote, his will is beyond reach
And now it all unfolds, the skill of an artist

This is twenty percent skill
Eighty percent fear
Be a hundred percent clear cause Ryu is ill
Who would've thought that he'd be the one to set the west in flames
And I heard him wreck it with The Crystal Method, "Name Of The Game"
Came back dropped Megadef, took em to church
I like bleach man, why you had the stupidest verse?
This dude is the truth, now everybody's giving him guest spots
His stock's through the roof I heard he's fuckin' with S. Dot!

This is ten percent luck, twenty percent skill
Fifteen percent concentrated power of will
Five percent pleasure, fifty percent pain
And a hundred percent reason to remember the name!

They call him Ryu, he's sick
And he's spitting fire
And mike got him out the dryer he's hot
Found him in Fort Minor with Tak
What a fuckin' nihilist porcupine
He's a prick, he's a cock
The type woman want to be with, and rappers hope he get shot
Eight years in the making, patiently waiting to blow
Now the record with Shinoda's taking over the globe
He's got a partner in crime, his shit is equally dope
You wont believe the kind of shit that comes out of this kid's throat

Tak! - He's not your everyday on the block
He knows how to work with what he's got
Making his way to the top
He often gets a comment on his name
People keep asking him was it given at birth
Or does it stand for an acronym?
No he's living proof, got him rocking the booth
He'll get you buzzing quicker than a shot of vodka with juice
Him and his crew are known around as one of the best
Dedicated to what they do and give a hundred percent

Forget Mike - Nobody really knows how or why he works so hard
It seems like he's never got time
Because he writes every note and he writes every line
And I've seen him at work when that light goes on in his mind
It's like a design is written in his head every time
Before he even touches a key or speaks in a rhyme
And those motherfuckers he runs with,
The kids that he signed?
Ridiculous, without even trying,
How do they do it?!

This is ten percent luck, twenty percent skill
Fifteen percent concentrated power of will
Five percent pleasure, fifty percent pain
And a hundred percent reason to remember the name!

This is ten percent luck, twenty percent skill
Fifteen percent concentrated power of will
Five percent pleasure, fifty percent pain
And a hundred percent reason to remember the name!

2008年4月10日 星期四

Setup Eclipse CDT with Cygwin

本來在安裝 Eclipse、CDT、cygwin 後,要把 cygwin/bin 的路徑設到系統環境變數 Path 中,CDT 才能找得到 gcc。但是... 我就是不想動我的環境變數... 稍微試了一下,看有沒有辦法在不更動環境變數的形況下,正常使用CDT。結論是這個想法是可行的,但還是乖乖設定環境變數比較省事。

設定的方法如下:
  • 在 Toolbar 上點選 Window -> Preferences
  • 在 Preferences 對話窗中點選 C/C++ -> Environment,加入環境變數 Path, 其值為 cygwin/bin 的路徑

只要在此加入環境變數就可正常compile程式,但cygwin compile 出來的執行檔需要 cygwin1.dll 才能執行,所以雖然可以正常compile,但 Eclipse 的 console 無法正確執行compile好的程式。在不更動系統環境變數的前提下,最簡單的做法就是把 cygwin1.dll 複製到 系統 Path 或 Project 的工作目錄中,但再一次地,我就是不想複製檔案,所幸這仍然有解
  • Toolbar 上點選 Run -> Open Run Dialog
  • 在 Run 的對話窗中點選 C/C++ Local Application -> ProjectName.exe, 在右側點選 Environment分頁,一樣加入 Path 的環境變數。

做到這裡可以正常執行Build完的程式了,但還不能Debug...
不能Debug 的主因有二,一是 Eclipse找不到 gdb.exe 二是在 Debug 的過程中, Eclipse 再度找不到 cygwin1.dll (啊不是都已經設環境變數了嗎!? 吼~~)
  • 在 Toolbar 上點選 Run -> Open Debug Dialog
  • 在 Run 的對話窗中點選 C/C++ Local Application -> ProjectName.exe, 在右側點選 Debugger 分頁
  • 在 Debugger 分頁中設定 GDB debugger的位置:
    Drive:\PATH\TO\gdb.exe
  • 給定一GDB command file,並在 command file加入
    path /cygdrive/drive/path/to/cygwin/bin

這樣一來,就可以正常地Debug了...

雖然找到設定的方法,但我最後還是決定把 cygwin 加到系統 PATH 裡...做人還是不要太搞怪的好...

References:
Debugging with GDB

2008年3月31日 星期一

Make Gmail as Default Email Client

把下面這個 Script 設成預設的電子郵件軟體即可。

#!/bin/sh
firefox https://mail.google.com/mail?view=cm\&tf=0\&to=`echo $1 | sed 's/mailto://'`

另外,在Windows下安裝Gmail Notifier 或 Google Talk 都可以把Gmail設成預設的郵件軟體。

Reference:
Set Gmail as Default Mail Client in Ubuntu

2008年3月29日 星期六

Sync PocketPC with Evolution

今天花了些功夫研究如何同步 PDA 手機 和 Gnome 的 PIM, Evolution。最後雖然能成功同步,但在PDA裡中文的資料同步到 Evolution後全變成空白... 唉...非英語系使用者的悲哀... Anyway, 還是把同步旳步驟記下來,以備日後參考。

安裝軟體
synce-multisync-plugin
synce-dccm
synce-serial
librra-tools

optional:
synce-gnomevfs

synce 的 package 在Debian裡被拆的亂七八糟,而且套件間的相依性也做的不是很好,小弟也是試了好久,才找齊所需的套件。

設定連線
  1. 載入 ipaq module
    >>modeprobe ipaq

  2. 接上 PDA cardle

  3. 若沒有問題,在console下打
    >>dmesg
    應該會看到:
    usb 5-5.2: new full speed USB device using ehci_hcd and address 15
    usb 5-5.2: configuration #1 chosen from 1 choice
    ipaq 5-5.2:1.0: PocketPC PDA converter detected
    usb 5-5.2: PocketPC PDA converter now attached to ttyUSB0
    若沒有出現上述message, 可試著在載入 ipaq module 時加上 vender id 和 device id的參數。

  4. 以 root 的帳號設定 synce 連線
    >> synce-serial-config ttyUSB0

  5. 以一般 user 的帳號啟動 dccm
    >>synce-dccm

  6. 以 root 的帳號建立 synce 連線
    >>synce-serial-start

到這裡若沒問題PDA應該已和電腦連上線。可以在console下打 pstatus 試試看是否看得到 PDA的資訊。

和 Evolution 同步
  1. 以一般 user 的帳號設定 partnership
    >>synce-matchmaker create [1|2]
    若兩個index都被佔滿了可先以
    >>synce-matchmaker clear [1|2]
    清除設定

  2. 開啟 multisync (在 console 下開可以看得到較多的 runtime message, 有助於尋找問題)

  3. 新增 synchronization pair
    plugin 一個選 SynCE Plugin 一個選 Ximan Evolution 2 (先後順序不重要)

  4. 在 Ximan Evolution 2 的 Plugin options 中選擇要同步的Calendar, Addressbook, 及 Task ( 預設是No,所以一定要進去選,網路上的論壇都建議在 Evolution 中為 PPC 另外建一個 Calendar or addressbook)

  5. 若一切設定無誤,按下 Sync 按鈕就會開始同步。

MultiSync 有點笨,大概是因為 PDA 上資料的 timestamp 較舊的關係,第一次同步時,不會把資料從PAD複製到Evolution中。論壇上有人說可以按 ReSync 解決這個問題(ReSync的按鈕可在 option中設定是否顯示,預設是不會顯示的)。不過我測試的結果是按了 ReSync會讓 MultiSync crash。 也不知道是不是因為資料裡有中文的關係。

結束連線
  1. 關閉 Multisync
  2. 在 console下下
    >>killall -HUP synce-dccm

References
HP Ipac Pocket PC Setup
HOWTO: Pocket PC Syncing with Evolution

PS1. dpkg小提示: dpkg -L 可顯示該package內含的檔案
PS2. 之後又試了一下, 在zh_TW.utf8下 MultiSync 甚至打不開... 看來MultiSync 的中文support做的不好, 下次或許可以改以 opensync 來試試。

2008年3月25日 星期二

Firefox tips

flash-plugin 中文的問題
1.安裝 ttf-arphic-bsmi00lp 字型
2.在startup script 中加入 export LC_ALL=zh_TW

指定特別連結的處理程式
若要指定以 GNOME MPlayer 來處理 mms 或 rtsp protoclas, 修改 prefs.js:
user_pref("network.protocol-handler.app.mms", "/usr/bin/gnome-mplayer");
user_pref("network.protocol-handler.app.rtsp", "/usr/bin/gnome-mplayer");
或是在 "about:config"加入上述的String
同理,若要處理ed2k的link, 可在"about:config"中加入
network.protocol-handler.external.ed2k -> true
network.protocol-handler.app.ed2k -> "/usr/bin/sancho"

Misc.
"about:plugins"列出所有已安裝的plug-ins

2008年3月22日 星期六

舊友無處不堪尋

高中時期,我有一群換帖的好友:色胚,小花,賤賤,熊熊,倫子,小丸子(小丸子是化名,因為她是唯一沒有綽號的人),小白。

小白高二時移民澳洲,是最早和我們失聯的。我則是在大學重考後,一個人到新竹唸書,從此就沒再和他們聯絡了。前陣子,意外地和熊熊聯絡上,才又再度和大家搭上線。今天下午,約了和大家見面,十幾年沒見,卻沒有一點疏離的感覺。明明對對方的近況都不是很了解,彼此卻又能熱絡地聊著,彷彿昨天才見過面一般。

歲月似乎沒有在我這群好友身上留下多少痕跡。色胚頭髮留長了,又留了點鬍子,雖然還是有點痞痞的,但感覺比以前成熟穩重了。熊熊還是像以前一樣親切健談,但在談笑間,看得出這幾年的工作經歷,讓他的視野拓展了許多。活潑大方的倫子,隨著年紀增長,多增添了一股女人味,變得更加明豔動人。不過,最讓我驚訝的是小丸子:

這十幾年來,她完全沒變,除了手上多了一個小奶娃...

(實在找不到小丸子抱娃娃的圖,只好用體積差不多的法國麵包代替)


今天很可惜沒見到賤賤和小花,希望下次能有機會見到他們。

對了,我們的綽號之所以會這麼娘,都是因為這些綽號都是倫子和小丸子取的。致於我的綽號是什麼嘛!? "外人探我綽號者,視投名狀,必殺之;兄弟探我綽號者,視投名狀,必殺之!" 別再問了~ 大哥是對的!

補記:
"舊友無處不堪尋"是改自張良能的小重山,原文如下:

柳暗花明春事深,
小闌紅芍藥,已抽簪。
雨餘風軟碎鳴禽,
遲遲日,猶帶一分陰。
往事莫沉吟。
身閑時序好、且登臨。
舊游無處不堪尋,
無尋處,惟有少年心。


很慶幸地,小弟的這群老友在哪,小弟的少年心就在哪。

2008年3月19日 星期三

Make Love


這個點子其實是在Jserv's blog 中 "貓也會的 CMake" 的簡報文件中看到的。因為實在太妙了,忍不住複製了一個。

2008年3月8日 星期六

左右為難

我是左撇子。

唸幼稚園時,老師教我們寫數字(國字的一二三四...),從一寫到十。看著老師拿著粉筆在黑版上畫一劃,我們就在習字簿上畫一劃。從一寫到三都還沒什麼問題,寫到四時,隱隱約約覺得怪怪的,等老師教到"五"時,我就發現事情大條了,為什麼我寫出來的字和黑版上的不太一樣?明明就一筆一劃照著老師教的寫的啊!原來看到老師在黑版上用右手由"內"往"外"畫一橫,我也跟著用左手在紙上由"內"往"外"畫一橫,結果寫出來的字像照了鏡子一樣,左右顛倒。當時幼稚園老師看到了,嚇了一跳,大概以為我腦子有問題吧,於是叫我把習字簿帶回家給父母看,全班的本子都是當場收回老師那,只有我的要帶回去給家長看...

習字簿帶回家給我媽看後,她也是嚇了一大跳。不過知子莫若母,老媽很快就發現這一切都是阿共的陰謀這一切都是我用左手拿筆的關係。於是,老媽決定要把我的慣用手改成右手。她做了一個布娃娃套在我的左手,叫我一整天戴著,剛開始還覺得滿新奇的,因為做什麼事都有一個玩具陪著。但到了晚上要吃飯時,才發現我的左手其實被這個布娃娃廢了,得改用右手拿湯匙吃飯。布娃娃戴了兩天,等一切都習慣用右手後,我媽就沒叫我再戴回布娃娃手套。也好在當時很快就改成右手,如果一直沒改過來,現在的我可能會變成這個樣子:


葛屁老師
(不過,葛屁老師的娃娃戴在右手上說...)

就這樣,我當了一陣子"右撇子"。一直到上了小學,小學導師在家長會時向我媽建議最好不要糾正慣用手,我的左手才又再度解除封印,於是現在的我,寫字用右手,畫圖用左手,打桌球用左手拿球拍,踢足球倒是左右都可以開弓。我知道你們想問什麼,是的,轉大人後我是用左手打手......機底~

補記:
話說我雖逃過了當葛屁老師的命運,但小弟自覺和下面這位仁兄倒還滿像的...


2008年2月28日 星期四

Patience




Guns N Roses - Patience

Shed a tear 'cause I'm missin' you
I'm still alright to smile
Girl, I think about you every day now
Was a time when I wasn't sure
But you set my mind at ease
There is no doubt
You're in my heart now

Said, woman, take it slow
It'll work itself out fine
All we need is just a little patience
Said, sugar, make it slow
And we come together fine
All we need is just a little patience
(patience)
Mm, yeah

I sit here on the stairs
'Cause I'd rather be alone
If I can't have you right now
I'll wait, dear
Sometimes I get so tense
But I can't speed up the time
But you know, love
There's one more thing to consider

Said, woman, take it slow
And things will be just fine
You and I'll just use a little patience
Said, sugar, take the time
'Cause the lights are shining bright
You and I've got what it takes
To make it, We won't fake it,
I'll never break it
'cause I can't take it

little patience, mm yeah, mm yeah
need a little patience, yeah
just a little patience, yeah
some more patience, yeah
need some patience, yeah
could use some patience, yeah
gotta have some patience, yeah
all it takes is patience,
just a little patience
is all you need

I BEEN WALKIN' THE STREETS AT NIGHT
JUST TRYIN' TO GET IT RIGHT
HARD TO SEE WITH SO MANY AROUND
YOU KNOW I DON'T LIKE
BEING STUCK IN THE CROWD
AND THE STREETS DON'T CHANGE
BUT BABY THE NAME
I AIN'T GOT TIME FOR THE GAME
'CAUSE I NEED YOU
YEAH, YEAH, BUT I NEED YOU
OO, I NEED YOU
WHOA, I NEED YOU
OO, ALL THIS TIME
(ah)

2007年9月30日 星期日

Tears In Heaven



Eric Clapton

Would you know my name
If I saw you in heaven?
Would it be the same
If I saw you in heaven?

I must be strong
And carry on,
'Cause I know I don't belong
Here in heaven.

Would you hold my hand
If I saw you in heaven?
Would you help me stand
If I saw you in heaven?

I'll find my way
Through night and day,
'Cause I know I just can't stay
Here in heaven.

Time can bring you down,
Time can bend your knees.
Time can break your heart,
Have you begging please, begging please.

Beyond the door,
There's peace I'm sure,
And I know there'll be no more
Tears in heaven.

Would you know my name
If I saw you in heaven?
Would it be the same
If I saw you in heaven?

I must be strong
And carry on,
'Cause I know I don't belong
Here in heaven.

-------------------------------------
2007/6 - 2007/8
Something won't be told but I will never forget.
Someone I never meet but I'll miss forever.

2007年9月28日 星期五

The Vital Woud

上回提到腳踏車壞了,要把後輪軸承拆下來看一看。本來是想留到週末再進行的,但是這星期週末要補班,而且還是要上台北上班,所以提前在今晚對Yukon動手術,經過一番努力,總算把軸承拆了下來,把骯髒的黃油擦掉一看,果然軸承整個都受損了,得換一個新的才行。這下,我可陷入了兩難,我應該買一個花轂回來重編輪組呢,還是買個新輪組回來算了... (還是乾脆買台新車好呢 :P )....

受傷的軸承

這陣子修車靠的全是這本"MTB登山車越野車改裝維修保養",基本上一般自行車的維修保養,這本書都有詳細的說明,各零件的拆裝步驟也都有照片說明,目前只有覺得它在"調整車輻"這一節講解的比較簡略,其它部分則都還不錯。

關於車輻的調整,ohmylife兄寫了一個很棒的Blog專門介紹手編輪組--"ohmylife的手編輪組實驗室",看完後你真的會覺得自己也懂得如何編輪組了,有興趣的朋友可以去看看。

2007年9月25日 星期二

Oh My Bike!

我的腳踏車壞了....

上星期二放颱風假時,騎出去小繞了一下,回來就發現鏈條轉動時有異音。隔天請室友 Ty 一同會診我的愛車,初步的結論是異音可能是由於鏈條變形所致。打算到巷口的自行車行買條鏈條來更換看看。無奈小弟車子的後變是八速的,店家沒貨,看來只有等中秋節完再上網購買了。然而,就在前天,公司同事 Neil 到台中玩,幫我找到了一條SIMANO的八速鏈條。沒什麼好說的,當然是請他馬上幫我帶回來...但萬萬沒想到,換了鏈條後情況並沒有改善。更慘的是,異音越來越大聲,現在感覺聲音似乎是從軸承裡傳出來的... Oh My God... 看來得先去弄罐黃油,來把軸承拆開來看一下了...

弄了半天,車子還是沒修好,鬱卒的我,在地上玩起了鏈條排字...


唉! 最近真是諸事不順...

2007年9月24日 星期一

Options in Gnome-mount

GNOME 會自動 mount usb device。在 mount usb 硬碟時,我們常常會需要一些額外的 option, 例如utf8。GNOME 預設沒有這些option, 所以在ntfs 或 vfat 的usb 碟碟裡的中文檔名全部都變亂碼了。所幸gnome-mount 的 argument 是可以在 gconf 裡設定的。

開啟 configuration editor (gconf-editor),在 system/storage/default_options 裡可以設定各種 file system 在mount 時所要的參數。

gconf裡看起來好像還有很多東西可以玩,有空再來慢慢研究...

對了, GNOME 的 g 是不發音的... 我常忘了這件事...

New Ride

我的桌上型電腦掛了...

一開始是第二顆硬碟 mount 不上來,重新開機後連Grub都還沒進去,電腦就死給你看,估計是主機版有問題吧。於是我到Nova組了一台新的主機。
CPU: Intel Core 2 Due E4400
MB: GIGABYTE GA-945PL-S3P
顯示卡: GIGABYTE GV-NX72G128D (GPU: Nvidia GeForce 7200 GS)
剩下的零件不太重要,就不再綴述。

電腦買回來後,再來就是漫長的重灌之路啦...

OS 當然還是 Linux,雖然身旁的朋友紛紛捨 Debian 就 Ubuntu。但小弟還是對Debian情有獨鍾。上網下載了新的 testing 安裝光碟。附帶一提,現在 testing 版本的 code name 叫 Lenny. 一直以來 Debian 的各個版本都是以 Toy Story 裡的角色來命名。 上網查了一下,Lenny 是長這個樣子的:?? 這個小傢伙有演 Toy Story 嗎??

再回來繼續重灌電腦...
一開始我把光碟機裝在USB外接盒裡,可以開機進入安裝程式,卻無法安裝,原因是安裝程式無法mount 光碟機... 雖然可以手動設定載點來解決這個問題,但我不知道確切的 device name, 所以還是先把光碟機接回 IDE 排線比較省事...

PPPOE/NAT
再來是設定網路,PPPOE不知怎麼搞的,怎麼樣都連不上,弄了半天,發現原來宿舍的網路線太長了,訊號decay的太厲害...網路線是從客廳穿過另一間臥室再進到我的房間的,要換條短一點的網路線,那可是大工程。花了大半天的時間,搬了兩張床(事實上是十幾箱書,看不懂?沒關係,以後有機會再講給你知),總算把網路搞定。弄得我滿身汗... 有人重灌電腦會灌到全身汗的嗎!? 吼~

網路連上後,就可以利用apt下載套件回來安裝啦,這次所有的Driver都抓得到,不用再像以前一樣重編module,想到以前和各種硬體奮戰的日子,眼眶不禁又紅了起來... 裝好了基本的系統後,順手把NAT架起來。設定一下 iptable:
修改 /etc/sysctl.conf:

net.ipv4.conf.default.forwarding=1

再在console下如下的指令:

echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 \
-s [ip address/mask] -j MASQUERADE

其中, [ip address/mask] 填內網的 ip/mask, for example, 168.95.1.0/255
把上面兩行寫入 /etc/rc.local, 這樣重新開機後也不用再重設iptable。

這樣NAT就架起來啦。接下來是中文字型...

Fonts
小弟習慣用firefly兄的 fireflysung.ttf,以往都是把字型抓回來後,手動設定,不過這次無意間找到有人把包好的 deb 放在網路上,只要在 apt 的 source list 裡加入

deb http://apt.debian.org.tw/ unstable main/ttf-arphic-newsung

就會自動安裝並設定好字型。小弟習慣讓英文字以 bitstream 顯示,中文字以 fireflysung顯示,所以又修改了 /etc/fonts/conf.d/60-latin.conf alias的順序,將

<family>Bitstream Vera Serif</family>
<family>AR PL New Sung</family>

放到list的最前面。

Multimedia
接下來是多媒體。以前都是抓 xine 及 mplayer 回來重編。但這次一樣找到現成的 deb source:

deb http://www.debian-multimedia.org lenny main

這個server實在太棒了,雖然 mplayer 已收到 testing 中,但它的 codec 不齊,無法播放rmvb,所幸 www.debian-multimedia.org 的 mplayer 有完整的 codec。更甚者,它連monkey's audio 都有,安裝完monkey's audio的 codec,再下載 stable 的 beep-meida-player回來安裝,最後再到SourceForge下載bmp 的 mac plug-in回來編譯就OK啦。
另外,debian-mutimedia也有播放分區DVD的decode,但我還沒裝,有機會再來試試。

Codec的問題解決了,再來是字幕,以往總聽人說mplayer的字幕支援unidoce,但我用起來總是怪怪的,偶爾就是會遇到選錯字型,以致於無法正確顯示字幕,上網查了一下,原來我這個豬頭把 preference 裡的 font 設定錯了,該欄是要填字型名稱 ( AR PL New Sung) 我卻一直填成字型檔 (fireflysung.ttf) ,難怪會有問題。附帶一提,unix下有一個 iconv 的程式可以轉文字檔的編碼。可以用它把非unicode的字幕轉成 unicode。另外 convmv 則可用來轉檔名的encoding. 致於xine播放中文字幕的方法可以在摩托學園阿信兄的文章裡找到。

Misc
因為拍照習慣用Raw檔的關係,以前都是用 ufraw 來處理 raw 檔,看到網路上很多人都是用dcraw,所以這次也灌了 dcraw來玩玩看。
在友人Taco的推薦下,這次改用由gaim衍生出來 pidgin 當 IM 軟體。
Sun 的 JAVA SDK 也被 testing 收進來了,這樣安裝 sancho 也就不用再設定 JAVA 的路徑了。

這次安裝,只有bmp的mac plug-in 需要從 source code編譯,其它的部分都有現成的套件可用。現在安裝 Linux 真的很容易,雖然沒有簡單到一直按"下一步"就好,但也相去不遠了。

大致上就這樣啦,我又有新電腦可用了! 只是在我灌好新電腦後,我的舊電腦又恢復正常了... orz... 唉!先把它留校察看吧,如果再 fail一次,就把它退學... ^^

最後附上這次重灌時有用到的 reference:
HOWTO: Linux NAT in four Steps using iptable
Where can I install firefly-sung font?
.APE Non Win32 Port
mplayer中文字幕

2007年9月19日 星期三

Crucify My Love

X Japan



Crucify my love
If my love is blind
Crucify my love
If it sets me free
Never know Never trust
"That love should see a color"
Crucify my love
If it should be that way

Swing the heartache
Feel it inside out
When the wind cries
I'll say good-by
Tried to learn Tried to find
To reach out for eternity
Where's the answer
Is this forever

Like a river flowing to the sea
You'll be miles away, and Iwill know
I know I can deal with the pain
No reason to cry

Crucify my love
If my love is blind
Crucify my love
If it sets me free
Never know Never trust
"That love should see a color"
Crucify my love
If it should be that way

'Til the loneliness shadows the sky
I'll be sailing down and I will know
I know I can clear clouds away
Oh Is it a crime to love

Swing the heartache
Feel it inside out
When the wind cries
I'll say good-by
Tried to learn Tried to find
To reach out for eternity
Where's the answer
Is this forever

If my love is blind
Crucify my love
If it sets me free
Never know Never trust
"That love should see a color"
Crucify my love
If it should be that way

--------------------------------------------
1998/11/8 - 2007/9/18
Crucify my love, if it should be that way...

2007年9月11日 星期二

Animation, Illustration, and Passion...

前陣子看了一部日本動畫"秒速5センチメートル",台灣翻成"秒速五公分" ... (唉! 翻成"秒速五厘米"不是比較有fu嗎!?) 這部動畫是以三段小故事串接而成,第一段"櫻花抄",講述男主角遠野貴樹和女主角篠原明里兩位小學時期的好友,自小學畢業後不曾見面,僅以書信互通消息,後因貴樹一家要自東京搬到鹿兒島,於是兩人相約再見一次面。第二段"太空人"則是以貴樹於鹿兒島的高中友人澄田花苗的觀點出發,側寫貴樹對明里的思念。第三段"秒速五厘米"則是講述貴樹長大後的故事。為避免破壞尚未看過本片的朋友們觀賞本片的樂趣,請原諒小弟不對劇情再多作描述。

本片的監制新海誠被譽為"新宮崎駿",以細膩的工筆場景見長,作品多有一股淡淡的哀愁,及對大環境的無力感。新海誠的作品多以open ending 的方式伴著哀傷的氣氛作結。雖然作品多半帶著感傷的氛圍,但都佐以濃厚的癒療氣息,難怪新海誠的作品大受日本人的歡迎。

會注意到新海誠,是因為從室友那得知新海誠本來是在一家遊戲軟體公司上班,而他的第一部作品是利用自己公餘時間自己一個人在家完成的。作品發表後大受歡迎,於是便辭去原有的工作,專心投入動畫創作。新海誠的故事,在小弟的心裡,泛起了一陣小小的漣漪...
不多說了,聽歌...