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

help-circle
  • pe1uca@lemmy.pe1uca.devtoSelfhosted@lemmy.worldCloud storage/backup
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    11 days ago

    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.


  • a console has better optimisation for lower price.

    Something else to have in mind, some times they’re like a printer, the device is relatively cheap but you have to buy other stuff to actually have it working.

    In PC you can find several places to buy and download games (even when it feels like only one or two exist), in console you only have the manufacturer.
    In PC as long as you have internet you can play multiplayer, in console you have to subscribe to their online services.


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



  • I had a similar case.
    My minipc has a microSD card slot and I figured if it could be done for a RPI, why not for a mini PC? :P

    After a few months I bought a new m2nvme but I didn’t want to start from scratch (maybe I should’ve looked into nix?)
    So what I did was sudo dd if=/dev/sda of=/dev/sdc bs=1024k status=progress
    And that worked perfectly!

    Things to note:

    • both drives need to be unmounted, so you need a live OS or another machine.
    • The new drive will have the same exact partitions, which means the same size, so you need to expand them after the copy.
    • PS: this was for a drive with ext4 partitions, but in theory dd works with the bytes so it shouldn’t be an issue what fs you use.


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






  • I’m not completely sure I understand what you want to do, I can share some tips.

    With FreshRSS you can get the RSS feed of a youtube channel and receive notifications, but YT only gives you the latests 15 or 20 videos, so you won’t get older videos, only newer ones.
    From this URL https://www.youtube.com/@rossmanngroup you need to transform it to something like this https://www.youtube.com/feeds/videos.xml?channel_id=UCl2mFZoRqjw_ELax4Yisf6w
    You can automate it with an extension in FreshRSS.

    Or if you want you can use tubearchivist which will process the channel and download the videos to process them and index them.


  • pe1uca@lemmy.pe1uca.devOPtoSelfhosted@lemmy.worldAny good linux voice changer?
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    2 months ago

    Text to speech is what piper is doing.
    What I’m looking for is called voice changer since I want to change a voice which already read something.

    That’s exactly what I want: “the thing in the Darth Vader halloween masks” but for linux, preferably via CLI to ingest audio files and be able to configure it to change the voice as I want, not only Darth Vader.







  • I only had to run this in my home server, behind my router which already has firewall to prevent outside traffic, so at least I’m a bit at ease for that.
    In the VPS everything worked without having to manually modify iptables.

    For some reason I wasn’t being able to make a curl call to the internet inside docker.
    I thought it could be DNS, but that was working properly trying nslookup tailscale.com
    The call to the same url wasn’t working at all. I don’t remember the exact details of the errors since the iptables modification fixed it.

    AFAIK the only difference between the two setups was ufw enabled in the VPS, but not at home.
    So I installed UFW at home and removed the rule from iptables and everything keeps working right now.

    I didn’t save the output of iptables before uwf, but right now there are almost 100 rules for it.

    For example since this is curl you’re probably going to connect to ports 80 and 443 so you can add --dport to restrict the ports to the OUTPUT rule. And you should specify the interface (in this case docker0) in almost all cases.

    Oh, that’s a good point!
    I’ll later try to replicate the issue and test this, since I don’t understand why OUTPUT should be solved by an INPUT rule.