TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The Harmful Consequences of Postel's Maxim

16 pointsby golangnewsover 7 years ago

3 comments

MichaelGGover 7 years ago
Look at HTTP. How many implementations correctly and interoperably handle line folding? Comments in headers? Different line endings? Stick to a small subset and you're fine. Actually use the spec as written and it is hopeless. These crazy semi-freeform text protocols are a curse. They do not make implementation easier. They trick people into thinking they made it easier.
gumbyover 7 years ago
A physical world example is USB Type C: you may have a high-speed Thunderbolt drive and a high-speed Thunderbolt computer, but you may unwittingly use a cable that doesn’t support that (though it may even support some other high-speed protocol) so the whole apparatus will silently fall back to a very slow rate without informing the user. No problem for you and me, but possibly a problem for some unfortunate user.<p>Since none of the cables or ports are visibly labeled with their capabilities you have to know what you’re doing.
评论 #15619303 未加载
voiper1over 7 years ago
I know the FOSS FreeSWITCH VoIP b2bua has a TON of &quot;hacks&quot; to &quot;Be liberal in what you accept&quot; which is a mess of things to support, to clean up after the commercial entities that don&#x27;t follow SIP specs.<p>e.g. SONUS information: <a href="https:&#x2F;&#x2F;freeswitch.org&#x2F;confluence&#x2F;display&#x2F;FREESWITCH&#x2F;RTP+Issues" rel="nofollow">https:&#x2F;&#x2F;freeswitch.org&#x2F;confluence&#x2F;display&#x2F;FREESWITCH&#x2F;RTP+Iss...</a>