lovelace-engine
Judge0 API
lovelace-engine | Judge0 API | |
---|---|---|
1 | 10 | |
23 | 2,167 | |
- | 5.2% | |
0.0 | 7.3 | |
over 1 year ago | 14 days ago | |
Python | HTML | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lovelace-engine
-
Show HN: Science and math flavored programming problems for beginners
The code gets uploaded to the server which sends it to an "engine" sitting in a Docker container. The engine generates test cases and send them with the code to another Docker container where the code is run. Then the output from your code is sent back to the engine which checks to see how many test cases you got correct before sending all the information back to your browser.
You can check out the engine code on GitHub if you're interested in the details: https://github.com/project-lovelace/lovelace-engine
Judge0 API
-
Why would you use the code interpreter?
There are services like Judge0 which you can use to execute the code in a sandbox. Just send a code as a string and get a result back. You can either use their cloud offering or deploy the container yourself (it is opensource). https://github.com/judge0/judge0
-
Judge0 URL is not accessible
I'm trying to run a local version of the Judge0 compiler, but I can't seem to access it.
-
Storing untrusted client-provided code in a database
I have a front-end app which exposes a code editor where the user can provide some code and it will be compiled and executed using judge0 (so not on my server). I would like to be able to save the code created by a user, but I'm not sure of the best route to do this. My initial thought was to save the code as a string in a database, passing through my back-end which could potentially have some sanitizing methods to try and minimize any danger with this. However, I'm not sure how practical/feasible it is to try and sanitize code - has anyone attempted to do this previously or have experience in this domain?
- Built a website for practicing Python
-
Any idea on how to built a code compilation system that can be deployed online or if there exists one already that can be used.
You can deploy Judge0 Extra CE on your own servers for free. Here are the release notes that include the deployment procedure.
- Online compilers/interpretters for (python, go, etc)
-
Creating(or importing) a Code Sandbox or an online IDE to be used in a Django website.
https://judge0.com/ to run the code, you can can host it on your server for free or use their api.
- Gitlab servers are being exploited in DDoS attacks in excess of 1 Tbps
-
run code in django
A signal gets called which gets sent over Django Channels (but you can probably use an mq or something for this) which notifies a microservice that is responsible for sending and receiving submissions to an instance of https://judge0.com/
-
Let’s Deploy our Online Code Executor in Google Cloud
wget https://github.com/judge0/judge0/releases/download/v1.12.0/judge0-v1.12.0.zip unzip judge0-v1.12.0.zip
What are some alternatives?
cp-tool - cp-tool is an auto generator for solved problems at different online judges.
Code-Server - VS Code in the browser
judge-server - Judging backend server for the DMOJ online judge.
Zalenium - A flexible and scalable container based Selenium Grid with video recording, live preview, basic auth & dashboard.
online-judge - A modern open-source online judge and contest platform system.
Codiad - Web Based, Cloud IDE
Koding
RequestBin
RStudio Server - RStudio is an integrated development environment (IDE) for R
Gitpod - DEPRECATED since Gitpod 0.5.0; use https://github.com/gitpod-io/gitpod/tree/master/chart and https://github.com/gitpod-io/gitpod/tree/master/install/helm
JupyterLab - JupyterLab computational environment.
RegExr - RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.