• 0 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: August 2nd, 2023

help-circle

  • I found that the initial euphoria helped me get out and do things I normally wouldn’t (like catch up with friends and family I’d lost track of over the years), and the satisfaction from that helped keep me naturally happy after the false euphoria faded. Your mileage may vary, but actually getting things done for once helped a ton with my related disorders like anxiety and depression and things weren’t nearly as bad even when I started feeling normal again. And remember, the medication’s ability to let your brain feel motivation doesn’t fade, only the euphoric feeling.

    The danger I see is that I think I need to up the dose to match the euphoria from the start, while I actually need to get to the point where it’s 0 % euphoria, 100 % noradrenalin.

    That’s one of the main things my doctor warned me about when I started taking Vyvanse. He said that even though it might feel like your medication isn’t working as well, to not to chase that rush because it won’t actually help your symptoms and you’ll quickly become tolerant of the higher dose as well. All you’ll accomplish is paying more for a higher risk of side effects.

    Not to mention if you appear to be a drug seeker they might decide to switch to a different, non-controlled medication that doesn’t work nearly as well as what you’re currently on.





  • Null safety is orders of magnitude simpler than memory safety. Kotlin is a null safe language by default. Java is infamously not. Anyone who has worked on a mixed-language Kotlin project can tell you how quickly null safety becomes a pain once guarantees break down - and that’s in a language where these issues are flagged instantly and you can “fix” the problem in a couple of characters! Mixed memory safe/unsafe codebases would be a nightmare in comparison.

    Also, C++'s ecosystem consists of deeply entrenched libraries with ancient codebases. Safe C++ might be useful in a decade or two if library maintainers could be pushed to make the switch (good luck with that, if it’s half as much of a paradigm shift as Rust), but by then there will probably be multiple competing language features that claim to solve the same problem. It’s the C++ Way™.




  • We could also have “karma” on Lemmy, but while technically tracked the environment is better off without it being public in my opinion. I view voting records similarly.

    It’s strange that they removed total account karma visibility a while back but are now thinking about making votes public.

    I think a good compromise (since Lemmy already tracks that data) would have been to show the upvote/downvote ratio a user receives on their profile page, without showing their total karma. That’d help you spot toxic users without incentivising karma whoring.

    Similarly, a display of how often a user upvotes versus downvotes others would help spot bots and trolls without completely obliterating privacy like their suggestion would.

    (But ultimately none of this solves the problem of privacy on the Fediverse being one federated bad actor away from nonexistence)







  • Quetzalcutlass@lemmy.worldtoProgramming@programming.devJavaScript Bloat in 2024
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    7 months ago

    How big is 10 MB anyway?

    To be honest, after typing all these numbers, 10 MB doesn’t even feel that big or special. Seems like shipping 10 MB of code is normal now.

    If we assume that the average code line is about 65 characters, that would mean we are shipping ~150,000 lines of code. With every website! Sometimes just to show static content!

    And that code is minified already. So it’s more like 300K+ LoC just for one website.

    An important takeaway, as I feel byte size can be hard for people to intuitively visualize. And for those who didn’t read the article, many of the sites tested sent significantly more than 10 megs of JS, even sites containing nothing more than simple input boxes that should be doing any processing server-side.

    I want to see the difference with ad-block enabled. Analytics and tracking are certainly complex enough to account for a lot of that payload. Same with an addon like Decentraleyes to see how much is bloated frameworks that could easily be cached locally.