Skip to content
Yejun Su

Recent posts

Static website with Hugo and Nix

This website is built with Hugo, a static site generator, and built with Nix. This approach ensures the build won’t break in the future because the content, generator and builder are all unchanged. [… 2 min read]

Send Nix code from Emacs to Kitty

I’m learning Nix by following this tutorial and taking notes using Org Mode. I organized the notes with my thoughts and some code examples. Doom Emacs provides a function +eval/send-region-to-repl to run code in a language’s REPL buffer. It’s useful until multiple-line input comes, which prints like so: [… 1 min read]

A tour of functional thinking

There were several server downtime on May 4th and 5th, my colleagues found IOPS burst in database when school clicking the Pending Emails button, which will show the incoming emails one by one for school users to match them with specific students. [… 3 min read]

A tour of scientist gem

Schools with large amounts of families complain that when visiting the Families roster, the request is too slow to use and even times out. This is a tour about how we made a performance boost while keeping the functionality work as normal. [… 4 min read]