Live data from Hacker News

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

twitter.com

121–130 of 191 posts

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

#121

Docker for Windows has had a fundamental Dns[1] bug since April of last year, I've been forced to run v2.0.0.3 for months now to ensure yum repos resolve inside AmazonLinux containers. Truly a second class platform. [1]: https://github.com/docker/for-win/issues/3810

Also Docker 2.2 broke volume binding in a way that's kind of staggering (basic operations like move and delete fail). Ive had to keep everyone on Docker 2.1 because after spending two days on it I just concluded it can't do basic file system operations correctly. I really hope they start testing more thoroughly.

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

#122

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.

This is a hard lesson I had to learn as a junior developer. I'm impatient and Stack overflow can often give me an easy solution. But just as often, it can't and I will spend 30 minutes unproductively trying things with little progress. As I become a better developer I become more inclined to spend 30 minutes with the documentation instead.

Depends on how clear the documentation/usage is... and sometimes you accept that you have limited knowledge and understanding. Either way, it helps to understand what you are doing, and when in doubt look it up.

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

#123
So with tools like Sonarqube we get static code analysis on our code base which shows code duplication within itself. I wonder if there is some way to look for duplication from stack overflow? Not sure that is feasible, since no one is going to want to post all of their proprietary code to some API, but wonder if there is some system for local indexing SO that would also for local duplication detection.

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

#125

I am a somewhat active SO user and one thing I see other contributors repeating over and over is "stackoverflow is not a code writing service". Usually this comes up in the context of some kid posting their college assignment and asking people to solve it, but I think it should extend further. Do not copy/paste code from stackoverflow. SO is not a code writing service. It is a problem solving/question answering servi…

[deleted]

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

#126
post #56

Earlier quoted context omitted.

I'll suggest one more addition to this (and any code you take from the internet): put a comment in saying where you got the idea from (with a link). It can help the next guy out a lot. And you might be the next guy.

Especially if it's not a copy-paste job. If there's any adjustments or even a rewrite, the comment should include the reason why the changes were made. The next guy coming along might not realize that changes were needed

It's usually better to put that information in the revision comments when you commit rather than in the code itself. Otherwise the code accumulates layers and layers of comments over years.

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

#127
post #56

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

I'll suggest one more addition to this (and any code you take from the internet): put a comment in saying where you got the idea from (with a link). It can help the next guy out a lot. And you might be the next guy.

> put a comment in saying where you got the idea from (with a link)

StackOverflow content is licensed under CC BY-SA, so you're legally required to do that if you copy code from an answer. (Unless it's so trivial the code is not copyrightable, but it's better to be on the safe side and attribute the source correctly anyway.)

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

#128

Earlier quoted context omitted.

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…

microsoft's documentation for anything other than .NET stuff is absurdly bad. i was trying to do some work with their crm solution it took me a literal week to find out how to do simple oauth -- mostly because 99% of the documentation only had .NET examples using their own framework!

had extremely good experience with microsoft documentation. and i never did .NET. even old win32 API stuff still works, unlike many APIs i know of...

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

#129

Earlier quoted context omitted.

This is a hard lesson I had to learn as a junior developer. I'm impatient and Stack overflow can often give me an easy solution. But just as often, it can't and I will spend 30 minutes unproductively trying things with little progress. As I become a better developer I become more inclined to spend 30 minutes with the documentation instead.

Depends on how clear the documentation/usage is... and sometimes you accept that you have limited knowledge and understanding. Either way, it helps to understand what you are doing, and when in doubt look it up.

If the library documentation isn't clear then that's a clear sign that whoever created it doesn't take quality seriously and you shouldn't use it in the first place. Of course sometimes there's no alternative so you just have to deal with it.

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

#130
post #71
post #37

Earlier quoted context omitted.

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.

As parent said, I don't recommend doing this. In particular, the third-party sources are unlikely get depreciation notes... So unless this is a function you know well, it is almost always better to go to official docs instead.

I will say that as a Ruby on Rails dev, where many things have changed over time, there are quite a lot of highly voted StackOverflow posts where they go into detail about what the answer is on the date of posting, then someone comments "this is different in Rails 4.1+!" and the responder will revisit the answer and revise it to include applicable advice for whichever version you might be on.

This is not granted, but it happens a lot. Although if the docs are good, you should definitely expect to find good information about deprecation notices there, too! But it's not at all uncommon for conversations about code, on StackOverflow or wherever else, to include the footnotes about what is different and what version changed it.

Post reply on HN