Hacker GitHub

← All repos

kstenerud/concise-encoding

View on GitHub ↗ ★ 280 ANTLR

The secure data format for a modern world

66 mentions on Hacker News by 5 people: 5 stories, 61 comments · first 2018-06-08 · latest 2024-08-13

Mentions per year 66 mentions · busiest year 2020 (17)
20082026
  1. …tps://marketplace.visualstudio.com/items?itemName=ksteneru... The binary format I wanted to describe: https://github.com/kstenerud/concise-encoding/blob/master/cb...
  2. …https://github.com/kstenerud/dogma/blob/master/v1/examples/m... - Concise Binary Encoding: https://github.com/kstenerud/concise-encoding/blob/master/cb... - Concise Text Encoding: https://github.com/kstenerud/concise-encoding/blob/master/ct…
  3. Concise Encoding https://github.com/kstenerud/concise-encoding/ It's a specification for a family of data exchange formats with most complete feature list but little to no recognition
  4. …a fair bit about timekeeping, because the context of what you're capturing becomes very important: https://github.com/kstenerud/concise-encoding/blob/master/ce...
    comment by kstenerud · 2023-11-20 · in datetime.utcnow() is now deprecated
  5. ▲ 1
    Show HN: Concise Encoding – Last Prerelease
    story by kstenerud · 2023-09-27 · 0 comments
  6. This is basically why I ended up rolling my own text date format for Concise Encoding: - https://github.com/kstenerud/concise-encoding/blob/master/ct... - https://github.com/kstenerud/concise-encoding/blob/master/ce... e.g. 2019-8-5 //…
    comment by kstenerud · 2023-09-01 · in RFC 3339 vs. ISO 8601
  7. …your daytime job to that end. [1] https://dogma-lang.org/ [2] https://concise-encoding.org/ [3] https://github.com/kstenerud/concise-encoding/blob/master/cb... and https://github.com/kstenerud/concise-encoding/blob/master/ct...
  8. …https://preserves.dev/preserves-binary.html Now the CBE formal description looks like this: https://github.com/kstenerud/concise-encoding/blob/master/cb... And the regular documentation looks like this:…
  9. …thinking "how hard could it be?" But it worked out and I have a formal description for it now: * https://github.com/kstenerud/concise-encoding/blob/master/cb... * https://github.com/kstenerud/concise-encoding/blob/master/ct... So it's…
  10. ▲ 6
    Ask HN: Please help me by reviewing KBNF
    story by kstenerud · 2022-12-29 · 2 comments
  11. ▲ 2
    Concise Encoding Design Document
    story by heyzk · 2022-11-07 · 0 comments
  12. …taking the time to critique! I actually do have an ANTLR file that is about 90% of the way there ( https://github.com/kstenerud/concise-encoding/tree/master/an... ), so I could use those as a basis... One thing I'm not sure about is how to…
  13. …in the next few years as the more sophisticated actors start taking advantage of them. For example https://github.com/kstenerud/concise-encoding/blob/master/ce... There are still a few things to do: - Update enctool (…
    comment by kstenerud · 2022-07-11 · in Working in the software industry, circa 1989
  14. …I was never big on writing, but when I finally tried my hand at a data format specification ( https://github.com/kstenerud/concise-encoding ), I found that I really enjoyed the experience. It's 3000 lines and took me four years and…
    comment by kstenerud · 2022-07-11 · in Working in the software industry, circa 1989
  15. …is a grab bag!), but I'm not sure if removing BIDI could be done without breaking some languages? https://github.com/kstenerud/concise-encoding/blob/master/ce...
    comment by kstenerud · 2022-06-19 · in Breaking our Latin-1 assumptions (2017)
  16. …than it looks), but in the end it became so much like herding cats that I had to just settle on https://github.com/kstenerud/concise-encoding/blob/master/ct... Basically allow everything except some separators, most control chars, and some…
    comment by kstenerud · 2022-06-19 · in Breaking our Latin-1 assumptions (2017)
  17. …a separate field in addition to the time field. I even added a write-up about time to the spec: https://github.com/kstenerud/concise-encoding/blob/master/ce...
  18. …types ;-) https://concise-encoding.org/ In particular: * How to deal with unrepresentable values: https://github.com/kstenerud/concise-encoding/blob/master/ce... * Mandatory limits and security considerations:…
  19. …don't have true time zones. It only uses UTC offsets, which are a bad idea for so many reasons. https://github.com/kstenerud/concise-encoding/blob/master/ce... > - Bin + txt: Again, I'm unclear on what you mean here, but ASN.1 has both…
    comment by kstenerud · 2022-01-04 · in Ask HN: Who wants to collaborate?
  20. …concern... There are actually a LOT of them, which I try to cover cover in the security section ( https://github.com/kstenerud/concise-encoding/blob/master/ce... ). The security space is of course wider and more nuanced than this, but I…
    comment by kstenerud · 2022-01-02 · in Ask HN: Who wants to collaborate?
  21. …before embarking on my venture. I listed the things I found important in the comparison matrix: https://github.com/kstenerud/concise-encoding#-compared-to-o... To your points: - Protobufs is not an ad-hoc format, which is a big reason why…
    comment by kstenerud · 2022-01-02 · in Ask HN: Who wants to collaborate?
  22. …I used to develop iOS apps. [1] https://developers.google.com/protocol-buffers/docs/referenc... [2] https://github.com/kstenerud/concise-encoding/blob/master/cb... [3] https://developers.google.com/protocol-buffers/docs/proto3#s... [4]…
    comment by no_circuit · 2022-01-02 · in Ask HN: Who wants to collaborate?
  23. Yes, it's included in the comparison matrix: https://github.com/kstenerud/concise-encoding#-compared-to-o...
    comment by kstenerud · 2022-01-01 · in Ask HN: Who wants to collaborate?
  24. …- Ideas for a schema. - Public outreach, championing online. [1] https://concise-encoding.org/ [2] https://github.com/kstenerud/concise-encoding [3] https://github.com/kstenerud/go-concise-encoding
    comment by kstenerud · 2022-01-01 · in Ask HN: Who wants to collaborate?
  25. …as "legacy formats" [2]. [1] https://en.wikipedia.org/wiki/Decimal64_floating-point_forma... [2] https://github.com/kstenerud/concise-encoding/blob/master/ce...
    comment by kstenerud · 2021-12-17 · in Floating point numbers, and why they suck
  26. …format. [1] https://github.com/kstenerud/go-concise-encoding [2] https://concise-encoding.org/ [3] https://github.com/kstenerud/concise-encoding
  27. …there aren't differences between implementations that can be exploited to compromise your system. https://github.com/kstenerud/concise-encoding/blob/master/ce... - Real type support because coercing everything into strings sucks (and is…
  28. This is where security and limits comes in: https://github.com/kstenerud/concise-encoding/blob/master/ce...
    comment by kstenerud · 2021-10-24 · in RFC 3339 vs. ISO 8601
  29. This is the biggest reason why I had to develop a new time format for Concise Encoding :/ https://github.com/kstenerud/concise-encoding/blob/master/ce... https://github.com/kstenerud/concise-encoding/blob/master/ct... ISO 8601 and RFC 3339…
    comment by kstenerud · 2021-10-24 · in RFC 3339 vs. ISO 8601
  30. …through the beginning byte signature. I've actually put this into Concise Encoding [1] [1] https://github.com/kstenerud/concise-encoding/blob/master/cb...
    comment by kstenerud · 2021-06-25 · in The Base45 Data Encoding
  31. …through the beginning byte signature. I've actually put this into Concise Encoding [1] [1] https://github.com/kstenerud/concise-encoding/blob/master/cb...
    comment by kstenerud · 2021-06-25 · in The Base45 Data Encoding
  32. …in software engineering. [1] https://github.com/kstenerud/compact-time/blob/master/compac... [2] https://github.com/kstenerud/concise-encoding/blob/master/ct... and https://github.com/kstenerud/concise-encoding/blob/master/ce...
  33. …this has influenced my encoding design in [2] [3] [4]. [1] https://en.wikipedia.org/wiki/LEB128 [2] https://github.com/kstenerud/concise-encoding/blob/master/cb... [3] https://github.com/kstenerud/compact-float/blob/master/compa... [4]…
    comment by kstenerud · 2021-05-08 · in The Byte Order Fiasco
  34. …make the spec easier to read. I use a superset of those keywords to give more precision in meaning: https://github.com/kstenerud/concise-encoding/blob/master/ce...
    comment by kstenerud · 2021-04-03 · in The Norway Problem
  35. …technologies! This is why I've been so anal about consistent decoder behavior in Concise Encoding https://github.com/kstenerud/concise-encoding/blob/master/ce... https://concise-encoding.org/
    comment by kstenerud · 2021-04-03 · in The Norway Problem
  36. …left in the first plane in case something big comes up in the future. You can see the chart here: https://github.com/kstenerud/concise-encoding/blob/master/cb...
  37. …data bloat the spec and implementations. This is why I rejected iso-8601 and developed my own for https://github.com/kstenerud/concise-encoding/blob/master/ct... Examples: 2019-8-5 : August 5, 2019 -300-12-21 : December 21, 300 BC…
    comment by kstenerud · 2021-02-26 · in ISO 8601: a better date format
  38. ▲ 2
    Ask HN: Advice on building technical spec landing page?
    story by kstenerud · 2020-07-19 · 0 comments
  39. …That's simply a limitation of the format. It's part of the reason I developed Concise Encoding: https://github.com/kstenerud/concise-encoding/#example which allows hex float notation when you need to be exact.
  40. …implementation (in go) is 90% complete, enough to marshal objects except for recursive support. https://github.com/kstenerud/concise-encoding/blob/master/RE...
    comment by kstenerud · 2020-06-21 · in FlexBuffers
  41. …implementation for a parallel binary/text ad-hoc data format in a similar vein to json & xml ( https://github.com/kstenerud/concise-encoding ). This is a precursor technology to an asynchronous, multiplexing request-response protocol I'm…
    comment by kstenerud · 2020-06-01 · in Ask HN: Who wants to be hired? (June 2020)
  42. I'd go fulltime on Concise Encoding ( https://github.com/kstenerud/concise-encoding/#concise-encod... ), a twin binary and text format for ad-hoc data. Progress on the reference implementation is MUCH slower with a day job.
  43. …guesswork, no more bugs. [1] https://github.com/kstenerud/compact-time/blob/master/compac... [2] https://github.com/kstenerud/concise-encoding/blob/master/ct...
  44. …needed on a modern system. - Supports recursive data. - Future proof - Fully specified [2] [3] [1] https://github.com/kstenerud/concise-encoding/#concise-encod... [2] https://github.com/kstenerud/concise-encoding/blob/master/cb... [3]…
    comment by kstenerud · 2020-05-14 · in Ask HN: What's your quarantine side project?
  45. …I count 11 "shoulds" in [1] and 7 in [2], and I tried REALLY hard to keep them to a minimum :/ [1] https://github.com/kstenerud/concise-encoding/blob/master/ct... [2] https://github.com/kstenerud/concise-encoding/blob/master/cb...
  46. …up while I'm writing the reference implementation. Getting a spec right is a marathon affair. [1] https://github.com/kstenerud/concise-encoding/blob/master/ct...
    comment by kstenerud · 2020-04-04 · in Things Markdown got wrong
  47. There's a basic comparison here: https://github.com/kstenerud/concise-encoding#comparison-to-...
  48. …in go [2], which is now running faster than the JSON codec in my experimental branch [3]. [1] https://github.com/kstenerud/concise-encoding#concise-encodi... [2] https://github.com/kstenerud/go-cbe [3]…
  49. …and only convert to text when a human is involved. I've put together a quick comparison here: https://github.com/kstenerud/concise-encoding#comparison-to-... Currently, I'm finishing off the go implementation [4], which so far I've managed…
    comment by kstenerud · 2020-03-10 · in MessagePack: like JSON, but fast and small
  50. …a short list here [1]. I also kept a design document which explains the choices I made [2]. [1] https://github.com/kstenerud/concise-encoding#comparison-to-... [2] https://github.com/kstenerud/concise-encoding/blob/master/de...