this post was submitted on 10 Jul 2023
873 points (97.1% liked)

Programmer Humor

32555 readers
831 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
[–] TwilightKiddy@programming.dev 1 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@lemmy.world 1 points 1 year ago (1 children)

Aha I see, thank you for explaining :)

[–] TwilightKiddy@programming.dev 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.