Blog
Thoughts, notes, and technical writings.
A Few Days in California
Just got back from California, couldn’t wait to jot down my impressions. Finally got around to finishing this post a month later. Prologue This summer I was fortunate to land an internship at a … Read more →
Dark Magic in Computing — Rust Pitfalls
As I once said: My life is a lifelong battle with the Rust compiler. —Me And also: When you think Rust has a problem, it’s not because Rust has a problem— it’s because you have a problem. … Read more →
Dark Magic in Computing — C Pitfalls
There is no dark magic in computing—computers have no flesh and blood. Anyone who believes in computer dark magic is a muggle. —Me cdqe The Symptom While debugging with a colleague, we encountered … Read more →
Rust Study Notes
最近突然对于Rust产生了兴趣因为它的吉祥物小螃蟹很可爱,遂开始阅读The Rust PL一书想要一探究竟。我发现Rust真的是一门相当阳间的语言,一些functional programming的特性和build system可以让使用者用起来十分舒爽。 虽然目前只看了两十章,但我已经从代码中嗅到了了浓郁的Rust的香锈味。 基本看完了现在。 在一个较为清闲的周末早上,我决定把最后一章看完。 创 … Read more →
Changes to This Blog
It might seem like the blog hasn’t been updated lately, but that’s not quite the case—I’ve started using TiddlyWiki as my personal notebook. Notice the Notes link in the top-right … Read more →
Useful Websites and Resources (Meta)
A continuously updated collection. Worth revisiting from time to time! Creation Date: Sep, 2020 Meta Study Matthias Felleisen’s Thoughts Small Collation — Organized knowledge notes Language Web … Read more →
Modern Cryptography Notes (To be continued...)
虽然课上完了,但是由于本人精力有限,暂且无限期鸽鸽本文。。。 Cryptography course notes taking from Introduction to Modern Cryptography. Intro What make Modern Crypto Modern? The central role of definitions The importance of formal … Read more →
Neuroscience Notes - Neuralanatomy (To be continued...)
Terms Eng Chn Comments arachnoid 似蜘蛛的 蛛网膜 Dura mater 硬脑膜 falx 大脑镰 分左右脑 tentorium 小脑幕 分大小脑 leptomeninges 软脑膜 epidural hematoma 硬膜外血肿 vessel 血管 artery 动脉 sinus 窦 carotid 颈动脉 watershed zone 分水岭带 choroid … Read more →
Reflections on 2020
A record of the unprecedented, surreal year that was 2020. And a summary of my own year, plus hopes for 2021. Fair warning: this post is stream of consciousness with no pretense of structure—written … Read more →
Adventures in Kernel Module Development
最近在我大哥儿子@StanPlatinum的指导下搞了个截获/添加syscall的kernel module,在这里稍微记录一下折腾的过程。 前排特别感谢一下Robotxm大佬的这篇博文里面记录了他详细的折腾过程。大佬本科期间就开始吊着Linux Kernel到处捉迷藏了,我本科的时候还不知道在哪个田野里面玩泥巴呢。 虽然大抵之前就接触过这玩意,但是由于每个版本Kernel Module的食用方法 … Read more →