What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

I see quite a few interesting questions on Stack Overflow where some basic interactive demos could add to the text/code explanations.

For example, for some Processing related questions, and even some ActionScript related related ones, an interactive demo could help reduce text and image usage.

I imagine for questions like this, having the option to mark code as an

'Active Code Sample'

and run it through ProcessingJS would be fun.

On ActionScript related questions, I admit this might be stretch, since a lot of people disable Flash by default and some hate it, but maybe embedding demos written on wonderfl might help questions/answers.

Just a thought.

Opinions?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Sounds like way too much work for a way too small subset of applicable questions. It also adds a number of security and privacy issues.

I think this should be solved by linking to some external service like JSFiddle. I don't know whether such a service exists for Actionscript samles.

share|improve this answer
    
I imagine either sketches could be saved in a 3rd party location like hascanvas.com or sketchpad.cc , sandboxed to prevent any dodgy behaviours. Regarding actionscript, wouldn't wonderfl.net be somewhat equivalent ? Otherwise, I don't fully understand. –  George Profenza Dec 5 '10 at 16:59
    
@George I don't see the point of having this somehow embedded in SO's content - it's so easy to just link to it, isn't it? –  Pëkka Dec 5 '10 at 17:59
    
You're right, it could just be a link. I was thinking it might be easier to keep altogether somehow, you wouldn't need to have two windows: one for the explanations, and one for the demo side by side or switch between them, it would all be an integral part of an answer...then again it might be little things people wouldn't be annoyed with, right ? –  George Profenza Dec 5 '10 at 19:11
    
@George I think so. It would add a lot of complexity to an otherwise very simple system. Mind you, I don't think it's a bad idea in itself... But this is better done externally I think –  Pëkka Dec 5 '10 at 19:51
    
I think I understand...the 'cost' of implementing this for everyone vs. the benefit for the situations where it would be helpful vs. sticking to the minimal/clean current implementation. Thanks for clearing things out. –  George Profenza Dec 5 '10 at 22:27
    
@George I'm just a user, so this is just my 2 cents of course. But I'm relatively sure the team's stance is going to be very similar in this case –  Pëkka Dec 5 '10 at 22:28

That sounds like a great idea. ProcessingJS would be a good idea. Let's do it.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .