Recent Posts

Git: How to sync a fork

less than 1 minute read

Configure an upstream remote for your fork, following Configuring a remote for a fork. Sync your fork to the upstream remote, following Syncing a fork.

Syntax Highlighting less

1 minute read

Stéphane Chazelas on Syntax highlighting in the terminal 总结得挺好,以下方法都可以 highlight less 命令的 output:

Python: super()

4 minute read

super() 实在是有点复杂,所以它的 doc 的信息量看起来就很有限。

Modulo / Congruence

2 minute read

本来挺简单的概念,但是因为英语的用词非常地迷惑,所以搞得有点难懂。

SICP: Recursion vs Iteration

7 minute read

SICP 的 Section 1.2.1 Linear Recursion and Iteration 着重强调了 “无论是 recursive process 还是 iterative process,写出来都是 recursive procedure”,但其实只需要稍微归纳一下,”procedure vs p...