thomas

joined 2 years ago
MODERATOR OF
[–] thomas@lemmy.douwes.co.uk 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?

[–] thomas@lemmy.douwes.co.uk 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?

[–] thomas@lemmy.douwes.co.uk 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.

[–] thomas@lemmy.douwes.co.uk 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?

[–] thomas@lemmy.douwes.co.uk 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.

[–] thomas@lemmy.douwes.co.uk 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

[–] thomas@lemmy.douwes.co.uk 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

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

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

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

I just grep'd the nginx access log for the lemmy.world IP address and looked at the access times. you can see if it's timing out is the response code is 400. sadly ~57% of the requests are currently timing out today. it seems to work for a bit then time out for about 10 minutes, at least there is some coming through now, before the requests had stopped completely.

lemmy.ml is also back in my logs. yay
lemmy.ml is almost perfect on the timeouts, so they must have managed to fix it.

[–] thomas@lemmy.douwes.co.uk 5 points 2 years ago* (last edited 2 years ago) (2 children)

It's only been a few minutes but I'm seeing non timing out federation in my nginx access log. Hopefully it keeps working.
Also at least on my instance, lemmy.ml has completely broken, I'm not getting anything from it at all anymore. it dropped out at 13:52:22 and besides a couple few messages it's been silence since then. It seems to be working on lemmy.world so I'm not sure what's causing that.

[–] thomas@lemmy.douwes.co.uk 59 points 2 years ago* (last edited 2 years ago) (4 children)

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.

[–] thomas@lemmy.douwes.co.uk 1 points 2 years ago

Why does The Register get paid? /s

20
Flag waver bot! (lemmy.douwes.co.uk)
submitted 2 years ago* (last edited 2 years 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.

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

 
 

Sry for using imgflip, I'm lazy

 

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: ‹ prev next ›