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

help-circle


  • Why do you need the files in your local?
    Is your network that slow?

    I’ve heard of multiple content creators which have their video files in their NAS to share between their editors, and they work directly from the NAS.
    Could you do the same? You’ll be working with music, so the network traffic will be lower than with video.

    If you do this you just need a way to mount the external directory, either with rclone or with sshfs.


    The disks on my NAS go to sleep after 10 minutes idle time and if possible I would prefer not waking them up all the time

    I think this is a good strategy to not put additional stress in your drives (as a non-expert of NAS), but I’ve read the actual wear and tear of the drives is mostly during this process of spinning up and down. That’s why NAS drives should be kept spinning all the time.
    And drives specifically built for NAS setups are designed with this in mind.









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





  • I love playing Dwar Fortress, I’ve spent hours and hours in there.
    The game is free from the developera site, the download is only 15MB.
    If you want to support them you can buy it in steam, the listed requirements is 500MB of storage, I assume since this version has a tile set.

    I’ve also put so far 400 hours in oxygen not included, I think it uses around 2GB of storage.

    And to me, any monster hunter game its worth its price, I’ve bought each game and played it for minimum 200 hours each, I think I reached 500 in on of them.
    Tho the newer ones are pretty heavy for their respective platforms. Also triple-A game price.




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