HNHacker News
TopNewBestAskShowJobs

anacrolix

408 karma · joined December 12, 2010

http://stackoverflow.com/users/149482/matt-joiner

[ my public key: https://keybase.io/anacrolix; my proof: https://keybase.io/anacrolix/sigs/kUK6TgSm1j2aqELh40B8-WDAv4EeekY8_Us1cbSkS_U ]

submissionscomments
anacrolix··on Microsoft is killing Skype
I don't buy it. DHT systems have mechanisms to handle hotspots in the network.
anacrolix··on Boris Spassky: 1937–2025
gg
anacrolix··on A DOGE staffer appears to be posting DOGE work on his public GitHub
Well I can tell you the Python code was written with the help of an AI
anacrolix··on Microsoft is killing Skype
This. The tech works and is great. But it's not in the interests of the megacorps that took over from 2008ish onwards.
anacrolix··on Introducing a terms of use and updated privacy notice for Firefox
People really don't get it.

I'm simplifying: Stallman told us that free software was the only way. ESR said open source was the way with business in mind.

We've ended up with businesses taking advantage of open source. The slew of licence changes to not compete, having special paid versions, and generally shitting on the open source community.

The only thing free, is the labour companies are exploiting.

anacrolix··on Distributed systems programming has stalled
I've been trying to explain this to people for 8 years. All of our existing languages side step the problem. Developers are writing distributed systems every day but seem oblivious to the fact their tools aren't helping at all.
anacrolix··on Introducing a terms of use and updated privacy notice for Firefox
We're entering the end days now. Stallman showed us the light and then ESR closed the blinds.
anacrolix··on Show HN: I created a language called AntiLang – breaking all the conventions
Yes!! postfix gang
anacrolix··on Framework's first desktop is a strange–but unique–mini ITX gaming PC
It sounds fantastic. What are the power draw and noise profiles like? If it's noisy, are there passive cooling options?
anacrolix··on Framework's first desktop is a strange–but unique–mini ITX gaming PC
I've been building mini ITX systems since 2013, trying to accomplish what they've done. It's a kickass form factor. All in one systems like this are wicked, and they've pushed for modularity too, which is the reason to do this rather than a laptop or enterprise product (not Framework laptops tho, which is their draw too). Very excited.
anacrolix··on Building a BitTorrent client from the ground up in Go (2020)
There's a less commonly known feature of NAT (maybe called cone NAT or something), where the remote endpoints are not checked for incoming packets and connections. You communicate with trackers and DHT and as usual your outbound packets are mapped to some port. But everyone use sees your public IP and port and talk about your client using that pair. They then also communicate with you over UDP to your public port. As long as you have regular outbound traffic running through that mapping, NAT will keep the hole alive. I think with testing I found at least half of people on NAT had this. It's less common on mobile and fibre.
anacrolix··on Building a BitTorrent client from the ground up in Go (2020)
I had a super seeder implementation that seeded over 400k torrents simultaneously using some fancy callbacks at certain points in the protocol.

If this is actually a common use case, I can resurrect it into a usable form for the public if there's interest or funding. https://github.com/anacrolix/torrent

anacrolix··on Building a BitTorrent client from the ground up in Go (2020)
There's only a handful of actually complete ones. A few it's surprising they even work, they're crazy complicated, and weird, but once they're stable they need very little maintenance. They're all also written in very different styles due to a mix of C/C++ and very high concurrency.
anacrolix··on Building a BitTorrent client from the ground up in Go (2020)
The other answers are correct about only needing a single peer among any pair of peers to be addressable.

However there is a built-in hole punching mechanism in BitTorrent where peers ask for a third peer to assist in hole punching.

It's implemented in my client. It was very painful to implement. I think someone privately funded the feature which was very nice.

anacrolix··on Building a BitTorrent client from the ground up in Go (2020)
Yeah I believe WebRTC connections use stun/turn. The feature was contributed and just has a static list somewhere that works fine.
anacrolix··on Building a BitTorrent client from the ground up in Go (2020)
Amen.
anacrolix··on Building a BitTorrent client from the ground up in Go (2020)
See my other comments, but my client fully supports Webtorrent and webtrackers.

Not much support for port forwarding.

IPv6 definitely works.

Download order is handled by providing readers directly into torrent data and using that for prioritization. So basically request what you need when you need it. No arbitrary list of algorithms.

anacrolix··on Building a BitTorrent client from the ground up in Go (2020)
My client anacrolix/torrent has most of that, including streaming, hybrid, v2, all trackers and protocols.

I don't do much port forwarding, it's too fiddly. I think I provide upnp out of the box and few other variants that were contributed.

I also have all the DHT extensions, like mutable torrents and get/put etc.

Large torrents do pop up occasionally, but it's been a long time since someone found a performance issue there but it used to happen every few months. Lots of optimisation.

GitHub.com/anacrolix/torrent

anacrolix··on Building a BitTorrent client from the ground up in Go
See my other comment, good seeders carry most of the network these days. Upload bandwidth has become huge since BitTorrent first debuted so true P2P for resource reasons is not really a necessity anymore.
anacrolix··on Building a BitTorrent client from the ground up in Go (2020)
For the regular case, 5-10 seeders will hold up an entire torrent indefinitely and without any issues. The contribution leechers make drops off very quickly if good seeders exist.

My algorithm did favour the best peers (both upload and download) but a few years ago switched to a "seeded" ordering to prevent bad behaviour clients dumping or starving new peers.

The garbage uploaders are not an issue. You can isolate peers to pieces and remove them with certainty, or use a technique called smartban which uncovers bad peers very quickly.

anacrolix··on Show HN: Willpayforthis.com – Ideas people will pay for
fuck way to make me the product lol.
anacrolix··on Suckless.org: software that sucks less
Noice
anacrolix··on AI killed the tech interview. Now what?
thank fuck. they are terrible. being interviewed by CTOs just out of university, with no experience for a senior in everything role. they ask you to do some lame assignment, a pet problem not once looking at 20 years of GitHub repos and open source contributions.
anacrolix··on BleachBit is a free and open-source disk space cleaner
wat
anacrolix··on Valve releases Team Fortress 2 game code
oh that's lame :(
anacrolix··on Go 1.24
"We're special. Hmm, okay that didn't work". Every Go feature.
anacrolix··on Javier Milei backtracks on $4.4B memecoin after 'insiders' pocket $87M
This is why we can't have nice things.
anacrolix··on Ask HN: Struggling to Understand DHTs – Any Good Resources?
No, that's because DHTs already work but nobody actually wants them. Then you pretend there's a technical reason to work on DHTs more because you can't deliver your main product.
anacrolix··on How Not to Implement a DHT
I started this as an explanation of why most people implement bad DHTs and it evolved into an explanation of how they work.
anacrolix··on Ask HN: Struggling to Understand DHTs – Any Good Resources?
https://blog.anacrolix.link/posts/how-not-to-implement-a-dht...
← PreviousPage 3 of 15Next →