Live data from Hacker News

Docker for Windows won't run if Razer Synapse driver management tool is running

twitter.com

91–100 of 191 posts

Re: Docker for Windows won't run if Razer Synapse driver management tool is running

#92

Ha, 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 more answers I see on an area I’m experienced in, the more I realize how wrong they can be

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

#93

And 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…

It also has macroing functionality with profile switching. You could achieve the same with something like AHK but the Razer interface is easier for simple tasks.

Re: Docker for Windows won't run if Razer Synapse driver management tool is running

#94

If 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…

If the code (you copy-pasted) works but you don't understand why then it doesn't work.

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

#95
A somewhat tounge-in-cheek comment: but I wonder if there could be a git/IDE extension to track cut-and-paste code like this (especially from stackoverflow) so that when things are corrected or flagged as broken at the source, that change is propagated to your use of it.

Re: Docker for Windows won't run if Razer Synapse driver management tool is running

#96
post #72
post #40

I 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?

Because you don't get to do that unless you either have a ton of rep (which is a pain to acquire on SO because nobody votes), or the question is marked as a wiki. Otherwise your suggested edit goes into a queue where it will likely be declined as "conflicting with the author's intent" even if it's an unambiguous improvement.

Re: Docker for Windows won't run if Razer Synapse driver management tool is running

#97
post #53

Earlier 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.

I can totally blame "the system", as it is exactly the system which doesn't make it easy for others to change the "correct" answer, when stackoverflow claims it isn't supposed to be a Q&A system for individual people, but for the community as a whole (hence why bad/repeated questions are deleted).

Re: Docker for Windows won't run if Razer Synapse driver management tool is running

#98
post #25

Earlier 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)

When I asked: https://meta.stackoverflow.com/questions/276496/how-to-deal-...

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

#99
post #30

To 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)

A lot of the comments on this topic seem to be focusing on SO's nature or something like what you proposed about .NET itself.

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…

There seems to be a suspicious rise of acceptance for this "practice". It's very concerning. I've never found a SO answer to be copyable, they are usually wrong or flawed.

Usually have to dig in all the responses to get a balanced overview, then apply those concept(s) to your problem at hand....

Post reply on HN