piker/piker/tsp
Gud Boi 52e65dbe0d Use `md5` hashed shm keys for macOS compat
Shorten SHM buffer key names to fit Darwin's 31
char filename limit by hashing the `fqme`/content
portion with `md5` and truncating to 8 hex chars.

Deats,
- `.fsp._api`: replace `piker.{actor}[{uuid}].{sym}`
  format with `{uuid[:8]}_{hash}.fsp`
- `.tsp._history`: add `platform.system()` check to
  conditionally shorten `.hist`/`.rt` keys on Darwin
  while keeping the full key format on Linux

(this commit msg was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code

NOTE that this patch was orig by @dnks and broken out from a larger
commit which added unnecessary/out-of-scope changes we didn't end up
requiring.
2026-03-11 10:56:22 -04:00
..
__init__.py Mv `markup_gaps()` to new `.tsp._annotate` mod 2026-02-22 22:08:34 -05:00
_anal.py Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00
_annotate.py Use `get_fonts()`, add `show_txt` flag to gap annots 2026-02-22 22:08:35 -05:00
_dedupe_smart.py Add vlm-based "smart" OHLCV de-duping & bar validation 2026-02-22 22:08:34 -05:00
_history.py Use `md5` hashed shm keys for macOS compat 2026-03-11 10:56:22 -04:00