this post was submitted on 19 Dec 2024
625 points (97.0% liked)

Comic Strips

12973 readers
3381 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 31 comments
sorted by: hot top controversial new old
[–] forrcaho@lemmy.world 9 points 6 days ago (1 children)

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

[–] MajorHavoc@programming.dev 3 points 5 days ago

Right. Becubs my node id cyogged.

[–] aeronmelon@lemmy.world 10 points 6 days ago

The pull requests are really coming down!

[–] gregor@gregtech.eu 9 points 6 days ago (1 children)

This code seems a bit chaotic

[–] Ephera@lemmy.ml 12 points 6 days 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.

[–] Blackmist@feddit.uk 7 points 6 days 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.

[–] Johanno@feddit.org 5 points 6 days ago* (last edited 6 days ago)
[–] egrets@lemmy.world 68 points 1 week ago (2 children)

This is dumb and I love it.

[–] strawberrysocial@lemmy.world 6 points 6 days ago (1 children)

Is this classified as punny

[–] stupidcasey@lemmy.world 2 points 5 days ago (1 children)

This is classified as a felony in every state except Texas, but if you happen to live in Texas it is classified as punny.

[–] MajorMajormajormajor@lemmy.ca 25 points 1 week ago (1 children)
[–] Caboose12000@lemmy.world 13 points 6 days ago
[–] marcos@lemmy.world 35 points 1 week ago (2 children)
[–] LordAmplifier@pawb.social 21 points 1 week 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!

[–] WhiskyTangoFoxtrot@lemmy.world 2 points 6 days ago (1 children)

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.

[–] LordAmplifier@pawb.social 1 points 5 days ago* (last edited 5 days ago)

I do that, too! It's a convenient way to keep the cookies you want (like the ones that keep you logged in) and discard the cookies from random shops and news websites that you don't want to keep. And my Youtube frontpage is empty, which saves me a ton of time I would otherwise waste on random videos their algorithm shows me.

[–] wise_pancake@lemmy.ca 7 points 1 week 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@programming.dev 3 points 6 days 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.

[–] Fiery@lemmy.dbzer0.com 5 points 1 week ago

20? I've seen 200+

[–] TheImpressiveX@lemm.ee 26 points 1 week ago

Baby, you'll freeze out there...

[–] criss_cross@lemmy.world 8 points 1 week ago (2 children)
[–] rain_worl@lemmy.world 19 points 1 week ago

with javascript

[–] Ephera@lemmy.ml 13 points 1 week ago

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

[–] synapse1278@lemmy.world 4 points 1 week ago (1 children)
[–] TimeSquirrel@kbin.melroy.org 5 points 6 days 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.

[–] kautau@lemmy.world 10 points 6 days ago (1 children)

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

[–] TimeSquirrel@kbin.melroy.org 5 points 6 days ago (1 children)

Running Windows?