HN user

sarp

71 karma

contact: hi at sarp.me

Posts2
Comments25
View on HN

Congratulations on the launch Tim, love the CMD + 0 shortcut and local model support. It's definitely something I'd use!

Bug report: cmd + 8 is behaving weird on my laptop, maximizing and minimizing several times (Mac OS Sonoma 14.5). Happy to provide more details!

Also, I'd expect pressing cmd + 0 to act like a toggle, to close it if it's already open (instead of needing to press escape), but maybe that's just me!

Looking forward to future work on this!

Hi Jon, challenge author here! First time watching your content, it was fun to see a Rust expert go through the challenge live. Saw the first hour, I noticed that during Bencode parsing, trying to find the most elegant way to implement it slowed you down a bit. (I also have this tendency and I'm sure having so many viewers doesn't help :)) Great progress by the way in 4 hours, hope you get to finish the challenge soon!

To limit the scope of the challenge, I had to leave out a lot of cool features you see in modern clients: magnet links, UDP trackers, DHT

I'm planning to add them over time starting with magnet links which is the highest voted extension idea right now

Hi! Sarp here, author of the Build your own BitTorrent challenge on Codecrafters.

Some back story: After being laid off from my FAANG job, I found myself very unmotivated to go back. I started looking for interesting programming projects to revive my interest in coding. While nomading, I discovered Codecrafters on Nomadlist and really liked the push code to git and pass different stages interaction. The gamification helped me focus and projects allowed me to go deeper on software I used (SQLite, Git, Redis etc.). I even picked up a new language (Go) to do the challenges with. After completing all the challenges on the site, I ran out of things to do. This is when I decided to build a BitTorrent client which was one of the highly voted ideas on the site.

I learned many new things by building a BitTorrent client: the BitTorrent protocol, how torrent files are structured, encoding issues, pipelining network requests, url encoding binary values, using Channels in Go etc.

I’d love any feedback on the challenge. Also happy to answer any questions!

Hi, course author here! You're right, this was left out initially to scope down the challenge (it's already quite long with 11 stages). We're planning to add it as a challenge extension, uploading is one of the highly voted challenge extension ideas by the community.

I agree that VirtualBox has problems.I was running Ubuntu on Mac OS X using VirtualBox because it was free, however it kept crashing constantly and didn't shut down properly.

I bought Parallels instead, and I am happy so far

Building Lanyrd 15 years ago

Could you elaborate on your read-only mode?

Is it only hiding functionality that would cause writes or is there more to it? Is it built into the application logic?