News for hackers. Stuff that matters.
Re:WSL2 corrupting Git repositories and shell history by johnchristopher on Saturday January 02, 2021 @11:19AM (#25613772)
> 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 ?

Re:WSL2 corrupting Git repositories and shell history by dragonwriter on Saturday January 02, 2021 @11:33AM (#25613920)
> It always seemed strange to me that people would rather use WSL than the real thing when Windows doesn't bring much advantage.

Windows brings lots of advantage to some things (including interfacing with the large number of people who rely on people having software that works only or best on Windows; in anything other than very tech-focussed firms this probably includes your employer, and even in such firms it often includes your customers, which can matter a lot even in tech roles), and not switching between physical machines or rebooting between different tasks brings advantages.

Re:WSL2 corrupting Git repositories and shell history by kbar13 on Saturday January 02, 2021 @11:54AM (#25614109)
being able to play video games and alt tab into writing and testing code during queue times is huge for me
Re:WSL2 corrupting Git repositories and shell history by JosefAssad on Saturday January 02, 2021 @12:11PM (#25614266)
I remember when we used to write code and alt tab into a game while it compiled.

How the world has changed!

Re:WSL2 corrupting Git repositories and shell history by mlazos on Saturday January 02, 2021 @12:01PM (#25614174)
My team has to support both windows and Linux builds of our product. WSL1 was a godsend for this - I no longer had to ssh into a VM and could build both the Linux and windows versions from the same source, which was amazing. I hit one issue with wsl2 and then I reverted because I learned that this scenario (different builds from same source) would always be slower on wsl2.
Re:WSL2 corrupting Git repositories and shell history by frabbit on Saturday January 02, 2021 @09:35PM (#25618813)
I tried to revert from WSL2 to WSL1 and just cannot. I think it is due to Windows Defender which I cannot disable due to a corporate GPO. I gave up and just use both Cygwin and a VMWare image again.
Re:WSL2 corrupting Git repositories and shell history by INTPenis on Saturday January 02, 2021 @12:15PM (#25614293)
I'm one of those people who is forced to keep Windows around because of my employer. Our VPN only works in Windows.

Some people have made Juniper Pulse Client work in Linux, even a co-worker has posted some instructions. But I already have a setup where I start the VPN client in a Windows VM and tunnel through it.

I feel like any Linux solution would take a lot of time to setup and might not be as robust.

Another reason I still need Windows around is we only support S/MIME encryption in the Outlook client. Part of this is because of how our internal IT configures the cert, there is a way to make it work in the webmail but our IT guys have either opted out of that or not gotten around to it.

That's pretty much it though. I can happily use Linux for 99.99% of my time.

Re:WSL2 corrupting Git repositories and shell history by javajosh on Saturday January 02, 2021 @11:21AM (#25613800)
You are missing Office, Outlook, Visual Studio, and any enterprise nonsense IT requires on company computers. All of that requires Windows.
Re:WSL2 corrupting Git repositories and shell history by larrik on Saturday January 02, 2021 @11:36AM (#25613945)
The web version of Outlook has come a long way, and in my opinion has become the superior product (for my use cases, at least).
Re:WSL2 corrupting Git repositories and shell history by thethimble on Saturday January 02, 2021 @11:55AM (#25614122)
You’re also missing Adobe products as well as most games.

Using Linux without a reboot is an incredible convenience. Glossing over the value of proprietary software that only runs on Windows is narrow minded.

Re:WSL2 corrupting Git repositories and shell history by larrik on Saturday January 02, 2021 @03:41PM (#25616312)
My comment was really only about Outlook itself (using the web vs the desktop version, I prefer the web version).

that said, I hate Adobe products with a passion. When I build identical computers for my wife and I, the moment I install the Abode shit on hers, it becomes noticeably slower at everything. I don't truly understand it.

Re:WSL2 corrupting Git repositories and shell history by Zardoz84 on Sunday January 03, 2021 @06:53PM (#25626463)
few games, not most games.
Re:WSL2 corrupting Git repositories and shell history by chrisandchris on Saturday January 02, 2021 @12:20PM (#25614349)
The web version does work until you need to sign into more than 2 accounts per day (1 in regular, 1 in private). If you need more than 2 accounts, it does not work anymore.

Edit: it does work, but it will sign you out from all M365 services which requires a lot of logins for nothing.

Re:WSL2 corrupting Git repositories and shell history by dlgeek on Saturday January 02, 2021 @12:53PM (#25614679)
Firefox container tabs are great for this sort of thing.
Re:WSL2 corrupting Git repositories and shell history by aksss on Sunday January 03, 2021 @03:44PM (#25625053)
FF containers are great. Edge profiles do basically the same thing as well.
Re:WSL2 corrupting Git repositories and shell history by magicalhippo on Saturday January 02, 2021 @12:31PM (#25614440)
Couldn't you just use Firefox Containers for that? Seems to work fine for Google stuff.
Re:WSL2 corrupting Git repositories and shell history by larrik on Saturday January 02, 2021 @03:45PM (#25616342)
Fair, I'm only using it on one account. Also, I have a special Firefox plugin to make notifications louder.
Re:WSL2 corrupting Git repositories and shell history by rodelrod on Saturday January 02, 2021 @02:00PM (#25615366)
I get most of that running a Windows VM inside Linux. Granted, if there's enterprise IT involved there's no escape.
Re:WSL2 corrupting Git repositories and shell history by mmcnl on Saturday January 02, 2021 @02:54PM (#25615853)
The desktop experience Windows offers is often a lot better than the desktop experience of Linux. Then there's also the issue of Linux hardware support which often is not optimal. Also a lot of people need to use Windows for work and don't have a choice. And then there's the possibility people actually like using Windows. Having a full Linux terminal in your Windows desktop environment is the best of both worlds for a lot of people.
Re:WSL2 corrupting Git repositories and shell history by shrimp_emoji on Saturday January 02, 2021 @04:16PM (#25616617)
>The desktop experience Windows offers is often a lot better than the desktop experience of Linux.

Shockingly, this is untrue if using KDE. Almost everything in it is better than a multi-billion-dollar company's monopolistic OS shell somehow, from the taskbar customization to the features (disable compositing, deep customization of effects and behavior, have windows remember size/position, etc.) to the file manager, Dolphin, which has split views, tabs, had a dark theme a dozen years ago, more file metadata to show optionally like date modified and size, thumbnails for even text files, terminal integration, and more (although technically that's an independent package available on any DE). The exceptions are how "smoothly" windows glide around the screen when dragged and that the Windows taskbar looks slightly better.

Re:WSL2 corrupting Git repositories and shell history by pjmlp on Sunday January 03, 2021 @06:06AM (#25621085)
Yet FOSS GNU/Linux developers prefer to give money to Apple, Google and Microsoft instead of making Desktop Linux a reality.

Quite ironic.

Re:WSL2 corrupting Git repositories and shell history by mattwad on Saturday January 02, 2021 @12:01PM (#25614173)
Linux support for touchscreen is measly, and it's a really nice feature of many Windows laptops. IMO Windows GUI has the best out-of-box features, OSX second and Linux third. Now, if you like working from the terminal, that order is reversed.
Re:WSL2 corrupting Git repositories and shell history by alexhutcheson on Saturday January 02, 2021 @05:26PM (#25617168)
Windows Terminal is roughly on par with GNOME Terminal, and PowerShell is actually pretty decent once you learn it.
Re:WSL2 corrupting Git repositories and shell history by jniedrauer on Saturday January 02, 2021 @11:46AM (#25614034)
A lot of people out there don't get to choose their workstation OS. Their only options are a linux VM in virtualbox, or a linux VM in WSL2.
Re:WSL2 corrupting Git repositories and shell history by pineconewarrior on Saturday January 02, 2021 @11:52AM (#25614091)
This is it for me. We're a 'windows shop'. I think only the IT guy is happy about that.
Re:WSL2 corrupting Git repositories and shell history by zamalek on Saturday January 02, 2021 @01:15PM (#25614892)
> What am I missing ?

Visual Studio.

The other thing on my Windows VM is Affinity Photo/Designer (because GIMP is not a realistic Photoshop alternative).

Re:WSL2 corrupting Git repositories and shell history by indymike on Saturday January 02, 2021 @01:37PM (#25615138)
I'd buy affinity designer, photo and publisher again if they ship a Linux version. I have it both for Windows and Mac.
Re:WSL2 corrupting Git repositories and shell history by zamalek on Saturday January 02, 2021 @02:10PM (#25615446)
Absolutely, I would too. They are fantastic products.

I did some Googling yesterday and the last word on the matter is that Photo would cost $500k alone, which they couldn't see recuperating.[1]

[1]: https://forum.affinity.serif.com/index.php?/topic/626-affini...

Re:WSL2 corrupting Git repositories and shell history by indymike on Saturday January 02, 2021 @02:24PM (#25615588)
I'm pretty sure they could recoup the cost if they made sure their installer could install on ChromeOS's Linux container. The number of Chromebooks out there is staggering, and is starving for great graphics software. This would also be a great way to get ahead of Adobe in the education space, as it appears Chromebooks have taken over education (at least k-12 in the US).
Re:WSL2 corrupting Git repositories and shell history by weswpg on Saturday January 02, 2021 @12:31PM (#25614445)
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)
Re:WSL2 corrupting Git repositories and shell history by frabbit on Saturday January 02, 2021 @09:43PM (#25618851)
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 by hackerNoose on Sunday January 03, 2021 @09:19AM (#25621896)
It's quite obvious actually. What people want from Unix is the terminal. The GUI experience on Linux is subpar. Random strange bugs and driver issue are still rife in 2021. Windows has the opposite issue. WSL promises to solve this by giving you the best of both worlds.
Re:WSL2 corrupting Git repositories and shell history by Daegalus on Saturday January 02, 2021 @06:07PM (#25617493)
Just compatiblity. I was Linux for a long while for work and gaming. Constant compatibility and hardware issues.

Even something like Zoom worked like shit on Linux half the time. Or was missing features.

Audio/Video hardware had issues too. Something as simple as a webcam became this giant problem. Configuring mice and keyboards was a nightmare.

This is a lot to do with companies not supporting Linux and having to use community created reverse-engineered stuff, so it's not all Linux's fault, but at the same time, it just became a pain in the ass to maintain and fix constantly.

Also games, as much as Steam/Photon/Wine have improved, there are just some things that don't work.

So, I switched back to Windows, and even if I prefer linux, I just can't have it as my daily driver. so WSL2 is great for me.

Re:WSL2 corrupting Git repositories and shell history by k_bx on Saturday January 02, 2021 @11:24AM (#25613822)
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.
Re:WSL2 corrupting Git repositories and shell history by zemo on Saturday January 02, 2021 @09:50PM (#25618893)
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 by pottertheotter on Saturday January 02, 2021 @12:30PM (#25614435)
This is why I like macOS so much. I understand that it's not the same as having Ubuntu in WSL, but using the Mac terminal is so close to the experience I have when I SSH into my Ubuntu box that it's nearly 1:1 for me.
Re:WSL2 corrupting Git repositories and shell history by mmcnl on Saturday January 02, 2021 @02:56PM (#25615896)
macOS is not perfect. Brew is inferior to apt-get (which WSL2 offers), and Docker needs virtualization in macOS as well. Windows + WSL2 is a strong competitor for the Unix experience on Mac, and sometimes even better (because it is actual Linux and not just a POSIX-compliant Unix terminal).
Re:WSL2 corrupting Git repositories and shell history by WesolyKubeczek on Saturday January 02, 2021 @12:46PM (#25614607)
Oh, blessed are those who never had to deal with the assumption that every shell is bash despite using /bin/sh in shebangs of their scripts, or with the assumption that all core utilities (like find or grep) are of the GNU flavor.

Ignorant they are, yet their ignorance is a bliss.

Re:WSL2 corrupting Git repositories and shell history by semicolon_storm on Saturday January 02, 2021 @12:34PM (#25614475)
Company IT policies. Can't make *nix the main OS, can't easily dualboot, and running the dev workspace in a VM is slow.

The answer, at least in my case, has been using Windows where I must and WSL for whatever I can.

Re:WSL2 corrupting Git repositories and shell history by nhumrich on Saturday January 02, 2021 @12:10PM (#25614253)
> What am I missing

Being able to use both at the same time. Being able to open windows apps, and have them use the linux filesystem and executables (like IDEs)

Re:WSL2 corrupting Git repositories and shell history by topranks on Saturday January 02, 2021 @02:03PM (#25615389)
My work PC with Office on it.