• 13 Posts
  • 135 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle
  • In my opinion NAT is a hack that makes lot of things harder than they should be. STUN and TURN are services that are created because there is no easy way to connect two hosts between different NATs. UPnP for port forwarding is another. CG-NAT is even worse. I have heard of so many people having problems with it.

    Breadcast is messy. It is like screaming into a room and waiting for an answer. Multicast lets the computer decide if it wants and needs to listen to a specific group message.

    IPv4 didn’t have cidr from the beginning. They only had classes. IPv6 was designed with complex routing and sub routing in mind.














  • 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.





  • Windows Defender is the default anti virus solution on Windows by now and it is good. But no anti virus is perfect. It is a good idea to have a backup strategy if you plan on having any important data on your PC. In case of encryption malware and hardware problems.

    Phishing is also very problematic practice that the anti virus can’t protect you from and even experts can fall into the traps. So you have to be careful with your account credentials.

    Don’t disable Windows updates or postpone them indefinitely (though windows makes that harder to do anyways). Also be aware that your PC might need firmware updates too to stay secure. It depends on the manufacturer of your hardware how and if these are provided and how you install them.

    Lastly I can recommend using Firefox with uBlock Origin. Using an ad blocker can help you stay safer and Firefox has very good support for them.