Protobuf over UDP can use the UDP payload length. Likewise for the many variants of self-sychronising DLE framing (DLE,STX..DLE,ETX) used on serial links.
A varint length field prepended to protobuf messages (sent over a reliable transport, such as TCP) seems sane.
Draughts :-) It's an old place, it doesn't seal. That and sleeping in rooms with the window open just a crack as much as possible. Mould tends to hit when people obsessively seal everything up.
I still have a condensation problem in a few specific places I have to keep an eye on. It's not general.
I think he's asking about the common trap people seem to fall into where, trying to keep heat in, they shut down air changes too far. Human breath puts a surprising amount of moisture into the air, and cooking can too. If you let that build up and have a cold wall it can build up a film of damp very quickly and if it's left damp and cool it can encourage mould. That kind of bad air quality is far worse than a bit of a chill.
You have to be careful with unknown scripts/apps on GitHub.
They may not be reviewed, may disappear or not maintained next year, file formats might be specific or not supported by other tools. The benefits are also dubious over well established tools like OpenSSL (if you just want to encrypt a file from command line).
Use widely-used well-known tools. File encryption is a commodity!
So I implemented this change and tested it out. Turns out, in my simple test suite, this actually changes the size of images. Not drastically. Often just a 5-10 kb difference (on a 500-600kb file), but that's still more than I expected for changing r-15 to r-7.
Suggests the DIFF16 delta-color mode is responsible for quite a bit of the savings. Maybe it would be worth experimenting the exact encoding.
One idea would be to start a predicted color (calculate the delta of the previous two pixels, apply that, then specify a delta to that). Another would be to encode the delta in YUV or some other color space, and then experiment with the best balance of bits between those channels.
Perhaps it would be better to steal bits from RUN16 instead, I somewhat doubt it's usefulness.
https://en.wikipedia.org/wiki/Damm_algorithm