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

A node tower with a locked cgroup gate and kubelet refusing entry, headline CGROUP V1
Kubernetes

Kubernetes 1.35: kubelet will not start on a cgroup v1 node

A 1.35 kubelet refuses a cgroup v1 host, and the removed pod-infra flag stops custom images. Check the kernel command line before the node pool.

KuberneteskubeletNodesUpgrade
A node cube with a broken rmdir lever and a mismatched binary socket, headline NODE 26 BREAKS
Node.js

Node.js 26 upgrade: rmdir, native addons and removed flags

Three breaks stop a deploy: rmdir with recursive throws, the transform-types flag is gone, and the module ABI moved to 147.

Node.jsNative AddonsUpgradeTroubleshooting
Two database cylinders with mismatched checksum plates and an amber mismatch marker, headline CHECKSUM MISMATCH
SQL

pg_upgrade to Postgres 18: old and new clusters differ on checksums

Postgres 18 enables data checksums in initdb by default. Match the old cluster, or enable checksums first and plan a longer window.

PostgreSQLpg_upgradeMigrationRelease Notes
A static shell panel with a cyan cut-out hole streaming data, headline CACHE COMPONENTS
Next.js

Next.js cacheComponents: 'used uncached or runtime data' build error

Cache Components makes the build refuse to guess where the static shell ends. Stream it, cache it with use cache, or declare the route blocking.

Next.jsReactCachingTroubleshooting
A Go-compiled tsc binary in a steel cube beside an API socket marked empty, headline TS7 NATIVE
TypeScript

TypeScript 7 native tsc: moduleResolution, baseUrl and API errors

The native compiler changes three defaults and drops the compiler API. Fix tsconfig first, then alias TypeScript 6 for eslint and ts-node.

TypeScripttsconfigMigrationBuild Tools
A database context block with two overlapping operation arrows, headline SECOND OPERATION
C#

EF Core: A second operation was started on this context instance

A DbContext is not thread-safe. Sequence the work, split it across factories, and stop capturing scoped contexts in background tasks.

C#EF Core.NETConcurrency
A fast spinning render loop of glowing rings with a stop plate, headline TOO MANY RE-RENDERS
React

React: Too many re-renders. React limits the number of renders

A setter runs during render and schedules another render. Fix the invoked handler, the unstable dependency, or the prop-to-state copy.

ReactHooksDebuggingPerformance
An empty hash grid with a key cube falling through it, headline NIL MAP
Go

Go: panic: assignment to entry in nil map

Reads on a nil map are legal, writes panic. Initialise in a constructor, allocate inner maps, and do not confuse this with a concurrent write.

GoMapsRuntimeDebugging
A proxy gate with a sealed upstream door and a refused arrow, headline BAD GATEWAY
Linux

nginx 502 Bad Gateway: upstream connection refused

The log line names the address and errno, which is the diagnosis. Fix the host, the start-up order, the buffers, or the timeout that actually fired.

nginxDockerReverse ProxyTroubleshooting
Two identical record blocks colliding over one index slot, headline P2002
Node.js

Prisma P2002: Unique constraint failed

The database rejected a duplicate key. Replace check-then-insert with upsert or catch the code deliberately, and read meta.target for the culprit.

PrismaPostgreSQLErrorsConcurrency