HNHacker News
TopNewBestAskShowJobs

sarp

71 karma · joined September 17, 2008

contact: hi at sarp.me
submissionscomments
sarp··on Show HN: Onit – Source-available ChatGPT Desktop with local mode, Claude, Gemini
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!

sarp··on Show HN: IMDb SQL Best Movie Finder
Looks like react query builder: https://react-querybuilder.js.org/
sarp··on Build your own BitTorrent
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!
sarp··on Build your own BitTorrent
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

sarp··on Build your own BitTorrent
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

sarp··on Build your own BitTorrent
I'm not an employee of Codecrafters. I worked with them for the BitTorrent challenge as an independent contractor.
sarp··on Build your own BitTorrent
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!

sarp··on Build your own BitTorrent
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.
sarp··on Getting hired after fifty
Could it be because dark chocolate has caffeine in it?
sarp··on Ask HN: How to optimize your career for happiness?
any tips on how to find part time work?
sarp··on Show HN: I built a site to compare fees and rates for sending money abroad
I don't see Turkey on the list :(
sarp··on $49 Personal Genome at 23andme (incognito windows until you get the best price)
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 :)
sarp··on The Coding Zone
I find it easier to get into the zone after morning exercise.
sarp··on VirtualBox is garbage
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

sarp··on Getting Started on the Google+ API
Read only? Disappointed
sarp··on Command line tools for web developers
Database Error
sarp··on Building Lanyrd
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?

sarp··on Ask HN: Who is Hiring? (April 2011)
Which technologies do you use at youDevise?
sarp··on Show HN: My 6 Weeks Project, MultiplayerChess.com
Great job, tried the single player, it was very slow on Safari and the AI couldn't beat me :)
sarp··on Show HN: CaptainObvio.us - a place to share ideas
After OAuth, it couldn't retrieve my twitter username/picture, displayed them as null.
sarp··on Show HN: CaptainObvio.us - a place to share ideas
I caused/discovered a bug :) http://captainobvio.us/details/buy-twitter-handles
sarp··on Using YQL to grab HN links
This shows all urls on HN including images etc. whereas the original post demonstrates retrieving only linked articles
sarp··on Introducing SelectorGadget: point and click minimal CSS selectors
Brilliant!
sarp··on Tipjoy (YC W08) now allows payments via Twitter
Twitpay launched in 2 days during Startup Weekend in Atlanta
sarp··on Lessons learned from a failed idea at Startup Weekend
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!