Admiral Patrick

I’m surprisingly level-headed for being a walking knot of anxiety.

Ask me anything.

I also develop Tesseract UI for Lemmy/Sublinks

Avatar by @SatyrSack@feddit.org

  • 12 Posts
  • 159 Comments
Joined 2 years ago
cake
Cake day: June 6th, 2023

help-circle











  • In Javascript, Math.random() produces a float value between 0 and 1, so I multiply by 1000 and round it to get a larger integer. The value %2 == 0 is a non-library way of performing isEven() on the random integer (value % 2 is 0 if even, 1 if odd, and the ==0 makes it return a boolean). When used in the if statement, it’s essentially a coin flip.








  • Admiral Patrick@dubvee.orgtoScience Memes@mander.xyzBACK IT UP
    link
    fedilink
    English
    arrow-up
    222
    arrow-down
    2
    ·
    edit-2
    5 months ago

    In all that crazy, there’s, shockingly, two good points:

    1. Psychedelics. There’s at least anecdotal evidence they’re good for treating certain traumas / PTSD. So, yeah, we should be looking into their medicinal applications. But is it the FDA or the DEA that’s cockblocking those?

    2. Stem cells. Abso-fucking-lutely yes. But wasn’t it the “pro life” people holding that up?