There's a funny Linux joke I heard years ago similar to this. Something like, if you go to a Linux forum and ask for help with a driver everyone will ignore you. If you instead complain that Linux sucks because it can't work with the driver, everyone will explain how you're wrong and give you the exact solution.
You get the same outcome from the "asking someone who hates you for advice" idea that Benjamin Franklin would use, but really it's coaxing productive tribal behavior through slight antagonizing.
Now I just sit back and watch. People will come from all over to explain on how bad my solution is, and how much better it would be if I did it there way instead.
While I think its a step above a "wrong answer", "Bad Answer" really gets the trolls going.
It's like the joke (writing from memory, might be worded differently):
In a prison there was a library that had only one book, with jokes. Every prisoner has read it, and knew all the jokes and what joke was at a specific index. When someone wanted to tell a joke, they would just tell it's number and everybody would laugh.
One day a new prisoner arrived, and heard other prisoners doing that. An old prisoner explains everything to him.
One prisoner says 261 - everybody laughs, another says 43 - everybody laughs, then the new prisoner says 544, everyone starts laughing very hard, way harder then before. He asks the old prisoner why are they are laughing so hard. He responds: "Because we haven't heard that one before"
Never actually been there before now. What exactly is it? It looks like something born in the semi-early days of the internet, and I am but 21 years old
That’s pretty wholesome and I’m glad you shared it with me. Interestingly, I actually have a pretty hard time admitting to not knowing things, at least in real life scenarios. But it’s something I’m trying to get better at.
Bruh literally today my answer got downvoted not even 3 seconds after submitting it. No possible way anyone could have read it in its entirety. Same guy immediately downvoted the next answer too.
Somehow 'pros' assume everyone else wants to be a professional dev building a billion dollar company, instead of a mere hobby or some small issue the person had.
You copy paste extremely complicated solutions to someone else’s difficult problem. Often the solution does not and should not work to your simple problem - leading to the meme of pasting unknown code and not knowing it. Stack overflow isn’t very beginner friendly, so it’s hard to ask a simple question.
I doubt it. If your problem is actually complicated there is a good chance nobody has even had the same question as you before. It's the common problems that get copied a lot.
I tried answering a question which was poorly formatted, so I asked the OP to fix their question and also added a suggestion to a line of code they didn't ask for help on. Post was barely 5 minutes old, I post my answer, refresh the page a minute later and there's already 3 extremely detailed answers, and some dude replied to me saying "that's not what they asked for. Also, you should gain some rep before trying to give opinions".
I gave him a lengthy reply essentially telling to mind his own business and got banned for 7 days. When I questioned the mod what would've been the best way to have gone about it, fucker just ghosts me.
Yeah, I remember when I thought that it was just another forum to ask questions, and I asked some pretty stupid stuff. I try to search thoroughly and make sure I spend a lot of time on a bug before I consider Stack Overflow.
I mean, sure... Your assuming there is documentation, or that it's accurate. Want crazy with some weak documentation? The .net reflection API. Oh, how about win32 in c? Or some other really messed up codebase that's old, not public, and should have been rewritten 25 years ago, yet was dragged into another 3 languages via obscure interop so that management could claim that the dev team uses new, more appealing languages? Stack overflow isn't interested either.
You are acting like I said documentation is solution to everything, what I said is that if SO has no such question, it is likely that you are asking it incorrectly, it is a trivial solution described in the documentation or should be approached differently.
(Ex: how do I press a keyboard button for the user? 1) look in the input/output API, 2) just call the function triggered by that button, this also allows you to remap keys)
Or it's just very specific knowledge that is obscure and hard to find in the documentation.
Example: For a system written entirely in python and C++, I needed to use one singular batch script. For some reason I kept getting errors, somehow related to escaping a backslash. The reason why it didn't work is that because I used the redirection operator, the script was parsed twice and thus I needed to use the escape symbol three times instead of once.
I'm not going to easily figure that out and I'm not gonna read the entire documentation for batch scripts because of one single command. So that's why I asked a question on SO and got blasted by a pretentious asshole. Afterwards it turned out it wasn't even in the documentation, at least not specifically.
Yeah, exactly. Try encoding a JSON secret to put into the dotnet credential store from PowerShell. The quote escaping by itself is maddening. It's the things the docs don't say cause they aren't obvious or even typical and that I'd ask at stack overflow that end up downvoted or never answered.
Don't get me wrong, I've had some great experiences on SO. Like I had a question about passing a queue through a void * into a freertos thread running on a different cpu so I could have a pub/sub model for sensor data on an esp32. The docs are fantastic for the people who get RTOS and MCU level development, but to us meer mortals... Yeah. SO has been very helpful there, with solid code examples. So it's not always. And it's probably a terrible idea since, well, I did use a void * to totally smash the compiler into letting me break stuff... But I got it working cause of SO.
why can't people just answer to a simple basic question? currently playing with discord bots in node js, and i barely know javascript. Should I learn javascript first? Yes, but it's a hobby, not my job, i don't want to spend my time learning a whole programming language when i just want to do something fun.
Tried to ask for help regarding some small thing i wanted to do and didn't know how on programming discord server and obviously people told me to go watch a javascript guide :) Literally the answer was a line of code made out of less than 20 characters
You're right, that's an incredibly lazy reply to tell someone to just learn the language, but you have to consider it from the point of view of someone who knows the language well and has actually gone through all the effort of learning the language from guides. There are guides everywhere, and they're well categorized that would allow you to cherry pick the information you need.
In the future, I would recommend you ask about the terminology, and then just search within the guides for topics regarding that terminology. If I wanted to learn how to use lambdas to filter a list of items, but didn't know the term "lambda", it would be very difficult to get what I want to learn. I'd end up with many older guides telling me to use a for loop, for instance. So ask for how things are called, and search for that and I promise you'll be met with greater success.
Also a very undervalued skillset in our field is learning how to search for the information you need.
Indeed guides are very useful, but for example a problem i stumbled upon was the for discord bots there are couple versions, and i was using the latest one that had pretty big changes, so whatever i would search for wouldn't work in my case. Took some time to figure that out
This is the way that site works - its not a forum, not Qura, not Reddit. It is for the professionals by the professionals, but you are free to look silently.
That's technically true, and yet it also makes any genuinely good and unique questions get automatically shot down. The idea was that by now, we'd have a complete archive of possible errors and their solutions with new questions being added for only evolving software features. Instead we get a thousand questions that already exist or cannot be answered as is, and the moment an actual question which should be added is made, it gets treated like all the others. There's the culture of being toxic know-it-alls amongst the stackoverflow community.
I just try to answer questions when I think I have a solution for them, despite perhaps being closed as a duplicate or otherwise.
You are free to look, but questions on SO as well as answers are held to a high standard, it is the reason the site is so useful.
And for the record, Gatekeeping would be: “Stack overflow if only for professionals, you have no business doing there”
you are free to enter and enjoy, but there is a high level of scrutiny for anyone raising their voice and assumption that “I looked everywhere for an hour and had no answer” to every question. If it is resolvable within 3 Google searches, you have not fulfilled the expected diligence and you gonna get what you deserve for it.
Lastly, without a certain level of gatekeeping, you can’t expect good quality: (ask programming questions on quora to see the contrast)
I want to disagree with you but the quora example really changed my mind. That site is basically a “make an account to keep browsing” version of yahoo answers. Entirely pointless.
Only people DaniilBSD consider to have a certain level of experience can ask a question, and even so you need do it correctly and with the perfect terminology because DaniilBSD is watching all questions in Stackoverflow.
Get a life and stop to think you are special just because you submit random words to a website
I am not posting ANYTHING on SO, because I practice what I preach: I am getting frustrated with people answering questions in obviously broken way and of this sub complaining that their questions are not respected.
Man this happens to me everytime and i fell like shit, i am currently learning html css and js, is there any other comunity that accept newcomers like me? Because thats not the case with StackOverflow
In your typical GUI framework, decreasing Y will move things upwards, so don't be so quick with assuming direction from a numeric shift. The visualization is already logical, not technical, and rendering it in different directions is isomorphic, therefore no visualization is any more correct than another.
A lot of programming is logical rather than technical. I realized this after working with PDP-11's as a repair technician, and then decided to pick up a Macro-11 programming manual. My first thought was "This bears almost no resemblance to how the hardware actually works. This is almost entirely conceptual."
Anyway, in the majority of cases, the stack is an inherent feature of the hardware. When a subroutine is called the pushing of the return address onto the stack is automatic - no extra program instructions are required to make this happen. And while the stack pointer can be set programatically, you can't change the direction it moves when data is pushed onto or popped from the stack. It's decremented after data is pushed, and incremented before data is popped. This behavior is baked into the hardware.
Read either a hardware manual or assembly language manual for a processor and the architecture model they provide will present the stack in exactly this manner - it starts at the initial stack pointer address and grows down through memory. Essentially, the Stack Overflow logo turned upside down. Many operating systems allocate a block of memory for a process, put the code at the bottom, put the heap on top of the code, and put the stack at the top of the block. A stack overflow occurs when the stack grows down far enough to collide with the heap.
While PDP-11 was indeed a stack-based CPU, modern popular CPUs are register-based, so stacks are no longer an inherent hardware feature. Instead, runtime stacks are usually defined as part of the OS and/or programming language's ABI and are usually thread-local.
Regardless of the direction in which the stack pointer moves – i.e. whether it is incremented or decremented – this has no intrinsic mapping to the directions up and down.
Moreover, computer science explicitly labels an automaton that uses a stack a pushdown automaton, implying that new elements are appended to the top of the stack and push down existing elements. While you can find all sorts of memory visualization in practical computer science, not once have I seen a stack visualization in theoretical computer science that had new elements not appended to the top. You can argue all you want, but countless computer science papers – I would assume the majority, though I didn't count – visualize a stack oriented exactly the way StackOverflow presents it.
That's true of many RISC CPU's. It's not true of CISC CPU's, like Intel X86 architecture. Those have a physical hardware stack pointer, called SP, ESP, or RSP depending on the operating mode and width of the register. You can't select a different general purpose register to perform as the stack pointer, though you could certainly implement a stack in software. Just don't expect the CPU to use it when you execute a CALL instruction. Different processes can have their own stacks, but the stack state (stack segment and stack pointer) has to be saved with the other context data when the context is changed. In other words, there aren't separate physical registers for each process.
Diagrams that show elements being pushed down and popped up are fine for demonstrating the LIFO operation of a stack. But this is, once again, an example of where the concept differs from the way the actual hardware works. Does it make a difference? Not if you never have to troubleshoot an actual stack overflow. It makes a big difference if you're troubleshooting an embedded system program, and you're looking at a logic analyzer trace and don't understand what the registers are doing.
I don't get how you can argue so much about hardware details when the simple fact that up and increment being two independent terms that do not necessarily map onto each other voids the whole idea of „wrong orientation of a stack visualization“. It does not make a difference even when working on actual hardware because the actual memory containing the actual stack looks nothing like the visualization anyway, no matter how it is oriented.
Well, I think the proper analogy would be to write something on the papers, going from the top. The stack of written on paper would then expand from the top. The stack is already there, your program only allocates part of it, writing on it while in use.
Correct. "Grow" probably isn't the best choice of words here, but it's the one that's commonly used. Heaps don't actually "grow" either. They just occupy more of the memory that already exists.
But yes, the minimum address that the stack occupies will decrease as the stack gets bigger, while the maximum address remains the same.
I have been a member for 9.5 years. Longer than I work.
I checked, and I have 106 questions, of which only 4 have downvotes. Ironically the downvoted ones still attracted answers, three have an accepted answer and the fourth only an unaccepted one.
About 50% have 0 votes. 19 have no answers. 42 have no accepted answer. So apparently for about every 2 questions I asked, I got one solution ( some of those are my own answers).
Maybe don't get discouraged from your first question getting downvotes? Asking good questions is also a skill that needs to be learned.
I just don't get it when people dislike my question in Stack Overflow . Bi*ch if you can't answer the question yourself, why the down vote ???? Just ignore it motha faqar
I have to say, my biggest issue so far with developers is when they make some complicated, over engineered solution to a problem and then argue with me that the problem has been solved.
Just because you can use what you've made, does not mean I can deploy it in my consumer-facing software.
Ask researched, helpfull to all (not just you), understandable questions and your chances of getting proper answers will be dramatically higher. Not guaranteed, but higher.
If you ask questions that can be answered by 30 minutes of googling, don't expect answers. SO isn't there to do your research for you.
Stack overflow is not a good resource to learn how to program. You may find a quick answer for your problem, but without context or a fundamental understanding. If you want to really learn how to program, the official documentation from Microsoft, Oracle, etc will be a better resource. Yes it will take longer, but it will likely improve your understanding of the language much more than a quick fix.
I guarantee that if you get downvoted you didn't do your homework.
Either the question is badly formatted, doesn't contain enough information, is out of scope, is a duplicate, looks like a duplicate because you didn't clarify why it's different from the other question (btw linking near duplicates and explaining why they don't apply is a great way to prevent this sort of thing), you clearly didn't do your research and a few others.
Asking questions on SO is hard. But the reason the site has so many amazing answers is because asking questions there is so hard. All questions are held to an extremely high standard. Of course that can vary but overall it's mostly good questions and answers because the site is so insanely strict.
Fucking thank you. Really pisses one off when you get shit on for not having 40 years of experience. How am I supposed to learn if I need to have every book about programming memorized before I get to answer a question?
That's not what it is about. It's about putting work into your question and making sure there isn't an answer already. And also making very clear what you're asking for. After all the core principle of the site isn't to help the person asking the question. But to help everyone with the same question.
Yes. Everyone has to start somewhere. Though SO is not the page for that. It's not a site made for beginners. There are other places for that.
And secondly if you had bothered reading all the resources you skipped over after signing up you'd have known all that information. It's all explained in detail in the site tour. So if you haven't read the rules of the game you're playing you can't complain about getting punished by the rules of the game.
And I'm gonna point out that the reason SO is so full of good questions and answers is because it discriminates against impatient beginners by enforcing strict rules and standards. If you don't like it, don't use it. But don't go around enjoying the results of the strictness while complaining about it.
650
u/CARIBEIMPERIAL Oct 21 '21
Someone else stated that the way to get help is to make 2 accounts.
People will flood to prove #2 wrong.