• 0 Posts
  • 27 Comments
Joined 3 years ago
cake
Cake day: January 7th, 2022

help-circle


  • I’ve just switched from an iPhone 12 Pro to Pixel 9 and am on GrapheneOS now. Aside from Signal chat history, everything switched over quite easily. Sandboxed google play services is simply an amazing feature. Rerouting location requests let’s me feel a certain level of trust when I use Google Maps now. There are a tonne of little quality of life features too that I don’t remember if base Android had back when I used it before; e.g. setting the default language for a specific application.

    For using Immich without exposing it to the public, check out Tailscale. It’s a private VPN (wireguard) service (it’s partially opensource and provides paid tiers, but the free tier is all you’ll need; there’s an open source server called Headscale, if you need full open source) you can use on your home network that is dead simple to configure. You literally just login on you computer and your phone.








  • Children of Time and its sequels are top notch, especially if you love animals and commentary on societal roles. It’s in my top Sci-Fi.

    If you enjoyed Children of Time, definitely check out “A Memory Called Empire” by Arkady Martine. It’s a Sci-Fi political mystery with lots of fun word play. Aside from some really cool tech, the book really tackles what it means to be “Other” and how colonialism effects one’s idea of self. Some really cool ideas in this book. Easily my top Sci-Fi read this year.







  • I removed mine since I moved away from Gitlab. There’s other comments with working docker composes, but here’s the latest working version of mine if you’re interested:

    services:
      gluetun:
        image: ghcr.io/qdm12/gluetun:latest
        container_name: gluetun
        # line above must be uncommented to allow external containers to connect. See https://github.com/qdm12/gluetun/wiki/Connect-a-container-to-gluetun#external-container-to-gluetun
        restart: always
        cap_add:
          - NET_ADMIN
        devices:
          - /dev/net/tun:/dev/net/tun
        volumes:
          - ./data:/gluetun
        environment:
          ## ProtonVPN Wireguard
          - VPN_SERVICE_PROVIDER=custom
          - VPN_TYPE=wireguard
          - VPN_ENDPOINT_IP=${WIREGUARD_ENDPOINT_IP}
          - VPN_ENDPOINT_PORT=${WIREGUARD_ENDPOINT_PORT}
          - WIREGUARD_PUBLIC_KEY=${WIREGUARD_PUBLIC_KEY}
          - WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
          - WIREGUARD_ADDRESSES=${WIREGUARD_ADDRESSES}
          - TZ=Etc/UTC
        ports:
          - ${QBITTORRENT_EXPOSED_WEBUI_PORT}:8080/tcp # qBittorrent Web UI
    
      qbittorrent:
        # https://docs.linuxserver.io/images/docker-qbittorrent
        build: .
        container_name: qbittorrent
        restart: always
        volumes:
          - ./config:/config
          # using download path as mount so other services can play nice
          - ${QBITTORRENT_DOWNLOAD_PATH}:${QBITTORRENT_DOWNLOAD_PATH}
          - ${QBITTORRENT_THEMES_PATH}:/themes
        environment:
          # https://github.com/linuxserver/docker-qbittorrent#umask-for-running-applications
          - PUID=${QBITTORRENT_WRITE_UID}
          - PGID=${QBITTORRENT_WRITE_GID}
          - UMASK=0002
          - TZ=Etc/UTC
          - WEBUI_PORT=8080
        network_mode: "service:gluetun"
        depends_on:
          gluetun:
            condition: service_healthy
    
      portcheck:
        image: eiqnepm/portcheck:latest
        container_name: portcheck
        restart: always
        environment:
          - QBITTORRENT_PORT=6881
          - QBITTORRENT_WEBUI_PORT=8080
          - QBITTORRENT_WEBUI_SCHEME=http
          - QBITTORRENT_USERNAME=admin
          - QBITTORRENT_PASSWORD=${QBITTORRENT_ADMIN_PASSOWRD}
          - TIMEOUT=300
          - DIAL_TIMEOUT=5
        network_mode: "service:gluetun"
        depends_on:
          qbittorrent:
            condition: service_healthy
    

  • Pretty simple to switch (if you have a little docker experience). Create a folder (e.g. ./postgres), add the folder as a volume in the postgres portion of the compose file (maybe something like /db), then run just the database with newly mounted folder, shell in, and copy everything from the Postgres folder to this new folder. After that, swap mounts so the new folder is used as Postgres db and you’re good. If something went wrong, the pgdata volume is still there to switch back to.


  • Good share. I saw the nudge in the mobile app, but I didn’t realize there was breaking changes and upgraded in the middle of the night before bed (what the hell was I thinking???). Spent a good extra hour trying to figure out why.

    Key take away, the pgvecto.rs version needs to be upgraded. If you are using docker, update the docker-compose.yml. If you’re not, upgrade your pgvector.rs version first. 🙏