python3Packages.torch-bin: 1.13.1 -> 2.0.0

Description of changes
NOTE: This is a re-take of an ongoing but apparently inactive PR.
The original author for those commits is @junjihashimoto.
Pytorch 2.0 is released.

Blog
Release note

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.05 Release Notes (or backporting 22.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

[x] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md).

cc @SomeoneSerge

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

8 packages failed to build:

python311Packages.openai-triton-bin
python311Packages.openai-triton-bin.dist
python311Packages.torch-bin
python311Packages.torch-bin.dist
python311Packages.torchaudio-bin
python311Packages.torchaudio-bin.dist
python311Packages.torchvision-bin
python311Packages.torchvision-bin.dist

12 packages built:

python310Packages.openai-triton-bin
python310Packages.openai-triton-bin.dist
python310Packages.torch-bin
python310Packages.torch-bin.dist
python310Packages.torchaudio-bin
python310Packages.torchaudio-bin.dist
python310Packages.torchvision-bin
python310Packages.torchvision-bin.dist
python310Packages.trainer
python310Packages.trainer.dist
tts
tts.dist

I have no idea why python311Packages.openai-triton-bin is failing to build whereas python310Packages.openai-triton-bin is doing fine.
It complains about not finding the wheel module...

Log of `nix-buid . -A python310Packages.openai-triton-bin`:
checking outputs of '/nix/store/7448m1w6n6qvn8l3fnnsi0jfih9bd3f1-python3.10-triton-2.0.0.drv'...
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing wheel setup hook
Using wheelUnpackPhase
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
unpacking sources
Executing wheelUnpackPhase
Finished executing wheelUnpackPhase
patching sources
configuring
no configure script, doing nothing
building
no Makefile or custom buildPhase, doing nothing
/build/dist /build
Unpacking to: unpacked/triton-2.0.0...OK
Repacking wheel as ./triton-2.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl...creating './triton-2.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl' and adding 'unpacked/triton-2.0.0' to it
adding 'triton/__init__.py'
adding 'triton/compiler.py'
adding 'triton/testing.py'
adding 'triton/utils.py'
adding 'triton/_C/libtriton.so'
adding 'triton/impl/__init__.py'
adding 'triton/impl/base.py'
adding 'triton/language/__init__.py'
adding 'triton/language/core.py'
adding 'triton/language/extern.py'
adding 'triton/language/libdevice.py'
adding 'triton/language/random.py'
adding 'triton/language/semantic.py'
adding 'triton/ops/__init__.py'
adding 'triton/ops/cross_entropy.py'
adding 'triton/ops/flash_attention.py'
adding 'triton/ops/matmul.py'
adding 'triton/ops/matmul_perf_model.py'
adding 'triton/ops/blocksparse/__init__.py'
adding 'triton/ops/blocksparse/matmul.py'
adding 'triton/ops/blocksparse/softmax.py'
adding 'triton/runtime/__init__.py'
adding 'triton/runtime/autotuner.py'
adding 'triton/runtime/jit.py'
adding 'triton/third_party/cuda/bin/ptxas'
adding 'triton/third_party/cuda/include/cuda.h'
adding 'triton/third_party/cuda/lib/libdevice.10.bc'
adding 'triton/tools/__init__.py'
adding 'triton/tools/aot.py'
adding 'triton/tools/build_extern.py'
adding 'triton/tools/disasm.py'
adding 'triton-2.0.0.dist-info/METADATA'
adding 'triton-2.0.0.dist-info/WHEEL'
adding 'triton-2.0.0.dist-info/top_level.txt'
adding 'triton-2.0.0.dist-info/RECORD'
OK
/build
installing
Executing pipInstallPhase
/build/dist /build
Processing ./triton-2.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Requirement already satisfied: lit in /nix/store/722h8lw117y0fw427j067a6h5dj33wpc-lit-15.0.6/lib/python3.10/site-packages (from triton==2.0.0) (15.0.6)
Requirement already satisfied: filelock in /nix/store/74zbf7wf5xjba0ngxmbsfsf31caqbyn9-python3.10-filelock-3.9.0/lib/python3.10/site-packages (from triton==2.0.0) (3.9.0)
Installing collected packages: triton
Successfully installed triton-2.0.0
/build
Finished executing pipInstallPhase
pythonOutputDistPhase
Executing pythonOutputDistPhase
Finished executing pythonOutputDistPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/nwmhzm0p2wg9j3cjx97a3v4kaf90j9iv-python3.10-triton-2.0.0
shrinking /nix/store/nwmhzm0p2wg9j3cjx97a3v4kaf90j9iv-python3.10-triton-2.0.0/lib/python3.10/site-packages/triton/third_party/cuda/bin/ptxas
shrinking /nix/store/nwmhzm0p2wg9j3cjx97a3v4kaf90j9iv-python3.10-triton-2.0.0/lib/python3.10/site-packages/triton/_C/libtriton.so
checking for references to /build/ in /nix/store/nwmhzm0p2wg9j3cjx97a3v4kaf90j9iv-python3.10-triton-2.0.0...
patching script interpreter paths in /nix/store/nwmhzm0p2wg9j3cjx97a3v4kaf90j9iv-python3.10-triton-2.0.0
shrinking RPATHs of ELF executables and libraries in /nix/store/nmagcixvp61kxgyrjlhjygg76zcz1a15-python3.10-triton-2.0.0-dist
checking for references to /build/ in /nix/store/nmagcixvp61kxgyrjlhjygg76zcz1a15-python3.10-triton-2.0.0-dist...
patching script interpreter paths in /nix/store/nmagcixvp61kxgyrjlhjygg76zcz1a15-python3.10-triton-2.0.0-dist
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
running install tests
no Makefile or custom installCheckPhase, doing nothing
pythonCatchConflictsPhase
pythonRemoveBinBytecodePhase
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
/nix/store/nwmhzm0p2wg9j3cjx97a3v4kaf90j9iv-python3.10-triton-2.0.0

Log of `nix-buid . -A python311Packages.openai-triton-bin`:
this derivation will be built:
  /nix/store/gfzvy35821v9l6yc0wywdw8x6jxqi0a1-python3.11-triton-2.0.0.drv
building '/nix/store/gfzvy35821v9l6yc0wywdw8x6jxqi0a1-python3.11-triton-2.0.0.drv'...
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing wheel setup hook
Using wheelUnpackPhase
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
unpacking sources
Executing wheelUnpackPhase
Finished executing wheelUnpackPhase
patching sources
configuring
no configure script, doing nothing
building
no Makefile or custom buildPhase, doing nothing
/build/dist /build
/nix/store/hx2c957wpwa6i3fz0wiwhg72sfgq62k1-python3-3.11.2/bin/python3.11: No module named wheel
/nix/store/5s1yg5l36wzgy1dj0vv1ibarc4g7vrdr-stdenv-linux/setup: line 136: pop_var_context: head of shell_variables not a function context

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

8 packages failed to build:

python310Packages.torchvision-bin
python310Packages.torchvision-bin.dist
python311Packages.openai-triton-bin
python311Packages.openai-triton-bin.dist
python311Packages.torch-bin
python311Packages.torch-bin.dist
python311Packages.torchaudio-bin
python311Packages.torchaudio-bin.dist

10 packages built:

python310Packages.openai-triton-bin
python310Packages.openai-triton-bin.dist
python310Packages.torch-bin
python310Packages.torch-bin.dist
python310Packages.torchaudio-bin
python310Packages.torchaudio-bin.dist
python310Packages.trainer
python310Packages.trainer.dist
tts
tts.dist

@GaetanLepage
Thank you for moving forward.
I may be able to review this PR next week.

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

36 packages built:

python310Packages.lit
python310Packages.lit.dist
python310Packages.openai-triton
python310Packages.openai-triton-bin
python310Packages.openai-triton-bin.dist
python310Packages.openai-triton.dist
python310Packages.torch-bin
python310Packages.torch-bin.dist
python310Packages.torchWithCuda
python310Packages.torchWithCuda.dev
python310Packages.torchWithCuda.dist
python310Packages.torchWithCuda.lib
python310Packages.torchWithRocm
python310Packages.torchWithRocm.dev
python310Packages.torchWithRocm.dist
python310Packages.torchWithRocm.lib
python310Packages.torchaudio-bin
python310Packages.torchaudio-bin.dist
python310Packages.torchvision-bin
python310Packages.torchvision-bin.dist
python310Packages.trainer
python310Packages.trainer.dist
python311Packages.lit
python311Packages.lit.dist
python311Packages.openai-triton
python311Packages.openai-triton-bin
python311Packages.openai-triton-bin.dist
python311Packages.openai-triton.dist
python311Packages.torch-bin
python311Packages.torch-bin.dist
python311Packages.torchaudio-bin
python311Packages.torchaudio-bin.dist
python311Packages.torchvision-bin
python311Packages.torchvision-bin.dist
tts
tts.dist

Here's a torch.compile sanity-check to run after we're done migrating to autoPatchelfHook:
❯ cat << EOF > torch-shell.nix
with import ./. { config.allowUnfree = true; };

mkShell {
  packages = [
    (python3.withPackages (ps: with ps; [
      torch-bin torchaudio-bin torchvision-bin
    ]))
  ];
}
EOF
❯ cat << EOF | nix-shell torch-shell.nix --command "python -"
import torch

def foo(x, y):
    a = torch.sin(x)
    b = torch.cos(x)
    return a + b

opt_foo1 = torch.compile(foo)
print(opt_foo1(torch.randn(5, 5), torch.randn(5, 5)))

print(
    opt_foo1(torch.randn(5, 5, device="cuda"), torch.randn(5, 5, device="cuda"))
)
EOF

Currently, the cpu version seems to work, and the cuda version needs to be taught to tell ld to look for /run/opengl-driver/lib/libcuda.so: ld: cannot find -lcuda: No such file or directory

\  \ //      gaetan@tuxedo
lldb_9
lldb_9.dev
lldb_9.lib
llvmPackages_14.openmp
llvmPackages_14.openmp.dev
llvmPackages_15.lldb-manpages
llvmPackages_15.openmp
llvmPackages_15.openmp.dev
llvmPackages_rocm.bintools
llvmPackages_rocm.bintools-unwrapped
llvmPackages_rocm.lld
llvmPackages_rocm.lld.doc
magnetophonDSP.CharacterCompressor
magnetophonDSP.CompBus
magnetophonDSP.LazyLimiter
magnetophonDSP.MBdistortion
magnetophonDSP.RhythmDelay
magnetophonDSP.VoiceOfFaust
magnetophonDSP.faustCompressors
magnetophonDSP.pluginUtils
magnetophonDSP.shelfMultiBand
mooSpace
onedrive
open-music-kontrollers.mephisto
python310Packages.openai-triton-bin
python310Packages.openai-triton-bin.dist
python310Packages.torch-bin
python310Packages.torch-bin.dist
python310Packages.torchaudio-bin
python310Packages.torchaudio-bin.dist
python310Packages.torchvision-bin
python310Packages.torchvision-bin.dist
python310Packages.trainer
python310Packages.trainer.dist
python311Packages.lit
python311Packages.lit.dist
python311Packages.openai-triton-bin
python311Packages.openai-triton-bin.dist
python311Packages.torch-bin
python311Packages.torch-bin.dist
python311Packages.torchaudio-bin
python311Packages.torchaudio-bin.dist
python311Packages.torchvision-bin
python311Packages.torchvision-bin.dist
rund
sambamba
tambura
tilix
tinygo
tts
tts.dist
vscode-extensions.vadimcn.vscode-lldb
zrythm

