News for hackers. Stuff that matters.
Re:The popularity of Microsoft’s Surface is the least realis... by EnderMB on Wednesday January 17, 2018 @06:09AM (#16167007)
Over the past year and a bit, I've seen far more Surface Books than before, and I put that entirely down to the delay in Apple releasing the new MBP model. A lot of people wanted a new model, and Apple took their sweet time, so they went for a high-end alternative from Microsoft. Five years ago, most developers at the .NET user groups I attended were either using a MBP, or whatever shitty cheap laptop their company gave them. Now, it's either a Surface Book, a Surface, the odd older MBP, or the cheap work laptop.

In the Linux world, I've only seen a handful of Surfaces, and one guy using a Surface Book with a VirtualBox VM for Debian (my preferred setup too). The average dev still seems to be largely on the Apple train, which is understandable as the MBP is still a fantastic device.

Outside of the development world, I see a few Surfaces in the wild, but nowhere near the amount of Macbooks I see. It's definitely grown/growing though, probably because the Surface is a legitimately good machine in a sea of alright to mediocre machines. I'd say that for every twenty Macbooks I see in the wild, I see one Surface, which is pretty good. In terms of TV, that's probably about the same too, since Apple machines seem to be everywhere on TV and in the movies.

Disclaimer: Proud Surface Book owner.

Re:The popularity of Microsoft’s Surface is the least realis... by sho_hn on Wednesday January 17, 2018 @06:31AM (#16167078)
I own a Surface Book as well. I'm also a developer on KDE Plasma 5, and wrote quite a bit of the core UI of that product on the SB over the past 2 1/2 years.

It's not been a ride without bumps to run Linux on this thing (though it's quite easy now) -- but the uniquely wonderful display made the struggles worth it for me. Meanwhile Apple just doesn't really offer anything that sets them apart.

Re:The popularity of Microsoft’s Surface is the least realis... by EnderMB on Wednesday January 17, 2018 @07:13AM (#16167272)
Out of interest, what distro do you use? I tried to run Ubuntu on mine a while back, and ran into nothing but issues, so I stick to a VM with Debian nowadays.
Re:The popularity of Microsoft’s Surface is the least realis... by sho_hn on Wednesday January 17, 2018 @07:19AM (#16167292)
Fedora. During the first year I built my own kernel that was Fedora's with some patches applied (I published it in a COPR for others to use as well) - it was needed even just to get a working keyboard and trackpad at the time.

Around maybe the start of 2017 this became fortunately unnecessary, with the stock F26+ distro kernels driving everything but the touchscreen these days. So up to that point it's install and forget.

Currently I build jakeday's kernel source tree (which he builds binaries from for Ubuntu) on Fedora to have the touchscreen working as well, as Intel never mainlined the driver for it. If you're running Ubuntu, just throwing jakeday's kernel PPA in there should do the trick.

r/surfacelinux is probably the best community resource for this enterprise.

Re:The popularity of Microsoft’s Surface is the least realis... by rat87 on Wednesday January 17, 2018 @06:47AM (#16167158)
> The average dev still seems to be largely on the Apple train, which is understandable as the MBP is still a fantastic device.

Other then ruby devs who uses macs?

I'd think Lenovo would be far more popular

Re:The popularity of Microsoft’s Surface is the least realis... by EnderMB on Wednesday January 17, 2018 @07:12AM (#16167266)
Same goes for Python and JavaScript in my experience.

A lot of people see Mac as "close enough" for any Linux based development, and will build on a Mac and deploy to a Linux based server.

In terms of Lenovo, they were usually pretty popular, although I lumped these in with the "cheap devices" as I would often see far more Ideapads than Thinkpads, because they were cheaper for the employer.

Re:The popularity of Microsoft’s Surface is the least realis... by sundvor on Wednesday January 17, 2018 @07:43AM (#16167417)
That new 2018 X1 Carbon is looking uber sexy. Light as a feather, proper quad core CPU, great screen, track point & proper keyboard etc.

My 2011 one is still working fine but the minute it breaks, well, prepare to be replaced. The Macbook Pro is a heavy behemoth in comparison. And no function keys. Do not want.

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
Re:The popularity of Microsoft’s Surface is the least realis... by actsasbuffoon on Wednesday January 17, 2018 @11:46AM (#16169400)
A lot of the languages I like don't work well on Windows. A world without Haskell isn't a world I want to live in.

Of course, you could always install Linux, and then things would be fine. I've tried it in the past and I've always run into annoying driver issues. I'm not the sort of person who wants to spend hours trying to figure out why my laptop won't go to sleep when I close the lid. It takes too much time away from playing with Haskell.

Re:The popularity of Microsoft’s Surface is the least realis... by joe_fishfish on Wednesday January 17, 2018 @06:50AM (#16167169)
iOS devs, because they have to.
Re:The popularity of Microsoft’s Surface is the least realis... by electric_sheep on Wednesday January 17, 2018 @07:10AM (#16167259)
Most webdevs that I know do. JS stack for sure appears to favor it.
Re:The popularity of Microsoft’s Surface is the least realis... by d4mi3n on Wednesday January 17, 2018 @07:04AM (#16167227)
I've seen a few Clojure and Java devs on Macs recently.
Re:The popularity of Microsoft’s Surface is the least realis... by pjmlp on Wednesday January 17, 2018 @07:26AM (#16167326)
Actual mac devs targeting Apple operating systems.
Re:The popularity of Microsoft’s Surface is the least realis... by majewsky on Wednesday January 17, 2018 @07:44AM (#16167423)
> Five years ago, most developers at the .NET user groups I attended were either using a MBP, or whatever shitty cheap laptop their company gave them. Now, it's either a Surface Book, a Surface, the odd older MBP, or the cheap work laptop.

Anecdata: While most in our team are using Macbooks, I'm seeing an increasing amount of people using a Lenovo X1 Yoga. I made the switch as well last month. However, that might just be a consequence of what our employer offers: The X1 Yoga is simply the best dev machine one can buy in the internal store (not counting Macbooks, I'm not aware of their current lineup).

Re:The popularity of Microsoft’s Surface is the least realis... by adriand on Wednesday January 17, 2018 @06:44AM (#16167137)
Anecdotally I seem to be seeing them quite a bit too, particularly within the business world, and within that, particularly within larger enterprises. I seem to see fewer iPads. Product placement aside, anecdotally it seems like Microsoft is on the right track.

Disclaimer: I own no Microsoft products.

Re:The popularity of Microsoft’s Surface is the least realis... by EnderMB on Wednesday January 17, 2018 @07:43AM (#16167415)
I've definitely seen this shift, mainly because a lot of people seem to be coming to the realisation that the iPad is a fantastic tablet, but a shitty work device.

I like the iPad, and I like the idea of using it as a basic client for cloud-based work, but I think a lot of people take for granted how complex the tooling they use in day-to-day work is.

Re:The popularity of Microsoft’s Surface is the least realis... by eitland on Wednesday January 17, 2018 @12:06PM (#16169602)
> The average dev still seems to be largely on the Apple train, which is understandable as the MBP is still a fantastic device.

Warning: I didn't count, the following is just what I think I see. In my current job a little more than 50% seems to be using Windows on decent hardware. The rest seems to be split equally between Mac and Linux (again on decent hardware) with coding PMs and backenders preferrimg Linux and coders with design responsibilities preferring Mac.