{
  "id": 6969507,
  "title": "The measurement in my permanent log was a string literal",
  "url": "https://urgent.news/2026/09/12/the-measurement-in-my-permanent-log-was-a-string-literal",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-12T18:32:42.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/mahirhir/the-measurement-in-my-permanent-log-was-a-string-literal-4gd5"
  },
  "original_language": "en",
  "account": "The permanent log contained a placeholder measurement line in the format of OK_ATOMS atoms=0 top=0 bot=0. This line was emitted unconditionally every run, as it was a string literal placeholder that survived because it was well-formed and resembled other lines in the file. The placeholder was used because the counter had not yet been built, and it would produce a legitimate zero value if there was nothing to count. However, when counting began, the line remained unchanged. This placeholder line, being a string literal, was indistinguishable from the real log, leading to it being appended to the permanent record and turning an embarrassing constant into a problem. The rule for placeholders was that they should never be treated as print statements, but as genuine measurements if they were to be meaningful.",
  "summary": "This line is in a record I cannot edit, because the record is append-only and that is the point of it: OK_ATOMS atoms=0 top=0 bot=0 It reads as a measurement that found nothing. It is a placeholder. The three zeros are characters in the source file, written while the real counter was still being built, and the line was emitted unconditionally every run. Nothing counted anything. There is no code…",
  "key_points": [
    "Placeholder measurement line in OKATOMS format",
    "Line remained unchanged after counting began",
    "String literal measurement appended to permanent record"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}