Most active commenters
  • JdeBP(24)
  • (16)
  • creshal(15)
  • cyphar(11)
  • partycoder(10)
  • anthk(9)
  • NateDad(8)
  • kbenson(8)
  • quotemstr(7)
  • matt_wulfeck(7)

Ubuntu on Windows

(blog.dustinkirkland.com)
2049 points bpierre | 918 comments | | HN request time: 4.835s | source | bottom
1. dukoid ◴[] No.11390860[source]
1. embrace
replies(1): >>11391000 #
2. ◴[] No.11390886[source]
3. zymhan ◴[] No.11390932[source]
"Linux geeks can think of it sort of the inverse of "wine" -- Ubuntu binaries running natively in Windows. Microsoft calls it their "Windows Subsystem for Linux"."

I find it amazing that you can have such a functional Ubuntu environment by translating system calls. Microsoft does have the advantage of Linux being open-source I suppose, while the Wine project had to reverse engineer DLLs. Or have you supply them on your own.

replies(9): >>11391001 #>>11391011 #>>11391074 #>>11391084 #>>11391105 #>>11391166 #>>11391290 #>>11391798 #>>11391866 #
4. xaduha ◴[] No.11390950[source]
> Windows 10 users

> Can open the Windows Start menu

> And type "bash" [enter]

> Which opens a cmd.exe console

Right... Bash is a shell, but your interaction with it is controlled by a terminal program. Unless there are some real changes to cmd.exe t̶h̶e̶n̶ ̶i̶t̶'̶s̶ ̶n̶o̶t̶ ̶t̶h̶a̶t̶ ̶i̶m̶p̶r̶e̶s̶s̶i̶v̶e̶ . You can compile a native bash and other utils now yourself, it's not that hard.

EDIT: It's more like a Linuxulator from BSD, which is certainly cool.

replies(5): >>11390968 #>>11390991 #>>11391035 #>>11391091 #>>11391196 #
5. tlrobinson ◴[] No.11390968[source]
> "Hum, well it's like cygwin perhaps?" Nope! Cygwin includes open source utilities are recompiled from source to run natively in Windows. Here, we're talking about bit-for-bit, checksum-for-checksum Ubuntu ELF binaries running directly in Windows.
replies(1): >>11391009 #
6. AlexeyBrin ◴[] No.11390991[source]
You seem to completely miss the point of what they did. It is not a simple Bash recompilation for Windows. It is a way to run Linux (Ubuntu) binaries on Windows.
replies(3): >>11391133 #>>11391155 #>>11391172 #
7. msoad ◴[] No.11390994[source]
So what OS you're going to get when you run an application under this? So if I run this:

    node -e 'console.log(require("os").type())'
What it's going to print?
replies(7): >>11391034 #>>11391059 #>>11391325 #>>11391359 #>>11392940 #>>11393115 #>>11394355 #
8. gvb ◴[] No.11391000[source]
1. Embrace is good.

2. Extend can be good if done openly and collaboratively, as opposed to closed and hidden.

3. Extinguish - Here be dragons.

I'm hopeful the New Kinder Gentler Microsoft stays on steps 1. and 2. (done collaboratively).

replies(2): >>11392135 #>>11395258 #
9. grandalf ◴[] No.11391001[source]
Indeed. Perhaps it will increasingly make sense to design software for Linux and then run it on windows via this method. Over time the Windows system calls that are not needed by the linux overlay can be phased out.
10. seren ◴[] No.11391009{3}[source]
If you write a command line utility, just putting in ubuntu repo makes it available to all windows user, without even recompiling.
11. UK-AL ◴[] No.11391011[source]
Windows NT had a POSIX subsystem awhile ago, not sure what happened to it. The NT Kernel was designed to have different personalities like Win32, OS/2, POSIX, etc

It could be an updated version.

replies(3): >>11391057 #>>11391465 #>>11391846 #
12. zyngaro ◴[] No.11391015[source]
Now I just hope this will also be enabled in the Windows 10 build running on the Surface.
replies(1): >>11393135 #
13. jokr004 ◴[] No.11391034[source]
Would depend entirely on how you installed node, I would imagine.
14. to3m ◴[] No.11391035[source]
"cmd.exe console" means (presumably...) a standard Windows console subsystem window. This is independent of cmd.exe, but it's common to conflate the two. Unix users often get this mixed up, presumably because they don't believe Windows has any kind of layering or modularity ;)
15. cabirum ◴[] No.11391054[source]
Are posix permissions supported/emulated? Or are they set to 777 for all Windows drives in /mnt like shared folders in a VM?
replies(4): >>11391267 #>>11393116 #>>11393552 #>>11445615 #
16. tonymillion ◴[] No.11391057{3}[source]
I came here to make the same comment.

Its ironic (old)microsoft exerted so much effort to put the personalities in place (OS/2, posix etc), then (mid)microsoft systematically destroyed that work under Balmer, and now (new)microsoft are reimplementing the same thing under a (seemingly) completely different system.

replies(1): >>11391393 #
17. orf ◴[] No.11391059[source]
Whatever it prints on Ubuntu I expect. Obviously it's not going to return "Windows", or "UbuntuInWindows" else anything that makes that call that would break.
18. abritishguy ◴[] No.11391061[source]
I wonder how buggy thus is. For example, how do symlinks work given windows doesn't have an equivalent that behaves the same.
replies(1): >>11391085 #
19. technimad ◴[] No.11391065[source]
OMG.
20. dec0dedab0de ◴[] No.11391074[source]
I would rather have the opposite. I would even pay for an official "Windows on Linux". There is a handful of games I would like to play, but other than that I have no interest in windows.
replies(4): >>11391181 #>>11391198 #>>11391351 #>>11392220 #
21. anonymfus ◴[] No.11391084[source]
>Microsoft does have the advantage of Linux being open-source

More correctly would be to say that Microsoft has advantage of user space libraries used in GNU/Linux distributions being open-source. Linux kernel itself being GPL2 is probably a problem for Microsoft's developers because of possibility to be accidentally exposed to it while researching documentation.

replies(1): >>11391115 #
22. sabarn01 ◴[] No.11391085[source]
Windows does have symlinks and hardlinks that work very similarly but are only exposed via a built in cmd command. That said no one uses them.
replies(4): >>11391119 #>>11391175 #>>11391281 #>>11391588 #
23. dec0dedab0de ◴[] No.11391091[source]
If you just need bash on windows installing Git is the easiest way.
replies(1): >>11392034 #
24. drewg123 ◴[] No.11391105[source]
*BSD and Solaris have done have run linux binaries for years. Doing it on Windows is a bit more impressive, but given that there is a POSIX subsystem, its not all that surprising.

I didn't see any information about whether they do it using direct system call translation, or if they do it using shared library inter-positioning. In either case, its pretty cool!

25. otterley ◴[] No.11391114[source]
To clarify, it sounds like what Microsoft has added to Windows 10 is a Linux ABI.

This has been done before with other x86 OSes: FreeBSD has had 32-bit ABI compatibility for at least a decade (https://www.freebsd.org/doc/handbook/linuxemu.html), and the "lx branded zone" for Solaris has it as well (https://docs.oracle.com/cd/E19455-01/817-1592/gchhy/index.ht...).

replies(4): >>11391435 #>>11391938 #>>11391965 #>>11392282 #
26. digi_owl ◴[] No.11391115{3}[source]
Thats why you do it clean room style.

One team to document, one team to implement based on that document.

replies(1): >>11391497 #
27. wvenable ◴[] No.11391119{3}[source]
I use them. They're also heavily used by the OS itself -- the entire WinSxS folder structure is a whole lot of symlinks.
replies(2): >>11391566 #>>11392195 #
28. freekh ◴[] No.11391130[source]
What? This is sick!? I can't wait for this to happen! Maybe I am gonna get one of those Surface Books after all... though I am gonna miss my i3 setup... I wonder if X (or wayland! or wayland...) can run as well... Native Emacs FTW :)
replies(2): >>11391368 #>>11392774 #
29. xaduha ◴[] No.11391133{3}[source]
My point is that you need a terminal program (like putty or iTerm2 on OS X for example) to get all the benefits.
replies(1): >>11391178 #
30. jeena ◴[] No.11391136[source]
I'm confused what has this list:

apt, ssh, rsync, find, grep, awk, sed, sort, xargs, md5sum, gpg, curl, wget, apache, mysql, python, perl, ruby, php, gcc, tar, vim, emacs, diff, patch...

to do with Ubuntu?

replies(2): >>11391202 #>>11393521 #
31. TheRealDunkirk ◴[] No.11391155{3}[source]
Well I, for one, think he has a point. Part of what makes the shell so useful on Linux is, say, highlight-to-select. When the CMD.EXE doesn't understand line breaks in copied text, it's substantially crippled. You need a proper terminal to take advantage of a proper shell. They go hand-in-hand.
replies(2): >>11391355 #>>11391706 #
32. mrkd ◴[] No.11391156[source]
Scott Hanselman has a good write-up here: http://www.hanselman.com/blog/DevelopersCanRunBashShellAndUs...

Google Cache: https://webcache.googleusercontent.com/search?q=cache:http:/...

replies(3): >>11391354 #>>11391679 #>>11391868 #
33. ericmo ◴[] No.11391164[source]
I was excited until I reached the Windows Store part.
34. twic ◴[] No.11391166[source]
> I find it amazing that you can have such a functional Ubuntu environment by translating system calls

FreeBSD has been able to do this (with some limitations!) for years:

https://www.freebsd.org/doc/handbook/linuxemu.html

35. zxcvcxz ◴[] No.11391172{3}[source]
It doesn't sound much different than a built in VM with a some optimizations. Just more bloat for windows I suppose.
36. mmebane ◴[] No.11391175{3}[source]
I used to use them (directory junction points) quite a bit back when 64GB SSDs were still expensive and I wanted to redirect a few folders without changing my folder structure.

Nowadays, the most common use I've seen is as the Windows implementation of 'npm link' for Node.js developers.

37. tlrobinson ◴[] No.11391178{4}[source]
He says it mostly works in cmd.exe, and they're working on getting things like screen/tmux working too.

If a fully-compatible terminal emulator doesn't exist yet (I have no idea) I bet there will be one within a year.

replies(1): >>11391583 #
38. xienze ◴[] No.11391181{3}[source]
Totally doable. Use KVM to virtualize Windows and (the important part) make sure your CPU and motherboard support VT-d. Then you can pass a graphics card (separate from the one you run Linux with, naturally) to the VM and get >95% of native performance. There's lots of videos of folks doing this.
replies(4): >>11391205 #>>11391210 #>>11391473 #>>11391500 #
39. tobias3 ◴[] No.11391193[source]
I wonder if they implemented a copy-on-write fork syscall in NT. Otherwise it will be slower (and use a lot more memory) in some scenarios.

Edit: And cow fork only makes sense if there is memory over-commit. So to be fully featured it would need a separate memory subsystem with memory over-commit.

replies(2): >>11391556 #>>11391688 #
40. mmebane ◴[] No.11391196[source]
> Unless there are some real changes to cmd.exe then it's not that impressive.

There actually have been [1], and I imagine MS has continued to flesh out those improvements.

[1]: https://news.ycombinator.com/item?id=11046433

41. wernercd ◴[] No.11391198{3}[source]
The problem is that the user-base for Windows on Linux probably isn't worth Microsoft's time...

While it seems like it is worth Microsoft's time to keep people on Windows.

I for one look forward to having all my vulnerabilities in one place... Linux, windows, server, desktop...

42. twic ◴[] No.11391202[source]
They are programs which are included in the Ubuntu distribution.
replies(2): >>11391540 #>>11393684 #
43. plexicle ◴[] No.11391205{4}[source]
Hi. Do you mind linking one?

Thanks. :)

replies(1): >>11391275 #
44. wernercd ◴[] No.11391210{4}[source]
That's still "VM" not "Native".

You aren't running them "side by side"... you are running them "One inside the other".

Not exactly an apple-to-apple comparison.

replies(3): >>11391235 #>>11391363 #>>11391437 #
45. matt_wulfeck ◴[] No.11391211[source]
microsoft is leveraging FOSS Linux to get Mac users. I think it's a real smart move.

The author points to using grep and Xargs and some other tools to quickly update a package. That's the key here. These bash/Linux utilities are productivy boosters for all the Linux and Mac/bsd people out there. I can't imagine living without them and they're necessary for any system I develop on (which is currently a Mac).

replies(6): >>11391411 #>>11391451 #>>11391515 #>>11392124 #>>11392170 #>>11393505 #
46. captainmuon ◴[] No.11391214[source]
A few random thoughts:

- Wow, hell is really freezing over!

- The hardest part of running bash and other posix things under windows is filesystem access. Windows uses drive letters and backslashes, unix has a root filesystem with forward slashes. It seems they are taking the same route as cygwin by "mounting" windows drives in /mnt/c (or /cygdrive/c).

- If you just wanted bash and some posix tools, the harder but nicer way would be to patch them to understand windows paths. It is not clear to me that it is even possible, for example many tools assume a path that does not start with a slash is a relative path - while "C:\" is absolute. You would also want to make more windows apps understand forward slashes like "C:/Windows". To make things even more complicated, there are NT native paths "\Device\HarddiskVolume4\Users\Bill", UNC paths "\\Server\share", and the crazy syntax "\\?\C:\MyReallyLongPath\File.txt".

- I am really surprised this works in an appx container. From my little dabbling with modern apps in Visual Studio, I've found that they are incredibly sandboxed - no filesystem access unless you go through a file picker, no network connections to localhost (!?), no control of top-level windows, no loading of external DLLs. You can get around most restrictions for sideloaded apps, but not for windows store apps. That they can now package such a complex application as a modern app (with maybe only the linux subsystem DLLs delivered externally) means that they are slowly moving the modern/universal apps and traditional Win32 apps together with regards to their powers.

- Running a Linux kernel in windows, and then ELF executables on top (without virtualization) is nothing new, see CoLinux or andLinux. If I understand correctly, this new work uses a new Linux NT subsystem. It remains to be seen if this is better (more performant) or worse (if the Linux kernel is just another process, and it crashes, it doesn't take down the system).

- If they actually wrote a NT subsystem for Linux, this opens a whole can of GPL licensing worms, as you'll need to include internal NT headers. However, they say it is closed source, so I wonder how they did it.

- This really stands and falls with how well it is integrated in the rest of the system. I want to install tools in "Ubuntu" via apt and use them from cmd.exe, and vice versa. And long term, a X11/Wayland bridge would be nice too.

replies(7): >>11391240 #>>11391243 #>>11391895 #>>11391990 #>>11392163 #>>11392791 #>>11395063 #
47. hodwik ◴[] No.11391217[source]
How in God's green earth did Canonical think helping Microsoft with this was a good idea for the Linux community?
replies(7): >>11391291 #>>11391398 #>>11391444 #>>11391776 #>>11392190 #>>11392213 #>>11393353 #
48. diebir ◴[] No.11391223[source]
April fools.

Coming next: Windows 11 will use Linux kernel.

replies(1): >>11391684 #
49. barrkel ◴[] No.11391226[source]
A performant fork - the single biggest problem with Cygwin - sounds awesome. As does the ability to run Linux binaries directly, opening up the direct use of binary package repos.

I wonder if I can use it via mintty instead of conhost.exe; at the very least, I could ssh into it from Cygwin.

As always, the devil is in the details; the rough edges where support peters out, or syscall inconsistencies creep in.

50. vetinari ◴[] No.11391233[source]
The important question of course is: when it will appear in Windows Server?

Incidentally, I've found the Windows 2012R2 to be my favorite OS for the desktop from the Windows family.

51. xienze ◴[] No.11391235{5}[source]
The performance hit is so negligible on modern hardware that the distinction doesn't really matter.
replies(3): >>11391346 #>>11391373 #>>11391476 #
52. barrkel ◴[] No.11391240[source]
I expect they implemented a subsystem for Linux at the syscall level - i.e. they implemented the Linux kernel's interface at the ABI level. No headers would need to intermingle with open source; compile on Linux, run on Windows.
replies(4): >>11391417 #>>11392330 #>>11392474 #>>11392769 #
53. mmebane ◴[] No.11391243[source]
> It seems they are taking the same route as cygwin by "mounting" windows drives in /mnt/c (or /cygdrive/c).

I wonder if this Unix filesystem layer will be able to break the Windows legacy path length limit. If so, the Linux version of Node.js will suddenly become much more useful than the Windows version.

> It remains to be seen if this is better (more performant) or worse

Sounds like performance, at least, will be better. TFA says "it's totally shit hot! The sysbench utility is showing nearly equivalent cpu, memory, and io performance." I'll reserve judgment until I see the fork() benchmarks. :)

replies(3): >>11391381 #>>11391508 #>>11392092 #
54. tkubacki ◴[] No.11391249[source]
Wondering if ansible will work... If done right - I fell desktop linux and OSX market share will shrink
55. poofyleek ◴[] No.11391250[source]
How do they handle various NTFS related issues? https://cygwin.com/cygwin-ug-net/using-specialnames.html
replies(1): >>11391376 #
56. the_mitsuhiko ◴[] No.11391267[source]
Yeah, that's something that really interests me. Likewise I want to know how extended attributes and streams are mapped.
replies(1): >>11391408 #
57. kiproping ◴[] No.11391271[source]
> All of your Windows drives, like C: are mounted read/write directly under /mnt.

Its the real deal lads, congratulation Microsoft.

replies(1): >>11392955 #
58. xienze ◴[] No.11391275{5}[source]
Sure. Here's a guide: https://www.youtube.com/watch?v=w-hOr44oBAI

Here's the famous Linus Tech Tips 7-in-1 video: https://www.youtube.com/watch?v=LXOaCkbt4lI

59. frozenport ◴[] No.11391280[source]
I don't get it. What's the use case for a few core utilities running natively?
replies(4): >>11391338 #>>11391343 #>>11391653 #>>11391986 #
60. sabarn01 ◴[] No.11391281{3}[source]
I was being a little over dramatic windows has like 1B installs obviously someone "uses" them.
61. Keyframe ◴[] No.11391288[source]
Sweet baby Jesus. If this can alleviate at least half of the issues running cygwin/babun/msys/whatnots... Namely, 64-bitness, speed, and repository madness.
62. jdub ◴[] No.11391290[source]
Windows NT was designed from the start to have modular subsystems. It was most infamously used to provide a POSIX subsystem which really only checked boxes on government acquisition forms. :-)

The reason WINE went with the library emulation route is because: (a) the Windows kernel doesn't have a stable system call layer, and (b) the Win32 API is massive anyway.

Windows has an easier time emulating Linux at the very lowest levels because Linux has an ABI stable system call layer. If you emulate those, you can run ANY Linux binary.

It also means Microsoft doesn't have to ship or support hundreds of Open Source projects. They ship the syscall layer, and distributions ship the user layer.

replies(4): >>11391432 #>>11391477 #>>11393730 #>>11480831 #
63. josephpmay ◴[] No.11391291[source]
-It solidifies Bash as the dev. shell of choice

-It facilitates app cross comparability

-For Canonical, it reinforces the idea that Ubuntu == Linux, which is really good for their bottom line

-I wouldn't be surprised if Microsoft forked over a solid amount of cash

replies(2): >>11393900 #>>11395929 #
64. look_lookatme ◴[] No.11391320[source]
What is up with the unix-y directory structure in this screenshot?

http://o.aolcdn.com/dims-global/dims3/GLOB/resize/1345x666/q...

It's been a while since I've used Windows but I'm pretty sure it doesn't have a unix directory structure... is it the case that they map / to a folder inside windows?

replies(1): >>11391365 #
65. jdub ◴[] No.11391325[source]
As WinLS is very much like branded Solaris Zones, here's what it looks like when you run `uname -a` in an (old, copypasta from the web) Linux branded zone:

    Linux centos 2.4.21 BrandZ fake linux i686 i686 i386 GNU/Linux
66. meursault334 ◴[] No.11391334[source]
This seems like it could be pretty amazing for developing and testing some of our backend computer vision tools directly in Windows.

What would be really amazing would be if you could use CUDA and cuDNN from Ubuntu executables in Windows 10.

67. typon ◴[] No.11391338[source]
It's not a 'few' core utilities. It's any packages available on Ubuntu.
replies(1): >>11394914 #
68. jdub ◴[] No.11391343[source]
You can run any* Linux binary on WinLS, including apt-get in the Ubuntu rootfs.

* within the probably surprisingly broad limits of the WinLS syscall emulation, though it wouldn't support niche OS config stuff, SELinux calls, etc.

replies(1): >>11391830 #
69. geofft ◴[] No.11391346{6}[source]
And the performance hit is almost certainly less than the relative performance of a "native" reimplementation of a foreign OS's syscalls that doesn't benefit from the decades of engineering work that went into making that foreign OS perform well.
70. zymhan ◴[] No.11391351{3}[source]
I cannot possibly imagine a world where Microsoft cannibalizes their Windows Server sales by creating a Windows Emulation Layer for Linux.

Crossover is probably the best you'll get: https://www.codeweavers.com/products/crossover-linux

Otherwise, if you only need Windows to game, I'd highly suggested PCI Passthrough so that you can use your GPU in a Windows VM: https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVM...

replies(1): >>11391914 #
71. whatever_dude ◴[] No.11391354[source]
Thanks. This link has a lot more (real) information.
72. Guvante ◴[] No.11391355{4}[source]
Nothing about what they implemented prevents you from using a different terminal.

Also cmd.exe on Windows 10 does support line breaks in copied text from what my minor test just showed.

73. shmerl ◴[] No.11391358[source]
So it's like Wine in reverse. Is it FOSS?
replies(4): >>11391494 #>>11392026 #>>11392029 #>>11394860 #
74. pookeh ◴[] No.11391359[source]
Depends if the node is a Windows executable or a Linux binary.
replies(1): >>11392827 #
75. akiselev ◴[] No.11391363{5}[source]
That's a distinction without a difference if you're using a modern processor with special virtualization silicon like Intel VT-i/x/d or AMD-V. With these features, IO and memory management is completely isolated between different virtual machines at the hardware level so there is almost zero overhead. With VT-d, which allows you to dedicate DMA channels to a guest VM, you can completely bypass the the host for all types of hardware including PCI/e, USB, etc.
76. geofft ◴[] No.11391365[source]
Yes, as mentioned in the article, / on the Linux side maps to C:\Users\...\AppData\Local\Lxss\rootfs\, and C:\ on the Windows side maps to /mnt/c/ on the Linux side.

Think of it as an Ubuntu chroot on Windows, with C:\ bind-mounted into the chroot.

replies(1): >>11391400 #
77. itchynose ◴[] No.11391368[source]
I frigging love i3, but not a big fan of thinkpad and linux desktop combo.

I ordered a surface pro 4 and planning to run i3 in a VM with my existing nixOS configuration. I wonder how this news will affect my workflow.

I have emacs running as a systemd service and client emacs connecting to it, so it's quite a killer combo for development.

78. kuschku ◴[] No.11391373{6}[source]
Except, it does matter.

Not having a unified filesystem, not having a unified window manager, etc are quite some issues.

replies(2): >>11391395 #>>11391429 #
79. bryanlarsen ◴[] No.11391376[source]
I'm reading between the lines, but it looks like the linux subsystem is using a separate file system. So you'll have the usual problems when using files from /mnt/c, but other files are mounted in a unixy file system of some sort. The Ubuntu file system is mounted onto your Windows subsystem at C:\Users\<user>\AppData\Local\Lxss\rootfs\, according to the article.
replies(1): >>11392464 #
80. drinchev ◴[] No.11391381{3}[source]
Just a remark. npm's team fixed long paths in v3.0, so now you have "flat tree".
replies(1): >>11391654 #
81. thought_alarm ◴[] No.11391383[source]
15+ years ago Microsoft shipped a UNIX subsystem for Windows NT/2k.

https://en.m.wikipedia.org/wiki/Windows_Services_for_UNIX

It blew my mind at the time, but it was kind of a pain and I didn't stick with it. I don't remember why.

I guess this is about same thing, only its Linux instead of some other sort of UNIX.

replies(2): >>11392229 #>>11392231 #
82. akiselev ◴[] No.11391393{4}[source]
To be fair, this new implementation is very completely different. If we had the same kind of experience with virtualization and hardware with VT-i/x/d or AMD-V when Microsoft was developing personalities, the chips would have landed very differently.
83. dllthomas ◴[] No.11391395{7}[source]
Those are not meaningful issues for the stated use case of playing some handful of games.
replies(1): >>11391949 #
84. zhobbs ◴[] No.11391398[source]
It helps push Windows developers to use Ubuntu on Azure.
85. bryanlarsen ◴[] No.11391400{3}[source]
I get the impression that it's a new filesystem, so C:\Users\Kirkland\AppData\Local\Lxss\rootfs is a file containing a linuxy file system that's mounted onto / in the Linux subsystem and onto C:\Users\Kirkland\AppData\Local\Lxss\rootfs\ on the Windows subsystem.
replies(1): >>11415671 #
86. mark_l_watson ◴[] No.11391405[source]
I am a little annoyed at myself. One of my 5 laptops is a HPStream 11 that was running Windows 10 until a few months ago when I wiped the disk and installed Ubuntu. Windows 10 is not bad at all, and I would have enjoyed keeping a Windows 10 machine handy with the new Ubuntu user land support.
replies(3): >>11392069 #>>11392129 #>>11392618 #
87. andoma ◴[] No.11391408{3}[source]
Or unlinking an open file. Something you can't do on traditional Windows kernels IIRC.
replies(1): >>11415366 #
88. vram22 ◴[] No.11391409[source]
Microsoft also had or still has something called SFU - Services For Unix. I know they were working on it some years ago. But that could be for some sort of interoperability, not the same as this thing.
replies(1): >>11392675 #
89. simonlc ◴[] No.11391411[source]
I completely agree. I only really switched to OSX because getting node tools to work on windows and cygwin is a pita.
replies(2): >>11391709 #>>11392450 #
90. whatever_dude ◴[] No.11391417{3}[source]
I've read comments where people wrote that NT always had some kind of POSIX subsystem, and it has probably just now been completed and expanded.

Can't find any substantial writings on this, but it seems likely.

replies(4): >>11391513 #>>11391676 #>>11392248 #>>11392369 #
91. xienze ◴[] No.11391429{7}[source]
As another posted pointed out, if you just want to bring up a VM for gaming, who cares?

Also, you can share directories between the native filesystem and the VM quite easily. And if you're using something like VirtualBox or VMWare there are "unity" windowing modes available.

replies(2): >>11391932 #>>11392670 #
92. cpach ◴[] No.11391432{3}[source]
”It was most infamously used to provide a POSIX subsystem which really only checked boxes on government acquisition forms.”

Ah, so that was the rationale. I always found that subsystem curious.

93. jle17 ◴[] No.11391435[source]
I think FreeBSD linuxulator has 64bit support too since they introduced Docker support last year.
replies(1): >>11391496 #
94. Dylan16807 ◴[] No.11391437{5}[source]
The "Native" OS is also under the hypervisor. So effectively you have real CPU, real RAM, real GPU, and you can give it a real hard drive too. At that point does it really matter that the USB controller and network card are virtualized?
95. rosalinekarr ◴[] No.11391439[source]
Glad to see everyone taking the title so literally, "_Bash_ on Windows."
96. geofft ◴[] No.11391444[source]
From the Scott Hanselman link posted elsewhere in this comment thread:

> Note that this isn't about Linux Servers or Server workloads. This is a developer-focused release that removes a major barrier for developers who want or need to use Linux tools as part of their workflow.

It helps Canonical deploy Linux on the server in places that refuse to run Linux on the desktop, since Microsoft has said they're not interested in replacing Linux on the server with lxss on the server. This is absolutely good for certain subsets of the "Linux community" with certain motivations and ideologies. (And awful for others, of course.)

97. whatever_dude ◴[] No.11391451[source]
I agree. I'm (mostly) a Windows user, and the one reason I'm constantly thinking of moving to OSX as my primary OS is the amount of command-line tooling that is available in the system. Everything new is always there first. I've started feeling that I was holding back by staying on Windows, even if using Mingw daily.

This might be the thing that saves Windows as a dev machine for me. I'm a heavy cmd/powershell user but I'd migrate to bash in an instant.

replies(2): >>11391521 #>>11393105 #
98. vram22 ◴[] No.11391465{3}[source]
>Windows NT had a POSIX subsystem awhile ago, not sure what happened to it.

I was interested in that too, since I write Unix utilities and it is sometimes useful to have them work on Windows as well. I've done that (checked that it worked on Windows) with a few utilities in the past (written in C), that did not use any very Unix specific features that were not present on Windows. And remember reading around that time that Windows (I think it was from NT onwards) had a POSIX subsystem.

Then more recently, as in, a few months ago, I wanted to check that out again, and did. IIRC I read (maybe on a Wikipedia page) that the POSIX subsystem is not present in Windows any more.

99. sickbeard ◴[] No.11391468[source]
Now windows users can learn bash cmd line and switch completely!
replies(1): >>11393918 #
100. azeirah ◴[] No.11391471[source]
Whew, I'll finally be able to run WINE on windows! :)
replies(3): >>11391620 #>>11391690 #>>11392242 #
101. ◴[] No.11391473{4}[source]
102. ◴[] No.11391476{6}[source]
103. philjohn ◴[] No.11391477{3}[source]
IIRC, this is how the Linux binary compat on BSD works.
104. castratikron ◴[] No.11391484[source]
I wonder how long it'll be until we see some kind of NT kernel with GNU userland distribution (GNU/NT?).
105. HeadlessChild ◴[] No.11391494[source]
"Microsoft calls it their "Windows Subsystem for Linux". (No, it's not open source at this time.)"
replies(1): >>11391511 #
106. Sanddancer ◴[] No.11391496{3}[source]
That was only for 32 bit containers. FreeBSD 11 should have 64-bit linux support though.
107. vram22 ◴[] No.11391497{4}[source]
What does "clean room" style mean, exactly? I've heard the term, but only in connection with semiconductor factories, I think. You're talking about software here.
replies(3): >>11391647 #>>11391686 #>>11391715 #
108. khedoros ◴[] No.11391500{4}[source]
I've heard that this works wonderfully for graphics, but the sound emulation is pretty terrible. At least, I've heard about clicks and pops when the game puts much load on the system. This was on a friend's machine; maybe he had it configured badly.
replies(2): >>11391547 #>>11391687 #
109. bpye ◴[] No.11391508{3}[source]
http://stackoverflow.com/a/67293/3965517 indicates that NT does support fork properly, just not exposed to usermode normally.
replies(1): >>11391876 #
110. shmerl ◴[] No.11391511{3}[source]
Sounds like they might open it. But probably it won't be as useful as Wine which is portable to POSIX systems. May be it can benefit ReactOS or something.

What could be good though is MS backing the Wine project. But I guess it goes too much against their lock-in DNA.

111. barrkel ◴[] No.11391513{4}[source]
Not only did NT have a POSIX subsystem, but once upon a time I used it (when it was packaged as SFU, Services for Unix). It wasn't a pleasant experience.

This will have been quite a bit more work than just a POSIX layer, IMO; POSIX defines a bunch of low-level functions that lie just under the C runtime library, but Linux defines a bunch more that expect a certain view of the world - things like clone(2), which lets you selectively choose what the forked process gets to inherit. POSIX only specifies fork(2). Linux implements fork(2) in terms of clone(2). And POSIX defines the API at the level of C; this will have had to implement the Linux ABI, where it differs from Win64. A minor detail of a bunch of assembly stubs, but work nonetheless.

replies(3): >>11392546 #>>11394779 #>>11418098 #
112. tetraodonpuffer ◴[] No.11391515[source]
this, so many people that develop OSS do so on mac laptops because it's so easy to get the toolchain working, with real linux binaries in windows it's making the value proposition of the surface book a lot stronger for developers.
113. avtar ◴[] No.11391521{3}[source]
> I'm constantly thinking of moving to OSX as my primary OS is the amount of command-line tooling that is available in the system. Everything new is always there first.

Having had OS X, Windows, and various Linux distributions as my primary operating systems I would consider having an Arch Linux VM kicking around if you want all the packages in the world, maintained fairly well.

