News for hackers. Stuff that matters.
Re:StackOverflow closed my question, that's why we exist by manishsharan on Tuesday April 01, 2014 @12:31PM (#7509519)
Stackoverflow is mostly kind to newbie questions; Serverfault however however seems to be moderated by a bunch of stuck up assholes. I had a newbie question when I was setting up some dedicated servers for the first time: my newbie question, about networking/nas etc, got shutdown with bunch of snarky comment on the line of "hire a trained experienced networking guru". I have never gone back since then.
Re:StackOverflow closed my question, that's why we exist by danbruc on Tuesday April 01, 2014 @01:06PM (#7509823)
I obviously have no clue what your question was but I can understand this attitude to some degree. Let me explain.

I contributed a lot to StackOverflow in the early years. Most of the questions were interesting and not answered before. I almost stopped contributing in recent years because now there are so many trivial questions and questions that have been answered before. I see no value in explaining how to sort a list of peaches when there is already a question answering how to sort apples and one how to sort oranges. And I never understood StackOverflow as having the goal to teach programming but to help solving non-trivial problems. Now there seems to be a ton of question like how do I open a file in Python. More and more people seem to just ask everything on StackOverflow instead of reading a manual, a book, a tutorial or at least look if there is already an answer that can be adapted to their problem.

I can not quantify this, it is only my personal understanding of what questions should be on StackOverflow and what should better be looked up elsewhere, but I can to some extend understand that people get annoyed be some questions.

Re:StackOverflow closed my question, that's why we exist by rpedela on Tuesday April 01, 2014 @01:26PM (#7510003)
I personally like the "how to open file" questions. Even though I have been developing software for ~15 years, I often forget basic file I/O syntax when I need to switch languages which is rather common lately. I remember how file I/O works, how to make it efficient, etc. But the syntax? Yeah I forget that, and I find StackOverflow to be a great reference manual. Often the official manuals are verbose which isn't what I want in this case. I just want a quick example to remind myself of the syntax.
Re:StackOverflow closed my question, that's why we exist by danbruc on Tuesday April 01, 2014 @01:33PM (#7510068)
That is where we disagree - I don't think of StackOverflow as a reference manual. Admittedly I am mostly a C# developer and Microsoft does a really good job when it comes to documentation, at least in most cases. If you never saw it before and even if you hate Microsoft, have a look at their documentation. Here is the System.IO namespace http://msdn.microsoft.com/en-us/library/system.io.aspx and the reference manual part is just the tip of the iceberg.
Re:StackOverflow closed my question, that's why we exist by sanderjd on Tuesday April 01, 2014 @01:50PM (#7510225)
This is actually a really great demonstration of your parent's point. I think the link you posted actually leads naturally to the question "ok, so how do I put all that together to actually open and read a file". Sure, you can figure it out by reading API documentation, and the more times you do it, the easier that becomes, but a resource where somebody has demonstrated how to actually use that API to open and read a file is valuable. There are lots of various "cookbook" books for this sort of thing, but the QA format also works really well for it because it publicizes problems that lots of people have had, not just the authors of a given book. Maybe SO isn't or doesn't want to be that kind of resource, but I think it is one valuable use case.
Re:StackOverflow closed my question, that's why we exist by danbruc on Tuesday April 01, 2014 @02:15PM (#7510454)
Find File.ReadAllLines() [1] or whatever fits your needs and scroll down to the example section. Java has similar documentation, too. jQuery documentation has thousands of examples. It's all there, no need to ask. And if you can not figure out how to put together 3, 5 or 10 library or API calls then get a book about the basics of your technology and read and learn it. Asking stuff that is already out there is just wasting the time of other people, time that is better spend answering questions without an existing answer.

[1] http://msdn.microsoft.com/en-us/library/s2tte0y1.aspx

Re:StackOverflow closed my question, that's why we exist by genwin on Tuesday April 01, 2014 @04:03PM (#7511274)
Asking stuff that is already on StackOverflow I agree, otherwise I don't. On SO people vote, and the answers can be edited, so a very good answer among any documentation anywhere is often near the top of the SO question.
Re:StackOverflow closed my question, that's why we exist by danbruc on Tuesday April 01, 2014 @04:36PM (#7511484)
At least in my opinion it is not and it should not be the goal of StackOverflow to duplicate the documentation of programming languages, libraries or what ever - there is just no value in that. It is of course something different if there is no or only bad documentation but this is just not the case for a lot of questions asked. I have absolutely no sympathy for people that are to lazy to look at the documentation and instead make other people do it for them copying or restating the relevant parts on StackOverflow.
Re:StackOverflow closed my question, that's why we exist by sanderjd on Tuesday April 01, 2014 @06:09PM (#7512089)
I really don't understand your apparent point of view that redundancy in documentation is somehow a bad thing. It's great that you like good canonical API documentation, I do too. But it's also great that some people find easier solutions to common problems more quickly using the Q&A format of SO.

