生词本与字典解耦
2023年1月23日以前我用金山词霸查单词,并使用金山词霸生词本。后来我改用灵格斯词典,但继续用金山词霸生词本记录单词。[1]现在,我用纸质版《牛津高阶英汉词典》、Oxford Advanced Learner’s Dictionary以及付费的Oxford English Dictionary。这样的话, […]
以前我用金山词霸查单词,并使用金山词霸生词本。后来我改用灵格斯词典,但继续用金山词霸生词本记录单词。[1]现在,我用纸质版《牛津高阶英汉词典》、Oxford Advanced Learner’s Dictionary以及付费的Oxford English Dictionary。这样的话, […]
本文绝大部分来自 https://gist.github.com/sebfisch/2235780 Delimited continuations manipulate the control flow of programs. Similar to control structures like […]
no matter how/wh- no matter后面必须跟how, what, where, when, if, whether。 regardless regardless必须跟of。它跟no matter how/wh-一样,必须跟一个总结性的名词。 The club welcomes a […]
filter -> render -> plasma (Turbulence=1 default value) color -> desaturate -> color to gray add a layer mask (all black) Choose paint brush (not penc […]
作为名词不加s It’s a three-hour drive to London. three-hour是drive的形容词,所以加hypen。 作为副词,在时间单位后加s’。 The station is (a few minutes’ walk) away […]
I’m a PhD student in the CS program. I’m a doctoral student in the CS program. I’m a Master student in the CS program. I’m a m […]
callback https://peps.python.org/pep-0255/ continuation passing style (CPS) state machine generators are used to easily create iterators; coroutines a […]
CPython has a global interpreter lock such that two threads cannot run simultaneously on a multi-core CPU. The context switch (thread switch) duration […]
coroutine (协程)是一般function的泛化。[1]一般function一旦开始运行,就必须运行到return(或抛出异常)。coroutine除了可以开始运行和return,还能在中间的某个地方休息一会儿,歇完了能在刚才停下的地方继续运行。coroutine在执行时中间暂停的能力,一般 […]
在函数式语言中,不存在没有参数的方法,不存在没有返回值的方法。如果方法签名用箭头(->)表示,箭头两边都必须有类型。 string getStr() { return “hello”; } C#方法getStr()在函数式语言中不存在,它会被表示成一个值,无法调用。 泛型 Java 4,我们只能写L […]