Solved Bipedal Walker Environment

I noticed in your code you only check if the average of the last 10 episodes are above 300. But on the leaderboard page it requires that the last 100 episode average is above 300. Did you test it with such a large averaging window? The reason I ask is because from the figures in this https://github.com/nikhilbarhate99/TD3-PyTorch-BipedalWalker-v2/issues/2 it appears that the reward signal is not that stable to get such a high average. I've been trying to solve the same environment with DDPG and the agent will master it but make a few mistakes in between making it hard to get the 100-episode average above 300.
Also did you ever experience the agent forgetting what it has learned after training the model longer?

I think I got confused between number of episodes and number of updates. Still not sure though, considering different algorithms use different number of episodes per update.
No, I have not tested it with large averaging window. But I think that's because all value based methods tend to be unstable. TD3 should have reduced this instability but it also depends on the environment and the reward signal, which could be the problem in this env.
Also, the variance can be reduced by decaying the noise in later stages (not implemented in this repo) and deleting the older experiences which should solve the forgetting problem, but I would suggest you to test your algorithm on different environment (I did not face this problem on the lunar lander env).


feat(user): save privacy consent new users

Frontend for issue MA-48

This is still a work in progress, still need to figure out how to do it for existing users (probably with the splash screen)

I thought we merged this already for existing users, but apparently not. We should not forget to merge this with the others

Yes very true, honestly also forgot that it was still a draft 😅

I don't see why we can't merge this yet at the moment, should not break anything if we do already

The Privacy Consent field is already mandatory, right?

Yes, you can't submit the form unless you have ticked the box

:tada: This PR is included in version 1.20.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Local exports (and possibly V11+ server exports) move comments and  directive below main XML

This isn't broken as such, since the XML files are still valid, but it's weird.

This specific behavior is likely because plugin.xml has special handling in the exporter, where it's read in to a DOM structure and written back out with an id tweak. I'm still not sure why this would re-order the contents, but that's likely the spot that does it.


Add translatable strings to utility type field

for common values with usage > 1,000

ps: I found the list of "intended" values for the utility tag only in the archived proposal page: https://wiki.openstreetmap.org/w/index.php?oldid=2261391#Tagging


⚠ Secret Website 3 has degraded performance

In 6d57724, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2150 ms

Resolved: Secret Website 3 performance has improved in 80f2a8a.


win10 build error

System information

OS Platform and Distribution (e.g., Linux Ubuntu 20.04, WSL2): windows 10
Target (e.g. desktop cpu, android arm64):
Bazel version: 6.0.0
Python version: 3.9.0
GCC/G++ version: 9.2.0
Unity version:
Android NDK version (if building for Android):
Xcode version (if building for iOS):

Describe the problem
Build error
Steps to reproduce the issue
python build.py build --desktop cpu --opencv=cmake -v
Full logs
INFO (build.py): Building protobuf sources...
DEBUG (build.py): Running bazel --output_user_root C:/_bzl build -c opt --action_env PYTHON_BIN_PATH="C://Users//asuka//AppData//Local//Programs//Python//Python39//python.py" --action_env ProgramData --action_env PROCESSOR_ARCHITECTURE --action_env PROCESSOR_IDENTIFIER --action_env PROCESSOR_LEVEL --action_env PROCESSOR_REVISION //mediapipe_api:mediapipe_proto_srcs
DEBUG: C:/_bzl/d6cplb6i/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: C:/_bzl/d6cplb6i/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: C:/_bzl/d6cplb6i/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: C:/_bzl/d6cplb6i/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: C:/_bzl/d6cplb6i/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: C:/_bzl/d6cplb6i/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: C:/_bzl/d6cplb6i/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: C:/_bzl/d6cplb6i/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: C:/_bzl/d6cplb6i/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: C:/_bzl/d6cplb6i/external/org_tensorflow/third_party/repo.bzl:108:14:
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: C:/_bzl/d6cplb6i/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software.
INFO: Repository rules_python instantiated at:
C:/users/asuka/desktop/intern/mediapipeunityplugin/WORKSPACE:41:23: in
C:/_bzl/d6cplb6i/external/rules_pkg/deps.bzl:33:10: in rules_pkg_dependencies
C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/utils.bzl:233:18: in maybe
Repository rule git_repository defined at:
C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in
ERROR: An error occurred during the fetch of repository 'rules_python':
Traceback (most recent call last):
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git.bzl", line 181, column 30, in _git_repository_implementation
update = _clone_or_update(ctx)
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, column 20, in clone_or_update
git = git_repo(ctx, directory)
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, column 12, in git_repo
_update(ctx, git_repo)
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 101, column 9, in _update
init(ctx, git_repo)
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 118, column 15, in init
_error(ctx.name, cl, st.stderr)
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 190, column 9, in _error
fail("error running '%s' while working with @%s:\n%s" % (command_text, name, stderr))
Error in fail: error running 'git init C:/_bzl/d6cplb6i/external/rules_python' while working with @rules_python:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/_bzl/d6cplb6i/external/rules_python): ??????????????????
(error: 2)
ERROR: C:/users/asuka/desktop/intern/mediapipeunityplugin/WORKSPACE:41:23: fetching git_repository rule //external:rules_python: Traceback (most recent call last):
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git.bzl", line 181, column 30, in _git_repository_implementation
update = _clone_or_update(ctx)
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, column 20, in clone_or_update
git = git_repo(ctx, directory)
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, column 12, in git_repo
_update(ctx, git_repo)
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 101, column 9, in _update
init(ctx, git_repo)
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 118, column 15, in init
_error(ctx.name, cl, st.stderr)
File "C:/_bzl/d6cplb6i/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 190, column 9, in _error
fail("error running '%s' while working with @%s:\n%s" % (command_text, name, stderr))
Error in fail: error running 'git init C:/_bzl/d6cplb6i/external/rules_python' while working with @rules_python:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/_bzl/d6cplb6i/external/rules_python): ??????????????????
(error: 2)
ERROR: C:/users/asuka/desktop/intern/mediapipeunityplugin/mediapipe_api/BUILD:175:8: //mediapipe_api:mediapipe_proto_srcs depends on @rules_pkg//:build_zip in repository @rules_pkg which failed to fetch. no such package '@rules_python//python': error running 'git init C:/_bzl/d6cplb6i/external/rules_python' while working with @rules_python:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/_bzl/d6cplb6i/external/rules_python): ??????????????????
(error: 2)
ERROR: Analysis of target '//mediapipe_api:mediapipe_proto_srcs' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.644s
INFO: 0 processes.

Additional context
can anyone help me ?

Error in fail: error running 'git init C:/_bzl/d6cplb6i/external/rules_python' while working with @rules_python:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/_bzl/d6cplb6i/external/rules_python): ??????????????????

I can't read the error message because it's garbled, but it's probably same as #262, #273, #353.

I tried the command below, but it didn't work correctly.
python build.py build --desktop cpu --include_opencv_libs -vvv
set BAZEL_WINSDK_FULL_VERSION=10.0.19041.0
python version is 3.9.0
Umm....

I've also reconfigured the PATH, but it doesn't work.
RUN setx path "C:\msys64\usr\bin;%PATH%"

I've also reconfigured the PATH, but it doesn't work.

In any case, I'm pretty sure that git path had not been resolved, but I don't know what's going on if you just say "it doesn't work". The error messages are all same or have changed?
By the way, it seems that you're using bazel 6.0.0, but this plugin is not tested against it, so I recommend you use bazel <= 4.2.1.

If you don't know how to set environment variables, see https://www.computerhope.com/issues/ch000549.htm

Sorry for the late reply
I'll post the error message later
In the meantime, I'd like to try and do it with bazel <= 4.2.1

In addition, I will try the latest version of this app.

already

INFO (build.py): Building protobuf sources...
DEBUG (build.py): Running bazel --output_user_root C:/_bzl build -c opt --action_env PYTHON_BIN_PATH="C://Users//asuka//AppData//Local//Programs//Python//Python39//python.exe" --action_env ProgramData --action_env PROCESSOR_ARCHITECTURE --action_env PROCESSOR_IDENTIFIER --action_env PROCESSOR_LEVEL --action_env PROCESSOR_REVISION //mediapipe_api:mediapipe_proto_srcs
WARNING: Download from http://mirror.tensorflow.org/github.com/tensorflow/toolchains/archive/d781e89e2ee797ea7afd0c8391e761616fc5d50d.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/0a8c6996bd6a58eb0e7e2fe049ac67bf663e1950.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.
INFO: Repository rules_python instantiated at:
C:/users/asuka/desktop/intern/mediapipeunityplugin-0.8.0/WORKSPACE:41:23: in
C:/_bzl/ucxiujo2/external/rules_pkg/deps.bzl:33:10: in rules_pkg_dependencies
C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule git_repository defined at:
C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in
ERROR: An error occurred during the fetch of repository 'rules_python':
Traceback (most recent call last):
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git.bzl", line 181, column 30, in _git_repository_implementation
update = _clone_or_update(ctx)
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, column 20, in clone_or_update
git = git_repo(ctx, directory)
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, column 12, in git_repo
_update(ctx, git_repo)
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 101, column 9, in _update
init(ctx, git_repo)
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 118, column 15, in init
_error(ctx.name, cl, st.stderr)
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 190, column 9, in _error
fail("error running '%s' while working with @%s:\n%s" % (command_text, name, stderr))
Error in fail: error running 'git init C:/_bzl/ucxiujo2/external/rules_python' while working with @rules_python:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/_bzl/ucxiujo2/external/rules_python): ??????????????????
(error: 2)
ERROR: Error fetching repository: Traceback (most recent call last):
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git.bzl", line 181, column 30, in _git_repository_implementation
update = _clone_or_update(ctx)
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git.bzl", line 36, column 20, in clone_or_update
git = git_repo(ctx, directory)
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 91, column 12, in git_repo
_update(ctx, git_repo)
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 101, column 9, in _update
init(ctx, git_repo)
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 118, column 15, in init
_error(ctx.name, cl, st.stderr)
File "C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git_worker.bzl", line 190, column 9, in _error
fail("error running '%s' while working with @%s:\n%s" % (command_text, name, stderr))
Error in fail: error running 'git init C:/_bzl/ucxiujo2/external/rules_python' while working with @rules_python:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/_bzl/ucxiujo2/external/rules_python): ??????????????????
(error: 2)
ERROR: C:/users/asuka/desktop/intern/mediapipeunityplugin-0.8.0/mediapipe_api/BUILD:176:8: //mediapipe_api:mediapipe_proto_srcs depends on @rules_pkg//:build_zip in repository @rules_pkg which failed to fetch. no such package '@rules_python//python': error running 'git init C:/_bzl/ucxiujo2/external/rules_python' while working with @rules_python:
java.io.IOException: ERROR: src/main/native/windows/process.cc(202): CreateProcessW("git" init C:/_bzl/ucxiujo2/external/rules_python): ??????????????????
(error: 2)
ERROR: Analysis of target '//mediapipe_api:mediapipe_proto_srcs' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.940s
INFO: 0 processes.

