News for hackers. Stuff that matters.
Re:Show HN: Cascii – A portable ASCII diagram builder writte... by harvie on Tuesday March 18, 2025 @08:39AM (#43398705)
Exactly. Make it importable and i am sold.

Maybe base64 encoded metadata under the diagram? Maybe encode in non-printable characters?

Maybe just use non-printable characters to hint where the corners of objects are?

Re:Show HN: Cascii – A portable ASCII diagram builder writte... by ftr1200 on Tuesday March 18, 2025 @09:20AM (#43399133)
I have thought about this a lot. I was going to do some stuff with gzip, but fundementally, I came to the conclusion that the most elegant solution (no hidden chars / extra encoded data coupled with export) might actually be training a neural net to do it. Also, this would mean being able to import diagrams that weren't even made on Cascii. Training data can be self-generated too.

Perhaps a good middle ground would just be offering the gzip dump.

Re:Show HN: Cascii – A portable ASCII diagram builder writte... by ftr1200 on Tuesday March 18, 2025 @02:20PM (#43402836)
v1.0.1 now has offline import/export

https://github.com/casparwylie/cascii-core