Live data from Hacker News

Bash and Windows Subsystem for Linux Demo [video]

channel9.msdn.com

221–230 of 316 posts

Re: Bash and Windows Subsystem for Linux Demo [video]

#221

Earlier quoted context omitted.

> by far most devs use macOS I'm not sure about this - that seems too extreme of a statement. If there is any winner, it's going to be Windows. IMO, Linux and macOS will be within 5 percentage points of each other. From what I've seen at university, it's something like 60% Windows, ~20% macOS, ~20% Linux (usually Ubuntu). Much more Linux/Mac in the "hackier" courses, usually with a slight majority to Macs. Where can…

http://eclecticist.co.uk/notes/appledesign/images/image12.jp... That's all I need to say about that. As for the reasons.. Devs want a POSIX (macOS, Linux or BSD) system because many of the utilities used are written for that, and much of the infrastructure you will be working with in the future will also be POSIX. Of all the POSIXes, macOS is by far the most capable and stable laptop OS. Macbooks are still unrivaled,…

Not sure a self selected group of college aged kids really counts as an effective sample to qualify that 'by far most devs use macOS'

Re: Bash and Windows Subsystem for Linux Demo [video]

#222
post #173

I'm pretty happy that Windows Subsystem for linux mostly works. I was able to get Don Melton's video scripts for video conversion to work on my Windows machine quite nicely. I do wish they'd update the base version of Ubuntu used to the 16.04 release. I had to update a bunch of the software needed as the releases for 14.04 were out of date. (ruby being the main one)

Looks like Creator's Update will have 16.04: https://blogs.msdn.microsoft.com/commandline/2016/10/19/wsl-...

Re: Bash and Windows Subsystem for Linux Demo [video]

#223

I Still wish they did the opposite. I want to seamlessly run an occasional windows app in linux, and I would pay for it. There is literally zero chance of me switching back to windows for day to day usage. Edit: idobai, I can't reply because your account is banned, but last I tried Wine and Crossover do not work for the apps I am trying to use. Edit 2: cyloneyes, you're banned too. But "They" would be Microsoft. They…

> I want to seamlessly run an occasional windows app in linux, and I would pay for it.

Please define "seamless" in this context.

If you mean that you want to have the running Windows apps appear as window in your Linux environment, VirtualBox has a Seamless mode that will do that. I haven't tried it, but what I find with Google seems to say it works as expected. VMware Fusion (on the Mac) has a similar mode called Unity. The VMware one seems to work well enough, but I haven't tried it extensively.

If you want to be able to open files in Windows applications from your Linux environment, I'm not sure if this is possible. VMware Fusion (on the Mac) has this - I can right-click on files in the Mac and see various Windows programs on the "Open With" list. I don't know if this feature exists on VMware for Linux, but it would be worth investigating. I'm not aware of an equivalent with VirtualBox.

Combined, these two features would probably give you the closest thing to a seamless environment that you can get.

If you just want to run Windows on Linux and are willing to put up with the friction of using a VM, VirtualBox does a decent job and makes it fairly painless.

Re: Bash and Windows Subsystem for Linux Demo [video]

#224

Earlier quoted context omitted.

> by far most devs use macOS I'm not sure about this - that seems too extreme of a statement. If there is any winner, it's going to be Windows. IMO, Linux and macOS will be within 5 percentage points of each other. From what I've seen at university, it's something like 60% Windows, ~20% macOS, ~20% Linux (usually Ubuntu). Much more Linux/Mac in the "hackier" courses, usually with a slight majority to Macs. Where can…

http://eclecticist.co.uk/notes/appledesign/images/image12.jp... That's all I need to say about that. As for the reasons.. Devs want a POSIX (macOS, Linux or BSD) system because many of the utilities used are written for that, and much of the infrastructure you will be working with in the future will also be POSIX. Of all the POSIXes, macOS is by far the most capable and stable laptop OS. Macbooks are still unrivaled,…

That's an anecdotal photo and an off-the-cuff rationale.

Here's data:

