Checks intermittently show access denied

Checks intermittently show access denied

I'm experiencing this too

@bwilder @AirCombat
Out of interest, what does the check definition command look like on your Sensu server?
If it's something like: "command": "/opt/sensu/embedded/bin/check-windows-disk.rb", could you try changing it to specify the full ruby path too and see if the probem persists?
i.e. "command": "/opt/sensu/embedded/bin/ruby /opt/sensu/embedded/bin/check-windows-disk.rb"

@Evesy
This was a ways back, but I did discover that the easiest resolution is to specify the path to the program to run the script inside:
BAD:
 "check-windows-disk": {
    "command": "/opt/sensu/embedded/bin/check-windows-disk.rb -w 75 -c 85",
    ...
  }

GOOD:
  "check-windows-disk": {
    "command": "/opt/sensu/embedded/bin/ruby /opt/sensu/embedded/bin/check-windows-disk.rb -w 75 -c 85",
    ...
  }

On some Windows nodes, I was able to resolve the issue by making sure the .rb extension was properly associated with a ruby executable, but the easiest/most reliable resolution was to include the path to the executable with the full path to the script to be run.

Hm that surprises me especially since windows is unlikely to have any other ruby other than the embedded ruby mucking with its path.


Infer: Segmentation fault

python3 bin/infer.py \
    --decoder-dim 128 --nhead 4 --num-decoder-layers 4 --model-name valle \
    --text-prompts "Go to her." \
    --audio-prompts ./prompts/61_70970_000007_000001.wav \
    --text "To get up and running quickly just follow the steps below." \
    --output-dir infer/demo_valle_epoch20 \
    --checkpoint exp/valle_nano_v2/epoch-20.pt
    ```

   i got Segmentation fault

emm... please provide the trace info.

Fatal Python error: Segmentation fault

Current thread 0x00007f5b49ba3740 (most recent call first):
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1176 in create_module
  File "<frozen importlib._bootstrap>", line 571 in module_from_spec
  File "<frozen importlib._bootstrap>", line 674 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1078 in _handle_fromlist
  File "/opt/conda/envs/tts/lib/python3.10/site-packages/google/protobuf/descriptor.py", line 47 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1078 in _handle_fromlist
  File "/opt/conda/envs/tts/lib/python3.10/site-packages/tensorboard/compat/proto/event_pb2.py", line 8 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "/opt/conda/envs/tts/lib/python3.10/site-packages/torch/utils/tensorboard/writer.py", line 9 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "/opt/conda/envs/tts/lib/python3.10/site-packages/torch/utils/tensorboard/__init__.py", line 12 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "/home/username/icefall/icefall/utils.py", line 40 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "/home/username/icefall/icefall/decode.py", line 23 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1078 in _handle_fromlist
  File "/home/username/icefall/icefall/__init__.py", line 3 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 992 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "/home/username/valle/valle/data/datamodule.py", line 26 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "/home/username/valle/valle/data/__init__.py", line 1 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1078 in _handle_fromlist
  File "/home/username/valle/valle/__init__.py", line 1 in <module>
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 883 in exec_module
  File "<frozen importlib._bootstrap>", line 688 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1006 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 992 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1027 in _find_and_load
  File "/home/username/valle/egs/libritts/bin/infer.py", line 35 in <module>

Extension modules: torch._C, torch._C._fft, torch._C._linalg, torch._C._nested, torch._C._nn, torch._C._sparse, torch._C._special, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, _cffi_backend, yaml._yaml, cytoolz.utils, cytoolz.itertoolz, cytoolz.functoolz, cytoolz.dicttoolz, cytoolz.recipes, sentencepiece._sentencepiece (total: 28)
Segmentation fault

same problem:
I SET
import faulthandler
faulthandler.enable()

in the scirpt and the log shows：
python -X faulthandler bin/infer.py \
>     --decoder-dim 128 --nhead 4 --num-decoder-layers 4 --model-name valle \
>     --text-prompts "Go to her." \
>     --audio-prompts ./prompts/61_70970_000007_000001.wav \
>     --text "To get up and running quickly just follow the steps below." \
>     --output-dir infer/demo_valle_epoch20 \
>     --checkpoint exp/valle_nano_v2/epoch-20.pt
Fatal Python error: Segmentation fault

Current thread 0x00007f8f1c7693c0 (most recent call first):
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 1043 in create_module
  File "<frozen importlib._bootstrap>", line 583 in module_from_spec
  File "<frozen importlib._bootstrap>", line 670 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1035 in _handle_fromlist
  File "/home/saikidee/anaconda3/envs/nvidiaT2/lib/python3.7/site-packages/google/protobuf/descriptor.py", line 47 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1035 in _handle_fromlist
  File "/home/saikidee/anaconda3/envs/nvidiaT2/lib/python3.7/site-packages/tensorboard/compat/proto/event_pb2.py", line 8 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/home/saikidee/anaconda3/envs/nvidiaT2/lib/python3.7/site-packages/torch/utils/tensorboard/writer.py", line 9 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/home/saikidee/anaconda3/envs/nvidiaT2/lib/python3.7/site-packages/torch/utils/tensorboard/__init__.py", line 12 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/mnt/sdb/saikidee/icefall/icefall/utils.py", line 40 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/mnt/sdb/saikidee/icefall/icefall/decode.py", line 23 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1035 in _handle_fromlist
  File "/mnt/sdb/saikidee/icefall/icefall/__init__.py", line 3 in <module>
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap_external>", line 728 in exec_module
  File "<frozen importlib._bootstrap>", line 677 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 953 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/home/saikidee/anaconda3/envs/nvidiaT2/lib/python3.7/site-packages/valle-0.0.1.dev0+git.a51393f.dirty-py3.7.egg/valle/data/datamodule.py", line 26 in <module>
  File "<frozen importlib._bootstrap>", line 638 in _load_backward_compatible
  File "<frozen importlib._bootstrap>", line 668 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "/home/saikidee/anaconda3/envs/nvidiaT2/lib/python3.7/site-packages/valle-0.0.1.dev0+git.a51393f.dirty-py3.7.egg/valle/data/__init__.py", line 1 in <module>
  File "<frozen importlib._bootstrap>", line 638 in _load_backward_compatible
  File "<frozen importlib._bootstrap>", line 668 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1035 in _handle_fromlist
  File "/home/saikidee/anaconda3/envs/nvidiaT2/lib/python3.7/site-packages/valle-0.0.1.dev0+git.a51393f.dirty-py3.7.egg/valle/__init__.py", line 1 in <module>
  File "<frozen importlib._bootstrap>", line 638 in _load_backward_compatible
  File "<frozen importlib._bootstrap>", line 668 in _load_unlocked
  File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 953 in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 983 in _find_and_load
  File "bin/infer.py", line 34 in <module>
Segmentation fault (core dumped)

emm... please provide the trace info.

export PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
https://github.com/lifeiteng/vall-e/pull/24/commits/ec4a4f816fd676bcda0cd372ca993c9667ae21d5


nerdctl: 0.4.0 -> 0.5.0

Motivation for this change
Bump nerdctl to 0.5.0
https://github.com/AkihiroSuda/nerdctl/releases/tag/v0.5.0
nerdctl has added a couple new features. Converting an image into the stargz format worked fine although I haven't ran the container yet due to the next change.
λ sudo ./result/bin/nerdctl pull kubesec/kubesec:4423063
docker.io/kubesec/kubesec:4423063:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:872c9714ee29d3c3c1612de6ab3cb0b7c280e36c803cb5776b15594a6f115f1e: done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:69b89a0b05c6a1d122f59bda262c707caf2c2759af660e9db5347f69c8afa015:   done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:6d86d77bbc34395397c43c4a597c2d2f322f21f1edf7b80b753ca4fab468ea1b:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:9ad85155a1f9edb01c502b175372a11f1368b75a549057995d5a945029fb7eae:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:daae948c2c65122b148d83341bef169dca2010b40e1d2ee502b65b7f92d996a8:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:df20fa9351a15782c64e6dddb2d4a6f50bf6d3688060a34c4014b0d9a752eb4c:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:c63654b79c0b89141dd8d56da082d941252ffe37b3cb89db19087abbb6bb0335:    done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 8.8 s                                                                    total:  25.3 M (2.9 MiB/s)
λ sudo ./result/bin/nerdctl image convert --estargz --oci kubesec/kubesec:4423063 bob
sha256:43fa2f7d68af443e9cf133a708e9facea266ea21e49ca24237b2b9ce1fc8b79d
λ sudo ./result/bin/nerdctl images
REPOSITORY                   TAG                                                                 IMAGE ID        CREATED           SIZE
docker.io/kubesec/kubesec    4423063                                                             872c9714ee29    59 seconds ago    25.3 MiB
alpine                       latest                                                              c0e9560cda11    5 weeks ago       2.7 MiB
bob                          latest                                                              43fa2f7d68af    10 seconds ago    27.5 MiB
overlayfs@sha256             2be755139c98745b23098d3baeb76b4108ff3cfc9321f9c3a0fdac3f5a30af9d    2be755139c98    5 weeks ago       25.3 MiB

It now requires a new isolation plugin which isn't upstream in cni-plugins yet. https://github.com/containernetworking/plugins/issues/573
λ sudo ./result/bin/nerdctl run -it bob
WARN[0001] To isolate bridge networks, CNI plugin "isolation" needs to be installed in CNI_PATH ("/nix/store/p72q8ijawqhmgv35hswl9bkzq4c600dg-cni-plugins-0.9.0/bin"), see https://github.com/AkihiroSuda/cni-isolation
FATA[0001] OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v2.task/default/df825b4e13f6acd87c9b88d95bc5ad409f241450138f5beb7bc0b96188840508/log.json: no such file or directory): exec: "runc": executable file not found in $PATH: <nil>: unknown
λ ls /nix/store/p72q8ijawqhmgv35hswl9bkzq4c600dg-cni-plugins-0.9.0/bin
 bandwidth   bridge   dhcp   firewall   flannel   host-device   host-local   ipvlan   loopback   macvlan   portmap   ptp   sbr   static   tuning   vlan   vrf

I think it's highly likely it'll be merged in soon so I'm happy to wait for the next release of cni-plugins to merge this rather than packaging it separately and creating a new cni-plugins + cni-isolation-plugin dir.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Thanks for packaging this.
The dependency on CNI isolation plugin is optional, not a hard dependency,

Thanks for packaging this.
The dependency on CNI isolation plugin is optional, not a hard dependency,

Thanks for packaging this.

No problem, glad to

The dependency on CNI isolation plugin is optional, not a hard dependency,

Would you need to specify --network host or --network none every run for it to work without the new plugin?
Id rather just wait for it to be packaged in cni-plugins or package it separately & add it in

Thanks for packaging this.

No problem, glad to

The dependency on CNI isolation plugin is optional, not a hard dependency,

Would you need to specify --network host or --network none every run for it to work without the new plugin?
Id rather just wait for it to be packaged in cni-plugins or package it separately & add it in

No, when isolation is missing, it's simply ignored with a warning message. No need to specify --net.

No, when isolation is missing, it's simply ignored with a warning message. No need to specify --net.

exec: "runc": executable file not found in $PATH

Is this a packaging issue, or something new in nerdctl v0.5.0 ?

exec: "runc": executable file not found in $PATH

Is this a packaging issue, or something new in nerdctl v0.5.0 ?

Might be from a previous version. Its not in the path ATM and was working before.
I think I just ran containerd without runc in the path :man_facepalming:
Ill give it another go in the morning

Might be from a previous version. Its not in the path ATM and was working before.
I think I just ran containerd without runc in the path :man_facepalming:
Ill give it another go in the morning

Ok yeah running containerd with runc in the path worked fine :facepalm:
sudo ./result/bin/nerdctl run -it alpine
WARN[0000] To isolate bridge networks, CNI plugin "isolation" needs to be installed in CNI_PATH ("/nix/store/p72q8ijawqhmgv35hswl9bkzq4c600dg-cni-plugins-0.9.0/bin"), see https://github.com/AkihiroSuda/cni-isolation
/ # echo hi
hi
/ #

The stargz converted image worked fine.
λ sudo ./result/bin/nerdctl pull kubesec/kubesec:4423063
docker.io/kubesec/kubesec:4423063:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:872c9714ee29d3c3c1612de6ab3cb0b7c280e36c803cb5776b15594a6f115f1e: done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:69b89a0b05c6a1d122f59bda262c707caf2c2759af660e9db5347f69c8afa015:   done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:6d86d77bbc34395397c43c4a597c2d2f322f21f1edf7b80b753ca4fab468ea1b:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:c63654b79c0b89141dd8d56da082d941252ffe37b3cb89db19087abbb6bb0335:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:df20fa9351a15782c64e6dddb2d4a6f50bf6d3688060a34c4014b0d9a752eb4c:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:daae948c2c65122b148d83341bef169dca2010b40e1d2ee502b65b7f92d996a8:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:9ad85155a1f9edb01c502b175372a11f1368b75a549057995d5a945029fb7eae:    done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 4.4 s                                                                    total:  25.3 M (5.7 MiB/s)
λ sudo ./result/bin/nerdctl image convert --estargz --oci kubesec/kubesec:4423063 bob
sha256:43fa2f7d68af443e9cf133a708e9facea266ea21e49ca24237b2b9ce1fc8b79d
λ sudo ./result/bin/nerdctl run -it bob
WARN[0000] To isolate bridge networks, CNI plugin "isolation" needs to be installed in CNI_PATH ("/nix/store/p72q8ijawqhmgv35hswl9bkzq4c600dg-cni-plugins-0.9.0/bin"), see https://github.com/AkihiroSuda/cni-isolation
{"severity":"info","timestamp":"2021-01-20T13:00:11.925Z","caller":"server/server.go:41","message":"Starting HTTP server on port 8080"}

I'm happy for this to be merged as it's working perfectly. Once isolation is added to plugins that'll magically start to work fully too.

Ok yeah running containerd with runc in the path worked fine :facepalm:
sudo ./result/bin/nerdctl run -it alpine
WARN[0000] To isolate bridge networks, CNI plugin "isolation" needs to be installed in CNI_PATH ("/nix/store/p72q8ijawqhmgv35hswl9bkzq4c600dg-cni-plugins-0.9.0/bin"), see https://github.com/AkihiroSuda/cni-isolation
/ # echo hi
hi
/ #

The stargz converted image worked fine.
λ sudo ./result/bin/nerdctl pull kubesec/kubesec:4423063
docker.io/kubesec/kubesec:4423063:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
manifest-sha256:872c9714ee29d3c3c1612de6ab3cb0b7c280e36c803cb5776b15594a6f115f1e: done           |++++++++++++++++++++++++++++++++++++++|
config-sha256:69b89a0b05c6a1d122f59bda262c707caf2c2759af660e9db5347f69c8afa015:   done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:6d86d77bbc34395397c43c4a597c2d2f322f21f1edf7b80b753ca4fab468ea1b:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:c63654b79c0b89141dd8d56da082d941252ffe37b3cb89db19087abbb6bb0335:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:df20fa9351a15782c64e6dddb2d4a6f50bf6d3688060a34c4014b0d9a752eb4c:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:daae948c2c65122b148d83341bef169dca2010b40e1d2ee502b65b7f92d996a8:    done           |++++++++++++++++++++++++++++++++++++++|
layer-sha256:9ad85155a1f9edb01c502b175372a11f1368b75a549057995d5a945029fb7eae:    done           |++++++++++++++++++++++++++++++++++++++|
elapsed: 4.4 s                                                                    total:  25.3 M (5.7 MiB/s)
λ sudo ./result/bin/nerdctl image convert --estargz --oci kubesec/kubesec:4423063 bob
sha256:43fa2f7d68af443e9cf133a708e9facea266ea21e49ca24237b2b9ce1fc8b79d
λ sudo ./result/bin/nerdctl run -it bob
WARN[0000] To isolate bridge networks, CNI plugin "isolation" needs to be installed in CNI_PATH ("/nix/store/p72q8ijawqhmgv35hswl9bkzq4c600dg-cni-plugins-0.9.0/bin"), see https://github.com/AkihiroSuda/cni-isolation
{"severity":"info","timestamp":"2021-01-20T13:00:11.925Z","caller":"server/server.go:41","message":"Starting HTTP server on port 8080"}

I'm happy for this to be merged as it's working perfectly. Once isolation is added to plugins that'll magically start to work fully too.

Result of nixpkgs-review pr 109938 run on x86_64-linux 1

1 package built:

nerdctl

Result of nixpkgs-review pr 109938 run on x86_64-linux 1

1 package built:

nerdctl


Docs: Small readme update for devs coming from javascript

This is a miniscule update, but I think it may be helpful to people coming from javascript. I may be wrong about this, but I think 'Domino 4' is very similar to mapStateToProps in Redux.

Thanks


context.succeed and context.fail missing

Though I am not deeply familiar with AWS lambda (other than creating some basic hello world style functions), it seems that the "Context Object Methods" as describe in their doc is missing in apex for go, namely context.succeed(), context.fail(), and context.done(). Is it assumed that all methods return context.succeed(), and if this is the case how can I return a context.fail()?

The Go support doesn't use those methods because the interface{}, error signature takes its place. The Node.js shim uses the resulting JSON: https://github.com/apex/apex/blob/master/shim/index.js#L35

Gotcha, thanks for the quick response!


inplace ReLU does not work

th> m = nn.ReLU(true):cl()
                                                                      [0.0001s]
th> m:forward(torch.ClTensor(8))
Using Apple platform: Apple
Using device: HD Graphics 4000
/usr/local/share/lua/5.1/clnn/Threshold.lua:8: attempt to index field 'input' (a nil value)
stack traceback:
	/usr/local/share/lua/5.1/clnn/Threshold.lua:8: in function 'Threshold_updateOutput'
	/usr/local/share/lua/5.1/nn/Threshold.lua:20: in function 'forward'
	[string "_RESULT={m:forward(torch.ClTensor(8))}"]:1: in main chunk
	[C]: in function 'xpcall'
	/usr/local/share/lua/5.1/trepl/init.lua:630: in function 'repl'
	/usr/local/lib/luarocks/rocks/trepl/scm-1/bin/th:185: in main chunk
	[C]: at 0x0106c38400

Hmmm, interesting. Will check.

So, just to check, with inplace=true, it should actually modify the incoming input data, is that right?

Try now?

yes it should modify input data, thanks it works now

Ok, cool :-)


change getNumberOfWeeks method

get correct row number in scroll view
The current getNumbersOfWeeks function does not return the correct result, because the moment().week() function depending on which day is the first day of the week. I found a easier method to calculate the rows of current month, which based on the offset between first day and week start, with the days of the current month, we can get the correct row number in scroll view.

Thanks

You're welcome, forgive my poor english, not a native.


3.8.0 - PB Spawning without Pistol Grips

General information:
PB Pistol spawned without grips in marked room. This was an issue before back when they refreshed to PM and PB models last patch. This is due to the PB having mod_pistolgrip as opposed to mod_pistol_grip.
|Error|Default|Item deserialization error: No slot with id mod_pistol_grip found in PB bakelite side grips for item 642b6899e6b68d5d820841f1

Attachments

2024-01-13[00-18]_184.8, 7.0, 183.1_0.4, -0.6, 0.5, 0.5_13.24 (0).png (1071 KiB)
server-2024-01-13.log (72 KiB)
2024.01.13_5-08-36_<IP_ADDRESS>.28375 traces.log (815 KiB)
LogOutput.log (60 KiB)

Originally written by Jester_Stacks

This is caused by me generated custom loot files using pre 0.14 dumps, when i do todays generation i will exclude anything older than 0.14.

Originally written by chomp

Loot has been regenerated, should be fixed

Originally written by chomp


[alertsmanagement] Add an example were the recurrence type is set to once

Changes:

Add an example were the recurrence type is set to once.
Fix error: when the recurrence type is set to oncc, 'Action Rule property 'properties.suppressionConfig.schedule' cannot be null.'

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

alertsmanagement

Please update extension version for release


Syntax error in Modelica/Mechanics/MultiBody/Sensors.mo

Reported by choeger on 13 Sep 2012 10:55 UTC
Sensors.mo contains an annotation in line 3503 followed by class definitions (model TansformAbsoluteVector and model TansformRelativeVector)
According to the spec, such an annotation is only allowed at the end of a composition.

Migrated-From: https://trac.modelica.org/Modelica/ticket/820

Modified by dietmarw on 13 Sep 2012 10:57 UTC

Comment by dietmarw on 13 Sep 2012 13:35 UTC
Thanks to Dymola2013, this was introduced whilst fixing another bug.
FIXED in c5c6023148496ba16600c123a8014b8390d2c60c.


[Arc] Quicklink or command to open/navigate to favourited tabs

Extension
https://www.raycast.com/the-browser-company/arc
Description
I want to create a quick link or command that opens or navigate to one of my "favourited" tabs. Right now the quick link I have opens the URL in a new tab that isn't pinned or favourited. I'm not sure how to do this using the search tabs command, though it might be possible.
Thanks!
Who will benefit from this feature?
Most Arc users probably would want to navigate to their favourited tabs quickly.
Anything else?
No response

Hey, Could you maybe send a screen recording of what you are currently trying to do?

Hi there!
@tleo19 So this notion page for example is pinned as a favourite on arc but i have a quick link to open the same page and it opens in a new page, im wondering if i can navigate to the favourited tabs like how it shows up in the "search tabs" easier through a command or a hotkey. Let me know if this makes more sense, thank you!
https://github.com/raycast/extensions/assets/48929039/12442435-eef8-4022-85a5-85d70e440bfc

Hi there!
@tleo19 So this notion page for example is pinned as a favourite on arc but i have a quick link to open the same page and it opens in a new page, im wondering if i can navigate to the favourited tabs like how it shows up in the "search tabs" easier through a command or a hotkey. Let me know if this makes more sense, thank you!
https://github.com/raycast/extensions/assets/48929039/12442435-eef8-4022-85a5-85d70e440bfc

Hey,
Thanks for clarifying and sending over a screen recording. I know understand.
So 2 things:
First, I am not sure this is currently achievable with quick link.
Second, maybe as a work around you could use the search tabs command from the arc extension.
The favorites are displayed at the top of the list and when you click to open it will open directly in that favorite tab.

@tleo19
Hi there! thanks for this; I added that to the end of the screen recording -- i was wondering if there's a way to get to that quicker like through a hot key or an alias but i guess that isn't possible.
Thanks for your help though.

@tleo19 Hi there! thanks for this; I added that to the end of the screen recording -- i was wondering if there's a way to get to that quicker like through a hot key or an alias but i guess that isn't possible.
Thanks for your help though.

with pleasure sorry this is not really the solution you were hoping.
oh yes I see it now on your recording my bad, well the only way would be to have the search tabs command on a hotkey maybe. I am also not sure this an Arc extension limitation since the link is triggered from a quicklink using the actual Arc app .


[WIP] improvement/mocha tnv

WIP!
With this PR we can run tests in parallel and offer nice query power.
This PR is experimental.
TODO

[ ] use tnv instead of require test utils
[ ] fix failing tests
[ ] mock NODE_PORT
[ ] tidy up (!!!)
[ ] there are some experimental changes i need to revert
[ ] write docu

Most of the time is eaten by installations. (:/)
before
travis: Node 0.12 sqlite3 12 min
local: ...
after
travis: Node 0.12 sqlite3 7 min
local: ...

@kirrg001 Going to close this one as well, and assume we will re-do it a bit later on.


Double tap behaviour

Right now, in view mode, double tapping the text is exactly the same as pushing the pencil button, i.e.
enter edit mode; the cursor is put at the very end of the text.
I think this can be improved, so that the cursor is put at the point of tapping.
This should be easy to implement for plain text mode. Not sure about Markdown/HTML.
Right now the user must double tap inside the text region for it to register.
I think the user would expect to be able to do it anywhere inside the main frame.
If the case where the tap is outside the actual text region, put the cursor at the end of the text, or perhaps "last position".
Could it be single tap instead?

Good suggestions.

Right now I use separate fragments for view mode and edit mode, so it wouldn't be as simple as you might think to dynamically insert the cursor at the position where the user double-tapped the text.

I agree, a double-tap anywhere inside the text region is expected and would be more intuitive.  This is something I've looked into in the past, but would require a bit of rearchitecting.

This was deliberately changed from a single-tap to a double-tap in Notepad 2.1.4 to allow for text selection in view mode. Requiring a double-tap also makes clicking links more intuitive.

I'll look into implementing suggestions 1 and 2 in a future version.

Issue number 2 (double-tapping) was fixed as of Notepad 2.3


Fix the size of shared dofs in ParL2FaceRestriction::Mult.

Fix a bug in ParL2FaceRestriction::Mult where the shared dofs were initialized with wrong size. Resolve #2108

@artv3 It fixed the bug for me, can you check if it fixes the bug for you.

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

LGTM

Merged in next for testing...


template update

include link to github issues on reference pages
add creativecommons license text to go along with existing image on every page
move updated text into paragraph
I didn't bother with changing any styling.

Closes #96

bump
@jdf Any concerns I can address to get this merged?

Very sorry to have made you wait for this. Thank you!


bot fmt fails with HttpError

https://github.com/paritytech/polkadot-sdk/pull/1841#issuecomment-1825380569
EDIT: but the command succeeded eventually.

thanks @ordian for reporting
It's looks like a race condition with bot clean which probably removed the initial comment which bot have left with promise to update 🙈

Won't fix, as we're planning to move to github actions
https://forum.polkadot.network/t/command-bot-has-migrated-to-github-actions/8722


[WIP] Tag created service with service dialog tags

Provisioned services should be tagged with the tags from the dialog.
It's WIP because I'd like feedback from @gmcculloug and @eclarizio and @tinaafitz and maybe @bdunne before the work for tagging child vms and child generic objects of the service proceeds.
Start for https://bugzilla.redhat.com/show_bug.cgi?id=1514554

anyone want to please look at this?

Ugh, Brandon's out. Guess what, @jrafanie? Haha. Any chance I could please get you to review? Plllllleeeeeeeaaaase?


parse returns datetime with time set to current local time

Reviving https://github.com/waltzofpearls/belt/issues/16
I was wondering if you would consider adding a feature or accepting a PR to allow zeroing out of unknown components?
My use case is I wish to use this parser to parse arbitrary dates where adding the local time makes the dates incorrect. Because I'll be parsing arbitrary data where the input is not under my direct control I will be unable to implement the workaround provided in the previous issue.

Would this work you? https://github.com/waltzofpearls/belt/blob/main/dateparser/examples/parse_with.rs
use chrono::{
    naive::NaiveTime,
    offset::{Local, Utc},
};
use dateparser::parse_with;
use std::error::Error;

fn main() -> Result<(), Box<dyn Error>> {
    let parsed_in_local = parse_with("2021-10-09", &Local, NaiveTime::from_hms(0, 0, 0))?;
    println!("{:#?}", parsed_in_local);

    let parsed_in_utc = parse_with("2021-10-09", &Utc, NaiveTime::from_hms(0, 0, 0))?;
    println!("{:#?}", parsed_in_utc);

    Ok(())
}

It prints the following at the I ran it.
2021-10-10T00:00:00Z
2021-10-09T00:00:00Z

Both zero out time. The difference is the first one assumes it's a local date, and the second parses the date with UTC.


Fixed HMR (disabled multiStep)

https://github.com/jantimon/html-webpack-plugin/issues/533 Fixes Live reloading loading old content (#909)

Made some changes. Would be great if you could test again and merge


daily goals show yesterday's stuff

I've only noticed this on a more modern version of macOS (Ventura, 13.5.2). In the PTN, the daily goals show up as yesterday's and today's. In the daily summary, today's don't show up at all!

In the daily summary, today's don't show up at all!

This may actually be because they're not being written, for some reason.

can't repro now

I was able to repro just now. I don't think it's a timezone or time fencepost issue (as I first suspected), and probably not influenced by Ventura, either.
Repro steps:

started the day on a Monday (so, it's been a few days since my last session)
I typed some text into the first goals field
I accidentally hit "command-enter" instead of "enter", to dismiss the goals box.

expected: the goal I entered is now the only goal
actual: the goal wasn't entered, and instead I saw the last session's goals

I then quit Whatdid and restarted it

expected: nothing happens on startup; Whatdid picks up where it ended (with a PTN popup scheduled for ~12min from now, and the daily session still broken)
actual: I was prompted to enter my daily goals.

I was not asked if I want to start a new time-session, so that part of it was correctly sticky.
I entered my goals, and it seems to be working correctly now
This is buggy behavior, but fortuitous: this second bug (that the lack of new goals isn't sticky) serves as a workaround for the first one


Create interface for local storage

The local storage must be abstracted into an interface in order to support using chunking or not to store in memcached, as well as enabling an alternative backing storage, e.g. the SSD solution or alternative in-memory technologies.

This was done in https://github.com/Netflix/rend/pull/28


Improvements!

This PR fixes some of my long-standing and newfound gripes -

Inline code blocks were just colored text with backticks, we now render inline code blocks similarly to how they are rendered everywhere else, with a background and without backticks.

On some browsers, jump links would not scroll to the correct location on pages with code blocks, this was because code blocks were being forced to render client side causing the final scroll location to have an offset after the code blocks were rendered.

The page navigation menu snapped the scroll to header elements instead of smooth scrolling to them, similarly the same happened when clicking the header elements themselves, instead of them being hrefs they now have a click handler to scroll to the element's id.

Collapse elements could not be used as a jump link like headers can, we now store the last opened collapse as a hash in the url, and upon page load, open the corresponding collapse element and jump to it.

Collapse elements used the default bullet, we now use the same arrow as the sidebar does.

You couldn't easily jump link to h4 elements without the page navigation menu, we now update the url's hash when you click an h4 element and that will have the browser scroll to it on load.

All links to sections on the same page will trigger a smooth scroll when clicked.

This PR also adds some additional information / fixes -

Update list of DNS providers that support root level CNAMEs - Bunny.net

Update public and private networking docs to mention the need for dual-stack binding then applications need to be accessible over both public and private networks.

Adds info about what you can expect when you use target ports without listening on or setting the PORT environment variable.

Add a new "Deployment Menu" section that explains what each action in a deploy's 3-dot menu does.

Adds a new FAQ selection that explains why deployments may be removed and the solutions, super common question.

Add missing GitLab Container Registry in some spots that talked about docker hub, ghcr, and quay.

Use an X icon instead of Twitter, which matches the chosen color theme.

Add a little more information to the states of deployments.

Update deprecated images.domains to images.remotePatterns in next.conf.js

The old style of inline code blocks is what I've always hated the most (broken jump links are #2) I've never seen any markdown rendering show them like that, notion, GitHub, discord, etc, and now our docs render them in the same style.
I thought about adding the same color back to the text, but when I did that it was irritating to read for me.
But I'll throw in up in progress pic because now you've made me curious what other will think.

for sure, i totally get it, and I don't think anyone is going to push back.  the visual change is kinda big though, so just want to make sure it wasn't intentional that we had it like that for so long.  I'm really thinking of JR, so maybe we can just tag him here and get his stamp

BTW i did test out the scrolling changes and it's soo much better, great job 👏  all of the copy looks great too

True, most of this code was @coffee-cup's
How do you feel about rendering inline code like this?


Custom Openssl Installation

Describe the bug
I am using vcpkg for windows to build openvpn from source code on windows. Now for this i already have openssl installed, but i am not able to use this custom openssl instead vcpkg install always installs new openssl. How can i use my custom openssl.

You could find system openssl by CMake function https://cmake.org/cmake/help/latest/module/FindOpenSSL.html, you may also need to specify the search path.

The general answer to such situations is to provide an empty overlay port (here: for openssl). Cf. https://devblogs.microsoft.com/cppblog/using-system-package-manager-dependencies-with-vcpkg/#using-curl-and-openssl-from-the-system-package-manager
Note that that vcpkg's openssl port also installs a wrapper for find_package(OpenSSL) which deals with correctly supplying debug and release binaries etc. When not using the vcpkg port, reverse dependencies might fail to build or might link the wrong configuration.

You could find system openssl by CMake function https://cmake.org/cmake/help/latest/module/FindOpenSSL.html, you may also need to specify the search path.

This misses the point of the question.


can not install it in win10 or centos7

I download the code from the trunk line and install it  with 'python setup.py install'  into my win10 and centos7.  all of them are failed.
"ImportError: No module named pathlib" is occurred first, after I fix it by 'pip install pathlib',
Traceback (most recent call last):
  File ".\setup.py", line 17, in <module>
    long_description=Path('README.rst').read_text(),
AttributeError: 'WindowsPath' object has no attribute 'read_text'

occurred in windows  and
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    long_description=Path('README.rst').read_text(),
AttributeError: 'PosixPath' object has no attribute 'read_text'

occurred in centos7.

pathlib is part of python itself, but only exists as of python 3.4.
You're probably using a very old python (3.3?) which we don't support. What's the output of python --versión.


Having multiple HNKCache instances

I have tried to subclass HNKCache to control the folder structure by having a specific name.
Below is my implementation:
@interface FSImageCache : HNKCache

@property (nonatomic, strong, readonly) HNKCacheFormat *mediaFormat;

+ (instancetype)sharedCache;

@end

@implementation FSImageCache

+ (instancetype)sharedCache
{
    static dispatch_once_t onceToken;
    static id cache;
    dispatch_once(&onceToken, ^{
        cache = [[self alloc] initWithName:@"mycustomcache"];
    });
    return cache;
}

#pragma mark -

- (instancetype)initWithName:(NSString *)name
{
    self = [super initWithName:name];
    if (self) {
        HNKCacheFormat *mediaFormat = [[HNKCacheFormat alloc] initWithName:kFSImageCacheMediaCacheName];
        mediaFormat.scaleMode = HNKScaleModeNone; // size is not needed with this option
        mediaFormat.preloadPolicy = HNKPreloadPolicyNone;
        mediaFormat.diskCapacity = 50 * 1024 * 1024; // 50Mo
        [self registerFormat:mediaFormat];
    }
    return self;
}

#pragma mark -

- (HNKCacheFormat *)mediaFormat
{
    return self.formats[kFSImageCacheMediaCacheName];
}

@end

It also allows me to refer to my format as a property and not as a key in a dictionary but that's just for convenience.
The issue I'm facing is that UIImageView when setting hnk_cacheFormat register this format to the shared cache.
- (void)setHnk_cacheFormat:(HNKCacheFormat *)cacheFormat
{
    [HNKCache registerSharedFormat:cacheFormat];
   ...
}

The way you design your library allows us to init a custom cache but the way it's used by UIImageView does not allow multiple cache.
What do you think about this feature?
Is it done on purpose or is it a side effect?
A simple approach would be to set hnk_cache on UIImageView to refer to the custom instance.

As a workaround (in case other could be interested), I have implemented a category on HNKCache to keep the convenient access to my custom format using property. It does not solve my issue about having multiple cache instances though.
@implementation HNKCache (MyCustomCategory)

- (HNKCacheFormat *)fs_mediaFormat
{
    HNKCacheFormat *mediaFormat = self.formats[@"media"];
    if (mediaFormat == nil) {
        mediaFormat = [[HNKCacheFormat alloc] initWithName:@"media"];
        mediaFormat.scaleMode = HNKScaleModeNone; // size is not needed with this option
        mediaFormat.preloadPolicy = HNKPreloadPolicyNone;
        mediaFormat.diskCapacity = 50 * 1024 * 1024; // 50Mo
        [self registerFormat:mediaFormat];
    }

    return mediaFormat;
}

@end


python312Packages.thinc: 8.2.3 -> 9.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python312Packages.thinc is: Library for NLP machine learning
meta.homepage for python312Packages.thinc is: https://github.com/explosion/thinc
meta.changelog for python312Packages.thinc is: https://github.com/explosion/thinc/releases/tag/v9.0.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 9.0.0 with grep in /nix/store/b8smxx12rl1llw8nqld4sv5di4qvr96l-python3.12-thinc-9.0.0
found 9.0.0 in filename of file in /nix/store/b8smxx12rl1llw8nqld4sv5di4qvr96l-python3.12-thinc-9.0.0

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)

8 package rebuild(s)

First fifty rebuilds by attrpath
python311Packages.fastai
python311Packages.spacy
python311Packages.spacy-lookups-data
python311Packages.spacy-transformers
python311Packages.textacy
python311Packages.textnets
python311Packages.thinc
python312Packages.thinc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/b8smxx12rl1llw8nqld4sv5di4qvr96l-python3.12-thinc-9.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python312Packages.thinc https://github.com/r-ryantm/nixpkgs/archive/c888e3ebcddf4c4f9bbcccdd2468d6b2bb806dc5.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c888e3ebcddf4c4f9bbcccdd2468d6b2bb806dc5#python312Packages.thinc

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b8smxx12rl1llw8nqld4sv5di4qvr96l-python3.12-thinc-9.0.0
ls -la /nix/store/b8smxx12rl1llw8nqld4sv5di4qvr96l-python3.12-thinc-9.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

12 packages failed to build:

python311Packages.fastai
python311Packages.fastai.dist
python311Packages.spacy
python311Packages.spacy-lookups-data
python311Packages.spacy-lookups-data.dist
python311Packages.spacy-transformers
python311Packages.spacy-transformers.dist
python311Packages.spacy.dist
python311Packages.textacy
python311Packages.textacy.dist
python311Packages.textnets
python311Packages.textnets.dist

4 packages built:

python311Packages.thinc
python311Packages.thinc.dist
python312Packages.thinc
python312Packages.thinc.dist

Maintainer pings
cc @aborsu for testing.

Should not be merged until spaCy 4 is out, see #305705.


Bugfix legend disappears when changing export view size

And when export view is cancelled.
Delays the call to _showOverlays so that it happens only
when we are about to completely destroy the ExportImageView

+1


Newly customised zoom control not working

Issue description
Newly customised zoom control not working , how to make it work ?
-- Above screenshort

Hey, @nagoorbilal please direct usage questions to our Discord.


Doc-serialization: add a front-end option to filter out unwanted symbols

The front-end option specifies a prefix of those public symbols whose
doc-comments should be skipped during doc-comment serialization. A common filter is "__".
rdar://51468650

@swift-ci please smoke test

@swift-ci please smoke test

Thanks! Still wondering what your thoughts are on it being a frontend option.

Frontend options are supposed to be implementation details or compiler testing; they're not something we promise are stable and so we generally wouldn't tell someone else to use them except as a workaround for an issue. At the same time, though, I'm not sure you/we want to commit to supporting this particular option for all time [which is what driver options are for].

@jrose-apple I was pondering this as well. The request of adding a filter to symbols in the swift doc file does seem to me a walk around of something, though I’m not sure what it is. How about we keep it as it is and later we can promote it to a driver option, like what we do for module group info.

@swift-ci please smoke test

All right. It helps that it only affects serialization, i.e. clients don't have to know that the option was used.

@swift-ci please smoke test


made navbar-fixed & improved the design

I like your change. However, the boundaries of the links must remain intact. I will accept your pr when you make the correction.
Thanks @digambar-t7

I didn't you can you elaborate it

Hovering over the navigation bar links should look like the example below.

thanks for the contribution


Enable zooming with modifier key + two-finger trackpad scroll

With the recent addition of two-finger panning, it is no longer possible to zoom via scrolling on a trackpad. While pinch-to-zoom works as an alternative, apps such as Apple Maps also allow scroll-to-zoom while holding down Shift or a similar modifier key. iD should adopt this interaction.

With the recent addition of two-finger panning, it is no longer possible to zoom via scrolling on a trackpad. While pinch-to-zoom works as an alternative, apps such as Apple Maps also allow scroll-to-zoom while holding down Shift or a similar modifier key. iD should adopt this interaction.

The old style 2-finger scroll zoom will still work if you have the control key pressed..
That's actually the hack that all the browsers implemented so that the pinch zoom works - they turn the pinch zoom into a mousewheel event with ctrl key pressed.
https://medium.com/@auchenberg/detecting-multi-touch-trackpad-gestures-in-javascript-a2505babb10e

Oh neat! I didn't see that since I have control+scroll mapped to zoom the entire display. I can change that.

What do you think of redundantly adding Shift or Alt/Option for this so users have a choice? I could work on it.

What do you think of redundantly adding Shift or Alt/Option for this so users have a choice? I could work on it.

Sounds good to me 👍
I think the code to adjust might just be the two else if blocks here:
https://github.com/openstreetmap/iD/blob/152f658f3e4234b90b3ad80c9fda27821721f496/modules/renderer/map.js#L455-L479


Add init flag to disable quota checks

Given issues with certain AWS quotas see #386 this PR adds an additional init flag to disable quota checks.
Putting this on hold for discussion @vkareh - Maybe we want to make this so you disable certain servicequota codes L-D18FCD1D the reason I suggest this is because we don't want uses disabling quota if they are not sure as it will case a lot of toil for SRE. Asking them to be specific might be better.

/hold

I think we should not do this and rely on the changes in #386. If that's not sufficient, skipping quota check will probably not help us since cluster installation will very likely fail

Agree @vkareh #386 has merged. Closing this.


add an optional param into subscribeActiveWindow() to control sleep interval.

…nterval.

Thanks your tips.
I've changed the code as you said  and squash the new commits to the old one.
I'm not sure that current PR can run github action again.
Or should i open new PR?

Thanks for your tips. I've changed the code as you required and squash the new commit to the old one. I'm not sure that current PR can run github action again. Or should i open new PR?

No need to reopen a new PR. It's your first pull request so I need to validate the part who make running github actions.


responsive() has some glitches

Revert the default back for now.

cc @ssancho14

Fixed tests in https://github.com/google/horologist/pull/1795


python311Packages.openaiauth: update input

Description of changes
Fix build (https://hydra.nixos.org/build/249108090)

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 290169 run on x86_64-linux 1

8 packages built:

python311Packages.openaiauth
python311Packages.openaiauth.dist
python311Packages.tls-client
python311Packages.tls-client.dist
python312Packages.openaiauth
python312Packages.openaiauth.dist
python312Packages.tls-client
python312Packages.tls-client.dist


Feature: Extra installation step

Might be a good idea to include this for Ubuntu/Debian users:
apt-get install bundler ruby-dev -y
Especially ruby-dev otherwise bundle install will fail... and folks like me, without a background in Ruby, won't know why :)

ruby-dev or ruby2.0-dev? The Vagrantfile seems to do the latter, which is why I ask.

On a Debian 8,
apt-get install ruby2.0-dev bundler
bundle install

will fail, and it's the same with apt-get install ruby-dev:

Gem::InstallError: autoprefixer-rails requires Ruby version >= 2.0.
An error occurred while installing autoprefixer-rails (6.4.1), and Bundler
cannot continue.
Make sure that gem install autoprefixer-rails -v '6.4.1' succeeds before
bundling.

Even after:
apt-get install bundler ruby2.0 -y

it will fail because ruby --version still shows 1.9.
How to make the binary ruby2.0 the default ruby command?
PS: it might be useful to put it in the README.md for people without a Ruby background like me or @drwasho

@josephernest Do you have a gem2.0 binary that you can use to gem2.0 install bundler maybe?

Closing from inactivity, but still willing to accept a PR with fixes if some Ubuntu/Debian user feels up to it!


Modal

Need a modal component

Modals actually create issues unless they're a dead end and don't have interactivity that affects the underlying page (not to mention they're useless on mobile). Videos, quick browse image galleries, and important non interactive information works but not much else does. They shouldn't have to store any state because they're so easily closed. They also make back-foward browsing a bit weird when you factor them into single page apps and if the content is important they need to be linked to and so need their own route. It seems that from a UX standpoint, modals don't actually belong as part of stalefish, and if someone really needed one, it'd be easy enough to build using a panel and a background.


Task for tomorrow

[ ] 1. Get the ProdList
[ ] 2. Format the number so they have thousand divider
[ ] 3. Change the outbound cost to USD
[ ] 4. Test inbound / outbound file to see if it allows for single item input

Maybe just dump an extra sheet from python in so I don't need to do VBA no more

This I need to do in VBA. Still need to figure out how to do this

This I can do in python, just divide the number by 23_000 before dumping.

This could be messy, so Product / Factory / Customer


some keys not working

code tested @: a544cc
using a hp keyboard model hp-0316 ABNT2
I found the following issues regarding keyboard (using the COMPAQ DOS at boot)

ESC produces ""
neither shift or ctrl work
no autorepeat
symbol keys  (, . / " : - =) don't produce any character
f1 produces "a" character

the below looks like it is by design but I'm documenting here anyway =)

f8 enters digger
f12 entes a menu

The project is not intended for an end user, but for a developer, so that as things are needed, everyone can add or remove them.
I have given priority to low-cost ESP32, so it makes use only of SRAM, which is very limited, hence the 640x200 mode is actually 320x200, saving 64 KB of video, but sacrificing quality.
The F8 to load the game digger COM, was left for testing, to load directly without using the OSD. It's as easy as removing that functionality in the handleinput function. The code is very easy to follow.
We left the F12 key to bring up the OSD menu instead of F1 like the other emulators, because of something as simple as the fact that the digger game uses the F1 key to shoot an enemy.
It's interesting to look at the code very carefully, especially the part of use_lib_sna_rare, which allows to load games with much more RAM than available in the ESP32, and without using PSRAM. MADMIX 2 requires 217 KB of RAM, which is impossible with the resources of the ESP32, but with this option I can run it perfectly, as you can see in the video:
https://www.youtube.com/watch?v=aJNQKN4ITMc
There is also code to output video through the GPIO 26 PIN 5 CLK mouse, allowing to run the full original Maniac Mansion game, which requires 255 KB of real RAM, something that with VGA output, is not available.

Hello, I would appreciate your help:
At the end of the issue, I have put a couple of utilities so you can test the video modes that give problem with your board:
https://github.com/rpsubc8/ESP32TinyFake86/issues/1
You can also try the new utility update:
https://github.com/rpsubc8/ESP32TestVGA
320x240x60hz bitluni PLL
320x200x70hz bitluni PLL

Hi. Yes, i'll try as soon as possible!


cardano-cli query kes-period-info: Always display metrics

Resolves #3627

The metrics are returned, but the values are not correct, already exist a PR that fix that: https://github.com/input-output-hk/cardano-node/pull/3697.
Ideally both of the PRs should be accepted at the same time, like that we can truly test everything related to these metrics.

The metrics are returned, but the values are not correct, already exist a PR that fix that: #3697. Ideally both of the PRs should be accepted at the same time, like that we can truly test everything related to these metrics.

We will still merge this as I won't get to implementing tests for #3697 until Wednesday

bors r+

bors r+

bors r+


Recommend pyenv to manage Python versions in the inv setup task

What does this PR do?

Recommend pyenv to manage Python versions in the inv setup task
Motivation

People are wondering what's the best way to manage their Python versions
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


⚠ Shadow Does Streams has degraded performance

In 0bd6a0f, Shadow Does Streams (https://stream.everythingbagel.me) experienced degraded performance:

HTTP code: 200
Response time: 4876 ms

Resolved: Shadow Does Streams performance has improved in 8648a02 after 15 minutes.