Subscribe to RSS Subscribe to Comments Blog of Roy Chan

Blog of Roy Chan

God damn busy!!

Ho, I really god damn busy recently. Many things are on my TODO list.

  • Contact friends for HKLUG
  • Write PR of coming LinuxTalk (finished)
  • Organize DebianHK Cafe Meetup
  • Ask Foka or YPWong to upload new stardict 2.4.4-1 debian package
  • Port CJ3, Quick (速成), CantonHK(港式廣東話) and Stroke5 (筆順五碼) input method to SCIM 1.1.x (James Su have already give SCIM CVS access to me)
  • Patch debian scim-tables-zh to include the above 4 input method and submit to Osamu Aoki (青木修) and Ming Hua
  • SWP works

_< Dying!!!!


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


中文 Debian

這幾天把上次完美 Linux 中文桌面安裝實戰Workshop Zunix 和我版本的指南整理好放上 wiki


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


你是那個 OS?

「你是那個 file extension 」後,這次是到「你是那個OS」:

You are TRSDOS. Compatibility is always an issue with you.  You feel the world has passed you by.  Time has not treated you well.
Which OS are You?

看看其他 OS 是怎樣?


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


再談 SCIM

早在本年年頭就曾和 foka 討論過有沒有那個輸入引擎可以取替 xcin 。其實 xcin 一向問題多多,對 ISO10646 的支援也怪怪的。不過算是接近倚天及繁體 windows 的輸入方式,其他輸入引擎又問題多多,所以變成近乎唯一的選擇。 foka 當時也有提過 SCIM ,不過因為其智能拼音當時還不是開源的和我未有留意這個系統的潛力 (當時我太重視是否支援 IIIMF),所以未有考慮。

不過這幾天發覺 SCIM 頗接近心目中理想的輸入引擎,功能亦頗不錯。不過,用戶重視的是使用習慣。SCIM 的倉頡字碼表來自倉頡之友 馬來西亞, 包括了簡、繁、香港字及日本漢字等近三萬字。簡繁日的 “曉” 字都可以用倉頡打出來:

  • 晓(簡):日十心山
  • 曉(繁):日土土山
  • 暁(日):日十廿山

這本是好事。但這個字碼是採用倉頡第五代,和一般香港人常用的倉頡第三代有分別。事實上第五代有了差不多二十年了,我自己唯一一本倉頡書都是以第五代為準。不過 Windows 一直都只附運第三代,所以當年我教中文電腦時仍是依第三代。第五代加入了一些字根,令重碼率降低,有利這個近三萬的字集,但亦改變了一部份字的編碼,要點時間適應。

簡易 (速成) 的問題較大,因為字沒有排好,令人很容易選錯字。 Zunix 近幾個月就經常打錯字,”裝” 打成 “娤” ,很多字打了簡體出來,弄得文章又繁又簡。 我開始的時候不明白為何,近日才意識到問題所在。似乎真的要重做一個新速成字碼表。早幾年我為 xcin 做的簡易 (速成) 表,因為我很少用簡易,所以到最近才知道多重碼時,排位和 Windows 仍有分別。更有趣的是很多香港人都不知道”簡易”即”速成”,令他們以為 GNU/Linux 沒有”速成”輸入法。這次我似乎要花點苦功。[做好了,請參看 SCIM 的「速成」輸入法]

On The Spot 開啟了會令 gnome-terminal 打不到中文和在 OpenOffice.org 的 table 上跳格,最好不要開啟。 (新版 SCIM 解決了 這兩個問題)

更新: 請留意這是多年前的舊文,有關『速成』和『倉頡三代』輸入法,我已在完成不久提交變 SCIM 並已收錄在現時大部份 GNU/Linux 了。事實上你應該可以很輕易在現時 GNU/Linux 選擇使用『速成』和『倉頡三代』輸入法。雖然近年大部份 GNU/Linux (包括 Ubuntu 及 Fedora) 都轉用 IBus 作標準中文輸入平台,但 IBus 亦把所有 SCIM 輸入法移植至其平台。問題只是很多 GNU/Linux 開始預設沒有安裝『速成』。以 Ubuntu 9.10 為例,你需要自行安裝套件ibus-table-quick,Fedora 13 使用者曾需要裝裝套件 ibus-table-cangjie。安裝後重新啟動 IBus 並再在 IBus 設定程式加入『速成三代』就可以了。詳情請參看《安裝 Ubuntu/Kubuntu/Xubuntu/Lubuntu 桌面》《安裝 Fedora》中有關安裝輸入法一章節。


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Linux 中文桌面 workshop 及 SCIM

