• 0 Posts
  • 35 Comments
Joined 1 year ago
cake
Cake day: August 15th, 2023

help-circle


  • Something like that indeed.
    Every active network connection, every process, every piece of hardware and others are in your file system.
    Then there’s also the possibility for linking to a file and links take up no space, but can show up like files.
    You can use a command like ‘stat’ to get more information about a file (or directory).


  • Something to realise when starting with Linux is that everything is a ‘file’. Sockets, processes, input, output etc. That’s very different from Windows and part of why scripting on Linux is so powerful. You can interact with anything.
    So some directories are filled with things that aren’t necessarily files but look like it. Someone else posted a whole list, just realise that under those directories/paths shouldn’t be messed with unless you know what it’s for.
    Generally when you’re getting used to Linux, /home/$user (aka ~) is where you put personal things. The rest is managed by OS and applications, don’t worry about it.
    Edit: spelling




  • Fair point about my source and statement. The main issue I have with your earlier statement is that you say “realizing and describing” equals discovering.
    A proper theory at least needs some proof, be it purely theoretical. Otherwise one could argue that people discovered flat earth, there’s plenty of descriptions on how it works floating around. Having purely theoretical proof also means I do not agree that theoretical physicists can not discover things. Einsteins discoveries were all substantiated by rigorous mathematical proofs.


  • “ Within scientific disciplines, discovery is the observation of new phenomena, actions, or events which help explain the knowledge gathered through previously acquired scientific evidence.”
    Straight from wikipedia (page on discovery).
    “ In science, the term “theory” refers to “a well-substantiated explanation of some aspect of the natural world, based on a body of facts that have been repeatedly confirmed through observation and experiment.” Straight from wikipedia page on Theory.
    So if something is theorised to exist, it is neither a theory or discovery. Both cases need evidence and this has only now been presented.
    Within science, someone can not “realize” something exist and claim discovery.


  • forwardvoidtoSelfhosted@lemmy.worldHosting websites over 4g
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    10 months ago

    If you’re hosting websites and not applications, perhaps you can use SSGs like Hugo/Gatsby. You could deploy your site in a bucket and put cloudflare in front. They can also be used on your own server of course. If you are hosting applications and want to keep them on 4g, you could put a CDN (CloudFlare or …) in frint of it. That would cache all static resources and greatly improve response times.


  • forwardvoidtoSelfhosted@lemmy.worldHosting websites over 4g
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    10 months ago

    If you’re hosting websites and not applications, perhaps you can use SSGs like Hugo/Gatsby. You could deploy your site in a bucket and put cloudflare in front. They can also be used on your own server of course. If you are hosting applications and want to keep them on 4g, you could put a CDN (CloudFlare or …) in frint of it. That would cache all static resources and greatly improve response times.



  • Portainer + caddy + watchtower, this will give you the benefits of containers without the complexity of Kubernetes. As someone who professionally works with Kubernetes, I agree with what other people have said here: “only run it if you want to learn it for professional use”.

    Portainer is a friendly UI for running containers. It supports docker compose as well. It helps with observability and ops.
    Caddy is an easy proxy with automatic Let’s Encrypt support.
    Watchtower will update and restart your containers if there’s an update.
    (Edit: formatting)







  • What nonsense, of course you can write safe code in other languages. What makes it safe is the people that are experienced in writing it securely and test it. But not all code has a high standard of quality, due to time pressure or due to lack of skill. So yes, the only way to be sure you have safe code without spending more time on training and testing is if the language does it by design. Has this guy ever worked in software engineering?