News for hackers. Stuff that matters.
Re:Volta by qshaman on Monday May 03, 2021 @12:07PM (#27026821)
WSL works well, until it doesn't. For a non C# (or msft ecosystem) dev, Windows offers very little advantage for development. Every tool that is used mostly by Unix loving folks requires workarounds(when possible) to make it work on Windows. Terminal clients are subpar at best, the only selling point I see on Windows is the ability to play games. Without mentioning the privacy issues on Windows. Most mainstream Linux distros are rock solid stable. You can use out of the box Ubuntu as your daily driver with no configuration, besides installing the software you like. I'm not familiar with Gentoo, but yeah, if you install an arcane distro you could have issues with drivers, etc... MacOs is pretty solid too.
Re:Volta by implfuture on Monday May 03, 2021 @12:17PM (#27026956)
My daily driver is Debian WSL2, using wezterm (highly recommend) + tmux for terminal, and vscode integration for IDE. Aside from struggles getting custom subdomains to point to localhost, things have been quite stable.

I never thought I’d be saying this, but I find the Windows window manager the best out of the box, and as a bonus I get to do my unreal/vr dev side projects without booting into another OS.

Re:Volta by linkdd on Monday May 03, 2021 @12:54PM (#27027498)
I stayed on WSL1 for the shared localhost. And WSL2 still have some performance issues related to memory usage and Disk IO.

But yeah, I agree, Windows 10 has a great UX. I switched to windows because of the WSL, and I end up using it less and less over time: ssh, ansible, and avoiding cross-compiling toolchains when building releases, that's about it.

Re:Volta by TheTaytay on Monday May 03, 2021 @01:38PM (#27028133)
Yeah, I am in a similar boat. WSL 2 with Docker build environments gives me faster build times than my Mac. My default Windows Terminal is a Linux prompt with Zsh. It works surprisingly well. I built a Windows gaming rig and then wondered, “hmmm-this thing is fast. Can I work on it too?” And was delighted that our tool chain didn’t need any tweaking.
Re:Volta by oogetyboogety on Tuesday May 04, 2021 @08:06AM (#27036668)
Does windows have super button to move and resize. Also im way more used to x style focus on hover. Windows is missing this.
Re:Volta by oblio on Tuesday May 04, 2021 @03:18PM (#27041710)
> Terminal clients are subpar at best

https://github.com/microsoft/terminal

Re:Volta by oblio on Wednesday May 05, 2021 @05:01AM (#27047700)
Windows Terminal is quite comparable with the vast majority of *NIX terminals and the 2.0 release will have more features than quite a few of them.

But oh well, downvote away if that makes you angry :-))

Re:Volta by linkdd on Monday May 03, 2021 @12:10PM (#27026880)
Git Bash integrated in VS Code works very well.

For Rust/Go/Python/Javascript development, I've never had to rely on any workaround.

[dead]
Re:Volta by linkdd on Monday May 03, 2021 @12:41PM (#27027267)
> for `helloworld` projects maybe, yeah, have you worked on a large Rust project?

No need to be condescending...

Yes as a matter of fact, I have. Never ran into any problem with "cargo" nor "rustup".

> have you tried setting up ENV variables in Windows? is a journey of clicks into config windows and options, and this is just an example.

Git bash still have a .bashrc, I set my environment variables here just like I did on Linux. For production I use Docker.

> I would rather be in Unix

good for you

> than just being able to play Fornite

No need to be condescending... I'm not even playing on my WORK computer...

> and having to "filter my outgoing traffic"

I hope you still do it with your Linux OS because with the amount of "curl | sudo bash" there is out there, I would not trust it either.

Where does it come from that only Windows is subject to telemetry/monitoring? Whenever you "sudo apt install" something you trust someone else. If you're paranoid enough to not trust Windows, why would you trust any third-party software even on Linux?

> it seems too much work. I just want something that "works".

My workflow works for me, I never tried to convince you like you try to convince me. Leave me be.

Re:Volta by dragonwriter on Monday May 03, 2021 @12:34PM (#27027167)
> have you tried setting up ENV variables in Windows?

Its quite easy.

> is a journey of clicks into config windows and option

or in CMD.exe (e.g., via a .bat file) a simple call to setx.

or in Powershell or Windows Powershell, [Environment]::SetEnvironmentVariable.

This assumed you want to durably set variables associated with the machine or user; transitory settings can be done via set (CMD.exe) or $env:path (either powershell line).