In my environment of linux, the following compile works.
$ git rev-parse HEAD
d714880c1774c00d74fd88972be4c1fdc2185385
$ cat << EOF | nix-shell torch-shell.nix --command "python -"
import torch

def foo(x, y):
    a = torch.sin(x)
    b = torch.cos(x)
    return a + b

opt_foo1 = torch.compile(foo)
print(opt_foo1(torch.randn(5, 5), torch.randn(5, 5)))

print(
    opt_foo1(torch.randn(5, 5, device="cuda"), torch.randn(5, 5, device="cuda"))
)
EOF
tensor([[-0.6015,  1.3987, -0.4460, -0.3008,  0.1029],
        [-0.0233,  0.4492,  0.4009,  1.4012,  0.4370],
        [ 1.2981,  0.5689,  1.1468,  1.3874,  1.3806],
        [ 0.9503, -0.7348, -0.1509,  0.5130,  1.2885],
        [ 1.2164,  1.3547,  1.4140,  1.4097,  0.9404]])
tensor([[ 0.9201,  0.0469,  0.9832,  1.2646,  1.3479],
        [ 1.2710,  1.3118,  1.0750, -0.3330,  1.1470],
        [-0.9825, -0.0630,  1.4084, -1.4142,  1.3304],
        [ 1.3824,  0.6704, -0.0745,  1.0180,  1.1098],
        [ 1.3521,  0.5555,  0.5231, -0.9637,  0.5527]], device='cuda:0')

Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory

We have to choose, again, between copy-pasting https://github.com/NixOS/nixpkgs/commit/510e2ccd97f7fe392ebfc80212d4e78fcfdd06d1#diff-9b6f03714fcb7e3e19ce74b9d3f35e478670b94e5d225ac776f4135c5b11f7b9R94 or forcing torch-bin to use cudaPackages.cudnn which has already been patched

@junjihashimoto I just compared the outputs for both PRs. From what I see, in your PR .../torch/lib remains in libcudnn's Runpath:
❯ patchelf --print-rpath /nix/store/6byiddxghrj3x41qka8gx9fn8drk0szh-python3.10-torch-2.0.0/lib/python3.10/site-packages/torch/lib/libcudnn.so.8
/run/opengl-driver/lib:/nix/store/wvm2hvqdbbsp1f11463mrw8nyv678ipm-gcc-12.2.0-lib/lib:/nix/store/6byiddxghrj3x41qka8gx9fn8drk0szh-python3.10-torch-2.0.0/lib/python3.10/site-packages/torch/lib

On the other hand, in the current PR:
❯ patchelf --print-rpath /nix/store/phnjh38qgkj15s2ji0bwvw3xa4gqbb2r-python3.10-torch-2.0.0/lib/python3.10/site-packages/torch/lib/libcudnn.so.8
/run/opengl-driver/lib:/nix/store/g012c53brxmb0if3lpmkjwmxk74hjflh-gcc-12.2.0-lib/lib:/nix/store/5w5qpm9z3iyib615pdih6nvk9spv3jbv-gcc-12.2.0-libgcc/lib

The latter is actually expected because its DT_NEEDED doesn't declare a dependency on anything in torch/lib, so autoPatchelf deletes it. I see your PR also uses autoPatchelf for torch-bin though, and I cannot easily explain why it keeps the path there

But in the end I think we do want dependencies to be explicit. @GaetanLepage I would suggest that we just patchelf --add-needed as Connor did in the linked commit (fixes torchvision), and we patch $out/${python.sitePackages}/triton/compiler.py to -Wl,-L/run/opengl-driver/lib when it tries to link libcuda.so (fixes torch.compile), and then we call it a week and merge?

This pull request has been mentioned on NixOS Discourse.

Hey @junjihashimoto, I just wanted to add that your PR was a very important milestone and it is frustrating that these packages require so many iterations before anything gets merged. Thank you! And thanks @GaetanLepage for seeing this through!

This broke pytorch-bin on darwin, where it previously was installable but now fails because cuda_nvtx is x86_64-linux only.


Problem: report of failing to check httpd handler validity

This happens when handlers are updated. They are later reported by http worker as invalid.
Solution: ensure we're checking the new record when updated not the old one.
:facepalm:

cc @Dipenbhatt03 thank you for the original report!


Removed harmful changes to config_legacy.cpp

PR #321 changed one of the structs in config_legacy.cpp. We can never do that, our pre-Protobuf migration process relies on these structs not changing.
I have undone the changes and added a comment at the top of the file to prevent such errors in the future.
This PR must be merged before the next release. Otherwise, users may experience failed configuration migrations.

Merged - thanks @mthiesen


vscode will use more and more memory

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.59.0
OS Version: win10 18363

Steps to Reproduce:

start vscode
coding, compile and debug
open Task Manager, vscode use more and more memory

This is the process explorer in vscode.

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

Thanks for reply, I will try to reproduce in the next few days.

Ok.


Update release.yml to upload to mirror

As it is currently this will remove old versions when a new one is added

Please squash

No longer removes old versions


Add files to package.json.

Prevents .travis.yml and test.js from being published to NPM.

Thank you for merging.


calculation of autocorrelation gives nans when noise data contains large jumps

Original report by Dan Becker (Bitbucket: danbek, GitHub: danbek).

Processing some umux noise data, I found cases where channel.py/NoiseRecords._compute_continuous_autocorrelation() will return nan values for the autocorrelation. This happens because the baseline response of the umux system sometimes jumps by an integral number of flux quanta (which are 2**12 in size in the units used by the server and MASS) [1].  If the data contains only one segment, this means that no autocorrelation is computed, and the values are all set to nan.
In turn this causes problems in the calculation of filters.
I placed code that reproduces this into a snippet: https://bitbucket.org/snippets/danbek/B6grnp
You'll need the following files to run the test case:
687kpac:/data/umux/2017/sep18/20170918_165820_chan155.ljh
687kpac:/data/umux/2017/sep18/20170919_082023_chan155.noi
[1] This happens with very large pulses (i.e. cosmic rays) that caus us to "slip" flux quanta on the pulse leading edge.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

What's the proposed fix? Do you think there should be a different algorithm to reject large excursions? Will the proposed fix still make sense for TDM data?

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

I did end up implementing my suggestion from two messages above:
#!python
if flux_quantum != None:
    if np.amax(data) - np.amin(data) > flux_quantum / 2:
        corrected = data % (flux_quantum)
        if (np.amax(corrected) - np.amin(corrected)) > flux_quantum/2:
            corrected = (data + flux_quantum/4) % (flux_quantum)
            corrected = corrected - flux_quantum/4 + flux_quantum

However, there are still cases where this doesn't work.
For now, I've decided that a simpler approach is to calculate a new data_mean for each chunk, instead of for each segment. This means that a jump will only cause you to throw out the data the chunk that contains the jump, not the entire segment that contains it. So far it works well for umux data.
I discussed this with Joe a bit, and his first thought was that this shouldn't cause a problem for the autocorrelation calculation. But we should probably think more about whether to make this change for all users of MASS.

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

Fix nan autocorrelation when noise contains larges jumps
See Issue #129

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

Won't the function you've provided wrap at some arbitrary point (i.e. at integer value of flux_quantum)? And isn't it totally possible for otherwise-clean noise data to be straddling that boundary sometimes?

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

Right now I've added a new parameter, "flux_quantum" to the function. If it is not None, then I apply new logic. I added the parameter with a default value of None all the way up the call chain.
I'm not sure what the exact algorthim should be. Right now I do the following, which works in the 2 cases that I've tried:
#!python
if flux_quantum != None:
    if np.amax(data) - np.amin(data) > flux_quantum / 2:
        data = data % flux_quantum

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

Yes, I've been worried about that, which is why I haven't checked in any code yet. I'm not quite sure how to handle it. A cheesy approach would be to check for jumps after the modular arithmetic, and if they still exist do something ... maybe add 1/2 flux quantum to all the data and try again?

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

