Live data from Hacker News

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

twitter.com

181–190 of 191 posts

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

#181
I looked at the title, then briefly glanced over the discussion here, and guessed it correctly --- "same mutex name". I didn't guess they'd get to the same name that way, however. I thought someone had copy-pasted example code from SO without changing a REPLACE_MUTEX_NAME or similar.

My preferred solution is simpler --- CreateMutex takes a mutex name of at most MAX_PATH characters. That's almost begging you to make it the path to the running executable.

    char name[MAX_PATH];
    GetModuleFileName(0, name, sizeof(name));
I know some of you may be thinking "but what if there are two copies of the application in different directories?" Yes, that would result in two instances, but how often is that a problem? If it is, then make it the binary name-only without the path

    pname = strrchr(name,'\\');
and then unless you name your application something very generic like test.exe, there can only be one. I guess the lesson here is to not overthink things --- I see that often in SO answers too.

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

#182
post #103
post #73

Earlier quoted context omitted.

Microsoft documentation was historically the gold standard for comprehensiveness and quality. If what the other commenter says (e.g. about their Azure docs) is true, I don't know if things have changed or what. Maybe a post-Nadella culture shift?

At one point they "burned the library" and broke a lot of old MSDN urls. It's now common to find dead links to MSDN on old Stackoverflow posts. The documentation is definitely there , but finding it can be a curse. The search is worse than Google, the site is surprisingly slow for a bunch of static text, and the ability to discover something when you don't know the right search terms is poor because Microsoft name ev…

The Microsoft Docs change from MSDN was horrible (and still is). A lot of content got mysteriously mangled for no discernable reason. Their KB articles, which used to be excellent, have mostly been "disappeared" too. You can see a vast difference in quality between the newly-written pages and what was inherited from before. I find spelling and grammar errors often in the newer pages.

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

#183

Earlier quoted context omitted.

> Yeah? So what. So whining that stackoverflow has rules which you don't want to follow doesn't make for interesting reading. It's not unfair; you (other commenter) are not hard done by. Don't want to get 50 rep? Then don't get 50 rep. Want to contribute? Get 50 rep it's not a lifelong commitment. Still don't want to get 50 rep? No problem, move on with your life. > I shouldn't have to farm for rep. You don't have to…

> So whining that stackoverflow has rules which you don't want to follow doesn't make for interesting reading. Most complaints, even very good ones, are uninteresting reading. > "I can't have stackoverflow on my terms, so I'm going to criticise and disparage it". If complaining about not being to have something "on one's own terms" is enough to be sour grapes, then just about every complaint in the world is sour grap…

> Most complaints, even very good ones, are uninteresting reading.

Many people have valid complaints about StackOverflow's community building, feedback system, moderation, how it prioritises questions and answers, behaviour of people on the site. These are fine interesting discussions about how useful it is, how effectively it works, how a better site might work, how it feels to participate, and can make for interesting reading. Many other people's complaint is that they went to stackoverflow, didn't follow the site rules, the people using stackoverflow approximately upheld the site rules, and now the poster acts in a way that shows they feel personally slighted by the fact that a site exists which rejected them. This not only makes for uninteresting reading, it's also an unfair attack on stackoverflow which ought to be allowed to exist with any legal rules it likes, without being slighted for simply having rules of some sort of other.

> That's obviously wrong.

If what you suggest I'm saying is "obviously wrong", then come on, you can do better than that, "respond to the strongest plausible interpretation".

> Did you honestly think I was saying it was mandatory? Come on, you can do better than that. "respond to the strongest plausible interpretation"

You made up some things you "have to do" and then complained that you don't want to have to do those things to hack the site to let you do what you want. Objecting to that whole premise is my point. "You think it's mandatory" is the strong interpretation, the weak one is that you're deliberately building a strawman of things you "have to do" which don't actually exist. 1) you don't need to hack or farm, you can genuinely participate. 2) you don't need to post niche questions or hunt popular questions, you can deal with normal questions. 3) If you do this, you won't be able to jump quickly to the thing you want. This is not a problem with the site, this is part of its design, if you dislike that design then we're back to "the site is not mandatory" and if you want to be so great you don't have to go through the normal processes then we're back to "how should the site know that you're not a total spambot if you won't go through the procedure they've setup which involves community feedback on the things you do (which paying money would not involve)?

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

#184
post #82

Earlier quoted context omitted.

See https://meta.stackexchange.com/a/164449/192171 If an answer is factually wrong (as opposed to just poorly formatted or missing a few details), generally its better to leave a comment rather than try to edit it. I agree its not ideal, but suggested edits go into a site-wide review queue, so not everyone reviewing them will necessarily be familiar with C. This makes edit reviews a poor tool for evaluating factual c…

"We must fix grammatical errors and must not fix technical errors" agrees with my experience on stackoverflow perfectly.

Fixing technical errors is strongly encouraged, just not via the suggested edits feature. Like I said, a comment or an alternative answer would be more appropriate.

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

#185

Earlier quoted context omitted.

Unless you've never made any particular use of StackOverflow, stumble on an incorrect answer, realize you have no way to fix it, and then just leave because you don't feel like jumping through hoops just to make somebody else's day better.

