IRC channel logs

2025-01-18.log

back to list of logs

<Zarutian_iPad>been staring at cbor for a bit
<Zarutian_iPad>and it looks like it fits ocapn purposes nicely
<Zarutian_iPad>we need two cbor tags, one for denoting symbols/selectors and one denoting ocapn tagged ?records?
<Zarutian_iPad>the former is basically to put on utf-8 strings (cbor) to denote that they are an ocapn selector
<Zarutian_iPad>the latter to put on an array/list whose first element/item is an ocapn selector
<Zarutian_iPad>I am thinking cbor tags 118 (decimal) and 119 (decimal) is a good choice as they are yet be assigned
<Zarutian_iPad>in the iana registry
<Zarutian_iPad> https://www.iana.org/assignments/cbor-tags/cbor-tags.xhtml
<Zarutian_iPad>why those? they fit in the one byte extra cbor tag encoding
<Zarutian_iPad>and using cbor tag 25 (dec) string refs inside ocapn selectors we can cut down bandwidth usage quite a bit, specially the op:deliver and op:deliver-only selectors