1. How to use Bash on Windows to retain your previous setup: https://char.gd/blog/2017/how-to-set-up-the-perfect-modern-d...
2. Why WSL/Bash is good enough these days: https://medium.com/charged-tech/why-i-left-mac-for-windows-a...
I've been using it for the past 6 months after dual booting and running VMs for a long time and found I haven't found a reason to boot into my VM yet.
I suspect that most things that you can do in mingw64 will work the same in WSL, but things you need to do beyond that are basically broken in WSL and sub-optimal in mingw and almost always gets you to a point where you need a VM.
At the same time WSL has super limited benefit if you don't need any of the windows stuff, it basically means you are using linux inside windows but not using windows. When you use 'shell oriented workflows' on macOS, it just works, be it with BSD vs. GNU diffrences, which are easy to overcome by either learning or installing GNU versions of the tools you want (using a package manager like brew). In this setup, everything is the same system, what you do in the GUI also exists in the CLI, they interact directly with eachother, maintain state equally well, integrate directly with the rest of the OS, and basically has desktop functionality that isn't in the way of your development capabilities.
The only downside you can expect is if you need native windows development or windows-only tools, for everything else, windows doesn't really count anymore in almost all environments where I work (which is mostly retail, ecommerce, FOSS, infra). Only a small subset of things (large in quantity, small in configurations/versions/specific needs) that are managed by MSP's are still embedded windows or enterprise windows.
We do have a few people that actually like windows (be it the GUI, long time experience or simply brand affinity), but that's about it.
The performance is frankly terrible by comparison -- for example, running `bundle install` in a moderately complex Rails application will take nearly an order of magnitude longer (not to mention the Windows virus scan process soaking up 30% of your CPU the entire time).
Another issue is with background services -- I've had numerous issues running PostgreSQL, Redis, and other services (e.g. some services fail to start, or cannot be cleanly stopped, or I'll encounter strange network errors). However, these issues are all documented extensively in various GitHub issues, so hopefully they'll be resolved going forward. For PostgreSQL, the usual suggestion is to install PostgreSQL in Windows, and then access it from the WSL, but that kind of defeats the purpose.
I don't mean to be overly negative, but at least for my purposes, the WSL just isn't quite there in terms of being a viable alternative for daily development work.
It says officially: don't edit ubuntu files from windows editors, so it's not their fault. But not ready for work.
It's honestly dumbfounding. VSCode works great on Mac with the existing terminal but the WSL team can't figure out a good way to allow you to edit WSL files from a normal Windows application.
As it is right now I can't even edit my ~/.ssh/config from VSCode without jumping through hoops.
No. You don't want this. Linux and Windows are different platforms; if your Windows application could use your packages installed through Linux (and vice versa) then none of the native modules would work without a reinstall.
The side effects suck and they can make it better IMO but not sharing dependencies isn't an issue at all IMO.
> As it is right now I can't even edit my ~/.ssh/config from VSCode without jumping through hoops.
Yeah that sucks though for some things like git bash, etc, they use the proper windows home directory. So I end up just keeping those there and straight up copying or aliasing them to the WSL home folder.
It's not a great experience but it works.
Globally installed npm and composer packages live in ~/.npm/ and ~/.composer/ and they both have a global packages.json esque file that I need to occasionally edit. The packages installed in those folders MUST be parsed by VSCode for intelesense to work properly.
All I'm saying is I'm not gonna jump through all these hoops. I'd rather just keep working on my mac.
Hell I'd rather hackintosh a surface pro rather than deal with these issues.
Running VSCode through X is annoying.
Edit: this is a genuine question of an engineer, who uses Git/npm/node for fullstack development on Windows 10 every day. What kind of setup do you have and what UX do you expect, that requires running the tools in WSL?
Windows command prompt compared to bash is simply horrible. I personally find Powershell to be just as bad. The console app in windows is still light years behind Terminal in OS X. In fact VSCode's built in terminal wrapper is orders of magnitude better.
Things like wkhtmltopdf to generate PDFs or ffmpeg to work with videos should run as they do in Linux on the production server. In OS X I can use brew to set things up. In windows I have to hunt down binaries, put them in the right place, and set the path manually via an OS level GUI many clicks down in Advanced Settings.
The extra work I need to do to make all those tools work in windows makes setting up a windows dev environment cumbersome and annoying. The way it's laid out in OS X gives me way cleaner interoperability with the way the code actually runs in a Linux environment.
It's one of the reasons I love WSL! Finally I can have a ~/.ssh/config in Windows! But I still can't edit the file from a Windows text editor.
Finally if I'm on a team where the production environment relies on some of these linux binaries being available I don't want to waste work hours researching and writing on boarding documentation for the one dev that feels like working in windows when the rest of us are on macs.
Unless i'm misunderstanding the issue
For this reason, it is recommended to only edit files outside this directory from both subsystems (not to say this isn't issue-free, but it's relatively reliable.)
> defragmentation
No longer an issue. I'm honestly not up to date on why not, but nobody ever mentions it anymore.
> Windows registry issues
What issues? I haven't gone into the registry for anything in a long time.
> malware, adware
Not an issue as long as you run a modern browser and avoid going to sketchy websites and installing random things from them.
If you haven't used Windows since early XP, it's really worth another try. It's a whole lot better now.
SSDs, primarily. Depending on who you ask, defragging an SSD ranges between only slightly beneficial, totally pointless, and actively harmful.
Fragmentation will slow down your SSD. For non-server workloads, the SSD is very likely still plenty fast. Running a hard drive defragging program on your SSD will only address one of the two forms of fragmentation that SSDs are subject to, and thus will not help performance much. It will also unnecessarily burn through some of the SSD's limited write endurance, but that is almost never worth worrying about.
The second the paradigm changes, the value equation changes for everyone involved.
"Good enough" might stop people switching away from the platform, but it's not enough to bring back those who've already left. If Microsoft wants to bring people back to Windows as opposed to just stopping the bleeding, they'll have to deliver an experience that's actually superior to the other platforms. Given the current state of Windows 10, I don't think they'll have an easy time pulling that off.
The windows is dead, but the M$ Fish-trap attitude exists on in the Eco-system, being natural opposed to all things open to the source.
The search function is still as broken as ever. There is a useless "People" tab near the clock that hogs my memory. Then there is that other useless thing - Cortana. There are random noises for whatever error or notification that keeps playing in the background. Permission control is still completely broken. The Control Panel is a confused mess.
If I could go back to Windows 7, I might still be interested in keeping a Windows laptop. But 10 just keeps getting in my way. I just want to launch Chrome and use Google Docs, but Windows wants to distract me with a million little nuisances.
I just use my(pre-current design/mk1 retina) macbook pro with the same monitor at my desk now
As a Linux user (who also owns a Macbook), I find OSX to be a weak substitute. Many features (that we take for granted in Linux-land) require downloading binaries from unknown sources, vastly inferior package management, can use 32 gigs of RAM, relative lack of server-side packages, installs and updates take longer, poor support for NVidia etc. But this is all just my opinion - I'm quite used to running Linux.
Windows is actually a fine OS too - just different. In fact, running on an uncountable number of hardware configurations is a feat of engineering. Not to mention backward compatibility.
They are feats of engineering that are remarkable externally, but mean absolutely nothing to me as a user of only one of those uncountable number of hardware configurations.
I keep up to date on the software, but I sincerely hope after High Sierra Apple poured the necessary resources into making Mojave different. The thing about OS X is when it's working in my opinion it blows every other operating system out of the water. Clean. At least for my own workflow.
I don't buy a macbook for it's hardware. It could be two pounds heavier, have half the RAM for twice the price and look like a shoebox for all I care. OS X is what I'm paying thousands of dollars for.
I'm completely with you, and i don't understand how it seems to have peaked in reliability somewhere around 10.9-10.11 and just slid downhill since. 10.9-10 was probably the most reliable release since 10.6. I would pay significant extra money for some kind of ESR/enterprise release that was that stable just to get stuff done.
From a usability perspective peak Windows was 7. Despite years of use I still dislike Windows insistence on extreme flatness, and still find it counter-productive. Even with the huge gain from WSL and some other newer features of Windows the horrible privacy model, ads in menus, and a return to commonly occurring BSODs cancel out the improvements.
I could have failing memory, but I don't recall ever seeing a blue screen in 7 across a selection of machines.
Over on the Mac peak seems to have been around Mavericks, most of the changes since have been rearranging the furniture, and adding pointless flatness (thankfully not to the extreme variant of Windows). The number of minor annoyances and niggles has been growing steadily. Reliability has been trending down to the point that High Sierra during my 6 month ownership of a '16 MBP actually felt more flaky than Windows - a first I never thought I'd see. Back on Sierra with a '15 has fixed that.
Like you I'd vote with my wallet for an ESR or Mavericks with security and driver updates. I'll take dark mode on that though. :)
And on my HP blue screens are back. I thought that was a thing of the past.
It's less horrible if you buy MS hardware like the Surface - only a few games come pre-installed, unlike the misery HP & Dell inflict.
This should not exist and yet it does: https://github.com/W4RH4WK/Debloat-Windows-10
Every major OS distribution I know of come with at least 1-2 games
So I guess I'm stuck with using hacks to keep my operating system from shilling products at me.
Everyone agree we are a small niche. So anything below will have a minimal impact in the so important shareholders pockets, and win a enough love for us, IMHO:
- Apple hate to give better, more powerfull hardware with enough flexibility (change SSD, Memory, so not more glue. End). Make a limited true mac pro, heck, make it semi-ugly, non-thin so most will not want that, and VICTORY.
- MS give the hardware but refuse to give away the spyware. Give a solid Windows 2000 Server alike thing without cruft, give it with a LTS edition and even ask money for it, dammit. VICTORY
- Google could give a combo chrome machine/linux with the hardware/LTS edition, stick to it, VICTORY.
Yes, no idea PRO will be confusing :)
Crossover by Codeweavers works very well with Office 2016 on Ubuntu.
I'm using Google Docs and it works perfectly
So exactly what safari does, no?
Honest question
My work machine is a Debian with KDE Plasma 5 and it's everything you ever dreamed of plus I can go back to Xfce whenever I feel like life is moving too slow
While it’s possibly to make documents that work correctly in both editors with this formatting, you’re simply not going to get people out of their flow. It’s received as well as if the legal team started telling you what your Vim config should be ;).
It ends up being cheaper in terms of time saved for everyone to just buy office. I have a copy of Office just for Word based legal interactions and Excel and use LibreOffice for everything else out of preference for the “old school” UI.
Basically unusable if the docs have to be shared back with MS Office users.
Some time ago (shortly after MSO2016 for Mac release), I had to fill in a certain document, which I did and returned. Except it wasn't filled correctly, because Word 2016 for Mac didn't support the form controls, the document used them and I had no idea about that.
The other party called, we met, compared what we have both seen on the screen, corrected the document and closed that with "word acting funny for whatever reason" (the other party used 2013 for Windows). If I was using LibreOffice and something similar would happen, despite that they do a great job, the blame would be distributed in another fashion.
Fast forward several months and I see in the monthly update release notes, that the forms feature was added to the Mac release.
Many people are looking for quality alternatives to Macbooks, Mac Mini, etc (myself included). Mac Mini hasn’t been updated for 4-5 years. So, I started setting up a Windows desktop as a Mac Mini replacement. But when it came to finding all the alternatives to the OS X software I was using, and when Windows started showing me notifications about “try Edge,” “give us your valuable feedback,” etc, I went back.
If only Ubuntu could have native MS Office (needed for docs from lawyers), Sketch / Adobe products (needed for working with our designers), etc!