Live data from Hacker News

Build your own BitTorrent

app.codecrafters.io

51–60 of 136 posts

Re: Build your own BitTorrent

#51

I really like this idea! I wanted to leant Erlang some time ago and a friend wanted to learn Crystal, so we set out to be able to share files between each other with completely custom clients! It was so much fun when we were able to exchange files with the base protocol and some.. Is it call BEP? Enhancements tk the protocol? It's probably my favourite way of learning a new language, as it's simple enough to understa…

There's Crystal support on CodeCrafters too! You can Build your own Redis.

Re: Build your own BitTorrent

#52
post #6

As the years go on, I find there are fewer and fewer small project ideas that give me butterflies. But this is one! Hadn't heard of CodeCrafters before but I love how academic their challenge ideas are (eg build a DB). I'd love to see a compiler build in there too.

[deleted]

Re: Build your own BitTorrent

#53

Earlier quoted context omitted.

Most linux distributions have a rather robust mirroring operation. This is much faster than bittorrent. Lots of cloud vendors provide a mirror endpoint for traffic within their network, and ISPs typically also have them. The network is fast enough for lots of small files to not really justify it.

I think that hundreds of thousands of peer machines would be way faster than a few centralized repositories... right? It seems you would have essentially unlimited bandwidth.

[deleted]

Re: Build your own BitTorrent

#54
post #3

Earlier quoted context omitted.

It does say it only asks for your email (read) privileges tbf, but yeah I didn't bother either after that step.

I don't see why they can't present it as a simple list of blog articles with a link to the repository. It achieves the same thing without anyone knowing who I am.

Well, because codecrafters.io would love to see you as a paying customer: https://codecrafters.io/pricing

Re: Build your own BitTorrent

#55
post #6

As the years go on, I find there are fewer and fewer small project ideas that give me butterflies. But this is one! Hadn't heard of CodeCrafters before but I love how academic their challenge ideas are (eg build a DB). I'd love to see a compiler build in there too.

Build your own Interpreter is in the works! https://twitter.com/codecraftersio/status/168850373608654028...

Re: Build your own BitTorrent

#56

Earlier quoted context omitted.

Having done a couple of their courses without paying: You are expected to complete the project in steps they define (so for their Redis project, step 1 is to bind to a port, step 2 is to respond to a PING command, etc). If you choose not to pay, you can only complete one step per day, even if you submit code which would pass future steps. This can be quite frustrating, since each step is often very simple, and IMO di…

Do submissions have deadlines?

No deadlines!

Re: Build your own BitTorrent

#57
post #35

Earlier quoted context omitted.

They have some free tier and paid tier and I am not sure what is in what. https://codecrafters.io/pricing

Like GP I was also confused and tried looking for a pricing page but failed. Seems like there isn't a link to it from https://app.codecrafters.io/catalog which is the site you go to if you click the big CodeCrafters logo in the top left of the page. There is a "Subscribe" button which takes you to https://app.codecrafters.io/pay but I wasn't savvy enough to notice it or realize what it was. Only after starting a cour…

Thank you for pointing this out. It's not by design. We actually revised our marketing pages recently, and had a regression that got rid of the tooltip that explained what was free. We have a Linear task for fixing it back, but we weren't expecting this HN post today and so it wasn't the top of our list to fix :)

I've prioritised it now tho

Re: Build your own BitTorrent

#60
post #15

Is this BitTorrent course free (as beer)? I can see a neighbour course about HTTP server "free during beta".

Having done a couple of their courses without paying: You are expected to complete the project in steps they define (so for their Redis project, step 1 is to bind to a port, step 2 is to respond to a PING command, etc). If you choose not to pay, you can only complete one step per day, even if you submit code which would pass future steps. This can be quite frustrating, since each step is often very simple, and IMO di…

There's also this repo if you're keen on free resources: github.com/codecrafters-io/build-your-own-x
Post reply on HN