There is value in duplicating documentation even wholesale and unmodified, if different duplicates are easier for some people to find and use, but there's even more value in "duplicating" documentation by presenting it differently, which is what SO is doing, even for many questions that you believe to be trivial. The more the merrier, if you ask me.

Now, of course, it would suck if you felt lazy people with already-answered questions were wasting your time. Then I would understand your point of view. But the fact is that you just don't have to answer their questions. If somebody else does answer it, well then that person probably didn't feel like it was a waste of time.

Re:StackOverflow closed my question, that's why we exist by genwin on Tuesday April 01, 2014 @04:52PM (#7511577)
I understand your position.

Presumably SO wants to maximize its readership. What I've seen is that they allow any programming question, even of trivial nature, as long as it's objective not subjective. I like that and think it's a good way to maximize readership for objective stuff, because I often google for trivial things. For example, Powershell if/else/elseif syntax, if I haven't used Powershell in a while. I just found the syntax on SO within 10 seconds, with an example I can copy/paste/modify. I bet a lot of other developers use SO like that too, and I bet it's largely the reason people put trivial questions on there. My motivation is efficiency. Being efficient can be construed as lazy I guess!

Re:StackOverflow closed my question, that's why we exist by danbruc on Tuesday April 01, 2014 @05:53PM (#7511998)
I do the same - if the first search result is on StackOverflow I will of course just look at that. But if the first result is not on StackOverflow I will read whatever is there and not ask a question on StackOverflow unless the answer to my problem is not or hard to find. So in essence I am uncomfortable if people don't try hard enough to find the answer in existing sources. How long hard enough takes obviously depends on the context. For something I am an expert in I can conclude after a few hours that I have to ask. If you for example start learning your first programming language I would expect you to try at least a day, probably even a couple of days to find the solution by reading manuals, tutorials and books before you ask a question.
Re:StackOverflow closed my question, that's why we exist by genwin on Tuesday April 01, 2014 @06:17PM (#7512145)
Agreed, I don't ask trivial questions myself.
Re:StackOverflow closed my question, that's why we exist by genwin on Tuesday April 01, 2014 @02:52PM (#7510759)
> Admittedly I am mostly a C# developer and Microsoft does a really good job when it comes to documentation, at least in most cases.

I too use StackOverflow as a reference manual. Often the #1 answer is the concise example I'm looking for. MS documentation is a last resort for me.

Re:StackOverflow closed my question, that's why we exist by danbruc on Tuesday April 01, 2014 @03:11PM (#7510915)
Why that? I consider the MSDN library one of the best documentation out there.
Re:StackOverflow closed my question, that's why we exist by genwin on Tuesday April 01, 2014 @03:54PM (#7511210)
It's great when you have time to spare, to learn every nuance of a thing. It's worse than alternatives when you quickly want an example to copy/paste, which is usually my case.

For instance, compare googling for "c# run sql query msdn" vs. "c# run sql query stackoverflow". The latter has the better example and it's closer to the top.

Re:StackOverflow closed my question, that's why we exist by danbruc on Tuesday April 01, 2014 @04:45PM (#7511530)
From that I assume that you are not a professional developer, right? I never thought about in from that perspective but I think we should actually discourage copying and adopting code. It will probably solve your current problem in shorter time but I am quite confident that really understanding what you and your code are doing will benefit you in the long term way more, for example when you have to fix bugs, make changes or solve a similar problem.
Re:StackOverflow closed my question, that's why we exist by genwin on Tuesday April 01, 2014 @06:30PM (#7512221)
Agreed! Been developing for a looong time. I switch between languages and OS's a lot. Say I'm switching back to Powershell after a hiatus and I can't remember if it's "if (this) {" or "if this {". StackOverflow may be my fastest way to find the answer and also get an if/else/elseif block to copy/paste/modify. Non-trivial code I copy/paste gets understood thoroughly and often heavily modified!
Re:StackOverflow closed my question, that's why we exist by gum_ina_package on Tuesday April 01, 2014 @01:29PM (#7510034)
I think his point is that there should only be one "how do I open a file in Python" type of question/answer. Not 30 like there are today.
Re:StackOverflow closed my question, that's why we exist by rpedela on Tuesday April 01, 2014 @01:37PM (#7510103)
Yeah I agree with that. However Google usually does a good job of finding the "best" version of a particular question and making that the first or second result.
Re:StackOverflow closed my question, that's why we exist by reeses on Tuesday April 01, 2014 @08:06PM (#7512683)
Your comment is quite pythonic. There should be only one question about the only one right way to do something in python.
Re:StackOverflow closed my question, that's why we exist by mhurron on Tuesday April 01, 2014 @01:31PM (#7510054)
So your using SO to have other people read documentation and regurgitate the contents for you.

