
Installing PostgreSQL on macOS Linux and Windows Today
Install PostgreSQL on macOS with Homebrew, on Linux with packages and on Windows with the installer, then check that the service runs.
Tag
54 posts

Install PostgreSQL on macOS with Homebrew, on Linux with packages and on Windows with the installer, then check that the service runs.

One page of YAML syntax: scalars, quoting, collections, block strings, anchors, documents, comments and the values that change type. Copy-ready snippets.

Six ways to write null in YAML, how they differ from the empty string, and what a key with no value, an empty list and an absent key mean to your code.

YAML allows comments with a hash, but most parsers throw them away when they load and save. What survives a round trip in PyYAML, ruamel.yaml and yq.

Define a block once with an anchor, reuse it with an alias, and merge it with the merge key. Real output shows overrides, sharing and where merging stops.

Block and flow styles for sequences and mappings, lists of mappings, empty collections and why a missing value is None, each with its parsed result.

The pipe keeps line breaks, the greater than sign folds them, and chomping indicators control the final newline. Six variants and the exact strings.

Plain, single quoted and double quoted YAML strings compared, with the characters that force quotes and a table of values that silently change type.

How YAML uses spaces to build structure, why a tab is rejected, and how one extra space turns a sibling into a child. Real parser output for each case.

Comments, types, size, parse speed and safety compared with measured numbers, plus why JSON is nearly valid YAML. One format costs 55 times more to parse.

Export a DuckDB query to CSV with COPY. Control the delimiter, NULL text, quoting, date format and compression, and split output into one file per value.

What to write in YAML comments, what to leave out and how to lint comment style. Includes yamllint output for spacing and indentation, and what tools drop.