sarp

Joined 18 years ago

Karma
71
Submissions
29
Member since
Sep 17
contact: hi at sarp.me
View on Hacker News

Recent submissions

Comment · 1 year ago
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!

Comment · 2 years ago
Comment · 3 years ago
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!
Comment · 3 years ago
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

Comment · 3 years ago
Comment · 3 years ago
I'm not an employee of Codecrafters. I worked with them for the BitTorrent challenge as an independent contractor.
Comment · 3 years ago
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!

Comment · 3 years ago
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.
Comment · 4 years ago
Could it be because dark chocolate has caffeine in it?
Comment · 4 years ago
any tips on how to find part time work?
Comment · 7 years ago
I don't see Turkey on the list :(
Comment · 14 years ago
Thank you so much for this! I wanted to try it out for a long time, but was waiting for a discount. It was a no brainer at $49 :)
Comment · 15 years ago
I find it easier to get into the zone after morning exercise.
Comment · 15 years ago
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

Comment · 15 years ago
Read only? Disappointed

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton