Curiosity: is anyone here developing inside a VM, with GPU passthrough, and with the monitor directly connected to the GPU used by the VM? (as in: showing the UI of the VM, without any need for RDP or the like) Such a setup works (I'd know for I have one at home doing just that but it's not my main PC) but how's it like to work like that? The GPU hooked to the hypervisor can either be on another monitor or on another…
Developing inside a virtual machine
91–100 of 147 posts
Re: Developing inside a virtual machine
#92Earlier quoted context omitted.
Heh if you can work around ALL its weird quirks, especially on windows.
Having supported team members where we were all running this setup there was constant fiddling with docker. Containers would freeze and often required restarting docker directly. Especially with WSL on windows. It’s slick when it works.
Re: Developing inside a virtual machine
#93Re: Developing inside a virtual machine
#94Thr Dev Container ecosystem for VsCode really is quite impressive at the moment. All your dev dependencies, wrapped up in a docker image per repo.
Heh if you can work around ALL its weird quirks, especially on windows.
Re: Developing inside a virtual machine
#95Devcontainers running as non root. Trivial t set up. Don’t need to fanny around with a Vm
Re: Developing inside a virtual machine
#96Are most companies this flexible in allowing developers to install whatever they want? > My physical machine is a 2023 MacBook Pro with M2 Pro CPU > I’m using VMWare Fusion Pro > Quite often I’ve found developers frowning up Ubuntu and preaching for folks to use NixOS, Arch, Debian or other distros. The reality for me was Ubuntu was the fastest way to get set up and now I'm in integrated circuit / semiconductor desig…
Re: Developing inside a virtual machine
#97Devcontainers running as non root. Trivial t set up. Don’t need to fanny around with a Vm
I've tried devcontainers in the past and the performance compared to my current setup was pretty bad. This was a few years ago when it was known that filesystem-heavy workloads on Docker for Mac were sub-optimal. I remember having to define several bind mounts which improved the overall performance. I do intend to revisit this solution next time I need to set up a dev environment but rest assured there was nothing su…
Re: Developing inside a virtual machine
#98Beats developing inside a docker container.
Does it though? I've developed in remote VMs before and the advantages are clear, but having a fully containerized development environment is really nice too because you can tear the whole thing down and rebuild at the drop of a hat. You can achieve that with a VM and scripts, but a Dockerfile is very lightweight and standard. Edit: Unless you literally mean "editing code in a container with vi". In which case yes I'…
Re: Developing inside a virtual machine
#99Re: Developing inside a virtual machine
#100Earlier quoted context omitted.
You'd think last year's Clownstrike incident would put the lie to the efficacy of the fucking-for-virginity approach to endpoint security favored by organizations but no. At the enterprise level, security isn't really about security, it's about having an audit trail so bad actors can be caught after the fact.
You would be surprised how much of corporate cybersecurity is done like this. It has not in anyway improved sine crowdstrike, on the contrary EDR shenanigans has probably grow 100% since last year. These security companies must have really good salesmen. Or maybe IT departments are always ran by clueless fools, who knows?
I think IT has its fair share of clueless fools, but what I've noticed is that when the "security department" is separate, people there tend to have no idea what they're talking about and rely on checklists. Plus, "everybody uses X, that means we're missing out".