4 ms·
Hi HN, I have had this project on the go for a while and have decided to put it out as-is because I can't forsee being able to complete it any time soon. For p
by ChrisKnott 8y ago
Hi HN,
I have had this project on the go for a while and have decided to put it out as-is because I can't forsee being able to complete it any time soon. For people who go straight to the comments, here's a video - https://www.youtube.com/watch?v=9XPE4uT0AdE https://www.youtube.com/watch?v=9XPE4uT0AdE - I have a very mumbly British accent but you should be able to get the gist of it...
The one line summary is - it's a "real" implementation of some of the demo GIFs in Bret Victor's "Learnable Programming" [0]
The original project goal was to create a "bicycle for the mind" that actually has a provably positive effect on people's performance in algorithm competitions like Google Code Jam/Facebook Hacker Cup. I don't think I got there, but I think there's enough stuff here to interest people on a Sunday afternoon...
Constructive criticism greatly appreciated, here or on Github issues page. If you are experienced with CPython (as in, experienced in contributing to the actual interpreter), then I would appreciate input on how to deliver the "recording" aspect of the project properly. The current implementation is very hacky.
[0] http://worrydream.com/LearnableProgramming/ http://worrydream.com/LearnableProgramming/
- codetrotter 8y agoExcellent work, and good demo video!
- Folcon 8y agoReally nice, I'll be dropping this around a few people I know getting into python, any good way of passing on feedback? Github issue?
- ChrisKnott 8y agoYeah probably GitHub is best. As I've said elsewhere, little bit burnt out atm but will be looking to start afresh at some point probably next year incorporating as many suggestions as possible.
- svat 8y agoThis is fantastic, and revolutionary — redefines what a debugger / programming environment should be. Thanks for making it. (I had a vague idea to do something similar for a specific program that has a reputation for being hard to debug (TeX); will definitely look to your code for inspiration.) Have you looked at Python Tutor (http://www.pythontutor.com/ http://www.pythontutor.com/)? That's another excellent project that has some overlap — e.g. you may look at its insertion sort example (go to http://www.pythontutor.com/visualize.html http://www.pythontutor.com/visualize.html click on "Show example code and courses" and click on "Insertion sort"). If you have looked at it and can summarize the differences in approach between your project and that one, it would be highly useful. Thanks for an inspiring project! This is so obviously the right way to do things that in hindsight it's a shame we're not already using it. :-)
- chillee 8y agoHave you considered posting this on www.codeforces.com? They have the biggest active community of competitive programmers, and I'm sure they'd find this fascinating. You'd also probably get a lot of good feedback from competitive programmers.
- softinio 8y agoI really like this. Awesome work. Will have a play with it when I get a chance for sure.
- padiyar83 8y agoGood work man ! Really love this, will try it out. This looks really fun. Thanks for sharing.