News for hackers. Stuff that matters.
Re:The popularity of Microsoft’s Surface is the least realis... by derrikcurran on Wednesday January 17, 2018 @07:37AM (#16167379)
As mentioned, JS devs seem to favor Macs heavily and the majority of popular JS-related tools seem to be built for *nix first. As a Windows user, I frequently ran into annoying friction. Like some step in a complicated build process failing because someone used `&&` in an NPM script.

That said, I've switched to a WSL environment (native Linux on Windows) and it has handled everything I've thrown at it so far, including make scripts, GUI apps, etc.

Re:The popularity of Microsoft’s Surface is the least realis... by hungerstrike on Wednesday January 17, 2018 @11:27AM (#16169200)
`&&` works in my NPM scripts on Windows 10.

Here's one line from my current project:

    "build-intl": "npm run build-intl-translations && npm run build-intl-locales",
Perhaps this is something that didn't work early on. I've been using Node.js on Windows since before v0.10 and I have had some issues here and there but these days it's a dream.
Re:The popularity of Microsoft’s Surface is the least realis... by EnderMB on Wednesday January 17, 2018 @12:17PM (#16169696)
IIRC, Powershell and CMD have different chain syntax, so it depends which one you're running from. If I'm using CMD I can use &&, whereas | works on PS.

I might be wildly wrong on this one, but I'm a big fan of writing "git add . && git commit -m "Commit Message" && git push origin master", and I noticed that in a Powershell window I had to use the vertical bar instead of double-ampersands.

Re:The popularity of Microsoft’s Surface is the least realis... by hungerstrike on Wednesday January 17, 2018 @02:01PM (#16170689)
Wow, I have to try that out later. I have always avoided powershell in favor of CMD because I wasn’t sure of what powershell extras would get my way. Seems like this would be one example of that.
Re:The popularity of Microsoft’s Surface is the least realis... by majewsky on Wednesday January 17, 2018 @07:44AM (#16167425)
Does Docker work on WSL?
Re:The popularity of Microsoft’s Surface is the least realis... by nunez on Wednesday January 17, 2018 @08:25AM (#16167663)
Yes! Sort of. You need Docker for Windows and have to have the DOCKER_HOST of your Linux subsystem be connected to it. But volume mounting doesn't work :( As such, I use an Ubuntu Vagrant box.
Re:The popularity of Microsoft’s Surface is the least realis... by majewsky on Wednesday January 17, 2018 @10:42AM (#16168773)
Meh. I guess I'll continue with my current setup (Arch Linux on Virtualbox) for the time being.
Re:The popularity of Microsoft’s Surface is the least realis... by Zekio on Wednesday January 17, 2018 @08:13AM (#16167576)
Not as far as I know, but docker on windows will spin up a HyperV VM so you still get a pretty good experience