Skip to content

KandZ - Tuts

  • Operating Systems ▾
    • Linux ▾
      • Bash Scripting
      • LFCA - Linux Foundation Certified IT Associate
      • LFCS - Linux Foundation Certified Sysadmin
      • LFCE - Linux Foundation Certified Engineer (Sysadmin + Network Admin)
      • Linux CLI
      • Various ▾
        • Gnome 48
        • KDE
        • Distros ▾
          • Fedora
          • Other Distros
          • Ubuntu
    • Windows ▾
      • Windows 11
  • Paths ▾
    • Core Web Stack
    • React & Modern UI Stack
    • Linux Core
  • Programming ▾
    • Frontend (FED) ▾
      • React Ecosystem ▾
        • React
        • React Router
        • TanStack Router
        • TanStack Query (React Query)
        • Zustand
        • Redux Toolkit
        • Next.js
        • React Server Components
        • React Hook Form
        • Zod
      • Angular Ecosystem ▾
        • Angular
      • Vue Ecosystem ▾
        • Vue.js
      • Styling & UI Components ▾
        • Tailwind CSS
    • Languages & Runtimes ▾
      • CSS
      • Dart
      • HTML
      • JavaScript
      • Node.js
      • Rust
      • SQL
      • TypeScript
      • Data Formats & Serialization ▾
        • JSON
        • TOML
        • YAML
        • Serialization
    • Tools & Build Systems ▾
      • Version Control ▾
        • GitHub
        • Git
        • GitLab
      • Package Managers ▾
        • npm
        • Bun
        • yarn
        • pnpm
      • DevOps & Containers ▾
        • Docker
      • Bundlers & Build Tools ▾
        • Vite
        • esbuild
        • Parcel
      • Code Quality & Formatting ▾
        • Prettier
        • ESLint
        • Biome
  • Servers & Self-Hosting ▾
    • Internet ▾
      • Internet Backend
      • Internet Beginner
      • Internet Frontend
    • Networking & DNS ▾
      • REST API
  • Tools
