Live data from Hacker News

Bash on Ubuntu on Windows

blogs.msdn.microsoft.com

381–390 of 434 posts

Re: Bash on Ubuntu on Windows

#381

Earlier quoted context omitted.

This implementation is definitively a work derived from the NT kernel. If reimplementing and API propagates copyright, the only allowed licensing situation would be that MS releases the complete NT kernel under the GNU GPLv2 license. This is not going to happen. And this is not a too bad news, because this might give us leverage (by estoppel) if MS ever wants to litigate against free software on the theory that reimp…

If reimplementing and API propagates copyright, the only allowed licensing situation would be that MS releases the complete NT kernel under the GNU GPLv2 license. The GPL is not that expansive, it only extends to programs built upon GPL-licensed stuff, not for programs that just happen to have a GPL application running on them. A compilation of a covered work with other separate and independent works, which are not b…

I'm not talking about that. I'm talking about the hypothetical situation where an API itself is considered inheriting copyrights from the reference implementation -- similar to what Oracle argued about Java and Android.

Re: Bash on Ubuntu on Windows

#382
post #373

Earlier quoted context omitted.

It is perfectly legal to mention someone else's trademark. Else we would have text in books like "He walked over to the bar and ordered a popular sugared caffeinated beverage made by a company headquartered in Atlanta". You just can't say something that might confuse the reader into thinking that you own the trademark.

But doesn't calling it "Windows Subsystem for Linux" imply that actual Linux is involved, or even included? Suppose I marketed a range of flavoured additives to put in you Coke and called it "Simon's Flavours for Coca Cola"?

IANAL, but that would be perfectly fine ... you are totally allowed to write a piece of software, and say that it's for Windows, or for Mac. Or manufacture a piece of hardware that's for iOS, or Android. Or an aftermarket car part "for Honda", etc.

Re: Bash on Ubuntu on Windows

#383
post #25

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

I love the chromebook pixel with a debian chroot (aka crouton). I use the 2015 pixel with a 2560x1700 screen, i7, 16GB ram, and I get 12 hours battery life.

The chromebook pixel has been my only laptop for three years, and it's been rock solid. I never spend time troubleshooting. Setup upon upgrading from the 2013 to the 2015 pixel took about two minutes.

At this point, I'd prefer to use a chromebook rather than loading ubuntu on a laptop, because the stability of the pixel has saved me so much time.

Re: Bash on Ubuntu on Windows

#384
post #280

Earlier quoted context omitted.

This implementation is definitively a work derived from the NT kernel. If reimplementing and API propagates copyright, the only allowed licensing situation would be that MS releases the complete NT kernel under the GNU GPLv2 license. This is not going to happen. And this is not a too bad news, because this might give us leverage (by estoppel) if MS ever wants to litigate against free software on the theory that reimp…

is it a derived work of the NT kernel if it's contained in a separate loadable driver? my understanding is that's where this system call interface is contained, and as I understand it, you can have GPL NT drivers..?

It is not very probable that only public interfaces are used to implement this subsystem. Therefore, we can think that the special exception of the GPL that exclude major components of the OS would not apply. It also explicitly won't apply in the first place because MS is absolutely in the case: "that component itself (1) accompanies the executable (2)"

(1) core NT kernel (2) Linux subsystem

Re: Bash on Ubuntu on Windows

#385

Earlier quoted context omitted.

What do you mean? I pick up my Android phone and I've got an app that gives me a python shell, "terminal ide" which includes tons of cli developer tools like a C compiler and various editors, a full debian install I use for more secure SSH (using real openssh) and development and even some operations on various servers. There are full out Java IDEs on Android that you can install even. So here's just a few ways you c…

Sure, but how productive are you when coding on your phone vs on your desktop?

The contention wasn't that coding on a phone or tablet isn't productive, it was that you can't do it. I love Pythonista on my iPad, and the latest version makes coding on my phone surprisingly feasible. I wrote a version of snake on my 6+ with my kids.

Re: Bash on Ubuntu on Windows

#386
post #28
post #20

Earlier quoted context omitted.

Can I use Docker?

I would be shocked. As I mentioned above, I wouldn't expect wireshark to run either. From what we gathered so far, this is a syscall translation layer and > No new system calls are added for cgroups - all support for querying and modifying cgroups is via this cgroup file system. Per https://www.kernel.org/doc/Documentation/cgroup-v1/cgroups.t...

wireshark works :) https://twitter.com/bojanrajkovic/status/717810333663019008

Re: Bash on Ubuntu on Windows

#387
post #23

Maybe it's because I haven't been following this very closely but I'm confused. Does this mean I can do things like compile Haskell or OCaml from terminal as easily as I do on my Linux install? Can I use apt-get?

Yes, that's the plan. This is a syscall translation layer. In theory everything should run -- or most. I would not expect wireshark to run for example but I have very high hopes for autossh for example because Scott Hanselman have shown Redis running so higher level networking is there. You might need http://www.straightrunning.com/XmingNotes/ for GUI.

Wireshark works :) https://twitter.com/bojanrajkovic/status/717810333663019008

Re: Bash on Ubuntu on Windows

#388

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

How come?

It's heavily marketed as "bash on Windows", and that "bash" is a GNU Bourne Again Shell, a part of GNU Operating System, developed under GNU Project.

Re: Bash on Ubuntu on Windows

#389

Earlier quoted context omitted.

I think the AI comment was more to the fact that, they didn't safeguard against seemingly obvious outcomes - such as internet trolls trying to get the bot to say bad things. Many companies put no-go words during username creation, hitler, racist words, etc - so why didn't Microsoft? It might not have been simple to do, but still - hard not to see the outcome.

lol what the hell are you talking about. this thing is SUPPOSED to learn. you can't have ai and restrict what it learns, it defeats the entire purpose. isn't this the same thing that happens to people too? they go around the internet and soak up knowledge, sometimes racist, harmful, misinformation, but they soak it up nonetheless.

Well, to be clear, i didn't say restrict what it learns - i said safeguard against outcomes. Or, are you arguing that Microsoft knew the bot would slur racist insults in a laughably short timeframe, and only planned to run the bot for said timeframe?

The very fact that they had to pull the plug seems to suggest that it was not desired, and as such, it should have been safe guarded against.

An example safeguard being, limit what it can say. If it has racist/etc stuff in it, literally don't send to twitter. The bot still learns, the algos don't change, and Microsoft still gets to see what the given AI will behave like in full public. And above all else, the bot isn't a Microsoft branded Hail Hitler AI.

It sounds like you believe what happened is perfectly within reason - if that's the case, why do you believe they pulled the plug?

Re: Bash on Ubuntu on Windows

#390
I have it installed, and I don't know how you are supposed to set up bash profiles with this folder structure, or for instance if I need to move something to my /bin/ folder to set up commands. I'm sure there is a way, but it's not quite like base Ubuntu since it's using the Windows folder structure and permissions.
Post reply on HN