I take my shitposts very seriously.

  • 11 Posts
  • 751 Comments
Joined 2 years ago
cake
Cake day: June 24th, 2023

help-circle
  • My compose.yaml inside...
    volumes:
      db:
    
    services:
      db:
        image: mariadb:10.6
        restart: always
        command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
        volumes:
          - db:/var/lib/mysql
        secrets:
          - mysql_root_password
          - mysql_nextcloud_password
        environment:
          - MYSQL_ROOT_PASSWORD_FILE=/run/secrets/mysql_root_password
          - MYSQL_PASSWORD_FILE=/run/secrets/mysql_nextcloud_password
          - MYSQL_DATABASE=
          - MYSQL_USER=
    
      nextcloud:
        image: nextcloud
        restart: always
        ports:
          - 8080:80
        depends_on:
          - db
        links:
          - db
        volumes:
          - /var/www/html:/var/www/html
          - /srv/data:/srv/data
        secrets:
          - mysql_nextcloud_password
        environment:
          - MYSQL_PASSWORD_FILE=/run/secrets/mysql_nextcloud_password
          - MYSQL_DATABASE=
          - MYSQL_USER=
          - MYSQL_HOST=db
    
    secrets:
      mysql_root_password:
        file: ...
      mysql_nextcloud_password:
        file: ...
    

    If you use the links: element in the nextcloud service, the services listed there will be available using their hostnames. On the Nextcloud setup screen, choose mysql as the database engine, use db as the database host, and enter matching values into the other fields.








  • Did you completely miss the part where I said “Not the solution, and not a possible solution for everyone, but it is a solution”? I don’t know what you think the usual troubleshooting process is, but it doesn’t start with “uninstall Windows”. Obviously the user was sufficiently intelligent to consider the advantages and disadvantages of switching, and based on that information, chose a course of action that they thought was correct, and it ended up being the solution to their issue.

    I don’t know how else I can spell it out for you. Computer users are not dumbasses. They have agency over their own actions.




  • Not within the computer’s lifetime. Consumer-grade SSDs are generally rated for 3000-5000 write cycles or more, and contain some kind of wear levelling mechanism to distribute write operations over the entire physical medium to reduce the chance of individual block failures. The first SSD I ever bought is still going strong as my server’s root filesystem.






  • Not useless, but it can go bad much quicker. A few years ago I lost a rotary hoe because the engine had been damaged and the carburetor had gotten clogged. The fuel was less than a year old, but closer in color to cooking oil.

    If gasoline sits in open air or a non-sealed container for a long time, its lighter fractions will eventually evaporate. The heavier fractions can cause blockages and misfires. It can still be used, but you have to dilute it with fresh gasoline. If it happens while inside an engine, the carburetor should be rinsed with fresh gasoline to remove clogs.



  • rtxn@lemmy.worldtomemes@lemmy.worldCybertruck gets rekt
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    10 days ago

    Some, but the output drops significantly. Solar panels like direct sunlight. Even a thin cloud layer can reduce the output just by both blocking and diffusing sunlight.

    (The graphs are just for illustration, I have no context for them)

    A car-sized EV’s convenience is wasteful when energy is scarce and other options are available.


  • Zombie flicks are not exactly known for their strict adherence to realism. Residential power would likely be the first to go, if only to reserve generator capacity and fuel for military, medical, and government facilities, and rich assholes’ mansions.

    Maintaining the electric grid takes an incredible amount of work and the tight cooperation of all of its facilities. If one or several large generator were to shut down, it might cause a cascading collapse. Executing a black start is a massive challenge at the best of times, and probably impossible in a post-collapse society.


  • rtxn@lemmy.worldtomemes@lemmy.worldCybertruck gets rekt
    link
    fedilink
    arrow-up
    4
    arrow-down
    5
    ·
    10 days ago

    Clouds.

    Without the power grid to back them up, solar panels are only as reliable as the weather. A week of overcast skies will drain everything you have in your batteries. No output during the night either. There’s also the problem of theft, vandalism, natural wear, and the difficulty of finding replacement parts.

    If you have solar energy and a way to store it, it should be used for more vital applications, like lights, cooking, and refrigeration.