Web Developer by day, and aspiring Swift developer at night.

  • 2 Posts
  • 125 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle


  • I’m probably going to get a lot of hate for this, and I do recognize there have been problems with it all over the place (my code too), but I like null. I don’t like how it fucks everything up. But from a data standpoint, how else are you going to treat uninitialized data, or data with no value? Some people might initialize an empty string, but to me that’s a valid value in some cases. Same for using -1 or zero for numbers. There are cases where those values are valid. It’s like using 1 for true, and zero for false.

    Whomever came up with the null coalescing operator (??) and optional chaining (?->) are making strides with handling null more elegantly.

    I’m more curious why JavaScript has both null and undefined, and of course NaN. Now THAT is fucked up. Make it make sense.


  • You obviously don’t suffer from a sensitive circadian rhythm. To that I’d say, lucky you. But there are plenty of people who do suffer. And by the time they finally get used to the time change, it’s time to change again. It’s vicious and disruptive; to more than just scheduling. It has a direct (negative) impact on physical and mental health.



  • dohpaz42@lemmy.worldtoScience Memes@mander.xyzWhales
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    4 days ago

    We’re all forgetting one important factor: quality over quantity. First of all, the whale doesn’t just sit in one place to broadcast their 80km calls. We can’t really say that about a marine biologist; who more than likely is out to sea and away from anyone else using Tinder.

    I’d bet those whales are getting more action than that marine biologist, despite having a “shorter” distance on their mating calls.

    Suck on that, you stupid marine biologist and your decade of education and training.


  • dohpaz42@lemmy.worldtoScience Memes@mander.xyzMythbusters
    link
    fedilink
    English
    arrow-up
    15
    ·
    7 days ago

    This is the right attitude more people should have. But all too often, when people are proven wrong, they genuinely believe that it must be the other person/group, because they cannot accept the emotional consequences of being wrong.

    I know that I’ve had a hard time learning this because growing up I was never held to account for my actions on an emotional level. It was the 80s and 90s, and adults at that time would either shrug it off, or go straight to the nuclear punishment of corporal punishment. Never once would they sit down and talk to you about why what you did was wrong and how to do it better next time. I, anecdotally, believe that a lot of genx suffer this same way. They simply haven’t learned that there is a better way.




  • dohpaz42@lemmy.worldtoScience Memes@mander.xyzRevenge
    link
    fedilink
    English
    arrow-up
    5
    ·
    8 days ago

    While my comment uses somewhat of an antiquated (and potentially toxic) expectation of “manly” behavior, I was attempting to paint a humorous picture of what I would look like in that situation. FWIW, I was not making a condemnation of anyone for this type of behavior. If anything, I was poking fun at myself. 😊






  • I’ve been there too. I have three therapists: one that prescribes my antidepressants, one that prescribes my adhd meds, and the one I talk to about all my problems.

    For both my meds (cymbalta for depression, and straterra for adhd) I am being overprescribed the recommended doses because my body/metabolism sucks like that.

    Good luck to you! Once you get it dialed in, it’s nice. Not perfect, but better than raw-dogging it.


  • One thing I’ve found that helps “motivate” me to do an undesired task is to find another, more undesirable, task that needs to be done and convincing myself it needs to be done immediately. Then I avoid the new task, and do the original task instead.

    60% of the time it works 100% of the time.