Live data from Hacker News

Bash on Ubuntu on Windows

blogs.msdn.microsoft.com

201–210 of 434 posts

Re: Bash on Ubuntu on Windows

#201

Earlier quoted context omitted.

What do you mean you "cannot" code on tablets and smartphones? There are nice interpreters and compilers in the official app stores for major mobiles OS, aren't there? I've used Python on iOS, Android and Windows Phone. Also J, Ocaml, some dialects of Lisp, C# and Ruby, that I can remember now (each language on at least one of those OSes, sometimes more than one). Not to mention these devices all come with web browse…

Those are "second-class" or even "third-class" citizens in the ecosystem. Can you use those language interpreters and compilers to write apps that can interact with the system and exchange data with the other apps? That's what makes the traditional, document-centric, PC ecosystem so powerful. While being able to play around with Project Euler can be fun, it amounts to "I can run a Turing-machine simulator" and doesn'…

> Can you use those language interpreters and compilers to write apps that can interact with the system and exchange data with the other apps?

Yes, you can. See https://play.google.com/store/apps/details?id=com.aide.ui

Re: Bash on Ubuntu on Windows

#202

I have to say after the initial excitement, I'm a bit disappointed about how this is implemented. Apparently, there is no or little interaction between the Linux world and the Windows world in this system. I don't see the benefits over running a classical Linux-as-a-process like coLinux, or something like Cygwin or MinGW. The option to run unmodified executables is nice if you have closed-source linux binaries, but t…

I would bet that it will only get better over time and include a fair amount of the things you are talking about in a few years time. It's obviously a big push to pick up the current "I use a mac for development cause it's unix" crowd, I'm sure they're taking it seriously and would want the support for developing in a unix style A+.

How will they pick up the crowd who chooses their OS because it's mostly FOSS and not a branch of the NSA used for mass data collection? Most devs I know care about privacy and it was one of the main reasons they switched from Windows.

Most Linux programmers I know aren't Windows devs as much as the MS shill team would like everyone on social media to believe.

You don't have to be part of the FOSS crowd to support FOSS. I'd wager the majority of the programmers you know would be ecstatic for Windows or OS X to go open source, and if they use OS X/iOS they probably do care about their privacy.

I don't know a single developer that uses a windows phone or a Windows workstation purely out of choice, most devs I know that are ingrained in Windows are using it because they have to.

Stack overflow statistics show that programmers disproportionately choose OS X and Linux over Windows when compared to typical desktop usage (Linux use skyrockets among programmers compared to desktop).

These "Linux programmers who want Windows" only exist on the internet as far as I can tell. No one actually wants to use Windows.

Re: Bash on Ubuntu on Windows

#203
post #114

Earlier quoted context omitted.

I doubt it, and part of me hopes not. This seems like a new possible vector for malware. Microsoft went to great lengths to disallow these kind of one-liners in PowerShell (you need to explicitly add -executionpolicy bypass to even run a script), so apparently they are concerned about users executing random scripts off the net. OTOH, yes, being able to assume bash on a user's installation would be amazing of course..…

> Microsoft went to great lengths to disallow these kind of one-liners in PowerShell (you need to explicitly add -executionpolicy bypass to even run a script), so apparently they are concerned about users executing random scripts off the net. Yes and I fucking hate it, way to cut of useful functionality at the knees.

A lot of my PowerShell scripts are accompanied by shortcuts or batch files that do:

    powershell.exe -ExecutionPolicy RemoteSigned -File whatever.ps1

Re: Bash on Ubuntu on Windows

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

Have you met an average user? The mandatory updates, lack of permissions and sandboxing are only a good thing for a user with typical computer literacy level. Hell, even lack of window management in iOS/Android systems is making UX much more easier to understand for majority of users I know. My granddad, who was an excellent mechanical engineer, have been using computers for the last 20 years, and he still struggles…

The mandatory updates, lack of permissions and sandboxing are only a good thing for a user with typical computer literacy level.

Only if you want to keep them illiterate, which companies are more than happy to do since it means they can be more easily persuaded and dependent consumers.

Re: Bash on Ubuntu on Windows

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

Keep in mind Windows 10 let's the folks at Redmond remotely remove software from you machine. Before you go declaring Linux dead you might want to think about how that could impact you. Not to mention that Microsoft has been known to Embrace, Extend, Extinguish.

This is true for every single popular OS though -- Windows, iOS, Android. Not that it's good, just that's the reality.

Re: Bash on Ubuntu on Windows

#207
I am still on Windows 8.1, so if anyone that tries it can confirm if this works well with ConEmu and if Vim works well? Also, what the performance is like compared to running stuff on full stack linux. Also, does one have access to full hardware, like GPUs? That would be a good start. On Windows, my tool of choice was/is Babun... but damn 32-bit cygwin and it tends to get real slow (git especially so).

Re: Bash on Ubuntu on Windows

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

You couldn't really code on an Atari 2600 or a Super Nintendo either, but all of us somehow turned out OK. I wouldn't sweat it.

Re: Bash on Ubuntu on Windows

#209
post #190

Earlier quoted context omitted.

That's where I'm sitting. Sometimes I want to jump between gaming and working on personal development projects. Even with an SSD, rebooting anytime I want to do that is just a pain.

If you run on desktop hardware you can use VM with VFIO GPU passthrough. It's much less pain in ass than reboot or work on frankenstein OS.

> It's much less pain in ass than reboot or work on frankenstein OS.

No, it's an incredible pain in the ass to get this working properly, when I could spend 20 seconds rebooting

Re: Bash on Ubuntu on Windows

#210

GNU / Windows That is just GNU running on the Windows kernel. And not the Linux kernel running in windows!

No. This is a "Windows subsystem" [1] that implements a LINUX compatible ABI for LINUX application binaries. GNU has nothing to do with it.

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

Post reply on HN