HN user

nnunley

4 karma
Posts0
Comments3
View on HN
No posts found.

I have a similar tool to shrink ray, called [bonsai](https://github.com/nnunley/bonsai). I designed it to allow me to try to inline and reduce code for both simplifying single file examples, as well working across multiple files. It uses Tree-Sitter for syntax awareness, and the [Perses algorithm](https://doi.org/10.1109/ICSE.2018.00046) as the methodology for simplification.

I'd love to get some feedback if anyone's interested.

Is the main goal here just to have a cool-looking file extension?

Why not use PNG’s built-in zTXt chunks to store metadata? That seems like a more standard and less fragile approach.

I can see the case for using LSB steganography to watermark or cryptographically sign an image—but using it to embed all the metadata you're describing is likely to introduce a lot of visual noise.

Also worth considering: this approach could be used to poison models by embedding deliberately misleading metadata. Depending on your perspective, that might be a feature or a bug.