Subscribe to RSS Subscribe to Comments Blog of Roy Chan

Blog of Roy Chan

朋友聚會

上週五晚和一班朋友 (TOM/新城 舊同事)吃飯。以往逢週五晚有聚會,我都先回家把放滿五日衣服的背包和電腦袋放下,沖個身才出來。這次因為是吃晚飯關係,約得比較早,落船後拿著兩袋東東急急忙忙跑過去。

說實,我一直都並不太喜歡一大班人的聚會。除非有特定的目的或話題,總覺單對單或兩三個朋友的聚會會比容易談到一些有意思的事。一大班人不是分散幾批各有各談,就是談了許久也還在一些令人發悶題目上打圈。不過這次不同,結果吃完晚飯留到近十二時,再到酒吧談到三、四時才離開。大概這次人數也不算多,只是六、七個,當中差不多都是做傳媒的,話題比較容易統一。又或者這次少了 zunix,不會有人捉著我整夜談會務。或者給 deki 當面說了一兩句 『壞話』,感覺反而比較舒暢。又或者…. 哈! 無論什麼原因,這都是我近一年首次感覺最好的朋友聚會。


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]


公司 logo EPS

在 Oreilly Hacks 中找到這兩個站有大量公司 logo 的 EPS 。


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]


Fail in swsusp+ACPI under Linux 2.6.6

I have mention that something wrong with the hibernation partition made Phoenix BIOS hibernation take me more 5 mins to enter the boot screen every time I switch my x30 on. While Linux 2.6.6 is out, I decide to give ACPI and software suspend (swsusp) a try again (I had try it while Linux 2.6.0 is out, aound late Dec of 2003). However, I found that the swsusp in Linux 2.6.6 is outdated. New suspend2 have out for a while and planned to merge into the Linux 2.6 later. Worse that the original site have droped the suspend.sh of swsusp 1.x. It spend me much time to make it works. I found that I shouldn’t put “resume=....” parameter in GRUB if I had already specified in kernel config. However the suspend-to-disk is not much stable, It works once but fail today morning. Another problem is that the suspend-to-ram never works. (which is much more important to me) Finally, I decided to switch back to APM and watch until suspend2 merged with Linux main stream.

But if you want to have a try on it, here is some link related.


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]


Topics in Planet DebianHK

Last week, there is some comments about the blog topics on Planet Gnome. While someone complain about the “off-topic” of John Flecks’s blog, others point out the purpose of planet is collecting the blogs of people involved in a project but not only collect the blog related to the project.

Not long time ago, I’m think on the nature of Planet DebianHK while some comments that it is a bit chaos and didn’t have any focus. YP and me didn’t think of building a planet when we start DebianHK. When more and more people start to blog in DebianHK and more and more Planet, I start to think that blog might be a good idea to unite the hong kong free software community. Sure, DebianHK is not a development project as Gnome and Debian. But I really enjoy to know the what Debian/Gnome people are doing via Planets. So, we got Planet DebianHK and try to collect the blogs of Hong Kong free software developers and contributors.

BTW, Planet DebianHK is not a news page. It only a collection of blogs and needn’t to belong to Debian or even computer. This is the direction of Planet DebianHK, at least for this year.


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]


gscreensaver, Official Gnome 2 Develoepr’s Guide 和 Evolution RSS reader

davydlathiat 正計劃編寫一個新螢幕保護器 - gscreensaver 。用 Gnome 的朋友都知 Gnome 到現時仍沒有一個屬於自己的螢幕保護器。 xscreensaver 一直都和 Gnome 不太夾,又欠缺多國語言支援, Gnome 社群早想有一個新的螢幕保護器。有人亦為 davyd 列出多這幾年在 gnome maillist 上有關 要求有新新螢幕保護器的連結 。 davyd 和 lathiat 的構想是 gscreensaver 要合等 HIG 要求,便用 Gnome 介面 和當螢幕被鎖掉時會透過 D-Bus 通知各應用軟件,講各軟件可以更有效地處理這段閒置的時間。

gscreensaver

Gnome 的最新官方開發指南 - The Official GNOME 2 Developer’s Guide 已經出版了。有幾個 gnome 的開發者在其 blog 都有提及,風評算叫不錯。留意這本書假設了讀對 C 已有一定程度的認識,編程新手要有心理預備。

gscreensaver

很多人都投訴 Evolution 1.5 (將成為 2.0) 沒有了 Summary 頁, DanW 特為在 Novell Brainshare 2004 示範如何擴充 evolution ,寫了個簡單的 RSS reader evolution 模組 - evolution-brainread

gscreensaver


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


《走向共和》及《帝國的回憶》

早幾天因為五一假期 (我現在跟國內假期) ,一口氣把《走向共和》的 DVD 看完。整體感覺很好,拍得很有心機,王冰和孫淳分別把李鴻章和袁世凱演得活靈活現。當然這套劇也引起了我對清末民初時期歷史興趣,也在網上搜索了不少有關網站,比對過劇情和史實的差異。有不少批評指劇情和《康熙帝國》、《雍正皇朝》等一樣對史實有不少硬傷,但個人覺得做到現時的程度已經難得。要論忠於史實,我倒認為只有笨蛋才會以為一套劇集或一兩本書上說的全是真。

劇中講述了不少武力革命和君主立憲的爭辨,史上梁啟超曾批評到武力革命會令中國有二百年的內亂,想起辛亥革命之今,我國可以叫穩定的時間確實不多。當然歷史永不可以重來 (但歷史巨輪總是相似地重覆) ,而君主立憲也不怎可行。後部劇情比李鴻章在世時弱了點,但當談及共和憲政,不免令人奇怪國內竟會拍出這類敏感題材的電視劇。我想不會有幾個香港或外國人會覺得現時中國達到了劇中所說的共和憲政,而劇中只講到張勳開始企圖復辟就完了,有點古怪。聽說這劇在國內已”停止”重播。如果這劇可以現在在香港播影,確可以打那些港區人大幾巴掌。總而言之,很推薦這套劇。

昨天在樂文看到Johnny提過的《帝國的回憶》,買了回來。看了幾章,蠻有趣。


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


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