121 points · by indigodaddy · 5y ago · 149 comments
I'm not sure if these issues are because I don't use it very frequently, but every time I start it up:
* CPU gets eaten alive by telemetry related services for minutes at a time.
* A barrage of updates I didn't ask for get forced on me (Despite whatever settings I put)
* Anti malware tools cause system to be I/O bound for about a minute
Longer term observations
* The disk usage goes up and up and up, even though I'm putting no data on to it
* I keep getting nagged to use a Microsoft account to sign in
* The default internet browser gets reset to Edge
* Some older applications just stop working for no reason, only to start working again weeks later.
On the plus side, Visual Studio seems to be much improved from what it used to be.
Wow.... looks like 100+ individual settings to toggle. It gathers them all together, but when I'm going through the configuration, I'm not only modifying the telemetry/privacy stuff but other preferences too, so it might not save all that much time.
(That UI is a little reminiscent of the Group Policy Editor, although I think the extra layer of ambiguous "slider buttons" make it even more confusing at first glance --- e.g. if the "App access to camera disabled" setting is red, does that mean the setting is not applied and apps can access the camera, or does the red mean the camera access is disabled? A "[*] Allow app access to camera" checkbox would be far more straightforward. That said, gpedit.msc's mix of enable-to-disable and disable-to-enable isn't much better either --- it's almost as if they are trying to mislead you.)
New dark pattern from Microsoft. One of the reasons to get off the platform forever. If settings change themselves they shouldn’t call themselves settings
Your disk space issue may be related to automated backups, system restore service, and LAN caching of Windows updates. You can disable these. Disk cleanup wizard can help here too.
Edge hijack has never happened to me, although a handful of links inside windows apps/services/docs do force edge to launch (which itself causes a confirmation to make it default, which I decline)
Windows is famous for backward compatibility, especially compared to Linux or MacOS, so I'm not sure what issues you're running into there. There are some strange system dependencies that I've seen cause issues; cortana search powering the start menu search feature and disabling the swap file causing numerous invisible failures come to mind.
Faulting anti-malware is frustrating because on windows you basically have to run it, and the default one is pretty okay. Most commercial options like symantec, norton, mcafee, etc are absolutely terrible.
I'm sorry, but that begs the question - what is even the point of telemetry then?
Anyway, when I saw the monster price tag for Enterprise, I suspected that is what they determined was the cost of loss of analytics
You can still buy win 10. The major point of the free win 8 upgrade was to let them avoid supporting the old version, which indicates the value of it to them was more than the cost of getting everyone to buy a new license.
Note that the free upgrade is not supposed to be transferable. New computer means new license, so you gotta pay.
- ubuntu still does a lot of silly stuff.
(I remove or neutralize motd, appport, snapd, ubuntu-report, unattended-upgrades, ubuntu-advantage, whoopsie and more)
Let me just reboot for you when you're afk without asking.
If you have a gaming or pro laptop in a bag, this is a fire hazard and could kill people.
I don't know how this was ever approved within Microsoft, but it is outright criminal negligence that should see them sued into the ground. Better yet, I'd like to see executives jailed if anyone every dies because of this arrogance.
Microsoft employees, get this through your thick heads: Your updates do not matter as much as my life!
I've seen a few blog posts like this one where competent individuals attempt to construct a Linux-like development environment on their Windows install. It's clear that you're still fighting the host environment at the end of the day, and that anything that provides a Linux-like interface is going to suffer from both Windows' lackluster performance and the overhead of virtualization/translation/emulation/whatever approach your layer-of-choice uses. Is it familiarity, presence of other (non-development) applications, or something else?
Edit: I should say that I haven't used Windows since 2012 or so, but I have developed for it (mostly drivers and filesystem work) since then by running VMs. Ironically, my best experience developing for Windows has been entirely on Linux and macOS.
I'm not aware of any compromises I've had to make, whereas MacOS colleagues have to deal with compatibility issues with userland utils, Docker, running *nix VMs, and so on.
And as of a couple months ago, GPU passthrough with WSL2 enables using an Nvidia GPU for ML tasks using Linux binaries.
There is no good story for tpm-secured booting into a full-drive encrypted Linux OS. What I have now still requires a passcode at boot, and it was still a pain to set up.
That's swell, but what advantage do you perceive versus... just running linux? I understand if you're a .net shop, but I'm always confused about the lengths Windows users seem to go through to run Linux tools within Windows rather than just running Linux.
I have to fight against Linux to do standard desktop environment GUI things, while Windows just works for the most part. The rough edges of Windows are essentially all covered by the Windows Subsystem for Linux.
What most Linux people say when they say that they want the "Linux development environment" they mean some shell tools. Shell tools that are now available under Windows with better "fidelity" than under MacOS.
I run WSL2, and when benchmarking performance is almost identical to rebooting into Ubuntu.
I've never had a laptop where everything worked well in Linux (WiFi, Bluetooth, sleeping), even when trying laptops where I was told it would work well, like the Dell XPS.
Also, I work on (open source) desktop software, where the majority of our users use Windows, so I like being able to easily debug their problems. I work in academia and get lots of word and Excel documents I have to edit, and find while open office can view them it often breaks them if I edit and resave.
OTOH windows is slower than Linux, but it's a price worth paying for some.
I don't disagree with any of this[1]! But we're talking about developers, not most people, and it looks like this particular author went out of their way to install a CLI editor.
Others have pointed out that Windows is still the right platform if you're a game developer, which makes a lot of sense to me. Are there other specific hobbyist development cases that are best served by a Windows environment?
[1]: Except the 4K and video conferencing. Those actually work quite nicely for me (n=1) on Linux.
I hate to beat up on Linux. I'm a 15 year user on my personal hardware who wishes he could use it for work.
I suppose I'll add my n=1 experience that battery life has been pretty good oob.
Corporate standards? Also, if you're in enterprise land, there could be some weird tool you need to use (or is superior to whatever you can get on Linux) that forces/encourages you to use Windows.
Also, there may be some weird little ergonomics thing: I recently switched from Windows to a Mac at work. We use Outlook, and IMHO Mac Outlook sucks compared to the Windows version. It's just missing a bunch of useful little features that I got used to. I was originally planning on using Windows Outlook in a VM, but got thwarted by new policies set by our new desktop support vendor.
which does not bother me one bit.
With tools like Looking Glass (https://looking-glass.io/) you don't even have to leave the Ubuntu Desktop environment.
I'm a linux guy, I've used linux almost exclusively for the past 10 years, but one of my two laptops recently started running Windows10 + WSL2.
Why I use it:
- WSL2 is usable. Looks like a linux, smells like a linux, and performance is way faster than on my linux laptop (purely because the windows laptop hardware is much more beefy, I'm just saying WSL2 performance isn't a bottleneck)
- Games, obviously, and I'm sure you know that. There's a non-negligible overlap between gamers and developers. VR games on linux is a no-go at the moment.
- Printers. I've never had a linux laptop that just worked regarding scans and printing. Sometimes I works, sometimes (usually) it doesn't.
- My otherwise well-supported thinkpad has a crappy broadcomm wifi+bluetooth chipset. It's just not well supported on linux. I've had to stay in a hotel for 2 weeks covid quarantine, I'm glad I had my windows laptop with me, as linux didn't want to connect to their wifi at all. Bridging wifi from my android phone is another workaround I use
- Regarding bluetooth, it's bad too. Audio works after a decent amount of manual config (finding the right driver online, the one shipped on ubuntu is the wrong one), but with horrible latency (almost 1sec). My bluetooth mouse is now working without issues, besides a bluetooth systemctl restart from time to time.
The bad things about it:
- A couple of random BSOD. I have no idea where to even start to debug them. Only 2-3 in 6 months of usage though.
- Botched upgrades. This was a bad one, when I bought the laptop, the latest upgrade just didn't work, it would brick the laptop. It seems to be a problem with my ryzen cpu, so the only solution was to reinstall and stop all updates until microsoft fixed it
- Upgrades in general, they're shitty, forced, etc... Nothing new here. I use third-party programs to stop the forced upgrades, so at least I have control over that
- Autohotkey is required for basic customization, like shortcuts. I'm very specific about my shortcuts (I need my bazillion emacs keybindings to work the same as in linux), but ahk makes it work for me.
- Some annoying, but non-critical bugs in WSL2. It might get better with time.
- Virtual workspaces are now shipped with windows, but their keybindings suck in a non-fixable way
There you go. I'm still a linux guy, I prefer linux and will probably dual boot an ubuntu+i3 once I buy a bigger SSD, but WSL2 makes dev on windows quite painless. All I need for my work is a terminal, emacs and a browser after all.
I've used Linux since early 2000's and OSX on the desktop since 2010+. Before that Windows CE, 95 and think Vista or 7 was the last.
I was curious about what Windows looks like these days as it's been a decade and also curious about WSL2 as it seems online posts are generally positive over WSL. The surface go / surface line of devices looked interesting for a nsmall, stuff in the bag while traveling doing email/browsing/office type of machine. I was tempted to buy one to see what they are about.
At a contracting gig last year I was given a Windows machine. I'm not sure if it was because it wasn't the best and typical corporate laptop specs, or if it was because of the corporate lock-down, installed software, av, and other junk but my eagerness to try modern Windows and WSL2 quickly diapered. I struggled getting docker running, i struggled running docker in the subsystem, i found things where not working in the subsystem, had difficulty with paths etc. In the end the machine went back and I got a mac and was up and running in an hour with full dev environment and everything set up how I like using nix-darwin. Same for the other devs, they where unable to get a working dev environment on windows so sent the machines back for macs.
Some of it will certainly be my unfamiliarity but it just didn't seem compelling enough to overcome. Clicking the start menu and seeing ads instead of finding programs was a blatant yes this is windows moment.Even the UI /UX felt old which seems odd given that Microsoft have quite a lot of material out on user interaction and ux research.
An interesting observation about modern Microsoft is a lot of the onsite Microsoft Azure employees seem to be using Macs and Microsoft give them the option of running Macs.
After a month, other than keybindings, I’m very pleased. For me, the python experience made the difference. It’s 1st class with VSCode and remote debugging over WSL.
https://news.ycombinator.com/item?id=25612962 (corrupting repos)
https://github.com/microsoft/WSL/issues/5336 (no Internet access)
[1]: https://blog.yossarian.net/2020/12/24/A-few-HiDPI-tricks-for...
Also i've tried WSL2 and Debian is much better than ubuntu. the ubuntu and snap fiasco is quite annoying. i know you can just uninstall snaps but i think a simple debian install is enough for most dev testing if you plan to go WSL2 because it's extremely lightweight and fast inside wsl2. Also vscodium is an option as open source without telemetry but wsl2 can't be accessed through it because it's apis i believe are closed source.
I put some small kids in front of some Windows and some Linux machines running GNOME 3. They had an easier time with GNOME.
Up until I set up a similar environment to the author, dev on Windows was always a nightmare. Typically I'd just ssh into a server and use vim when I was on windows as it was a better experience. WSL has been a game changer. Code... just works. It's actually impressive how well integrated they've made it. I no longer have to do strange hacks or worry about different line endings on windows. It all just works now. If you're on a decently powerful PC, I'd recommend trying it out. It's more resource heavy than a native Linux install for sure, but it means you no longer have to dual boot for gaming. That's a big win in my book.
I go back and forth between a personal Debian box and Surface laptop all day long and it really just emphasises the amount of bloat and drag that Windows experiences doing even the most basic things like manipulating files and using a web browser.
I can use VS Code on both OS's and everything is faster on Linux. Not sure why I would choose Windows unless I needed the C#/.Net toolchain.
My latest issue is a clean install of Ubuntu 20.04, 20.10, 18.04, all have screen flickering. Which doesn’t occur in other distros. (Not screen tearing)
But if I try mint, it has random UI freezing. Pop_OS! Has random things that won’t install because the distro name is pop and not ubuntu. Kubuntu runs flawlessly but then I can’t sign into vscode sync out of the box.
But when it works, it’s awesome.
Unless you're working on a legacy .NET Framework application, .NET Core will happily work on Linux.
For now.
You're missing out on Visual Studio... for Python, C++, etc.
Windows goes bizzerk within a week every week and somehow just maxes out my work laptop/desktops CPU for no apparent reason... needing reboots to fix it. Windows updates ruin all long-running tasks (like, unittests).. and unitTests cannot be run at low priority, cause they still effect normal priority apps way too much... If you start playing with low level systems in it, it'll just start blue screening . MS telemetry... Ad's on desktop... A LOT of crap I don't care about comes with it and runs by default.. vs ~32Mb of ram usage by the time I hit desktop.
Only if you're unaware of all the hidden spyware you have to find and disable... the last time I had to install Win10, there were so many dark patterns everywhere.
Windows is probably the best DE for Linux now. ( I'd still use i3 if I had a choice)
It's basically like homebrew for windows, and all programs are installed into a user folder, so no admin rights are necessary.
Windows is still, to some extent, full of magic and dragons underneath... and while they're doing an increasingly good job at hiding it, it does occasionally bite you in the arse. But Windows has on the whole become a competent development environment that works very well with almost any kind of development workload - with the exception of native iOS and MacOS. Also GPU accelerated ML on Windows is still kind of sketchy.
For a dedicated backend application development desktop, I still prefer Linux. But hardware support is generally better on Windows, plus you have access to Adobe Creative Suite, better colour management, better graphics drivers, etc. and there are types of development that just aren't practical on Linux, such as 3D games, Excel add-ons, VSTs and lots of proprietary embedded development platforms don't support anything other than Windows.
On the other hand, .NET development nowadays is just as easy on MacOS, Windows and Linux.
There’s other things that annoy me like typing latency, apt taking forever to run, an awful terminal emulator with basically no customization, copy and paste often just does not work. It’s really so frustrating.
The reason I prefer it to MacOS is that it is actually a real Linux kernel with all the trimmings - such as apt, docker, eBPF etc. My recent experience on MacOS is that every update seems to break Brew, which, while better than MacPorts, doesn't even work all that well to begin with. MacOS is a weird BSD with poorly documented closed source system components such as launchd. If that's your thing, it's fine - but I personally find the Mac/BSD userspace unpleasant to work with and am tired of fighting against it every time Apple decide to break my attempts to make it more tolerable.
Versus a VM it's less clear, but the integration is actually fairly good, each of your WSL2 "distros" start instantly, you can launch them to the current directory in Explorer or use them from Windows Terminal without SSHing. For the most part, it _feels_ like Ubuntu is just a part of Windows.
My workflow with WSL2 is that I keep most of my repos in the Windows desktop and use Windows versions of JetBrains' IDEs or VSCode for most of my work, but then I use WSL for docker/kubernetes, running CLI-oriented things like vim, ffmpeg, imagemagick, shell scripts, python, terraform, etc.
Plus, I have a Ryzen 5950X with 128GB memory, which isn't strictly a limitation of MacOS, but it certainly makes my life a lot better!
There are a few edge cases that are tricky (for instance you can’t register a batch script in WSL2 as a file association handler) but for the most part it’s pretty smooth.
Windows has incredibly good keyboard shortcut support. A small example, the context/menu key on keyboards is the equivalent of right clicking wherever the cursor is at, making spellchecking as I type super easy, I'm sure MacOS has some meta-combo that does this, but over 20 years ago Microsoft made this tiny piece of accessibility a first class citizen on their platform by starting a certification process for keyboards that included such a key.
Windows has non-borked external monitor support, unlike a slew of MacOS machines. (See, every thread on HN where some subset of people report problems with external monitors).
Windows has insane hardware support, buy whatever upgrade is on sale today, throw it in your machine, and odds are it'll just work.
Speaking of insane hardware support, my current Windows install has switched motherboards and CPUs multiple times. Pop the SSD into a new computer, boot, wait a few minutes for the OS to setup proper drivers, and off I go.
The UI is a first class citizen, not an afterthought. At no point do I have to wonder if my setup supports screen sharing.
Its media pipeline is pretty darn powerful. Per app volume control rocks, but the entire media stack can be rerouted, split, and merged, in all sorts of fun and cool ways.
The clipboard works. really well. I have actually seen the source code to the clipboard in Windows, a lot of engineering effort has gone into making it work that well.
Apps don't randomly stop working because I upgrade. Major UI utilities that reach deep into the system that I started using on Windows 7 work just fine today.
Do I have complaints about Windows? Of course. IMHO it has gotten way to large, back in Windows 2k and even the Windows 7 days, the # of background processes on a clean install was a fraction of what they are today. My start menu only opens up every other time I click it (...). And as with every other OS, reliability has gone down over the years.
But Windows isn't some half forgotten wasteland. It is the single most popular desktop OS, and for over a decade it was also the single most popular development platform.
Would I do docker based development on bare Windows? No, but I've done Android and Web development quite happily on Windows.
For reference, I have done C/C++ dev on Linux, and right now I use both MacOS and Windows for dev.
yeah and they are all scarcely documented and basically impossible to discover. you just randomly come across them on obscure 00's era PHP forums, there's no big comprehensive list of them somewhere.
I can run Debian or Ubuntu for weeks, even months, without rebooting. I can barely run Windows for a day or two without rebooting.
Others have mentioned the maddening and massive updates that happen frequently, and the weird application crashes and poor performance.
Windows has some cool stuff, like Powershell and .Net, but it’s otherwise too painful to use unless I absolutely must (which happens more often than I’d like these days, despite going 5 years without using windows at one point). Plus, Powershell and .Net are more readily available on Linux.
Something is wrong here. I run Windows 10 for weeks at a time without rebooting. I'm typing this reply out on a Windows 10 workstation that has been up for ten days without a single issue.
Does Windows even allow to not reboot? I've heard that if you miss the update popup it will automatically do the update and reboot. And if you click "Remind me later" or whatever too many times it will just remove the button and force you to update. Did they fixed that or is it still doing that?
Just last week, I moved my laptop back to Windows from Ubuntu because it froze up on me at least a couple of times a day (and that is a XPS13 - a system which is supposedly built to run Linux).
I have been using Linux since kernel version 0.99 or something, so its not like I dont know my way around it. I just dont really care which OS I run. It just needs to get out of the way and work for me and not against me. Windows does a good enough job at that.
I haven't heard about this! Do you have a reference?
For audio.
I haven't done it with video streams in a long time, sorry. I do remember splitting audio off, changing it, and muxing it back together.
>obviously has never used Linux
U+1F923
Disabling Windows updates is not possible.
You're joking, right?
Browse to C:\Windows\SoftwareDistribution, right click on the Downloads folder, click properties. Security Tab, Advanced, Change Permissions, Disable Inheritance, Remove all inherited permissions from this object, Apply.
To enable windows updates, reverse this process. You may have to stop the service or go to safe mode to this, though I don't remember doing that.
i think this is older version (i ran oct update)
you can also run the scripts on existing install but be warned its uh, very opinionated
Deleting a large folder like node_modules seems to take ages on windows as compared to macOS or Linux.
I'm sure there's more specialized cases where it's not up to par, but for the average use case, it's quite good!
Question: any issue with WSL2 and network connectivity to say services such as node running in your wsl2 that you would connect to from your browser? I’ve heard that in wsl2 there could be issues with this and you may have to do some workarounds or extra config magic..
I believe there are some edge cases but you have to get into stuff that isn’t just “open a port and listen on it”.
Also, the WSL extension for VS code makes it hardly noticeable that you're even working in windows.
You can mount the WSL2 file system in Windows, but then changes to files arnt communicated to apps. So your code editor wont know about changes made in the WSL2 env.
Not everything works or can with WSL2 either. There are some things you cant build and run.
I use Windows for games.
I also have a need for Adobe SW and MS Office. (requirment of my job).
macOS is great for dev, Adobe and Office. But I cant game on it...
There is no perfect OS for me right now. :-/
This killed me after switching from WSL1 to WSL2. I missed the part in the notes where it said you should no longer store your files outside WSL. Finally figured it out eventually and the speed improvement was huge.
function profile_alias { editor $PROFILE }
Set-Alias -Name profile -Value profile_alias
Why this instead of `function profile { editor $PROFILE }`?