Pages

Topics

Tools

↑↓navigate↵openescclose

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

Latest guides

3D illustration of module crates in a vendor shelf with one crate missing as a dashed outline
Go

missing go.sum entry and inconsistent vendoring: Go Module Fixes

Readonly module mode will not repair your files. go mod tidy fixes the checksums, go mod vendor fixes the tree, and neither belongs in CI as a workaround.

GoModulesBuildCI
3D illustration of a static page slab with a glowing hole streamed by an amber beam
Next.js

Next.js 16 DynamicServerError: cookies(), headers() and fetchCache

Request-time APIs make a route dynamic, and Next 16 replaced the segment configs with Suspense boundaries and use cache. What to delete and what to wrap.

Next.jsReactCachingSSR
3D illustration of connection slots filled with glowing pips and a queue of waiting cubes
Python

SQLAlchemy QueuePool Limit of Size 5 Overflow 10 Reached

Either the pool leaks or it is too small, and the two need different fixes. Close sessions on every path, size workers against max_connections, and use NullPool when short-lived.

PythonSQLAlchemyFastAPIPerformance
3D illustration of a sealed container with a mounted volume plate and a key turning in a closed lock
SQL

POSTGRES_PASSWORD Is Ignored: Docker Volume Init Rules

The official image reads POSTGRES_PASSWORD once, at initdb. Why changed credentials and users do nothing on an existing volume, and how to rotate safely.

PostgreSQLDockerConfigurationSecurity
3D illustration of a database cylinder beside a counter block blocked by a red shield
SQL

Postgres permission denied for sequence: GRANT USAGE and nextval

Sequences carry their own ACL, so table grants never cover nextval. The USAGE grant, default privileges, and why identity columns behave differently.

PostgreSQLPermissionsSequencesMigrations
3D illustration of one glowing data cube pulled by two arrows from opposite sides
Rust

E0499: Cannot Borrow as Mutable More Than Once in Async Closures

An async block or FnMut closure keeps a mutable borrow alive past the point you expected. Scoping, split_at_mut and the Arc<Mutex> decision.

RustAsyncBorrow CheckerConcurrency
3D illustration of a service node with a padlock on its user badge and a broken exec arrow
Linux

systemd status=203/EXEC and 217/USER: Exec and Permission Failures

203 is a failed execve, 217 is a user systemd could not resolve. Both happen before your program runs, and the check that finds each takes one command.

LinuxsystemdPermissionsTroubleshooting
3D illustration of a chain of linked commit cubes with one cube floating detached above it
Git

git rebase --onto vs cherry-pick: Recovering a Detached HEAD

Commits made on a detached HEAD belong to no branch. Rescue them from the reflog, then transplant them with rebase --onto or copy them with cherry-pick.

GitRebaseBranchingDebugging
3D illustration of two container boxes pointing cables at one glowing socket with a blocked arrow
Docker

Docker Compose: bind: address already in use and Port Conflicts

A published port is a host socket, and two projects cannot own it. How to find the real owner, why an override file merged instead of replacing, and how to publish dynamically.

DockerDocker ComposeNetworkingDebugging
3D illustration of stacked code slabs with one detached amber slab and a warning triangle above it
C#

CS0219: The Variable Is Assigned but Its Value Is Never Used

Roslyn reports CS0219 only for locals whose assigned value is dead and side-effect free. How to tell a leftover from a forgotten return, and where to suppress it.

C#.NETCompiler WarningsDebugging