TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Concise Encoding: A secure data format for a modern world

76 pointsby bshanksalmost 3 years ago

9 comments

BoppreHalmost 3 years ago
Things I liked:<p>- Versioning.<p>- Time zone identifier instead of just a fixed offset (which are ambiguous for future events).<p>- Native encoding of binary values.<p>- Graph notation with support for labels.<p>- Comments!<p>- Trying to escape lookalike characters, even though I think that&#x27;s a lost cause.<p>Things I&#x27;m not so keen about:<p>- NUL character in strings being platform and settings dependent.<p>- Line break not being forced to a consistent value.<p>- The most complicated number encoding scheme I&#x27;ve ever seen (e.g. 0xa,3fb8p+42).<p>- Entity references are a footgun for anyone writing a depth-first or breadth-first algorithm.<p>- Arrays-vs-list feels like it doesn&#x27;t belong in encoding formats.
评论 #31491024 未加载
评论 #31490797 未加载
评论 #31493144 未加载
评论 #31491036 未加载
kstenerudalmost 3 years ago
Hey guys, sorry for the slow updates on this. Ukrainian issues have swallowed up most of my time recently, and my OSS projects have suffered as a result.<p>Rest assured that this project IS an ongoing concern, and is the foundation of many more technologies I intend to bring to bear over the coming years.
评论 #31491079 未加载
munroalmost 3 years ago
Looks really cool--I love the overview, we&#x27;ve definitely grown out of JSON, most of the time I sadly end up using pickle when using Python.<p>Too many question marks in my head to be honest. The more I think about it, I believe code still may be the the best way to describe really complex data.<p>What is interesting to me is the holistic view of all the data types we most commonly use--but then I don&#x27;t really know how this differs from Thrift&#x2F;Avro&#x2F;etc--and then further, why haven&#x27;t we as a community moved to one of those?
davibualmost 3 years ago
Many data set are stored like that (Json separated by RC):<p>{&quot;name&quot;:&quot;name1&quot;, &quot;phone&quot;:&quot;+769989823&quot;}<p>{&quot;name&quot;:&quot;name2&quot;, &quot;phone&quot;:&quot;+769244563&quot;}<p>{&quot;name&quot;:&quot;name3&quot;, &quot;phone&quot;:&quot;+769989295&quot;}<p>...<p>There should be a way to do the same thing with concise.
评论 #31494212 未加载
baqalmost 3 years ago
IMHO schema support should be part of the initial release. <a href="https:&#x2F;&#x2F;json-schema.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;json-schema.org&#x2F;</a> being an afterthought to the original JSON was a mistake.
评论 #31493970 未加载
barnabeealmost 3 years ago
Would be nice to support ISO8601 dates and times rather than (or in addition to) defining a similar custom format IMO
sgammonalmost 3 years ago
we do not need special types for UUIDs. why are we doing this to ourselves
评论 #31495884 未加载
sgammonalmost 3 years ago
thanks i hate it
manholioalmost 3 years ago
This is pretty cool, definitely would have come handy 15 - 20 years ago when people like Cohen and Nakamoto were inventing Bittorrent and Bitcoin, rolling their own binary serialization atrocities and unleashing them on humanity.
评论 #31490244 未加载