Live data from Hacker News

Bash on Ubuntu on Windows

blogs.msdn.microsoft.com

121–130 of 434 posts

Re: Bash on Ubuntu on Windows

#121
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 more broad than that. The distinction lies in production versus consumption devices.

Tablets and phones are consumption. You can't do any serious work on them - development included.

This is why laptops and computers have stuck around in spite of the proliferation of cheap, tiny, elegant consumption devices.

So no, I don't think laptops and computers will go away for non-nerds, just for people who don't produce anything.

Re: Bash on Ubuntu on Windows

#122
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 ?

>are computers doomed to be an expensive tool for few "nerd" ?

No. Because of the Glorious PC Master Race - mods, trainers, hacks, overlays etc - these all need dev and root access.

Btw- game modding, cracking, save game editing etc - are the best gateway drugs towards full blown IT career.

Re: Bash on Ubuntu on Windows

#123
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…

> Linux on the Desktop has just died.

It becomes even more approachable by "Winux". Let people learn the basic of the CLI and get comfy with more open source tools -- then reinstall your computer to a Linux distro (and put your Win-only apps in a VM or on Wine) is a small move.

Re: Bash on Ubuntu on Windows

#124
post #117

Earlier quoted context omitted.

Which Microsoft loves to do just as much – XNA, Silverlight, TxF, …

Maybe, personally I look at some of those as transient technologies, MS usually provides a migration path, as painful that might be, to better solutions.

In all these cases the official migration path was "good luck ¯\_(ツ)_/¯"

Re: Bash on Ubuntu on Windows

#125

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.

Hyper-V can work well. I use it very frequently on my Surface Pro 2 with Win10. Currently I'm running FreeBSD 10.3, though in the past I've had Linux distros running in Hyper-V and that was good too.

It's a very convenient arrangement for developing web apps/servers. I have the servers running on FBSD which can be accessed from a browser on the Windows host. This perfectly replicates connecting to a remote server, so when the app is working properly and committed to the repo on the remote host, it's almost guaranteed to work as intended!

When I acquired the SP2 I originally thought I'd dual boot. Turns out that's difficult to accomplish, but in a way using Hyper-V is better because I have Windows and FBSD running at the same time. Of course the VM imposes limits so not optimum for every purpose but good enough for my uses.

I should mention that Cygwin is installed as well. Runs Bash nicely in a terminal, and a good way to ssh to remote servers as well as FBSD in Hyper-V.

Re: Bash on Ubuntu on Windows

#126
post #45

Earlier quoted context omitted.

since you are already up and running may I ask what friends have been asking me? Can you apt-get install zsh ?

Doesn't look like zsh is fully working yet: root@localhost:~# zsh compaudit:105: wait failed: invalid argument compdef:95: wait failed: invalid argument localhost# exit zsh: you have running jobs. localhost# Will have to try again after the next build.

Have you tried it in another terminal emulator (like mintty) or an X session (using a X running on Windows or a VNC X server)?

Re: Bash on Ubuntu on Windows

#127
post #101
post #25

Now we just need someone to make a nice laptop that can compete with the MBP...

Asus Zenbook UX305 series - they are well priced and run both Linux and Windows fantastically.

But battery life is only 6 hours[0]. For the new macbook it is 10 hours[1], the same for the macbook air 13'[2].

I'm aware not all reviews is equal, so pointing out errors or adding better resources would be appreciated.

[0]: http://www.techradar.com/reviews/pc-mac/laptops-portable-pcs...

[1]: http://www.trustedreviews.com/12-inch-macbook-2015-review-ba...

[2]: http://www.notebookcheck.net/Apple-MacBook-Air-13-2015-Noteb...

Re: Bash on Ubuntu on Windows

#128
post #97
post #89

Earlier quoted context omitted.

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

Same reason you want to `brew please-pwn-my-computer-so-hard` or `apt-get please-pwn-my-computer-so-hard` or `please-pwn-my-computer-so-hard.exe`. There's little practical distinction between piping a shell script from a random site or downloading a binary from it.

> or `apt-get please-pwn-my-computer-so-hard`

Installing a package manually vetted by distribution maintainers, signed and verified with GPG, is the same as blindly running a random script off the internet?

I don't think you appreciate how much effort Linux distributions invested into creating safe ways of distributing software.

Re: Bash on Ubuntu on Windows

#129
post #89

Earlier quoted context omitted.

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.

Of course these fucking devops #yolo #hashtag hipsters have no clue of how to safely distribute software.

Re: Bash on Ubuntu on Windows

#130
post #106
post #37

Earlier quoted context omitted.

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.

Same here. I use Windows maybe once or twice a year, and it's always a pain. "Winux" won't change that for me and to be honest, I don't really want to support Microsoft. Sure, I think VS is a pretty nice piece of software, but that's about it - too few reasons to switch.
Post reply on HN