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

help-circle

  • Yes, most podcasts are hosted outside of your podcast player and distributed via RSS (even if this is Spotify which already hosts music).
    So when a service has the podcast it means it lists the response from the RSS feed, but usually they just copy the text data, including the URL where the actual audio is stored.
    This audio is served by whatever other service the creator of the podcast uses, which means you’re a free user to that service even if you pay for Spotify, which means the wonderful benefit of ads.

    And these are ads you can’t block since they’re included in the audio stream (yay! /s).
    Podverse (the player I use) mentions this as an issue when creating clips of the podcasts because they can’t know how much the timestamp has been offset by those ads, so your clip probably only sounds good to you.





  • pe1uca@lemmy.pe1uca.devtoSelfhosted@lemmy.worldCloud storage/backup
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    16 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.




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



  • Think of a URL and its dots like folders in your drive where each can have different files in each of them even if they have the same name as another folder.
    They’re just written in reverse order.
    (Also a whole lot of other differences and other technical details on how to actually make the site work, but for your question we can just keep at this)

    So, you have the social root folder (Top Level Domain) which contains many sub folders, one of them is mastodon and another is piefed.
    Each have their own files to render their UI and process the requests they receive, but they don’t talk to each other, even when they might have some files and requests with the same name.
    The same way you have in your home folder your documents, pictures, videos, downloads, etc.
    And yeah, they can go even deeper, my lemmy instance is lemmy.pe1uca.dev, not just lemmy.world like for this community.
    I could have mastodon.pe1uca.dev if I’d like.


  • This is one of the exceptions.
    This reform will make judges be able to be voted by the people, and all the world knows the implications of that in Mexico’s elections.
    It also removes a lot of the requirements to the candidates.

    Currently there are cases of people trying to get judicial protection against laws the executive is pushing which the legislature blindly approved since they were put in there by the ruling party. Now imagine if that ruling party was also deep into the judicial system, the people wouldn’t have anyone to turn to ask for help.

    And that’s what investors are concerned about, investing in Mexico and losing everything because there’s no one to stop what the president says.


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