Alex Chalk

Results 20 issues of Alex Chalk

I'm having ssh-related issues with a nixops deployment to digital ocean. I'm on macOS, and I have linuxkit-nix configured successfully for local builds that require linux. When deploying to DO,...

**Describe the bug** Django Rest Framework suggests using a `DynamicFieldsModelSerializer` if you want to dynamically limit the fields on your serializer at runtime: https://www.django-rest-framework.org/api-guide/serializers/#dynamically-modifying-fields. The default behaviour of this pattern...

If I use superagent and set query to `{ foo: undefined, bar: [], baz: false, quux: ['a', 'b'] }`, superagent-mock generates a req.query object of `{ foo: 'undefined', bar: '',...

When trying to execute the recommended post-install hook (`nix-shell --run "cargo build --release"`) on an M1 running macOS Monterey, I get the following error: ``` [100%] Building C object src/nvim/CMakeFiles/nvim.dir/viml/parser/parser.c.o...

When I open a file for the first time, parinfer immediately performs modifications if the parens don't meet parinfer spec. Whilst this is fine for a personal project, it does...

#### The problem The docs contain a [recipe](https://factoryboy.readthedocs.io/en/stable/recipes.html#django-models-with-genericforeignkeys) for using factory_boy with models that have a `GenericForeignKey`. This works great for integration tests, but the `ContentType.objects.get_for_model(o.content_object))` call requires database access,...

### Describe the issue A rust compiler is now required to build the `bcrypt` package, and this isn't specified in the poetry2nix overrides: https://github.com/nix-community/poetry2nix/blob/9fee29254a0ea0e6a4432cf36a71a2b7317c9767/overrides/default.nix#L198-L202 ### Additional context It looks like...

I have two lines in `user.clj` to switch between my development and test environment when running tests in the repl: ``` (comment (licp/install-priority-loader! ["env/test" "env/test/resources"])) (comment (licp/install-priority-loader! ["env/development" "env/development/resources"])) ```...

Hi, I'm trying to use the `VtrClearSequence` value to issue a `tmux clear-history` command to my attached pane before sending a command, and it seems like a reasonable use case...

When I use `VtrDetachRunner` it is vim that ends up in a pane labelled `VTR_Pane`, and the focus is left on the runner. If I move into vim and try...