Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jviotti
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
jviotti
2y ago
Not building an app myself right now, but I worked a lot on the desktop app space, leading development at various companies and been thinking of writing a book on the topic (I'm an O'Reilly author in another space). I tend to blog
32.
▲
by
jviotti
2y ago
Hey there! Thanks a lot for the nice words and really hope you enjoy the book. > Was wondering if JSON BinPack is a good serialization format to sign json documents? Not sure what you mean by signing but let's connect. I would love
33.
▲
by
jviotti
2y ago
Thanks for the very valuable and honest feedback. All really good points, mainly how lacking the website is in terms of documentation at the moment. Making notes and plan to address all of it!
34.
▲
by
jviotti
2y ago
Great stuff! I'm starting to work a lot on the satellite space ( https://www.sourcemeta.com ), building a binary serialization format around JSON called JSON BinPack ( https://jsonbinpack.sourcemeta.com ) that is ex
35.
▲
Running the Intel VTune Profiler on Fedora
(jviotti.com)
1 points
by
jviotti
2y ago
|
0 comments
36.
▲
Show HN: Sourcemeta, high-performance C++ JSON
(sourcemeta.com)
2 points
by
jviotti
2y ago
|
1 comments
37.
▲
by
jviotti
2y ago
Hey olvyo, thanks for your nice comments! We should definitely connect! > By the way, in your dissertation you don't mention RapidJson, nor json.net, nor simdjson. Is there a reason why you didn't compare them? My research was
38.
▲
by
jviotti
2y ago
I'm working on JSON BinPack ( https://jsonbinpack.sourcemeta.com ), a binary serialization format for JSON (think of it as a Protobuf alternative) with a strong focus on space-efficiency for reducing costs when transferring s
39.
▲
Ask HN: How do you make sure your APIs adhere to your OpenAPI definitions?
2 points
by
jviotti
2y ago
|
0 comments
40.
▲
by
jviotti
2y ago
I Googled a bit (I'm not a consumer of these types of YouTube videos) and apparently this guy is pretty rich by now. He identified a path to wealth that clearly works and exploited it well, so he is definitely smart. Well deserved from
41.
▲
by
jviotti
2y ago
JSON Schema is the industry standard schema language for JSON, used by big players like OpenAPI and by an insanely high number of APIs and products out there. The TSC core team stays at ~6 people (I'm one of them)
42.
▲
by
jviotti
2y ago
Compared to other serialisation formats, JSON BinPack analyses your data and derives custom encoding rules that are specific to the data at hand given all the context it had on it. That's why on JSON BinPack, the static analysis part i
43.
▲
by
jviotti
2y ago
Sounds like you are pretty familiar with satellite transmission at the hardware level. If so, I would love to chat to get your brains on it. I don't know much of the hardware constraints myself.
44.
▲
by
jviotti
2y ago
Yeah, it all depends very much, given how huge the "embedded/IoT" spectrum is. Each use case has its own unique constraints, which makes it very hard to give general advice.
45.
▲
by
jviotti
2y ago
It surprised me how popular this message got. I love nerding out about binary serialization and space-efficiency and great to see I'm not the only one :) If you want to get deeper, I published two (publicly available) deep papers study
46.
▲
by
jviotti
2y ago
Great seeing you over here Michael :) For other people reading this thread, Michael and I are collaborating on a paper covering the schema compiler I've been working on for JSON BinPack. Funny coincidence!
47.
▲
by
jviotti
2y ago
Exactly! The real hardcore savings will always be when you pass a schema, as JSON BinPack uses that to derive smarter encoding rules. However, schema-less is very useful too. The idea with supporting both is that clients can start with sche
48.
▲
by
jviotti
2y ago
I never used cborium, but if I'm understanding it correctly, I think it adds types at the language deserialisation stage and not over the wire. Which means that it makes it a lot more ergonomic to use within Rust, but doesn't use
49.
▲
by
jviotti
2y ago
We do! See https://benchmark.sourcemeta.com for a live benchmark and https://arxiv.org/abs/2211.12799 for a more detailed academic benchmark. The TLDR is that is that if you use JSON BinPack on schema-less
50.
▲
by
jviotti
2y ago
Good question! Compared to Protocol Buffers and Apache Avro, that each have their own specialised schema languages created by them, for them, JSON BinPack taps into the popular and industry-standard JSON Schema language. That means that you
51.
▲
by
jviotti
2y ago
CBOR is a schema-less binary format. JSON BinPack supports both schema-less (like CBOR) and schema-driven (with JSON Schema) modes. Even on the schema-less mode, JSON BinPack is more space-efficient than CBOR. See https://benchma
52.
▲
by
jviotti
2y ago
Fair point! "Embedded" and "IoT" are overloaded terms. For example, you find "IoT" devices all the way from extremely low powered micro-controllers to Linux-based ones with plenty of power and they are all cons
53.
▲
by
jviotti
2y ago
That's the hardware. I meant on the software side through the transceiver. If you transfer less bits through the satellite transceiver, I believe you can probably reduce costs.
54.
▲
by
jviotti
2y ago
Very cool! How are the balloons transferring telemetry back to earth for analysis, etc? Asking because my research at the University of Oxford was around hyper space-efficient data transfer from remote locations for a fraction of the price.
55.
▲
by
jviotti
2y ago
> As a TSC member of JSON Schema, the best DX thing you can push through would be the xsi:schemaLocation replacement because right now mapping files to their schema is some damn tomfoolery I'm not an XML Schema expert, and I might b
56.
▲
Ask HN: Are people out there still using XML Schema?
4 points
by
jviotti
2y ago
|
4 comments
57.
▲
by
jviotti
2y ago
From the post: "You see how red Chilean Spanish is? It means it’s quite different. In the beginning of Grad School, I could understand all my Hispanic classmates, but I had a hard time understanding the Chileans!" As a native Span
58.
▲
by
jviotti
2y ago
I was in Bolivia during the event. It was not a real "coup" and it was in general a pretty uneventful military vs government dispute. Locals were a bit upset that the media did so much fuss about something that was not a big deal.
59.
▲
Show HN: A C++ CLI for working with JSON Schema
(github.com)
1 points
by
jviotti
2y ago
|
0 comments
60.
▲
by
jviotti
2y ago
I'm currently building a Protocol Buffers alternative that uses JSON Schema instead: https://jsonbinpack.sourcemeta.com/ . It was proven on research to be as or more space-efficient than any considered alternative ( htt
More ›