News for hackers. Stuff that matters.
Re:Show HN: Algojammer – an experimental Python code editor ... by ChrisKnott on Sunday October 28, 2018 @01:25PM (#18321712)
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 - 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/

Re:Show HN: Algojammer – an experimental Python code editor ... by svat on Monday October 29, 2018 @05:18PM (#18331591)
This 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/)? 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 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. :-)

Re:Show HN: Algojammer – an experimental Python code editor ... by chillee on Monday October 29, 2018 @07:34PM (#18332651)
Have 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.

Re:Show HN: Algojammer – an experimental Python code editor ... by Folcon on Monday October 29, 2018 @07:22AM (#18326517)
Really nice, I'll be dropping this around a few people I know getting into python, any good way of passing on feedback? Github issue?
Re:Show HN: Algojammer – an experimental Python code editor ... by ChrisKnott on Monday October 29, 2018 @01:30PM (#18329299)
Yeah 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.
Re:Show HN: Algojammer – an experimental Python code editor ... by codetrotter on Monday October 29, 2018 @03:49AM (#18325678)
Excellent work, and good demo video!
Re:Show HN: Algojammer – an experimental Python code editor ... by softinio on Sunday October 28, 2018 @11:13PM (#18324792)
I really like this. Awesome work. Will have a play with it when I get a chance for sure.
Re:Show HN: Algojammer – an experimental Python code editor ... by padiyar83 on Sunday October 28, 2018 @11:36PM (#18324880)
Good work man ! Really love this, will try it out. This looks really fun. Thanks for sharing.