Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was going to give you the usual "now there are 15 different standards" but this is actually really well thought out.

How does it handle leading zeros in the year, like Long Now likes to do? https://blog.longnow.org/02013/12/31/long-now-years-five-dig...



For the text variant, it just parses the year field as an integer, so leading zeroes would generate the same year value as if you'd omitted them.


Nice, that's the parsimonious way to handle it.

I'm really digging this system in general. I hope it gets more traction.


On the other hand, valid data may now be unreasonably long. What if someone gives you a string that starts with 10^12 leading zeros?


This is where security and limits comes in:

https://github.com/kstenerud/concise-encoding/blob/master/ce...




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: