News for hackers. Stuff that matters.
Re:WSL2 corrupting Git repositories and shell history by jayflux on Saturday January 02, 2021 @09:49AM (#25613136)
It's very useful for projects that require (or work better in) a linux environment. I don't want to start up a full linux VM, that sounds like a lot of overhead and I'm more likely to not bother at all. WSL is much lighter than that (we're not talking virtualbox here), if I open windows terminal its up and running, there's almost-zero start up cost.

With VSCode I can switch between working in WSL and windows easily, without needing a desktop GUI to write code in. There's no startup cost, I'm immediately in the correct environment for that project. I've found it very useful since it came out.

Re:WSL2 corrupting Git repositories and shell history by BlueTemplar on Saturday January 02, 2021 @10:17AM (#25613344)
You've not explained why you would not run a native Linux system in the first place…
Re:WSL2 corrupting Git repositories and shell history by whenitrains on Saturday January 02, 2021 @04:23PM (#25616675)
I write C# for .Net Core and .Net Framework professionally.

I'm open to suggestions but it simply seems crazy difficult to do this outside of Windows. WSL lets me jump into *nix quickly when I need it for whatever reason. I don't need a desktop machine. Why not just use WSL?

Re:WSL2 corrupting Git repositories and shell history by easton on Saturday January 02, 2021 @12:31PM (#25614441)
Office, which doesn’t have a good replacement on the web or on Linux.
Re:WSL2 corrupting Git repositories and shell history by BlueTemplar on Saturday January 02, 2021 @01:07PM (#25614816)
What is inadequate about Libre Office ?
Re:WSL2 corrupting Git repositories and shell history by ojnabieoot on Saturday January 02, 2021 @01:37PM (#25615139)
Calc is really not an adequate substitute for Excel if you need to use VBA macros - which might be coming from your customers! And in the wild I see plenty of older Excel documents (before 97) which I don’t think are compatible with LibreOffice. Obviously this isn’t an ideal situation but historical data around prices/etc from the 90s are often stored as old Excel binaries.

In general I think using Calc (or Google Sheets) instead of Excel is a bad idea for a business. Word processing and spreadsheets - sure (although there might be some things specific to Word/PPT that I am not aware of). But Excel is a very specific piece of software and should not be thought of as a general “spreadsheet tool.”

Re:WSL2 corrupting Git repositories and shell history by BlueTemplar on Saturday January 02, 2021 @01:58PM (#25615352)
Calc has several options for languages to use for macros, for instance Python – I'm not certain about VBA support, but it would seem that many industries are slowly migrating to Python anyway :

https://news.ycombinator.com/item?id=25588720

Re:WSL2 corrupting Git repositories and shell history by ojnabieoot on Saturday January 02, 2021 @02:08PM (#25615428)
The point is that VBA macros are portable across Excel but not between Excel and Calc. Calc does not support VBA macros. As many businesses need to consume spreadsheets with VBA macros, and since porting VBA to Python isn’t sustainable, Calc is simply not a good enough replacement for enterprise.

I am not sure that one anecdotal blogpost supports the idea that industries are moving from Excel to Python. It is more likely that people are productionizing Excel spreadsheets with Python these days, instead of C++ or Java.

Re:WSL2 corrupting Git repositories and shell history by BlueTemplar on Saturday January 02, 2021 @04:54PM (#25616916)
Not sure about Calc, but 'modern' Excel doesn't even seem to be able to deal with text (UTF-8) in CSV properly :

https://news.ycombinator.com/item?id=25015679

(And I know from experience that 2003- versions of Excel don't.)

Re:WSL2 corrupting Git repositories and shell history by ojnabieoot on Saturday January 02, 2021 @08:19PM (#25618428)
I am not arguing in favor of Excel! I hate Excel. I don’t have it installed on my personal devices. I never use Excel unless I have to. I am saying that Excel does specific things that are widely used in industry (especially finance and industry) which are not supported by Calc and that Calc is not a good replacement for many businesses.
Re:WSL2 corrupting Git repositories and shell history by majewsky on Saturday January 02, 2021 @12:51PM (#25614657)
Because corporate only allows their sanctioned images.