Live data from Hacker News

WSL2 corrupting Git repositories and shell history

github.com

341–350 of 423 posts

Re: WSL2 corrupting Git repositories and shell history

#341
post #145

> Feel like booting Linux on a separate disk because of these issues. It always seemed strange to me that people would rather use WSL than the real thing when Windows doesn't bring much advantage. What am I missing ?

Games and MS Office are a big draw but the deal killer app for me is OneNote because unlike Note-taking options on Linux, it syncs to iOS and screenshots go straight into my current note (no need to copy and paste)

You should look into Zotero. Syncs to WebDAV and Git. Enables snagging text, video, pdf, images. Has exporters to common bibliography managers. Really amazing and not tied to any particular operating system().

Disclaimer: I use it exclusively on Linux but there are iOS clients https://www.zotero.org/support/mobile

Re: WSL2 corrupting Git repositories and shell history

#342
post #94

> Feel like booting Linux on a separate disk because of these issues. It always seemed strange to me that people would rather use WSL than the real thing when Windows doesn't bring much advantage. What am I missing ?

I need to use Windows for Visual Studio, Unity Editor and other things targeting Windows, but I've been a Linux person for 14 years now and would like to still do as much as possible via the tools I'm used to.

I dunno how long it's been available but I installed Unity Hub and Unity on Ubuntu yesterday. Haven't played with it much yet though.

Re: WSL2 corrupting Git repositories and shell history

#343

Earlier quoted context omitted.

Agreed, I can't use virtualbox and WSL2 at the same time, epic fail.

That is no longer true since VirtualBox 6 (or VMware Workstation 15.5), both of which can work alongside WSL2.

I tried the hyper v VirtualBox option and consider it a waste of several hours. The graphics support in that mode is abysmal.

Re: WSL2 corrupting Git repositories and shell history

#344

WSL2 was promised as a good working extension for a Linux dev environment on windows by my peers. Sadly, a whole host of issues specific to my dev environment meant that it was useless as I’d spend more time fixing it than getting any valuable use out of it. More importantly, this became the very reason I switched to arch full time, and haven’t looked back since. I still hope that it becomes what it was promised to b…

I’m in the same boat as you. I moved to linux for similar reason and haven’t really looked back

Re: WSL2 corrupting Git repositories and shell history

#345
post #81

Earlier quoted context omitted.

Had a serious talk a Unix manager over a decade ago who was convinced Windows ops didn't require as much expertise as Unix/Linux. It was a common misconception that MS seemed to encourage. As someone who came over from Windows, I knew better. That attitude continues to influence standard practices, hiring and, most importantly, training and education opportunities for Windows admins -- to the detriment of all. I've a…

Agreed. I've done both and if you ask me Windows ops is vastly more difficult because everything is brittle, inconsistent and unreliable and rarely repeatable almost all of the time. It requires great skill, determination and persistence to navigate issues like this. Unfortunately as you suggest, the outcome is hiring as cheap as possible and fixing all issues by not changing anything other than replacing everything…

> Unfortunately as you suggest, the outcome is hiring as cheap as possible and fixing all issues by not changing anything other than replacing everything every few years.

I think you’ve hit the nail on the head there. It seems like every organisation I’ve been part of which has a significant Windows presence is either static or planning a rollout of and migration to some new magical enterprise software that replaces the old enterprise software they purchased and this time it’ll definitely make everything better. It’s amazing to me how much money gets spent on per-seat licensing for what essentially amounts to no noticeable improvement for anyone involved. But sure, I’m sure this company-wide spyware of choice will be the one that finally means we can just stop caring about security or provisioning machines, right folks?

It’s like the folks doing it have mastered the art of finding busywork that’s just complicated enough that folks signing the cheques can’t really tell they’re burning money. In that sense it’s beautiful I suppose.

Just, erm, ignore the fact a dozen different developers have essentially root access to production databases... at least they can’t install software!

Re: WSL2 corrupting Git repositories and shell history

#348
post #92

WSL2 works until you need it really, and then it starts giving you problems. The networking problems are the worst. Installed a Linux VM under VMWare and called it a day.

Yah, or use Linux.

its like running linux through a vm but with a lot more random bugs

Re: WSL2 corrupting Git repositories and shell history

#349
I won't leave WSL1 for my bash on Windows needs.

For native linux, I have my choice of distro installed on my choice of hypervisor (Debian, VMWare).

I use VSCode and the Remote SSH extension (functions identically to WSL2). The difference is I know exactly what is going on. I know when and why certain network conditions exist (port forwarding, etc).

Post reply on HN