What matters here is not if you set C:\msys64\usr\bin to PATH, but if you can run git command from cmd.exe.
Have you installed git using pacman?
If so, what is the output of the below command?
which git

P.S. Again (https://github.com/homuler/MediaPipeUnityPlugin/issues/358#issuecomment-978890480 ), the output is garbled, so please fix it when posting logs.
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/chcp

I did not have git installed, so I installed it.
I don't think I used pacman as I referred to the page below.
https://ralacode.com/blog/post/git-initial-setting/
The results of running "which git" are shown below.
/c/Program Files/Git/cmd/git
I will fix the garbled text and put up the error message again.

I tried all the parameters shown under chcp referring to the url page you gave me, but I couldn't get rid of the garbled characters.
437,850,852,855,857,860,861,863,865,866,869,936

Well, I think chcp 65001 (UTF-8) is the correct one.

I don't think I used pacman as I referred to the page below.

If you hadn't installed it, I think you should have installed git using MSYS, but maybe it's OK (I don't guarantee it will work).

The same garbled characters occur with chcp 65001
ok

If the same error still occurs, then install git with pacman.

Sorry for the late reply.
I see

Error messages can now be read.
I did the build again referring to the page below.
https://github.com/homuler/MediaPipeUnityPlugin/wiki/Installation-Guide#windows-10

python build.py build --desktop cpu --opencv=cmake -v
INFO (build.py): Building protobuf sources...
DEBUG (build.py): Running bazel --output_user_root C:/_bzl build -c opt --action_env PYTHON_BIN_PATH="C://Users//asuka//AppData//Local//Programs//Python//Python39//python.exe" --action_env ProgramData --action_env PROCESSOR_ARCHITECTURE --action_env PROCESSOR_IDENTIFIER --action_env PROCESSOR_LEVEL --action_env PROCESSOR_REVISION //mediapipe_api:mediapipe_proto_srcs
Starting local Bazel server and connecting to it...
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1564776078 -0400"
DEBUG: Repository rules_python instantiated at:
C:/users/asuka/desktop/intern/mediapipeunityplugin-0.8.0/WORKSPACE:41:23: in
C:/_bzl/ucxiujo2/external/rules_pkg/deps.bzl:33:10: in rules_pkg_dependencies
C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule git_repository defined at:
C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in
INFO: SHA256 (https://github.com/bazelbuild/rules_cc/archive/main.zip) =<PHONE_NUMBER>629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3839996049629e6377abdfd04681ddeeb0cc3db13b9d2ff81bf46700cb4529f7"
DEBUG: Repository rules_cc instantiated at:
C:/users/asuka/desktop/intern/mediapipeunityplugin-0.8.0/WORKSPACE:84:13: in
Repository rule http_archive defined at:
C:/_bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
INFO: Repository local_execution_config_python instantiated at:
C:/users/asuka/desktop/intern/mediapipeunityplugin-0.8.0/WORKSPACE:463:14: in
C:/_bzl/ucxiujo2/external/org_tensorflow/tensorflow/workspace2.bzl:1085:19: in workspace
C:/_bzl/ucxiujo2/external/org_tensorflow/tensorflow/workspace2.bzl:85:27: in _tf_toolchains
C:/_bzl/ucxiujo2/external/tf_toolchains/toolchains/remote_config/configs.bzl:6:28: in initialize_rbe_configs
C:/_bzl/ucxiujo2/external/tf_toolchains/toolchains/remote_config/rbe_config.bzl:158:27: in _tensorflow_local_config
Repository rule local_python_configure defined at:
C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/py/python_configure.bzl:275:41: in
ERROR: An error occurred during the fetch of repository 'local_execution_config_python':
Traceback (most recent call last):
File "C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/py/python_configure.bzl", line 213, column 39, in _create_local_python_repository
numpy_include = _get_numpy_include(repository_ctx, python_bin) + "/numpy"
File "C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/py/python_configure.bzl", line 187, column 19, in _get_numpy_include
return execute(
File "C:/bzl/ucxiujo2/external/org_tensorflow/third_party/remote_config/common.bzl", line 230, column 13, in execute
fail(
Error in fail: Problem getting numpy include path.
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\asuka\AppData\Roaming\Python\Python39\site-packages\numpy_init.py", line 148, in
from . import distributor_init
File "C:\Users\asuka\AppData\Roaming\Python\Python39\site-packages\numpy_distributor_init.py", line 26, in
WinDLL(os.path.abspath(filename))
File "C:\Users\asuka\AppData\Local\Programs\Python\Python39\lib\ctypes_init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 は有効な Win32 アプリケーションではありません。
Is numpy installed?
ERROR: Error fetching repository: Traceback (most recent call last):
File "C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/py/python_configure.bzl", line 213, column 39, in _create_local_python_repository
numpy_include = _get_numpy_include(repository_ctx, python_bin) + "/numpy"
File "C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/py/python_configure.bzl", line 187, column 19, in _get_numpy_include
return execute(
File "C:/bzl/ucxiujo2/external/org_tensorflow/third_party/remote_config/common.bzl", line 230, column 13, in execute
fail(
Error in fail: Problem getting numpy include path.
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\asuka\AppData\Roaming\Python\Python39\site-packages\numpy_init.py", line 148, in
from . import distributor_init
File "C:\Users\asuka\AppData\Roaming\Python\Python39\site-packages\numpy_distributor_init.py", line 26, in
WinDLL(os.path.abspath(filename))
File "C:\Users\asuka\AppData\Local\Programs\Python\Python39\lib\ctypes_init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 は有効な Win32 アプリケーションではありません。
Is numpy installed?
INFO: Repository com_google_protobuf instantiated at:
C:/users/asuka/desktop/intern/mediapipeunityplugin-0.8.0/WORKSPACE:177:13: in
Repository rule http_archive defined at:
C:/bzl/ucxiujo2/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
ERROR: Analysis of target '//mediapipe_api:mediapipe_proto_srcs' failed; build aborted: Problem getting numpy include path.
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\asuka\AppData\Roaming\Python\Python39\site-packages\numpy_init.py", line 148, in
from . import distributor_init
File "C:\Users\asuka\AppData\Roaming\Python\Python39\site-packages\numpy_distributor_init.py", line 26, in
WinDLL(os.path.abspath(filename))
File "C:\Users\asuka\AppData\Local\Programs\Python\Python39\lib\ctypes_init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 は有効な Win32 アプリケーションではありません。
Is numpy installed?
INFO: Elapsed time: 16.487s
INFO: 0 processes.

If you translate the error message, you will get the following text.
OSError: [WinError 193] %1 is not a valid Win32 application.
Is numpy installed?
→I thought I installed it. PATH problem?

See https://github.com/homuler/MediaPipeUnityPlugin/issues/191#issuecomment-945319087

okay thanks

Requirement already satisfied: numpy in c:\users\asuka\appdata\roaming\python\python39\site-packages (1.21.4)
I need uninstall & install?

Please write not only the output but also the exact command you're running.
If you're sure you've installed numpy correctly, then I think you should uninstall Python and reinstall it.

Sorry for the late reply.
After reinstalling numpy and building, I no longer get the error I was getting.
However, I got an error like the one below.
shutil.ReadError: C:\Users\asuka\AppData\Local\Programs\Python\Python39\python.exe\mediapipe_api\mediapipe_proto_srcs.zip is not a zip file
The commands we ran are listed below.
python build.py build --desktop cpu --opencv=cmake -v

At the same time, a number of warnings occurred, which I will also note.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.

@ito415 Run python build.py build --desktop cpu --opencv=cmake -vv (note -vv) and share the full log, please.
You can ignore warnings safely.

python build.py build --desktop cpu --opencv=cmake -vv
The result of executing the above command is shown below.
C:\Users\asuka\Desktop\Intern\MediaPipeUnityPlugin-0.8.0>python build.py build --desktop cpu --opencv=cmake -vv
INFO (build.py): Building protobuf sources...
DEBUG (build.py): Running bazel --output_user_root C:/_bzl build -c opt --action_env PYTHON_BIN_PATH="C://Users//asuka//AppData//Local//Programs//Python//Python39//python.exe" --action_env ProgramData --action_env PROCESSOR_ARCHITECTURE --action_env PROCESSOR_IDENTIFIER --action_env PROCESSOR_LEVEL --action_env PROCESSOR_REVISION --verbose_failures //mediapipe_api:mediapipe_proto_srcs
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_absl' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_protobuf' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_google_googletest' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'com_github_gflags_gflags' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'rules_python' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_apple' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_rules_swift' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'build_bazel_apple_support' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'bazel_skylib' because it already exists.
DEBUG: C:/_bzl/ucxiujo2/external/org_tensorflow/third_party/repo.bzl:109:14:
Warning: skipping import of repository 'pybind11' because it already exists.
INFO: Analyzed target //mediapipe_api:mediapipe_proto_srcs (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //mediapipe_api:mediapipe_proto_srcs up-to-date:
bazel-bin/mediapipe_api/mediapipe_proto_srcs.zip
INFO: Elapsed time: 18.544s, Critical Path: 0.28s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
DEBUG (build.py): Unarchiving 'C:\Users\asuka\AppData\Local\Programs\Python\Python39\python.exe\mediapipe_api\mediapipe_proto_srcs.zip' to 'build\Scripts\Protobuf'...
Traceback (most recent call last):
File "C:\Users\asuka\Desktop\Intern\MediaPipeUnityPlugin-0.8.0\build.py", line 444, in
Argument().command().run()
File "C:\Users\asuka\Desktop\Intern\MediaPipeUnityPlugin-0.8.0\build.py", line 113, in run
self._unzip(
File "C:\Users\asuka\Desktop\Intern\MediaPipeUnityPlugin-0.8.0\build.py", line 91, in _unzip
shutil.unpack_archive(source, dest)
File "C:\Users\asuka\AppData\Local\Programs\Python\Python39\lib\shutil.py", line 1242, in unpack_archive
func(filename, extract_dir, **kwargs)
File "C:\Users\asuka\AppData\Local\Programs\Python\Python39\lib\shutil.py", line 1137, in _unpack_zipfile
raise ReadError("%s is not a zip file" % filename)
shutil.ReadError: C:\Users\asuka\AppData\Local\Programs\Python\Python39\python.exe\mediapipe_api\mediapipe_proto_srcs.zip is not a zip file

Have you modified build.py?

DEBUG (build.py): Unarchiving 'C:\Users\asuka\AppData\Local\Programs\Python\Python39\python.exe\mediapipe_api\mediapipe_proto_srcs.zip' to 'build\Scripts\Protobuf'...

I cannot get why the above message is output with the below code (it looks like PYTHON_BIN_PATH is assigned to _BAZEL_BIN_PATH).
https://github.com/homuler/MediaPipeUnityPlugin/blob/35fdfbc47e4d5a976c99223edf849f084e4cb5cc/build.py#L114

yes.
I had changed it after seeing someone's comment.
How can I change _BAZEL_BIN_PATH?

Well...just run git checkout build.py and run again.

I get error...

git checkout build.py
fatal: not a git repository (or any of the parent directories): .git

OK, then just download the source code again.
But note that this plugin is for developers, so it may not be suitable for your use.

i see

A newer version(0.8.2) was available, so I downloaded that one and ran the command shown below.

pacman -S git patch unzip
set BAZEL_VS=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools
set BAZEL_VC=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC
set PYTHON_BIN_PATH=C:\Users\asuka\AppData\Local\Programs\Python\Python39\python.exe
python build.py build --desktop cpu --opencv=cmake -v

The build stopped at the statement below.
[4,149 / 4,311] Foreign Cc - CMake: Building opencv_cmake; 1817s local

Maybe it worked(?).

If 1817s part is counting up, then the process is simply taking a very long time on your machine.
You can also use local OpenCV instead and skip building OpenCV.

ok,thanks.
I'll try to use that next time I build.
At any rate, the build seems to have been successful, so I'll just try it this time.
When importing into Unity, is it ok to just put all the files in?

When importing into Unity, is it ok to just put all the files in?

I'm working on getting the documentation ready, but for now, just read https://github.com/homuler/MediaPipeUnityPlugin/issues/252.
I

Sorry for the late reply.
okay, I'm sorry for the hassle.

I'll share the error I got when I played the Start Scene within Unity.
Scene with build index: 1 couldn't be loaded because it has not been added to the build settings.
To add a scene to the build settings use the menu File->Build Settings...
UnityEngine.SceneManagement.SceneManager:LoadSceneAsync (int)
Mediapipe.Unity.Bootstrap/d__17:MoveNext () (at Assets/Mediapipe/Samples/Common/Scripts/Bootstrap.cs:109)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
NullReferenceException: Object reference not set to an instance of an object
Mediapipe.Unity.Bootstrap+<>c__DisplayClass17_0.b__0 () (at Assets/Mediapipe/Samples/Common/Scripts/Bootstrap.cs:110)
UnityEngine.WaitUntil.get_keepWaiting () (at :0)
UnityEngine.CustomYieldInstruction.MoveNext () (at :0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Judging from the conversations we've had so far, are you trying to run the sample app in another project, where you have imported this plugin?
You can use this plugin in another project, but if you'd like to try the sample app, please use this project as is.

okay,I see


k8s 1.29 support for cis-benchmark

Add k8s 1.29 support for cis-benchmark

Update rancher-cis-benchmark to 6.0.0-rc2
Update security-scan to v0.2.15
Update kubectl to v1.28.7
Update cis-operator to v1.0.13
Remove psp enable from values.yaml
Sync with dev-v2.8

Validated on rancher v2.9.0-alpha5, using CIS chart 6.0.0-rc3
Fresh install - CIS v1.8-permissive profile scan:

RKE1 v1.29.5-rancher1-1 node driver and custom - passed
RKE2 v1.29.5+rke2r1 node driver and custom - observed below failures which are expected 42971

Fail
1.1.1	Ensure that the API server pod specification file permissions are set to 600 or more restrictive (Automated)
Fail
1.1.3	Ensure that the controller manager pod specification file permissions are set to 600 or more restrictive (Automated)
Fail
1.1.5	Ensure that the scheduler pod specification file permissions are set to 600 or more restrictive (Automated)
Fail
1.1.7	Ensure that the etcd pod specification file permissions are set to 600 or more restrictive (Automated)

K3s v1.29.5+k3s2 node driver and custom - passed

Upgrade checks :

Provisioned v1.28 RKE1, RKE2 and K3s node driver clusters.
Installed 6.0.0-rc3 CIS chart.
Upgraded clusters to v1.29
Ran permissive profile scan and it passed on all clusters except failures on RKE2 which is expected as mentioned in Fresh install.

Hardened RKE1, RKE2 and K3s - CIS v1.8 permissive as well as hardened profile:

RKE1 v1.27 - scan failed with below expected failure - 42971

Mixed
4.1.7	Ensure that the certificate authorities file permissions are set to 600 or more restrictive (Automated)

RKE2 v1.27 - passed.
K3s v.127 - passed.

Local cluster checks:

Provisioned RKE1, RKE2, and K3S v1.29 cluster and ran permissive v1.8 profile scan - passed

Since all the tests passed or show expected result. Hence, closing the ticket.


version pinning sqlalchemy to 1.x

Issue #, if available:
Follow up from https://github.com/aws/aws-xray-sdk-python/pull/376#issuecomment-1408035455
Description of changes:
Pinning the sqlalchemy dependency to < 2.0.0 since there are breaking changes in the new major version, rendering it incompatible with the X-Ray SDK.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Well, now the py35 and py39 tests are failing for the requests instrumentation.

Can we remove some older Python versions like 3.5 and 3.6 as they're EOL? Or would that be considered a breaking change?

Can we remove some older Python versions like 3.5 and 3.6 as they're EOL? Or would that be considered a breaking change?

I think it will be a breaking change. If there are customers still using python 3.5 or 3.6 and have minor version dependency on the SDK, they will break on the next minor version release.

Well, now the py35 and py39 tests are failing for the requests instrumentation.

Turns out these tests have become flaky.


Transparency does not work on wayland

Describe the bug
A clear and concise description of what the bug is.
Config
This happened no matter the theme, and I used default (empty) config.
To Reproduce
Install onagre on KDE and run it
Expected behavior
I expected the window to be transparent and borderless like in the screenshots
Screenshots

Window manager (please complete the following information):

Window manager: KWin on KDE

Hello @vincens2005, thanks for the report.
Seems KWin render onagre in a default container.
I have never tried KWin, i'll install it and see if there is a work around.
I will let you know how it goes.

@oknozor I don't know if this helps but the same problem also occurs when using sway.

@Nimmidev I don't have this issue on sway, can you provide a screenshot ?

Sure.
onagre 1.0.0-alpha.0
sway 1.7
wlroots 0.15.1-5
Linux archlinux 5.17.9-arch1-1

Unfortunately we gonna have to wait for https://github.com/gfx-rs/wgpu/issues/687 to be implemented before transparency works on wayland, meanwhile you need to remove border-radius from your config.

Good to know its not an issue with onagre itself. Gonna use the workaround in the meanwhile. Thanks.

I just ran into this on Pop_OS as well. Commenting so I can keep track of any happenings in the future around this.

https://github.com/gfx-rs/wgpu/issues/687 is implemented, I assume the blocked tag can now be removed.

It looks like the blocking has moved down the dependency chain from wgpu to iced: https://github.com/iced-rs/iced/issues/2087

Iced 0.12 should be able to do that now. Not sure how much work it is to upgrade though


set_user not set correctly when called in a FastAPI's route dependency

How do you use Sentry?
Sentry Saas (sentry.io)
Version
1.22.2
Steps to Reproduce

install sentry-sdk[fastapi]

Create dependency that calls set_user, e.g.:

def get_user():
  sentry_sdk.set_user({"id": "test"})
  return {"id": "test"}

Use in FastAPI route, e.g.:

@app.get("/sentry-debug")
async def trigger_error(user = Depends(get_user)):
    LOGGER.info(user)
    division_by_zero = 1 / 0

Expected Result
When I see an issue in Sentry, I see an associated user
Actual Result
I do not see an associated user. This works if I call sentry_sdk.set_user just before triggering the exception in the route.

Actually, this may be to do with data scrubbing, will resolve until I can verify.

Hey @rbhalla !
Thanks for reporting this. I have put this on our internal backlog and we will have a look

Hey @rbhalla, thanks for reporting this. For me the snippet you posted works as expected. Could you post your Python version and your dependencies with pip freeze --all so that I can try to repro with your exact setup?

get same issue with
sentry-sdk[asyncpg,rq]==2.10.0
fastapi==0.110.0

Hey @ra-coder and @rbhalla !
I tried to reproduce this with this project: https://github.com/antonpirker/testing-sentry/tree/main/test-fastapi (which uses the newest Sentry SDK) and could not reproduce the problem. Everything works as expected.
I curl the route that raises an error and in the Error in Sentry I see the user:

Could you put together a mini project that reproduces this error @ra-coder ?
This would it make way easier for us to help you!
Thanks and have a great day!

am experiencing the same issue, it occurs when you have a sub-dependency

Hey @nathan-gage, what kind of subdependency? Do you have time to put together a small repro example?

I will try to find some time and create repo with example how to reproduce eta 1-5 days


Fusion: Tweak integration implementation

Brief description
Draft integration tweaks for Fusion integration.

OpenPype menu is now available in top-level menu
No scripts are copied to the local Fusion folders, instead Fusion Master Prefs are used

Thus also removes the need for FUSION_UTILITY_SCRIPTS_DIR in settings.

Fixed issue with DLL conflict for Qt library with Fusion's own dlls in starting OpenPype menu.
The OpenPype menu tool now uses OP stylesheet
Fixed being unable to load render family with the loaders
Matched OpenPype menu tool labels more with other hosts
Added current asset label to the OpenPype menu to clarify where that process currently thinks its operating (this is useful because Fusion run scripts in its own separate process, separate from Fusion, and thus things can easily get "desynced" from one another.
FUSION16_PYTHON36_HOME can contain a "list of paths" to allow using 'local' Python if it exists, or maybe fall back to e.g. a Python on a network share.

Example setting for environment for Fusion in Admin Settings:
{
    "FUSION16_PYTHON36_HOME": {
        "windows": "{LOCALAPPDATA}/Programs/Python/Python36;{NETWORKSHARE}/bin/windows/python36",
        "darwin": "~/Library/Python/3.6/bin",
        "linux": "/opt/Python/3.6/bin"
    },
    "PYTHONPATH": [
        "{FUSION16_PYTHON36_HOME}/Lib/site-packages",
        "{VIRTUAL_ENV}/Lib/site-packages",
        "{PYTHONPATH}"
    ],
    "PATH": [
        "{FUSION16_PYTHON36_HOME}",
        "{FUSION16_PYTHON36_HOME}/Scripts",
        "{PATH}"
    ],
    "OPENPYPE_LOG_NO_COLORS": "Yes",
    "REACTOR": "path/to/Reactor/"
}

Closing this in favor of https://github.com/pypeclub/OpenPype/pull/2769 which contains this and much more.


Update akka-http-spray-json to 10.2.10

Updates com.typesafe.akka:akka-http-spray-json from 10.2.9 to 10.2.10.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.akka", artifactId = "akka-http-spray-json" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.typesafe.akka", artifactId = "akka-http-spray-json" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.45%. Comparing base (c04d33c) to head (3ea0f77).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1331      +/-   ##
==========================================
+ Coverage   79.35%   79.45%   +0.09%
==========================================
  Files         144      144
  Lines        5008     5008
  Branches      670      670
==========================================
+ Hits         3974     3979       +5
+ Misses       1034     1029       -5

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


How do I get the value without mask?

I need send the phone value like +5573916232 but always get the masked value.

need that too

Need this

Try stripping any non-numeric chars from the string. Something like this will do it:
function stripPhonenumber(phonenumber) {
    return phonenumber.replace(/[^0-9]+/g, "");
}

Need this

Same here. There should be an option to ignore the mask and not let it be part of the input value.

Any news?

https://github.com/sanniassin/react-input-mask/issues/25#issuecomment-1050817718


Question about Equation 3 in the main paper

Hi,
I wonder whether you could explain why W1 and W2 are learnable parameters since there is no objective function specified in step 4.
Thanks

Thanks for your question.
Step 4 is not a separate process. It is executed together with the new round classification. The objective function is a multi-label classification loss. @LIN-xr

@ZHANGDONG-NJUST I've read the paper carefully and am confused about your comment above.  If Step 4 is not a separate process, then does that mean the inputs to the the Multi-label Classification Model in step 1 are really X, Y, and C?


Do u have power-shell equivalent for same script, please help.

I am looking for power-shell  equivalent for same script, please help.
(you provided just bash and so many uses .ps1)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0081e7b4-8ee8-3922-bfe7-849a0375b714
Version Independent ID: 74f20b63-c25e-ffc9-c8c2-7c5e6dfaf323
Content: Create a database and collection for MongoDB API for Azure Cosmos DB
Content Source: articles/cosmos-db/scripts/cli/mongodb/create.md
Service: cosmos-db
Sub-service: cosmosdb-mongo
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

@vatansoni89 please see this page: https://docs.microsoft.com/en-us/azure/cosmos-db/powershell-samples-mongodb

The script specifically to create a database and collection for Azure Cosmos DB's API for MongoDB is here: https://docs.microsoft.com/en-us/azure/cosmos-db/scripts/powershell/mongodb/ps-mongodb-create?toc=/powershell/module/toc.json
We will close this issue now.
#please-close


Parallelism for resque

At this moment Resque is running without any parallelism, just one process for all queues. That creates huge bottlenecks at production when uploading big rasters.
Implement some parallelism and monitoring using God.

See https://github.com/splashblot/dronedb/commit/3cb1bf51f4cae090d8b053dc82f5c705e958e0cd and https://github.com/splashblot/docker-dronedb/commit/1a768bcfc1a90f16d3f7aedce84d4989fccfc1f1 for the implementation details. Now queues are configured in the file /dronedb/config/resque.god

Running on production.


Drawer Custom Elevation

I am trying to reduce the default Drawer elevation for my dark mode as follows:
 <SidebarContent PaperProps={{ elevation: 10 }}>
  --- SNIP ---
 </SidebarContent>

It seems however that the options are not being forwarded to the Paper component.
Would you mind have a look at this?

The SidebarContent does not inherit the Paper. Can you try the sx prop?
<SidebarContent sx={{ boxShadow: theme => theme.shadows[4] }}>
...
</SidebarContent>

Check out the new site. Now you own the source code, adjust as you need!


Don't hide errors when importing smart contract

When importing a smart contract throws an error, the CLI assumes that it "failed to find the smart contract in your build directory". It logs that error message to the user and exits.
https://github.com/o1-labs/zkapp-cli/blob/35f48b1755f3b35b06e0d164ea7d6449b9dcb44a/src/lib/deploy.js#L222-L228
However, there are many errors that can happen when importing a contract. Thererfore, it's a bad idea to swallow the error like that - it makes it extremely hard for users to find the real error. See https://github.com/o1-labs/zkapp-cli/issues/328 for example
Proposed solution is to specifically test whether we can find the contract file in the build directory, and log the existing error if we don't. After that, we just try to import the smart contract. If that fails, node will throw the proper error, which enables the user to identify the problem. If we want to print something pretty, or change the error color, we can achieve that with a try .. catch, but not at the cost of removing the stack trace / full error message.

Discussed with Yoni during review. +1 for this

This can eat space time.  console.log(_)


Have attach behave the same way as exec

This PR should be pretty straightforward.

Before
AFTER

c.exec(cmd)
c.exec(cmd)

c.attach('--', cmd)
c.attach(cmd)

TravisCI seems to fail on bundle for anything older than Ruby 2.0.0...


⚠ Bofrost.de has degraded performance

In 00f0f9f, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1750 ms

Resolved: Bofrost.de performance has improved in a18b73a after 28 minutes.


feat: display author name on details

When using a valid RFC-822 identifier in author-email metadata,
display the name value and link to the email address.
Does not yet support multiple values in author-email.
Resolves #11990
Signed-off-by: Mike Fiedler<EMAIL_ADDRESS>

I didn't want to manipulate release data being passed to the template. I considered adding another key to release_detail and parse out author_email there, but that felt more intrusive.
Happy to consider alternatives!


Vendor bioacoustics hub module

Fixes #6
edit: said this by email, but adding here for context:
[this] does the following

move the notebooks into the root so that (1) we don't need to ask people to change directories and so that (2) we can import a local package without having to install it, that I have named acabb
"vendors" (copies) the modules from bioacoustics_model_zoo that have the BirdNET class and some associated helper functions, and then imports the BirdNET class in the root of the acabb package
rewrites a couple cells in the CNN-embedding notebook: (1) we import BirdNET from acabb at the top and (2) instead of calling torch.hub we just instantiate the model and it loads the weights and labels from the default values for the argos
renamed the CNN-embedding notebook so it starts with "0x" -- we can definitely change the order, just trying to put that in place now

Nevermind! Decided not to mess with this


CPU display format wrong for CPUs < 1 Ghz

Tested with version 1.5 and 1.6 the CPU line ist formatted wrong on my Raspberry Pi:
 OS: Raspbian GNU/Linux 8.0 (jessie) x86
 Kernel: 4.1.19+
 Uptime: up 1 hour, 30 minutes
 Packages: 1295
 Shell: /usr/bin/zsh
 CPU: ARMv6-compatible processor rev 7 (v6l) @ 7.GHz
 Memory: 130MB / 371MB

Suggested solution: Output Ghz with leading zero if CPU < 1 Ghz

Thanks for reporting this, I'm working on a fix as we speak.

What does this output on your system?
 read -r speed < /sys/devices/system/cpu/cpu0/cpufreq/current

I'm trying to find out the format of the speed when it's below 1ghz/

/sys/devices/system/cpu/cpu0/cpufreq/current does not exist on my system (raspberry pi, raspbian "jessie")
sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq  contains the value 700000 (raspberry pi B, 700 Mhz)
on a second system  (raspberry pi, arch linux)
 sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq contains the value 900000 (raspberry pi 2B, 900 Mhz)

If it doesn't exist then the script falls back to /proc/cpuinfo. What does this output?
awk -F ': ' '/siblings/ {printf $2; exit}' /proc/cpuinfo

Both systems return nothing for this command.
Raspberry Pi 1 (Single Core):
cat /proc/cpuinfo returns:
processor       : 0
model name      : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 2.00
Features        : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2708
Revision        : 000e
Serial          : XXXXXXXXXXXXXX

Raspberry Pi 2 (Multicore)
processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 1
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 2
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 3
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

Hardware        : BCM2709
Revision        : a01041
Serial          : XXXXXXXXXXXXXX

(Serial removed)

Thanks, I can work with this. :)

1 Test works, 1 Fails:
Raspberry Pi 1:
  .',;:cc;,'.    .,;::c:,,.   USERNAME@COMPUTERNAME
 ,ooolcloooo:  'oooooccloo:   ---------
 .looooc;;:ol  :oc;;:ooooo'   OS: Raspbian GNU/Linux 8.0 (jessie) x86
   ;oooooo:      ,ooooooc.    Kernel: 4.1.19+
     .,:;'.       .;:;'.      Uptime: up 3 hours, 15 minutes
     .... ..'''''. ....       Packages: 1295
   .''.   ..'''''.  ..''.     Shell: /usr/bin/zsh
   ..  .....    .....  ..     CPU: ARMv6-compatible processor rev 7 (v6l) @ 7.GHz
  .  .'''''''  .''''''.  .    Memory: 141MB / 371MB
.'' .''''''''  .'''''''. ''.
'''  '''''''    .''''''  '''
.'    ........... ...    .'.
  ....    ''''''''.   .''.
  '''''.  ''''''''. .'''''
   '''''.  .'''''. .'''''.
    ..''.     .    .''..
          .'''''''
           ......

Raspberry Pi 2:
                   -`                   -----------
                  .o+`                  OS: Arch Linux ARM x86
                 `ooo/                  Kernel: 4.1.18-3-ARCH
                `+oooo:                 Uptime: up 4 weeks, 4 days, 14 hours, 40 minutes
               `+oooooo:                Packages: 568
               -+oooooo+:               Shell: /usr/bin/zsh
             `/:-:++oooo+:              CPU: ARMv7 rev 5 (v7l) @ 0.9GHz
            `/++++/+++++++:             Memory: 243MB / 923MB
           `/++++++++++++++:
          `/+++ooooooooooooo/`
         ./ooosssso++osssssso+`
        .oossssso-````/ossssss+`
       -osssssso.      :ssssssso.
      :osssssss/        osssso+++.
     /ossssssss/        +ssssooo/-
   `/ossssso+/:-        -:/+osssso+-
  `+sso+:-`                 `.-/+oso:
 `++:.                           `-/+/
 .`                                 `/

By the way: Where does the "x86" in the OS come from?

Weird, does the /sys/devices/system/cpu/cpu0/cpufreq directory exist?

By the way: Where does the "x86" in the OS come from?

I'm getting it from: getconf LONG_BIT
What does getconf LONG_BIT output on your system?

Yes, the /sys/devices/system/cpu/cpu0/cpufreq directory exist (on both systems)
ls /sys/devices/system/cpu/cpu0/cpufreq

affected_cpus     cpuinfo_max_freq  cpuinfo_transition_latency  scaling_available_frequencies  scaling_cur_freq  scaling_governor  scaling_min_freq
cpuinfo_cur_freq  cpuinfo_min_freq  related_cpus                scaling_available_governors    scaling_driver    scaling_max_freq  scaling_setspeed

32, which is correct; But these are ARM Processors, not Intel compatible;

I can't see why it wouldn't be working for you, if I spoof the speed to the numbers you provided above it all works as it should.

32, which is correct; But these are ARM Processors, not Intel compatible;

For now I'm going to make the architecture stuff off by default until I find a better way to get the value.

Sorry, my mistake: I overlooked the git version of Testhardware 1:
  .',;:cc;,'.    .,;::c:,,.   USERNAME@COMPUTERNAME
 ,ooolcloooo:  'oooooccloo:   ---------
 .looooc;;:ol  :oc;;:ooooo'   OS: Raspbian GNU/Linux 8.0 (jessie) x86
   ;oooooo:      ,ooooooc.    Kernel: 4.1.19+
     .,:;'.       .;:;'.      Uptime: up 3 hours, 35 minutes
     .... ..'''''. ....       Packages: 1295
   .''.   ..'''''.  ..''.     Shell: /usr/bin/zsh
   ..  .....    .....  ..     CPU: ARMv6-compatible processor rev 7 (v6l) @ 0.7GHz
  .  .'''''''  .''''''.  .    Memory: 144MB / 371MB
.'' .''''''''  .'''''''. ''.
'''  '''''''    .''''''  '''
.'    ........... ...    .'.
  ....    ''''''''.   .''.
  '''''.  ''''''''. .'''''
   '''''.  .'''''. .'''''.
    ..''.     .    .''..
          .'''''''
           ......

Thank you very much for your dedicated engagement :)

Architecture should also be fixed.
I pushed it to the same branch so do another pull and let me know if it's working. :)

Suggestion: Architecture could simply be "solved" by replacing "x86 / x64" with "32 Bit / 64 Bit"; This would also work on other plattforms (like in my example ARM), where different processors exist.

Alright, that seems like a better solution. :)

Although I would assume the "OS" states the installed processor-plattform support (for example, raspbian is compiled for amv6l, though it also works on armv7; You can run a 32 bit Linux on a 64 bit processor;)
So I would expect something like this:
OS: DISTRIBUTION_NAME 1.23 (cool_code_name) 32 Bit
CPU: 64 Bit Intel compatible .... @ 4.2GHz

This would help to distinguish different OS Installations;
Though yours seems to work, aside from an error message (commit e75a67f);
  .',;:cc;,'.    .,;::c:,,.   USERNAME@COMPUTERNAME
 ,ooolcloooo:  'oooooccloo:   ---------
 .looooc;;:ol  :oc;;:ooooo'   OS: Raspbian GNU/Linux 8.0 (jessie) armv6l
   ;oooooo:      ,ooooooc.    Kernel: 4.1.19+
     .,:;'.       .;:;'.      Uptime: up 3 hours, 41 minutes
     .... ..'''''. ....       Packages: 1295
   .''.   ..'''''.  ..''.     Shell: /usr/bin/zsh
   ..  .....    .....  ..     CPU: ARMv6-compatible processor rev 7 (v6l) @ 0.7GHz
  .  .'''''''  .''''''.  .    Memory: 137MB / 371MB
.'' .''''''''  .'''''''. ''.
'''  '''''''    .''''''  '''
.'    ........... ...    .'.
  ....    ''''''''.   .''.
  '''''.  ''''''''. .'''''
   '''''.  .'''''. .'''''.
    ..''.     .    .''..
          .'''''''
           ......

and
./neofetch: line 773: xprop: command notUSERNAME@HOSTNAME
                   -`                   -----------
                  .o+`                  OS: Arch Linux ARM armv7l
                 `ooo/                  Kernel: 4.1.18-3-ARCH
                `+oooo:                 Uptime: up 4 weeks, 4 days, 15 hours, 12 minutes
               `+oooooo:                Packages: 568
               -+oooooo+:               Shell: /usr/bin/zsh
             `/:-:++oooo+:              CPU: ARMv7 rev 5 (v7l) @ 0.9GHz
            `/++++/+++++++:             Memory: 250MB / 923MB
           `/++++++++++++++:
          `/+++ooooooooooooo/`
         ./ooosssso++osssssso+`
        .oossssso-````/ossssss+`
       -osssssso.      :ssssssso.
      :osssssss/        osssso+++.
     /ossssssss/        +ssssooo/-
   `/ossssso+/:-        -:/+osssso+-
  `+sso+:-`                 `.-/+oso:
 `++:.                           `-/+/
 .`                                 `/

I think your new solution looks very good (apart from the xprop problem remaining on arch linux)
Raspi 1:
OS: Raspbian GNU/Linux 8.0 (jessie) 32-bit

Raspi 2:
OS: Arch Linux ARM 32-bit

Right now I do not have a 64 Bit Arm system available to test the difference there;

So I would expect something like this:

OS: DISTRIBUTION_NAME 1.23 (cool_code_name) 32 Bit
CPU: 64 Bit Intel compatible .... @ 4.2GHz

This would help to distinguish different OS Installations;

I can't think of a simple way to do this, any ideas?

apart from the xprop problem remaining on arch linux

Fixed. (Try the same branch again.)

I think it'll be better if we use uname -m instead of hardcoding 32/64-bit, the uname command prints the arch the kernel was compiled for and has a nicer output imo.
See this wiki page and have a look at the uname -m column.
https://en.wikipedia.org/wiki/Uname

Very nice!
Output from Raspberry Pi 2:
                   -`                   USERNAME@COMPUTER
                  .o+`                  -----------
                 `ooo/                  OS: Arch Linux ARM 32-bit
                `+oooo:                 Kernel: 4.1.18-3-ARCH
               `+oooooo:                Uptime: up 4 weeks, 4 days, 16 hours, 17 minutes
               -+oooooo+:               Packages: 568
             `/:-:++oooo+:              Shell: /usr/bin/zsh
            `/++++/+++++++:             CPU: ARMv7 rev 5 (v7l) @ 0.9GHz
           `/++++++++++++++:            Memory: 246MB / 923MB
          `/+++ooooooooooooo/`
         ./ooosssso++osssssso+`
        .oossssso-````/ossssss+`
       -osssssso.      :ssssssso.
      :osssssss/        osssso+++.
     /ossssssss/        +ssssooo/-
   `/ossssso+/:-        -:/+osssso+-
  `+sso+:-`                 `.-/+oso:
 `++:.                           `-/+/
 .`                                 `/```

Good to see that it's working now!
What are your thoughts on my comment above?
https://github.com/dylanaraps/neofetch/issues/215#issuecomment-205280264

I think your idea is a very good one, also seems future-proof

Merged, thanks for the help!

Thank you for the projekt :+1:


Update multi-jvm

This PR updates multi-jvm as fixing code that is now redundant due to improvements in multi-jvm (i.e. https://github.com/sbt/sbt-multi-jvm/pull/42)

Ill merge now so we can see a nightly tests run


update ansible changelog after #770

following up https://github.com/signalfx/splunk-otel-collector/pull/770 I forgot this

@xp-1000 can you please rebase? I did another change to the CHANGELOG so it'll be conflicting I believe


Fixed anchors for all file

Fixed all anchors I found in this file. Now it links to the right places! If this get approved, I shall keep working on it! Related to #34

Thanks a lot for your help!


Unable to get more than 500 users

For some reason the Zammad api only returns the first 500 results, when you query the users.
So I wanted to get the next 500 users (on page 2) and used this call: GetUserListAsync(2, 500)
The Zammad client builts this string: page=2,per_page=500
But this does not work. The documentation ( https://docs.zammad.org/en/latest/api-intro.html#pagination ) says that you have to use the following format: page=1&per_page=5 (in this case page=2&per_page=500)
So, the , needs to be changed to a &. Please fix this.
I'm pretty sure, that the same error exists for the tickets, organizations, online_notifications and groups!
Thank you very much!

This is already fixed


enhance OpenShift Platform Configuration

change from using meshIdB to using Enterprise IdP
add commands for retrieving Service Account Token
fix missing namespace in one ServiceAccount configuration

Task linked: CU-6pv58r OpenShift replication with pre-provisioned users


[22.11] cinnamon.cinnamon-common: unbreak looking-glass

Description of changes
Traceback (most recent call last):
  File "/nix/store/ypin991cyarjwpdrdnxdbpy7s05vbg0y-cinnamon-common-5.4.12/share/cinnamon/cinnamon-looking-glass/cinnamon-looking-glass.py", line 21, in <module>
    import pyinotify
ModuleNotFoundError: No module named 'pyinotify'

Partial backport of https://github.com/NixOS/nixpkgs/pull/213561.
Partial addresses https://github.com/NixOS/nixpkgs/issues/213728 on 22.11.

4b1c010d2b67c34ef7bd870da8017e1705860fb4 is 22.11 only because this is fixed on upstream in cinnamon 5.6 and 22.11 is on cinnamon 5.4.
Other changes in #213561 are not considered fine to backport.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg test cinnamon


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter amtronwallbox for common errors and appropiate suggestions to keep this adapter up to date.
This check is based the current head revisions (master / main  branch) of the adapter repository
Please see the result of the check below.
ioBroker.amtronwallbox
   -
:thumbsup: No errors found
WARNINGS:

[x] :eyes: [W034] @iobroker/adapter-core 3.1.4 specified. 3.1.6 is recommended. Please consider updating dependencies at package.json
[x] :eyes: [W162] js-controller 5.0.0 listed as dependency but 5.0.19 is recommended. Please consider updating dependency at io-package.json.
[x] :eyes: [W184] "common.materialize" is deprecated for admin >= 5 at io-package.json. Please use property "adminUI".
[x] :eyes: [W521] "gulp" found at devDependencies at package.json but no "gulpfile.js" found. Is this dependency really required?
[x] :eyes: [W853] .npmignore found - consider using package.json object "files" instead.

SUGGESTIONS:

[x] :pushpin: [S519] Consider adding plugin "@alcalzone/release-script-plugin-manual-review".
[ ] :pushpin: [S522] Please consider migrating to admin 5 UI (jsonConfig).

Please review issues reported and consider fixing them as soon as appropiate.
Warnings reported by repository checker should be reviewed. While some warnings can be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
Suggestions reported by repository checker should be reviewed. Suggestions can be ignored due to a decision of the developer but they are reported as a hint to use a configuration which might get required in future or at least is used be most adapters. Suggestions are always optional to follow.
You may start a new check at any time by adding the following comment to this issue:
@iobroker-bot recheck
Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
Note: This issue replaces issue #273
@mcm1957 for evidence

This issue has been replaced by new isse #280
This issue can be closed.
your
ioBroker Check and Service Bot


simplify close and make communicate method simpler

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Enhance code readability by removing the requirement to call communicate(input="exit").
Explicitly call terminate container instead of calling communicate.
The benefit is to make the communicate logic as lean as possible

Any other comments?
🧡 Thanks for contributing!

I don't like this because _terminate_container is yet another method that sounds similar to _close, _reset, etc. Thank you for the effort, but I also wouldn't encourage refactorings that aren't motivated by added functionalities/bugfixes (because with imperfect test coverage, they can always introduce new problems)


Confusing error message when run in Dockerfile

When experimenting in a Dockerfile, I hit an odd error message:
Creating a virtualenv for this project…
usage: pew [-h] [-p PYTHON] [-i PACKAGES] [-r REQUIREMENTS] [-d] [-a PROJECT]
           envname
pew: error: the following arguments are required: envname

Virtualenv location:
Creating a Pipfile for this project…
Creating a virtualenv for this project…
usage: pew [-h] [-p PYTHON] [-i PACKAGES] [-r REQUIREMENTS] [-d] [-a PROJECT]
           envname
pew: error: the following arguments are required: envname

Virtualenv location:
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
An unexpected error occurred while accessing your virtualenv's python installation!
Please run $ pipenv --rm to re-create your environment.

Obviously a Dockerfile is a pathological environment to be running in (and I've moved on to resolve the issue), but it feels like pipenv should abort much earlier than it did
Describe your environment

OS Type: ubuntu:16.04
Python version: 3.5
Pipenv version: latest from PyPI

Expected result
Error message explaining the actual issue.
Actual result
Above error message.
Steps to replicate
Attempt to build this Dockerfile:
FROM ubuntu:16.04

RUN apt-get update && apt-get install -y python3-pip
RUN pip3 install pipenv

ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8

RUN pipenv install --deploy --verbose

Perhaps reopen this? Here's a minimal reproducer:
$ cat Dockerfile
FROM python:3.6.3
RUN pip install pipenv
RUN pipenv install

$ docker build .
Sending build context to Docker daemon  4.608kB
Step 1/3 : FROM python:3.6.3
 ---> a8f7167de312
Step 2/3 : RUN pip install pipenv
 ---> Using cache
 ---> 14db7304c3a0
Step 3/3 : RUN pipenv install
 ---> Running in b9253f7914a2
Creating a virtualenv for this project…
usage: pew [-h] [-p PYTHON] [-i PACKAGES] [-r REQUIREMENTS] [-d] [-a PROJECT]
           envname
pew: error: the following arguments are required: envname

Virtualenv location:
Creating a Pipfile for this project…
Creating a virtualenv for this project…
usage: pew [-h] [-p PYTHON] [-i PACKAGES] [-r REQUIREMENTS] [-d] [-a PROJECT]
           envname
pew: error: the following arguments are required: envname

Virtualenv location:
Pipfile.lock not found, creating…
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
An unexpected error occurred while accessing your virtualenv's python installation!
Please run $ pipenv --rm to re-create your environment.
The command '/bin/sh -c pipenv install' returned a non-zero code: 1

I can't control how it is run, ie I need to make the Dockerfile work on its own, but so far I haven't fixed the problem with ENV statements.

@mccalluc @aljp We have an example dockerfile in our project here where we recommend using set -ex and passing the the --system flag to pipenv, because by default pipenv uses pew to manage virtual environments which requires you to change your WORKDIR in your dockerfile as well as to set your WORKON_HOME environment variable.

Can we reopen this?
I disagree that Docker is "a pathological environment"!  In particular, if Pipenv doesn't work out of the box with an official Python Docker image, something is wrong (though I'm not sure whether it's the image or Pipenv that should be fixed.)
FWIW, here's my repro:
FROM python:3.6.4

RUN pip install pipenv
RUN pipenv --three

Output:
Sending build context to Docker daemon  14.19MB
Step 1/3 : FROM python:3.6.4
 ---> 336d482502ab
Step 2/3 : RUN pip install pipenv
 ---> Using cache
 ---> 91428d6b95e1
Step 3/3 : RUN pipenv --three
 ---> Running in 492b2b8a1779
Creating a virtualenv for this project…
Using /usr/local/bin/python3 (3.6.4) to create virtualenv…
usage: __main__.py [-h] [-p PYTHON] [-i PACKAGES] [-r REQUIREMENTS] [-d]
                   [-a PROJECT]
                   envname
__main__.py: error: the following arguments are required: envname

Virtualenv location:
Creating a Pipfile for this project…
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1043, in invoke
    return Command.invoke(self, ctx)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pipenv/cli.py", line 152, in cli
    core.ensure_project(three=three, python=python, warn=True, site_packages=site_packages)
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 672, in ensure_project
    ensure_pipfile(validate=validate, skip_requirements=skip_requirements)
  File "/usr/local/lib/python3.6/site-packages/pipenv/core.py", line 321, in ensure_pipfile
    project.create_pipfile(python=python)
  File "/usr/local/lib/python3.6/site-packages/pipenv/project.py", line 416, in create_pipfile
    config_parser = ConfigOptionParser(name=self.name)
  File "/usr/local/lib/python3.6/site-packages/pipenv/vendor/pip9/baseparser.py", line 149, in __init__
    assert self.name
AssertionError
The command '/bin/sh -c pipenv --three' returned a non-zero code: 1

@tsiq-oliverc do you have a pipfile that you installed? Pipenv can’t just run, it’s a dependency manager, it needs to install things in order to compute dependencies

@techalchemy - But pipenv --three is what you run to create a new env in the first place, I think?  i.e. equivalent to pipenv --python 3.6 (which also causes this issue, FWIW).  At least that's my understanding.
This works fine outside of Docker, so I assumed that was an expected workflow.

In case it helps others I was able to solve this issue by setting WORKDIR to /opt/app:
FROM python:3.6.4-stretch

WORKDIR /opt/app

# build your stuff....

@sgrowe You made something click for me. This is probably an issue with Python not getting the correct os.getcwd() inside Docker. Actually worth investigating 🤔 Unfortunately we are pretty overloaded already, and this is a low-priority issue to start with. Hopefully this can point contributors to the correct direction if there is interest.

I thought the core issue is that os.path.basename(‘/‘) == ‘’
On Fri, Mar 30, 2018 at 9:32 AM Tzu-ping Chung<EMAIL_ADDRESS>wrote:

@sgrowe https://github.com/sgrowe You made something click for me. This
is probably an issue with Python not getting the correct os.getcwd()
inside Docker. Actually worth investigating 🤔 Unfortunately we are
pretty overloaded already, and this is a low-priority issue to start with.
Hopefully this can point contributors to the correct direction if there is
interest.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pypa/pipenv/issues/1328#issuecomment-377564160, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABhjq6ApzbEeR-CnpaRzOqxe5h8oZLIrks5tjl4SgaJpZM4RlBL-
.

@tsiq-oliverc
usage: __main__.py [-h] [-p PYTHON] [-i PACKAGES] [-r REQUIREMENTS] [-d]
                   [-a PROJECT]

You got this error message.  From the documentation:
$ pipenv install <package>

You can't just have pipenv --three, that's not a valid command.  You haven't told pipenv to install, or run, or uninstall, or <verb> anything.  That's why it told you what the usage is as a response.  This would be the same as simply typing pip, or docker.  Sure, you can tell it what executable or image you want to use, but unless you tell it what you want to do you're not going to get very far.

@techalchemy - Also from the docs (the landing page, no less):

To initialize a Python 3 virtual environment, run $ pipenv --three.

It sounds like an overhaul of the docs is necessary if there's this kind of confusion?

@tsiq-oliverc thanks for pointing that out! Possibly we should bring the code in line with this to avoid more confusion. Will consider which approach makes sense

@techalchemy FWIW, my opinion is that the ability to create a "blank" environment (starting from nothing) is extremely useful.  So I'd prefer that you didn't remove that :/
Perhaps that behaviour could be moved to an explicit init command though?  And then if the intent is that there should always be a command/verb, perhaps update cli.py to enforce that.

I don't think this is a documentation issue. I'm getting the same problem with the following Dockerfile:
# ---- Base Node ----
FROM alpine:3.7 as base
RUN apk add --no-cache python3 && \
    python3 -m ensurepip && \
    rm -r /usr/lib/python*/ensurepip && \
    pip3 install --upgrade pip setuptools && \
    if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \
    if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi && \
    rm -r /root/.cache

# security update
RUN apk update
RUN apk upgrade -U -a
RUN apk add sqlite
RUN adduser -S djangocms
RUN mkdir /home/djangocms -p
RUN chown djangocms /home/djangocms
# add locales
ENV LANG=en_US.UTF-8 \
    LANGUAGE=en_US.UTF-8 \
    LC_CTYPE=en_US.UTF-8 \
    LC_ALL=en_US.UTF-8
RUN apk add --update --no-cache socat curl tzdata findutils
RUN apk add git
RUN pip install git+https://github.com/pypa/pipenv
RUN cd /home/djangocms
RUN pipenv install djangocms-installer --three

pipenv --three definitely is supposed to work (I use it too)
Docker problems generally boil down to either (1) / has no name and thus cannot be hashed for generating virtualenv or (2) python version and path problems. So for now, the solution is to make the WORKDIR not be / (which is the default).  For context - pipenv hashes the / to figure out virtualenv name, and I think when it doesn't exist it hits a pathological codepath...

Also there is a fix in the pipeline (pr is open as of yesterday) which likely helps with this so there isn't much more we can do


Deploy using hedy

Refactor to use helix-universal then deploy using helix-deploy

Sharing some progress here...
After running
npm run build

I can deploy bin/index.js into Fastly Compute via hedy with:
hedy --build --verbose --directory `pwd`/temp --entryFile `pwd`/bin/index.js --deploy --fastly-auth <apikey> --compute-service-id <serviceid> --compute-test-domain <service-domain> --target c@e --arch node --arch edge --fastly-gateway deploy-test.anywhere.run

Then you can call it with something like this:
$ curl --header 'X-Forwarded-Host:example.com' -X POST https://<service-domain>.edgecompute.app/.rum/1  -d '{"cwv":{ "CLS": 1.0, "LCP": 1.0, "FID": 4 }, "id": "blablub", "weight": 2}'
rum collected.

Next steps:
The hedy command does produce the following error:
ERROR in fastly:logger
Module build failed: UnhandledSchemeError: Reading from "fastly:logger" is not handled by plugins (Unhandled scheme).

This means that either the hedy command needs to be updated to handle the special fastly:logger import.
Or - as it might be that this happens during the generation of the main.wasm file, and the main.wasm file is already generated during npm run build, maybe we can give hedy that file directly so that it doesn't have to handle this special import...

:tada: This issue has been resolved in version 2.2.5 :tada:
The release is available on:

v2.2.5
v2.2.5
GitHub release

Your semantic-release bot :package::rocket:


throw an error if there is not enough space for the x or y scales

demo: https://observablehq.com/@observablehq/collapsing-ranges-618
the most difficult part was to come up with a somehow relevant error message
closes #616

superseded by #640

superseded by #640


Assertion failure in upgradeBatchTable when using cmpt tileset

This does not seem to happen for tilesets with regular b3dms, only cmpt tilesets.

@nithinp7 do you happen to remember which cmpt you were using when you ran into this? If not, perhaps we close it until we see it again.


enableBackdrop missing in IStepOption?

The IStepOption interface seems to exclude the enableBackdrop property, however it seems that this property is an attribute of a single step, right? It's also listed on the website.

It's only implemented for ngx-tour-md-menu -> https://github.com/isaacplmann/ngx-tour/blob/master/projects/ngx-tour-md-menu/src/lib/step-option.interface.ts#L4


Prl 941 upload witness latest

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PRL-941
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ x] No

creating new PR and closing this


Add swimm as startup sponsor

URL: https://swimm.io/product/
swimm_logo_swimmblue.svg.zip

Fixed by #105


Compilation fails if repo is cloned with a different name

This is because .. is added to lib_dirs and include_lib is used to include emqttd's own header files. This is a very ugly hack and compilation fails under our CI environment.
Why are we not using include with relative paths instead?

@phanimahesh, agree that this is a boring issue.
If we use relative path, have to "-inclue("../../../include/emqttd.hrl"). It seems a bit ugly:(

If erlang include path is set properly, it should be possible to just do -include("emqttd.hrl"), right?

Hi @phanimahesh, I comment the 'lib_dir'  in rebar.config:)


Tests and performance fixes for hash helpers.

This PR has the following changes:

Improved performance and reduced allocations for SHA1 hash helpers 🚀

IsStringSHA1Hash is now hundreds of times faster and doesn't allocate any memory except for the empty string case which is almost a nanosecond slower now 😱
CreateSHA1Hash is now around 3 times faster and allocates 4 times less than previously.  I was wondering who would add tests first 😁 Hopefully this is merged soon so I can update the NTLM hash function on my PR


workflows: Fix gosec errors & enable code annotations

Enables code annotations in case of failures and fixes the actions triggered by the main branch.
https://github.com/Icinga/icinga-go-library/actions/runs/7783022809/job/21220618068
This PR suppresses also some of the reported existing gosec errors and solves some of them as well and drops the only-new-issue flag set for the go linter.
$ gosec ./...
---
Results:

Summary:
  Gosec  : dev
  Files  : 40
  Lines  : 4269
  Nosec  : 4
  Issues : 0

refs https://github.com/Icinga/icinga-go-library/pull/9


Multilevel aggregation for metric_aggregation Rule

GET Index-Name/_search
{
"query": {
"bool": {
"must": [
{"term": {
"tags.src_dc.keyword": {
"value": "XXX"
}
}},
{"term": {
"tags.dst_dc.keyword": {
"value": "YYY"
}
}},
{"range": {
"tags.stimestamp": {
"gte": "now-5m",
"lte": "now"
}
}}
]
}
},
"size": 1,
"aggs": {
"src_clouds": {
"terms": {
"field": "tags.src_cloud.keyword",
"size": 10
},"aggs": {
"dst_clouds": {
"terms": {
"field": "tags.dst_cloud.keyword",
"size": 10
},"aggs": {
"avg_rtt": {
"avg": {
"field": "fields.rtt"
}
}
}
}
}
}
}
}
this is my elastic search query. I want to monitor the threshold for the avg value of 'fields.rtt'. You can see I have to do the two level of aggregation.
I think i should use metric_aggregation and query key for first level of aggregation. but how we can have multilevel aggregation?
Can you please help me on this?

I have the same question.

if someone resolve it，please tell me， thank you !


Regexp highlighter

Hi,
I regularly use regexp highlighter, so may be it will be useful for others. It's basically like pattern highlighter, but allow to set more advanced patterns:
https://gist.github.com/disarmer/0d0a2721a9515a51b749ff7bba7b5c4c
With this you can use PCRE regexp for patterns, for example:
ZSH_HIGHLIGHT_REGEXP+=('\bsudo\b' fg=123,bold)
This will highlight "sudo" only if it's surrounded by word boundary, i.e. "sudo cmd", but not "sudoedit"

Thanks for the patch, @disarmer.
Review:

The hardcoded 999 is inappropriate; would be better to use -1 there, or ${buf:$MEND}.

I'm concerned about the use of recursion.  zsh has a recursion depth limit; highlighting something like space might run into it.  Maybe switch to an explicit loop?

The initial call to _loop ought to pass 0 for $3.

Moreover, if this is to be merged, documentation (in markdown) would be needed too.
$PREBUFFER is ignored.  (It's non-empty a multiline construct was entered at the prompt, e.g., after typing { and <Enter> at the prompt.)  Is that intentional?
Bottom line: I think this would be a useful addition; would you be able to package it as a pull request?
Thanks!

Great, i'll fix these and make a pull request in near time.
Hardcoded 999 used as recursion limit, because zsh has 1000 depth limit.
About the use of recursion: i tested corner case:
ZSH_HIGHLIGHT_REGEXP+=('-' fg=123,bold)
I flooded input line with a lot of '-' and zsh got a segfault. Then i lowered 999 and tested several times and found that zsh segfault when this boundary greater 640. I don't know, it's look like bug in zsh, may be because too many escape sequences.
But anyway, it's corner-case, in normal situations user should use '-+' regexp (i.e matching one or more minus sign).
Now if i leave 640 as recursion limit and write comment about this number, it will be ok?

Great, i'll fix these and make a pull request in near time.

I look forward to that.

Hardcoded 999 used as recursion limit, because zsh has 1000 depth limit.
About the use of recursion: i tested corner case:
ZSH_HIGHLIGHT_REGEXP+=('-' fg=123,bold)
I flooded input line with a lot of '-' and zsh got a segfault. Then i lowered 999 and tested several times and found that zsh segfault when this boundary greater 640. I don't know, it's look like bug in zsh, may be because too many escape sequences.

I expect the segfault is because your zsh was compiled with the --disable-max-function-depth configure option.  What's the output of % f() { f }; f (at the prompt) in your shell?  Mine gives "f:1: maximum nested function level reached".

But anyway, it's corner-case, in normal situations user should use '-+' regexp (i.e matching one or more minus sign).

This doesn't change anything; it just changes the problem from "how many minuses" to "how many runs of minuses".

Now if i leave 640 as recursion limit and write comment about this number, it will be ok?

Sorry, but no.  The value '640' will change from user to user and from zsh release to zsh release; and it'd be better to avoid the issue entirely by rewriting the code iteratively rather than recursively.
Feel free to join us on IRC (#zsh-syntax-highlighting on freenode).
Cheers,

I expect the segfault is because your zsh was compiled with the --disable-max-function-depth

No, i just use standard zsh package from archlinux ( here configure options: https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/zsh )
% f() { f }; f
f: maximum nested function level reached

This not showing depth limit for me, so i modified your code a bit:
% f() { let X=X+1;echo $X;f }; f
...
999
1000
f: maximum nested function level reached

This doesn't change anything; it just changes the problem from "how many minuses" to "how many runs of minuses".

But it's change: with '-+' it's match whole line of minuses in one "zsh_highlight_regexp_highlighter_loop" call, then recursive call does nothing (because it's get empty $buf) and return
Ok, i'll try to rewrite to iterative function, but not yet sure how

But it's change: with '-+' it's match whole line of minuses in one "zsh_highlight_regexp_highlighter_loop" call, then recursive call does nothing (because it's get empty $buf) and return

We're talking about different cases.  I was thinking of the case where $BUFFER has many non-consecutive matches, for example, matching when the regexp is /[ ]/ (without the slashes; they're just delimiters) and $BUFFER contains a shell command.

Ok, i'll try to rewrite to iterative function, but not yet sure how

To clarify, I mean to rewrite the _loop function in terms of a for or while loop.  Let us know if you need a pointer.

I rewrite to iterative cycle and created a pull request, please take a look:
https://github.com/zsh-users/zsh-syntax-highlighting/pull/381

Looks good, thanks!  I'll write a detailed review later.  I'd like to merge #356 next week and then release a beta; it'd be great if we could merge #381 by then, too.

Update: haven't forgotten about this.  I can't merge it now because I'd like to keep master in a releaseable state, so as soon as upstream releases 5.3 I can merge #356 and release 0.6.0 here; but merging this branch would require a soak period before a subsequent release.  I'd have merged this branch now if I knew the upstream release was still a few weeks away, but it might not be that far.
Adding the "upstream" label because of this scheduling dependency.  Apologies for the delay.

Great, thank you

We're going to release a quick 0.6.0 so this will be deferred to 0.7.0.  Apologies, I should have merged this sooner.

Merged in 4e6f600.


Handle errors individually for each annotation in the _parsedAnnotations getter

While working on PR #11872, it occurred to me that it probably wouldn't be a bad idea to change the _parsedAnnotations getter to handle errors individually for each annotation. This way, one broken/corrupt annotation won't prevent the rest of them from being e.g. fetched through the API.

/botio test

/botio-linux test

Looks good; thanks!


NVDXInterop crash upon calling wglDXRegisterObjectNV

Describe the bug
I'm currently in the middle of a closed beta test and a user of mine reported a bug when using the OpenGLFX rendering engine. It immediately crashes upon startup of the stream.
To Reproduce
Difficult seems to be driver or device specific. Here are some crashlogs
Crashlogs.zip
It seems it is DirectX related, I asked him to use the OpenGL pipeline on Windows (which is supported by my application). Will report back if the crash also happens via the OpenGL pipeline but I guess not.
Environment:

OS:

Nvidia gtx 1650 mobile
Ryzen 5 5600h
Windows 11 Pro 23H2

openglfx version: 4.0.5

Interesting. I think I should also do a little functionality testing when checking NvDxInterop support to rule out any driver or hardware issues.
I'll see what I can do about it, but right now all my time is spent upgrading offscreen-jgl (now called “grapl”) to make it possible to update openglfx in future

Thanks, yes no worries. Keep me updated.
I will report back if I got some news.

@husker-dev yes the OpenGL pipeline seems to work fine according to the feedback I got from my beta tester.

hs_err_pid23372.txt
Another crash report from a user, happening on a AMD Ryzen 5 5500U with Radeon Graphics device.

@husker-dev are there any news? I got a few more bug reports and all of them seem to use some kind of Radeon Graphics device. My application also offers additional rendering pipelines so I have workarounds available but would be cool if this could be fixed somehow.

@streamingdv
Hi, currently busy with my job and also the project grapl that we use.
I plan to work on openglfx soon, but I won't give exact dates. It might be in the next few weeks

All good, thanks for the status update 👍

@streamingdv, some updates:
Swap buffers
I made a good asynchronous algorithm that will have something called "Swap buffers".
Also, I will remove synchronous rendering, because better option will be configuration with one swap buffer.
NVDXInterop has already been rewritten to support them.
New interop type
I've been trying to implement texture sharing from DirectX 9 to OpenGL via DXGI handles for the last three days.
I managed to do it via a DirectX 11 proxy.
It used EXT_external_objects and EXT_external_objects_win32 on OpenGL side.
Most of the logic is taken from here:

https://github.com/malstraem/vulkan-interop-directx/issues/2#issuecomment-1943740488
Similar example on Stack Overflow

I'll make this a priority choice over wgl_nv_dx_interop because it consumes less GPU resources and should also be well supported on AMD GPU.

I'll upload the code soon

It looks like I can do it without DirectX 11. It seems to work too

Once the new version is ready I can definitely offer to test it on a few Windows/ Linux machines. If everything works I can invite some users of my application to test an beta release of my app bundled with the new OpenGLFX lib to get some feedback.

Check the new release 4.1.0.
If the problem is not solved, then reopen the issue


print usage when run without args (fails because it needs a network)

📝 Summary
If it fails when run without args, print the usage too

✅ I have run these commands

[x] make lint
[x] make test-race
[x] make run-mergemock-integration
[x] go mod tidy

Codecov Report

Merging #216 (386382e) into main (f975826) will increase coverage by 0.53%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #216      +/-   ##
==========================================
+ Coverage   83.09%   83.63%   +0.53%
==========================================
  Files           5        5
  Lines         556      556
==========================================
+ Hits          462      465       +3
+ Misses         70       68       -2
+ Partials       24       23       -1

Flag
Coverage Δ

unittests
83.63% <ø> (+0.53%)
:arrow_up:

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

Impacted Files
Coverage Δ

server/service.go
83.82% <0.00%> (+0.99%)
:arrow_up:

Continue to review full report at Codecov.

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


Merge release-4.9.0-m2 branch to 4.9.x

Purpose
$Subject

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: sahanruwanga:x: wso2-jenkins-botYou have signed the CLA already but the status is still pending? Let us recheck it.


Add support for datasets

Closes #16.
@dustinfarris if you have a use case for this feature, please test this branch and let me know if it gets you where you need :)
{:vega_lite, "~> 0.1.1", github: "livebook-dev/vega_lite", branch: "jk-datasets", override: true}

Example usage alternative to data_from_values:
Vl.new(width: 400, height: 400)
|> Vl.datasets_from_values(
  mydata: [
    %{iteration: 1, score: 1},
    %{iteration: 10, score: 10},
    %{iteration: 100, score: 100}
  ]
)
|> Vl.data(name: "mydata")
|> Vl.mark(:line)
|> Vl.encode_field(:x, "iteration", type: :quantitative)
|> Vl.encode_field(:y, "score", type: :quantitative)

It works!


Reload before send "start charge"

In HA I want to send "reload" before "start charge"
I want to wake up the integration before sending "start charge" when I schedule the task. Is that possible?
Best regards.

Please explain reload more, you mean reloading the integration or reloading the fresh data from kia servers?

I mean ”reloading the integration” Bets regardsPetter Hegman7 nov. 2023 kl. 11:38 skrev Fuat Akgün @.***>:
Please explain reload more, you mean reloading the integration or reloading the fresh data from kia servers?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I assume due to the invalid id item.  This should be solved.  Check out #672.

Great! Thanks. Keep up the good work.I try it tomorrow.Petter Hegman10 nov. 2023 kl. 23:18 skrev cdnninja @.***>:
I assume due to the invalid id item.  This should be solved.  Check out #672.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


misc cleanup of mssql module

@jeremyrickard similar cleanup to what was in #308

Closing this. This is not the PR I had intended to submit. Stand by for replacement.


with timeout on mysqlconnection query

the goal here is to allow setting an optional timeout on mysql query

If you really want to timeout a query you also need to issue a kill command to MySQL so it stops the query, the way this is implemented here is just a client timeout and it wouldn´t make much sense to have it inside the driver, the code using the driver should be the one responsible for deciding to timeout a future returned or not.

I think that this pull request can be closed ...

This was implemented and merged already.