How can I solve this problem when install

when sudo sh ./Install_cn.sh
Error:

#HOLMES environment variables
#log level
HOLMES_LOG_LEVEL=INFO
# use other redis config; default: docker redis://redis:6379/0
# HOLMES_REDIS_URL=redis://<IP_ADDRESS>:6379/0
# session encryption string
HOLMES_COOKIE_SECRET=b3da006876108d19dda000134e4025fe
# database encryption string, same with HOLMES_SECRET_KEY, you can change
HOLMES_SECRET_KEY=b3da006876108d19dda000134e4025fe
# use other postgresql database; default docker postgresql://postgres@postgres/postgres
# HOLMES_DATABASE_URL="postgresql://user:pwd@ip/database"
# allow custom js visualizations
HOLMES_FEATURE_ALLOW_CUSTOM_JS_VISUALIZATIONS=True
# Language CN/EN, only ip address ,no
WEB_LANGUAGE=CN
# web server ip address or domain,for ai get database config option. port 5000,same with Docker
WEB_SERVER=<IP_ADDRESS>:8338
# api secret key for ai get database config option
DB_API_SECRET_KEY=b3da006876108d19dda000134e4025fe
# web content security policy
HOLMES_CONTENT_SECURITY_POLICY="style-src 'self' 'unsafe-inline'; font-src 'self' data:; img-src 'self' http: https: data: blob:; object-src 'none'; frame-ancestors 'none';"
# socket dir, need set Localhost ip
REACT_APP_SOCKET_URL=<IP_ADDRESS>:8339/chat/
# static file CDN
CDN_DOMAIN=
--------------------------------
下面将开始 通过docker-compose 拉取创建镜像，可能需要60分钟，主要根据你的网络情况，请耐心等待。
或者，你修改本地docker 镜像源地址，比如更改为阿里云等
[+] Building 159.0s (27/28)                                                                                docker:default
 => [server internal] load build definition from Dockerfile                                                                           0.0s
 => => transferring dockerfile: 2.99kB                                                                                0.0s
 => [server internal] load .dockerignore                                                                                0.0s
 => => transferring context: 263B                                                                                0.0s
 => [server internal] load metadata for docker.io/library/python:3.8.18-slim                                                          1.9s
 => [server internal] load metadata for docker.io/library/node:14.17                                                                  1.9s
 => [server frontend-builder  1/10] FROM docker.io/library/node:14.17@sha256:40aa86fa97c6cb85af15ecdd67798f7578c5c20e8d16f99d5b4f8f1  0.0s
 => => resolve docker.io/library/node:14.17@sha256:40aa86fa97c6cb85af15ecdd67798f7578c5c20e8d16f99d5b4f8f14196a0568                   0.0s
 => [server internal] load build context                                                                                0.1s
 => => transferring context: 124.77kB                                                                                0.1s
 => [server stage-1  1/13] FROM docker.io/library/python:3.8.18-slim@sha256:19e07fa24813e88b04e606772213bd03ba044637cc939a211e28ccf9  0.0s
 => => resolve docker.io/library/python:3.8.18-slim@sha256:19e07fa24813e88b04e606772213bd03ba044637cc939a211e28ccf997a9162a           0.0s
 => CACHED [server stage-1  2/13] RUN useradd --create-home holmes                                                                    0.0s
 => CACHED [server stage-1  3/13] RUN apt-get update                                                                                0.0s
 => CACHED [server stage-1  4/13] RUN apt-get clean && apt-get update &&   apt-get install -y --no-install-recommends   curl   gnupg  0.0s
 => CACHED [server stage-1  5/13] RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple                        0.0s
 => CACHED [server stage-1  6/13] RUN pip install --upgrade pip                                                                       0.0s
 => [server stage-1  7/13] COPY --chown=holmes . /app                                                                                0.2s
 => CACHED [server frontend-builder  2/10] RUN npm install --global --force<EMAIL_ADDRESS>                                            0.0s
 => CACHED [server frontend-builder  3/10] RUN useradd -m -d /frontend holmes                                                         0.0sl
 => CACHED [server frontend-builder  4/10] WORKDIR /frontend                                                                          0.0s
 => CACHED [server frontend-builder  5/10] COPY --chown=holmes package.json yarn.lock .yarnrc /frontend/                              0.0sl
 => CACHED [server frontend-builder  6/10] COPY --chown=holmes client /frontend/client                                                0.0s
 => CACHED [server frontend-builder  7/10] COPY --chown=holmes package.json /frontend/                                                0.0sl
 => CACHED [server frontend-builder  8/10] COPY --chown=holmes webpack.config.js /frontend/                                           0.0s
 => [server frontend-builder  9/10] COPY --chown=holmes .env /frontend/                                                               0.0s
 => [server frontend-builder 10/10] RUN yarn && yarn build                                                                          146.8s
 => [server stage-1  8/13] WORKDIR /app                                                                                0.0s
 => [server stage-1  9/13] COPY --from=frontend-builder /frontend/client/dist /app/client/dist                                        0.2s
 => [server stage-1 10/13] RUN pip install pip==20.2.4                                                                                1.8s
 => [server stage-1 11/13] RUN if [ "xyes" = "x" ] ; then pip install -r requirements_dev.txt ; fi                                    0.3s
 => ERROR [server stage-1 12/13] RUN pip install -r requirements.txt && pip install -r requirements_ai.txt                            7.7s
------
 > [server stage-1 12/13] RUN pip install -r requirements.txt && pip install -r requirements_ai.txt:
0.400 Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
0.650 Collecting Flask==1.1.1
0.717   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/9b/93/628509b8d5dc749656a9641f4caf13540e2cdec85276964ff8f43bbb1d3b/Flask-1.1.1-py2.py3-none-any.whl (94 kB)
0.899 Collecting Jinja2==2.10.3
0.952   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/65/e0/eb35e762802015cab1ccee04e8a277b03f1d8e53da3ec3106882ec42558b/Jinja2-2.10.3-py2.py3-none-any.whl (125 kB)
1.077 Collecting itsdangerous==1.1.0
1.131   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
1.242 Collecting click==6.7
1.297   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl (71 kB)
1.471 Collecting MarkupSafe==1.1.1
1.524   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/83/66/ec77a7000486d4d6acb599993b58dc4c97d510e3f2c37b81d31fb7632c4f/MarkupSafe-1.1.1-cp38-cp38-manylinux2014_aarch64.whl (33 kB)
1.606 Collecting pyOpenSSL==19.0.0
1.659   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53 kB)
1.744 Collecting httplib2==0.14.0
1.797   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/d2/84/f97b9efdb17c9b73e133bdbf2b4bfd09cd0be655e36e3ee3c4bec9095048/httplib2-0.14.0-py3-none-any.whl (94 kB)
1.892 Collecting wtforms==2.2.1
1.946   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/9f/c8/dac5dce9908df1d9d48ec0e26e2a250839fa36ea2c602cc4f85ccfeb5c65/WTForms-2.2.1-py2.py3-none-any.whl (166 kB)
2.106 Collecting Flask-RESTful==0.3.7
2.162   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/17/44/6e490150ee443ca81d5f88b61bb4bbb133d44d75b0b716ebe92489508da4/Flask_RESTful-0.3.7-py2.py3-none-any.whl (24 kB)
2.239 Collecting Flask-Login==0.4.1
2.291   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/c1/ff/bd9a4d2d81bf0c07d9e53e8cd3d675c56553719bbefd372df69bf1b3c1e4/Flask-Login-0.4.1.tar.gz (14 kB)
2.548 Collecting Flask-SQLAlchemy==2.4.1
2.606   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1e/65/226d95466c75e34e291a76890ed0e27af2e46ab913002847856f11d4d59d/Flask_SQLAlchemy-2.4.1-py2.py3-none-any.whl (17 kB)
2.682 Collecting Flask-Migrate==2.5.2
2.733   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/4b/22/d20a105f13c58fe590ef38ac59d5cabc1a917549ea8f90b0ca7b4e84f6be/Flask_Migrate-2.5.2-py2.py3-none-any.whl (13 kB)
2.810 Collecting flask-mail==0.9.1
2.871   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/05/2f/6a545452040c2556559779db87148d2a85e78a26f90326647b51dc5e81e9/Flask-Mail-0.9.1.tar.gz (45 kB)
3.075 Collecting flask-talisman==0.7.0
3.128   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/88/cd/b4e2be50bfc53607e2359d12899a105a3b18ae68cb6a573d70c535ebeca5/flask_talisman-0.7.0-py2.py3-none-any.whl (12 kB)
3.236 Collecting Flask-Limiter==0.9.3
3.292   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/9b/1b/23841342194bdd55e33d85a6f2e023c69d837fb69cee173352b7edba3c1f/Flask-Limiter-0.9.3.tar.gz (82 kB)
3.475 Collecting Flask-WTF==0.14.3
3.527   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/36/a9/8c01171066bd7a524ee005d81bb4a8aa446ab178043a1ad6cb5dc8f0bd83/Flask_WTF-0.14.3-py2.py3-none-any.whl (13 kB)
3.596 Collecting passlib==1.7.1
3.649   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/ee/a7/d6d238d927df355d4e4e000670342ca4705a72f0bf694027cf67d9bcf5af/passlib-1.7.1-py2.py3-none-any.whl (498 kB)
3.807 Collecting aniso8601==8.0.0
3.861   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/eb/e4/787e104b58eadc1a710738d4e418d7e599e4e778e52cb8e5d5ef6ddd5833/aniso8601-8.0.0-py2.py3-none-any.whl (43 kB)
3.947 Collecting blinker==1.4
4.003   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/1b/51/e2a9f3b757eb802f61dc1f2b09c8c99f6eb01cf06416c0671253536517b6/blinker-1.4.tar.gz (111 kB)
4.268 Collecting psycopg2==2.8.3
4.320   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/5c/1c/6997288da181277a0c29bc39a5f9143ff20b8c99f2a7d059cfb55163e165/psycopg2-2.8.3.tar.gz (377 kB)
4.555 Collecting python-dateutil==2.8.0
4.605   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226 kB)
4.751 Collecting pytz>=2019.3
4.803   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/32/4d/aaf7eff5deb402fd9a24a1449a8119f00d74ae9c2efa79f8ef9994261fc2/pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
4.934 Collecting PyYAML==5.4
4.985   Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b5/fd/15638de2da0a5aa91c095718444624aa565f766fc178249ca6faa372f71a/PyYAML-5.4.tar.gz (174 kB)
5.073   Installing build dependencies: started
7.523   Installing build dependencies: finished with status 'done'
7.524   Getting requirements to build wheel: started
7.651   Getting requirements to build wheel: finished with status 'error'
7.651   ERROR: Command errored out with exit status 1:
7.651    command: /usr/local/bin/python /usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpijhzqawr
7.651        cwd: /tmp/pip-install-k8zf91q9/pyyaml
7.651   Complete output (48 lines):
7.651   running egg_info
7.651   writing lib3/PyYAML.egg-info/PKG-INFO
7.651   writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
7.651   writing top-level names to lib3/PyYAML.egg-info/top_level.txt
7.651   Traceback (most recent call last):
7.651     File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
7.651       main()
7.651     File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
7.651       json_out['return_val'] = hook(**hook_input['kwargs'])
7.651     File "/usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel
7.651       return hook(config_settings)
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
7.651       return self._get_build_requires(config_settings, requirements=['wheel'])
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
7.651       self.run_setup()
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 311, in run_setup
7.651       exec(code, locals())
7.651     File "<string>", line 271, in <module>
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup
7.651       return distutils.core.setup(**attrs)
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
7.651       return run_commands(dist)
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
7.651       dist.run_commands()
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
7.651       self.run_command(cmd)
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 963, in run_command
7.651       super().run_command(command)
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
7.651       cmd_obj.run()
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 321, in run
7.651       self.find_sources()
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 329, in find_sources
7.651       mm.run()
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 551, in run
7.651       self.add_defaults()
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults
7.651       sdist.add_defaults(self)
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/command/sdist.py", line 112, in add_defaults
7.651       super().add_defaults()
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
7.651       self._add_defaults_ext()
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
7.651       self.filelist.extend(build_ext.get_source_files())
7.651     File "<string>", line 201, in get_source_files
7.651     File "/tmp/pip-build-env-h6u0s6i5/overlay/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
7.651       raise AttributeError(attr)
7.651   AttributeError: cython_sources
7.651   ----------------------------------------
7.651 ERROR: Command errored out with exit status 1: /usr/local/bin/python /usr/local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpijhzqawr Check the logs for full command output.
------
failed to solve: process "/bin/sh -c pip install -r requirements.txt && pip install -r requirements_ai.txt" did not complete successfully: exit code: 1
--------------------------------

