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 rust crate pulling a native library crate through a pkg-config probe, amber missing openssl plate, cyan prebuilt crate
Rust

Rust: failed to run custom build command for openssl-sys

The build script could not find OpenSSL headers. Read its output, install the development package, point pkg-config at the prefix, or vendor the library.

RustCargoOpenSSLDocker
A go project folder missing its module plaque, an amber cannot find module plate and a cyan go mod init tool
Go

Go: cannot find main module and where go.mod is looked up

The go command searched upward and found no module. Create it at the right level, join modules with go.work, and check GOMOD before guessing.

GoModulesBuildTooling
A migration history tape with out-of-order stamps, an amber inconsistency marker and a cyan faked entry
Python

Django: InconsistentMigrationHistory, applied before its dependency

The migration table records an order the graph forbids. Compare the rows with the files, then fake the gap, remove one row, or reset the database.

DjangoPythonMigrationsPostgreSQL
A json payload plate entering a converter socket blocked by an amber shape, a cyan converter gear fitted
C#

System.Text.Json: The JSON value could not be converted to a type

The serializer refuses to coerce. Read the exception path, then add a converter for dates, number handling for quoted values, or an enum converter.

C#.NETJSONSerialization
An android gradle build cube demanding a jdk crate, an amber java 11 crate rejected and a cyan jdk 17 crate
Java

Android Gradle plugin requires Java 17 to run: where the JDK comes from

Gradle picks its JVM from several places. Make gradle.properties, JAVA_HOME, Studio and CI agree, and stop the stale daemon afterwards.

AndroidGradleJavaCI
A sqlite file block with a single writer key in its lock, amber waiter pads and a cyan wal journal
SQL

SQLite: database is locked (SQLITE_BUSY) under concurrent writes

SQLite allows one writer. Set a busy timeout, switch to WAL, start write transactions as IMMEDIATE, and reduce to a single writer connection.

SQLiteSQLConcurrencyPython
A database gate with a queue of client plugs backed up outside, an amber full counter and a cyan pool tray
SQL

MySQL: ERROR 1040 (HY000) Too many connections

The server is out of slots because pools are too large or leaking. Read the counters, size pools against replicas, then raise the limit.

MySQLConnection PoolPerformanceTroubleshooting
A memory map layer stack on a linux kernel base with an amber sysctl dial and a cyan raised value plate
Linux

Elasticsearch: max virtual memory areas vm.max_map_count is too low

The bootstrap check reads a kernel setting that is not namespaced. Set it on the host, persist it with sysctl.d, and tune nodes instead of containers.

ElasticsearchLinuxDockerKubernetes
A git index tray with an overlong filename tape spilling out, an amber path limit gate and a cyan long path switch
Git

Git on Windows: Filename too long and the core.longpaths fix

Windows still caps many paths at 260 characters. Shorten the clone root, enable core.longpaths system-wide, and turn on the OS long path setting.

GitWindowsConfigurationTroubleshooting
A helm release stack locked by a release block, an amber frozen gear and a cyan rollback arrow
Kubernetes

Helm: another operation (install/upgrade/rollback) is in progress

Helm 3 stores the lock inside the release secret. Read the pending status, roll back to the last good revision, or clear the record deliberately.

HelmKubernetesCI/CDTroubleshooting