两则关于时间管理的故事

十一月 25th, 2006

Filed Under: Journal with 10 Comments

在Bruce Keener的Time management with PDAs上看到的两则故事。
The Two-Minute Rule 两分钟规则
The Two-Minute Rule has been as helpful to me as any time management concept I've come across in the past 30 years of my professional life. The Two-Minute Rule is this: if you have an action that can be done in two minutes or less, do it. For [...]

受保護: To heart remember our memories

十一月 25th, 2006

Filed Under: Journal with 請輸入密碼觀看回應

受保護的文章不會有摘要。

我的Spam解决方案

十一月 23rd, 2006

Filed Under: Journal with 14 Comments

很多朋友告诉我,说很喜欢我Blog评论的验证方式。也有很多人问是我如何安装的,今天八幺好像也遇到了点问题。看到Nicky写的“讨厌的Spam滚蛋吧”,我也来说说我Blog的Spam解决方案。
在说之前先解释一下什么是“Spam”。“Spam”是英文 Stupid Person Advertising Method (笨蛋的广告方法)的缩写,即通过非法收集电子邮件列表,大量发送垃圾邮件(Spam Email),恶性推销。其行为侵犯隐私,同时占用大量带宽,造成网络拥塞,严重时会使邮件服务器关闭。
Spam在Blog里则表现为垃圾评论(Comment Spam)、垃圾引用(Trackback Spam),所以我选用了以下三个插件来对付Spam。

Akismet 1.15: 用来拦截垃圾评论。这是WP2.0自带的Anti-spam垃圾评论过滤插件,需要在WordPress.com上注册一个ID,然后获得API key才能正常使用。
Simple Trackback Validation 1.1: 用来拦截垃圾引用。这个插件安装也很容易,下载、解压、上传、激活、配置就可以工作了。
Math Comment Spam Protection 2.0:利用简单的算术题阻止垃圾留言,留言之前必须要回答一些简单的加法题。

有了Akismet还并不能很好的阻止垃圾评论,所以我在此基础上又加了一个防止机器人的算术插件。做算术题类插件比较好的有两个,Do you pass match和Math Comment Spam Protection。
两者功能都相同,只是在安装和定制上略有不同。Math Comment Spam Protection需要在themes的comments.php中插入一段code,而Do you pass match则不用加任何code,后台激活就可以用了。Math Comment Spam Protection虽然麻烦点,不过能够随意放置到自己想放的地方也挺不错,而且当浏览者做错算术题时,浏览器退回到前一页面浏览者所写的评论还会保留。我的WP因为装了AJAX Comments,这和Math的做错算术题跳转有点冲突,所以回答错问题后评论将不会保留。
Math Comment Spam Protection的安装步骤:

Download Latest Version 2.0 下载最新版,解压上传到/wp-content/plugins/。
在后台Plugins激活插件,接着到 Options / Math Comment Spam 配置并保存。
最后一步,添加代码到模版的comments.php的相应位置,一般放在“website URL”下面。如果想像我Blog那样添加中文提示,可以修改代码中的“Spam protection: Sum of”来实现。获取代码请移步插件作者的Blog。

罗嗦到此,有任何问题请留言。今天是感恩节,感谢WordPress,感谢所有WP的插件作者和模版作者,感谢互联网。

The Thorn Birds

十一月 3rd, 2006

Filed Under: English, Journal with 8 Comments

This is one of my favorite novels. A story of life changing decisions and love, ripped apart by ambition. A love so pure, so desirable, it's forbidden. The Thorn Birds speaks of true decisions...true love.
I just watched this miniseries, the movie version of the novel. The movie has wonderful actors and actresses, the performances are [...]

Categories