Huahai's blog

A conversation about the job talks of new Ph.D. graduates in computer science

Yunyao and I work in a research center of a major technology company. At this time of a year, we attend job talks every week. These talks are technical presentations given by candidates for our research or development positions, as part of their two day job interviews here. Not surprisingly, the majority of the talks are given by newly graduated computer science PhDs who have published a lot of technical papers in premier computer science conferences. After a while, we kind of see some common deficiencies of these new graduates. Below is an instant messaging conversation we had right after attending a talk, which I hope would be helpful for some people.

YY: How do you like the talk?

HH: good slides

YY: yes, very well made

HH: lack of big picture in question handling Continue reading »

一个关于儒家核心价值观的对话

下面是一个中文BBS上发生的一个关于中国传统文化和价值观的对话,我简单编辑了一下,贴在这儿,也许对某些人有所助益。

[猴娘]  基督教中国化,会不会产生一个类似禅宗一样的新宗教呢?儒学和基督教的融合,存在什么样的困难?
...

[东沟]  ...儒家其实从鸦片战争之后就有所蚕食,五四以后开始被踹,文革时候彻底踹倒。然后改革开放的现代化把其经济基础彻底瓦解,连死灰复燃的机会都没了。一句话:我没有说文革十年毁掉中华文化,我说的是文革十年在中华文化的破房子上踹上最重也是最终的一脚。

今天儒家只能当历史瞻仰,不可能当做信仰。你可以对儒家有无限怀念,但你绝对不会三妻四妾,绝对不会趋义弃利,父母死了绝对不会三年守孝,要是女的更绝对不会三从,也绝对不会饿死事小,失节事大等等等等。你可能会“三思而后行”,会“满招损谦受益”,会“学而时习之”,会“己所不欲勿施于人”,但因为这些东西跟普世价值太像了,你不能说信奉他就是信奉儒家。

[火柴]  你真逗,因为不能“三妻四妾趋义弃利三年守孝三从饿死事小失节事大”,所以儒家灭了。因为“满招损谦受益,学而时习之,己所不欲勿施于人”跟普世价值太像了,所以不能叫儒家得叫普适价值。感情叫不叫儒家不取决于自己,取决于别人.如果有一天查理提出个“朋友来了我真高兴”的狗皮膏价值来,我们就得把自个的信仰改成狗皮膏了

[东沟]  听你启发,我要修正以下,“满招损谦受益,学而时习之,己所不欲勿施于人,朋友来了我真高兴”,这些东西就是生活箴言,算不上信仰。 Continue reading »

读《概念空间》 - 0

Peter Gardenfors, Conceptual Space: The Geometry of Thought, MIT Press, 2004

我先写个总的印象,再逐章总结一下,这书共八章。 Continue reading »

中国的技术引爆文艺复兴?

《1434》是一个英国退役的潜艇舰长Gavin Menzies写的书,是他的《1421》的后续。《1421》主要是说是中国
人,具体的说,就是郑和舰队的一支,发现了美洲。自然,有很多人质疑。其中一个观点就是如果中国人发现了美洲,咋没到更近的欧洲?《1434》就主要讲郑和的舰队的一支,在最后一次出航的时候的确到了意大利,并且带去了技术引爆了文艺复兴。 这本书也花很大篇幅介绍了中国舰队使用的星相航行技术的细节,弥补了上一本书的一些缺陷。 Continue reading »

Thinkpad Hotkeys in KDE4

I have kept my Thinkpad X61 laptop up to date with Debian sid for a few years. The KDE4 in Debian sid is at version 4.4.5 at this moment, and I think it is mature enough for me to switch the laptop power management from my own hacked up solution to a KDE integrated one. My old solution still works for the most part, but there are some glitches after repeated supsend-resume cycles. As the system keeps evolving, I suspect more things would break. Continue reading »

心理学能成为一门关于思维的科学么?

心理学能成为一门关于思维的科学么?

斯金纳 Continue reading »

Config Spring and DWR on Jetty with zero XML

I hate xml configuation files. They look awful. As a result, they can be very time-consuming to write, and are very error-prone. There's no type-safty checking whatsoever. I would rather keep configurations within my Java source code. After all, we programmers are the only people looking at these configurations, why create trouble for ourselves? Luckily, with annotation support in Java, we can now completely do away with xml files for developing Web applications. Here is my recent experience integrating Spring framework with DWR on a Jetty sever.

Spring Continue reading »

大草原和越野车:谈谈科学的硬壳(上)

到非洲撒哈拉沙漠以南辽阔的大草原(Safari)上旅行可能是很多人的梦想。在电视上大家可能看过这样的镜头:纯净高远的蓝天之下,水草丰美的草甸之上,大群大群的野生动物随意倘佯,与坐在越野车上的游客咫尺相邻,兴奋的游客们有的照相,有的惊呼指点,好不快活。不过,如果知道这些游客在上车前受到的警告,可能有人就不会觉得有这么快活了。 Continue reading »

嫉妒教信的是假道么? 一个教义的分析

面对嫉妒教徒(1)的所作所为,很多人很疑惑,为什么这些自称以耶酥为楷模的人群,
行为上和耶酥所教的往往是背道而弛呢?我现在说的行为,并不是指个别嫉妒教徒的恶
行,而是在嫉妒徒中普遍的存在的,在外人看来是虚伪的行为。一个极端的例子,就是
前美国新教福音派领袖Ted Haggard。而不那么极端的例子,读者如果留意,就可以在
身边找到。正如甘地所说:"我喜爱你们的耶酥,只是太多的嫉妒徒和耶酥实在太不像
了。"(2) 这样的差异的来源是什么? 本文试图从嫉妒教的教义和历史中寻求答案。

信嫉妒教的朋友们可能都知道,没有保罗,就没今天的嫉妒教。几乎完全是靠保罗一个
人的超强的组织能力,口才和热情,才使得嫉妒教在犹太人以外传播开来。指导嫉妒徒
日常生活的教义,基本上来源于保罗对教义的阐述。一本新约,只有前面四篇福音是纪
录耶酥的言行,剩下的倒有十四篇经文是纪录保罗的言行,篇幅和福音差不多长。就是
福音,保罗的印记也很明显。比如说,路加福音的作者就是保罗的弟子,马可福音的作
者也和保罗一起旅行传道过。事实上,新约的最早内容就是保罗的书信,福音是其后成
书的(3)。有意思的是,保罗本人并不是耶酥在世时耶酥的门徒,也没见过耶酥。更让
人诧异的是,保罗最开始是在耶路撒冷主持迫害耶酥信徒的人。后来保罗自称,在一次
去大马士革主持迫害耶酥信徒的路上,耶酥向他显现,命令他向世人传播耶酥的道。显
然,保罗是否误传了耶酥的道,就成了嫉妒教信仰的一个重大问题。 Continue reading »

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

SUSPEND_MODULES="e1000"

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.

Syndicate content
Nice place