Re:Show HN: SharePad.io – A collaborative code editor and co...
by yufw on Friday January 01, 2021 @05:14AM
(#25602196)
It certainly has less feature than repl.it, for example, it does not have interactive repl. It runs in the cloud, in docker containers.
Re:Show HN: SharePad.io – A collaborative code editor and co...
by aol1306 on Friday January 01, 2021 @08:26AM
(#25603092)
Do you have any abuse prevention mechanisms implemented? For instance, preventing users from running infinite loops, consuming too much resources and so on?
I built a similar service as a personal project and I am interested how to properly handle situations like that.
Re:Show HN: SharePad.io – A collaborative code editor and co...
by yufw on Friday January 01, 2021 @09:05AM
(#25603325)
Yes, currently the execution time is limited to 10s and 10s compilation time for compiled languages. Memory limit is 256M. It runs user code in docker container, I leverage docker for restricting resources, more info at https://docs.docker.com/config/containers/resource_constrain...
Re:Show HN: SharePad.io – A collaborative code editor and co...
by FrozenVoid on Friday January 01, 2021 @07:14AM
(#25602735)
repl.it requires registration.
Does it run Python locally in the browser or in the cloud?