Live data from Hacker News

StackOverflow Importer – Import code from Stack Overflow as Python modules

github.com

21–30 of 87 posts

Re: StackOverflow Importer – Import code from Stack Overflow as Python modules

#22
post #10

What a fascinating concept! I think that with some kind of review built in, this kind of dynamic loading would be really useful. I think if you do this, you'd want external tests, or some way to pull the code in and "freeze" it so that you wouldn't be at risk of external compromises. (For example, a high ranked SO user might be able to change a highly ranked answer . They might not do it, but someone suborning their…

I don't see this being useful for real programs, but it could be amazing for interactive use in a shell. I use iPython for all sorts of quick data manipulation daily, and being able to just quickly type an idea and get it would be amazing.

Re: StackOverflow Importer – Import code from Stack Overflow as Python modules

#25
post #4

Earlier quoted context omitted.

I think that's the point of this parody.

Sure, but even playing with this joke on a machine that has your personal or work data is a very stupid thing to do.

Do not do that then.

Re: StackOverflow Importer – Import code from Stack Overflow as Python modules

#26
post #22
post #10

What a fascinating concept! I think that with some kind of review built in, this kind of dynamic loading would be really useful. I think if you do this, you'd want external tests, or some way to pull the code in and "freeze" it so that you wouldn't be at risk of external compromises. (For example, a high ranked SO user might be able to change a highly ranked answer . They might not do it, but someone suborning their…

I don't see this being useful for real programs, but it could be amazing for interactive use in a shell. I use iPython for all sorts of quick data manipulation daily, and being able to just quickly type an idea and get it would be amazing.

You're right, maybe it is better for prototyping, but as I've experienced, for better or worse what you prototype sometimes becomes production.

Re: StackOverflow Importer – Import code from Stack Overflow as Python modules

#30

This is a really stupid idea, even as a joke to play with. Someone can just edit the top answer to make it malicious and steal your personal or work data from your workstation.

and then own your network, your DVR, your toaster, your cat.
Post reply on HN