這天中午終於完成了 第二場 “完美 Linux 中文桌面安裝實戰” workshop ,結果因為 proxy server 突然當了搞得一團糟。看來下次還是要起個小 mirror 。為了這個 workshop ,昨晚特地用熟了 Synaptic 其他功能。 (我一向主用 apt-get/aptitude) 也試轉用 SCIM ,倉頡換了第五代,有些字碼變了,按鍵處理也轉了,很不習慣。不過以功能和前景看,我終於可以把 xcin 掉了。 XP 的倉頡和新倉頡仍是跟第三代字碼。看來似乎有必要做個三代的表, 應該可以用 xcin 的表轉過來。

更新: 請留意這是多年前的舊文,有關『速成』和『倉頡三代』輸入法,我已在完成不久提交變 SCIM 並已收錄在現時大部份 GNU/Linux 了。事實上你應該可以很輕易在現時 GNU/Linux 選擇使用『速成』和『倉頡三代』輸入法。雖然近年大部份 GNU/Linux (包括 Ubuntu 及 Fedora) 都轉用 IBus 作標準中文輸入平台,但 IBus 亦把所有 SCIM 輸入法移植至其平台。問題只是很多 GNU/Linux 開始預設沒有安裝『速成』。以 Ubuntu 9.10 為例,你需要自行安裝套件ibus-table-quick,Fedora 13 使用者曾需要裝裝套件 ibus-table-cangjie。安裝後重新啟動 IBus 並再在 IBus 設定程式加入『速成三代』就可以了。詳情請參看《安裝 Ubuntu/Kubuntu/Xubuntu/Lubuntu 桌面》《安裝 Fedora》中有關安裝輸入法一章節。


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


王漢宗字型、螢火飛中文patch debian 包

先來一個遲來回應解釋為何 Debian 沒有王漢宗字型包:

  • 舊版的王漢宗有很多問題,如沒有 Unicode 編碼表 (只有 Big5) ,中英混用時會疊在一起,大部份是標題字形,缺乏宋(明)、楷形。所以一直沒有人有意欲去包。

  • 新版推出時,幾個華人 Debian Developer 都很忙,沒有人去包。

  • 自己動手包了的人沒有找個 Debian Developer sponser 他們上載去 debian

事實上我包整套字 mirror 了一份 在 www.debian.org.hk 中,不過未有放出來。(因為一放出來,所有 bandwidth 恐怕又會被全佔去了。阿當又失了蹤,轉 hosting 的計劃大概……..) 早一陣,我也想過包一包後再找 foka 或 YP 幫手上載。不過忙了一陣子,新的時間表定了 18 日 last call ,應該趕不到。一個月前曾和 lightning 談過現時活躍的華人 Debian Developer 太少了,應該送多幾個入伍,加強 debian 對中文的支援。

另外,我從 ustc mirror 了螢火飛中文 patch 的 debian 包,有興趣的朋友可以在 /etc/apt/sources.list 加上:

deb ftp://ftp.hk.debian.org/unofficial/firefly/binary-i386 ./

非香港用戶最好自己找個近一點的 mirror ,亦可以 rsync rsync://ftp.hk.debian.org/firefly 。


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Debian Hackers in Booth

May be I should be glad that there is not really many Debian Developers in Hong Kong and help on the same event while I’m still in LUG. Otherwise I should worried about this.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Stardict debian 套件相依關係圖

早幾天突然留意 apt-rdepends -d 個指令可以將一個或多個套件的相依關係用 springgraph 的格式列出來。再經 springgraph 就可以產生一幅 PNG 格式的相依關係圖。

 $ apt-rdepends -d stardict >stardict.dot
 $ springgraph <stardict.dot >stardict-dependency.png

Stardict Dependency


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Debian Release Cycle

It is said that Debian Release Cycle is the longest among those major GNU/Linux distros and the package in stable release is very old. Sometime ago, I collect the release date of debian and make a table.

Ver. Name Date Period Packages. Developers Features
1.1 Buzz 1996-06   474   2.0 kernel, fully ELF, dpkg
1.2 Rex 1996-12 6m 848 120  
1.3 Bo 1997-07 7m 974 200  
2.0 Hamm 1998-07 1y 1500+ 400+  
2.1 Slink 1999-03-09 8m ~2250   Add Alpha and sparc support
2.2 Potato 2000-08-15 1y 5m 3900+ 450+ Add PowerPC & ARM
3.0 Woody 2002-07-19 1y11m 9000+ ~1000 Add HP, PA-RISC, IA-64, MIPS, MIPS (DEC)
3.1 Sarge 2004-08? 2y      

