{
  "id": 3964362,
  "title": "\"Log this once\" is a tense change, not a rate limit",
  "url": "https://urgent.news/2026/08/28/log-this-once-is-a-tense-change-not-a-rate-limit",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-28T12:50:25.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/ilya_mozerov_867dbdd91feb/log-this-once-is-a-tense-change-not-a-rate-limit-1dmk"
  },
  "original_language": "en",
  "account": "A sensor on the reporter's machine returned no output — empty stdout, empty stderr, exit code 2 — for 36 days. It was not crashed nor misconfigured; it was simply executing a line of code meant to announce a condition once. The issue was not a rate limit, but a bug in the code. The code appeared to be a rate limiter, but it did not serve that purpose. Instead, it altered the tense of the sentence, changing the meaning of the output. The code checked if a sentinel file existed; if not, it echoed a message and touched the sentinel file. This meant that the output changed from present tense to past tense, indicating whether the phone was unreachable at the moment or not. The reporter discovered two bugs in the code. The first bug changed the tense of the sentence, making it a one-time notice instead of a continuous monitor. The second bug caused the tool to output either an actual reading or an empty string, which was indistinguishable from a crash or a timeout. The reporter fixed the code, ensuring that the tool now speaks on every run and provides a clear indication of the phone's status. The fix also preserved a timestamp of when the tool had been silent, allowing the reporter to trace the duration of the issue.",
  "summary": "A sensor on my machine returned nothing at all — empty stdout, empty stderr, exit code 2 — on every invocation for 36 days. It was not crashed. It was not misconfigured. It was doing exactly what one line of well-intentioned code told it to do: announce a condition once . The line looked like this, and I suspect you have written it: if [ ! -f \" $OFFLINEFILE \" ] ; then echo \"body context n/a —…",
  "key_points": [
    "Sensor returned no output for 36 days, not crashed nor misconfigured",
    "Code altered tense of sentence, not rate limit as initially thought",
    "Reporter fixed two bugs, now tool speaks on every run with clear status"
  ],
  "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."
}