anthony 的部落格

  • user warning: Can't open file: 'sessions.MYI'. (errno: 145) query: SELECT COUNT(sid) AS count FROM sessions WHERE timestamp >= 1511421612 AND uid = 0 in /var/www/drupal-5.23/includes/ on line 174.
  • user warning: Can't open file: 'sessions.MYI'. (errno: 145) query: SELECT DISTINCT u.uid,, s.timestamp FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.timestamp >= 1511421612 AND s.uid > 0 ORDER BY s.timestamp DESC in /var/www/drupal-5.23/includes/ on line 174.

Notebook hard disk failed; no 40GB 1.8" disk in Beijing

The hard disk in my new IBM X40 started misbehaving around 2am last night. Some time earlier it was making rather loud noises. And then two commands (ps and smartctl) locked up the machine and I have to used sysrq magic keys to reboot it. It's too soon for the harddisk to fail because the notebook was bought in October last year, so it's about 5 months only. My original plan was to buy a new harddisk, transfer data from the failing one to the new one as much as possible, and then take the failed one to an IBM repair center for a replacement. But the sad news is I could not find a 40GB 1.8" harddisk (which the IBM X40 can only use, it can't use the 2.5" ones) in Beijing's Zhongguancun! Zhongguancun to Beijing is what the Golden computer center to Hong Kong, you go there for any kind of computer hardware and parts. For all the shops I asked which sold 1.8" harddisk, they only had 20GB. Once again, it proves that if you want to play with the newest electronic toys, your best bet is to try your luck in Hong Kong :|


It's so uninteresting...
Your Brain is 40.00% Female, 60.00% Male
You have a total boy brain Logical and detailed, you tend to look at the facts And while your emotions do sway you sometimes... You never like to get feelings too involved

Mozilla China officially launched today, which is backed by the Institute of Software, Chinese Academy of Sciences (ISCAS) and the Sun China Engineering and Research Institute (ERI). Well, isn't it funny to see that ISCAS's website doesn't render properly in Firefox 1.0?

No. of download per architecture for

After reading Tollef Fog Heen's blog, I tried to do a similar statistics on from Dec 2004 to Feb 2005. Results are as follows (only include successful requests, that is HTTP 200 responses). Hmm, I think some archs can be cut to save some disk space...

First day of Beijing Debian mini-conf

The first day of Beijing Debian mini-conf was a success, and I'm sure tomorrow will still be great. Although we don't have any fist fight or even the slightest flamewar as Alex Schemhl had expected, the participants are really looking for something in this conference. There are more than 10 journalists in this morning, so there are more people than we expected and the room was already full when I arrived and chairs had to be added to accomodate more people, yet some people still have to stand (Oops yes I was late anyway).

The high time is the keysigning session. It's cool to do something that other people don't know what you're doing yet you're enjoying doing it. (Just kidding Smiling) Although this is the Asian Debian mini-conf, there are actually people coming from all over the world, the US, Europe, Taiwan, Japan, Hong Kong, Singapore, etc. Great event.


明天就是debian mini-conf了,雖然我只是參與的份兒,但還是非常的期待的。 Evil

Newton never dies

While my coworkers and I were talking about Palm, Be and Apple tonight, Fatcat said that the demise of BeOS is a pity, and I replied that the demise of Newton is even a tragedy. Thanks him for telling me that there was a Newton conference in September, which was held in Paris. It's cool to see that after a product has been discontinued for 6 years, there is still a strong user base following it. To me, Newton has a position that can never be replaced. Same as other Apple products, Newton was (and still is) innovative. Not only that Newton (MessagePad 130) was the first real PDA that I used and developed upon (I wrote a navigation system with GPS in my Final Year Project), its UI design, the NewtonScript programming language, the object storage (soup), the handwriting recognition, all of them are just amazing and elegant, they are pieces of art rather than just technology. Its UI is simple yet effective and user-friendly, with consideration of accessibities and different form factors. NewtonScript is simply the best computer language besides Smalltalk, this template-based object-oriented language with the excellent IDE (don't get me wrong, I'm a vi guy, but this IDE follows the KISS paradigm, which is like the Smalltalk browser) makes programming for Newton a breeze.

