3 ms·
I work as an engineer at https://datacamp.com https://datacamp.com, and we run the code directly on a server, but I've always thought it would be interesting to
by closed 9y ago
I work as an engineer at https://datacamp.com https://datacamp.com, and we run the code directly on a server, but I've always thought it would be interesting to try building interactive programming exercises with Skulpt.
- peller 9y agoI've always wondered, how do you isolate/protect against people doing nefarious things in a setup like that?
- mikkom 9y agoVirtual machine is probably the most common solution.
- eah13 9y agoI'm a big fan of datacamp. You should definitely give this a try. It would be great to expand the reach of your lessons without the infrastructure overhead of every user hitting your server with their code. Hit up the skulpt dev listserve if you want some help. Or I'm at elliott@trinket.io. Plug: you could easily prototype this with Trinket embeds. Add #!/bin/python3 to the top of our Python (Skulpt) trinkets to get strict Py3 mode. Add data files via the + button (no directory support, so treat them as all in the local directory). Use the Share menu to get embed code. Paste. You've got your first interactive lesson. If your users like it, you can then decide whether and how to build skulpt in to the site.
- closed 9y agoThanks for the pointers, I'll definitely have to take another look at trinket.io! It would be cool to try some exercise submission + feedback with code highlighting all on the client side.