Live data from Hacker News

Bash on Ubuntu on Windows

blogs.msdn.microsoft.com

291–300 of 434 posts

Re: Bash on Ubuntu on Windows

#291
post #284

Earlier quoted context omitted.

No cgroups = no systemd. Windows: a better linux than linux.

There are lots of reasons that systemd will probably never run on the Windows NT Linux subsystem, a few reasons that upstart won't run, and the possibility that one could run daemontools family toolsets with a fair degree of success; but a likely overall problem with invoking a service manager such that it is in a daemon context (outwith a login session) in the first place. * https://news.ycombinator.com/item?id=1141…

Very informative linked post. Would recommend everyone click through and read it!

Re: Bash on Ubuntu on Windows

#292

I honestly don't really see the point in this. If you like Ubuntu/Linux more, then just install Ubuntu/Linux on the computer without Windows. Why go through the additional layer of Windows? Perhaps the use case is limited to people who need to run Windows/Mac-only software like AutoCAD or some Adobe software.

Here is what I consider to be the perfect example of where this fits into the development world. From my employer, I'm given a laptop, running Windows 8.1. All of my work for the past 2 years has been in developing a .NET line-of-business application, but I was recently asked to prototype an application to automate and streamline a collection of Excel spreadsheets. (Don't laugh; I've kind of made a career out of this…

See https://news.ycombinator.com/item?id=11416884 for some things that might be a problem.

Re: Bash on Ubuntu on Windows

#293
post #279

Installed it to give it a go. It's impossible to install java on it. This is makes it fairly useless for my purposes. sigh

What goes wrong when you try to install Java?

if you go the apt-get route you get a sha256sum mismatch on both java7 & java8. If you try to be clever and manually download it and throw it in the cache, same story. If you try to be really really clever and manually download it and try to manually extract the tar it throws a bunch of cannot create symlink: invalid argument errors. I spent a good 2+ hours trying to force it to install in various ways. For now at least it seems java is not meant to be on Windows Bash.

Re: Bash on Ubuntu on Windows

#294
post #281

As I understand it, Microsoft has copied the Linux kernel system call interfaces and provided their own underlying implementation. Given that Microsoft supported Oracle's view that the structure, sequence, and organization of the Java programming interfaces were covered by copyright law, then surely they would also agree that the same holds true for the Linux kernel system call interfaces. I don't like the APIs-are-c…

Do you really think a multi billion dollar company like Microsoft wouldn't have their legal team all over this? Do you not think they would have researched this out. Discussed their implementation, and made sure everything they were doing was going to meet the GPL copyright standards?

Sure, but that doesn't answer my question of 'why'.

Re: Bash on Ubuntu on Windows

#295

Why is it called Bash on Ubuntu on Windows ? What benefits does this bring in comparison with running a Ubuntu VM for example ? Sounds interesting although.

The developers are interested in serious discussion of a better name.

* https://news.ycombinator.com/item?id=11391931

Re: Bash on Ubuntu on Windows

#296
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.

The difference being that distro packages are distributed in a safe matter (signing and verification) whereas a website could be hijacked and the script replaced or you could get MITM'd if you access it over HTTP.

Re: Bash on Ubuntu on Windows

#297

As I understand it, Microsoft has copied the Linux kernel system call interfaces and provided their own underlying implementation. Given that Microsoft supported Oracle's view that the structure, sequence, and organization of the Java programming interfaces were covered by copyright law, then surely they would also agree that the same holds true for the Linux kernel system call interfaces. I don't like the APIs-are-c…

It would be pretty weird if, for example, the SFC used the same legal argument as Oracle.

Re: Bash on Ubuntu on Windows

#298
post #289

Earlier quoted context omitted.

Get a better editor - one that lets you operate on semantic units. And/or get a better programming language - one that lets you operate on code as AST.

Sure, there are many (excellent) AST based editors. However an AST editor based on a keyboard, and requires you to learn to type at 160 WPM, won't help most tablets be good code creation devices. Data structures are shapes. A shape is better drawn than described in text.

My point is - there are AST-based editors and languages (e.g. Emacs with Paredit and Common Lisp) and you can see that even in that mode of "thinking" about code, you can't beat the speed, efficiency and flexibility of the keyboard.

> Data structures are shapes. A shape is better drawn than described in text.

Draw me a linked list. Tell me how much faster it is than typing:

   (list 1 2 (foobar) (make-hash-table) (list "a" "b" "c") 6)
Even on a visual keyboard on a tablet, it's faster to type than to draw data structures. A flat sheet of glass maybe gives us the ability to get the (x, y) coordinates of a touched point easier and with more precision, but it sacrifices many other important aspects - like tactile feedback and the ability to feel shapes. With physical keyboard, you're employing more of the features your body and mind has, and that's why it's faster than a touchscreen.

Unless you can find a completely different way of designing UX, then a tablet won't be a suitable device for creation. None of the currently existing solutions come close to beating a physical keyboard and a mouse.

Re: Bash on Ubuntu on Windows

#300
post #78

Earlier quoted context omitted.

Because many people like Windows and develop on/for it, but also develop server-side code which generally requires Linux... so we don't have to keep virtualising OSs or running multiple machines - we can now develop for both within a single desktop. This is exactly the type of thing that many people want.

What I wanted is to run Windows in a Virtual Machine on my Linux box. Can I do that? Not without paying Microsoft $150. You can get their trial to run for 90 days, but it sucks having it expire and shut off after a few mins.

Or you can purchase one of those cheap Win8/Win10 Pads for less than 100$ and connect them via vnc to your Linux box. Works pretty well for me with an 8" Dell Venue.
Post reply on HN