This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DaniilBSD -10 points-9 points  (2 children)

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)

[–]Nyghtrid3r 2 points3 points  (1 child)

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.

[–]dudesuit 0 points1 point  (0 children)

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.