• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle
  • It probably really depends on the project, though I’d probably try and start with the tests that are easiest/nicest to write and those which will be most useful. Look for complex logic that is also quite self-contained.

    That will probably help to convince others of the value of tests if they aren’t onboard already.













  • When it happens docker+wsl become completely unresponsive anyway though. Stopping containers fails, after closing docker desktop wsl.exe --shutdown still doesn’t work, only thing I’ve managed to stop the CPU usage is killing a bunch of things through task manager. (IIRC I tried setting a cap while trying the hyper-v backend to see if it was a wsl specific problem, but it didn’t help, can’t fully remember though).

    This is the issue that I think was closest to what I was seeing https://github.com/docker/for-win/issues/12968

    My workaround has been to start using GitHub codespaces for most dev stuff, it’s worked quite nicely for the things I’m working on at the moment.


  • qwop@programming.dev
    cake
    toProgrammer Humor@programming.devYou know who you are
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    1 year ago

    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.






  • qwop@programming.dev
    cake
    toProgrammer Humor@programming.devApproved!
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Ah, that’s too boring. I have a range of responses to pick from to keep things interesting:

    • LGTM
    • Nice
    • Looks good
    • Thanks
    • Looks great
    • :thumbsup:
    • Looks good to me
    • :shipit:

    For me, no text means “I haven’t really reviewed this properly so don’t want to write anything that could be used against me if (when?) this breaks something in prod”


  • I’ve often ended up guessing what things do and messing things up.

    One example is when I couldn’t remember the difference between git checkout -b and git checkout -B, so in my infinite wisdom I decided to use -B because surely capital letters are better! Tried using it to switch back to a branch, and… Yeah, that was annoying.