• 2 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 5th, 2023

help-circle
  • I use rclone and duplicati depending on the needs of the backup.

    For long term I use duplicati, it has a GUI and you can upload it to several places (mines are spread between e2 and drive).
    You configure the backend, password for encryption, schedule, and version retention.

    rclone, with the crypt submodule, you use it to mount your backups as am external drive, so you need to manually handle the actual copy of the data into it, plus versioning and retention.



  • I can’t give you the technical explanation, but it works.
    My Caddyfile only something like this

    @forgejo host forgejo.pe1uca
    handle @forgejo {
    	reverse_proxy :8000
    }
    

    and everything else has worked properly cloning via ssh with git@forgejo.pe1uca:pe1uca/my_repo.git

    My guess is git only needs the host to resolve the IP and then connects to the port directly.







  • but often lead developers to just display them in the frontend

    Oh boy I feel this one.
    My API is meant for scripting (i.e. it’s for developers and the errors are for developers), but the UI team uses it and they just straight display the error from their HTTP request for none technical people which might also not get to know all the parameters actually needed for the request.
    And even when the error is in fact in my code, and I sent all the data I need to debug and replicate the error, the users can’t tell me because the UI truncates the response, so the user only sees something like Error in pe1uca's API: {"error":"bad request","message":"Your request has an error, please check th... (truncated). So the message gets truncated and the link to the documentation is also never shown .-.




  • What?
    Well, I can only speak for myself, I’m not here to follow users but communities.
    And if someone wants to follow me I’d see it as kind of annoying for them seeing all the different topics I post and comment instead of something focused.

    IMO the ability to see Mastodon interactions in Lemmy and vice-versa is quite annoying since they use the same protocol for different experiences.