Live data from Hacker News

Bash on Ubuntu on Windows

blogs.msdn.microsoft.com

101–110 of 434 posts

Re: Bash on Ubuntu on Windows

#102
post #89

Will this be enabled by default ? The ability to do 'curl some-site.com | bash' or ssh 'curl some-site.com | bash' without having to worry about platform compatibility would be amazing.

Why would you ever want to do 'curl please-pwn-my-computer-so-hard | bash'?

http://brew.sh/

`/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/in...

https://rvm.io/rvm/install

`\curl -sSL https://get.rvm.io | bash`

https://www.npmjs.com/package/nodejs-oneline/tutorial

`curl -sL https://deb.nodesource.com/setup | sudo -E bash -z`

It is a trend. I can find more examples, the above is just places I remember seeing this behaviour.

Re: Bash on Ubuntu on Windows

#104

Can anyone comment to how nice or awful running some sort of Linux VM (maybe under Hyper-V) and using Putty to SSH to it for development on Windows would be? This work is promising, but doesn't appear "quite there", yet. I run OSX now, but don't really ever develop directly on the machine and am mostly SSH'ed to Linux hosts for development.

It works not bad, and I did it for some time. The biggest pain points are the lack of integration with the file system (I always forget how to set up shared folders) and that it can be hard to set up a decent ssh client. I use Cygwin ssh and mintty, and then ssh into the VM or external machines. Also there are the usual performance and space issues of VMs.

For this use case, "Ubuntu on Windows" seems to be a nice improvement.

Re: Bash on Ubuntu on Windows

#106
post #37
post #16

So 2016 is _finally_ the year of Linux on the Desktop?

No, Linux on the Desktop has just died. I expect both the KDE and Gnome projects dead within a (very few) years, probably X.org close behind. All hail Winux though. (That's the name for this mix I came up with.) Before you downvote this without thinking ... consider, for example, KDE is severely understaffed and this will deplete them further. Who will bother with X.org bugs and drivers now? What's the point? Who is…

I do all of the things you mention without problem. I don't definitely don't think GNU/Linux will die as a result. First off, syscall emulation will always be clunky. Secondly, many people care about their freedom. Thirdly, what makes you think that a majority of people using GNU/Linux will switch. I haven't had driver or network problems for the past 3 years on any of my various machines.

Re: Bash on Ubuntu on Windows

#107
post #68

Does anybody know if this interface is Linux kernel functions + whatever POSIX is required to run Ubuntu stuff? I haven't seen that addressed, which strikes me as strange because it could have some pretty serious implications. Am I worrying over nothing, or could this make POSIX irrelevant pretty quickly as the new portability standard becomes the Linux ABI. I've cheered on Microsoft's recent moves in open source, bu…

It's Linux syscall emulation. As for the death of POSIX, many unixes have had the same (even superior) functionality for years. POSIX wasn't dead yesterday. It isn't dead today

Re: Bash on Ubuntu on Windows

#108
post #49

I am a little scared from the distinction we are start to make between "computers" and "developers' computers" In most computer nowadays you cannot code (tables and smartphones), are computers doomed to be an expensive tool for few "nerd" ? What will be the impact on computer literacy ?

It's not recent; this developer-user split has been growing for a few years now:

http://boingboing.net/2012/08/23/civilwar.html

http://boingboing.net/2012/01/10/lockdown.html

...and RMS predicted this almost 20 years ago:

http://www.gnu.org/philosophy/right-to-read.en.html

I think the rise of P2P, file sharing, and the openness of the Internet in the last decade significantly narrowed the developer-user gap; and it's been growing since then, motivated by corporations' desire to maintain control over their users.

Re: Bash on Ubuntu on Windows

#109
post #95
post #47

I do not get the hate. This is superb

Many (including me) feel that this is just the start of a new EEE cycle by a panicked Microsoft, and will be killed off by Microsoft once they managed to reverse their current downward trend – just like other supposedly community-/interoperability friendly projects before, e.g. this project's direct predecessor SFU.

Googled for "Microsoft SFU" and found a bunch of Office 365 links before finding the wikipedia page:

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

Re: Bash on Ubuntu on Windows

#110
post #37
post #16

So 2016 is _finally_ the year of Linux on the Desktop?

No, Linux on the Desktop has just died. I expect both the KDE and Gnome projects dead within a (very few) years, probably X.org close behind. All hail Winux though. (That's the name for this mix I came up with.) Before you downvote this without thinking ... consider, for example, KDE is severely understaffed and this will deplete them further. Who will bother with X.org bugs and drivers now? What's the point? Who is…

KDE has always been understaffed and will always be understaffed.

But it has been improving all the time with every single release. The problem is that you (and millions of people who were looking for Linux desktop to "win") are just not excited anymore since new form factors (phones, tablets) arrived.

But I actually think Linux desktop is a winner. There are several high quality desktop enviroments suitable for all kinds of use cases.

Yeah we are not dominating the world. That was a short naive dream in the early 2000. But we have awesome desktops and thats what matters.

Disclaimer: minor KDE contributor but these were my thoughts not KDE's.

Btw, give KDE a try its so good these days :)

Post reply on HN