At some point, most (all?) of us have "borrowed" code from the interwebs to use in our own code and that seems fine. But is copy-pasting blocks of code from another blog and publishing it in one's own blog considered as plagerism? I see this fairly often. Thoughts?
-
-
I agree. But I would have to cite your repo. I guess best idea is to cite wherever you got code since you had to look it up.
-
Yeah. I link to StackOverflow comments when I use their functions, even though I know that like me they probably wouldn't care, I also don't wanna pretend I came up with their functions either.
-
That may be too extreme for my own practice, but then again, usually only a small snippet is relevant for me. That said, if a significant portion of my code was inspired by another code, I will cite even if it no longer looks like the original.
-
I'll show you an example where I link to SO. I took this whole function and put it in my code: https://stackoverflow.com/a/22376126
-
I definitely don't not use warnings.filterwarnings('ignore'), so good for you for caring about warnings


-
Really dangerous with pandas.
-
Not sure about "dangerous," but perhaps cumbersome. What dangerous issue(s) are you referring to? In any case, I was just joking. I add the ignore warnings at the end after I know the code runs.
-
I linked to it. Serious problems if you ignore SettingWithCopyWarning.
End of conversation
New conversation -
-
-
Not that I care, I put a CC0 for a reason. But CC0 doesn't mean you get to say YOU wrote it.
- End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.