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 package crate behind a padlock held by a timer process, headline DPKG LOCK
Linux

apt: Could not get lock /var/lib/dpkg/lock-frontend

The lock names its holder, so read it instead of deleting the file. Wait, time out, or stop unattended-upgrades for the duration.

aptdpkgUbuntuProvisioning
A build layer stack crushed by a full disk gauge with an amber overflow, headline ENOSPC
Docker

Docker build: no space left on device while df shows free space

BuildKit cache lives outside docker system df. Measure it with buildx du, prune to a size budget and reorder the Dockerfile.

DockerBuildKitDisk SpaceCI
A fix wand smoothing a Go code block beside a typed error socket, headline GO 1 26
Go

Go 1.26: go fix rewrites, errors.AsType and go.mod surprises

go fix now modernizes code, errors.AsType compiles instead of panicking, and go mod init writes the previous minor on purpose.

GoToolchainGo ModulesMigration
A mutable static block locked by a red deny sign and a shifted drop arrow, headline EDITION 2024
Rust

Rust 2024 edition: static mut references and if-let drop order

Edition 2024 denies shared references to static mut and drops if-let temporaries earlier. Both are silent until the build or a deadlock changes.

RustEdition 2024Borrow CheckerMigration
A deferred annotation capsule with a forward-reference arrow and an empty name slot, headline PEP 649
Python

Python 3.14 PEP 649: NameError from lazy annotations

Annotations are no longer strings. A NAME only imported under TYPE_CHECKING now raises when FastAPI or Pydantic reads the signature.

PythonType HintsFastAPIMigration
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