This is a problem for new user growth on all reputation-based sites -- review sites like Yelp, even HN.

The difference is that those sites generally don't hard gate features behind having a certain amount of MeowMeowBeenz.

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

#186

Earlier quoted context omitted.

"We must fix grammatical errors and must not fix technical errors" agrees with my experience on stackoverflow perfectly.

Fixing technical errors is strongly encouraged, just not via the suggested edits feature. Like I said, a comment or an alternative answer would be more appropriate.

If the fix is buried in a comment or lower answer, far fewer people will see it, especially on the ossified, highly-voted answers where it's often needed. Difficulty moderating proposed edits is a process problem, and comments aren't a good workaround.

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

#187

Earlier quoted context omitted.

This is a problem for new user growth on all reputation-based sites -- review sites like Yelp, even HN.

The difference is that those sites generally don't hard gate features behind having a certain amount of MeowMeowBeenz.

Sort of -- Yelp will hide negative reviews from brand new users, and HN enables some light moderation features and faster commenting as your karma increases.

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

#188
post #73

Earlier quoted context omitted.

Microsoft documentation was historically the gold standard for comprehensiveness and quality. If what the other commenter says (e.g. about their Azure docs) is true, I don't know if things have changed or what. Maybe a post-Nadella culture shift?

I guess people's expectations might have been lower? MSDN sucks along every axis I can imagine. The content is bad: Quick, is System.DateTime[0] timezone-aware? The examples also use (the harmful and bug-prone) DateTime.Now 5 times, while DateTime.UtcNow is only mentioned once, as a minor aside. The structure is bad: Is something part of "Core", "Framework", "Standard", or "Platform Extensions"? It's particularly rid…

Python's datetime appears to have one constructor with several optional parameters, whereas .NET's System.DateTime has several separate constructors each taking a different set of parameters. The MSDN documentation is accurate and correct; your critique applies to the underlying code (which is built to be backwards-compatible to .NET 1.0, which I don't think even supported optional arguments).

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

#189

Earlier quoted context omitted.

> So whining that stackoverflow has rules which you don't want to follow doesn't make for interesting reading. Most complaints, even very good ones, are uninteresting reading. > "I can't have stackoverflow on my terms, so I'm going to criticise and disparage it". If complaining about not being to have something "on one's own terms" is enough to be sour grapes, then just about every complaint in the world is sour grap…

> Most complaints, even very good ones, are uninteresting reading. Many people have valid complaints about StackOverflow's community building, feedback system, moderation, how it prioritises questions and answers, behaviour of people on the site. These are fine interesting discussions about how useful it is, how effectively it works, how a better site might work, how it feels to participate, and can make for interest…

> didn't follow the site rules [...] rejected them

That's not what's happening here. Neither I nor crooked-v have broken any rules or gotten rejected.

> If what you suggest I'm saying is "obviously wrong", then come on, you can do better than that, "respond to the strongest plausible interpretation".

Sorry, I can't think of any other way to interpret what you said. You gave a definition of sour grapes that is different from the normal definition, but fatally flawed. Normally the "strongest plausible interpretation" would be to assume you mean the normal definition of sour grapes, but that would contradict your entire argument as I understand it, so I can't do that.

While for my argument, I was saying "you have to do X to do Y, which is dumb" and you responded to "you have to do X" in a vacuum. Obvious weakening.

> you don't need to post niche questions or hunt popular questions, you can deal with normal questions.

If it's not niche, I can nearly guarantee it's already been answered, or that I'd be responding to a duplicate where the rules-following behavior would be trying to get it closed.

> you don't need to hack or farm, you can genuinely participate

Not when I rarely find questions appropriate to respond to, and the correct way to respond is always a comment. I would have to seek out questions just for points, which is farming.

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

#190
post #188

Earlier quoted context omitted.

I guess people's expectations might have been lower? MSDN sucks along every axis I can imagine. The content is bad: Quick, is System.DateTime[0] timezone-aware? The examples also use (the harmful and bug-prone) DateTime.Now 5 times, while DateTime.UtcNow is only mentioned once, as a minor aside. The structure is bad: Is something part of "Core", "Framework", "Standard", or "Platform Extensions"? It's particularly rid…

Python's datetime appears to have one constructor with several optional parameters, whereas .NET's System.DateTime has several separate constructors each taking a different set of parameters. The MSDN documentation is accurate and correct; your critique applies to the underlying code (which is built to be backwards-compatible to .NET 1.0, which I don't think even supported optional arguments).

The signatures that are useful when developing the library might be more complex than the ones that the library consumer would be interested in. This isn't much of an excuse when you also maintain the documentation tools.

For a similar example, Scala's old collections library had a ton of machinery to ensure that `map` and co. would specialize correctly.[0] But the user never sees that, because they added a mechanism called "use cases", that allow you to override the signature shown in the docs with a simpler one.[1]

[0]: https://github.com/scala/scala/blob/v2.12.10/src/library/sca...

[1]: https://www.scala-lang.org/api/2.12.10/scala/collection/immu...

Post reply on HN