Vladimir Panteleev
Vladimir Panteleev
Currently, in D, when building a program and running tests, we don't really have a way to say "please build/run unit tests in this package but not other packages". This...
Consider the following hypothetical program invocations: ```console $ program --include=dir1 --exclude=*.avi ``` ```console $ program file1 -C dir2 file2 -C dir3 file3 ``` Both examples are not currently supported by...
Allows quickly retrieving the average vector from existing points, e.g. to enable custom recommendation search. Example use case: for https://github.com/qdrant/qdrant/issues/4235, get the average of the positive and negative examples, and...
`bug.d`: ```d template O() {} mixin template G() { void Foo() {} } final class D { alias L = () {}; mixin G; } ``` `bug_client.d`: ```d import bug;...
```d void main() { ulong[] newData; newData.reserve(2); newData = newData.ptr[0 .. 1]; newData.assumeSafeAppend(); assert(newData.capacity >= 2); } ``` The above program works in DMD 2.110 but not 2.111. The reason...
## LLM Disclosure This PR was generated with the help of Claude Code. However, I have closely reviewed it and take full responsibility for it. ## Summary This PR adds...
```d static int i; ``` This should raise a notice as `static` has no effect on global variables in D. This warning can be useful as it may be surprising...
# Add RES-style keyboard navigation Implements keyboard shortcuts for navigating and interacting with posts and comments across Lemmy UI. Closes #984 ## Keyboard Shortcuts ### Posts (homepage, community pages, user...
The included example links on NixOS master from 2024-01-01, but, when run, crashes as follows: ```console $ nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/0ef56bec7281e2372338f2dfe7c13327ce96f6bb.tar.gz --pure -p dub -p dmd -p openblas --run 'dub' Starting...
Example won't link: ```console vladimir:~/work/extern/lubeck/example$ dub Starting Performing "debug" build using /usr/bin/dmd for x86_64. Up-to-date mir-core 1.7.1: target for configuration [library] is up to date. Up-to-date mir-algorithm 3.22.1: target for...