replies(1): >>11393243 #
114. plank ◴[] No.11391528[source]
Confused: can we now START or STOP bashing windows?
replies(3): >>11391850 #>>11391992 #>>11392706 #
115. ◴[] No.11391540{3}[source]
116. ◴[] No.11391544[source]
117. xienze ◴[] No.11391547{5}[source]
Well if you're giving some hypervisor-managed sound interface to the VM then I wouldn't be surprised to hear that. The answer is to get a cheap dedicated soundcard and pass it through to the VM, just like you would with the graphics card.
118. quotemstr ◴[] No.11391556[source]
No, you don't need overcommit for COW fork. You can fully commit the writable pages of the new process. Yes, that uses a bit of pagefile space, but disk space is cheap, and this approach works fine. You can (and should, if you care about robustness) turn off overcommit on Linux too.
119. Dylan16807 ◴[] No.11391566{4}[source]
It is? I thought it was hard links.
120. quotemstr ◴[] No.11391583{5}[source]
conhost (the black box that typically runs cmd.exe) is a terribly shitty terminal emulator. My biggest gripe with Windows has been the lack of a decent pseudoconsome system that would allow an ecosystem of terminal emulators to developer, as one has for POSIX-ish systems.
replies(2): >>11393788 #>>11415843 #
121. abritishguy ◴[] No.11391588{3}[source]
I know but the semantics are different.
122. dba7dba ◴[] No.11391592[source]
Title of the article made me think, bash on Windows? Why is that news?
123. anthk ◴[] No.11391620[source]
https://sourceforge.net/projects/wine/files/Win32%20Packages...
124. verytrivial ◴[] No.11391622[source]
I remember seeing an ad for an PowerBook (oh, this first one one: http://xaharts.org/funny/Apple_Mac_OS_X_Unix_ad.html ) back in 2002 (apparently) and thinking: "Wow, now I want one." Outstanding pitch. And for the last decade and a half so have a huge number busy engineers, scientists and most recently and profoundly, web developers. Microsoft is making a very smart move here, even if it is exceedingly late.
replies(1): >>11392316 #
125. TillE ◴[] No.11391647{5}[source]
To avoid any hint of copyright infringement, a team reimplementing an API (or similar) must never have looked at the original code.

https://en.wikipedia.org/wiki/Clean_room_design

126. tdicola ◴[] No.11391653[source]
I'm with you. Interesting novelty, but I would absolutely not bank on doing anything missions critical with this. Wait 5 years for the excitement to die down and lets see if the team stuck maintaining this is even going to be around anymore. Are they committing to keeping the syscall translation layer up to date with changes in later kernels, etc? Or is this going to turn into another 'You can run Android apps on Windows!' announcement that fizzles out after they realize how much work they've gotten into...
replies(1): >>11392076 #
127. mmebane ◴[] No.11391654{4}[source]
The "maximally flat" package structure in npm 3 solves the problem in most common cases, so I suppose "much more useful" was an exaggeration - if you keep your code in a relatively short base directory such as C:\src\nodeprojects\left-pad-ng\, you'll probably be fine.

Depending on what version ranges dependencies are locked to, you could still end up with a pathological situation which breaks the path length limit, but I've only had that happen once since switching to npm 3, and it was easy to resolve.

128. 80x25 ◴[] No.11391663[source]
"But there are some imperfections still, especially around tty's an the vt100. My beloved byobu, screen, and tmux don't quite work yet, but they're getting close!"

If they actually fix these imperfections, that would be fantastic. It would address a number issues that are "unfixable" in Cygwin flavors of utilities/apps.

replies(2): >>11391979 #>>11417227 #
129. rocky1138 ◴[] No.11391671[source]
Is this better, the same, or worse than git bash?
replies(2): >>11391714 #>>11391740 #
130. EvanAnderson ◴[] No.11391676{4}[source]
NT shipped w/ a POSIX subsystem. Later, Microsoft acquired Interix (https://en.wikipedia.org/wiki/Interix), a more fully-featured POSIX subsystem. I have fond memories, in the late 1990's, of running GNU tools on NT under Interix.
replies(1): >>11391955 #
131. anthk ◴[] No.11391679[source]
"Of course, I have no idea how to CLOSE emacs, so I'll close the window. ;)"

What if you read the welcome screen, Mr. Scott ;) ?

replies(2): >>11392159 #>>11395048 #
132. k__ ◴[] No.11391684[source]
Well we are close. But I thought the 1st of April idea was to make the joke on 1st and reveal it after that date. Not to make a joke in March and tell people it was a joke on 1st of April...
133. alcari ◴[] No.11391686{5}[source]
The usual term is "Chinese Wall" [1].

[1] https://en.wikipedia.org/wiki/Chinese_wall

134. SXX ◴[] No.11391687{5}[source]
First of all there is option to emulate different sound cards and I have no issues with Intel HDA other than microphone delay.

And you can also buy $5 USB sound card and have no issues at all. Or spend few bucks more and connect PCI sound card.

135. the_why_of_y ◴[] No.11391688[source]
Looks like it wouldn't be the first copy-on-write fork() on NT; Interix had that already many years ago.

Solaris doesn't have VM over-commit either, and few people would claim it's not a fully featured UNIX.

136. chadzawistowski ◴[] No.11391690[source]
http://oldwiki.winehq.org/WineOnWindows
137. ljani ◴[] No.11391697[source]
Interesting! I've been following Flinux [1], but it's not ready for day to day use. I hope this one will be soon!

[1]: https://github.com/wishstudio/flinux/

replies(1): >>11394598 #
138. omarforgotpwd ◴[] No.11391698[source]
Imagine going back in time to the 90s and telling people that in 2016 Microsoft would bend over backwards to make sure Windows could run Linux ELF binaries natively in the kernel by converting syscalls. You'd probably be laughed at.
replies(2): >>11392329 #>>11393534 #
139. ilmiont ◴[] No.11391704[source]
I wonder what implications this has for SSH for PowerShell... Microsoft were originally planning to release native SSH in PowerShell this summer. But now it seems redundant when you could just use Bash anyway...
replies(3): >>11392080 #>>11392761 #>>11393359 #
140. alkonaut ◴[] No.11391706{4}[source]
Selection, copying, wrapping etc. has been fixed in the Win10 version of the console host.

In pervious versions you could always use another console like Console2, but now it's built in (although the third party options still have more features than the new built in one).

141. tostitos1979 ◴[] No.11391709{3}[source]
I've been "stuck" with a 2010 Macbook since Apple isn't refreshing it's laptop hardware soon enough. Plus I'm sick of soldered in RAM and other BS.

For devs that do heavy Linux work (but have stuck with a Mac OS for GUI/app reasons), is it time to move (back) to Windows? If so, what would be a good laptop to get at the moment?

replies(7): >>11391787 #>>11391803 #>>11391857 #>>11392064 #>>11392420 #>>11393251 #>>11394878 #
142. ibrahima ◴[] No.11391714[source]
Better, it seems like this is literally running the same Linux binaries as would run on Ubuntu on Windows. Git bash uses msys so those binaries are recompiled for Windows. And he casually mentioned apt, which is pretty crazy if they can actually have the standard apt repositories working on Windows without modification.
143. soapdog ◴[] No.11391715{5}[source]
means a group check the source and documents. Another group never sees the code, only the documentation, and proceed to implement whatever they need being able to say that they have not used the original code.

This is common in reverse engineering stuff.

144. rcurry ◴[] No.11391723[source]
I'm just blown away by how much Microsoft is changing their direction these days. These are heady times, for sure.
145. tdicola ◴[] No.11391740[source]
Completely different. Git bash is based on msys which is a suite of Linux/Unix tools ported to compile and run natively on Windows. This is taking actual Linux programs and running them as-is on Windows. Wherever the Linux programs make system calls to the Linux kernel, etc. there is a shim layer from MS that translates those calls into Windows system calls. It's not going to be 100% perfect compatibility with every app, but will probably support a lot more stuff than msys.
146. kelvin0 ◴[] No.11391761[source]
<tears of joy> It's not a VM ... it's natively running on Win10 </tears of joy>
147. mastax ◴[] No.11391776[source]
I think Canonical thought helping Microsoft was good for Canonical, and I don't think that's a bad thing.
148. lazzlazzlazz ◴[] No.11391783[source]
Will rendering Unicode characters still be a complete disaster? Will I need to care about which "code page" or whatever is being used (not that that ever seemed to help)?
replies(1): >>11392283 #
149. snuxoll ◴[] No.11391787{4}[source]
Dell's Inspiron line is my go-to for portable workstations. Run Linux straight on them, or if GNOME/KDE aren't your cup of tea just run Windows and put your distro of choice in a VM (I just run Fedora on everything but my gaming PC, personally).

I'm personally using a Dell XPS 13 (2014), soldered in RAM, but I did buy an ultraportable and 8GB is more than sufficient to do my all my personal work on. Work supplied me with a Lenovo W540 that is substantially more flexible, but it weighs as much as a couple bricks and I usually just leave it at home on the dock.

replies(1): >>11392023 #
150. david-given ◴[] No.11391798[source]
So, uh. I did this! Crudely. In 2010.

http://cowlark.com/lbw/

It's a Linux syscall translator for Windows. It works well enough to run a Debian userland, although it's got so many holes and rough edges that I would never, ever, ever suggest using it for anything other than a stunt.

It uses Interix to do most of the heavy lifting, so all LBW does is to translate from Linux syscalls to Interix syscalls; so we get a Unix filesystem and user permissions and sockets and fork etc for free. (Interix was great. I'm glad they're bringing it back from the dead.) Unfortunately not all the system calls directly map onto each other; so Interix has a native fork(), but Linux emulates with clone(). I couldn't make threads work.

A few of the biggest problems were:

- the Windows page size is 64kB; the Linux page size is 4kB. The ld.so loader will try to map two bits of executable within the same 64kB boundary, and, of course, this doesn't work on Windows. I crudely hack around it by allocating pages of RAM and copying things. Write-back mapping only works at all if the application lets mmap() pick the address.

- very very very different register usage. glibc on Linux uses gs as a 'pointer' to the current thread's private data area, via a special syscall. Windows resets gs to 0 on every interrupt! I crudely hack around this by intercepting null pointer dereferences, looking at the instruction to see if it was gs, and then reloading it with the right value.

- even then, that syscall sets gs to point at a GTD segment with a size of 2^32; this wraps round the entire address space, which allows very large offsets in gs to be treated as negative numbers. Windows doesn't let you create GTD segments. It only allows LTD segments, and it caps the segment limit to the end of the user address space, so this trick won't work. I crudely hack around this by intercepting segmentation violations, looking at the instruction to see it it's a [gs+negative number] dereference, and then binary patching the executable to use a different instruction.

- glibc is horrible and undocumented. There's a big pile of key-value strings pushed onto the stack above the environment when the process is initialised, containing various magic numbers. ld.so will just crash if you get this wrong. I spent a lot of time reverse engineering the ld.so source code to figure out what these were and how to set them up.

It was all vile and horrible, but it worked surprisingly well (i.e., it worked, which was surprising).

Using the NT kernel's personality system to implement Linux syscalls natively is totally the right thing to do; that's obviously what they're doing here.

I would love to know about the internal Microsoft politics which made releasing this possible. I wonder how long it's been brewing? I did LBW in about a month of evenings; the core logic wasn't hard. I wouldn't be at all surprised if this hasn't been floating about inside Microsoft for years.

replies(4): >>11391919 #>>11391920 #>>11393130 #>>11416892 #
151. matt_wulfeck ◴[] No.11391803{4}[source]
I would say no, especially if your mac had an i7 and reasonable amounts of ram.
152. justncase80 ◴[] No.11391831[source]
This is great.

For the last couple of years, as a windows user, I have just been installing Git Scm, which includes something similar to this and have been using that for all script / command line needs.

If this was baked into Windows so much the better! I would love it if nobody ever wrote a single CMD or PS1 file ever again. Let's please all just converge on bash and put this debate behind us.

replies(1): >>11417487 #
153. pbhjpbhj ◴[] No.11391830{3}[source]
So I can install apt then install apps like Firefox, Thunderbird and run them that way instead of using Windows binaries? Interesting ...
replies(1): >>11392010 #
154. justncase80 ◴[] No.11391836[source]
Also, for windows devs not in the know check this out:

http://cmder.net/

replies(1): >>11392647 #
155. mpweiher ◴[] No.11391846{3}[source]
From elsewhere in this thread:

"Windows NT was designed from the start to have modular subsystems. It was most infamously used to provide a POSIX subsystem which really only checked boxes on government acquisition forms. :-)"

https://news.ycombinator.com/item?id=11391290

replies(1): >>11480800 #
156. deagle50 ◴[] No.11391850[source]
After they fix highdpi scaling
replies(2): >>11392601 #>>11394374 #
157. x1798DE ◴[] No.11391857{4}[source]
Why not move to Linux?
replies(1): >>11391950 #
158. icefox ◴[] No.11391866[source]
Some long term thoughts:

1) Linux has won the server (web) market. Developers would like to use a Unix box to work on their server code so they typically move to OS X. This could prevent that switch because they can still use Windows to developer their Linux server software.

2) Many projects start out as Linux and stay Linux and are only ported after much time and effort to Windows. Enterprises when faced with a tool that they want to use will also look to switch off Windows. Now rather than the cost of switching they only have to pay to upgrade their windows boxes to use the tool.

3) There is now a major incentive for developers to only build Linux binaries because it will work more places. This might cause a faster drain of developers as they eventually remove all windows specific code and can more easily migrate elsewhere. This feels eerily similar to the OS2 story and no doubt in the next week I expect to see more than a few articles discussing this very thing.

4) It will be much easier for Microsoft to bring much loved Linux tools to Windows so you can expect to see a more rapid increase of tools announced that now work for Windows.

replies(1): >>11415786 #
159. ktRolster ◴[] No.11391868[source]
Looks like they are launching ELF files, then translating the linux syscalls to WIN32API calls at runtime.
replies(1): >>11391974 #
160. pcwalton ◴[] No.11391876{4}[source]
fork() is exposed to user mode, but it's an undocumented private API. Pass the handle of the parent process as the 4th parameter and TRUE as the 5th parameter to NtCreateProcess: http://undocumented.ntinternals.net/index.html?page=UserMode...

The problem is that the Win32 user mode system will fight you every step of the way: CSRSS will not understand what you just did, for example. It's not generally worth it.

161. icefox ◴[] No.11391895[source]
Some long term thoughts:

1) Linux has won the server (web) market. Developers would like to use a Unix box to work on their server code so they typically move to OS X. This could prevent that switch because they can still use Windows to developer their Linux server software.

2) Many projects start out as Linux and stay Linux and are only ported after much time and effort to Windows. Enterprises when faced with a tool that they want to use will also look to switch off Windows. Now rather than the cost of switching they only have to pay to upgrade their windows boxes to use the tool.

3) There is now a major incentive for developers to only build Linux binaries because it will work more places. This might cause a faster drain of developers as they eventually remove all windows specific code and can more easily migrate elsewhere. This feels eerily similar to the OS2 story and no doubt in the next week I expect to see more than a few articles discussing this very thing.

4) It will be much easier for Microsoft to bring much loved Linux tools to Windows so you can expect to see a more rapid increase of tools announced that now work for Windows.

5) Games: What about the graphical layer? Can I write the majority of my game as a Linux binary and only have the rendering bit left over to separately implement for Linux/Windows? Will this spur an increase of cross platform games?

replies(5): >>11392137 #>>11392161 #>>11392208 #>>11392257 #>>11397240 #
162. dang ◴[] No.11391896[source]
There's another big discussion at https://news.ycombinator.com/item?id=11388418.
163. wyldfire ◴[] No.11391901[source]
> But there are some imperfections still, especially around tty's an the vt100

Yeah, it would be excellent if something like gnome-terminal worked well with this linux ABI.

164. dec0dedab0de ◴[] No.11391914{4}[source]
I cannot possibly imagine a world where Microsoft cannibalizes their Windows Server sales by creating a Windows Emulation Layer for Linux.

Are there any Windows only server applications that would be useful in a non windows shop? I'm not trying to be snarky, I really can't think of any.

I would expect the most likely users to convert would be those using job specific desktop software.

165. joshumax ◴[] No.11391919{3}[source]
I used to use your program on my XP box a while back... I told an MS exec about it and he seemed really impressed. It would be funny if they got some of the core ideas for this from LBW.
166. partycoder ◴[] No.11391922[source]
The first one to run Ubuntu on Windows on Wine gets a cookie.

More cookies for running ubuntu userland on windows on wine on emscripten.

167. kuschku ◴[] No.11391932{8}[source]
> Also, you can share directories between the native filesystem and the VM quite easily. And if you're using something like VirtualBox or VMWare there are "unity" windowing modes available.

I tried them – they don’t work at all in KDE.

Arch linux host, KDE as DE, Windows 10 Guest, just leads to a big black box in unified mode, and windows don’t properly occur in the KDE taskbar.

What I expect is integration equal to WINE – automatically putting stored data into the correct folders, easily accessible and mounted, integrating windows with the taskbar, etc.

And yes, this is "just for games" – but try gaming on a multiscreen setup when the game doesn’t show up in your taskbar and you can’t minimize it.

replies(1): >>11392434 #
168. melloc ◴[] No.11391938[source]
You can't use lx-branded zones in Solaris anymore, but SmartOS has revived and continued the project, and OmniOS has started porting the bits into their distribution, too.
replies(1): >>11392096 #
169. kuschku ◴[] No.11391949{8}[source]
They are when you want to use the game on multiscreen setups, or if you want to backup the game’s save files manually.

Source: I use my VM only for gaming, and it’s a horrible experience.

170. matt_wulfeck ◴[] No.11391950{5}[source]
Just out of curiosity, what does a Linux desktop offer that's not also natively offered in Mac and also highly polished?

Every year I try a switch to Linux desktop. This year I made it as far as trying to get multiple monitors working well. I also dabbed in gaming. In the end I went back to my work=Mac game=Windows duopoly.

replies(5): >>11392134 #>>11393355 #>>11393718 #>>11394991 #>>11401124 #
171. TeMPOraL ◴[] No.11391955{5}[source]
Same here. It's like everyone forgot there was such a thing as SFU/SUA. I found it much more pleasant to work with than Cygwin.
replies(1): >>11392099 #
172. rottyguy ◴[] No.11391965[source]
I think this was a smart balance between getting it out there and seeing if it will stick. Someone said POSIX went by the wayside some time back so they may be a little hesitant in jumping all in. If this gets adoption, they can improve upon it in a future release.
173. sp332 ◴[] No.11391974{3}[source]
The link you posted is the original article at the top of this HN thread.
replies(1): >>11391999 #
174. abawany ◴[] No.11391976[source]
Apparently I wasn't the first one to think of this: 2016, the year that Linux finally takes off on the desktop.

https://twitter.com/search?q=year+linux+desktop

replies(1): >>11415702 #
175. rspeer ◴[] No.11391979[source]
It sounds like this would involve tweaking conhost.exe so that it understands all the vt100 sequences, as well as UTF-8. (I hope they wouldn't assume everyone's tmux setup uses only characters from codepage 437.)

If they did that, it would also fix the awfulness of Python's stdout on Windows!

replies(3): >>11394129 #>>11394195 #>>11417377 #
176. dagw ◴[] No.11391986[source]
I can use those few core utilities to build and run other more useful utilities.
177. barsonme ◴[] No.11391990[source]
> - If you just wanted bash and some posix tools, the harder but nicer way would be to patch them to understand windows paths. It is not clear to me that it is even possible, for example many tools assume a path that does not start with a slash is a relative path - while "C:\" is absolute. You would also want to make more windows apps understand forward slashes like "C:/Windows". To make things even more complicated, there are NT native paths "\Device\HarddiskVolume4\Users\Bill", UNC paths "\\Server\share", and the crazy syntax "\\?\C:\MyReallyLongPath\File.txt".

One of the good things about using "newer" languages than C for building cross-platform utilities[0] is that things like that come baked in[1].

[0] - https://github.com/EricLagergren/go-coreutils [1] - https://golang.org/pkg/path/filepath/#IsAbs

178. olalonde ◴[] No.11391992[source]
You can now START or STOP bash on Windows.
179. ktRolster ◴[] No.11391999{4}[source]
Oh, you're right, I messed up.
180. dagw ◴[] No.11392010{4}[source]
I haven't read anything that indicates that it will support GUI apps, but anything purely CLI based should work.
replies(1): >>11392454 #
181. jpalomaki ◴[] No.11392023{5}[source]
I don't have hands on experience, but Dell XPS 15 looks like an interesting option for thoaw looking for Windows laptop that is close to 15" Macbook Pro (quad core, sleek etc).
replies(1): >>11392695 #
182. kyberias ◴[] No.11392026[source]
This is a "Windows Subsystem" implementation. There are no open subsystem implementations and it hasn't been documented. Therefore it's a little far-fetched that they would release this as open source. Not impossible though.
183. toyg ◴[] No.11392029[source]
No.
184. dagw ◴[] No.11392034{3}[source]
It's not about bash on windows, it's about any Linux command line tool on windows (in bash).
185. sixothree ◴[] No.11392064{4}[source]
Thinkpad T460s. I have the T450s and like it plenty. It's definitely up there with macbook build quality.
replies(1): >>11392346 #
186. T-A ◴[] No.11392069[source]
AFAIK, Windows 10 registration amounts to generating a hash based on your hardware and storing it online. If you reinstall Windows 10 now and try to register again (and have not updated the hardware, e.g. replaced the hard drive), the same hash will be generated again and your machine will be recognized as already registered. So there should be no extra license cost involved.
187. revelation ◴[] No.11392076{3}[source]
... what changes in later kernels?

Remember the holy edict of Linux kernel development: you don't break userspace.

replies(1): >>11394909 #
188. hughw ◴[] No.11392077[source]
Coincidentally I've spent the past week re-learing how to develop on windows. I wanted to avoid cygwin if possible, but the experience has been painful. I had some hope for Chocalatey, and it seemed encouraging that MS had ported OpenSSH over, but my first ssh to a Byobu session on Ubuntu was disastrous... I'm sure there is some TERM parameter I can fiddle, but I don't know what or where in 5 minutes of searching. I needed "grep", so I tried "choco search grep", and there are a dozen choices for grep-like tools.... with GUIs, written in Perl,... oh christ.
replies(2): >>11393091 #>>11408473 #
189. kodablah ◴[] No.11392080[source]
I don't think it's redundant. Many people want to remote into Windows' native shell without having bash present.
replies(1): >>11394918 #
190. SNvD7vEJ ◴[] No.11392092{3}[source]
So, max path length in Linux user space will be about 215 chars? (for it to be accessible from Windows user space)

MAX_PATH in Windows = 260

Path to Linux file system root from Windows user space:

"C:\Users\<user>\AppData\Local\Lxss\rootfs\" - about 45 chars

Max depth reachable from Windows user space = 260 - 45 = 215

replies(3): >>11392204 #>>11394446 #>>11395665 #
191. otterley ◴[] No.11392096{3}[source]
Oh, that's a shame. When was it removed?
replies(2): >>11392194 #>>11392217 #
192. beagle3 ◴[] No.11392097[source]
Can someone explain how is an "NT subsystem" or "NT personality" (which the linux ABI is supposedly an example of) different than any other library?

Answers I've received before is "it can call the native API", but any program can call the native API. So, what's in a subsystem?

replies(2): >>11393565 #>>11394391 #
193. krylon ◴[] No.11392099{6}[source]
> It's like everyone forgot there was such a thing as SFU/SUA

Well, it's not like Microsoft made much of an effort to remind people. It was discontinued as a separate project after about Windows XP. It continued to be part of Windows Server[1], but AFAIK, it was no longer present in the client versions.

[1] at least until 2008 or 2008 R2, I didn't check later versions.

replies(1): >>11392222 #
194. samstave ◴[] No.11392124[source]
Its actually kind of interesting that we dont have a literal "standard base" of tools that any OS should supply.

(unless I am missing something)

But it would make sense that certain things should be doable on literally any computer. grep, find, vi, edit, etc... etc... I cant come up with a complete list - but it would be great to start that direction.

replies(2): >>11393375 #>>11395244 #
195. sp332 ◴[] No.11392128[source]
So how do we get it? I have a laptop set to get "Insider" updates but I don't see the feature anywhere obvious.
replies(2): >>11394231 #>>11394585 #
196. swampthinker ◴[] No.11392129[source]
Torrent time!
replies(1): >>11393028 #
197. toyg ◴[] No.11392134{6}[source]
Some tools (docker etc) are typically borne on linux and later (not always) ported to OsX. Nothing you cannot get around with a bit of emulation, of course, but it can be painful at times.

The whole python ecosystem is also better on Linux overall.

Anything strictly desktop-oriented is better on OSX of course.

198. Grishnakh ◴[] No.11392135{3}[source]
The definition of insanity is doing the same thing and expecting a different result. Microsoft has been trying to extinguish their competition for decades now; what makes you think they're going to be different this time?
replies(4): >>11392268 #>>11392427 #>>11392682 #>>11411022 #
199. ◴[] No.11392137{3}[source]
200. rejschaap ◴[] No.11392159{3}[source]
"C-x C-c... what does that even mean?"
replies(2): >>11392274 #>>11392348 #
201. cbhl ◴[] No.11392161{3}[source]
I imagine that 3) and 5) are hedged by how well Visual Studio is doing.
202. quotemstr ◴[] No.11392163[source]
> Windows uses drive letters and backslashes, unix has a root filesystem with forward slashes.

Windows also has mountpoints. When I use a Windows system, I pretend that C: is the only drive, and mount external volumes under the root, Unix-style. I then install Cygwin in the C:\ root, creating the illusion of a fairly Unix-ish filesystem layout.

replies(1): >>11393245 #
203. stcredzero ◴[] No.11392170[source]
microsoft is leveraging FOSS Linux to get Mac users. I think it's a real smart move.

Apple leveraged a form of BSD -nix to get developer mindshare. Now Microsoft is leveraging FOSS Linux to leapfrog Apple. It is a smart move. While OS X isn't bad for -nix-like development, it still involves jumping through hoops and compromises. (Homebrew/Macports)

replies(1): >>11393144 #
204. hydromet ◴[] No.11392173[source]
"Resistance Is Futile"
205. geertj ◴[] No.11392180[source]
System call emulation...

The end goal of this would be to run Docker containers natively on Windows, right?

replies(3): >>11392808 #>>11393485 #>>11396537 #
206. frik ◴[] No.11392188[source]
Is this part of a patent deal between Microsoft and Canonical? Or why would Canonical help them - that' s the only explanation that makes sense. We all know how it works out for companies sleeping in bed with a huge corporation... either the buy you, do an inside job trojan horse style, or compete against you. (Cyanogen, Nokia, Xamarin, Yahoo, Sun, RedHat, Google, Apple, etc) If they buy Canonical and/or RedHat, I would drop Ubuntu/RedHat in a second and would advise everyone to switch to Debian or another independent community driven distro.
replies(1): >>11394576 #
207. TallGuyShort ◴[] No.11392190[source]
How is it a bad idea? It's a step to making Linux a more viable platform for software to target and makes life easier for a subset of application developers who already target Linux. I'm sure there will be a few people who would otherwise switch to Linux entirely and may not now, but I would expect this to do more good than harm to Linux.
208. bahamat ◴[] No.11392194{4}[source]
After Oracle bought Sun. It was never a part of Solaris 11. I don't know if it's still part of Solaris 10 or not, but even if it is, it's only barely usable.

But it's alive and well (and awesome) in SmartOS, with active work going on to merge it into OmniOS, and eventually will be upstreamed to illumos-gate.

209. stcredzero ◴[] No.11392195{4}[source]
My work uses symlinks to avoid re-downloading 3rd party libraries in different Perforce branches.
210. pratnala ◴[] No.11392202[source]
Finally the year of the linux desktop then
211. to3m ◴[] No.11392204{4}[source]
The NTFS limit is 32768 wchars, though the standard Win32 API doesn't really expose it very well... fingers crossed they used it!
replies(2): >>11392441 #>>11392648 #
212. sbarre ◴[] No.11392208{3}[source]
Your first point describes me exactly (and many other developers I know). I grew up a Windows user, and switched to OS X because of the unix-like command line environment that more closely matched the servers I was working with in my job environments.

I would most likely switch back to Windows as my primary/only machine (because I also like to play video games sometimes) if I had the same kind of unix-like command line environment that I get in OS X.

Right now I basically need 2 computers at home to meet all my needs, but this would allow me to reduce it to one, so I could get a much better one (instead of the 2 mid-range ones I have now).

replies(2): >>11392368 #>>11394465 #
213. jbandela1 ◴[] No.11392213[source]
Basically, Ubuntu steam rolls the other distributions in terms of reach. My guess, looking at previous Visual C++ posts about a gdb extension [0], and them asking about CMake projects [1], is that Visual C++ will support seamless building, and debugging of Linux programs. This then makes it super easy for developers to develop an Ubuntu binary.

Having a large number of people developing on Ubuntu, may increase the demand for Ubuntu Server (with support where the real money is). I really only see an upside for Canonical.

0. https://blogs.msdn.microsoft.com/vcblog/2015/11/18/announcin...

1. https://blogs.msdn.microsoft.com/vcblog/2016/02/29/developin...

214. melloc ◴[] No.11392217{4}[source]
It's hard to find an exact date, but according to this blog post, it looks like it was removed in June 2010: http://os-solaris.ru/en/lx-brand-dlya-openindiana-151a/
215. TallGuyShort ◴[] No.11392220{3}[source]
I also would've expected more demand for the opposite. I don't see myself ever switching back to Windows, but I'd pay $$$ to have Microsoft Project fully supported on Linux. I have more than a few colleagues who would be interested in the rest of the Office suite too, but who make do with LibreOffice because other things on Linux are more important.
216. geertj ◴[] No.11392221[source]
I'm really hoping the syscall emulation will give us fork() and an efficient poll(). Lack of these has been the most significant Windows porting issue for me (on Python, which otherwise has great platform abstraction).
217. SSLy ◴[] No.11392222{7}[source]
last it was avaiable in windows 8 enterprise
replies(1): >>11394875 #
218. rejschaap ◴[] No.11392229[source]
The article also reminded me of this. I didn't use it much because Cygwin was a little less painful.
219. bahamat ◴[] No.11392231[source]
The significant difference here is that it's running unmodified Linux binaries. Compile on Linux, run in windows.

You should be able to compile functioning Linux binaries on Windows and run them on Linux as well.

220. agumonkey ◴[] No.11392240[source]
wusybox
221. bsharitt ◴[] No.11392242[source]
For some older games and applications, they run on Wine better than newer Windows, so that might actually be a useful.
222. dboreham ◴[] No.11392248{4}[source]
It was documented in the original NT manuals in 1992 which I still have on the bookshelf in pristine condition.
223. andersonmvd ◴[] No.11392254[source]
I wonder if Linux malware will increase, as they will be almost cross-platform now. It's very cool, but from this perspective, that would be bad news for the linux community -- to get the same or more eyeballs as Windows already has.
224. TillE ◴[] No.11392257{3}[source]
On a practical level, this doesn't change anything for games. Anyone writing games for Linux is already using cross-platform tech like SDL or OpenGL or Allegro, or one of the many increasingly popular high-level engines.

Well, I guess it'll be easier to port roguelikes which use ncurses.

replies(2): >>11392322 #>>11392672 #
225. bcantrill ◴[] No.11392265[source]
This is great to see, as it's very similar to the approach that we took with LX-branded zones on SmartOS[1][2]. I commented at some length on the other thread on this on HN[3], but I have a bunch of questions about apps that we know to be thorny: Go, strace, tcpdump, systemd, etc. As we learned, this approach is entirely possible -- but there are many, many details to be nailed before you get to the point that you can run production applications on it. So while the journey across the uncanny valley of Linux is long and arduous, we know from our experience that it can be done. Very much hoping that Microsoft gets to the other side -- and that they open source it all so we can all learn from one another!

[1] http://www.slideshare.net/bcantrill/illumos-lx

[2] http://us-east.manta.joyent.com/patrick.mooney/public/talks/...

[3] https://news.ycombinator.com/item?id=11392119

replies(5): >>11392299 #>>11392418 #>>11393777 #>>11395242 #>>11395345 #
226. ◴[] No.11392268{4}[source]
227. anthk ◴[] No.11392274{4}[source]
You have literally the answer in the welcome screen.
228. rsync ◴[] No.11392282[source]
"FreeBSD has had 32-bit ABI compatibility for at least a decade"

Longer. I was using linux binary compat, in FreeBSD, to run the linux version of vmware workstation back in 2001.

It has always been very well done, and as you can see, not just running 'cat' or 'echo' linux binaries ... but full blown commercial software packages.

I had Windows XP running, as a dev environment, within the Linux version of vmware workstation, on my freebsd laptop. Worked great.

There was an oft-repeated claim in those days (the days of FreeBSD 4.x) that linux binary compat in FreeBSD would run linux binaries faster than linux would.

229. mastax ◴[] No.11392283[source]
I think making unicode work properly is a prerequisite to run native linux applications, so I'm hopeful.

Personally I think they should change the terminal to unicode by default and make the 1% of pos-ported-from-windows-95 apps `chcp` before they work.

replies(1): >>11392867 #
230. takeda ◴[] No.11392296[source]
Surprised I don't see anyone else mentioning this.

This looks to me like typical Microsoft strategy that they utilized a lot 25 years ago.

1. when not leader in given market, make your product fully compatible with competitor

2. start gaining momentum (e.g. why should I use Linux, when on Windows I can run both Linux and Windows applications)

3. once becoming leader break up compatibility

4. rinse and repeat

Happened with MS-DOS, Word, Excel, Internet Explorer, and others.

replies(23): >>11392494 #>>11393099 #>>11393276 #>>11393408 #>>11393449 #>>11393546 #>>11393585 #>>11394255 #>>11394392 #>>11395372 #>>11395436 #>>11395525 #>>11395526 #>>11395634 #>>11395700 #>>11395784 #>>11396366 #>>11396861 #>>11397608 #>>11397942 #>>11398467 #>>11398629 #>>11403675 #
231. crudbug ◴[] No.11392299[source]
I think M$ is targeting more developers with *NIX background on the desktop side rather than Linux apps on server. So a bash support with uniform CLI is the end-game.
replies(2): >>11392350 #>>11393097 #
232. bdcravens ◴[] No.11392312[source]
Looking at Hanselman's blog on this, was excited to see Redis running. Presumably this makes the Rails on Windows story a bit better?
replies(1): >>11395055 #
233. mbrock ◴[] No.11392316[source]
I remember similar thoughts when the first MacBook (x86) came out in early 2006, as I was just starting university, and also thinking "Hmm, this is all probably going to be huge, and I should find out how to buy Apple stock with this ~$1200 I have... oh, no, I'll buy a MacBook for myself."

Ten years later, I'm totally bored with Apple and OS X. Especially after trying to use Xcode and the iOS Development Cloud Platform or whatever. So yeah, I'd probably switch to Microsoft Linux.

And I could totally play Counter-Strike and Diablo II while pausing from coding bash scripts? Omg!

replies(1): >>11393065 #
234. chris_wot ◴[] No.11392322{4}[source]
I'm really hoping this allows me to compile LibreOffice on Windows. Perhaps if I worked out how to incorporate the WINE libraries it might make my life easier...
replies(1): >>11392409 #
235. jacquesm ◴[] No.11392329[source]
No, they'd point to Kerberos and ask what the difference is.
replies(1): >>11392533 #
236. blinkingled ◴[] No.11392330{3}[source]
They actually do syscall translation on the fly from Linux to Windows. I suppose they had to add some calls to Windows for things in Linux that did not exist on Windows (various console ioctls for e.g.) but it is still a one to one translation.
replies(1): >>11392436 #
237. meddlepal ◴[] No.11392346{5}[source]
The T540p isn't though. I hate mine.
replies(1): >>11392956 #
238. btreesOfSpring ◴[] No.11392348{4}[source]
<esc> : q <enter>
replies(1): >>11392636 #
239. talawahdotnet ◴[] No.11392350{3}[source]
Yea, I think they are going after developers who use OS X because it is UNIXy. Smart move given how en vogue Apple laptops have become for developers these days.
replies(9): >>11392457 #>>11392525 #>>11392717 #>>11392840 #>>11392967 #>>11393415 #>>11394345 #>>11394921 #>>11395006 #
240. joeclark77 ◴[] No.11392352[source]
This is interesting! I spent almost a whole school year (I'm a professor) trying to use Linux as my main operating system, tried Arch, Ubuntu, Mint. Ultimately the limiting factor was projectors. Every classroom I teach in seems to have a different brand of projector and I just couldn't get my laptop to work well with any of them. Windows does whatever magic is needed so that it always "just works" with a projector, therefore, I went back. I have been trying to raise money for a Mac because I figured it's the best compromise, but this could change it.
241. 13of40 ◴[] No.11392368{4}[source]
> I grew up a Windows user, and switched to OS X because of the unix-like command line environment that more closely matched the servers I was working with in my job environments.

Out of curiosity, why would you not just go with a Linux desktop for that?

replies(12): >>11392577 #>>11392578 #>>11392619 #>>11392621 #>>11392642 #>>11392651 #>>11392661 #>>11392930 #>>11394153 #>>11394378 #>>11394527 #>>11396211 #
242. nradov ◴[] No.11392369{4}[source]
Microsoft implemented a minimal POSIX subsystem in Windows NT 3.1 as a checklist feature because at the time some government procurement rules required POSIX compatibility. They didn't expect anyone to actually use it and it was so limited that you couldn't really use it for much in practice.
243. wmccullough ◴[] No.11392375[source]
Awful lot of hate in the comments on this one. The arguments are coming off as petty at best. I keep seeing something analogous to:

"Microsoft finally add a temperature control knob to their toaster just like all the others!"

Comment: But it isn't blue, these corporate behemoths don't know what they are doing.

As a user and lover of all the ecosystems, the argument from the non-Microsoft crowd is beginning to appear quite desperate.

244. jessegreathouse ◴[] No.11392407[source]
Last time we heard linux was coming to Windows, what we got was Powershell. I remain cautiously optimistic because Im hoping this doesn't lead to the same disapppointment.
245. simoncion ◴[] No.11392409{5}[source]
> I'm really hoping this allows me to compile LibreOffice on Windows.

Is this not helpful?

https://wiki.documentfoundation.org/Development/BuildingOnWi...

LibreOffice has official Windows builds, so I would expect that they can already build the software on Windows.

replies(1): >>11392954 #
246. tkinom ◴[] No.11392418[source]
Can windows 10

    apt-get install/run most/all the x/gtk base apps

    apt-get build from source those apps.

    ?
If so, I will consider switch.
replies(1): >>11392455 #
247. EastSmith ◴[] No.11392419[source]
Does this means that persistent* command line history will work out of the box on Windows? If this is the case, wow, we waited and waited and waited and it is finally here, thanks Ubuntu!

*persistent: open command line, write something, close command line, open command line, arrow up\down shows last executed command.

And yes, I know persistent command line history can be set via power shell, but it needs to be set (i.e. not working out of the box) and it is not quite the same.

replies(1): >>11393883 #
248. leshow ◴[] No.11392420{4}[source]
why not just stay on linux
249. orf ◴[] No.11392427{4}[source]
And what makes you think they will do the same? Fact is you have no idea, and all signs point to a more open MS that has learned that simply throwing their weight around won't work anymore.
replies(2): >>11392632 #>>11393011 #
250. xienze ◴[] No.11392434{9}[source]
Maybe it's a KDE problem? Other people certainly have been successful. But I guess that's par for the course in Linux -- lots of incompatibilities depending on how your environment is set up. Something like WINE is never gonna get there for running games as well as a VM can. So the options realistically are using a VM or reboot. The VM option is really pretty good all things considered.
replies(1): >>11392503 #
251. jychang ◴[] No.11392436{4}[source]
This isn't really easy to implement for some syscalls in NT, like fork(2) for example.
replies(2): >>11392444 #>>11395586 #
252. ape4 ◴[] No.11392441{5}[source]
Its details like this that will make or break this.
253. blinkingled ◴[] No.11392444{5}[source]
Yeah, it was a MS Research project that did the work.
254. skrebbel ◴[] No.11392450{3}[source]
Wait, getting node to work on windows is a pita?

I know of no language runtime and ecosystem that has better cross-platform support than Node (hm ok maybe Java also). I develop solely on Windows (I just like it better) and virtually all of NPM just works on my box. Even stuff people never tested elsewhere than on their Macs, it just works. Express, webpack, mocha, phantomjs, it's really quite impressive if you ask me.

replies(3): >>11392664 #>>11393515 #>>11394316 #
255. JorgeGT ◴[] No.11392454{5}[source]
I wonder if these utilities can reach a locally-running X server?
replies(1): >>11394650 #
256. NateDad ◴[] No.11392455{3}[source]
No. No GUI applications (currently, and no announced future support... and I wouldn't bank on them doing it).
replies(7): >>11392517 #>>11392570 #>>11392716 #>>11392718 #>>11392848 #>>11394041 #>>11412719 #
257. NateDad ◴[] No.11392457{4}[source]
yuuup
258. poofyleek ◴[] No.11392464{3}[source]
I'm guessing you are right. The usual problems with /mnt/c. I was wondering about rootfs being per user as well. On a server that may be a problem, but perhaps not on a laptop. It sounds like this is not meant to be the basis for production level deployments, but useful for development.
259. hughw ◴[] No.11392474{3}[source]
They could call it ENIW.
260. ◴[] No.11392476[source]
261. sabelo ◴[] No.11392494[source]
Embrace, extend and extinguish. See https://en.wikipedia.org/wiki/Embrace,_extend_and_extinguish
replies(2): >>11392541 #>>11392846 #
262. kuschku ◴[] No.11392503{10}[source]
That issue was with the VM in unified mode.

With WINE, everything works fine – but not with UPlay.

So I can run the game, via UPlay in the VM (but not unified mode), or I can pirate it and run it in WINE.

But unified mode, or paid in WINE, doesn’t work.

263. ramy_d ◴[] No.11392517{4}[source]
vim?
replies(6): >>11392580 #>>11392631 #>>11393474 #>>11394131 #>>11395283 #>>11395301 #
264. noelsusman ◴[] No.11392525{4}[source]
It kinda makes me regret my MBP purchase last fall. I really wanted a Surface Pro but I couldn't deal with developing on Windows.
replies(3): >>11392635 #>>11393052 #>>11393202 #
265. brlewis ◴[] No.11392533{3}[source]
Microsoft wasn't trying very hard to make their Kerberos compatible with MIT Kerberos, at least in the mid '90s. I think you'd still be laughed at, especially since Windows was ubiquitous, Unix was niche, and Linux was a niche within a niche.
266. filtersweeo ◴[] No.11392536[source]
If this has shared home directories, I will literally tongue kiss any Microsoft employee that requests said service.
267. wmccullough ◴[] No.11392541{3}[source]
Please GTFO. It's going to be awfully hard to extinguish all of their major technology When's it's developed in the wild and MIT licensed.
268. LukeShu ◴[] No.11392546{5}[source]
To nitpick: On Linux, glibc implements fork(3) in terms of clone(2). Linux still has an independent fork(2), but nothing uses it.
269. niutech ◴[] No.11392555[source]
How does it differ from CoLinux from 2004? http://www.colinux.org
replies(2): >>11392719 #>>11394315 #
270. webreac ◴[] No.11392570{4}[source]
If ubuntu can run, you just need Xming to have all GUI applications.
271. noelsusman ◴[] No.11392577{5}[source]
I'm not that guy but I followed a similar path. For me, there is no laptop that truly competes with the MBP and runs Linux with no issues (I've never liked Thinkpads). The recent Dell XPS Dev model is the only product that has come close, but before that there was basically nothing.

I always use Linux for desktops., I see no reason not to.

272. Dobbs ◴[] No.11392578{5}[source]
Not the OP, but for me at least I did. And it was unstable and didn't work very well. My OSX laptop "just works", that isn't to say it doesn't have issues but the amount of time I spend futzing about because of driver issues, sound issues or wifi issues is drastically reduced.
273. 15155 ◴[] No.11392580{5}[source]
Presumably, as it's not a GUI application. Not gvim though.
274. joeyh ◴[] No.11392586[source]
https://www.devever.net/~hl/windowsdefeat seems very relevant.

Question to my mind is, are they going to manage to limit this to development and advanced users, or will whole applications that target windows start depending on the linux emulation to work?

replies(1): >>11395813 #
275. insulanian ◴[] No.11392601{3}[source]
Oh yes... That's one of the reasons I switched to OSX.
replies(1): >>11393522 #
276. bensummers ◴[] No.11392609[source]
https://en.wikipedia.org/wiki/Embrace,_extend_and_extinguish
277. noelsusman ◴[] No.11392618[source]
I'm fairly certain you can just reinstall Windows 10 and not have to deal with any licensing shenanigans. I'm no expert but I think it's baked into the machine itself these days.
278. centrinoblue ◴[] No.11392619{5}[source]
as someone with a similar history (front-end dev) I switched from Windows to linux after XP and then on to OSX in order to develop for iOS apps.

I would never go back to windows but would happily move back to linux if I had to

EDIT: I should note I didn't expect to like my Macbook air so much (fantastic machine)

279. uxp ◴[] No.11392621{5}[source]
I'm not who you asked, but because I like to spend my day debugging my terrible code, not my desktop.

Before you ask, yes I do have a Linux laptop (Acer C720P ChromeBook, unlocked with Debian + Gnome), and with all the sudden issues that pop out of seemingly nowhere (my latest dragon is a recurrent kernel module crash that can fill my disk up with .core files in 10 minutes), I've switched back to a 13" rMBP. Though, I have heard that 2016 is going to be the year of the Linux Desktop...

replies(1): >>11398000 #
280. daigoba66 ◴[] No.11392622[source]
I bet this is also a step towards having a proper SSH server running on Windows.
281. paradite ◴[] No.11392631{5}[source]
It's in the list given by author:

apt, ssh, rsync, find, grep, awk, sed, sort, xargs, md5sum, gpg, curl, wget, apache, mysql, python, perl, ruby, php, gcc, tar, vim, emacs, diff, patch...

replies(1): >>11395331 #
282. Grishnakh ◴[] No.11392632{5}[source]
>And what makes you think they will do the same?

Decades of history, and their own self-interest.

>Fact is you have no idea

Sure I do. They've acted this way for decades, under various different management. To think they're suddenly going to become some nice, ethical company is sheer lunacy.

>and all signs point to a more open MS that has learned that simply throwing their weight around won't work anymore.

What signs? I haven't seen any. They've done stuff just like this before, and it always turned out badly.

283. skywhopper ◴[] No.11392635{5}[source]
Windows runs great on Macs!
replies(1): >>11392667 #
284. abiox ◴[] No.11392636{5}[source]
E37: No write since last change (add ! to override)
replies(1): >>11392828 #
285. captainmuon ◴[] No.11392642{5}[source]
I'm also not him, but I switched to OS X for a while, too. I couldn't afford a MacBook, so I actually ran a Hackintosh.

The reasons were 1) it ran the unixy stuff I needed for university AND modern games at the same time, and 2) it was boring and conservative. In a time where Linux and Windows were changing and breaking (Windows 8, Gnome 3, ...) it was nice to use something stable, well-tested, and polished.

