thomas

joined 2 years ago
MODERATOR OF
[–] [email protected] 1 points 2 years ago* (last edited 2 years 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.

[–] [email protected] 1 points 2 years 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?

[–] [email protected] 1 points 2 years 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?

[–] [email protected] 1 points 2 years ago (6 children)

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

[–] [email protected] 3 points 2 years 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?

[–] [email protected] 10 points 2 years ago* (last edited 2 years 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.

[–] [email protected] 1 points 2 years ago

I replaced my old Pi and it's working fine. sadly the heat pads on my argon one have disintegrated in the process lol

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago)

There where some bits I didn't see before and I scratched the PCB a bit, does this look good?

EDIT: my phone did some weird things to the photo lol

[–] [email protected] 1 points 2 years ago

This Pi will just be a router, later I will run some DB stuff though so I'll get an SSD. I have another Pi I do some intensive Data stuff with and I have a sata SSD for that one.

[–] [email protected] 0 points 2 years ago (5 children)

Can I/Should I just scrape off the leftover blobs?

I didn't know I could boot from USB, thats cool. If It's booting to bootloader it's probably fine though right? I'm replacing an existing 2GB anyway so I'll see soon enough.

[–] [email protected] 0 points 2 years ago* (last edited 2 years 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

[–] [email protected] 3 points 2 years ago (1 children)

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

1
test (i3b.co)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

1
test (i3b.co)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

1
test (lemmy.douwes.co.uk)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 
 
2
mod post, please ignore (lemmy.douwes.co.uk)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

Just adding my main account as mod

1
test (lemmy.douwes.co.uk)
 

!wave

1
test (lemmy.douwes.co.uk)
 

!wave

26
Flag waver bot! (lemmy.douwes.co.uk)
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

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 [email protected] but not [email protected] 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

1
test (lemmy.douwes.co.uk)
 

!term1

view more: ‹ prev next ›