Also, I'm not excited about having to put flux_quantum parameters to functions all up and down the chain of calls, especially given that most users won't know what the heck it means.
On the other hand, the workaround I did for the data inversion is not lovely either. (It uses dataset.__dict__.get("invert_data", False) to have a default value if the relevant attribute isn't set.
Hmm.


Visual Studio 2015 Integration / Post Build ?

What is the recommended way to integrate the Command Line for NSwag into a Webapi project ?
Currently I build the WebAPI and either switch to the GUI or command line.
But it would be nice to compile and automatically have the NSwag TS files generated.
Is this something that could be done using Nuget ? Or is it best via Post Build commands ?
LIke Arebis does ? You can then reference a .../Client/MyWebapi.js   containing the wrapper ?
http://www.codeproject.com/Articles/872033/ASP-NET-Web-API-Javascript-Clients
https://www.nuget.org/packages/Arebis.AspNet.WebApi.JsClients.cs/

Currently there is no NSwag build target / NuGet package with build targets available. I think the best option is to add a post compile target/task and execute the command line tool...

Use NSwag.MSBuild

See https://github.com/NSwag/NSwag/wiki/MSBuild


Remove support for IBC < v3

All the code with
#[cfg(not(feature = "ibc3"))]

should be removed and only the IBC v3+ interfaces should be supported.

Do we want to keep the ibc3 feature or should we also just remove the #[cfg(feature = "ibc3")] guards?

just remove the #[cfg(feature = "ibc3")] guards

This. The cargo feature "ibcv3" should be removed and everything becomes IBC 3+.


How to set the frame rate when recording the screen

How to set the frame rate when recording the screen

You can limit the framerate, but it is inherently variable: a new frame is produced only when the screen clntent changes.
scrcpy --record file.mp4 --max-fps 5

2021-08-04 15:01:49,177-INFO-scrcpy_recorder.py-start_record-53:trying to start:['scrcpy', '--record', 'F:/screenShout/e0bada00/BrowserColdStartUpScenario_com.quark.browser_0.mkv', '--max-fps 60']
scrcpy: unknown option -- max-fps 60

I tried, but I would make a mistake

You probably use a (very) old version of scrcpy. Ise the latest version.

scrcpy-win64-v1.17

start_record-53:trying to start:['scrcpy', '--record', 'F:/screenShout/e0bada00/BrowserColdStartUpScenario_com.quark.browser_0.mkv', '--max-fps 60']

Oh, you passed "--max-fps 60" as a single argument.
Either pass --max-fps then 60, or pass --max-fps=60 as a single argument.

2021-08-04 15:57:54,636-INFO-scrcpy_recorder.py-start_record-52:trying to start:['scrcpy', '-Nr', 'F:/screenShout/e0bada00/BrowserColdStartUpScenario_com.quark.browser_0.mkv', '--max-fps=60']
INFO: scrcpy 1.17 https://github.com/Genymobile/scrcpy

After FPS is set  The result is 1000

A priori, the FPS metadata is not written, since it is not known (and variable). So your program attempts to guess the framerate, but it fails.

So there's no way？

So there's no way?

The framerate is variable, there is no way to force a fixed framerate.

Why doesn't my recorded video have the duration attribute

It should have. If you open ot wkth VLC or MediaInfo, there should be duration.
What if you record as mp4 instead of mkv?

If I'm MP4 , I won't play it Cannot open

The command line has duration， There is no duration with code recording screen

If I'm MP4 , I won't play it Cannot open

Even with VLC?
How do you stop recording? On Windowd, you should either close the scrcpy window or press Ctrl+C in the terminal, but NEVER close (kill) the terminal wkndow directly.

I recorded it using the command line

Yes, but how did you stop the recording?

like this

(Please post the code as text instead of screenshot.)
That's the problem (on Windows), this kills the process so it could not properly complete the recording. On Linux it should work, because SIGINT will be catched.
See #818.

I still don't understand  , kill-pro or send-key ctrl-c , which one better ,how


unwrap ternary for strict mode compatibility

When using bluebird as a dependency and building with rollup, rollup-plugin-commonjs requires the dependency to work in strict mode.
This PR unrolls a nested ternary which is documented in many places as a code smell and isn't supported in strict mode.

What do you mean by strict mode?

Ffg

What do you mean by strict mode?

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode

Ternaries are supported in strict mode, nested ternaries are supported too. This is likely an issue with your build system.
(function(){
'use strict';
return Math.random() > 0.5 ? Math.random() > 0.5 ? 1 : 2 : 3;
})()

Works.


List of dependencies.

Sometimes, I'd like to see the deduplicated list of all dependencies instead of a tree. Is there a way to do this? If not, could you add a dependencyList command?

Cool!


fix CONTRIBUTING.md

Fixed:
https://github.com/einfachiota/iota-payment/blob/master/CONTRIBUTING.md


Add support for math functions in eval()

closes #4893
Extends the eval parser to accept calling math functions.

looks good. can you add a whatsnew note in 0.17.0 docs. pls squash as well. ping when green.

once I merged this: https://github.com/pydata/pandas/pull/10975
pls update the tests as you indicated

@sklam can you update the tests

@sklam can you update

hmm, it appears numexpr automatically upcasts complex64 -> complex128?
is that a bug? or in the spec?
In [1]: df = DataFrame({'a': np.random.randn(10).astype(np.complex64)})

In [2]: df.dtypes
Out[2]:
a    complex64
dtype: object

In [3]: df.eval('b = sin(a)')

In [4]: df
Out[4]:
                a                     b
0  (-0.570414+0j)  (-0.539980304291+0j)
1   (0.623834+0j)   (0.584150916712+0j)
2     (1.6842+0j)   (0.993577225836-0j)
3    (1.54063+0j)   (0.999545174164+0j)
4   (0.788171+0j)   (0.709064831257+0j)
5  (-0.916847+0j)  (-0.793687403046+0j)
6   (0.775991+0j)   (0.700423483759+0j)
7  (-0.654412+0j)  (-0.608692614148+0j)
8   (-1.62652+0j)  (-0.998447583421-0j)
9   (0.152154+0j)   (0.151567580954+0j)

In [5]: df.dtypes
Out[5]:
a     complex64
b    complex128
dtype: object

thanks @sklam


Update to munit 1.0.0-M6

At this point it is quite stable and brings many improvements we could benefit from, such as async resource fixtures (thanks to @danicheg for working on that in munit core :)

This is a published dependency, via laws.  The laws are underdeveloped, rarely depended on, and would not typically be used in applications, so it's not tragic.  But this was a breaking change in a patch, and now production depends on a milestone.

Sorry, I was completely unaware of that. Why do our laws depend on munit? Typically laws depend on Discipline and not a specific test framework.

Good question.  Looks like LawAdapter.

Hmm. At a glance I think the Right:tm: thing to do there would have been to use the Cats Effect testkit. Not ruling out that effectful laws are tricky.
We can fix this on 1.x.


Fix match.As to behave the same as errors.As

Fixes #19

Thanks @Fryuni ! Can you please take a look at the failing tests?

Sure, they all passed locally on 1.17 🙃, I forgot to try on the previous versions

@sagikazarmark just going through my open PRs, any thoughts on this? 😄


Flux filter() is not applied when using distinct() function

When the distinct function is called on end of flux command, it looks like that the previous filter functions are not applied. In my case filter(fn: (r) => r.state == "XXX") should return empty result, but the filter is ignored and result contains records with all possible state values.
When I comment out distinct(column: "pod_name") , filtering is working correctly and result is empty.
from(bucket: "default")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r._measurement == "kubernetes_pod_container")
  |> filter(fn: (r) => r._field == "state_code")
  |> filter(fn: (r) => r.host == v.host)
//  |> filter(fn: (r) => r.namespace == v.namespace)
  |> filter(fn: (r) => r.state == "XXX")
  |> drop(columns: ["container_name"])
  |> distinct(column: "pod_name")
//  |> group(columns:["state","pod_name","_value", "namespace"], mode: "except")
//  |> count()

"version": "2.0.0-alpha.7", "commit": "3ceae6198", "build_date": "2019-03-29T01:09:17Z"

This strange bug is also somehow related with filtering by v.host variable. When I replaced "v.host" with the real hostname, filtering starts to work correctly.

Any updates?


Weird error from the ballerinax/persist.sql compiler plugin

This is the error message.
error: compilation failed: The compiler extension in package 'ballerinax:persist.sql:1.2.0' failed to complete. node should not be null

@sameerajayasoma Is it possible to share the code, please?


Issue in face_encodings

face_recognition version:
Python version:
Operating System:

Description
When i tried use the function face_encodings() it shows some error of
IndexError: list index out of range
What I Did
I tried with some other photos.Some photos its working fine for some other its showing same error
kindly help regrading this issue

Similar issue, but I use a code like this :
subfolders = [f.path for f in os.scandir(os.getcwd()) if f.is_dir() ]  subfolders.remove(os.getcwd() + r'\face_recognition') for item in subfolders:     obj_names.append(item)     cnt = cnt +1     for file_name in os.listdir(item):         obj_images.append(face_recognition.load_image_file(item + '\\' +file_name))         obj_encs.append(face_recognition.face_encodings(obj_images[cnt]))
I am dynamically trying to add faces with names of persons as folder names and images inside it for create face encodings. Need help

I solved my issue btw

Great!

i'am facing the same issue
(list index out of range)
Can any one help me to resolve this issue!

It does mean that the face wasn't detected.


Review updated ISO House Styles

The ISO House Styles has been revised:
https://www.iso.org/ISO-house-style.html
We need to do a review and publish on a blog regarding what has changed and add issues on what we need to do.
The revision history is provided here (from the website):

ISO House Style revision history 2023-03.xlsx

Changes from 2022-03 to 2023-03:

Received
Type of comment
Section
Subsection
Requester
Request
Decision
Change/comment
Status

2022-04-07
Revision
Throughout

Nicola Perou
Check that all links 'open link in a new tab' - currently some don't.
Accepted
Correct the identified links
Completed

2022-04-08
Revision
Plain English

Jos Huxley
The fourth bullet is missing the full stop at the end.
Accepted
Add a full stop: • Use punctuation effectively to clarify meaning. For example, a comma creates a pause in a sentence that helps the user to follow the flow of words.
Completed

2022-04-08
Revision
Abbreviated terms, abbreviations and contractions
e.g, etc. and i.e.
Jos Huxley
There is no reference to or examples for the use of ‘i.e’. I am interested that the feedback you have received has been that there is not a potential for misapplication; I have had to explain on a number of occasions that i.e. and e.g. are not interchangeable and serve very different functions!Part of the reason for my query was that in every other case in this document there is an usage example for each titled term or expression, however none was present for i.e. in this instance.
Accepted
Add clarification sentence and examples:e.g. and i.e. are not interchangeable and serve different functions.Use “i.e.” when clarifying a point or explaining something in another way:“Liquefied extinguishants shall be provided as a pure extinguishant, i.e. not pressurized with nitrogen.”“F is the operating force (i.e. the force applied on brake lever or pedal).”
Completed

2022-04-26
Revision
Symbols
Quantities and units
Brian Stanton
As stated in my mail to Isabel below, in my opinion, in order to better insist upon the use of SI units in all our standards, we should adjust the wording regarding non-SI units as follows:When non-SI units need to be expressed, give the equivalent value in SI units first, followed by the non-SI units in brackets.
Accepted
Change to: When non-SI units need to be expressed, give the equivalent value in SI units first, followed by the non-SI units in brackets.
Completed

2022-08-02
Revision
Grammar
A or an
Paul Jessop
“MSS” is very widely recognised as meaning “manuscripts”(*). I am sure though that in some parts of the ISO community, its specialized technical meaning as “management system standard” will be understood. I’d respectfully suggest that an unambiguous example should be chosen, or the intended interpretation of the example should be provided alongside the phonetic spelling.
Accepted
Changed from "an MSS" to "an NGO, an XML file"
Completed

2022-08-18
Revision
Throughout

Nicola Perou
Lexico.com closed on 26 August and redirects to dictionary.com. The House Style has three links to https://www.lexico.com. Does dictionary.com meet our needs? To update or delete references.
Accepted
Change in 3 places to: https://www.oxfordlearnersdictionaries.com
Completed

2022-11-08
Revision
Referencing
Cross-references to an unnumbered document
David Reid
RE: Position of footnotes in relation to punctuation -  there are a few inconsistent examples in the House Style. We need to tidy these up. See email in folder
Accepted

Completed

@ronaldtse None of these changes impact anything to do with style, they are just wording clarifications. The one exception, 2022-04-26 non-SI units, brings ISO in line with Metanorma, rather than vice versa (metric units appear before imperial; Metanorma was not looking for imperial units to begin with). Nothing to action for 2022–2023.
Compliance with house style was implemented in Feb 2022 https://github.com/metanorma/metanorma-iso/issues/472, so I'll check the previous year's changes just in case.

Thank you @opoudjis for the review! Closing.

No, not yet, I need to go through previous year's changes.

@opoudjis got it, thanks for being thorough.

Maybe we should publish a blog post that we comply with ISO House Style after the review.

Enforcing avoiding of "need(s) to", "might", "could" in English, 2021-10-11.

Avoid multiple nesting of subscripts, 2021-09-17

Cross-reference must follow punctuation, 2021-10-13

