News for hackers. Stuff that matters.
Re:Base-122 – A space efficient alternative to base-64 by zackmorris on Sunday November 27, 2016 @02:54PM (#13051071)
http://blog.kevinalbs.com/base122#a_minor_note_on_the_last_c...

Almost a perfect standard, but the prepended one byte header is a mistake IMHO. It makes it impossible to encode when the input size is unknown. Better to encode whether the last chunk is one byte or two at the end of the stream.

Please whoever is involved with this, revise the standard to not have a header and call this existing spec a beta. Otherwise, good work.

Edit: I have opened an issue for this: https://github.com/kevinAlbs/Base122/issues/3#issue-19188159...

Re:Base-122 – A space efficient alternative to base-64 by dmbarbour on Sunday November 27, 2016 @07:38PM (#13052602)
It would be easy to do. That 3-bit word just needs to start at 1 (since it encodes fewer than 8 options). Then the fixed 1-bit can instead encode whether another 7-bit segment follows.
Re:Base-122 – A space efficient alternative to base-64 by kevinAlbs on Sunday November 27, 2016 @08:39PM (#13052835)
Good point, I will change that.