Live data from Hacker News

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

twitter.com

71–80 of 191 posts

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

#71
post #37

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.

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.

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

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

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

#73
post #46

Earlier quoted context omitted.

But what if the docs suck, as is the case with a lot of .io domain libraries?

And anything MS?

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?

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…

I used to work with a "senior developer" that was making well over 150K several years ago that basically just verbatim copy-pasted code off StackOverflow and hacked it together.

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

#75

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

This is slightly unrelated but there was a time when reading the azure docs where you’d be reading a page for version 1.0 but the sidebar would take you to the documentation for version 2.0 and I actually got caught up writing a mismatched integration and it took me forever to figure out why I had done that.

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

#76

Some tangential analysis of Synapse over here: https://twitter.com/davkean/status/1144498663122558977 .

when it forced you to login to use it a few months back, i immediately bought a zowie instead and highly recommend others to do the same

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

#77

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

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

It's a common use-case that the best docs are provided on some dude's gist or blogpost. Devs and orgs update the code but don't bother with the forgotten docs. It happens all the time.

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

#78
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 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

#79
post #66

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…

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?

Well, if you are going to be passing something as your own work, you better understand it well.

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

#80
post #44

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 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 (!)

SO is the worst example of "poop must be delicious - after all, billions of flies can't be wrong!" mentality. As long as the answer is upvoted by enough people, it's accepted as the right one and it takes a titanic effort to correct it, no matter how wrong it is.
Post reply on HN