In the body of your question, start by expanding on the summary you put in the title.+
diff --git a/index-lab.adoc b/index-lab.adoc index 3eec309..173b7fd 100644 --- a/index-lab.adoc +++ b/index-lab.adoc @@ -210,5 +210,28 @@ A *virtual private network (VPN)* extends a private network across a public netw -== http://http://docs.swarmlab.io/SwarmLab-HowTos/labs/faqs/faq.adoc.html[Frequently Asked Questions^] +== http://docs.swarmlab.io/SwarmLab-HowTos/labs/faqs/faq.adoc.html[Frequently Asked Questions^] + +== How do I ask a good question? + +[TIP] +==== +- Introduce the problem before you post any code + + In the body of your question, start by expanding on the summary you put in the title. + + Explain how you encountered the problem you're trying to solve, and any difficulties that have prevented you from solving it yourself. + + The first paragraph in your question is the second thing most readers will see, so make it as engaging and informative as possible. +Help others reproduce the problem + +Not all questions benefit from including code. But if your problem is with code you've written, you should include some. But don't just copy in your entire program! Not only is this likely to get you in trouble if you're posting your employer's code, it likely includes a lot of irrelevant details that readers will need to ignore when trying to reproduce the problem. Here are some guidelines: + +- Include just enough code to allow others to reproduce the problem. For help with this, read How to create a Minimal, Complete, and Verifiable example. +- If it is possible to create a live example of the problem that you can link to (for example, on http://sqlfiddle.com/ or http://jsbin.com/) then do so - but also copy the code into the question itself. Not everyone can access external sites, and the links may break over time. Use Stack Snippets to make a live demo of inline JavaScript / HTML / CSS. +- *DO NOT post images of code*, data, error messages, etc. - copy or type the text into the question. Please reserve the use of images for diagrams or demonstrating rendering bugs, things that are impossible to describe accurately via text. For more information please see the Meta FAQ entry Why not upload images of code/errors when asking a question? + +==== + + diff --git a/index-lab.adoc.html b/index-lab.adoc.html index 0ec1c7b..6723d9e 100644 --- a/index-lab.adoc.html +++ b/index-lab.adoc.html @@ -490,6 +490,7 @@ body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-b
+ + | +
+
+
+
+
+Not all questions benefit from including code. But if your problem is with code you’ve written, you should include some. But don’t just copy in your entire program! Not only is this likely to get you in trouble if you’re posting your employer’s code, it likely includes a lot of irrelevant details that readers will need to ignore when trying to reproduce the problem. Here are some guidelines: +
+
+
|
+