this post was submitted on 25 Jan 2025
1494 points (99.1% liked)

Programmer Humor

20885 readers
1638 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 313 points 1 month ago (17 children)

If your website only works with Chrome, it’s not a website. It’s a Chrome site.

You didn’t design for the web. You designed for Chrome.

[–] [email protected] 143 points 1 month ago (11 children)

Fuck chrome. Such a dogshit unoptimized spyware browser that now disables ad-blocking plugins

[–] [email protected] 39 points 1 month ago (4 children)

I agree that Chrome fucking sucks, but it's disingenuous to call it unoptimized. Chrome and chromium-based browsers are as fast as or faster than Firefox. Although I agree that manifest V3 is horrible to the web as a whole and shouldn't have been created.

load more comments (4 replies)
[–] [email protected] 7 points 1 month ago

Their plugins were fucked from the beginning. You never had control of your extensions.

load more comments (9 replies)
[–] [email protected] 31 points 1 month ago (1 children)

Chrome is awful in nearly every way one can measure a browser. Anyone still using this as they're main driver in 2025 is technologically challenged.

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

It’s wild to see Chrome going from the browser to use if you had any tech sense whatsoever to being universally derided.

load more comments (2 replies)
[–] [email protected] 22 points 1 month ago (3 children)
[–] [email protected] 7 points 1 month ago

An Antiquarian I see. Carry on my good fellow!

load more comments (2 replies)
load more comments (14 replies)
[–] [email protected] 84 points 1 month ago (1 children)

I like this template so much better than the Spider-Man one that people constantly use backwards.

[–] [email protected] 22 points 1 month ago (1 children)

But this one's also backwards? I haven't seen the movie, talking purely about the two photos.

[–] KingOfTheCouch 101 points 1 month ago (1 children)

In the movie the glasses let the wearer see the truth. This template is often used backwards but it's correct in this case.

[–] [email protected] 16 points 1 month ago (3 children)
[–] [email protected] 45 points 1 month ago* (last edited 1 month ago) (1 children)

"They Live!" A guy finds some strange sunglasses that lets him see the subliminal messages hidden in all our print and media and advertisements. He can also see aliens walking amongst the population, disguised as regular humans!

Turns out, Earth had been invaded by aliens long ago and they've been keeping us under their control with subliminal messages for decades.

[–] [email protected] 13 points 1 month ago

And the aliens definitely aren't allegory for capitalists

[–] [email protected] 13 points 1 month ago (1 children)
[–] [email protected] 17 points 1 month ago (1 children)

The Full movie is worth a watch.

"I have come here to chew bubble gum and kick ass, and I'm all out of bubble gum"

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

Perhaps the best line ever uttered in any movie. Rowdy Roddy Piper maybe a B movie actor at best, but he was meant to play that role in that movie.

I have often wondered: Who wore a kilt best. Bruce Campbell or Rowdy Roddy Piper. Campbell was a Sharp Dressed Man in his kilt for sure. But Piper wrestled in one for years-- it was his trade mark garb.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 77 points 1 month ago (2 children)

My website only works with Chrome, but it has to be a specific old version of it. And you also need to install some extensions. Very specific versions of these extensions. Few of them already removed from the store due to security backdoors.

I have a Docker image you can use to run Chrome though.

[–] [email protected] 36 points 1 month ago (1 children)

What version of Docker do I need to run your container?

[–] [email protected] 46 points 1 month ago (1 children)

You'll need my fork of docker, and you'll need to apply a patch.

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

Can I run your patched version of docker on docker?

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

No. You need to run it in a VM that runs TempleOS.

[–] [email protected] 19 points 1 month ago (1 children)

Which version of TempleOS?

[–] [email protected] 30 points 1 month ago (1 children)

My code is portable enough to support all versions.

load more comments (1 replies)
[–] [email protected] 15 points 1 month ago

Yes, with --privileged. It's totally safe. Trust me.

[–] [email protected] 14 points 1 month ago

At that point, just release your website as an electron app.

