this post was submitted on 10 Jul 2023
57 points (98.3% liked)

Programmer Humor

32427 readers
714 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 29 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (1 children)

Source: https://xkcd.com/927/.

Not posting with alternative text is like missing half of the xkcd.

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

Wow, somehow this escaped me all these years. I feel like I’ve got a bunch of fresh XKCD to read now.

For the uneducated: On a mobile browser you just press and hold the comic (long tap). On a computer you hover over the image and the alt text will appear next to the cursor.

The alt text in this one was:

spoilerFortunately, the charging one has been solved now that we've all standardized on mini-USB. Or is it micro-USB? Shit.

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

Fortunately, the charging one has been solved now that we've all standardized on mini-USB. Or is it micro-USB? Shit.

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

Wasn't the standard USB-C? Maybe we should just create the Universal USB, the U-USB.

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

It's USB-C.

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

i saw it on the cumcord website (yes its a real serious project)

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

Yeah, in such a situation you should always try to compare the standards, look at the userbases and suddenly there are only very few that actually make sense. If everyone just does this, one standard will eventually crystalise as the one to use (or at least depending on the situation). Character encoding is an interesting example, because nowadays (almost) everything just uses UTF-8, despite there having been many.

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

UTF-8 is absolutely magical in how it's backwards compatible with ASCII. Windows still uses UTF-16 which makes supporting Unicode filenames and stuff a huge pain compared to linux. At least pretty much the entire web is UTF-8.

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

Yeah, thats the positive thing.

I don't want a single application that just works for a few cases but doesn't work for tons of other cases. With such a world we would have a Windows OS where you need to use Face-ID for everything you want to use and sometimes just crashes and restricts the usage of something simple stupid because you don't have the magical Windows Battlepass or smth.

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

This of course ignores all the other times a new common standard succeeded

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

Doesn't that almost always require a significant government intervention/regulation.

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

I finally got a proper USB 3.012542 cable.

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

You should have just linked to the page. It would have embedded the image, right?

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

I feel like this is almost where Apple is ahead of the game. Despite the EU hating it, they've been using the same lightning cable design for a long old time because it works well enough, it doesn't suffer USB-A's put it in 3 times to figure out which direction is right, and people have a billion of them laying around at this point.

EDIT: Too many people to respond to individually but I do realize from a technical perspective it’s an inferior cable. Just saying the user experience was better for a long time before USB-C arrived and the fact they never changed it makes it easy to find a cable to use if you forgot yours etc. Yes it’s slow but I am not transferring stuff off and my iPhone regularly, no I’ve never had one die from the pins burning out (although I do know people that’s happened to).

As for USB-C, I agree it’s better on paper and was excited when I got a laptop with USB-C but my personal experience trying to buy a PD cable that would actually deliver the rated 100w it was supposed to was abysmal. Went through multiple cables from Amazon that didn’t work for some reason, including Anker, and finally gave up and bought a cable from Apple that did work. But the fact some of them don’t do what they say they will and the fact you can end up with multiple black cables that all do different things but are completely unmarked as to what they do has made me very irritated with USB-C at this point, even while I do enjoy the higher speeds and power they can deliver once you figure out which cable is which.

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

Well, I have no apple cables laying around, but plenty USB C. USB C has been used for many years as well.

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

USB C is the way to go. It works with most devices from most manufacturers. The only people left out are Apple users and cheap devices still using USB mini/micro

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

Well, y’all are in luck because they’re switching to USB C for iPhone 15

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

No it’s because they promised to support lightning for 15 years, that’s the level of trust partners can put into apple which can’t be done for any other oem, especially shitty lagdroids

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

especially shitty lagdroids

Thanks for transporting me back to 2013 for a second. I didn't realize anyone was still doing the iPhone vs Android flamewar nonsense lmao

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

Except it's a proprietary piece of junk stuck on USB 3.1 (and I love my thunderbolt connectors too much to let it slide), that can't offer proper power delivery because of power pin literally burning out.

The only thing they did good is fixing the need to check cable orientation before inserting it (yes, you don't have to try three times, you can just actually use your eyes, USB-A connector's orientations can easily be told apart just by two square thingies on each of it's sides).

But as USB-C came out two years later, it wiped the floor with lightning. Anyone saying otherwise is either insane, didn't read the specs or purposefully misleading you. And only now Apple is switching over. Freaking 7 years later. Though, not because they realize how inferior their connector is, but because they were made to.

[–] [email protected] 0 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] 0 points 1 year ago (1 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.

[–] [email protected] -4 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] 0 points 1 year ago (1 children)
[–] [email protected] -4 points 1 year ago

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] -2 points 1 year ago

It's also a closed system that no one else is allowed to use. Apple is far from everyone.