毛孩 (+資料更正)

中學時代,就讀女校,沒男生可看,一眾女孩子異常苦悶,唯有日日夜夜對其他女生評頭品足。

任何一個同學有肉眼可見的唇毛、手毛、或腳毛,大件事啦~「毛孩」、「猿人」或「長毛象」任選其一,從此成為她的花名。

然後

利用 Java 複製與删除檔案及目錄 (Use Java to copy and delete a file or a directory)

import java.io.File;import java.io.IOException;import java.io.FileNotFoundException;import java.io.FileInputStream;import java.io.FileOutputStream;import java.util.Arrays;

public static void copy(File source, File destination) throws IOException, FileNotFoundException{    if (source. exists() && !source.equals(destination)){        if (source.isFile()){            FileInputStream fis = new FileInputStream(source);            FileOutputStream fos = new FileOutputStream(

Guru Dutt的故事 (五) : 喜劇報捷


《Aar Paar》的成功, Guru Dutt穩步上揚, 有信心製作下一部作品《 Mr & Mrs '55 / 55年的夫妻》. 這部喜劇加入更具爭議性的社會議題: 離婚. 1954年, 印度通過離婚法案, 女性有權提出離婚. 有人認為《Mr & Mrs '55》反對西
Continue reading...

The importance of figuring out low-level symptoms of problems

Suppose that you have an IMAPserver; it has mirrored local system disks, a bunch of memory, and adata filesystem (where the mailboxes are) in a RAID-10 array provided bya SAN. One day, it starts falling over unpredictably; the load averagegoes to the many hundreds, IMAP service times go into the toilet,and eventually the machine has to be force-booted. But this isn'tconsistent, and when it happens it happens very rapidly, going from anormal tiny


兩次險死

生平有過兩次險死的經驗,都是駕車時發生的,雖然事隔多年,現在想起來,當時驚險的情景還歷歷在目。

到美國後的第二年,有兩個朋友從香港飛過來探望我們。雖然當時我只有一年多的駕駛經驗,卻大膽決定載朋友到遠處遊

貪污這回事,中國人的地方就是難免。

不要說明朝那些吃空餉的貪污手段,香港的生產力促進局都表現出這種優秀的中華民族傳統。

看看這一報告

報告指出,生產力促進局於2005年進行全面盤點,發現在固定資產登記冊記錄的26,045件物品中,有8,7


Java 的 Internationalization 與 Localization (Internationalization and Localization in Java)

在 Test.java 中編寫
Create a file call Test.java and type

import java.util.ResourceBundle;import java.util.Locale;public class Test {    public static void main(String[] args){        System.out.println(ResourceBundle.getBundle("messages").getString("greetings"));        System.out.println(ResourceBundle.getBundle("messages", new Locale("a", "b")).getString("greetings"

快樂


快樂是看見家人的快樂,然後自己也快樂。

表弟昨日結婚,辦了一個令全家人都快樂的婚禮。

平時到朋友的婚禮,總及不上親人的婚禮那麼親切,那種親切就是現場大部分親戚你都認識,你不會感覺陌生,你會知道其他親朋都在

Lab Series Max LS

試用了Lab Series的男士護膚三步曲差不多3個月,是時候來到第三步—–潤膚。

由於我屬於油性皮膚(我想知道那個麻甩佬不是),初時我還以為,隨便找一瓶潤膚產品也可以,反正面部油脂很快便會出來,洗面後只要隨便塗上少許

Continue reading...

The comedy potential inherent in people reusing your address space

For my non-sins, I used to be one of the people who saw email complaintsabout UofT-wide spam issues (as opposed to spam issues for the specificsubdomains that I was responsible for). As part of this, every so oftenwe would get a complaint saying that a UofT IP address (usually but notalways in 128.100.0.*) had spammed people, with Received: headersincluded so that we could see this ourselves.

There were two problems with