This is great, but it really needs some security improvements. (file->string "/etc/passwd") works fine, as does (system "rm /tmp/try-racket/main.rkt")
John Clements <cleme...@brinckerhoff.org> writes: > On Apr 24, 2013, at 4:16 AM, manu d wrote: > >> Hello >> >> I got my web-based Racket tutorial off the ground. >> >> You can find it here: https://github.com/voila/try-racket >> >> It's still rough around the edges, but it is now possible to go through the >> tutorial 'Quick: An Introduction to Racket with Pictures'. >> >> Note that there's a few things missing from the original tutorial: >> >> - in the 'Lists' section, I omitted this snippet: (list (circle 10) (square >> 10)) >> At the moment, I can only display single images. >> >> I've also omitted the section on objects, as it uses Racket’s GUI. Maybe >> someone can come up with some alternative content for this section. >> >> Help, suggestions and bug reports, welcome ! > > I TOTALLY LOVE this project. > > First: I'd really like to use this as a supporting or primary resource in my > intro-to-programming class this fall. > > Second: have you thought at all about how hard it would be to bundle this as > an executable runnable on, say, Windows? I know it seems really perverse to > create a web-based service and then run it all client-side, but it looks to > me like this might be the easiest path to distributing the workload. My > recollection is that in the past, it's been hard for Windows users to run > apps that serve web pages locally, but perhaps things are easier now. > > Thanks again for this work: I can't wait to see how it develops! > > John > > >> >> Thanks >> >> Manu >> ____________________ >> Racket Users list: >> http://lists.racket-lang.org/users > > ____________________ > Racket Users list: > http://lists.racket-lang.org/users ____________________ Racket Users list: http://lists.racket-lang.org/users