Installation failed, unclear why (FAILED: python/gen/matter_build_venv/compiled_requirements.txt) (CON-1215)

Describe the bug
I'm running through the installation instructions for Matter support, and ran into an error I don't understand. You can see the lengthy transcript here. Excerpt:
[511/1099] python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../.. --default-toolchain=//build/toolchain/host:mac_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --capture-output --module piptools --python-virtualenv-config python/gen/matter_build_venv/venv_metadata.json --python-dep-list-files python/gen/matter_build_venv._compile_requirements_metadata_path_list.txt -- compile --resolver=backtracking --allow-unsafe --output-file python/gen/matter_build_venv/compiled_requirements.txt python/gen/matter_build_venv/generated_requirements.txt ../../scripts/setup/requirements.build.txt
FAILED: python/gen/matter_build_venv/compiled_requirements.txt
python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../.. --default-toolchain=//build/toolchain/host:mac_arm64_gcc --current-toolchain=//third_party/pigweed/repo/pw_build/python_toolchain:python --capture-output --module piptools --python-virtualenv-config python/gen/matter_build_venv/venv_metadata.json --python-dep-list-files python/gen/matter_build_venv._compile_requirements_metadata_path_list.txt -- compile --resolver=backtracking --allow-unsafe --output-file python/gen/matter_build_venv/compiled_requirements.txt python/gen/matter_build_venv/generated_requirements.txt ../../scripts/setup/requirements.build.txt
    error: subprocess-exited-with-error

    × Getting requirements to build wheel did not run successfully.

Environment

ESP-Matter Commit Id: d83caf7fefea
ESP-IDF Commit Id: v5.2.2
SoC (eg: ESP32 or ESP32-C3):
Device Logs (Please attach the log file):
Host Machine OS: macOS 14.5, Xcode 16beta1
Commissioner app and versions if present:
Commissioner's logs if present:

Any additional details
...

I have the same problem. After downgrading Python version from 3.12 to 3.9 it works.

I also had to downgrade python 3.12 to 3.9.2 to get past issues installing esp-matter on an M1 Mac.

Also would like to add incase someone sees this and still is getting the issue even though you have 3.9. May need to install Rosetta 2 if you don't already have it. Installing Rosetta fixed it for me.

@JetForMe can you please provide the complete failure logs and what python version are you using?

Oh I'm sorry, I didn't realize I had the wrong link in there. I've edited the original comment, but you can find it here: https://gist.github.com/JetForMe/f410ac9057d2a6c0990f2f53c04c6915
% python --version
Python 3.12.3

Espressif, please fix this. Having to downgrade python to 3.9 is not a solution.

Another workaround that worked for me is:
echo "cython<3" > /tmp/constraint.txt
export PIP_CONSTRAINT=/tmp/constraint.txt
cd esp-matter
./install.sh

Note:

This seems to get you down the road to another module using imp instead of importlib. I think egg or maybe python has made me hangry.
Credit for find is really in pyyaml issue commant
Laters,
SLDR
(Stephen L. De Rudder)

@JetForMe @retsyx main branch was forked into release/v1.3 and we have updated the submodule for connectedhomeip to ae52f4e597cd79e956142009b82eb700a0c916f1, it has the fix for working with Python 3.12.
Can you folks please give it a try on release/v1.3 branch.

Yes, it seems to work. I followed the instructions here, except I did the following:
% git clone  https://github.com/espressif/esp-matter.git
% git switch release/v1.3
% git submodule update --init --depth 1
% cd ./connectedhomeip/connectedhomeip
% ./scripts/checkout_submodules.py --platform esp32 darwin --shallow
% cd ../..
% ./install.sh

Running Matter Setup

  WELCOME TO...

         █
         █
     ▄   █   ▄                                █     █
     ▀▀█████▀▀      ▄▀▀▀▄ ▄▀▀▀▄    ▄▀▀▀▀▄█  ▀▀█▀▀▀▀▀█▀▀   ▄▀▀▀▀▄    ▄▀▀
   ▀█▄       ▄█▀   █     █     █  █      █    █     █    █▄▄▄▄▄▄█  █
     ▀█▄   ▄█▀     █     █     █  █      █    █     █    █         █
  ▄██▀▀█   █▀▀██▄  █     █     █   ▀▄▄▄▄▀█    ▀▄▄   ▀▄▄   ▀▄▄▄▄▀   █
 ▀▀    █   █    ▀▀

  BOOTSTRAP! Bootstrap may take a few minutes; please be patient.

Environment looks good, you are ready to go!

To reactivate this environment in the future, run this in your
terminal:

  source ./activate.sh

To deactivate this environment, run this:

  deactivate

Installing pip requirements for all...

