Post #1608434
2026-03-02 03:51 UTC
@_the_cloud Nope, nothing in linesResp is being mutated.
Basically what this code does is read everything out of linesResp and send it off as individual events to the GUI code. It's a bit funky since it's a packed array since the string of each line is a different length.
My current leading theories are either the packet gets truncated on this machine (ATP fragmentation?), or I have an off by one error sometimes
Here's the abbreviated code https://gist.github.com/kalleboo/6f1e9e9f0684069c7e436f0c5c6d7c4d
Replies (1)
-
@kalleboo@bitbang.social 2026-03-02 05:50
@_the_cloud From my notes when I created this data structure, this is how the memory of that struct ends up in memory