Better HN
topnewbestaskshowjobs
Log inSign up

sarp

71 karma · joined Sep 17, 2008 (18y ago) · 29 submissions

contact: hi at sarp.me
Submissions

comment 1y ago · link · parent

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 2y ago · link · parent

Looks like react query builder: https://react-querybuilder.js.org/

comment 3y ago · link · parent

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 3y ago · link · parent

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 3y ago · link · parent

My starting point was searching for tutorials and asking ChatGPT to implement a torrent parser :) There are great blog posts [0] for building a BitTorrent client. Along the way, I referenced open-source implementations and the BitTorrent Protocol Specification as well [1].

[0] https://blog.jse.li/posts/torrent/

[1] https://www.bittorrent.org/beps/bep_0003.html

comment 3y ago · link · parent

I'm not an employee of Codecrafters. I worked with them for the BitTorrent challenge as an independent contractor.

comment 3y ago · link · parent

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 3y ago · link · parent

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 4y ago · link · parent

Could it be because dark chocolate has caffeine in it?

comment 4y ago · link · parent

any tips on how to find part time work?

comment 7y ago · link · parent

I don't see Turkey on the list :(

comment 14y ago · link · parent

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 15y ago · link · parent

I find it easier to get into the zone after morning exercise.

comment 15y ago · link · parent

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 15y ago · link · parent

Read only? Disappointed

comment 15y ago · link · parent

Database Error

comment 15y ago · link · parent

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?

comment 15y ago · link · parent

Which technologies do you use at youDevise?

comment 15y ago · link · parent

Great job, tried the single player, it was very slow on Safari and the AI couldn't beat me :)

comment 15y ago · link · parent

After OAuth, it couldn't retrieve my twitter username/picture, displayed them as null.

comment 15y ago · link · parent

I caused/discovered a bug :) http://captainobvio.us/details/buy-twitter-handles

22.

Google Code Jam '09 Statistics(go-hero.net ↗)

1 points · by sarp · 17y ago · discuss

comment 17y ago · link · parent

This shows all urls on HN including images etc. whereas the original post demonstrates retrieving only linked articles

24.

Should You Go to Grad School? (Luis von Ahn)(vonahn.blogspot.com ↗)

1 points · by sarp · 17y ago · discuss

comment 17y ago · link · parent

Brilliant!

comment 17y ago · link · parent

Twitpay launched in 2 days during Startup Weekend in Atlanta

comment 18y ago · link · parent

It's funny, these are exactly the same lessons I posted on my blog from my experience at Atlanta Startup Weekend 2: http://sarpcentel.com/wp/10/lessons-learned-at-atlanta-start...

Don't choose an idea, choose a team!