LCD broken, using VNC4

The LCD of my IBM X21 has become worse for quite a few days now, it doesn't display the correct colors - black as red and white as cyan, etc, that's horribe to the eyes. Until a new one arrive (the IBM X40, yay) tonight, I am using VNC4 on another desktop computer to use the X desktop. Strangely I can't make the VGA output work after around the time that I upgraded to the 2.6 series kernel. I'm happy with VNC4 so far, the only problem is when I press Ctrl-space to switch to input Chinese, the keystrokes are captured by the host computer instead of the desktop being connected.

中日韓 Linux 聯盟 何去何從

盛傳已久的中日韓(CJK) Linux 聯盟具體工作已經正式開始。昨天我突然收到通知,公司要我去中方的工作組開會。得悉日本和韓國已經提出了初步方案,中國之前則只是隨便的提到會做有關桌面的東西。對於這些會議我從來不感興趣,因為實際效益實在太低,對於我喜歡少說話多做事的就覺得是浪費時間。

會議第一階段是自由發言,大家各自就日本和韓國的方案發表意見。第二階段各人提出方案,特別是就桌面方面的想法提出意見。由於聯盟能做的絕對不是開發工作,因為協調不容易,不同公司有自身的利益,一個跨公司的開發團隊成功的機會很底。所以目標是放在研究和調查等方面。我提出我們可以從 desktop 的 usability 著手,對於現在流行的 Linux desktop 做 usability 的研究,制定測試的方法和準則,然後分別在中日韓三國建立實驗室,得出分析報告。結果可以給 Gnome 和 KDE 做參考,希望能有正面的影響,促進 Linux desktop 在 usability 的發展。

sarge d-i

上次幫自己部 server 裝機,用左隻 sarge installer,感覺非常好,全程都無問題。雖然 sarge 未 release, 我以後都會繼續用 sarge d-i 喇。

不過voidoo大哥,而家未有 security update 喎,咁係咪要等 release 咗先可以用部機呢?

與 dpkg 君的一席話

2004年3月31日,14時24分,在 的 #debian 頻道我和 dpkg 君有過這樣的對話,節錄如下:

<ypwong> gnome
<dpkg> it has been said that gnome is a desktop environment - see a little dwarf, or a race in d&d, or not the same as gtk but the gnome developers don't know that
<ypwong> debian jp

Woody 是牛仔電影中的人物?

開放系統世界是國內的一本Linux和開源雜誌,由國家背景的賽迪集團編寫,以月刊形式發行,每期100頁左右,從業界到end user的使用都有涵蓋,內容算是豐富。以前在高登等電腦商場都可以買到,但現在我不太清楚。


“其實,就像Windows 95的代號是Chicago,Windows

All work and no play...

All work and no play makes Jack a dull boy. What work I have done this week, too much. Looked into Nukes from the Jboss project, tried different plugins of Eclipse: vim plugin, subversion plugin, black sun editor plugin, finally got to try out the Innodb engine in MySQL, discovered a cool GPL'd data modelling tool called DBDesigner4 which can reverse engineer databases, configured ODBC for PostgreSQL by using the PostgreSQL ODBC driver, psqlodbc and unixODBC, dug into Torque to see how it works with Innodb, and set up PhpWiki for our team.

Russian Debian

在google隨便的輸入了 "debian hong kong",竟然發現有個俄文的Debian網站(翻譯)提到我們這個網站,呵呵,可能他們也是從google找到的。

Swiss army knife - the Geek version

瑞士軍刀是求生工具,USB disk 也是求生工具,前者用於野外,後者用於電腦環境,兩者合而為一又如何呢?