https://stackoverflow.com/research/developer-survey-2016#tec...

~50% Windows, 26% OSX, 22% Linux, for the average "developer-who-fills-a-survey-on-stackoverflow".

And I doubt anybody will argue that the masses of developers who don't frequent StackOverflow are less likely to run Windows.

Re: Bash and Windows Subsystem for Linux Demo [video]

#225
post #173

I'm pretty happy that Windows Subsystem for linux mostly works. I was able to get Don Melton's video scripts for video conversion to work on my Windows machine quite nicely. I do wish they'd update the base version of Ubuntu used to the 16.04 release. I had to update a bunch of the software needed as the releases for 14.04 were out of date. (ruby being the main one)

Looks like Creator's Update will have 16.04: https://blogs.msdn.microsoft.com/commandline/2016/10/19/wsl-...

Yep, I'm running 16.04 on my machine. Works great.

Re: Bash and Windows Subsystem for Linux Demo [video]

#226

Earlier quoted context omitted.

> by far most devs use macOS I'm not sure about this - that seems too extreme of a statement. If there is any winner, it's going to be Windows. IMO, Linux and macOS will be within 5 percentage points of each other. From what I've seen at university, it's something like 60% Windows, ~20% macOS, ~20% Linux (usually Ubuntu). Much more Linux/Mac in the "hackier" courses, usually with a slight majority to Macs. Where can…

http://eclecticist.co.uk/notes/appledesign/images/image12.jp... That's all I need to say about that. As for the reasons.. Devs want a POSIX (macOS, Linux or BSD) system because many of the utilities used are written for that, and much of the infrastructure you will be working with in the future will also be POSIX. Of all the POSIXes, macOS is by far the most capable and stable laptop OS. Macbooks are still unrivaled,…

http://macdailynews.com/2007/10/02/lecture_hall_photo_shows_...

That's apparently the school of journalism...

Re: Bash and Windows Subsystem for Linux Demo [video]

#227
post #199

Earlier quoted context omitted.

I was so split as to whether to show Notepad or Code, but figured that more people were aware of Notepad and would grok what I was trying to demo so went that way. Plus it nicely demonstrates one of Notepad's key weaknesses to help drive awareness with the Notepad team ;)

There's really a Notepad team?

There's not a "notepad team", but there is a "notepad team ;)".

Re: Bash and Windows Subsystem for Linux Demo [video]

#228
post #220

Earlier quoted context omitted.

Sorry for being dense but how is this better than running seamless window Linux under vmware? With that I can also access shared files, etc.

you don't pay for RAM that the VM doesn't use and don't have to deal with madness that is sharing files over sftp/smb/nfs/shared folders/etc.

A smart VM will have ballooning to not throw away unused VM memory.

Re: Bash and Windows Subsystem for Linux Demo [video]

#229

Great! Now does it support SECCOMP yet?

We do implement (at least some of) prctl(), but not seccomp() yet. If this is important to you, please file a bug and the team will triage & respond. https://github.com/microsoft/bashonwindows

I don't use github, sorry! :-(

I was just saying maybe WSL shouldn't be advertised as ready for prime time without SECCOMP-BPF support implemented, e.g: for OpenSSH pre-auth sandbox. At least not in roles where security is paramount.

Re: Bash and Windows Subsystem for Linux Demo [video]

#230
post #188

Earlier quoted context omitted.

For this reason, whenever I try to develop anything on Windows, especially systems related stuff, I will do so in a VM. I may develop a test suite and try running it on Windows, but the Windows Linux Subsystem will never be reliable to me, until it aims to guarantee 100% compatibly.

Bash and Windows Subsystem for Linux is a band-aid solution for a fundamental problem for Microsoft: Linux tooling and kernel are IT industry standards.

People have been developing on OS X outside a VM for a while now, and OS X is most definitely not linux. If they can get WSL to be as linuxy as OS X (and arguably it's already close), Windows will be as good a dev platform for linux development as OS X.

But they really need to fix notepad so it supports unix style line endings. That part of the demo was a bit embarrassing.

Post reply on HN