Record notes from my readings or what interesting things I learned

2025-10

The Hidden Cost of Software Libraries

date: 2025-10-26Tags: #til, #clang, #rust

JSON isn't JSON

date: 2025-10-08Tags: #dev, #good-reading

2025-09

A new repository for Scala nightlies

date: 2025-09-19Tags: #scala, #dev

Sea Change in C++: Why Opportunities Abound - Citadel Securities

date: 2025-09-15Tags: #clang, #insight

What is a color space?

date: 2025-09-15Tags: #design

Latency Numbers Every Professor Should Know

date: 2025-09-14Tags: #insight

2025-08

Documents: The architect's programming language

date: 2025-08-30Tags: #good-reading, #insight

KEP-5295: Introducing KYAML, a safer, less ambiguous YAML subset / encoding

date: 2025-08-10Tags: #k8s, #news

Executing arbitrary Python code from a comment

date: 2025-08-08Tags: #python

Nobody cares

date: 2025-08-02Tags: #insight, #good-reading

2025-07

Writing Code Was Never The Bottleneck

date: 2025-07-07Tags: #good-reading, #dev, #insight

2025-06

OxCaml, Oxidized!

date: 2025-06-18Tags: #scala, #news, #sysprog

Playground Wisdom: Threads Beat Async/Await

date: 2025-06-09Tags: #python, #insight, #good-reading

2025-05

Optimizing Javascript for fun and for profit

date: 2025-05-21Tags: #perf, #javascript, #dev, #good-reading

2025-04

New Named Tuples Feature since Scala 3.7

date: 2025-04-11Tags: #scala, #til

Haskell: Avoiding Success and Uselessness

date: 2025-04-07Tags: #haskell, #good-reading

2025-03

Docker Bake is Now Generally Available

date: 2025-03-05Tags: #dev, #container, #news

2025-01

Don't ask to ask, just ask

date: 2025-01-30Tags: #insight, #career

2024-12

A Meticulous Guide to Advances in Deep Learning Efficiency over the Years

date: 2024-12-10Tags: #good-reading, #mlsys

Picture with theme support in GitHub Flavored Markdown

date: 2024-12-01Tags: #github, #dev, #til

2024-10

From ZeroVer to SemVer: A Comprehensive List of Versioning Schemes in Open Source

date: 2024-10-21Tags: #dev, #til

No More Orphans

date: 2024-10-20Tags: #scala, #dev

How we made Haskell search strings as fast as Rust

date: 2024-10-20Tags: #haskell, #algorithm

io_uring and seccomp

date: 2024-10-13Tags: #sysprog

2024-06

You Are What You Read, Even If You Don't Always Remember It

date: 2024-06-21Tags: #good-reading, #insight

Great Animations

date: 2024-06-18Tags: #design, #web, #good-reading

JEP 467: Markdown Documentation Comments

date: 2024-06-15Tags: #news, #dev, #scala

Your API Shouldn't Redirect HTTP to HTTPS

date: 2024-06-11Tags: #dev, #security

2024-04

X25519Kyber768 key encapsulation for TLS

date: 2024-04-30Tags: #news, #cryptography

Lean Scala (from Martin Odersky)

date: 2024-04-12Tags: #dev, #scala

2024-03

Every dunder method in Python

date: 2024-03-22Tags: #python, #dev

Writing Technical Articles

date: 2024-03-17Tags: #good-reading, #writing

Modern Git Commands and Features You Should Be Using

date: 2024-03-15Tags: #git, #dev

2024-02

Link Issues by Keyword of Commit Message

date: 2024-02-14Tags: #dev, #git

Multi-Database Support in DuckDB

date: 2024-02-12Tags: #news, #database

Tenets (of Svelte)

date: 2024-02-10Tags: #svelte, #dev, #insight

2024-01

NumPy 2 is coming: preventing breakage, updating your code

date: 2024-01-16Tags: #python, #dev, #news

SIMD in Pure Python

date: 2024-01-13Tags: #python, #simd, #good-reading

Representing SHA-256 Hashes As Avatars

date: 2024-01-09Tags: #ideas

2023-12

Zero-copy network transmission with io_uring

date: 2023-12-28Tags: #sysprog, #network, #news

Announcing `async fn` and return-position `impl Trait` in traits

date: 2023-12-23Tags: #rust, #dev, #news

Earning the privilege to work on unoriginal problems

date: 2023-12-18Tags: #good-reading, #insight, #career

Syntax Style in Python Pattern Matching

date: 2023-12-18Tags: #python, #dev

An Example of Covariance, Contravariance and Invariance in Python Type Hints

date: 2023-12-12Tags: #python, #dev, #functional-programming

Pointer as a Type or Different Roles of the Asterisk in Clang

date: 2023-12-02Tags: #clang, #functional-programming

Why do Rust packages have any dependency on C code?

date: 2023-12-01Tags: #rust, #clang, #good-reading

2023-10

Beware of fast-math

date: 2023-10-25Tags: #til, #sysprog, #clang

An Interactive Intro to CRDTs

date: 2023-10-10Tags: #til, #good-reading, #dev

Unifying the CUDA C++ Core Libraries

