Earlier quoted context omitted.
> read API docs for anything I’m unfamiliar with One of the differences i've noticed between myself and some of the junior devs i've worked with. I would usually use the official docs as my first resource, and they would use stack overflow instead.
I don't like this blanket statement .. I would use whichever googles first and most relevant results are. Also what the issue is matters. I don't always go to MDN for javascript issues. But if I want to know why something is the way it is, I will.
Docker for Windows won't run if Razer Synapse driver management tool is running
71–80 of 191 posts
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#72I think it would be a great addition for StackOverflow to have a sort of report button for dangerous code. Take for example libcurl (thus, implementation in PHP, Ruby, Go, etc). There are sooo many posts with cURL example code where CURLOPT_SSL_VERIFYPEER is disabled. These are often answers with thousands of upvotes, that have been there for years. Inexperienced developers copy/paste this code into production withou…
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#73Earlier quoted context omitted.
But what if the docs suck, as is the case with a lot of .io domain libraries?
And anything MS?
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#74> homework assignment for all programmers reading this thread: Think about how you'd find this bug in your own programs. You copy/paste the code, it seems to work, and you don't realize it's broken because you don't run either of these programs which made the same mistake. Wait... WHAT?? Who the hell copy pastes code into their program without first examining and understanding what each step is actually doing, how an…
He got shit done and that was what mattered to his bosses... of course it was all a steaming pile of unmaintainable garbage but that didn't matter to anyone.
If he couldn't find it on Stackoverflow he would ask another developer who would tell him how to do it... then Mr Senior Developer would ask that other developer if he could just "send him the code".
Last I heard he's still at that company and still making bank doing nothing but copying and pasting other people's work.
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#75Earlier quoted context omitted.
And anything MS?
Microsoft have best most fascinating documentation in some cases. It can be fantastically detailed, while being completely useless at the same time. Take their Azure Python API, which is clearly translated directly from C#: There's a number of functions, which according to the documentation takes a string as an input. The thing is that it won't actually take a string, it will take three or four predefined strings. Ev…
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#76Some tangential analysis of Synapse over here: https://twitter.com/davkean/status/1144498663122558977 .
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#77Ha, stackoverflow is a great tool, but... the more answers I see on an area I’m experienced in, the more I realize how wrong they can be. Sure, the answer usually gets the job done, but everything else about it might not be right. If I need to use stackoverflow, these days I make sure I do a few things: - read a number of answers, comments included. Just because an answer is accepted doesn’t mean it’s the best one -…
> read API docs for anything I’m unfamiliar with One of the differences i've noticed between myself and some of the junior devs i've worked with. I would usually use the official docs as my first resource, and they would use stack overflow instead.
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#78Doesn't a hardware maker want to make it as simple as possible to use their hardware from any OS?
I used to use a Razer mouse when it had a switch on the mouse itself to toggle between different speed settings.
But I changed away from them when that switch disappeared in later iterations of their mice and instead depended on software that didn't work in Linux.
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#79If you're going to copy-paste code from Stack Overflow and deploy it to millions of users' systems, I think you have some responsibility to understand what the code is doing. I can totally see how this happened, and I would definitely not say that I would never make this mistake, especially under time pressure etc. But a careful programmer would a) desire to understand what the code did, and thus spend enough time re…
How many times have you run `npm install` or used literally any programming package management system without personally reading every line of code that you're installing?
Also, you should look at least at the docs of the packages you install.. And since most SO answers are shorter that introductory section of most docs, this means reading and understanding entire answer.
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#80Ha, stackoverflow is a great tool, but... the more answers I see on an area I’m experienced in, the more I realize how wrong they can be. Sure, the answer usually gets the job done, but everything else about it might not be right. If I need to use stackoverflow, these days I make sure I do a few things: - read a number of answers, comments included. Just because an answer is accepted doesn’t mean it’s the best one -…
I agree: Recently I found an interesting snippet of C code which was using an sprintf to write a string into a char array. Unfortunately, it contained an off-by-one error where the null terminator would be written outside the char. I proposed to fix the answer, but for incomprehensible reasons the edit was rejected (!)