I'm Xinyu, a software engineer interested in AI and open-source software.

Articles

  • Everything Is a Block: Simplifying a Note-Taking Data Model

    When I first designed OpenNote, I started with a familiar hierarchy: collections contained notebooks, and notebooks contained notes. I did not think carefully enough about what those distinctions w...

  • Develop an AI-Based CLI Tool in Rust

    I developed a CLI tool called you — a command-line interface that generates and executes shell scripts from natural language input. This tool addresses a common developer frustration: forgetting te...

  • Develop a Rust Macro for Automating Data Extraction

    Not just procedural macros, but macros in general, has been a difficult topic for me since my first hands-on experience with Rust. I never understood why they needed such complex syntax and abstrac...