[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: pip install --upgrade pip

Building host tools

Done. Made 7794 targets from 368 files in 332ms
ninja: Entering directory `/Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/connectedhomeip/connectedhomeip/out/host'
[885/885] ld ./chip-tool
ld: warning: ignoring duplicate libraries: 'liblogging-stdio.a'

Host tools built at: /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/connectedhomeip/connectedhomeip/out/host

Exit Matter environment

Installing python dependencies for Matter

Collecting lark==1.1.2 (from -r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 2))
  Downloading lark-1.1.2-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting stringcase==1.2.0 (from -r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 3))
  Using cached stringcase-1.2.0-py3-none-any.whl
Collecting jinja2==3.0.1 (from -r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 5))
  Downloading Jinja2-3.0.1-py3-none-any.whl.metadata (3.5 kB)
Requirement already satisfied: urllib3<2 in /Users/rmann/.espressif/python_env/idf5.2_py3.12_env/lib/python3.12/site-packages (from -r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 8)) (1.26.19)
Collecting esp-matter-mfg-tool (from -r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading esp_matter_mfg_tool-1.0.2-py3-none-any.whl.metadata (1.9 kB)
Collecting MarkupSafe>=2.0 (from jinja2==3.0.1->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 5))
  Downloading MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl.metadata (3.0 kB)
Requirement already satisfied: bitarray>=2.6.0 in /Users/rmann/.espressif/python_env/idf5.2_py3.12_env/lib/python3.12/site-packages (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11)) (2.9.2)
Collecting cryptography==36.0.0 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading cryptography-36.0.0-cp36-abi3-macosx_11_0_arm64.whl.metadata (5.4 kB)
Collecting cffi==1.15.0 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading cffi-1.15.0.tar.gz (484 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 484.1/484.1 kB 7.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting future==0.18.2 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading future-0.18.2.tar.gz (829 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 27.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pycparser==2.21 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading pycparser-2.21-py2.py3-none-any.whl.metadata (1.1 kB)
Collecting pypng==0.0.21 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading pypng-0.0.21-py3-none-any.whl.metadata (12 kB)
Collecting PyQRCode==1.2.1 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading PyQRCode-1.2.1.zip (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.9/41.9 kB 4.6 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting python-stdnum==1.18 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading python_stdnum-1.18-py2.py3-none-any.whl.metadata (17 kB)
Collecting esp-secure-cert-tool==1.0.1 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading esp-secure-cert-tool-1.0.1.tar.gz (19 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting ecdsa==0.18.0 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading ecdsa-0.18.0-py2.py3-none-any.whl.metadata (29 kB)
Requirement already satisfied: six>=1.9.0 in /Users/rmann/.espressif/python_env/idf5.2_py3.12_env/lib/python3.12/site-packages (from ecdsa==0.18.0->esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11)) (1.16.0)
Downloading lark-1.1.2-py2.py3-none-any.whl (104 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.7/104.7 kB 10.5 MB/s eta 0:00:00
Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.7/133.7 kB 9.8 MB/s eta 0:00:00
Downloading esp_matter_mfg_tool-1.0.2-py3-none-any.whl (35 kB)
Downloading cryptography-36.0.0-cp36-abi3-macosx_11_0_arm64.whl (2.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 18.6 MB/s eta 0:00:00
Downloading ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.9/142.9 kB 14.3 MB/s eta 0:00:00
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 10.9 MB/s eta 0:00:00
Downloading pypng-0.0.21-py3-none-any.whl (48 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.1/48.1 kB 4.3 MB/s eta 0:00:00
Downloading python_stdnum-1.18-py2.py3-none-any.whl (1.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 19.8 MB/s eta 0:00:00
Downloading MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl (18 kB)
Building wheels for collected packages: cffi, esp-secure-cert-tool, future, PyQRCode
  Building wheel for cffi (pyproject.toml) ... done
  Created wheel for cffi: filename=cffi-1.15.0-cp312-cp312-macosx_14_0_arm64.whl size=174573 sha256=04c5f249094366bc9de205cd91c0328c0d7dfab2832612bf635c56d6d570b037
  Stored in directory: /Users/rmann/Library/Caches/pip/wheels/b9/d6/15/0950847bf7d74ea5f0380b8b23a1d81b45bdf48488b4b8237a
  Building wheel for esp-secure-cert-tool (pyproject.toml) ... done
  Created wheel for esp-secure-cert-tool: filename=esp_secure_cert_tool-1.0.1-py3-none-any.whl size=21492 sha256=4bcceaa5d07f7acde93056a842497e834532b72f912db54a7a6f7f1254151a78
  Stored in directory: /Users/rmann/Library/Caches/pip/wheels/4b/cb/91/eab28142eec270b1541e6ee675431f93fa135a98c64961b03c
  Building wheel for future (pyproject.toml) ... done
  Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491056 sha256=a878dd4bac86724ba63775c6a26d7a732b38df86f9975a02d239b58e5bc092fd
  Stored in directory: /Users/rmann/Library/Caches/pip/wheels/f3/27/6f/379220bdb8dccf450313f6613ef82e2a3d4093ec8e54aa4103
  Building wheel for PyQRCode (pyproject.toml) ... done
  Created wheel for PyQRCode: filename=PyQRCode-1.2.1-py3-none-any.whl size=36225 sha256=71de20d1767f920149119913061fd867f85ccef19f98bbec6f32228ce10f0056
  Stored in directory: /Users/rmann/Library/Caches/pip/wheels/38/e3/f8/8940ce720556414aefb861a143102b931d8327f6eaea5733e8
Successfully built cffi esp-secure-cert-tool future PyQRCode
Installing collected packages: stringcase, python-stdnum, PyQRCode, pypng, lark, pycparser, MarkupSafe, future, ecdsa, jinja2, cffi, cryptography, esp-secure-cert-tool, esp-matter-mfg-tool
  Attempting uninstall: pycparser
    Found existing installation: pycparser 2.22
    Uninstalling pycparser-2.22:
      Successfully uninstalled pycparser-2.22
  Attempting uninstall: ecdsa
    Found existing installation: ecdsa 0.19.0
    Uninstalling ecdsa-0.19.0:
      Successfully uninstalled ecdsa-0.19.0
  Attempting uninstall: cffi
    Found existing installation: cffi 1.16.0
    Uninstalling cffi-1.16.0:
      Successfully uninstalled cffi-1.16.0
  Attempting uninstall: cryptography
    Found existing installation: cryptography 41.0.7
    Uninstalling cryptography-41.0.7:
      Successfully uninstalled cryptography-41.0.7
Successfully installed MarkupSafe-2.1.5 PyQRCode-1.2.1 cffi-1.15.0 cryptography-36.0.0 ecdsa-0.18.0 esp-matter-mfg-tool-1.0.2 esp-secure-cert-tool-1.0.1 future-0.18.2 jinja2-3.0.1 lark-1.1.2 pycparser-2.21 pypng-0.0.21 python-stdnum-1.18 stringcase-1.2.0

[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: pip install --upgrade pip
All done! You can now run:

  . ./export.sh

Not sure why main doesn’t include the changes, but at least this works. Hopefully I'll find some time to actually build an example.

@JetForMe May I ask what is your mac os version ?
I followed your comments but encountered this error
ninja: Entering directory `/Users/yuanchieh-at/Desktop/esp-matter/connectedhomeip/connectedhomeip/out/host'
[3/4] ld ./chip-cert
FAILED: chip-cert chip-cert.map
g++ -target arm64-apple-macos11.0 -O0 -fPIC -Werror -fdiagnostics-color -Wl,-dead_strip -Wl,-map,./chip-cert.map @./chip-cert.rsp -o ./chip-cert
ld: multiple errors: archive member '/' not a mach-o file in '/Users/yuanchieh-at/Desktop/esp-matter/connectedhomeip/connectedhomeip/out/host/obj/src/crypto/lib/libChipCrypto.a'; archive member '/' not a mach-o file i .......

Do you have any idea about that ?

Do you have any idea about that ?

Huh,  not really.  It seems to have failed to build libChipCrypto.a correctly, but I couldn't say why. I'm on macOS 14.5, with Xcode 16b5 (although when I tried this it was probably b2). I would guess the g++ invoked is whatever GCC the Espressif toolchain builds for RISC-V, so I would assume that’s the same for you and me, but I don’t know enough to quickly check, and can’t spend the time to poke through their toolchain right now.

I see. Thanks for your reply @JetForMe

Yes, it seems to work. I followed the instructions here, except I did the following:
% git clone  https://github.com/espressif/esp-matter.git
% git switch release/v1.3
% git submodule update --init --depth 1
% cd ./connectedhomeip/connectedhomeip
% ./scripts/checkout_submodules.py --platform esp32 darwin --shallow
% cd ../..
% ./install.sh

Running Matter Setup

  WELCOME TO...

         █
         █
     ▄   █   ▄                                █     █
     ▀▀█████▀▀      ▄▀▀▀▄ ▄▀▀▀▄    ▄▀▀▀▀▄█  ▀▀█▀▀▀▀▀█▀▀   ▄▀▀▀▀▄    ▄▀▀
   ▀█▄       ▄█▀   █     █     █  █      █    █     █    █▄▄▄▄▄▄█  █
     ▀█▄   ▄█▀     █     █     █  █      █    █     █    █         █
  ▄██▀▀█   █▀▀██▄  █     █     █   ▀▄▄▄▄▀█    ▀▄▄   ▀▄▄   ▀▄▄▄▄▀   █
 ▀▀    █   █    ▀▀

  BOOTSTRAP! Bootstrap may take a few minutes; please be patient.

Environment looks good, you are ready to go!

To reactivate this environment in the future, run this in your
terminal:

  source ./activate.sh

To deactivate this environment, run this:

  deactivate

Installing pip requirements for all...

[notice] A new release of pip is available: 23.2.1 -> 24.2
[notice] To update, run: pip install --upgrade pip

Building host tools

Done. Made 7794 targets from 368 files in 332ms
ninja: Entering directory `/Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/connectedhomeip/connectedhomeip/out/host'
[885/885] ld ./chip-tool
ld: warning: ignoring duplicate libraries: 'liblogging-stdio.a'

Host tools built at: /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/connectedhomeip/connectedhomeip/out/host

Exit Matter environment

Installing python dependencies for Matter

Collecting lark==1.1.2 (from -r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 2))
  Downloading lark-1.1.2-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting stringcase==1.2.0 (from -r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 3))
  Using cached stringcase-1.2.0-py3-none-any.whl
Collecting jinja2==3.0.1 (from -r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 5))
  Downloading Jinja2-3.0.1-py3-none-any.whl.metadata (3.5 kB)
Requirement already satisfied: urllib3<2 in /Users/rmann/.espressif/python_env/idf5.2_py3.12_env/lib/python3.12/site-packages (from -r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 8)) (1.26.19)
Collecting esp-matter-mfg-tool (from -r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading esp_matter_mfg_tool-1.0.2-py3-none-any.whl.metadata (1.9 kB)
Collecting MarkupSafe>=2.0 (from jinja2==3.0.1->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 5))
  Downloading MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl.metadata (3.0 kB)
Requirement already satisfied: bitarray>=2.6.0 in /Users/rmann/.espressif/python_env/idf5.2_py3.12_env/lib/python3.12/site-packages (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11)) (2.9.2)
Collecting cryptography==36.0.0 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading cryptography-36.0.0-cp36-abi3-macosx_11_0_arm64.whl.metadata (5.4 kB)
Collecting cffi==1.15.0 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading cffi-1.15.0.tar.gz (484 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 484.1/484.1 kB 7.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting future==0.18.2 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading future-0.18.2.tar.gz (829 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 27.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting pycparser==2.21 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading pycparser-2.21-py2.py3-none-any.whl.metadata (1.1 kB)
Collecting pypng==0.0.21 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading pypng-0.0.21-py3-none-any.whl.metadata (12 kB)
Collecting PyQRCode==1.2.1 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading PyQRCode-1.2.1.zip (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.9/41.9 kB 4.6 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting python-stdnum==1.18 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading python_stdnum-1.18-py2.py3-none-any.whl.metadata (17 kB)
Collecting esp-secure-cert-tool==1.0.1 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading esp-secure-cert-tool-1.0.1.tar.gz (19 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting ecdsa==0.18.0 (from esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11))
  Downloading ecdsa-0.18.0-py2.py3-none-any.whl.metadata (29 kB)
Requirement already satisfied: six>=1.9.0 in /Users/rmann/.espressif/python_env/idf5.2_py3.12_env/lib/python3.12/site-packages (from ecdsa==0.18.0->esp-matter-mfg-tool->-r /Users/rmann/Projects/Personal/ESP32-C6/esp/esp-matter/requirements.txt (line 11)) (1.16.0)
Downloading lark-1.1.2-py2.py3-none-any.whl (104 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.7/104.7 kB 10.5 MB/s eta 0:00:00
Downloading Jinja2-3.0.1-py3-none-any.whl (133 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.7/133.7 kB 9.8 MB/s eta 0:00:00
Downloading esp_matter_mfg_tool-1.0.2-py3-none-any.whl (35 kB)
Downloading cryptography-36.0.0-cp36-abi3-macosx_11_0_arm64.whl (2.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 18.6 MB/s eta 0:00:00
Downloading ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 142.9/142.9 kB 14.3 MB/s eta 0:00:00
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 10.9 MB/s eta 0:00:00
Downloading pypng-0.0.21-py3-none-any.whl (48 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.1/48.1 kB 4.3 MB/s eta 0:00:00
Downloading python_stdnum-1.18-py2.py3-none-any.whl (1.0 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 19.8 MB/s eta 0:00:00
Downloading MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl (18 kB)
Building wheels for collected packages: cffi, esp-secure-cert-tool, future, PyQRCode
  Building wheel for cffi (pyproject.toml) ... done
  Created wheel for cffi: filename=cffi-1.15.0-cp312-cp312-macosx_14_0_arm64.whl size=174573 sha256=04c5f249094366bc9de205cd91c0328c0d7dfab2832612bf635c56d6d570b037
  Stored in directory: /Users/rmann/Library/Caches/pip/wheels/b9/d6/15/0950847bf7d74ea5f0380b8b23a1d81b45bdf48488b4b8237a
  Building wheel for esp-secure-cert-tool (pyproject.toml) ... done
  Created wheel for esp-secure-cert-tool: filename=esp_secure_cert_tool-1.0.1-py3-none-any.whl size=21492 sha256=4bcceaa5d07f7acde93056a842497e834532b72f912db54a7a6f7f1254151a78
  Stored in directory: /Users/rmann/Library/Caches/pip/wheels/4b/cb/91/eab28142eec270b1541e6ee675431f93fa135a98c64961b03c
  Building wheel for future (pyproject.toml) ... done
  Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491056 sha256=a878dd4bac86724ba63775c6a26d7a732b38df86f9975a02d239b58e5bc092fd
  Stored in directory: /Users/rmann/Library/Caches/pip/wheels/f3/27/6f/379220bdb8dccf450313f6613ef82e2a3d4093ec8e54aa4103
  Building wheel for PyQRCode (pyproject.toml) ... done
  Created wheel for PyQRCode: filename=PyQRCode-1.2.1-py3-none-any.whl size=36225 sha256=71de20d1767f920149119913061fd867f85ccef19f98bbec6f32228ce10f0056
  Stored in directory: /Users/rmann/Library/Caches/pip/wheels/38/e3/f8/8940ce720556414aefb861a143102b931d8327f6eaea5733e8
Successfully built cffi esp-secure-cert-tool future PyQRCode
Installing collected packages: stringcase, python-stdnum, PyQRCode, pypng, lark, pycparser, MarkupSafe, future, ecdsa, jinja2, cffi, cryptography, esp-secure-cert-tool, esp-matter-mfg-tool
  Attempting uninstall: pycparser
    Found existing installation: pycparser 2.22
    Uninstalling pycparser-2.22:
      Successfully uninstalled pycparser-2.22
  Attempting uninstall: ecdsa
    Found existing installation: ecdsa 0.19.0
    Uninstalling ecdsa-0.19.0:
      Successfully uninstalled ecdsa-0.19.0
  Attempting uninstall: cffi
    Found existing installation: cffi 1.16.0
    Uninstalling cffi-1.16.0:
      Successfully uninstalled cffi-1.16.0
  Attempting uninstall: cryptography
    Found existing installation: cryptography 41.0.7
    Uninstalling cryptography-41.0.7:
      Successfully uninstalled cryptography-41.0.7
Successfully installed MarkupSafe-2.1.5 PyQRCode-1.2.1 cffi-1.15.0 cryptography-36.0.0 ecdsa-0.18.0 esp-matter-mfg-tool-1.0.2 esp-secure-cert-tool-1.0.1 future-0.18.2 jinja2-3.0.1 lark-1.1.2 pycparser-2.21 pypng-0.0.21 python-stdnum-1.18 stringcase-1.2.0

[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: pip install --upgrade pip
All done! You can now run:

  . ./export.sh

Not sure why main doesn’t include the changes, but at least this works. Hopefully I'll find some time to actually build an example.

We are in the process of updating the connectedhomeip submodule, and it will be done soon...

The connectedhomeip submodule is updated


[Feature] Log to Fluentd

We are logging to a central server using Fluentd and would like to send Auth0 logs too. Using the fluent-logger-node package, a sender would be reasonably easy to write.
Are you working on new senders (and Fluentd in particular), or would you accept a pull requests?
What is the status of this extension, do you expect it to come out of beta soon? Would it be wiser to just create a new extension based on (for example) the Logstash extension?

@jcassee sorry, i gave you some bad advice. running auth0-logs-to-loggly locally will give an error because of an outdated dependency with auth0-extensions-cli. updating to<EMAIL_ADDRESS>should work better.
or, https://github.com/auth0-extensions/auth0-logs-to-logstash is slightly "fresher", but still has a reference to a slightly older cli version.

@fyockm Thanks! I'm not getting an error in the babel-loader package:
ERROR in ./webtask.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
TypeError: Cannot read property 'babel' of undefined
    at Object.module.exports (/home/joost/Ontwikkeling/GoAbout/auth0-logs-to-fluentd/node_modules/babel-loader/lib/index.js:103:36)

Would it be better to take the auth0-logs-to-logstash project as a basis and set the auth0-extensions-cli version to 1.0.11?
Also: do you have some more information about developing extensions? I'm currently going on pattern recognition. For example, I am worried about how to adapt URLs like these: cdn.auth0.com/extensions/auth0-logs-to-loggly/assets/auth0-logs-to-loggly.ui.<%= assets.version %>.css

@fyockm Do you have time to help get the custom extension working, or shall I try through the Auth0 ticket system or community?


Remove override in Java related to request object naming

Also update sheets overrides file based on latest API changes.

Codecov Report

Merging #1112 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #1112      +/-   ##
============================================
+ Coverage     85.62%   85.62%   +<.01%
- Complexity     3617     3618       +1
============================================
  Files           368      368
  Lines         14179    14181       +2
  Branches       1634     1635       +1
============================================
+ Hits          12141    12143       +2
  Misses         1601     1601
  Partials        437      437

Impacted Files
Coverage Δ
Complexity Δ

...n/discovery/config/java/JavaTypeNameGenerator.java
100% <100%> (ø)
8 <0> (+1)
:white_check_mark:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 097d6cb...5af706a. Read the comment docs.

LGTM


"Submit and go to next challenge" should take you to the next not done challenge

Is your feature request related to a problem? Please describe.
Sometimes you don't do the challenges in the order proposed by freeCodeCamp but in a random way. Other times new exercises appear and are marked not done in your challenge list. When you do a challenge and click the button "Submit and go to next challenge (Ctrl + Enter)" it takes you to the next challenge (done or not done).
Describe the solution you'd like
I think it should take you to the next not done challenge.
Additional context

This is by design and allows users to work through the curriculum in order again even if they have already passed the challenge in the past.  If you want to skip forwards and backwards faster, you can click the Esc key on your keyboard and click p for previous and n for next.  This way you can easily skip any lesson you do not want to work/rework.

Yea, I'm not sure I like this either. What if I completed a section and want to do it again? Every time I click submit, it will go to the next section or 20 challenges ahead and I'd have to navigate back somehow. Not a bad idea, but my vote is not to add this.
There is perhaps something to this though, maybe we could add something to those hotkeys for navigating to the next/previous uncompleted challenge.

We do have hot keys and for the minute they are not publicised much. I do not this we would be complicating the navigation by moving to next not done challenge.


Add TTCN, ASN.1 and TTCN-CFG

Test suite is passing OK
bin/lint is passing OK
Maintainer comments has been addressed.

Thanks for updating the code. Another comment is that for many tokens, you are returning types that are not styled in the existing themes. Adding extra information for your custom styling is okay, but try to combine it with at least one 'standard' token style (for example, return "builtin timerOps" rather than just "timerOps"), so that other themes can also color the code halfway properly.

Done. Thanks for guidance.

Thanks! Merged as bdd6c0edc8031, 92ec62d2785a71e37, 46e9a5e08f44687, and fa11b729130b91be77. I made small changes to the ASN.1 mode, renaming the file to asn.1.js and the mode definition to define the string "asn.1", so that the mode name matches the file and directory name (which holds for all other modes).

Thanks and kudos for a great project!

These new modes seem to be missing in meta.js.

That's right, thanks for noticing. I'll made a new pull request with this change.


Expose Exec(…) method for RawQuery

The Exec(…) method allows to execute raw queries which do not return any data.
This is required in order to run queries like the following one:
	q2 := db.NewRaw(
		`SELECT
			id,
			title
		INTO TEMPORARY
			tmp_stories_title
		FROM
			stories
		`)

	_, err = q2.Exec(ctx)
	if err != nil {
		panic(err)
	}

Or to REFRESH a materialized view.

Thanks :+1:


New activity termination form

User story
As a case worker I would like to have a usable form to terminate activities. This is a central usecase during execution of cases! Thus, a small efficiency improvement would produce great benefit.
Feature explanation
If the activity instance has no bound data objects and no data output, it should be terminated directly, i.e. without showing the modal dialog. In all other cases the termination dialog should be shown.
The dialog is used to collect the following information from the case worker:

the state for each data output
the attribute values for all attributes of all data objects in the output set

Thus, in addition the dialog should contain two parts, one for setting the states and the other for setting / changing attribute values.
For state selection a drop-down menu should be used only, when there are several states to choose from. Otherwise, if there is only one possible state of output data object, a normal field should be used instead of the drop-down menu.
The second part for editing attribute values should be a list of all output data objects and their attributes (see attached sketch).
Additionally, the dialog needs a button to complete the task (complete in green) and a "cross" icon in the title bar to close the dialog.

Open questions

Should it be possible to update attribute values of data objects in the output set without terminating the activity instance?

Benefits for users

This feature is a slight usability improvement offer the old dialog
Case workers do not have to select a state, if there is only one possible selection

@marhew should it be recognizable whether the data object will be newly created? If so, how should this be achieved?


[devseed: 1/6] Provision an EBS volume for the VEDA prod hub

An EBS volume needs to be pre-provisioned so that it can be setup as in-cluster NFS storage for the VEDA prod hub.
Tasklist
Use the docs at the following URL to complete these tasks: https://infrastructure.2i2c.org/howto/features/storage-quota/#creating-a-pre-provisioned-disk

[ ] Update the terraform config for the nasa-veda cluster to create a new EBS volume
[ ] Provisionally enable the jupyter-nfs-home chart for the VEDA prod hub

Provide the config with the volume ID, but don't change the IP address yet. The deployer will need this config for exec root-homes to work for the migration step.

Definition of Done

[ ] An EBS volume for the VEDA prod hub exists
[ ] The deployer can connect to the EBS volume ready for the migration

Current size of the prod hub's file usage is 3.2TB. Though there is https://github.com/2i2c-org/infrastructure/issues/5021 to reduce this.

[ ] Check EBS can be resized down

We didn't get a response from Alex regarding 1) whether the clen-up would be happening first or not, or 2) what initial size the disk should be given, given that it cannot be scaled down. Hence, this task is blocked.


Bug: Creator tool and version could be present in services in the tools section for CDX

Its possible the creator and tool version could be present in the tools->services section for sboms created via api services.
sbom_with_creator_and_version  rule should be modified to handle this. This is an CDX only thing.

Hey @riteshnoronha , few question related to above issue, as I don't have clear understanding of it:

Firstly, are you talking about tools present under cdxDoc struct ?
Second thing, which rule(sbom_with_creator_and_version) are you talking about ? I am aware of rules or checks that were  used for compliance report such as CRA. Or this is something different which I am unaware of ?

We have found that sboms generated via api's in CDX 1.5 and above set the tool used to generate it in the metadata->Tools->Services section. In our current logic we only check Metadata->Tools->Tools and Metatdata->Tools->Components.  Yes it impacts sbom_with_creator_and_version rule, so if we parse it correctly and save it in cdxDoc it should just work.


LM Stuido Endpoint not working.

I can't get the endpoint to work properly with LM Studio. I have tried adding /v1 and /v1/chat/completions. Both http://localhost:1234 and http://localhost:1234/v1 return the same output. /v1/chat/completions returns nothing. The server works fine in smart connections and in several other apps and python scripts I've used.
Here is the server output:
[2024-09-02 06:45:09.000] [INFO] Received GET request to /v1/models with body: {}
[2024-09-02 06:45:09.000] [INFO] Returning {
"data": [
{
"id": "lmstudio-community/DeepSeek-Coder-V2-Lite-Instruct-GGUF/DeepSeek-Coder-V2-Lite-Instruct-Q8_0.gguf",
"object": "model",
"owned_by": "organization-owner",
"permission": [
{}
]
}
],
"object": "list"
}
[2024-09-02 06:45:09.004] [ERROR] Unexpected endpoint or method. (GET /api/tags). Returning 200 anyway
[2024-09-02 06:45:10.653] [INFO] [LM STUDIO SERVER] Processing queued request...
[2024-09-02 06:45:10.653] [INFO] Received OPTIONS request to /v1/chat/completions with body: {}
[2024-09-02 06:45:10.653] [ERROR] 'messages' field is required
My settings in SystemSculpt:

➕ Same issue

You should only be putting in the URL, the client handles the /v1/etc stuff automatically, have you tried just putting in the url and port, ex. http://localhost:1234 or whatever port you have it set to?

Yup, the error occurs when putting just the url http://localhost:1234 without any path

I experienced this as well. LM Studio would end up showing an empty request as mentioned above. After opening dev tools and trying it again, it turns out the issue isn't due to the systemsculpt plugin at all but CORS policy as set by default in LM Studio.  If you "Enable CORS" before starting the LM Studio API server, requests from systemsculpt plugin should work as expected.
Even the tooltip in LM Studio 0.3.2 seems to indicate that some integrations may require Enable CORS turned on "Enabling CORS (Cross-origin Resource Sharing) would allow websites you visit to make requests to LM Studio server.
CORS might be required when making requests from a web page or VS Code / other extension."
Console Log from Obsidian Developer Console
Access to fetch at 'http://localhost:1234/v1/chat/completions' from origin 'app://obsidian.md' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Same error - yup. You need to enable CORS


Feature/angular16

I make the update for support angular 16 and test the qr code generator with the demo app. It works fine. If i can still help you or something is missing please let me know.

Thanks for your PR! It's live now.


NullPointerException

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
Issue has been fixed in anjlab's InApp Billing library V1.0.35. The reference just needs to be updated in this repository.

Thanks for the headsup, I'll update and release soon!


New NetworkManager Dispatcher scripts options

Add an option to specify dispatcher scripts

Haven't tested it but looks fine, thanks.


ERROR WHEN REPAY

I can not repay, I tried 4,5 times. please fix bugs or explain this reason

Hi, @TLGKien. This is unrelated to aurora-relayer, but I will forward it to relevant team.


ag-grid PoC

This is a PoC to show a relatively quick-and-dirty implementation of ag-grid in Svelte. This gives us column sorting and drag-and-drop right out of the box, and one of the existing themes is already pretty close to what we probably want. I tried to make this a pretty straightforward passthrough of the ag-grid API, but the current props are large, deeply nesting objects, so there may be some performance concerns.
The following steps will be to add styles to overwrite the theme and match ours.
The large diff is due to updates in the pnpm lockfile.
Note to reviewers: I added you because the topic of using an ag-grid for tables has been raised a few times now, and I wanted to start the conversation about what it would look like. Feel free to remove yourself from the PR if this isn't relevant to you.

Super cool! This would be a great improvement.

adding deploy tag to play with this grid a bit. are we worried about increase in bundle size from adding this dependency?

can we add the deploy tag to play with this grid? also, are we worried about increase in bundle size from adding this dependency?

Do we have a deploy tag in this repo? I didn't see a label for it.

Do we have a deploy tag in this repo? I didn't see a label for it.

oh my bad, didn't realize this was in prime 🤦

I updated the PoC to tweak some styles and show how to sort and filter. I also broke out the columns and rows into their props so they could be changed without forcing an entire re-render. You can test it out with the "Remove row" button.
CC: @micheal-parks

also, are we worried about increase in bundle size from adding this dependency?

I don't think so, but I will do a build to compare. I updated the PoC to use modules provided by ag-grid which should reduce the bundle size.

Added row variants. Only outstanding feature is the TableVariant which switches between table-auto and table-fixed classes, but I think we will want to ignore those anyway and instead rely on ag-grid rendering.

Updated styles to match more recent table designs.

Please let me know if there is a use case you would like to see me include in the example.

Closing this, @mcous is opening another PR on the app side so we can start using and iterating on this. Keep an eye out for that PR, and thanks for the input!


Multiple definitions exist for class 'Route'

What is this for? I don't like that ide underlines my code.

If anyone is still having this issue, I recommend you use https://github.com/barryvdh/laravel-ide-helper to unify and normalize the type definitions. Seems to make everything more well behaved.

Thanks @johnpyp

If anyone is still having this issue, I recommend you use https://github.com/barryvdh/laravel-ide-helper to unify and normalize the type definitions. Seems to make everything more well behaved.

I don't need this package


Loading the world gives player invincibility for a couple seconds which can be exploited to avoid death

Fixed as of CE 3.0 Snapshot 2.1, New behaviour is, you still log out and when logging back in, you are put into a state where you are damaged correctly, Tested with Zombie and Creeper.


test: carrot

Description

Motivation and context

Related issue

Types of changes

[ ] Patch (bug fixes, typos, mistakes; non-breaking change which fixes an issue)
[ ] Minor (add a new token, changing a value; non-breaking change which adds functionality)
[ ] Major (deleting a token, changing token value type; fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] I updated the token in all applicable sets. This applies if updating, adding, or deleting a token that has data across different sets (for example, if the value differs across color themes.)

TESTING spectrum-non-colors
Using ./spectrum-tokens-studio-data/src/tokens-studio/spectrum-non-colors/ as SOURCE
Using ./spectrum-tokens/packages/tokens/src/ as DESTINATION
READING spectrum-tokens: /home/runner/work/spectrum-tokens-studio-data/spectrum-tokens-studio-data/spectrum-tokens/packages/tokens/src/
READING  tokens studio: /home/runner/work/spectrum-tokens-studio-data/spectrum-tokens-studio-data/spectrum-tokens-studio-data/src/tokens-studio/spectrum-non-colors/
updateTokenNameMetadata: background-opacity-key-focus-carrot => background-opacity-key-focus-potato
ADDING UUID: spectrum/alias/constant,alias,background-opacity-key-focus-carrot => ca3c8b77-2f21-4abd-b46d-bd7d4ef45649
TOKENS STUDIO DATA IS NON-COLOR ONLY
LOADED SPECTRUM TOKENS: 2685
LOADED STUDIO TOKENS:   1484
NEW TOKEN VALUES:     2
RENAMED TOKENS: 2
DEPRECATED TOKENS: 2
TEST COMPLETE

./logs/deprecatedTokens.json

[
  {
    "uuid": "df4464fd-f46f-4482-9e42-011c2363ac37",
    "token": "background-opacity-hover-potato"
  },
  {
    "uuid": "fa8712ef-f68c-4d49-8f35-30e5d7fbd7f2",
    "token": "background-opacity-key-focus-potato"
  }
]

./logs/newTokens.json

{
  "background-opacity-hover-carrot": {
    "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
    "value": "0.1",
    "uuid": "33fc1ac2-688d-4fe5-9e49-8a16c8880e08"
  },
  "background-opacity-key-focus-carrot": {
    "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/opacity.json",
    "value": "0.1",
    "uuid": "ca3c8b77-2f21-4abd-b46d-bd7d4ef45649"
  }
}

./logs/renamedTokens.json

{
  "background-opacity-key-focus-potato": "background-opacity-key-focus-carrot",
  "background-opacity-hover-potato": "background-opacity-hover-carrot"
}


Support for :first-letter pseudo class

Unlike the official CSS selector this will also work on inline elements. You also are not restricted to any specific style properties, meaning you may style everything with the :first-letter pseudo class.

closed as solved


Generate Grad-CAM

Hello,
Your article is very interesting for the field of network explainability.
Your network is very promising. However, I am having trouble reproducing the result you obtained for Grad-CAM.
As mentioned [here] (https://github.com/XAIseries/XCM/issues/2), I am facing a problem in generating the GradCAM "features". When creating the model for GradCAM, a 2D convolution output and a 1D convolution output are sent to a 1D global averaging layer. This generates an error because of the shape of the 2D convolution output.
How did you solve this problem?

Hello,
Thank you for your message.
I confirm that I have also uploaded the code concerning Grad-CAM.
Best,

Hello,
Thank you for your message.
I confirm that I have also uploaded the code concerning Grad-CAM.
Best,


miio get wrong token for xiaomi robot vacuum

node: v8.9.1
miio: 0.14.0
xiaomi robot: 3.3.9_003077
miio --discover --sync can get device info of xiaomi robot. But when I use the token generated by miio, it says timeout.

you have the wrong token. If you have a recent firmware, you cannot use Miio -- discover to sync the token. You will have to go through the other method in the readme

i had the same problem, do the following steps please:

Reset Vacuum(https://docs.google.com/document/d/18FwzI8lTUnP1Sh6f1iDPQyq1oK4q9piZ6_CW0jXaLa4/edit)
After reset, connect with your desktop pc  to the WLAN of the robot
do the following command:  miio --discover
NOW you got the coorect token!


Make CursiveLogger use global state

Issue around setting log queue size:
Under the current state of the cursivelogger branch, with_log_size() only sets the CursiveLogger log_size member and it isn't used to call reserve_logs() until init() is called and the CursiveLogger object is consumed by set_logger(). This is fine as with_log_size() can only be called prior to calling init(), so calling multiple times just updates how large a log queue will be reserved. Anyone wanting to update the log queue size after initialization can only call reserve_logs().
However, set_log_size() can be called either before or after init() as it isn't tied to the CursiveLogger object.  If set_log_size() does call reserve_logs() then we'll have duplicate calls to reserve_logs(). If set_log_size()  works like with_log_size() and doesn't call reserve_logs() then it has no effect after calling init(), which might be confusing.
A solution to this is to add a global flag for if reserve_logs() has been called yet and to change the behavior of set_log_size() based on that, but that feels clunky to me.
Another solution is just to leave a note in the documentation warning that calling set_log_size() after initialization is a nop (see commit 3b26891).
A 3rd solution is to get rid of set_log_size() entirely as it is a bad abstraction. The log queue should only be extended by reserving more space. Prefer use of reserve_logs() and only call reserve_logs() in init() and get_logger() if LOGS doesn't have any capacity yet allocated. (see latest commit 14144ed).
This last one seems like the best, least confusing option to me.


remove unused AFTaskStateChangedContext

AFTaskStateChangedContext is not used in AFN 3

Current coverage is 78.12%

Merging #3432 into master will decrease coverage by -0.12% as of f324f14

@@            master   #3432   diff @@
======================================
  Files            5       5
  Stmts         2491    2464    -27
  Branches         0       0
  Methods
======================================
- Hit           1949    1925    -24
  Partial          0       0
+ Missed         542     539     -3

Review entire Coverage Diff as of f324f14

Powered by Codecov. Updated on successful CI builds.

Thanks! 🍻


coordinate transformation

I want to know the mathematical formula of  radar, lidar, camera and world coordinate conversion, but I can't find it in the conversion module. Do you have any suggestions? Thank you, boss.

Do you mean the parameters? there're in modules\perception\production\data\perception.

for example, the camera extrinsic parameters modules\perception\production\data\perception\camera\params\front_6mm_extrinsics.yaml

The transform use Transformation matrix to change different coordinates, A matrix multiplication can solve this problem, e.g.

    Eigen::Affine3d c2n;
    if (!transform_server.QueryTransform(camera_name, "novatel", &c2n)) {
      AINFO << "Failed to query transform from " << camera_name
            << " to novatel";
      return -1;
    }
    frame.camera2world_pose = pose * c2n;    //  here is

You should try to find information about transformation matrices.  like link

I know this part of knowledge, and I may not express it accurately. I want to know which part of apollo's source code is used for conversion. Although the source code is well packaged and relatively large, the corresponding source code is not found, and it is not found in the transform module.

What source code do you need, the source code is in the library Eigen, coordinate transformation is matrix multiplication.

Thank you for your help. I seem to understand what you mean. Thank you.


fix: Make sure "./run" is the invocation

I have made this mistake far too often :)

A nit and a suggestion:
Nit: This could do the wrong thing if there happened to be some other executable named run in the current working (but unintended) directory.
Suggestion: Instead of erroring, consider modifying the script to cd to the right place internally. Experiment with cd "$(dirname "$0")" and the like.


[To rel/0.13] Add M4 into v0.13

Description
Aim of this pr
Currently M4 is implemented only in v1.0 and later versions. However, according to user needs, M4 is also required in v0.13. So this pr aims to add M4 function and also Equal Size Bucket Sample functions (EqualSizeBucketM4Sample is one of them) into rel/0.13. No new features but adapt the related codes, tests, documents, site references from master into rel/0.13.
Changes of this pr
1. remove old M4 documents and site references

remove old M4 documents M4.md (bilingual)
remove references of old M4 documents in the site configuration file config.js

2. add new codes, tests, documents, site references for M4 function (keep the contents same as those in the master branch 44f046c97263ab5f3b329b23f31d080e80a6e295)

M4 source code UDTFM4.java, BuiltinFunction.java
M4 integration tests added in IoTDBUDTFBuiltinFunctionIT.java
M4 documents added in Select-Expression.md (bilingual)
the site configuration file config.js already references the existing Select-Expression.md, so no need to add

3. add new codes, tests, documents, site references for Equal Size Bucket Sample functions (keep the contents same as those in the master branch 44f046c97263ab5f3b329b23f31d080e80a6e295)

Equal Size Bucket Sample source code UDTFEqualSizeBucketSample.java, UDTFEqualSizeBucketRandomSample.java, UDTFEqualSizeBucketAggSample.java, UDTFEqualSizeBucketM4Sample.java, UDTFEqualSizeBucketOutlierSample.java, BuiltinFunction.java
Equal Size Bucket Sample integration tests added in IoTDBUDTFBuiltinFunctionIT.java
Equal Size Bucket Sample documents added in Select-Expression.md (bilingual)
the site configuration file config.js already references the existing Select-Expression.md, so no need to add

This PR has:

[x] been self-reviewed.

[ ] concurrent read
[ ] concurrent write
[ ] concurrent read and write

[x] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods.
[ ] added or updated version, license, or notice information
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious
for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold
for code coverage.
[x] added integration tests.
[ ] been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

Related pr #9562


optimizer and scheduler **kwargs

Annotating optimizer_kwargs: Dict[str, Any] and scheduler_kwargs: Dict[str, Any] is not supported by typeo. And will break the train function if these are specified in the typeo config. We should find a better solution for parameterizing these.

can now be provided in the project config via updated typeo version.


Add http-api-design

I personally suggest http-api-design It's nice documentation.

Submit a PR and I'm happy to take a look.


netkvm: Arm Windows support

NdisMAllocateSharedMemory maps memory as non cacheable on Arm Windows,
Given that Windows on Arm does not support unaligned accesses on uncached memory, this behavior does result in crashes.
As such, use MmAllocateContiguousMemorySpecifyCache for the Arm64 architecture.
This choice is safe. It's also to be noted that NdisMAllocateSharedMemory ignores the isCached attribute anyway.
With this fix, networking w/ netkvm for Windows on Arm works fine.
(tested with QEMU emulator version 5.0.50 (v5.0.0-1065-g9f1f264edb))

@mediouni-m Thanks a lot!
Can you please add "Signed-off-by:" line at the end of the commit message.
Thanks,
Yan.

@YanVugenfirer Done now.
Thank you,

@mediouni-m
All our previous ARM-related fixes aimed to solve all the real misalignments in the driver.

(tested with QEMU emulator version 5.0.50)

Initial ARM64 version (November 2018) with a lot of misalignments worked without problems on QEMU ARM emulation.
Before we accept this commit (as temporary workaround only) we need to ensure if does work on real ARM64.
In general, the driver currently should not have misaligned accesses, except of one that should be fixed by this patch (still not applied, as we do not have any ARM system on the table) https://github.com/ybendito/kvm-guest-drivers-windows/commit/a5df856e0ace1b3470467f2e47b0af4fa8f3775b.
We can't control what happens in tcpip stack, so for ARM we copy the data of incoming packet and indicate up its cached copy.
Several points for the patch:

let's use ARM64 as in other places in the driver
if we use Mm API, we need to avoid ACK for IOMMU feature, it is incompatible with this API

@ybendito
Hello,
This commit works on real Arm machines. (tested on Graviton 2 here).

Initial ARM64 version (November 2018) with a lot of misalignments worked without problems on QEMU ARM emulation.

This means that Qemu didn't honor the Arm memory access alignement requirements on device memory types.

We can't control what happens in tcpip stack, so for ARM we copy the data of incoming packet and indicate up its cached copy.

For a NIC driver that works at line speed, we just cannot allow this to happen for speed reasons.
The Windows TCP stack cannot cope with passing through packets in uncached buffers too, by design.

if we use Mm API, we need to avoid ACK for IOMMU feature, it is incompatible with this API
The device works fine with iommu=smmuv3 on in practice.

Note that in the refresh to change _M_ARM64 to ARM64 I will add my previously local change to disable the copy of incoming packets too, as it is not needed in that configuration at all.

Last point when the functionality is reduced for ARM
https://github.com/virtio-win/kvm-guest-drivers-windows/blob/master/NetKVM/Common/ParaNdis_Common.cpp#L788

@ybendito
Hello,
This commit works on real Arm machines. (tested on Graviton 2 here).

Initial ARM64 version (November 2018) with a lot of misalignments worked without problems on QEMU ARM emulation.

This means that Qemu didn't honor the Arm memory access alignement requirements on device memory types.

We can't control what happens in tcpip stack, so for ARM we copy the data of incoming packet and indicate up its cached copy.

For a NIC driver that works at line speed, we just cannot allow this to happen for speed reasons.
The Windows network stack cannot cope with passing through packets in uncached buffers too, by design. In practice that means copying every incoming packet, which isn't a sustainable overhead.

if we use Mm API, we need to avoid ACK for IOMMU feature, it is incompatible with this API

The device works fine with iommu=smmuv3 on in practice. And those limitations is why a TODO comment is present. :-)
(note that we only test Qemu emulating virtio-net, if any of you uses a true PCIe card emulating the virtio-net adapter that concern is valid)

We have a code that ACKs virtio feature called VIRTIO_F_IOMMU_PLATFORM (it was recently renamed to VIRTIO_F_ACCESS_PLATFORM). MM* functions are incompatible with IOMMU.
So the below line should be also put under #ifdef (it should not be called on ARM64 platform if we use MM* functions):
AckFeature(pContext, VIRTIO_F_IOMMU_PLATFORM);
https://docs.oasis-open.org/virtio/virtio/v1.1/csprd01/virtio-v1.1-csprd01.html - VIRTIO_F_ACCESS_PLATFORM (the new name for VIRTIO_F_ACCESS_PLATFORM).
Best regards,
Yan.

Hope this helps,

@ybendito good news, tested without control queue disabled in the driver source code and things still worked fine :)

@YanVugenfirer Acknowledged, We are still evaluating other functions that should work too. :)
Thank you,

@mediouni-m Thanks a lot! I am merging the PR.
Comment regarding CI failure: I manually revied the results. They are not related to the changes in this PR. The failure is under investigation, could be caused by PR#472.

While this will work, because the NetKVM device is really a synthetic device, the solution is fundamentally incorrectly. We can only hope no one will copy and paste this to a real device driver.
NdisMAllocateSharedMemory determines if the memory should be cached or uncached based on the PCI attributes of the device. If the device is declaring these buffers as device memory, then this should really be mapped as uncached/device-memory. Anything else would cause a real device to misbehave. That's what this patch is doing.
There are two possible good alternate fixes:

QEMU declares (via PCI) these buffers as something else other than device memory;
The driver allocates cached shadow buffers and memcpys data from the device memory to the cached buffer which then passes to NDIS/TCP. This is the fix I proposed here: https://github.com/pmsjt/kvm-guest-drivers-windows/commit/ad3fe37e6c7fea02c2886f63daac69ac7d353bae

@pmsjt
Hello,

NdisMAllocateSharedMemory determines if the memory should be cached or uncached based on the PCI attributes of the device.
In practice to us it didn't respect _CCA. That was tested on our platforms, on bare metal too.

We in fact use this exact approach as a workaround currently in our PCIe networking drivers. (on our processor families, DMA is cache coherent).
I've been talking about this with some engineers at MS at a while, I'd recommend continuing it via<EMAIL_ADDRESS>Thank you,

Thanks for reporting that. On ARM64, indeed _CCA is ignored when NDIS Scatter-Gather DMA is being used against WDM/HAL v2 APIs.
It is very much recommended to move the code away from NDIS SG, into WDF or WDM DMA APIs. Not only it solves this problem, but it also will improve Tx performance significantly.
The good news is that there is a flag that can be provided to NDIS SG to make is use HAL DMA v3 instead. You won't get the Tx performance improvements but it does make NDIS honor _CCA.
This simplifies things quite a lot. https://github.com/virtio-win/kvm-guest-drivers-windows/pull/479
Thanks again for reporting this. The first time I looked into this, this device still was not being marked with _CCA. This was fixed since then but I had never looked again.


How can I access a suspenseQuery's state while in-flight?

I have the following, typical, suspenseQuery atom :
export const productsQueryAtom = atomWithSuspenseQuery((get) => {
    const params = get(fetchProductsParamsAtom)
    const trpc = get(trpcAtom)
    return {
        queryKey: ['inventoryProducts', params],
        queryFn: () => {
            return trpc.inventory.getInventoryProducts.query(params)
        },
    }
})

I would like to derive a status atom/access the other properties of the query (or the query key without duplicating the logic) but if I try to make a derive read atom :

If it's async, then it only runs when the query has completed
If it's not async (example below) then I get the promise but I can't get the query key

export const productsStatusAtom = atom((get) => {
    // Query is a promise here, how do I access it's queryKey or it's `fetchStatus` ?
    const query = get(productsQueryAtom)

    // The goal is to get to the react-query query state
    return status
})

I essentially want to build something similar to https://github.com/pmndrs/jotai/discussions/2228 to have stale-while-revalidate content but also want to get the properties of the query instead of just basing myself on the status of the promise. Any idea? Thanks!

Suspense Query doesn't have fetching status. Its created in a way to always have data as defined and hence the status is always 'success'. If you want to use previous state, you would typically want to use startTransition
With the unwrap util, you can understand when the promise is pending. query in your example would be undefined when the promise is pending. This is helpful if you only want to know if a promise is pending or not.

I think you're referring to status but I am referring to fetchStatus which is also set on suspense queries and gives you the ability to know when a query is being fetched or idle.
I want a loader to be displayed alongside the data when the query is fetching, even after the query has already resolved initially.
I suppose I could build something with unwrap where if the query is pending I can assume it to be fetching and if it's not I can access the fetchStatus property but that does not seem very elegant

if the query is pending I can assume it to be fetching and if it's not I can access the fetchStatus property

Seems right. Sorry about the misunderstanding earlier.

that does not seem very elegant

Do you have an api in mind? Maybe we can come up with an abstraction to improve DX?

@Esya I'm not 100% sure that it is what You need:
export const productsStatusAtom = atom((get) => {
  const queryResultStatus = get(loadable(productsQueryAtom))
  // Most likely you also want to handle error state
  if (queryResultStatus.state === 'hasData') {
    return queryResultStatus.fetchStatus
  }

  return 'fetching'

})

As far as I see queryResult.fetchStatus is getting updated each time when query is refetching data.
@kalijonn If You are open to adding some abstraction-atoms, then I have few in mind already. I need to push few things at work so I'll get back to #72 in day or two.


refactor(@angular-devkit/schematics): rename browserslist to .browserslistrc

#15961 pointed out that the browserslist filename is deprecated. Need to rename it to .browserslistrc. Additionally the docs at https://angular.io/guide/build#configuring-browser-compatibility specifically mention .browserslistrc and not browserslist.
This PR renames the template file as well as updates the Angular 8 differential loading migrator. Updated the specs around the migrator as well.

Discussed in meeting, we think we should move to the current default (.browserslistrc), but feel it's a risky proposition during the RC period.
Instead we'd like to:

change new projects something during 9.x to use the new filename
add a migration for 10.0 to update the filename

You should be able to just use the new filename, but we need to make sure to update users for 10.0 to also do it in order to keep everything consistent. We should not, however, change old migrations.

There is another PR which refers to browserlist renaming issue, #15977. Just to help tracking related issues to avoid future duplicates.
Cheers!

Hi, thanks for your contribution.
Let's close this for the time being and reconsider this for version 10.
More context: https://github.com/angular/angular-cli/pull/16138#issuecomment-554014906


re-generate all dist/ files (yarn build) with latest fixes

Coverage remained the same at 69.532% when pulling 348f8df963790daaf9001e97722d00025c0a400f on adumesny:generate_dist into 805e566c3afa9f057b6a97c62feecb49ea0f745f on troolee:develop.


Extend Prototype of the html functions

In the current version the html functions (All tag function) just return the created element but it should also extend to returning more options like inner and outer HTML and more.

The issue is now closed because the functionality was already implemented. The functions return HTMLElement, which contains all the necessary request prototypes, confirming that the data handling is functioning as intended. So no need to extend HTMLElement.


ffmpeg for sound detection doesn't terminate on Home Assistant restart

Description
When sound detection is enabled and home assistant is restarted, a new instance of ffmpeg is started but the old one isn't terminated.
The system accumulates instances off ffmpeg on each home assistant restart until the container/OS is restarted.
Reproduction Steps

run top from within home assistant container (docker exec -it homeassistant bash).  After a fresh start of the container with only one tapo camera, there is only one instance of ffmpeg
Restart home assistant (Settings --> Menu --> Restart Home Assistant)
Monitor top.  ffmpeg continues running through restart.  After startup, another instance of ffmpeg appears

Expected behavior
Terminate ffmpeg when home assistant shuts down to restart.  ffmpeg_noise, when configured on its own through the home assistant configuration.yaml file, terminates the old ffmpeg before starting a new one on startup.
If applicable, add error logs.
top output:
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
  605    65 root     S    5790m  17%   9   0% python3 -m homeassistant --config /config
  209     1 root     S     210m   1%  21   0% ffmpeg -i rtsp://pathtomycamera -vn -nostats -filter:a silencedetect=n=-25dB:d=1 -f null -
  576     1 root     S     210m   1%  17   0% ffmpeg -i rtsp://pathtomycamera -vn -nostats -filter:a silencedetect=n=-25dB:d=1 -f null -
  756   605 root     S     210m   1%  12   0% ffmpeg -i rtsp://pathtomycamera -vn -nostats -filter:a silencedetect=n=-25dB:d=1 -f null -
  396     1 root     S     207m   1%  11   0% ffmpeg -i rtsp://pathtomycamera -vn -nostats -filter:a silencedetect=n=-25dB:d=1 -f null -
  787   781 root     R     1624   0%   6   0% top
  781     0 root     S     2612   0%   6   0% bash
    1     0 root     S      436   0%  28   0% /package/admin/s6/command/s6-svscan -d4 -- /run/service
   65     1 root     S      216   0%  15   0% s6-supervise home-assistant
   25     1 root     S      216   0%   9   0% s6-supervise s6rc-oneshot-runner
   16     1 root     S      216   0%  20   0% s6-supervise s6-linux-init-shutdownd
   26     1 root     S      216   0%  29   0% s6-supervise s6rc-fdholder
   34    25 root     S      208   0%  11   0% /package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000
   19    16 root     S      204   0%  19   0% /package/admin/s6-linux-init/command/s6-linux-init-shutdownd -d3 -c /run/s6/basedir -g 3000 -C -B

Device Firmware
1.1.12 Build 240117 Rel.56102n
Integration Version
5.4.18
Using stream component
Yes
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
2024.5.4 Docker on Ubuntu 22.04.4
Search for similar issues
Yes
Additional information
No response

Fixed in https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/releases/tag/5.4.22 .


[TEST] WIP: making a proper github CI workflow

where workflows depend on each other.
for example if linting fails, test dont even start to run.

Codecov Report

Merging #1889 (4bc9ef5) into main (eb0b06f) will decrease coverage by 3.94%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #1889      +/-   ##
==========================================
- Coverage   56.12%   52.19%   -3.94%
==========================================
  Files          48       48
  Lines        7335     7307      -28
==========================================
- Hits         4117     3814     -303
- Misses       3218     3493     +275

see 22 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Multi Cluster App Rollback Revisions - verify RBAC works

@kinarashah can we make sure creator of the multi cluster app can see app revisions to rollback to. The same rbac roles/rolebindings as for MCA itself should be created for corresponding revision objects.

rancher/rancher:2/1

Created a user and added as a project member

Logged in as project member and created a multicluster app

Upgraded multicluster app

Project member was able to see revisions

Logged in as admin

Admin was able to see revisions

Updated app

Viewed revisions

Logged in as project member

Viewed revisions

Project member was able to see all revisions


Reordering of imports and modules is on by default, but config option is still unstable

On the beta channel for the rustfmt-preview component, the following options appear to now be on by default, however the configuration option is only available on nightly:

reorder_extern_crates_in_group (this isn't affecting my code, but I think it also changed recently; no longer on nightly)
reorder_imports
reorder_imports_in_group (consolidated, no longer needed on nightly)
reorder_modules

If I set these to false in rustfmt.toml then on beta I see the following and get a large diff that reorders the statements:
$ cargo +beta fmt
Warning: can't set `reorder_imports = false`, unstable features are only available in nightly channel.
Warning: can't set `reorder_imports_in_group = false`, unstable features are only available in nightly channel.
Warning: can't set `reorder_modules = false`, unstable features are only available in nightly channel.

Since the default has changed I had hoped to temporarily put off this change, especially since the behavior of these options seems to have changed a bit between beta and nightly.

I don't really want to stabilise those options yet, so I don't see a solution on the Rustfmt side. This is fairly easy to workaround locally though - use either the stable or nightly channel while formatting (Rustup makes it very easy to switch channels).


Feature/data messages

fixes #515 and fixes #490

Tested locally and messages are properly delivered to iOS devices.


Slightly revised Russian translation

Mostly typos, consistency, etc

Translations should be fixed on weblate https://hosted.weblate.org/projects/godot-engine/godot/

See https://github.com/godotengine/godot/blob/master/editor/translations/README.md

Oh no, an incorrectly translated translation site with bizarre interface :D


updated TOC

Docs Build status updates of commit 83e16a7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Little bug fixes for Y/H/southern images

Add check for PS1 coverage, add check for empty source tables, fix batching for same target multiple obs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

13 of 19 (68.42%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 86.287%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

mirar/catalog/vizier/ps1.py
5
7
71.43%

mirar/pipelines/winter/generator.py
6
10
60.0%

Files with Coverage Reduction
New Missed Lines
%

mirar/monitor/base_monitor.py
1
83.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
10540

Relevant Lines:
12215

💛  - Coveralls


Add Collect impl for PhantomData

This makes it easier to use #[derive(Collect)] on a struct containing
this type.

PhantomData makes complete sense obviously, but I'm wondering about MutationContext... how can you store a MutationContext inside something that needs to implement Collect?  Wouldn't that have to go into the root object of an arena, which shouldn't be possible?  I definitely don't think it's harmful, just help me out figuring out how it would work.  I'm mostly asking in case there's some kind of hole in the safety logic here around MutationContext.

@kyren: The Ruffle project stores a MutationContext in the (non-root) struct UpdateContext
An UpdateContext gets created inside a call to GcArena::mutate, and doesn't end up escaping the closure. UpdateContext never gets stored inside a Gc/GcCell, so there are never any lifetime issues.

I'm confused.

UpdateContext never gets stored inside a Gc/GcCell, so there are never any lifetime issues.

Then why would we need the Collect implementation for MutationContext?

Then why would we need the Collect implementation for MutationContext?

You're right - it looks like UpdateContext doesn't actually need a Collect implementation after all. I submitted a PR to Ruffle to remove it: https://github.com/ruffle-rs/ruffle/pull/3243
I still think a Collect impl for MutationContext would be sound, but I no longer have a use-case for it. It could actually be impossible to use in real code (e.g. behind a Gc/GcCell) due to lifetime issues - I haven't tested.
I'll remove that impl from this PR, and leave just PhantomData.

I still think a Collect impl for MutationContext would be sound

I believe you are correct, but it's maybe misleading to have it.

It could actually be impossible to use in real code (e.g. behind a Gc/GcCell) due to lifetime issues

I believe this is the case without unsafety, and you'd be at risk of creating a self-borrowing arena, which is why it was a bit concerning to me.

LGTM now!


image about monitor screenshot is wrong

image about monitor screenshot is wrong

Codecov Report

Merging #2047 into dev will decrease coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #2047      +/-   ##
============================================
- Coverage     33.17%   33.12%   -0.06%
+ Complexity     1553     1551       -2
============================================
  Files           313      313
  Lines         15528    15528
  Branches       1886     1886
============================================
- Hits           5152     5144       -8
- Misses         9848     9854       +6
- Partials        528      530       +2

Impacted Files
Coverage Δ
Complexity Δ

...scheduler/alert/template/AlertTemplateFactory.java
42.85% <0%> (-14.29%)
2% <0%> (ø)

...he/dolphinscheduler/common/thread/ThreadUtils.java
71.18% <0%> (-6.78%)
12% <0%> (-1%)

...pache/dolphinscheduler/common/utils/FileUtils.java
17.58% <0%> (-1.1%)
7% <0%> (ø)

...cheduler/api/service/ProcessDefinitionService.java
74.6% <0%> (-0.35%)
83% <0%> (-1%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0df7c67...adcd0f5. Read the comment docs.


ci: externalize test dependency installation in .travis.yml

This pull request just pulls before_script from .travis.yml and puts it into an external shell script. This is supposed to help migrating to another CI or local testing.
This change aligns with what we did for Azure Pipelines.
How I tested it
I visually inspected Travis CI logs and verified these:

ant -version output and # skip lines conform to the test matrix
script is performed to the end

Let me merge this so as not to block other pull requests.


KE driver schemas shows all fields can be updated

Master 3/11/19
Currently when looking at v3/schemas/amazonElasticContainerServiceConfig all resourceFields shows as update: true. This is not correct as each driver has it's own list of fields that are actually able to be updated and the schema should reflect this.
UI work will also need to be completed in order to make the cluster edit screen dynamic so a user is not confused by being able to update a field yet no change ever occurs in the provider.

I dont think we can/should tackle this in v2.3

With KEv2 being introduced for the hosted providers, this would hopefully have been addressed.
@rmweir Can you confirm if this was addressed when we refactoring EKS?

With KEv2 being introduced for the hosted providers, this would hopefully have been addressed.
@rmweir Can you confirm if this was addressed when we refactoring EKS?

@deniseschannon Yep, going forward the norman noupdate or nocreate tags just need to be added to the structs. This populates the schema correctly. Although, those tags cause input just to be dropped even if they are included in a request through curl or something instead of an error message I believe. Also, I think he UI for EKSv1 in 2.4 was changed to not show fields that cannot be updated as editable.
I have heard talk before about those tags going away once/if norman goes away so we'll have to figure out something if that does happen.

@deniseschannon Yep, going forward the norman noupdate or nocreate tags just need to be added to the structs. This populates the schema correctly. Although, those tags cause input just to be dropped even if they are included in a request through curl or something instead of an error message I believe. Also, I think he UI for EKSv1 in 2.4 was changed to not show fields that cannot be updated as editable.
I have heard talk before about those tags going away once/if norman goes away so we'll have to figure out something if that does happen.


compliance date picker woes

overview
the data picker on the compliance page has issues when set in Australian eastern time, and prolly others. also seems to be a problem on the event feed.
repro steps

around the utc day change over set your system time to Australian eastern time
go to the compliance reports page, and use the date picker
notice when you pick a date it sets to the previous date

expected behaviour

the date you select is shown in the selector and that data is shown

Can we confirm that - as of today, we would like the date picker to display UTC date?

@SEAjamieD Yes. We would like the date picker to display UTC date.


bug: CI/CD Tests Failing

Problem
CI/CD Tests hang forever and fail

Steps to reproduce
make a PR to main
Expected behavior
CI/CD Tests all pass locally and should also be passing in main.

The culprit seems to be this test, i think it has to do with the ctx and noop_waker, maybe i can debug this one while traveling.
https://github.com/primitivefinance/arbiter/blob/4075d59dad32ad82e025594ce5898ec1aa6301fc/arbiter-core/src/tests/middleware_instructions.rs#L117-L177


What will happen to XMR when fluffypony will get charged with cryptocurrency embezzlement like McAfee?

https://tinyurl.com/h4rz4f9x
https://tinyurl.com/czwswrxv

Spam or truth? There is only one way to find out. Look into the sources yourself.

tari-project/tari#3024

tari-project/tari#2997

tari-project/tari#2904

tari-project/tari#3023

tari-project/tari#3021

tari-project/tari#3020

tari-project/tari#3019


upload: Split populate reviews into 2 phases

This sets the function up to allow arbitrary topic
order in the future.
The first pass handles finding the relative topic, but
does not assume it's already populated. The second pass
needs to assume that the relative is already populated
since it uses it, so it needs to be done in topological
order.

#
head
base
diff
date
summary

0
edb2370d
df295937
diff
Mar 12 14:07 PM
1 file changed, 9 insertions(+), 6 deletions(-)

Reviews in this chain:
└https://github.com/Skydio/revup/pull/157 upload: Split populate reviews into 2 phases


Multiple disc support in album view

Kore doesn't seem to support multiple discs in the album view. Instead the track numbers are laid as the following in a three CD album;
1
1
1
2
2
2

Agree that sorting other than by title is required
Hoping to be able to contribute to the codebase soon.

Should be fixed in the next release. See #310


Removed leading slash from getAllNodes() api request

Fix for #2123
Removes a leading slash that was causing requests to api/topology/containers to return the index.html file instead of the JSON response.
@foot Could you review please? This feels like it should be fixed in the output from the back-end, but I'm worried that other stuff (including other services) might be relying on that extra slash being there.

For now API urls need to be relative when handled internally.
The backend still returns absolute paths in case someone wants to use Scope's API directly.
LGTM


fix: "GET" schema now supports the prefix format mechanism

closes #177

Shall we add a unit test verifying the behaviour for such API calls ?


Recent pull request has a bug

I made a mistake in a recent pull request.   I will fix it this afternoon.  (California time).
In _tuple_from_blend_component, I accidentally put the fields in the wrong order.  I discovered this when I wrote actual code that elided these fields.
I will fix the bug and make sure it is adequately tested.

I may want the advise of one of the more experienced developers in knowing the correct fix for this.  I see where my confusion came from.
In the specification, the fields are in the order operation, srcFactor, dstFactor.
In wgpu-py, they are used in the order srcFactor, dstFactor, operation.  See lines 1583-1953 in _api.py and line 269-271 of test_gui_glfw.py.
The specification also says nothing about allowing a tuple instead of a dictionary.  This seems to be a wgpu-py innovation.  In the other cases where we allow a tuple instead of a dictionary, this is explicitly allowed by the spec.
So should I be using (1) the order as given in the spec? (2) the order that wgpu-py seems to have settled on? or (3) only allow [a possibly empty] dictionary here and not allow a tuple or list at all.

Thanks for the quick response to the found bug. And thanks for taking the time to compare our implementation with the spec. I think its important to follow the spec rather precisely, otherwise we may drift away from it over time.
The fact that the spec does not allow a tuple is a blessing; it means we don't have to choose between 1 and 2. So my answer would be to go with 3. It may break people's code who use tuples, but over time its worth it.

Will do.  I haven't been around long enough to make backwards-incompatible
changes without authorization.
On Wed, Jun 26, 2024 at 1:54 AM Almar Klein @.***>
wrote:

Thanks for the quick response to the found bug. And thanks for taking the
time to compare our implementation with the spec. I think its important to
follow the spec rather precisely, otherwise we may drift away from it over
time.
The fact that the spec does not allow a tuple is a blessing; it means we
don't have to choose between 1 and 2. So my answer would be to go with 3.
It may break people's code who use tuples, but over time its worth it.
—
Reply to this email directly, view it on GitHub
https://github.com/pygfx/wgpu-py/issues/532#issuecomment-2191169283, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABC2LIKUB2IAESBSBEXWHWTZJJ6ULAVCNFSM6AAAAABJ4M26D6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRGE3DSMRYGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

This can closed now right @fyellin ?

The PR says Fix bug #532 but GH did not pick that up.


error TS2339: Property 'origin' does not exist on type 'Location'.

OSX 10.10.4, MS Visual Code 0.3.0 (lib.d.ts is locating inside application)
gulp script:
gulp.task('test2', function (callback) {
	var res = gulp.src([
		'source/ts/docmaster/document/Explorer.class.ts'
	])
		.pipe(typescript({
			declarationFiles: true,
			// noExternalResolve: true
		}));

	return merge([
		res.dts.pipe(gulp.dest('source/ts/d.ts')),
		res.js.pipe(gulp.dest('source/ts/d.ts'))
	])
});

Compile says
error TS2339: Property 'origin' does not exist on type 'Location'.

for my code
window.location.origin

That looks like an issue of TypeScript, can you report it there? Maybe it's already reported, so you can do a quick search first.

But compiling by tsc is successfully

Then I'll need more information of your project. Is it located on GitHub or can you create a small example that can reproduce this behavior?

Of course. I created small example

Probably your installed tsc has version 1.5 beta. gulp-typescript uses 1.4 at the moment, but you can use 1.5 beta (see readme). origin looks to be added in 1.5, so you have to use the beta of 1.5


[SPARK-12481] [CORE] [STREAMING] [SQL] Remove usage of Hadoop deprecated APIs and reflection that supported 1.x

Remove use of deprecated Hadoop APIs now that 2.2+ is required

Test build #48240 has started for PR 10446 at commit 2c9f628.

Test build #48240 has finished for PR 10446 at commit 2c9f628.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48240/
Test FAILed.

Test build #48243 has started for PR 10446 at commit 9864b68.

Test build #48243 has finished for PR 10446 at commit 9864b68.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48243/
Test FAILed.

Merged build finished. Test FAILed.

Test build #2253 has started for PR 10446 at commit 9864b68.

Test build #2253 has finished for PR 10446 at commit 9864b68.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #48366 has started for PR 10446 at commit 1fffa8e.

Test build #48366 has finished for PR 10446 at commit 1fffa8e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48366/
Test PASSed.

Pinging folks like @vanzin @pwendell @rxin @sarutak
I don't think this one is controversial, as it just follows from removing older Hadoop support and cleans up the build. Still, it's not a small change, so wouldn't mind any other set of eyes on it.

Yea I think this one is fine.
(I haven't looked at the detailed changes though)

LGTM; there's at least one extra possible cleanup, but feel free to punt on that one.

I'm pushing an update with those changes. I found a similar one in FileBasedWriteAheadLogWriter and one more in FsHistoryProvider regarding checking for safe mode.
BTW here are the additional cleanups that could be made if Hadoop 2.6+ was assumed:

SparkHadoopUtil: getFileSystemThreadStatistics, getFSBytesReadOnThreadCallback and getFSBytesWrittenOnThreadCallback only actually work on Hadoop 2.5+
Hadoop RDDs could always directly access SplitLocationInfo, InputSplitWithLocationInfo introduced in 2.5
YARN integration tests could directly access tag-related APIs like ApplicationContext getApplicationTags from 2.4 (?)
AM could cleanly handle ApplicationAttemptNotFoundException

Taken together those don't add up to much advantage, but it's not nothing. The bigger reason would be less JAR hell to deal with and being able to access new APIs more freely.

Test build #48475 has started for PR 10446 at commit 5e3318a.

Test build #48475 has finished for PR 10446 at commit 5e3318a.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/48475/
Test FAILed.

Test build #2266 has started for PR 10446 at commit 5e3318a.

Test build #2266 has finished for PR 10446 at commit 5e3318a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to master


Add kfdef image parameters.

Description
This change will allos a user to deploy dspo via a kfdef and specify image parameters within the kfdef to be used for the DSPA components.
How Has This Been Tested?
With ODH installed via Olm, deploy this kfdef:

 kfdef.yaml
apiVersion: kfdef.apps.kubeflow.org/v1
kind: KfDef
metadata:
  name: data-science-pipelines-operator
  namespace: data-science-pipelines-operator
spec:
  applications:
    - kustomizeConfig:
        parameters:
          - name: IMAGES_APISERVER
            value: BLAHBLAH
          - name: IMAGES_ARTIFACT
            value: BLAHBLAH1
          - name: IMAGES_PERSISTENTAGENT
            value: BLAHBLAH2
          - name: IMAGES_SCHEDULEDWORKFLOW
            value: BLAHBLAH3
          - name: IMAGES_VIEWERCRD
            value: BLAHBLAH4
          - name: IMAGES_CACHE
            value: BLAHBLAH5
          - name: IMAGES_MOVERESULTSIMAGE
            value: BLAHBLAH6
          - name: IMAGES_MLPIPELINEUI
            value: BLAHBLAH7
          - name: IMAGES_MARIADB
            value: BLAHBLAH8
          - name: IMAGES_MINIO
            value: BLAHBLAH9
        repoRef:
          name: manifests
          path: config/
      name: data-science-pipelines-operator
  repos:
    - name: manifests
      uri: "https://github.com/HumairAK/data-science-pipelines-operator/tarball/parameterize-kfdef"

Deploy an empty DSPA CR in any namespace, all images should crash because they will have BLAHBLAH# (i.e. it consumed the images from the kfdef above). You can cross check the images to see the appropriate images were substituted.
Note that if you update kfdef in-cluster, it will take a while (~3-5 min) for ODH operator to update the deployment, the delay is not due to dspo.
Merge criteria:

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

OAuth Proxy image should also be parametrized.

/lgtm


How to increase font of individual messages?

Hi,
like WhatsApp I would like to increase the font size when there is only one emoji sent. My code:
        let cell = super.collectionView(collectionView, cellForItemAtIndexPath: indexPath) as! JSQMessagesCollectionViewCell

        if message.text.isEmoji {
            cell.textView?.font = UIFont.systemFontOfSize(60)
        }

        return cell

This is what it looks like:

Apparently the size calculation is not correct. How to fix this?

Hey @MHX792 ! 😄
Unfortunately, this isn't completely supported by default. You'll need to:

override cellForItemAtIndexPath: (like you've done above)
implement your own JSQBubbleSizeCalculator to adjust the bubble sizes for your emoji cells.

Thanks for you answer @jessesquires!
Can you give me any hints on how to use JSQMessagesBubbleSizeCalculator? The docs are unfortunately quite unclear about this.

Ah, you can provide your own SizeCalculator object by conforming to the protocol:
http://cocoadocs.org/docsets/JSQMessagesViewController/7.3.0/Protocols/JSQMessagesBubbleSizeCalculating.html


make TSX type infer more accurate and intelligent

Suggestion

🔍 Search Terms

List of keywords you searched for before creating this issue. Write them down here so that others can find this suggestion more easily and help provide feedback.
✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion

📃 Motivating Example

the blow type is puzzling and unnecessary, the issue in react, vue, hyperscript, etc framework with tsx
case 1:
// get JSX.Element, puzzling and useless
❎ const divElement = <div> hi <div> // get JSX.Element, puzzling and useless
// get HTMLDivElement, boring
❎ const divElement = <div> hi <div> as HTMLDivElement // get HTMLDivElement, boring

case 2:
function FunCom(){
    return {
        someKey:"someValue",
        render(){
            return <div> hi </div>
        }
    }
}
// get JSX.Element, puzzling and useless
❎ const instance = <FunCom></FunCom> // get JSX.Element, puzzling and useless
// get {someKey:string, render: ()=> HTMLDivElement },  boring
❎ const instance = <FunCom></FunCom>  as {someKey:string, render: ()=> HTMLDivElement } // get {someKey:string, render: ()=> HTMLDivElement },  boring

case 3 & etc: the same issue in class component and function component ...

💻 Use Cases

below is much better
case 1:
//  get type HTMLDivElement, accurate and intelligent
✅ const divElement = <div> hi <div> //  get type HTMLDivElement, accurate and intelligent

case 2:
function FunCom(){
    return {
        someKey:"someValue",
        render(){
            return <div> hi </div>
        }
    }
}

// get {someKey:string, render: ()=> HTMLDivElement },  accurate and intelligent
✅ const instance = <FunCom></FunCom> // get {someKey:string, render: ()=> HTMLDivElement },  accurate and intelligent

case 3 & etc: the same type infer in class component and function component ...

Duplicate of #21699.


merge bitcoin#16097: Add Flags enum to ArgsManager class

LGTM but shouldn't this be merged via squashing @PastaPastaPasta ?

And one more thing - let's avoid naming commits "merge bitcoin#xxxx: ..." in future PRs when all of them are from the same original PR and the PR is meant for squashing. This is confusing to review and it also creates a mess in the original PR spamming it with tons of links.


Add TypeScript definitions

Because of reasoning in unifiedjs/unified#45, all packages consuming these types need to add dependencies on @types/node, @types/parse5, and unified.

The build appears to be green, but Travis didn’t report the status to GitHub :thinking:

The build appears to be green, but Travis didn’t report the status to GitHub 🤔

Travis CI does that sometimes :disappointed:
Closing and reopening the PR refreshes the build and status checks. :recycle:

Released in 6.0.0!


Proposing Providers changes

Blockfrost Provider

added hex encoding from Koios provider.
added endpoint data

fingerprint (needed for providing a unique key pair for iterated components)
totalSupply (needed for determining if asset is NFT or not)
mintingTxHash (might need if checking wallet of nft creator/policy signer)
mintCount

Koios Provider

added endpoint data

fingerprint (needed for providing a unique key pair for iterated components)
totalSupply (needed for determining if asset is NFT or not)
mintingTxHash (might need if checking wallet of nft creator/policy signer)
mintCount

Koios also has a timestamp of asset creation, but blockfrost doesnt have this. I find it could be very nice to have as an option for all mesh users

merged


Can't use jshell on stu, anyone else facing this issue?

Can't seem to run jshell on the stu server. Tried to exit and login to stu again but it still didn't work. It was working perfectly fine earlier in the day but when I logged in tonight I came across this problem. (jshell it works fine on my local cmd though). Anyone have any advice?

No, looks good to me

Yep working for me too. Judging from this StackOverflow link it's probably not your fault:
https://stackoverflow.com/questions/8384000/java-io-ioexception-error-11

Seems to be working for me as well, maybe you can try looking at this to see if anything fits your description: https://stackoverflow.com/questions/13216148/what-throws-an-ioexception-in-java

Got it working eventually, apparently the previous time i used jshell it didn't close properly, my ta helped me out with it in the end. Thanks for the help everyone!

Got it working eventually, apparently the previous time i used jshell it didn't close properly, my ta helped me out with it in the end. Thanks for the help everyone!

Hi, just checking if you know what your TA did to resolve this issue. I am currently facing the same issue now

Got it working eventually, apparently the previous time i used jshell it didn't close properly, my ta helped me out with it in the end. Thanks for the help everyone!

Hi, just checking if you know what your TA did to resolve this issue. I am currently facing the same issue now
Edit: never mind i figured it out. there was another instance of jshell running in another tmux session

Oops sorry I just saw this, glad you were able to resolve the issue!!


PHP Webservice not able to connect

Your description here
I have created a signup table and filling that table entry using PHP webservice. but when i am trying to test using "ChromeRestClient" it is getting fail.
Expected outcome
It has to show what are the value i am passing through from. but it is showing "FATAL" error.
Actual outcome
What happened?
Versions
App: <IP_ADDRESS>5-stable
Chrome: 56.0.2924.87
Platform: Windows (10)
Steps to reproduce

Hi,
Thank you for the issue report.
Can you, please, provide more details? Add to the description what data you are sending to the server and headers list. Then I'll be able to help you :)
Thanks.

Closing because of lack of activity


Allow collapsing DragAndDropListExpansion while dragging

It would be nice to allow collapsing DragAndDropListExpansion while it is being dragged. Currently it may be difficult to see drop position if there a lot of items in the list as the dragged item hides the list behind.

I am having this issue also. Why does it expand out the list item. Any way to override or set a shape while dragging.. thanks kindly! love this library.