Surprised me that the release cycle is slowing down in recent releases because of the increasing of supporting architecture. Debian policy stated they will try to backport security fix rather update on stable release to confirm the while debian is as stable as possible. Therefore, it is better to compare the release cycle with Redhat Adv. Server (RHAS) and SuSE Enterprise Server. The release cycle of RHAS is around 12-18 month.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


My home IPMasq box

Finally, I have reinstall my home IPMasq box to Debian Sarge. (It is a Mandrake previously, while once a upon of time I want to try Mandrake 7.x for teaching and haven’t time to upgrade it for years) Alas that it is a pretty old box (AMD K6, bought in 1999) and I haven’t touch it physically for long time, the CD-ROM drive is dirty and fail to boot any Debian Installer within my finger except the BBC Linux 2.1. Therefore, I decided to install the sarge via debootstrap. It is interest and great. May be I would write some article about it later. Beside, I found galternatives enter Sid yesterday, it’s also the time for me to write something about update-alternatives.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Stardict 2.4.3-3

Finally, I have finished packaged the stardict 2.4.3-3 package. This build is fixed the problem of FTBFS with GTK+ 2.4. I have also translated a traditional chinese help help of stardict (submitted to upstream) and packed in this build.

While I didn’t get any problem on building with pbuilder last week, I got the same problem as Sebastien’s bug report this time - Missing X11. It spent several hours to work in the pbuilder environment and found that I miss a build dependency on libxt-dev finally. (Should it be depended on other gtk/gnome libraries?)

I try to test this build with pbuilder in Sid and Sarge. It should be ok

Oops, wrong timing. All port fail to build via buildd. Sad


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


其他迷你 Debian 安裝光碟

早前寫了篇小型 Debian 安裝光碟簡介,今天看到另外兩個類似的東東,分別是在 freshmeat 找到 euronode和剛在 Debian-Devel 發表的 DebianFromScratch。Euronode 重點是要簡化安裝 Debian 伺服器的步驟,自動偵測硬體及分割硬盤,以五分鐘時間安裝一個基本的 Debian Woody 伺服器。DebianFromScratch 則提供一個安裝及收復系統的光碟,支援各類檔案系統及軟體 RAID 和 LVM2 。她亦提供了一個程式方便任何人調節適合自己需要的 DebianFromScratch 光碟。


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Stardict 2.4.3-2 uploaded

Spent sometime to solve the dependency problem of Stardict package, YPWong help me to upload the Stardict 2.4.3-2 package to sid yesterday. It sounds like solved most bug report but I got one more report this morning. Sebastien Bacher had spending a whole day to compile most gtk+ application under GTK+ 2.4 and submit bug report to those failed. And Stardict is one of them.

After having a glance on it, it is caused by fail to find the X11 library!? Oops, the log show his machine have already install libx11-dev. BTW, try to re-compile Stardict with GTK+ 2.4. (The old package work well under Gnome 2.6, I have tested it)


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


wiki

有些人已知道我用 mediawiki 起了一個 wiki 站給 DebianHK。新版 mediawiki 安裝比前容易,但仍未支援 rss 。這個 wiki 站基本上可以使用,但我想整理好 使用指引,文章版權等才開發出來。以前在 HKLUG 起過一個 wiki 站,但不成功。明白到要搞要一個 wiki ,一個明確有效的方針是很重要。所以在未完成前,我還不會公開讓人使用。剛好今天看到一篇講述如何鼓動人參於 wiki 的文章,可以借鏡。


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Linux 2.6.5 and 2.6.6

Besides stardict, I spend sometime on reading the new feature Linux 2.6.6 on 14th night. It seems that 2.6.6 got some interesting thing like “laptop-mod” and CFQ and worth to have a try.

As I have mention, my HDD was damage and I have to re-install everything these few weeks, including kernel 2.6. I haven’t backup my Linux 2.6.x .config before the HDD damage. It spent me several hours to re-select the suitable configuration for my Thinkpad x30. This time, I decided to upload my configuration for backup and sharing even it is not prefect yet. If you also using the IBM Thinkpad x30, you can find my compiled Linux 2.6.5 here. It works with all my extra devices including:

  • Palm Tungstun T3
  • Truly MP3 Player MP378
  • Buffalo PCMCIA Wireless LAN WLI-PCM-L11
  • EagleTec CF 5in1 card reader

