摘要: Python’s handling of default parameter values is one of a few things that tends to trip up most new Python programmers (but usually only once).What ca... 阅读全文
posted @ 2015-09-10 22:42 kcbsbo 阅读(576) 评论(0) 推荐(0) 编辑
摘要: I was recently reading aserieson “Write Sequential Non-Blocking IO Code With Fibers in NodeJS” byVenkatesh.Venki was essentially trying to emphasize t... 阅读全文
posted @ 2015-09-10 20:19 kcbsbo 阅读(291) 评论(0) 推荐(0) 编辑
摘要: The hardware we rely on is changing rapidly as ever-faster chips are replaced by ever-increasing numbers of cores. As a result, concurrency and parall... 阅读全文
posted @ 2015-09-10 15:07 kcbsbo 阅读(258) 评论(0) 推荐(0) 编辑
摘要: There has been widespread characterization of one of the major distinctions between NoSQL and traditional DBMSs by saying that the former don’t care f... 阅读全文
posted @ 2015-09-07 11:56 kcbsbo 阅读(179) 评论(0) 推荐(0) 编辑
摘要: "I worked up a full implementation as well but I decided that it was too complicated to post in the blog. What I was really trying to get across was t... 阅读全文
posted @ 2015-09-06 16:24 kcbsbo 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Red-Black trees are notorious for being nightmares of pointer manipulation. Instructors will show the theory, but won’t torture their students to impl... 阅读全文
posted @ 2015-09-06 15:08 kcbsbo 阅读(266) 评论(0) 推荐(0) 编辑
摘要: By now almost everyone has heard of so-called zero-copy functionality under Linux, but I often run into people who don't have a full understanding of ... 阅读全文
posted @ 2015-09-02 11:12 kcbsbo 阅读(210) 评论(0) 推荐(0) 编辑
摘要: http://staff.city.ac.uk/~ross/papers/FingerTree.htmlSummaryWe present 2-3 finger trees, a functional representation of persistent sequences supporting... 阅读全文
posted @ 2015-09-02 10:38 kcbsbo 阅读(236) 评论(1) 推荐(0) 编辑
摘要: :set -XBangPatterns 阅读全文
posted @ 2015-08-31 21:08 kcbsbo 阅读(232) 评论(1) 推荐(0) 编辑