Anders Kaseorg

Results 401 comments of Anders Kaseorg

Do you have evidence that this is actually [undefined behavior](https://doc.rust-lang.org/reference/behavior-considered-undefined.html), or is it merely a confusing use of [interior mutability](https://doc.rust-lang.org/reference/interior-mutability.html)? You can do confusing things with `Arc` in completely safe...

That’s my point though—as far as I’m aware, the data in a `Tensor` is *not* reachable through a shared reference or owned by an immutable binding. It’s only reachable through...

Hmm, the `Send` implementation is suspicious though: https://github.com/LaurentMazare/tch-rs/blob/123c96c88d6f63511e58df7246834b39d89f1ab5/src/wrappers/tensor.rs#L22 based on this [note](https://github.com/pytorch/pytorch/issues/37038#issuecomment-617821398) from an upstream contributor that “Tensors are thread safe to read from multiple threads but they are not...

FYI, I’m packaging `mozillavpn` for Nix at NixOS/nixpkgs#147975. (Nix is unrelated to Flatpak, but satisfies a similar sort of use case: it installs on any Linux distro without relying on...

@volkertb A Git submodule is stored in the repository in two parts ([documentation](https://git-scm.com/docs/gitsubmodules)): > the superproject tracks the submodule via a `gitlink` entry in the tree at `path/to/bar` and an...

@volkertb That failure, like most of the previous failures you’ve reported, results from a mismatch between the version of the code you’re building and the version of the Flatpak metadata....

The problem is here (`eslint-config-xo/index.js`): ```js const jsonConfig = { plugins: { json, }, files: [ '**/*.json', ], language: 'json/json', rules: jsonRules, }; const jsoncConfig = { plugins: { json,...

> Checking for the presence of `constructor` in the input should be sufficient. Nope, it’s not. ```js extend({}, {"hasOwnProperty": {"polluted": "yes"}}); console.log(Object.prototype.hasOwnProperty.polluted); // → yes ``` I’ve pushed a more...

@dangreen I did that and it resulted in no changes. https://github.com/andersk/chartist/actions/runs/14316237387/job/40122907313 https://github.com/andersk/chartist/actions/runs/14316237387/artifacts/2897050220