Live data from Hacker News

WSL Manager

github.com

61–65 of 65 posts

Re: WSL Manager

#61
post #47

Earlier quoted context omitted.

If there was a vs code native alternative that was parity, that might not be a case. That's apples and oranges

Sublime Text? Sure, doesn't have the long tail of extensions, but surely most people don't need those. The biggest issue with ST being the fact that it costs money...

> The biggest issue with ST

The biggest issue is that it’s not open source.

Re: WSL Manager

#62
post #3

Looks nice but still a bit sad that Flutter is used instead of something native given that they don't need the app to be cross-platform. Well, even Microsoft uses React Native for a lot of Windows-only apps.

I'm glad I'm not alone in missing native apps. I get that it's easier to code a note-taking Electron app, but every time I look at a Linux terminal app written in JavaScript it makes me want to cry. I know I'm beating a dead HN horse here, but how the hell is it possible that megabytes of embedded JavaScript in websites, to the point that LinkedIn uses about half the RAM I had for my first computer loading 32 MB of J…

> The customers clearly don't want this bloat, companies clearly shouldn't want it either

Both of these statements are false. If this was really the case, then competing company/dev could implement native counterpart and just siphon all the users – I've only seen this happen with CLI tools (e.g. esbuild, rollup, uv, etc.)

Re: WSL Manager

#63
post #3

Looks nice but still a bit sad that Flutter is used instead of something native given that they don't need the app to be cross-platform. Well, even Microsoft uses React Native for a lot of Windows-only apps.

I'm glad I'm not alone in missing native apps. I get that it's easier to code a note-taking Electron app, but every time I look at a Linux terminal app written in JavaScript it makes me want to cry. I know I'm beating a dead HN horse here, but how the hell is it possible that megabytes of embedded JavaScript in websites, to the point that LinkedIn uses about half the RAM I had for my first computer loading 32 MB of J…

Most of the JS bloat comes from really aggressive analytics, error tracking, and a/b testing. Not many developers are willing or given approval to remove these features up for smaller bundle sizes.

Re: WSL Manager

#64
post #34

this is great and I have a feature request: A "refresh VM" feature that exports your home dir + packages into a new VM instance. I've tried Optimize-VHD but renewing the VM this way frees up disk and speeds up the VM as well. None of the WSL settings for sparse disk / disk shrinking seem to work well. Here's what I usually do $ tar -czf /mnt/c/Temp/home-backup.tgz $HOME $ apt list --installed > /mnt/c/Temp/packages.t…

"delete the VM, create a new one, reverse the process. $ tar -cxf /mnt/c/Temp/home-backup.tgz -C $HOME" That's not going to bring much joy.

it's illustrative

Re: WSL Manager

#65
post #56
post #34

this is great and I have a feature request: A "refresh VM" feature that exports your home dir + packages into a new VM instance. I've tried Optimize-VHD but renewing the VM this way frees up disk and speeds up the VM as well. None of the WSL settings for sparse disk / disk shrinking seem to work well. Here's what I usually do $ tar -czf /mnt/c/Temp/home-backup.tgz $HOME $ apt list --installed > /mnt/c/Temp/packages.t…

You operate a little cleaner than I do- there are invariably things that end up in /usr/local/bin.. Still, thanks for the process you use. My wsl is pretty long lived now, through quite a few ubuntu upgrades and installations of stuff that I probably no longer need.

you can try doing fstrim + Optimize-VMD first . i've found it is good up to 20% savings. On my last run my 75 gb wsl disk saved about 15gb. But wiping and re-installing trimmed about 60 gb
Post reply on HN