Ya, that's not a way to make the site useless.

Re:StackOverflow closed my question, that's why we exist by genwin on Tuesday April 01, 2014 @06:36PM (#7512253)
Useful, I say. It's documentation regurgitated into an efficient Q & A format.
Re:StackOverflow closed my question, that's why we exist by RyanZAG on Tuesday April 01, 2014 @01:40PM (#7510133)
> I see no value in explaining how to sort a list of peaches when there is already a question answering how to sort apples and one how to sort oranges.

Does this not mean that the answers to both 'how to sort apples' and 'how to sort oranges' are not written in a way that allows easy applicability to peaches? The user probably didn't understand how to use the answers for apples and oranges on peaches. This probably means that the answers could be improved by making it clear how to apply them.

The problem might be that older questions are locked even when their answers are not perfect?

Re:StackOverflow closed my question, that's why we exist by dragonwriter on Tuesday April 01, 2014 @01:46PM (#7510190)
> Does this not mean that the answers to both 'how to sort apples' and 'how to sort oranges' are not written in a way that allows easy applicability to peaches?

Not necessarily. It could just mean that the person asking the question hasn't bothered to look at what has already been asked and answered.

Re:StackOverflow closed my question, that's why we exist by ColdHawaiian on Tuesday April 01, 2014 @05:53PM (#7511992)
I've been contributing a lot of answers to Stack Overflow lately myself[1], and I agree that, after a while, I'm tired of trivial questions popping up all the time, because frankly, they aren't interesting to solve. Not only that, but if you have too many of those on the site (which I think is currently the case on SO), then it makes it harder for contributors to actually find good, interesting problems to help solve.

Not only that, but badly written questions that have to be edited to improve quality, or where you constantly have to ask the original poster for more information in order for the question to be solvable, are a huge time and energy suck. At times, I don't feel like participating in SO because of that.

However, those are not reasons to be rude, and if you're a newbie and someone is being rude to you, I think you might have the option of flagging a comment and bringing moderator attention to it (though I'm not sure if that's peer moderation, or moderation from one of the official moderators).

[1]: http://stackoverflow.com/users/456814/cupcake

Re:StackOverflow closed my question, that's why we exist by jakejake on Tuesday April 01, 2014 @01:38PM (#7510111)
I agree 100% for duplication questions. I don't have a problem with the asker getting a little spanking if they didn't bother to do any research or put in any effort whatsoever.

As for "simple" questions, to me it seems all just relative. Basically, as long as it isn't a dup then I don't mind it being there. In some ways stack exchange has evolved to become a code snippet library. I guess I can see why some people might not like it, but it has helped me many, many times.

Re:StackOverflow closed my question, that's why we exist by jakejake on Tuesday April 01, 2014 @01:13PM (#7509881)
There is nothing more infuriating when you have (what you feel is) a good question that gets unceremoniously shut down. I do sometimes think they are throwing out the baby with the bathwater at times.

But it's a pretty undeniable source of great info and I don't think I would be able to cut myself off from the site. I try to just not take anything too personally there - especially the actions of just one or two rude people.

Re:StackOverflow closed my question, that's why we exist by nulagrithom on Tuesday April 01, 2014 @03:47PM (#7511168)
Server Fault isn't meant for newbie questions; it's meant for career sysadmins. It's the wrong place to ask for help setting up your first dedicated server.

http://serverfault.com/tour

Server Fault is a question and answer site for professional system and network administrators.

Contrast this with...

Stack Overflow is a question and answer site for professional and enthusiast programmers.

Re:StackOverflow closed my question, that's why we exist by bashcoder on Tuesday April 01, 2014 @04:10PM (#7511320)
But visit each site without being logged in, and they both lead with "Anyone can ask a question."

Regardless, the heavy-handed moderation and negative feedback cycle actually means that Server Fault is only meant for seasoned career sysadmins who shouldn't need a Server Fault.

Re:StackOverflow closed my question, that's why we exist by nulagrithom on Tuesday April 01, 2014 @04:15PM (#7511346)
Because seasoned professionals never have any questions? I find this hard to believe.
Re:StackOverflow closed my question, that's why we exist by bashcoder on Tuesday April 01, 2014 @05:35PM (#7511889)
Not because that was the intent of Stack Exchange, but in my view that's the end result of the generally hostile culture at Server Fault.

