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

Two JDK crates of different heights with an amber mismatch plate between them and a compiler gate
Java

Maven: release version 25 not supported and where the JDK comes from

Six places choose the JDK and only one matters per build. Diagnose the release error, then pin the compiler so it cannot drift again.

JavaMavenJDKCI
A Go build cube with an empty tool socket outlined in amber and a gear on a shelf beside it
Go

Go: cgo: C compiler "gcc" not found in a minimal image

Why a project with no C fails on a C compiler, how to prove which package pulls cgo, and what changes when a library really needs it.

GocgoDockerCross Compilation
A directory tree of watch markers filling a gauge to the top beside a sysctl dial turned by a cyan key
Linux

ENOSPC from inotify: the watcher limit, not the disk

Three per-user limits, one misleading error. Find the consumer, set a permanent sysctl drop-in, and know when polling is the honest answer.

LinuxinotifysysctlNode.js
A certificate chain of three plates with the top root broken away in amber and a cyan trust key
Git

Git: SSL certificate problem: self-signed certificate in certificate chain

The browser trusts it and Git does not. Identify the root, keep the public bundle, and avoid the global sslVerify setting that hides the problem.

GitTLSProxyCI
Three container blocks in a startup chain with the middle one red-lit and unhealthy behind a cyan gate
Docker

Docker Compose: dependency failed to start and the health check behind it

The container named in the error is the failing one. Inspect its health log, choose the right condition, and give slow databases a start period.

DockerDocker ComposeHealthchecksTroubleshooting
A Kubernetes object slab sealed with an amber lock plate while a patch arrow bends away from it
Kubernetes

Helm upgrade failed: field is immutable on Service and Job

Some fields cannot be patched at all. Here is which ones, why --force does not help, and the safe recreate procedure for Services, Jobs and StatefulSets.

HelmKubernetesUpgradesDeployments
A single root config slab replacing a stack of nested folder tabs, amber highlight on the dropped tab
TypeScript

ESLint 9: the flat config error and why .eslintrc stopped loading

Flat config is one array, one root file, and no string extends. Here is the conversion, the four settings with no equivalent, and the editor trap.

ESLintTypeScriptFlat ConfigLinting
A form panel splitting into input and output plates with a cyan resolver bridge, amber mismatch stud
React

react-hook-form with zod 4: resolver type errors after the upgrade

Zod 4 split input from output and resolvers v5 re-typed Resolver. Drop the generic, or pass all three, and the errors disappear.

Reactreact-hook-formZodTypeScript
A CSS pipeline splitting one plugin block into two packages joined by a cyan bridge, amber outline on the old slot
Next.js

Tailwind CSS 4: the PostCSS plugin error and the v3 leftovers behind it

The moved PostCSS plugin is only half of it. Match the config extension, drop autoprefixer and postcss-import, and check for a second v3 copy.

Tailwind CSSNext.jsPostCSSMigration
A package crate with an empty socket where a native binary should snap in, an amber approval key above it
Node.js

pnpm: Ignored build scripts and how to approve them

A skipped postinstall leaves native modules empty. Approve the packages once in committed config, then verify the build instead of allowing everything.

pnpmNode.jsPackage ManagersSecurity