September 29, 2007
Refer to: Gnu - Global - Help - How to find the definition effectively
To put the story even shorter, the GNU GLOBAL will not treat C struct as definition, but as `other symbol’ . This means you may only find a struct with global -s, which will give you lots of irrelevant results.
This […]
Filed under: C, programming |
Comments (0)
September 20, 2007
PIL stands for Python Imaging Library. It is fairly useful when it comes to handling images under python. However, it comes with a pet peeve to me: the show() method of a Image object will execute sh xv <imagefile>I don’t have xv installed on my system, neither do I want to […]
Filed under: python |
Comments (0)
September 15, 2007
我相信一直以來,處理 email 應該是許多人的煩惱,或是根本不知道可以更加方便。
假如用免費的 mailbox,目前網路上提供最大的 gmail 是將近 3GB 左右,若是主要存文件檔,足夠了。而且考慮到 Google 有其他 PIM (personal information management) 相關的功能如 contacts, calander,事實上已經可以做為相當好的選擇。
但實際生活中,經常 mail 都有附件,以個人經驗來講,從 1998 年至今,大部分附加檔能刪就刪的結果,也有個 1.x GB,如果不刪,3 GB 可能還不夠。考慮到現在硬碟這麼便宜,很多人其實還是希望把信件下載,放到自己的電腦中。這方法有兩個問題:
其一是,必須選擇好的郵件處理程式。如果存 Outlook,我們知道 Outlook 以及 Outlook Express 在處理大檔案上都有些問題,mail 存量一多,速度以及穩定性就會減低。更何況我必須持續使用要付費的 Microsoft 軟體,才能看到我自己的信件。病毒、垃圾信等等問題也很困擾。
Webmail
本地端
容量
受限制,2.8G左右
只受硬碟限制
防毒
有
需自備軟體
防垃圾信
有
需自備軟體
問題二是,如此會造成所有 mail 存在同一台機器,無法在各處存取,少了 web 的方便性。
在 Linux 下(正確的說,是 Unix-like 系統下),對此問題其實有現成的解法。大概的架構是這樣的:
利用 fetchmail 把各地方的個人信件集中收下來 -> 傳遞給 linux server 的 MTA (mail transfer agent) -> MTA […]
Filed under: sysadmin |
Comments (0)
September 13, 2007
Guess this is appropriate for a blog about software.
>>> print “Hello, world!”
Hello, world!
Filed under: programming, python |
Comments (0)