I keep using APM while I found the software suspend in 2.6.0 doesn’t work. The hibernation of Pheonix BIOS works ok before my HD damage but the notebook spend over 5 mins. to enter the GRUB screen everytime I switch on. It really freaked me out and thought the HD was damaged again. I don’t know why it stalled so long before booting and suspend it is caused by the wrong geometry location of the hibernation partition. But I’m sure it is not the Linux problem. I may need to relocate the partition or move to ACPI and try software suspend again.

No devfs support while it is obsoleted. I decided to try udev later.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


stardict 2.4.3-2

Yesterday, I work a whole night on the stardict package again and didn’t sleep til 7 today. I don’t got holiday during easter and my hacking plan delayed. Then, I haven’t touch it for a while after 2.4.3-1 enter Sid. However, the package is stuck in Sid and fail to enter Sarge. I spent a few night to try to solve it and other remain bugs. With the help of YP, I found that it is caused by my hard code dependency on stardict-tools and make it fail to install on Alpha and IA64 platform (They don’t got libc6 but only libc6.1) I hard code that coz I found dpkg-shlibdeps fill the dependency with many unnecessary package. I seems that it is better to modify the automake to minimize the dependency.

Apart from the dependency problem, I also fixed two remain bugs in the BTS and point the documents of package stardict to the one in stardict-common to save space. Now, waiting for the help of Foka and see if this version enter Sarge. Wow, it will be bug free in BTS if everything is alright!


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


The Lord of the Swirls and types of woman

In Amaya’s Fotopage, I found some great Debian wallpapers!! "One swirl to rule them all".

From Andrew Lee’s blog, I found a page talk about types of woman.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


More about Gnome 2.6

Finally, I have installed the Gnome 2.6 Experimental Debian package in some testing machines. They are not yet on Sid or event Experimental while some are still stuck in Incoming. But I found that the Debian Gnome team build a repository for those packages when I read Jordi Mallach’s blog. If you got a spare space and would like to try them, put the following line in you /etc/apt/source.list:

deb http://www.hk.debian.org/debian/ sid main non-free contrib
deb http://www.hk.debian.org/debian/ experimental main non-free contrib
deb http://pkg-gnome.alioth.debian.org/debian/ experimental main

Then use your favorite APT client to upgrade to Gnome 2.6.

If you use Slackware, Dropline Gnome 2.6 is available now.

Of course, don’t miss some another Gnome 2.6 review from OSNews and The state and future of Gnome 2.6.

I can’t describe how Gnome delight me in these several releases. I heard many KDE advocators stated that many new features of Gnome had already existed in KDE long time ago. But sorry. KDE is never my cup of tea! And undoubtfully, the future of open source desktop is belong to Gnome. ;P


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Blog 拾趣: CSS Template, *zip 比較, Debian 車 , vim

Amayita 的 blog 找再一張 Debian 車和一張開性別歧視的圖片。

Sun JDK 在 Debian

Torsten Curdt 找到了一篇詳細講解 如何在 Debian 上安 Sun JDK 的文章 ,我記得在台灣 DebianWiki 中也有一篇

圖像化瀏覽歷史

一班 Mac 愛好者開發了一個支援很有趣的追溯瀏覽歷史方式的瀏覽器,把用一個流程圖顯示 你的瀏覽歷史,每個網頁都用其縮圖代表。(SSL 的網頁可以用將縮圖糢糊化或用其他圖示取替) 應該很實用。可惜這瀏覽器只在 MacOS X 上運行。

CSS Template

Gregor J. Rothfuss 看到一個不錯的 CSS 網站, 收集不少 CSS Templates 。該站原只有德文版,現提供了英文版,不過那些 CSS Tempates 似乎還未移過 英文版,所以要拿 template 時要在 url 去刪去 en/

Drupal 主站看到 Gnome Angalore ,有不少篇排似乎值得借鏡。

gzip 對 bzip2 對 rzip

另外,亦由 Planet Apache 看到幾個人在為 gzip 、 bzip2 及 rzip 做表現測試。似乎 rzip 都是一個不錯的壓縮工具。

Ent!?

這張相片上的是樹人嗎!?

vim

由某個 blog 看到 vim 也不一定文字編輯器。


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Ok, stardict 2.4.3

Ok, I just received email from Debian Installer system that it finally accept my stardict 2.4.3 packages. You will see them around in SID soon. Remind you once again, no dictionary is included in the package. You need to download from the original site or wait until I have time to hack the Dict format. May be easter, I don’t know.


Share It: [del.icio.us] [Technorati] [Google Bookmark] [Yahoo MyWeb] [Furl]


Based on Fluidity© 1998-2007 Roy Hiu-yeung Chan