Hot answers tagged

18

The general philosophy on SE is that answers should include everything needed in order to understand them. Sending people elsewhere for their answer should always be avoided. That way, even if the rest of the internet is destroyed and only SE survives, the answers will still be available. So, personally, I feel that code should always be posted in the answer ...


12

There's a special syntax for searching in code blocks. Search for code:"mate-disk-usage-analyzer" and your answer is the only hit:


11

I strongly believe answers on AU should be self-contained, complete and independendly usable. External links can be useful to add interesting stuff, to link to a more advanced version of the script or a possible ppa, but the answer should still work without. Scripts, why not (only) post elsewhere? If you post an answer to my question with a script, I want ...


10

First, have a look to see if the material from the comments has already been added to the post by an edit. If it has, you can flag the comments as no longer needed. Small single line pieces of code can be edited into the post by you. If you need to suggest an edit, you can put in the edit summary something like "added information given by OP in the ...


7

All post content is available under CC-BY-SA. But I disagree slightly with the spirit of muru's post. You can add additional licenses to your posts. If a post declares its content to be available under an additional license, that is just dual-licensing. The reader can choose between the stated on and CC-BY-SA. This is just the same concept as if the writer ...


6

Just edit the comment into the question yourself. If you don't have enough reputation to edit, just suggest an edit and explain that you are copying information from the comments. Moderators don't have any better tools than you do, so it is just as hard for them as it is for us. Yes, mods can edit comments, but here the idea is to add the comment to the ...


5

As a normal user of Ask Ubuntu , I would love to see complete answer here instead of GitHub. Assume a situation you have renamed your repo name and that code you have there will answer some question at Ask Ubuntu , do you have enough time and memory to remember all those answer what you pasted and correcting with proper repo name in each post ? I am just ...


3

As I realize the strong preference to keep the answer complete without relying on external links, I propose this IMO reasonable compromise: The answer on Ask Ubuntu should directly contain at least a minimal working version of the script that solves the problem and meets the OP's requirements. Additionally, the answer can contain a link to an external ...


1

In disagreement with externally-linked scripts, custom-built for an answer: consider the user model of SE: Anyone comes to the site with a question Optionally creating an account, they ask a question Getting answers convinces user to get an account to engage With an account, the user can interact almost-completely with the site (with more complete features ...


1

As I have already explained my pro GitHub arguments in the question, I'm going to rebut the con arguments I mentioned here: Answer does no longer directly contain all relevant information, one could argue that it is a link-only answer. I say this is not true because all answers that advice installing a software X from anywhere would then be link-...


1

All content posted to Stack Exchange, including code, is licensed CC-BY-SA. If you "declare" another license on your post, and that license is incompatible with CC-BY-SA, you're in violation of Stack Exchange's terms of service. CC is not a good license for code, but it is what it is. ... then person B steals it and publishes it as if they were the owner ...


Only top voted, non community-wiki answers of a minimum length are eligible