Spacestategeschiedenis

From RevSpace
Revision as of 22:27, 15 June 2018 by Juerd (talk | contribs)
Jump to navigation Jump to search

Data file:

  • First 8 bytes (64 bit): unix time_t epoch time of first data point
  • Subsequent data: one byte per minute, byte offset = 8 + floor((time() - $start_time) / 60)
    • ASCII '0': space was closed (or mostly closed)
    • ASCII '1': space was open (or mostly open)
    • ASCII '?': script did run but could not determine space state (not currently in use)
    • ASCII '\0' (NUL): space state was not recorded
    • Any other value: treat as '?'