We have just tested on Mac OS 14+, Ubuntu 20.04+, and Windows WSL 22.04, and did not encounter the corresponding error.

Please let us know the environment you are running in, and we will test in the corresponding environment.
Alternatively, you can try reinstalling the command using sudo ./Install_cn.sh.

We have just tested on Mac OS 14+, Ubuntu 20.04+, and Windows WSL 22.04, and did not encounter the corresponding error.

Please let us know the environment you are running in, and we will test in the corresponding environment.
Alternatively, you can try reinstalling the command using sudo ./Install_cn.sh.

Do not use <IP_ADDRESS> as the Docker service IP, because Docker uses the local intranet address. It is recommended to use the local intranet address of the host machine instead. Such as 192.168.xxx.xxx

The same problem occurred when building docker images on computers with macbook pro m1 chips

The cause of this problem are two python depend on the version of the problems, the specific reference issus address: https://github.com/yaml/pyyaml/issues/724
Corresponding solutions: PyYaml upgraded to 6.0, cryptography upgraded to 3.1.1


"Failed to find module $foo in $path None" when an integration test has a module of the same name

To Reproduce
.
├── Cargo.toml
├── src
│   └── lib.rs
└── tests
    ├── level1
    │   └── level2.rs
    └── level1.rs

src/lib.rs is empty.

tests/level1.rs
mod level1 {
    mod level2;
}

tests/level1/level2.rs
#[test]
fn dummy() {}

cargo test

running 1 test
test level1::level2::dummy ... ok

cargo fmt
Error writing files: io error: Failed to find module level2 in ".../repro/tests/level1/level1" None

Expected behavior
The file would be found and formatted.
Meta

rustfmt version: rustfmt 1.4.17-stable (8a93416c 2020-07-20); rustfmt 1.4.18-stable (8157a3f0 2020-07-15)
From where did you install rustfmt?: rustup
How do you run rustfmt: cargo-fmt

This has been fixed in source (on the master/v2.0 branch) but hasn't been released yet.
v1.4.20 currently on nightly has the first part of this that includes improved error messages, and I'll look into backporting the remainder to a future 1.x release.
Going to go ahead and close though as there's no additional changes to be made to rustfmt

This was fixed(?) in rustfmt 1.4.37-stable (2a3635d5 2021-05-04) and regressed in rustfmt 1.4.37-stable (a178d032 2021-07-26). It seems surprising that they have the same version number for different hashes...
% cargo +1.53 fmt
% cargo +stable fmt
Error writing files: failed to resolve mod `level2`: /private/tmp/repro/tests/level1/level1 does not exist

I'll look into backporting the remainder to a future 1.x release.

Is there an issue I can follow to track any potential progress, seeing as how this one is closed?

I didn't look to see how long Cargo has supported this, but you can create subdirectories in tests and then have regular modules there. That solves my original problem and rustfmt doesn't complain.

Apologies. This slipped through my notifications inbox without a response.
There is a closed issue somewhere that (hopefully) has the corresponding backporting status label on it, but don't have it handy. Will cross post here for awareness once i find it and once backported will add a note to both so that subscribed folks will know.
This is largely a matter of going back and grabbing the corresponding commits that fixed it for 2.x, and likely reshaping them given how much the module resolution portion of the code had diverged between the two branches. Not something I'll get to in the immediate future but it's pretty high up on my list.

This was fixed(?) in

Not to my knowledge. I suspect what you're seeing was a bug that existed for a while where rustfmt incorrectly failed to even attempt to load such modules (which would have resulted in the error message not being presented).

It seems surprising that they have the same version number for different hashes.

rustfmt changed from a submodule to a subtree in r-l/rust not too long ago, so it's not uncommon for compiler contributors to also update rustfmt source as they make their changes, particularly to the AST and/or parser. The semver portion of the version is something we update when we sync more significant changes from here to there.
Long term I'm not sure how much sense it makes to continue having rustfmt versioned independently, but that's a separate topic altogether


Docs: restructure Cluster Mesh scaling section

A user in the community mentioned some confusion around cluster-local identity limit in the Scaling Limitations section of the Cluster Mesh guide. A note was added to call out that this is a Cilium limitation, and not one specific to Cluster Mesh.
Additionally, the section was reorganized to reduce repetition.

/test


SDRF definition for metabolomics and affinity proteomics

We should have a prototype of an SDRF definition for metabolomics data. EPMA will work with SDRF for the standard metadata for samples for proteomics and metabolomics, and in principle, the file format MUST be required for each submission.
In addition, the format MUST support affinity proteomics data because EPMA will support this type of submission.  The corresponding validator must be updated for both use cases.

It is too early to say, but I think that it will be difficult in practice to make the format mandatory. This needs to be checked with the EGA team but my understanding is that every Consortium producing sensitive data have their own metadata format (as it usually happens). And also, very few people curate the datasets appropriately, unless the EGA team is "paid" to do it. I had this conversation with EGA Barcelona just before Christmas, in the context of the grant application we are working in.
As a possible idea, what could be made mandatory in a first stage is some kind of file including the experimental design information, even if it is not the same one. Again, to be discussed in detail, and also to learn from the experiences of the EGA team.

We do have an standard file format for sample metadata different to other consortiums. We can discuss this in person but we can't allow submissions without sample metadata because we will be repeating the same mistakes that PRIDE/ProteomeXchange made 10 years ago.
The format must be extended to support both types of experiments, and we should aim to make them mandatory. BTW, sample metadata is mandatory in EGA. The way the sample metadata is captured is in different file formats, but it is indeed mandatory. Also metaboligths require sample metadata.


[flutter_tools] run UWP builds ahead of cmake

Temporary work around for CMake task ordering. run the uwp build ahead of calling cmake. Update install manifest to have / paths

LGTM

g3 testing is unrelated failure that was rolled back.


Download error while set up the env with the install.sh (IDFGH-3956)

I will get an SSL error when I try to set up the environment with the script install.sh
i use python3.
❯ ./install.sh
Installing ESP-IDF tools
Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, esp32ulp-elf, esp32s2ulp-elf, openocd-esp32
Installing<EMAIL_ADDRESS>Downloading xtensa-esp32-elf-gcc8_2_0-esp-2020r2-linux-amd64.tar.gz to /home/wyz/.espressif/dist/xtensa-esp32-elf-gcc8_2_0-esp-2020r2-linux-amd64.tar.gz.tmp
WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)>
WARNING: Failed to download https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp-2020r2-linux-amd64.tar.gz to /home/wyz/.espressif/dist/xtensa-esp32-elf-gcc8_2_0-esp-2020r2-linux-amd64.tar.gz.tmp
The following code will solve this issue. Can you merge it into mater? It will save a lot of time for people who also enconter this problem.
import ssl ssl._create_default_https_context = ssl._create_unverified_context
Thank you.

Hi @WuYingzheng, thanks for posting this solution.
While it does solve the problem, we would not like to suggest our users to ignore certificate validation issues, especially when downloading executable files from the Internet, as nasty things may happen.
Usually this error is caused by an outdated set of TLS root certificates. If you share which Linux distribution (and which version) you use, and also how you installed Python 3, I can give some suggestions about updating the TLS root certificate bundle.

Thank you for your reply!
I use window sub-system linux. Now i have migrated to ubuntu.


Add Cross-platform Node.js

https://github.com/bcoe/awesome-cross-platform-nodejs
Libraries and resources related to writing Node.js that works on Windows, Mac, Linux and BSD, by @bcoe.
Why this matters: according to the 2018 Node.js user survey, 24% of Node.js developers use Windows locally and 41% use Mac. In production 85% use Linux and 1% use BSD.

Thanks ehmicky!


What is Logger actually doing

Trying to grok the core Log method. What is it actually doing? Basically splitting/reporting "lines" (loosely speaking) of potentially new-line or carriage-return-new-line delimited text? Why not simply use the String.Split using the RemoveEmptyEntries?

It might've been overcomplicated. My best guess is for performance reasons to minimize amount of string instances.

Gah, I have no idea what it's doing. I deny any ownership of that. ;)

Trying for it to behave like a Span before there was such a thing?

I think the initial version of the logger was written by me. I think I just tried to allocate less strings.


Refactors CMapFactory.create to make it async

For #6352. Up for review

Review status: 0 of 3 files reviewed at latest revision, 18 unresolved discussions.

src/core/cmap.js, line 445 [r2] (raw file):
You can remove nonBinaryRequest branches and always use request.responseType = 'arraybuffer';

src/core/cmap.js, line 980 [r2] (raw file):
return cMap; here to resolve promise into cMap

src/core/cmap.js, line 1003 [r2] (raw file):
Here (and in XHR above) check if the url is HTTP (e.g. /^https?:/i.test(url);) and if not check status === 0.

src/core/evaluator.js, line 253 [r2] (raw file):
unneeded change

src/core/evaluator.js, line 344 [r2] (raw file):
unneeded change

src/core/evaluator.js, line 430 [r2] (raw file):
unneeded change

src/core/evaluator.js, line 508 [r2] (raw file):
unneeded change

src/core/evaluator.js, line 803 [r2] (raw file):
unneeded change

src/core/evaluator.js, line 827 [r2] (raw file):
unneeded change

