Live data from Hacker News

Bash on Ubuntu on Windows

blogs.msdn.microsoft.com

61–70 of 434 posts

Re: Bash on Ubuntu on Windows

#61
post #36
post #27

Earlier quoted context omitted.

yay! \o/ can you check what happens after you wake from sleep/hibernation? are those apps still fully functioning?

I did not try GUI stuff, but when my tablet went to sleep while executing a long-running command, when I returned to the bash shell, the command failed with a message stating "interrupted syscall" or the like. Not sure if this is the common/intended behaviour.

Love it

Re: Bash on Ubuntu on Windows

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

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 browsers which means at the very least you can use JavaScript (I've done at least one Project Euler question on an iPod Touch in CoffeeScript standing in line at the bank.)

The tablet I currently own cost me $80 and came with a C# compiler preinstalled! (Maybe that's an extreme example: It is a Windows tablet, and Android or iOS only come with JavaScript JIT compilers preinstalled.)

Re: Bash on Ubuntu on Windows

#64
post #48
post #35

Earlier quoted context omitted.

Exactly. The Linux file system will have Windows mounted into it but I think Windows won't be able to see the Linux filesystem. We will see.

Linux and Windows can both see each others filesystem, but they are visible at specific mount points in each environment. You can't just use /home/chx/todo.txt as a path from any Windows application, but you can find that file through some other path.

Very interesting. What about case sensitivity?

Re: Bash on Ubuntu on Windows

#65
post #50

Sad that the VM (1) are no update to the #14316 version. (1) https://developer.microsoft.com/en-us/microsoft-edge/tools/v...

I don't think 14316 is sufficiently tested for that use case. Those VMs will probably stick to the stable builds

Re: Bash on Ubuntu on Windows

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

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…

I tried to code on smartphone, never again. I am x times more productive on desktop.

Re: Bash on Ubuntu on Windows

#67
post #30

- Does ls -li (show/emulate inode number ? I don't know whether NTFS has inode number or not) - Find with exec , xargs is supported?

1125899906857921 -rwxrwxrwx 1 root root 21 Apr 7 07:56 test2.txt 562949953436608 -rwxrwxrwx 1 root root 13 Apr 7 07:56 test.txt Two files created seconds apart. Some sort of internal NTFS construct, maybe?

Thanks for the output, it looks interesting. If these entries doesn't change with next ls -li then yes,its the NTFS inode number in readable format.

Re: Bash on Ubuntu on Windows

#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, but if they wanted to deal a serious blow - rendering POSIX irrelevant would be pretty devastating.

Re: Bash on Ubuntu on Windows

#69
post #66

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…

I tried to code on smartphone, never again. I am x times more productive on desktop.

Absolutely! Programming is much more comfortable with a physical keyboard. I wasn't suggesting coding on a phone is ideal, just that it is possible.

Re: Bash on Ubuntu on Windows

#70
post #55
post #25

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

They already did: surface book.

I checked out the Surface Book briefly, and boy was it a massive disappointment. The screen is much more heavier than the keyboard so it's unbalanced, detaching and reattaching the screen is extremely awkward, and there were touch issues with the stylus that the salesperson could not resolve.

I'd rather hold out for the next iteration.

Post reply on HN