News for hackers. Stuff that matters.
Re:Glot.io – An open source multi-lang pastebin with runnabl... by 52-6F-62 on Wednesday January 22, 2020 @12:54PM (#22120063)
Cool. This is quite usable and seems really handy—it's really fast compared to some heavier online repls. (definitely a use case for me)

How is it set up? I was definitely able to crash an instance I was in as well as read from root, but seemed all it took was a reload of the page and it snapped right back in without any real startup wait.

*edit: I just saw that you posted the source code as well. I'll definitely be exploring!

Re:Glot.io – An open source multi-lang pastebin with runnabl... by dijit on Wednesday January 22, 2020 @01:22PM (#22120342)
Seems like he spins up a container on each run, so 'root' is not really 'root'. I'd be worried though, containers are not secure enough to run untrusted code.
Re:Glot.io – An open source multi-lang pastebin with runnabl... by maxmcd on Wednesday January 22, 2020 @02:19PM (#22120990)
yeah this setup seems to indicate it's just running regular docker: https://github.com/prasmussen/glot-run/blob/master/docker_se...
Re:Glot.io – An open source multi-lang pastebin with runnabl... by pdexter on Wednesday January 22, 2020 @02:21PM (#22121006)
It doesn't offer a repl as far as I've seen.
Re:Glot.io – An open source multi-lang pastebin with runnabl... by 52-6F-62 on Wednesday January 22, 2020 @03:02PM (#22121418)
You're right. Fudged terminology. It does read-eval-print, but not in an interactive loop.