Live data from Hacker News

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

twitter.com

31–40 of 191 posts

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

#31

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

Mouse./keyboard customisation software seems universally bad / lowest-bidder style. Logitech's mouse button configuration tool for example weights over 400MB. Literally for a tool which requires a few dropdowns.

Oooh. What does it have in it?

A home-made .NET-to-Java transpiler that requires custom builds of the CLR and JVM?

The 300MB of random data at the end of the Windows XP install CD?

An encrypted archive containing the set of folders comprising the entire source code history (the top level of which has an alarming number of entries named like "revert_v5_bug [Final] - ACTUAL CURRENT") (because some developer has OCD about backups)?

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

#32
post #31

Earlier quoted context omitted.

Mouse./keyboard customisation software seems universally bad / lowest-bidder style. Logitech's mouse button configuration tool for example weights over 400MB. Literally for a tool which requires a few dropdowns.

Oooh. What does it have in it? A home-made .NET-to-Java transpiler that requires custom builds of the CLR and JVM? The 300MB of random data at the end of the Windows XP install CD? An encrypted archive containing the set of folders comprising the entire source code history (the top level of which has an alarming number of entries named like "revert_v5_bug [Final] - ACTUAL CURRENT") (because some developer has OCD abo…

I didn't investigate. It was whether the "unifying driver" or the "g hub" app for macos if you want to check.

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

#33

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

Well... laziness is the mother of invention or something like that.

Has anyone about 40 lines of code with an average line width of 80 characters? I have this rather spare region that doesn't look nice on the mini map.

But seriously, I think the reasons are mundane and developers often have an ample list of problems to solve, so easy solutions for some of those are used as much as possible. Ensuring only one process runs at a time is probably just a feature that invites negligence.

It shouldn't happen, but I am not surprised.

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

#34
post #23

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

> "Who the hell copy pastes code into their program without first examining..." Quite a lot of people do that. It's pretty much the reputation of Stackoverflow. And of course everybody knows it's bad, but it saves time and it works and there's deadlines so they move on and ship it to production. How to find this particular bug is not that hard, though: you're looking for a way to ensure that your program can run only…

I've had exactly zero instances where I could copy and paste literally.

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

#35

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.

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

#36

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

>Who the hell copy pastes code into their program without first examining and understanding what each step is actually doing, how and why the pieces fit together as they do, and how it works as a whole to solve the problem?

Almost everybody at some point or another?

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

#37

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.

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.

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

#39

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

Mouse./keyboard customisation software seems universally bad / lowest-bidder style. Logitech's mouse button configuration tool for example weights over 400MB. Literally for a tool which requires a few dropdowns.

It's not limited to mice and keyboards. Pretty much every device or peripheral out there is infected with that, from printers to graphics cards to headphones, etc..

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

#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 without understanding what it does.

Post reply on HN