Live data from Hacker News

Ubuntu on Windows

blog.dustinkirkland.com

351–360 of 933 posts

Re: Ubuntu on Windows

#351
post #8

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?

See this screenshot showing uname -a : https://1.bp.blogspot.com/-PTJrez4z0Jc/Vvr-VH5DQOI/AAAAAAAFH...

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

Re: Ubuntu on Windows

#352
post #190

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…

http://gnuwin32.sourceforge.net/packages/grep.htm

Re: Ubuntu on Windows

#353

Earlier quoted context omitted.

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…

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.

What ad is that?

Re: Ubuntu on Windows

#354

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 ca…

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.

What is M$? Is it a cool way to say Microsoft?

Re: Ubuntu on Windows

#355
post #233

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…

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.

Re: Ubuntu on Windows

#356
post #336

Earlier quoted context omitted.

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.

Is that a big market segment, or do they hope that developers who work on Windows would be more likely to write Windows apps?

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.

Re: Ubuntu on Windows

#357

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).

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 b…

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...)

Re: Ubuntu on Windows

#358
post #336

Earlier quoted context omitted.

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.

Is that a big market segment, or do they hope that developers who work on Windows would be more likely to write Windows apps?

Most likely the latter

Re: Ubuntu on Windows

#359
post #8

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?

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.

Re: Ubuntu on Windows

#360
post #16

Are posix permissions supported/emulated? Or are they set to 777 for all Windows drives in /mnt like shared folders in a VM?

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
Post reply on HN