this post was submitted on 28 Aug 2024
73 points (100.0% liked)

technology

23313 readers
73 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 4 years ago
MODERATORS
 

Sites like Hexbear source scripts from only one domain (hexbear.net). I like those sites.


Other sites loop in a few JavaScript libraries. They have a few domains asking for permissions. That's okay. A little lazy, but acceptable.


Then you have the corporate websites with, like, sixty JavaScript domains. Holy crap! What are scripts from facebook, pinterest, and amazon doing on this news article about jellyfish? brow And the website is perfectly functional with just a couple domains enabled. fry

you are viewing a single comment's thread
view the rest of the comments
[–] Gorb@hexbear.net 21 points 2 months ago* (last edited 2 months ago) (1 children)

I remember the days when it felt a little spicy just adding the google analytics script on a website that was entirely jquery... Aaaah jquery, peak of internet

[–] smpl@discuss.tchncs.de 14 points 2 months ago* (last edited 2 months ago) (3 children)

Is that still the default answer on stackoverflow?

  • Q: I'm having trouble turning on my computer.
  • A: Use jQuery!
[–] Gorb@hexbear.net 15 points 2 months ago* (last edited 2 months ago) (2 children)

When node was becoming popular I was tempted to port jquery and make some demonic server side jquery library. Maybe one day. Just need to make an XML based OS first

[–] Findom_DeLuise@hexbear.net 8 points 2 months ago

Rewriting the interface to firewalld in JQuery as a joke was not okay

[–] someone@hexbear.net 5 points 2 months ago (2 children)

Node is one of those things that baffles me. Why use a shitty language originated during a two-week cocaine binge by Brendan Eich as the basis of server backends? I can understand the tragic compatibility need to keep using Javascript in browsers, especially after Google inexplicably pulled the plug on Dart as a potential browser language and redesigned it to be just another Typescript clone that's been crippled so that it can transpile to Javascript. But it's not like we're starved for good backend languages.

[–] Gorb@hexbear.net 2 points 2 months ago* (last edited 2 months ago) (1 children)

I think it was out of a desire to reduce staff tbh. Around the time the concept of a full stack dev was becoming popular and the idea is one person does everything rather than splitting the various components into different specialties and since js was mandatory on the browser why not get the frontend devs to write the backend as well. It was a tech bro psyop thats my theory.

[–] someone@hexbear.net 5 points 2 months ago

What sort of incompetent no-long-term-planning 3-second-attention-span halfwit would ever think that using a dynamically-typed scripting language with barely any standard library and which is famous for undefined behaviour would make a good backend language, just to save a few dollars in the short term, was ever a good idea?

Oh, right, just every tech company upper-management drone on the planet.

[–] alexandra_kollontai@hexbear.net 1 points 2 months ago

It's a fun programming language.

[–] BeamBrain@hexbear.net 12 points 2 months ago* (last edited 2 months ago)

Ah, StackOverflow.

"How do I do x with platform y?"

Responses:

  • "Platform z is better. Use that instead." [+57]
  • "Nobody does x anymore. You should be doing w." [+108]
  • "This is for work and company policy dictates I use platform y and my team could not get approval for w." [-1]
  • "Thread closed. Question is a duplicate of another: 'How do I customize colors for the x I'm doing on platform y? (2007)'"
[–] propter_hog@hexbear.net 9 points 2 months ago* (last edited 2 months ago)
  • Q: how to quit vim
  • A: have you tried jQuery?

It got to a point that it was almost like a religion, like we were going to see pairs of programmers walking through neighborhoods, handing out chic tracts on jQuery.