• 1 Post
  • 105 Comments
Joined 3 years ago
cake
Cake day: June 14th, 2023

help-circle






  • I hate these articles because they imply that anti-depressants aren’t useful (“just excercise more!”). In my personal experience, having had about 20 years of depression and suicidal ideation since I was a child, nothing worked until I finally was on venlafaxine. That drug seriously saved and transformed my life, and I hate that there are people that will read this article for whom it might be the only treatment that will work for them, but they’ll try excercise, not get better, and blame themselves because they always could have exercised more.

    Depression is a symptom of likely different hidden diseases, and some treatments will only work for some of them. That’s why it’s not uncommon for patients to need to try multiple medications before finding one that treats their underlying disease (for example, the first drug I tried, wellbutrin, actually exaccerbated my depression).

    Likely excercise can be a successful treatment for some people, but it won’t work for everyone, and a headline that says it’s as effective as medication fails to communicate that that’s averaged across a population. Just like how a typical anti-depressant is only somewhat effective (amazing for some, nothing for others), I imagine exercise is the same.






  • I never understood why people use Tailscale

    I use it for the NAT busting and direct connections. This means that my devices can talk directly to each other, even when there’s NAT and dynamic IPs sitting between the devices with no port forwarding. This is not possible with Wireguard alone; usually you end up with a hub and spoke network model.

    As for them man-in-the-middling, the client is open source (for Android and Linux at least) and traffic is end-to-end encrypted. If you don’t want to trust them with distributing the keys (completely valid concern) then it’s possible to configure things such that you must sign the keys of clients yourself for your devices to trust them (see Tailnet Lock).

    In my case, because I like self-hosting, I self-host an open-source coordination server called Headscale. So in at least my circumstance I really am only using my infrastructure and open-source code.






  • At some point you have to let them fail. Remind them of it again, so that when they cause a major issue in prod you can point out that you communicated it to them multiple times. If this team keeps causing outages (and aren’t covered for by other teams) then, hopefully, management high enough will become aware of it and start to crackdown on them. I know you said elsewhere you don’t want them to lose their jobs but if they can’t do it, they shouldn’t have it. It’s not like you’re sabotaging them - you’re still helping them with advice and warnings. If despite that help they still can’t get by, then them getting terminated is the remaining best outcome.




  • festus@lemmy.catoProgramming@programming.dev•new Date("wtf")
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 year ago

    Yes and no. Wasm has no “standard library” so if you wanted to use Dates, your wasm would need to have its own implemation bundled for when the user visits the page. Ditto for everything else including string support! As you can imagine having to ship all this basic functionality can bloat the wasm and slow page loads.

    You also can’t fully escape JS, as the only way wasm can interact with the page & browser are through the JS functions you write and make available to your wasm. I suppose you could take advantage of this to not have to ship your own standard library & use the JS Date implementation, but at that point why not just use JS?

    Wasm has strengths but it’s not suitable for replacing JS for everyday websites.