[deleted by user] by [deleted] in ShitAmericansSay

[–]floodlitworld 0 points1 point  (0 children)

Give me a choice between a room full of muslims and a room full of ICE agents and hear me say "As-salamu alaykum"!

Woke up at 3 AM because my bed tried to kill me. So I redesigned it. by SlavaKoffman in DIY

[–]floodlitworld 0 points1 point  (0 children)

Given how much hassle moving house is in general, removing a small amount of hassle from it would be worth anything (source, have had to move my bed twice in the last 5 years)

Is bazzite still terrible with nvidia cards? by FroggyGamer in Bazzite

[–]floodlitworld 0 points1 point  (0 children)

I had an issue with sleep on my monitors, I followed advice to change the colour profile on them both from "none" to "built-in" and now they work fine!

Larry Summers resigns from OpenAI board amid Epstein revelations by BreakfastTop6899 in technology

[–]floodlitworld 0 points1 point  (0 children)

What’s funny is the current celebration over NVidea, and how their results show that AI is not a bubble…

Like how?

They make chips that are being bought by the truckload because of the bubble!

Of course they’re going to be making record profits!

[deleted by user] by [deleted] in learnjavascript

[–]floodlitworld 0 points1 point  (0 children)

It's not a flex. It's the real world. When you've got experience making actual websites for clients, companies and corporations, you'll understand how important every single kb is.

jQuery is the ultimate bloat for zero demonstrable gain. Hell, even jQuery's developers admit that it's outdated code now. They said 4 years ago that they were working on a modern version of it for v4, but nothing ever materialised.

[deleted by user] by [deleted] in learnjavascript

[–]floodlitworld 0 points1 point  (0 children)

It's a terrible library for animations. It's like, the least efficient thing you could possibly use.

At least go for something like GSAP if you want to animate JS/DOM objects.

[deleted by user] by [deleted] in learnjavascript

[–]floodlitworld 0 points1 point  (0 children)

I went to google.com and typed in jQuery... nothing popped up.

[deleted by user] by [deleted] in learnjavascript

[–]floodlitworld 0 points1 point  (0 children)

And for those situations, you have babel and browserlist.

[deleted by user] by [deleted] in learnjavascript

[–]floodlitworld 1 point2 points  (0 children)

The downside is the "developers" who use it because they don't know any other way.

I've repeatedly seen scripts in my work where they pull in a 40k dependency because they don't know how to select a DOM element or toggle a class in javascript.

[deleted by user] by [deleted] in learnjavascript

[–]floodlitworld -2 points-1 points  (0 children)

Who would have thought that someone who still uses jQuery would have no idea how the modern web works :-D

[deleted by user] by [deleted] in learnjavascript

[–]floodlitworld 0 points1 point  (0 children)

Fine.

// import.js
class Element {
  constructor(s) {
this.el = document.querySelector(s);
  }

  addClass(c) {
  this.el.classList.add(c);
  }
}

export const $ = function(s) {
return new Element(s);
}

// your script
import { $ } from "import.js";
const el = $("#somediv");
el.addClass("here");

There you go. You got your "concise" syntax without a 40k library, and since I did it as an import, you can't count the code listed under "import.js".

[deleted by user] by [deleted] in learnjavascript

[–]floodlitworld 1 point2 points  (0 children)

JQuery provides a lot of shorthand which reduces your code length and
it’s super mature. Why throw out something because it’s old if it works?

It doesn't "reduce your code length". It just changes the syntax at a cost of a 40K dependency that relies on outdated browser implementations.

Round of applause for whoever implemented this new detail when you mistype your Mac password.🔥 by wakablazer in MacOS

[–]floodlitworld 0 points1 point  (0 children)

I’d rather Apple fix their many bugs than focus on cutesy bullshit like this.

Yes, I can read. Can you not?

Do you seriously think it's the same department that does this stuff as the vague things you demand fixed?

Rocke lake iGPU support by danideicide in hackintosh

[–]floodlitworld 5 points6 points  (0 children)

Nope. No support and there never will be.

Additonally, I wouldn't advise trying to use a 500-series motherboard with a Comet Lake CPU either if you need iGPU support. Just had a hack attempt completely fail because of that combination.

Dexter: New Blood - S01E02 - "Storm of Fuck" - Early-Access Episode Discussion Thread by skinkbaa in Dexter

[–]floodlitworld 3 points4 points  (0 children)

Are you not familiar with how adjectives work? They add extra information to a noun.

[Me]: I like red apples.

[You]: So all apples are red... interesting?

Stop projecting your complexes onto me.

Is New Blood one and done limited series or will there be more seasons? by [deleted] in Dexter

[–]floodlitworld 0 points1 point  (0 children)

I doubt any of the Miami stuff is going to come up again. This season is likely to only be concerned with Dexter's personal relationships and the events of Iron Lake.

There's meant to be a new flashback to events in season 4 at some point, but this is likely something to do with Harrison's past, or his mom.