-28

I came across this question: How should I calculate the average speed by road segment for multiple segments?

Which has attracted a straightforward "RTFM" answer... And that answer is wrong.

However, the correct answer requires a certain level of math understanding that may not be obvious from the question unless you already know the correct answer (namely, that averaging rates using the arithmetic mean produces incorrect results).

I've provided clarifying details in my answer, and also edited the question itself to illustrate a necessary understanding of the problem (which, I admit, the asker may or may not have possessed at the time he wrote it).

The question is otherwise complete; it identifies the problem and the expected outputs, complete with sample data for each.

I would like to draw attention to this question, and get your input on the situation: what else could I have done to save this question?

16
  • 7
    You can just vote reopening the question. No need to discuss each and every closed question here. Jan 15, 2016 at 9:15
  • 10
    The question wasn't necessarily closed because it is a "RTFM" question; it's rather that "here's what I want, how do I do this?" type questions with zero code or visible effort tend to be frowned upon. I'll happily chip in a reopen vote though
    – Pekka
    Jan 15, 2016 at 9:15
  • 9
    There is a single edit to the question, which changes the desired output, made by you. This isn't preceded by any conversation with the OP, as far as I can see. So you're arguing that OP doesn't know what they want, but you do, without asking them?
    – Drenmi
    Jan 15, 2016 at 9:19
  • 1
    Looks more like gimmetehcodez at the first glance. (Can't comment more, as I dunno bout sql) Jan 15, 2016 at 9:20
  • 1
    There is a mathematically correct way to average velocities that is not arguable, Both the OP and the close-voters missed it, that doesn't change the fact that the question is more sophisticated than it seems at a first glance
    – Uri Goren
    Jan 15, 2016 at 9:22
  • 11
    How exactly did you know the person was after the harmonic mean, given the lack of description in the question (and the fact that the harmonic mean was not what the sample output was)? Jan 15, 2016 at 9:23
  • Maybe each segment is a time not a distance? Jan 15, 2016 at 9:24
  • 1
    The question did say 'road segments'
    – Uri Goren
    Jan 15, 2016 at 9:25
  • 3
    I find that RTFM as something rude and offensive and it should not be used on SO. Jan 15, 2016 at 9:42
  • 13
    RTFM has been part of programming vernacular for nearly four decades @KФ.
    – yannis
    Jan 15, 2016 at 9:50
  • 2
    However, the historical consensus is that its usage should be frowned upon. Meh. Jan 15, 2016 at 9:52
  • 4
    Telling someone to RTFM (without actually helping them solve their problem) is not OK @FrédéricHamidi, no argument there. That, however, is not how the term was used here.
    – yannis
    Jan 15, 2016 at 9:53
  • 2
    I think you are making a great argument here Uri, but at the same time you've picked perhaps the worst possible example for it. The question has a lot of other problems (lack of research being the more significant) and there's no evidence the OP was looking for the harmonic mean (or even that they would understand it). Also, your edit - as explained in Maroun's answer - is iffy. I upvoted your answer in the main site for going a step further than the simplistic solution, but I don't see any reason to upvote this Meta discussion.
    – yannis
    Jan 15, 2016 at 10:21
  • There was no such comment here @KФ.
    – yannis
    Jan 15, 2016 at 10:36
  • 1
    Why was the question deleted ?
    – Uri Goren
    Jan 15, 2016 at 15:52

1 Answer 1

26

The question doesn't demonstrate minimal understanding of the problem being solved (I really miss this option). It should be closed. I really don't understand the reopen votes.

As a side note, I think your edit should have been a comment. If I were reviewing it I would have rejected it - changes to actual code or data should be done by OP and not by editors.

6
  • 2
    Why do you come to the conclusion that because the question doesn't demonstrate minimal understanding of the problem being solved it "should be closed" when that close reason no longer exists? Jan 16, 2016 at 18:48
  • 4
    Ironically, the best indication of the lack of a minimal understanding here was the incorrect expected average shown in the output table. Which the editor corrected! And then explained in his answer. In other words, the fix you assert should have been rejected was the very thing needed to fix the problem you identify in the question! This is yet another reason why "minimal understanding" was a poor close reason; if folks are going to assert that it is both impermissible to lack understanding and to provide it, we arrive at a place where answers may only help those who need it least.
    – Shog9
    Jan 16, 2016 at 18:53
  • 1
    @MartinSmith Because I do expect "I tried X", at least. We don't want Stack Overflow to be "How do I X in Y". Please, let's expect the minimal... At least let them share their thoughts with us.
    – Maroun
    Jan 16, 2016 at 20:29
  • 6
    It is irrelevant to future people searching on the topic of averaging speeds whether the OP tried anything or not. Lack of research is a possible reason to downvote, not close, except if that makes the requirement unclear or too broad etc. Jan 16, 2016 at 20:32
  • 1
    @MartinSmith I think that helping people that don't try to demonstrate the minimal is not for their good, that's why I prefer to close it. Maybe they'll be trying to do something and learn by themselves before getting a ready solution.
    – Maroun
    Jan 16, 2016 at 20:37
  • Why does everybody keep delimiting sentences with commas, lately? I don't get it. Sentences end with a full stop, like this. That's taught in English class when you're 4 years old, and differs in no Western language that I'm aware of. (I have no idea how others are.) Apr 15, 2016 at 13:02

You must log in to answer this question.

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