this post was submitted on 03 Jul 2023
638 points (100.0% liked)

Programmer Humor

421 readers
1 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Ucinorn@aussie.zone 34 points 1 year ago (5 children)

Not just OSX: anyone using WSL on windows is an offender too

But as a WSL user, dockerised Dev environments are pretty incredible to have running on a windows machine.

Does it required 64 gig of ram to run all my projects? Yes. Was it worth it? Also yes

[–] Mermitian@lemm.ee 13 points 1 year ago (3 children)

I’m even worse, I have used wsl in a windows vm on my mac before haha

And use that to virtualize Android, to go even further beyond

[–] fred 1 points 1 year ago
[–] NotSteve_ 1 points 1 year ago
[–] qwop@programming.dev 4 points 1 year ago (1 children)

My experience using docker on windows has been pretty awful, it would randomly become completely unresponsive, sometimes taking 100% CPU in the process. Couldn't stop it without restarting my computer. Tried reinstalling and various things, still no help. Only found a GitHub issue with hundreds of comments but no working workarounds/solutions.

When it does work it still manages to feel... fragile, although maybe that's just because of my experience with it breaking.

[–] Ucinorn@aussie.zone 1 points 1 year ago

I found the same thing until I started strictly controlling the resources each container could consume, and also changing to a much beefier machine. Running a single project with a few images were fine, but more than that and the WSL connection would randomly crash or become unresponsive.

Databases in particular you need to watch: left unchecked they will absolutely hog RAM.

[–] MXX53@programming.dev 1 points 1 year ago* (last edited 1 year ago)

I work in a windows environment at work and my VMs regularly flag the infrastructure firewalls. So WSL is my easiest way to at least be able to partially work in my environment of choice.

[–] Phoenix@programming.dev 1 points 1 year ago

I've used WSL to run deepspeed before because inexplicably microsoft didn't develop it for their own platform...

load more comments (1 replies)