美丽新世界

1 前言 如果生活没有泪水, 欢乐还有意义么? 2 新世界 在这个未来的美丽新世界 不再有家庭, 不再有父亲 母亲, 这两个词甚至成为极端下流的名词, 不再有胎生...

十二月 18, 2020 · 2 分钟 · 919 字 · Ramsay Leung

鼠疫

1 前言 在肺炎肆虐的2020年, 阅读 这本书想来会别有一番滋味, 因为会有一种身临其境的奇妙之感, 这也是我在2020年结束前想要阅读这本书的初衷....

十二月 18, 2020 · 8 分钟 · 3753 字 · Ramsay Leung

Serde Tricks

The lesson learned from refactoring rspotify 1 Preface Recently, I and Mario are working on refactoring rspotify, trying to improve performance, documentation, error-handling, data model and reduce compile time, to make it easier to use. (For those who has never heard about rspotify, it is a Spotify HTTP SDK implemented in Rust). I am partly focusing on polishing the data model, based on the issue created by Koxiaet. Since rspotify...

十二月 13, 2020 · 5 分钟 · 2330 字 · Ramsay Leung

为什么我们要996

局中人的思考 1 前言 最近深圳的特殊工时制度搞得甚嚣尘上, 兼之有位与互联网行业完全无交集的朋友咨询我, 为什么你们程序员要996呢? 有感于此, 写下...

十月 14, 2020 · 6 分钟 · 2735 字 · Ramsay Leung

java8基于堆实现尾递归优化

1 前言 尾调用消除(tail call elimination, TCE)是函数式编程的重要概念, 有时也被称为尾调用优化(tail call optimization, TCO), 作用是将尾递归函数转化成循环, 避免创建许...

七月 5, 2020 · 6 分钟 · 2959 字 · Ramsay Leung