Notes and guides
Writing
I'm Chris. I write about building software, and staying curious about how things work.
All posts
2026
- Why My Bun Test Passed Locally but Failed in CILearn why a Bun test passed locally but failed in CI because of shared module mocks, and how dependency injection provided a cleaner, reliable fix.Software engineering
- Enums in CAll kinds of enums in CSoftware engineering
- Bun Test Flake: Cross-File Mock LeakageBun's mock.module is process-global, which means your unit tests might pass in isolation but fail unpredictably when run together. Here is how randomization exposes the issue, and how isolate mocks to avoid flaky tests.Software engineering
2025
- How to setup AIMy guide on how to set up Artificial Intelligence tools to help you learn efficiently.Notes
- LinksA list of links to other bloggers, technical writers.Notes
- Why Contribute to Open SourceNotes
- Saiō's HorseNotes
- Software Engineering Code of EthicsThe eight principles of the ACM/IEEE-CS Software Engineering Code of Ethics.Notes
- Git & GitHub GuideComputer science
- Git & GitHub GuideComputer science
- ReferencesNotes
2024
- Volatile Type QualifierSoftware engineering
- Analysis of AlgorithmsAn introduction to the analysis of algorithms using summation techniques and Big O notation.Computer science
- Graph TheoryComputer science
- semaphore.h LibrarySoftware engineering
- pthreads.h LibrarySoftware engineering
- poll.h LibrarySoftware engineering
- Mutual Exclusion (Mutex)An overview of Mutual Exclusion (Mutex) using the pthread library in C for thread synchronization.Software engineering
- Words & WisdomA collection of quotes and sayings that inspire and inform my journey through science, technology, and life.Notes
- The Opaque Pointer PatternSoftware engineering