.tips
page 2 of 10, 228 small things in all. back to the first.
.august
2026, 17 tips.
Benchmark a runtime with weighted production traffic
nodejsperformance
breakpoint() drops you into the debugger where the bug is
pythondebugging
asyncio.TaskGroup, not gather, for a group of tasks
pythonconcurrency
Commit messages do not need the frontier model
llmlocal-models
functools.cache on pure functions that are called repeatedly
pythonperformance
Prefix every chunk with its document title and heading path
ragsearch
typing.Protocol for 'anything with these methods'
python
logging, not print, from the first line of a service
pythonobservability
Measure retrieval on its own before touching the model
ragtesting
pathlib, not os.path string surgery
python
dataclass(slots=True, frozen=True) for value objects
python
Vector search loses on names. Add keywords
ragpostgresqlsearch
One behaviour per test, however many assertions it takes
testing
Seven days for successes, ninety for failures
observabilitycost
Read coverage as a map of missing tests, not as a score
testingengineering-practice
Run the tests that touch what you changed, then everything in CI
testingdeveloper-experience
Sample traces at the tail, keep every error
observabilityopentelemetry
.july
2026, 8 tips.
A contract test catches the API change before the deploy
testingdistributed-systems
One wide event per request instead of ten log lines
observability
A builder per entity, with sensible defaults
testing
A canary that checks the output, not the status code
reliabilityobservability
Seed the random generator and print the seed on failure
testing
A flaky test goes to quarantine the day it flakes
testingengineering-practice
Give every LLM feature a token budget
llmreliability
Property tests find the input you would not have thought of
testing