Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dweis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
dweis
1y ago
I believe that the reason for this limitation is that not all languages can represent open enums cleanly to gracefully handle unknown enums upon schema skew.
2.
▲
by
dweis
6y ago
These are simply tradeoffs. For example, one can make very fast protobuf parsers/serializers if you prioritize that over the ergonomics of the generated code.
3.
▲
by
dweis
7y ago
Yes, they are both varint encoded on the wire. Refer to https://developers.google.com/protocol-buffers/docs/encoding...
4.
▲
by
dweis
7y ago
Minor nit, but not necessarily. For basically all values of SomeMessage, dec should fail to parse due to improperly encoded UTF8 data for field 2 (modulo some proto2 vs. proto3 and language binding implementation differences). Change field
5.
▲
by
dweis
7y ago
I don't think this is the case, or at least, I'd expect it to be a bug. Protocol Buffers should generally be non-destructive of the underlying data. That means even if it encounters the wrong wire type for a field, it should simpl
6.
▲
by
dweis
8y ago
How do you handle binary rollbacks and rollouts safely with an "everything is required" approach? Do you force binaries to roll out in a strict order with appropriate soak time at each layer? How does that affect developer velocit
7.
▲
by
dweis
8y ago
Hi there, I'm an actual author of Protocol Buffers :) I think Sandy's analysis would benefit from considering why Protocol Buffers behave the way they do rather than outright attacking the design because it doesn't appear to
8.
▲
by
dweis
9y ago
Thanks for pointing these out! This sort of archaeology is always interesting. I tend to have to do it for Protocol Buffers too to understand various design decisions.
9.
▲
by
dweis
9y ago
Disclaimer: I have written and designed many parts of the Protocol Buffer libraries. https://tools.ietf.org/html/rfc1832.html#section-6 has a good encoding example of XDR. Contrasting that with Protocol Buffers is enli
10.
▲
by
dweis
12y ago
We use LevelDB.
11.
▲
by
dweis
12y ago
Yes.
12.
▲
by
dweis
14y ago
CMU's 15-440 Distributed Systems course did this over a year ago. See http://www.cs.cmu.edu/~dga/15-440/F12/ The professor, David Andersen, catalogued his experience on Google Plus: https://plus.google.com/115237092509505721130/posts/DK
13.
▲
J2ObjC: A Java to iOS Objective-C translator
(google-opensource.blogspot.com)
25 points
by
dweis
14y ago
|
2 comments
14.
▲
by
dweis
14y ago
This already existed for NYC: http://moredrunk.com