14

This question led me to ask this Meta question.

When I started to flag it as off-topic, the nearest reason was: "Blatantly Off-Topic (this question has nothing to do with programming)".

I wouldn't say it has nothing to do with programming but there is "programmers.stackexchange.com", so I thought it would be a better fit there, but wasn't sure.

So, are questions like this one "on topic" or "off topic". If they are off topic, are they suitable for programmers.stackexchange.com?

1
  • There might be any number of reasons why that question is off-topic, but the fact that it is about an algorithm is not one of them. See here, second bullet.
    – Robert Harvey Mod
    Commented Mar 22, 2015 at 13:39

1 Answer 1

18

Its subject matter is on-topic, as Robert Harvey mentioned. From the Help Center (emphasis mine):

Stack Overflow is for professional and enthusiast programmers, people who write code because they love it. We feel the best Stack Overflow questions have a bit of source code in them, but if your question generally covers…

  • a specific programming problem, or
  • a software algorithm, or
  • software tools commonly used by programmers; and is
  • a practical, answerable problem that is unique to software development … then you’re in the right place to ask your question!

So, the fact that it is about an algorithm is fine. The problem, however, lies in the presentation of the question, which goes wrong at around the second sentence:

I need an algorithm to tell me how to draw a graph as following : The graph must have the maximum number of triangle faces. Edges must not cross each others (planar graph).

I need to know what is the name of the graph I want to draw, Then I need to know if there is a good algorithm or library to help me draw that.

Applicable close reasons:

  1. too broad – There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.
    • This question is asking for an algorithm to be given without showing any effort given to solve the problem.
  2. unclear what you're asking – Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.
    • This question is a request rather than a specific problem that needs fixing.
  3. Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
    • The asker says that s/he "need[s] a good algorithm or library to help me draw that," which is not a specific problem, but a request for an off-site resource.
4
  • 4
    Remember the "and" operator: [1] or, a software algorithm, or [3] and a practical, answerable problem that is unique to software development
    – Braiam
    Commented Mar 22, 2015 at 14:49
  • 1
    @Braiam ... and what do you mean? :) Commented Mar 23, 2015 at 12:14
  • 2
    Perfect analysis. Its not off-topic because its about algorithms, but it has a host of other problems. Commented Mar 23, 2015 at 18:34
  • 1
    I think the "host of other problems" got my attention, but then I thought about the programmers site and thought maybe it would be better off over there. Thanks for all the input.
    – TecBrat
    Commented Mar 24, 2015 at 19:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .