Docker for Windows won't run if Razer Synapse driver management tool is running
91–100 of 191 posts
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#92Ha, 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 -…
The fastest correct looking answers on SO are usually the accepted answers. I read an post or tweet a few years back suggesting that you have the quickest draw if you want SO rep: create a bare-bones answer, with no research, so that it gets accepted. I understand why: my answers have been on the receiving end of this - I spent way too much time and effort answering and my answer dropped into obscurity.
That's why I no longer answer on SO.
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#93And that just for some colored LEDs and such. I don't understand why you need Windows-only software for that. Doesn'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 ins…
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#94If 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…
Or at least you have no idea whether it actually solves any problem besides the exact scenario you tested it for, and no idea if it's even possible to maintain it.
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#95Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#96I 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…
Why not just edit the answer yourself and add a big red warning?
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#97Earlier quoted context omitted.
The problem is stackoverflow seems designed to avoid "better answers". Questions are often long abandoned, and the original questioner won't come back and choose a new correct answer. On a rarely looked at question, it would take years for a correct answer to raise up the ranks. I've seen various answers which used cryptography dangerously, and asked if there was any way they could be fixed, and I just got the answer…
I've gotten multiple Tumbleweed badges for answering an old question with a better answer. You can't blame the system for the fact someone who either long ago fixed the problem or gave up doesn't come back to change the "correct" answer.
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#98Earlier quoted context omitted.
The problem is stackoverflow seems designed to avoid "better answers". Questions are often long abandoned, and the original questioner won't come back and choose a new correct answer. On a rarely looked at question, it would take years for a correct answer to raise up the ranks. I've seen various answers which used cryptography dangerously, and asked if there was any way they could be fixed, and I just got the answer…
It's worth noting that it is possible to edit other people's answers. So it is possible to correct answers with incorrect or dangerous information. With sufficient "rep" (2000, where an upvote on one of your questions or answers is worth 10), edits don't even require approval from others (before that, they must be peer reviewed before the edit takes effect)
I was explictly told "Inform and educate, don't censor!." -- which from context clearly means "don't edit answers just because they are wrong".
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#99To any Microsoft/.NET devs reading this: What do you think the chances are that you could make exact references to Assembly.GetExecutingAssembly().GetType().GUID return a compile-time warning? That could make this go away very quickly. (For bonus points, add relevant telemetry to VS. :P)
When I first read the Twitter thread I was sort of dumbfounded that whoever did this originally didn't actually check it. That's not a SO or .NET problem that needs to be caught. It's a developer problem.
If someone is copying code into their project that they've never seen before, they should, at bare minimum, make sure it produces the expected result for the first instance they are using it. That developer should have checked to see that the GUID was actually the one from their assembly. Even if someone is copying some complex code that they aren't 100% sure how it operates, they can still test it to make sure it produces what they think it does.
The idea that someone working for Docker just copy, pasted, and then didn't check that it actually did what it was supposed to do is sort of mind-blowing to me. Not sure why no one else is talking about that. I've never used Docker before, but this doesn't instill confidence. It's one thing to have something like this in your end product - that's bad enough. It's another thing entirely when your company builds tools for other developers to use. That shit needs to be rock solid and this is one of those things that seriously worries me when I see it because it's about a lack of effort/testing and someone just blindly took code and didn't even bother to check it.
Re: Docker for Windows won't run if Razer Synapse driver management tool is running
#100> 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…
Usually have to dig in all the responses to get a balanced overview, then apply those concept(s) to your problem at hand....