Dawid Ciężarkiewicz

Results 459 comments of Dawid Ciężarkiewicz

See: https://github.com/fedimint/fedimint/pull/4798#discussion_r1548428237 We currently have no retries for errors (`?` returning early). Should we? Normally we don't do it, but given that this command is often used for scripting, maybe...

> I also gave up after 10 minutes, should have trusted you. > made `open` accept `&self` I couldn't even make that one work ... and now I don't understand...

There's some design debate here to be had, I guess. Does `electrs` really need to connect on start to `bitcoind`? If so, it probably could block for some time, sleep...

I'm setting up a self-hosted runner and my current workaround is basically: ```diff + - run: sudo rm -f /etc/bash.bashrc.backup-before-nix /etc/zshrc.backup-before-nix || true + - uses: cachix/install-nix-action@v20 with: nix_path: nixpkgs=channel:nixos-22.05...

I don't get it. So nix installer on MacOS (only?) installs the initialization scripts in `/etc/bashrc`. But if you look in: https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html There's **nothing** about that file being ever sourced....

So github is hardcoding that command and gives no way to set the defaults: * https://github.com/actions/runner/blob/8d74a9ead68de3d87c5c45bb3daa12a392de0d41/src/Runner.Worker/Handlers/ScriptHandlerHelpers.cs#L18 * https://github.com/actions/runner/issues/1530 One can go around and change the `shell: bash ...` on every...

So it's the installer not running successfully that breaks `/nix/...` on this machine. https://github.com/NixOS/nix/issues/7106 This is got to be some bad joke...

OK, so here is how I make it work: Start the runner via script: ```bash #!/usr/bin/env bash cd $HOME/actions-runner env PATH="$HOME/actions-runner-hack/:$PATH" ./run.sh ``` As you can see it adds an...

@jhscheer Yeap. That line in my config is unnecessary. I'm not very familiar with the details there. I don't even know why `bg` works, where `.background` is used in that...