漆黑將不再面對


電腦生命天演論

說到機器智慧一事,有一班人努力研究,如何讓現有的機器表現出有智慧?他們設想的機器,會像人一樣,擁有獨立的身頭腦,可以與人交流,活脫就是另一「種族」的人類,但卻又擁有機器高速運算、邏輯準確、執行無誤的優


似乎還是當權者勝出

如果單純以為,香港人透過悼念六四,駐守著道德陣地,將自己劃分為與中國大陸不同的族群,是值得驕傲的話,那麼情況可能令人失望。

不錯,六四的確是一場慘劇,而公然否認這個歷史事實,顯然是對人命及智慧的侮辱,但

大娛樂家-(第99集)

2010-06-02
主持人: 林雨陽, 袁彌明
主題: 大娛樂家-(第99集)
Continue reading...

鬥不過無常

大約兩年前有個大學的同事駕車夜行時不小心衝落河裏,兩夫婦都溺斃了,他們的兒子一夜間同時失去父親和母親,教人心酸。幸而他們的兒子已讀大學,有能力照顧自己,假如他仍然年幼,這件慘事便慘上加慘。

其實幾年前我

Prince of Persia: The Sands of Time("波斯王子:超時空之戰") ----- 不折不扣的商業片!
























Film :  Prince of Persia: The Sands of Time (2010) (USA)
Directed by Mike Newell
Written by Jordan Mechner (story)/ Boaz Yakin/ Doug Miro/ Carlo Bernard
Starring Jake Gyllenhaal/ Gemma Arterton/ Ben Kingsley/ Alfred Molina
Music by Harry Gregson-Williams
Duration : 116mins

1. 故事不算特別,過程也沒有甚麼高潮位!

2. 其實不斷的追逐,被捉,逃脫,再

AT&T's New Data Plans - No More Unlimited...

After hearing about today's AT&T data plan pricing changes , I had a pretty bad gut reaction. After thinking more about the new options, I don't quite not what to think...

The new data plans are as follows:

Data Plus - 200 MB of data for $15/month. Additional 200MB for another $15.
DataPro - 2GB of data for $25/month. Additional 1 GB of data for $10.

iPhone Data Plan Usage - Jeff Geerling

利用 Java 將 Zip 格式解壓縮 (Use Java to decompress a ZIP file)

import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;import java.util.zip.ZipEntry;import java.util.zip.ZipInputStream;

public static void decompress(File source, File destination) throws IOException{    if (!destination.exists() || destination.isDirectory()){        destination.mkdirs();        ZipInputStream zis = new ZipInputStream(new FileInputStream(source));        byte[] buffer

利用 Java 將檔案與資料夾壓縮成 Zip 格式 (Use Java to compress file(s) or directory(ies) as ZIP format)

import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;import java.util.zip.Deflater;import java.util.zip.ZipEntry;import java.util.zip.ZipOutputStream;

public static void compress(File source, File destination) throws IOException{    compress(source, destination, null, Deflater.DEFAULT_COMPRESSION);}public static void compress(File source, File destination, String comment, int

A ZFS feature wish: rewriting read errors

Today's missing ZFS feature is most easily described by telling youabout the problem. Suppose that you have a redundant pool (okay, aredundant vdev) and one of the disks in it develops some bad sectorsthat can't be read. My current understanding is that this is not a'replace disk immediately' sign the way that write errors are, andthus can happen on otherwise healthy and usable disks.

(A persistent write error is a 'replace disk immediately' sign becauseit means that the