thomas

joined 1 year ago
MODERATOR OF
[–] thomas@lemmy.douwes.co.uk 6 points 1 year ago

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

[–] thomas@lemmy.douwes.co.uk 3 points 1 year ago

same, I feel lucky to have such an uncommon surname because I easily got the domain lol. there was a short version with the last two letters as the TLD but that was already taken sadly

[–] thomas@lemmy.douwes.co.uk 2 points 1 year ago (1 children)

? This post is a month old now

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

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.

[–] thomas@lemmy.douwes.co.uk 1 points 1 year ago (2 children)

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?

[–] thomas@lemmy.douwes.co.uk 1 points 1 year ago (4 children)

why? if 5 instances are seeding the video, clients should be able to download from all 5 instances and spread the bandwidth usage right?

[–] thomas@lemmy.douwes.co.uk 1 points 1 year ago (6 children)

Why not also use the instance to re-seed? it could keep seeding after the visitor closed the video.

[–] thomas@lemmy.douwes.co.uk 2 points 1 year ago (8 children)

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?

65
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 7 points 1 year ago* (last edited 1 year ago) (1 children)

At some point the chess board is going to stop looking like a chess board. I think this will be the comment that does it.

 

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.

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

Who needs all this crazy firewall stuff when I have my

iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -i ppp0 -j DROP

And for IPv6 you don't need a firewall, just use slaac and hope no one finds the address /s

[–] thomas@lemmy.douwes.co.uk 2 points 1 year ago (1 children)

What the hell, I wondered why the website wasn't loading then I see a 228 page PDF open lol

[–] thomas@lemmy.douwes.co.uk 11 points 1 year ago (2 children)

This is wrong, I use IPTables but the device is absolutely not dedicated lol.

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

Oops! I just nuked my lemmy instance and the other post wasn't in by backups, sorry about that! please don't reply to the other post because I can't see it

Reposted:
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

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

3
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.cloudhub.social
 

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

10
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

 

posting for mod

 
2
mod post, please ignore (lemmy.douwes.co.uk)
submitted 1 year ago* (last edited 1 year ago) by thomas@lemmy.douwes.co.uk to c/zfs@sh.itjust.works
 

Just adding my main account as mod

1
mod post, please ignore (lemmy.douwes.co.uk)
submitted 1 year ago* (last edited 1 year ago) by thomas@lemmy.douwes.co.uk to c/bedrock@sh.itjust.works
 

Just adding my main account as mod

17
Flag waver bot! (lemmy.douwes.co.uk)
submitted 1 year ago* (last edited 1 year ago) by thomas@lemmy.douwes.co.uk to c/vexillology@lemmy.world
 

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.

view more: next ›