Skip Navigation
Legal concerns with self-hosting
  • It barely works on my old version of lemmy, probably fixed now then. It would be nice if there was a was to turn that off and only use pictrs only for locally uploaded images. Since I'm the only person here caching isn't too important.
    I wonder if I could shut pictrs down and only use an external image hosting for images?

  • Legal concerns with self-hosting
  • Related, What about a personal instance only I use? I can choose what communities I want but I can't control what is posted on those communities. Someone could post something illegal to a beehaw community (and have) and the mods remove it, but does the deletion of images and posts federate? In know matrix keeps copies of every deleted file in a room on all homeservers, what about lemmy?

  • Help understanding the peertube P2P system
  • I have done some testing and I found a few reasons I'm having issues with webtorrent:

    • The only reason they where working at all is because they were downloading from the HTTP URL in the torrent file, P2P was not working at all.

    • To download the webtorrent from the blender instance I need to have the video watched in my browser to peer with the webtorrent client, the instance peers don't work on non-peertube webtorrent clients.

    • The reason instant.io was broken is my adblocker was blocking the tracker.

    • The tracker in my peertube instance is broken.

    EDIT:
    I was a bit wrong here, there are two different formats in peertube: webtorrent and HLS. I was getting confused why the video on my instance (HLS) and the one on the blender one (webtorrent) was behaving differently with webtorrent clients. They are completely different formats so that makes sense now.

  • Help understanding the peertube P2P system
  • Webtorrent seems to have some issues with peer discovery. I've tried the instant.io site they have linked on webtorrent.io and I can't get it to download or share anything, the desktop client managed to download a torrent from my peertube instance over normal BitTorrent but I can't share it over webtorrent. I downloaded a video from my peertube instance using btorrent.xyz over webtorrent but I can't seed new files because the peers don't find each other. when I use a webtorrent with a tracker (like peertube) it works fine but how were sites like instant.io supposed to discover peers without trackers? I don't think DHT exists for webtorrent yet.

    You can manually seed videos on instances using redundancy but I was thinking automatic redundancy for watched videos might be a good idea, I guess you can do automatic redundancy for entire instances but that would take up a lot of storage space.

    One of the nice thing with BitTorrent is the high reliability so I assumed that was what peertube was trying to do, I guess the idea is not to provide data redundancy but to split load instead?

  • Help understanding the peertube P2P system
  • Would it not make more sense if your instance downloaded and redistributed the torrent? then you could keep seeding after the tab closed. it also wouldn't leak your IP then.
    What about peer discovery? I opened that webtorrent website in two browsers and they didn't peer, is that demo real?

  • Help understanding the peertube P2P system

    Can someone help me with how peertube P2P works? I can understand how ActivityPub is used for all the "social" parts but I'm a bit confused about the actual video player.

    Redundancy: I have my own instance and I made a redundancy of a video from the blender instance. if I watch the video on my instance I see 2 peers, my instance and the blender one. I can seen both in Firefox dev tools. If I watch the same video on the blender instance I see 7 peers, the blender instance, mine, and others. why are these extra peers not showing on my instance? do I need to do something? If I watch the video on one of these other instances mine does show up in the their peers list.

    I also made a video from framatube redundant but my instance doesn't appear as a peer on framatube.

    Client P2P: If I watch a video does my browser share It over P2P? if so what is the point of this? it seems to lose the video as soon as I leave the page so this functionality seems a bit useless to me.

    EDIT: Answered in comments.

    BitTorrent: If I download a video I get the option of a BitTorrent torrent. If I seed this torrent can it be leeched by web clients? I tried and It doesn't show up in the peer list. What's the point of running a full BitTorrent tracker if it doesn't work with the main P2P system?

    EDIT: BitTorrent is incompatible with webtorrent that peertube uses. Peertube also uses HLS instead of webtorrent and behaves a bit different (you can't seed it with a webtorrent client).

    Peer discovery: As I said in 1 and 2 how does the player actually find peers? Is there something like DHT or a tracker built in to peertube? if it's an internal tracker how does the tracker find peers?

    EDIT: It uses a tracker build in to peertube.

    Thanks for any help.

    25
    Am I being overly worried about small defects?

    Since they have come back in stock, I bought a Pi 4 2GB and a Pi 4 4GB. the 2GB model had 2 bent GPIO pins and rattled when shaken, so I opened an RMA request for it. the 4GB model has arrived, and it has small solder blobs on the back of the board (see images)

    !

    ! Is this normal or have I just got unlucky with both Pis? I managed to scrape off solder on the first image but they have left a mark on the board. The 2GB model seems to be completely working and the 4GB one boots to the bootloader but I'm out of SD cards to test it any further. Should I also RMA the 4GB model or am I being silly here? Thanks.

    0
    xkcd #1987: Python Environment
  • Download ML thing.
    make new venv.
    pip install -r requirements.txt.
    pip can't find the right versions.
    pip install --update pip.
    pip still can't find the right versions.
    install conda.
    conda breaks for some reason.
    fix conda.
    install with conda.
    pytorch won't compile with CUDA support.
    install 2,000,000GB of nvidia crap from conda.
    pytorch still won't compile.
    install older version of gcc with conda.
    pytorch still won't compile.
    reinstall the entire operating system with debian 11.
    apt can't find shitlib-1.
    install shitlib-2.
    it's not compatible with shitlib-1.
    compile it from source.
    automake breaks.
    install debian 10.
    It actually works.
    "Join our discord to get the model".
    give up.

  • Flag waver bot!

    I made a flag waver bot for this community. call it with !wave in the comments or post body.

    EDIT: there seems to be a bug in the bot library i'm using and it will reply anywhere on lemmy as long as I am subscribed to the community. I may shut the bot down until this is fixed to prevent spam.

    EDIT2: It should be working now, I added a workaround for the library bug and opened a github issue.

    Update: I have added body text waving and waving of multiple links in a post. Also waving links in comments. Example (see comments): test image another link

    Update 2: It's open source now!! github

    Update3: lemmy.world is not federating with my instance for some reason, I can make comments but none of your comments are reaching my instance and the bot is not responding.

    I've run some tests and the issue here is lemmy.world, I can see a post I made to !vexillologyjerk@lemmy.antemeridiem.xyz but not !vexillology@lemmy.world the issue seems to be intermittent starting and stopping throughout the day, needless to say there isn't anything I can do about this, sorry. It might be because I'm still on 0.17.4 but my server won't run 0.18.0 and the bot won't run on that version. nvm lemmy.world is also on 0.17.4, I have not idea what this issue is

    3
    for the Reddit refugees, do you also feel a bit heartbroken?
  • The file you downloaded is a compressed JSON file, it's not something you can really just look at. But it contains all the data needed to build a nice UI around.
    I don't know what OS you are on but on linux you can run zstd -d -c file.zst | jq . and it will print everything in the file. It's not really readable though. Also it doesn't have any of the media content, only the text

  • Reddit @lemmy.ml Thomas @lemmy.douwes.co.uk
    Reddit CEO (/u/spez) is going to hold a AMA about the API update
    8
    [Question] OVH vs hetzner for a cheap dedicated server

    I don't know if renting a dedicated server goes against the point of selfhosting but whatever. Everyone seems to recommend hetzner on reddit because they are cheaper, but OVH seems to be much cheaper that hetzner for low end servers, especially the Kimsufi and So You Start ranges.

    This is the server I was looking at with OVH: CPU : Intel Xeon D1520 - 4c/8t - 2.2 GHz/2.6 GHz Memory : 32 GB DDR4 ECC Storage : 4 x 2 TB HDD SATA Soft RAID Public bandwidth : 250 Mbps Price: £26.66 per month.

    hetzner seems to start a lot higher with specs, but I don't need 64GB of ram and a 1Gb/s internet connection, The instance I am posting this from is the lowest spec kimsufi possible with an intel atom and 4GB of RAM and that is running lemmy and mastodon fine.

    Is there something else bad about OVH that I am missing? (other than the flammable servers)

    3
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)TH
    Thomas @lemmy.douwes.co.uk

    blog: thomasdouwes.co.uk I also run some bots: @FlagWaverBot

    Posts 10
    Comments 21
    Moderates