this post was submitted on 10 Jul 2023
961 points (99.9% liked)

Programmer Humor

32136 readers
1229 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] progenyofthestars@lemmy.world 39 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.

[–] DeflectedBullhorn@lemmy.one 6 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.

[–] nothacking@discuss.tchncs.de 28 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.

[–] Koen967@feddit.nl 25 points 1 year ago (2 children)

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

[–] residentmarchant@lemmy.world 10 points 1 year ago (1 children)

With their naming standards, it would probably be called "U^2SB, Universal Super Fast Serial Bus"

[–] ZIRO@lemmy.world 3 points 1 year ago
[–] rokejulianlockhart@lemmy.ml 4 points 1 year ago

It's USB-C.

[–] xthexder@l.sw0.com 5 points 1 year ago* (last edited 1 year ago) (1 children)
load more comments (1 replies)
[–] Rokin@lemm.ee 28 points 1 year ago

One of my favorites

[–] pizzaiolo@slrpnk.net 27 points 1 year ago (1 children)

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

[–] Vithar@lemmy.ml 7 points 1 year ago (1 children)

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

[–] volodymyr@lemmy.world 5 points 1 year ago (1 children)

Phone and laptop chargers converged from numerous standards to just a few all on their own I think, no?

[–] fristislurper@feddit.nl 4 points 1 year ago* (last edited 1 year ago) (4 children)

Yes, but under treath of lawmakers mandating a single standard. And the EU has now forced a single standard anyway on smartphones, tablets, etc.

Although I agree that there are quite a few examples of a "naturally emerging" single standards without lawmaker intervention, but this is not really one of them...

load more comments (4 replies)
[–] heavyboots@lemmy.ml 25 points 1 year ago* (last edited 1 year ago) (9 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.

[–] President_Pyrus@feddit.dk 83 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.

[–] DonJefe@lemmy.world 60 points 1 year ago (3 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

[–] outdated_belated@lemmy.sdf.org 16 points 1 year ago (1 children)

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

[–] TwanHE@lemmy.world 28 points 1 year ago (1 children)
[–] scurzon@rammy.site 5 points 1 year ago (2 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

[–] camr_on@lemmy.world 35 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

[–] disasterpiece@lemmy.world 19 points 1 year ago* (last edited 1 year ago) (1 children)

they promised to support lightning for 15 years

Citation needed - couldn’t find a single source corroborating that

And honestly who gives a fuck about iPhone vs Android in 2023? It’s just a phone…

[–] nexas_XIII@lemm.ee 5 points 1 year ago (1 children)

In September 2012, Apple announced the Lightning connector with the promise of being a “modern connector for the next decade.”

Link to 9-5 Mac

They specified 10 years (and I believe they said this because of the huge backlash of switching from the 30 pin connector) but I don't know if they were truly saying it was going to last 10 years. Either way I'm glad they're switching and I'll probably turn in my 12 Pro for USB-C even though this phone is fine as is. Just hate carrying extra cables when I go on vacation and such.

Also don't get the iPhone vs Android "war". When I tell people I've gone from Android to Apple to Android and settled on Apple people think I'm crazy.

[–] outdated_belated@lemmy.sdf.org 7 points 1 year ago (1 children)

Lmao that definitely sounds like a completely binding agreement and definitely not equivalent to one that companies routinely walk back

“Don’t be evil” “Netflix: love is sharing your password” etc.

[–] nexas_XIII@lemm.ee 4 points 1 year ago

Exactly, but I do wonder if the huge backlash from before was maybe a thought in the back of their mind. But I would bet it's mostly getting licensing fees from MFi.

[–] disasterpiece@lemmy.world 6 points 1 year ago (5 children)

USB-C has its own issues with standardization though. Good luck telling if a random USB-C cable supports fast charging (or what level of fast charging). Some don’t even support data transfer, others are lightning quick.

Don’t get me wrong, I love USB-C and have a ton of high quality cables around my apartment despite being an iPhone user. But it still suffers from the same issue described in this comic. The one thing it solves is unifying the port, everything else is still chaos.

https://www.androidauthority.com/state-of-usb-c-870996/

[–] Undearius@lemmy.ca 4 points 1 year ago

That comes to the issue of USB as a protocol. That information should be branded on the connector at each end.

I do miss the days too when the connectors were colour-coded.

[–] MischievousTomato@lemdro.id 4 points 1 year ago

Xiaomi and Motorola are still out there making new phones that have usbc and use usb2.0 inside them

load more comments (3 replies)
[–] someguy3@lemmy.ca 35 points 1 year ago (1 children)

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

[–] ken27238@lemmy.ml 9 points 1 year ago (1 children)

And it’s based on USB 2.

load more comments (1 replies)
[–] TwilightKiddy@programming.dev 16 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.

[–] Belazor@lemmy.world 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…

[–] TwilightKiddy@programming.dev 3 points 1 year ago (12 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.

load more comments (12 replies)
[–] MischievousTomato@lemdro.id 16 points 1 year ago

I mean, sure, it works... But USBC would also just work. They already use it on their laptops (with them being huge proponents of thunderbolt and USBC), and iPads.

[–] baascus@lemmy.world 15 points 1 year ago

There’s an argument to be made that by maintaining the Lightning connector, Apple can control and profit from the ecosystem of accessories that support their devices. This includes licensing fees from the Made for iPhone (MFi) program, which manufacturers must join to produce Lightning-compatible accessories. While user experience may be a consideration, Apple’s decision also likely has financial incentives.

[–] christophski@feddit.uk 14 points 1 year ago

If its so great then why don't they make it available for everyone to use? They don't care about standards in the slightest.

[–] Aatube@lemmy.dbzer0.com 7 points 1 year ago

Even Apple is gradually changing to USB C which also works on all directions, plus sometimes my lightning cables only work in a certain direction

[–] Xanvial@lemmy.one 6 points 1 year ago

They don't even have same cables on their laptop

load more comments (1 replies)
[–] Korne127@lemmy.world 19 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.

[–] xthexder@l.sw0.com 4 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.

[–] candyman337@lemmy.world 16 points 1 year ago (4 children)

This is the reason I was super hyped by the synergy of the fediverse, all the support and use of activity pub. And god I hope Facebook doesn't ruin it. This community has grown so rapidly and organically, I just wanna see it continue to thrive.

load more comments (4 replies)
[–] vd1n@lemmy.ml 7 points 1 year ago* (last edited 1 year ago) (1 children)

I finally got a proper USB 3.012542 cable.

[–] crusty@lemmy.dbzer0.com 3 points 1 year ago

It's bad when the actual naming scheme is more ridiculous. See USB 3.2 gen 2x1. Hopefully usb 4 simplifies things, but let's be honest, it probably won't...

[–] rokejulianlockhart@lemmy.ml 5 points 1 year ago

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

[–] Oakholm@lemm.ee 5 points 1 year ago

Ahh this was the one they talked about on the WAN show

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

load more comments
view more: next ›