Book Review: The Effective Engineer

The effective engineer raise a simple question: how does the engineer leverage his or her effort to make a disproportionate and meaningful impact? Before answering the question, we would want to know how to define and measure the effectiveness of an engineer and engineering activities.

read more

《联邦党人文集》阅读笔记一

《联邦党人文集》是汉密尔顿、麦迪逊和杰伊,在1787年美国宪法草案颁布之后,为说服纽约州居民支持该草案而撰写的一系列说明性的文章。今天我们仍然阅读《联邦党人文集》,是因为它依然是对美国宪法立法者们立宪意图的最权威解读。

read more

《费城奇迹》书评

1787年5月25日到9月17日,联邦制宪会议在费城市的州议会大楼召开。费城会议是美国历史最重要的转折点之一。华盛顿汉密尔顿,麦迪逊,富兰克林等知名人物都参加了会议。这次会议通过的宪法将成为美国未来长久的繁荣的坚实基础。

read more

《万历十五年》书评

按照作者黄仁宇的说法,万历十五年,即1587年,是历史上极为平常的一年。这一年‘四海升平,全年并无大事可叙’,‘实为平平淡淡的一年’。既然平淡,作者何以要单单将这一年抽出来叙述呢?要理解作者的做法需要从作者的大历史观说起。

read more

《自私的基因》书评

当然,自私基因的理论如此强大,以至于有人会产生人类的高尚行为背后不过是基因的意志这种感觉。实际上,在很多年前初次知道这种理论的时候我也感到有些困惑:这和历史上的种种还原论何其相似,人类的行为被还原到了化学物理层面,现在又被还原到了生物层面,那么人类的这些高尚的可贵的行为真的包含了值得赞颂的东西吗?

read more

Python Notes: Decorator

By definition, a decorator is a function that takes another function and extends the behavior of the latter function without explicitly modifying it. Built-in decorators such as @staticmethod, @classmethod, and @property work in the same way.

read more

Python Notes: function as first class object

Per history of python blog, everything in python are first class objects, that means all objects that could be named in the language (e.g., integers, strings, functions, classes, modules, methods, etc.) to have equal status. Th:at is, they can be assigned to variables, placed in lists, stored in dictionaries, passed as arguments, and so forth..

read more