• 0 Posts
  • 74 Comments
Joined 1 year ago
cake
Cake day: July 31st, 2023

help-circle








  • Yeah, this is all fair. I’ve just heard that online dating is bad so many times and so often that it’s become expected. I feel like it typically comes from people who either have never used it, or have only dated that way. Both groups have a less informed opinion than someone who went on a few mortifying “traditional” dates, and then started dating online.

    I’m not trying to say I’m an expert but I do think people my age are in a unique position. We saw the world before and after the Internet, and since this change occurred in our youth we had enough awareness to process both versions of the world. If we put some laws into place that protected consumers on a basic level, I sure would drastically prefer the post Internet world. As it stands, some days I don’t feel like the Internet is such a great thing, but most days I do think it’s a better world, on balance.







  • Actually I think a lot of people do upgrade their TVs somewhat often, as stupid as that is. I will be clinging to my dumb TV for dear life as long as possible, but I feel like people are very consumerist these days. TVs have gotten cheap enough that they feel able to.

    It goes without saying that no one should have to buy a new TV because there is a bunch of trashy software on it, but I’m sure it’s already happened enough to incentivise these assholes’ bad behavior




  • I mean you’re coming across like more of an old man than I am and that’s saying a lot more than you know. For the first 2 years people shit talked jQuery I didn’t agree with them. And then I got the opportunity to work without it and it seriously took like 3 days to completely change my mind. And all my pages were I believe about 100KB lighter.

    jQuery is trash. And that doesn’t mean it wasn’t a great tool for its time. It’s truly obsolete now though. If you hate the native JavaScript stuff so much… I dunno maybe go work with Java or something?


  • What’s the difference

    Your code reads like it’s from 1992 mainly, which makes sense I guess, given that you still find jQuery better than modern vanilla js. jQuery was created as a way to account for browser support challenges but is now obsolete. Anyhow, if I read “getElementById” in recent js code I would assume something was weird about that code. It’s old hat and there is rarely a reason to use it.

    What is the right way is context dependent

    Precisely my point. Which is why I think it’s opinionated in a bad way to arbitrarily pick one of them as the defacto. I often had trouble with jQuery’s .hide() method because while it felt natural to use it, it often conflicted with what actually needed to happen for good UX.

    What you’re missing is that the hidden class can contain anything you want. Animations or whatever else. In other words, the idea that there is a “right” or “most common” way to hide an element is flawed at its core.


  • That’s actually a great example of the shortcomings of jQuery. There are multiple ways to hide an element yet they standardized on one that often wouldn’t work.

    Also you’re using an ancient method getElementById… I think visuals should still be controlled with css. So what is the right way to do that in modern js? document.querySelector(‘.some-name’).classList.add(‘hidden’) with that class defined in the css, with whatever makes sense, including maybe a css transition.