this post was submitted on 10 Jul 2023
935 points (97.4% liked)

Programmer Humor

32371 readers
523 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Belazor 4 points 1 year ago (1 children)

Speaking as an Apple user - I am heavily invested in their ecosystem - I am extremely happy that Lightning is on death’s door. I fully agree with the EU and I am very grateful to them for forcing Apple’s hand.

That being said, your point about USB-A falls apart when you consider any situation where your vision is even partially obstructed. Such as; back of the computer, back of your monitors, a dock unless you’re holding it, etc etc.

What I’m hoping will happen:

  1. Apple sells only USB-C to USB-C cables
  2. Apple users start requesting more USB-C ports on motherboards / desktop computers
  3. Mouse/Keyboard manufacturers produce USB-C alternatives of their products
  4. Motherboards move even more to USB-C
  5. GOTO 3 until USB-A becomes as legacy as VGA or PS/2
  6. We hopefully never see another single orientation external cable ever again.

A lad can dream…

[–] [email protected] 3 points 1 year ago (2 children)

You don't need to check female port orientation, it's always the same, pins inside the port are looking at the board the connector is soldered to. Of course, unless manufacturer decided to do something funny, but no standard is protected from that.

[–] Belazor 2 points 1 year ago (1 children)

Except for USB-C, which doesn’t care about orientation.

[–] [email protected] 1 points 1 year ago (1 children)
[–] Belazor 3 points 1 year ago (1 children)

I’m not sure I understand your point. You can make a USB stick that fries your hardware too, that doesn’t mean Kingston is going to make all of their pen drives fry your hardware.

Is this some kind of “acshully I’m technically correct because it’s theoretically possible” thing?

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

The point is that manufacturers can screw up standards and being a symmetrical connector does not cure idiocy in the heads if some people. Yes, the standard explicitly says you have to short opposing data lines for 2.0, but that does not mean everybody will comply with it. (The author of the video is not an idiot, they just demonstrated that it's possible)

The most common example of this I can think of right away is male-male connectors with type A USB. They are explicitly prohibited, yet many manufacturers create them and use in their products.

That's why I said that no standard can protect you, you're just relying on people not being dumb and actually reading the paper you published.

[–] Belazor 1 points 1 year ago (1 children)

Right, I see your point, thank you for clarifying :)

That being said, unlike the male-to-male example, where I personally don’t understand why the spec prohibits it, I think it’s pretty obvious why consumers want USB-C. The Internet is awash with memes about inserting USB three times, etc.

I think there’s a vast difference between “why is male-male banned? Heck it, I’ll create one as it serves our use case” and “I’m going to negate the only consumer-facing advantage USB-C has for no real reason”. Yes I know C has many other benefits but the common denominator doesn’t care about any of that.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

If you have two devices with female USB A ports that both provide power via said ports, connecting them with male-male cable ~~will create a short circut. Best case scenario: a current protecting fuse breaks the circuit. Worst case: both processors on both motherboards are dead.~~ Better not think you can connect two computers with that evil thing. That's why type B connector exists, it's about the same size, but it never connects to a port that provides power.

[–] Belazor 1 points 1 year ago (1 children)

Aha I see, thank you for explaining :)

[–] [email protected] 1 points 1 year ago

A slight word of correction, looked at the pinning again, it won't short circuit them, but one will try to charge the other. It will still be a fire hazard, just not as violent.

[–] [email protected] -2 points 1 year ago* (last edited 1 year ago) (1 children)

Yeah, but I'm fucking stupid and can never remember that shit. Bet ya didn't think of that huh???

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] -2 points 1 year ago (1 children)

Except they could, by making USB-C standard. Now even though I'm dumb as fuck I never have to remember plug orientation!

[–] [email protected] 1 points 1 year ago

Don't worry, I'm quite sure your kind will find something to trip over eventually. No thing can be fully dumb-proof.