[–] [email protected] 37 points 1 month ago (1 children)

When developing photon I always end up with more issues on chrome browsers than firefox. and half of those are because of its god awful scrollbar. Please use an overlay scrollbar instead of shifting the stupid page around, chrome.

[–] [email protected] 11 points 1 month ago

ugh yeah classic chrome am I right? (I forgot how to center a div)

[–] [email protected] 28 points 1 month ago

Or... The client wanted a WordPress site and that's just the result of it.

¯\_(ツ)_/¯

[–] [email protected] 21 points 1 month ago (1 children)

This has been a problem for a very very long time

[–] [email protected] 12 points 1 month ago (1 children)

I agree with you that failing to support multiple browsers is an old problem, but I think the cause has shifted.

Back in the last century, supporting both browsers amounted to sniffing the browser and implementing the same feature twice. document.layers vs document.all for example.

Nowadays I think the problem is different: we just don't know what's going on. The site is transpiled from TypeScript, written on top of React or Vue which drastically switches paradigm (bonus for Tailwind), packed with building tools, and the average dev has little understanding of what actually comes out. It's a tall stack of leaky abstractions on top of the already tall one of the web. The dev is pretty sure it works on Chrome so they say it does work there, but it was not even a deliberate choice.

load more comments (1 replies)
[–] [email protected] 21 points 1 month ago (1 children)

I wish I could like this thrice

load more comments (1 replies)
[–] [email protected] 15 points 1 month ago

Greatest format ever. I present you with the Demi-God of memes award for best use of THEY LIVE if you originated the template. If you did not originate you get the cool assed dude award for sharing. Many thanks.

[–] [email protected] 15 points 1 month ago (5 children)

I’m going to have to go down the rabbit hole of making my own website soon. Just curious but would there be an easy way to show a pop up just to people using chrome?

No reason in particular… 😏

[–] [email protected] 18 points 1 month ago (1 children)

lol i did something like what i assume your goal is on my neocities when i detect !!window.chrome === true

[–] [email protected] 7 points 1 month ago (2 children)
[–] [email protected] 12 points 1 month ago (1 children)

It's a handy way to convert any value to a Boolean. If window.chrome is defined and done non-empty value, double negation turns it into just true.

[–] [email protected] 6 points 1 month ago (3 children)

I've been wondering why not window.chrome == true or Boolean(window.chrome), but it turns out that the former doesn't work and that == has essentially no use unless you remember some completely arbitrary rules, and that JS developers would complain that the latter is too long given the fact that I've seen javascript code using !0 for true and !1 for false, instead of just true and false because they can save 2 to 3 characters that way.

[–] [email protected] 6 points 1 month ago

== has essentially no use unless you remember some completely arbitrary rules

If you make sure the types match, like by explicitly converting things on the same line on that example, then you can use it just like if it was ===.

In fact, there are people that defend that if your code behaves differently when you switch those two operators, your code is wrong. (Personally, I defend that JS it a pile of dogshit, and you should avoid going to dig there.)

load more comments (2 replies)
load more comments (1 replies)
[–] [email protected] 15 points 1 month ago

Not sure if serious, but there's a million ways to do this, some that require importing thousands of lines of code and none of which are guaranteed to work in all possible circumstances. But here's a simple one.

load more comments (3 replies)
[–] [email protected] 13 points 1 month ago (1 children)

In most cases yes.

However I did find this really weird bug where Firefox was caching something to do with sockets (that would disallow connecting a new socket) that could only be cleared by restarting Firefox itself.

[–] [email protected] 9 points 1 month ago

Is that http2? Cause http2 allows for reuse of a connection for additional requests.

This caught me out with envoy reverse proxy doing a few subdomains using a wildcard cert.
The browser would reuse the connection cause the cert authority and IP was the same, but envoy couldn't figure out how to route the request correctly. Absolute head scratcher!

[–] [email protected] 8 points 1 month ago

How did we get from "SGML varient for formatting text" to this?

load more comments
view more: next ›