Live data from Hacker News

The Windows Subsystem for Linux is now open source

blogs.windows.com

961–970 of 1001 posts

Re: The Windows Subsystem for Linux is now open source

#961

WSL is a landmine of bad design. I lost all my data once, and that incident made me switch to a Mac. Here's how you can lose all your data - and Microsoft engineers won’t care: https://github.com/microsoft/WSL/issues/8992 https://github.com/microsoft/WSL/issues/9830 https://github.com/microsoft/WSL/issues/9049#issuecomment-26...

I read your issue, and it's not so different from `sudo rm -rf /` as opposed to an actual design flaw.

Re: The Windows Subsystem for Linux is now open source

#962

What distros are y'all using on WSL?

NixOS! [1] You can keep the entrie system config in a single git repo. For me, it's far easier to work with, than, let's say, Ubuntu. But beware, it has steep learning curve.

[1]: https://github.com/nix-community/NixOS-WSL

Re: The Windows Subsystem for Linux is now open source

#963

Earlier quoted context omitted.

there is GUI program to automatic this progress[1] I have been using WSL to develop Firmware in Zephyr, no problem so far. [1]: https://blog.golioth.io/usb-support-in-wsl2-now-with-a-gui/

Not available in Win10 until recently, and broken and fixed even more recently... but thank you for the heads up. It seems this is finally a thing. I will have to see if it actually works in my case. The devices are intolerant of timing. Even using usb-serial instead of legacy hardware, let alone the ip stack, can be a problem unless using real ftdi adapters. Basically virtualizing rs-232's hardware flow control into…

Since WSL2 is basically VM now, i guess we can passthrough the usb device to VM and skip the whole IP stack, latency is still there, but much better than usbipd

Re: The Windows Subsystem for Linux is now open source

#964

Earlier quoted context omitted.

may be you missed the point - in WSL, you are with Linux/unix based env. So your Vim or other editors and tools just work like in regular Linux, Windows part until needed can be invisible and uninvolved. Other tools like VSCode IDE, has special handling (extension) to work _inside_ WSL and only keep GUI frontend on the Windows side (very close to how it works over SSH). On the other hand, I quite often use "explorer.…

Well that gives some hope, unless they (I'm speculating about future possible employer) just disable WSL

I'm using WSL since about 2017 on insider builds and wsl1 for occasional cases and WSL2 as as daily driver for, 5 years, so nice for me and no need in Linux on desktop.

Re: The Windows Subsystem for Linux is now open source

#965
post #821

Earlier quoted context omitted.

I'll say it too! There's no serious alternative to Excel for those who rely on its advanced features. You can't just edit Excel files in Libre Office Calc, Google Sheets, or Numbers without any problem whatsoever.

> There's no serious alternative to Excel for those who rely on its advanced features. Which is 5% of its users probably.

and 90% of that 5% are the CFOs. As Scooby Doo would say, "Rotsa ruck!"

Re: The Windows Subsystem for Linux is now open source

#966
post #943

I still can't believe how people use windows as their main system with all the extremely invasive telemetry and bogus "AI" features that hogs a LOT of resources at idle

Because 90% of software run only on Windows. As a software dev I understand that having telemetry is a good thing. I dont believe it is "extremely invasive". And I have no idea what AI features you mean (at least on Win10).

It is definitely in win11. Might be less on win10. Maybe try using something like simplewall [0], which shows prompts for every network request that phones home

[0] - https://github.com/henrypp/simplewall

Re: The Windows Subsystem for Linux is now open source

#967
post #781
post #151

When WSL came out I was absolutely overjoyed - finally an actual linux shell on windows! I use windows for my gaming pc, and I wanted to have a unified gaming/dev box. It felt like the solution. Over time though more and more small issues with it came up. Packages working not quite right, issues with the barriers between the two, etc. It always felt like there was a little bit more friction with the process. With Val…

I truly believe if AAA titles would not release for windows exclusively no-one would have a good reason to use windows really besides inertia.

So many companies use windows server because they don't have anyone who knows Linux.

Re: The Windows Subsystem for Linux is now open source

#968

WSL 2 is one of the biggest reasons I'm able to be productive as a blind software developer. With it I'm able to enjoy the best desktop screen reader accessibility (Windows and NVDA) as well as the best developer tools (Linux). I hate Microsoft's AI and ads force-feeding as much as anyone else but trust me, you'd do the same if you were in my shoes. Screen reader accessibility on Mac Os is stagnating even faster than…

>Screen reader accessibility on Mac Os is stagnating

Apocryphally, a lot of this was apparently developed at the direct insistence of Steve Jobs who had some run ins with very angry visually impaired people who struggled to use the early iphone/ipad.

That said, my source for this is one of the men who claims to have spoken to Mr Jobs personally, a visually impaired man who had lied to me on several fronts, and was extremely abusive. However I couldn't find anyone inside apple management or legal who would deny his claim. And he seemed to have been set the expectation that he could call the apple CEO at any time.

Re: The Windows Subsystem for Linux is now open source

#969
post #58

OT but the name irks me; Windows subsystem for Linux makes it sound like some sort of official Wine layer. It's a Linux subsystem for Windows if anything. It makes it sound like Microsoft is giving some capability to Linux whereas it's the other way around.

I agree that it's a dumb name but I actually think it's an apt description of what it is.

We run Linux on top of Windows. Windows is the subsystem for the Linux environment.

Still a dumb name.

Re: The Windows Subsystem for Linux is now open source

#970
WSL1 got my hopes up that we were on the path to Windows supporting the Linux user space API but then it was cancelled and replaced with a virtual machine based solution that I didn't need WSL2 to implement myself (with more flexability and capabilities).

I'd much prefer a proper compatibility layer that converts Linux system calls to their equivilent Windows calls and those calls be exposed from the Windows kernel itself.

That way I could just run Linux applications, bash, zsh and development tools directly on top of Windows without needing any "remote development tools" in my IDE or whatever.

Something closer to MSYS2/git bash/busybox for win - but where tools can ignore their Windows specific stuff like the filepath seperator.

It's fine I guess

Post reply on HN