1,410 karma · joined April 22, 2014
It's possible there's a project out there which could automatically produce proto files from something like zod, json-schema, etc. which could be directly interpreted by TS to provide similar (as you type) DX while still allowing some other language backend to consume the derived proto files (though the DX there would be less than ideal).
If you're just looking for similar TS clients/interfaces for grpc-web then I'd recommend https://github.com/timostamm/protobuf-ts which operates on plain JS objects (no new MyMessage().serialize(), instead the code generator mostly produces TS interfaces for you to work against: const myMessage: MyMessage = pojoConformingToInterface; const binary = MyMessage.toBinary(myMessage);)
> Unlike the “Standard Shoelace Knot”, don't pull it tight just yet!
Wait, what? The implication is that their other cameras regularly cause explosions?
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Which means it would prefer to get a response from the server in (basically) the order shown, but it will accept any response type (*/*). So ideally the server would be using that information and making the decision to serve the RSS feed as application/xml instead of application/rss+xml. AFAIK if the "subtype" (rss+xml in this case) has a + in it, then it basically means it conforms to the format after the + (e.g. application/xml) and thus is just providing a bit more context, but is still valid as the more generic version.Though I do think the browser should also keep that same thing in mind and attempt to render any application/whatever+xml in its XML renderer.
Edit: another thing you could try to add this response header:
Content-Disposition: inlineJavaScript actually defines "Number.EPSILON" as being "the difference between 1 and the smallest floating point number greater than 1." https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
When it's this much easier to comply with the letter of the law than the intent, is it any wonder why things like this happen?
Near | Adverb
1. Close by
2. Almost
So both interpretations are correct. This reminds me of a comic strip (I think) where they're training someone working at a nuclear reactor and the instructor says, "Just remember: you can never have too much water in a nuclear reactor." The phrase can be interpreted to mean two very different things.I like the sound of that! Joking aside, while physical harm may not fly I can imagine a scenario where it hits the CEOs' wallets either by losing stock options/grants or actual salary based on the number of employees they had to layoff. Because seriously, what does it even mean for the CEO to take responsibility when there are no actual consequences for them? If they're doing it to save the business (which they are) then just say that instead of saying they take responsibility as the latter is just virtue signaling.
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript][typescript]": {
"editor.defaultFormatter": "something.else"
}
If they're going to allow conflicts anyways, just invert the structure so you at least get to use normal arrays: "editor.defaultFormatter": {
"esbenp.prettier-vscode": ["typescript", "javascript"]
}
Though, I guess the logic is that the other format allows you to override ANY setting based on language.Forks are awful at scooping! They're about as effective at scooping as a butter knife. Everything just falls off the sides. I admit the pincers also stink at scooping, but I just hate forks.