《一日重生》

人生总是有很多不如意。

查理在失意许久之后,决定自杀,来结束这些痛苦。意外之中,他的母亲出现了,他和他母亲度过了一天。

这一天看起来是平常的一天,去给别人理发,给塞尔玛小姐化妆等。在平淡的叙事中,加上查理自己的回忆,查理看到了很多小时候被遗忘、被忽略的事情。

确实,查理一心只想追求父爱,忽略了母爱;等到母亲去世之后才知道母爱的珍贵,此后人生的曲折,只能自己一个人去面对。

遗憾的是,查理面对的,仅仅是母亲的灵魂,唯一能改变的,只能是自己。

那天晚上,母亲带着他去见了父亲的第一任妻子,她说出了“原谅”这个词。

过去的恩怨,我们没有机会去讨回、去复仇,现在能做的,也就只有原谅,要原谅的,不是别人,恰恰是自己。


查理是幸运的,他还有机会去重新经历一遍,了解过去、了解自我。

对于我们,就像书中母亲说的一样:

阅读更多

用Python 2/3建立最简单的web服务器

在Python 2.x中,可以用如下的命令启动一个最简单的Web服务器(默认端口号8000):

python -m SimpleHTTPServer [端口号]

接下来直接访问 http://localhost:[端口号] 即可 在Python 3.x中,这几个模块都已经改名了,如果需要如上的功能,可直接换用如下命令:

python3 -m http.server [端口号]

参见: http://stackoverflow.com/a/7943768

阅读更多

Fedora 20 Release Party Shanghai Report

The Fedora 20 Release Party in Shanghai was successfully held at 联合创业办公社 on Dec 22. It was organized by Fedora Zhongwen User Group and Shanghai Linux User Group. The release party began at 1:20 pm. (It was late for about 20 minutes.) After a short Opening address by me, speakers start talks. The first talk is “Fedora.prev & Fedora.next” by Robin Lee(a Fedora packager and skilled programmer). He introduce the new model of Fedora package system: Split single repository into four Ring. And organize some working group to maintain Ring. That model makes Fedora more friendly for other company. [caption id=”attachment_260” align=”aligncenter” width=”300”]“Fedora.prev & Fedora.next” by Robin Lee “Fedora.prev & Fedora.next” by Robin Lee[/caption] The second talk is about Fedora ARM by Fu Wei(a Software Engineer, in Fedora ARM team). He introduce how to make rpm package and image for ARM, some ARM server(Linaro). Then, He introduce LAVA, a automated test platform for ARM. [caption id=”attachment_262” align=”aligncenter” width=”300”]Fedora ARM by Fu Wei Fedora ARM by Fu Wei[/caption] After talks, the pizz is arrived, we start free talk, every talk about some Technical point, such as Python, Perl, OpenStack, etc. [caption id=”attachment_264” align=”aligncenter” width=”300”]free talk free talk[/caption] Last, we take a group photo. [caption id=”attachment_265” align=”aligncenter” width=”300”]Group Photo Group Photo[/caption] It is worth pointing out several issues for the event. The pizzas was sent earlier than the end of talks. There is not Registration. So to avoid the issues:

  • To prepare better, submit the budget earlier.
  • Contact the speaker before party.
阅读更多