News for hackers. Stuff that matters.
Re:Windows for Linux Nerds by blunte on Wednesday September 13, 2017 @11:50PM (#15244869)
Want to _really_ impress us, Microsoft? Give us a Windows Subsystem for Linux.

I chose a maxxed out Dell XPS15 laptop with Windows 10 to replace my 3 year old rMBP with the (foolish) expectation that it could replace my Mac. Apple had lost sight of what mattered to developers, and I was angry. But now, 2 months later, here I continue developing and existing on my old rMBP.

Bash in Windows is incredibly slow on some actions. I didn't document all my activities, so I can't point to which thing was slow. But for a developer using Python, Elixir, Node, Nginx, PostgreSQL, MySQL, Git! SSH! and some other smaller accessories, WSL was far less performant than a Linux VM on my Mac. And it was far, far less performant than on native Mac.

I very much appreciate what Microsoft is trying to do. Perhaps in a generation or three they will finally leave behind most of their protectionist behaviors and embrace what works for them (for better or worse) - MS Office and the host of Windows apps that businesses depend on.

Apple is no saint or savior. But thankfully, some of what they did in the years past (dare I say during the reign of Jobs) is what has made them special. #1 - latency. My Macs work 99% of the time as expected. They run for weeks or months. My high end Android phone, even after factory reset, has occasional mind-boggling hangs (after which 1000 UI events register and take effect). The same applies to Windows 10! It works fine, sometimes, for a few things. Then it goes nuts. Wipe and reinstall (remove the Dell bloatware) and it's better. But it still lags so far behind macOS.

There is no utopia. There is only pain, frustration, and anger on the part of users. But please, give us developers (who practically _live_ in your environments) something.

Re:Windows for Linux Nerds by tw04 on Thursday September 14, 2017 @12:29PM (#15249583)
>Want to _really_ impress us, Microsoft? Give us a Windows Subsystem for Linux.

What makes you think that's even possible? WSL works because the NT kernel was built with POSIX compliance out of the gate and they've been able to translate some of the functionality. The Linux kernel wasn't built with Windows compatibility out of the gate.

Do you honestly believe that Linus would accept core kernel changes for the sole purpose of supporting Windows on Linux? It would NEVER. HAPPEN.

>I didn't document all my activities, so I can't point to which thing was slow.

I hate these vague "it was slow, I promise, just can't tell you what". If you can't tell us specifically what was slow, it's worse than anecdotal evidence. I do all of the things you listed there and the only thing that's ever been remotely slow is Git on extremely large repo's - which they're aware of an actively working ot fix.

>It works fine, sometimes, for a few things. Then it goes nuts. Wipe and reinstall (remove the Dell bloatware) and it's better.

What specifically "goes nuts"? I've got a laptop and desktop that have been running Windows 10 since launch and they work just as well as my Mac does. I've never re-installed any of them, and never had them "go nuts". That story reads like someone who last used Windows98 and thinks it still applies.

Re:Windows for Linux Nerds by Sammi on Thursday September 14, 2017 @03:09PM (#15251471)
>What makes you think that's even possible?

Have you heard of Wine? https://www.winehq.org/

Imagine if Microsoft put some of their developers on that.

Re:Windows for Linux Nerds by hypervis0r on Thursday September 14, 2017 @01:26PM (#15250256)
> Do you honestly believe that Linus would accept core kernel changes for the sole purpose of supporting Windows on Linux? It would NEVER. HAPPEN.

Kinda off-topic, but, isn't Linus basically a Microsoft here? Does it matter if Linux's forkable and open-source, if nobody ever forks it to do what the community wants instead of what Linus wants? (e.g. stable kernel ABI, Windows support, etc)

> I've got a laptop and desktop that have been running Windows 10 since launch and they work just as well as my Mac does. I've never re-installed any of them, and never had them "go nuts". That story reads like someone who last used Windows98 and thinks it still applies.

I agree so much with this... last time I installed Windows, it was Windows 7 in 2013, haven't touched it since then, and it works perfectly. Of course it requires a bit of maintenance, but what doesn't after so many years.

Re:Windows for Linux Nerds by andrewflnr on Thursday September 14, 2017 @01:50PM (#15250551)
> Kinda off-topic, but, isn't Linus basically a Microsoft here? Does it matter if Linux's forkable and open-source, if nobody ever forks it to do what the community wants instead of what Linus wants?

Not really. With OSS, what matters is whether the community wants it badly enough. Forking a software project is fundamentally hard, and the payoff has to be big enough. With Microsoft, it doesn't matter how big the community's payoff is. If Microsoft doesn't benefit enough, it ain't happening.

I think the threat of forking is one of those really serious threats that still matters even if no one ever really comes close to doing it. It comes up more often in geopolitics, where military capability still matters even if no one wants to get anywhere close to a war.

Re:Windows for Linux Nerds by ulyssesgrant on Thursday September 14, 2017 @02:10AM (#15245353)
Yes! I primarily develop on Linux, but lately have been working on Windows porting. In many ways the WSL has been a massive savior. It makes developing on Windows at least possible for Linux users. But it's sooo slooow.

The performance bottlenecks I hit seem to be disk i/o related. Things from path tab completion on the command line, to Vim's YouCompleteMe compiling code in the background, to a plain "git status", are just painfully slow right now.

If Microsoft can fix these performance issues, and someone ships a better terminal replacement (currently using ConEmu, also has issues), developing on Windows would be almost painless for Linux users (after learning how to integrate projects with Visual Studio...though I've read VS 2017 has better cmake integration).

Re:Windows for Linux Nerds by tobias3 on Thursday September 14, 2017 @07:04AM (#15246733)
I'd say you pin can pin it down mostly to those reasons:

* Do you have active snapshots (vssadmin list shadows)? Halves random writes to disk in the worst case.

* Do you have USN journaling enabled (fsutil usn queryjournal c:)? Adds extra IO to meta-data operations.

* NTFS/FAT is optimized for fast directory listing speed so modifying files also modifies directory entries. Nothing one can do about that (except being aware of that and designing programs with this in mind).

* Windows doesn't keep as much dirty fs data in fs-cache. I know of no way to change that. One can probably, if one uses a Windows Server OS.

* Is a on-access Virus scanner active? If yes, one cannot compare performance to Linux. It's a massive bottleneck.

Re:Windows for Linux Nerds by nikbackm on Thursday September 14, 2017 @08:23AM (#15247213)
Regarding the last point.

Windows Defender will normally be active by default on Windows 10 unless you go out of your way to turn it off.

Re:Windows for Linux Nerds by hypervis0r on Thursday September 14, 2017 @01:31PM (#15250320)
It's not like editing a value in the registry is "going out of your way", it's almost standard Windows practice by now.
Re:Windows for Linux Nerds by joombaga on Thursday September 14, 2017 @03:20PM (#15251588)
Literally two commands in an elevated command prompt

    sc config WinDefend start= disabled
    sc stop WinDefend
Re:Windows for Linux Nerds by kalmi10 on Thursday September 14, 2017 @04:54AM (#15246088)
The WinBtrfs project is very promising. I tried it a few days ago. I mounted my btrfs partition with it, and it appeared in /mnt under WSL. I chrooted into it from WSL, and it felt faster than the ntfs-backed linux fs. WinBtrfs has plans for implementing WSL permission pass-through. I look forward to that.
Re:Windows for Linux Nerds by oneweekwonder on Thursday September 14, 2017 @04:02AM (#15245830)
Tried https://mremoteng.org/ before? IIRC it wraps putty/kitty for ssh. But was the most useful terminal replacement options for me when I was on Microsoft Land.
Re:Windows for Linux Nerds by H1Supreme on Thursday September 14, 2017 @09:06AM (#15247539)
Git Bash works great for SSH too. Putty sucks, imo. Especially, the bullshit associated with the certificates. Git Bash uses Linux style rsa keys.
Re:Windows for Linux Nerds by josteink on Thursday September 14, 2017 @06:56AM (#15246693)
> If Microsoft can fix these performance issues, and someone ships a better terminal replacement (currently using ConEmu, also has issues)

wsl-terminal works for me.

https://github.com/goreliu/wsl-terminal

Re:Windows for Linux Nerds by ikurei on Thursday September 14, 2017 @03:57AM (#15245807)
> The performance bottlenecks I hit seem to be disk i/o related.

Would it be possible to mount the folders with the code on RAM? They aren't, usually, very heavy. May be a small-ish 500mb volume on RAM could help? Is this even possible on WSL/Windows?

Re:Windows for Linux Nerds by Tuna-Fish on Thursday September 14, 2017 @04:17AM (#15245905)
It's possible, but it wouldn't help. The problem is all the metadata lookups, which generally take several orders of magnitude more time on Windows than they do on Linux. The Windows implementation of NTFS just really isn't optimized to act as an unix filesystem.
Re:Windows for Linux Nerds by throwaway613834 on Thursday September 14, 2017 @05:33AM (#15246269)
Do you know what exactly the fundamental barrier to this is? I've always wondered. What's so different about Linux and Windows that Windows has to do so much more work for file creation/deletion? It seems to be half an NTFS issue and half a Windows issue, because even on Linux I'm pretty sure NTFS is noticeably slower than ext[234], but not as slow as on Windows.
Re:Windows for Linux Nerds by Tuna-Fish on Thursday September 14, 2017 @06:17AM (#15246470)
I doubt there is any actual fundamental barrier, rather the reason is simply that the primary workload that Linus himself runs benefits greatly from faster metadata lookups, and therefore every nook and cranny of it has been optimized to as fast as possible.

In contrast, while metadata performance is sluggish in NTFS, at least a few years ago there were ways to get better large transaction async file performance than ext4 if you knew what you were doing -- clearly that workload was something that customers had asked for.

Re:Windows for Linux Nerds by buckminster on Thursday September 14, 2017 @06:57AM (#15246702)
Yes, SQL Server was that customer.
Re:Windows for Linux Nerds by Joeri on Thursday September 14, 2017 @01:45AM (#15245261)
From what I understand the WSL team is small, with only a few people working on the kernel parts. I'm sure they honestly intend to deliver blazing performance but they're still busy delivering basic compatibility. Maybe microsoft should allocate more resources, since it is probably the cheapest way to gain developer mindshare.

I do node development on windows, but not in WSL. I would advise doing as much as you can with native built software and only using WSL to fill the gaps.

Re:Windows for Linux Nerds by rizalp on Thursday September 14, 2017 @02:47AM (#15245495)
Agreed with that. Better use native port instead of WSL, as many tools, limited they may be, has better integration with the rest of the system

Case in point : cannot use Git on WSL with IntelliJ, Sourcetree

Re:Windows for Linux Nerds by m_fayer on Thursday September 14, 2017 @05:17AM (#15246188)
Huh, why is that? I do a wide range of web development in WSL - npm, gulp, and webpack all work just fine for me. This works great for vue dev, with browsersync and everything. I also have to do a little WP work, and the required LAMP stack in WSL works great.
Re:Windows for Linux Nerds by monkmartinez on Thursday September 14, 2017 @12:05AM (#15244921)
Why not dual boot linux and windows 10 or use a Linux VM? It takes like 10-15 seconds to reboot a machine these days. I am about to take the plunge toward a ThinkPad after many years with OSX (I haven't upgraded my 2011 17" to macOS).

My plan is to try dual booting linux and/or using a Linux VM. I think the biggest hurdle will be changing my mindset. That is, looking for the OSX version of whatever it is I am looking for. Wrapping my mind around Linux... just Linux for as much as possible.

I am looking forward to using just Linux as time goes on. I need to ween myself off of a few things before I can make the switch completely... I did it when I went from win to mac.

Re:Windows for Linux Nerds by freedomben on Thursday September 14, 2017 @12:33AM (#15245037)
I did almost this exact thing a few years ago and I've been super happy. Two points of advice:

1. Check hardware compatibility _before_ you order your laptop. Intel video drivers and wifi drivers are open source and reliable. Stay away from Broadcom, and unless you plan to do gaming, stay away from Nvidia (tho modern Ubuntu makes nvidia pretty darn easy). 2. Pick a DE (I recommend Gnome 3, but KDE is great too) and learn the shortcut keys. Expect a day or two of spinup time. If you go with Gnome, make use of the Gnome Tweak Tool and the super key shortcuts.

Good luck! This is exciting :-)

Re:Windows for Linux Nerds by wutbrodo on Thursday September 14, 2017 @01:02AM (#15245133)
I switched at the beginning of college (oddly enough, before I decided to add a computer science degree or had ever written a line of code), and I really don't understand what all the fuss is about. I've stuck with ThinkPads for hardware compatibility, and I've always been 10x more productive on my machine than anyone I know. On top of that, I've been able to keep 90% of the same habits and config while taking my machine over the years from a prettier-than-Mac Gnome+Compiz setup to a barebones, personalized, blazing fast, low power keyboard-shortcut-driven Openbox setup. The key insight is that if almost ANYTHING about my machine doesn't perfectly fit me, I can make it fit me in about five minutes.

Frankly, I consider this table stakes for a competent OS and I don't understand why people put up with being deprived of this (especially devs): over the last decade I haven't been able to shake the feeling that almost everyone else in the personal computer market has been conned.

Re:Windows for Linux Nerds by freedomben on Thursday September 14, 2017 @01:18AM (#15245175)
I completely agree. The beauty of my system now is that I can make it do whatever I want it to, and I never have to worry about somebody taking it away (open source lives forever. can't say the same about Win XP or old version of OSX). I also never worry about what the corporation behind my OS is doing with my data.
Re:Windows for Linux Nerds by pjmlp on Thursday September 14, 2017 @09:05AM (#15247528)
Because some of us have been spoiled with development environments like Smalltalk, Common Lisp IDEs, Delphi, ... with Visual Studio being one of the best.

I remember following KDevelop progress hoping that one day it could eventually match what I already had available in Borland and MS tools.

Re:Windows for Linux Nerds by wutbrodo on Thursday September 14, 2017 @05:48PM (#15252799)
Thanks for the perspective: I haven't heard VS given as a reason before. It's probably a consequence of the bubbles I've been in, but for every dev I've ever met (incl everyone in my CS program), there wasn't any advantage to Windows for development and disadvantages everywhere you looked. This may be a consequence of the devs I know (esp the good ones) skewing towards having a CS background (though obviously most of them aren't computer scientists in industry).

(Of course none of this applies to personal computing, where I still don't understand Windows usage beyond the need for niche software).

Re:Windows for Linux Nerds by pjmlp on Friday September 15, 2017 @01:44AM (#15254915)
I was on my 2nd CS year when Slackware 2.0 was released, and we had big boys UNIX on the department, like Aix and DG/UX.

Yet the majority of lab computers were running Windows 95/98.

UNIX was mostly used for the OS, compiler design and distributed computing classes.

Everything else, including graphics programming was on Windows.

Re:Windows for Linux Nerds by sannee on Thursday September 14, 2017 @03:21AM (#15245616)
> unless you plan to do gaming, stay away from Nvidia

Or any sort of GPU compute / machine learning. That is actually my primary reason for buying laptop with a dedicated Nvidia GPU - it sucks performance wise, that's to be expected, but at least I can play with both OpenCL and CUDA.

Re:Windows for Linux Nerds by majewsky on Thursday September 14, 2017 @05:21AM (#15246204)
> unless you plan to do gaming, stay away from Nvidia

The newer AMD cards work very well with the mainline kernels and Mesa. (My desktop PC has an R9 Nano from 2015.) Haven't tried compute or Vulkan yet, though.

Re:Windows for Linux Nerds by latencyloser on Thursday September 14, 2017 @12:33AM (#15245034)
I'm in a similar predicament to OP. I prefer Linux in most cases, it's what I'm used to. But I need or would vastly prefer one or the other depending on what I'm doing. A VM is fine for just checking outlook..or using Skype for chat and things like that. But the second I need to use an IDE for Windows development, it's too slow to bear. Having better interchangeability between these two would make my life significantly better. Whether that be a stronger Linux subsystem for Windows, or a Windows subsystem for Linux.

Of course, I work at Microsoft. That being said, many devs I see are open to or enjoy using Linux--myself included. I think, and hope, we'll see continued growth in support for it. Though, I have little to no influence over such things.

Re:Windows for Linux Nerds by rbanffy on Thursday September 14, 2017 @04:46AM (#15246043)
There are some ways to improve VM performance. You could try to pre-create the disk volume instead of leaving it dynamic as it usually is, attach a partition directly, or move it to a different disk that'll not interfere with your other apps (my bigger home box has system and apps on one disk, VM volumes and network shares on another). If you do that, your performance hit for disk IO will be very close to zero. A modern CPU will usually not eat up more than 3% per virtualisation layer (at least under KVM). Beyond that, you can assign more cores to the virtual machine and see how it goes. Even a relatively humble i7 laptop has enough power to run Visual Studio with dignity for all but the craziest projects.

If we are talking about a beefy Xeon E5 workstation with 64 gigs of memory, you'll probably be able to assign more resources to the Windows VM than Visual Studio knows how to deal with.

Re:Windows for Linux Nerds by discordance on Thursday September 14, 2017 @04:31AM (#15245966)
How is the attitude/atmosphere internally at Microsoft towards people using a competing OS (Mac or Linux).

Does the group working on Windows OS feel alienated at all?

Re:Windows for Linux Nerds by latencyloser on Thursday September 14, 2017 @11:14AM (#15248825)
In my experience, pretty positive. I see Macs around campus frequently. In my team, people mostly use Windows, so there's definitely no alienation there. However, when people notice I mostly use Linux, I usually receive a chuckle for not using Windows--either out of irony or since we are highly encouraged to dogfood everything here. But that's usually the last I hear of it, so I don't think anyone sees anything wrong with it.
Re:Windows for Linux Nerds by mysterydip on Thursday September 14, 2017 @07:34AM (#15246873)
Not all VM host softwares are created equal. One of the other solutions out there may have higher performance for your needs. As a sibling comment said, there's ways to troubleshoot performance as well. With a modern system and the virtualization instructions baked into CPUs, most VMs should approach "near native" speeds.
Re:Windows for Linux Nerds by dhimes on Thursday September 14, 2017 @08:32AM (#15247275)
How can we learn which ones are the best?
Re:Windows for Linux Nerds by mysterydip on Thursday September 14, 2017 @09:00AM (#15247483)
The difficult part is virtualization solutions aren't all optimal out of the box, so any evalution of them by someone new to a given product might be skewed.

I'd look at what the big names are, especially in paid versions as they have their business on the line, and check youtube or blogs for performance tweaks or maximizing performance, and see what those who use it day in and day out have found. There aren't any real benchhmark sites or articles I'd recommend, as it can be hard to distinguish unbiased reporting from advertising.

Personally, I would give the VMware products a trial (most have 60 day unlimited use options), but I'm also biased having been a VMware VCP5. Anecdotally, their performance (when set up properly) was better than when I ran VirtualBox or Xen.

Make sure all virtualization extension options are enabled in your BIOS, first off. Second, save some cores and RAM for your host machine. More cores is not always better when it comes to VMs, but this applies more to multiple VMs on a machine and CPU scheduling issues. Third, turn off any power saving features in the host software or guest VM. Things like CPU C states can be a silent performance killer. Fourth, make use of whatever metrics or utilities the software provides to see at the host and guest levels where the bottlenecks are. The guest may think it's waiting on CPU while the host is busy paging memory blocks on disk.

Re:Windows for Linux Nerds by dhimes on Thursday September 14, 2017 @02:01PM (#15250691)
Outstanding! Thank you.
Re:Windows for Linux Nerds by braveo on Thursday September 14, 2017 @09:45AM (#15247913)
> But the second I need to use an IDE for Windows development, it's too slow to bear.

This very much depends on your machine. For example, I have an office machine running an older i7 with 16 GB of RAM. I give my VM's 6 cores and 8 GB of ram and I don't run into the issues you describe.

I also precreate the disk (instead of using dynamic) and shut off things that tend to be I/O intensive in Visual Studio, but once done I've not noticed a performance difference between it and native.

Re:Windows for Linux Nerds by rbanffy on Thursday September 14, 2017 @04:25AM (#15245940)
Microsoft must hate the dual boot to Linux idea. Once you experience a modern Linux, you'll eventually look at that NTFS partition and decide it'd just be better used as free disk space.

For the times you need Windows, there's always VirtualBox.

Re:Windows for Linux Nerds by disiplus on Thursday September 14, 2017 @02:57AM (#15245530)
i was in the same boot as OP, ordered maxed out XPS15 whiped windows from them and installed latest version of ubuntu. but i had problems with 4K display, hdpi support in ubuntu is shit if you want different dislplays with different dpis, and wayland is still not really production ready. And then is the support for GPU, drivers for nvidia, it would get so hot that i could almost burn my hands.

so i returned the XPS and ordered a new MacBook Pro. Sure touchbar is a gimick, and i dont like new keyboard even after so much time but its better then the alternative.

Re:Windows for Linux Nerds by distances on Thursday September 14, 2017 @05:08AM (#15246149)
XPS machines look nice, but I'd recommend the Dell Latitude line for those who plan to potentially use Linux. The compatibility is just on a different level, and they are pretty nice work horses hardware wise.

Latitudes lack that infinity display, sure, but at least I'm almost always using an external monitor anyway. Some of the other features are more subjective, but I also like the matte screen, better keyboard, camera on lid upper edge, support for a docking station, and so on.

Re:Windows for Linux Nerds by AsyncAwait on Thursday September 14, 2017 @06:28AM (#15246522)
From my experience, both KDE Plasma 5 and GNOME 3 work pretty well on high DPI displays, not so much Unity 7.
Re:Windows for Linux Nerds by drdaeman on Thursday September 14, 2017 @11:57AM (#15249259)
> KDE Plasma 5 and GNOME 3 work pretty well on high DPI displays

Not so well on displays with non-integer scale factor (1.25-1.5x).

I've somehow managed Plasma & Qt apps to have acceptably sanely sized windows decorations and widgets, but failed to e.g. teach the browsers to calculate sizes correctly (e.g. make a block with `width: 50mm` to have correct size).

Biggest GNU/Linux problem is having way too much of the completely different solutions for the roughly the same thing that can't interoperate with each other.

Re:Windows for Linux Nerds by solotronics on Thursday September 14, 2017 @12:44AM (#15245072)
by dual booting and using Linux for your hardcore development your basically ceding that Windows sucks at this. I agree honestly it's sad that Windows is not POSIX compliant, why can't I run bash, GIT, ssh, and a decent package manager on Windows? that will be it's downfall because the hardcore devs are all on Linux and OS X
Re:Windows for Linux Nerds by monkmartinez on Thursday September 14, 2017 @12:59AM (#15245124)
No, I am ceding that it's easier to develop linux apps on linux. "hardcore devs" on OSX have been deluding themselves for years, myself included. If I would have just buckled down with Linux, I would actually be much further ahead. macOS is really only good for iOS and macOS... nothing else runs it.

There is a world of Windows software that is not POSIX and has viable business opportunity. I've been neglecting that because "OSX rules! POSIX or bust!" mentality. I am going to change my mindset.

Re:Windows for Linux Nerds by pjmlp on Thursday September 14, 2017 @09:08AM (#15247546)
Hardcore graphics programming devs are on Windows.
Re:Windows for Linux Nerds by a_e_k on Thursday September 14, 2017 @01:26PM (#15250257)
Those doing games, yes. Those of us doing movies are mostly on Linux. Lots of sci-viz folks are also on Linux.
Re:Windows for Linux Nerds by pjmlp on Thursday September 14, 2017 @01:59PM (#15250671)
Not only games, movies and sci-viz rendering have little to do with UI/UX design considerations and tooling for consumer applications.

Which is why GNOME and KDE to this day, still need to try to advocate to get more UI/UX developers involved into their projects.

Re:Windows for Linux Nerds by pault on Thursday September 14, 2017 @02:17PM (#15250878)
Really? I thought video/post-production people were mostly on Macs these days. What are the standard software stacks for doing FX?
Re:Windows for Linux Nerds by a_e_k on Thursday September 14, 2017 @07:17PM (#15253285)
We're getting off-topic here, but see http://www.vfxplatform.com/

RHEL/Centos is probably the most common distro used.

Re:Windows for Linux Nerds by malkia on Friday September 15, 2017 @12:36AM (#15254665)
No, everybody is on Amiga :)
Re:Windows for Linux Nerds by tagurit on Thursday September 14, 2017 @12:19AM (#15244984)
As OP mentioned, he probably doesn't want to turn off his system.

This is problem I have with a dual boot system, even with the ability to save state. Unless I absolutely have to, I'd rather keep running macOS's

Re:Windows for Linux Nerds by monkmartinez on Thursday September 14, 2017 @12:31AM (#15245024)
With the problems I see on the mac forums regarding the new MBP's, I don't think turning off the system is going to be much of an issue.

That said, I understand not wanting to restart in order to get work done. However, I am looking at it with the perspective that I will be able to fully focus on the tasks at hand (ala Deep Work by Cal Newport), in a distraction free environment.

Re:Windows for Linux Nerds by isolli on Thursday September 14, 2017 @03:56AM (#15245802)
What problems specifically? I'm not following closely, so a summary would be nice :)
Re:Windows for Linux Nerds by throwaway613834 on Thursday September 14, 2017 @12:12AM (#15244946)
> The same applies to Windows 10! It works fine, sometimes, for a few things. Then it goes nuts. Wipe and reinstall (remove the Dell bloatware) and it's better

The sad thing is Windows 7 and 8.1 worked just fine; they screwed up with Windows 10. I've had both 7 and 8.1 running for years without a problem. But I had a pretty clean Windows 10 installation that tried to update itself and kept rebooting and rolling back. The fact that I couldn't suppress the specific offending update meant I couldn't update the OS anymore.

Re:Windows for Linux Nerds by ryu2k2 on Thursday September 14, 2017 @03:28AM (#15245655)
I had the same problem with Windows 7. online search lead me to an official support page that described how to boot Windows in some kind of minimal mode. Following those steps did the trick for me.

Still, this problem shouldn't occur at all.

Re:Windows for Linux Nerds by teekert on Thursday September 14, 2017 @04:00AM (#15245822)
MS Office for Linux. That's all I need, that's all I would miss in my current work environment (in the browser is just not cutting it atm).
Re:Windows for Linux Nerds by beagle3 on Thursday September 14, 2017 @04:12AM (#15245876)
CrossOver Office was running Word and Excel perfectly last time I used it (admittedly, a few years ago), it likely still is.
Re:Windows for Linux Nerds by TheRealDunkirk on Thursday September 14, 2017 @10:37AM (#15248436)
> MS Office for Linux

Until they make this (and a native AD client), all the rhetoric around "Microsoft LOVES Linux" is empty marketing. (I understand it would be difficult to port. That's beside my point.)

Re:Windows for Linux Nerds by earenndil on Saturday September 16, 2017 @02:26PM (#15265880)
I mean, they ported it to osx. It can't be _that_ hard.
Re:Windows for Linux Nerds by glax on Thursday September 14, 2017 @04:32AM (#15245974)
Have you tried PLAY ON LINUX ?? MS Office works great in ubuntu.

Writers in our company were not very fond of Libre Office.

Re:Windows for Linux Nerds by pnutjam on Thursday September 14, 2017 @06:32AM (#15246540)
I'm running opensuse so I have my office 365 in a browser, :(

As an aside, opensuse is a great linux for laptops. IMHO, it has better hardware support then Ubuntu and it's a more consistent experience moving between the console and different GUI's.

Re:Windows for Linux Nerds by yjftsjthsd-h on Thursday September 14, 2017 @07:46AM (#15246942)
> more consistent experience moving between the console and different GUI's

What do you mean?

Re:Windows for Linux Nerds by oAlbe on Thursday September 14, 2017 @09:19AM (#15247668)
And Skype. We need a Skype alternative that works on Linux and it's not an electron app. Hangouts/appear.in and web.skype.com simply don't work the same way and don't have the same quality.
Re:Windows for Linux Nerds by teekert on Thursday September 14, 2017 @09:33AM (#15247805)
I hope Skype dies (though I also still depend in it). I'm currently trying to get our project on Teams which works much nicer (it's MS' Slack clone). Wouldn't hurt to have that on Linux as well indeed although Slack work perfectly on Linux.
Re:Windows for Linux Nerds by oAlbe on Thursday September 14, 2017 @10:05AM (#15248101)
If Skype dies we basically have no alternative. Sure, you got Slack, Hangouts, Teams (as you mention), the new Atlassian thing etc. but that's mainly for group efforts or for a company setting. Skype isn't used just by businesses. I mainly use Skype for videocalls with friends and family, usually one-on-one, and for that we have zero replacements.

Slack is just not a thing for this use case, same for all the other collaborative tools. Hangouts delivers subpar video quality and decent audio quality (if we ignore the fact that it hasn't been working on Firefox for a while). Appear.in glitches and lags a lot, sometimes to the point that is not usable. Signal would be great, video and audio quality are amazing on mobile, but there's no desktop client (apart from a Chrome extension that can't really be called a desktop client). WhatsApp video quality is very poor while audio tends to be decent, but once again, no desktop client (there's an in-browser web app with no support for video calls). Skype too, is fine on desktop, but it's a huge resource hogger and consequently battery drainer on mobile (the only non-game app that manages to warm the back case of my Android phone).

So yeah, future doesn't look great. I am hoping in GNU/Ring, but who knows...

Re:Windows for Linux Nerds by Adamantcheese on Thursday September 14, 2017 @11:17AM (#15248865)
Discord is coming out with video chat, it looks promising.
Re:Windows for Linux Nerds by cacarr on Thursday September 14, 2017 @11:28AM (#15248995)
Isn't Skype pretty much Snapchat these days?
Re:Windows for Linux Nerds by AsyncAwait on Thursday September 14, 2017 @06:14AM (#15246456)
In addition to trying CrossOver, as was suggested, I heard SoftMaker Office having great compatibility with office documents[1], but I can't personally vouch for that.

1 - http://www.softmaker.com/en/softmaker-office-linux

Re:Windows for Linux Nerds by Zardoz84 on Thursday September 14, 2017 @02:11AM (#15245356)
It's open source, it have a long history and is called WINE.
Re:Windows for Linux Nerds by qquark on Thursday September 14, 2017 @02:59AM (#15245533)
... Which, despite what I imagine is an incredible amount of effort on their part, struggles to run acceptably not even half the software you throw at it ...

Wine is unfortunately not a reliable solution for a huge number of tasks mostly populated by windows-only software (e.g. professional CAD & PCB software - and no, open source "alternatives" in those domains are NOT able to compete, which is perfectly understandable IMO). Even when you get something running, you get locked out of updates because the next version of your software might not work anymore.

When you insist on running those on a Linux system, it becomes better just running a dedicated VM, but you can then kiss goodbye to performance on 3D rendering for example...

It seems obvious to me that running windows apps flawlessly on linux is something Microsoft absolutely does not want: The migration path to a Linux-only environment and native apps would become incredibly more simple, and they would probably lose market share overall... I definitely know I would eliminate it in a heartbeat if I could.

Re:Windows for Linux Nerds by hnlmorg on Thursday September 14, 2017 @04:20AM (#15245917)
Personally I've found my success rate with WINE to be more around 80 to 90%. In fact in the last year I've only needed to use it for for 3 different tools, all of which worked flawlessly (in fact it later turned out that one of those tools officially supports WINE for their Linux support).

My convoluted point is that it really depends on what you throw at it. Anecdotally I've found stuff that ties into DirectX to be the most awkward and since you've mentioned 3D packages I'm not at all surprised you have had less success with WINE than I.

Re:Windows for Linux Nerds by jamespo on Thursday September 14, 2017 @04:48AM (#15246050)
But if you are happy with that presumably expensive proprietary software, why not run windows?
Re:Windows for Linux Nerds by shams93 on Thursday September 14, 2017 @02:07AM (#15245339)
Yeah you can run actual server daemons on MacBook pro wsl seems to be geared towards nodejs and rails development on windows, docker is far more useful for real work you can even run docker from wsl so while I make heavy use of docker as my employer forces the use if windows 10, wsl is useless for developing daemons and micoservices compared to docker for Windows 10 pro
Re:Windows for Linux Nerds by monkmartinez on Thursday September 14, 2017 @02:17AM (#15245385)
> Yeah you can run actual server daemons on MacBook pro

Really? Can I run those Apple specific daemons on AWS, Azure, or GCloud? How about Digital Ocean or Linode. I would love to run my Apple Automator scripts on the web too, can I?

Re:Windows for Linux Nerds by Moto7451 on Thursday September 14, 2017 @02:31AM (#15245431)
NGINX, Postgres, MySQL, Postfix, etc all work just fine as OS X services and Linux Services.

The format of the init script is different but that is true between Linux and BSD or even various Linux distributions. None the less, the concept of running your services on OS X holds fast.

WSL's init however, is not a full implementation. To run a Linux service/daemon you have to resort to bootstrapping something from the Windows scheduler. That's not really the same thing.

Re:Windows for Linux Nerds by monkmartinez on Thursday September 14, 2017 @02:45AM (#15245486)
None of it is the same thing, outside of linux, if you are being honest. You can't run a macOS script in web production. period. end of story. So with all platforms, sans linux proper, we resort to funny business to get things working locally and then do it different when it comes time to deploy. What are we doing? Just use linux... or MSFT/.net as it were.

The funny thing in all of this is that Apple have nothing to share with the rest of the world, sans swift. They got the underdog sympathy and have made a mockery of all who elevated them to their current status. That is, they have given JACK SHIT back to those who made them who they are.

Re:Windows for Linux Nerds by Twisell on Thursday September 14, 2017 @05:07AM (#15246148)
In which way transitioning to from full closed source to native POSIX implementation and (10 years after) developing swift as FOSS is a bad/disrespectful trajectory in you opinion?
Re:Windows for Linux Nerds by kronos29296 on Thursday September 14, 2017 @09:04AM (#15247518)
Programming languages that are popular are transitioning to FOSS (even MS is doing it). Proprietary programming cannot succeed in today's crowded ecosystem. If swift was closed source but free to nobody would use it unlike 20 years ago. So swift being OSS is the only decision.
Re:Windows for Linux Nerds by tobylane on Thursday September 14, 2017 @05:56AM (#15246375)
If you're using Nginx, MySQL etc for software and Bash3, Python etc for scripting then there's not linux or Apple specific.
Re:Windows for Linux Nerds by Arnavion on Thursday September 14, 2017 @01:23AM (#15245191)
>Give us a Windows Subsystem for Linux.

Not completely what you want, but relevant: https://blogs.technet.microsoft.com/dataplatforminsider/2016...

Re:Windows for Linux Nerds by dis-sys on Thursday September 14, 2017 @01:58AM (#15245307)
again - a closed system with no public access to its full tech details. its completeness can not be reviewed by the community, its security model is unknown to the general public, its reliability is a big question marks.

what is worse - it charges you an arm and leg for running that joke on modern hardware. Rather than providing people with more tech details so the so called products can be better used in real life, it has a 30+ pages Licensing Guide telling people how Microsoft is going to screw them financially in different ways.

it is not "for Linux", every single aspect of the "software" described in that link against the fundamental values of Linux.

SQL Server for Linux is nothing else but a joke, those working on that projects in Microsoft should feel sad for the fact that they work in such an socially isolated team/company.

Re:Windows for Linux Nerds by monkmartinez on Thursday September 14, 2017 @02:50AM (#15245504)
What do you use for a laptop or desktop?
Re:Windows for Linux Nerds by dis-sys on Thursday September 14, 2017 @08:08AM (#15247103)
ubuntu
Re:Windows for Linux Nerds by m_st on Thursday September 14, 2017 @02:28AM (#15245421)
I share your pain! I have a Dell XPS15 (i7 4K 9550) at work and Macs (rMBP and iMac) at home. Me too I was hoping to finally get a PC that was of similar quality, given that it is just as expensive as the rMBP. But boy was I wrong!

Of course I did a clean install with just the drivers. But even like that, when it was new, I got 1 BSOD for every piece of software I installed. No joke. Even now, after almost 2 years and countless firmware and driver updates it has occasional hangs and issues. And no, you can't use the webcam as it just films your chest. And no, you can't use the microphone as it is in front of the track pad so your partner can barely hear you.

I'm using it mostly for Visual Studio. And though I still consider it the best IDE, it gets slower and crashes more with every new version since maybe VS 2010.

I'll stick to Macs at home. Thanks.

Re:Windows for Linux Nerds by pnutjam on Thursday September 14, 2017 @06:35AM (#15246575)
I'm running OpenSUSE on my Dell, IMHO, it has better hardware support then Ubuntu.

Visual Studio is available on linux: https://code.visualstudio.com/download

Re:Windows for Linux Nerds by AlexeyBrin on Thursday September 14, 2017 @08:42AM (#15247345)
Visual Studio and Visual Studio Code are two different products.
Re:Windows for Linux Nerds by lou1306 on Thursday September 14, 2017 @12:20PM (#15249490)
Visual Studio for Mac also exists, but it is another different product (basically a rebranded MonoDevelop with some additional features)
Re:Windows for Linux Nerds by dagaci on Friday September 15, 2017 @07:15AM (#15256152)
Lol! I suspect something's wrong with your machine, if your regularly get BSOD from a new machine: replace it.
Re:Windows for Linux Nerds by chewyland on Thursday September 14, 2017 @05:48AM (#15246335)
I dumped the MacOS partition on my MacBook and have been running 10 along with the Linux Subsystem without the slightest hiccup for ages.

Visual Studio for big things, Code for my little Raspberry Pi projects and Office 365 for everything else.

I've never had an issue, not even a tieeeeeny tiny one...zero.

Re:Windows for Linux Nerds by dannysu on Thursday September 14, 2017 @01:33AM (#15245226)
Yeah, I'm running Windows on my laptop and have Linux on my desktop.

I've tried Bash on windows multiple times and it's simply too slow. I ended up just running Linux VM as my development environment when I'm on my laptop.

Re:Windows for Linux Nerds by cube2222 on Thursday September 14, 2017 @05:53AM (#15246362)
Try to use docker for Windows. Hyperv is extremely performant. In my day to day work I'm using Windows, but I'm constantly using a mixture of WSL and docker. I set up things like Cassandra, MySQL, debugging sessions, nginx using docker. For small Unix tools/launching my applications I use WSL. For other small tools I use powershell.

It took some time getting use to it, but now I actually do feel like in an utopia. No pain for the last 3-4 months or so. You do have to get proficient with docker though for this to work.

Re:Windows for Linux Nerds by drdaeman on Thursday September 14, 2017 @12:15PM (#15249446)
Sorry, but can you please share any recipes for mixing WSL and Docker, or you just meant that you use one or another on project-to-project basis (not together)?

I know I can do basic commands (even building images with `docker -H 127.0.0.1 build -t foo .` works), but I failed to find any way to share WSL filesystem with the containers (`docker run -v $(pwd):/foo ...`).

Re:Windows for Linux Nerds by cube2222 on Thursday September 14, 2017 @12:54PM (#15249907)
Well, let's say my project's in C:\Development\Projects\MyAmazingProject

I can open bash there (WSL), or start a container

docker run -v C:\Development\Projects\MyAmazingProject:/mnt/project --net=host -it ubuntu bash

Though i usually do this only when I need to debug something. (WSL can't spawn additional threads, which breaks for example Delve, the Go debugger)

Need to connect to a cassandra db? docker run -it cassandra cqlsh mycassandraaddress

Docker compose works well too. And because WSL has unified network interfaces with windows, I can easily start a process in WSL and access a DB which I've run in docker.

I use docker from PowerShell, just saying.

Re:Windows for Linux Nerds by scotu on Wednesday September 20, 2017 @03:20AM (#15291479)
just as a note to whom might read the parent comment: correct me if I'm wrong but docker for windows is not available on windows home (I think you need windows pro, because home does not come with hyperv)... that's all :)
Re:Windows for Linux Nerds by cube2222 on Saturday September 23, 2017 @09:22AM (#15319604)
just as a note to whome might read both parent comments: yes, that's correct. I'd even add to this, that I absolutely wouldn't be able to use win 10 home as a development machine, pro is necessary for me.
Re:Windows for Linux Nerds by jrs95 on Thursday September 14, 2017 @08:48AM (#15247381)
I keep reading stuff like this about Apple losing sight of what matters to developers...but I don’t really know what the big deal is. Aside from a frustrating lack of RAM on the latest MBP, everything seems to be just as good as it was before to me. And even the RAM issue can be solved for me by just not using too much horribly inefficient (electron) software at the same time.
Re:Windows for Linux Nerds by adamnemecek on Thursday September 14, 2017 @09:10AM (#15247568)
I want to be able to have a stupidly powerful computer. Like idk 128gb or ram and what not. Why is Timmy Cook telling me I can't.
Re:Windows for Linux Nerds by jrs95 on Friday September 15, 2017 @03:29PM (#15260034)
The current reasoning is that LPDDR4 isn't available yet. You can get 64GB RAM in an iMac.
Re:Windows for Linux Nerds by rimliu on Thursday September 14, 2017 @10:18AM (#15248247)
Because Apple does not make all the components required for MBPs itself and depends on other vendors.
Re:Windows for Linux Nerds by pjmlp on Thursday September 14, 2017 @09:00AM (#15247487)
Usually that complaint comes from those whose bubble developers == UNIX developers.

We have hardly any complaint in the office from those with access to our Mac pools for iOS and OS X development, meaning Objective-C and Swift and not UNIX CLI stuff.

Re:Windows for Linux Nerds by abstractbeliefs on Thursday September 14, 2017 @02:12PM (#15250810)
I dunno, having seen racks full of Macbooks with plastic wedges to keep the screen just-open-enough, it sounds like doing any Mac development that would require a server component is trash since they terminated Xserve in 2011.

This doesn't sound so bad until it becomes apparent that any sort of build/test farms, like you'd want for CI, would be best served by dedicated hardware like this.

Re:Windows for Linux Nerds by jcranberry on Thursday September 14, 2017 @01:27PM (#15250270)
I've heard removing the function/ESC keys for that emoji BS was pretty controversial.
Re:Windows for Linux Nerds by jrs95 on Friday September 15, 2017 @01:44PM (#15259111)
Emoji just isn't even the point of the TouchBar though, and editors and IDEs are adopting support for it. It's basically just a programmable contextual shortcut bar. Plus, it's pretty easy to just remap your esc key to caps lock, and a lot of people have been doing that long before TouchBar was a thing.
Re:Windows for Linux Nerds by pletnes on Thursday September 14, 2017 @01:22AM (#15245187)
Tried docker? It seems VMs are faster than the native OS in the MS case. Should have most of your needs as prepackaged images.
Re:Windows for Linux Nerds by Kwpolska on Friday September 15, 2017 @09:04AM (#15256762)
They already have done that: https://www.theregister.co.uk/2017/07/19/sql_server_2017_fir...

It’s only limited to their SQL Server product though.

Re:Windows for Linux Nerds by AsyncAwait on Thursday September 14, 2017 @05:30AM (#15246256)
Just wondering, why not put Linux on the XPS directly and keep your old MBP for office and such?
Re:Windows for Linux Nerds by macns on Thursday September 14, 2017 @06:46AM (#15246636)
I was about to say something similar, his dev enviroment is perfectly fine with linux, why not try that as well? It's not a very steep learning curve for simple shell commands in everyday tasks. Debian-based distros like ubuntu or debian desktop are rock-solid, fast and reliable, and popular enough to find quick answers when stuck.

For the record, I'm working with similar technologies(sql, go, linux boxes) - mostly with a text editor (ST3) on a few different machines: Best experience is with a desktop running ubuntu on a dual 1920x1200 screen setup. My 2015 macbook air is still blazing fast (running el capitan), and a smaller 2010 thinkpad running ubuntu is also pretty fast and stable to work with. All machines have i5 cpus and SSD disks, though.

Re:Windows for Linux Nerds by bitL on Thursday September 14, 2017 @08:01AM (#15247045)
Why don't you install macOS on XPS15? Works like charm if you have Broadcom WiFi...
Re:Windows for Linux Nerds by anthony_barker on Thursday September 14, 2017 @02:29PM (#15250998)
Or office for Linux
[dead]
Re:Windows for Linux Nerds by alkonaut on Thursday September 14, 2017 @03:23AM (#15245627)
What's known as the "windows subsystem for linux" is actually what I'd call a "linux subsystem for windows". I'm not the only one confused by this (So were you).

What we get from microsoft now is a small linux environment inside a windows install. What he wanted was a small windows environment on a linux machine.

Re:Windows for Linux Nerds by tabletiptop on Thursday September 14, 2017 @03:31AM (#15245668)
Are you ... wow. You're right.

She really had me with the "imagine PowerPoint in Linux without a VM!".

Re:Windows for Linux Nerds by EvilTerran on Thursday September 14, 2017 @03:55AM (#15245801)
Please don't insinuate that someone hasn't read an article. "Did you even read the article? It mentions that" can be shortened to "The article mentions that."

https://news.ycombinator.com/newsguidelines.html