KandZ - Tuts
AngularBiomeBunCSSDartDockeresbuildESLintGitGitHubGitLabHTMLJavaScriptJSONNext.jsNode.jsnpmParcelpnpmPrettierReactReact Hook FormReact RouterReact Server ComponentsRedux ToolkitRustSerializationSQLTailwind CSSTanStack Query (React Query)TanStack RouterTOMLTypeScriptViteVue.jsYAMLyarnZodZustandBash ScriptingFedoraGnome 48KDELFCA - Linux Foundation Certified IT AssociateLFCE - Linux Foundation Certified Engineer (Sysadmin + Network Admin)LFCS - Linux Foundation Certified SysadminLinux CLIOther DistrosUbuntuWindows 11Core Web StackInternet BackendInternet BeginnerInternet FrontendLinux CoreReact & Modern UI StackREST APITools
  • YAML 10 📄 YAML 1.2 vs YAML 1.1 Spec Differences
    Languages & Runtimes | YAML | Programming | Data Formats & Serialization

    YAML 10 📄 YAML 1.2 vs YAML 1.1 Spec Differences

    ByKandZ November 13, 2026November 13, 2026

    The version number in a YAML file is not decorative. YAML 1.1 and YAML 1.2 disagree on what several common strings mean, and the disagreement is silent: a file that parses one way under a 1.1 parser produces different data under a 1.2 parser. The most consequential difference is the boolean set. YAML 1.1 treats…

    Read More YAML 10 📄 YAML 1.2 vs YAML 1.1 Spec DifferencesContinue

  • YAML 09 📄 Converting and Mapping Between JSON and YAML
    Languages & Runtimes | YAML | Programming | Data Formats & Serialization

    YAML 09 📄 Converting and Mapping Between JSON and YAML

    ByKandZ November 13, 2026November 13, 2026

    JSON and YAML are not competitors at the boundary; they are dialects of the same data model. YAML 1.2 was designed so that every valid JSON document is also valid YAML . The conversion between them is therefore a transformation of syntax, not semantics. But the syntax carries information that the other format cannot express:…

    Read More YAML 09 📄 Converting and Mapping Between JSON and YAMLContinue

  • YAML 08 📄 Security Hazards — Arbitrary Code Execution during Deserialization
    Languages & Runtimes | YAML | Programming | Data Formats & Serialization

    YAML 08 📄 Security Hazards — Arbitrary Code Execution during Deserialization

    ByKandZ November 13, 2026November 13, 2026

    YAML’s expressive power is its attack surface. A parser that can instantiate language objects from tags will do so when the document contains the right tag, and an attacker who controls the document controls what gets instantiated. The result is remote code execution from what looks like a configuration file. This is not a theoretical…

    Read More YAML 08 📄 Security Hazards — Arbitrary Code Execution during DeserializationContinue

  • YAML 07 📄 Data Type Tags and Custom Tag Resolution
    Languages & Runtimes | YAML | Programming | Data Formats & Serialization

    YAML 07 📄 Data Type Tags and Custom Tag Resolution

    ByKandZ November 13, 2026November 13, 2026

    YAML’s type system is not built into the syntax; it is built into the tags. A tag is a URI that identifies the type of a node. When a plain scalar is written without a tag, the parser applies a schema—a set of resolution rules—to decide whether true is a boolean, 2001-12-14 is a timestamp…

    Read More YAML 07 📄 Data Type Tags and Custom Tag ResolutionContinue

  • YAML 06 📄 DRY Patterns — Anchors (&), Aliases (*), and Merge Keys (
    Languages & Runtimes | YAML | Programming | Data Formats & Serialization

    YAML 06 📄 DRY Patterns — Anchors (&), Aliases (*), and Merge Keys (<<)

    ByKandZ November 13, 2026November 13, 2026

    YAML’s DRY (Don’t Repeat Yourself) features let you define a block of configuration once and reuse it in multiple places. An anchor (&) marks a node with a name; an alias (*) references that node elsewhere; a merge key (<<) inserts the entries of one mapping into another. Together they eliminate duplicated configuration in large…

    Read More YAML 06 📄 DRY Patterns — Anchors (&), Aliases (*), and Merge Keys (<<)Continue

  • Zod 10 🛡️ Arrays and Tuples — z.array() and fixed-length structures
    Frontend (FED) | React Ecosystem | Programming | Zod

    Zod 10 🛡️ Arrays and Tuples — z.array() and fixed-length structures

    ByKandZ November 13, 2026November 13, 2026

    Arrays and tuples are Zod’s collection schemas. z.array(schema) validates that every element matches the same schema, and infers T[]. z.tuple([a, b]) validates a fixed-length sequence where each position has its own schema, and infers a positional tuple type like [string, number]. The distinction is structural: arrays are homogeneous and variable-length; tuples are heterogeneous and fixed-length….

    Read More Zod 10 🛡️ Arrays and Tuples — z.array() and fixed-length structuresContinue

  • Zod 09 🛡️ Object Schemas — Optional fields, defaults, and .strictObject()
    Frontend (FED) | React Ecosystem | Programming | Zod

    Zod 09 🛡️ Object Schemas — Optional fields, defaults, and .strictObject()

    ByKandZ November 13, 2026November 13, 2026

    An object schema is the primary constructor for structured data in Zod. It takes a shape—an object whose values are schemas—and returns a schema whose inferred type mirrors that shape. The behavior on unknown keys, however, is not uniform: Zod objects strip unknown keys by default, reject them when constructed with z.strictObject(), or preserve them…

    Read More Zod 09 🛡️ Object Schemas — Optional fields, defaults, and .strictObject()Continue

  • Zod 08 🛡️ String Formats — Top-level z.email(), z.uuid(), z.url() in v4
    Frontend (FED) | React Ecosystem | Programming | Zod

    Zod 08 🛡️ String Formats — Top-level z.email(), z.uuid(), z.url() in v4

    ByKandZ November 13, 2026November 13, 2026

    Zod v4 promotes string-format validators from chained methods to top-level functions. The v3 syntax z.string().email() still parses in v4 but is deprecated and emits warnings in tooling; the canonical v4 form is z.email() . The change is not cosmetic. Top-level functions return dedicated schema types with optimized validation and compose more cleanly than the chained…

    Read More Zod 08 🛡️ String Formats — Top-level z.email(), z.uuid(), z.url() in v4Continue

  • Zod 07 🛡️ Primitive Types — z.string(), z.number(), z.boolean(), z.date()
    Frontend (FED) | React Ecosystem | Programming | Zod

    Zod 07 🛡️ Primitive Types — z.string(), z.number(), z.boolean(), z.date()

    ByKandZ November 13, 2026November 13, 2026

    Zod’s primitive schemas are the atoms from which every larger schema is built. z.string(), z.number(), z.boolean(), and z.date() each produce a schema whose runtime validator checks the JavaScript type and whose inferred TypeScript type is the corresponding primitive. On their own, these schemas accept any value of that type. Constraints—.min(), .max(), .email(), .int()—narrow the accepted…

    Read More Zod 07 🛡️ Primitive Types — z.string(), z.number(), z.boolean(), z.date()Continue

  • Zod 06 🛡️ Inferring Types — z.infer and the schema-to-type bridge
    Frontend (FED) | React Ecosystem | Programming | Zod

    Zod 06 🛡️ Inferring Types — z.infer<> and the schema-to-type bridge

    ByKandZ November 13, 2026November 13, 2026

    A Zod schema is a runtime value and a type declaration at the same time. z.infer<> is the bridge between them: it reads a schema’s TypeScript type and returns it as a type alias. The schema is the source of truth, and the type is derived from it, never written beside it. This is the…

    Read More Zod 06 🛡️ Inferring Types — z.infer and the schema-to-type bridgeContinue

Page navigation

1 2 3 … 308 Next PageNext

  • Operating Systems ▾
    • Linux ▾
      • Bash Scripting
      • LFCA - Linux Foundation Certified IT Associate
      • LFCS - Linux Foundation Certified Sysadmin
      • LFCE - Linux Foundation Certified Engineer (Sysadmin + Network Admin)
      • Linux CLI
      • Various ▾
        • Gnome 48
        • KDE
        • Distros ▾
          • Fedora
          • Other Distros
          • Ubuntu
    • Windows ▾
      • Windows 11
  • Paths ▾
    • Core Web Stack
    • React & Modern UI Stack
    • Linux Core
  • Programming ▾
    • Frontend (FED) ▾
      • React Ecosystem ▾
        • React
        • React Router
        • TanStack Router
        • TanStack Query (React Query)
        • Zustand
        • Redux Toolkit
        • Next.js
        • React Server Components
        • React Hook Form
        • Zod
      • Angular Ecosystem ▾
        • Angular
      • Vue Ecosystem ▾
        • Vue.js
      • Styling & UI Components ▾
        • Tailwind CSS
    • Languages & Runtimes ▾
      • CSS
      • Dart
      • HTML
      • JavaScript
      • Node.js
      • Rust
      • SQL
      • TypeScript
      • Data Formats & Serialization ▾
        • JSON
        • TOML
        • YAML
        • Serialization
    • Tools & Build Systems ▾
      • Version Control ▾
        • GitHub
        • Git
        • GitLab
      • Package Managers ▾
        • npm
        • Bun
        • yarn
        • pnpm
      • DevOps & Containers ▾
        • Docker
      • Bundlers & Build Tools ▾
        • Vite
        • esbuild
        • Parcel
      • Code Quality & Formatting ▾
        • Prettier
        • ESLint
        • Biome
  • Servers & Self-Hosting ▾
    • Internet ▾
      • Internet Backend
      • Internet Beginner
      • Internet Frontend
    • Networking & DNS ▾
      • REST API
  • Tools

Search