• 1 Post
  • 52 Comments
Joined 3 years ago
cake
Cake day: March 26th, 2021

help-circle









  • Yep, this sort of stuff happens and is extremely annoying. Libvirtd will do it for VM networking by default too.

    The solution at the intersection of easy to implement and reliable is to just use nftables instead of iptables. Then, the extra rules automatically added by tools are usually much more predictable and easier to integrate with your own rules. Briefly, if nftables is enabled, most tools that mess with the firewall will create a new table inside of nftables with a lower-than-default priority, so that if you have your own custom table set up, the new rules won’t interfere with it. (That being said, it is possible that your higher-priority table will cause the automatically added rules not to behave as intended, in which case you may need to add more rules to your manually added table. But manual rules breaking automatic ones is better than automatic rules breaking manual ones imo).



  • The same way C programmers do: Download the source code into a local folder and include it directly from there. Then you only update it when you explicitly want to.

    You can also use npm with a package.json which requests a specific version, that way it won’t update automatically.

    Final option, which doesn’t work for all packages, is to install the corresponding node-* package from apt, because the debian developers do ship a number of frequently used node packages in the repositories. Eg, apt install node-is-wsl









  • Most phones do last 5 years. I’ve owned my pixel 3a for maybe 2 years but it’s still going really strong. Before that I used a moto G4 for 2-3 years, and I bought it off a friend who had used it for at least that long before me. The phones are fine; it’s more about people’s attitudes. It should not be normalized in our society to buy phones (or really anything expensive) so frequently.