News for hackers. Stuff that matters.
Re:Show HN: Free Code Editor for Pair Programming with Compi... by munirusman on Thursday June 04, 2015 @01:25PM (#9660673)
Lol It's going crazy there!
Re:Show HN: Free Code Editor for Pair Programming with Compi... by asadlionpk on Thursday June 04, 2015 @01:36PM (#9660768)
somebody did while(true) in that html. Crashing everyone's browsers.
Re:Show HN: Free Code Editor for Pair Programming with Compi... by afgho on Thursday June 04, 2015 @03:25PM (#9661467)
i don't know the tech you are using but you can prevent that by running the code in a sandboxed worker, at least it won't crash, like https://github.com/asvd/jailed (i don't know how secure is that though)

anyway cool program

Re:Show HN: Free Code Editor for Pair Programming with Compi... by asadlionpk on Friday June 05, 2015 @05:25AM (#9664598)
Thanks. We are using compilebox[1] for languages which is sandboxed in Docker. But html is still rendered in everyone's browser. I am looking into solutions for preventing this.

[1]: https://github.com/remoteinterview/compilebox

Re:Show HN: Free Code Editor for Pair Programming with Compi... by it_learnses on Thursday June 04, 2015 @01:27PM (#9660692)
yeah we were making a shared todo list and somebody came in just killed it. I cant load the page anymore. good times :)
Re:Show HN: Free Code Editor for Pair Programming with Compi... by munirusman on Thursday June 04, 2015 @01:35PM (#9660758)
It's up again!