this post was submitted on 10 Aug 2024
384 points (85.6% liked)

Programmer Humor

32710 readers
788 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.cringecollective.io/post/75583

why isn't it ok? why????

Meme "the number of people who think this is an abomination" over a photo of a USB-A to USB-A cable, "but think this is perfectly acceptable" over a photo of a USB-C to USB-C cable, "makes me sick."

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 141 points 4 months ago (9 children)

Huh, I'm not sure they are comparable.

Didn't USB A and USB B use a master-slave relationship in which the male would (generally) always be the slave, whereas USB C uses agreement and discussion to decide the master and slave roles regardless of connector gender.

Please do correct me if I'm wrong. Also, do we say "agent" now instead of "slave", or what is the new term?

[–] [email protected] 139 points 4 months ago (2 children)

I believe the common terms now are "domme" and "sub"

[–] [email protected] 33 points 4 months ago (1 children)

I can't tell if this is real life or sarcasm....

Did I really miss the memo on this one?

[–] [email protected] 28 points 4 months ago (1 children)

No that's the lingo the professionals use these days

[–] [email protected] 10 points 4 months ago (1 children)

I can confirm, I'm called sub at work

[–] [email protected] 11 points 4 months ago (1 children)

Ah yeah, I've heard that offices are rolling out a new role of office cumdump. Glad to hear from someone already in the role

[–] [email protected] 2 points 3 months ago

journalctl --cumdump

[–] [email protected] 13 points 4 months ago

I'm going to refer to myself as USB-B from now on

[–] [email protected] 96 points 4 months ago (2 children)

I think the biggest problem I see with A to A is: who's delivering power, and who's receiving it? Maybe if you use it only with the device it came with then it'll be fine, but if anyone tries to just hook up that cable to two random computers, it might actually cause a short circuit and fry something.

Whereas Type-C was explicitly made to handle such situations.

Or a shorter reason: Type-C cable is allowed by the spec while Type-A is not.

[–] [email protected] 5 points 4 months ago (1 children)

Hrm. I have a keyboard that requires an A to A cable and I think it works with the cable any way around...

Might be wrong.

[–] [email protected] 13 points 4 months ago (1 children)

It makes sense, if I remember correctly the older USB cable (i.e. everything before Type-C) are passive, so as long as the pins are wired symmetrically it wouldn't matter which side is which. But whoever made your keyboard really blundered, there is no reason in the world why anyone would do this. There's so many options: the B connector, mini USB, micro USB. All would make sense to put in the keyboard. A just doesn't.

Let me guess: you got it from an ultra cheap online store? AliExpress/Wish/Temu?

[–] [email protected] 7 points 4 months ago (1 children)

You guessed wrong.

https://www.maltron.com/store/p10/Maltron_L90_dual_hand_fully_ergonomic_%283D%29_keyboard_-_UK_English.html

It's a ridiculously expensive and "home made" looking, but it saved my hands from OCD.

[–] [email protected] 5 points 4 months ago (1 children)

Ooh, I did guess wrong! That is an interesting specimen.

My suspicion is that they are experts in ergonomics, not in electrical engineering, so they probably aren't aware of how silly and possibly dangerous what they did is. Or perhaps they simply don't care because "it gets the job done", standards and specifications be damned.

Anyway, in this case I'm happy to be proven wrong. Thanks.

[–] [email protected] 3 points 4 months ago

I known they outsourced the firmware development, so who knows, maybe the electronics hardware too.

[–] [email protected] 2 points 4 months ago

I've actually used this to my advantage. I bought some cheap speaker/light combos which basically made the lights dance to the music. The only power connector was a wire that comes straight out of the device and into an outlet. But it did have a USB port for loading music from a USB stick. So naturally I plugged one side of a USB A into the port and the other side into a power bank and it just straight up worked.

[–] [email protected] 27 points 4 months ago (2 children)

master/slave could be primary/secondary, primary/subordinate or principle/agent, so you're correct on that replacement.

I personally am a big fan of "Mantrap" becoming an "Access Control Vestibule" mostly because it's fun to say.

[–] [email protected] 24 points 4 months ago

I like controller/peripheral, which is the most descriptive in my opinion. That's what's commonly used for SPI.

[–] rishado 1 points 4 months ago

I've been using parent/child, I guess that's not always correct?

[–] DacoTaco 21 points 4 months ago* (last edited 4 months ago)

In the usb world its "host" and "device", not "master" and "slave".
But yes you are right

[–] [email protected] 13 points 4 months ago

Both ends of a USB cable are generally male (unless you're talking about an extender). Generally the type B end (in mini, micro, or full configuration) would be the client though I have seen a couple of clients use Mini or Micro A.

[–] [email protected] 9 points 4 months ago

Yeah we’ve been going by primary-secondary where I am for the just 6 to 7 years now but I don’t think a universally agreed replacement for the terms exists yet.

[–] BleatingZombie 6 points 4 months ago

Mechanics are still trying to figure that out with the "master cylinder" and "slave cylinder"

[–] Mango 4 points 4 months ago (1 children)

Type C sounds like a healthy relationship.

[–] [email protected] 5 points 4 months ago

I have a healthy relationship with my Master uwu

[–] [email protected] 1 points 4 months ago

I think reusing server/client naming for USB connectivity instead of master/slave would fit it