src/core/evaluator.js, line 1187 [r2] (raw file):
unneeded change

src/core/evaluator.js, line 1555 [r2] (raw file):
there shall no be return, make it: var toUnicodePromise = toUnicode ? this.readToUnicode(toUnicode) : Promise.resolve(undefined);. Instead of wrapping the code below in then() you can split extractDataStructures into two functions and call rest of extractDataStructures when toUnicodePromise is resolved

src/core/evaluator.js, line 1653 [r2] (raw file):
you already handling then() -- Promise.resolve is not needed

Comments from the review on Reviewable.io

@yurydelendik  All squash all the commits at the end when the code review is done. Okay?

@yurydelendik All squash all the commits at the end when the code review is done. Okay?

You can squash commits as you pushing updated version to this PR (reviewable shall be able to track that I hope).

Review status: 0 of 3 files reviewed at latest revision, 18 unresolved discussions.

src/core/cmap.js, line 973 [r1] (raw file):
Done.

src/core/cmap.js, line 985 [r1] (raw file):
Done.

src/core/cmap.js, line 445 [r2] (raw file):
Can you please explain this? Why are the nonBinaryRequest branches no longer necessary?

src/core/cmap.js, line 980 [r2] (raw file):
But processBinaryCMap alreadys returns a cMap

src/core/cmap.js, line 1003 [r2] (raw file):
Done.

src/core/evaluator.js, line 1554 [r1] (raw file):
Done.

src/core/evaluator.js, line 1560 [r1] (raw file):
Done.

src/core/evaluator.js, line 1688 [r1] (raw file):
Done.

src/core/evaluator.js, line 2086 [r1] (raw file):
Done.

src/core/evaluator.js, line 253 [r2] (raw file):
This was after Snuffleupaugus mentioned about the line breaks I made in the patch. He was referring to my patch alone and I guess I overdid.
Reverting the  unneeded changes you've pointed out.

src/core/evaluator.js, line 344 [r2] (raw file):
Done.

src/core/evaluator.js, line 430 [r2] (raw file):
Done.

src/core/evaluator.js, line 508 [r2] (raw file):
Done.

src/core/evaluator.js, line 803 [r2] (raw file):
Done.

src/core/evaluator.js, line 827 [r2] (raw file):
Done.

src/core/evaluator.js, line 1187 [r2] (raw file):
Done.

src/core/evaluator.js, line 1555 [r2] (raw file):
Can you explain the reason behind this change?

src/core/evaluator.js, line 1653 [r2] (raw file):
Done.

Comments from the review on Reviewable.io

Looks good so far. One or two thing are left: chaining promises extractDataStructures and translateFont. Thanks

Reviewed 1 of 3 files at r1, 2 of 2 files at r3.
Review status: all files reviewed at latest revision, 7 unresolved discussions.

src/core/cmap.js, line 445 [r2] (raw file):
nonBinaryRequest was only added because sync XHR cannot handle binary data -- it's not need since we are making everything async and we can use arraybuffer with XHR.

src/core/cmap.js, line 980 [r2] (raw file):
Nevermind, I thought it's a Promise's then callback -- we will refactor this later

src/core/cmap.js, line 1003 [r2] (raw file):
shall be var expectedStatus = /^https?:/i.test(url) ? 200 : 0; ... if (request.status !== expectedStatus) ...

src/core/evaluator.js, line 2086 [r1] (raw file):
The same situation is at extractDataStructures above, we need to chain promise here: wait for CMapFactory.create to be resolve before we proceed with the code below.

src/core/evaluator.js, line 253 [r2] (raw file):
Extra change make it hard to review, it's better if only new/affected code is changed. Thanks

src/core/evaluator.js, line 1555 [r2] (raw file):
The code path below shall continue after this.readToUnicode is done, i.e. the cidToGidMap and differences properties must be assigned too

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 3 unresolved discussions.

src/core/cmap.js, line 445 [r2] (raw file):
So mapping responseText to an character array (ch & 255) is not necessary? resolve(new Uint8Array(request.response)); is enough? (cmap.js#L431)
Can you help me understand this?
      if (!nonBinaryRequest) {
        try {
          request.responseType = 'arraybuffer';
          nonBinaryRequest = request.responseType !== 'arraybuffer';
        } catch (e) {
          nonBinaryRequest = true;
        }
      }

Can this be safely removed too?

src/core/evaluator.js, line 253 [r2] (raw file):
I figured :) My bad

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 3 unresolved discussions.

src/core/cmap.js, line 445 [r2] (raw file):
I mean replace it with request.responseType = 'arraybuffer'

Comments from the review on Reviewable.io

Review status: 1 of 3 files reviewed at latest revision, 3 unresolved discussions.

src/core/evaluator.js, line 253 [r2] (raw file):
Done.

Comments from the review on Reviewable.io

Reviewed 2 of 2 files at r4.
Review status: all files reviewed at latest revision, 3 unresolved discussions.

src/core/cmap.js, line 445 [r2] (raw file):
That's correct, you can use only request.responseType = 'arraybuffer' (We shall have polyfill in compatibility.js for browsers that does not support arraybuffer).

src/core/cmap.js, line 446 [r4] (raw file):
Add the same expectedStatus check as below here

Comments from the review on Reviewable.io

Review status: 2 of 3 files reviewed at latest revision, 2 unresolved discussions.

src/core/cmap.js, line 446 [r4] (raw file):
Done.

Comments from the review on Reviewable.io

Reviewed 1 of 1 files at r5.
Review status: all files reviewed at latest revision, 3 unresolved discussions.

src/core/cmap.js, line 429 [r5] (raw file):
async parameter shall be true here

src/core/evaluator.js, line 345 [r5] (raw file):
unneeded change?

Comments from the review on Reviewable.io

Review status: 1 of 3 files reviewed at latest revision, 3 unresolved discussions.

src/core/evaluator.js, line 345 [r5] (raw file):
Reverting

Comments from the review on Reviewable.io

Review status: 1 of 3 files reviewed at latest revision, 5 unresolved discussions.

src/core/cmap.js, line 718 [r5] (raw file):
processBinaryCMap (aka BinaryCMapReader.read) calls the extend callback which can be async (it returns promise?). Let's not refactor it now, but return extend(useCMap).then(function () { return cMap; }); and fix parseBinaryCMap below

src/core/cmap.js, line 958 [r5] (raw file):
make extendCMap async and return its promise here (the createBuiltInCMap used by this function is async)

Comments from the review on Reviewable.io

Review status: 1 of 3 files reviewed at latest revision, 4 unresolved discussions.

src/core/cmap.js, line 958 [r5] (raw file):
Or simply return cmap from .read()?

Comments from the review on Reviewable.io

Review status: 1 of 3 files reviewed at latest revision, 4 unresolved discussions.

src/core/cmap.js, line 958 [r5] (raw file):
processBinaryCMap (i.e. .read()) returns a promise after all.

Comments from the review on Reviewable.io

Here function async status:

[x] processBinaryCMap -> fetchBinaryData, extendCMap
[ ] parseCMap -> extendCMap
[x] extendCMap -> createBuiltInCMap
[x] createBuiltInCMap -> parseBinaryCMap, parseCMap
[x] CMapFactory.create -> createBuiltInCMap, parseCMap
[ ] buildToUnicode -> CMapFactory.create
[x] readToUnicode -> CMapFactory.create
[x] translateFont ->  CMapFactory.create, extractDataStructures
[x] extractDataStructures -> readToUnicode

Problem we have parseCMap and buildToUnicode is sync. Former is easy to convert, the latter is hard. Let's move buildToUnicode body into evaluator near extractDataStructures and chain its call after toUnicode.

Review status: 1 of 3 files reviewed at latest revision, 6 unresolved discussions.