286. PaulHoule ◴[] No.11392643[source]
It's official... cygwin is dead.
replies(1): >>11392712 #
287. insulanian ◴[] No.11392647[source]
I highly recommend it! It's making my life easier in the office.
288. NateDad ◴[] No.11392648{5}[source]
I'm pretty sure I saw something in one of the articles that mentions they explicitly use the extended \\?\ form of paths, which gets around the 255 character path limit.
replies(1): >>11397576 #
289. wtallis ◴[] No.11392651{5}[source]
Because OS X has historically been vastly better than Linux at all the non-server stuff, and comes pre-installed on the good laptops. The gap is a lot smaller than it used to be, but Apple is still the easiest choice for desktop/laptop Unix.
290. itsananderson ◴[] No.11392664{4}[source]
99% of the painful Node stuff on Windows comes down to native packages. To even compile, you have to install Visual Studio. Then you have to hope the module developer has a build definition that even works for Windows.
replies(1): >>11395824 #
291. noelsusman ◴[] No.11392667{6}[source]
I wish. On newer models there's a kernel issue that prevents proper suspend and shutdown, which is a dealbreaker for a laptop. I have yet to find a workaround.

https://bugzilla.kernel.org/show_bug.cgi?id=101681

https://bugzilla.kernel.org/show_bug.cgi?id=103211

replies(1): >>11394246 #
292. stcredzero ◴[] No.11392670{8}[source]
As another posted pointed out, if you just want to bring up a VM for gaming, who cares?

Apple needs to do a utility that supports this as smoothly as Bootcamp supports multiple boot.

293. cturner ◴[] No.11392672{4}[source]
Non-trivial audio is still difficult to do cross-platform. You can load songs in SDL, but it's not suitable for writing something like a tracker. There's a library coming through libsoundio that looks promising for cross-platform, but it's still early days - I haven't been able to get it to compile yet.
replies(1): >>11392730 #
294. insulanian ◴[] No.11392675[source]
I think that was removed in Win8.
295. hythloday ◴[] No.11392682{4}[source]
That's also the definition of "getting better".
296. NateDad ◴[] No.11392695{6}[source]
I have the XPS 15. It is almost identical to a Macbook Pro. Build quality is really awesome. Super super happy with it. The new one with the infinity edge screen is super friggin' sexy, and will absolutely be my next computer. I know a bunch of other devs on the XPS 15 as well, also very happy (we run Ubuntu, but I'm sure it's even better in Windows).
replies(1): >>11395024 #
297. anthk ◴[] No.11392706[source]
kill -9 STOP kill -9 CONT
298. quotemstr ◴[] No.11392712[source]
Not even close. Maybe when I can call CreateWindow from a POSIX process.
299. anthk ◴[] No.11392716{4}[source]
If GUI applications run X, any X server on ayn architecture which supports the X11 protocol will work.

Check out XMing.

300. Delmania ◴[] No.11392717{4}[source]
>Yea, I think they are going after developers who use OS X because it is UNIXy

It's a bit more than UNIXy, (the proper term is Unix-like), it literally is UNIX. It meets the UNIX 03 specifications.

Also, the motivations for these move predate the rise in popularity of Apple. For years, one of the biggest complaints about Windows was the lack of a good command line interface. There was the legacy CMD.EXE, which provided support for DOS commands and batch files, and PowerShell, which people either love or hate. The reality, however, is that overwhelmingly, the combination of bash/zsh and coreutils, binutils, util-linux, etc. won out a long time ago. Most schools use a flavor of Linux (maybe Solaris) for teaching Computer Science (and related disciplines), so many people who have formal training are used to those. Those people tend to teach other people to use them, etc.

Some people bemoan the fact that the CLI never evolved past its UNIX origins, but the reality is these tools work just fine. There's never been a reason to evolve them.

http://www.opengroup.org/openbrand/register/brand3612.htm

replies(3): >>11393795 #>>11394663 #>>11395088 #
301. quotemstr ◴[] No.11392719[source]
It isn't. This idea has been tried many, many times before. (Most recently, midipix.) It always fails, because a subsystem-isolated program is too isolated from the rest of the system.
302. mcpherrinm ◴[] No.11392718{4}[source]
Fortunately X11 is "network transparent" and there's X11 servers for windows. It shouldn't actually be that hard to make this work (though the perf will probably be pretty bad in a naive implementation).

At very worst you could SSH to localhost and X11-forward to the same host -- but you can optimize that.

replies(3): >>11392743 #>>11392964 #>>11394373 #
303. anthk ◴[] No.11392730{5}[source]
OpenAL.
replies(1): >>11397192 #
304. nocdib ◴[] No.11392739[source]
FINALLY, a successor to Wubi!
305. anthk ◴[] No.11392743{5}[source]
Nope, XMing works perfectly if you export the display to localhost (the default) and it's really fast, it even has GL support with MESA , with hardware acceleration.
replies(2): >>11395203 #>>11395349 #
306. bluegreyred ◴[] No.11392755[source]
Embrace, extend, extinguish.
307. breakingcups ◴[] No.11392761[source]
Some sysadmins might want to be able to SSH into their servers from Windows without actually having a complete Linux userspace installed.
308. captainmuon ◴[] No.11392769{3}[source]
From the screenshots, it seems there is a full kernel in there - e.g. you have /proc/cpuinfo, and it identifies as Linux 3.4.0.

If they just implemented all Linux syscalls on top of NT, that would replace a Linux kernel. There would be no Linux kernel running on top. But in that case they would also need to emulate stuff like /proc. (This is the "reverse Wine" scenario.)

So I personally think it is either: - There is no new subsystem, this is just a linux.exe running the Linux kernel as a process, like CoLinux does or - There is a new subsystem. One way to do this is to port Linux to a new "architecture", namely the NT HAL. You'd call into the NT native API from the linux kernel, which would mean you'd have to put the headers with the native APIs you use under the GPL.

Armchair kernel development is fun :-)

replies(4): >>11393006 #>>11393062 #>>11393220 #>>11393332 #
309. anthk ◴[] No.11392774[source]
1) You have native EMacs for W32 since forever 2) Run XMing in fullscreen mode 3) Compaile and run i3.
310. BrandonLive ◴[] No.11392791[source]
Regarding the AppX thing... Actually AppX packaged apps (even from the Store in AppContainer) have always had direct filesystem access, but only from their install directory and to/from their AppData directories. It's only access outside those areas which requires use of the picker and/or library capabilities (which both go through a broker process).

They can also of course load DLLs, and there are APIs for moving your app Windows around (with some limitations).

That said, I do not know exactly what they're doing here, and it may be using some new capabilities being added to the system in the rs1 release.

311. nag32 ◴[] No.11392800[source]
Long, detailed demo -> https://channel9.msdn.com/Events/Build/2016/P488
312. jrgifford ◴[] No.11392808[source]
That's my hope with this news...
313. NateDad ◴[] No.11392819[source]
Given that I work on a cross platform application for linux & windows... I'll be interested to see if they try to hide some of the more annoying platform compatibility problems.... like the fact that many linux applications assume you can rename/delete a file while it's still open, and windows won't let you.

Also filesystem ACLs are quite different on linux and windows, it'll be interesting to see exactly how the one maps to the other. What will chown and chmod do?

replies(2): >>11393822 #>>11417773 #
314. jensvdh ◴[] No.11392827{3}[source]
So if I install Node as a Linux binary. Can I access it in Windows "environment" too?

Does that mean I can do "apt-get install nginx" from their new "bash" terminal app? Does that then run under port 80 in Windows? Since no VM is involved.

I'm still a bit confused.

replies(1): >>11394170 #
315. MichaelGG ◴[] No.11392828{6}[source]
ZQ or ZZ
replies(1): >>11393208 #
316. riotdash ◴[] No.11392840{4}[source]
Let's be honest here. Does this change make some developers actually even consider to change their OS X/Linux Desktops to Windows? Yeah it is really cool thing that we can finally use windows cmd like the terminal on unix systems however:

- What about lack of all the Linux/OS X GUI software?

- What about lack of all the UNIX OS features?

- What about all those billions and billions of Windows malware, viruses, adware etc.

- What about all the spying and restrictions that Microsoft has integrated into the Windows? (e.g. cannot block Microsoft spy server in the hosts-file, forced updates etc.)

- What about the fact that OS X and Linux have always been at least decent from developers point of view but Windows has always had problems and then things like Vista and Win8 happen.

- What about the advertisements served to you in the login screen?

- What about all the future shit MS will throw at you?

- Other stuff can't remember now

If and IF this will actually work out well, I would say this finally makes Windows usable for software development however I don't see any reason why anyone would change from UNIX based system to Windows unless they plan to make even bigger changes in the future...( like rewriting whole Windows to be UNIX based for example. :) )

replies(14): >>11392937 #>>11392946 #>>11392993 #>>11392999 #>>11393035 #>>11393151 #>>11393163 #>>11393299 #>>11393392 #>>11393419 #>>11394460 #>>11394665 #>>11394800 #>>11395209 #
317. EdSharkey ◴[] No.11392846{3}[source]
I'm not ruling EEE out, but this move feels more like "staunch the bleeding" to capture more developers and retain the ones they have. I'd love to read a leaked Powerpoint or memo that explains the long-term strategy here.

I think this is a great move by Microsoft to be able to EXEC a competitor's binary files natively. But, I think it risks being an admission that Win32/64 syscalls and Windows file system semantics are a crufty boat anchor holding developers back. To admit that risks inviting more developers to bail on Windows.

replies(1): >>11392997 #
318. baq ◴[] No.11392848{4}[source]
i recently discovered mobaxterm's awesome automatic x server and x forwarding. suddenly i find myself gvim'ing on my (non-prod) servers. i imagine it'll be similarly easy but better.
319. uxp ◴[] No.11392867{3}[source]
I agree, but as someone who has to "maintain" one of those pos-ported-from-windows-95 apps, the actual source code is long gone so it's nearly impossible to make any meaningful changes to the application. I'd venture a guess that most of these things that would break are in a similar boat.

That said, F-it. If updating to Server 2016 breaks it for good, we might actually prioritize a rewrite within the next two decades.

320. valine ◴[] No.11392905[source]
So does this mean I can compile Swift on widows?
321. AimHere ◴[] No.11392908[source]
It's time that people stopped using the term 'Windows' for this operating system. The Free Software Foundation created the bulk of the userspace, under terms that allow anyone to share, modify and fork the programs, and then Microsoft came along with the one last missing piece of the puzzle - the kernel, and completed the full operating system, which, to be frank, users find completely unusable and worthless without the free software provided by GNU.

The kernel is an important part of the system, sure, but only one among many important parts. We therefore think that, to give full credit to the authors, the whole system should be termed GNU/Windows.

replies(12): >>11392913 #>>11393045 #>>11393084 #>>11393200 #>>11393385 #>>11393429 #>>11393564 #>>11393576 #>>11393782 #>>11393824 #>>11393880 #>>11394049 #
322. fauigerzigerk ◴[] No.11392930{5}[source]
Same history here. I did actually use Linux for quite a while but ultimately gave up because Linux just isn't good at the one job only an operating system can do, which is to make the hardware available in a reliable and efficient manner.

I just got tired of fixing sound issues, trying to make a scanner work or investigating CPU states to fix heat and battery draining issues on yet another laptop. Ultimately, I think, all of this is a result of the unresolved issue of who should write and test device drivers.

It doesn't help that I disagree profoundly with the prevailing package management philosophy of Linux distributions, but that is a comparably superficial problem that can be worked around.

replies(2): >>11393645 #>>11394602 #
323. rahoulb ◴[] No.11392937{5}[source]
For a second machine (maybe a cheap laptop) then yes, I would consider it.

As a side note, Windows NT had a POSIX layer as one of its three main APIs (Along with Win32 and OS/2), so in theory, at least, it should have been easy to port true UNIX apps to it. I have no idea what state the POSIX layer is in now; probably in a similar state to the OS/2 layer.

replies(1): >>11393018 #
324. niutech ◴[] No.11392940[source]
See this screenshot showing uname -a: https://1.bp.blogspot.com/-PTJrez4z0Jc/Vvr-VH5DQOI/AAAAAAAFH...
replies(1): >>11393090 #
325. spicyj ◴[] No.11392946{5}[source]
For me, surprisingly yes. I had no interest in having Windows as my primary machine yesterday but now I would seriously consider it.
326. chris_wot ◴[] No.11392954{6}[source]
It means I need to install Visual Studio. Right now I'm only developing on Mac OS X and Linux. On top of this, every time Microsoft updates Visual Studio, things like firebird tend to break :(

I'd rather use a toolchain I know better. In fact, I'd love to use clang on Windows.

replies(2): >>11393401 #>>11393687 #
327. niutech ◴[] No.11392955[source]
MSYS2 mounts C:\ under /c/ and Cygwin under /cygdrive/c/ so what's the real deal?
replies(1): >>11393176 #
328. criddell ◴[] No.11392956{6}[source]
I have a ThinkPad Yoga and an older ThinkPad T520. Both are pretty awful machines. Plus I really don't trust Lenovo anymore.

If I were buying a Windows machine, the only one I would consider is the Microsoft Surface Book.

replies(1): >>11393646 #
329. julian_1 ◴[] No.11392964{5}[source]
Wayland might be a cleaner api layer to integrate into the windows display subsystems.
replies(1): >>11394529 #
330. pron ◴[] No.11392967{4}[source]
Is that a big market segment, or do they hope that developers who work on Windows would be more likely to write Windows apps?
replies(2): >>11393100 #>>11393107 #
331. EastSmith ◴[] No.11392993{5}[source]
Data point: On Windows when you run 'npm install' on a react boilerplate/starter project chances are 50/50 that it will work out of the box. A year ago it was way worse. I thought heavily on switching to Mac for no other reason but 'npm install' success rate on Windows.
replies(2): >>11395145 #>>11395458 #
332. CamperBob2 ◴[] No.11392997{4}[source]
I'd love to read a leaked Powerpoint or memo that explains the long-term strategy here.

If MS's marketing department has half a brain at all, they will accidentally leak such a memo fairly soon.

333. pookeh ◴[] No.11392999{5}[source]
While I prefer to develop today on OS X...your post is nothing but FUD.

> What about lack of all the Linux/OS X GUI software?

Windows prolly has more GUI applications than both those OSes combined. That's not necessarily a good thing but it's not bad either. It just means there is a Win substitute for everything.

> What about lack of all the UNIX OS features?

Same answer as above.

> What about all those billions and billions of Windows malware, viruses, adware etc.

I download a lot of crap on my home Win computer and haven't had a virus once in the past 6 or 7 years. There are likely more Android viruses active now than Windows.

> What about all the spying and restrictions that Microsoft has integrated into the Windows?

If you don't give permission the action is not taken. Granted I am currently getting spammed to update my home computer from win 7 to 10 but it hasn't force installed on me. Likewise for automatic updates.

> What about the fact that OS X and Linux have always been at least decent from developers point of view but Windows has always had problems and then things like Vista and Win8 happen.

Which is what this new initiative is trying to fix.

Don't get me wrong. I love my osx for dev and my *nix boxes for servers. But if I can get one machine/OS for desktop development of nix and windows without having to run silly emulators or switch between VMs then I'm sold.

replies(4): >>11393136 #>>11393312 #>>11393380 #>>11394437 #
334. jclulow ◴[] No.11393006{4}[source]
Speaking from experience working on the LX brand (the Linux emulation layer for Joyent SmartOS), we would not have gotten very far with our emulation layer if we did not also faithfully emulate quite a lot of /proc. For example:

    $ grep DESC /etc/lsb-release
    DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS"
    $ uname -a
    Linux kappa 3.13.0 BrandZ virtual linux x86_64 x86_64 x86_64 GNU/Linux
    $ wc -l /proc/cpuinfo
    608 /proc/cpuinfo
    $ /native/usr/bin/uname -a
    SunOS kappa 5.11 joyent_20160204T173314Z i86pc i386 i86pc
335. eip ◴[] No.11393010[source]
http://i.imgur.com/y6clspP.jpg
336. dohboy ◴[] No.11393011{5}[source]
You clearly don't work with Microsoft on a daily basis in a enterprise setup... I'll fill you in. The new lock-in is Office 365 with Intune/SCCM and Azure. We are in the extinct phase of having better management options in Intune for Office and surrounding technologies and enterprise IT will see this as an advantage over choosing another MDM/MAM vendor. Step one done for still controlling productivity apps and device management. Now it's getting developer mindshare and focus back on the Windows ecosystem. Pretty easy in enterprise as we just did a lock-in with Office 365/Intune. They still throw their weight around and their key/technical account managers must have missed the memo saying to be more open for other vendors/partners. So they may look nice but don't make the mistake of thinking there isn't a plan behind.
337. 13of40 ◴[] No.11393018{6}[source]
The POSIX subsystem was removed some time around Server 2003. They replaced it with Unix Services for Windows, which was based on an acquired technology, but that's no longer available as of Windows 10. After laying fallow for so long, I really doubt they used the old multi-subsystem architecture to implement this new stuff. Could be wrong, though.
replies(1): >>11393171 #
338. emmelaich ◴[] No.11393028{3}[source]
Not necessary; just download the iso. Well, the iso maker on another Windows machine.
339. pessimizer ◴[] No.11393035{5}[source]
I still can't believe so many developers switched to Macs after that ad campaign they ran. At this point, I wouldn't be surprised if eventually 'GNU/Linux/Windows' ultimately ended up with a majority share of developer desktops.
replies(3): >>11393094 #>>11393303 #>>11395341 #
340. 13of40 ◴[] No.11393045[source]
OK, that deserved an upvote.

http://www.gnu.org/gnu/linux-and-gnu.en.html

341. bduerst ◴[] No.11393052{5}[source]
Couldn't you just boot linux on the surface?
replies(2): >>11393864 #>>11393916 #
342. xorblurb ◴[] No.11393062{4}[source]
There is no need to use actual Linux code to implement its interface, so no GPL'ing of NT, and implementing /proc is not a big deal compared to other things.

And this seems to be implemented as an NT subsystem, which makes tons of sense.

343. jc4p ◴[] No.11393065{3}[source]
I know it's just an example, but both of the games you mentioned have had Mac versions for a very long time, if not initial release.
replies(1): >>11393289 #
344. drewg123 ◴[] No.11393090{3}[source]
Seems less honest than the Linux env on FreeBSD, which at least puts FreeBSD in there for uname -a. Eg:

% uname -srm FreeBSD 10.3-RELEASE amd64 % /compat/linux/bin/bash bash-4.1$ /bin/uname -srm Linux 2.6.32 i686 bash-4.1$ /bin/uname -a Linux viserion 2.6.32 FreeBSD 10.3-RELEASE #0 4b75b72(releng/10.3): Fri Mar 25 19:14:5 i686 i686 i386 GNU/Linux bash-4.1$ cat /proc/cpuinfo | grep 'model name' | head -1 model name : Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz

345. Gmo ◴[] No.11393091[source]
http://gnuwin32.sourceforge.net/packages/grep.htm
346. EastSmith ◴[] No.11393094{6}[source]
What ad is that?
347. vernie ◴[] No.11393097{3}[source]
What is M$? Is it a cool way to say Microsoft?
replies(1): >>11394138 #
348. partiallypro ◴[] No.11393099[source]
Microsoft is not the same company it was 25 years ago, much less 3 years ago. Microsoft cares about Azure now, and Azure requires GNU/Linux. It just makes sense for Microsoft to do this, and I for one am pretty excited about it.
replies(4): >>11393365 #>>11393848 #>>11396355 #>>11400768 #
349. crudbug ◴[] No.11393100{5}[source]
You are right, the Xamarin acquisition was for this very reason. If you are building iOS & Android, why not Windows App with the same code.
350. swah ◴[] No.11393105{3}[source]
Me too - but why not a Linux VM or a VPS? Its mostly for textual usage, no?

(My own answer is that cheap VPSes are 150ms away from me, and with Virtualbox I had a few problems, always related to Windows file permissions yada yada yada...)

replies(2): >>11393274 #>>11393369 #
351. wesleyy ◴[] No.11393107{5}[source]
Most likely the latter
352. zxcvcxz ◴[] No.11393115[source]
I just see this as a headache for developers.

I don't want or need a Linux ABI, I just want to run a Linux container on Windows (if I have to use windows, which I would prefer not to do).

If node running on windows needs access to a database running on the Linux layer then what happens when things aren't working? They can't possibly make all programs interact in a seamless way.

I'm imagining frankenstein programs that are hacked together with code that only works on this frankenstein OS.