Don't get me wrong - striving for excellence requires high standards. But in Meta, their best answer to the question, "How do I ask better questions?" is 1,780 words long.

Re:StackOverflow closed my question, that's why we exist by lazyant on Tuesday April 01, 2014 @01:21PM (#7509954)
Agree, look at the answers by one of the moderators: http://serverfault.com/users/126632/michael-hampton?tab=acti...
Re:StackOverflow closed my question, that's why we exist by danbruc on Tuesday April 01, 2014 @01:25PM (#7509993)
Can you point to any specific answer? I clicked through a couple of the highest voted and a couple of most recent answers and they all look fine to me.
Re:StackOverflow closed my question, that's why we exist by lazyant on Tuesday April 01, 2014 @01:43PM (#7510159)
Another example (not from that moderator); guy asks how to block users from specific countries in AWS; questions gets put "on hold as off-topic" and moderator answer is "why do you care": http://serverfault.com/questions/585189/can-aws-block-access...
Re:StackOverflow closed my question, that's why we exist by akbiggs on Tuesday April 01, 2014 @02:23PM (#7510515)
The person who answered that question is not a moderator.
Re:StackOverflow closed my question, that's why we exist by lazyant on Tuesday April 01, 2014 @05:31PM (#7511858)
sorry, you are correct. Still it was put on hold as off-topic by 6 moderators.
Re:StackOverflow closed my question, that's why we exist by akbiggs on Wednesday April 02, 2014 @09:53AM (#7515483)
None of the people who put that question on hold were moderators, either. You can identify a user as a moderator by the diamond next to their name.
Re:StackOverflow closed my question, that's why we exist by lazyant on Tuesday April 01, 2014 @01:35PM (#7510084)
For ex somebody askign "Best way to optimize site speed for a large traffic website?" and the comments: - I took a look at the site before I commented. Dollars to donuts the code is a nightmare pile of spaghetti "written" by people who have never even heard of design patterns. - Probably to scrap the whole thing and start over with a decent CMS.

Funny thing, besides the curtness, is that he's most likely not even technically correct, since performance issues on web sites are rarely due to the choice of CMS or in its code.

Re:StackOverflow closed my question, that's why we exist by danbruc on Tuesday April 01, 2014 @01:47PM (#7510199)
large traffic website and 500-1000 visits minimum a day don't match to begin with. I am not sure if visits means request or visitors but neither one request every 90 seconds nor one visitor every 90 seconds should do any harm to any server. I did not look into the page but I have no problem to imagine that this comments actually reflect the best option. I don't even consider the wording especially impolite. Sometimes reality is tough.
Re:StackOverflow closed my question, that's why we exist by lazyant on Tuesday April 01, 2014 @02:10PM (#7510417)
If we don't know what's really wrong with a website it's no good to answer "use another CMS", it can be wrong and it's not helpful at best, it would be better to give some pointers on where to start figuring out what's wrong.

Also the pompous "design patterns" comment; a lot (30% ?) of web sites in the Internet run on spaghetti code (Wordpress, Drupal) and many are fine, if I had to I'd bet the CMS and its code is not the problem.

Re:StackOverflow closed my question, that's why we exist by danbruc on Tuesday April 01, 2014 @02:30PM (#7510581)
He said in a comment that he looked at the code so I assume he really figured out that the thing is build on top of BoonEx Dolphin Smart Community Builder, probably a version from around 2007, and looked at it. But lets stop here, we are assuming way to much.
Re:StackOverflow closed my question, that's why we exist by morbius on Tuesday April 01, 2014 @01:05PM (#7509808)
Correlation != causation.

I've seen many noob questions on StackOverflow that go either way, and many on SF that also do the same. Every moderator is different -- there are plenty of overzealous ones on StackOverflow and plenty on ServerFault.

Same goes for any StackExchange site, really.

Re:StackOverflow closed my question, that's why we exist by bachmeier on Tuesday April 01, 2014 @02:10PM (#7510407)
> Stackoverflow is mostly kind to newbie questions

Can you elaborate? It seems most newbie questions on stackoverflow are closed, they get scolded in the comments about asking their question wrong, or someone posts a vaguely related link and claims without explanation that it is a duplicate question. Whether or not the system is effective, I don't see how it can be described as "kind".

Re:StackOverflow closed my question, that's why we exist by EpicEng on Tuesday April 01, 2014 @04:12PM (#7511333)
I disagree. Newbie questions are answered as fast as they are posted because they are the ripest source of reputation. Of course, unintelligible and/or unanswerable (usually due to lack of information) questions are closed, but "Segfault in C Linked List" and "Why does x = x++ + ++x Give the Wrong Result?" questions are asked and answered every day (every hour?)