News for hackers. Stuff that matters.

sarp

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!

Re:Show HN: IMDb SQL Best Movie Finder on Thursday November 07, 2024 @02:44PM (#42080134)
Looks like react query builder: https://react-querybuilder.js.org/
Re:Build Your Own BitTorrent on Thursday October 19, 2023 @05:34PM (#37949027)
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!
Re:Build Your Own BitTorrent on Thursday October 19, 2023 @05:13PM (#37948796)
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

Re:Build Your Own BitTorrent on Thursday October 19, 2023 @04:55PM (#37948604)
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

Re:Build Your Own BitTorrent on Thursday October 19, 2023 @04:28PM (#37948292)
I'm not an employee of Codecrafters. I worked with them for the BitTorrent challenge as an independent contractor.
Re:Build Your Own BitTorrent on Thursday October 19, 2023 @11:17AM (#37944067)
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!

Re:Build Your Own BitTorrent on Thursday October 19, 2023 @10:46AM (#37943632)
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.
Re:Getting hired after fifty on Saturday May 07, 2022 @05:45PM (#31298886)
Could it be because dark chocolate has caffeine in it?
Re:Ask HN: How to optimize your career for happiness? on Sunday December 19, 2021 @11:35AM (#29615290)
any tips on how to find part time work?
I don't see Turkey on the list :(
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 :)
Re:The Coding Zone on Sunday October 23, 2011 @04:13PM (#3147122)
I find it easier to get into the zone after morning exercise.
Re:VirtualBox is garbage on Friday October 07, 2011 @10:53AM (#3084224)
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

Re:Getting Started on the Google+ API on Thursday September 15, 2011 @05:56PM (#3002278)
Read only? Disappointed
Re:Command line tools for web developers on Saturday August 13, 2011 @09:32AM (#2880937)
Database Error
Re:Building Lanyrd on Friday August 12, 2011 @08:53AM (#2877033)
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?

Re:Ask HN: Who is Hiring? (April 2011) on Sunday April 03, 2011 @05:18AM (#2402244)
Which technologies do you use at youDevise?
Re:Show HN: My 6 Weeks Project, MultiplayerChess.com on Wednesday March 30, 2011 @07:29AM (#2386698)
Great job, tried the single player, it was very slow on Safari and the AI couldn't beat me :)
Re:Show HN: CaptainObvio.us - a place to share ideas on Thursday March 24, 2011 @06:48PM (#2366348)
After OAuth, it couldn't retrieve my twitter username/picture, displayed them as null.
Re:Show HN: CaptainObvio.us - a place to share ideas on Thursday March 24, 2011 @06:39PM (#2366323)
Re:Using YQL to grab HN links on Sunday May 03, 2009 @07:23AM (#590782)
This shows all urls on HN including images etc. whereas the original post demonstrates retrieving only linked articles
Brilliant!
Re:Tipjoy (YC W08) now allows payments via Twitter on Thursday December 04, 2008 @09:40PM (#386522)
Twitpay launched in 2 days during Startup Weekend in Atlanta
Re:Lessons learned from a failed idea at Startup Weekend on Monday November 10, 2008 @10:57PM (#360195)
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!