• 0 Posts
  • 45 Comments
Joined 3 years ago
cake
Cake day: June 26th, 2021

help-circle






  • There’s pros and cons. On one hand, packing your dependencies into your executable leads to never having to worry about broken dependencies, but also leads you into other problems. What happens when a dependency has a security update? Now you need an updated executable for every executable that has that bundled dependency. What if the developer has stopped maintaining it and the code is closed source? Well, you are out of luck. You either have the vulnerability or you stop using the program. Additionally bundling dependencies can drastically increase executable size. This is partially why C programs are so small, because they can rely on glibc when not all languages have such a core ubiquitous library.

    As an aside, if you do prefer the bundled dependency approach, it is actually available on Linux. For example, you can use appimages, which are very similar to a portable exe file on windows. Of course, you may run afoul of the previously mentioned issues, but it may be an option depending on what was released.






  • TechieDamien@lemmy.mltoLemmy Shitpost@lemmy.worldimpossible
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    9 months ago

    This is not a proof as you start with the answer, albeit disguised as a known truth. Here is a real proof. Start by assigning the recurring decimal a variable.

    x = 0.9999...
    

    Now calculate 10 times this by shifting the decimal place.

    10x = 9.9999...
    

    You can then subtract the second equation from the first. Note that all the digits after the decimal cancel out, leaving us with the following.

    9x = 9
    x = 1
    

    Therefore, 0.9999… = 1. Infinity does weird things!



  • You already have a plethora of great suggestions for improvements to make, so I won’t leave any more, but rather offer some advice. It can be daunting to go all in and sacrifice the conveniences you currently enjoy. This is why I recommend you change your behaviour and software in a piecemeal fashion. Change only a few (or even one) things at a time and get used to it. Once you are comfortable with where you are at, then introduce more improvements. This approach will help prevent you from getting overloaded or burnt out, resulting in you going back and compromising your privacy. Good luck!