Hacker Newsnew | past | comments | ask | show | jobs | submit | therepanic's commentslogin

As a 17 year old, I agree with this. Ofc I'm against all the hate directed at PG, I believe that all knowledge has value regardless of its economic utility, but I understand where the hate is coming from. Personally, I find LLMs boring for now, and I'm more focused on CS and electrical engineering.


This backend effectively does exactly that.


nope, this is doing something entirely different https://github.com/engineer-man/piston/blob/master/api/src/j...


Because it's fun!


In our tests we don't store any metadata other than the ID and the title, and to be honest, I think that's beyond the scope of this project.


LeetCode problems are usually added after each contest, and as far as I know their statements generally don't change afterward at least the actual problem itself doesn't.

As for test cases, there are occasionally solutions that are technically incorrect but still pass because a particular edge case isn't covered. We maintain our own test cases, including a DSL for writing large stress tests, and try to cover all possible cases.

In the worst case, a solution might pass our local tests but fail on LeetCode. I expect such cases to be rare and one of the benefits of having the tests open is that when someone finds a missing case, it can be added so nobody else runs into the same issue.


I love open source and open systems in general. Popular competitive programming platforms aren't like that: not only is their source code closed, but they also don't publish the test cases used to evaluate submissions.

There are already projects that can submit your solutions through the LeetCode API and return the results. But I don't really like that approach, so I decided to build an open set of tests that aims to match the quality of LeetCode's tests as closely as possible. This way, you can run everything locally, without needing for example, an internet connection.

I see the project being useful for its most straightforward purpose: testing your solutions locally on your own hardware, without any submission delays and even completely offline. Since the tests are open, people can also build different tools around them. For example vim extensions and other integrations. Ofc it's not that simple, we currently support about 1400 problems (out of 4000~, including premium), and not all topics are covered.


Even at these prices, switching from subsidized subscriptions to the API just isn't worth it. Not even close.


You don't have to preface every criticism by saying you're a huge AI proponent. EVERYONE overdoes this.


neovim


I like using my mouse


set mouse=a


neovim is ugly


Emacs then? :)


So what should newcomers do who haven't yet gained enough expertise to ask LLMs the right questions?


Newcomers have to do exactly the same what they did years and years ago. Practice the craft and gain experience by doing things.

And the craft is loose term, it can mean anything you like to get better at.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: