this post was submitted on 19 Dec 2024
543 points (97.2% liked)

Comic Strips

12945 readers
3049 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 2 years ago
MODERATORS
 
all 27 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 49 minutes ago

That's how you say "code" when you have a code.

[–] [email protected] 4 points 4 hours ago* (last edited 4 hours ago)
[–] [email protected] 8 points 16 hours ago

The pull requests are really coming down!

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

This is dumb and I love it.

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

Is this classified as punny

[–] [email protected] 23 points 22 hours ago (1 children)
[–] [email protected] 11 points 19 hours ago
[–] [email protected] 32 points 1 day ago (2 children)
[–] [email protected] 20 points 1 day ago (3 children)

Looks like there's a cookie banner in there. The "Options" button is probably hard to find because it's only a slightly different shade of the background colour, and you'll have to manually uncheck twenty "legitimate interest" boxes hidden in a submenu. Pretty scary, indeed!

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

I just use private windows for every site that I don't log into. That way my cookies are all deleted at the end of the session.

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

I hate that those all use those damn switches instead of the default checkbox UI.

There’s no clear on or off state with the switches. They’re not accessible at all. They require extra code instead of a few lines of CSS and zero JavaScript.

They’re a scourge.

[–] towerful 3 points 4 hours ago

Funnily enough, GDPR/cookie laws say denying consent needs to be as easy as granting consent.
I've noticed a few websites with "Deny All" buttons next to the "Save Preferences" button. So, some people are paying attention to the law.
I'm pretty sure your country will have a site/service for reporting non-compliant websites.

[–] [email protected] 5 points 23 hours ago

20? I've seen 200+

[–] [email protected] 9 points 20 hours ago (1 children)

This code seems a bit chaotic

[–] [email protected] 10 points 16 hours ago (1 children)

It's 'minified', in case you're not familiar with that. Basically, many webpages come with such obscene amounts of JavaScript, that it genuinely impacts how quickly the webpage downloads. And then replacing such amenities as whitespace or readable variable names with just 1 space or 1 letter, where possible, genuinely improves on that.

[–] [email protected] 6 points 5 hours ago

I know what it is and I hate it.

Gzipped files are about the same size and the code would still be readable by people wanting to learn.

The modern web is an abortion.

[–] [email protected] 25 points 1 day ago

Baby, you'll freeze out there...

[–] [email protected] 7 points 1 day ago (2 children)
[–] [email protected] 18 points 1 day ago

with javascript

[–] [email protected] 12 points 23 hours ago

HTML is code (it's a way of encoding information). It's just not typically seen as a programming language.

[–] [email protected] 3 points 1 day ago (1 children)
[–] [email protected] 5 points 16 hours ago (2 children)

Wat? It's the JS source for some website. Whoever made this literally just clicked "view page source" on a random website. It's OS agnostic.

[–] [email protected] 8 points 14 hours ago (1 children)

Unless the joke was “windows code” as in, he’s pointing to the window and that’s where the code is

[–] [email protected] 3 points 4 hours ago (1 children)
[–] [email protected] 3 points 2 hours ago

Running Windows?