All syntax guides
Short, practical guides on programming syntax, language fundamentals, and the tools developers reach for every day.
3,965 guides across 14 topics
Topics
Popular guides
Most readLatest guides
Page 2 of 397Docker Hub: toomanyrequests and the pull rate limit behind it
Shared CI addresses drain the anonymous quota. Log in, cache the bytes once, and stop pulling production images from Docker Hub.
React: Cannot update a component while rendering a different component
The warning means one component scheduled state for another during render. Derive the value or move the write to a handler.
TS2742: the inferred type cannot be named without a reference
Type checking passes and only declaration emit fails. Annotate the exported boundary so consumers can resolve the emitted type.
next/font: Failed to fetch a Google font during the build
The font is fetched during the build, not at runtime. Vendor it with next/font/local or give CI and Docker a route out.
npm ci: the lock file is out of sync and how to fix it correctly
The lock and the manifest disagree, and CI stops before installing. Regenerate on the same npm major and keep platform entries.
pip: ResolutionImpossible when two requirements pin the same package
One pin too tight breaks the whole install. Read the chain, pick the side that should move, and make the resolution reproducible with a lock.
Rust 1.90 moved to rust-lld and linking started failing
A linker swap broke the build without a code change. Here is why lld misses /usr/local/lib and how to choose between fixing and opting out.
Supabase PGRST116: Cannot coerce the result to a single JSON object
Zero rows and two rows share one code. The details field says which, and the fix is different: policy, session, or a unique filter.
MySQL: Lock wait timeout exceeded, and how to find the blocker
The waiter is the symptom. Find the blocker, shorten the transaction that holds locks, and stop raising the timeout as a fix.
.NET DI: Unable to resolve service for type while attempting to activate
Read the two type names in order, then check registration, namespace and lifetime. Includes the scoped-into-singleton follow-on error.