Although even as a non-participant, witnessing a party first-hand would be more informative than the filtered version you get from Hollywood.
Although even as a non-participant, witnessing a party first-hand would be more informative than the filtered version you get from Hollywood.
The accidental omitempty and - are a good example of the weirdness even if they might not cause problems in practice.
Operations cost. They are sublinear on payload/size. At least this is what Space X/Musk seem to go for.
There's also many advantages to being able to lift something large/heavy in one go, rather than smaller payloads that need to be unfolded (like JWST) or assembled in space, which can drastically increase the development costs.
Ironically this showed that there was demand for webOS. It was just priced wrongly from the outset
https://slickdeals.net/e/3220862-hp-touchpad-9-7-wifi-tablet...
Edit: It was this article about an orchid collector: https://www.susanorlean.com/articles/orchid_fever.html
Honest question. I’m really not sure if I’m just becoming too cynical.
It's also harder to speak out when you're a US government employee, but now that they've been fired ...
There's also nothing stopping you from serializing unstructured data using an array of key/value structs, with a union for the value to allow for different value types (int/float/string/object/etc), although it probably wouldn't be as efficient as something like CBOR for that purpose. It could make sense if most of the data is well-defined but you want to add additional properties/metadata.
Many languages take unstructured data like JSON and parse them into a strongly-typed class (throwing validation errors if it doesn't map correctly) anyways, so having a predefined schema is not entirely a bad thing. It does make you think a bit harder about backwards-compatibility and versioning. It also probably works better when you own the code for both the sender and receiver, rather than for a format that anyone can use.
Finally, maybe not a practical thing and something that I've never seen used in practice: in theory you could send a copy of the schema definition as a preamble to the data. If you're sending 10000 records and they all have the same fields in the same order, why waste bits/bytes tagging the key name and type for every record, when you could send a header describing the struct layout. Or if it's a large schema, you could request it from the server on demand, using an id/version/hash to check if you already have it.
In practice though, 1) you probably need to map the unknown/foreign schema into your own objects anyways, and 2) most people would just zlib compress the stream to get rid of repeated key names and call it a day. But the optimizer in me says why burn all those CPU cycles decompressing and decoding the same field names over and over. CBOR could have easily added optional support for a dictionary of key strings to the header, for applications where the keys are known ahead of time, for example. (My guess is that they didn't because it would be harder for extremely-resource-constrained microcontrollers to implement).