• 0 Posts
  • 75 Comments
Joined 3 years ago
cake
Cake day: July 18th, 2023

help-circle





  • The point of my post is that it is “a metric”. The original post was showing that knife “crimes” were going down over a period of time while rhetoric about knife crimes were up.

    However, knife crimes may not be down based on other metrics. So yes, while it’s good that less people are being hospitalized, that doesn’t mean the argument being made in the OP is valid.

    I’m also not trying to take sides, just noticing that the graph on knife attacks wasn’t telling the whole story. It’s very possible that the increased rhetoric on knife attacks leads to more people reporting even though crime is down. Generally there has been a trend in the world to over report crime, typically done to help push legislation or political parties.


  • I always find it interesting when you’re only provided a portion of the data in a chart, as this shows “hospital Admissions” and not total incidents involving a knife.

    If you look at other reports on the issue it seems like incidents involving a knife are still high (and don’t follow the trend from the graph) even though hospital Admissions and deaths are down - Source.

    That could mean that reporting is up while crime is down, or could mean that less incidents are ending violently, but it’s not as clear a picture as the initial graph indicates.

    Note: the source is for the UK in general, but other London based reports show similar. I chose that article because they seem fairly trustworthy.









  • jacksilver@lemmy.worldtoSelfhosted@lemmy.worldgoodbye plex
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    Looks like there is a config and cache location in their docker scripts. The easiest way to make a docker application portable is to bind mount the config and cache. That way you have access to the actual files and could copy them to your windows partition.

    If you’re already using a volume for that data, I think it becomes a bit trickier. I know technically you can move or copy volumes, but I’ve never tried. Although you could still bind mount a random directory and still copy the files out.


  • jacksilver@lemmy.worldtoSelfhosted@lemmy.worldDocker Backup Stratagy
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    8 months ago

    Yep, bind mount the data and config directories and back those up. You can test a backup by spinning up a new container with the data/config directories.

    This is both easy and generally the recommended thing I’ve seen for many services.

    The only thing that could cause issues is breaking changes caused by the docker images themselves, but that’s an issue regardless of backup strategy.




  • Some of the commands I use a lot for debugging containers, in case you go down that route:

    • docker run --rm -it --entrypoint bash <image_name>
    • This command let’s you enter a docker image with bash so you can test commands and treat it like a temporary VM. Great way to see how the image is setup
    • docker exec -it <container_name>
    • This let’s you enter a running container with bash. A great way to inspect why something might not be working or check mounted volumes, etc.

  • Once you know how to use docker/containerization it’ll be the only way you want to deploy applications. Most popular applications will also have good guides on how to setup/config the container, but sometimes you’ll need to read up on docker and Linux to figure things out.