Blog
Thoughts, notes, and technical writings.
Hacking Together a Compiler from Scratch
This year I got an itch and signed up for an Implementation of PL course, where you build a compiler with your bare hands. I’m jotting down the process here. Honestly, this might be one of the … Read more →
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
I recently got into Rust out of nowhere because its little crab mascot is adorable, so I started reading The Rust PL to see what all the fuss is about. Turns out Rust is a genuinely sane, pleasant … 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...)
The course is over, but I only have so much energy, so this post is on indefinite hiatus for now… Cryptography course notes taking from Introduction to Modern Cryptography. Intro What make … 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 →