Monday, July 31, 2006

七夕

銀河沿線'05

作詞:ハリマケンジ/作曲:大森俊之/編曲:大森俊之/歌:高橋広樹

果てしなく続く このレールの先に何がある?君に行き先 聞けなくて流れていく景色 いま列車に乗って二人きりこの恋の終着駅 どこにある?

きっと君は見えてる(メーテル)だけど君は知らない何も 何も

どんな悲しみにも負けないような強い身体をもらおう二人の恋のエクスプレス宇宙へのジャーニー 宇宙へのジャーニー

走ってゆく列車に 揺られて二人はどこへ行く?君は隣で 夢を見るこのままこの星を 離れていってもかまわない闇を抜けて星座越えて 君となら

いまも君が見えてるだけど君は言わない何も 何も

二人どこまでも行けちゃうようなTicket to ride(チケトゥライド)をもらおう二人の恋のエクスプレス宇宙へのジャーニー 宇宙へのジャーニー

Sunday, July 30, 2006

隨筆

早兩天看生物片, 該生物片是有關黑猩猩,
節目說黑猩猩是人類的近親, 研究黑猩猩, 對研究人類行為有很大的幫助.
該片說, 我們早期以為黑猩猩是素食動物,
直到70年代, 有一位動物學家深入研究黑猩猩,
才發現黑猩猩是雜食的.
沒記錯的話應是剛比亞,
那裡的黑猩猩和一些小猴子(已忘了什麼名)同住一個地區,
黑猩猩不太喜歡這些猴子, 牠們喜歡時會聯群結隊去獵殺猴子來吃,
有一年那群黑猩猩獵殺了剛比亞內1%的猴子.
另黑猩猩亦會為了地盤而開戰, 在73年, 剛比亞內有2群黑猩猩,
一群黑猩猩發難, 攻擊另一群黑猩猩,
最後, 那群被攻擊的黑猩猩群的雄性全部被殺.
......

我們人類喜歡戰爭, 不知和黑猩猩的習性有沒有關係?
古代歷史告訴我們, 各民族都很喜歡打其他民族,
然後把其他民族成為其民族的奴隸.
到現代, 戰爭仍不斷發生.
人類進化到今時今日, 有今天偉大的文明,
但仍存在著這些遠古時代的習性,
這是否是人類的悲哀?

Wednesday, July 19, 2006

香港書展

又是一年一度的書展,
由今天19日至24日.

除了上年在英不能去外, 年年都有出席.

因為某原因, 今日取了一天年假來出席書展.

今年中大出版的書對本人來說沒有什麼驚喜.
金觀濤教授那本中國學術思想發展史的2,3冊還沒出.

今次去書展的目的是想找一些術數的書,
但最後沒有一本能結緣, 沒有買.

另, 本在上海印書局找到幾本好書,

中国水利发展史
中国货币演变史
中国历代中央官制史
中国天学史
中国地方行政制度史
中国古代冶铁技术发展史
中国典籍史

但由於是人民幣兌港元一兌一且沒有折,
最後決定遲些向國風堂訂購, 因是人民幣兌港元一兌一且有九折.

書展收獲:
殺悶思維 - 李天命
中國建築史 - 梁思成
術數, 天文與醫學. 中國科技史的新視野 - 香港城市大學
中國國情第一課, 解構胡溫新思維 - 曾仲榮
Full Metal Panic 2, 3, 4 小說 - 賀東招二
櫻花大戰1-5資料設定集
心跳回憶資料設定集2

除設定集和中國國情第一課
(因之前向同事借來看, 現在是買來收藏),
這些書應足本人看一個月之久.

Monday, June 12, 2006

Wednesday, May 03, 2006

Preventing DDoS attacks

Article from Linux Gazette to say how to prevent DDoS attacks.


http://linuxgazette.net/126/cherian.html

Monday, March 27, 2006

真人真事:CentOS apache test page 差點驚動 FBI (news by CentOS)

http://www.centos.org/modules/news/article.php?storyid=127

這是真人真事。一日CentOS團隊收到一封政府的電郵。
某鎮政府去信centos, 說他們的website給centos的人hack了.
而政府發言人所看到的, 是centos3 apache的test page.
像這頁:
http://centos.hughesjr.com/testing/noindex_new.html
並威脅CentOS開發人員若在12小時內不修理好, 就找FBI.

http://www.centos.org/modules/news/article.php?storyid=127

世事真是無奇不有。

Saturday, March 25, 2006

SCIM

Use update-alternatives to change the xinput setting so that can use SCIM in en_GB enviroment.


