top | item 3384133

Show HN: Codecademy Labs, the easiest way to write, run, and share code online

83 points| zds | 14 years ago |labs.codecademy.com

22 comments

order
[+] mesher|14 years ago|reply
It's definitely a neat idea, but as a Python and JavaScript coder, I don't know how much I would actually use it.

For Python, my code tends to rely heavily on modules that aren't found in the Python standard library, which is limited when you're using a REPL that only has vanilla Python.

For JavaScript, code that I show tends to be more oriented to DOM manipulation rather than the console, so maybe that could be something that could be implemented?

That said, this is probably best for teaching novice programmers, which seems to be the goal anyway with Codecademy. :)

Keep up the great work, I really find what you guys are doing to be a huge contribution to education.

[+] zds|14 years ago|reply
Thanks for the feedback! It's for newbie programmers for now, but check back soon for some more updates ;)
[+] mrleinad|14 years ago|reply
Really cool, although the line "You're running Ruby version 1.8.7" right after it was deprecated in the latest rails beta is a bit of a downer.. but still really cool!
[+] amasad|14 years ago|reply
Its all running in your browser. So we actually compile the interpreters to JS using emscripten. We're working on ruby 1.9.3 and Python 3. And will hopefully be out soon.
[+] jrubinovitz|14 years ago|reply
I like this a lot. I would love to be able to code in the same online terminal with someone (I'm teaching someone Python right now and she's overseas), but I know collaborative editing is a whole different beast. I may even shoot it over to some professors in case they want to use it. It's better than taking a few minutes to boot up IDLE and can get people coding on the first day without having to teach them about the terminal first.
[+] zds|14 years ago|reply
Glad to hear it. The one thing you can do with your friend overseas is share sessions (check out the share button in the upper right hand corner). Let us know if you have any other suggestions!
[+] neilparikh|14 years ago|reply
Quick question: Did you use the http://repl.it editor? Just wondering because it looks really similar.
[+] amasad|14 years ago|reply
repl.it co-creator here. Yes its powered by the repl.it open-source project but more features will be built on top of it and would be integrated with other codecademy products. I just joined codecademy and I'm particularly excited about how much it would help advance repl.it as an open source project.
[+] anrope|14 years ago|reply
Just to be a jerk (not really, but sort of), I did:

  while True:
      print "foreverrrrr"
Of course it looped quite persistently, and then proceeded to ignore my ctrl+c's. Any chance you could catch those to kill a runaway program?
[+] amasad|14 years ago|reply
Yes, but may envolve loosing state. Will push a fix sometime this weekend. Thanks!
[+] jimminy|14 years ago|reply
It would be nice if you had a link to sign in on the page. You have 3 links to register on the page, but not one to sign in if you already have an account.

Edit: Apparently, it's not actually connected to Codecademy that way, as far as I can see. Why not?

[+] zds|14 years ago|reply
Thanks - we're working on integrating everything a bit more tightly!
[+] justinmares|14 years ago|reply
This is really cool. Can't wait for the Python lessons to come out!
[+] pitt1980|14 years ago|reply
codecademy.com and codeacademy.com two different entities?

thats confusing as hell, I feel like one of those should have realized the other existed and branded their product differently

[+] ashishg|14 years ago|reply
Great work evolving the product from where it was a few months ago!
[+] captainaj|14 years ago|reply
For ruby it would be nice if gems can be used as well.