• 0 Posts
  • 47 Comments
Joined 2 years ago
cake
Cake day: June 26th, 2023

help-circle

  • They’re okay for tasks which are reasonably a single file. I use them for simple Python scripts since they generally spit out something very similar to what I’d write, just faster. However there is a tipping point where a task becomes too complex and they fall on their face and it becomes faster to write the code yourself.

    I’m never going to pay for AI, so I’m really just burning the AI company’s money as I do it, too.




  • Clearwater@lemmy.worldtoScience Memes@mander.xyzMicrowave Intensifies
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 months ago

    I have tried that. I have a dish taken from a directional WiFi antenna. When placed behind the gateway, it sometimes increases speeds, sometimes hurts speeds, and sometimes does nothing. I found it a bit too inconsistent, and a bit too ugly, to be used permanently. If I had a proper mounting solution, I might have gotten it tuned just right, however at that point I would rather just buy and mount external antennas to hook into the gateway.

    My exact deployment today actually doesn’t even have anything behind the gateway. That is just because for my specific case, all the towers it can reach are within a roughly 90 degree field of view. To block the bad ones, I really only need to block off a few sections of the window it’s sitting near.


  • I unironically do something similar to this. In my area, the only options are a dogshit local WISP, Starlink/other satellite, or (where possible) cellular.

    I am one of the “lucky” people who are able to use cell for my internet, however whether it’s the cell company having a craptastic network, software/hardware bugs on the my customer equipment, or a combination of both, there is only ONE cell tower I can connect to which yields a useful connection.

    All other towers result in the equipment failing to connect to the tower, connecting but failing to get an internet connection, or only yielding download speeds 5Mbit of less.

    I have found that by shoving sheet metal around my ISP’s equipment, I can quite easily block off the non-functional towers and ensure they’re never connected to. I don’t think speeds are any better, but it does help with reliability.





  • Clearwater@lemmy.worldtoSelfhosted@lemmy.worldGoogle Drive alternative?
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    3 months ago

    I use Nextcloud, but as you said it’s a bit big, and with each update it’s slowly turning into more of the entire G-Suite.

    I’ve used filebrowser, but be aware that until just a few days ago, it gave out access to a shell. Even with that turned off, I’d be very weary of allowing access from out of the VPN. I had a server pwned with filebrowser appearing to be the vector, and to my memory console access was disabled for the account most likely breached.





  • Similar story here. I once had an assignment which was a part of an art contest with the theme “how to make the world a better place.”

    I simply took a photo of a tree and gave it the description of “I would make the world a better place by planting more native plants.”

    I got an award for it and didn’t think of it beyond that. Several years later I dated a friend from then, and it turns out I got first place in the entire school. She got second and put in effort with a drawing.







  • First of all, I actually do prefer Forgejo Actions over Woodpecker. Once set up, my only problem with it (so far) is almost certainly caused by my infrastructure and isn’t inherent to FA itself. Pecker, on the other hand, is quite a bit easier to set up and better documented, but I had that issue where it would disconnect from Forgejo and need a few buttons pressed to fix.

    This one is just FA being weird:

    If you want to deploy the Runner using Docker, the documentation is poor at best. From both a security and documentation standpoint, having it in its own VM is better, but you can do Docker. You just have to read and figure out more on your own. Reading through the example deployments from the documentation will eventually lead you to something along the lines of this (which I copy-pasted from my deployment rather than search for again):

    forgejo-runner:
      image: code.forgejo.org/forgejo/runner:6.3.1
      restart: always
      user: 1000:1000
      environment:
        - DOCKER_HOST=tcp://dind:2376
      volumes:
        - runner_cache:/data
      depends_on:
        - dind
      command: >-
        bash -ec '
        forgejo-runner create-runner-file --name runner --instance https://${DOMAIN} --secret ${RUNNER_SECRET};
        sed -i -e "s|\"labels\": null|\"labels\": [\"docker:docker://docker.io/node:22-bookworm\", \"ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest\"]|" .runner ;
        forgejo-runner generate-config > config.yml;
        sed -i -e "s|^  network: \"\"$|  network: host|" config.yml ;
        sed -i -e "s|^  envs:$$|  envs:\n    DOCKER_HOST: tcp://dind:2376\n    CONTAINER_HOST: tcp://dind:2376|" config.yml ;
        forgejo-runner --config config.yml daemon
        '
    

    You don’t actually need to do this since you could edit the two config files yourself and bind them to the container. This is just how you automatically generate those files… And it’s dumb, but it works and it means you don’t have to keep track of those files.

    This one is probably just my infrastructure: https://lemmy.world/comment/16093731

    If you do go for FA in Docker (or Podman) and need some help, just ask. I’ll post more of my compose and explain my decisions.