# update-alternatives --install /etc/X11/xinit/xinput.d/en_GB xinput-en_GB /etc/X11/xinit/xinput.d/scim-anthy 60
# update-alternatives --install /etc/X11/xinit/xinput.d/en_GB xinput-en_GB /etc/X11/xinit/xinput.d/scim-canna 50
# update-alternatives --install /etc/X11/xinit/xinput.d/en_GB xinput-en_GB /etc/X11/xinit/xinput.d/scim-prime 50
# update-alternatives --install /etc/X11/xinit/xinput.d/en_GB xinput-en_GB /etc/X11/xinit/xinput.d/scim-skk 50
# update-alternatives --install /etc/X11/xinit/xinput.d/en_GB xinput-en_GB /etc/X11/xinit/xinput.d/none 10

Sunday, February 12, 2006

What is your Perfect Major?






 You scored as Philosophy. You should be a Philosophy major! Like the Philosopher, you are contemplative and you enjoy thinking about the purpose for humanity's existence.







































































Mathematics




 

100%
Philosophy




 

100%
Engineering




 

100%
Journalism




 

100%
Psychology




 

100%
Art




 

92%
Theater




 

92%
Sociology




 

83%
English




 

83%
Chemistry




 

83%
Biology




 

83%
Anthropology




 

75%
Dance




 

58%
Linguistics




 

58%

What is your Perfect Major? (PLEASE RATE ME!!<3)
created with QuizFarm.com

Thursday, February 09, 2006

Windows XP: Close ZIP Function

Close:
regsvr32 /u %windir%\system32\zipfldr.dll

ReOpen:
regsvr32 %windir%\system32\zipfldr.dll

http://yblog.org/archive/index.php/5913

Sunday, January 29, 2006

恭賀新禧

恭賀新禧,
祝大家龍馬精神, 心想事成, 學業進步, 步步高陞, 身體健康, 萬事勝意, 如意吉祥.

Thursday, January 05, 2006

GPG error: for apt-get

W: GPG error: ftp://www.hk.debian.org unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1D53D8C4F368D5D NO_PUBKEY 010908312D230C5F
W: You may want to run apt-get update to correct these problems

Solution:
$ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys F1D53D8C4F368D5D
$ gpg --armor --export F1D53D8C4F368D5D | apt-key add -
$ gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 010908312D230C5F
$ gpg --armor --export 010908312D230C5F | apt-key add -
$ apt-get update

Thursday, December 29, 2005

GDM

/etc/rc2.d/S13gdm

log_action_msg->log_begin_msg
log_daemon_msg->log_begin_msg

/etc/X11/default-display-manager

Friday, December 23, 2005

MySQL

grant update, insert, delete, select on *.* to user@host identified by 'passwd';
flush privileges;

Thursday, December 22, 2005

What philosophy do you follow?








You scored as Utilitarianism. Your life is guided by the principles of Utilitarianism: You seek the greatest good for the greatest number.

�The said truth is that it is the greatest happiness of the greatest number that is the measure of right and wrong.�
--Jeremy Bentham

�Whenever the general disposition of the people is such, that each individual regards those only of his interests which are selfish, and does not dwell on, or concern himself for, his share of the general interest, in such a state of things, good government is impossible.�
--John Stuart Mill

More info at Arocoun's Wikipedia User Page...


















































Utilitarianism










80%

Hedonism










80%

Existentialism










75%

Justice (Fairness)










75%

Kantianism










75%

Strong Egoism










65%

Nihilism










55%

Apathy










30%

Divine Command










0%


What philosophy do you follow? (v1.03)
created with QuizFarm.com

Friday, December 02, 2005

Decode Base64 mail

perl -MMIME::Base64 -le '$/=undef;print decode_base64( <> )' foo

Friday, November 25, 2005

Add MIME Type

Apache - add the type in "conf/mime.types" and restart apache

thttpd - need to recompile. Add the type in "mime_types.h" and "mime_types.txt" in the source code folder.
Then, Recompile it.

Thursday, November 17, 2005

Notes for SCIM installation by source

For CentOS4.

/etc/X11/xinit/xinitrc.d/xinput.sh

#export LC_ALL="en_US.UTF-8"

export XMODIFIERS=@im=SCIM #case matters for this variable!
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim

#export GTK_IM_SCIM_CONFIG_MODULE=simple
export GTK_IM_SCIM_IMENGINE_MODULES=table

Saturday, October 01, 2005

最後一天

今日是本人最後一天在英國倫敦的日子, 三年在倫敦的生活, 就此結束.
雖不捨得, 但沒有辦法, 因找不到工作, 因所有公司都需要工作證, 都是要離開.
雖visa在10月31日到期, 但早些回港可更快找到工作.
本人當然希望能在英國生活, 但已盡了力, 看看他日有沒有機會.