{
  "id": "data",
  "name": "Data",
  "path": "/data/",
  "question": "Interpret a format",
  "description": "Data entries begin with the smallest sample that exposes the format. They show where a record starts and ends, which bytes are ambiguous, and what a parser is entitled to ignore.",
  "entries": [
    {
      "id": "data/combining-latency-percentiles",
      "title": "Can You Average Two p95 Latencies?",
      "url": "https://www.fieldnotely.xyz/data/combining-latency-percentiles/",
      "summary": "To find the p95 across two servers, pool their requests or merge compatible histograms. Even a request-weighted average of the two p95 values can be far from the pooled result.",
      "aliases": [
        "aggregate percentiles",
        "weighted p95",
        "average of percentiles",
        "tail latency"
      ],
      "kind": "qa",
      "topic": "statistics",
      "scope": "Empirical percentiles of completed requests over the same time window",
      "updated": "2026-11-29"
    },
    {
      "id": "data/csv-quotes-line-breaks",
      "title": "Quotes and Line Breaks in CSV",
      "url": "https://www.fieldnotely.xyz/data/csv-quotes-line-breaks/",
      "summary": "A line break belongs to a CSV field only when it appears inside a double-quoted field; outside quotes it ends the record, so wrap the field in double quotes and double any embedded quotes.",
      "aliases": [
        "CSV multiline fields",
        "quoted newline in CSV",
        "RFC 4180 line breaks"
      ],
      "kind": "reference",
      "topic": "csv",
      "scope": "RFC 4180; common CSV parsers",
      "updated": "2026-11-29"
    },
    {
      "id": "data/utf8-bom",
      "title": "Recognizing a UTF-8 BOM",
      "url": "https://www.fieldnotely.xyz/data/utf8-bom/",
      "summary": "A UTF-8 BOM is the byte sequence EF BB BF at the start of a text stream; inspect the first three bytes before decoding, and strip it unless the consuming format explicitly expects it.",
      "aliases": [
        "UTF-8 BOM detection",
        "byte order mark UTF-8",
        "remove BOM from UTF-8"
      ],
      "kind": "reference",
      "topic": "encoding",
      "scope": "UTF-8; text files and parsers",
      "updated": "2026-11-29"
    },
    {
      "id": "data/json-lines-boundaries",
      "title": "Record Boundaries in JSON Lines",
      "url": "https://www.fieldnotely.xyz/data/json-lines-boundaries/",
      "summary": "In JSON Lines each record is one complete JSON value on a single line, with LF as the record separator; a pretty-printed object spans multiple lines and is therefore not valid JSON Lines.",
      "aliases": [
        "JSON Lines format",
        "NDJSON record separator",
        "newline-delimited JSON"
      ],
      "kind": "reference",
      "topic": "json",
      "scope": "JSON Lines; line-oriented tools",
      "updated": "2026-11-29"
    },
    {
      "id": "data/sql-null-testing",
      "title": "Testing for NULL in SQL",
      "url": "https://www.fieldnotely.xyz/data/sql-null-testing/",
      "summary": "column = NULL never matches because NULL means unknown rather than a value, and comparisons with it evaluate to UNKNOWN; write column IS NULL or column IS NOT NULL instead.",
      "aliases": [
        "SQL NULL comparison",
        "IS NULL",
        "SQL three-valued logic"
      ],
      "kind": "qa",
      "topic": "sql",
      "scope": "SQL-92 and modern relational databases",
      "updated": "2026-11-29"
    }
  ]
}
