Hacker News new | ask | show | jobs
by gkbrk 1150 days ago
It's already a common practice to put a StackOverflow link as a comment when you copy code from them. It provides valuable context to future readers.

That's probably enough for attribution, but I suppose one could copy the author name as well.