I've looked through a few of the questions about the licensing of posts on SO, but haven't found any really satisfactory answers. Can an answer be used in an open source project (with an MIT license)? I'm not looking to simply cut and paste, because I would need to modify the snippet to suit my project and also because the answer is in a different programming language. Also, if the answer can be used, how should it be credited? Should it just be a link to the SO page? Should it include the user name? Should the user be contacted?