8 ms·
The negative impact of Postel's suggestion ("be conservative in what you send, be liberal in what you accept", AKA the "Robustness principle") is worse on end u
by gumby 4y ago
The negative impact of Postel's suggestion ("be conservative in what you send, be liberal in what you accept", AKA the "Robustness principle") is worse on end users than developers in cases like USB.
USB is silently super backwards compatible. This is really good in a pinch: I need to get the data off this drive and even if it takes six hours because I only have a USB 2 cable I'm better off than if I couldn't do it at all.
The problem is the opposite case for users: They have a fast USB-4 drive (potentially 40 Gbps) and a USB 4 laptop but pick up a USB-2 only cable. Hard for most people to diagnise, especially as such a cable won't have an e-marker so the laptop can't even query it. Or a slow charging cable for their device, so they fancy laptop doesn't visibly charge, or only charges overnight.
Even for me these cases are hard to diagnose. And harder to understand than, say, using an inferior cable with your monitor so you et no signal at all.
- brookst 4y ago+1 I recently threw out all of my USB-C cables that are longer than a foot but can’t charge at 100w, because I decided USB-C is a primarily a charging protocol, and I’ll use wireless, short cables, or Ethernet for data transfer and HDMI for display. The matrix of charging + data speeds in USB-C is a nightmare and always resulted in having the wrong cable for the desired devices and usage.
- fastball 4y agoYou could also just buy higher quality cables, right? The problem is usually that most consumers see two USB-C cables and one is $10 and the other is $50 so they buy the $10 one, only later realizing (if at all) that the $10 only does data, or only does 50W, or w/e. But if you actually pay attention it seems like cables work as advertised with reasonable consistency, at least for me.
- guffins 4y agoThey may work as advertised, but the problem is that the cables themselves have no indication of what was advertised in the first place. The ability to know what the cable you’re holding can do is just not there. Unless you have some way of ensuring that all your cables are the same, you need to: - discard/donate every cable that you can’t identify (as @brookst did) by its eMarker (though they’re required by spec) unless you own a specialized USB-C voltmeter or multimeter - manually label every cable with all its unique specifications, either after running it through an eMarker reader or immediately after taking it out of the box
- microtonal 4y agoIt's an expensive solution, but most Thunderbolt 4 cables have markings and they support pretty much everything (Thunderbolt, USB, Alt modes, high-wattage charging, etc.).
- dmitriid 4y agoBecause Intel has a certification program for Thunderbolt that makes many things mandatory that are optional (for no good reason) in the USB-C spec: https://news.ycombinator.com/item?id=28744448 https://news.ycombinator.com/item?id=28744448
- gumby 4y ago> optional (for no good reason) The reason is that the USB-IF is owned/ run by the manufacturers and many of them want to be able to make cheaper gear (TBF mandatory high tolerances was part of the “problem” with the original Thunderbolt too, lo those many years ago). This is also why USB-A is not symmetrical as was originally designed: to save money in the connector.
- mmebane 4y ago> the problem is that the cables themselves have no indication of what was advertised in the first place Fortunately, this is changing, though it's shameful it took this long to get standardized, straightforward labeling: https://tidbits.com/2022/09/29/usb-simplifies-branding/ https://tidbits.com/2022/09/29/usb-simplifies-branding/
- im3w1l 4y agoJust plug it in. If you can't judge the the speed by "feel", then run measure how long it takes to charge / transfer a file.
- u02sgb 4y agoNot sure why you're being downvoted. Lots of phones show how fast they are charging (charging slowly, fast etc)
- canadianfella 4y ago[dead]
- caminante 4y ago/Off topic I was going to ask how to test these things as I need to do some housekeeping too. I just found out about (and bought) a digital USB volt/amp meters. Here's an example. [0] [0] https://www.amazon.com/Eversame-Multimeter-Voltmeter-Indicator-DC3-6-30V/dp/B07JYVPLLJ/ref=sr_1_50?crid=2OYRSNGDGF0BH&keywords=eversame+2+in+1&qid=1672194631&sprefix=eversame+2+in+1%2Caps%2C104&sr=8-50 https://www.amazon.com/Eversame-Multimeter-Voltmeter-Indicat... edit: I just read this write-up [1], which clearly explained why the 65W USB C charging hub I bought doesn't necessarily enable "super fast charging" on my Samsung phone. Chargers and cables need to meet PD3.0 standard with PPS support to dynamically negotiate the volts and amps to maximize power throughput safely. Otherwise, you get auto-downgraded due to sticky default voltages. [1] https://www.gsmarena.com/dont_just_buy_any_45w_pd_charger_for_the_samsung_galaxy_note10-news-38837.php https://www.gsmarena.com/dont_just_buy_any_45w_pd_charger_fo...
- Fogest 4y agoCurious if this device you linked would also work to test things like the power bricks themselves and not just the cables? Would love to get rid of some low performing cables as well as the older power bricks. Edit: Based on the description it does sound possible.
- aix1 4y agoI use a FNIRSI-FNB58 tester for this. It can read and display e-markers. https://www.aliexpress.com/item/1005004665244812.html https://www.aliexpress.com/item/1005004665244812.html
- rekoil 4y agoI've been thinking I should have something like this. Is this "the best there is" in this price category, or is there an even better product that someone here wants to recommend?
- aix1 4y ago> Is this "the best there is" in this price category That was my conclusion when I looked into this about a month ago, especially if USB-C is the main focus. I remember a reviewer pointing out some deficiencies on the USB-A front (compared to other, simpler, meters) but unfortunately I don't remember what they were.
- eternityforest 4y agoMost people who want 40Gbps can diagnose the issues, the rest will assume "Oh, it takes 6 hours, better plan for it, that's how it is". But it will work every. single. time. at those very slow 2.0 speeds. What they should do is give a popup saying "You have a slow cable, it could be faster, go rummage till this message goes away and mark the good one with a sharpie", and that wouldn't need any changes to the spec They've chosen reliability over quality. Cheap reliability is a great thing. We did fine before fast hard drives, we can often live without them. But we'll want to scream if we can't get it working at all.
- solardev 4y ago> go rummage till this message goes away and mark the good one with a sharpie I dunno if I even have the right kind, or how to even shop for the right kind, because there are like 500 wrong kinds that are all wrong for a different reason =/ Basically I just look for Thunderbolt 3/4 support and if it doesn't have that, I give up, because who the heck has time to understand 4000 kinds of incompatible USB?
- eternityforest 4y agoMaybe they could have a link in the popup? I wonder if you could start an online cables boutique that just sold tested and reviewed cables and cable management with a 50% markup for people who just don't want to deal with it.
- 2muchcoffeeman 4y agoThen you have to wonder about how to make sure the link doesn't 404. And your store idea invalidates having cheaper devices and cables and a ubiquitous protocol. The only good thing about USBC is that if you moderately keep up to date with all your devices, eventually, recharging becomes relatively easy for all your devices. I don't think I've ever had a problem charging a USBC device. Generally everything charges everything. The high power devices like laptops are probably the exception since you need a brick that can deliver 65-80W[1]. 1. One reason why Apple Silicon is so appealing. The M2 Air is plenty fast and basically consumes the power of an iPad. You don't need a 30W supply to charge it.
- nullish_signal 4y agoI tried using a power-only USB cable for data once, then tossed it back in the bin. Later, tried it again, back in the bin. I think on the 5th try, months later, I finally threw it away. Also, Dial-Up/Ethernet pairs seem to be too complex? Each house I bring my Ethernet/wire Tester+Detector to, somewhere I find a rat's nest of copper cable. Just today I found an Ethernet cable that connects 4/8 to nearby the router, and the other 2 Pairs of wire terminate in a Dial Up cable in another room!?
- scarface74 4y agoI threw all of my random USB C cables and Lightning cables away and standardized on these: https://www.amazon.com/dp/B093YVRHMB https://www.amazon.com/dp/B093YVRHMB? - USB A and USB C on one end - USB C, micro USB and Lightning on the other end - 100W PD - 20GB data - video over USB C for my portable second display (https://www.amazon.com/dp/B095GG31KX https://www.amazon.com/dp/B095GG31KX) I never have to worry about the “right” cord. I did keep my MagSafe cord for my Mac.
- scarface74 4y agoUntil I need a USB C cable that can carry power and video for my portable external display and almost no random cable that you pick up supports it at all. So I have to be extra sure that I have the right cable before I leave for a trip.
- slaymaker1907 4y agoI'm sure the Quest 2 link cable is theoretically capable of that. However, given that the standard is such a mess, there's a decent probability that the display, computer, or cable won't trust another component and thus fall back to something much slower. It's also kind of hilarious that the Quest 2 needs a separate USB-C cable from the included USB-C charger to actually talk with a computer.
- triska 4y agoRegarding the negative impact of Postel's suggestion, see also The Harmful Consequences of Postel's Maxim: https://datatracker.ietf.org/doc/html/draft-thomson-postel-was-wrong-00 https://datatracker.ietf.org/doc/html/draft-thomson-postel-w... In Section 4, they define an alternative design principle based on the lessons of protocol deployment: Protocol designs and implementations should be maximally strict.
- ilyt 4y agoThere is also something to be said for too many optional features making a mess out of ecosystem
- throw7 4y ago> Protocol designs and implementations should be maximally strict. Wasn't this the goal of xhtml?
- mannykannot 4y agoIt is much harder to become more strict after adoption, even if it would bring considerable benefits.
- modeless 4y agoHTML5 is strict too. But it is strict in a pragmatic way, which makes it much nicer to write and read. Instead of forcing authors to write verbose code to an exacting spec without errors, they allowed authors to take shortcuts and make errors. But crucially, then they rigorously specified how those shortcuts and errors must be handled in all cases. It doesn't matter if all your angle brackets are in the right place or all your attributes are quoted. What matters is that all implementations do the same thing given the same input. You can be strict and achieve interoperability without punitive error handling.
- Karellen 4y ago> But crucially, then they rigorously specified how those shortcuts and errors must be handled in all cases. If the behaviour of such code is rigorously specified, is it even correct to label them "shortcuts" or "errors"?
- zigzag312 4y agoAdd USB hubs to the mix and a true party begins.
- deleted 4y ago[deleted]
- actually_a_dog 4y agoI have a hard time considering any problem that can be solved by adding a label to the product "hard." If every cable was required to have the name of the highest-numbered spec it implements, e.g. "USB-4" or "USB-2.1", both of these problems would either become non-problems or, at least reduced to "go buy the correct cable."
- bluGill 4y agoOnly if someone enforces that labeled cables are correct. While that is done in theory, I have a USBA to USBA cabel for some DVD drive, why wasn't the manufacture sued to recall all those devices (they don't claim it is USB they just use the USB connectors for their own protocol)
- actually_a_dog 4y agoMake it part of the standard. If you license the standard, and you say you're implementing it, that requires you to actually implement it. Done.
- danhor 4y agoYou don't have to license USB, you just need a VID. The USB-IF is planning to enforce some of the labels with trademark law, but (for example) for the Nintendo Switch Nintendo often didn't mention that the connector was USB-C, so that wouldn't work.
- actually_a_dog 4y agoSo? Make USB X+1 require a license to use the name. It ain't rocket surgery.
- akira2501 4y agoI feel that this all could be stated as "the price of high compatibility is inconsistent performance." Which, if I had to rank the two, I'd choose the compatibility easily. Users who actually have a need for 40Gbps transfers will either put the effort into getting the correct cabling, or they will quickly learn that lesson. The fact that they have a working option in a pinch is far more valuable then assuring they can't possibly make sub-optimal cabling choices. The article has to go to great lengths to even try to make this point. I mean, sure, if you hack up an unlabeled USB cable into a PSU and then plug it into devices it wasn't intended to be used with you might fry the ports. Is this really a problem a "user" is likely to face?
- shaky-carrousel 4y agoThe OS should detect such issues and advice the user on ways to fix it.
- silon42 4y agoI've had an interesting SSD (SATA) drive failure last year that only my USB2 drive dock could read (fully, no isues)... couldn't access it using anything newer I had.