1. Debugging a Rare Bug (1 in 800 Autograder Runs)

    A little bit of background

    This is the last semester of my undergraduate life at UofM, and I took a rather challenging course: distributed systems.

    Just like other courses with coding projects, the correctness of our code is determined by an autograder. The difference, though—for anyone who doesn't know …

    Read more
  2. About Me

    Date: Sat 03 August 2024
    Updated: Wed 20 August 2025

    In 6. Misc.

    • 🔭 I am Zijun Yang, a M.S. in Computer Science student (Class of 2026) at Carnegie Mellon University. Previously, I received my dual B.S.E. in Computer Science from the University of Michigan and B.E. in Electrical and Computer Engineering from Shanghai Jiao Tong University. During my undergraduate …
    Read more
  3. Shell Best Practice

    #!/bin/bash
    # =====================================================================
    # Script Name: example_script.sh
    # Description: Template for a production-ready shell script
    # =====================================================================
    
    # Enable Strict Mode
    # Exit on error, treat unset variables as errors, and fail on errors in pipelines.
    set -euo pipefail
    
    Read more
  4. Linux Using Notes

    Flush DNS cache

    sudo resolvectl flush-caches
    

    Install dynamic libs *.so

    After installing, use ldconf to refresh symbolic links and caches, or apps may not find your newly installed *.so.

    rsync vs scp

    They are similar tools but you may prefer to use one over another in certain cases:

    • scp is …
    Read more
  5. Tmux Notes

    Common Sense

    Tmux is an open-source terminal multiplexer for Unix-like operating systems. It allows multiple terminal sessions to be accessed simultaneously in a single window. It is useful for running more than one command-line program at the same time.

    Terms:

    • Session: A session can have multiple windows.
    • Window: A window …
    Read more
  6. Hello Pelican

    Date: Sat 03 August 2024
    Updated: Sat 03 August 2024

    In 6. Misc.

    Tags: Misc

    I've decided to migrate my blog from Hexo to Pelican. The main reason? I want a lighter site. Maybe I'm getting older and a bit more boring, but I've grown tired of all the fancy CSS animations. Simplicity just feels right these days. Also, it's a pain in the butt …

    Read more

Social