Anybody manage to make their Bash/WSL actually look good? I've got it just running in, what, cmd I guess? I don't know. Anyway it's fuckugly. I had to just set all the fonts to white on a black background because otherwise the returns from npm installs and git status and stuff would be unreadable deep blue.
Don't get me wrong, I love using it, but it doesn't beat the aesthetics of a terminal on a mac or a nicely configured ubuntu terminal.
Thanks, I had trouble with arrow keys working when I tried it a while back but I'll give it another go with the "-run {bash}" option. And the Mac autocorrected "htop" to stop.
I had to test a couple of variations before being happy because the same colors are used in all types of terminal (I use regular cmd and Bash). Sometimes one color is great in one type of terminal but is clashing with another color, for a particular use case, in the other terminal!
ConEmu with Bash/WSL has not worked out for me. I came across way too many incompatibilities, and weird behaviour. Some of these are documented in (1). That said, ConEMU was never really designed to support UNIX/VT100 terminal environments from the start. Its more of a cmd.exe replacement.
Instead, I've got a pretty good setup using Xming (2), a native win32 X server implementation.
In Bash/WSL, I set the DISPLAY variable appropriately and launch my terminal emulator of choice, as well as Emacs.
This setup has worked out to be very fast and stable for me.
I had some trouble too and tried some complicated setup with wslbridge and other stuff I don't even remember. But in the end I got it easily working by configuring this simple task in ConEmu (everything is working, including arrow keys):
%windir%\system32\bash.exe -c "cd ~ && bash"
If you want the nice Ubuntu icon, add this as task parameter:
-icon "%USERPROFILE%\AppData\Local\lxss\bash.ico"
You can then use the ConEmu theme of your choice and the colors are far more readable than with the default console.
See default theme for instance:
They're going to need to change that window icon. When WSL meant Ubuntu it made sense. Now that it's becoming distro agnostic, it needs a more universal representation. Bring on the penguins.
I had a feeling this was the direction you were going in based on the ASCII logos in the screenshot. For the major distros this should work well, but a generic icon would still be handy for the smaller ones (assuming they can be used at all).
If you prefer not to install an external program (e.g. wsltty), this gist https://gist.github.com/P4/4245793 has some registry presets for prettifying the built in console.
> ping, traceroute, mtr etc don't work. Neither does ssh tunneling. No ssh server.
These things work, as long as you are not under a firewall. The problem is that currently it doesn't expose anything to whitelist if you do use a firewall, but hopefully they'll sort this out eventually.
Most of these problems have been fixed as of the January Creators Update for Windows 10.
SSH server is still iffy, because Windows 10 comes with an SSH server (not OpenSSH), which you'll have to disable. It was very weird to try to SSH into WSL and get a cmd.exe prompt.
Also, once you install opensshd with apt, the server is only active while its terminal window is open (since closing the terminal window kills the WSL init process).
You can run it in another terminal than the standard cmd. I've got mine running through cmder (http://cmder.net/) which is just a preconfigured ConEmu (https://conemu.github.io/) with some additional stuff out of the box.
ConEmu's defaults are pretty ugly, too, but with some tweaking you can get a good UI out of it. As another tip, Alt+Enter will maximize ConEmu to full-screen without any window chrome at all.
It was a bit of a chicken and egg problem: there was no incentive to have a decent terminal since+because there was no decent shell+platform. IOW the command line was a rudimentary tool, an artefact from the past, not a central piece of the experience. PowerShell barely moved the dial, but now that there's a trend towards the Unix experience, that may very well bootstrap some more glorious CLI days on Windows, which may even benefit PowerShell in some way.
You can install xrdp and some lightweight DE like Xfce, and then just RDP into your Linux desktop. Here's Xfce (and its terminal) running inside an RDP session on Win10:
You can run a Windows X server, then run whatever X-based programs (including terminals) you want on the Linux side and forward the display to the Windows X Server.
I never understood that dialog. Like the first 4 radio buttons seem to indicate there are only 4 values you can change, but then there's like 15 colored boxes in a horizontal line under that? I don't get it.
The 16 colors are the color table - these are the actual colors you want to change.
The selected box (of the 16) has it's values displayed on the right. Change those numbers to change the color's value.
The radio buttons select which of the 16 colors is the "default" for that setting. So you probably want to leave "Screen background" on black (the first color table entry) and you'd likely want to move "Screen Text" to white, the 16th entry. The popup colors are only really relevant for cmd.exe.
Yes, we're aware that dialog is garbage. I hate it to death. It's high on the backlog.
The primary reason I even looked at a Mac, way back in the MacOS 10.2 days, was because there is a Unix underneath the pretty interface. I bought my first Mac and never looked back.
Stuff like this is making me look at Windows machines again.
I'm betting this is the real end-goal of WSL. MacBooks were once expensive, but high-quality, grab-and-go unixy development machines. Now, they're mostly just expensive.
When WSL matures, any commodity laptop will be a cheap, decent quality, grab-and-go unixy dev machine. It'll probably be easier and more reliable than installing Ubuntu directly! At that point, web and server devs will migrate en mass from Mac to Windows.
Then they will discover Clang for Windows and that dev tools for Windows in general are actually pretty nice. And, since they are already running their server code on WSL, it becomes much easier and more interesting to get it running in Windows directly. Bang! Huge uptick in open-source server development on Windows.
Great feedback, thank you! Linux targeting isn't my area, but I know the guy who owns it would love to chat with you. If you want to help us make this better, would you mind sending me an email at apardoe @ youknowthecompany.com? I totally understand if it's not worth your time. But thank you regardless!
Yeah, do we really want to run an open garbage fire of an OS that is known as Windows 10 for a daily driver? I know I'd get murdery if I lost all my hot corners, multi-desktop, etc cause that is what makes me productive. Other people who don't like Gnome 3 take pleasure in using i3 or AwesomeWM, which both are major steps up over Win10's UI.
At this point, the Windows platform is a rotting cesspool, the devs focused on it know its growth has stopped (but often are clueless about how to move forward), package management is not a thing, and Microsoft has added so many anti-features that it is a pain in the ass to live with.
Multiple desktops are built in. If you spent any time on the platform you'd understand that Windows under Satya Nadella is good stuff. He is the anti-Ballmer.
Debian/Arch are both fairly lively, if you want something battle hardend you'll use SLES like Walmart, Kroger, Fred Meyers, Vons, <Fill in major retailer> uses. The desktop is in stasis though, and iOS as a platform is unlikely to grow massively over the next few years.
Android is frankly another rotting cesspool of Google's making. Where Microsoft & Apple are able to provide years of updates to every model of phone their software runs on (with MS literally working with the same vendors as Google), Google has successfully ensured that outside of Nexus devices, updates occur rarely if ever.
Sure, but even 2014 phones like the Lumia 830, 929, et all got upgraded to W10P, Microsoft has made much more of an effort than Google to support 3 year old hardware.
I just set up a cheap Windows 10 laptop I bought for my mom. It was the first time I got in touch with Windows again since the XP days. Can't say I'm too intrigued, imho the UI is lacking in so many points. I couldn't figure out how to get rid of that Cortana-thing in the taskbar, every window is littered with ribbons, list goes on and on and on … I don't see why I would go for Windows + WSL when I can just slap a distro of choice on it?
While I wish Apple got its shit together, I have 0 incentive to move to Windows as a developer. I'd have to find replacements for a lot of small utility apps I take for granted on OS X, and I'd have to cope with the stupid UI Windows shoves down my throat.
They're getting rid on the ribbon in Explorer, you can launch it with an in-beta modern UI since last month's Windows update. They'll probably complete it and make it official in the next big one.
Huh? MacBooks are unlikely to disappear, companies love how slowly they depreciate (and are easily sellable), while it is by far the most optimized unix system out there. Pound for pound, a MacBook will last longer while doing more than a Windows or Linux laptop, despite Microsoft's and Linus's efforts to rectify this.
Why would anyone pick Windows over Debian for development if their target is a Linux boxen in a server farm somewhere? The tooling is third rate, the WSL (which is a horrible name btw) has thousands of bugs by Microsoft's own admission, and this is after years of MS laboring to get WSL into its current state.
I just don't see why you'd choose a platform that does pants on head retarded shit like making wget open IE 11 rather than downloading the file at a given URL. This isn't rocket science here, I know all the MS people across the water in Redmond & Bellevue can fix this without much work, but apparently worse than non-existent is the best MS can do.
> Pound for pound, a MacBook will last longer while doing more than a Windows or Linux laptop, despite Microsoft's and Linus's efforts to rectify this.
There is no "Windows or linux laptop". There is a bunch of different brands with varying degree of quality. Macbook lasting more than a dell or an acer, maybe. More than a thinkpad or a surface ? Much less so.
And of course you forget about the desktops...Companies are still using a non negligible amount of those.
> Why would anyone pick Windows over Debian for development if their target is a Linux boxen in a server farm somewhere?
For the same reason people use a macbook, or virtualize linux (vmware) instead of native installation : Better hardware support, better battery life, better support from your enterprise IT etc... etc...
> The tooling is third rate, the WSL (which is a horrible name btw) has thousands of bugs by Microsoft's own admission, and this is after years of MS laboring to get WSL into its current state.
The thing was available about a years ago, why so much hate? I played with it and to be honest, as developer it already has 90 % of everything i need...
For all their fault and mistakes , one thing that the new Microsoft does really well is to adapt to the new development realities and propose simple and pragmatic solution : VS code , typescripts and now WSL...
> Pound for pound, a MacBook will last longer while doing more than a Windows or Linux laptop, despite Microsoft's and Linus's efforts to rectify this.
The repairable/upgradable thinkpads are probably better in this regard
Why would you want to repair/upgrade (and so pay the salaries of hardware IT staff) when you could get business-leased commodity computers with scheduled "upgrades" by return-for-replacement, for the same cost?
I want to repair and upgrade my computer. I suspect there are many people like me that would like the option to upgrade components on my laptop as well. I used to be able to do that with a MBP (2012-ish), now I can't...
The WSL is compelling and to be honest, one of the main reasons I switched to OSX was the command line. Now, I can have a command line and not have to run VM's for 3d stuff, games, and more. Pretty compelling...
That's a personal desire. The context here was corporate buying and depreciation. Why would a corporation want to repair its computers, any more than it would want to repair e.g. its office furniture?
Because swapping a burned out power supply is 5min job while waiting for a [company] technician to bring that replacement computer can be a day+ several others to get the original back?
It boils down to how much the downtime costs. "Do it all in the Cloud" simply doesn't apply across the board.
Why wait? In most companies I've worked at (a few startups; IBM), if your computer isn't working, they take your current one and then hand you a spare out of a pile they have in a closet. The original gets sent for replacement, but you're already at your desk re-doing the documented onboarding process on the new machine.
Indeed. I've seen Macs as an option, and then you sort of get "developers can get Macs, VPs can get them, but others can't" as the TCO is - apparently - higher, and, let's not forget that, remote manageability is way harder than with Windows, which has stuff like group policies, AD integration, etcetera, all built in (the Macs I used at a previous big corp employer had some terribly hack-ish layered software to get to almost the same level).
With Win10 and WSL (which I've been actively testdriving on my personal hardware) I'd be totally fine to get a Lenovo from BigCorpEmployer. For private use, I won't buy any MBPs anymore anyway for the same reason.
Because Apple isn't immune to screwing up the 'commodity' and plenty of shops are holding off on the new mbp because of the unless touch bar, degraded keyboard, and poor choice of ports. This is a great time for MS to push for this audience and things like WSL are great foundations.
i'm saying this now; POSIX will never be a first class citizen on windows - we might get shims in /proc and /dev, but windows will never run from POSIX. as long as Win32 exists (and lets face it, that's not going away for a long time), we're basically stuck with running a docker container with linux on it in windows.
and that might be all you need. but for many *nix people, this is no where near enough.
Windows has yet to provide a consistent way how to obtain the OS version across releases. Then we can maybe talk about standardizing apps communications.
Uh, that may not be the best example. Are you aware of a reliable way to retrieve the OS version across all POSIX OSs? Because if you are, I would love to hear it.
That is: as efficient as possible on top of the windows process model. A process fork is still a magnitude slower and more expensive than on Linux. It is however a massive improvement over Cygwin, but it's still very noticeable when for example running more complex shell-scripts.
If anyone trusts microsoft right now after the past year or two worth of things we've learned I highly doubt their dedication to a free and open source vision of the future.
I actually have a hard time beleiving some of these comments are even organic... (web and server devs are going to migrate to windows!). What world do these people live in? It's like people live in fantasy land and have forgotten the 90's truth of MS.
Embrace. Extend.
Extinguish.
RMS was and is right. Either the user controls the program or the program controls the user. Microsoft has shown they are only interested in controlling the user, and not in giving the user control.
I say this as a senior sysadmin who has dealt with every aspect of their OS's in production for a long time, and I'm fed up with it. Honestly I think Win8/10 was the final straw for me, for what it's worth.
I've since moved completely off windows to gnu+linux, despite the rough points such as gaming. It's been a freeing experience I wish more people had the guts to be a part of. I'm also heavily considering refusing to support windows systems in general, something I think we should all consider.
Isn't it a bit ironic, given your concern with 90s-era Microsoft practices...
...that your comment is basically just FUD?
I'm not saying your wrong! But your comment is, clearly, intended to make people feel fear, uncertainty, and doubt about Microsoft, the Windows platform, what MS may choose to do in the future, etc. And you don't have any particular factual claims to back it up (classic FUD tactic), just an appeal to authority ("as a senior sysadmin") and some handwaving about events that took place long before most of us were actually in the workforce. I mean, I'm the oldest dev on my team, and I was a teenager when the Halloween Documents were published.
We live in a very different world. I'm not saying MS wouldn't abuse their power if they could, but you know...what power? And how does WSL provide them an opening? At this point, I'm much, much more concerned about Facebook than Microsoft, and I think the onus is on MS critics to explain exactly what they fear. And no, chanting "embrace, extend, extinguish" is not an explanation.
> Microsoft has shown they are only interested in controlling the user, and not in giving the user control.
Is very well supported by their recent we'll-do-everything-possible to get Win10 on people's machines, force upgrades, forced (and ultra comprehensive, but mostly secretive until a month ago) telemetry.
> We live in a very different world. I'm not saying MS wouldn't abuse their power if they could, but you know...what power?
They have spent the last year and a half abusing their power of Win7 updates to force people into Win10, which takes away the power that people had to resist the Win7->Win10 upgrade. If you missed that, we truly do live in different worlds.
I agree that the telemetry is very very dodgy. However, on the forced update front, I have to side with Microsoft here.
From their POV, regular and forced windows updates are the best way to ensure we don't have XP-like situations, where people just keep running out-dated software with horribly exploitable browsers. This creates a maintenance nightmare for software developers. Could you imagine running a 16 year old piece of software, refusing to upgrade to a newer-one but still expect security updates? And Windows 7 is well on it's way to become the 'next XP', it's almost 8 years old now...
I might agree with you from a "public goods" perspective (but only if win10 had user control comparable to win7, and it doesn't)
However, Microsoft is in it for themselves. Not for the public good, not for the people who want to keep running their old system, not for the developers. Furthermore, whoever bought win7 was guaranteed support until 2020.
Your siding with Microsoft in 2016 is siding with "we already got the customer's money, now let's try to do the easiest thing for us rather than keep our promises; use dark patterns if we need, because it is easier to get forgiveness than permission". I am sorry, but I disagree with this attitude.
> Isn't it a bit ironic, given your concern with 90s-era Microsoft practices that your comment is basically just FUD?
Apologies for not taking the time to sit down and list all the ways MS has been bad for the FOSS world and the user. For someone who references the halloween documents and the hn userbase in general I think most of this should be mostly obvious and not need specific hand-holding. As for your accusation of fud, fud by defnition is about false or disinformation in combination with the appeal to fear. I'm basing my comments off true information, and not using the fallacious appeal to fear but instead telling how proprietary systems do affect people.
> just an appeal to authority ("as a senior sysadmin")
A key point to the appeal to authority issue is that it isn't inherently a fallacy, and only becomes one with used in an informal fallacy, which I did not. In rhetoric establishing authority is an important (but often overvalued) aspect of argument. As a senior sysadmin, this makes my propositions more likely, but not logically certain. Not a fallacy at all.
> handwaving about events that took place long before most of us were actually in the workforce.
What does the date of these actions have to do with the issue at hand? The four principles of software freedom are still not met by MS, and that's just as relevant today as it was 20 years ago.
> We live in a very different world. I'm not saying MS wouldn't abuse their power if they could, but you know...what power? And how does WSL provide them an opening?
Where do I begin? First of all, we don't really live in such a different world. Fundamental principles of software freedom have been the same since the 80's when they were first brought up, (though they have been refined somewhat). Second, not only would MS abuse their power, but they already have and do! As for what power, I don't know how you can be serious and ask such a question. Instead of ranting I will just give you a good link to read. https://www.gnu.org/proprietary/malware-microsoft.en.html
> At this point, I'm much, much more concerned about Facebook than Microsoft
This is a logical fallacy. We aren't talking about FB. I'm concerned about it too, but to handwave away MS issues in this way is not conducive to honest intellectual conversation.
> I think the onus is on MS critics to explain exactly what they fear.
We have, for years at that. See above gnu.org link for a start.
> And how does WSL provide them an opening?
You mean other than replacing a gplv2 kernel with a closed source proprietary one?
> As for your accusation of fud, fud by defnition is about false or disinformation in combination with the appeal to fear.
By what definition? FUD is literally just the words "Fear, Uncertainty, and Doubt." Nothing about those words requires the thing being referred to to be false or disinformation.
Less pedantically, propaganda/astroturfing doesn't need to be a lie or an exaggeration or anything of the sort, to serve its purpose. You get just as much of an effect from selectively highlighting some true facts while downplaying others.
The irony the parent is referring to is that you are highlighting some facts about Microsoft [which support the story you wish to tell] while downplaying others [which do not], and so your comment serves as effective anti-Microsoft propaganda (i.e. "FUD") whether or not every statement in it is true.
> As for what power, I don't know how you can be serious and ask such a question.
Likely because—at least if they live in SV—it's almost assuredly true that almost nobody the parent knows uses Microsoft products any more. They have no cultural power, in the sense of having control of cultural influencers. They might still have a large foothold in the enterprise, but—unless there is a massive resurgence—that foothold will die exactly one generation of IT people from now, when nobody of the new generation will have bothered to learn the Windows stack.
> We have, for years at that. See above gnu.org link for a start.
You are not debating charitably here. There is a difference—and you know it—between "what you fear" in a general, ideological sense; and immediate fears of what can and is likely to happen given the current landscape.
The parent poster is asking the latter: what about the current Microsoft—without reference to history, without knowledge of history—do you fear?
> what about the current Microsoft—without reference to history, without knowledge of history—do you fear?
Win10 and how it was shoved hard down everyone's throat -- and how it had taken upgrade liberties away from the vast majority, while adding unstoppable telemetry.
Is 18 months too much history for a 40 year old company?
Hey your opinion is cool and all. But there are a lot of people who put a lot of hard work into this project, because we're developers too, and we think the idea of being able to run a full linux userland on top of the NT kernel is fucking cool.
This project has never been about EEE. It's not about controlling the user. It's the complete opposite. It's all about choice. I like a linux style development environment more than I like Windows style. In my free time I mostly write python applications and do webdev-y stuff, and WSL makes it really easy for me to do that.
> This project has never been about EEE. It's not about controlling the user. It's the complete opposite. It's all about choice.
well, those are the first two 'E's of the picture, if this is the case. with the latest edition of Windows 10 (S, i think?), microsoft have already prepared the stage for the third.
It depends on how you look at it. The classic EEE involved e.g. "embracing" a platform like the web by writing your own browser, and then "extending" said platform by adding nonstandard features to that browser—and encouraging their adoption—to steal mindshare of the platform away from the standard itself and toward your particular implementation, giving you control over the future of the platform. At which point you could "extinguish" the platform, or at least your rivals on it.
WSL doesn't look to be "extending" Linux; in fact, it's all about providing the exact ABI Linux itself provides, and running Linux applications and operating systems without requiring any porting. There are no e.g. WSL-only syscalls exposed to Linux applications, such that Linux applications would benefit at all of being aware of WSL or targeting it. As far as the code running under WSL is concerned, it's just POSIX.
To me, that's actually a strategy strangely opposed to classical Microsoft EEE: this move commoditizes the Windows platform. There are many developers who will now see Windows as "just another POSIX", and will experience less of the unique, Windows-only parts of the platform, making them less locked into Windows as a whole.
There's no plausible end-goal here where Windows would ever be given mindshare as "the Linux," in order to start on the "extend" phase. In fact, more likely, Windows IT people will be enabled and encouraged to switch to "standard" services like nginx instead of IIS, or Postgres instead of MSSQL—at which point they'll realize they've eliminated all Windows lock-in and they're now free to leave the ecosystem!
> being able to run a full linux userland on top of the NT kernel is fucking cool.
I could do that before with virtualbox. What kind of benefits besides slight speed increases would we see using the posix WSL?
>It's not about controlling the user. It's the complete opposite. It's all about choice.
If I create a prison for you, but then let you choose your cell, do you consider that a valid choice? That's what this is, and I know what you mean but the reality is that windows is a walled garden prison for the user.
>I like a linux style development environment more than I like Windows style.
It's more than a speed increase. There's memory usage benefits -- because it's not a VM, you don't need to dedicate a fixed amount of memory, regardless of what you're doing. The media situation on Linux is much worse -- the audio stack resembles a jenga tower, the media apis are worse, the media drivers are worse. Windows tends to have better backward compatibility for older but still useful programs.
Furthermore, most of the useful parts of nix tend to come from places other than gnu-based APIs. Languages like python, for example, are nicer under nix, but use few if any gnu-isms. Web frameworks and applications by extensions are more *nix friendly, but it's a rare example that restricts itself to Linux only. Sticking with just gnu and/or linux ends up being much more of a burden than it's worth.
come on, there's no need to be disingenuous here - having the linux userspace run atop the windows kernel is much closer to docker than virtualization.
Fair point here, but in reality it changes none of my other arguments. If anything, replacing the linux kernel with the windows kernel and then giving the user half the userspace programs is still bad in my book.
I don't trust Microsoft. But they're less evil than Apple, look at Apple is doing with its locked garden (no GPL, only one browser engine allowed, no JITing except for their Javascript engine, development only on their platform, etc., etc.).
On top of this, Microsoft is a smaller fish these days. They've lost mobile, probably forever. They're behind in search, ads, cloud, etc.
So they're, maybe not toothless, but definitely less harmful than they were in the 90's.
For EEE they need to be able to extinguish. They can't extinguish Linux or OSS now, it's basically impossible.
> I don't trust Microsoft. But they're less evil than Apple, look at Apple is doing with its locked garden (no GPL, only one browser engine allowed, no JITing except for their Javascript engine, development only on their platform, etc., etc.).
Hate to break it to you, but the Microsoft Store has the same limitations regarding browser engines as Apple's iOS App Store.
Nobody uses that and if they push it hard there's going to be major backlash, possibly even another anti-trust lawsuit.
Keep in mind they already have a conviction for anti-competitive practices. A second strike would probably be at least in the low billions, especially in the EU.
Would be nicer if they would just document the bootstrap process for initializing a WSL "container" (or whatever their term is) so the community can do this on its own.
Some of these distros come with browsers and JavaScript engines that can run in the console (such as node.js, w3m, lynx, etc.).
Third-party HTML and JavaScript engines are banned in the Windows Store, so can someone explain how this uneven enforcement of their own rules is ethical?
Consider this quote[1] from a Microsoft spokesperson on May 9:
> Windows Store apps that browse the web must use HTML and JavaScript engines provided by the Windows Platform. All Windows Store content is certified by Microsoft to help ensure a quality experience and keep your devices safer.
They can do this all they want but no amount of linux in windows is going to get me back to using it on my main home desktop. I have no choice at work (an all MS stack: c# and sqlserver) but yeah I'll just stick to VMs, docker, or linux on bare-metal. I get the latest kernels, the ability to run anything in the nix ecosystem without arbitrary drawbacks.
*Arbitrary is harsh, they did a lot of heavy lifting to get Windows, but it's still early and still rough imo.
I didn't realize staying on the bleeding edge kernels was such a performance boost, that it's worth shying away from an entire ecosystem. It sounds a bit elitist.
Alternatively, when I use Windows now I'll get both PowerShell and a full Unix environment. For my development work so far, none of those arbitrary drawbacks have stopped WSFL from being a champ. On the plus side, I don't constantly have to edit configuration files after every update because my wireless card/window manager/etc broke.
For me, it's the opposite: I don't want to be on the bleeding edge of forced windows updates, so I'll run a linux system and VM an older-but-still-compatible windows system where I can keep the environment stable without worrying about security updates (due to it being in a sandbox). I realize this doesn't fit everyone's use case, but wanted to offer an additional perspective.
The win 10 experience for me has been such a disappointment between the privacy concerns and the overall UI I'd much rather not bother. To each their own, though.
Oh I know. I tell myself everyday that I walk into work or log into my workstation remotely that I give up all semblance of privacy. It's in my firm's employee agreement that basically everything is tracked.
Well, there's a variety of reasons that being on new kernels (or a linux kernel at all)
Things like bpf if you're doing performance profiling
Ready access to PMCs (The Intel PMC stuff is a pain in the ass to get working in Windows, because you have to build a signed driver for MSR access) without paying the $900 for vTune
Access to perf
There's really no way to do performance engineering on Bash/WSL
It's way better than hand-coding NDISWrapper but that isn't trivial unless you're already familiar with Linux.
I had a friend ask me about installing a distro the other day. I told him to buy a Linode/DO box or use WSFL instead of finagling with hardware. My Dell XPS 13 is sold _as_ a Linux machine, and there aren't drivers for everything.
At my office the general consensus is "hate using the Mac but development is easier on a unix based machine" and our IT department doesn't have a process for securely preparing Linux machines.
The Fedora support definitely has me excited. Will try it out on my home computer before making the real jump.
It was enough to get me to try it. I like it generally, once it's configured properly.
Using Windows to write software that runs on Ubuntu servers is not really much harder than using a Mac to do the same thing. You have to use a VM either way.
By the way, I like Powershell so much I installed it on my Macbook Pro.
As graton alludes to with his upgrade link, the trick is to get to the upgrade through an accessibility link. Windows 10 is still free for people that require accessibility services (presumably since it has better accessibility features), but there's no actual requirement behind that.
I use it the same way I use Spotlight on mac and gnome-do on Ubuntu. I press a key-combo and it gives me a prompt to start typing a few characters that'll probably take me to what I'm looking for.
I unpinned everything, and just operate it entirely by keyboard: hit the windows key, type the first few characters of the program name, hit enter. I find I don't even need to look at it most of the time.
I also appreciate the fact that it "boots" instantly (i.e. you don't have to turn it on or off like VM) and that it works out of the box with every up-to-date W10 computer (great if you need to get something done on a computer that is not your own).
Does the new update fix it working with Windows Firewall? So far it was all or nothing, you could not block any processes seperately that were running within the subsystem. I assume that has not changed?
I still find it funny that people claim that they code on a Mac because it's flavor of Unix is somehow close to Linux. There's an ocean of differences between the two and I'm getting tired of people who perpetuate the false sense of security that because they're coding on macOS that they'll be fine when they deploy to a Linux environment. WSL is starting to look like the better option for those who for whatever reason can't develop for Linux in a Linux environment.
You can get an Professional OEM license from Kinguin[1] for ~$30.
One limitation I am aware of is that you can only license / activate one system at a time and I had to call MS to get the key unlocked after upgrading my gaming system.
Win 10 Home is only $110 from Newegg or Amazon, and less if you get the "OEM" version. I forget the restrictions on the OEM version, but I think its intended for people building systems and reselling them -- I don't think anything stops you from using it on your own system, its just technically in violation of the licence.
Windows 10 Home doesn't include the Group Policy Editor though, so if you buy that you're basically stuck having all manner of things shoved down your throat.
While the Pro version won't necessarily save you entirely from this, it goes a long way towards giving the user more freedom (at additional cost, of course).
As much as I wish this could be compared to what Apple did with MacOS, it's not an apt comparison. Microsoft is essentially bolting on a Linux distro whereas Apple rebuilt MacOS from the ground-up using NeXTSTEP. What Microsoft is doing is more akin to something like Cygwin, except Microsoft is developing it and you can choose your distro. You might have better integration between Windows and Linux, but it's hardly a rethink. I would really like to see a commercial grade UNIX alternative to Mac brought to us by Microsoft, but it doesn't appear they are headed in that direction.
I wonder if package maintainers will be able to use this as a way to test their packages on multiple distributions from a single test system. That would be pretty cool.
I continue to be impressed with the progress the WSL team has made. The usable open source development environment on top of a kernel that can correctly drive all the various peripheral in the box is so very useful to me.
Actually it is different. The difference might not matter in some cases, and in other cases it will.
Running on a VM means running on emulated devices, running in a Userland host means running on native devices. WSL is to windows as Wine is to Linux.
A really trivial example is the buffer cache. On a Linux kernel it will take big chunks of memory to buffer disk blocks that it has read and dirtied. When run in a VM it continues to have that behavior so for a given disk you have two sets of disk caches, one in the VM and one in the host kernel. Twice the cache with half the management smarts.
I'm not arguing that VMs vs API compatibility layers aren't different, but that the specific testbed case you'd mentioned of emulations on a single host is nothing novel.
A compatabilty layer generally takes away the kernel's role. Is that the case here?
Generally packages are concerned about interactions in 'user land' and the package manager of the distro. By not carrying around multiple copies of the kernel and its internal data structures this compatibility layer provides a better solution (in terms of resource utilization) for working with several different distributions on a single system than the VM approach does.
You can do a lot of this already with this tool [1] that uses the images on Docker Hub to replace the contents of the lxss folder. It's a little clunky but worked well enough for my limited needs.
Right, the WSL still uses the Windows kernel, so anything at that level (filesystem permissions etc) will be handled either by the kernel or by the "pico provider" syscall translators.
Perhaps they only used it at the very beginning, when network requests were horribly broken, to the point that you couldn't even do an npm install. I haven't had any issues lately with NPM however.
I initially had problems with max character length for paths. When npm installed dependencies really deep down, Windows became unable to move or delete such files. I think it's been fixed with Yarn's flat dependency structure, which I think npm has also gone or is going to in the near future.
Npm is broken for example, it's apath exception when it looks into the os api. It expects linux defaults. The npm guys are trying to f8x it last i saw. Shame the module causes that. Itll trinkle down to many other Tools.
On the one hand, they really seem earnest about wanting to make Windows 10 appealing to people like me who fled Windows for Unix-alike systems long ago. And steps like this show that they're not just addressing that at a shallow level, but are willing to dig deep to make it happen, which is sincerely encouraging.
But then on the other hand, they insist on loading Windows 10 up with privacy invasions you can't disable and ads in deeply inappropriate places like Windows Explorer, which is just a huge buzz-kill for the exact type of person who the other stuff is so clearly meant to appeal to. Which gives the whole effort a real Keystone Kops aspect.
It feels like there's different groups inside MS that are working from fundamentally incompatible premises, and Nadella either isn't willing or isn't able to wrangle them into all pulling in the same direction. I guess it's an improvement over the Microsoft of old to see the company's basic orientation go from "competent evil" to "incompetent good," but when you consider how few good things there are in the universe it's always sad to see a potential new one kneecapping itself.
> It feels like there's different groups inside MS that [...] Nadella either isn't willing or isn't able to wrangle them into all pulling in the same direction
Not MS specifically, charging between business units as though they're outside companies is pretty common these days. It's as disastrous for cooperation and productivity as you'd imagine.
I know someone who works at Microsoft (and has for 15 years.) These cartoons are brilliant--especially the org charts for different companies--but things actually are changing at Microsoft.
Some divisions change faster than others. And some old reputations are very hard to shake. But Microsoft isn't the company it used to be. There are other companies filling that role now. Example: Even though all you ever hear about is "Windows is spying on me!" I can name three big tech companies that probably know more about you than Microsoft does.
Thanks for the downvotes! But seriously, do you honestly think that Microsoft is spying on your more than Google, Facebook, or Amazon? And do you think your Mac OS doesn't have the exact same sort of telemetry (or more!) that Windows has?
While this may change at any operating system update (It did for Win7 in a supposedly "security" update), my Mac seems to want to talk to Apple only to get AppStore updates, whereas Windows machines in my office want to talk to a lot of servers at Microsoft, and do so with hard coded IPs, and weird process names. Can you point to an Apple equivalent of this list? https://arstechnica.com/information-technology/2017/04/micro...
My browser has a strict policy that tells Google, Facebook and Amazon exactly what I allow it to; that sometimes causes things to malfunction, and I can live with that. Can you tell me how to do that with Win10?
Oh, and, no, Fedora, Arch and even with Ubuntu's worst blunder in this respect, do not spy on me even 1:10000 as Microsoft does.
Sure, I can accept that a platform can be doing more than a website and also that you have less control over a platform. Good points, both.
I won't comment on Android. I already got ripped to shreds above by trying to bring up the point that mobile is completely locked into two major players that act exactly like Windows 10.
Since everything and everyone is collecting user data, it would be fair to leave the starter/home/"cloud" editions as it is.
But damn, if I'm going to pay for my OS I want ZERO data collection and the option to never use stuff like Cortana (opt-in). And if that's too much to ask, why don't they release a more expensive Windows 10 Tinfoil Edition? You would still have to trust MS but at least you would have the legal right to dispute it (if they decide to do something shady).
Really? On a discussion about a desktop OS? There are so many things going through my mind after your comment that I can't even start typing. Branch limit reached.
I'm using Android and I have the same concerns about it. I gave my Lumia away because it doesn't have the apps that I need and, again, I had the same concerns. My time is limited so I have to pick my battles. Mobile is a lost cause.
So I decide to give feedback about one of the two desktop OSs that I use (Windows and Linux). I don't give a shit if Apple/Google is going to make you insert a coin every hour to use the OS, I would still complain to MS if they decided to do the same.
I don't even know exactly what's your point. Feel free to ask if I write Microsoft with a $.
I didn't mean to offend. I'm just saying that if you think paying for an OS means you won't have data collection, then you're unlikely to find a smartphone that suits you.
My point, exactly, is that Microsoft is just another tech company these days. They're not the Evil Empire. At best, they are one of Many Evil Fiefdoms.
I understand that people are up in arms about data collection. And I understand that Microsoft tends to bungle any kind of public messaging about data collection. I'm just pointing out that every mobile OS, at least, collects tons of data.
> I'm just saying that if you think paying for an OS means you won't have data collection, then you're unlikely to find a smartphone that suits you
> I understand that people are up in arms about data collection. And I understand that Microsoft tends to bungle any kind of public messaging about data collection. I'm just pointing out that every mobile OS, at least, collects tons of data.
Why do you keep talking about mobile when the subject of this thread and my original comment is about Windows Desktop OS? Should we talk about IoT too?
> My point, exactly, is that Microsoft is just another tech company these days. They're not the Evil Empire. At best, they are one of Many Evil Fiefdoms.
You're triggered because I mentioned the word "trust"? When data leaves your computer, it's all about trust. I don't trust anyone so I don't want my personal data leaking in the first place. Most of the time ("like in mobile") there's no viable, realistic, practical alternative.
If the money I paid for my Windows license is not enough they need to rethink their pricing. That's all I'm asking. Allow me to pay for my privacy. I would quietly leave your ecosystem if I could but congratulations, you have me locked in because of my job and certain network effects.
Wow, sorry. No, no, I'm not triggered at all. I was only trying to illustrate the fact that there are times when we have no choice but to use an OS that uses telemetry.
I'll happily concede this thread and apologize for having brought it up. I really wasn't trying to start a fight. I was trying to give what I thought was an analogous example.
In my opinion it was never truly off even when the label pointed to that. Explorer, Photos, Cortana and everything else is constantly making networks calls for "reasons". For me "Off" means it will only call home to check for updates and for opt-in features that requires a connection.
Considering how much they are probably spending in order to make this happen (considering the amount of work being done to it), I feel like it was started as a proposal to the head people that there was a group of people that normally wouldn't use windows, but could be convinced to use it by having this subsystem. Along with this, supporting open source makes Microsoft look good.
But, it wasn't anywhere close to enough of an importance for Microsoft to abandon their data collection system just to go "all the way" with the whole open source thing. It seems like their privacy model is more important to them than whatever an open source model could bring them.
iCloud is at least also an Apple product. The last time I installed Win10 (fresh, legal install media direct from Microsoft), on the first boot there was an ad for Candy Crush in the start menu. That's just unacceptable.
On the one hand, they really seem earnest about wanting to make Windows 10 appealing to people like me who fled Windows for Unix-alike systems long ago.
I tried Ubuntu on Windows 10, and found it too wonky. I switched over to running Xubuntu in VirtualBox!
It feels like there's different groups inside MS that are working from fundamentally incompatible premises
Xubuntu is lovely, but for the last year I've been on i3/IceWeasel/urxvt exclusively. So much faster and more convenient than clicking and dragging around all the time.
When friends want to use my desktop I change my DE to XFCE for a sec. I also still use the XFCE login screen (because it's easy to install, it works and you get per-user DE defaults).
What Microsoft is doing with Windows today is not just "competent evil," it's "deliberate competent evil." 90's Microsoft was tolerable. Since Windows 10, they've destroyed the entire Windows ecosystem for anyone that cares about privacy. IMO, that's orders of magnitude worse for everyone. But hey, at least if we find a keylogger in Microsoft software, at least we know it's a feature, not a bug or debugging tool.
I think people have a bit of a popular misconception about the Explorer advertising thing. What's happening is that MS is adding a banner to Explorer advertising paid OneDrive subscriptions.
I totally agree that it's massively inappropriate, but I do think that most people are imagining third-party advertising which is not what's happening - a lot of people might not consider the current situation to be an "ad" necessarily since it is pushing a subscription for OneDrive, a Microsoft product that you already have installed. It's more of an in-app purchase kind of offer.
If this is all it is, then it is not unprecedented. I remember that Windows 95 did something similar with MSN (which at that time was also a dialup service).
Yeah, I recently installed Windows 95 in a VM to run some old software and I was actually quite surprised at how hard it pushes MSN - the "connect to the internet" wizard it presents basically asks if you're on a LAN and, if you say no, tells you to call MSN to sign up.
As-is, I don't think it's a big deal. This is a slippery slope though. Look at what cable television has become. You pay for the product and they shove advertisements down your throat. Satellite radio is doing the same thing.
They don't necessarily make it easy to turn off all the weird ad-type-stuff, but they don't make it impossible either. A quick tour through settings on install can get rid of it all.
There is still one absolutely heinous crime though - your system comes preinstalled with Minecraft and Candy Crush (and a couple other bullshit softares), and if you uninstall them, Windows 10 will automatically reinstall them. You have to do esoteric shit in the registry editor to disable this. It infuriates me.
>There is still one absolutely heinous crime though - your system comes preinstalled with Minecraft and Candy Crush (and a couple other bullshit softares), and if you uninstall them, Windows 10 will automatically reinstall them.
That was fixed in Creators Update: it now remembers uninstalled default applications.
I recently did a fresh install of creators update on my laptop. Not only does it have crapware bundled that I had to uninstall, it has placeholders for apps from store which is literally advertisement. I also got edge ads when I was downloading other browser. I preemptively disabled all other "suggestions", but saying that windows 10 doesn't have ads is a blatant lie.
I formatted a few weeks ago. After installing Chrome and opening it, a popover appeared over the Edge icon in my toolbar explaining how much faster it is. I've also seen a few OneDrive ads.
It seems to me like the issue is that its just a really large ship and will take a while for the whole company to get on board with the new philosphy. Redmond wasn't built in a day.
why do people support this company still? sorry to be that guy, but i will never use a product from them after the jwz fiasco. and no, new leadership doesn't make up for decades of behavior.
It is really too bad that we can't have things like this in our society. That looks like it would have been a very healthy way to deal with stress and frustration, especially in an otherwise restrained environment like work.
It's not clear if it's the intended result, but that link (for me, and quite unexpectedly) redirects to an Imgur picture of a testicle in a teacup, which is a little funny but which one might not intend to display.
Don't get me wrong, I love using it, but it doesn't beat the aesthetics of a terminal on a mac or a nicely configured ubuntu terminal.