[-] thomas@lemmy.douwes.co.uk 6 points 11 months ago

If my fingers prune I'm going to die or something

[-] thomas@lemmy.douwes.co.uk 6 points 11 months ago

Thanks for maintaning this fork, this was the last missing thing on lemmy for me

90
submitted 1 year ago* (last edited 1 year ago) by thomas@lemmy.douwes.co.uk to c/fediverse@lemmy.ml

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.

[-] thomas@lemmy.douwes.co.uk 4 points 1 year ago* (last edited 1 year ago)

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.

4
Server recommendation (lemmy.douwes.co.uk)
submitted 1 year ago* (last edited 1 year ago) by thomas@lemmy.douwes.co.uk to c/homelab@lemmy.ml

cross-posted from: https://lemmy.cloudhub.social/post/28451

Hello, I'm looking for a good first server for a homelab.
I do already have an old Dell poweredge 1950 I got for £30 but it's:

  • Loud
  • Draws 350W
  • Costs too much to run
  • Only has 2 HDD slots
  • DRAC card needs Internet explorer

I'm not too bothered by the noise because I can just move it, but the electricity cost is quite ridiculous for something less powerful than my PC in every way.
I live in the UK so electricity prices are a huge factor for this.

My Ideal specs are:

  • ~16 cores (total)
  • >= 128GB RAM
  • ~100W idle power draw
  • >= 4 3.5" HDD bays
  • Preferably HBA mode on RAID card
  • £100-200
  • 2U

Is this completely unreasonable? I have found servers that match this all except the 3.5" bays and 2U.
Initially I found a Dell server with 128GB of RAM and two 12 core CPUs for about £200 but I realised it only has 2.5" bays.
There is a nice R720 on ebay I am watching but it will probably skyrocket near the end of the bid. Also, it probably draws a lot of power.
Any suggestions? do I just need to raise my price?
Thanks

7
submitted 1 year ago* (last edited 1 year ago) by thomas@lemmy.douwes.co.uk to c/homelab@lemmy.ml

Here is my attempt to archive r/homelab before it went dark. Google says there about 92,400 results for site:reddit.com/r/homelab, I have 2098, that's only about 2% of it. Maybe there is something of use to you in that 2%.

Please don't webscrape, if you want all the data you can get the raw BDFR archive at https://archive.douwes.co.uk/reddit/homelab.tar or the live web version at https://archive.douwes.co.uk/reddit/homelab-web.tar

[-] thomas@lemmy.douwes.co.uk 5 points 1 year ago* (last edited 1 year ago)

I came because of Reddit shutting down 3rd party apps, but I knew about lemmy before. I like self hosting and have self hosted a matrix server for probably a year now, and when twitter blew up I heard about mastodon and searched for a Reddit version. However, I am lazy as shit so I didn't bother to set up an instance until a couple days after the reddit news. Honestly it was probably for the best, I probably would have been put of by the tankie stuff. I do feel lucky to have been here before 100 instances though, It was so barren before the influx of Redditors, rarely would a post hit 100 upvotes. It's incredible how much it has changed in the last few days.

[-] thomas@lemmy.douwes.co.uk 3 points 1 year ago* (last edited 1 year ago)

Brilliant, I can see so much more of the main page. one less than old.reddit.com but that doesn't really matter. Thank you so much!
I know there isn't anything you can do but one of the things I'll miss about reddit is the custom CSS. I hope some form of custom CSS gets added to lemmy. I'll miss the "unique" design of r/mildlyinfuriating or the complete insanity of r/ooer (I tried to link WayBackMachine but it seems to be down)

[-] thomas@lemmy.douwes.co.uk 9 points 1 year ago

Nah, I can't see any reason to make more than one account.

[-] thomas@lemmy.douwes.co.uk 24 points 1 year ago* (last edited 1 year ago)

I hate reddit. But it feels like the library of Alexandria burning down (yea I know). All those google search results and educational subreddits that are shutting down forever, and because they are too small reddit won't force open them again.
A lot are in the pushshift archive, but that cuts of at 2022. Also, it doesn't include a lot of the smaller subreddits.
I have had my PC running 24/7 with multiple VPNs to avoid rate limits downloading as much as I can before the API dies, but with some blackouts moving forward a day I have already missed a few.
Like many others, I would often add "reddit" to the end of my searches to get better results, half the websites on web searches now are either AI generated, copies or on completely AD ridden websites that ask you to turn off your AD blocker.

[-] thomas@lemmy.douwes.co.uk 6 points 1 year ago

upvote ratio of 0.08 right now

93
submitted 1 year ago* (last edited 1 year ago) by thomas@lemmy.douwes.co.uk to c/technology@lemmy.ml
5
submitted 1 year ago* (last edited 1 year ago) by thomas@lemmy.douwes.co.uk to c/technology@beehaw.org
[-] thomas@lemmy.douwes.co.uk 8 points 1 year ago

already too late for me. I've been waiting for a reason to leave.

[-] thomas@lemmy.douwes.co.uk 8 points 1 year ago

what if it beats the EA comment lol

[-] thomas@lemmy.douwes.co.uk 22 points 1 year ago* (last edited 1 year ago)
98
submitted 1 year ago* (last edited 1 year ago) by thomas@lemmy.douwes.co.uk to c/reddit@lemmy.ml
[-] thomas@lemmy.douwes.co.uk 12 points 1 year ago

lemmy hug of death lol

2

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)

view more: next ›

thomas

joined 1 year ago