src/core/evaluator.js, line 1640 [r5] (raw file):
toUnicodePromise.then(function(toUnicode) {

src/core/evaluator.js, line 1655 [r5] (raw file):
nit: indent

Comments from the review on Reviewable.io

Review status: 1 of 3 files reviewed at latest revision, 6 unresolved discussions.

src/core/cmap.js, line 958 [r5] (raw file):
Loading during extendCMap might be incomplete due to its createBuiltInCMap call but we will be signaling that we are done. So we have to make extendCMap async and wait on its promise here. extendCMap may or may not return result cMap, however read() call shall return the cMap we are loading.

Comments from the review on Reviewable.io

Review status: 1 of 3 files reviewed at latest revision, 5 unresolved discussions.

src/core/evaluator.js, line 1640 [r5] (raw file):
Move buildToUnicode here?

Comments from the review on Reviewable.io

Reviewed 1 of 2 files at r7, 1 of 1 files at r8.
Review status: all files reviewed at latest revision, 6 unresolved discussions.

src/core/cmap.js, line 938 [r8] (raw file):
Use right cMap here. Rename the function parameter into e.g. newCMap and assign it to the cMap.useCMap = newCMap. The function shall return cMap

src/core/evaluator.js, line 1640 [r5] (raw file):
That's correct,
return toUnicodePromise.then(function(toUnicode) {
   properties.toUnicode = toUnicode;
   return this.buildToUnicode(properties);
}.this(this)).then(function (toUnicode) {
  properties.toUnicode = toUnicode;
  return properties;
});

We will refactor the logic of buildToUnicode later.

Comments from the review on Reviewable.io

I recommend to rebase it to the newest mozilla/master before moving buildToUnicode (I saw some of PRs landed that will affect it)

Sure. Thanks for the heads up

Review status: 1 of 3 files reviewed at latest revision, 6 unresolved discussions.

src/core/evaluator.js, line 1640 [r5] (raw file):
Will the buildToUnicode here be a copy of buildToUnicode of fonts. We can't move it out of fonts since Fonts constructor needs it too.
I don't understand how this chaining helps

Comments from the review on Reviewable.io

Reviewed 2 of 2 files at r9.
Review status: all files reviewed at latest revision, 6 unresolved discussions.

src/core/evaluator.js, line 1640 [r5] (raw file):
I think we can move: in Font constructor keep only this.toUnicode = properties.toUnicode;. I don't anything else that needed from font in buildToUnicode.

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 7 unresolved discussions, some commit checks failed.

src/core/cmap.js, line 937 [r9] (raw file):
nit: line is too long?

src/core/evaluator.js, line 1640 [r5] (raw file):
The chaining above will just save the sequence in which properies.toUnicode processed.

Comments from the review on Reviewable.io

Review status: 0 of 3 files reviewed at latest revision, 8 unresolved discussions.

src/core/evaluator.js, line 1639 [r10] (raw file):
change toUnicodePromise(toUnicode) to just toUnicodePromise

src/core/evaluator.js, line 1653 [r10] (raw file):
Font_buildToUnicode => partialEvaluatorBuildToUnicode
Make this function return the promise

Comments from the review on Reviewable.io

Reviewed 3 of 3 files at r10, 1 of 1 files at r11.
Review status: all files reviewed at latest revision, 10 unresolved discussions.

src/core/evaluator.js, line 1653 [r10] (raw file):
Change Font_buildToUnicode name

src/core/evaluator.js, line 1762 [r11] (raw file):
nit: indent

src/core/evaluator.js, line 1781 [r11] (raw file):
nit: align 'properties.' or start 'new IdentityToUnicodeMap(' on new line with indent

Comments from the review on Reviewable.io

/botio-windows test

Review status: all files reviewed at latest revision, 10 unresolved discussions.

src/core/evaluator.js, line 1653 [r10] (raw file):
to partialEvaluatorBuildToUnicode?

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 13 unresolved discussions.

src/core/evaluator.js, line 1655 [r5] (raw file):
Tried indenting like Snuffleupagus recommended. How would you like it?

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 12 unresolved discussions.

src/core/evaluator.js, line 1653 [r10] (raw file):
yes

Comments from the review on Reviewable.io

Review status: all files reviewed at latest revision, 12 unresolved discussions.

src/core/evaluator.js, line 354 [r11] (raw file):
Not sure what you are referring to.

Comments from the review on Reviewable.io

Review status: 1 of 3 files reviewed at latest revision, 14 unresolved discussions.

src/core/evaluator.js, line 2133 [r13] (raw file):
add }.bind(this)

src/core/evaluator.js, line 2232 [r13] (raw file):
add .bind(this)

Comments from the review on Reviewable.io

Reviewed 1 of 2 files at r12, 1 of 1 files at r14.
Review status: all files reviewed at latest revision, 14 unresolved discussions.

Comments from the review on Reviewable.io

/botio-windows test

cmap_spec needs to be fix, e.g.:
@@ -7,16 +7,34 @@ var cMapUrl = '../../external/bcmaps/';
 var cMapPacked = true;

 describe('cmap', function() {
+  var TEST_TIMEOUT = 20000;
+  function waitsForPromiseResolved(promise, successCallback) {
+    var resolved = false;
+    promise.then(function(val) {
+        resolved = true;
+        successCallback(val);
+      },
+      function(error) {
+        // Shouldn't get here.
+        expect(error).toEqual('the promise should not have been rejected');
+      });
+    waitsFor(function() {
+      return resolved;
+    }, TEST_TIMEOUT);
+  }
+
   it('parses beginbfchar', function() {
     var str = '2 beginbfchar\n' +
               '<03> <00>\n' +
               '<04> <01>\n' +
               'endbfchar\n';
     var stream = new StringStream(str);
-    var cmap = CMapFactory.create(stream);
-    expect(cmap.lookup(0x03)).toEqual(String.fromCharCode(0x00));
-    expect(cmap.lookup(0x04)).toEqual(String.fromCharCode(0x01));
-    expect(cmap.lookup(0x05)).toBeUndefined();
+    var cmapPromise = CMapFactory.create(stream);
+    waitsForPromiseResolved(cmapPromise, function (cmap) {
+      expect(cmap.lookup(0x03)).toEqual(String.fromCharCode(0x00));
+      expect(cmap.lookup(0x04)).toEqual(String.fromCharCode(0x01));
+      expect(cmap.lookup(0x05)).toBeUndefined();
+    });
   });
   it('parses beginbfrange with range', function() {
     var str = '1 beginbfrange\n' +

Review status: all files reviewed at latest revision, 14 unresolved discussions.

src/core/evaluator.js, line 354 [r11] (raw file):
Looking at https://github.com/mozilla/pdf.js/pull/7039/files#diff-0b94c2e77a5259f7a728122fdbf9f46aL345, there is some code movement is happening

Comments from the review on Reviewable.io

/botio test

/botio test

/botio-windows test

r+ when all tests pass, looks good in terms of refactored logic.

/botio test

@prometheansacrifice There are still some test failures. Once those are fixed I'll review.

/botio-linux test

/botio test

Thank you for the patch. Good work.

Thank you too yury.


Test-cover last line of streams

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

Awesome, merged, thanks @showell!  I'm excited to have #1005 closed out :)


improved docs

Hi @rahangdalesapna - this change doesn't make an impact on the site itself nor the readme, so will close. If there's a persuasive reason why you feel it needs to be included, please comment to discuss. Thank you!


Update Set-SPOSite.md

Improvements in formatting and readability, clarification and fixed link in description of -SharingDomainRestrictionMode

Docs Build status updates of commit 9d6a059:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 9d6a059:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit dd06e90:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit dd06e90:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@Kateyanne Please merge this PR. Thanks.

@Kateyanne Please merge this PR. Thanks.

Docs Build status updates of commit 2ee7284:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 2ee7284:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit aff9a34:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit aff9a34:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSite.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Offer option to disable generation/use of borrowed types for Rust

G'day again!
Under certain scenarios, wit-bindgen (and Wasmtime, which uses similar machinery) will use borrowed types instead of owned types for arrays and strings. This works fine when it's for single-level owned types, like String -> &str or Vec<u8> -> &[u8].
Unfortunately, having nested owned types - like Vec<String> - results in the borrowed equivalent being &[&str], which is quite tedious to work with, especially with converting it back and forth to the owned representation.
In our project, I've had to define a macro to generate intermediate types to convert the owned representation of our value variant type (as seen in #526) to the borrowed representation. This requires allocations, which feels like it defeats the purpose of borrowing to begin with.
To alleviate this, one of the following solutions would work for me (in order of bluntness):

Disabling the generation of borrowed types outright
Disabling the generation of borrowed types for a specific type
Limiting the generation of borrowed types to a single level, so that Vec<String> -> &[String] and not &[&str] or Vec<&str>.

Our current solution works fine, but it needs to be updated on both the host and the guest when new cases are added to the variant, which ends up being a bit of a maintenance hazard.

Thanks. We hadn't really thought about this case, but it seems like a reasonable need. I'm fine with any of those solutions. Would you be up for implementing this?

Sure, I can take a look tomorrow. I'll ask if I need help, but I should be able to get the lay of the land from the recent commits that interacted with it.

Thanks! Happy to answer questions here, or over on the bytecode alliance zulip.

No worries! I personally feel that there's enough confusion around this that it's not worth it to, by default, have both modes here. I do still think it would be useful to keep it as an option, though, so I don't think the support should be completely removed yet.
To be specific I think "first layer" borrowing is still good to have too. For example &str vs String, but you'd use something like &[String] instead of today's &[&str]

Bumping this too, giving parameters is really complicated, near impossible with only borrowed values.

I'll see if I can get around to it this week but can't make any guarantees. Might start with an option to disable borrowed type generation entirely to begin with and then look into how hard it would be for a more complicated solution.

You're a life safer, don't hesitate to ping me if you need any review

@pchickey you did not have to close this issue : the pull request mentioning « close #thispullrequest », when the pull request would have been merged, this issue would have been merged. Yet this issue is not fixed, the PR has been merged


feat: add auto run v8 ci

fix: https://github.com/nodejs/node-core-utils/issues/559
test pr: https://github.com/nodejs/node/pull/44986
Hopefully this will make us test v8 easier :)
local test
node bin/ncu-ci.js run 44986

currently I run into Jenkins credentials invalid. But I have used this credential before, and it worked.
cc @targos @richardlau @nodejs/v8-update

$ git rev-parse --short HEAD
8e866ef
$ node bin/ncu-ci.js --owner nodejs --repo node run 44961
✔  Jenkins credentials valid
⠋ Starting PR CI job(node:1644671) [https://github.com/node-fetch/node-fetch/issues/1167] DeprecationWarning: form-data doesn't follow the spec and requires special treatment. Use alternative package
(Use `node --trace-deprecation ...` to show where the warning was created)
✔  PR CI job successfully started
✖  Failed to start CI
$

More info on the failure -- the "Failed to start CI" message is from the try-catch handler https://github.com/nodejs/node-core-utils/blob/8e866ef03f9ae21301024eaf22db87eb212a58b2/lib/ci/run_ci.js#L102
With additional debug:
diff --git a/lib/ci/run_ci.js b/lib/ci/run_ci.js
index e850a7a..51d6fb4 100644
--- a/lib/ci/run_ci.js
+++ b/lib/ci/run_ci.js
@@ -99,6 +99,7 @@ export class RunPRJob {
       }

     } catch (err) {
+      console.error(err);
       cli.stopSpinner('Failed to start CI', this.cli.SPINNER_STATUS.FAILED);
       return false;
     }

the error is:
$ node bin/ncu-ci.js --owner nodejs --repo node run 44986
✔  Jenkins credentials valid
✔  PR CI job successfully started
TypeError: Cannot read property 'gql' of undefined
    at PRData.getPR (file:///home/rlau/sandbox/github/node-core-utils/lib/pr_data.js:80:34)
    at RunPRJob.start (file:///home/rlau/sandbox/github/node-core-utils/lib/ci/run_ci.js:81:25)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
✖  Failed to start CI

Is the credential put in ~/.ncurc

Is the credential put in ~/.ncurc

Yes. Credential is working -- the pull request job was successfully started and it's the additions in this PR that are not working.

Is the credential put in ~/.ncurc

Yes. Credential is working -- the pull request job was successfully started and it's the additions in this PR that are not working.

Yeap. On my local I stuck at credential issue. So I mark it as draft.

now jenkins with 500. Can you check the log @richardlau , thx.

Now the issues is it's not auto-commenting pr ? which part should I check ?

please squash this commit for conventional commit.

@gengjiawen:
@legendecas Is this because proxy issue, not supporting socks5 proxy ?

Not sure what I can help here?

@gengjiawen:
@legendecas Is this because proxy issue, not supporting socks5 proxy ?

Not sure what I can help here?

fixed, proxy compatibility issue

@joyeecheung Can you review this ?

@aduh95 Can you take a look at this ? thx

This looks good to me. Is there anything we can/should do about the small decrease in test coverage?  I'm not worried about it if there isn't much to do.

please squash this commit for conventional commit.

Do you want to squash and force push to your branch?

This looks good to me. Is there anything we can/should do about the small decrease in test coverage? I'm not worried about it if there isn't much to do.

It's a duplicate logic already tested (different URL and HTTP payload for v8 jenkins task). I think in this case, it's okay.

@Trott Can you merge this and https://github.com/nodejs/github-bot/pull/353 (already reviewed by @joyeecheung ) ? thx


DNN-7058

Added LinkedIn oauth2 provider, needed to add accesstoken variable to
every client.cs and the oauthclientbase as linkedIn's access token name
doesn't follow the standard.
linkedIn's working access token name: "format=json&oauth2_access_token"

@carlinesrallysport this PR is out of scope; the first few changes (the ones in existing files) are already implemented in the code. The rest are specific provider (LinkedIn) which can be included in a stand-alone module/library where it can be installed as needed and shouldn't be part of the default installation.
Based on this, I'm going to close this issue without merging.

@carlinesrallysport please work with the coordinator of https://github.com/DNNCommunity to open-source this module there if you are interested.


Exploring the Absence of a Planner Manager in the MRS Stack: Design Choice or Oversight?

I have a question regarding planner management. The MRS stack appears to offer a highly general and well-structured modular design, especially with the use of plugins and managers for elements like the controller (control manager) and estimation manager. However, it seems to lack a planner manager. Was this an intentional design choice, or is there a specific reason for not including a planner manager?
Adding a planner manager could provide more flexibility in selecting the planner and its corresponding controller.

Hey, good question! The idea of a planner manager definitely came do my mind. However, several challenges prevented us from implementing it to this day:

uncertainty about the API (this is much more complex question than with estimators, trackers and controllers...) and the complexity of the problem
the severe lack of human and time resources: we are now barely able to maintain the status quo of the system
the preparations for ROS2 transition: we have halted all developement of new features till we transfer to ROS2

But it is on our list, so hope for the best :-).

"Thank you, @klaxalk , for clarifying! Your response really helps in understanding the current limitations and roadmap priorities. Given that implementing a planner manager is on the to-do list but paused for now, I’d love to get your insights on a few things as I explore building one independently.
Key Considerations: Based on your experience with MRS and the challenges you mentioned, what core factors should I consider when designing a planner manager that could integrate smoothly with the existing MRS stack? For example, any tips on handling the API complexity you highlighted would be especially helpful.

Best Practices for Flexibility: Since MRS already has modular elements like control and estimation managers, are there specific patterns or practices you’d recommend to ensure the planner manager remains flexible and compatible with future expansions (especially as the transition to ROS 2 approaches)?

Alternative Approaches: Finally, if a full planner manager proves challenging, would you suggest any simpler alternatives or intermediate steps that could still offer improved planner selection and control options?

Hey, thanks for the feedback!
I think that the Planning manager's connection to the MRS system would be pretty similar to the current ties the "MRS Octomap Planner" already has and these are not very constraining connections. There is the outgoing API from the planner / planning manager:

desired path going into the trajectory generation
emergency hover() being called into the control manager
and the ingoing API:
TFs
a MAP
drone's trajectory prediction which is used for fast collision detection and prevention.

Regarding the ROS2 transition and future proofness.. On one hand I would say that not relying on ROS APIs too much and making sure you software is as much agnostic to ROS as possible. On the other hand, since we are talking about a plugin-based system, it is hard to really intie it from the underlying ROS interfaces which provide the plugin libraries... So I don't have a clear advice here :-(.

"Thank you, @klaxalk, for the clarification and additional insights!
Regarding your mention of the 'MRS Octomap Planner' and its connections to the MRS system, I noticed that there are two repositories:
[mrs_octomap_planner](https://github.com/ctu-mrs/mrs_octomap_planner)
[mrs_octomap_mapping_planning](https://github.com/ctu-mrs/mrs_octomap_mapping_planning)

Could you confirm which of these repositories you’re referring to when discussing the planner manager framework? This will help me align my understanding and ensure the design stays consistent with the intended structure.
Thanks again for your time and support!"


v3: about the disabling of hover effects on mobile

What version of daisyUI are you using?
v3.0
Describe your issue
I understand the motivation behind this change, but honestly this just broke all interaction animations (including button presses) on mobile. Can't this be a config option instead of being the default? Even if this change stays, I think button press animations should not be disabled in any case.
What browsers are you seeing the problem on?
No response
Reproduction URL (optional)
https://heyhey.to/HEYHEY
On mobile, buttons simply don't respond to any gesture.

There is really no reason to allow :hover on a device that does not support hover because on a touch device there is no cursor to move over elements and leave the element. It's just taps. and if we tap and element with :hover the hover effect stays unless we tap another element. It's not a hover behavior at all. It's broken!
Also, probably this will be the default behavior on the next Tailwind CSS release as well: https://twitter.com/adamwathan/status/1664049901322264577

Okay, I understand why the hover effects were removed, but on iOS, button "presses" don't have any animation either.
Here's an example that demonstrates the change.
Before:
Tab-1685712747587.webm
After:
https://github.com/saadeghi/daisyui/assets/74139498/09127de5-11de-43a4-803c-51ec2b9127d6
Notice how on v2 buttons react to being pressed on. I think this was unintentional?

@saadeghi sorry for the tag, I just need confirmation that the removal of button press animations on iOS is intentional as well so that I don't create another issue 😁
You can check the above videos to see the change I'm talking about. Thanks for the update again, it's great overall!

@gurgunday The color change of buttons on hover is removed for touch devices and is not coming back (because touch devices keep the element on hover style for ever until you tap somewhere else)
But I see that the click animation (button getting smaller while it is pressed) is also disabled as a side effect. (because that style is also using hover as well)
I'm working on it...

@gurgunday Should be fixed now on 3.0.2

@saadeghi hey, thanks for the quick update! I tested the change but I still see no click animation.
Here's the most recent version (3.0.2):
https://github.com/saadeghi/daisyui/assets/74139498/c43de0fa-9ab7-4889-a24e-c01f8f12f833
The URL: https://heyhey.to/G


[WIP] PORTIA-493: ORM for slybot data

Should we close this PR? https://github.com/scrapinghub/portia/pull/524

no, i'll split #524 into two when it's good to go

#524 replaced this one.


Python version not being correctly recognised?

Environment data
VS Code version:  1.20.0
Python Extension version:  2018.1 (01 Feb 2018)
Python Version:   3.6.2
OS and version:    Windows 10 Pro 64-bit
Workspace Settings:
{     "python.pythonPath": "C:\\Program Files\\Python36\\python.exe" }
Actual behavior
VS Code doesn't seem to recognise super() correctly when using Python 3:
 class Animal(object):
def __init__(self, name):
    self.name = name

def sayHello(self, breed=None):
    if breed:
        print("hello i am {} and I am a {}".format(self.name, breed))
    else:
        print("hello i am {}".format(self.name))

class Cat(Animal):
def __init__(self, Cat_name):
    super().__init__(Cat_name)
    # Animal.__init__(self, Cat_name)
    self._breed = None

Max = Cat("Max")
gives me an error. If I change it to super(Cat, self).__init__(Cat_name) I get my expected result of no error.
Expected  behavior
Steps to reproduce:

Copy code above into VS Code

Logs
Output from Python output panel
Traceback (most recent call last):
  File "c:\Users\watenatj\OneDrive\Work - Python\OOP\Inheritance 112817.py", line 42, in <module>
    main()
  File "c:\Users\watenatj\OneDrive\Work - Python\OOP\Inheritance 112817.py", line 33, in main
    Max = Cat("Max")
  File "c:\Users\watenatj\OneDrive\Work - Python\OOP\Inheritance 112817.py", line 16, in __init__
    super().__init__(Cat_name)
TypeError: super() takes at least 1 argument (0 given)

What's the value for python Path in your launch.json
How are you running the pythin file?

"pythonPath": "${config:python.pythonPath}"
I'm running directly within VS Code using Code Runner plugin; Ctrl+Alt+N
Code runs as expected in Visual Studio. Not sure if that helps or not.

Interestingly, if I right click on the code and select "Run Python File In Terminal" it runs without error.

running directly within VS Code using Code Runner plugin; Ctrl+Alt+N

That's a separate plugin, and you'll need to report this issue to them.
The best way to run a pin file in vscode is to use the command you identified (Run Python File in Terminal)

Ok will do. Thanks for your time :)


How to load a tflite model directly from a link or aws s3?

In order to deploy an aws-lambda function, I want to load a large tflite model from s3 or a web_link using 'tflite.interpreter' function. This function has 'model_path' and 'model_content' arguments. I don't have enough space in the local '/tmp' was lambda folder to store the model there (with 500 MB limitation)  and use the 'model_path' argument. Is it possible to load the model directly from s3 or another web link? For example, can we use file streaming with BytesIO and the 'model_content' argument?
Note that I'm using python=3.7
#s3 #aws-lambda #tflite

Hi, I solved my issue by importing before unzipping the packages into /tmp folder. However, I got some errors when using BytesIO and 'StringIO' and it wasn't successful. Is it related to the python wrapper?

Are you using Python 2 or 3?

I tested with python 3.6

Apologies for the delay, @MeghnaNatraj can you help with this one?

Hello @MiladGhorbaniG, you try this with Google drive + Google Colab
Upload your model to your google drive and authorize access to it from Google colab by running the following code in Google colab:
# 1. Mount (and authorize) Google Drive
from google.colab import drive
drive.mount('/content/drive')

# 2. Find your SavedModel path
# In the left section of google colab, select the 'Files' tab and refresh the folders. You'll notice a 'gdrive' option. Navigate to your saved model and drag and drop it into a colab cell ==> it'll automatically copy-paste the file-path

# Use the file path to load it into the converter
converter = tf.lite.TFLiteConverter(saved_model_dir="/content/drive/My Drive/...<path-to-saved-model>")


⚠ SceneTime has degraded performance

In 54047b5, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 3130 ms

Resolved: SceneTime performance has improved in 8798c66.


enable SVML for VS2019

Hello,
SIMDe only enables SVML when using intel compiler. Recent VS2019 comes with SVML as well, so it will be good to enable on that too.
Thanks!

Although I can enable SVML on VS2019 by predefine SIMDE_ARCH_X86_SVML, however, it will automatically enable AVX512 intrinsics in svml.h. The compile will fail if AVX512 are not available.
It will be great if SVML intrinsics can be partially enabled according to the SSE/AVX settings, that only supported intrinsics are used.

I would happily receive a PR to fix this

FYI, I tried this in https://github.com/simd-everywhere/simde/commit/7720b1de544c2900c4266027bb3b927ec177d4f6 and 208 tests failed: https://ci.appveyor.com/project/nemequ/simde/builds/46916083/job/82oh98b4w8ae98fm#L6413

FYI, I tried this in 7720b1d and 208 tests failed: https://ci.appveyor.com/project/nemequ/simde/builds/46916083/job/82oh98b4w8ae98fm#L6413

@tycho @xinsun4atlas It feels like the reasons the tests fail is due to implicit enabling of AVX512 (which is not supported by the appveyor runners); can you test my branch
https://github.com/simd-everywhere/simde/tree/ci/appveyor/svml on your systems?

Surely there must be a way to mark these as "skipped" tests on hardware that doesn't support AVX512? The test runner does have counters for those types of results, after all:
Ok:                 1552
Expected Fail:      0
Fail:               222
Unexpected Pass:    0
Skipped:            0
Timeout:            0

Anyway, I don't have any desktop machines with AVX512 support. I had to resort to a recent AMD Zen 4-based laptop which did support it instead:
Ok:                 1774
Expected Fail:      0
Fail:               0
Unexpected Pass:    0
Skipped:            0
Timeout:            0

That felt weird, even a recent 13th Gen Intel laptop doesn't have AVX512...

@tycho Which /arch: flags did you build with in each scenario?
If you didn't use any, then that would confirm that there seems to be AVX512 opcodes emitted by the MSVC compiler when SVML intrinsics are being used. (Or the SVML library it links against is using AVX512, see the discussion in the comments at https://stackoverflow.com/a/69418832 )

MSVC is a bit dumb and allows you to use intrinsics from any x86 feature set without any special /arch: flags.

It will be great if SVML intrinsics can be partially enabled according to the SSE/AVX settings, that only supported intrinsics are used.

It looks like this is not possible for MSVC

MSVC is a bit dumb and allows you to use intrinsics from any x86 feature set without any special /arch: flags.

True, but SIMDe won't use native intrinsics just because immintrin.h was included. The test errors come from outside the SVML code, like x86/avx512/shuffle even though we don't set /arch:AVX512 so something strange is really going on

The faulting instruction in e.g. shuffle-native-c.exe is:
SIMDE_FUNCTION_ATTRIBUTES
simde__m512i
simde__m512i_from_private(simde__m512i_private v) {
00007FF76A1224F0  mov         qword ptr [rsp+8],rcx
00007FF76A1224F5  push        rbp
00007FF76A1224F6  sub         rsp,0A0h
00007FF76A1224FD  lea         rbp,[rsp+60h]
00007FF76A122502  and         rbp,0FFFFFFFFFFFFFFC0h
  simde__m512i r;
  simde_memcpy(&r, &v, sizeof(r));
00007FF76A122506  mov         r8d,40h
00007FF76A12250C  mov         rdx,qword ptr [&v]
00007FF76A122514  lea         rcx,[rbp]
00007FF76A122518  call        memcpy (07FF76A16EE56h)
  return r;
00007FF76A12251D  vmovdqu32   zmm0,zmmword ptr [rbp]  <----
}
00007FF76A122524  add         rsp,0A0h
00007FF76A12252B  pop         rbp
00007FF76A12252C  ret

So it looks like it's generating AVX512 instructions because of the simde__m512i return type. Kind of annoying.

The last comment before this typedef is informative:
https://github.com/simd-everywhere/simde/blob/6ce6030ae3b8decadac030b88a8a1868e809c9e0/simde/x86/avx512/types.h#L506-L537
It seems like the !defined(HEDLEY_INTEL_VERSION) check is rather suspect. Since MSVC != Intel compiler, it enables it regardless of SIMDE_X86_AVX512F_NATIVE. I think that condition should just be:
#if (defined(_MM_CMPINT_GE) || defined(_MM_CMPINT_NLT)) && defined(SIMDE_X86_AVX512F_NATIVE)

Or something like that?

To add on to that, this change does indeed make the tests pass on non-AVX512 hardware with MSVC 2019:
diff --git a/simde/x86/avx512/types.h b/simde/x86/avx512/types.h
index d4e5618a..09e8b21e 100644
--- a/simde/x86/avx512/types.h
+++ b/simde/x86/avx512/types.h
@@ -527,7 +527,7 @@ typedef union {
  *
  * As for the ICC check, unlike other compilers, merely using the
  * AVX-512 types causes ICC to generate AVX-512 instructions. */
-#if (defined(_MM_CMPINT_GE) || defined(_MM_CMPINT_NLT)) && (defined(SIMDE_X86_AVX512F_NATIVE) || !defined(HEDLEY_INTEL_VERSION))
+#if (defined(_MM_CMPINT_GE) || defined(_MM_CMPINT_NLT)) && defined(SIMDE_X86_AVX512F_NATIVE)
   typedef __m512 simde__m512;
   typedef __m512i simde__m512i;
   typedef __m512d simde__m512d;

@tycho Can you write a test program to use `#include "simde/x86/avx512/types.h" from https://github.com/simd-everywhere/simde/tree/ci/appveyor/svml on MSVC without /arch and print the following information?
value of _MM_CMPINT_GE
value of _MM_CMPINT_NLT
value of SIMDE_X86_AVX512F_NATIVE
value of HEDLEY_INTEL_VERSION
type of simde__m512i
value of _AVX512BF16INTRIN_H_INCLUDED
value of __AVX512BF16INTRIN_H
value of SIMDE_X86_AVX512BF16_NATIVE
type of simde__m256bh
value of __AVX__
value of __AVX2__
value of _MSC_VER
value of __AVX512F__
value of SIMDE_ARCH_X86_AVX512F
value of SIMDE_X86_AVX512F_NATIVE

The last comment before this typedef is informative:
https://github.com/simd-everywhere/simde/blob/6ce6030ae3b8decadac030b88a8a1868e809c9e0/simde/x86/avx512/types.h#L506-L537
It seems like the !defined(HEDLEY_INTEL_VERSION) check is rather suspect. Since MSVC != Intel compiler, it enables it regardless of SIMDE_X86_AVX512F_NATIVE. I think that condition should just be:
#if (defined(_MM_CMPINT_GE) || defined(_MM_CMPINT_NLT)) && defined(SIMDE_X86_AVX512F_NATIVE)

Or something like that?

Ah, I think it was meant to be  && !defined(HEDLEY_INTEL_VERSION)) , AND not OR.

hmm.. maybe not; then ICC would never get the AVX512 types..

Yeah I don't know what the condition was trying to do. I think it should just be the condition I put in the diff, because the Windows version of the Intel compiler matches MSVC behavior.

Here's the original commit: https://github.com/simd-everywhere/simde/commit/4637a303d

I think that would be wrong with clang-cl though, because that one behaves more sanely with regards to code generation for instruction sets not enabled in compiler flags.

Thanks for the tip, @tycho !
Fingers crossed: https://ci.appveyor.com/project/nemequ/simde/builds/48327075/job/3lnyo84d655gnsd8

Success!

@mr-c By the way, if you're curious, here's what clang (and clang-cl) would do on Windows with __m512 arguments and return type:
https://gcc.godbolt.org/z/qv4eMqWWa
Trying to use an AVX512 intrinsic is only allowed by clang/clang-cl if the appropriate feature is enabled too:
https://gcc.godbolt.org/z/a37vzjPa3
If only this behavior was standard for MSVC as well...

Great to know, thank you!
If you have a bit of time, it would be helpful to add ClangCL to our testing setup. Your choice of CI provider 😊🙏

Thanks for the fix! For some reasons we deprecated the project which was using this feature that I cannot test on my side. Appreciate the work and definitely will take a try if we get a chance in our new projects.

@xinsun4atlas @tycho Due to issues with the SVML pow functions on 32-bit systems, we are thinking about not automatically enabling SVML on MSVC for x86 (vs x64)
https://github.com/simd-everywhere/simde/issues/1111#issuecomment-2227349342
Do you have any comments on this proposal?

Seems reasonable. Has the issue been reported on devcom? Could just disable it until a version is released with the fix and limit it to specific compiler versions (or if Microsoft doesn't fix it, just leave it off for 32-bit x86).

Seems reasonable. Has the issue been reported on devcom?

Ping @Epixu :-)

Could just disable it until a version is released with the fix and limit it to specific compiler versions (or if Microsoft doesn't fix it, just leave it off for 32-bit x86).

I agree with this plan. I don't know when I'll get to it personally, but a PR from anyone would be welcome!

I will make a minimal repro and post an issue on devcom in a couple of days


App Based on this Library?

I found an app that does OCR very similar to this library published on Google Play: https://play.google.com/store/apps/details?id=com.duyp.vision.textscanner
They don't have any licensing info so I don't know for sure if they are using your code.
Given how it's pretty much impossible to build an app without using ANY open source libraries, I find it a bit suspicious.
Just wanted to give you a heads up that someone may be using your code without following open source licensing requirements.

Thanks for taking a look. I'm not too familiar with OCR technology but it seems in the last 3 years, the accuracy has become so good.


Feature request: Add inline mode

Would be nice to suuport this mode to call bot from channels via
@botname 'your_text_here'

I didnt catch... which difference between this feature and

Toggle off/on in config posting in channels without calling bot.

I dont know how is better to do work modes, first thought how it might work:

You call bot just @name and it read last posted message in channel
You call bot @name .... (this is inline mode) and he generates answer on your ...
Bot just reads last posted message (in channel) in some timeout

you can try @pic gorilla
Got it. Need to investigate how to make it.


Psolve direct

ParallelContext.psolve(tstop) behavior for CoreNEURON direct mode is same as NEURON only.
This means CoreNEURON direct mode does not do its own version of finitialize().
On entry to CoreNEURON, all state needed to continue a simulation is copied from NEURON (including Event Queue).
On exit from CoreNEURON all state needed to continue the simulation in NEURON is copied from CoreNEURON (including EventQueue)
This pull request is associated with neuronsimulator/nrn#1192
Fixes #416
How to test this?
#clone nrn and checkout psolve-direct
cmake .. -DCMAKE_INSTALL_PREFIX=install  -DPYTHON_EXECUTABLE=`which python3` -DNRN_ENABLE_TESTS=ON -DNRN_ENABLE_CORENEURON=ON
make -j 6 install
make test

Use certain branches for the SimulationStack CI
CI_BRANCHES:NEURON_BRANCH=psolve-direct,
Todos:

[x] Make sure to update mod2c submodule

Please rebuild

Please retest

Please test this

Please retest this.

@iomaganaris we'd need your help to figure out failed GPU tests

Submodule commit can be updated now https://github.com/BlueBrain/mod2c/pull/63 is merged.

In https://github.com/neuronsimulator/nrn/pull/1192/commits/1471e648ad1643a85d5fd7ce8f7b20cfb20168de I changed tstop from 20 to 0.5 for the watchrange_py test.
This is expected to make this assert fail on CPU. GitLab pipeline 12311 is testing this. 🤞

Regarding the coreneuron_modtests::test_netmove_py test which uses the netmove.mod and is failing on the GPU with mod2c, it seems like there is some issue with the
_net_send_buffering(_ml->_net_send_buffer, 2, _tqitem, -1, _ppvar[1*_STRIDE], t + dur , 0.);

which gets called instead of net_move for both CPU and GPU executions, according to the code printed by mod2c. The net_move(t + dur) call of netmove.mod is translated to
#if NET_RECEIVE_BUFFERING
    _net_send_buffering(_ml->_net_send_buffer, 2, _tqitem, -1, _ppvar[1*_STRIDE], t + dur , 0.);
#else
 net_move ( _tqitem, _pnt, t + dur ) ;

#endif

It seems like there is something wrong with the update of the NetSendBuffers in the device. We should check whether they are copied properly on the device and then from the device to the host, so that NEURON has the proper data to continue the simulation.
For the same test that runs on CPU using NMODL translator and fails we should compare the generated code for the net_receive kernel to see if there is any difference that generates the issue.

A behind-the-scenes fix to the GitLab CI infrastructure should fix the failure above of test:neuron+nmodl:intel and now https://github.com/BlueBrain/nmodl/pull/714 is merged it should be picked up.
Note that the GitLab CI does not look at the submodule commit, so to pick up a non-default branch of NMODL or NEURON we need to use the
CI_BRANCHES:NEURON_BRANCH=psolve-direct,NMODL_BRANCH=...

magic in the PR description.

Finally in the CI run https://github.com/BlueBrain/CoreNeuron/pull/528#issuecomment-901163587 the netmove test is passing on GPU when MOD2C is used. The remaining failures are:

netmove with GPU + NMODL: not yet investigated
watchrange with GPU + (MOD2C or NMODL): we tentatively have a workaround, at least for MOD2C. to be tested soon.

99% tests passed, 1 tests failed out of 99
328Total Test time (real) = 337.28 sec
329The following tests FAILED:
330	 15 - coreneuron_modtests::test_netmove_py (Failed)

In last CI, above test failed on GPU with MOD2C as well as NMODL!

The last pipeline on GitLab https://bbpgitlab.epfl.ch/hpc/coreneuron/-/pipelines/14401 was all green in substance, but a glitch stopped the logs being uploaded and the correct status being reported here.


WaveNet launches in the Google Assistant

https://deepmind.com/blog/wavenet-launches-google-assistant/
The new, improved WaveNet model still generates a raw waveform but at speeds 1,000 times faster than the original model, meaning it requires just 50 milliseconds to create one second of speech. In fact, the model is not just quicker, but also higher-fidelity, capable of creating waveforms with 24,000 samples a second. We have also increased the resolution of each sample from 8 bits to 16 bits, the same resolution used in compact discs.
It is also now capable of running at scale and is the first product to launch on Google’s latest TPU cloud infrastructure.

waiting for it !!!

not sure how they made the inference so fast, maybe a more simple model is used, together with TPU. Wait for their detailed paper.


[Feature Request] NodeSelector for LoadBalancer Service Pod

Description
Hi Everyone,
In our setup, we have VLAN interfaces that are only available/configured on the Kubernetes Master Nodes.
The following NetworkAttachmentDefinition has been created:
---
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
  name: vlan201-external-subnet
  namespace: kube-system
spec:
  config: '{
      "cniVersion": "0.3.1",
      "type": "macvlan",
      "master": "bond0.201",
      "mode": "bridge",
      "ipam": {
        "type": "kube-ovn",
        "server_socket": "/run/openvswitch/kube-ovn-daemon.sock",
        "provider": "vlan201-external-subnet.kube-system"
      }
    }'

The VpcNatGateway is deployed with the following selector, which forces it to run on kube-ovn masters:
---
kind: VpcNatGateway
apiVersion: kubeovn.io/v1
metadata:
  name: vlan201-nat-gw
spec:
  vpc: vlan201-vpc
  subnet: vlan201-internal-subnet
  lanIp: <IP_ADDRESS>
  selector:
    - "kubernetes.io/os: linux"
    - "kube-ovn/role: master"
  externalSubnets:
    - vlan201-external-subnet

The issue comes when a LoadBalancer Service gets created and wants to request an IP in the vlan201-external-subnet Subnet. If the lb-svc-* Pod gets scheduled on a non-kube-ovn master node, it fails to get an IP. Manually editing the Deployment and specifying a nodeSelector fixes this issue:
      nodeSelector:
        kube-ovn/role: master
        kubernetes.io/os: linux

Is there already a way to specify this nodeSelector? Looking at the source code, it does not seem to be the case:

https://github.com/kubeovn/kube-ovn/blob/06ac37d42cfe14d5ab21a0847333ead9f6239662/pkg/controller/service_lb.go#L104-L139

Thanks in advance for your support!
Who will benefit from this feature?
No response
Anything else?
No response

It seems that there is indeed a lack of a way to pass labels from lb-svc to deployment。

Thanks for confirming!
Not sure what would be the best way to enable this kind of configuration; maybe a new ConfigMap similar to the ovn-vpc-nat-config (https://kube-ovn.readthedocs.io/zh-cn/latest/en/guide/vpc/#enabling-the-vpc-gateway) one?

maybe make it just the same as the vpc-nat-gw pod is a better way

maybe make it just the same as the vpc-nat-gw pod is a better way

It really is the simple and reasonable way to resolve this problem.
The vpc-nat-gw pod is created by vpc-nat-gateways crd, and there's  selector fields in vpc-nat-gateways crd，so it's easy to pass nodeSelector values to pod.
What we need is same as vpc-nat-gw, the nodeSelector field for lb-svc, but there's no crd field to pass this value.
As the image for lb-svc is configured in configmap ovn-vpc-nat-config, so maybe it's a good way to put nodeSelector in the same configmap as follows
apiVersion: v1
data:
  image: docker.io/kubeovn/vpc-nat-gateway:v1.14.0
  nodeSelector: |
    kubernetes.io/hostname: kube-ovn-control-plane
    kubernetes.io/os: linux
kind: ConfigMap
metadata:
  name: ovn-vpc-nat-config
  namespace: kube-system


Attention maps

Hi,
is there any way to extract the attention map of each head of the multi-head attention layers?
Thanks.

I added an example:
https://github.com/CyberZHG/keras-bert/blob/580ca4f8b2a68cd49068354356ef06f71ac81d05/demo/load_model/load_and_get_attention_map.py


Pass row index to table cell

Do you have an example of using this?

So i am currently moving away from the bootstrap-vue project and they provide this option, I'm currently using it to display the position of a user in a football league table

I realise I could do something like
<UTable v-model="selected" :rows="people">
  <template #name-data="{ item }">
    {{ people.findIndex((p) => item.id == p.id) + 1 }}
  </template>
</UTable>

But when the index is already available i thought may aswell pass it through, + the component can know the order post sorting and filtering

What about index instead of row-index?

@benjamincanac thanks for sorting I'm away this week so haven't being able to make changes


Coordinator firmware device limits

Hello,
What's the limit of the 3 firmwares found in the sourcecode ?
Here is written: ~16 devices and ~16 routers for the classic version and 44 devices and 1 router for the alternate version on a single CC2531
If I understand well:
NWK_MAX_DEVICE_LIST = number of total devices
MAX_NEIGHBOR_ENTRIES = number of routers
Questions:
Does a router connected to another router counts as a neighbor (indirect neighbor)?
Does a router counts as a device ?

I connected 21 devices (all xiaomi sensors, and switches, no routers) with my CC2531 stick using iobroker zigbee. 22th device won't connect.
Does 21 make sence in any way?
I bough some osram smart plugs to use them as routers and add more devices, but even when I deleted some sensors the smart plugs don't connect.
Do I have to flash the usb stick again and start all over?


[bug] layer chip no longer dismiss the layer

as of b1f546c
to reproduce:
0/ go to /, select humanmulti level
1/ select any additiona layer (e.g. cortical layers)
2/ deselect by clicking x
expected behaviour: deselects layer
actual behavoiur: does not deselect layer
additional info: some layers, such as fibre bundle works fine

fixed by #732


JSON unexpected end of stream

Some JSON files throw an unexpected end of stream error. Investigate possible http or connection errors causing these.

This appears to only happen in emulators for new versions of Android. However it might be possible it's an Intel bug.


Adds the option of tiling/replicatng the overlay image across the image.

USAGE:
.overlayWith(overlayimage.png, { tile: true, gravity: northwest} )
Note: When using the tile option, the gravity option is applied to the extracted part of the tiled overlay image.

Fantastic, thank you Chintan for this excellent addition.


BUG: Some nightly dev wheels failed to upload

Describe your issue.
Hi,
I'm seeing some downstream dev test failures in various packages because some of the nightly scipy dev wheels are missing today, for example scipy-1.15.0.dev0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl. Just wanted to let you all know in case you weren't aware of this.
Reproducing Code Example
N/A

Error message
404 error when trying to install `scipy>=0.0.dev0` in CI, see for example https://github.com/astropy/specutils/actions/runs/11018569092/job/30599528901?pr=1171.

SciPy/NumPy/Python version and system information
N/A

Clicking on that file link gives the following response:
<Error>
NoSuchKey
<Message>The specified key does not exist.</Message>
<Key>64774d9554a6f0c49626f52d/66f13602111ca7083a79d8d8</Key>
<RequestId>CDG1GSGGBJTVRVT5</RequestId>
<HostId>iSwiq4v+DXmXjnhoq3+c4M9lklWh3KlshSeA+KFQ/DkyzzW/C1DV9zKUEdyeTqwKokWjWfIidds=</HostId>
</Error>

Thanks for the report, looking at our nightly run there are indeed several failures: https://github.com/scipy/scipy/actions/runs/11010714118
Example failure: https://github.com/scipy/scipy/actions/runs/11010714118/job/30573263356
I know NumPy just had an API key expiry over there, so maybe it is our turn to update the keys. I can't remember if I got removed from permissions to do that for "security reasons," I'll try to check in a bit.

The wheels are all being built correctly. However, the upload to the scientific-python-nightly-wheels repo works for some wheels, but fails for others, with no discernible cause from our setup. (e.g. some windows wheels upload, other windows wheels don't).
I therefore don't think it's an API key, otherwise they would all fail to upload.
When I inspect some of the CI logs the fails are displayed as:

Error: [ERROR] ('?: Undefined error ([DELETE] https://api.anaconda.org/dist/scientific-python-nightly-wheels/scipy/1.15.0.dev0/scipy-1.15.0.dev0-cp312-cp312-musllinux_1_2_x86_64.whl -> 524)', 524)

When I search for HTTPS error code 524 I find the following:

When the 524 A timeout occurred status code is received, it implies that a successful HTTP Connection was made between Cloudflare and the origin server, however the HTTP Connection timed out before the HTTP request was completed

So perhaps there's some "internet problem" occurring between GH servers and Anaconda?

So perhaps there's some "internet problem" occurring between GH servers and Anaconda?

Yes, I'm seeing CI failures as well on free-threaded CI jobs because installing wheels from https://anaconda.org/scientific-python-nightly-wheels/numpy/ is flaky (re-running them usually works). The anaconda.org server is having structural issues.

Tonight, I see a similar issue to https://github.com/scipy/scipy/issues/21623#issuecomment-2372240678 trying to download some (but not all) scipy nightly wheels. (ref: https://github.com/microsoft/LightGBM/pull/6539#issuecomment-2394943296)
steps to reproduce:

Navigate to https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/scipy
click on scipy-1.15.0.dev0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

That redirects to this:
https://binstar-cio-packages-prod.s3.amazonaws.com/64774d9554a6f0c49626f52d/66fe64d51378ca9be9b3503c?response-content-disposition=attachment%3B%20filename%3D%22scipy-1.15.0.dev0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl%22%3B%20filename%2A%3DUTF-8%27%27scipy-1.15.0.dev0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl&response-content-type=application%2Foctet-stream&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAWUI46DZFMFY24H5V%2F20241005%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241005T060706Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEJ7%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCICh%2Bst0AqbOmvV0C0laPiS1qiBWlKArZ6tnGvo3t9cD%2BAiEA7gi7vn%2Bw6WQEsOq%2B7Nv%2FvTisvUIvjeR3lYmV4vDr8zYqhwUI5%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgw0NTU4NjQwOTgzNzgiDCCjGYGa8FfLjbdx9irbBDDfiXx0p31yxi3ACZC20oCG6ViZyFb8n3%2B9I6uelbdLekKcXMufimWv6QmTBL8UfrptH1LQDGT48FA2AUqCIAyQF8w8gQCBkedvAJgRciGPqGb%2BX26sGjxHQezS3B4BiqyVHZzMK699sMQu3dnaMYgVCrcESez29%2BgHOwIPPNF12aOaaEGPTVLgQfQvLvbgzLp1%2BcPmTmpj3%2FTcGraws2XG0Mi1%2FE9pR5pA1ld%2BL%2FxP0LQrxrGT3bpVhkY140eUjouax8wUifYziBSVbE3FITAKm6GlHyhqZju0uZZwF%2FnDEq3s1NkVccZSon%2B2wJHBXMjJj95iXjjJg78eOj1CRQ4y%2BXSYd4r9XTf02a7QFLaSy3SoOpvlzD7ZHhEFE58ejwv8Vm8iBJju7C%2BVvqnaYPR3oRGQc6Y2z9bP6rFru4ij2F5sg2pbU4M%2BB%2FVm1ben6kvuEUs2cRRaRo0t2fEUCOHcs9vhwsUp7DoLFyGHgmGii78Ime3NyA4V11jmNNBjZFRW8pNijRUF9tnn6g7ftqneYinqyuu6pb7SELWEpTL18aep%2FBWRQcg9jCtkZ8Q1ZOXOuzD6hHsoB3PUKdiiBwlQvgFSR0GVKHFi8Lkahv%2Foa8mSl5gYtAavFH2lf7DryWLq8mrHWYgvj3BIM%2FcLYBEVrJ2AXR68RQCS4RucjJ%2Bg7BkxcvJrL%2B606n%2BzY2GpMbSh1llCPsa%2F%2BZeyAWh5Fr%2BiJ3QO20cw%2B%2B50ufO%2BmKMhQ275UzxNtKZR%2BUHvjJz6PmTPCnRZRdadBjBneBBLwHN6YBWUIg%2FKWseGyzCdnIO4BjqaAR2vboxKrjKQQRnIMzpgacU5JFjZtcSLnArVDVNWzf6uiYgRq5izZyUZUyajkPOSMwA9LCfJFjgEaELFmgJE9P%2F3tX2OlB2sj%2BJR1Jqe40VPj7Qe9%2BJroZ6pEqOb5cFp91cEE23rOKddFIT%2F3yVAyPOGx%2BiRNOO09gzcOrgB8Rbub48%2ByRnSKyrpHHQpacLGFAsCzQI%2FIgLnuJs%3D&X-Amz-Signature=f0e819e08a4d3ab017d8987630810df906ad52985ea2d36ef1c8ba818d94a31e

Which reports this error
<Error>
NoSuchKey
<Message>The specified key does not exist.</Message>
<Key>64774d9554a6f0c49626f52d/66fe64d51378ca9be9b3503c</Key>
<RequestId>FT3G54Q39C0KF1Y9</RequestId>
<HostId>4phzNyUeBGHjRizg3FXwFyd0+6g74WdhMBVt/lL+HLP1E1wSktICSA5L+hiiYXx1xY9J+1EU7W8=</HostId>
</Error>

I can replicate that programmatically too.
curl \
    -i \
    -L https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/scipy/1.15.0.dev0/scipy-1.15.0.dev0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

HTTP/1.1 404 Not Found
x-amz-request-id: VG9VAV2KFZKJZ7YR
x-amz-id-2: Os7/RGAYWKQqN9+4gJji6z+HRURmIrBkQcxIJR8mOl4yunqSYef7BziqypFNdTaL2lpO4oHTqGQ=
Content-Type: application/xml
Transfer-Encoding: chunked
Date: Sat, 05 Oct 2024 06:10:43 GMT
Server: AmazonS3

Tried with a couple other wheels there, and did NOT see the same issue... e.g. downloading scipy-1.15.0.dev0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is successful.
So maybe something about this disruption to uploads also affected downloads?

I just tried https://github.com/scipy/scipy/issues/21623#issuecomment-2394945406 again today and did not have any issues 😁

I think this was a temporary degradation. Not much we can do for now anyway if it happens again, beyond filing a bug report, so let's close this.


Migrate returned data on Peek, but don't save it

Currently, Peek/Read do not guarantee the data is in the latest schema. This could be a problem if it is expected. They should also be able to return a BackwardsCompatibleError. Write test cases for this.

I may merge Peek and Read into one, which runs migrations (without saving) and can return a CheckError, and provides type checking. This makes sense now that peek checks the schema is valid, so if there is a data schema version, then we should have valid data (unless it has been corrupted by external editing).


Allow to specify labels names in block_from_array

It would be nice to be able to specify the names used by the labels in block_from_array, something like
metatensor.block_from_array(
    array.reshape(1, 3, 3, 1),
    samples="sample_name",
    components=["xyz_1", "xyz_2"],
    properties="properties_name",
)

samples/components/properties would be optional and default to the same values as they currently do.

A possible extension for this would be to allow joining multiple dimensions and definition tensor product labels for all the joined dimensions:
assert data.shape == [n_centers, n1, n2, l]

metatensor.block_from_array(
    data,
    samples=["center"],
    components=[],
    properties=["n1", "n2", "l"]
)

In this form, all three of samples/components/properties would become mandatory, since we can no longer guess which axis of the array is what.


Update dotnet package version

Update that dotnet Add Package is required only in ASPNET Core 1.x and not in 2.x

Internal review URL
@vnextcoder  thanks! I moved the 1.1 only instructions inside the 1.1 tab.

@vnextcoder  nice catch. Thanks!


What is the default .eslint?

Hi @puzrin
Can you check in .eslint config... I am getting:
sams-MBP:markdown-it sam$ make test

/Users/sam/Source/markdown-it/lib/common/utils.js
  92:1  error  Expected indentation of 6 spaces but found 4  indent

/Users/sam/Source/markdown-it/lib/rules_block/state_block.js
  44:1  error  Expected indentation of 2 spaces but found 23  indent

/Users/sam/Source/markdown-it/lib/rules_core/replacements.js
  65:1  error  Expected indentation of 10 spaces but found 20  indent
  66:1  error  Expected indentation of 10 spaces but found 20  indent
  67:1  error  Expected indentation of 10 spaces but found 20  indent
  68:1  error  Expected indentation of 10 spaces but found 20  indent
  69:1  error  Expected indentation of 10 spaces but found 20  indent
  70:1  error  Expected indentation of 10 spaces but found 20  indent
  71:1  error  Expected indentation of 10 spaces but found 20  indent
  72:1  error  Expected indentation of 10 spaces but found 20  indent
  73:1  error  Expected indentation of 10 spaces but found 20  indent
  74:1  error  Expected indentation of 10 spaces but found 20  indent

On fresh project npm install && make lint -> OK.
If you call eslint from editor, make sure it's not global.

https://travis-ci.org/markdown-it/markdown-it/jobs/244347383 that's fom eslint 4.0.0, but this does not worth separate issue - i update dev dependencies from time to time.


WIP - Restore typing for app.register

For additional context, landing this has some implications for user-land plugins.  Until we solve the tree shaking problem, we are doing Node/browser checks like this which can cause Flow types to fail.
Today, we get around this with more explicit types.  We also recast types like this which can help, but it isn't a great experience to require this.


Issue #264

add videos to talks page, corrected date for advisory board meeting and resorted.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you for your contribution @jxb04!


How to set jsTree options to an instance of tree?

It's possible to define, for example, a jstree.core.multiple = true for a tree instance, and jstree.core.multiple = false to another tree?
How to do that?

I just discovered how to do that.
$('#'+this.props.id).jstree({
            'core' : {
                'data' : this.props.jsTree,
                'multiple': this.props.multiple,
                'themes': {
                    'icons': this.props.showIcons,
                }
            },
            "search": {
                'show_only_matches' : this.props.showOnlyMatches,
            },
            "plugins" : this.state.plugins
        });


Other Guests using hostsupdater

this would be super nice-to-have. Right now I run my main machine in Windows, but have a permanent VM which I run through. I Run my vagrant via my host as a guest in a guest seems insane!
Because of this, I'd love a way to output hosts entries in a folder so I can sudo cat filename >> /etc/hosts and use hosts redirects in my other guests.
I realize this is a big-ask, it's complicated, but it would be awesome to have

@cd2-public are you saying that you'd like to have vagrant-hostsupdater run on a guest VM?

no; I would like the ability to define for groups of VM's hostnames, which hostupdater will update on the host. When setting the hosts on each machine, I would like it to inject all hosts, with their static IP to the guests, so that guests can access each other via hostname as well as IP address


Functional tests - shell example testing

Problem
We need a set of functional tests to check if the shell example application works well.
Proposed Solution
Create shell directory with a set of the command-specific
List of testes features:

[x] misc test
[x] base64 test
[x] device test
[x] btp test
[x] date test
[x] network test
[x] socket test
[x] server test

FT for shell example implemented and committed to test-functional-tests branch


Make PrivateKey loading libctx aware

During loading of a private key it is possible that the implementation will need to use a cryptographic algorithm Notably in decoding an Ed448 private key we automatically derive the public  key (because it is not encoded along with the private key). To do so we need to use SHAKE256. This means that we have to make the private key loading functions OPENSSL_CTX aware.
We also update libssl to use the new private key loading functions.
This is needed for alpha1

Fixup pushed addressing the comment above. I also rebased to resolve a conflict with master. Please look again.

travis error is relevant..
include/openssl/pem.h:353:34: error: unknown type name 'FILE'
EVP_PKEY *PEM_read_PrivateKey_ex(FILE *fp, EVP_PKEY **x, pem_password_cb *cb,

I've rebased  this and pushed a fixup to (hopefully) resolve the travis issue. Please take another look.

Rebased again to fix conflicts with master. Also another fix up to address travis issues.
Ping?

This pull request is ready to merge

Pushed. Thanks.

Do you have more PR's that you are about to merge? libcrypto.num is a bit of a problem.


MAUI excel application unsupport

This issue has been moved from a ticket on Developer Community.

[severity:It's more difficult to complete my work] [regression]
Hi Team,
I am working on MAUI application where i am trying to update the Excel file using file picker concept and which is failed to bring the path of the existing excel file(only on android emulator) in windows it works perfect.

Original Comments
Feedback Bot on 11/5/2024, 06:15 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

I'm guessing this is using some sort of MAUI file picker abstraction and not the native Android file picker APIs, so I'm gonna give MAUI first crack at it.


Unable to assign a PBR shader

Object starts with a Stingray shader with several maps on it.
Tried to assign the GLSL shader using the 'assign PBR shader to selection' and after selecting the textures, the following picture shows the result:

Thanks for reporting.
We never tried that scenario, we always start from Lambert or Phong, but I don't immediately see a reason why it wouldn't work with any existing shader.
Could you maybe copy/paste all the text in the script history window? Because the real error must have happened before the line you pasted.

@j-conrad Did you end up getting this to work by first assigning a Lambert as a replacement? If not, are you still able to produce those full logs?