Huahai's blog
大草原和越野车:谈谈科学的硬壳(上)
到非洲撒哈拉沙漠以南辽阔的大草原(Safari)上旅行可能是很多人的梦想。在电视上大家可能看过这样的镜头:纯净高远的蓝天之下,水草丰美的草甸之上,大群大群的野生动物随意倘佯,与坐在越野车上的游客咫尺相邻,兴奋的游客们有的照相,有的惊呼指点,好不快活。不过,如果知道这些游客在上车前受到的警告,可能有人就不会觉得有这么快活了。
嫉妒教信的是假道么? 一个教义的分析
面对嫉妒教徒(1)的所作所为,很多人很疑惑,为什么这些自称以耶酥为楷模的人群,
行为上和耶酥所教的往往是背道而弛呢?我现在说的行为,并不是指个别嫉妒教徒的恶
行,而是在嫉妒徒中普遍的存在的,在外人看来是虚伪的行为。一个极端的例子,就是
前美国新教福音派领袖Ted Haggard。而不那么极端的例子,读者如果留意,就可以在
身边找到。正如甘地所说:"我喜爱你们的耶酥,只是太多的嫉妒徒和耶酥实在太不像
Suspending to RAM on Debian laptop
I am tracking Debian sid on my Thinkpad laptop, a few months ago it started to use pm-utils and broke suspending to RAM (sleep) functionality. Basically, the machine would go to sleep then immediately resume.
It turned out that this problem can be easily fixed by creating a file /etc/pm/config.d/local, and put in a line
The reason is that pm-utils by default does not unload Ethernet card module e1000, so the machine would be waken up by Ethernet card activities.
YouTube censors BBC's documentary in USA
BBC is broadcasting a documentary series titled "A year in Tibet". From the program description on BBC Web site, this documentary shows the real life today in Tibet. The first segment was shown on Mar. 6. Not surprisingly, there is a Youtube video of this first show. Surprisingly, if you attempt to access this video in US, Youtube says "
an interesting birthday gift

Huahai has received his birthday gift from Yunyao, a few days early.
What's inside?
Wow, a scenic flight certificate, what a lovely gift! Thank you, babe.
Create Multiple Modules Maven Project in Eclipse
Modularized software system design is often a good idea. Maven is the new software build system that is purported to be better than ant. For my new project, I want to create a maven build consisting of multiple modules. To do this, and let Eclipse treats these modules as parts of a single Eclipse project, I used the following procedure.
First create the top level maven project, which will be the container of the modules. Our top level maven project is called "cool".
Java time resolution
I am writing a Java program to run psychology experiments. Since this is a generic program that may be configured for running some reaction time (RT) experiments, I am worried about the time resolution of Java. It turns out that I don't need to worry too much, except on Windows. On Linux, one millisecond time resolution can be consistently achieved using either System.currentTimeMillis() or System.nanoTime() call.
Reference to Individual Email Message in Plain Text File
A lot of people implement GTD methodology entirely with Gmail. I don't feel comfortable doing that because gmail is not that secure. And I think depending on a network service is a bad idea for a GTD system. So I still download all my emails to my local computers.