"Adapted from" is to be rendered as "Modified", per rejection of proposal in change log:

The rule is we used 'modified', as shown in DP2. However, if the definition has been taken from text rather than another entry then 'adapted from' can be used in a note to entry. No change to House Style.

No further modifications need to be made.


test: add test to validate all local branches

This PR has been created so duplicate work is not done and for any evaluations y'all have along the way.
I'll convert this from a draft once I have full tests for the git branches.
I may end up significantly overhauling some of the test utilities. We'll see.

Not sure why the tests have failed... works on my machine™.

Feel free to take stuff from https://github.com/NeogitOrg/neogit/pull/613 if you like  ;)


File name of a single image or captured photo in the picker

How can I get the filename or the path of the selected image in the picker.didFinishPicking method ?

@thewozz
At the moment there's no way to get the filename/path but this is something we are going to tackle in the next version 🚀
This is related to https://github.com/Yummypets/YPImagePicker/issues/168
PS: Please excuse the late reply :)

+1

I am not sure if it can help, but i can get the file path using below code:
photo.asset?.requestContentEditingInput(with: PHContentEditingInputRequestOptions()) { (input, _) in     print(input!.fullSizeImageURL!) }
Please note this is async task.

Too old issue. Feel free to open new.


Idva6 612 accounts user api integration

Short description outlining key changes/additions
Added methods to call endpoints from accounts-user-api.
JIRA Ticket Number
IDVA6-612
Type of change

[x] Bug fix
[x] New feature
[x] Breaking change
[x] Infrastructure change

Pull request checklist

[x] I have added unit tests for new code that I have added
[x] I have added/updated functional tests where appropriate
[x] The code follows our coding standards

An exhaustive list of peer review checks can be read here

CI: Security warnings found!


Demo account  in README-zh-CN.md is WRONG

When logging in with the test account in README-zh-CN.md, the website shows "Invalid username or password".
I found the link in readme.md is not the same as the one in zh-CN.md. Is it possible to change the link in README-zh-CN.md?

Thanks for reporting, will update it soon


tf.constant_initializer does not accept Tensor as input

I'd like to load multiple copies of VGG on each of 4 different GPUs.. rather than copy the weights down to each GPU every time, I'd like a local copy of the weights. Unfortunately using constant_initializer and a numpy array explodes the graph def (as all the n copies of the weights are stored).
Instead, I convert the weights to a tensor once, and want to use this tensor to initialize the variable. this keeps the graphdef small and allows me to be super flexible. Unfortunately it looks like tf.constant_initializer doesn't accept Tensors as values.

It's pretty inefficient to large numpy arrays into Graph. A work-around is to create Variables with  tf.placeholder initial value and then feed numpy array during initialization. Unfortunately get_variable doesn't have placeholder_initializer either.
I get around it this by using a simplified replacement for get_variable mechanism that creates variables with tf.placeholder initial value, and puts corresponding placeholder,numpy pairs into global init_dict, so then I can call sess.run(tf.global_variables_initializer(), feed_dict=init_dict)
Here's an example: https://github.com/yaroslavvb/stuff/blob/master/numpy_initializers/kfac_cifar.py#L245

@lukaszkaiser what do you think about supporting following: tf.get_variable(name, tf.tensor_initializer(tensor)) which accepts a tf.Tensor object, and creates variable as tf.Variable(tensor, name=name)? That will cover the placeholder use-case as well

We already support just passing values to initializer in get_variable, they just get passed over to tf.Variable, so you can, e.g., do tf.get_variable("x", initializer=0.5). I'd hope it'd work with tf.Tensor already, doesn't it?

Good point, that does seem to work already
pl = tf.placeholder(tf.float32, shape=())
a = tf.get_variable("test", initializer=pl)
sess = tf.Session()
sess.run(a.initializer, feed_dict={pl: 1})

@el3ment does that cover your use-case? You could be even more efficient by initializing the first variable var on GPU from tf.placeholder, and the rest from var.initial_value()

@yaroslavvb The issue there is that I would need to create a placeholder for all the weights in VGG which is impractical.
@lukaszkaiser This is true for constants, but when I tried it with a tensor object it complained.
One alternative to having tf.constant_initializer accept a tensor is to make tf.get_variable accept a tensor as an initializer directly.. but this isn't quite as clear IMO

@el3ment it should work with a Tensor, can you double check that you have latest version


Adding Neukmann 2020 libs - singlegenome hostassociated

Pull Request
This PR is for a

[X] New Publication(s)
[ ] Correction

For the following list(s):

[ ] ancientmetagenome-anthropogenic (README)
[ ] ancientmetagenome-environmental (README, ask @thedir-team-dirt for advice)
[ ] ancientmetagenome-hostassociated (README, ask @thedir-team-bugparty for advice)
[X] ancientsinglegenome-hostassociated (README, ask @thedir-team-pathopeeps for advice)

New Publication
Publication Information
This pull request is to add samples from the following publication(s): 10.1186/s12915-020-00839-8
This is to close #500
Checklist

[X] Publication is published (preprints currently not accepted)?
[X] Checked the publication is not already in the database?
[X] Checked samples in this publication are not previously published data (newly re-sequenced metagenomes are OK!)?
[X] Samples are shotgun metagenomes (hostassociated-singlegenome may also contain whole-genome enriched data)?
[X] Checked the list follows conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)?
[ ] Changelog is updated to include the publication under 'Added'?
[ ] Pull request has passed validation checks (see automated comment from github-bot)?
[ ] Review requested from corresponding team (see list of lists above for each team)?
[ ] (If applicable) Made a separate PR to add new categories to controlled lists (stored under /assets/enums, e.g. material or archive)? If so the corresponding PR is here: #807

If you do not know how to check errors in failed validation checks, expand here

Correction
This PR is for

[ ] ancientmetagenome-hostassociated
[ ] ancientsinglegenome-hostassociated
[ ] ancientmetagenome-environmental
[ ] ancientmetagenome-anthropogenic

Reference
This pull request is to correct samples from the following publication(s):
This is to close
Description
The issue is:

Checklist

[ ] Checked the corrected entries follow conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)
[ ] Changelog is updated to include the publication under 'Changed'?
[ ] Pull request has passed validation checks (see automated comment from github-bot)?
[ ] Review requested from corresponding team (see list of lists above for each team)?

As far as I am aware, all of the sequencing runs added in this PR were already previously added to the metagenome-hostassociated table by the PR #813. There were some samples that were deeper sequenced for some pathogens, so we could put them also into singlegenome-hostassociated, we would then just have to remove these entries from the metagenome-hostassociated table.
I personally would prefer to discard this PR here and keep the samples all in the metagenome-hostassociated table, but I am happy to hear the opinion of others? @Xevkin @jfy133 @aidaanva

I apologize if samples were added twice erroneously - would defer to those with greater experience in handling the data set.