date: 2023-10-07Tags: #dev

Generative AI exists because of the transformer

date: 2023-10-07Tags: #news, #ai

Epoch in PostgreSQL and Unix

date: 2023-10-03Tags: #postgresql, #dev

2023-08

GitHub Introduces New Alerts Syntax

date: 2023-08-27Tags: #dev, #news, #til

Introducing Immortal Objects for Python

date: 2023-08-19Tags: #python, #good-reading

2023-07

What is a "cache-friendly" code?

date: 2023-07-25Tags: #dev, #sysprog

2023-06

Hynek's Comments on PEP 703

date: 2023-06-06Tags: #python, #news

2023-05

Real Multithreading is Coming to Python - Learn How You Can Use It Now

date: 2023-05-16Tags: #python

Another two cents about the current situation with the Scala user base and economics

date: 2023-05-07Tags: #scala, #commentary

2023-04

InfluxDB 3.0 is Available Today in InfluxDB Cloud Dedicated

date: 2023-04-27Tags: #news, #timeseries, #database

Debian's Python Distribution Introduces PEP 668 support

date: 2023-04-25Tags: #python, #dev

Playground for Exploring Latency of Vercel Edge Functions + Database

date: 2023-04-20Tags: #dev, #cloud

libuv merges io_uring with an 8x increase in throughput

date: 2023-04-19Tags: #news, #dev

DNS Query Issue in Apline Image with MUSL libc

date: 2023-04-01Tags: #dev, #til

2023-03

50+ Midjourney Logo Design Prompts: The Complete Logo Guide

date: 2023-03-31Tags: #design, #generative-ai

Your AI-free Content Deserves a Badge

date: 2023-03-18Tags: #dev, #whatever

Kafka Visualization

date: 2023-03-08Tags: #dev, #streaming

Pandas 2.0 and the Arrow revolution

date: 2023-03-01Tags: #python, #news

2023-02

Heisenbug

date: 2023-02-28Tags: #til, #dev

Fly.io Gossip Glomers

date: 2023-02-26Tags: #distsys, #dev

io_uring and networking in 2023

date: 2023-02-14Tags: #good-reading

Google Python Style Guide

date: 2023-02-11Tags: #python, #dev

`foo`, `bar` and More

date: 2023-02-03Tags: #dev, #til

2023-01

A Story about Private Network Range

date: 2023-01-16Tags: #dev, #til

Matrices and graphs

date: 2023-01-10Tags: #math, #good-reading

Perf engineering with Python 3.12

date: 2023-01-12Tags: #python, #good-reading

Classifying Python Virtual Environment Workflows

date: 2023-01-08Tags: #python, #good-reading

Why T-shaped people?

date: 2023-01-01Tags: #career, #good-reading

2022-01

Modern C for C++ Peeps

date: 2022-01-12Tags: #clang, #good-reading

Rain's Rust CLI recommendations

date: 2022-01-23Tags: #rust, #cli

Useful Tool: command-to-found.com

date: 2022-01-22Tags: #cli, #tools

Useful Tool: RegexLearn

date: 2022-01-21Tags: #regex

软件工程是个面包机

date: 2022-01-12Tags: #insight, #good-reading, #career, #dev, #chinese

Remix vs Next.js

date: 2022-01-11Tags: #good-reading, #web

Unbuffered I/O Can Make Your Rust Programs Much Slower

date: 2022-01-07Tags: #rust, #til, #python, #dev

Best practices for writing code comments

date: 2022-01-04Tags: #til, #insight, #dev

2022-12

2022 State Survey Results for Haskell and Scala

date: 2022-12-17Tags: #scala, #haskell, #dev, #news

GitHub Accelerator

date: 2022-12-15Tags: #news, #dev

Comprehensive Linux and Python Cheatsheet

date: 2022-12-14Tags: #dev, #python, #linux

Just Use Postgres for Everything -- how to reduce complexity and move faster

date: 2022-12-13Tags: #dev

The cloudy layers of modern-day programming

date: 2022-12-08Tags: #good-reading, #dev, #cloud

PEP 683 -- Immortal Objects, Using a Fixed Refcount

date: 2022-12-03Tags: #python, #dev

How CRDTs make multiplayer text editing part of Zed's DNA

date: 2022-12-02Tags: #good-reading, #dev, #crdt

2022-11

Cloudflare servers don't own IPs anymore – so how do they connect to the Internet?

date: 2022-11-26Tags: #network, #good-reading

Rust without the async (hard) part

date: 2022-11-25Tags: #rust, #good-reading

Safely writing code that isn't thread-safe

date: 2022-11-23Tags: #rust, #concurrency, #good-reading

Python Asyncio: The Complete Guide

date: 2022-11-10Tags: #python, #good-reading

Mastering Container Networking

date: 2022-11-09Tags: #network, #learning-resources

Scoped threads in Rust, and why its async counterpart would be unsound

date: 2022-11-05Tags: #rust, #good-reading

2022-10

daemon - Writing and packaging system daemons

date: 2022-10-30Tags: #tutorial, #dev

Announcing the next generation of Materialize

date: 2022-10-06Tags: #news, #dev

