StackOverflow Importer – Import code from Stack Overflow as Python modules
31–40 of 87 posts
Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#32Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#33What 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…
Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#34Cool joke. Post leftpad it needs a disclaimer lest someone actually do this for real.
Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#35because executing arbitrary unknown code is always a good idea
Compare that to NPM or PyPI, which is full of crap. Some of the modules in PyPI were merely ads for putlocker, without even a single line of Python.
Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#36Cool joke. Post leftpad it needs a disclaimer lest someone actually do this for real.
I'm kind of shocked how many people here are talking as though they would actually include this in a codebase.
This isn't a joke.
Re: StackOverflow Importer – Import code from Stack Overflow as Python modules
#37What 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…