So, for a little project I needed to compress a bit of data, and @cancel and I made up a spec that should be possible to implemented on small systems without too much headaches.

I wrote a bit of documentation for it, and I was wondering if anyone wanted to put the docs to the test and see if they could write a toy implementation in a language of their choice. It'd help me see if there's things missing in the docs.

http://wiki.xxiivv.com/site/ulz_format

So, think of it as a little puzzle.

XXIIVV — ulz format

@neauoire @cancel I've made a little implementation in Go : https://github.com/max22-/ulz-go
it was a little bit difficult to understand that you can copy data even if the length goes past the end of the output buffer (i did an equivalent of memcpy, and it didn't work ^^)
GitHub - max22-/ulz-go: An implementation of ulz (de)compression in go

An implementation of ulz (de)compression in go. Contribute to max22-/ulz-go development by creating an account on GitHub.

GitHub
@maxime_andre @cancel ah! that trips many people, how would you explain this so others aren't tripped by it?
@neauoire @cancel 🤔 maybe a little drawing ?