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

help-circle


  • There is a whole field, that looks a bit like religion to me, about how to test right.

    I can tell you from experience that testing is a tool that can give confidence. There are a few new tools that can help. Mutation testing is one I know that can find bad tests.

    Integration tests can help find the most egregious errors that make your application crash.

    Not every getter needs a test but using unit tests while developing a feature can even save time because you don’t have to start the app and get to the point where the change happens and test by hand.

    A review can find some errors but human brains are not compilers it is hard to miss errors and the more you add to a review the easier it can get lost. The reviews can mostly help make sure that the code is more in line with the times style and that more than one person knows about the changes.

    You can’t find all mistakes all the time. That’s why it is very important to have a strategy to avert the worse and revert errors. If you develop a web app: backups, rolling deployments, revert procedures. And make sure everyone know how and try it at least once. These procedures can fail. Refine them trough failure.

    That is my experience from working in the field for a while. No tests is bad. Too many tests is a hassle. There will always be errors. Be prepared.





  • There is a common misconception that long term effects will manifest long after the injection. All vaccines with longterm effects manifested their effect shortly after the injection. It makes little sense that you will have adverse reactions months or years later because the compounds are long gone from your system.

    There was also the misconception that the vaccine was rushed and that steps were skipped or shortened during testing. That is not the case. The administrative processes were prioritized and there was a huge amount of test candidates so testing could be done much quicker. The normal process is not longer because they want to gather more long term data but because it just takes longer to gather it.


  • HA might be possible in a active passive configuration if you don’t have any dependencies on external hardware like a zigbee stick. Active active would need support by HA and I don’t think that is implemented.

    I think the most secure thing is to keep regular backups so you can roll back easily.










  • As pretty as that would be it has its problems. For this to work you need an authentication service. If you use that service for everything then your accounts are linked to this auth provider and you get a problem if that service goes down. You create a single point of failure.

    That being said matrix and mastodon support oauth providers. So it is possible to have unified authentication provider for these two. Lemmy doesn’t support this yet.




  • chris@l.roofo.cctoADHD memes@lemmy.dbzer0.comSeparate entity.
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    1
    ·
    2 years ago

    I mean that is sometimes what it feels like. Like there is a second entity that constantly whants something else than I do. When I explained to my wife how this feels I even gave it a voice so she could understand that there is something inside of me that constantly wants something. It is concious logical thought vs strong feelings.

    My favourite explaination is how habbits don’t stick because whenever I have to do an uncomfortable task I have to do it is like there is a toddler having a temper tantrum inside of me when I do it. I can ignore it a couple times but it gets harder every time and when I give in all me strength is gone and I can’t do it for a while.