8 votes

Topic deleted by author

2 comments

  1. whbboyd
    Link
    Huh… any time I encounter a bug with a deterministic workaround, my first step is to write a thin wrapper script that implements the workaround, and my second step is to forget about it forever....

    Huh… any time I encounter a bug with a deterministic workaround, my first step is to write a thin wrapper script that implements the workaround, and my second step is to forget about it forever. (The most recent example I can remember is that IntelliJ is somehow miscaching things in its per-project files. Thus, it's now a wrapper script which deletes all the IntelliJ cache files in whatever directory was opened, and then launches IntelliJ.)

    I would argue that, far from being "sad", this script is a poster child for the power of universal composable interfaces and easy scripting. This person had a problem; they found a workaround; and they implemented their workaround automatically, exploiting the strengths and intended purpose of computers to do the repetitive, boring part. (It's a sad but not unusual condemnation of the greater software infrastructure that nonsensical bugs like this occur, of course. If the author is looking for debugging advice, I'd try running vi and ed in strace, to see what they're doing differently when saving the file.)

    3 votes
  2. pvik
    (edited )
    Link
    I know this isn't the point of the article but I think nixOS would've been much suited for this use-case, one of it's main seeling points is that it is completely declarative. I use docker a lot...

    I know this isn't the point of the article but

    When my Macbook OS got into a brambled state some years ago, I started to develop inside a ‘stateless’ docker container that runs Ubuntu.

    I think nixOS would've been much suited for this use-case, one of it's main seeling points is that it is completely declarative.

    I use docker a lot in my day-to-day developer role, to quickly spin up a dev environment with all the various stuff I need to test things locally (DB, redis, etc), everything deployed via CI/DC to test/prod is on containers, but I don't think I would ever want to develop inside a docker container.

    1 vote