TIL

Go structured logging with slog · article
Taming conditionals with bitmasks · article
Using DNS record to share text data · article
Memory leakage in Python descriptors · article
Unix-style pipelining with Python's subprocess module · article
Enabling repeatable lazy iterations in Python · article
Associative arrays in Bash · article
Process substitution in Bash · article
Dynamic menu with select statement in Bash · article
Simple terminal text formatting with tput · article
Switching between multiple data streams in a single thread · article
Skipping the first part of an iterable in Python · article
Colon command in shell scripts · article
Installing Python on macOS with asdf · article
Save models with update_fields for better performance in Django · article
Returning values from a shell function · article
Compose multiple levels of fixtures in pytest · article
When to use 'git pull --rebase' · article
Distil git logs attached to a single file · article
Health check a server with 'nohup $(cmd) &' · article
Caching connection objects in Python · article
Create a sub dictionary with O(K) complexity in Python · article
Use 'assertIs' to check literal booleans in Python unittest · article
Check whether an integer is a power of two in Python · article
Uniform error response in Django Rest Framework · article
Difference between constrained 'TypeVar' and 'Union' in Python · article
Don't wrap instance methods with 'functools.lru_cache' decorator in Python · article
Cropping texts in Python with 'textwrap.shorten' · article
Automatic attribute delegation in Python composition · article
Don't add extensions to shell executables · article