replies(1): >>11393341 #
353. alternize ◴[] No.11393116[source]
in the demo video https://channel9.msdn.com/Events/Build/2016/P488 it's visible at 05:53 that the files all belong to root:root and have mode 777
replies(1): >>11393599 #
354. tropo ◴[] No.11393130{3}[source]
That "big pile of key-value strings pushed onto the stack above the environment" is auxv. You can see it in the binary /proc/*/auxv files. It's generated by the kernel's ELF loader.
replies(1): >>11393470 #
355. patrickaljord ◴[] No.11393133[source]
I guess that fixes bug #1 https://bugs.launchpad.net/bugs/1
replies(2): >>11393932 #>>11395424 #
356. partiallypro ◴[] No.11393135[source]
It will be on every Windows 10 machine, but not Windows 8.1 on the Surface RT, obviously.
357. zxcvcxz ◴[] No.11393144{3}[source]
I believe there will be many hoops to jump through to use this as a development environment too, and the limitations of this ABI will be plenty.
replies(1): >>11393335 #
358. taude ◴[] No.11393151{5}[source]
Many of us, I'd say a majority of Devs work in an environment where you don't really have a choice, other than Windows...
replies(1): >>11394543 #
359. darreld ◴[] No.11393163{5}[source]
Quite a load here.

I switched to Mac for my personal development in 2001 but still used Windows at work. I have found over the last couple years that I have been migrating back to Windows for quite a few things. For me personally, I find the UI in Windows to be more productive and faster. The features Apple has been adding are not things I'm very interested in and I haven't been using my 2009 MBP for much anymore except syncing with my iPhone. A number of Linux VM's are always around for development work and if I can do it all now in Windows, I'm all in.

I've been holding off buying a new laptop and, if this new feature works as advertised I will not be buying Apple.

Haven't had malware in years. Vista and Windows 8? Advertisements? Future shit and other awfulness you can't remember? Yeah those really sound like valid points.

replies(1): >>11393263 #
360. kej ◴[] No.11393171{7}[source]
Pretty sure the new stuff is based on the aborted attempt to get Android apps to run on Windows phones.
361. xorblurb ◴[] No.11393176{3}[source]
By default, but you can tell Cygwin to use /c/ though. Really handy when you switch between the two, and actually makes more sense (what else would be /c/ ?)
362. iamcurious ◴[] No.11393200[source]
You jest, but I agree. I might accept a GNU/Windows machine as a working computer, but I would be a lot more weary of accepting just a Windows machine.
replies(1): >>11393240 #
363. drinchev ◴[] No.11393202{5}[source]
No worries. Me and many others might buy it. I wouldn't regret though. Keep in mind that even /dev/random will not work on Windows 10
replies(1): >>11395353 #
364. nathanyo ◴[] No.11393208{7}[source]
I always use :x
365. zzzcpan ◴[] No.11393220{4}[source]
There is a link to a full demo someone posted here [1].

They don't run the linux kernel at all. That /proc/cpuinfo is a part of a limited subset from what procfs usually offers. They enter their linux compatible "subsystem" via a bash binary, which could probably be any linux elf binary, since they run them unmodified. So, it looks like they actually implemented most of the syscalls with some of them emulating necessary parts of linux environment, like procfs.

[1] https://sec.ch9.ms/ch9/5db6/8ee786b7-9fc5-45bf-94d0-16ea9176...

366. seomint ◴[] No.11393231[source]
"Fire and brimstone coming down from the skies! Rivers and seas boiling! Forty years of darkness! Earthquakes, volcanoes! The dead rising from the grave! Human sacrifice! Dogs and cats living together! Mass hysteria!"
367. stingraycharles ◴[] No.11393240{3}[source]
Would this be possible? How far could anyone (outside of Microsoft) strip down Windows to leave behind just a kernel with a functioning GNU environment (let's say, a shell and file access) ?
replies(4): >>11393349 #>>11393351 #>>11395032 #>>11395082 #
368. whatever_dude ◴[] No.11393243{4}[source]
I've done so in the past, but it becomes cumbersome to manage shared folders. The ability to have everything shared and your driver naturally working under /mnt/ - essentially replacing cmd with bash and its tools - is a big deal for me. Using editing/managing/design tools in Windows build with a build/deploy system in bash, and no middle man... that'd be the day.
replies(1): >>11394707 #
369. JoBrad ◴[] No.11393245{3}[source]
And you can also use forward slashes. I've used them in applications (Java apps, NodeJS apps, etc) and in the command line since at least Windows 7.
replies(1): >>11393833 #
370. ◴[] No.11393249[source]
371. schwap ◴[] No.11393248{7}[source]
> You being extremely lucky doesn't change statistics.

There's nothing lucky about being prudent.

372. zeveb ◴[] No.11393251{4}[source]
> For devs that do heavy Linux work (but have stuck with a Mac OS for GUI/app reasons), is it time to move (back) to Windows?

Why not just use Linux? It has a GUI. It has apps. It does everything a modern desktop or laptop needs to do. It really is great.

replies(3): >>11395194 #>>11400934 #>>11417562 #
373. whatever_dude ◴[] No.11393274{4}[source]
Same. At some point managing permissions and sharing and VMs just becomes a pain. If I can just drop to bash and access my file system... that's all I need/want.
374. jupiter2 ◴[] No.11393276[source]
Thank you for mentioning this! Really bothered by all the positive comments, especially coming from savvy HN users.

Gave this a long look and my main beef is that I couldn't possibly do anything on a Windows Machine in its' current state. Linux isn't just about running apps - there's a philosophy behind the system. Users first!

As long as Microsoft continues to disrespect the rights of users in regard to privacy, data-collection, data-sharing with unnamed sources, tracking, uncontrollable OS operations (updates, etc) - I will never go near it.

I find it especially offensive that ex-open source and ex-Linux users (working for Microsoft) have the audacity to come on here and try to sell this as a 'Linux on Windows' system when most of what makes Linux special (respect for the user) has been stripped away.

It's like giving a man who is dying of thirst sea water.

Most comments here appear to be positive and that's fine... whatever. To anyone reading this... please don't sell your souls and the future of software technology for ease of use and abusive business practices. /rant

replies(12): >>11393673 #>>11394336 #>>11394793 #>>11395513 #>>11395542 #>>11395567 #>>11395867 #>>11395890 #>>11395916 #>>11396065 #>>11397006 #>>11405934 #
375. Bjartr ◴[] No.11393285[source]
Reminds me of andLinux[1]

[1] http://www.andlinux.org/

376. thescriptkiddie ◴[] No.11393289{4}[source]
Adding on to this, Counter-Strike (1.6, Source, and CSGO) runs natively on Linux, and Diablo II runs absolutely perfectly under WINE.
377. schappim ◴[] No.11393299{5}[source]
I'm now seriously considering the change or at least adding this to my line up.
378. sebular ◴[] No.11393303{6}[source]
Out of curiosity, which ad campaign are you talking about?

As for which OS (Win/Mac/nix) controls the majority share of developer desktops, I feel like it's always going to depend on what you're developing, so talking about the overall "biggest slice of the pie" for developers is less meaningful than talking about who has the biggest slice in the consumer space.

For example, a backend web developer might look at this "Winbuntu" thing and suddenly be attracted to the idea that they could trade their Mac in for a PC that lets them do all the UNIXy stuff they need for their job, but at the end of the day lets them play the latest PC games...

...unless SteamOS continues to grow in popularity, in which case Microsoft loses share because a Linux-based laptop suddenly seems like the best choice for a gamer-developer.

On the other hand, if we're talking about a company handing work laptops out to employees, frontend developer-designers are likely to continue preferring (requiring, really) Macs for a long time to come, and that likely means that it makes more sense to keep a common platform and hand Macs out to everyone, since so many server devs are already well-accustomed to using Macs. And though Windows might eventually become attractive enough to professional designers, Linux is deeply neglected in the design-oriented space.

But that's all just web development, which has much more fluidity than other types of development. Game developers will continue to develop on the platforms that they intend to support (or Windows for consoles, at least for the time being). iOS developers will continue to develop on Macs. Mac developers will develop on Macs, Windows developers will develop on Windows, and Linux developers will develop on Linux. I'm barely an Android developer, but it seems to be slightly more natural to work on a Mac or Linux machine, and yet "Winbuntu" would likely remove that advantage.

I agree that with Windows embracing Linux so deeply like this, it certainly opens the door for a lot of people to make the switch-- personally, I bought a Surface Book because I was excited by the hardware, but quickly returned it once I realized how unhappy I was without native access to a terminal. If Ubuntu continues to flourish as a fully-fledged aspect of Windows, I might consider buying the Surface Book 2.

But my personal anecdote also illustrates the greater point-- this opens the door, but it doesn't push anyone through it. I was tempted away from Apple because they've stopped innovating on their laptops. In order for developers to switch to Windows, they'll have to be tempted for their own reasons. And old habits do die hard.

replies(2): >>11393516 #>>11395503 #
379. justin66 ◴[] No.11393312{6}[source]
> Windows prolly has more GUI applications than both those OSes combined.

Some perspective is needed here. Windows has more GUI applications than both those OSes combined and multiplied by some large number. A windows PC can run every Windows application made in the last twenty years, with some exceptions, and it's an infinitely larger market for commercial software.

380. mmagin ◴[] No.11393327[source]
First they ignore you, then they laugh at you, then they fight you, then err... Microsoft doing lots of Linux stuff to remain relevant.
381. icc97 ◴[] No.11393328[source]
I know what is being proposed is a whole lot more, but the GNU command line tools that come with msys git are pretty extensive.

The example commands from the article are all available with the git distribution:

> cp -a

> find | xargs | rename

> grep | xargs | sed

You can do all that - plus ssh (with ssh-agent) from the DOS prompt (you don't need PS, PuTTY or git bash).

There's vim too that comes with syntax highlighting, for which there's solarized dark/light colour palettes for the DOS prompt [1], as well as decent enough consolas fonts that you can use.

You can do an `ls *.exe` in the C:\Program Files\Git\usr\bin directory to see the list of programs that are there.

Now that Windows 10 has done some 20 year late improvements to the underlying console window [2], you can properly resize the window and the text flows properly.

The only thing I miss are the `history` and `!` commands for which I wrote a hacky bat file implementation of [3].

Edit: Clink [4] appears to be a fully compatible GNU history (Readline) implementation.

Chocolatey is pretty awesome too.

[1]: https://github.com/neilpa/cmd-colors-solarized

[2]: https://technet.microsoft.com/en-us/library/mt427362.aspx

[3]: https://ianchanning.wordpress.com/2014/10/29/dos-command-his...

[4]: http://mridgers.github.io/clink/

replies(1): >>11395222 #
382. teacup50 ◴[] No.11393332{4}[source]
FreeBSD's linux compatibility layer does exactly this; it reports as "Linux", there's a linprocfs implementation that provides a Linux /proc, etc.

It's a lot easier to emulate syscalls than it is to do something like CoLinux. Additionally, I can't imagine Microsoft would EVER let GPL'd Linux code into their kernel.

383. matt_wulfeck ◴[] No.11393335{4}[source]
The thing I'm wondering is how it will handle launching daemons. It doesn't look like there's systemd or upstart integration, and without something like screen it quickly becomes a hot mess.
replies(1): >>11416376 #
384. homulilly ◴[] No.11393340[source]
Is this still going to be using the absolutely dreadfull conhost? Because that's the biggest shortcoming windows currently has with its interactive command line tools, cmd.exe and powershell are both usable, not great (okay, pretty bad honestly, but usable) when you don't consider the shitty terminal they force you into using.
replies(3): >>11393362 #>>11393483 #>>11417401 #
385. xorblurb ◴[] No.11393341{3}[source]
If you want a Linux container on Windows (which they do not seem to propose right away, but it seems a logical step), you need a Linux ABI.
386. lmm ◴[] No.11393349{4}[source]
I ran bb4win as my window manager for a while. You can get a full suite of userspace applications e.g. KDE for windows. If you're too much of a purist to use cygwin you can (or could until recently) build everything against SUA and then you just need to run a windows X server, but at that point you're still running explorer as the graphical shell/window manager.
387. 794CD01 ◴[] No.11393351{4}[source]
Since 2008R2, Windows has had a Server Core version that is trying to move closer and closer to that goal.
replies(1): >>11393661 #
388. snhkicker ◴[] No.11393353[source]
I hear you they think its a good thing everyone i know says now no need to stay on linux i'm switching to windows 10 at least my colleages are doing so now
389. zeveb ◴[] No.11393355{6}[source]
> Just out of curiosity, what does a Linux desktop offer that's not also natively offered in Mac and also highly polished?

A GNU userland. A plethora of tiling window managers. A selection of clean terminals. Every single thing Debian's or Arch's repos offer which one must turn to brew for.

And of course there's freedom too, which is nice.

> Every year I try a switch to Linux desktop. This year I made it as far as trying to get multiple monitors working well.

I've got multiple monitors running on Linux, over HDMI, at home & at work, at differing resolutions & orientations. I use arandr-configured xrandr scripts which set my desired orientation with a quick keystroke in my window manager. What more does one need?

replies(1): >>11393729 #
390. new_hackers ◴[] No.11393359[source]
what these guys said, also when you consider that automating tasks for both your WinRM-able and SSH-able machines would be very easy. Does bash support WinRM or WMI as well as PowerShell?
391. jwildeboer ◴[] No.11393361[source]
TL;DR if you don't support the Linux API/ABI you are out of business. The reality is software defined everything and it's based on Linux.
replies(1): >>11395259 #
392. icc97 ◴[] No.11393362[source]
I agree conhost is terrible - but they have finally made some improvements in Windows 10 [1]:

- Drag-to-resize

- Automatic text reflowing on resize

- Ctrl + X/C/V support for cut/copy/paste

- Selection that does line-wrapping

- Transparency

- A full-screen mode

  [1]: http://futurice.com/blog/a-saner-windows-command-line-part-1
replies(1): >>11393445 #
393. takeda ◴[] No.11393365{3}[source]
Well... back in the day Microsoft also was the company everyone was rooting for that was standing to the evil IBM.

Those who ignore history are bound to repeat it.

replies(1): >>11395475 #
394. matt_wulfeck ◴[] No.11393369{4}[source]
150ms sucks when you're working with multi GB files and packages. Also network security is not ideal.

Nothing beats running and developing on localhost.

395. matt_wulfeck ◴[] No.11393375{3}[source]
I would argue that gnu coreutils is this base. Available on al *Nix OS, including Mac.
replies(1): >>11395239 #
396. peternicky ◴[] No.11393380{6}[source]
Well said my friend! Upvote
397. _vk_ ◴[] No.11393385[source]
What a stupid joke.
398. kbenson ◴[] No.11393392{5}[source]
If I was still stuck using an OS X box, I would definitely switch. If I was using Linux, I wouldn't. I've been forced into developing using Windows for the last few years, and for my use case (SSH to remote server to develop there), it's not that bad. There are some annoyances, but from a usage perspective, Windows 10 is actually really nice. Getting native terminal and SSH[1] support actually handles a bug chunk of my annoyances.

> - What about lack of all the Linux/OS X GUI software?

What about the lack of windows software on those platforms? It goes both ways.

> - What about lack of all the UNIX OS features?

Which features? What about the Windows OS features you do't get on a UNIX OS? Again, it goes both ways.

> - What about all those billions and billions of Windows malware, viruses, adware etc.

There are plenty of windows Viruses and malware, but I will say the most problematic security problems I've had have all been on Linux boxes. I would still count Windows as more problematic overall due to the quantity, but I believe the focus on security from Microsoft in the recent years has paid off, and it's nowhere bad as it used to be. Also, to some degree, the prevalence of malware and viruses are because of the popularity, and the popularity comes with it's own advantages (more supported software). It's a trade-off using a platform where some software you like may not be available (e.g. games).

> - What about the fact that OS X and Linux have always been at least decent from developers point of view but Windows has always had problems and then things like Vista and Win8 happen.

Am I supposed to know what this means? People have been using Windows as a development platform for a long time. Those that want to use Visual Studio still do. Windows Vista was crap, but I didn't find Windows 8 bad at all. Around Windows 7 is when it started actually being viable for me to run, and I think it's gotten consistently better over time. The biggest problem I know of that people had with Windows 8 is the start menu change, which to be honest is a really small thing, people just didn't like it and it was front and center.

- What about the advertisements served to you in the login screen?

I haven't seen any.

> - What about all the future shit MS will throw at you?

I'm not sure how this puts Windows in any different light than OS X.

> - Other stuff can't remember now

Seriously?

> - What about all the spying and restrictions that Microsoft has integrated into the Windows? (e.g. cannot block Microsoft spy server in the hosts-file, forced updates etc.)

This is valid, and would be my number one reason for not running Windows at this point if other considerations didn't outweigh it for me.

1: https://github.com/PowerShell/Win32-OpenSSH

replies(2): >>11394054 #>>11394177 #
399. voltagex_ ◴[] No.11393401{7}[source]
The latest Visual Studios support clang.
400. osweiller ◴[] No.11393408[source]
HN had a huge influx of developers who predominately (or only) work on the Microsoft platform, and it has been readily apparent in the stories that rise to the top, and the dominant reactions (e.g. cynical takes are quickly transparent. Exaggerated "this changes everything!" comments rise to the top). This isn't necessarily a bad thing, but it does heavily slant the coverage and slant of the conversation.

And as you said, there is nothing new in this. The whole "hell freezes over" thing gets a bit old because Microsoft has done this same routine countless times before. When they are the underdog, seeing a fleeing userbase, etc, they pragmatically veer towards open and integrated. When they aren't, they close off and exploit. (see Microsoft's arrogance and hubris as they exalted in their success with the Xbox 360 -- early initiatives like XNA, their unloved community gaming thing...abandoned and left to die -- and now that they're losing with the Xbox One, once again that wonderfully open and accommodating company returns again. People pretend it's new.

Another example I would give is MSN Messenger -- Microsoft did a loud, public campaign, including taking out ads in newspapers, pushing an open messaging platform, interoperations, etc. Microsoft had just started to get into the messenger game, so of course they didn't want to be kept out via the network effect.

Then, of course, MSN gained users (being pushed on users, automatically configured, tends to do that). Microsoft made a complete 180 in approach. Soon they incorporated an expensive licensing program that third party apps had to use to interoperate with MSN Messenger, endlessly doing technical fixes to block third party access.

What happened to that gregarious, open and cooperative Microsoft that was taking out ads to implore AOL for blocking access? The situation changed, and suddenly it wasn't in their interest anymore.

replies(2): >>11395374 #>>11395450 #
401. andkenneth ◴[] No.11393415{4}[source]
Hey they might get me off of this. I got a mac because it was the best tool for the job - mainly because native bash is just always sitting there.
402. llomlup ◴[] No.11393419{5}[source]
Although I've been a primarily C# dev for years, I gradually moved to Ubuntu, and then to OSX, all because of the better terminal/s. I like Macs, but OSX, its window management system, finder, is really bad. Having bash environment available on Windows is an incredible feat and a reason alone to reconsider Windows again. Hopefully, it won't be limited to W10.
replies(3): >>11393456 #>>11394761 #>>11394990 #
403. kbenson ◴[] No.11393420{7}[source]
You didn't substantiate those points, so there's nothing to really counter.

Seriously, you just asked someone for a counterpoint to "other stuff I can't remember".

404. Udo ◴[] No.11393424[source]
Honestly, this makes me reconsider my future OS choices. I've been an OS X user for a decade now, but getting increasingly dissatisfied with Apple's stance on hardware and software, I have been thinking about moving to Ubuntu for a while now. The problem with that though is the scarcity and quality of commercial software builds on Linux. My biggest pain points are the Unreal Engine and Unity3D IDEs right now, which technically have Linux builds available, but in practice they just don't work.

With the availability of Unix command line tools (and maybe even GUI apps) on Windows, this becomes a very viable platform for me as a developer. I'd still be throwing away most of the software I purchased for OS X, but at least Windows equivalents are available.

If Microsoft is indeed courting programmers again, this is a smart move.

405. bigger_cheese ◴[] No.11393427[source]
If it can run GCC and EMACS I'm pretty happy. At the moment I have to use Msys.

Are Ubuntu's libraries available. Could you theoretically produce a statically linked binary under Windows and then run it natively in 'real' linux

replies(1): >>11394112 #
406. rsp1984 ◴[] No.11393429[source]
I have problems understanding your point here. What was announced was not a new operating system but a translation layer built into Windows 10 that translates Linux system calls to their Windows counterparts.

I also bet many people would disagree with your statement that W10 is unusable and worthless without this feature.

The Windows kernel always existed and has evolved over the years: NT, 2000, XP, Vista, 7, 8, 10. They didn't develop it as the "last missing piece of the puzzle".

replies(2): >>11393433 #>>11393452 #
407. leo_mck ◴[] No.11393431{7}[source]
I absolutely love the fact that windows download and install critical updates automatically for me. I would feel like a slave if I had to do it manually.
replies(1): >>11394143 #
408. yohui ◴[] No.11393433{3}[source]
It's a joke: https://en.wikipedia.org/wiki/GNU/Linux_naming_controversy
replies(1): >>11393443 #
409. rsp1984 ◴[] No.11393443{4}[source]
I smelled it the moment I hit the reply button :)
410. elcct ◴[] No.11393444[source]
That will be really nice. I only use Windows for Music and for development I use virtual machines. I would love to develop things "natively" in Windows.
411. homulilly ◴[] No.11393445{3}[source]
Ctrl+Key shortcuts aren't going to work in bash (at least not without breaking other important stuff) so I'm hoping they decide to make quickedit mode more usable someday.

Unfortunately I still think this is going to be kind of a shitshow as long as they keep the black box nature of conhost. The terminal apps OSX and most linux distros ship with are fairly bare-bones too and I doubt reprogrammable 256-color mode is on microsoft's roadmap.

replies(1): >>11398074 #
412. supertastic ◴[] No.11393449[source]
Even more surprised that no one seems to recall that they did exactly this back in the day. There was a version of the NT4 kernel that could run Unix programs. "Great, the program selection of Unix with the stability of windows!" people sneered, but still there was a market for it.
replies(3): >>11395391 #>>11395693 #>>11396671 #
413. dvdcxn ◴[] No.11393452{3}[source]
He's referencing Stallman's infamous stance on the nomenclature of Linux
replies(1): >>11394009 #
414. Filthy_casual ◴[] No.11393456{6}[source]
Hopefully? Sorry for bursting your bubble but Windows 10 is the ONE way to go, from their perspective.
415. voltagex_ ◴[] No.11393459[source]
Kevin Gallo just announced that there'll be more information live at Build at 4:30pm PDT.

https://channel9.msdn.com/?wt.mc_id=build_hp

416. david-given ◴[] No.11393470{4}[source]
Arrgh! I wish I'd known that six years ago. It'd have made life so much easier. I was trying to figure them out from reading the source code...
417. icc97 ◴[] No.11393474{5}[source]
You can already run vim from the msys git distribution
replies(1): >>11394031 #
418. sveiss ◴[] No.11393483[source]
Hopefully they'll include emulation for ptys, which will make it very easy for you to run your terminal emulator of choice instead of relying on on conhost.

If they're smart, they'll allow a Linux ABI exe to sit on one end of a pty, and Win32/UWP exe on the other, so people can use a native Windows terminal emulator instead of needing Xming or similar.

replies(1): >>11417412 #
419. UK-AL ◴[] No.11393485[source]
They have their own container technology with a docker API.
420. sarthakk ◴[] No.11393497[source]
I am curious to see how Microsoft execute on the implementation of the user model for this: would user accounts used while running bash (or other utilities) correspond to actual Windows accounts (and integrate modes like "Run as administrator" with "sudo" calls from within the shell) or whether accounts for these binaries would exist separately (the demo video linked in one of the comments shows everything running as 'root' but it is a preview after all). I guess we will find out.
421. micahbright ◴[] No.11393505[source]
Of course Mac Users think it's about them - everything is about them.
422. leishulang ◴[] No.11393511[source]
Just like IE finally giving its way to W3C, Windows is finally giving its way to POSIX.
423. hatsix ◴[] No.11393515{4}[source]
Windows Path issues and compiling native code. Between those two things, nearly everything I've ever tried on windows has failed.
424. Rondom ◴[] No.11393516{7}[source]
Probably a recent incident where Microsoft started showing full screen ads on the login screen is meant.

https://news.ycombinator.com/item?id=11167964

replies(1): >>11393998 #
425. ominous ◴[] No.11393521[source]
Ubuntu ate Linux (or GNU/Linux), as it seems, for the mainstream world.

I hate it. I bet Stallman, Ken Thomson, the GNU Project, Bell Labs and many others are crying and laughing at the same time.

We live in a world built upon the previous one, as the previous was already was. Some things we forget, others become lore, folklore, myths, and others are lost... It is similar to Facebook providing Internet. Or Dropbox providing 'rsync'. Maybe one day the common man will rediscover plaintext and the command line interface. And the then hipsters will use it.

Some links:

- find http://doc.cat-v.org/unix/find-history

- grep https://medium.com/@rualthanzauva/grep-was-a-private-command...

- cp https://news.ycombinator.com/item?id=8305283

- wget https://en.wikipedia.org/wiki/Wget#cite_note-13

- AWK was created at Bell Labs in the 1970s, and its name is derived from the family names of its authors – Alfred Aho, Peter Weinberger, and Brian Kernighan. ~ https://en.wikipedia.org/wiki/AWK

- http://www.cryptonomicon.com/beginning.html

BONUS:

- https://wiki.ubuntu.com/DashAsBinSh

426. deagle50 ◴[] No.11393522{4}[source]
no kidding, I have a 4K monitor that looks awesome when hooked up my macbook and terrible when hooked up to my Windows desktop
replies(1): >>11394319 #
427. keeperofdakeys ◴[] No.11393534[source]
They'd laugh, because NT already had posix system calls http://social.technet.microsoft.com/wiki/contents/articles/1...
replies(2): >>11394536 #>>11394700 #
428. derek_kanjus ◴[] No.11393546[source]
What bothers me about people bringing Embrace, Extend, Extinguish is how they never mention how all the big software companies do this. For example, how many nice JavaScript features are in Google Chrome that aren't anywhere close to real standards? But when anyone but Microsoft does it they're just pushing the industry forward, not out to stab you in the back.

Let's not call it Embrace, Extend, Extinguish until we see the Extend & Extinguish. Microsoft is a very different company than it used to be.

replies(5): >>11394864 #>>11394874 #>>11395844 #>>11395880 #>>11396454 #
429. AaronFriel ◴[] No.11393552[source]
It looks like alternize was almost right, at 4:39 you can see that within the Ubuntu (not /mnt) part, default permissions are used. e.g.: `ls -l proc` reveals that much of it is read only.

If the Ubuntu on Windows personality/subsystem gave Linux processes full permissions to /mnt/c, I'd expect that would be a security vulnerability, and I'd assume they are doing some mapping. Unfortunately, in the video they posted I never see them do `ls -l` on `/mnt/c`, only a subdirectory they created.

430. ChuckMcM ◴[] No.11393564[source]
Now they will be on us to call it Gnu/Windows :-) More seriously though I think this is a terrific insight, if something of a challenge for Linux kernel enthusiasts. If I could run Ubuntu (or Kubuntu) as my user land on a kernel where all the manufacturers of every gee whiz device had already signed up to port drivers, I would use that in a heartbeat. My current pain point is trying to run Kubuntu on a nearly current generation Intel NUC, because the Iris graphics drivers aren't really compatible if the system goes to sleep the screens never unblank. If the lock screen comes up, plasma shell crashes and then swaps which screen it thinks is the "primary" screen when it restarts. Basically it is unusable. And things like VMWare player don't believe the host has any sort of 3D support even though Meas and OpenGL are up to date. I would trade the mess for a userland I like and a kernel that just works.
replies(1): >>11393586 #
431. sveiss ◴[] No.11393565[source]
It's mostly a matter of layering. Think of a "subsystem" as a "pluggable system call interface layer". The Win32 layer (mostly) sits on top of the Native layer.

The Native API is mostly implemented by the kernel itself, ntoskrnl.exe, which has a system call table (KiServiceTable). Most of the native API is exposed to userspace via ntdll.dll, which calls through that system call table. This API is available from very early boot.

The Win32 subsystem is mostly exposed by win32k.sys, which is a kernel mode driver. It has a second system call table (W32pServiceTable) which is then consumed by user32.dll and friends. Some parts of the Win32 user-mode API are implemented by calling the Native API via ntdll.dll, though.

Processes which exist in the Win32 subsystem have additional kernel data associated with them (the private state of win32k.sys for that process), had additional win32k.sys code ran during initialization, and can therefore make use of the services of that driver.

If you create a Native process with RtlCreateUserProcess, it won't be able to make Win32 API calls. But it can run in environments where a Win32 process can't -- for example, autochk.exe, which is the version of chkdsk which runs as part of boot before the graphics driver has loaded, is a Native executable.

There's also support in the PE executable format to indicate which subsystem to use, so the loader knows which type of process to create. Obviously, this won't be relevant for running Linux ELF executables.

The layering isn't perfect, especially since while NT was designed to support multiple subsystems (OS/2, Win32, Posix), Win32 is the only one which Microsoft have historically focused on.

replies(1): >>11396746 #
432. snambi ◴[] No.11393568[source]
I have been on Unix(Mac/Linux) atleast for 8 years. A lot of developers are buying mac books these days. At this point, even non-technical people are buying "expensive" mac books. This directly affects microsoft bottomline. Obviously, microsoft cannot port mac utilities into windows to reduce the exodus of developers from windows. The stop-gap solution would be to run all "gnu core-utils" in windows natively, the most important one being apt-get.

I believe at this point microsoft does not have the critical mass to create an app-store. There is not enough momentum. Only Linux, Android and Apple have successful appstores. If microsoft allows debian package manager, it can bring back a lot of developers back to windows. Still there are many companies that still use windows desktops and laptops.

There is potential to evolve this into a microsoft app-store that is compatible with ubuntu. That would be a win-win for microsoft and may potentially boost sales and slow down the decline of their OS.

replies(1): >>11393855 #
433. PeCaN ◴[] No.11393576[source]
Hm, but GNU/Windows still implies usage of many non-free binary blobs bundles as drivers with the OS. I advocate stripping them out and terming it GNU/NT, affectionately referred to as "Gnewt".
replies(1): >>11393614 #
434. janvdberg ◴[] No.11393578[source]
There are roughly two ways to differently phrase what has happened:

1. "A multi-billion dollar corporation with almost an omni presence on the desktop computer was seeing it was missing something that was readily available with other competing solutions, and decided to nitpick the greatest parts of those competitors and incorporate it in their own solution. If you can't beat 'em join 'em strategy."

2."Computing and software is becoming more fluid, and an OS doesn't have clear boundaries as it used to have but it is just made up of whatever the best ideas are, ideas that are expressed by software and thus interconnect via API's and can be glued together to make the best possible solution to fit your needs. And that big multi-billion dollar company wants the best solution."

(If you like that last idea, I have news for you. This is exactly the idea behind GNU/Linux, and it already exists. So you know, instead of being excited and giddy for all this you could just install Ubuntu.)

And this is where the sticky part is. The openness of GPL software makes way for their current Microsoft approach, but it also bites itself in the butt. By using bash in such a way and incorporating this Free and Open software within this closed OS is suffocating the ideas of GPL and diluting its purpose. Because Microsoft is not GPL-ing its own code base (sure, small parts), it's just using the best parts and sticking to its own strategy. It's a smart, clever, and tactically strong move and it will be very successful. But GPL thrives and exists because of other GPL software, and this approach works and creates beautiful things (take how GCC made may for Linux, which made way for a gazillion other tools etc.). There is a viral aspect to the GPL that will be completely cut off. I believe GPL software in a non-GPL environment have a harder time in reaching their potential.

But most people will just look at it from a user perspective and think: 'hey, I get best of both worlds'. But they forget that this software only got this far because of exactly this license. It's a fundamental and integral part of it's success.

Since what's happening was completely unheard throughout the 90's and 00's I don't think both sides would have guessed this would ever happen. But it did. Just like a couple of weeks ago Microsoft decided to create its own Linux version to support SQL server on Linux. So even stranger things might happen and I'm trying to keep an open mind.That being said I really think the nature of software is and should be fluid and so it should be able to be stitched together to create what you need. But this only work really well, if all parts of the 'quilt' follow the same rules.

435. Mafana0 ◴[] No.11393585[source]
Could you name a single company that doesn't follow where the market is and try to monopolises it later?

Plus, Windows is still the leader in the desktop and laptop market until today. They are facing some tough competition but "not leader in given market" is not true.

replies(2): >>11394267 #>>11395418 #
436. willtim ◴[] No.11393586{3}[source]
Completely agree. To add another example, Displayport MST on Linux is completely broken on Skylake and Intel have no plan to fix.
437. recrof ◴[] No.11393599{3}[source]
reminds me of '90 teleshopping videos..
438. vacri ◴[] No.11393614{3}[source]
Going by the official way gnu stuff is supposed to be sounded out, that should be "guh-newt" :)
439. zmmmmm ◴[] No.11393642[source]
The key question is how does the file system integration work. Cygwin has to do all kinds of tricks to make windows file paths and things like PATH and CLASSPATH variables work. Does Ubuntu see Windows files? If so, how? How then does windows see the Ubuntu files? I would also be very curious if Ubuntu executables can fork windows processes and vice versa. The magic of Cygwin is that - with all the caveats and kludges they have to do to make it work, it mostly pulls this stuff off. But they don't achieve in a manner that I would have thought would be acceptable to Microsoft when shipping a product in their own name.
replies(1): >>11396082 #
440. vacri ◴[] No.11393645{6}[source]
> Linux just isn't good at the one job only an operating system can do, which is to make the hardware available in a reliable and efficient manner.

It's not the best desktop environment out there, but apart from desktop, linux is the most popular system at every step from small embedded systems to the most powerful supercomputers. That wouldn't be the case if it couldn't make hardware available in a reliable and efficient manner.

replies(2): >>11395227 #>>11395888 #
441. peternicky ◴[] No.11393646{7}[source]
why don't you trust Lenovo?
replies(2): >>11393846 #>>11393907 #
442. McGlockenshire ◴[] No.11393661{5}[source]
MS is also adding an SSH server to Windows.

If they also add Linux userland support to Windows Server, in the near future you will be able to SSH in and get bash prompt on your Windows infrastructure... natively.

I'm kind of liking the future.

443. antaviana ◴[] No.11393666[source]
Will Linux programs also work on Windows Nano Server?
replies(1): >>11393689 #
444. thegenius2000 ◴[] No.11393673{3}[source]
This is so true I'm loathe to add to it.

I dual boot my laptop b/w Windows and Linux because the WiFi network at my school has issues with Linux...so I'm forced to use Windows, also for games, but it's such a pain. Today it updated forcefully while I was trying to study; I tried to postpone the update but the option was grayed out. The Windows philosophy through and through is to treat users as ignorant and incompetent idiots for whom even the most basic of tasks must be performed, and who cannot make important decisions. This, IMHO, is the epitome of disrespect, and the reason I look forward with great anticipation to the day when I am able to solely operate within computing environments that afford me the same dignity as the cars I drive.

replies(4): >>11395476 #>>11395605 #>>11396525 #>>11397985 #
445. caf ◴[] No.11393680[source]
Is this operating at the libc level, or is it running the Ubuntu glibc package and emulating at the syscall level?

If the latter, it would be interesting to see how things like futex are implemented.

446. jeena ◴[] No.11393684{3}[source]
And OS X, and BSD, and OS2 and AmigaOS and probably one million other OSses.
replies(1): >>11417267 #
447. simoncion ◴[] No.11393687{7}[source]
> It means I need to install Visual Studio.

I mean, sure, but (unless things have changed dramatically in the many years since I was a Windows dev) you don't have to do anything more than install VS. The compilers and nmake can be used without opening the GUI. IIRC, you can feed a VS project file (or -I'm pretty sure- a solution file) to nmake and get the same result you'd get from loading the GUI and pressing build.

replies(2): >>11393725 #>>11394736 #
448. justincormack ◴[] No.11393689[source]
I dont think so, it is the minimal system, Linux emulation is not needed.
449. stantona ◴[] No.11393691[source]
Is this a sign that Windows is moving towards a linux kernel?
450. bigger_cheese ◴[] No.11393718{6}[source]
In my own experience Linux has the following Advantages over OS X these are of course subjective:

Better Desktop environment Better Package Management More Up to date packages

Some of my knowledge of OS X is likely outdated I haven't used it since 2011

I started using Linux when I was at University late 90's early 00's (Mandrake was my first distro). I switched to OS X around 2005 and used it as my primary operating system for about 5 years.

I used OS X because I'd purchased a MacBook Pro (mostly for the hardware) I still think Macbooks are the nicest laptops I've used to this day I went through 3 iterations of Macbooks before I stopped using OS X. I used OS X because it was good enough but I never fell in love with it.

I absolutely hated the desktop environment, silly things like no ability to customise anything, lack of workspaces, having to hit command q to kill application (because the 'x' button wouldn't close them properly) stuff like that. Workspaces came in a later OS X update which addressed some of my gripes.

It was never easy to install third party packages and libraries in OS X. I think this has improved now, when I used OS X it it was a mess (especially compared to the ease of something like apt). The native system packages were always really ancient - old version of GCC, old version of emacs, python etc. Trying to install newer version of these 'default' packages was not straightforward at all I remember having huge issues getting python 3 working.

Nowadays I run Fedora very happy with it. Not compelled at all to switch back. Linux support for modern laptops is a lot better than it was when I first started using Macs.

My current job is in an 'enterprisey' environment I'm forced to use a locked down version of windows here. Almost anything would be better.

451. shiftoutbox ◴[] No.11393720[source]
Wow Microsoft, what's next jails with a manager called Plumber . Zing !
452. chris_wot ◴[] No.11393725{8}[source]
Definitely time for me to get off my backside and install Visual Studio then...
453. matt_wulfeck ◴[] No.11393729{7}[source]
Maybe HDMI is better supported that DisplayPort.
replies(1): >>11393952 #
454. makomk ◴[] No.11393730{3}[source]
Also (c) Windows isn't open source so there are licensing issues with Wine shipping actual Windows DLLs. Some of them do work under Wine but the project aims to replace as many of them as possible with emulated versions.
455. soneil ◴[] No.11393768[source]
I'm failing to see the difference between this, and any other VM?

Is WOW in the cpu identifiers "windows-on-windows", the shim they use for "xp mode"?

If everything's mounted under /mnt(/c..), and the screenshot shows nothing mounted there - Can this run just like a VM without the host fs mounted?

I'd be really curious to see; if linux attempts to access raw block devices in /dev/, what's actually there. in the process list in windows, are all linux processes enumerated.

For now it just looks like a linux VM with the guest fs mounted in the host, and the host fs mounted in the guest.

replies(1): >>11415575 #
456. ageofwant ◴[] No.11393774[source]
I've been waiting for MS to announce MSLinux for the last 5 years. Its hard for me to understand why they just don't roll their own distribution and port their common suits to it.
457. braderhart ◴[] No.11393777[source]
Bryan, huge fan here! I agree and believe this is just a primer to making that happen. I'd personally like to see containers become the default for application deployment and sandboxing on all operating systems:

https://www.linkedin.com/pulse/why-you-should-help-me-create...

Any chance you're planning for a "desktop" version of SmartOS?

replies(1): >>11394772 #
458. IE6 ◴[] No.11393782[source]
But, more recently, I have taken a liking to saying GNU+Windows.
459. ZenoArrow ◴[] No.11393788{6}[source]
What about ConEmu? Works well for me, I especially like the Quake-style dropdown terminal option...

https://github.com/Maximus5/ConEmu

replies(1): >>11394082 #
460. Someone ◴[] No.11393795{5}[source]
"the reality is these tools work just fine. There's never been a reason to evolve them."

On the contrary; there have been many valid reasons to evolve them, but backward compatibility was deemed more important.

Example #1: it is possible to write a sh/csh/bash/?sh script that handles file names with spaces, slashes, quotes, question marks, etc, but one would hope that would be made a bit easier, almost half a century later.

Example #2: the hack that is xargs for handling large numbers of arguments. To write a truly robust script that handles directories with an arbitrary number of files, one should run a pipeline using find and xargs, instructing xargs to do the actual work (and you cannot even use find and xargs with their default settings; you need -print0 and -0 flags to handle file names with spaces, etc)

If programs received arguments unexpanded, and the system had a library for expanding arguments, many use cases would become a lot simpler, and scripts could become more robust.

And yes, that could have been evolved. Headers of executables could easily contain a bit indicating "I'll handle wild-card expansion myself".

Example #3: man pages, IMO, should be stored in a special section inside binaries. That ensures that the man page you read is the man page for the executable you have.

Example #4: http://unix.stackexchange.com/questions/24182/how-to-get-the... shows that things _have_ evolved. Reading and parsing /etc/mtab isn't a reliable way to find all mount points, just as reading /etc/passwd file isn't the way to find password hashes anymore, ar has long been upgraded to support file names longer than 14 characters, and zip knows more file attributes than it used to.

replies(4): >>11394292 #>>11394426 #>>11394848 #>>11395671 #
461. dikaiosune ◴[] No.11393801[source]
Once I can have the Arch/AUR repos in Windows, it will no longer be my year of Linux on the desktop. Watching eagerly, but not sold yet.
462. NateDad ◴[] No.11393822[source]
Oh and environment variables... Will $HOME be defined, for example?
463. phaer ◴[] No.11393824[source]
If history continues with that kind of unexpected turns, we might end up on Microsoft/HURD ;)
464. jhwhite ◴[] No.11393826[source]
My heart skipped a beat when I saw that that ssh is going to be available. And tmux is being worked on!

But will I be able to change shells? Will I be able to put zsh with oh-my-zsh on it?

replies(1): >>11393861 #
465. jcrawfordor ◴[] No.11393833{4}[source]
The forward slash (/) as a directory separator has always been acceptable to NT. One source says that it's been acceptable to DOS since DOS 2.0, although I don't have a lot of backing on that.

The only place that / as a directory separator doesn't work is when interpreted by cmd, as it's then ambiguous with DOS-style switches. And even then, modern cmd tries to understand / properly when possible. Most of the time it works as long as it is not the first character of a path (which you would not frequently see in Windows anyway), as there's then no way to tell it apart from a switch with a long name.

The canonical representation of paths in Windows uses a backslash, but 95% of the time the slashes are interchangeable.

replies(2): >>11393977 #>>11395464 #
466. jjawssd ◴[] No.11393846{8}[source]
bad build quality. also had issues with humming and generally falling apart in subtle ways while macbooks never do.
replies(1): >>11394640 #
467. SXX ◴[] No.11393848{3}[source]
Once Microsoft stop charge users of Linux-based products for their patents or at least stop doing that shady way under NDA I'll believe it's not the same company.

So far they get better in communication with open source community, but their business practices are all the same and Windows 10 only prove it.

replies(2): >>11395609 #>>11401766 #
468. manigandham ◴[] No.11393855[source]
developers != mainstream

App-stores require critical mass of mainstream users which Windows still has more of beyond anyone else. Developers follow the masses, not the other way around.

replies(1): >>11394212 #
469. hatelove85911 ◴[] No.11393860[source]
Best news coming from Microsoft. I had been struggled for a long time for being stuck in the windows OS on my working PC, hope it's going to be mature and stable ASAP
470. icc97 ◴[] No.11393861[source]
ssh is already available natively if you install msys git
replies(1): >>11395059 #
471. adrusi ◴[] No.11393864{6}[source]
Linux driver support for a lot of the surface hardware leaves much to be desired unless it's changed much since the last I looked.
472. rhabarba ◴[] No.11393877[source]
It's been a couple of years since Microsoft stopped developing their Xenix UNIX system and sold it to SCO so they could concentrate on OS/2 and DOS. It's been some years less since Microsoft started providing Unix command-line tools for their professional Windows series which has lately come to a halt too.

After all, there's not that much ground-breaking "news" in this story.

About the technical part:

1. I wish they wouldn't distribute it in cooperation with Canonical, a company with a reputation that is rapidly decreasing for very good reasons. 2. I, for one, would surely have preferred the `ksh` which came with earlier "Unix for Windows" packages, IIRC it was the "MKS ksh", but I guess they had a reason. 3. I'm afraid of what this means for the PowerShell.

473. nv-vn ◴[] No.11393880[source]
I’d just like to interject for a moment. What you’re referring to as GNU/Windows, is in fact, GNU/Windows/NT, or as I’ve recently taken to calling it, GNU plus Windows plus NT. GNU/Windows is not an operating system unto itself, but rather another non-free component of a fully functioning Microsoft system made useful by the NT kernel, shell utilities and vital system components comprising a full OS as defined by POSIX.

Many computer users run a modified version of the NT system every day, without realizing it. Through a peculiar turn of events, the version of NT which is widely used today is often called “GNU/Windows”, and many of its users are not aware that it is basically the NT system, developed by Microsoft's NT team.

There really is a GNU/Windows, and these people are using it, but it is just a part of the system they use. GNU/Windows is the userspace: programs that you run as the user. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. GNU/Windows is normally used in combination with the NT kernel: the whole system is basically GNU with Windows added with NT added, or GNU/Windows/NT. All the so-called “Linux” distributions are really distributions of GNU/Windows/NT.

replies(1): >>11394012 #
474. icc97 ◴[] No.11393883[source]
A Scott Anselman article [1], mentions Clink [2] which appears to be a pretty fully implemented and persistent command line history. Don't know about up / down arrow though.

[1]: http://www.hanselman.com/blog/MakingABetterSomewhatPrettierB...

[2]: http://mridgers.github.io/clink/

475. rhabarba ◴[] No.11393900{3}[source]
As a dev, I don't use the screwed up bash on any system I work on. It just doesn't work.
476. r3bl ◴[] No.11393907{8}[source]
I'm pretty sure that the answer comes down to one word: Superfish.

Although, in my opinion, I wouldn't trust any laptop hardware company out there enough to use the system that came pre-installed with it, but that's for another discussion.

replies(1): >>11394358 #
477. chris11 ◴[] No.11393916{6}[source]
I have a surface 3 and I think it is a really well engineered pc. I'm definitely happy with it. But I think the surface/surface pro line has features most other computers don't have. Such as the pen. And I think MS did do a lot of work designing those around Windows. So I'm just assuming a surface or surface pro would be more functional and better supported running windows. If you really wanted to run linux you probably have better options available to you. But you can technically use linux.
478. rhabarba ◴[] No.11393918[source]
As a Windows and BSD user, I completely switched to the superior ksh.
479. spectaclepiece ◴[] No.11393922[source]
It's like i you had two friends your whole life, you needed one and you really liked the other but they lived in different cities and all of a sudden they move in to the same flat.

I am sure there is a firestorm of opinions in the hundreds of comments below this textbox but frankly I just want to say that this was the best fucking news I have had all year.

480. rhabarba ◴[] No.11393932[source]
Really? Does Ubuntu come without proprietary drivers now?
481. beamatronic ◴[] No.11393937[source]
Is this a cheap ploy by Microsoft to get me to stop fighting that Windows 10 upgrade? If so, it worked!
482. rhabarba ◴[] No.11393942[source]
By the way, for those who are curious: there already have been native (non-msys) Windows versions of Vim, ls etc. for years.
483. jasonjei ◴[] No.11393943[source]
This is totally reminiscent of the Apple integrating the NeXT code base (and inheriting BSD by way of it). If they can integrate Linux as a first-class citizen in Windows, I will totally be sold on Windows as an OS platform.

Can you imagine the day you'd be able to link a library built in Linux with a Windows native app?

484. diyorgasms ◴[] No.11393952{8}[source]
I've got monitors daisy chained using displayport on Debian, in mixed portrait and landscape modes. This is using an NVIDIA card and GNOME. It was plug-and-play.
replies(1): >>11396238 #
485. discordance ◴[] No.11393954[source]
On the plus, Rails won't be such a pain to install on Windows now.
486. quotemstr ◴[] No.11393977{5}[source]
IIRC (it's been a while), the native NT API does _not_ accept backslashes; win32 converts forward slashes to backslashes when passing along filenames to NT. The distinction doesn't matter very much, though, since very few people use the NT native API.
487. hackguru ◴[] No.11393983[source]
What does this mean for PowerShell?
replies(2): >>11394735 #>>11394903 #
488. komali2 ◴[] No.11393998{8}[source]
Odd, I hadn't heard of that until now, and I spend every day in a room with ~20 people all on various windows 10 machines.
489. SOLAR_FIELDS ◴[] No.11394009{4}[source]
I always wondered if Linus' name hadn't been part of the OS name (even though Linus supposedly wasn't the one who decided to call it Linux) whether Stallman would have gone on such a crusade. Probably not.
490. ◴[] No.11394012{3}[source]
491. rhabarba ◴[] No.11394031{6}[source]
There is also a native Vim, compiled with Visual Studio: http://tuxproject.de/projects/vim
492. ldehaan ◴[] No.11394041{4}[source]
not yet, and probably not likely, but if you're interested in running winders on a Linux i have x2go instance for testing and it works quite well. I use an internal gb network though, so your experience will vary.
493. eloff ◴[] No.11394049[source]
How is the top comment a bike-shedding comment? Downvoted because this shouldn't be top - irrespective of whether or not you have a valid point.
replies(1): >>11394077 #
494. chillaxtian ◴[] No.11394054{6}[source]
> What about the lack of windows software on those platforms? It goes both ways.

i miss absolutely zero windows software.

replies(3): >>11394532 #>>11395336 #>>11395896 #
495. israrkhan ◴[] No.11394068[source]
I hope this will make porting Linux application to windows a breeze ( fork, and other syscalls that do not have equivalent windows APIs).
496. newman314 ◴[] No.11394072[source]
I wonder if this means that I can natively ssh into Windows via this method. Anyone know if daemon/services are permitted eg sshd?
497. dcw303 ◴[] No.11394076[source]
This is good news for developers with Macs, and it has nothing to do with an option to switch platforms.

By doing this, Microsoft are legitimising bash as an OS feature for "developers who like unix". This has two effects on Apple:

1. It means they will be less likely to remove their bash CLI from a future OSX / iOS hybrid workstation OS nightmare that we all don't like to think about.

2. They will have to compete with Microsoft for customers who are "developers who like unix". Competition is good for us, the users.

replies(2): >>11395038 #>>11417932 #
498. aoeuasdf1 ◴[] No.11394077{3}[source]
It's humor, not actual bike-shedding. Was that not obvious?
replies(1): >>11395520 #
499. quotemstr ◴[] No.11394082{7}[source]
ConEmu looks nice; it came out after I switched from Windows to Linux, so I've never tried it. I like the idea of hooking the console API functions; before I stopped using Windows, I was working independently on a similar API-hooking system that talked to the Cygwin pty layer instead of to a custom terminal.

With a real pty, you'd be able to use any Windows console program with mintty, sshd, Emacs term-mode, or whatever else you wanted, transparently. I regret not having a chance to finish that work.

500. dang ◴[] No.11394105{6}[source]
This comment breaks the HN guidelines. Please post civilly and substantively, or not at all.

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

501. mdip ◴[] No.11394112[source]
emacs and gcc - Yes - they actually demoed emacs in the keynote and gcc in the later discussion at https://channel9.msdn.com/Events/Build/2016/P488?ocid=player).

So many tools require compiling/building in Cygwin and it'll be quite convenient to just be able to do that without the extra layer.

As for Ubuntu's libraries - Aptitude is there and you can apt-get quite a bit. I believe you could -- in some cases -- static link and run in "real" linux. They were pretty insistent that this is "real Ubuntu" -- basically they've done the reverse of Wine, mapping Linux calls to Win API equivalents, so that might open up the scenario you're thinking about.

502. marshray ◴[] No.11394129{3}[source]
I was watching the stream and I think they said Windows console host will, in fact, directly support VT-100.
503. zodiakzz ◴[] No.11394131{5}[source]
It's already working as shown in the video demo: https://channel9.msdn.com/Events/Build/2016/P488
504. schappim ◴[] No.11394138{4}[source]
Only on Slashdot during the '90s ;-)
505. michaelmrose ◴[] No.11394143{8}[source]
You kind of are a slave aren't you?

After all you can only auto update microsoft and store apps. Other apps will either handle updates themselves probably with an annoying UAC prompt and possibly at inconvenient times when you actually want to use the apps. Some have processes that constantly sit in the background sucking up your resources to pop up annoying prompts to update application foo during which you must watch for them changing your browser preferences and installing adware. Others you will simply have to go to their website and download an exe or msi.

Meanwhile you are missing the fact that people don't want to avoid automatic updates to fix security holes. They want to avoid updating to the next undesirable update foisted on the users before its ready and much to peoples annoyance. Example the windows 8 UI change.

Unbelievably staying on an older still supported platform until you are ready to update is a feature you have to pay money for!

Lest you misunderstand I'm not talking about clinging to windows xp till they claw it from your cold dead hands 3 years after end of life I'm talking about the future equivalent of staying with windows 7 and upgrading to windows 10 because 8 sucks.

replies(2): >>11394827 #>>11395351 #
506. Retra ◴[] No.11394153{5}[source]
In the same boat: I bought an MacBookPro bacause I wanted a nice (new) machine with a decent keyboard/touchpad that didn't force me to purchase Windows. And the keyboard and touchpad on these things are phenomenal.
507. anonymfus ◴[] No.11394170{4}[source]
>Does that then run under port 80 in Windows?

Yes, they demonstrated that localhost is the same localhost under both environments.

508. michaelmrose ◴[] No.11394177{6}[source]
I think the lack of linux gui software was a comment on why a linux user wouldn't find this a compelling reason to switch not a comparison of the software available on each platform.

Personally I think someone interested in graphics/cad/audio production might find something compelling even if alternatives exist on linux for the above. I don't see much in the way of gui softare that anyone would care for as a developer. You can bring up visual studio if you like but I don't find it compelling.

509. jegoodwin3 ◴[] No.11394192[source]
Something similar was available years ago on sourceforge:

https://sourceforge.net/projects/line/

("Line is not an emulator")

Hard to tell from the article, but I'd guess they just made an MS version of what this project does. The "mapping syscalls" sounds like implementing the ABI, similar to how Line did it.

510. anonymfus ◴[] No.11394195{3}[source]
>as well as UTF-8.

UTF-8 was always available as codepage 65001.

replies(1): >>11395633 #
511. yarou ◴[] No.11394209[source]
This is neat. Many moons ago, I remember using Interix and SFU on Windows XP (also tried coLinux and of course Cygwin and mingw as they became available). What I did notice with SFU/Interix is that they were extremely sluggish, when compared to an actual POSIX system. It will be interesting to see the performance of this on Windows 10.
512. schappim ◴[] No.11394212{3}[source]
You say that, but we're the same a--holes who say to our family: "we'll only provide tech support for Apple devices"...
replies(1): >>11399696 #
513. entitycontext ◴[] No.11394231[source]
According to Mike Harsh, a beta version is coming in an insider release "after the Build conference." [1] During an interview Q&A, Kevin Gallo says that it might show up in a week or two. [2]

[1] https://blogs.windows.com/buildingapps/2016/03/30/run-bash-o...

[2] https://channel9.msdn.com/Events/Build/2016/C904

replies(1): >>11394587 #
514. girvo ◴[] No.11394246{7}[source]
What, what? Aren't those Linux kernel bugs? I'm confused what they have to do with running Windows on Mac hardware, though perhaps I'm missing something
replies(1): >>11402126 #
515. awqrre ◴[] No.11394254[source]
Hopefully this will fail and they will switch to GNU Linux and ditch Windows... that would be a long time dream come true.
516. ekianjo ◴[] No.11394255[source]
Yes, I am so surprised to see the wave of folks here on HN jumping in joy about Windows 10 becoming more awesome for them. Oh, so all that time you guys did not care about running on a proprietary platform, even though most folks here actually like and promote Open Source? And that's not just that, it's basically strengthening the bully which uses aggressive patents against other Linux-based businesses, still to this day.
517. ssalazar ◴[] No.11394267{3}[source]
Uh, any company that sells niche or upmarket offerings of commodity products, for one. I.e. Apple, Tesla, a bunch of watch manufacturers.

> Plus, Windows is still the leader in the desktop and laptop market until today. They are facing some tough competition but "not leader in given market" is not true.

Their position in the server world is not nearly so secure, which is quite possibly what this move is meant to address.

replies(3): >>11394829 #>>11394868 #>>11395359 #
518. apricot ◴[] No.11394282[source]
Microsoft is embracing Ubuntu. That's the first step.

https://en.wikipedia.org/wiki/Embrace,_extend_and_extinguish

519. anthk ◴[] No.11394292{6}[source]
1) "" or ''

2) Now paralell is better

3) Never. You should be able to check the man pages even if you can't access the binaries.

520. rasz_pl ◴[] No.11394315[source]
its NiH, no GPL baby!11
521. girvo ◴[] No.11394316{4}[source]
node-gyp, though. In my experience, it's the native packages that cause problems, which is honestly to be expected because building a native library for Node to bind to in a cross-platform way is always going to be somewhat painful.
522. randyrand ◴[] No.11394319{5}[source]
Win10 on my dual 4ks looks great. What issues do you have?
replies(1): >>11394809 #
523. technomancy ◴[] No.11394336{3}[source]
> I find it especially offensive that ex-open source and ex-Linux users

The thing is, from an "open source" perspective, what they're doing is great and totally legit. From a free software perspective, it has a lot of potential to be suspicious and troubling. If all you care about is "the best technology; yay" rather than user freedoms, your concerns are moot.

replies(2): >>11395346 #>>11395739 #
524. andersen1488 ◴[] No.11394345{4}[source]
This was my first thought as well. Windows 10 is starting to look like a serious option to me now.
525. tomc1985 ◴[] No.11394346[source]
Embrace, extend, extinguish...
526. davesque ◴[] No.11394355[source]
Looks like, if a posix system is detected at compile time, it will return whatever it gets from the `uname` system call in `sys/utsname.h`:

https://github.com/nodejs/node/blob/master/src/node_os.cc#L5...

Microsoft probably hard-codes a response of "Linux" (or whatever would be normal for Ubuntu) for that call to prevent Ubuntu binaries from freaking out.

527. criddell ◴[] No.11394358{9}[source]
There has been a string of things, including Superfish.

There was also the Lenovo Solution Center problem. And the Lenovo BIOS shenanigans (or was it the Lenovo Service Engine?).

There have just been too many lapses in judgement at Lenovo. Either their competence is slipping or their ethics are. Either way, I'm done with them for now.

528. ausjke ◴[] No.11394366[source]
Ubuntu desktop can do pretty much all Windows can do these days, not to mention mostly all I need is just a browser now. I spent 364 out of 365 days with a Ubuntu and it works fine(yes the one day left is for Turbotax that needs the Windows).

Maybe the real reason that MS is moving super fast towards open source nowadays is to damage the open source goodies from within after they failed to attack it heads on many years ago? I just don't trust MS and it's hard to change that after so many years' hostile move from its side.

replies(3): >>11394388 #>>11394410 #>>11395001 #
529. ageofwant ◴[] No.11394373{5}[source]
Or you could just use ubuntu...

It amazes me that people will rag on linux because its "hard" and then build these elaborate Rube-Goldberg machines to avoid the most obvious solution.

replies(5): >>11394456 #>>11394513 #>>11394519 #>>11394591 #>>11395584 #
530. davesque ◴[] No.11394374{3}[source]
They're working on it. The rub now is that they can't handle (last I checked) using two monitors with significantly different DPIs. At least, that's how it was with my retina macbook and using an external monitor that was low DPI.
531. superobserver ◴[] No.11394375[source]
So now I will be able to do what I already do on my ChromeOS device with Crouton, but worse.

I admit that gives me a bit of encouragement since I'm shackled to Windows at work, where I really try to make the most of it, but I'm by no means impressed given I already have done the following to get many native GNU/Linux binaries (as one example):

PS > Install-Package gow -Source Chocolatey

Another example: cygwin

The real limiting factor has been muxing terminals while on Windows. And judging by the post, that certainly remains a problem.

If they could successfully bring a full Bash terminal to Windows 10, I would actually be somewhat impressed.

532. andersen1488 ◴[] No.11394378{5}[source]
Linux on the desktop is awful, and anyone who says otherwise is in denial.
replies(3): >>11394486 #>>11395347 #>>11395445 #
533. Fogest ◴[] No.11394388[source]
And what about games? Majority do not work on Ubuntu/Linux.
534. megablast ◴[] No.11394392[source]
I wonder how they are going to work ads into the command line?
replies(2): >>11394415 #>>11395423 #
535. davesque ◴[] No.11394391[source]
Maybe they also had to add ELF binary loading capabilities to the Windows kernel in addition to a system call translation layer.
536. bluejekyll ◴[] No.11394394[source]
Does this imply better POSIX compliance by MS as well?
537. bluejekyll ◴[] No.11394410[source]
> I just don't trust MS and it's hard to change that after so many years' hostile move from its side.

Yeah, same feeling. Given all the lawsuits to monitize patents against Linux, I can't help but think this is some end run to accidentally get people to slip Windows APIs into OpenSource, that would then end up in Linux, and then those lawsuits end up with more teeth.

538. superobserver ◴[] No.11394415{3}[source]
You mean to wonder: how are they going to telemetrify the terminal?
replies(1): >>11397496 #
539. cyphar ◴[] No.11394426{6}[source]
1. A few minutes of testing will tell you how to do it for every shell script you will ever write. If you can't spare a few minutes, Google it.

2. GNU Parallel is actually my choice for this, because xargs has a few known issues. Parallel gets the most right, and I used it a lot in my research to run scripts on lots of data.

3. Hell no. Distributions do this job perfectly fine, and you should be able to read the man pages without having read permissions for the binary (since in UNIX you can have 111 as permissions on a binary).

replies(1): >>11394539 #
540. shostack ◴[] No.11394434[source]
I'm a Win10 user who is learning Ruby and RoR on Ubuntu setup with Virtualbox/Vagrant/Chef with Git Bash as my terminal.

Is there any real benefit to me switching over to this approach aside from what I'm guessing is better performance since it is native and not a VM?

541. cyphar ◴[] No.11394437{6}[source]
> > What about all the spying and restrictions that Microsoft has integrated into the Windows?

> If you don't give permission the action is not taken. Granted I am currently getting spammed to update my home computer from win 7 to 10 but it hasn't force installed on me. Likewise for automatic updates.

Except for the actions that the operating system doesn't tell you about, and you can't be sure about becuase it's proprietary (Windows has at least 3 backdoors and spy features that we know of, and none of them ask for permission). And all of the DRM and related malicious functionality that stops you from doing things you'd obviously want to do with your computer.

542. wvenable ◴[] No.11394446{4}[source]
Well the very first thing I'd do is symlink/junction point that to something like C:\Users\<User>\Linux or even C:\Linux if I feel particularly single-user.
543. davesque ◴[] No.11394455[source]
They should call it Winux :P.
544. moron4hire ◴[] No.11394456{6}[source]
Are those the same people? I don't think those are the same people.
545. nl ◴[] No.11394460{5}[source]
In a totally non scientific survey 2/5 developers here plan to switch from our top of the line MacBooks to Windows 10 if this really works as promised.

We are a Python, Java and Scala shop.

546. randiantech ◴[] No.11394465{4}[source]
This absolutely represents my case. I bought a MBP just because unix-like command line. IF Windows would provide a this feature at that moment (and giving the case this thing work as intended) I mostly probably would bought an XPS laptop.
547. cyphar ◴[] No.11394486{6}[source]
Or maybe they don't need a bunch of proprietary software? I've been running Linux on all of my desktops for the past few years, and I don't find myself wanting anything more. When doing research, working on free software, etc. I don't need anything I can't get on Linux. I don't play games anymore, so that basically removes most of the "Linux on the desktop" issues that people have.
548. brianwawok ◴[] No.11394513{6}[source]
Ubuntu being has hard nothing to do with why I don't use it as a desktop or laptop environment (but in fact I use for every server I touch if at all possible)
549. coldtea ◴[] No.11394519{6}[source]
>It amazes me that people will rag on linux because its "hard" and then build these elaborate Rube-Goldberg machines to avoid the most obvious solution.

It amazes that people don't understand that one's usage patterns might be different, so "just use Ubuntu" wouldn't be applicable (e.g. UNIX savvy guy who appreciates the shells and userland, but nevertheless wants to do Windows .NET development, or work with native and proprietary Windows programs the rest of the time).

replies(1): >>11395113 #
550. brianwawok ◴[] No.11394527{5}[source]
For my desktop.. it does non worky things. For example I Zwift and I Game. Neither work well enough in Linux.

For my laptops... always had linux laptop problems. Sometimes have gotten really close to all the way working.. but then maybe I will find out my battery drains in 2 hours because some power saving feature is broke in my kernel and I cannot be arsed to go fix it, rather just buy a macbook.

Now for this vs macbook.. it depends how next macbook line looks. I need a 32GB ram laptop. If Apple skips that ship again, this will start to look pretty dang appealing.

551. techdragon ◴[] No.11394529{6}[source]
Or we could use X11 right now with one of the several existing X11 display servers that work on Windows :-)
replies(1): >>11395261 #
552. kbenson ◴[] No.11394532{7}[source]
Eh, games are the only thing I missed when I was exclusively Linux. Even that's changing though.
553. ◴[] No.11394536{3}[source]
554. coldtea ◴[] No.11394539{7}[source]
>1. A few minutes of testing will tell you how to do it for every shell script you will ever write. If you can't spare a few minutes, Google it.

No, it actually won't. There are so many tricks and caveats with shell expansions, wildcard handling etc, that regularly old unix hats I know get it wrong (and I've started on Sun OS, probably before half of HN was born).

This is like saying "pointers are nothing, you can learn them in a day" ignoring the obvious fact that the interplay with pointers in a large app is something entirely different than merely understanding indirection, and than even the best kernel/driver/crypto/etc programmers still get pointer related bugs after decades of writing C.

>3. Hell no. Distributions do this job perfectly fine, and you should be able to read the man pages without having read permissions for the binary (since in UNIX you can have 111 as permissions on a binary).

Actually, no, they don't do it at all. One can have 3-4 different versions of a userland program, and never know (unless they explicitly check versions) for which the man page is.

555. bluejekyll ◴[] No.11394543{6}[source]
Every environment I've walked into like this (unless it's Windows app development) this was only because no one tried. I joined a large web shop that was Windows Dev, but Linux deploy.

Never made sense to me. It was driven by IT because of control issues. I introduced Linux (this was 10 years ago) and then slowly ever Dev switched to develop on Linux because it was a better development experience. Unix is by hackers for hackers. IT was forced to incorporate these systems, which wasn't hard.

Now with this change I can see why people might switch back, definitely makes it easier to have Windows IT shop, but still be able to target Linux. Personally, Docker has already started resolving this issue for me, but I can see it helping Windows devotees. MS lost my trust back in 1996, and I honestly don't know what they could do to regain it, but this isn't enough for me.

556. T-A ◴[] No.11394570[source]
Nice chat / Q&A about this here: https://channel9.msdn.com/Events/Build/2016/C906
557. ◴[] No.11394576[source]
558. ◴[] No.11394585[source]
559. jameslk ◴[] No.11394587{3}[source]
This comment should be at the top. It's nice that everyone has an opinion about this announcement, but I just wanted to try it out. Unfortunately it's not as obvious that it hasn't been released yet.
560. eggy ◴[] No.11394591{6}[source]
I have been running dual-boot Windows/Linux forever (Minix before Linux took over ;) ). I have purchased programs - Mathematica, Ableton Live, Clip Studio Paint, etc... that I have on Windows along with VS and .NET/F# stuff. This will make my world so much easier, since I only use Linux for the occasional program I don't want to bother compiling on Windows due to dependencies and long make files. Cygwin and MSYS2 have their issues to make this more enticing to me.
replies(1): >>11395188 #
561. jagtesh ◴[] No.11394598[source]
Flinux was the first thing in my mind when I saw this. Could this be inspired from it? In which case, at least some sort of recognition or attribution would have been great considering the amount of effort Flinux author has put into it.
562. viraptor ◴[] No.11394602{6}[source]
That's anecdata. Of course it can work the other way too. I've got a printer/scanner which "just works" with Linux. On Windows however they need crazy, proprietary driver/application which always lives in the traybar and tries hard to take over native windows settings.
replies(1): >>11395832 #
563. gnaritas ◴[] No.11394638{7}[source]
> Now days all the developer/engineer GUI apps are made OS X first, Linux second and maybe Windows.

That's not even close to true, you're living in a bubble. Windows and windows apps still dominate the world, by a long shot.

564. meddlepal ◴[] No.11394640{9}[source]
Lots of cheap plastic. I don't love Apple products but the build quality of their products makes PC vendor laptops and desktops look really bad.
replies(1): >>11395651 #
565. jdub ◴[] No.11394650{6}[source]
If nothing else, based on the capabilities demonstrated so far, you should (theoretically) be able to run local Linux X client apps to a Windows X server over localhost TCP. You'll miss out on a few optimisations available when using shared memory, but not much.
replies(1): >>11396154 #
566. PhasmaFelis ◴[] No.11394663{5}[source]
> Some people bemoan the fact that the CLI never evolved past its UNIX origins, but the reality is these tools work just fine. There's never been a reason to evolve them.

This seems like a prime example of the "Anything I am good at using is objectively easy to use" fallacy that's common to programmers.

567. eggy ◴[] No.11394665{5}[source]
I have been running Windows, Mac OS, Linux (Minix at one point and other variants), for over 20 years. They each have their strengths and weaknesses. Linux is the go to language for servers right now. I have made most of my machines dual-boot, Linux/Windows. I have given up on OS X's walled garden, and it is not as nimble as it once was. For me, the dependency hell, and trying to build an app I want to use that breaks another on Linux can eat a lot of time, and takes a lot of Googling to maybe get it working. Granted this is for possibly the type of programs I am targeting: livecoding environments like Extempore, Tidal; machine learning and CUDA/OpenCL versions and dependencies, etc... Being a problem solver, sometimes this is fun, but when trying to produce work, it can be a big time waster. I think most Linux users are tinkerers whereas there are some technically naive people who are very productive on Windows. Personally, I use programs like Clip Studio Paint on my Windows Sony tablet PC, and it is only available on Windows and Mac. For programs like these there are no acceptable Linux variations. I tried to work with GIMP for years, even writing my own scripts in it. For the present I will stick with my dual-boot machines, probably welcome this new edition to Windows, and keep hoping a new OS or variant comes along that is truly innovative. To me Linux won the contest years ago, but is not a big ball of mud. Here's to a Lisp Machine, or Forth OS, or Urbit-like system coming online. More time to waste and have fun; Linux is so 2000s!
568. rajahafify ◴[] No.11394680[source]
Can unix fork() be used?
569. omarforgotpwd ◴[] No.11394700{3}[source]
POSIX calls, which have always been there but require a recompiled binary, are different than the binary compatibility announced today. This additional step is actually quite an impressive feat of software engineering. To think that Microsoft would care so much about maintaining compatibility would have seemed ridiculous just a few years ago.
replies(1): >>11395104 #
570. Scarbutt ◴[] No.11394707{5}[source]
You don't use shared folders with your linux VM, you ssh to it, and use tmux/(vim|emacs) ;)
571. Sanddancer ◴[] No.11394735[source]
Nada. This is an addition to PowerShell, like Services For Unix was back in the day. Different use cases and there are a lot of things from both ends that don't map to the other.
572. yuubi ◴[] No.11394736{8}[source]
Confirming you can feed a .sln file to msbuild (I did it the other day), no idea about whether nmake accepts them. Source: https://www.wireshark.org/docs/wsdg_html_chunked/ChSetupWin3... .
replies(1): >>11394851 #
573. emmelaich ◴[] No.11394741[source]
Fantastic! Curious to know how tight it is tied to Ubuntu. Presumably very little or none. Also, would it require Windows 10 Pro? I suspect so.
574. indiv0 ◴[] No.11394752[source]
Great! I've been waiting for the day I can `rm -rf system32`.
575. intrasight ◴[] No.11394761{6}[source]
If you are moving back to Windows, then you are moving forward to Windows 10
576. bcantrill ◴[] No.11394772{3}[source]
We're not -- but that's not to say we wouldn't encourage it! Bluntly, for us it's a driver issue: things like WiFi NICs are infamously varied and buggy, and we have our hands full (just) supporting modern server hardware. But don't let that stop you!
577. alwaysdownvoted ◴[] No.11394779{5}[source]
I still use SUA every day when I'm forced to use Windows. (I also run Linux binaries on BSD.)

SUA is based on an old version of BSD, not GNU. tcsh, csh and sh. The compiler works. There is an old version of lex. For some of the userland, Windows binaries are provided, such as vi. It's better than nothing.

Why did MS remove SUA from Windows 10? What harm would it do to remain an optional add-in as it was in Windows 7?

Why do users have to upgrade to Windows 10 to use Linux binaries? Seems like Microsoft will do _anything_ to get users to upgrade. What are the privacy implications of Windows 10? Microsoft is very untrustworthy.

Will users be able to run their own Linux binaries on Windows?

Windows has never been a "pleasant experience". It's the unpleasantness of it that makes the alternative, UNIX, so appealing.

replies(2): >>11396094 #>>11418162 #
578. city41 ◴[] No.11394793{3}[source]
I think a key point that is being missed here is most of the people excited about this probably run OSX, not Linux. OSX has long been the "'Linux' for people who don't really want to run Linux" (not really meant as an insult, I'm typing this from OSX right now).

Apple is just as proprietary, commercial and anti-competitive as Microsoft here.

FWIW, this excites me because it potentially means I can go from two machines to one, and always have IE/Edge at my fingertips. It will greatly improve my dev workflow if it pans out like people are hoping it does.

replies(4): >>11395401 #>>11395568 #>>11395667 #>>11395751 #
579. grovulent ◴[] No.11394800{5}[source]
I think this move by MS is wonderful and I support it completely - but there is one concern that you've left out that makes me more worried than anything.

I'm someone who doggedly persisted trying to dev on my windows box because the stability, speed, app support, GUI niceness of windows is just far superior to Ubuntu (I won't speak to OS X since I've only done minimal dev on it). I won't go into a lengthy defense of this claim - but will if pressed.

I put up with all the failed python module installations - the hunting around for the right VisualStudio compiler... the 64bit python install issues... on and on... I put up with it all... only to be defeated in the end by various node modules failing to install because they use ridiculous depth in their directory file structure that the windows filesystem can't handle. Our projected needed those dependencies. Something had to give.

So I tried vagrant VM with virtualbox - and shared folders... so I could keep my windows GUIs without needing to sshing everything to the VM. Somehow - even though the shared folders thing means the VM is ultimately using the windows filesystem - the node modules would install okay. BUt then I had problems with symlinks (which was solveable with effort)... But the worst thing was that various files, and sometimes whole directories would randomly have their permissions changed inextricably such that NO ONE - not even an admin user could touch them. The VM would get locked out, I would get locked out... it was horrid. It happened in the middle of a rebase once. Sad times... Sad... sad times.

So - I ditched vagrant and shared folders and use a totally contained VM with the ubuntu GUI... it's slow and horrid and it makes me cry... but at least I can alt-tab and waste time in a browser in the windows GUI if I want to.

So anyhoo - my concern. This approach by MS is going to mean everything plays with the same windows file-structure yeah? Or does the ubuntu thing get it's own self contained filey-bits to play with?

Cause if the former... then I will have the fear... THE FEAR... when I try to use it.

replies(3): >>11394859 #>>11395299 #>>11395881 #
580. deagle50 ◴[] No.11394809{6}[source]
I'm not really sure if you're serious about this question...

Well the task manager for example, the header is rendered per pixel, the rest of the window is a blurry mess. File Explorer window scales with DPI setting but for some reason the fonts still render at 4k pixel size even at 175% scaling making it very hard to read. Chrome looks like its rendering at much lower resolution then blowing back up. Resizing a busy window chugs my GTX 980 yet the Haswell integrated GPU on my MBP 13" handles 5120x2800 pretty well on OSX.

Why can't they just supersample the user-selected resolution then shrink back down to 4k like OSX? Everyone already has retina assets for their app.

581. kbenson ◴[] No.11394827{9}[source]
> Unbelievably staying on an older still supported platform until you are ready to update is a feature you have to pay money for!

You are making it sound like they are forcing, or even automatically upgrading Windows 7 to Windows 8, or Windows 8 to Windows 10. They aren't. You have to specifically choose the 8->10 update, even if you are getting updates automatically installed.

> I'm talking about the future equivalent of staying with windows 7 and upgrading to windows 10 because 8 sucks.

Which you can do. I'm not sure what exactly your complaint is here. What am I missing?

(Note: I found Windows 8 to be superior to Windows 7 in every way except the start menu. I find Windows 10 superior to Windows 8 in every way except for Privacy :/ )

replies(1): >>11396223 #
582. Mafana0 ◴[] No.11394829{4}[source]
> Uh, any company that sells niche or upmarket offerings of commodity products, for one. I.e. Apple

Without thinking much I can come up with a list of instances where Apple did exactly follow where they think the market is. Example include making phones with bigger screens [0], using a stylus with tablets [1], smart watches, small screen tablets [2], the the list goes on and on.

[0]: http://www.engadget.com/2010/07/16/jobs-no-ones-going-to-buy...

[1]: http://www.engadget.com/2010/04/08/jobs-if-you-see-a-stylus-...

[2]: http://fortune.com/2012/04/17/what-steve-jobs-said-about-an-...

> Their position in the server world is not nearly so secure, which is quite possibly what this move is meant to address.

Microsoft never had the lead in server operating systems. So they're not doing this just because they are no longer the leader. This is a proof that Microsoft is just changing how they handle competition and FOSS under Nadella.

583. seanp2k2 ◴[] No.11394848{6}[source]
Yeah, it would e.g. Be awesome to standardize all the arguments and flags and even the format of those between all the tools (also: how to define "all the tools"), but it'll never happen due to backwards compatibility / the way people know how to do stuff. As much as these tools are each individually weird and nuanced and stupid and broken, they come together to glue a scary amount of stuff together.

It'll get better through rewrites, new tools, different infrastructures etc long before it gets better through iteration on the same tools. That's OK though :)

584. simoncion ◴[] No.11394851{9}[source]
Ah, shit. I couldn't remember if the damn thing was called msbuild or nmake. [0] I guess one should replace all instances of nmake in my comment with msbuild.

[0] I do know that they are both parts of the VS build tooling. ;)

replies(1): >>11395056 #
585. kbenson ◴[] No.11394859{6}[source]
> So I tried vagrant VM with virtualbox - and shared folders... so I could keep my windows GUIs without needing to sshing everything to the VM. Somehow - even though the shared folders thing means the VM is ultimately using the windows filesystem

Maybe the other way would be easier, use the VM for all dev file storage as well, and export a SMB share that you can connect to from windows. Same sharing capability (as long as the VM is running), but you don't have to worry about different underlying file system semantics.

> So - I ditched vagrant and shared folders and use a totally contained VM with the ubuntu GUI... it's slow and horrid and it makes me cry... but at least I can alt-tab and waste time in a browser in the windows GUI if I want to.

Personally, I would just SSH for access to the VM though, as I find PuTTY superior to having a desktop as a window on a desktop (I would prefer to RDP to a local Windows VM as well). But I use Vim as my IDE, so it's extremely easy for me to do so.

That said, Visual Studio announced support for targeting Linux today (I assume either through SSH to a local VM or remote box and/or the local Linux support they announced here, so that might be an acceptable route in the future.

replies(1): >>11396589 #
586. drvdevd ◴[] No.11394860[source]
And here you've hit upon what would actually be interesting: the open sourcing of Windows itself, open sourcing of Hyper-V, etc. This is a 'nice to have' addition to Windows for sure. But it really does nothing to make Windows more relevant as an open source platform which is actually a major technical strength of most UNIX-alikes. And no I'm not saying Microsoft has to go GPL.
587. ctstover ◴[] No.11394862[source]
I've seen plenty of windows centric IT departments that would try to ban this from being installed. This act of admission will just be to iconoclastic for all those really enterprisey entrenched forces. You know the type.
588. Saltor ◴[] No.11394864{3}[source]
I'm hopeful that this will lead towards greater unification and innovation, but I can see why people are more likely to bring up "Embrace, Extend, Extinguish" when Microsoft does something compared to when other companies do. The difference is that Microsoft is the one who internally coined the term and used it to describe their strategies. It was a conscious and explicitly stated strategy rather than an unspoken side benefit.

You could certainly say that none of that matters and what we should care about is the actual actions that each company makes, but I can definitely see how people would read more intent into things like this when Microsoft does it compared to other companies.

589. mynameisvlad ◴[] No.11394868{4}[source]
Jumping on what Mafana said, Tesla is known for being one of the most closed off car systems on the planet. There were several HN posts over the last month or two talking about this, but they will require a full inspection to re-activate a car once it's been sold or written off, and it's almost impossible to get parts from them outside of service centers.

You chose literally two of the worst examples out there to try and prove your point.

replies(1): >>11395288 #
590. yoklov ◴[] No.11394874{3}[source]
What JS features are chrome exclusive other than maybe a few ES6 features nobody else has implemented yet?
591. krylon ◴[] No.11394875{8}[source]
I stand corrected.

Thanks for the info!

592. deckar01 ◴[] No.11394878{4}[source]
Go to a brick and mortar electronics store, pick out a laptop that meets your desired specs, and do something realistic with it for a while. There are lots of little things I took for granted about Apple MacBooks that no Windows laptops could match. Touch pad, high dpi display, and cooling were never quite done right, but they are crucial for every day operations.
replies(2): >>11395170 #>>11395617 #
593. joeyaiello ◴[] No.11394903[source]
See my reply on the other thread: https://news.ycombinator.com/item?id=11392734
594. ◴[] No.11394909{4}[source]
595. frozenport ◴[] No.11394914{3}[source]
All the CLI packages I want that are on Ubuntu are also on Windows. I don't see Windows users dying for lack of applications...
596. joeyaiello ◴[] No.11394918{3}[source]
It's not redundant, and that's why our work is continuing to go forward. We're definitely not cancelling our plans[1] to deliver native Win32 OpenSSH any time soon.

[1] https://github.com/PowerShell/Win32-OpenSSH/wiki/Win32-OpenS...

597. holografix ◴[] No.11394921{4}[source]
Completely agree. Gotta say Satya is doing some serious SunTzu'ing on Microsoft's approach with other technologies. Applauds
598. madmax96 ◴[] No.11394941[source]
As a FreeBSD user, this does nothing to attract me. I dislike GNU+Linux because it feels like a hacked together mess; now they're going to add that poorly designed system to an even worse system? Count me out.
replies(1): >>11395177 #
599. giis ◴[] No.11394972[source]
Does it comes with patented 'sudo' command? http://www.linux-magazine.com/Online/News/Microsoft-Patents-...
600. Pwngea ◴[] No.11394990{6}[source]
What do you dislike about Finder? Just curious.
replies(2): >>11395295 #>>11395325 #
601. cyphar ◴[] No.11394991{6}[source]
> Just out of curiosity, what does a Linux desktop offer that's not also natively offered in Mac and also highly polished?

Freedom, a full GNU userland, proper package management of the entire system, plethora of CLI programs which can fulfil your every need and only really work on GNU/Linux, configurable, etc.

> Every year I try a switch to Linux desktop. This year I made it as far as trying to get multiple monitors working well. I also dabbed in gaming. In the end I went back to my work=Mac game=Windows duopoly.

I use multiple monitors every day for my work under OpenSUSE and Arch. They both worked with either minimal (Arch) or no (SUSE) configuration. I use DisplayPort which works pretty well.

replies(1): >>11395979 #
602. Stratoscope ◴[] No.11394994[source]
So how does one actually install this thing?

I set up the brand new Windows 10 Pro Insider Preview 14295 from MSDN. Hanselman's blog post says:

> After turning on Developer Mode in Windows Settings and adding the Feature, run you bash and are prompted to get Ubuntu on Windows from Canonical via the Windows Store...

OK, I turned on Developer Mode. Now what? What does "[add] the Feature" mean?

http://www.hanselman.com/blog/DevelopersCanRunBashShellAndUs...

replies(1): >>11395051 #
603. wtbob ◴[] No.11395001[source]
I've been running TurboTax on Linux for over a decade now …
replies(1): >>11396730 #
604. novaleaf ◴[] No.11395006{4}[source]
I dev on a windows box, and deploy to ubuntu servers running on gcloud. I am very excited by this news!

right now my initial deploy+vm provisioning scripts are written in windows .cmd scripts, only because it means I don't have to have a C&C server somewhere. I'll be really happy to put all my automation scripts in bash and have it run regardless of dev env!

605. Pwngea ◴[] No.11395024{7}[source]
Which one do you have? How is it specs-wise?
replies(1): >>11397565 #
606. bradyd ◴[] No.11395032{4}[source]
The install environment for Windows, Windows PE[0], is an extremely stripped down version of Windows. It's based on the same code base as the main Windows, but basically only comes with the command prompt and task manager. It's available free as part of the Windows Automated Installation Kit.

[0] https://en.wikipedia.org/wiki/Windows_Preinstallation_Enviro...

607. drakenot ◴[] No.11395038[source]
I was thinking this as well. The bash version which is included with OS X is really old[0]. They refuse to ship any software which is licensed under GPLv3. It makes me wonder if they will reverse on that stance?

Homebrew also breaks with every major OS X release. It would be really nice to get some 1st party support on a package manager.

I feel like Apple does the bare minimum in this area to stay POSIX compliant. I would really like to see them feel some pressure here.

[0] https://www.reddit.com/r/bash/comments/393oqv/why_is_the_ver...

replies(1): >>11395265 #
608. shanselman ◴[] No.11395048{3}[source]
It was a joke. ;)
609. shanselman ◴[] No.11395051[source]
Builds coming soon first via the Windows Insider Program. Sign up and you'll get it all over Windows Update soon.
replies(2): >>11395335 #>>11432912 #
610. shanselman ◴[] No.11395055[source]
Absolutely. As Rails would then be running on Linux.

I code ruby running in this system (some stuff has issues, it's beta, and I'm doing Sinatra) but using Visual Studio Code as my editor.

replies(1): >>11396498 #
611. yuubi ◴[] No.11395056{10}[source]
I think nmake is or was a normalish make.
612. shanselman ◴[] No.11395059{3}[source]
And there's openssh as a Windows binary that will eventually ship with Windows in the future. https://github.com/PowerShell/Win32-OpenSSH/releases
613. rsync ◴[] No.11395063[source]
"The hardest part of running bash and other posix things under windows is filesystem access. Windows uses drive letters and backslashes, unix has a root filesystem with forward slashes. It seems they are taking the same route as cygwin by "mounting" windows drives in /mnt/c (or /cygdrive/c)."

How do these ubuntu tools interact with the rest of the windows system that they are running on ?

Can I 'kill -9 explorer.exe' ?

Can I touch a file in /mnt/c/(whatever)/Desktop ... and have that file actually show up on my windows desktop ?

replies(1): >>11395254 #
614. mappu ◴[] No.11395082{4}[source]
There's at least one free (gratis) version of Windows available (Hyper-V Server) that's missing the Explorer shell and some other parts.

I have successfully installed KDE on this (via Cygwin plus a mesa/llvmpipe build of opengl32.dll). It seemed to work OK.

615. lips ◴[] No.11395088{5}[source]
"There's never been a reason to evolve them."

Err. As a Mac user from when system 7 was fancy looking, and who learned some basic bash in order to do useful stuff like use curl, grep, cat, ls > .txt, rm's based on partial name matches, etc. my only response is "How about we talk about it over breakfast, lunch, and dinner?"

Bash is simultaneously graceful and nimble, yet clumsy. While it's certainly appropriate to worry that any reduction of the clumsy side would have a net negative effect, to not see, or not ack the many issues just continues to deny its utility to non-expert users.

616. BogusIKnow ◴[] No.11395089[source]
It is funny how in your head, one image of a company is replace by another over time. It does not happen instantly, but with more and more actions by the company (open source .NET, Ubuntu on Windows,...) the image changes over time. I found that fascinating watching myself change the image of MS in my head.
617. cyphar ◴[] No.11395104{4}[source]
It should be noted that FreeBSD has had this for a decade AFAIK, and LX-branded Zones have been massively improved in SmartOS.
618. ageofwant ◴[] No.11395113{7}[source]
The "UNIX savvy guy" will just use Windows when he needs to, either in a VM, a Azure windows instance or his company provided laptop and call it a day.

All the yakka spent on avoiding the obvious solutions to justify "usage patterns", should signal any half-aware dev that those precious patterns are broken.

replies(2): >>11395803 #>>11396135 #
619. sushiwarrior ◴[] No.11395145{6}[source]
Oh god, the node-gyp rebuild errors...
620. cheapsteak ◴[] No.11395170{5}[source]
I'm with you on the touch pad, three-finger touch-drag in particular is something I've not found a PC do well; my PCs' scroll simulated scroll momentum is also buggy (scroll, stop scrolling, Ctrl+click to open new tab, messes up the font size instead because it's still stimulating mouse wheel movement)

I'm surprised to hear someone preferring macbooks cooling though, my macbook always gets so hot relative to other laptops

621. andor ◴[] No.11395177[source]
If you weren't trolling, I'd suggest you to leave your bubble from time to time. There are pros and cons to everything, and finding the good parts is usually more productive.

Just for fun, here's a version of your quote from another perspective:

As a Linux user, FreeBSD does nothing to attract me. I dislike it because it feels like it's stuck in the 70's, with a mess of shell scripts for system and service management. Now with the SCO Unix compatibility layer they added something absolutely prehistoric to what already felt old. Count me out.

Also, how did you post this, is there a browser for FreeBSD now? ;-)

replies(1): >>11400077 #
622. aristidb ◴[] No.11395188{7}[source]
Mathematica at least has a Linux version. :-)
623. trill1 ◴[] No.11395194{5}[source]
Right! This whole thread has me scratching my head.

Not long ago Microsoft schemed to stomp out Linux and now they've had a change of heart? Fuck Microsoft! To this day even they engage in anti-competitive bundling with OEMs, not to mention their seedy history in relation to open source.

624. executesorder66 ◴[] No.11395196[source]
It's really cool that this can be done. But why would you not run Ubuntu on Linux? What is the advantage of running it on a windows kernel?
625. kristianp ◴[] No.11395203{6}[source]
I found apps using xming in a VM to be quite laggy, not fast to the point where I could use them regularly. e.g. SublimeText.
626. therealmarv ◴[] No.11395209{5}[source]
a lot of assumptions here. I thing the major point is that Windows will be less a pain in the ass if you have to deal and develop for Linux production systems. So IF I ever have to use Windows I don't need to deal with Cygwin anymore. But for me the biggest reason not to switch is the hardware. Sorry @all Windows folks but Macbooks are playing in another higher league for me. I would never ever switch away from Macbooks because of the build quality.
replies(1): >>11395478 #
627. imron ◴[] No.11395222[source]
I've been using Git Bash (installed with Mysys Git) as my Windows command line for years now.

It's not perfect, but I much prefer it over cygwin.

628. umanwizard ◴[] No.11395227{7}[source]
It's not the most popular system on phones, unless you are using "Linux" in the correct sense to mean the kernel. But I believe GP was using it in the colloquial sense to mean GNU/Linux, since this thread isn't really about the Linux kernel, but the ""Linux"" userland.

Android certainly doesn't have the userland that is typically (incorrectly) called Linux.

replies(1): >>11395655 #
629. umanwizard ◴[] No.11395239{4}[source]
OS X definitely doesn't ship with gnu coreutils. Sure, it's possible to install them manually.

Also, why gnu and not bsd? OS X's find, grep, sed, and so on work fine for me and are not gnu.

630. jdub ◴[] No.11395242[source]
I have incredibly strong doubts that this will ever be open sourced, as Microsoft does not want third parties to implement NT subsystems. If the emulation target is itself an abstraction, then maybe. Maaaaaybe. But that delivers pretty much the same result in practice.
631. umanwizard ◴[] No.11395244{3}[source]
We have exactly what you're talking about. It's called POSIX.

"The Portable Operating System Interface (POSIX) is a family of standards specified by the IEEE Computer Society for maintaining compatibility between operating systems." (https://en.wikipedia.org/wiki/POSIX)

632. timgws ◴[] No.11395254{3}[source]
PIDs from Windows are not exposed when looking at /proc, so I am guessing you will not be able to `kill -9 explorer.exe` unless there is some real voodoo going on (and then it would not be POSIX compatible, anyways).

I think the command that you meant to say was killall :) `kill` will only kill pids, not process names.

replies(1): >>11415872 #
633. Fice ◴[] No.11395258{3}[source]
There is no "New Kinder Gentler Microsoft". Corporations just do what they see as more profitable. They do not make decisions based on morality per se, but they try to maintain a certain public image when it helps profits.
634. umanwizard ◴[] No.11395259[source]
Apple is hardly out of business and they don't support the Linux API or ABI.
replies(1): >>11415781 #
635. petecox ◴[] No.11395261{7}[source]
headless, you're still stuck with Windows Explorer as a window manager.

I don't use a particularly fancy WM/DE under Linux but it's the little things such as middle click paste, and window operations such as maximize horizontal/vertical (by using the middle and right mouse buttons) that I miss.

636. timgws ◴[] No.11395265{3}[source]
Doesn't stop you from installing homebrew, and installing a newer version of bash though.
637. ◴[] No.11395283{5}[source]
638. ssalazar ◴[] No.11395288{5}[source]
My point is that these companies have no evident interest in establishing a monopoly in whatever market they've followed. That they maintain a closed system doesn't contradict that.
639. stop1234 ◴[] No.11395293[source]
So wait... you still get the "cmd.exe console"? After all these decades Microsoft Windows still does not provide a decent terminal out of the box?
replies(1): >>11415517 #
640. cmurf ◴[] No.11395295{7}[source]
First right-click for a session totally hangs the Finder for ~10 seconds, followed by the beachball, followed by a brief flash of the contextual menu. The next right-click works as expected.
641. qb45 ◴[] No.11395299{6}[source]
> So - I ditched vagrant and shared folders and use a totally contained VM with the ubuntu GUI... it's slow and horrid and it makes me cry...

Is it really that bad? At one former job I ran Ubuntu under VirtualBox with guest additions installed (new Linux team in an old MS shop).

Performance was OK, at least for the things I used - terminals, vim, Firefox. The only thing that really annoyed me in this setup was the need to switch between the VM and Outlook every now and then. Fortunately, Outlook's notifications worked even in VM running fullscreen (IIRC).

replies(1): >>11396622 #
642. stephengillie ◴[] No.11395301{5}[source]
It works really well in Powershell. I use it on Win8.

https://juliankay.com/development/setting-up-vim-to-work-wit...

643. paramk ◴[] No.11395313[source]
So does this mean sooner or later we will be seeing the end of Cygwin ?
644. copperx ◴[] No.11395325{7}[source]
"Finder sucks" seems to be a meme perpetuated by commenters everywhere, but I have never read a convincing list of issues. When pressed, commenters have replied things like "it is well known that Finder is a big pile of crap."

I honestly have never found a problem with the Finder and miss a lot of its features (column view, drag file to file dialog, high-resolution previews for most file types, Quick View, and much more) when I'm in Windows or Linux.

645. stephengillie ◴[] No.11395331{6}[source]
At least half of these already exist, either as .NET cmdlets, Command Prompt functions, or Windows EXEs.

RDP, Robocopy, Find.exe, Sort-Object, Select-Object, Select-String, Invoke-WebRequest, Invoke-RESTMethod, IIS, .NET, CMD, ASP.NET, and Compare-Object will fill most of those needs.

And Powershell accepts "cat" if "gc" for "Get-Content" is too long. Or "ls" if "dir" or "gci" for "Get-ChildItem" is too long. And each of these is a case-insensitive object you can pipe right into ConvertTo-Html or Send-MailMessage.

Or you can create a UDP socket with .NET right from Powershell, and send your objects that way.

646. Stratoscope ◴[] No.11395335{3}[source]
Thanks Scott! I've got my Insider builds turned on with the Fast level on this test machine, so will hang tight and wait for updates.

Well, actually my "test machine" is a Windows 10 14295 VM running in Parallels. So if this ends up working (no reason it shouldn't) I will be running Ubuntu on Windows on OSX! :-)

replies(1): >>11435952 #
647. qb45 ◴[] No.11395336{7}[source]
I miss Windows software while on Windows.

In every release there is something removed and a new replacement to relearn.

648. qb45 ◴[] No.11395341{6}[source]
> I wouldn't be surprised if eventually 'GNU/Linux/Windows' ultimately ended up with a majority share of developer desktops.

As funny as it sounds, it's GNU/Windows. No Linux there - they made it work by emulating Linux.

649. dschiptsov ◴[] No.11395345[source]
Very clever publicity hijack but no, this news is irrelevant to SmartOS.

Btw, FreeBSD runs Linux binaries for years, which is also irrelevant.

650. ewzimm ◴[] No.11395346{4}[source]
Your perspective is perfectly valid, but I'd like to add another. It's possible to care about user freedoms and still think this is a good thing. It doesn't create any dependencies on Microsoft, just opens up opportunities for more full-featured free software to run on more computers. If Microsoft ever decided to pull support, nobody would be left unable to run their software. These are the same Ubuntu binaries that run on Linux, and anyone could move over to that if they wanted to.

There's a stereotype that the open source people are practical but don't care about political issues and the free software people hate everything proprietary with a passion, but of course that's not always the case. Big companies like Microsoft aren't monocultures. They have some really amazing people, even if not everyone is perfectly enlightened. The path to more user freedom is allowing those good people to continue to push technology in the right direction. This is a step toward more freedom.

Many of us don't just use one computer. I use every OS on different desktops, laptops, tablets, phones, servers, and consoles. They might not all be equally free, but I only need one to be fully free to know that I have freedom that can't be taken away. Even for those who don't have a fully free system, the most important thing in my opinion is that the option always exists. If they aren't served by proprietary software, they have somewhere to go.

GNU won against all odds. It's here to stay, proliferating across so many devices. I'm happy to welcome people who might not have ventured outside Windows into the family!

replies(1): >>11396114 #
651. paulnechifor ◴[] No.11395347{6}[source]
It depends on what you do. It's terrible for media things, but it's the best OS for programmers and I don't have to go along with every UI trend Microsoft/Apple are implementing this week.
652. ionelm ◴[] No.11395349{6}[source]
It doesn't. It's outdated and not free. This should be way more known: https://sourceforge.net/projects/vcxsrv/
653. leo_mck ◴[] No.11395351{9}[source]
> "Meanwhile you are missing the fact that people don't want to avoid automatic updates to fix security holes."

You are right. My english is not very good and I did not read what OP wrote carefully about this. Maybe it was the silliness of the word "slave" being used like this that threw me off ;)

Those third apps updates can be annoying but I honestly cannot complain about all those problems you talk about, like processes sucking up resources, popups, and adware automatic installation on updates. I do not even see this happening with (very) non tech people around me. So I think it is a very suspicious argument. Even worst would be to suggest that those are problems are Microsofts blame. Maybe you get those adwares exactly because you think UAC is annoying. Can we blame Google when a user get a virus ridden app from a place other than the official store and ignore the OS warnings?

But if this is the reality, it is another good argument for the push for windows 10 update and the adoption of UWP. In fact, I think microsoft should push even harder for windows 10 updates, it is the right move.

Also, I think that the idea of maintaining a Windows machine updated with only the parts the user wants is hilarious. And I do not know who are those people you talk about. I love to test OS previews and I have never heard a person who already do not liked Microsoft for whatever reason make a big deal about a UI update (windows 8 "metro" mode was shit but easily ignored, windows 10 UI is better and amazing).

The more updates and innovation, the better. I am not afraid :)

654. qb45 ◴[] No.11395353{6}[source]
Why wouldn't /dev/random work? Doesn't sound like something impossible, considering that they already support /mnt/c.
655. lotso ◴[] No.11395359{4}[source]
>Uh, any company that sells niche or upmarket offerings of commodity products, for one. I.e. Apple, Tesla, a bunch of watch manufacturers.

SMS to iMessage?

656. dang ◴[] No.11395367{7}[source]
Please stop posting uncivil and unsubstantive comments to Hacker News.
657. more_original ◴[] No.11395372[source]
> 2. start gaining momentum (e.g. why should I use Linux, when on Windows I can run both Linux and Windows applications)

Remember OS/2 2.x? It could run Windows 3.x binaries, including GUI programs. The result was that noone wrote programs for OS/2. Windows programs would run both on Windows and on OS/2, so why write another one for OS/2?

Why should anyone port Linux programs to Windows now? Just write for Linux and it will work both on Windows and on Linux. So now you actually have more reason to target Linux.

replies(4): >>11395516 #>>11395701 #>>11395859 #>>11397986 #
658. copperx ◴[] No.11395374{3}[source]
> Soon they incorporated an expensive licensing program that third party apps had to use to interoperate with MSN Messenger, endlessly doing technical fixes to block third party access.

I remember this clearly as if it was yesterday, because I tried and failed to build a Messenger-compatible client. They defended exclusive access to the API fiercely.

Their attitude seems so petty now in retrospect.

replies(1): >>11395868 #
659. copperx ◴[] No.11395391{3}[source]
They even marketed NT's POSIX compliance as a great feature.
660. qb45 ◴[] No.11395418{3}[source]
> Could you name a single company that doesn't follow where the market is and try to monopolises it later?

I think your argument actually supports parent's position, so this "plus" in the next sentence seems out of place :)

replies(1): >>11400477 #
661. qb45 ◴[] No.11395423{3}[source]
I thought everybody has seen this "vi assistant" gif by now...
replies(1): >>11397782 #
662. cyphar ◴[] No.11395424[source]
Ubuntu isn't a free software distribution, and this wouldn't actually "fix" the bug. Since the kernel is still proprietary
663. ruevs ◴[] No.11395432[source]
This is ancient news re-implemented. Windows NT had a POSIX layer up to about Windows Server 2003: https://en.wikipedia.org/wiki/Microsoft_POSIX_subsystem http://brianreiter.org/2010/08/24/the-sad-history-of-the-mic...
664. 1024core ◴[] No.11395436[source]
It's called "Embrace, Extend, Extinguish".

They also tried to do this with Java, but people were alert.

replies(1): >>11395599 #
665. kagamine ◴[] No.11395445{6}[source]
That being the opposite of my experience. While we're making bland sweeping gestures, I have been having it easy developing on Linux (specifically Bodhi with Moksha DE) while fixing my partner's Windows PC every week because it fails constantly. Hell, Windows can't seem to go from location A to B and change networks without a meltdown. It's an awful OS with awful usability, a file explorer that is awful to use and a file system that makes development feel like physical pain.

There, now we're even. Let's get back to EEE, and the real porblems and advantages with this news.

666. wsc981 ◴[] No.11395447[source]

  A team of sharp developers at Microsoft has been hard at work adapting some 
  Microsoft research technology to basically perform real time translation of 
  Linux syscalls into Windows OS syscalls.  Linux geeks can think of it 
  sort of the inverse of "wine" -- Ubuntu binaries running natively in 
  Windows.  Microsoft calls it their "Windows Subsystem for Linux".
Sounds a lot like Rosetta [0], which Apple used to transition people from PowerPC to Intel.

   --- 
[0]: https://en.wikipedia.org/wiki/Rosetta_(software)
667. kayoone ◴[] No.11395450{3}[source]
Only that all big Software or hardware companies do this... Apple keeps the doors closed to anything not in their full control, nvidia was pushing for open standards when they were the underdogs and now they have a lot of proprietary stuff, Google with Gtalk/Jabber etc etc. It's pretty ignorant to only paint MS that way imo. I also believe MS is a very different company today with a different strategy because they lost mobile. Maybe that changes again in the future but i worry a lot more about the direction apple is going.
replies(2): >>11396262 #>>11396327 #
668. seanp2k2 ◴[] No.11395458{6}[source]
Honestly it's not much better on OS X. The solution to failed npm installs is to keep running npm install until it works. If that doesn't work after about 6 times, wipe out node_modules dir and try again. Npm got lots of laughs at EmberConf this week. Everyone hates it but we all use it because it's what everyone uses.
669. bboreham ◴[] No.11395464{5}[source]
> One source says that it's been acceptable to DOS since DOS 2.0

I can confirm that from personal memory.

At the time, the biggest vendor of UNIX-like systems was Microsoft (Xenix), so compatibility was a benefit. They soon sold that product off, though.

670. SideburnsOfDoom ◴[] No.11395475{4}[source]
yes, the roles of the actors cycles around, but the script is the same.
671. adrianN ◴[] No.11395476{4}[source]
I hope you only drive old cars, because newer cars aren't really designed to let the user change anything. You always need to take them to a specialist shop.
replies(2): >>11395729 #>>11399170 #
672. seanp2k2 ◴[] No.11395478{6}[source]
Surface Book and things like the Razer Blade are looking to change that. Honestly your money goes further with Windows hardware, and you can get stuff like the Lenovo mobile workstation with a mobile Xeon CPU and ECC RAM. However, they can't run a blessed OS X. IMO, if Apple really wanted to mess with Microsoft, they could make OS X installable (without EFI hacking and overriding the CPU identifier etc -- yes I've had my fun with OSX86 since 10.5 days) on normal PC hardware. Their hardware would still sell because of the premium build, and they could probably charge $400 for the OS. The Dell XPS stuff is also pretty nice from what I hear.
replies(1): >>11396874 #
673. dagw ◴[] No.11395503{7}[source]
Out of curiosity, which ad campaign are you talking about?

Apple ran a fairly successful campaign in a number of highly technical publications shortly after OS X came out pushing the concept OS X was not only Real UNIX(tm) but also that a Mac was the best Unix workstation you could buy. I'm guessing that's the one, it certainly worked on me.

Here's one of the ads: http://www.brainmapping.org/MarkCohen/UNIXad.pdf

I think there where a few others. I seem to recall one showing OS X running matlab.

674. homero ◴[] No.11395509[source]
Sick
675. homero ◴[] No.11395513{3}[source]
I nuked win10 after it decided to uninstall a program all by itself
replies(1): >>11395561 #
676. partycoder ◴[] No.11395516{3}[source]
That same phenomenon sort of happens with WINE. Many software just suggests you: run it under WINE, so they just focus on Windows.

Not that I am against WINE. I think it allows me to just ditch Windows entirely.

I run StarCraft II on WINE 1.9 at a higher framerate than what Windows provides. That was probably the only reason I would use Windows for.

replies(4): >>11395695 #>>11395704 #>>11395705 #>>11395715 #
677. eloff ◴[] No.11395520{4}[source]
There's always someone that doesn't get the joke, my bad.
678. partycoder ◴[] No.11395525[source]
What you describe is the "embrace, extend and extinguish" strategy.

https://en.wikipedia.org/wiki/Embrace,_extend_and_extinguish

This is well known and I think it would be really hard to pull off the same trick again.

679. dcw303 ◴[] No.11395526[source]
Sure, they've done it before. But if it's Embrace/Extend/Extinguish, why did they wait for so long to do this? What is it about Linux in 2016 that makes it a different threat to them than it was 5, 10, 15, 20 or 24 years ago?

Isn't it far more likely that this is simply another execution in their recent opening up of their platforms to developers?

replies(1): >>11395664 #
680. sreenadh ◴[] No.11395542{3}[source]
@jupiter2 Well put. I really liked, "It's like giving a man who is dying of thirst sea water.". The fact of the matter is that MS has not yet realized or is unwilling to correct its core issue, and instead it is going many nothings like be it an atom forked text editor or running Ubuntu in windows.
replies(1): >>11395621 #
681. wfunction ◴[] No.11395561{4}[source]
What program was this...?
replies(1): >>11396104 #
682. partycoder ◴[] No.11395567{3}[source]
One aspect is the technology, another aspect are the values driving that technology, another aspect is the legal aspect.

You are mixing them all and that's how the debate gets stuck into some neckbeard-limbo that nobody cares about.

Society made a lot of progress when religion and state got decoupled from each other. There are some things that should be handled separately.

What I have to say about this is:

Technology-wise, GNU/Linux software is separate from that of Windows at the binary level as well as dependencies. For them to extend such software means that they would need to build on that. That would extend the GNU/Linux ecosystem.

Legally-wise, open source software is protected by open source licensing that requires derived software to also be licensed as open source. It is challenging to achieve the "extend" part of the "embrace/extend/extinguish" loop if open source licenses are in place.

In terms of values, they're a for-profit corporation trying to reach out to developers. Same as every other company. They have open sourced .NET, they've released some of their actually important software on Linux (SQL Server), they have embraced the Linux platform on their cloud environments... everything possible to appeal to developers. It doesn't appeal to me, though.

replies(3): >>11396017 #>>11396514 #>>11410019 #
683. groundCode ◴[] No.11395568{4}[source]
Pretty much this - it's going to make my life as a developer easier. Having Linux right there when I'm working on an Microsoft platform will remove a clunk in my user experience of having a VM open all the time for when I want to drop into Linux.
684. baq ◴[] No.11395584{6}[source]
no i couldn't, corporate it won't let me. this will be so much better than anything else currently available.
685. willtim ◴[] No.11395586{5}[source]
It's not possible to implement fork efficiently on Win32/64 which cygwin uses, but are you sure this is the case when using the NT native APIs?
686. narrator ◴[] No.11395599{3}[source]
They tried to do it with Java but Sun wrote a really good contract and filed and won a multi-million dollar lawsuit against them for trying to fragment the platform.[1]

[1] http://www.cnet.com/news/sun-microsoft-settle-java-suit/

replies(1): >>11395673 #
687. tempestn ◴[] No.11395605{4}[source]
It's odd for me to read this, because the main reason I use Windows for my desktop over OSX is that it offers increased control. Obviously nothing is as customizable as Linux, but Apply software seems much more about taking decisions away from the user than Microsoft. Not that that's necessarily a bad thing. It's, "It just works," vs, "You can make it work the way you want." I see Windows as sitting between OSX and Linux on that spectrum.

That said, for most development work I prefer Linux, and run a Linux home server as well as various VMs, so this announcement sounds great to me.

And as a final aside: basically all of the information gathering that people complain about with Windows can very easily be turned off. In fact, for the most part the installation wizard actually leads you through how to turn it off. For me that makes it a non-issue, although I understand that some feel differently.

replies(1): >>11396522 #
688. ed_blackburn ◴[] No.11395609{4}[source]
I'm curious how many people actually factor this into any due diligence for selecting technology for a project? How much weight do you give it? If I were to advise against using Azure, Windows, .NET because of patents charges for some Linux products I'm not sure my colleagues or clients would take me seriously. Yes, there are lots of reasons why you may not select MS tech, but patents seems a personal, political reason , which would be difficult to justify if you're trying to project it onto other people / organisations.
replies(1): >>11395734 #
689. willtim ◴[] No.11395617{5}[source]
I would suggest not trying to source quality hardware from an electronics store. For software development, Thinkpads more then compete with MacBooks, the keyboard is considerably better too.
replies(1): >>11396334 #
690. ulber ◴[] No.11395621{4}[source]
VS Code is not an Atom fork. They share the packaging tech (Electron), but the application code is completely separate. VS Code is an evolution of an MS online editor component (called Monaco IIRC).

I think this is the third time I'm writing this reply on HN. Seems to be a common misconception.

691. jwr ◴[] No.11395631[source]
It's basically what WINE has been doing for years, but the other way around.
692. batat ◴[] No.11395633{4}[source]
It's terribly broken https://social.msdn.microsoft.com/Forums/vstudio/en-US/e4b91...

Seems to work only with WriteConsoleOutputW(), while C I/O behaves unpredictably.

693. akerro ◴[] No.11395634[source]
I mentioned it and got completely downvoted, thanks for telling this again and getting to the top!
694. se6 ◴[] No.11395651{10}[source]
I prefer a great deal plastic to environmental foe aluminium. To me their use of aluminium is a very good reason not to buy Apple hardware. I have a Dell M3800 right now, and the build quality is very good. Thin, light, excellent 4K touch screen, good battery life, I easily added a second HDD to it. Not to mention that every thing works perfectly well under Linux.
replies(1): >>11396962 #
695. vacri ◴[] No.11395655{8}[source]
The parent was specifically talking about making hardware available for use. That's kernel stuff, not GNU userland.

But if you want to talk about userland, then you need to buy supported equipment. OSX doesn't work with a ton of equipment out there - as that equipment does not come with OSX drivers. Windows also works like shit when it doesn't have the drivers - anyone who has had to install XP regularly will quite happily attest to just how terrible it is at supporting network cards before you install drivers.

Then, of course, there's the bonus of the AMD Catalyst driver installer program for windows: at least as recently as win7, if you didn't have drivers for video, it fell back to VGA graphics. The Catalyst driver installer was too large to be seen on VGA - you couldn't see the bottom of the installer window to see what was going on, and couldn't drag the window high enough without a hard-to-discover key chord. :)

The argument to "buy stuff your operating system supports" sounds like a cop-out, but it really isn't. OSX, for example, is difficult to make run on things other than Apple-designed computers, but if you complained about it, people would write you off as an idiot.

696. partycoder ◴[] No.11395663[source]
While I encourage people to embrace open source tools and libraries as much as possible, I also would like to issue a word of caution on feeling too comfortable targeting a proprietary environment such as Windows.

Some people have compared Mac OS X and Windows because of their proprietary nature, but one key difference is that you don't run Mac OS X as a server operating system or on the cloud. While many people develop on Mac OS X, they might still build and deploy to a Linux server.

For Windows to support the GNU/Linux userland is to finally empower Windows as a competitive platform for the cloud. Windows has suddenly became a viable deployment target for a wide spectrum of software that prior to this could not target Windows.

I am not looking forward for a lower market share of Linux (or BSD, Solaris derivatives, to be fair) on servers or on the cloud.

replies(2): >>11395686 #>>11395763 #
697. akerro ◴[] No.11395664{3}[source]
What long? MS didn't stop it even for a moment. You just don't hear about patent wars because MS is not promoting them on their blogs.
698. batat ◴[] No.11395665{4}[source]
Kinda bad news for node.js developers

  /home/user/dev/my-proj/node_modules/concurrently/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex
699. disagree1_ ◴[] No.11395667{4}[source]
> Apple is just as proprietary, commercial and anti-competitive as Microsoft here.

I respectfully disagree. The OSX kernel XNU is open source, as are a ton of its components. That's huge in a lot of situations. Some things - not a lot, granted, but some, like FreeBSD's C++ stack and compiler - are even upstreamed back to mainstream open source projects by Apple employees.

replies(3): >>11395801 #>>11397552 #>>11397715 #
700. vbernat ◴[] No.11395671{6}[source]
Many shells enable you to change the way word splitting is done. By default, zsh doesn't do word splitting at all for variables.
701. chinpokomon ◴[] No.11395673{4}[source]
There are two entirely different narratives there when you view Java. Microsoft's implementation was a better, faster, and fully compliant JVM with what Sun was making. An application written for Sun's implementation ran on Microsoft's. This was before Swing, and Microsoft added extensions that allowed you to write Windows Forms applications using this new and upcoming language. Windows Forms applications would not run on Sun's implementation.

Sun argued that Microsoft was intentionally breaking compatibility, but the other side was that Microsoft was actually exposing more developers to the fledgling language and providing a GUI that felt native to the rest of the OS. When Swing finally came out, it felt like you were running under CDE. That made me avoid running or writing Java applications for years.

In a lot of ways, Android repeated the exact same thing. Dalvik applications won't run in the Oracle JVM.

replies(2): >>11395928 #>>11400809 #
702. creshal ◴[] No.11395686[source]
And people should also take a long look at Silverlight, XNA, and all the other technologies Microsoft dropped on a whim and left developers relying on them to hang dry; before they decide to bet on Microsoft SFU 4.0 "This Time For Reals" Edition.
703. chinpokomon ◴[] No.11395693{3}[source]
It was still a little different. It isn't just about building the tools and making them run. It is the environment that comes with it so you can follow any number of recipes you find online to get your development environment up and running. For all the support work I've done in the past, or finding ways to virtualized Linux in a Windows environment (or vice versa), this will be a welcome addition.
704. broodbucket ◴[] No.11395695{4}[source]
Out of curiousity, do you use wine-staging and the CSMT patches?
replies(1): >>11395717 #
705. partycoder ◴[] No.11395700[source]
Some brief history refresher:

Apple + Microsoft "collaborating" on Macintosh software = Windows

IBM + Microsoft "collaborating" on OS/2 = the NT kernel, Windows NT

Sybase + Microsoft "collaborating" on Sybase SQL server = MS SQL Server

Sun + Microsoft "embracing" Java = .NET Framework

replies(1): >>11395708 #
706. j4kp07 ◴[] No.11395701{3}[source]
Because Microsoft, then and now, has more active developers.
707. creshal ◴[] No.11395704{4}[source]
TeamViewer, e.g.; their official Linux version is simply the Windows build with a bundled WinE. As a result, it has a horrible UX, making me even less likely to pay their outrageous license fees.

It's a lose-lose situation in cases like this.

708. ajdlinux ◴[] No.11395705{4}[source]
I doubt any game developer decides not to release a Linux version purely because "oh, Wine exists".
replies(3): >>11395710 #>>11395789 #>>11408215 #
709. creshal ◴[] No.11395708{3}[source]
Canonical + Microsoft "including" Ubuntu = Microsoft Xenix 2016?
replies(1): >>11396439 #
710. creshal ◴[] No.11395710{5}[source]
Game developers no idea, application developers yes. TeamViewer and Softmaker Office are programs I ditched in frustration because their official Linux "ports" are the Windows versions bundled with a bugged WinE wrapper around them.
replies(2): >>11396308 #>>11401928 #
711. YokoZar ◴[] No.11395715{4}[source]
It's not quite the case that using Wine is an alternative to porting. Sometimes the port itself simply bundles Wine. Some say that this "doesn't count", but when Wine works well users can't tell the difference between this and a port that required rewriting things.
712. partycoder ◴[] No.11395717{5}[source]
I use wine-staging yes.
713. creshal ◴[] No.11395718{5}[source]
> The big difference is that Apple actually doesn't fk their users in the ass.

Like with their SMB support? When, given the choice of complying with the GPL or re-writing an SMB client from scratch, Apple chose the latter and subjected users to utterly broken SMB support for several releases just so they did not have to open source their pitiful collection of patches?

714. creshal ◴[] No.11395729{5}[source]
And the specialist might have to take it to other specialists because the diagnostics and repair equipment is so outrageously proprietary and specific nowadays that only one shop per major city can afford it.
replies(1): >>11395793 #
715. fulafel ◴[] No.11395734{5}[source]
An approximately shared set of values and/or (business-relevant) political aims is a great advantage in working together.
716. creshal ◴[] No.11395739{4}[source]
> If all you care about is "the best technology; yay" rather than user freedoms, your concerns are moot.

Are they? When did Microsoft's EEE strategy benefit the user and lead to the best technology? IE6? JScript? ActiveX? J/Direct? MSN Messenger?

717. partycoder ◴[] No.11395751{4}[source]
Apple has contributed to key open source projects such as LLVM and WebKit. They have also open sourced Swift.

They have identified the core of their business and they feel comfortable there. They get a 30% royalty for each App Store transaction, they make large profits selling iPhones and Macs. They monetize their software indirectly as a part of a larger end-to-end solution.

Microsoft during their monopolic era was much more beyond that, they were going for all.

replies(2): >>11396051 #>>11397730 #
718. nekkoru ◴[] No.11395763[source]
(...)one key difference is that you don't run Mac OS X as a server operating system or on the cloud.

http://www.apple.com/osx/server/

It's actually a pretty decent server environment.

replies(2): >>11395771 #>>11395873 #
719. partycoder ◴[] No.11395771{3}[source]
That's a valid point, but you cannot elastically provision 100 OS X servers machines on demand in the cloud.
replies(1): >>11395778 #
720. recursive ◴[] No.11395775{5}[source]
Apple is pretty user-hostile. Moreso than MS in my estimation. Try changing the battery in your iphone, or getting music on it without using itunes.
replies(3): >>11395877 #>>11395935 #>>11397706 #
721. nekkoru ◴[] No.11395778{4}[source]
I don't think anyone has tried it, but is there a reason why it couldn't be done?
722. Quiark ◴[] No.11395784[source]
Assuming that Microsoft _ever_ becomes relevant again.
723. jarcane ◴[] No.11395789{5}[source]
Mac game "developers" do. :(

Thanks to TransGaming and Cider, a lot of Mac "ports" are just a Windows executable running in their proprietary fork of Wine. To predictably awful result.

724. rkangel ◴[] No.11395793{6}[source]
Which at least partly because have become much more complex things. Complex systems with many electronic and mechanical systems interacting need complex tools to debug.
replies(1): >>11395826 #
725. akerro ◴[] No.11395801{5}[source]
>That's huge in a lot of situations. Some things - not a lot, granted, but some, like FreeBSD's C++ stack and compiler - are even upstreamed back to mainstream open source projects by Apple employees.

^ Citation need.

replies(1): >>11395830 #
726. rkangel ◴[] No.11395803{8}[source]
Yes, I will "just use Windows" when all the dev tools for my embedded environment are only available for Windows.

And when I'm stuck on Windows for whatever reason, I'll be immensely grateful to be able to do that with a bash shell and all my normal configuration and tools.

727. recursive ◴[] No.11395813[source]
You have to opt-in to the feature.
728. edwinyzh ◴[] No.11395824{5}[source]
Correct! The last time I wanted to npm-install a CLI but it needs gyp, I'm not familiar with the node thingy and I gave up after several failed attemps including installing the VC++ runtime, Python, etc....
729. creshal ◴[] No.11395826{7}[source]
Only partly. There's no technical reason why you need to have 70 differently wired connectors to access the engine computer's UART port… and why they cost over a hundred dollars each.
replies(1): >>11395986 #
730. creshal ◴[] No.11395830{6}[source]
Clang/LLVM?
replies(1): >>11410036 #
731. fauigerzigerk ◴[] No.11395832{7}[source]
>That's anecdata

Sure, that's what this whole thread is about. But I'm afraid that there is causality involved that we know about without collecting any sample data at all.

Developers of Linux device drivers for consumer devices quite often do not have access to all the hardware and information they need. And hardware makers quite often do not make high quality Linux device drivers for their consumer devices. For most consumer laptops, the vendor will not do integration testing to make sure everything works well together on Linux.

I don't think the right response to that is to deny that the average laptop or peripheral will work better with Windows. The right response is to make it clear that you have to make very deliberate hardware choices if you plan to use Linux and accept that much of the hardware you can use is always going to be slightly dated. And that is in fact what many Linux advocates are saying.

Choosing a Mac also restricts your hardware choices quite dramatically after all, so if a broad selection of hardware is your goal, Windows is the only game in town.

732. eertami ◴[] No.11395838{5}[source]
>I will happily keep on paying high price for the Apple products in the future too as long as all of my personal data is not being broadcasted

Yeah I'm sure all those celebs that had all their nude photos stolen from icloud would totally agree that Apple takes great care with personal data.

Are you trying to justify needlessly spending 600$ on a phone every year? That's your prerogative, you don't have to convince strangers on the internet.

replies(2): >>11395872 #>>11396159 #
733. creshal ◴[] No.11395844{3}[source]
The difference is, Chromium and V8 are open source. JScript and J/Direct were not.

Apple took KHTML and when it started to fail, forked it into WebKit. Google took WebKit and when it started to fail, forked it into Blink.

When IE6 started to fail, the whole industry suffered. (And is now suffering again as Apple refuses to allow any other rendering engine but their failing WebKit port on iOS.)

734. _pmf_ ◴[] No.11395859{3}[source]
OS/2 had no initial market share, i.e. there were very few initial developers. Windows still has a lot of developers (LOB applications) who don't want to touch Linux with a ten foot pole.
735. gchokov ◴[] No.11395865[source]
Windows is going absolutely nowhere.
736. fsloth ◴[] No.11395867{3}[source]
People are different and have different constraints and optimization parameters. I'm not disagreeing with you as much as pointing out that not all people hold the same things as important as you do.

In my context as a software engineer or as a private individual I didn't find your argument convincing from the point of view that it would expose any specific problems that are of my concern. If I was responsible for confidential data my views might align more with yours.

"As long as Microsoft continues to disrespect the rights of users in regard to privacy, data-collection, data-sharing with unnamed sources..."

I'm already giving up most of my privacy in the general context when using an off-the-shelf cellphone (in the sense that I have no idea how much data leak my daily cell phone use causes and I'm fine with it since I have no time to implement a personal data safety plan).

If I wanted privacy I would stop using technology altogether. I just want things that a) work with b) minimal financial risk.

"when most of what makes Linux special (respect for the user) has been stripped away."

Sorry, for me it's the "Linux the technology stack", that make it special, not the "Linux the philosophy".

"please don't sell your souls and the future of software technology for ease of use"

For me personally, 'ease of use' is the single most important optimization parameter when choosing technology. Although, in my definition, this encompasses things not only directly related to daily use, but include license cost, security and data loss prevention. The most important thing I care very much for is retaining copy right to my own data.

Why 'ease of use'? Because the only thing that truly constrains me in this world, is time. As in, how long I have to live, and how much effort I need to reach my goals. When put in this context, I don't care of the philosophical implications of the way I solve problems and implement things - I just want them done.

I.e. if the product does what I want, I don't really care of the philosophy. Perhaps I have too much faith in market forces and jurisdiction prohibiting monopoly but I fail to see much personal benefit in an all encompassing "platform philosophy" as to me, technology platforms should focus on solving real life problems.

"please don't sell your souls"

I don't pour my soul into the technology platform I use. I pour my soul on the design itself - the implementation on the platform is just the implementation of the design that could very well live in an abstract turing machine. Although the implementation running in live hardware is much, much more fun (and exposes the bugs).

replies(1): >>11397817 #
737. ts330 ◴[] No.11395868{4}[source]
Oh stop complaining like MS is the only company to do this. Twitter is just as complicit in this sort of behaviour. If you're going to base your entire business on someone else's platform, don't start complaining when the earth shifts and you suddenly find yourself without foundations.

You take risks and bets in life and business. Use the tools that give you the greatest flexibility and build a robust business. In this case, these announcements increase that flexibility.

While everyone here keeps complaining and debating Embrace/Extend/Extinguish, someone is embracing the changes and out-executing them. I know which I'd rather be.

738. riotdash ◴[] No.11395872{6}[source]
"Yeah I'm sure all those celebs that had all their nude photos stolen from icloud would totally agree that Apple takes great care with personal data."

All systems have had and still have security flaws. There is a world of difference between having a unknown vulnerability (which affects and will affect all platforms) and intentionally spying on users and stealing their information.

replies(1): >>11395999 #
739. WatchDog ◴[] No.11395873{3}[source]
Am I missing something or does this only run on apple hardware, yet apple don't make any server hardware?
replies(1): >>11397462 #
740. sametmax ◴[] No.11395880{3}[source]
By different you mean they stopped using patent trolls to bully competition and make money out of Linux based software ? You mean they started to implement open formats ? Or do you mean they started to change their PR team so that now, we got a different image of them ?
741. barrkel ◴[] No.11395881{6}[source]
NTFS supports 32k file names; the Win32 & Win64 layers, by default, only support PATH_MAX (260) characters for backward compatibility (compatibility with Win16, ironically enough). You can opt in to longer paths by prepending paths with '\\?\' to disable path length checking, but the check itself exists in the Win* layers. I would expect the Linux layer doesn't apply this check.
replies(1): >>11396563 #
742. fauigerzigerk ◴[] No.11395888{7}[source]
I was speaking in the context of the question I was replying to, which was "why would you not just go with a Linux desktop for that?"

More specifically, it's the state of Linux device drivers and integration testing for laptops and consumer peripherals I'm complaining about. That's not a result of any inherent deficiency of the Linux kernel or its design. It's ultimately an economics issue.

743. bechampion ◴[] No.11395890{3}[source]
Also .. Linux is more than userland... mmu , cfs , kernel things in general ... i'd like to see real benchmarking of this.
744. tychuz ◴[] No.11395896{7}[source]
i miss absolutely zero linux software.
745. _pmf_ ◴[] No.11395916{3}[source]
> there's a philosophy behind the system. Users first!

This is true for a certain type of users (developers deploying on Linux).

For a different class of users (desktop/laptop users, or developers developing on Linux), Linux has a documented history of "Fuck you very much".

Microsoft has recognized that there is a large overlap between these two classes.

746. peterashford ◴[] No.11395928{5}[source]
J++ was an example of the "extend" approach. They made a Java that was not compatible with the standard.
747. creshal ◴[] No.11395929{3}[source]
> -For Canonical, it reinforces the idea that Ubuntu == Linux, which is really good for their bottom line

And Microsoft manages to undermine RedHat at the same time. Win-Win for them, why the Linux community should be excited about it, I don't know.

748. creshal ◴[] No.11395935{6}[source]
> Try changing the battery in your iphone

Try changing the battery in your Lumia.

replies(2): >>11396264 #>>11396700 #
749. tychuz ◴[] No.11395979{7}[source]
>Freedom People are not interested.
replies(1): >>11403801 #
750. kagamine ◴[] No.11395986{8}[source]
Or why the error codes are kept secret from the user, resulting in only the dealership, not your local independent, being able to fix some things.

And also the requirement of specialist tools to do non-specialist jobs like set the engine timing, and then charging a lot for purchase of the tool. It will be interesting to see how serviceable electric cars become once they are old enough to start being parted out and the used market expands to those who 'just need something to go from A to B'.

751. nxzero ◴[] No.11395999{7}[source]
All systems have flaws at some point, but not all systems equal in terms of exploitable value for the effort.
752. nxzero ◴[] No.11396015[source]
It is possible this is the beginning of the end for Window and Linux too. Basically the strategy would be to get all the user to switch to a priority (aka propriety) version of Linux, much like Google has done with Android.
replies(1): >>11396030 #
753. hydromet ◴[] No.11396017{4}[source]
Yes partycoder, it sure would be interesting to hear what "neckbeard" RMS has to say about this move by Microsoft today, would it not?
replies(3): >>11396067 #>>11396402 #>>11410030 #
754. creshal ◴[] No.11396030[source]
Canonical has been trying that for a long time, what with Ubuntu having a huge semi-proprietary code base not shared with any other distribution (Mir, Unity, own font rendering, Launpad/bzr for development, …).
replies(1): >>11396277 #
755. hydromet ◴[] No.11396051{5}[source]
> Microsoft during their monopolic era was much more beyond that, they were going for all.

Yes, absolutely. Bill Gates was not a "nice" man. These days many people fawn over him "oh he's so lovey dovey, he's going to save the world with all his money as a philanthropist". LOL -- how many have actually sat at the same table (behind closed doors) with Billy boy pounding the table telling everyone attending (ISPs, major telecoms) how Microsoft was going to run the show, run the world. Microsoft is a ruthless company. Satya Nadella was part of this ruthless culture when he first joined MSFT 25 years ago. Why would the ruthless culture of Microsoft suddenly change because they've figured out how to peg Ubuntu Linux to the kernel? Ever hear of a Trojan Horse? This announcement today sure smells like horse manure.

replies(1): >>11396623 #
756. espadrine ◴[] No.11396065{3}[source]
> Linux isn't just about running apps - there's a philosophy behind the system.

It isn't just about the philosophy either. Not to me.

Linux offers a stellar scheduler, phenomenal file systems such as ext4 and XFS (soon ZFS!), cgroups… the list goes on.

replies(1): >>11411565 #
757. partycoder ◴[] No.11396067{5}[source]
I think he has a full fledged beard making him not fit into the neckbeard type.

RMS was foresighted enough to make licensing a core part of open source. I have a deep respect for the man.

The Achilles heel for open source software remains to be patents. In that regard I think many proprietary players still have the upper hand.

replies(2): >>11398574 #>>11410027 #
758. maaarghk ◴[] No.11396082[source]
It says in the article that they have reimplemented Linux syscalls in the windows kernel.
759. ◴[] No.11396094{6}[source]
760. ionised ◴[] No.11396104{5}[source]
It uninstalled CPU-Z and a couple of other things for me during the first update.
replies(1): >>11399652 #
761. hydromet ◴[] No.11396114{5}[source]
> If Microsoft ever decided to pull support, nobody would be left unable to run their software. These are the same Ubuntu binaries that run on Linux, and anyone could move over to that if they wanted to.

That's a good point. Its all about having real options (freedom to move) and minimal switching costs. That said, I'm still concerned about a possible Trojan Horse scenario here whereby Linux on Windows is the hook to try and get people into the proprietary Windows dev tools (Visual Studio etc.) and checked into the Azure "roach motel" cloud (easy to check into, hard to check out).

> Big companies like Microsoft aren't monocultures. They have some really amazing people, even if not everyone is perfectly enlightened.

Microsoft most definitely has some amazing and talented people, but I disagree with you about culture: the culture of any company is undoubtedly set from the top down (the founders or directors). Please do not be so naive to think Satya Nadella does not set the culture at Microsoft, (hierarchical in nature). This isn't to say there may not be some fiefdoms within a company as large as Microsoft, but there is an overarching culture and it comes from the top.

> Many of us don't just use one computer.

This is probably true for some, but some people might only be able to afford one computer. One scenario I can see which might be appealing to a developer, as of this announcement yesterday, is using a MacBook with Apple's Boot Camp to partition the internal drive such that one could have as many options as possible (OS X on one partition, and Windows 10 with Linux on the other).

> GNU won against all odds. It's here to stay, proliferating across so many devices. I'm happy to welcome people who might not have ventured outside Windows into the family!

It would be really cool to hear what RMS (Richard Stallman) thinks about this. I wonder if he's be up for an AMA on Reddit to address this seemingly earth shaking announcement by MSFT?

762. coldtea ◴[] No.11396135{8}[source]
>The "UNIX savvy guy" will just use Windows when he needs to, either in a VM, a Azure windows instance or his company provided laptop and call it a day.

Still missing the fact that he could be needing them 24/7 for his work...

763. JorgeGT ◴[] No.11396154{7}[source]
I just saw this demo video https://channel9.msdn.com/Events/Build/2016/P488?ocid=player where they demonstrate how the Ruby rack webserver runs flawlessly through the localhost address so it looks like you are totally correct. Awesome!
764. rdsnsca ◴[] No.11396159{6}[source]
Apples security was not breached, those celebrities fell for a phishing scam.
765. sbarre ◴[] No.11396211{5}[source]
Because when i switched to OS X - over 10 years ago - I still needed access to Photoshop, MS Office and other modern business tools, most of which are still not available on Linux to this day.

And also because the user experience of OS X (and the "just works" aspects of the OS in general) is far above that of any Linux desktop.

766. Guest91283 ◴[] No.11396223{10}[source]
"You are making it sound like they are forcing, or even automatically upgrading Windows 7 to Windows 8, or Windows 8 to Windows 10. They aren't."

That's not true. They're automatically upgrading computers. Read some of the thousands of below comments to hear the stories. My Windows 8.1 laptop automatically scheduled itself to upgrade, and I was fortunate enough to be paying close attention to cancel it.

https://www.reddit.com/r/technology/comments/4a0asv/warning_...

https://www.reddit.com/r/pcgaming/comments/4a5edx/psa_window...

replies(1): >>11397530 #
767. willtim ◴[] No.11396238{9}[source]
That's great that it works for you. But for Skylake hardware, Displayport MST is completely broken and Intel have no plans to fix. The major players simply are not heavily investing in desktop linux, leaving the community to try and fill the gaps.
768. osweiller ◴[] No.11396262{4}[source]
This thread and discussion is about Microsoft. Comments like yours -- these "cry for Microsoft...what about others!" are misdirected and totally out of context.

But if we really need to be juvenile and discuss everything to discuss anything, Apple is a greedy, voracious company. They are never presented otherwise, and cynicism meets all of their activities. But it's open and honest, and Apple doesn't try to be who they aren't, and users don't treat their actions as selfless gifts to the world. We all expect almost everything Google does to somehow pull in more ad data, to pull people to the fold, etc.

It's only with Microsoft where this naive "oooh, whole new company. So good" nonsense appears, and it grows incredibly tiring and seems more like a bad astroturfing campaign.

replies(1): >>11400152 #
769. johnchristopher ◴[] No.11396264{7}[source]
My Lumia 640 has replaceable battery. It might be a windows phone though.
replies(1): >>11397699 #
770. nxzero ◴[] No.11396277{3}[source]
Obviously, Canonical isn't Microsoft, though who knows, anything is possible; maybe Google will acquire Canonical.
771. asddubs ◴[] No.11396308{6}[source]
I think game developers are a bit of a unique case, because a large chunk of the linux gaming community is pretty hostile towards wine ports. There is no linux proprietary application community
replies(1): >>11399077 #
772. TheRealDunkirk ◴[] No.11396327{4}[source]
Stellar work, missing and proving the parent's point. Simply stellar.
773. deckar01 ◴[] No.11396334{6}[source]
I just meant electronics stores have display models you can try before buying. I think my local stores carry Thinkpads, maybe they were IdeaPads.
774. dragonwriter ◴[] No.11396355{3}[source]
I'm pretty sure you have the things on the wrong sides of the "much less" in your first sentence (unless you intend to say that Microsoft is more like the company it was 25 years ago than the one it was 3 years ago.)
775. nthcolumn ◴[] No.11396366[source]
Yeah, embrace, extend, extinguish. I don't think it is about that though as they can easily be ignored now. I imagine that they are genuinely losing enterprise traction. If I were on windows I'd run some docker or a VM. I would NEVER compile g++ via openssh from Visual >BARF< Studio. Really in your enterprise you should have a macbook/chromebook on your desk (at home or in the office) and a linux server in the cloud. Unix everywhere now. Bye bye windoze.
776. hathym ◴[] No.11396383[source]
Will cygwin die?
777. nthcolumn ◴[] No.11396402{5}[source]
On calling people 'neckbeards' (and other pejoratives): https://forums.meteor.com/t/why-no-stack-overflow/20158/16

I think he would say what he has always said about secret software. He's fairly consistent in that regard.

778. cturner ◴[] No.11396439{4}[source]
I think it would be difficult to do a full unix experience on the Windows kernel because the forking will never be as fast. I'm not going to cite facts, so be dubious of this, but let me try to explain.

There's lots of layers within the Windows kernel. They give a lot of functionality, and from many perspectives are superior to unix. For example, it would be far easier to write a massive and robust and sensible init system on top of Executive Services than it is on top of unix. But, I can't see how they get the extra functionality except by introducing larger overhead for things like forking. And certainly in my previous experience of NT, forking has been incredibly slow.

Everything-is-a-file is much talked about with regard to unix. But fast forking is far more significant. Apache happened because of fast forking. Shell pipes assume fast forking. The way that you write shell scripts assumes fast forking. One of the reasons that cygwin has never felt right to me is because the forking is sluggish. I don't think that's cygwin's fault, I think it comes from the design of the Cutter kernel.

The hybrid they're offering here is probably the sweet spot - getting the strenghts of Windows, but getting access to a full unix layer.

779. TheRealDunkirk ◴[] No.11396454{3}[source]
> Microsoft is a very different company than it used to be.

Based on what, exactly? That they opened part of .NET, except that it's only the web stack, and not the part everyone wants (WinForms)? That they released a reskinned version of the Atom editor? That they announced the release of a Linux version of SQL Server, except that it will be a simplified version, absent of the enterprise features? That they submitted C# to ECMA, as though this allowed anyone to port a realistic application to another platform, or that the world has any use for a closed-source language and compiler today? That they allow you to run Linux VM's in Azure, as though Azure could be competitive if they didn't?

Now this? I mean, sure, there are times I'm working in Visual Studio, and it would be convenient to use some shell commands like "cut" and "sort" without having to use Excel, but the implication of this announcement is that I'm going to do serious work with GNU tools under Windows? Like, I'm going to do Linux-type development work while being hamstrung by reboot every couple of days for the next someone-can-take-over-your-computer-by-looking-at-it-cross-eyed patch?

Maybe you haven't been in this business for 23 years, and haven't seen how many products Microsoft bought and spiked to make sure to keep their stranglehold on the ecosystem. (I'm still bitter about Groove.) Now Microsoft is on the precipice of being as irrelevant as the IBM they mocked 20 years ago, and these moves are only at attempt to extend their relevancy a little longer, but which don't actually mean anything.

You say Microsoft is different. If, by that, you mean that they're making a lot of moves that seem like desperate attempts to make people remember they exist in the post-PC era, then, yes, I agree. Until Microsoft releases Office and Exchange for Linux, they will never been seen as anything other than Gates'/Ballmer's Microsoft in my eyes. Office suites are hardly important any more, and lots of companies are just using Google apps instead of Exchange and AD, but that's the kind of move they'd have to make for me to take their "Microsoft Loves Linux" campaign seriously.

replies(2): >>11401718 #>>11404142 #
780. TheRealDunkirk ◴[] No.11396498{3}[source]
Now we're talking. I don't expect it'll ever be as smooth to develop with Rails under Windows as it is under actual Linux, but if it were as good as OS X, I'd say this was a success. But, then again, maybe this subsystem really will make it feel native. As a matter of fact, this was the only use case I could come up with to test the implementation of this announcement. I'd like to think that I speak for enough people to make it worthwhile to suggest that you should do a writeup on your experiences with this. I'm strongly reconsidering letting my main machine re-upgrade to 10 to try it, but it works really nicely for gaming right now, without any other cruft. ;-)
replies(1): >>11474171 #
781. Natanael_L ◴[] No.11396514{4}[source]
Nothing stops then from making architectural changes that is in conflict with how native Linux systems behave, which the Linux community is unwilling to adopt.
782. tripzilch ◴[] No.11396522{5}[source]
> basically all of the information gathering that people complain about with Windows can very easily be turned off. In fact, for the most part the installation wizard actually leads you through how to turn it off. For me that makes it a non-issue, although I understand that some feel differently.

It's absolutely not a non-issue when I was helping my mother set up her new Win10 laptop.

She doesn't want to be tracked, I don't want her to be tracked.

But currently she is being tracked by Microsoft very much.

As are millions of other people that REALLY do not want to, if they had the choice.

There was no wizard when I got there to help her. Obviously she had set up most of the laptop herself because she's not intimidated by computers and really pretty good with them (at age 66). Except she couldn't get email to work.

And neither could I, btw. She wanted two accounts in the windows 10 default mail client, one from the ISP and a very old hotmail account. Somehow this just wouldn't work and the stupid mail client was actively hiding the information I (or she) needed to troubleshoot the problem (not just a bit, I got like zero information. and a numerical error code. it's beyond me why MS would want to translate standard error messages from IMAP and SMTP into something even more cryptic). I ended up installing Thunderbird, which works.

But I digress. My mom is not a HN-reader, so she hadn't quite heard about Win10's totalitarian surveillance features, and when first setting up her laptop she wasn't quite sitting there in the adversarial position of "I'd rather brick my system than let it spy on me" that any of us would need to assume in order to later claim "the information gathering that people complain about with Windows can very easily be turned off". She doesn't want to be tracked, so I'm sure she ticked off a couple of the checkboxes that were clear about it.

But maybe not the ones that popped up warnings about your system. Or the ones that were misleadingly worded as if they are something beneficial ("just like the US government does" is not really a bar for good intentions) that you need to Google to figure out what they really mean. Or the tiny checkboxed that only explain their maliciousness in a very tiny font next to the big friendly letters that just want to steam you through the wizard. (I didn't see any wizard, but this is the deliberately misleading I remember from win8, obviously intending to grab as much private info from users while pretending to give them a choice).

During the afternoon I helped her, I only had time to set up the email and do a few other things. In addition of having to wait through 45 minutes of some giant update, which upset her a bit because it was a brand-new laptop, high-end thingy, why did we have to wait for things to happen? Damn right. The longer I'm on Linux, the more and more ridiculous it seems to have the OS yank control from you at what are probably the most inopportune moments (boot-up and shutdown ... really?!)

So I didn't have time to help her, Google for all the privacy options in Win10 and disable them.

What you probably don't know, because you "easily" disabled them right away, is that after this initial setup phase, Win10's remote surveillance features are as quiet as they can possibly be. (until you try to disable them of course at which point they'll scream bloody modal murder)

And with her, that situation is by no means unique. There are millions upon millions of sufficiently able people running Windows that are currently being tracked, against their wishes, because the options are misleading and/or hidden. And they even pay Microsoft for the privilege ...

So yeah no. Just like computer security in general isn't about you being safe and protected from criminals, that's easy enough, unless you're being targeted, if you are clever and paying attention, don't click the shady popups/emails and you're mostly fine.

Criminal phishers or ransomware peddlers would be out of a job (or be more clever) if everybody has the knowledge like that.

Just like Microsoft wouldn't have even bothered doing all that work on their surveillance tracking systems if the features would have been as "easily turned off" for everyone that doesn't want to be tracked.

Just like any whitehat hackers, on the rare occasions I hear them about the fundamental moral reasons why they do what they do, in addition to "hacking is fun" (also goes for grey/blackhat), is every time not because they and their tech-savvy friends need their protection, no we're catching the bad guys and fixing the vulnerabilities because our mother, grandfather, neighbour, partner, nephew and that friendly man at the cigar/magazine cornershop need the protection because they don't want to be hacked just as much as we don't, but not everyone has the time to dig into computers as deeply as us to protect ourselves.

And you know, those very same people also don't want to be tracked, given the choice. At the very most they'll shrug and admit defeatedly "well, yeah, ... I don't mind so much, I guess" -- because to them it seems to be price to pay for not having to really dig deep into their system and just be able to use that laptop for email and web-browsing.

But no, they don't really want to be tracked. It's NOT a choice, for them, it factors as an additional cost of being able to use a computer.

Source: I teach people (of all ages, but mostly children 8-18y) general computer usage. None of them want to be tracked. None. The ones that even claim they do, I haven't met a single one that, after sitting down and talking for a while, didn't just boast "oh, I don't care" because the alternative would be admitting that they don't have the skill/knowledge to fix the situation, or because simply not using Facebook because it's creepy as fuck, would be social suicide. That's not a choice. It's not a choice!

Just because we (hackernewserpeoples) are clever enough to opt to not pay that cost because it's technically optional, doesn't make it a "non-issue".

replies(1): >>11405877 #
783. golergka ◴[] No.11396525{4}[source]
Given that most users in the world fut that description perfectly, I'm quite glad that Microsoft adopted such aggressive auto-update policies. I try not to use Windows if I can, but I enjoy living in a world with less botnets.
784. nslindtner ◴[] No.11396537[source]
Check out the docker app for Windows (Beta now). Pretty sure this is the road they are heading.
785. grovulent ◴[] No.11396563{7}[source]
OMG best answer. Thank... you!
786. grovulent ◴[] No.11396589{7}[source]
I'm using atom - I wonder if it has a plugin that will ease ssh pain... thanks for the suggest!
787. mpnordland ◴[] No.11396606[source]
I just can't see them being willing to support all the different and weird configurations (like space bar heating) that exist. I don't believe I have a weird configuration, but I've run into old bugs that nobody wants to fix before, so I really don't think I'll switch to Windows. I just can't imagine that it will be any easier in the long run.
788. grovulent ◴[] No.11396622{7}[source]
>Is it really that bad?

I was going to agree with you and admit I was being melodramatic...(well - I mean, saying that it makes me cry was certainly melodramatic - I don't really), but y'know what... it's definitely not ideal.

e.g. Scrolling in my ide.. sometimes lines of code don't refresh properly until I scroll back and forward a few times.

And with dev server, webpack watchers, test watchers open plus browser with a few tabs... yeah - it can get pretty sluggish. Maybe I'll try throwing a few more gig ram at the VM.

789. wmccullough ◴[] No.11396623{6}[source]
Explain to me how it could be a Trojan horse when it's their own OS that they are modifying? They aren't exactly going in and sabotaging the Linux kernel project here...

There's also a logical fallacy that because Nadella worked for MS for the past twenty five years, he's as power hungry as Gates. This reeks of the type of elitist nonsense the keeps people from wanting to adopt Linux.

EDIT: Removed insult, came with arguments instead.

replies(1): >>11421197 #
790. cturner ◴[] No.11396671{3}[source]
But that was a whac-a-mole, probably for getting boxes checked for whatever it is that audit departments did before sarbanes oxley. That they've gone with linux here shows that their focus is mainstream developers. Consider - it their main focus here had been EEE then BSD would have been a far better starting point. The GPL is far more restrictive than the BSD license. The one major area where linux wins over BSD is in drivers and that's irrelevant here. Apart from drivers and package management, BSD is a better platform. They could have found (or bought) a partner in the NetBSD community to do the Canonical stuff.

Now some here would respond to this as - well - what they've done just shows how big the conspiracy is and how far it extends! There's never a full comeback to that. But I think there's a more straightforward explanation.

The straightforward explanation would be this. Windows is no longer relevant in the way it once was - the cloud is the new platform, and people use tablets and phones. And - a lot of developers hate Windows. OSX has emerged as the dominant developer desktop.

They've realised some combination of this, and formed a company directive, "make developers love us".

Even if it means giving developers non-Windows platforms to work with. Like dot net for linux. Or MSSQL for linux. Or free Visual Studio for linux. Or linux that runs on a Windows kernel. Making a solid effort to do linux for azure. And basically giving away Windows as a desktop. Whatever. The things developers need, they're trying to do that. They want to be where the developer are. They're putting their back into it.

The business case is the kind of vague thing that startups take - find some users, make them love us, and then we'll work out how to make money from it.

Imagine the first reaction in the Redmond office when someone read out the feedback post asking for vi and apt-get. Groans all around. But someone in that room responded to the laughter with an "I know, I know" smile and asked, "OK, but what would it take?" And then everyone perked up, and had some fun with the conversation. And they came up with this. And someone saying "shit, we /could/ do that, and it would be amazing!" The people who were in that room will remember that as a career event.

I think it's cool. I want to play with it.

replies(2): >>11398638 #>>11409386 #
791. prirun ◴[] No.11396676[source]
I won't be running Ubuntu on Windows 10, because I'd never run Windows 10. It's like inviting Microsoft to take up permanent residence with me, and eventually, I'm sure I'll be the one paying for the privilege.
792. jagermo ◴[] No.11396677[source]
Does anyone See any possible security problems with that Setup?

It looks so promising and fun, i hope you can secure all that additonal capabilities.

793. toxican ◴[] No.11396700{7}[source]
And I'll try changing it in my Nexus. We're at the point where the inability to change your battery is pretty common place on flagship phones.
794. ausjke ◴[] No.11396730{3}[source]
how did you do it? wine or virtualbox? am I missing something?
replies(1): >>11397143 #
795. versteegen ◴[] No.11396746{3}[source]
So does this mean that creating a process (or forking one) can be fast if you omit the Win32 state table and initialisation for the new process? And if so, do you think it would be possible to get fast forking by using Native processes instead of using the Linux emulation layer (assuming that NT actually has an API to CoW-map an existing process' memory, which might be internal to the Linux-on-Windows subsystem)?
796. chrisdotcode ◴[] No.11396861[source]
> A team of sharp developers at Microsoft has been hard at work adapting some Microsoft research technology to basically perform real time translation of Linux syscalls into Windows OS syscalls.

We've actually even seen this before: https://en.wikipedia.org/wiki/Microsoft_POSIX_subsystem

(EDIT: To nitpick, I think the MS POSIX subsystem actually implemented the POSIXy standards as native code, as opposed to the translation layer that's mentioned here).

replies(1): >>11397045 #
797. scholia ◴[] No.11396874{7}[source]
> if Apple really wanted to mess with Microsoft, they could make OS X installable

Microsoft once offered to help Apple to make Mac OS a widely-used industry standard. Apple decided it would rather sell $2,500 PCs than $50 software ;-)

http://scripting.com/specials/gatesLetter/text.html

798. criddell ◴[] No.11396962{11}[source]
> good battery life

What? The M3800 had terrible battery life under Windows and it was even worse under Linux.

799. endemic ◴[] No.11397006{3}[source]
> As long as Microsoft continues to disrespect the rights of users in regard to privacy, data-collection, data-sharing with unnamed sources, tracking, uncontrollable OS operations (updates, etc) - I will never go near it.

You've taken the words right out of my mouth. At first blush, Linux interop on Windows seems like the best of both worlds, but in reality you're giving up a lot more than you gain.

800. facorreia ◴[] No.11397045{3}[source]
Also similar to the discontinued Windows Services for UNIX (SFU) and Subsystem for UNIX-based Applications (SUA).

And reminescent of Cooperative Linux, although that worked at the driver level and allowed the actual Linux kernel to be used.

801. wtbob ◴[] No.11397143{4}[source]
I use the web browser version. Some years I've had to change my user-agent header, but I've always managed to successfully submit my federal & state returns.
802. yoklov ◴[] No.11397192{6}[source]
OpenAL is neither good nor reliable. Sadly, nothing on linux has the quality/reliability of DirectSound.
803. yoklov ◴[] No.11397240{3}[source]
I wouldn't expect (commercial) games to use this, even indies. Gamers (on Windows) are extremely harsh if you ship a buggy product, and this tends to be what happens for most linux ports. Gamers on linux are more forgiving since it's very hard to guarantee quality on linux, so they're more used to it. I'd be surprised if anybody wants to give that up on windows.
804. creshal ◴[] No.11397462{4}[source]
They used to; nowadays you're apparently supposed to rackmount Mac Pros:

http://www.sonnettech.com/product/rackmacpro.html

805. Spivak ◴[] No.11397496{4}[source]
You mean like audit?
replies(1): >>11402441 #
806. kbenson ◴[] No.11397530{11}[source]
That was a mistake. I find it beyond belief that they would intentionally upgrade people without confirmation or notification. As much as they would like people to upgrade, they know this would be PR suicide. At a minimum they would have had notifications that it was going to happen, and made it opt out. To my mind, that it was automatically checked but in the optional updates section points towards it being a weird bug in which an unforeseen interaction of attributes caused the problem. For example, it's possible that selecting that you did want to upgrade to Windows 10 through the popups they showed was supposed to put it in that weird state, where it was optional but checked by default, which would be a non-normal situation for an update. Weird exceptions like that are very prone to bugs.
replies(1): >>11400936 #
807. gumby ◴[] No.11397549[source]
I'm not being deliberately obtuse: I don't really understand how this helps anyone particularly much.

(OK, I assume there's a small number of developers who develop, or at least debug, for both systems and prefer windows as a development environment, but I assume that number is small, at least on Microsoft's scale).

If you're developing to deploy on Linux but are more of a Windows dev, this helps you, but that doesn't help Microsoft ship more server OS licenses.

If you're a Windows dev this is irrelevant.

If you're a linux (or posix only) dev I don't see how this helps you much. It does help a person like me, who only uses Windows when I need some weird tool like a compiler for an exotic embedded part or vendor-supplied FPGA tool that only works under Windows -- again, not a large enough market t move the needle.

Could the market be CIOs? I.e. demonstrating "hipness" in a way that can be verified when the CIO asks the devs "does this really work the way MS claims?"

Obviously it's not opening the huge number of popular Linux desktop apps to the Windows environment. :-(

replies(5): >>11397556 #>>11397590 #>>11397641 #>>11397866 #>>11408855 #
808. cmiles74 ◴[] No.11397552{5}[source]
I agree that Apple is much more pragmatic right now. IMHO Microsoft is looking to emulate Apple in this regard: leverage open source when it makes sense, release code back to open source projects when it makes sense.
809. larsiusprime ◴[] No.11397556[source]
Never having to run Cygwin again sounds pretty great to me!
810. NateDad ◴[] No.11397565{8}[source]
I have one that is now 2.5 years old. Specs-wise, it was basically top of the line. Quad Core i7, 16GB RAM, 500GB SSD, 3200x1800 touchscreen, GeForce 750m GPU (which was one of the best mobile GPUs back then). It has a lot of nice touches that lower end models don't have, like 2 or 3 USB3 ports, with 2 or 3 USB ports that have power even when the laptop is off (super handy for charging a phone on an airplane while your laptop is still in your bag, for example). Wireless N networking, HDMI and MiniDP connections, able to drive two external monitors at once along with the laptop screen (up to 1920x1200 over HDMI and 4k over miniDP). The touchpad is pretty decent. backlit chicklet keyboard with variable brightness. SD card slot, 1/4" headset port... the only thing it's missing is an ethernet port, but that's just because it's too thin for the port. A USB3 gigabit ethernet adapter is cheap and works great.

And it's pretty damn light for a 15" laptop. Easily one-handable (I think it's like 2 pounds IIRC).

And what's great is that you can crack it open and replace stuff - I swapped out the hard drive and replaced a malfunctioning battery myself with just a torx screw driver (super tiny torx, but still, no glue or special tools or anything).

It was pretty expensive - like $1900 IIRC. You're paying for the high res screen, better build quality, and thinness/lightness. But it's still like $500+ less than an equivalent macbook.

replies(1): >>11406624 #
811. NateDad ◴[] No.11397576{6}[source]
Just to verify, watched a video that explicitly said that it does get around the path limit (though if you then go look at those files in explorer, explorer "has problems" whatever that means).... but that's just because explorer still uses the legacy APIs that do have a path limit.
812. mcintyre1994 ◴[] No.11397590[source]
> If you're developing to deploy on Linux but are more of a Windows dev, this helps you, but that doesn't help Microsoft ship more server OS licenses.

Could it be something to do with helping Microsoft sign up more Azure customers using Linux? Windows dev, Linux on Azure deploy, end to end Microsoft.

813. randiantech ◴[] No.11397608[source]
If any software company would decide to use the same strategy adopted 25 years ago, then all of them would horribly fail. Context is different, mission and vision as well. I honestly dont see how is this similar to any of the examples you mention. This is MS targeting developers like me that decided to buy an MBP over a Windows laptop (In my case: A MBP over an XPS). IF I would have bash, I'd buy XPS.
814. gooseyard ◴[] No.11397642[source]
can someone confirm whether this is derived from MSR's Drawbridge research? (http://research.microsoft.com/en-us/projects/drawbridge/)
replies(1): >>11398082 #
815. Slippery_John ◴[] No.11397641[source]
I work on a platform agnostic python tool. It's just so much easier developing python on a nix system, but I'm restricted to either an old version of enterprise linux or OSX. I love linux, but I don't love having to customize everything to get a workable environment. I tolerate OSX, but if it wasn't nix I would never touch it.

Now Windows has some pretty major issues (utf-8 in CMD is agonizing), but it comes out of the box more usable (to me) than either OSX or the vast majority of linux distros. If I can have my nice window management and also the ubuntu user space, I'll be a very happy camper.

816. altendo ◴[] No.11397656[source]
I'm interested in the security implications that this will bring. Extra features bring extra potential attack vectors, and this is one doozy of a feature.
817. creshal ◴[] No.11397699{8}[source]
Hah! You're right. Microsoft's own devices actually do all have replaceable batteries, only (most of) the older Nokia-branded Lumias have soldered batteries.
818. JoeAltmaier ◴[] No.11397706{6}[source]
Sure. But aren't we past changing batteries? They're less an issue than changing screens these days. And screens have never been easily replaceable. Its just us old folks who expect the battery to come out.
replies(1): >>11397997 #
819. dr_zoidberg ◴[] No.11397715{5}[source]
While not open source, I've seen parts of the windows source (never really had the time to read it in full detail) in my work, most probably coming from the MS vs EC situation some years back[0]. Yes, there are still hidden parts (docs mostly, I recall my friends doing memory forensics research had a "fun" time to get information on IP connection structures for example), but it's not as secretive as many people think it is.

[0] https://en.wikipedia.org/wiki/Microsoft_Corp_v_Commission#Si...

820. smitherfield ◴[] No.11397730{5}[source]
Apple is a hardware company while Microsoft is a software company.
821. robertcorey ◴[] No.11397782{4}[source]
could you link to this?
822. jupiter2 ◴[] No.11397817{4}[source]
It saddens me to hear you say this as a developer, a builder, an engineer of our technological future and infrastructure.

It falls on Developers - moreso than any other group - to be aware of the dangers the work they perform produces and for whom their work benefits. They must all be aware of the abuses of our basic rights and human dignity modern Private Enterprise engage in.

When these same Enterprises pull developers from a system (or systems) that value our individual rights to one that tramples all over them... it angers me. It begins to limit the Philosophically, user-empowering, alternatives we have. When developers rejoice over the actions of an abusive Enterprise, it disheartens me. It feels like the bigger picture is somehow being missed.

To paraphrase Benjamin Franklin: 'Those who give up their freedoms for temporary ease of use deserve neither and will lose both.'

I do not mean this to sound harsh. You can both work within the current technological framework (as we all do) and, at the same time, rail against a future that runs counter to our core beliefs. It's ok to do both. It's ok to work within a Microsoft-produced framework and at the same time let them know that some of what they're doing is counter to your belief system as a private, law-abiding individual.

What we must not do is defend the Police State we're currently building. It runs counter to everything we hold dear as a democratic and free society. Counter to the best kind of future we can envision for ourselves and future generations.

The chasm between the 'haves'' and the 'have-nots'* is only getting wider. The very concept of a fair society where all men are created equal diminishes. Enterprise OSes produced by Microsoft, for example, have privacy-enabled features the common man does not have access to. The common man - you and I - are now constant targets whereas Corporations, those in Government, those in law enforcement and many others accustomed to living above the law continue live under a different set of rules. This is the emerging new standard.

China will soon get a special build of Windows 10 without telemetry, without "phoning home". I am certain that this special build will contain the same kind of malware and abusive spyware that benefits the Chinese Government over it's own citizens. So... we, possibly have, an American software company building and deploying tools for repressive regimes. Yet we have become so complacent, there isn't even a discussion about it. That's how bad things have gotten.

We shouldn't pretend that this philosophical disconnect is not the biggest change in development. It is essentially the only real difference between Operating Systems/Working Frameworks. As good people... I'm saying that we should never, ever defend it, accept it and be complacent about it.

replies(1): >>11399062 #
823. milkytron ◴[] No.11397866[source]
One of the things that excited me most about this is the ability to ssh. I have a feeling that is going to be incredibly useful instead of having to use PuTTY or some other client.
replies(1): >>11415376 #
824. doktrin ◴[] No.11397942[source]
> typical Microsoft strategy

> utilized a lot 25 years ago.

I don't know about you guys, but I'm not gonna hold onto that grudge forever without good reason. The world's changed a lot since gif's of Calvin pissing on bill gates were all the rage.

replies(1): >>11400827 #
825. nix0n ◴[] No.11397985{4}[source]
Next time, go to a Run box and type services.msc, there you can turn off the Windows Update service, the Trusted Installer service, etc. You've got to be willing to pop the hood: admittedly MS tends to hide the hood release lever.
826. wvenable ◴[] No.11397986{3}[source]
Exactly. There are tons of ports of Linux software to Windows but if this becomes successful and popular there is no reason to ever maintain a Windows port.

But perhaps at this point it's important for Windows to stay relevant in an open source world.

827. recursive ◴[] No.11397997{7}[source]
Those of us that aren't drinking the apple kool aid aren't past changing batteries. And I'm old. Perhaps Apple is just old-person-hostile, which amounts to about the same thing for me.
828. tingol ◴[] No.11398000{6}[source]
Measuring Linux maturity by chromebooks is silly though. It's a hack. Linux on bare metal works really well these days. Especially if you use a machine that has linux in mind (ie dell xps).
replies(1): >>11399484 #
829. recursive ◴[] No.11398003{7}[source]
Serious.
830. wvenable ◴[] No.11398074{4}[source]
"I doubt reprogrammable 256-color mode is on microsoft's roadmap..."

http://www.nivot.org/blog/post/2016/02/04/Windows-10-TH2-%28...

831. zzzcpan ◴[] No.11398082[source]
No, the whole thing was created from scratch. Linux processes even live in a separate address space and are not showing up in a task manager at the moment. At least that's what they said. You should watch both videos posted here somewhere.
832. neves ◴[] No.11398089[source]
How do I get it? I want it now!
833. SudoNhim ◴[] No.11398467[source]
Winners and losers from my perspective: - Linux CLI beats Windows CLI - hopefully I can go the rest of my life without learning to use Powershell or cmd.exe. If anything this cements rather than undermines my preference to use Linux on embedded devices and webservers. - Windows desktop environment beats Linux environments. I'm now less likely to use Unity/GNOME/KDE in my desktop OS, because, while they are ok, they were never one of the reasons I used Linux for my desktop.

I'm not sure which OS this helps/hurts more in the long run, but I know I'm happy.

Disclaimer: I work for Microsoft (double disclaimer: but I'm almost fresh out of university)

834. sebringj ◴[] No.11398553[source]
Now if they can just run XCode, we are on to something.
835. reitanqild ◴[] No.11398574{6}[source]
The Apache License helps in this regards as far as it is used, doesn't it?
836. tw04 ◴[] No.11398629[source]
What's the benefit of breaking up compatibility? What's the end-game there? The whole point of this, beyond allowing developers to develop without having to run a VM, is to allow *nix apps to run on Windows. If they break that compatibility... people will just ditch Windows. They don't care about the OS, they care about the apps that run on top.
837. mavhc ◴[] No.11398638{4}[source]
http://brianreiter.org/2010/08/24/the-sad-history-of-the-mic...
replies(1): >>11426099 #
838. fsloth ◴[] No.11399062{5}[source]
You make it sound like all developers were developing the equivalent of nuclear weapons.

The few hours of recreational computing I perform daily have no effect on how the world works. To imagine otherwise would be hubris verging on insanity.

The software I write at work cannot be used to invade anyone's privacy.

I see what your point is but totally fail to connect it to my personal daily reality.

839. fl0wenol ◴[] No.11399077{7}[source]
> There is no linux proprietary application community

Except in CAD, academic tools, analytics, mod/sim, graphics, industrial automation... basically anything that used to run on Unix or might use a fortran library somewhere.

840. jsight ◴[] No.11399170{5}[source]
I have been hearing this for about 20 years now. It still isn't true.
841. btym ◴[] No.11399484{7}[source]
I briefly tried switching to Ubuntu on my desktop a few months ago after being unable to compile some CUDA project on Windows. Gave up after spending several hours trying to figure out why it refused to set one of my monitors to anything other than 1024x768. Linux is easily the best operating system for productivity, but there are still too many issues to make it as comfortable as OSX or Windows for everyday use.
842. homero ◴[] No.11399652{6}[source]
Yeah it's my fucking computer, don't uninstall, don't restart, if I wanted an ipad I wouldn't buy a Lenovo desktop dicks. Then it made sure candy crush was installed. Wtf? This isn't a game, I have work to do Microsoft! I like monitoring my $300 i7 not play games on a $1k pc.
843. manigandham ◴[] No.11399696{4}[source]
I dont follow how this is relevant to my comment...
844. bithush ◴[] No.11399804[source]
Does anyone know if this will allow me to run GBD in tui mode on Windows?
845. madmax96 ◴[] No.11400077{3}[source]
Firefox runs fine on FreeBSD, as does chromium.

That's your opinion, and your certainly entitled to it. I value simplicity, and IMHO it's easier for me to wrap my head around FreeBSD than Linux. I've used Linux of course, but I consistently find that it (the userland, system configurations) violates the rule of least surprise. If Linux works for you, certainly use it. Just realize a lot of us UNIX guys aren't thrilled about Linux, and aren't going to be thrilled about this subsystem because we have different values than the Linux community.

And by the way, FreeBSD's init system solves a lot of the same problems that systemd solves, albeit in a more transparent fashion. Zfs is also great. FreeBSD users have enjoyed containers now for quite some time, and didn't need Docker to do it.

Your remark about the supposed antiquity of FreeBSD reveals a fundamental ignorance of its technologies and principles.

846. kayoone ◴[] No.11400152{5}[source]
I am a regular on HN and have a different impression, in that many people are much more critical towards MS while Apple/Google are generally the good guys. Apple is the savior of privacy while Google are the engineering wunderkinder. Even in the Xbox vs PS4 discussions MS is usually the bad privacy invading company in bed with NSA while Sony is the gamers best friend. To me it seems MS can do whatever they want, change as much as they want, they will never be "cool" while at the same time people gloss over Apples anti-competetive practices or Googles data collection obsession.
847. Mafana0 ◴[] No.11400477{4}[source]
What I meant to say is that all companies try to follow where the market is. Microsoft isn't doing that just because they are losing their leadership in the market (which the OP claimed).
848. khattam ◴[] No.11400768{3}[source]
>and Azure requires GNU/Linux

No it doesn't.

replies(1): >>11405298 #
849. khattam ◴[] No.11400809{5}[source]
>In a lot of ways, Android repeated the exact same thing. Dalvik applications won't run in the Oracle JVM.

No, because Android is not a JVM, was never presented as an alternative to Oracle JVM... and never intended to replace existing Java VMs anywhere.

850. khattam ◴[] No.11400827{3}[source]
It's not that they tried to use it once... they have tried to use it multiple times over the years.
replies(1): >>11426620 #
851. khattam ◴[] No.11400934{5}[source]
>Why not just use Linux?

I would LOVE to ditch OS X and run Linux on it, only problem is NO DISTRO supports latest hardware. There are always things that don't work and it gets tiring.

I tried to run Ubuntu on my old Dell Laptop... there would always be some issues related to graphics card, wifi or some shit, overheating, battery drain... or something not working. At the end, had to go for Windows with Ubuntu on vagrant boxes and Desktop Ubuntu in Virtualbox.

Then on my new Macbook Pro, I wanted to run Ubuntu 14.04... but of course, so many things don't work... like right clicking on the touch pad, WiFi or such simplest of features you'd expect to be supported in such widely available and pretty standard hardware... but NOPE. So, it's vagrant and Virtualbox running mostly Ubuntu on OS X again. I am actually considering installing Windows and running Linux on a VM inside it.

852. justinclift ◴[] No.11400936{12}[source]
Really wishing you were correct. :/

MS have been pushing Win10 onto Win7/8(.1) end users for what seems like a few months now, continually escalating how forceful they're being.

eg recent IT media about it:

  http://www.theregister.co.uk/2016/03/17/microsoft_windows_10_upgrade_gwx_vs_humanity/
As you mention, it seems like straight out PR suicide.

Personally, it would be useful to know what their end game is justifying all of this bad karma. It'd have to be fantastic. Either that, or someone inside MS is seriously out of control. :(

replies(1): >>11401016 #
853. kbenson ◴[] No.11401016{13}[source]
While that's a wild situation, and MS is not behaving well, it's not quite forcing a Windows 10 upgrade. It's forcing people to be nagged about it, and causing problems in corporate IT departments where they do not want to upgrade and it keeps subverting their control.

It's not good, but it's not forcing upgrades either (which is liable to get them sued).

replies(1): >>11401035 #
854. justinclift ◴[] No.11401035{14}[source]
Hmmm, I really get the impression it's doing a lot more than just nagging. Direct examples mentioned here:

https://news.ycombinator.com/item?id=11285488

replies(1): >>11401173 #
855. khattam ◴[] No.11401124{6}[source]
>Just out of curiosity, what does a Linux desktop offer that's not also natively offered in Mac and also highly polished?

I use Mac OS X and this is what I miss about Linux:

- Clean package/software management and updates.

- Basic customizability without having to install 3rd party binaries from untrusted sources

- Multiple filesystem support (NTFS write not supported out of the box... needing 3rd party software... ext support has to be compiled, breaks with updates... generally PITA)

- Easy installation of software/libraries from source (generally PITA to set up toolchain to compile general cross platform open source software)

- Proper desktop environment (the one that OS X has is shit compared to Gnome)

- Proper file manager (the one that OS X has is shit compared to Nautilus)

- Up to date and standard command-line tools (The ones in OS X are old... for example check the version of unzip... they can't unpack zip files created by new zip tool)

- Better command line system wide file search (I love mlocate, the one in OS X is shit)

- Ability to run docker natively

856. kbenson ◴[] No.11401173{15}[source]
Whoa, I missed that. I was thinking of the prior case where it "accidentally" became recommended, but this casts that prior episode in new light. I can't imagine what they are thinking.

Unless... There's some fundamental core security problem in earlier Windows versions that isn't in Windows 10 and they don't want to tip off anyone to what it is, because it's so large and egregious it opens them up to a lot of liability and lawsuits. Okay, I'll take my tinfoil hat off now...

857. unscaled ◴[] No.11401718{4}[source]
Windows Forms is just a wrapper around the GUI parts of the Windows API. Even if they do open it it won't help anyone port Windows Forms to anything else, since the real display logic is implemented in the huge legacy codebase that is user32.dll, gdi32.dll and so forth.

Now, I would be glad if they open source WPF, which is very well designed GUI framework that could be great for cross platform apps, but it seems like they've kinda abandoned the XAML front. Even releasing existing code to open source takes resources, and Microsoft is not charity.

I'd say the same thing about porting Microsoft Office to Linux. Microsoft has, in fact, released Office apps for Android, and they would definitely rush to release office for desktop Linux if it had a non-negligible number of users. Maybe next year - after all 2017 is poised to be the year of the Linux desktop!

So Yeah, I think Microsoft has really changed. Of course it's all because they're not the market leader anymore and they need to survive! Yes, they can no longer succeed just by making a buggier version of tech X and pimping it on MSDN Magazine and have flocks of developers run to implement their latest version of COM++. So what? It doesn't make it any less real.

You should be suspicious about Microsoft's motive as much as I'm suspicious about Google or Apple or any other large company. But bringing up Embrace, Extend and Extinguish every time Microsoft does something makes you sound only a little less anachronistic than writing their name with a dollar sign.

replies(1): >>11404373 #
858. unscaled ◴[] No.11401766{4}[source]
This is definitely bad behavior from Microsoft that amounts to patent trolling, but that's still way better than the old Microsoft was. They weren't the only ones though, as any of the fancy patent lawsuit maps of the smartphone patent wars would show you.

Apple was notorious for suing Samsung of using the patented shape of a rectangle and while this was a misrepresentation of the way design patents work, most the patents they've used in their lawsuits were frivolous as well.

859. YokoZar ◴[] No.11401928{6}[source]
The problem here is that Wine is buggy, not that application developers aren't all rewriting everything.
860. noelsusman ◴[] No.11402126{8}[source]
It originally said "Linux runs great on Macs!" Not sure why it was edited.
861. superobserver ◴[] No.11402441{5}[source]
Sure. But hey, I'm trying to fit in with all the hip Microsoft-loving shil... I mean hackers here. :)
862. jug ◴[] No.11403675[source]
I'm not too worried. This is not a full Linux software stack, so it seems more useful to make Windows a more attractive development platform, but what you develop on this would still be for Linux and not instead of Linux.

It might in theory tempt developers to migrate from Linux to Windows more comfortably, with both userlands now available at once, but this doesn't really attempt to make that process easier, other than that.

Besides, I don't feel like Windows is a that attractive platform to develop for nowadays with the cesspool that is Windows Store, the pointless new Universal Windows Platform when your apps need to follow a weakest link due to an almost non-existing Windows Phone market, combined with their lack of leading position on the web.

I think all this is what's bothering Microsoft, because with no development steam, the whole platform suffers a lot. I think the transition at Microsoft lately is happening because they are transitioning from a comfortable leader to a competitor, not because they are trying to squash the competition. They probably long for the days when they were in a position to still have that luxury.

863. cyphar ◴[] No.11403801{8}[source]
I am a person, therefore a subset of people. I am interested. QED. Not to mention that that wasn't the only thing I mentioned, it was just the first because it's the most important.
864. stevetrewick ◴[] No.11404142{4}[source]
>Office suites are hardly important any more

A solid majority of the people on the day side of the planet who are looking at a computer right now are looking at an Excel or Word document.

MS Office has 1.2 billion users [0] (and that probably doesn't include unlicensed users). That's pretty important.

[0] http://news.microsoft.com/bythenumbers/planet-office

replies(1): >>11404357 #
865. TheRealDunkirk ◴[] No.11404357{5}[source]
Well, maybe I'm taking a longer view than that. You know what those 1.2B people staring at Word and Excel are USING them for? Ad-hoc content management systems and data query systems, which they, then, store in Windows file systems, and send to everyone and their brother all over the company in email, duplicating the storage. They're using those applications because no one has come along to write a dead-simple web app to automate what they're using them for, and make it much easier to work with and share the data.

Over half of my 25-year career has been involved with making applications to actually address the business need that people were working AROUND with Word and Excel. I can't complain; it's been a pretty good deal. I'm doing 2 side projects to replace Excel sheets with Rails apps right now. But with more and more "apps" on smartphones and web sites, on the low end, and gargantuan cloud apps like Evernote and Google apps, this space is going to continue to shrink.

The thing that probably won't die is friggin' PowerPoint. If I had a nickel for every slide I've had to look at...

866. TheRealDunkirk ◴[] No.11404373{5}[source]
Well, I didn't bring up EEE, and I agree that I don't think it's technically feasible to make WinForms available on other platforms. To clarify, I was just addressing the misconception of the announcement.

The year of the Linux desktop is the year that "the desktop" no longer matters. With all the smartphones and tablets, and single-board computers making embedded products, we're juuuust about there. ;-)

867. partiallypro ◴[] No.11405298{4}[source]
It doesn't require you to use it. Microsoft requires it to make their Azure platform viable. Microsoft couldn't just have a Windows based cloud platform, it requires Linux to succeed...which is exactly what I meant.
868. alchemism ◴[] No.11405877{6}[source]
I recommend a tool like this one to quickly disable the various Windows 10 logging and tracking services if you don't want to hunt through menus and settings.

http://www.winprivacy.de/english-home/

869. wmccullough ◴[] No.11405934{3}[source]
The true reality is that Microsoft could do anything, and the anti Microsoft crowd will never be satisfied.
870. Pwngea ◴[] No.11406624{9}[source]
Wow, sounds awesome. Was thinking about getting a macbook but probably won't anymore.
871. msellout ◴[] No.11407816[source]
If they had announced this on April 1st, the media attention might have been even better.
872. baobrien ◴[] No.11408215{5}[source]
It's not a game, but LTSpice from Linear doesn't have a Linux release because it runs on wine; though, they do try to make sure it works on wine.
873. e12e ◴[] No.11408473[source]
You might enjoy scoop (http://scoop.sh):

  ~ $ scoop search grep
  main bucket:
    busybox (1.24.0-TIG-1778) --> includes 'egrep'
    gow (0.8.0) --> includes 'egrep.exe'
    grep (2.5.4)
    nim (0.11.2) --> includes 'nimgrep.exe'
    pcregrep (10.20)
    rktools2k3 (1.0) --> includes 'qgrep.exe'
  ~ $ scoop install grep
  installing grep (2.5.4)
  loading http:(...)grep-2.5.4-bin.zip from cache...
  checking hash...ok
  extracting...done
  loading (...)grep-2.5.4-dep.zip from cache...
  checking hash...ok
  extracting...done
  creating shim for grep
  grep (2.5.4) was installed successfully!
  ~ $ grep --version
  GNU grep 2.5.4

  Copyright (C) 2009 Free Software Foundation (...)
Getting colors to work is a bit of work, as windows conhost doesn't quite come with vt100 support out-of-the box yet:

http://www.nivot.org/blog/post/2016/02/04/Windows-10-TH2-(v1...

But that's just a:

  ~ $ scoop install conemu
  installing conemu (150813g)
  downloading (...)
Note that conemu is in the "extras" "bucket" for scoop:

  scoop bucket add extras
874. richardthered ◴[] No.11408855[source]
It will help me.

I work for a big consulting company - 70k employees. Corporate standard is a Windows laptop for everyone. But, most software development is done for Linux environments.

I hate windows scripting / powershell, so I use cygwin a lot. I don't love cygwin, but it's my "least worst" option. Local linux VMs are too heavy.

So, I'm excited about the option to have a 'real' linux locally, with a working package manager.

875. telotortium ◴[] No.11409386{4}[source]
> Consider - it their main focus here had been EEE then BSD would have been a far better starting point. The GPL is far more restrictive than the BSD license.

What Microsoft has created is binary translation for Linux system calls, like Wine but allowing Linux to run on Windows instead. FreeBSD, among many other OSs, has done something similar for a long time, precisely because Linux is the most popular Unix-like OS. In addition, Microsoft doesn't care about the drivers -- everyone still writes drivers for Windows.

876. cyphar ◴[] No.11410019{4}[source]
I'm confused why you use the phrase "GNU/Linux" but not "free software". I've never seen someone use that combination before.

But as to your point, not all free software licenses are copyleft. The MIT and BSD and Apache licenses are all proprietary-friendly licenses.

And as for requiring to extend the GNU/Linux ecosystem, I don't think that's true. It just looks like they've implemented syscall compatibility with Linux (something that FreeBSD has had for donkey's years and SmartOS has been working on for the past few years). Neither of those technologies resulted in more software specifically for GNU/Linux.

877. cyphar ◴[] No.11410027{6}[source]
> I think he has a full fledged beard making him not fit into the neckbeard type.

> RMS was foresighted enough to make licensing a core part of open source. I have a deep respect for the man.

He founded the free software movement. The open source movement is based on different values (convenience above ethics) which Stallman doesn't agree with.

> The Achilles heel for open source software remains to be patents. In that regard I think many proprietary players still have the upper hand.

Both the GPLv3 and Apache solve this problem. The issue is that too many people are using permissive licenses where it's not appropriate.

878. cyphar ◴[] No.11410030{5}[source]
> Yes partycoder, it sure would be interesting to hear what "neckbeard" RMS has to say about this move by Microsoft today, would it not?

Ignoring your insults toward RMS, you can always send him an email at rms@gnu.org. He responds within a few days most of the time.

879. cyphar ◴[] No.11410036{7}[source]
The joke (I think) being that Apple doesn't upstream a lot of code.
880. tracker1 ◴[] No.11410748[source]
I'm actually happy to see this... it's similar to the efforts Joyent took in getting their docker solution in place.. and I'd be really surprised if that isn't one of the goals for this effort.

I tend to lately have a Linux server VM on my desktop, and then SSH into it to do linux things... not having to setup a VM is a bonus imho... Being able to run actual docker, better still, as handling the VM's copy of docker images, and making them accessible outside isn't always fun.

In the end, I think it's pretty cool, and scary all at once.. mainly because too many developers take no effort to making their apps work across platforms... not just Windows, but the BSD and Solaris variants.

881. Paradigma11 ◴[] No.11411022{4}[source]
Because they changed their position and direction. This was a necessary, rational and defendable choice and not some hollow marketing gag.

The company would be worse off if they do not stick to this direction and start backstabbing. It is bad enough that companies are legal persons, let's not anthropomorphize them even more into irrational evil villains that hold grudges.

882. ramgorur ◴[] No.11411565{4}[source]
and bash
883. ryao ◴[] No.11412719{4}[source]
If they implement dri, alsa and evdev (without subtle implementation bugs), then Windows would be a decent development platform for Linux games and such games could run on both Windows and Linux. If Apple joins the party, it would be write once, run anywhere. :)
884. JdeBP ◴[] No.11415366{4}[source]
You recall incorrectly. Windows NT kernels have been able to unlink open files right from the get-go, at the start of the 1990s. They had to be, in order to support the POSIX subsystem.

When files are manipulated through the Win32 subsystem they are (normally) opened in "deny delete" mode (i.e. without passing FILE_SHARE_DELETE to CreateFile and thence to NtCreateFile). But that's Win32 programs and language runtime libraries explicitly setting the sharing mode flags that they like, not an inability of the Windows NT kernel that is below the Win32 subsystem, nor even an inability of the Win32 subsystem itself.

* https://msdn.microsoft.com/en-gb/library/windows/desktop/aa3...

885. JdeBP ◴[] No.11415376{3}[source]
ssh is, itself, just "some other client".

I suspect that you meant some other graphical user interface SSH client, as opposed to a TUI client like ssh. Yes, a TUI SSH client is useful. I've been using one with SFU/SFUA on a Windows 7 Ultimate machine for some years.

886. JdeBP ◴[] No.11415517[source]
Of course, one could phrase the question the opposite way. Many people have, over the years.

> After all these decades, Unix and Linux people are still limited and encumbered by the antique typewriter-mode way of interacting with a computer?

This sword cuts both ways, remember. In many people's minds, the typewriter-oriented way of interacting with computers -- with all of its concomitant problems of multiple incompatible escape code sequence sets, control sequence tearing, terminal mode enquiry from the host end, modal character encodings, modal display, 8-bitness, 7-bitness (!), and of course all of the modem and serial line hoops to jump through -- is something that the world got away from in the 1980s and early 1990s.

The console subsystems in Windows NT, and in OS/2 1.x before it, provided simple manipulation of cursor and attributes without worrying about which escape sequence set to use or without danger of escape sequence tearing. They provided simple enquiry mechanisms for reading characters and attributes back out of the display, and for reading the cursor. There were no worries about "having bit #7 set", or accidentally dropping into "great runes mode". One could use full UCS-2 (this was pre-Unicode 1.1, remember) if one wanted to avoid worrying about code pages. The kernel didn't impose a fixed number of devices or (at least in Windows NT) a low limit on the total number of consoles. The input stream included both keyboard and mouse events in a single machine-readable form, and application softwares didn't have to decode human-readable (sic) protocols for the latter. Keyboard events comprised key press and release information. There were no worries about BPS settings and carrier detect.

* http://homepage.ntlworld.com./jonathan.deboynepollard/Softwa...

* http://homepage.ntlworld.com./jonathan.deboynepollard/Softwa...

All of these were 1980s advances on the state of the art with respect to typewriter-oriented interfaces, and from them in the same decade we got a whole range of TUI programs (even on MS/PC/DR-DOS) whose textual user interfaces did things like incorporate the mouse, draw UI widgets with actual box/line/arrow glyphs, react to modifier keys as they were pressed and released (the most memorable perhaps being a press and release of the [ALT] key activating the menu bar), and save and restore what was displayed "behind" a window/dialogue box. So one should understand the non-Unix non-Linux world's amazement at people who bemoan the lack of systems inferior to even that.

And after that in the 1980s, they will tell you, we gave you the ability to have graphics with the text, multiple fonts, more than 16 colours, a cross-application clipboard, a unified message queue, message passing between different programs, and so forth.

There's another "after all these decades" question that could be shot back, as well.

> After all these decades, it's only in 2011 that the Unix and Linux worlds finally got a workable mouse event protocol for their typewriter user interface? The OS/2 MOU subsystem could handle 16-bit row and column positions, without any of these problems and in the same recognition that consoles were no longer 80 by 25, in 1987!

* http://www.edm2.com/index.php/OS2_API:DataType:MOUEVENTINFO

* http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Ex...

* http://superuser.com/a/413835/38062

* https://groups.google.com/d/msg/vim_use/lo6PLRUu2Gg/MDcpLf1P...

* http://leonerds-code.blogspot.co.uk/2012/04/wide-mouse-suppo...

There is no "Microsoft cannot do a decent terminal (like we can)" high ground for you to claim.

887. JdeBP ◴[] No.11415575[source]
> I'm failing to see the difference between this, and any other VM?

Then you've failed to take in the point, copiously made in pretty much all of the coverage of this (and often right at the start), that this is not a virtual machine.

This is Windows NT, the operating system designed with "personality subsystems" right from the start, gaining another subsystem that lets it run ELF64 binaries that were compiled to run on top of the Linux kernel.

888. JdeBP ◴[] No.11415671{4}[source]
It's not, though.

Windows NT was designed with multiple "personality" subsystems right from the start. The filesystem that any given "personality" sees is not the underlying system that is seen via the "Native API". They are all reinterpreted views of the NT Object Manager's namespace.

* The Win32 subsystem presents a view where C:\ in a Win32 name is mapped to \DosDevices\C:\ in a Native NT name.

* The POSIX subsystem (at least in the later SFU/SFUA) presents a view where /dev/fs/c/ in a POSIX name is mapped to \DosDevices\C:\ in a Native NT name.

* This Linux subsystem (reportedly) presents a view where /mnt/c/ in a Linux name is mapped to \DosDevices\C:\ in a Native NT name.

\DosDevices\C: is, in turn, a Object Manager symbolic link that points to somewhere else in the Object Manager namespace. (There's also a whole mechanism of "per-login" and "global" symbolic links that I'm glossing over.)

Win32 names relative to \ , D:., and . , and POSIX names relative to \ and . , are also things that are handled within the subsystem (sometimes within a set of conspirator language runtime libraries, in fact) that are mapped by that to the NT Object Manager's namespace.

* The Win32 subsystem itself only supports one current directory, the current directory on the current drive. The Win32 subsystem keeps a handle to that current directory open per Win32 process (and stores the handle value in the Process Environment Block in the process' address space) and remembers what string, including drive letter, it was set to.

* The current directory on another drive is a fiction maintained by conspiring Win32 language runtime libraries, using a set of otherwise hidden environment variables. A Win32 name with D:. is mapped using the value of an "=D:" environment variable. See http://unix.stackexchange.com/a/251215/5132 for how this can make a mess with the (Win32) Bourne Again shell running on Cygwin.

* Win32 names relative to a driveless \ use a Win32-subsystem-maintained idea of a current drive letter, derived from the Win32 "current directory" string that is set, and then go through the mapping to \DosDevices\C:\ (or whatever drive letter).

* The (SFU/SFUA) POSIX subsystem doesn't need such conspiracy, as the POSIX model is to have only one current directory, too. So the POSIX subsystem keeps a handle to the current directory open per POSIX process.

* This Linux subsystem (reportedly) presents a view where / in a Linux name is mapped to \DosDevices\C:\Users\Kirkland\AppData\Local\Lxss\rootfs\ in a Native NT name.

* Presumably, this Linux subsystem similarly keeps a handle to the current directory open per Linux process, and remembers its string. After all, it has to present /proc/self/cwd to Linux programs.

Every Windows NT subsystem has filename mapping mechanisms, and they all present their own "views" of the actual native namespace of the NT operating system kernel. This is not a new filesystem. It's another NT subsystem with its own view of the NT Object Manager's namespace, just as the other subsystems have.

889. JdeBP ◴[] No.11415702[source]
... except that:

* Linux is the part that's being replaced, with the Windows NT kernel and this subsystem.

* The people promoting this are not aiming it at GUI programs. (https://news.ycombinator.com/item?id=11391961)

* The desktop seen on the screen will still be Windows Explorer.

So it's "Linux on the desktop", except in every particular. (-:

replies(1): >>11440106 #
890. smartbit ◴[] No.11415781{3}[source]
Maybe jwildeboer talks about Cloud Native/micro-services/12 factor apps, not client apps.
891. JdeBP ◴[] No.11415786{3}[source]
> This feels eerily similar to the OS2 story and no doubt in the next week I expect to see more than a few articles discussing this very thing.

Although, as others have already pointed out, it differs in some very significant ways.

OS/2 2.x providing Win16 binary compatibility was an after-market system providing binary compatibility with applications made for the operating system that shipped "out of the box". Whereas this is the operating system that ships "out of the box" providing binary compatibility with applications made for an after-market operating system.

(Yes, yes. One could buy OS/2 pre-installed, and one can buy Ubuntu Linux pre-installed. The scale of that, in both cases, is nowhere near significant enough to change the basic fact that overall the two situations are the reverse of each other.)

Also: There was not the extent of existing tools available natively on both platforms, in the OS/2 case. The examples being waved around in the news now are things like Apache, Ruby, Node, and so forth. There wasn't the OS/2-and-Win16 analogue of (say) the Ruby developers deciding in the months to come that a Win32 port is too hard to maintain, and dropping it in favour of just running the Linux Ruby on the Windows NT Linux subsystem. Today's analogue of the OS/2 case would be a universe where there was no Win32 Ruby at all, and the Ruby developers deciding not to start making a Win32 version because the Linux one "is good enough for the few Windows users".

I suspect that drawing parallels based upon what happened with OS/2 2.x and Win16 is a mistake, and those thinking that this will mean an outflux of Windows development "because it happened with OS/2 2.x" (which was more like an influx of development that failed to happen) are indulging in wishful thinking.

There's also the minor matter that, during the OS/2 2.x and Win16 time, there was this little thing called Windows NT lying around, promising a route for OS/2 1.x, where the existing tools were, with its OS/2 subsystem. (It is ironic that we are once again looking at a Windows NT subsystem.) That has no equivalent this time around at all; unless one mis-casts UbuntuBSD (https://news.ycombinator.com/item?id=11326457) in that rôle. It doesn't really fit, though. "Look, all you people with Ubuntu Linux application softwares. Forget that minority Windows thing that you ported to a couple of years ago. Come bring your applications to this new FreeBSD instead." (-:

892. JdeBP ◴[] No.11415843{6}[source]
> My biggest gripe with Windows has been the lack of a decent pseudoconsome system that would allow an ecosystem of terminal emulators to developer, as one has for POSIX-ish systems.

This has been up since the turn of the century:

* http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/ca...

The demonstrators in the Microsoft video do warn that they will be avoiding some of the holes of the system in their demonstration. One is very briefly visible at 08'13", before the demonstrator rapidly clears the screen (again), when they run apt-get to install git:

  E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or directory)
The new Windows NT Linux subsystem apparently doesn't have pseudo-terminals.

The old Windows NT POSIX subsystem (the Interix-derived SFU/SFUA one) has pseudo-terminals with both BSD and System 5 access semantics, in comparison.

* https://technet.microsoft.com/en-gb/library/bb497016.aspx

* https://technet.microsoft.com/en-gb/library/bb463219.aspx

Moreover, a Windows console window that is the controlling TTY of a POSIX program in that subsystem has the POSIX cooked input mode with local echo, and generates escape sequences for extended keys.

893. JdeBP ◴[] No.11415872{4}[source]
This was one of the selling points of the old Windows NT POSIX subsystem (the Interix-derived SFU/SFUA one) over its predecessor. Programs such as "ps" and "kill" can "see" Win32 processes, with POSIX process IDs.

* https://technet.microsoft.com/en-gb/library/bb463219.aspx#EH...

* https://technet.microsoft.com/en-gb/magazine/2005.05.interop...

894. JdeBP ◴[] No.11416376{5}[source]
It is, quite simply, not aimed at launching daemons in the first place.

* https://news.ycombinator.com/item?id=11391961

* https://blogs.windows.com/buildingapps/2016/03/30/run-bash-o...

I strongly suspect that you will never see systemd working on the Windows NT kernel. Getting systemd to work doesn't just involve supporting the Linux kernel system calls, but also involves getting what those system calls do to work as well. It's all very well supporting open(2), but if one cannot open (say) /proc/self/mountinfo or all of the stuff under /sys or many other things (some listed at http://0pointer.de/blog/projects/the-biggest-myths.html), then systemd might load but it won't run and work.

The same goes for upstart. For example: upstart uses pseudo-terminals for logging. The Windows NT Linux subsystem, according to the Microsoft demo video, doesn't implement pseudo-terminals and returns ENOENT when a program attempts to obtain one.

* http://upstart.ubuntu.com/cookbook/#console

* https://news.ycombinator.com/item?id=11415843

Then there's the fact that the Windows NT Linux subsystem doesn't run Linux programs as the first process in the entire system. That honour goes, of course, to Windows NT's own Session Manager. Both systemd and upstart have "Am I process #1?" checks, and operate in a non-system mode if they aren't process #1.

Which brings us on to the fact that Windows NT already has a mechanism for launching daemons. It already has a Service Control Manager that supervises daemons and that talks LPC to control utilities. It already has a Session Manager that handles initialization, shutdown, and sessions. Ironically, it has had some of the things that are "new" in systemd for roughly a quarter of a century. (But some of those "new" things aren't even new in the Linux and Unix worlds, really.)

It's worth observing that the approach taken by the old Windows NT POSIX subsystem (the Interix-derived SFU/SFUA one) is to run daemons under Windows NT's own Service Control Manager. There is a small shim (psxrun.exe) for ensuring that the Service Manager could run and control the POSIX program, doco on what environment a POSIX program should expect when run under the Service Manager, and an Interix version of the service(1) command that understands Windows NT service management and how to speak to it.

* https://technet.microsoft.com/en-us/library/bb463219.aspx#EH...

* http://systemmanager.ru/svcsunix.en/extfile/portapps/service...

It would be interesting to see how some of the daemontools family of service management toolsets -- such as nosh, runit, perp, daemontools-encore, and s6 -- fared on the Windows NT Linux subsystem. I suspect that one would trip over unexpected holes in the Windows NT Linux subsystem (like setuidgid not working because the underlying system calls return EPERM, perhaps). But I also suspect for several reasons that quite a lot would work. The daemontools family uses FIFOs and ordinary files as the control/status API; is composable and loosely coupled and so doesn't lock everything in to Linux-specific stuff (like specific files in /proc, /dev, or /sys) even if one tool in a toolset might need such stuff and permits that one tool to be replaced or otherwise worked around; and can do service management without demanding to be process #1.

So one could spin up svscan, or service-manager, or perpd, or runsvdir; stub out or comment out invocations of setuidgid or runuid with a dummy program if the Windows NT Linux subsystem didn't support that; similarly stub out or comment out invocations of jexec (for nosh service bundles that use BSD jails) and whatever of ionice, chrt, and numactl (for nosh service bundles that use those) don't work; and probably get quite far.

But the big deal would be spinning service management up outwith a Windows NT login session, so that daemons are actually daemonized. The old Windows NT POSIX subsystem actually has an init process (and an inetd) that can spin up other stuff. I strongly doubt, given the very clearly stated aims, that the new Windows NT Linux subsystem has (or will have) anything similar.

895. JdeBP ◴[] No.11416892{3}[source]
Given that Interix is not being brought back from the dead ...

* https://news.ycombinator.com/item?id=11391841

... would you agree with a call for it to be?

896. JdeBP ◴[] No.11417227[source]
The reason why they don't work was actually on-screen, very briefly until Russ Alexander cleared it (again), in the Microsoft demo video. See https://news.ycombinator.com/item?id=11415843 .
897. JdeBP ◴[] No.11417267{4}[source]
Strictly speaking: none of those commands were "included in the distribution" when it came to OS/2. There were of course ports of those commands to OS/2, which one could install. But none of those came in the box.

I believe that that was also true for AmigaDOS, even the post-Commodore versions, but I don't have the firsthand knowledge to state it unequivocally.

898. JdeBP ◴[] No.11417377{3}[source]
> I hope they wouldn't assume everyone's tmux setup uses only characters from codepage 437.

I hope that people here aren't assuming that terminals are all VT100 clones. (-:

The old (Interix) Windows NT POSIX subsystem added escape sequence recognition to Windows consoles when POSIX programs were using them as their terminal output. Such terminals match up with an "Interix" terminal type in the termcap and terminfo databases. Their escape sequence set is not the same as any DEC VT type.

The Dickey ncurses termcap database has an "interix|opennt|ntconsole" entry, although I have encountered systems with ncurses but without this termcap entry and had to add it myself. It is, apparently, wrong. David Given has a different one in LBW.

* https://technet.microsoft.com/en-gb/library/bb463194.aspx

* http://invisible-island.net/ncurses/colored-terminfo.src.htm...

* https://developer.mozilla.org/en-GB/docs/Mozilla/Developer_g...

* https://github.com/sedwards/lbw/blob/master/extras/interix.t...

899. JdeBP ◴[] No.11417401[source]
Maybe you should try Take Command. I've been using it for years. It re-displays Win32 consoles in its own tabbed user interface. It provides its own command interpreter (with all sorts of extra stuff), but one can also use it for Microsoft's command interpreter, Bourne Again shell, Z shell, PowerShell, and so forth.

* https://jpsoft.com/

900. JdeBP ◴[] No.11417412{3}[source]
See https://news.ycombinator.com/item?id=11415843 .
901. JdeBP ◴[] No.11417487[source]
> Let's please all just converge on bash

As (I hope most) Unix/Linux users would respond: let's not.

A good thing about the Unix/Linux world is that there is a multiplicity of shells. And this is regularly taken advantage of. I have systems (for example) where my interactive shell is the Z shell and /bin/sh is the Almquist shell. I have others where /bin/sh is the Korn shell.

The "Shellshock" incident should have told everyone that Bourne Again shell everywhere, for everything, is not a good idea.

In any case, this is not a debate to be won/lost in the first place, as I hope Unix/Linux users would also respond. There are places for shell scripts, places for Python, places for perl, places for awk, TCL, REXX, execlineb, and a whole lot of others. One size, one scripting language, does not fit all.

Indeed, if you do eventually gain all the Ubuntu command-line toolsets from this, your options should broaden to those and more besides, not narrow to the Bourne Again shell.

902. JdeBP ◴[] No.11417562{5}[source]
With UbuntuBSD (https://news.ycombinator.com/item?id=11326681) the equivalent question is "Why not just use PC-BSD?"
903. JdeBP ◴[] No.11417773[source]
> windows won't let you

This is a common misconception. See https://news.ycombinator.com/item?id=11415366 .

> filesystem ACLs are quite different on linux and windows

It's not that simple. Filesystem ACLs are different between TRUSIX-style and NFS-style, too. Try using a TRUSIX-style setfacl on PC-BSD when the volume has been mounted with NFS-style ACLs, some time. (-:

> What will chown and chmod do?

One thing that was noticeable from Microsoft's demonstration video was that everything seemed to be owned by the superuser and have execute permissions. That included a .gitignore and a README.md file.

904. JdeBP ◴[] No.11417932[source]
> Microsoft are legitimising bash as an OS feature for "developers who like unix".

You are imputing far too much power to Microsoft. It's Linux operating systems that have "legitimized" the Bourne Again shell as an operating system feature, long since and with more clout than Microsoft could wield in this regard.

As such, if Apple can stand up to the "pressure" from a quarter of a century of Linux operating systems, several of which are no longer "bash everywhere" in any case, it can stand up to any pressure that the Windows NT Linux subsystem could possibly exert.

Anyway, "developers who like Unix" hopefully also like its long-standing notion, going back to the 1970s, that there is not only one shell. Thompson, Bourne, Almquist, C, TENEX C, Korn 88, Korn 93, MirBSD Korn, Bourne Again, Z, Debian Policy-compliant, Debian Almquist, Friendly Interactive, Yet Another, ....

Given that this new subsystem is touted as giving developers the means to run Ubuntu toolsets, it behooves us all to look and see what Ubuntu (14.04, the same as in the demo video) actually has when it comes to shells:

* http://packages.ubuntu.com/hu/trusty/shells/

905. JdeBP ◴[] No.11418098{5}[source]
> It wasn't a pleasant experience.

In my experience the differing perception of pleasure, certainly with the Interix-derived Windows NT POSIX subsystem rather than the original one, is usually a result of the toolset being BSD rather than GNU. I don't have much trouble with the BSD toolset, myself, especially when switching between Windows and an actual BSD. (-:

In addition to the fact that a number of the "Does this new subsystem ...?" questions are answerable as "No; but the old POSIX subsystem did." (https://news.ycombinator.com/item?id=11416392) the POSIX subsystem has some stuff that we're simply not going to get with a Linux subsystem that has vanilla Linux binaries including libraries right down to the system call level. There are things that only come by adjusting libraries and binaries, because they are above the raw system call level. The POSIX subsystem integrates the user account database access library routines with the Windows SAM, for example. So "ls -l" shows the actual Windows usernames. The POSIX subsystem also comes with a "service" command that understands and can work with the SCM, for another example.

I'd like to see the POSIX subsystem reintroduced. It's a major reason not to use Windows 10.

906. JdeBP ◴[] No.11418162{6}[source]
> The compiler works.

... but is too outdated to be capable of bootstrapping clang. There's very probably a long chain of bootstraps that would achieve it, but there's not a direct route.

> Will users be able to run their own Linux binaries on Windows?

The answer to that is easily determined from the demo video that Microsoft published. In it, Russ Alexander compiles a program with (Ubuntu binary) GCC and and runs it.

Its implicit int in the declaration of main() was jarring. (-:

907. timpattinson ◴[] No.11421197{7}[source]
https://en.wikipedia.org/wiki/Embrace,_extend_and_extinguish
908. cturner ◴[] No.11426099{5}[source]
Hey, I waved away the existing unix solution, and your link corrects me. Your link shows it has a history far richer than I said: real people put real engineering work into it, often through a fog of unappreciative politics, and now their neglected thing is on its way to being killed. I've been there - those poor bastards. At least a couple of people downvoted you. But it was a worthwhile correction. Thanks.
909. doktrin ◴[] No.11426620{4}[source]
Most recently, when?
910. kitsirota ◴[] No.11432912{3}[source]
The wait is literally killing me!

Scott, is there any chance you could drop a hint how soon is "soon"? Will this drop on a Wednesday with other updates or will it be a special release?

Thank you!

replies(1): >>11474164 #
911. kitsirota ◴[] No.11435952{4}[source]
Haha I am running Windows 10 on a macbook pro (bootcamp). So in my case it would be ubuntu on windows on a macbook =P
912. abawany ◴[] No.11440106{3}[source]
Fair point - it was a "clever" and shallow comment on my part for which I paid.

I am not particularly a Windows fan either and have been using Linux since the early 90s - the Linux desktop has always been quite adequate for my needs so it is personally hard for me to see why it is difficult for people to adopt Linux on the desktop. The only reasons I can see are sub-optimal driver support, some Windows application that keeps them locked (for me it is OneNote and its support for handwriting), or general fear.

913. AaronFriel ◴[] No.11445615[source]
Correction: filesystem permissions are not fully emulated, but they aren't disobeyed either. Looks like everything obeys the user's permissions, which is good, but everything under /mnt shows up as 777 root/root.
914. shanselman ◴[] No.11474164{4}[source]
This is in the current Insiders release, NOW.
915. shanselman ◴[] No.11474171{4}[source]
This is actual Linux (minus the kernel) so it should work 99% the same as under Ubuntu when doing usermode stuff.
916. JdeBP ◴[] No.11480800{4}[source]
That makes it seem that the POSIX subsystem only ever did that, which is not true at all. A better explanation is at https://news.ycombinator.com/item?id=11392369 , which gives a version number and a time frame for context. The POSIX subsystem was different in later years.
917. JdeBP ◴[] No.11480831{3}[source]
This makes it seem that the POSIX subsystem only ever did that, which is not true at all. A better statement is at https://news.ycombinator.com/item?id=11392369 .