I take my shitposts very seriously.

  • 4 Posts
  • 589 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.






  • There’s a massive difference between the average Windows user and the average PHP developer. It’s a false equivalence.

    The regular computer user who just needs their apps to run won’t likely make the effort to enter an entirely new ecosystem as long as those apps run. Even with the most user-friendly distros, the barrier of entry is still high. And when their apps break? They’ll reinstall Windows or pay someone else to fix it.

    I love shitting on Microsoft as much as the next penguin, but they’re not idiots. Even if some of their decisions are questionable, Windows is still a major part of their business, and they won’t just let it degrade to a point where Linux converts are a significant threat to their profit.

    (I did not downvote you, by the way, that was someone else)





  • rtxn@lemmy.worldtoLemmy Shitpost@lemmy.worldReddit Refugees
    link
    fedilink
    arrow-up
    63
    arrow-down
    1
    ·
    edit-2
    8 days ago

    Spez.

    He’s spreading cheeks to the muskrat with both hands, and in the process, “accidentally” banned a ton of NSFW subs. This made at least some people realize that their future is not guaranteed on reddit, that an off-service backup is needed; then a r/piracy post mentioning Lemmy reached the front page.









  • 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.