I've been a Linux user since 1995 and run Windows + WSL2 on my desktop machines. It's not too deep and pretty similar to why so many folks were drawn to Macs; a no brains just works GUI with the ability to launch a…
If you want to remove a lot of unnecessary pain in your life, completely abandon the idea of mounting a host FS within a guest VM. Doubly so if they're different OS's/FS's and triply so if this a development VM.
I think most developers would be happy with a Thinkpad, if it meant they could use Docker without pulling their hair out.
Not quite. WSL2 dynamically uses resources as needed (`vmmem`), whereas a traditional VM requires allocating a fixed amount of RAM and CPU from the host machine.
No. A minimal initrd + kernel is virtualized. Both Ubuntu and Kali are containers.
The simple answer is that typically the software that keeps one tied to Windows is the type that wants/needs to be on metal. Hardware passthrough does exist and I only expect it to improve, but we're still a ways from…
I did. But I also have Windows machines, in which I use WSL2. Granted, I don't use GUI applications on them (or see much need to). It's actually quite nice to have a "real" linux instance available on virtually any…
WSL2 uses it's own init system - only one kernel (plus a tiny initrd) is virtualized by hyper-v; each subsequent linux instance (distribution) is containerized. There's additional facilities that handle resource…
Living in Middle of Nowhere, New Mexico I was actually pretty surprised by how well Google Maps has worked. It knows my dirt/gravel roads pretty well.
You said earlier that "If the inconvenience of arguments troubles you, write a wrapper". That's precisely what a script like this is. A wrapper. I can run one simple, static command, similar to just about any build tool…
It's unnecessary complexity for the user. As opposed to simply having the build instructions as `Run bin/build` you're suggesting "Run bin/build <project root>". But there's zero reason for requiring the user to supply…
Yes, it is silly. You've just added extra complexity to a project for little to no benefit. If you decide to move the script you take the same steps as if you moved anything else i.e update the references.
little one liners like that are arguably better implemented as aliases
In many cases one might not want a full stand-alone program with arguments, usage and such. Rather a "script" i.e. something that can be simply executed to run a series of tasks. For example it's quite silly for a build…
WSL2 is great if you treat like a linux system i.e. don't do goofy things like check out code on NTFS and work on it from Linux.
People talk about idempotency, as if it's complicated because it's a 5 syllable word. if ! which sometool; then install sometool fi That's an idempotent shell script, in all it's simple glory.
I revisit these tools every so often and I still don't understand how they're any better than simple shell scripts.
Anyone else think this is just a clever ad for DigitalOcean?
I knew a guy in high school (1997) who was talking about this thing called Linux. It was a super complex operating system and didn't even have a graphical interface. Our thinking was if we managed to install it we'd be…
WSL2 has been a major game changer for me. Being able to isolate my work entirely inside the linux VM (with VSCode Remote) has eliminated 90% of my frustrations with developing on Windows.
It always gets a groan out of me. They come across as self-serving, like big corporations that run commercials to talk about how great they are ('we here at widget company X care about Y'). In comparison, the…
i've worked with way too many programmers who were great at math but couldn't match their shirt and pants.
haven't had that issue for years with npm/yarn, thanks to lockfiles.
Not sure. Maybe time to convert some classes to modules.
In typescript I will for example make a class called 'Tools' with static 'free form' functions and no constructor. I do it just because it's easy to organize, import and call the functions. Is this bad?
I've been a Linux user since 1995 and run Windows + WSL2 on my desktop machines. It's not too deep and pretty similar to why so many folks were drawn to Macs; a no brains just works GUI with the ability to launch a…
If you want to remove a lot of unnecessary pain in your life, completely abandon the idea of mounting a host FS within a guest VM. Doubly so if they're different OS's/FS's and triply so if this a development VM.
I think most developers would be happy with a Thinkpad, if it meant they could use Docker without pulling their hair out.
Not quite. WSL2 dynamically uses resources as needed (`vmmem`), whereas a traditional VM requires allocating a fixed amount of RAM and CPU from the host machine.
No. A minimal initrd + kernel is virtualized. Both Ubuntu and Kali are containers.
The simple answer is that typically the software that keeps one tied to Windows is the type that wants/needs to be on metal. Hardware passthrough does exist and I only expect it to improve, but we're still a ways from…
I did. But I also have Windows machines, in which I use WSL2. Granted, I don't use GUI applications on them (or see much need to). It's actually quite nice to have a "real" linux instance available on virtually any…
WSL2 uses it's own init system - only one kernel (plus a tiny initrd) is virtualized by hyper-v; each subsequent linux instance (distribution) is containerized. There's additional facilities that handle resource…
Living in Middle of Nowhere, New Mexico I was actually pretty surprised by how well Google Maps has worked. It knows my dirt/gravel roads pretty well.
You said earlier that "If the inconvenience of arguments troubles you, write a wrapper". That's precisely what a script like this is. A wrapper. I can run one simple, static command, similar to just about any build tool…
It's unnecessary complexity for the user. As opposed to simply having the build instructions as `Run bin/build` you're suggesting "Run bin/build <project root>". But there's zero reason for requiring the user to supply…
Yes, it is silly. You've just added extra complexity to a project for little to no benefit. If you decide to move the script you take the same steps as if you moved anything else i.e update the references.
little one liners like that are arguably better implemented as aliases
In many cases one might not want a full stand-alone program with arguments, usage and such. Rather a "script" i.e. something that can be simply executed to run a series of tasks. For example it's quite silly for a build…
WSL2 is great if you treat like a linux system i.e. don't do goofy things like check out code on NTFS and work on it from Linux.
People talk about idempotency, as if it's complicated because it's a 5 syllable word. if ! which sometool; then install sometool fi That's an idempotent shell script, in all it's simple glory.
I revisit these tools every so often and I still don't understand how they're any better than simple shell scripts.
Anyone else think this is just a clever ad for DigitalOcean?
I knew a guy in high school (1997) who was talking about this thing called Linux. It was a super complex operating system and didn't even have a graphical interface. Our thinking was if we managed to install it we'd be…
WSL2 has been a major game changer for me. Being able to isolate my work entirely inside the linux VM (with VSCode Remote) has eliminated 90% of my frustrations with developing on Windows.
It always gets a groan out of me. They come across as self-serving, like big corporations that run commercials to talk about how great they are ('we here at widget company X care about Y'). In comparison, the…
i've worked with way too many programmers who were great at math but couldn't match their shirt and pants.
haven't had that issue for years with npm/yarn, thanks to lockfiles.
Not sure. Maybe time to convert some classes to modules.
In typescript I will for example make a class called 'Tools' with static 'free form' functions and no constructor. I do it just because it's easy to organize, import and call the functions. Is this bad?