Live data from Hacker News

Bash on Ubuntu on Windows

blogs.msdn.microsoft.com

421–430 of 434 posts

Re: Bash on Ubuntu on Windows

#421
post #395

Earlier quoted context omitted.

I use a mac alongside a win10 machine, with the win10 being brand new i7 hardware with ddr4 ram. And OSX's UI is far far snappier and hangs quite a bit less. My win10 machine often will just hang for no reason at all for a few seconds, then pop up whatever I had switched to.

Which GPU are you using? I have a 2015 Mac Pro with two D500, before I had a mid tear iMac. The mac pro stands directly besides my "beast" a i7 6700, titan x, nvm custom machine. I can't really describe it, but it's bothering me and I would put my hand in a fire betting that it's somehow measurable. It feels like the input lag of a cheap IPS-Monitor. Every klick, every slide, every window resize has this minimum lag…

I have replicated this by cmd-tab'ing to a cold app window. But if I just tab between say messages and firefox, I can't detect even the tiniest pause. If I click on a new tab in firefox, I see the tab add button color change instantly even if the tab takes 50ms to open.

On my beast Win10 machine, everything is also instant, it's just randomly throughout the day, it will lock up while tabbing to an app or something for 10 seconds.....which is just so weird and annoying. CPU shows it is pegging a thread for the opening app, doing who knows what.

My mac is a 2013 MBP with a intel 5200hd.

Re: Bash on Ubuntu on Windows

#422
post #160
post #6

I can confirm that you can run (at least some) GUI apps if you start an X server on Windows (like Xming, etc.), and export DISPLAY.

Can you please test graphics with LLVMPipe?

I'm using xming as well.

glxinfo reports

  OpenGL vendor string: VMware, Inc.
  OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 256  bits)
  OpenGL version string: 2.1 Mesa 10.1.3
  OpenGL shading language version string: 1.30
glxgears works for about a second, then crashes:

  XIO:  fatal IO error 11 (Resource temporarily unavailable) on X  server "localhost:0.0"
         after 732 requests (732 known processed) with 0 events remaining.
When i run it from strace, it keeps running.

Re: Bash on Ubuntu on Windows

#423

Earlier quoted context omitted.

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.

People have had 25 years (Wild guess) to become literate, and they haven't. What makes you think that's going to change?

General (human language) literacy took centuries.

Re: Bash on Ubuntu on Windows

#424
post #152

Earlier quoted context omitted.

You can create content on tablets, and some of it is excellent content. Development isn't done on tablets because the input devices we have to make code are limited to a keyboard, and most people think text files are code, rather than a serialisation/deserialisation format for an AST. You could easily build an AST with gestures and speech rather than tapping buttons, and I think in 10-20 years time that's how we'll m…

Plain text files are an incredibly powerful way of "storing ASTs", the advantages are far too numerous to list. The primary one being complete and total interoparability with all other tools that accept plain text files. I will bet you £100 that we won't be programming by speech and gestures in even 25 years time as the disadvantages are enormous.

And if we _are_ Ima start buying Spotify ads that just shout out "semicolon exec open bracket mail space dash s space passwords space owned at gmail dot com space less than space slash etc slash passwd close bracket semicolon" at top volume.

Re: Bash on Ubuntu on Windows

#425
post #107

Earlier quoted context omitted.

It's Linux syscall emulation. As for the death of POSIX, many unixes have had the same (even superior) functionality for years. POSIX wasn't dead yesterday. It isn't dead today

Thanks for the clarification. I wish I could be as unconcerned, but I remember what IE did to web developers.

Yeah, we got Firefox out of it. ;)

Re: Bash on Ubuntu on Windows

#426
post #365
post #106

Earlier quoted context omitted.

I do all of the things you mention without problem. I don't definitely don't think GNU/Linux will die as a result. First off, syscall emulation will always be clunky. Secondly, many people care about their freedom. Thirdly, what makes you think that a majority of people using GNU/Linux will switch. I haven't had driver or network problems for the past 3 years on any of my various machines.

Congrats! What about this guy https://news.ycombinator.com/item?id=11445505 and what I typed up https://news.ycombinator.com/item?id=11413469 here.

No need to be flippant. Yes, I read those comments and I don't share those experiences. I've used my fair share of odd hardware and I've never had problems that couldn't be resolved without half an hour if Googling.

Re: Bash on Ubuntu on Windows

#427
post #422
post #160

Earlier quoted context omitted.

Can you please test graphics with LLVMPipe?

I'm using xming as well. glxinfo reports OpenGL vendor string: VMware, Inc. OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits) OpenGL version string: 2.1 Mesa 10.1.3 OpenGL shading language version string: 1.30 glxgears works for about a second, then crashes: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:0.0" after 732 requests (732 known processed) with 0 events r…

Thanks! It's great that it's works.

Re: Bash on Ubuntu on Windows

#428
post #323

Earlier quoted context omitted.

> One legal thing that I'm also wondering about is the "Linux" trademark. This probably explains why they never talk about Linux (at least I never saw it), but always about Ubuntu. I guess they have an agreement with Canonical.

They mention "Linux" all the time. The feature is called Windows Subsystem for Linux (Beta).

Maybe it should be called "Windows Subsystem for Linux Applications (Beta)"

Re: Bash on Ubuntu on Windows

#429
post #177

Earlier quoted context omitted.

> I will bet you £100 that we won't be programming by speech and gestures in even 25 years time as the disadvantages are enormous. Unless AI advances considerably. For years I've imagined myself talking to the small specialized AI living in my computer, giving it instructions that it would translate to code...

Natural language is a terrible way to specify software. Writing software is about telling a blazingly fast, literal, moron what to do. The ambiguity inherent in natural language is not a good way of telling such a thing what to do.

>>AI advances considerably >blazingly fast, literal, moron

I think I have discovered the source of your disagreement.

Re: Bash on Ubuntu on Windows

#430

Earlier quoted context omitted.

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.

Yep. But not true on Linux, yet.
Post reply on HN