2 ms·
A standard flexible enough where you can do literally anything is usually a bad standard. The point of standards is to write up some small-ish base that everyon
by bawolff 4y ago
A standard flexible enough where you can do literally anything is usually a bad standard. The point of standards is to write up some small-ish base that everyone can agree on so that people can talk to each other. A standard containing everything where each implementation implements a different incompatible subset, is a failure.
- RcouF1uZ4gsC 4y agoAlso, too much flexibility ends up being a security nightmare. This building so much flexibility into protocols seems like a 90s holdover. We are realizing that the more moving parts you have, the more edge cases you have, and the more attack surface area.
- hinkley 4y agoI guess we'll find out if they have learned anything since the XML Signature specification. That was an adventure, trying to find a subset that actually did what it said it did.
- bawolff 4y agoXMLSignature is one of the worst security standards i have ever read. Do we sign the bytes of the document? No, we canonicalize it first? How do we canonicalize? Multiple ways. Do all documents with the same canonicalization have the same DOM? No. Which part of the document do we sign? Up to you. Its a wonder there aren't more major saml breaches.
- hinkley 4y agoThe biggest problem is that getElementByID doesn’t fucking work. And then if you sign sibling documents, you essentially have most of the same problems you have with ensuring a zip file doesn’t have a malicious payload, because file cannonicalization is fraught with issues. It took me a couple pages of don’ts to nail it down, and I missed a big one that I didn’t see until pretty late in the project.
- rambojazz 4y agoSounds like you're describing ActivityPub
- vxNsr 4y ago3 sentences on why usb type-c/usb3/usb4/thunderbolt are a failure.
- pmontra 4y agoAnd despite all the mess they are selling well.
- nosianu 4y agoYou don't buy USB, you buy a device that has USB. If you do buy USB (e.g. for extension or multiple ports) it's also because of your devices, not because you care about USB specifically.
- kllrnohj 4y agoThose at least have engineering & financial constraints driving them. Like you can't mandate everything USB-C can provide 100W of power delivery, it's a combination of just not possible and just not economical (eg, your phone would never be a USB PD source as a result, which is a handy feature to have today for charging headphones & the like) Also, those specs all have a degree of interoperability, which is a pretty significant difference. Like many thunderbolt 3 docks can actually also just run when connected to usb-c w/ dp-alt mode, although they lose out on the thunderbolt extras of course. Something that seems to be missing here.