Re:LeetCode but You Can Force People to Code in Light Mode >:)
by net01 on Sunday February 23, 2025 @02:26PM
(#43152284)
have a look at this "https://github.com/INGInious/containers" -
open-source platform for secure and automated code assessment
Re:LeetCode but You Can Force People to Code in Light Mode >:)
by FabHK on Sunday February 23, 2025 @02:26PM
(#43152292)
In case it's your own project, I believe the convention is to prefix the title with "Show HN:".
Re:LeetCode but You Can Force People to Code in Light Mode >:)
by weebao on Monday February 24, 2025 @05:14PM
(#43165564)
Sorry I'm new here seems like I can only edit the title within 2 hours of posting. Thanks lots for telling me!
Re:LeetCode but You Can Force People to Code in Light Mode >:)
by conradkay on Sunday February 23, 2025 @04:06PM
(#43153218)
Neetcode uses/used judge0 for code execution but it might be overkill
Re:LeetCode but You Can Force People to Code in Light Mode >:)
by weebao on Monday February 24, 2025 @05:39PM
(#43165792)
Yea I knew about that but I wanted to learn how to build one my own :D
Re:LeetCode but You Can Force People to Code in Light Mode >:)
by metadat on Monday February 24, 2025 @11:38AM
(#43161544)
What were the challenges you encountered / tackled with creating a code runner?
Cool project!
Re:LeetCode but You Can Force People to Code in Light Mode >:)
by weebao on Monday February 24, 2025 @05:19PM
(#43165603)
Thanks! Creating a template for inserting the code would be one. Java has this type erasure thing where the types only appear after compilation so tweaking it around was hard. Spinning up the containers for each submission is slow but it ensures every submission is isolated.
The code is also open-source too at https://github.com/beatcode-official