this post was submitted on 10 Aug 2024
12 points (87.5% liked)

Programmer Humor

32253 readers
153 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."

all 39 comments
sorted by: hot top controversial new old
[–] ekky@sopuli.xyz 8 points 2 months ago (5 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?

[–] lengau@midwest.social 5 points 2 months ago (2 children)

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

[–] DahGangalang@infosec.pub 3 points 2 months ago (1 children)

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

Did I really miss the memo on this one?

[–] communism@lemmy.ml 3 points 2 months ago (1 children)

No that's the lingo the professionals use these days

[–] Vilian@lemmy.ca 5 points 2 months ago (1 children)

I can confirm, I'm called sub at work

[–] communism@lemmy.ml 4 points 2 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

[–] ScrotusMaximus@lemm.ee 2 points 3 weeks ago

journalctl --cumdump

[–] chickenf622@sh.itjust.works 2 points 2 months ago

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

[–] NeatNit@discuss.tchncs.de 4 points 2 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.

[–] vext01@lemmy.sdf.org 1 points 2 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.

[–] NeatNit@discuss.tchncs.de 3 points 2 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?

[–] vext01@lemmy.sdf.org 3 points 2 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.

[–] NeatNit@discuss.tchncs.de 1 points 2 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.

[–] vext01@lemmy.sdf.org 1 points 2 months ago

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

[–] jcg@halubilo.social 1 points 2 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.

[–] SnotFlickerman@lemmy.blahaj.zone 3 points 2 months ago (1 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.

[–] moonlight@fedia.io 2 points 2 months ago

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

[–] DacoTaco@lemmy.world 3 points 2 months ago* (last edited 2 months ago)

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

[–] Mango@lemmy.world 1 points 2 months ago (1 children)

Type C sounds like a healthy relationship.

[–] Rai@lemmy.dbzer0.com 1 points 2 months ago

I have a healthy relationship with my Master uwu

[–] hperrin@lemmy.world 6 points 2 months ago* (last edited 2 months ago) (1 children)

USB-A male to USB-A male is not in any USB standard (not entirely true, but compliant cables are very rare and don’t connect voltage), and if you plug it into a device it’s not meant for, the behavior is entirely unspecified. It will probably do nothing. But it might fry your USB controller that is not expecting to receive voltage.

USB-C to USB-C is in the spec, and if you plug in two host devices, they won’t hurt each other. You can actually charge a host device over USB-C, unlike USB-A.

That’s why it isn’t ok. It’s not the same thing, it’s not in the standard, and it can even be dangerous (to the device).

[–] PeriodicallyPedantic@lemmy.ca 1 points 2 months ago

I think the argument that A-A should be in the spec.

But usb-c is just so much better all around.

[–] brianary@startrek.website 2 points 2 months ago (2 children)

USB-A requires three attempts to connect, C only one.

[–] theherk@lemmy.world 2 points 2 months ago

Six since it has A at both ends.

[–] chiliedogg@lemmy.world 0 points 2 months ago (1 children)

I absolutely have some Type C cables that only work one way because there's no enforced standards and the manufacturer will wire them however is cheap, throw on another company's logo, and sell it to Amazom.

[–] NeatNit@discuss.tchncs.de 2 points 2 months ago

Don't buy electronics through amazon. This is precisely why.

[–] RoyaltyInTraining@lemmy.world 1 points 2 months ago

The USB spec requires one master and one slave device, which is usually decided by which type of connector each side has. USB OTG can bypass that restriction, but I've only ever seen it done with micro USB or type C.

[–] magoosh@feddit.nl 1 points 1 month ago

I actually thought this was about rolling up cables: circling on the top and over-under at the bottom

[–] KomfortablesKissen@discuss.tchncs.de 0 points 2 months ago (2 children)

What if I put a C-to-A Adapter on both ends? Is that okay?

[–] sparkle@lemm.ee 1 points 2 months ago

Yea but it's inefficient. USB-A has a significantly lower transfer rate than USB-C so it'll bottleneck

[–] itslilith@lemmy.blahaj.zone 0 points 2 months ago (1 children)

C to A adapters are sick and illegal

I still have some

[–] computergeek125@lemmy.world 0 points 2 months ago (1 children)

Why would that be illegal? Shouldn't there be some way to plug an older flash drive or console cable into a laptop that doesn't have a type A port? (Ahem, Mac)

This is what I mean. This won't help in your case.

[–] shield_gengar@sh.itjust.works 0 points 2 months ago (1 children)

What's a common thing that would require the use of USB A on both ends?

[–] sudoku@programming.dev -1 points 2 months ago

nothing worthwhile, as it's not allowed (for a good reason)