My concept is that it's OK to duplicate relevant runs across two different domain specific tables.
So in the case of Neukamm, they had something like 100 calculus/tooth metageomes (all valid), and out of them they found two samples with M. leprae.
Someone looking onlyfor comparative M. leprae data would  only look at the single-genome list, whereas someone working on calculus would look at the host-associated metagenome list. In both caess, the researcher would likely NOT check the other list to look for further data.
Therefore we should have BOTH PRs (@Xevkin you might need to reconstruct the original Neukamm metagenome PR in a new branch via the link above, because I did a clean up and deleted all merged or closed PRs - sorr yabout that Let me know  on slack if that isn't clear and I can give more detailed instructions)


Feature 74 - mock db in tests

@Gnagniko, @sajjadmurtaza, @WebFa98, @garvinkon, please review and merge this pull rq. if you're fine with it.


[Snyk] Upgrade @mikro-orm/core from 4.5.4 to 4.5.10

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @mikro-orm/core from 4.5.4 to 4.5.10.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 41 versions ahead of your current version.
The recommended version was released a year ago, on 2021-12-26.

Release notes

Package name: @mikro-orm/core

4.5.10 - 2021-12-26

4.5.10-dev.33 - 2021-12-18

4.5.10-dev.32 - 2021-12-18

4.5.10-dev.31 - 2021-12-15

4.5.10-dev.29 - 2021-12-14

4.5.10-dev.27 - 2021-12-12

4.5.10-dev.26 - 2021-12-06

4.5.10-dev.25 - 2021-12-03

4.5.10-dev.15 - 2021-11-16

4.5.10-dev.11 - 2021-11-15

4.5.10-dev.10 - 2021-11-15

4.5.10-dev.8 - 2021-11-15

4.5.10-dev.7 - 2021-11-15

4.5.10-dev.6 - 2021-11-09

4.5.10-dev.4 - 2021-11-08

4.5.10-dev.2 - 2021-09-05

4.5.10-dev.1 - 2021-08-30

4.5.10-dev.0 - 2021-08-29

4.5.9 - 2021-08-24

4.5.8 - 2021-08-24

4.5.8-dev.4 - 2021-08-24

4.5.8-dev.3 - 2021-08-20

4.5.8-dev.1 - 2021-08-03

4.5.8-dev.0 - 2021-07-10

4.5.7 - 2021-06-30

4.5.7-dev.13 - 2021-06-30

4.5.7-dev.11 - 2021-06-29

4.5.7-dev.8 - 2021-06-29

4.5.6 - 2021-06-06

4.5.6-dev.11 - 2021-06-04

4.5.6-dev.7 - 2021-05-29

4.5.6-dev.6 - 2021-05-29

4.5.5 - 2021-05-17

4.5.5-dev.18 - 2021-05-14

4.5.5-dev.13 - 2021-05-13

4.5.5-dev.12 - 2021-05-12

4.5.5-dev.8 - 2021-05-07

4.5.5-dev.7 - 2021-04-30

4.5.5-dev.3 - 2021-04-27

4.5.5-dev.2 - 2021-04-27

4.5.5-dev.1 - 2021-04-27

4.5.4 - 2021-04-26

    from @mikro-orm/core GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Checkmarx One – Scan Summary & Details – 4cb58e9c-f6ed-4cc4-ab7d-5f5bfd00ac93
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2015-5312
Npm-libxmljs-0.19.7
Vulnerable Package

CVE-2017-9048
Npm-libxmljs-0.19.7
Vulnerable Package

CVE-2021-43138
Npm-async-2.6.3
Vulnerable Package

CVE-2022-1650
Npm-eventsource-1.1.0
Vulnerable Package

CVE-2022-21144
Npm-libxmljs-0.19.7
Vulnerable Package

CVE-2022-23539
Npm-jsonwebtoken-8.5.1
Vulnerable Package

CVE-2022-23540
Npm-jsonwebtoken-8.5.1
Vulnerable Package

CVE-2022-23541
Npm-jsonwebtoken-8.5.1
Vulnerable Package

CVE-2022-24434
Npm-dicer-0.3.0
Vulnerable Package

CVE-2022-24771
Npm-node-forge-0.10.0
Vulnerable Package

CVE-2022-24772
Npm-node-forge-0.10.0
Vulnerable Package

CVE-2022-24999
Npm-qs-6.7.0
Vulnerable Package

CVE-2022-24999
Npm-qs-6.5.2
Vulnerable Package

CVE-2022-24999
Npm-qs-6.10.1
Vulnerable Package

CVE-2022-25858
Npm-terser-5.7.0
Vulnerable Package

CVE-2022-25858
Npm-terser-5.10.0
Vulnerable Package

CVE-2022-25858
Npm-terser-4.8.0
Vulnerable Package

CVE-2022-29078
Npm-ejs-2.7.4
Vulnerable Package

CVE-2022-31129
Npm-moment-2.29.1
Vulnerable Package

CVE-2022-31129
Npm-moment-2.24.0
Vulnerable Package

CVE-2022-3517
Npm-minimatch-3.0.4
Vulnerable Package

CVE-2022-38900
Npm-decode-uri-component-0.2.0
Vulnerable Package

CVE-2022-39288
Npm-fastify-3.14.0
Vulnerable Package

CVE-2022-40303
Npm-libxmljs-0.19.7
Vulnerable Package

CVE-2022-40304
Npm-libxmljs-0.19.7
Vulnerable Package

CVE-2022-41919
Npm-fastify-3.14.0
Vulnerable Package

CVE-2022-46175
Npm-json5-2.2.0
Vulnerable Package

CVE-2022-46175
Npm-json5-1.0.1
Vulnerable Package

Cx10578cb2-c0fc
Npm-cypress-6.9.1
Vulnerable Package

Cx15879720-9801
Npm-knex-0.21.19
Vulnerable Package

Cx62f5bb1b-fa5e
Npm-moment-2.29.1
Vulnerable Package

Cx62f5bb1b-fa5e
Npm-moment-2.24.0
Vulnerable Package

Cxc7705965-e0f0
<EMAIL_ADDRESS>Vulnerable Package

Cxc7705965-e0f0
<EMAIL_ADDRESS>Vulnerable Package

Docker Socket Mounted In Container
/docker-compose.yml: 67
Docker socket docker.sock should not be mounted on host. If the docker socket is mounted, it can allow its processes to execute docker commands.

SQL_Injection
/src/testimonials/testimonials.controller.ts: 91
Attack Vector

Volume Has Sensitive Host Directory
/docker-compose.yml: 67
Container has sensitive host directory mounted as a volume

CVE-2022-24773
Npm-node-forge-0.10.0
Vulnerable Package

CVE-2022-29824
Npm-libxmljs-0.19.7
Vulnerable Package

CVE-2022-33987
Npm-got-9.6.0
Vulnerable Package

CVE-2022-36083
Npm-jose-2.0.5
Vulnerable Package

Client_HTML5_Store_Sensitive_data_In_Web_Storage
/public/src/api/ApiUrl.ts: 7
Attack Vector

Container Traffic Not Bound To Host Interface
/docker-compose.yml: 50
Incoming container traffic should be bound to a specific host interface

Container Traffic Not Bound To Host Interface
/docker-compose.local.yml: 24
Incoming container traffic should be bound to a specific host interface

Container Traffic Not Bound To Host Interface
/docker-compose.local.yml: 37
Incoming container traffic should be bound to a specific host interface

Container Traffic Not Bound To Host Interface
/docker-compose.local.yml: 50
Incoming container traffic should be bound to a specific host interface

Healthcheck Not Set
/docker-compose.local.yml: 46
Check containers periodically to see if they are running properly.

Healthcheck Not Set
/docker-compose.yml: 27
Check containers periodically to see if they are running properly.

Healthcheck Not Set
/docker-compose.yml: 59
Check containers periodically to see if they are running properly.

Healthcheck Not Set
/docker-compose.local.yml: 29
Check containers periodically to see if they are running properly.

Healthcheck Not Set
/docker-compose.yml: 45
Check containers periodically to see if they are running properly.

Host Namespace is Shared
/docker-compose.yml: 4
The hosts process namespace should not be shared by containers

Host Namespace is Shared
/docker-compose.yml: 95
The hosts process namespace should not be shared by containers

Host Namespace is Shared
/docker-compose.local.yml: 29
The hosts process namespace should not be shared by containers

Host Namespace is Shared
/docker-compose.yml: 70
The hosts process namespace should not be shared by containers

Host Namespace is Shared
/docker-compose.yml: 45
The hosts process namespace should not be shared by containers

Host Namespace is Shared
/docker-compose.local.yml: 4
The hosts process namespace should not be shared by containers

Host Namespace is Shared
/docker-compose.local.yml: 46
The hosts process namespace should not be shared by containers

Host Namespace is Shared
/docker-compose.yml: 59
The hosts process namespace should not be shared by containers

Host Namespace is Shared
/docker-compose.yml: 27
The hosts process namespace should not be shared by containers

Memory Not Limited
/docker-compose.yml: 95
Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...

Memory Not Limited
/docker-compose.local.yml: 29
Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...

Memory Not Limited
/docker-compose.local.yml: 4
Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...

Memory Not Limited
/docker-compose.yml: 35
Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...

Memory Not Limited
/docker-compose.local.yml: 46
Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...

Memory Not Limited
/docker-compose.yml: 45
Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...

Memory Not Limited
/docker-compose.yml: 4
Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...

Memory Not Limited
/docker-compose.yml: 70
Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...

Memory Not Limited
/docker-compose.yml: 59
Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than t...

Missing_HSTS_Header
/src/components/any-files.interceptor.ts: 21
Attack Vector

Networks Not Set
/docker-compose.yml: 59
Setting networks in services ensures you are not using dockers default bridge (docker0), which shares traffic bewteen all containers.

Networks Not Set
/docker-compose.yml: 4
Setting networks in services ensures you are not using dockers default bridge (docker0), which shares traffic bewteen all containers.

Networks Not Set
/docker-compose.local.yml: 29
Setting networks in services ensures you are not using dockers default bridge (docker0), which shares traffic bewteen all containers.

Networks Not Set
/docker-compose.yml: 70
Setting networks in services ensures you are not using dockers default bridge (docker0), which shares traffic bewteen all containers.

Networks Not Set
/docker-compose.yml: 95
Setting networks in services ensures you are not using dockers default bridge (docker0), which shares traffic bewteen all containers.

Networks Not Set
/docker-compose.yml: 27
Setting networks in services ensures you are not using dockers default bridge (docker0), which shares traffic bewteen all containers.

Networks Not Set
/docker-compose.local.yml: 46
Setting networks in services ensures you are not using dockers default bridge (docker0), which shares traffic bewteen all containers.

Networks Not Set
/docker-compose.local.yml: 4
Setting networks in services ensures you are not using dockers default bridge (docker0), which shares traffic bewteen all containers.

Networks Not Set
/docker-compose.yml: 45
Setting networks in services ensures you are not using dockers default bridge (docker0), which shares traffic bewteen all containers.

Privileged Ports Mapped In Container
/docker-compose.local.yml: 50
Privileged ports (1 to 1023) should not be mapped. Also you should drop net_bind_service linux capability from the container unless you absolutely ...

Privileged Ports Mapped In Container
/docker-compose.yml: 50
Privileged ports (1 to 1023) should not be mapped. Also you should drop net_bind_service linux capability from the container unless you absolutely ...

Security Opt Not Set
/docker-compose.local.yml: 29
Attribute 'security_opt' should be defined.

Security Opt Not Set
/docker-compose.yml: 27
Attribute 'security_opt' should be defined.

Security Opt Not Set
/docker-compose.local.yml: 4
Attribute 'security_opt' should be defined.

Security Opt Not Set
/docker-compose.yml: 59
Attribute 'security_opt' should be defined.

Security Opt Not Set
/docker-compose.yml: 45
Attribute 'security_opt' should be defined.

Security Opt Not Set
/docker-compose.yml: 95
Attribute 'security_opt' should be defined.

Security Opt Not Set
/docker-compose.yml: 4
Attribute 'security_opt' should be defined.

Security Opt Not Set
/docker-compose.local.yml: 46
Attribute 'security_opt' should be defined.

Security Opt Not Set
/docker-compose.yml: 70
Attribute 'security_opt' should be defined.

Container Capabilities Unrestricted
/docker-compose.yml: 4
Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...

Container Capabilities Unrestricted
/docker-compose.local.yml: 4
Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...

Container Capabilities Unrestricted
/docker-compose.yml: 27
Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...

Container Capabilities Unrestricted
/docker-compose.yml: 70
Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...

Container Capabilities Unrestricted
/docker-compose.yml: 59
Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...

Container Capabilities Unrestricted
/docker-compose.local.yml: 29
Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...

Container Capabilities Unrestricted
/docker-compose.yml: 95
Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...

Container Capabilities Unrestricted
/docker-compose.local.yml: 46
Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...

Container Capabilities Unrestricted
/docker-compose.yml: 45
Some capabilities are not needed in certain (or any) containers. Make sure that you only add capabilities that your container needs. Drop unnecessa...

Cpus Not Limited
/docker-compose.local.yml: 46
CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests

Cpus Not Limited
/docker-compose.yml: 70
CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests

Cpus Not Limited
/docker-compose.yml: 45
CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests

Cpus Not Limited
/docker-compose.yml: 95
CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests

Cpus Not Limited
/docker-compose.yml: 59
CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests

Cpus Not Limited
/docker-compose.local.yml: 4
CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests

Cpus Not Limited
/docker-compose.local.yml: 29
CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests

Cpus Not Limited
/docker-compose.yml: 4
CPU limits should be set because if the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests

Fixed Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2021-23440
Npm-set-value-2.0.1
Vulnerable Package

Missing User Instruction
/Dockerfile: 1
A user should be specified in the dockerfile, otherwise the image will run as root

Missing User Instruction
/Dockerfile: 18
A user should be specified in the dockerfile, otherwise the image will run as root

Healthcheck Instruction Missing
/Dockerfile: 1
Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working

Healthcheck Instruction Missing
/Dockerfile: 18
Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working

Multiple RUN, ADD, COPY, Instructions Listed
/Dockerfile: 9
Multiple commands (RUN, Copy, And) should be grouped in order to reduce the number of layers.


Overlapping nuscenes / argoverse splits lead to overfitting.

I have a question regarding the dataset. In both nuscenes and argoverse dataset the training validation and test dataset contain overlapping sequences and this could lead to severe overfitting on static elements such as center and boundary lanes. New splits have been proposed for both datasets:
argoverse: https://github.com/yuantianyuan01/streammapnet
nuscenes: https://github.com/tom-roddick/mono-semantic-maps/blob/master/src/data/nuscenes/splits.py
Both new splits try to minimize the spatial overlap between the sets.
How are the openlane splits for both nuscenes and argoverse created? Do you also use custom splits to minimize the cross contamination?
Also, in argoverse, they mention some map changes in the following sequences:
"
However, a few Sensor Dataset logs intentionally feature HD map changes:
75e8adad-50a6-3245-8726-5e612db3d165
54bc6dbc-ebfb-3fba-b5b3-57f88b4b79ca
af170aac-8465-3d7b-82c5-64147e94af7d
6e106cf8-f6dd-38f6-89c8-9be7a71e7275

"
These sequences were not removed when creating the openlane dataset, right?
I believe there is also the same problem with some of the sequences in nuscenes, but I am not entirely sure.

Hi, @Bochicchio3. Thank you for bringing this up.
Regarding the splits for OpenLane-V2, they are the same as the Argoverse 2 and nuScenes raw split. To address the overfitting issue, we have created a geo-isolation validation subset. You can find more details about it in this issue and an early version of TopoNet paper.
Regarding the map change problem, the sequences were not removed. Removing them should lead to an improvement in overall performance, especially in traffic element detection. You can find more information about this in this repo.

Noticed that, during the process of curating the OpenLane-V2 subset-B, we identified certain scenes from the nuScenes dataset that had localization issues and missing labels. We have taken the necessary steps to remove these problematic scenes from the dataset.
The scene_id of nuScenes is:
a6daedc3063b421cb3a05019e545f925
02f1e5e2fc544798aad223f5ae5e8440
55638ae3a8b34572aef756ee7fbce0df
20ec831deb0f44e397497198cbe5a97c


Add simd-json support

Hi,
I added support for simd-json. It is behind a flag so can be toggled for people who are interested in the extra speed when parsing json. Is there interesting in a feature like this? Happy to polish it up based on feedback.

The test failures seem unrelated.

Hey there! Looks cool, is this something that could be upstreamed to serde-json?

Tried, failed, there seems to be no interest in that.

My preference would be for this kind of option to be either in serde-json, or in the app user's code.

There are good reasons to keep it an optional flag and not use it for all JSON interaction. Wasm or ARM, for example, won't work with SIMD since it uses CPU/hardware level intrinsics (I think wasm does not support those) or rust doesn't include the needed SIMD instructions (arm).


Overlapping outputs error path printout is not consistent with other error messages

The "Overlapping outputs" error message does not include the path to the root project. This can be confusing because one does not know whether the overlapping output came from the root project or a subproject. In this case, it came from a subproject, but the error message made it seem like it was happening in the root project.
Example:
:groovy-jmx:asciidoctor
The task was not up-to-date because of the following reasons:
- Output property 'backendOutputDirectories$1' file *subprojects/groovy-jmx/build/asciidoc/html5/assets/css* has been removed.
- Output property 'backendOutputDirectories$1' file subprojects/groovy-jmx/build/asciidoc/html5/assets/css/style.css has been removed.
- Output property 'backendOutputDirectories$1' file subprojects/groovy-jmx/build/asciidoc/html5/jmx.html has been removed.
Overlapping outputs: Gradle does not know how file '*build/asciidoc/html5/assets/img*' was created (output property 'backendOutputDirectories$1'). Task output caching requires exclusive access to output paths to guarantee correctness (i.e. multiple tasks are not allowed to produce output in the same location).

Expected Behavior
I would expect the overlapping output error message to include a printout with the path from the root project.
Steps to Reproduce
Git clone: https://github.com/apache/groovy
Generate a build scan after running ./gradlew dist

@runningcode This is not the method you see on the console. On the console, the output paths are absolute paths. So the inconsistency is that we report absolute paths for the removed outputs and a relative path to the project for the overlapping outputs.

Let's go back to printing the full absolute path.


Modify the event time

Change GMT
Remove 2020 event

@duynguyen please PR review and merge

@duynguyen please PR review and merge


Use offset datetime and enable @Timestamped on methods

Altogether this looks good, but I'm not sure about writing the timestamp back into the bean argument as a generic solution.
If you're using Postgres, the database already returns the entire row from the statement. Just return the bean type and use @GetGeneratedKeys:
@SqlUpdate("update contacts set ..., last_modified_on=:modified where ...")
@Timestamped
@GetGeneratedKeys
Contact updateFoo(@BindBean Contact contact);

In that sense, binding both :created and :modified might be redundant. You could just bind a single parameter e.g. :now, with the option to override the bound variable name on the annotation:
@Timestamped
@SqlUpdated("insert into contacts (..., created_on, last_modified_on) values (..., :now, :now)")

vs
@Timestamped("lastModifiedOn")
@SqlUpdated("update contacts set ...,last_modified_on=:lastModifiedOn where ...")

Looks great 👍


Set writeConcern on DBServers

Scope & Purpose
Should fix problems with writeConcern setting being ignored.

[X] Bug-Fix for devel
[ ] Bug-Fix for 3.7 TODO
[X] Bug-Fix for 3.6: https://github.com/arangodb/arangodb/pull/12367
[x] The behavior in this PR can be (and was) manually tested (support / qa / customers can test it)
[ ] The behavior change can be verified via automatic tests

Related Information

[X] There is a JIRA Ticket number (In case a customer was affected / involved): ES-655

Testing & Verification
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This PR adds tests that were used to verify all changes:

[ ] Added Regression Tests (Only for bug-fixes)
[ ] Added new C++ Unit Tests (Either GoogleTest or Catch-Test)

Did you add tests for a new RestHandler subclass ?
Did you add new mocks of underlying code layers to be able to verify your functionality ?
...

[ ] Added new integration tests (i.e. in shell_server / shell_server_aql)
[ ] Added new resilience tests (only if the feature is impacted by failovers)

Additionally:

[ ] There are tests in an external testing repository (i.e. node-resilience tests, chaos tests)
[ ] I ensured this code runs with ASan / TSan or other static verification tools

Documentation

[ ] Added a Changelog Entry (referencing the corresponding public or internal issue number)

http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/11364/

http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/11391/

http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/11402/

http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/11421/


Loot capacitors don't show their type on server

Issue Description:
When looking at a loot capacitor description to see what it does on server, it doen't load well.
What happens:

What you expected to happen:
To see all the description.
Steps to reproduce:

Make a server with EnderIO
Log in with a client with EnderIO
Search for Loot Chest (Or use "/give @p minecraft:chest 1 0 {BlockEntityTag:{LootTable:"minecraft:chests/simple_dungeon"}}" )
It doen't show well.
...

Affected Versions (Do not use "latest"):

EnderIO: 5.0.33
EnderCore: 0.5.39
Minecraft: 1.12.2
Forge: 1.12.2-<IP_ADDRESS>60
SpongeForge? No
Optifine? No
Single Player and/or Server? Server

Your most recent log file where the issue was present:
Server and client log: https://gist.github.com/AfterRebelion/aa357f8a0e1c04842d94a4fec99c9c68

This was fixed a while ago i'm almost certain

No, it wasn't.
EnderIO 5.1.51. I know there is a 5.1.52, but the server didn't update yet. And I'm pretty sure looking at the changelog that it didn't fix this.

Ah right this was that odd thing that sometimes happens with it not reading language files correctly on some servers... my mistake


Sync the main version

:tada: This PR is included in version 1.15.1-alpha.1 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.18.2-alpha.1 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.11.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.18.2 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.15.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Fix schema job not garbage collected

What was changed
This PR fixes #554 by allowing users to specify a ttlSecondsAfterFinished.
Why?
If the job is not garbage collected, helm upgrades are not possible.
Checklist

Closes #554

How was this tested:
Run helm install, check if job is deleted after completion

Any docs updates needed?
Don't know, is there documentation for the helm chart?

Fixed by #564.


profileBotDefense references are missing

Environment

Application Services Version: 1.11.0

Summary
When bot-defense profiles are converted, the declaration contains the profileBotDefense property in the appropriate Service classes, but as an object with the "use" property instead of "bigip".  "use" implies that the definition is within the declaration.  Since AS3 does not support bot-defense definitions, it cannot be in the declaration.  The following is required:

replace "use" with "bigip".
provide documentation explaining that users who wish to preserve their bot-defense profiles must maintain them outside of AS3.  ACC will put a reference in the declaration that assumes the existence of the named bot-defense profile.

Steps To Reproduce
Steps to reproduce the behavior:

Convert following config:

security bot-defense asm-profile /Common/xyz {
    app-service none
}
ltm virtual /Common/abc {
    destination /Common/<IP_ADDRESS>:80
    ip-protocol tcp
    profiles {
        /Common/xyz { }
        /Common/serverssl {
            context serverside
        }
        /Common/tcp { }
        /Common/websecurity { }
    }
}

Observe the following result within the declaration:

                "profileBotDefense": {
                    "use": "/Common/Shared/xyz"
                }

This is invalid because AS3 does not support "use" with "profileBotDefense".

Created Jira CHARON-301 for PM tracking. Currently no milestone.

Hello!
I tried to solve that and found that security 'bot-defense asm-profile' is not fully supported in as3 and big-ip.
I can create 'bot-defense profile', but not 'bot-defense asm-profile'. That profiles has absolutely different fields.
I could load last one only with 'tmsh load sys config from-terminal merge'.
And also I tried create preexisted objects and post AS3 with right reference (as3 3.28), but it wasn't worked.
[root@ltm-50_charon:Active:Standalone] config # tmsh list security bot-defense asm-profile /Common/Shared/xyz security bot-defense asm-profile Shared/xyz {     app-service none     clientside-in-use disabled     flags 0     inject-javascript disabled     persistent-data-validity-period 0     send-brute-force-challenge disabled     send-javascript-challenge disabled     send-javascript-efoxy disabled     send-javascript-fingerprint disabled } [root@ltm-50_charon:Active:Standalone] config #
{     "class": "ADC",     "schemaVersion": "3.28.0",     "id": "urn:uuid:34ea2594-d2fd-4c78-a8c7-a5c68391b791",     "label": "Converted Declaration",     "remark": "Auto-generated by AS3 Config Converter",     "Common": {         "class": "Tenant",         "Shared": {             "class": "Application",             "template": "shared",             "abc": {                 "layer4": "tcp",                 "class": "Service_TCP",                 "profileBotDefense": {                     "bigip": "/Common/Shared/xyz"                 },                 "clientTLS": {                     "bigip": "/Common/serverssl"                 },                 "profileTCP": {                     "bigip": "/Common/tcp"                 },                 "virtualAddresses": [                     "<IP_ADDRESS>"                 ],                 "virtualPort": 80,                 "persistenceMethods": [],                 "snat": "none"             }         }     } }
Error:
{     "code": 422,     "declarationFullId": "",     "message": "Unable to find /Common/Shared/xyz for /Common/Shared/abc/profileBotDefense" }
--
I've described better inside jira task

There is no such instance as "security bot-defense asm-profile" in the AS3 code, which means it is not supported, closing this bug as blocked/invalid


Fix issues identified by scgallery and daily runs

https://github.com/siliconcompiler/siliconcompiler/actions/runs/7845856820

https://github.com/siliconcompiler/siliconcompiler/actions/runs/7846587663


Add some flexibility for image display sizes

Short term
Add at the end of the image formats:
register_image_format(Format('full-width-original-size', 'Full-Width, Original Size (Can use LARGE amounts of user data package, not recommended)', 'richtext-image fullwidth'))
Mid term
Allow Admins (not content creators) to change 360px width standard set in #1040 via the Settings area.
Long term 1
Allow Admins (not content creators) to adjust the settings in Admin panel by

devices, as identified in #1030
image formats in <picture>, as defined in #1060

@geoo89 can we sneak the Short Term item into the build which will be rolling out with the wagtail-transfer MVP? I'm imagining this as a 30-second fix but maybe it's more complicated.

Thanks for doing this so quickly. Just 30 mins ago a CO asked me for this feature, so it's going to bring useful flexibility.

@sheralim012 This issue links to a few of the different image-related issues that would be beneficial.


Support CUBE and ROLLUP

These are just syntactic sugar for GROUPING SETS. See: https://github.com/risingwavelabs/risingwave/issues/9284.

Already done 😆 https://github.com/risingwavelabs/risingwave/pull/11119


Submerging with a diesel submarine "hides" the submarine, until I hit the submerge key combination again

When I submerge with a diesel submarine, the submarine is hidden. I cannot find it anywhere, not even in my inventory. When I hit the submerge key combination again (I set it to Shift-Enter, because Control-Enter (the default) minimises the game window on Windows), then it re-appears and I'm inside it again.
When I first submerged this way, I didn't know how to recover the submarine and almost drowned ;)
Here's a video showing what's going on:
https://imgur.com/a/E5Xflp3

That's working as intended. Your set keybind is conflicting with the "smoke bomb" keybind of spidertron enchancements.

https://mods.factorio.com/mod/SpidertronEnhancements


SmartForm cannot update nested input fields

Addressed by PR #2574

Some Form changes from a week ago, just before version 1.15.0, are causing a significant error — cannot create or update nested inputs. Nothing happens when I type in these inputs.
I’ve gone backwards in the commit history, and this commit introduces the problem:
https://github.com/VulcanJS/Vulcan/commit/594bf423bc86aa83061b53866f6fcefa6415be03
I hope I have this right:  document — what gets used with this commit — does not contain the updated values. But what was used previously, currentDocument (i.e. the SmartForm’s this.state.currentDocument), does have the necessary values.
In Vulcan-Starter, I see the same thing in example-forms: at the problematic commit, updating of address inputs does not work, but at the commit before, it does. (I removed blackboxNestedArray to get this form to submit.)
In both my app and example-forms, I can update addresses only up to this commit:
https://github.com/VulcanJS/Vulcan/commit/4a216826b1a1876662e0d3c89e20250c55bf5707

Does the merged PR fixes it for you now in devel?

Yes, it's working for me now with the devel branch where it stands now (commit 16e06e5888088f660d7726db6d042e4bafcb84c1). I can edit all the fields.

Thanks a lot then for finding the issue and solving it!


Release - Add more endpoints

What's new

Endpoints

Builds
Actions
Artifacts

Restructuring

Converted circleci from a factory to a class

Add tests for 100% code coverage

BREAKING

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Accessing LaunchActivatedEventArgs in App.xaml.cs?

I need to access the LaunchActivatedEventArgs class during app launch so that I can access properties like TileId and Arguments for deep linking use cases. How can I achieve this in Template10 as it seems the OnLaunched override is sealed within Template10.Common.BootStrapper?

OnStartedAsync replaces OnLaunched and includes the args you are wanting.

That only gives me IActivatedEventArgs. So I am guessing I would have to cast it to the LaunchActivatedEventArgs class to access the properties of LaunchActivatedEventArgs? The same problem occurs when wanting to access SearchActivatedEventArgs via OnSearchActivated.


name: Opsters Empire Clans Family need update

name: Opsters Empire Clans Family
key: OpstersEmpire
color: blue
emblem: Star_Shine_02
info:
logo: /static/img/brands/logo/opsters-empire-2.png
description: >
Top 4 United Kingdom CW2 War Clan! Recruiting Now!
Apply To Join Our Clash Royale Clans Here: https://tinyurl.com/ApplyOpstersCR
### **Opsters Empire is a large family of clans. We have clans in many games as listed below:**

- Clash Royale: Opsters, Opsters5, Opsters4, Opsters Heroes, Opsters Dormant & Opsters Timeout

- Brawl Stars: Opsters, Opsters2, Opsters3, Opsters Climb & Opsters Dormant

- Clash of Clans: Opsters, OpstersArmy and Opsters Dormant

- Boom Beach: OpstersArmy

- Call of Duty Mobile: Opsters Empire

- WWE Supercard: Opsters Empire

- Hay Day: Opsters Pasture

The Opsters Empire is a family of clans that expands out through a multitude of games. We primarily concentrate on Supercell games, these consisting currently of- Clash Royale, Brawl Stars, Clash of Clans, Boom Beach and Hayday. We are also currently looking to grow in other games such as Call of Duty Mobile and WWE Supercard.

The first ever Opsters clan came about in March 2018. This clan was created in Clash Royale and was at the time led by Black Op who is the creator of the Opsters Empire. Over time we have grown to unimaginable lengths far past what we ever expected when we first started. As we started to grow in Clash Royale with one of the people who started the Opsters Empire alongside Black Op- Spousalchip being asked to create a second clan (Opsters2) in Clash Royale. Sadly as of late we lost Opsters2 as it has been stolen and is now a rogue clan :(. We started to look at other games that we could create clans in and as a result started to create clans in games like Brawl Stars, Call of Duty Mobile, WWE Supercard.

**Opsters in Clash Royale has massively exceeded all original expectations with the clan not only reaching over 15,000 trophies in Clan Wars 1 and reaching #17 UK on Ladder. But also, now being at it’s best ever reaching top 5 United Kingdom in Clan Wars 2 and getting into the top 300 Global Leader boards. We have also built other Top UK clans during our time and have recently started taking other clans into our family as Affiliations. The only way is up for the Opsters Empire, and the clans will only keep on improving and learning as we reach new heights in the gaming industry.**

The feeder clan to Opsters which is Opsters5 has also done very well for a feeder clan with it reaching top 200 UK in the past on Ladder and War. A lot of players from the main clan originally were members of our feeder clans as they worked their way up to the main clan proving themselves worthy and becoming loyal members of the Opsters Empire. We also have Opsters4 and Opsters Heroes which are used as feeders when we need them. We also have Opsters Dormant and Opsters Timeout which are clans for members who are taking breaks and members that are leaving the game to put their accounts into to hopefully come back to our main clans in future if they ever return to the game.

The Opsters Empire is a community of clans that anyone can join, throughout our clans we have lots of players from all around the globe. These ranging from young to old and casual to competitive.
Our clans outside of Clash Royale have also been very successful with Opsters main club in Brawl Stars just hitting top 10 United Kingdom for the first time ever! We also have a highly successful Opsters2 which recently reached top 100 UK. Most recently we opened up a new club in Brawl Stars named Opsters Climb. This is our trophy focused club that offers a space for those who don't like club leagues but still want to push trophies as a community. Our clans are always looking to thrive in any game we have them in and we always want to give everything our very best.
We have a highly active Community Discord server which we use as our main form of contact for the clans. We have over 450+ members now and accept people from all games and clans. Whether they are from Opsters clans or not does not matter as we accept everyone in our server!
If you want to check out our community first and talk to leaders and members first before deciding on joining, we recommend that you join our community Discord Server as that is the best representation of our clans and has all the tools you will need.

**Join The #OpstersEmpire and Become Part of Greatness!**

social:
- discord: https://discord.gg/zsKDmq8hTa
- instagram: https://www.instagram.com/opstersempire
- facebook: https://www.facebook.com/OpstersEmpireUK
- twitter: https://twitter.com/OpstersE
- reddit: https://www.reddit.com/r/OpstersEmpire/
- fandom: https://opstersempire.fandom.com/wiki/Opsters_Empire-_Clans_Family_Wiki
- email: mailto<EMAIL_ADDRESS>- application: https://forms.gle/8bLPwZ5gey3hahQc9

clans:

name: Opsters™
tag: 9VRJ028J
name: Opsters5™
tag: L8Y0Y0V0
name: Opsters4
tag: PQRUQ88U
-name: Opsters Heroes
tag: QJ9U2P09
name: Opsters Dormant
tag: YGJJJ2LU
name: Opsters Timeout
tag: L09VLYGG

Affiliated Clans:

name: Newrise!
tag: 2LPCPQVG
name: WINGS OF FIRE
tag: LVVQYC8L

Originally posted by @OpstersEmpire in https://github.com/RoyaleAPI/family-config/issues/521#issuecomment-1024127666

Thank you, we recently lost one of our feeder clans and have a couple more clans to add. Would you mind updating this when you have a chance please. I have updated the post.

name: Opsters Empire Clans Family
key: OpstersEmpire
color: blue
emblem: Star_Shine_02
info:
logo: /static/img/brands/logo/opsters-empire-2.png
description: >
Top 3 United Kingdom CW2 War Clan! Recruiting Now!
Apply To Join Our Clash Royale Clans Here: https://tinyurl.com/ApplyOpstersCR
### **Opsters Empire is a large family of clans. We have clans in many games as listed below:**

- Clash Royale: Opsters, Opsters2, Opsters5, Opsters4, Opsters Heroes, Opsters Climb, Opsters Dormant & Opsters Timeout

- Brawl Stars: Opsters, Opsters2, Opsters Climb & Opsters Dormant

- Clash of Clans: Opsters, OpstersArmy and Opsters Dormant

- Boom Beach: OpstersArmy

- Call of Duty Mobile: Opsters Empire

- WWE Supercard: Opsters Empire

- Hay Day: Opsters Pasture

The Opsters Empire is a family of clans that expands out through a multitude of games. We primarily concentrate on Supercell games, these consisting currently of- Clash Royale, Brawl Stars, Clash of Clans, Boom Beach and Hayday. We are also currently looking to grow in other games such as Call of Duty Mobile and WWE Supercard.

The first ever Opsters clan came about in March 2018. This clan was created in Clash Royale and was at the time led by Black Op who is the creator of the Opsters Empire. Over time we have grown to unimaginable lengths far past what we ever expected when we first started. As we started to grow in Clash Royale with one of the people who started the Opsters Empire alongside Black Op- Spousalchip being asked to create a second clan (Opsters2) in Clash Royale. Opsters2 is also a Top UK War clan and feeder clan to Opsters which has been rebuilt and is now thriving in war. We started to look at other games that we could create clans in and as a result started to create clans in games like Brawl Stars, Call of Duty Mobile, WWE Supercard.

**Opsters in Clash Royale has massively exceeded all original expectations with the clan not only reaching over 15,000 trophies in Clan Wars 1 and reaching #10 UK on Ladder. But also, now being at it’s best ever reaching top 3 United Kingdom in Clan Wars 2 and getting into the top 300 Global Leader boards. We have also built other Top UK clans during our time and have recently started taking other clans into our family as Affiliations. The only way is up for the Opsters Empire, and the clans will only keep on improving and learning as we reach new heights in the gaming industry.**

The feeder clan to Opsters which is Opsters2 has also done very well for a feeder clan with it reaching Top 5 UK in the past in War. A lot of players from the main clan originally were members of our feeder clans as they worked their way up to the main clan proving themselves worthy and becoming loyal members of the Opsters Empire. We also have Opsters4, Opsters5 and Opsters Heroes which are used as feeders when we need them. We also have Opsters Dormant and Opsters Timeout which are clans for members who are taking breaks and members that are leaving the game to put their accounts into to hopefully come back to our main clans in future if they ever return to the game. Our latest casual clan Opsters Climb is also a very small clan concentrated towards ladder. It has only lately been opened is more casual for the time being.

The Opsters Empire is a community of clans that anyone can join, throughout our clans we have lots of players from all around the globe. These ranging from young to old and casual to competitive.
Our clans outside of Clash Royale have also been very successful with Opsters main club in Brawl Stars just hitting top 10 United Kingdom for the first time ever! We also have a highly successful Opsters2 which recently reached top 100 UK. Most recently we opened up a new club in Brawl Stars named Opsters Climb. This is our trophy focused club that offers a space for those who don't like club leagues but still want to push trophies as a community. Our clans are always looking to thrive in any game we have them in and we always want to give everything our very best.
We have a highly active Community Discord server which we use as our main form of contact for the clans. We have over 550+ members now and accept people from all games and clans. Whether they are from Opsters clans or not does not matter as we accept everyone in our server!
If you want to check out our community first and talk to leaders and members first before deciding on joining, we recommend that you join our community Discord Server as that is the best representation of our clans and has all the tools you will need.

**Join The #OpstersEmpire and Become Part of Greatness!**

social:
- discord: https://discord.gg/zsKDmq8hTa
- instagram: https://www.instagram.com/opstersempire
- facebook: https://www.facebook.com/OpstersEmpireUK
- twitter: https://twitter.com/OpstersE
- reddit: https://www.reddit.com/r/OpstersEmpire/
- fandom: https://opstersempire.fandom.com/wiki/Opsters_Empire-_Clans_Family_Wiki
- youtube: https://www.youtube.com/c/OpsterGamingYoutube
- email: mailto<EMAIL_ADDRESS>- application: https://forms.gle/8bLPwZ5gey3hahQc9
clans:

name: Opsters™
tag: 9VRJ028J
name: Opsters2
tag: #PLUCUJ9J
name: Opsters5™
tag: L8Y0Y0V0
name: Opsters4
tag: PQRUQ88U
-name: Opsters Heroes
tag: QJ9U2P09
name: Opsters Climb
tag: #Q0P9UVYJ
name: Opsters Dormant
tag: YGJJJ2LU
name: Opsters Timeout
tag: L09VLYGG


Introduce Type::name() and Type::parameters()

We are working towards clean separation of logical and physical types
(see #4406).
The new Type::name() method returns logical type name. Logical type name must be
unique and can be different from the physical type name(Type::kindName()).
The new Type::parameters() method returns a possibly empty list of type
parameters. Two kinds of type parameters are supported:

kType - a Type; for example, element type in the array type, key and value
types in the map type, field types in the row type.
kLongLiteral - an integer; for example, precision in a decimal type.

The new getType(name, parameters) API creates a type given logical name and a
list of parameters.
These new APIs allow to implement SignatureBinder in a cleaner way with fewer
special cases.

@pedroerp @majetideepak Pedro, Deepak, thank you for reviews. I addressed your comments and updated the PR. Would you take another look?


ADR-1456 custom login page

Attempting to create a custom login page so that we can bypass the auth wizard easily, making the service more accessible to stakeholders and non technical people

Low priority. When picked up again will be better to start from the start :')


simpad nano(normal version) keypad does't work after a while

after 2 days of using it, it just suddenly stop shining and stopped registering input, windows still recognize that its still plugged in, when i go in boot mode ( no idea what it does) it shines red, when i press a key while plugging it in, it shines but still doesn't register input EDIT: now it shines permanently but still doesn't register input EDIT2: it shined permanently was because i configure always on in the settings

Check this page, maybe it could helps you
https://sim.bysb.net/simblog/en/2020/07/14/A-known-issue/

Fixed at facebook


joining new lanes to existing lanes require the existing lane to split into two lanes

hello Team,
I am trying to add new lanes to existing lanelet map, with which we noticed that when trying to add a new lane that is near to an existing lane would require us to split the existing lane into two for connecting the new lane to generate a route via the new lanes

the above picture shows that we have an intersection at the point where we wanted to join a new lane to an existing lanelet2 map. with the intersection we can generate a route through lanelet1 & lanelet3
Whereas when we join the new lane to an existing lane in this fashion

the route generation logic says no route through lanelet1 & lanelet3
so this means we should be splitting the existing lane into two lane when we wanted to join a new lane into a middle node of an existing lane ?? is that correct or we missing something here ??

This is correct. The semantics of routing in lanelets mean that if it is possible to drive from lanelet1 to lanelet3, it must be possible from everywhere. How could you get a corridor for driving from a route if this assumption does not hold?
Since JOSM was not made for lanelet2, mapping some things can be tedious. But if have this case regularly, why don't you write a small python program based on lanelet2 that splits these lanelets for you?

Thanks for confirming our understanding. Yeah we could plan for identifying the nearest point in the existing lanelet and split the lanelet into two for creating the intersection.


Update ClusterInfo with better naming

ClusterInfo unfortunately is not a very good name for this type. It really should be an AttributePath (to match the terminology in the spec).
Originally posted by @mrjerryjohns in https://github.com/project-chip/connectedhomeip/pull/9510#discussion_r704793885

Naming can wait until post v1.

ClusterInfo has been refactored out, close this one, thanks


Make this.autorun trigger angular digest

When operations occur in a autorun, the result isn't digest by angular.
Currently I use it that way but maybe this.autorun should always call $scope.$apply()
this.autorun(() => {
  ...
  $scope.$$phase || $scope.$apply();
}

https://github.com/Urigo/angular-meteor/pull/1058 should fix that, can you test with current master?

@Urigo how to test it with current master? Looks like i have the same issue.

I have 1.3.4 and am experiencing the same issue.

Fixed in 1.3.5


don't FAIL on check/name/rfn with full OFL text

If the OFL text is included in a name table entry, the check should not FAIL, as the full license text contains the term 'Reserved Font Name', which in this case is OK (even if really not ideal regarding file size).
com.google.fonts/check/name/rfn
(issue #3542)

thanks! yes it already fails the other check for long name entries, but this fail wasn't right :)


Set custom timeout?

First of all thank you very much for this library, it's immensely helpful and I'm glad to be a Jina customer.
When we use this with llms, we'd like to enforce a much stricter timeout if possible.
Are there any flags or header we can pass to enforce a shorter timeout than 30 seconds?

A bit of an old issue, but i'd say they've implemented this now, called X-Timeout


Add tests for Molecule plot

Is your feature request related to a problem?
We appear to be able to do a ton of cool stuff with molecule plot and CreateBonds operator.  See here, https://www.visitusers.org/index.php?title=Molecular_data_features. However, none of it is tested.
We should use the above tutorial to a) find datasets involved and b) reproduce the images and generate a test for these features.
Is your feature request specific to a data set?
In all likelihood, yes. And, we probably do not have easy access to the datasets used in the above referenced tutorial.
Describe the solution you'd like.
All images you see in the above ref'd tutorial get tested as part of our test suite.
Additional context
A recent user request came in to plot bonds from POSCAR data.

There is a ProteinDataBank tarball in the repo that is good for testing the Molecule plot.


Fix flaky upsert integration tests

The core reason for the flakiness is that snapshot is not guaranteed for the just committed segment.
Made the following enhancements:

Ensure snapshot is taken by pause/resume consumption
Fix resource leaks for kafka producer
Make UpsertTableIntegrationTest properly partitioned across 2 servers
Fix the flakiness of UpsertTableSegmentPreloadIntegrationTest snapshot check

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (59551e4) to head (e7e8654).
Report is 1325 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (e7e8654). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (e7e8654)

integration
7
1

integration2
3
1

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
0

skip-bytebuffers-false
7
1

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #14447       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436        3     -2433
  Lines        133233        6   -133227
  Branches      20636        0    -20636
=============================================
- Hits          82274        0    -82274
+ Misses        44911        6    -44905
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
?

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <ø> (-61.75%)
:arrow_down:

skip-bytebuffers-true
?

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Child resource class initialized before parent resource class

Godot version
v4.0.beta2.official [f8745f2f7]
System information
Linux (Pop OS), NVIDIA GeForce RTX 2060, Video Drive v 470.141.03
Issue description
If you have a base class that extends Resource with some exports, and a Child class that extends that base class, the order of initialization on loading the resource seems backwards.
If the child class attempts to reference any values in the parent class during it's initialization, it will find that the parent class hasn't been set up yet.
The class init appears to be called with all default parameters (if the export values were passed here, I could pass it along to the parent constructor).  Then a second step sets the exported values from the resource file.  The second step appears to be called on the child class values before the parent class values.
I would expect that the parent class would have it's exported values set before the child class.
Steps to reproduce

Set up a Base class that extends Resource, that has at least one export
Set up a child class that extends the Base class, with it's own export
Have the child class try to reference one of the exported values on the Base class when setting the export value
Load a saved version of that child class
The base class value hasn't been set when you get to the point where the child class value is being set.

In the minimal reproduction product, I have an assert set up that will fail due to the parent class not being set up yet, so you should be able to just run it.
Minimal reproduction project
ResourceInheritBugTest.zip

Most likely a regression from #63712 which was introduced alpha13. In alpha12 the behavior is correct, alpha13 insta crashes for me, and in alpha14 this issue is present.

If it helps, I can work around the issue by manually editing the resource file and putting the resource parameter values in the expected order.
They do revert again when I save, but I am able to get the code to run.

I was just gonna do some digging on this and I did not find an official release for win64 where the MRP behaved "correctly" (I didn't test EVERYTHING back to alpha 1, but I did test it, and a few further back in order from the alpha 12 that @kleonc said worked). I might have done something incorrectly, but I think it may not be a regression?

@vortexofdoom I've re-tested and indeed the behavior seems to be the same in both 4.0.alpha12 and 4.0.alpha14 (as well as in v4.0.beta17.official [c40020513]). No idea how exactly I've tested it before but I'm assuming I've mistaken something and that's me who made something incorrectly in here. Sorry and thanks for the correction!

The problem does not lay in the initialization order. The _init was called in expected order. The problem seems to be the value stored in .tres and .tscn files are in unexpected order. Other nodes also share the same behaviour. I'm not sure if this behaviour is a bug, since both .tres and .tscn files do not preserve inheritance structures, and you cannot tell if the property comes from base or derived class.


Fixed CKEditorScriptHandler::install error #310

:+1: Thank you!

tag it plz 6.0.1

@ruscon Done!