2022-09

Workflow for 3.12 Cycle

date: 2022-09-12Tags: #python

2022-08

Kubernetes Failure Stories

date: 2022-08-28Tags: #system-design, #cloud, #good-reading

DDD, Hexagonal, Onion, Clean, CQRS, … How I put it all together

date: 2022-08-13Tags: #good-reading, #system-design

Announcing Rust 1.63.0

date: 2022-08-11Tags: #rust, #news

Not a Yoking Matter (Zero-Copy #1)

date: 2022-08-06Tags: #good-reading, #rust

Crimes with Python's Pattern Matching

date: 2022-08-06Tags: #python, #til

Implementing a New IO Scheduler Algorithm for Mixed Read/Write Workloads

date: 2022-08-05Tags: #sysprog

2022-07

Some Thoughts on Zig

date: 2022-07-23Tags: #good-reading, #zig, #sysprog

PRE-SIP: Suspended Functions and Continuations

date: 2022-07-13Tags: #scala, #comments

Logging and Testing Tips in Python

date: 2022-07-02Tags: #python

2022-06

Bundling binary tools in Python wheels

date: 2022-06-18Tags: #tools, #python

From Python to Numpy

date: 2022-06-10Tags: #books, #python, #scientific-computing

Vectorized and Performance-portable Quicksort

date: 2022-06-05Tags: #hpc, #news, #algorithm

The Python GIL: Past, Present, and Future

date: 2022-06-04Tags: #python, #good-reading

(Async) Rust is Hard or Not?

date: 2022-06-04Tags: #rust, #good-reading

All About Libpas, Phil's Super Fast Malloc

date: 2022-06-02Tags: #sysprog

Compiling Black with `mypyc`

date: 2022-06-01Tags: #python, #good-reading

2022-05

Cheatsheet: Write Multiple Lines Content in YAML

date: 2022-05-31Tags: #dev, #til

What's in which Python

date: 2022-05-31Tags: #python, #good-reading

Lesser Known PostgreSQL Features

date: 2022-05-30Tags: #sql, #til

Customizable Python UI-Library based on Tkinter

date: 2022-05-28Tags: #python, #ui

When Python can't thread: a deep-dive into the GIL's impact

date: 2022-05-27Tags: #python, #good-reading

You Should Compile Your Python And Here's Why

date: 2022-05-25Tags: #python

Tracking Side Effects in Scala

date: 2022-05-23Tags: #scala

The balance has shifted away from SPAs

date: 2022-05-22Tags: #dev, #react, #good-reading

Accelerating UDP packet transmission for QUIC

date: 2022-05-22Tags: #network, #good-reading

Initial JSON Type Support in Python

date: 2022-05-21Tags: #python, #til

Happy Birthday to designer Dieter Rams, who's turning 90 today!

date: 2022-05-21Tags: #design, #news

Math Behind Graph Neural Networks

date: 2022-05-19Tags: #research, #good-reading

Google Cloud Released AlloyDB for PostgreSQL

date: 2022-05-15Tags: #cloud, #news

A lock-free, concurrent, generic queue in 32 bits

date: 2022-05-15Tags: #data-structure, #good-reading

PEP 690 – Lazy Imports

date: 2022-05-14Tags: #python

RFC 3339 vs ISO 8601

date: 2022-05-13Tags: #til, #dev

Stroing State in the URL

date: 2022-05-10Tags: #web, #system-design, #dev

Timeouts and Cancellation for Humans

date: 2022-05-09Tags: #python, #dev, #good-reading

Caddy 2.5.0 Upgrade Issues

date: 2022-05-01Tags: #dev, #news

2021-05

Python Standard Library Changes in Recent Years

date: 2021-05-16Tags: #python, #good-reading

2022-04

Make Yourself Replaceable

date: 2022-04-27Tags: #good-reading, #insight, #career

Website <calmcode.io>

date: 2022-04-24Tags: #python, #til

Threading in Python

date: 2022-04-23Tags: #python, #good-reading

2022-03

Removing dead batteries from the standard library

date: 2022-03-20Tags: #python, #news

`tomli` will be added to standard library in Python 3.11

date: 2022-03-14Tags: #python, #news

2022-02

Past, Present, and Future of React State Management

date: 2022-02-13Tags: #react

2021-12

Google Technical Writing Course

date: 2021-12-27Tags: #dev

The Sad Story of TCP Fast Open

date: 2021-12-15Tags: #network, #good-reading

Deep Dive into Flask's Application and Request Contexts

date: 2021-12-15Tags: #python, #good-reading

2021-10

Structural pattern matching in Python 3.10

date: 2021-10-29Tags: #python, #til

2021-08

Why I use attrs instead of pydantic

date: 2021-08-26Tags: #good-reading, #python

2021-04

Unraveling Pythons Threading Mysteries

date: 2021-04-25Tags: #python, #good-reading

2021-03

Drop order in Rust: It's tricky

date: 2021-03-31Tags: #rust

2021-01

10 Principles of Good Design (设计十诫)

date: 2021-01-02Tags: #design

2019-12

BooK: HTTP/3 Explained

date: 2019-12-13Tags: #network, #good-reading