build_rocm_verbs failed

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):CentOS Linux release 7.6.1810 (Core)
TensorFlow installed from (source or binary):source
TensorFlow version:1.13
Python version:2.7.5
Installed using virtualenv? pip? conda?: rocm/tensorflow:rocm2.3-tf1.13-centos-dev
Bazel version (if compiling from source):0.19
GCC/Compiler version (if compiling from source):7.3.1
ROCm/MIOpen version:2.3
GPU model and memory:

Describe the problem
./tensorflow/core/util/tensor_format.h:420:3: note: in expansion of macro 'CHECK'
CHECK(index >= 0 && index < dimension_attributes.size())
^
./tensorflow/core/util/tensor_format.h: In instantiation of 'T tensorflow::GetFilterDim(tensorflow::gtl::ArraySlice, tensorflow::FilterTensorFormat, char) [with T = long long int; tensor
flow::gtl::ArraySlice = absl::Span]':./tensorflow/core/util/tensor_format.h:461:54:   required from here
./tensorflow/core/util/tensor_format.h:435:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CHECK(index >= 0 && index < dimension_attribute.size())
./tensorflow/core/platform/macros.h:87:47: note: in definition of macro 'TF_PREDICT_FALSE'
#define TF_PREDICT_FALSE(x) (builtin_expect(x, 0))
^
./tensorflow/core/util/tensor_format.h:435:3: note: in expansion of macro 'CHECK'
CHECK(index >= 0 && index < dimension_attribute.size())
^
ERROR: /root/tensorflow/tensorflow/contrib/gdr/BUILD:40:1: C++ compilation of rule '//tensorflow/contrib/gdr:gdr_memory_manager' failed (Exit 1): crosstool_wrapper_driver_rocm failed: error
executing command   (cd /root/.cache/bazel/bazel_root/efb88f6336d9c4a18216fb94287b8d97/execroot/org_tensorflow &&
exec env -
LD_LIBRARY_PATH=/opt/rocm/lib:/usr/local/lib:/opt/rh/devtoolset-7/root
PATH=/opt/rh/devtoolset-7/root/usr/bin:/opt/rocm/hcc/bin:/opt/rocm/hip/bin:/opt/rocm/bin:/opt/rocm/hcc/bin::/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/proc/self/cwd
external/local_config_rocm/crosstool/clang/bin/crosstool_wrapper_driver_rocm -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-
sections -fdata-sections '-std=c++11' -MD -MF bazel-out/host/bin/tensorflow/contrib/gdr/objs/gdr_memory_manager/gdr_memory_manager.pic.d '-frandom-seed=bazel-out/host/bin/tensorflow/contrib/gdr/objs/gdr_memory_manager/gdr_memory_manager.pic.o' -fPIC -D__CLANG_SUPPORT_DYN_ANNOTATION -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-DEIGEN_HAS_TYPE_TRAITS=0' -DTF_USE_SNAPPY -DTENSORFLOW_USE_VERBS -DTENSORFLOW_USE_GDR -DCURL_STATICLIB -DPLATFORM_LINUX -DENABLE_CURL_CLIENT -DENABLE_NO_ENCRYPTION -iquote . -iquote bazel-out/host/genfiles -iquote bazel-out/host/bin -iquote external/protobuf_archive -iquote bazel-out/host/genfiles/external/protobuf_archive -iquote bazel-out/host/bin/external/protobuf_archive -iquote external/bazel_tools -iquote bazel-out/host/genfiles/external/bazel_tools -iquote bazel-out/host/bin/external/bazel_tools -iquote external/com_google_absl -iquote bazel-out/host/genfiles/external/com_google_absl -iquote bazel-out/host/bin/external/com_google_absl -iquote external/eigen_archive -iquote bazel-out/host/genfiles/external/eigen_archive -iquote bazel-out/host/bin/external/eigen_archive -iquote external/local_config_sycl -iquote bazel-out/host/genfiles/external/local_config_sycl -iquote bazel-out/host/bin/external/local_config_sycl -iquote external/nsync -iquote bazel-out/host/genfiles/external/nsync -iquote bazel-out/host/bin/external/nsync -iquote external/gif_archive -iquote bazel-out/host/genfiles/external/gif_archive -iquote bazel-out/host/bin/external/gif_archive -iquote external/jpeg -iquote bazel-out/host/genfiles/external/jpeg -iquote bazel-out/host/bin/external/jpeg -iquote external/com_googlesource_code_re2 -iquote bazel-out/host/genfiles/external/com_googlesource_code_re2 -iquote bazel-out/host/bin/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/host/genfiles/external/farmhash_archive -iquote bazel-out/host/bin/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/host/genfiles/external/fft2d -iquote bazel-out/host/bin/external/fft2d -iquote external/highwayhash -iquote bazel-out/host/genfiles/external/highwayhash -iquote bazel-out/host/bin/external/highwayhash -iquote external/zlib_archive -iquote bazel-out/host/genfiles/external/zlib_archive -iquote bazel-out/host/bin/external/zlib_archive -iquote external/local_config_rocm -iquote bazel-out/host/genfiles/external/local_config_rocm -iquote bazel-out/host/bin/external/local_config_rocm -iquote external/local_config_cuda -iquote bazel-out/host/genfiles/external/local_config_cuda -iquote bazel-out/host/bin/external/local_config_cuda -iquote external/double_conversion -iquote bazel-out/host/genfiles/external/double_conversion -iquote bazel-out/host/bin/external/double_conversion -iquote external/curl -iquote bazel-out/host/genfiles/external/curl -iquote bazel-out/host/bin/external/curl -iquote external/boringssl -iquote bazel-out/host/genfiles/external/boringssl -iquote bazel-out/host/bin/external/boringssl -iquote external/jsoncpp_git -iquote bazel-out/host/genfiles/external/jsoncpp_git -iquote bazel-out/host/bin/external/jsoncpp_git -iquote external/aws -iquote bazel-out/host/genfiles/external/aws -iquote bazel-out/host/bin/external/aws -isystem external/protobuf_archive/src -isystem bazel-out/host/genfiles/external/protobuf_archive/src -isystem bazel-out/host/bin/external/protobuf_archive/src -isystem external/eigen_archive -isystem bazel-out/host/genfiles/external/eigen_archive -isystem bazel-out/host/bin/external/eigen_archive -isystem external/nsync/public -isystem bazel-out/host/genfiles/external/nsync/public -isystem bazel-out/host/bin/external/nsync/public -isystem external/gif_archive/lib -isystem bazel-out/host/genfiles/external/gif_archive/lib -isystem bazel-out/host/bin/external/gif_archive/lib -isystem external/farmhash_archive/src -isystem bazel-out/host/genfiles/external/farmhash_archive/src -isystem bazel-out/host/bin/external/farmhash_archive/src -isystem external/zlib_archive -isystem bazel-out/host/genfiles/external/zlib_archive -isystem bazel-out/host/bin/external/zlib_archive -isystem external/local_config_rocm/rocm -isystem bazel-out/host/genfiles/external/local_config_rocm/rocm -isystem bazel-out/host/bin/external/local_config_rocm/rocm -isystem external/local_config_rocm/rocm/rocm/include -isystem bazel-out/host/genfiles/external/local_config_rocm/rocm/rocm/include -isystem bazel-out/host/bin/external/local_config_rocm/rocm/rocm/include -isystem external/local_config_cuda/cuda -isystem bazel-out/host/genfiles/external/local_config_cuda/cuda -isystem bazel-out/host/bin/external/local_config_cuda/cuda -isystem external/local_config_cuda/cuda/cuda/include -isystem bazel-out/host/genfiles/external/local_config_cuda/cuda/cuda/include -isystem bazel-out/host/bin/external/local_config_cuda/cuda/cuda/include -isystem external/double_conversion -isystem bazel-out/host/genfiles/external/double_conversion -isystem bazel-out/host/bin/external/double_conversion -isystem external/local_config_cuda/cuda/cuda/include/crt -isystem bazel-out/host/genfiles/external/local_config_cuda/cuda/cuda/include/crt -isystem bazel-out/host/bin/external/local_config_cuda/cuda/cuda/include/crt -isystem external/local_config_rocm/rocm/rocm/include/rocrand -isystem bazel-out/host/genfiles/external/local_config_rocm/rocm/rocm/include/rocrand -isystem bazel-out/host/bin/external/local_config_rocm/rocm/rocm/include/rocrand -isystem external/curl/include -isystem bazel-out/host/genfiles/external/curl/include -isystem bazel-out/host/bin/external/curl/include -isystem external/boringssl/src/include -isystem bazel-out/host/genfiles/external/boringssl/src/include -isystem bazel-out/host/bin/external/boringssl/src/include -isystem external/jsoncpp_git/include -isystem bazel-out/host/genfiles/external/jsoncpp_git/include -isystem bazel-out/host/bin/external/jsoncpp_git/include -isystem external/aws/aws-cpp-sdk-core/include -isystem bazel-out/host/genfiles/external/aws/aws-cpp-sdk-core/include -isystem bazel-out/host/bin/external/aws/aws-cpp-sdk-core/include -isystem external/aws/aws-cpp-sdk-kinesis/include -isystem bazel-out/host/genfiles/external/aws/aws-cpp-sdk-kinesis/include -isystem bazel-out/host/bin/external/aws/aws-cpp-sdk-kinesis/include -isystem external/aws/aws-cpp-sdk-s3/include -isystem bazel-out/host/genfiles/external/aws/aws-cpp-sdk-s3/include -isystem bazel-out/host/bin/external/aws/aws-cpp-sdk-s3/include -g0 '-march=haswell' -g0 -DTENSORFLOW_USE_ROCM -no-canonical-prefixes -Wno-builtin-macro-redefined '-D__DATE="redacted"' '-D__TIMESTAMP_="redacted"' '-D__TIME__="redacted"' -D__HIP_PLATFORM_HCC__ -DEIGEN_USE_HIP -fno-canonical-system-headers -c tensorflow/contrib/gdr/gdr_memory_manager.cc -o bazel-out/host/bin/tensorflow/contrib/gdr/_objs/gdr_memory_manager/gdr_memory_manager.pic.o)tensorflow/contrib/gdr/gdr_memory_manager.cc:16:0: error: unterminated #ifdef
#ifdef TENSORFLOW_USE_GDR
tensorflow/contrib/gdr/gdr_memory_manager.cc: In member function 'virtual void tensorflow::{anonymous}::GdrMemoryManager::TensorFromTransportOptions(tensorflow::Tensor*, const google::proto
buf::Any&, tensorflow::Device*, tensorflow::DeviceContext*, bool, tensorflow::StatusCallback)':tensorflow/contrib/gdr/gdr_memory_manager.cc:458:7: error: 'host_copy' was not declared in this scope
host_copy.NumElements() > 0) {
^~~~~~~~~
tensorflow/contrib/gdr/gdr_memory_manager.cc:458:7: note: suggested alternative: 'host_'
host_copy.NumElements() > 0) {
^~~~~~~~~
host_
tensorflow/contrib/gdr/gdr_memory_manager.cc:461:18: error: 'GPUUtil' has not been declared
checksum = GPUUtil::Checksum(host_copy);
^~~~~~~
In file included from ./tensorflow/core/platform/default/logging.h:24:0,
from ./tensorflow/core/platform/logging.h:25,
from ./tensorflow/core/lib/core/status.h:25,
from ./tensorflow/contrib/gdr/gdr_memory_manager.h:20,
from tensorflow/contrib/gdr/gdr_memory_manager.cc:18:
tensorflow/contrib/gdr/gdr_memory_manager.cc:462:35: error: 'class tensorflow::RemoteMemoryRegion' has no member named 'checksum'
CHECK(checksum == remote_mr.checksum())
^
./tensorflow/core/platform/macros.h:87:47: note: in definition of macro 'TF_PREDICT_FALSE'
#define TF_PREDICT_FALSE(x) (__builtin_expect(x, 0))
^
tensorflow/contrib/gdr/gdr_memory_manager.cc:462:7: note: in expansion of macro 'CHECK'
CHECK(checksum == remote_mr.checksum())
^
tensorflow/contrib/gdr/gdr_memory_manager.cc:463:69: error: 'class tensorflow::RemoteMemoryRegion' has no member named 'checksum'
<< "Checksum mismatch: " << checksum << "!=" << remote_mr.checksum();
^~~~~~~~
In file included from ./tensorflow/core/platform/default/logging.h:24:0,
from ./tensorflow/core/platform/logging.h:25,
from ./tensorflow/core/lib/core/status.h:25,
from ./tensorflow/contrib/gdr/gdr_memory_manager.h:20,
from tensorflow/contrib/gdr/gdr_memory_manager.cc:18:
./tensorflow/core/util/tensor_format.h: In instantiation of 'T tensorflow::GetTensorDim(tensorflow::gtl::ArraySlice, tensorflow::TensorFormat, char) [with T = long long int; tensorflow::
gtl::ArraySlice = absl::Span]':./tensorflow/core/util/tensor_format.h:452:47:   required from here
./tensorflow/core/util/tensor_format.h:420:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CHECK(index >= 0 && index < dimension_attributes.size())
./tensorflow/core/platform/macros.h:87:47: note: in definition of macro 'TF_PREDICT_FALSE'
#define TF_PREDICT_FALSE(x) (__builtin_expect(x, 0))
^
./tensorflow/core/util/tensor_format.h:420:3: note: in expansion of macro 'CHECK'
CHECK(index >= 0 && index < dimension_attributes.size())
^
./tensorflow/core/util/tensor_format.h: In instantiation of 'T tensorflow::GetFilterDim(tensorflow::gtl::ArraySlice, tensorflow::FilterTensorFormat, char) [with T = long long int; tensor
flow::gtl::ArraySlice = absl::Span]':./tensorflow/core/util/tensor_format.h:461:54:   required from here
./tensorflow/core/util/tensor_format.h:435:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
CHECK(index >= 0 && index < dimension_attribute.size())
./tensorflow/core/platform/macros.h:87:47: note: in definition of macro 'TF_PREDICT_FALSE'
#define TF_PREDICT_FALSE(x) (__builtin_expect(x, 0))
^
./tensorflow/core/util/tensor_format.h:435:3: note: in expansion of macro 'CHECK'
CHECK(index >= 0 && index < dimension_attribute.size())
^
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 219.075s, Critical Path: 151.18s, Remote (0.00% of the time): [queue: 0.00%, setup: 0.00%, process: 0.00%]
INFO: 6457 processes: 6457 local.
FAILED: Build did NOT complete successfully
Provide the exact sequence of commands / steps that you executed before running into the problem
I want to use "grpc+verbs" to communicate,,then ,run ./build_rocm_verbs,but generate above errors
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Hi @XuanBaby , TF-ROCm verbs support is not enabled on CentOS user-bit environment. Please use Ubuntu system to proceed.
The following docker image can be your reference:
rocm/tensorflow:rocm2.3-tf1.13-verbs-dev
The docker image should be compatible with CentOS kernel if you have rock-dkms configurated properly there.
Please try it out and let us know if you have further questions.

Hi @sunway513 , firsrt, I try to training in docker images:rocm/tensorflow:rocm2.3-tf1.13-verbs-dev，then, I try pip3 install the .whl file in rocm/tensorflow:rocm2.3-tf1.13-verbs-dev on physical node,
the first way:
HIP_VISIBLE_DEVICES=0 python3 tf_cnn_benchmarks.py --model=alexnet --batch_size=64 --init_learning_rate=1e-2 --ps_hosts=localhost:2222 --worker_hosts=localhost:2223,localhost:2224 --job_name=ps --task_index=0 --server_protocol=grpc+verbs，
error occured:
2019-04-27 02:30:01.697882: I tensorflow/contrib/verbs/rdma_mgr.cc:300] Instrumenting GPU allocator with bus_id 0
2019-04-27 02:30:01.698481: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Found device 0 with properties:
name: Vega 20
AMDGPU ISA: gfx906
memoryClockRate (GHz) 1.701
pciBusID 0000:04:00.0
Total memory: 15.98GiB
Free memory: 15.73GiB
2019-04-27 02:30:01.698747: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1643] Adding visible gpu devices: 0
2019-04-27 02:30:01.698869: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1054] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-04-27 02:30:01.698892: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1060]      0
2019-04-27 02:30:01.698932: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1073] 0:   N
2019-04-27 02:30:01.698985: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1190] Created TensorFlow device (/job:ps/replica:0/task:0/device:GPU:0 with 15306 MB memory) -> physical GPU (
device: 0, name: Vega 20, pci bus id: 0000:04:00.0)E0427 02:30:01.721428339     125 server_chttp2.cc:40]        {"created":"@1556332201.721361099","description":"No address added out of total 1 resolved","file":"external/grpc/src/core/ext/t
ransport/chttp2/server/chttp2_server.cc","file_line":349,"referenced_errors":[{"created":"@1556332201.721354779","description":"Failed to add any wildcard listeners","file":"external/grpc/src/core/lib/iomgr/tcp_server_posix.cc","file_line":324,"referenced_errors":[{"created":"@1556332201.721348079","description":"Unable to configure socket","fd":11,"file":"external/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":217,"referenced_errors":[{"created":"@1556332201.721345449","description":"OS Error","errno":98,"file":"external/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":190,"os_error":"Address already in use","syscall":"bind"}]},{"created":"@1556332201.721354199","description":"Unable to configure socket","fd":11,"file":"external/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":217,"referenced_errors":[{"created":"@1556332201.721352729","description":"OS Error","errno":98,"file":"external/grpc/src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":190,"os_error":"Address already in use","syscall":"bind"}]}]}]}2019-04-27 02:30:01.721538: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job ps -> {0 -> localhost:0}
2019-04-27 02:30:01.721577: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job worker -> {0 -> localhost:2223, 1 -> localhost:2224}
2019-04-27 02:30:01.721931: F tensorflow/contrib/verbs/rdma.cc:158] Check failed: num_devs_with_active_port > 0 There is no active port in the system
Fatal Python error: Aborted
Current thread 0x00007f5cb85dc700 (most recent call first):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/server_lib.py", line 148 in init
File "/root/benchmarks/scripts/tf_cnn_benchmarks/cnn_util.py", line 246 in init
File "/root/benchmarks/scripts/tf_cnn_benchmarks/platforms/default/util.py", line 42 in get_cluster_manager
File "/root/benchmarks/scripts/tf_cnn_benchmarks/benchmark_cnn.py", line 1454 in init
File "tf_cnn_benchmarks.py", line 62 in main
File "/usr/local/lib/python3.5/dist-packages/absl/app.py", line 251 in _run_main
File "/usr/local/lib/python3.5/dist-packages/absl/app.py", line 300 in run
File "tf_cnn_benchmarks.py", line 72 in
Aborted (core dumped)
the second way
OS Platform and Distribution:centos7.4
Python version:3.5.2
ROCm/MIOpen version:2.1
error:

import tensorflow as tf
Traceback (most recent call last):
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: /lib64/libm.so.6: version `GLIBC_2.23' not found (required by /work/home/yangxuan/xuan_local/python35/lib/python3.5/site-packages/tensorflow/python/_pywrap_tensorflow_internal.
so)
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/site-packages/tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/site-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/work/home/yangxuan/xuan_local/python35/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: /lib64/libm.so.6: version `GLIBC_2.23' not found (required by /work/home/yangxuan/xuan_local/python35/lib/python3.5/site-packages/tensorflow/python/_pywrap_tensorflow_internal.
so)

Hi @XuanBaby , as I've mentioned, the VERBS support is limited to Ubuntu user-bit environment, the second approach won't work.
Could you provide your system configurations? Please include:

Number of nodes
CPU and GPU information
Network cards/switches types
interconnection methods
OFED driver versions

Besides, can you try to run the following HIP unit tests inside our VERBS docker image?
https://github.com/ROCm-Developer-Tools/HIP/tree/master/tests

Thank you for your reply @sunway513 , and could you please tell me when will you support the verbs in centos?
1）the information of my system is：

Number of nodes :4
CPU and GPU information: CPU ：AMD；GPU：Vega 20
Network cards/switches types: 01:00.0 Infiniband controller: Mellanox Technologies MT28908 Family [ConnectX-6]  /infiniband 100Gb
interconnection methods: InfiniBand RDMA
OFED driver versions: MLNX_OFED_LINUX-4.5-<IP_ADDRESS>

2）the results of HIP unit tests inside verbs docker images:
99% tests passed, 1 tests failed out of 121
Total Test time (real) = 161.79 sec
The following tests FAILED:
34 - directed_tests/deviceLib/hipTestNativeHalf.tst (Not Run)
Errors while running CTest
Makefile:71: recipe for target 'test' failed
make: *** [test] Error 8
detail:
Start  34: directed_tests/deviceLib/hipTestNativeHalf.tst
Could not find executable /root/HIP/build/directed_tests/deviceLib/hipTestNativeHalf
Looked in the following places:
/root/HIP/build/directed_tests/deviceLib/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/Release/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/Release/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/Debug/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/Debug/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/MinSizeRel/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/MinSizeRel/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/RelWithDebInfo/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/RelWithDebInfo/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/Deployment/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/Deployment/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/Development/hipTestNativeHalf
/root/HIP/build/directed_tests/deviceLib/Development/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/Release/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/Release/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/Debug/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/Debug/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/MinSizeRel/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/MinSizeRel/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/RelWithDebInfo/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/RelWithDebInfo/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/Deployment/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/Deployment/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/Development/hipTestNativeHalf
root/HIP/build/directed_tests/deviceLib/Development/hipTestNativeHalf
Unable to find executable: /root/HIP/build/directed_tests/deviceLib/hipTestNativeHalf

Hi @XuanBaby,
When using our docker container, I noticed the error output says "address already in use".  Make sure the localhost ports you have selected are indeed available.
For simplicity, I would first try just plain grpc (--server_protocol=grpc, the default).  Getting grpc working let's you work through any basic networking issues first, prior to trying grpc+verbs.

Hi @jeffdaily
According to  your suggestion, I create the docker container :
docker run -it --name=xuan_test -v /work/home/yangxuan/:/xuanbaby --network=host --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --securit
y-opt seccomp=unconfined rocm/tensorflow:rocm2.3-tf1.13-verbs-dev bash
and then,run
ps:
/root/benchmarks/scripts/tf_cnn_benchmarks# HIP_VISIBLE_DEVICES=0 python3 tf_cnn_benchmarks.py --model=alexnet --batch_size=64 --init_learning_rate=1e-2 --ps_hosts=localhost:
2222 --worker_hosts=localhost:2223,localhost:2224 --job_name=ps --task_index=02019-04-30 01:42:11.620472: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Found device 0 with properties:
name: Vega 20
AMDGPU ISA: gfx906
memoryClockRate (GHz) 1.701
pciBusID 0000:04:00.0
Total memory: 15.98GiB
Free memory: 15.73GiB
2019-04-30 01:42:11.620575: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1643] Adding visible gpu devices: 0
2019-04-30 01:42:11.620716: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1054] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-04-30 01:42:11.620737: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1060]      0
2019-04-30 01:42:11.620757: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1073] 0:   N
2019-04-30 01:42:11.620812: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1190] Created TensorFlow device (/job:ps/replica:0/task:0/device:GPU:0 with 15306 MB memory) -> physical GPU (
device: 0, name: Vega 20, pci bus id: 0000:04:00.0)2019-04-30 01:42:11.644025: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job ps -> {0 -> localhost:2222}
2019-04-30 01:42:11.644087: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job worker -> {0 -> localhost:2223, 1 -> localhost:2224}
2019-04-30 01:42:11.648706: I tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc:391] Started server with target: grpc://localhost:2222
TensorFlow:  1.13
Model:       alexnet
Dataset:     imagenet (synthetic)
Mode:        training
SingleSess:  False
Batch size:  128 global
64 per device
Num batches: 100
Num epochs:  0.01
Devices:     ['/job:worker/replica:0/task:0/gpu:0']
NUMA bind:   False
Data format: NCHW
Optimizer:   sgd
Variables:   parameter_server
Sync:        True
Running parameter server 0
worker1
/root/benchmarks/scripts/tf_cnn_benchmarks# HIP_VISIBLE_DEVICES=1 python3 tf_cnn_benchmarks.py --model=alexnet --batch_size=64 --init_learning_rate=1e-2 --ps_hosts=localhost:
2222 --worker_hosts=localhost:2223,localhost:2224 --job_name=worker --task_index=02019-04-30 01:42:14.245028: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Found device 0 with properties:
name: Vega 20
AMDGPU ISA: gfx906
memoryClockRate (GHz) 1.701
pciBusID 0000:26:00.0
Total memory: 15.98GiB
Free memory: 15.73GiB
2019-04-30 01:42:14.245384: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1643] Adding visible gpu devices: 0
2019-04-30 01:42:14.245517: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1054] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-04-30 01:42:14.245535: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1060]      0
2019-04-30 01:42:14.245556: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1073] 0:   N
2019-04-30 01:42:14.245615: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1190] Created TensorFlow device (/job:worker/replica:0/task:0/device:GPU:0 with 15306 MB memory) -> physical G
PU (device: 0, name: Vega 20, pci bus id: 0000:26:00.0)2019-04-30 01:42:14.269104: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job ps -> {0 -> localhost:2222}
2019-04-30 01:42:14.269165: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job worker -> {0 -> localhost:2223, 1 -> localhost:2224}
2019-04-30 01:42:14.273326: I tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc:391] Started server with target: grpc://localhost:2223
TensorFlow:  1.13
Model:       alexnet
Dataset:     imagenet (synthetic)
Mode:        training
SingleSess:  False
Batch size:  128 global
64 per device
Num batches: 100
Num epochs:  0.01
Devices:     ['/job:worker/replica:0/task:0/gpu:0']
NUMA bind:   False
Data format: NCHW
Optimizer:   sgd
Variables:   parameter_server
Sync:        True
Generating training model
W0430 01:42:14.289461<PHONE_NUMBER>13536 deprecation.py:323] From /usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.pytho
n.framework.ops) is deprecated and will be removed in a future version.Instructions for updating:
Colocations handled automatically by placer.
W0430 01:42:14.312076<PHONE_NUMBER>13536 deprecation.py:323] From /root/benchmarks/scripts/tf_cnn_benchmarks/convnet_builder.py:129: conv2d (from tensorflow.python.layers.convolutional) is dep
recated and will be removed in a future version.Instructions for updating:
Use keras.layers.conv2d instead.
W0430 01:42:14.402253<PHONE_NUMBER>13536 deprecation.py:323] From /root/benchmarks/scripts/tf_cnn_benchmarks/convnet_builder.py:261: max_pooling2d (from tensorflow.python.layers.pooling) is de
precated and will be removed in a future version.Instructions for updating:
Use keras.layers.max_pooling2d instead.
W0430 01:42:14.485308<PHONE_NUMBER>13536 deprecation.py:323] From /root/benchmarks/scripts/tf_cnn_benchmarks/convnet_builder.py:403: dropout (from tensorflow.python.layers.core) is deprecated
and will be removed in a future version.Instructions for updating:
Use keras.layers.dropout instead.
W0430 01:42:14.486288<PHONE_NUMBER>13536 deprecation.py:506] From /usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/layers/core.py:143: calling dropout (from tensorflow.python.ops
.nn_ops) with keep_prob is deprecated and will be removed in a future version.Instructions for updating:
Please use rate instead of keep_prob. Rate should be set to rate = 1 - keep_prob.
W0430 01:42:14.539503<PHONE_NUMBER>13536 deprecation.py:323] From /usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/losses/losses_impl.py:209: to_float (from tensorflow.python.ops.m
ath_ops) is deprecated and will be removed in a future version.Instructions for updating:
Use tf.cast instead.
Initializing graph
W0430 01:42:14.778115<PHONE_NUMBER>13536 deprecation.py:323] From /root/benchmarks/scripts/tf_cnn_benchmarks/benchmark_cnn.py:2238: Supervisor.init (from tensorflow.python.training.supervi
sor) is deprecated and will be removed in a future version.Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
2019-04-30 01:42:18.850730: I tensorflow/core/distributed_runtime/master_session.cc:1192] Start master session 5d94c4f90e530dec with config: intra_op_parallelism_threads: 1 inter_op_paralle
lism_threads: 30 gpu_options { experimental { } } allow_soft_placement: true graph_options { rewrite_options { pin_to_host_optimization: OFF } } experimental { collective_group_leader: "/job:worker/replica:0/task:0" }I0430 01:42:27.469920<PHONE_NUMBER>13536 session_manager.py:491] Running local_init_op.
I0430 01:43:01.670234<PHONE_NUMBER>13536 session_manager.py:493] Done running local_init_op.
Running warm up
worker2
:/root/benchmarks/scripts/tf_cnn_benchmarks# HIP_VISIBLE_DEVICES=2 python3 tf_cnn_benchmarks.py --model=alexnet --batch_size=64 --init_learning_rate=1e-2 --ps_hosts=localhost:
2222 --worker_hosts=localhost:2223,localhost:2224 --job_name=worker --task_index=12019-04-30 01:42:18.584432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Found device 0 with properties:
name: Vega 20
AMDGPU ISA: gfx906
memoryClockRate (GHz) 1.701
pciBusID 0000:43:00.0
Total memory: 15.98GiB
Free memory: 15.73GiB
2019-04-30 01:42:18.584527: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1643] Adding visible gpu devices: 0
2019-04-30 01:42:18.584700: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1054] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-04-30 01:42:18.584722: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1060]      0
2019-04-30 01:42:18.584918: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1073] 0:   N
2019-04-30 01:42:18.584992: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1190] Created TensorFlow device (/job:worker/replica:0/task:1/device:GPU:0 with 15306 MB memory) -> physical G
PU (device: 0, name: Vega 20, pci bus id: 0000:43:00.0)2019-04-30 01:42:18.607422: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job ps -> {0 -> localhost:2222}
2019-04-30 01:42:18.607479: I tensorflow/core/distributed_runtime/rpc/grpc_channel.cc:252] Initialize GrpcChannelCache for job worker -> {0 -> localhost:2223, 1 -> localhost:2224}
2019-04-30 01:42:18.612341: I tensorflow/core/distributed_runtime/rpc/grpc_server_lib.cc:391] Started server with target: grpc://localhost:2224
TensorFlow:  1.13
Model:       alexnet
Dataset:     imagenet (synthetic)
Mode:        training
SingleSess:  False
Batch size:  128 global
64 per device
Num batches: 100
Num epochs:  0.01
Devices:     ['/job:worker/replica:0/task:1/gpu:0']
NUMA bind:   False
Data format: NCHW
Optimizer:   sgd
Variables:   parameter_server
Sync:        True
Generating training model
W0430 01:42:18.628761<PHONE_NUMBER>64928 deprecation.py:323] From /usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.pytho
n.framework.ops) is deprecated and will be removed in a future version.Instructions for updating:
Colocations handled automatically by placer.
W0430 01:42:18.650582<PHONE_NUMBER>64928 deprecation.py:323] From /root/benchmarks/scripts/tf_cnn_benchmarks/convnet_builder.py:129: conv2d (from tensorflow.python.layers.convolutional) is dep
recated and will be removed in a future version.Instructions for updating:
Use keras.layers.conv2d instead.
W0430 01:42:18.740279<PHONE_NUMBER>64928 deprecation.py:323] From /root/benchmarks/scripts/tf_cnn_benchmarks/convnet_builder.py:261: max_pooling2d (from tensorflow.python.layers.pooling) is de
precated and will be removed in a future version.Instructions for updating:
Use keras.layers.max_pooling2d instead.
W0430 01:42:18.821703<PHONE_NUMBER>64928 deprecation.py:323] From /root/benchmarks/scripts/tf_cnn_benchmarks/convnet_builder.py:403: dropout (from tensorflow.python.layers.core) is deprecated
and will be removed in a future version.Instructions for updating:
Use keras.layers.dropout instead.
W0430 01:42:18.822671<PHONE_NUMBER>64928 deprecation.py:506] From /usr/local/lib/python3.5/dist-packages/tensorflow/python/keras/layers/core.py:143: calling dropout (from tensorflow.python.ops
.nn_ops) with keep_prob is deprecated and will be removed in a future version.Instructions for updating:
Please use rate instead of keep_prob. Rate should be set to rate = 1 - keep_prob.
W0430 01:42:18.875784<PHONE_NUMBER>64928 deprecation.py:323] From /usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/losses/losses_impl.py:209: to_float (from tensorflow.python.ops.m
ath_ops) is deprecated and will be removed in a future version.Instructions for updating:
Use tf.cast instead.
Initializing graph
W0430 01:42:19.090375<PHONE_NUMBER>64928 deprecation.py:323] From /root/benchmarks/scripts/tf_cnn_benchmarks/benchmark_cnn.py:2238: Supervisor.init (from tensorflow.python.training.supervi
sor) is deprecated and will be removed in a future version.Instructions for updating:
Please switch to tf.train.MonitoredTrainingSession
2019-04-30 01:42:19.162473: I tensorflow/core/distributed_runtime/master_session.cc:1192] Start master session 4d222acd1a2cd80e with config: intra_op_parallelism_threads: 1 inter_op_paralle
lism_threads: 30 gpu_options { experimental { } } allow_soft_placement: true graph_options { rewrite_options { pin_to_host_optimization: OFF } } experimental { collective_group_leader: "/job:worker/replica:0/task:0" }I0430 01:42:23.215579<PHONE_NUMBER>64928 session_manager.py:427] Waiting for model to be ready.  Ready_for_local_init_op:  Variables not initialized: global_step, v/cg/conv0/conv2d/kernel, v/c
g/conv0/biases, v/cg/conv1/conv2d/kernel, v/cg/conv1/biases, v/cg/conv2/conv2d/kernel, v/cg/conv2/biases, v/cg/conv3/conv2d/kernel, v/cg/conv3/biases, v/cg/conv4/conv2d/kernel, v/cg/conv4/biases, v/cg/affine0/weights, v/cg/affine0/biases, v/cg/affine1/weights, v/cg/affine1/biases, v/cg/affine2/weights, v/cg/affine2/biases, ready: None2019-04-30 01:42:53.251261: I tensorflow/core/distributed_runtime/master_session.cc:1192] Start master session e73711e374822397 with config: intra_op_parallelism_threads: 1 inter_op_paralle
lism_threads: 30 gpu_options { experimental { } } allow_soft_placement: true graph_options { rewrite_options { pin_to_host_optimization: OFF } } experimental { collective_group_leader: "/job:worker/replica:0/task:0" }I0430 01:42:53.281326<PHONE_NUMBER>64928 session_manager.py:491] Running local_init_op.
I0430 01:43:01.670359<PHONE_NUMBER>64928 session_manager.py:493] Done running local_init_op.
Running warm up
I think the program stuck ,beacuse there is no other information output,and  I run rocm-smi:
/root# rocm-smi
========================ROCm System Management Interface========================
GPU  Temp   AvgPwr  SCLK     MCLK    Fan   Perf  PwrCap  SCLK OD  MCLK OD  GPU%
1    52.0c  29.0W   1601Mhz  801Mhz  0.0%  auto  300.0W  0%       0%       0%
2    55.0c  44.0W   1601Mhz  801Mhz  0.0%  auto  300.0W  0%       0%       100%
3    54.0c  42.0W   1601Mhz  801Mhz  0.0%  auto  300.0W  0%       0%       100%
4    52.0c  25.0W   1601Mhz  801Mhz  0.0%  auto  300.0W  0%       0%       0%
==============================End of ROCm SMI Log ==============================
the output say "pin_to_host_optimization: OFF", are my parameter not set correctly?

Hi @XuanBaby , are there any updates?


rel: 0.4.1

since this bumps a few dependencies, I wanted to run the CI before releasing.

Why didn't you merge this?

i decide to keep the nibabel pin equal to the other packages (3.0.0rc1) to avoid any conflicts. I released from the rel/0.4.1 branch, but need to sync master with it


Issue with set(fig, 'InvertHardcopy', 'off');

Hi,
I am using RHEL 6, MATLAB R2015b, gs 8.70, and pdftops 0.12.4 (I have no admin rights) and I wasn't able to output eps and pdf files. Or better, export_fig would create empty figures without returning any error. After debugging and trial-and-error, I found out that commenting out set(fig, 'InvertHardcopy', 'off') in export_fig.m solves the problem.
I'd be be happy to run more tests on my system if needed.
Best wishes.
-Filippo

I added a new -noinvert option to solve such cases

Thanks!


Please document how to add a user layer marker

I'm trying to figure it out from looking at the code, but it would be useful to have a description.

Please look at the description and a resnet50 example here on how to add a user layer marker. Please let me know if the example is clear and you are able to make progress.


Todo: current list for per-pre-alpha of editor hacks

[ ] rework rendering multiple colors

[ ] add optional transparency for index zero/ alpha options to all indexes

[x] fix all of #1

[x] make more bugs

[ ] Add optional palette locking for drawings

[x] change the color picker and palette interface

[x] move brushcolor selection to reworked color picker

[x] consider adding a rudimentary audio system. edited: considered to be too much to add for right now

[ ] add moving sprites, editing rooms, editing drawings, and ending from dialogue

[ ] add icons to dialogue

[ ] add dialogue icon drawing type

[ ] change recoloring index one to allow any hexadecimal color

[ ] learn better javascript and html

[x] rework life decisions

[ ] consider a better way to use remappinging the first place

reworking


Add support for events engines requiring a listeners per key

Implementation for #9
"requiresListenerPerKey" was added to proposed new API:
interface PersistentEvents {
  addEventListener(key: string, callback: PersistentListener): void
  removeEventListener(key: string, callback: PersistentListener): void
  requiresListenerPerKey?: boolean
}

Size changes:

Store: 220B -> 240 B (+20 B)
Map: 276B -> 343 B (+ 67 B)

From my experience, variable name length has no impact, as they get shortened to 1 or 2 letters when minimized.

It is true for variables but not for object keys:
longVariable.longKey → a.longKey

Perfect. Can you change limit in package.json → size-limit?
Do you want to merge it soon, or you prefer to wait our next major release in a week or two?


Add -listproducts option

This option would list all the available product name options that could be used with the -products arg option. This could also be hardcoded in the help if it isn't dynamic.
Thanks,
SLDR
(Stephen L. De Rudder)

This information is not exposed from the query APIs by design (requires deserializing and handling something very different and not intended for general consumption). The supported and documented values can be found at https://docs.microsoft.com/visualstudio/install/workload-and-component-ids.

Please consider adding the above link to the help or a maybe a search string to "bing" to try to find the link above.
Thanks,
SLDR
(Stephen L. De Rudder)

Thanks for the suggestion. We will take that under advisement.

Thanks!!!


Update Configuration Documentation for Elasticsearch

Related to #296
Elasticsearch host must not have (http://) or (https://) in the configuration, just the IP or the domain name.
Otherwise an error is thrown that there is No enabled connection

Thank you @filkaris.


Add sdr.AGC

Fixes #89

Codecov Report
Attention: 131 lines in your changes are missing coverage. Please review.

Comparison is base (84b0d70) 77.55% compared to head (005c340) 76.78%.
Report is 61 commits behind head on release/0.0.x.

Files
Patch %
Lines

src/sdr/_synchronization/_agc.py
45.90%
33 Missing :warning:

src/sdr/_synchronization/_phase_error.py
67.94%
25 Missing :warning:

src/sdr/_modulation/_psk.py
11.11%
24 Missing :warning:

src/sdr/_filter/_fir.py
20.83%
19 Missing :warning:

src/sdr/_filter/_common.py
29.16%
17 Missing :warning:

src/sdr/_filter/_iir.py
33.33%
6 Missing :warning:

src/sdr/_synchronization/_nco.py
83.33%
3 Missing :warning:

src/sdr/_sequence.py
96.42%
2 Missing :warning:

src/sdr/_synchronization/_pll.py
0.00%
2 Missing :warning:

Additional details and impacted files
@@                Coverage Diff                @@
##           release/0.0.x     #216      +/-   ##
=================================================
- Coverage          77.55%   76.78%   -0.78%
=================================================
  Files                 46       47       +1
  Lines               2393     2455      +62
=================================================
+ Hits                1856     1885      +29
- Misses               537      570      +33

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


DDEV Run Toolbar: your 131072x1 screen size is bogus. expect trouble

Running DDEV Commands in WSL procudes leading warning output "your 131072x1 screen size is bogus. expect trouble".
This is caused by a non tty Terminal, that has no columns and rows set.
Using a PtyCommandLine generally causes ddev to output control charachters that make its output not parseable.
This means that Command Lines when executed in WSL that cause output that is meant for disaply need to use PtyCommandLine, while internal commands need to stay non tty using a GeneralCommandLine.

Should be fixed by using a PTY Terminal. This results in output of some ANSI Color control characters on native windows, but this seems to be an issue of ddev itself.


fix: update aws provider version for dep

what

Update aws provider to 3.0 avoid module version conflicts

why

This module is being used by https://github.com/cloudposse/terraform-aws-eks-workers, which will cause issues if also being used by modules requiring the 3.0 aws provider

references

See https://github.com/cloudposse/terraform-aws-eks-workers/issues/46 for more info on the upstream usage issue

This should fix #33

/rebuild-readme

/test all


Close the picklist options when clicked outside

Right now, the picklist options(menu) show and hide on the click of the picklist field(input) but it stays open when the user clicks outside.

Bug Fixed in 392608c


How to fix flickering/fade animation for KFImage?

Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

[x] I have read the wiki page and cheat sheet, but there is no information I need.
[x] I have searched in existing issues, but did not find a sxme one.
[x] I want to report a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
I present a new full screen view with animation and this full screen view contains a KFImage instance. I noticed not expected flickering/fade when animation is performing. I investigated code and seems it happens when KFImage replaces placeholder with the real image (from cache or cloud source). How can I fix it?
I tried to fix it by using fade(duration: 0) but it doest't work for me.
Thanks.

Seems it can be related to this PR.


Cannot open package built with PackageLicenseExpression

Type (choose one):

Question

NPE version: 4.7.19
Installed from: Windows Store
Asking a question, because I know there's a bug somewhere, but I don't know if it's in NPE or in NuGet.
When I pack this project with dotnet pack and then try and open the package in NPE, I get:

And indeed, I see both those in the nuspec:
    <license type="expression">Apache-2.0</license>
    <licenseUrl>https://licenses.nuget.org/Apache-2.0</licenseUrl>

MinVer.1.0.0-adhoc.zip
As you can see in the project, I'm only specifying PackageLicenseExpression.

I guess this is already fixed by https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/pull/542. A new version will be available soon.

Thanks @campersau. I tried to find an issue before I raised this one but I couldn't find one.


The type or method 'CreateOutStream' cannot be used for 'Extension' development.AL(AL0296)

The type or method 'CreateOutStream' cannot be used for 'Extension' development.AL(AL0296)

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

ID: feedc94d-9103-2eed-c25f-d37a4d6ed59e
Version Independent ID: 37a5139b-1be5-a72e-47d3-ef201c59088d
Content: RunRequestPage Method - Business Central
Content Source: dev-itpro/developer/methods-auto/report/report-runrequestpage-method.md
Service: dynamics365-business-central
GitHub Login: @solsen
Microsoft Alias: solsen

Hi, thanks for your feedback. File data type methods, including File.CREATEOUTSTREAM, File.CREATE and File.CLOSE methods are only supported in Business Central on-premises, and therefore this compile error while pop up when using the online version. The documentation will be updated to reflect this.


Behaviour when 'voice over' is ON.

Can something be done about the swipe right/left behaviour when 'Voice Over' mode is ON in IOS ?

I think right now the SwipeRow component does not take any properties related to accessibility, or handles any.
Issue is, in IOS when 'Voice Over' is turned ON there is no way to swipe right/left(at least I could not find). Surprisingly in Android when 'Talkback' is ON, it seem to work just fine(can swipe using 2 fingers). Was just wondering if anything could be done about it in IOS.
I have been trying with accessibilityTraits property in IOS. Tried assigning 'allowsDirectInteraction' on the SwipeRow's gesture handing view, at least to get it work. Here it works just as it would in normal mode, but issue was all the children(visible/hidden contents) too inherits 'allowsDirectInteraction', could not override it on the children.
Will be happy to do a PR if I succeed and would really appreciate any suggestion.
Thanks!

@rimzici This is a long outdated issue but just wondering if you were able to make any progress here? I'm not very familiar with accessibilityTraits so I'd love to hear about it!

Hi,
So far haven't been able to work that around, since it was not in the priority list kept it aside.
I believe there were some major updates in accessibility part with RN v0.60. I will try that and get back.


make_classification does not have a docstring.

It seems like a docstring is missing for dask_ml.datasets.make_classification.
Confirmed here.

I wouldn't mind adding one, but it seems like it's a copy from scikit-learn that doesn't use every parameter in the function signature. I imagine the docstring should reflect that, but I figured I'd check before picking this one up.


Added Quorum Dev Quickstart

Added Quorum Dev Quickstart

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


boards/arty_a7: fix ci compile failure

Summary
NETUTILS_IPERF and CONFIG_DEFAULT_SMALL conflict
Loaded configuration '.config'
Configuration saved to '.config'
warning: LIBC_FLOATINGPOINT (defined at libs/libc/stdio/Kconfig:55) has direct dependencies !LIBM_NONE with value n, but is currently being y-selected by the following symbols:
 - NETUTILS_IPERF (defined at /home/baerg/code/NXOS/apps/netutils/iperf/Kconfig:6), with value y, direct dependencies NET (value: y), and select condition NET (value: y) make: *** [tools/Unix.mk:680: olddefconfig] Error 1 ERROR: failed to refresh
```

## Impact

## Testing

I found a rather strange problem: arty_a7 has been removed from CI, but some of the time it compiles and some of the time it doesn't.
And sometimes it can compile normally, sometimes it will fail, and there is always a problem with compiling on my computer.
# nuttx/tools/ci/testlist/risc-v.dat:
/risc-v
-,arty_a7:.+


Make table of records page for the sea turtle records

Merged with HACC
Make the table that will display the information about the sea turtle:

Title of the page "List of records for the sea turtle"
Date
Type of turtle
Phone number
Location
Description
Markers
Behavior
Number of people around it.

Finished make table of records page for the sea turtle records


bevy_math tests are broken

Bevy version
31d91466b4fb99786a8c61b82417372a42a3f531
What you did
cargo test -p bevy_math
What went wrong
   Compiling bevy_math v0.14.0-dev (/home/alercah/code/bevy/crates/bevy_math)
error[E0277]: the trait bound `glam::Vec3: RelativeEq<_>` is not satisfied
   --> crates/bevy_math/src/bounding/bounded3d/mod.rs:711:9
    |
711 | /         assert_relative_eq!(
712 | |             transformed.center,
713 | |             Vec3::new(2.0, std::f32::consts::SQRT_2 - 2.0, 5.0)
714 | |         );
    | |_________^ the trait `RelativeEq<_>` is not implemented for `glam::Vec3`
    |
    = help: the following other types implement trait `RelativeEq<Rhs>`:
              <f32 as RelativeEq>
              <f64 as RelativeEq>
              <Cell<T> as RelativeEq>
              <RefCell<T> as RelativeEq>
              <[A] as RelativeEq<[B]>>
              <&'a T as RelativeEq>
              <&'a mut T as RelativeEq>
note: required by a bound in `Relative`
   --> /home/alercah/.cargo/registry/src/index.crates.io-6f17d22bba15001f/approx-0.5.1/src/lib.rs:257:8
    |
255 | pub struct Relative<A, B = A>
    |            -------- required by a bound in this struct
256 | where
257 |     A: RelativeEq<B> + ?Sized,
    |        ^^^^^^^^^^^^^ required by this bound in `Relative`
    = note: this error originates in the macro `relative_eq` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `glam::Vec3: RelativeEq<_>` is not satisfied
   --> crates/bevy_math/src/bounding/bounded3d/mod.rs:711:9
    |
711 | /         assert_relative_eq!(
712 | |             transformed.center,
713 | |             Vec3::new(2.0, std::f32::consts::SQRT_2 - 2.0, 5.0)
714 | |         );
    | |_________^ the trait `RelativeEq<_>` is not implemented for `glam::Vec3`
    |
    = help: the following other types implement trait `RelativeEq<Rhs>`:
              <f32 as RelativeEq>
              <f64 as RelativeEq>
              <Cell<T> as RelativeEq>
              <RefCell<T> as RelativeEq>
              <[A] as RelativeEq<[B]>>
              <&'a T as RelativeEq>
              <&'a mut T as RelativeEq>
note: required by a bound in `Relative::<A, B>::eq`
   --> /home/alercah/.cargo/registry/src/index.crates.io-6f17d22bba15001f/approx-0.5.1/src/lib.rs:282:8
    |
282 |     A: RelativeEq<B> + ?Sized,
    |        ^^^^^^^^^^^^^ required by this bound in `Relative::<A, B>::eq`
...
303 |     pub fn eq(self, lhs: &A, rhs: &B) -> bool {
    |            -- required by a bound in this associated function
    = note: this error originates in the macro `relative_eq` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `glam::Vec3: AbsDiffEq` is not satisfied in `Relative<glam::Vec3>`
   --> crates/bevy_math/src/bounding/bounded3d/mod.rs:711:9
    |
711 | /         assert_relative_eq!(
712 | |             transformed.center,
713 | |             Vec3::new(2.0, std::f32::consts::SQRT_2 - 2.0, 5.0)
714 | |         );
    | |_________^ within `Relative<glam::Vec3>`, the trait `AbsDiffEq` is not implemented for `glam::Vec3`, which is required by `Relative<glam::Vec3>: Sized`
    |
    = help: the following other types implement trait `AbsDiffEq<Rhs>`:
              <isize as AbsDiffEq>
              <i8 as AbsDiffEq>
              <i16 as AbsDiffEq>
              <i32 as AbsDiffEq>
              <i64 as AbsDiffEq>
              <usize as AbsDiffEq>
              <u8 as AbsDiffEq>
              <u16 as AbsDiffEq>
            and 9 others
note: required because it appears within the type `Relative<glam::Vec3>`
   --> /home/alercah/.cargo/registry/src/index.crates.io-6f17d22bba15001f/approx-0.5.1/src/lib.rs:255:12
    |
255 | pub struct Relative<A, B = A>
    |            ^^^^^^^^
    = note: the return type of a function must have a statically known size
    = note: this error originates in the macro `relative_eq` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `glam::Vec2: RelativeEq<_>` is not satisfied
   --> crates/bevy_math/src/rotation2d.rs:449:9
    |
449 |         assert_relative_eq!(rotation * Vec2::X, Vec2::Y);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RelativeEq<_>` is not implemented for `glam::Vec2`
    |
    = help: the following other types implement trait `RelativeEq<Rhs>`:
              <f32 as RelativeEq>
              <f64 as RelativeEq>
              <Cell<T> as RelativeEq>
              <RefCell<T> as RelativeEq>
              <[A] as RelativeEq<[B]>>
              <&'a T as RelativeEq>
              <&'a mut T as RelativeEq>
note: required by a bound in `Relative`
   --> /home/alercah/.cargo/registry/src/index.crates.io-6f17d22bba15001f/approx-0.5.1/src/lib.rs:257:8
    |
255 | pub struct Relative<A, B = A>
    |            -------- required by a bound in this struct
256 | where
257 |     A: RelativeEq<B> + ?Sized,
    |        ^^^^^^^^^^^^^ required by this bound in `Relative`
    = note: this error originates in the macro `relative_eq` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `glam::Vec2: RelativeEq<_>` is not satisfied
   --> crates/bevy_math/src/rotation2d.rs:449:9
    |
449 |         assert_relative_eq!(rotation * Vec2::X, Vec2::Y);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RelativeEq<_>` is not implemented for `glam::Vec2`
    |
    = help: the following other types implement trait `RelativeEq<Rhs>`:
              <f32 as RelativeEq>
              <f64 as RelativeEq>
              <Cell<T> as RelativeEq>
              <RefCell<T> as RelativeEq>
              <[A] as RelativeEq<[B]>>
              <&'a T as RelativeEq>
              <&'a mut T as RelativeEq>
note: required by a bound in `Relative::<A, B>::eq`
   --> /home/alercah/.cargo/registry/src/index.crates.io-6f17d22bba15001f/approx-0.5.1/src/lib.rs:282:8
    |
282 |     A: RelativeEq<B> + ?Sized,
    |        ^^^^^^^^^^^^^ required by this bound in `Relative::<A, B>::eq`
...
303 |     pub fn eq(self, lhs: &A, rhs: &B) -> bool {
    |            -- required by a bound in this associated function
    = note: this error originates in the macro `relative_eq` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `direction::Dir2: RelativeEq<_>` is not satisfied
   --> crates/bevy_math/src/rotation2d.rs:450:9
    |
450 |         assert_relative_eq!(rotation * Dir2::Y, Dir2::NEG_X);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RelativeEq<_>` is not implemented for `direction::Dir2`
    |
    = help: the following other types implement trait `RelativeEq<Rhs>`:
              <f32 as RelativeEq>
              <f64 as RelativeEq>
              <Cell<T> as RelativeEq>
              <RefCell<T> as RelativeEq>
              <[A] as RelativeEq<[B]>>
              <&'a T as RelativeEq>
              <&'a mut T as RelativeEq>
note: required by a bound in `Relative`
   --> /home/alercah/.cargo/registry/src/index.crates.io-6f17d22bba15001f/approx-0.5.1/src/lib.rs:257:8
    |
255 | pub struct Relative<A, B = A>
    |            -------- required by a bound in this struct
256 | where
257 |     A: RelativeEq<B> + ?Sized,
    |        ^^^^^^^^^^^^^ required by this bound in `Relative`
    = note: this error originates in the macro `relative_eq` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `direction::Dir2: RelativeEq<_>` is not satisfied
   --> crates/bevy_math/src/rotation2d.rs:450:9
    |
450 |         assert_relative_eq!(rotation * Dir2::Y, Dir2::NEG_X);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RelativeEq<_>` is not implemented for `direction::Dir2`
    |
    = help: the following other types implement trait `RelativeEq<Rhs>`:
              <f32 as RelativeEq>
              <f64 as RelativeEq>
              <Cell<T> as RelativeEq>
              <RefCell<T> as RelativeEq>
              <[A] as RelativeEq<[B]>>
              <&'a T as RelativeEq>
              <&'a mut T as RelativeEq>
note: required by a bound in `Relative::<A, B>::eq`
   --> /home/alercah/.cargo/registry/src/index.crates.io-6f17d22bba15001f/approx-0.5.1/src/lib.rs:282:8
    |
282 |     A: RelativeEq<B> + ?Sized,
    |        ^^^^^^^^^^^^^ required by this bound in `Relative::<A, B>::eq`
...
303 |     pub fn eq(self, lhs: &A, rhs: &B) -> bool {
    |            -- required by a bound in this associated function
    = note: this error originates in the macro `relative_eq` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `glam::Vec2: AbsDiffEq` is not satisfied in `Relative<glam::Vec2>`
   --> crates/bevy_math/src/rotation2d.rs:449:9
    |
449 |         assert_relative_eq!(rotation * Vec2::X, Vec2::Y);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ within `Relative<glam::Vec2>`, the trait `AbsDiffEq` is not implemented for `glam::Vec2`, which is required by `Relative<glam::Vec2>: Sized`
    |
    = help: the following other types implement trait `AbsDiffEq<Rhs>`:
              <isize as AbsDiffEq>
              <i8 as AbsDiffEq>
              <i16 as AbsDiffEq>
              <i32 as AbsDiffEq>
              <i64 as AbsDiffEq>
              <usize as AbsDiffEq>
              <u8 as AbsDiffEq>
              <u16 as AbsDiffEq>
            and 9 others
note: required because it appears within the type `Relative<glam::Vec2>`
   --> /home/alercah/.cargo/registry/src/index.crates.io-6f17d22bba15001f/approx-0.5.1/src/lib.rs:255:12
    |
255 | pub struct Relative<A, B = A>
    |            ^^^^^^^^
    = note: the return type of a function must have a statically known size
    = note: this error originates in the macro `relative_eq` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `direction::Dir2: AbsDiffEq` is not satisfied in `Relative<direction::Dir2>`
   --> crates/bevy_math/src/rotation2d.rs:450:9
    |
450 |         assert_relative_eq!(rotation * Dir2::Y, Dir2::NEG_X);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ within `Relative<direction::Dir2>`, the trait `AbsDiffEq` is not implemented for `direction::Dir2`, which is required by `Relative<direction::Dir2>: Sized`
    |
    = help: the following other types implement trait `AbsDiffEq<Rhs>`:
              <isize as AbsDiffEq>
              <i8 as AbsDiffEq>
              <i16 as AbsDiffEq>
              <i32 as AbsDiffEq>
              <i64 as AbsDiffEq>
              <usize as AbsDiffEq>
              <u8 as AbsDiffEq>
              <u16 as AbsDiffEq>
            and 9 others
note: required because it appears within the type `Relative<direction::Dir2>`
   --> /home/alercah/.cargo/registry/src/index.crates.io-6f17d22bba15001f/approx-0.5.1/src/lib.rs:255:12
    |
255 | pub struct Relative<A, B = A>
    |            ^^^^^^^^
    = note: the return type of a function must have a statically known size
    = note: this error originates in the macro `relative_eq` which comes from the expansion of the macro `assert_relative_eq` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
error: could not compile `bevy_math` (lib test) due to 9 previous errors

Additional information
This appears to be because the implementations of approx types are not available when compiling for tests.
cargo test -p bevy_math --features approx fixes things.

Is there a way to enable the glam/approx feature when cfg(test) is true? That will fix it.
Alternatively, it may be possible to specific glam as a dev-dependency with the approx feature enabled.

Seems like the current way of doing this would be what's described here https://github.com/rust-lang/cargo/issues/2911#issuecomment-749580481

There is currently a work-around for this. (Source)
[dev-dependencies]
self-package-name= { path = ".", features = ["desired_feature"] }

where self-package-name is the name of the package in the Cargo.toml file.
Sample repo for the same

So we'd add this to bevy_math's dev-dependencies
bevy_math = { path = ".", features = ["approx"] }

PR #12748 , which is fix for this issue wasn't attached to this Issue, but had been merged and closed. @spectria-limina can you close this Issue manualy if it isn't actual?


:sodium.libera.chat NOTICE * :*** No Ident response

I was following the instructions for connecting to irc.libera.chat but when I used nc irc.libera.chat 6667 I always got the following responses:
Moosems:mantaray Moosems$ nc irc.libera.chat 6667
:sodium.libera.chat NOTICE * :*** Checking Ident
:sodium.libera.chat NOTICE * :*** Looking up your hostname...
:sodium.libera.chat NOTICE * :*** Found your hostname: (Not going to give for privacy reasons)
:sodium.libera.chat NOTICE * :*** No Ident response

What should I do?

As the README says, you can run mantaray with --verbose to see what it does, but I agree that this should be explained in the README a bit more.
You need to send NICK and USER by typing to the terminal:
NICK Moosems
USER Moosems 0 * :Moosems

You should then see libera responding with lots more stuff. You can then join a channel and start sending messages:
JOIN ##learnpython
PRIVMSG ##learnpython :hello world

Also, remember when I said that IRC is super simple under the hood? This is how simple it is :)

Turns out I have already explained how to do this in the README.


Can't connect to zabbix

Hi, I can't manage to connect to my zabbix instance
bin/zabbixctl -Tp /cache
can't authorize user 'myuser' in zabbix server
└─ invalid character '<' looking for beginning of value
My config file seems correct and contain no  '<'.

same issue

@mbugeia @DantePinky I can help you with your issue when I don't know anything about your case; can you get me more details? also zabbixctl have --debug option, it's also can be helpful.

What details do you want ? I've done the installation and configurations step and try the first example, that's all. I have go v1.6.2 on ubuntu 16.04.
--debug doesn't seems to be recognized:
bin/zabbixctl --debug -Tp "/cache"
Usage:
  zabbixctl [options] -T [-v]... [-x]... [-d]... [<pattern>]...
  zabbixctl [options] -L [-v]... <pattern>...
  zabbixctl [options] -G [-v]... [<pattern>]...
  zabbixctl [options] -G [-v]... <pattern>... -a <user>
  zabbixctl [options] -G [-v]... <pattern>... -r <user>
  zabbixctl -h | --help
  zabbixctl --version
zsh: exit 1     bin/zabbixctl --debug -Tp "/cache"

yep, zabbixctl haven't  --debug option...

ok its -v

I can reproduce this:
 ~  zabbixctl -v -L machine /cpu
[DEBUG] * reading session file
[DEBUG] * session is outdated
[DEBUG] * authorizing
[DEBUG] ~> user.login
[DEBUG] ** user: username
[DEBUG] ** password: **********
[DEBUG] <~ 301 Moved Permanently
can't authorize user 'username' in zabbix server
└─ invalid character '<' looking for beginning of value

The reason is I'm using HTTPS, so if I change the setting from
address = "zabbix.localdomain"
to
address = "https://zabbix.localdomain"
then it works.

I think this issue can be closed, but the docs should clarify that address is essentially a URI. I got stuck on this as well.


Lazily load model artifacts

Also, remove model.load_async() function for simplicity.
Added model.resolve_all() function to resolve all the artifacts at once.
Nits: use native postprocess for mobilenet and modified related example codes.

/meow


Terminal cut and paste are inconvenient

If the terminal is popped out I can copy via the right-click menu.
If not popper out I can copy from the browser Edit menu.
The right-click menu says I can also copy using ctrl-C, but I can't; it just interrupts the terminal.
There is no option on the right-click menu to paste.
I can paste via ctrl-shift-V, but that isn't very discoverable.
If I try the corresponding ctrl-shift-C in Chrome it brings up the developer tools.

We haven't bumped our version of xterm.js in a while, might have some fun fixes.

How do people copy/paste from terminal in a non-OSX environment? I have the command key at my disposal.

@bboreham Still not sure how to proceed. What would be the ideal solution?

Native Linux tends to be ctrl-shift-c and v.
Google Cloud terminal uses ctrl-c/v but only if you have something selected, and the copy cancels the selection. Emacs CUA mode is the same.
I think having copy and paste on the right-click menu in all cases would be a step forward.


fix!: update partial / incomplete support for the SIMD proposal

This imports the latest tests from the SIMD proposal and updates
the parser and the disassembler to properly support all operators.
Bug: https://crbug.com/1141798
Doc: https://github.com/WebAssembly/simd

I just checked the history of the change to the new opcodes; it seems that lately there have been more additions:
i32x4.dot_i16x8_s | 0xba
f32x4.pmin | 0xea | f64x2.pmin | 0xf6
f32x4.pmax | 0xeb | f64x2.pmax | 0xf7
v128.load32_zero | 0xfc
v128.load64_zero | 0xfd

Thanks for the hint. I was going by the spec document, looks like that's not generally up to date. I've added the new operators.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Test Bug 72

Summary
Short summary of what is going on or to provide context.
Steps To Reproduce:

This is step 1.
This is step 2. All steps should start with '1.'

Expected result
Describe what should have happened.
Actual result
Describe what actually happened instead.
Additional information
Feel free to attach a screenshot.
Salesforce Extension Version in VS Code: 60.13.0
Salesforce CLI Version: @salesforce/cli/2.42.6 darwin-arm64 node-v18.18.2
OS and version: OWL
VS Code version: 1.87.5
Most recent version of the extensions where this was working: it never worked

Thank you for filing this issue.  We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.


Add code template capabilty on :CphRecieve

The feature of adding snippets, although usually external, can be added to the plugin. The feature would be cool, I think. I use the following snippet inside prepare.lua for copying ~/temp.cpp on :CphRecieve:
-- Creates the folder for the problem: contests_dir/judge/contest/problem
--- @param problem string #The name of the problem
--- @param group string #Group, in the format "Judge - Contest"
--- @return Path #The problem dir
function M.prepare_folders(problem, group)

...

	local file1 = "~/temp.cpp"
	local file2 = problem_dir:joinpath("solution." .. extension):absolute()

	-- Check if file2 exists and has content
	local f2 = io.open(file2, 'r')
	if f2 then
		local content = f2:read('*a')
		f2:close()

		-- Check if file2 is empty
		if content and content ~= '' then
			print('File2 is not empty. Skipping copy operation.')
		else
			-- Open file1 in read mode
			local f1 = io.open(file1, 'r')
			if not f1 then
				error('Failed to open file1')
			end

			-- Read the contents of file1
			local content = f1:read('*a')
			f1:close()

			-- Open file2 in write mode
			local f2 = io.open(file2, 'w')
			if not f2 then
				error('Failed to open file2')
			end

			-- Write the contents of file1 to file2
			f2:write(content)
			f2:close()

			print('File copied successfully.')
		end
	else
		-- If file2 doesn't exist, create it and copy the contents of file1
		local f1 = io.open(file1, 'r')
		if not f1 then
			error('Failed to open file1')
		end

		local content = f1:read('*a')
		f1:close()

		local f2 = io.open(file2, 'w')
		if not f2 then
			error('Failed to create file2')
		end

		f2:write(content)
		f2:close()

		print('File copied successfully.')
	end

	-- Open file2 in Neovim for editing
	vim.api.nvim_command('edit ' .. file2)
end

return M

Sorry, this is out of scope - you can use https://github.com/mattn/vim-sonictemplate (which I contributed cc templates to)

It's not that I don't like it, it's just added complexity which solves a problem already solved by other plugins

If you can open a PR which does the template part in a separate file (without doing too much in prepare.lua itself), I can take a look

harwest

Oh I thought CF blocked api submissions? Happy to merge a PR for this

There's https://pypi.org/project/pynvim/ for python - neovim interaction if you want to implement harwest


Allow lazy fetching in PaginatedDataTable

When using a PaginatedDataTable, it should be possible to fetch the contents of one page only at a time.

This is out of the scope of what I'm willing to do. Currently the columns are sized by all the rows, so the table doesn't resize as you page through. If you want to implement this as a third table type, I'd merge it.

Sorry, I've been out of town for a while and I didn't notice the PR. Actually, having it as a completely separate component like that makes sense. I'm going to add some comments to the PR.

Nevermind, it was simpler to just make the changes that I wanted than to comment the PR. I changed PaginatedDataTableState to store the count, and removed the lazy version.


Add features command

Add command that shows account features - which are enabled and which are disabled.
https://github.com/Icenium/fusion-services/pull/128

ping @rosen-vladimirov


20x faster execution and removed numpy warning

Hiya,
I took the liberty of speeding up the library by simplifying some one of the lines. This seems to have sped things up by 20x for all array shapes!
Also fixes #1.
Thanks for creating the library! I need to generate several thousands of ellipses, so I massively appreciate its existance!

Hey Thomas! Thank you very much for the input!

Awesome!


[Script]: Support ChatBot for Website

Aim
The project aims to develop an AI assistance application for a website using Hugging Face's API and Pinecone's API.
Details
The application will allow users to input queries and retrieve relevant information from the website. It will provide features such as data loading to Pinecone, search functionality, and display of search results. The project will be implemented using Python and Streamlit, and it will enhance the user experience by enabling efficient and personalized information retrieval.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

@avinashkranjan Please review this PR


Compress with terser

Brings index.js size from 634k to 130k, which is enough to be worth the hassle.  Do not generate the marked-up version in testPeggy when processing the terser-ified code, since the string we look for won't be there.


Nothing happens upon opening MicaForEveryone.exe

Attempting to run release v<IP_ADDRESS> by double clicking either MicaForEveryone.exe or MicaForEveryone.UI.exe does not seem to do anything. No app appears, not in the taskbar and not in the system tray. Double clicking MicaForEveryone.exe makes it appear in task manager for a short moment, before automatically closing. Only the first time it prompted to install Windows Desktop Runtime.
Running an old version (v2) seems to work fine, but obviously misses a lot of features added in the newer releases. May be related to issue #5.
The virtual machine is running Windows 11 Insider Dev Build 22557.1.

Try installing Visual C++ Redistributable and .NET Core Runtime.

Tried installing both, but MicaForEveryone still doesn't open. Are there any logs to include that might be useful to debug this?

MicaForEveryone still doesn't work on the VM after installing both of these.
The following errors appear in Event Viewer:
.NET Runtime
Application: MicaForEveryone.exe
CoreCLR Version: 4.700.21.56803
.NET Core Version: 3.1.22
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException: The specified module could not be found. (0x8007007E)
   at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD)
   at Microsoft.Toolkit.Win32.UI.XamlHost.XamlApplication..ctor()
   at MicaForEveryone.UI.App..ctor() in D:\projects\MicaForEveryone\MicaForEveryone.UI\App.xaml.cs:line 7
   at MicaForEveryone.App..ctor() in D:\projects\MicaForEveryone\MicaForEveryone\App.cs:line 9
   at MicaForEveryone.Program.Main(String[] args) in D:\projects\MicaForEveryone\MicaForEveryone\Program.cs:line 16

Application Error
Faulting application name: MicaForEveryone.exe, version: <IP_ADDRESS>, time stamp: 0x619ae151
Faulting module name: KERNELBASE.dll, version: 10.0.22557.1, time stamp: 0x509683d6
Exception code: 0xe0434352
Fault offset: 0x000000000001358c
Faulting process ID: 0x0x4BC
Faulting application start time: 0x0x1D82835F5293349
Faulting application path: C:\Users\<User>\Downloads\mfe-v<IP_ADDRESS>-x64\MicaForEveryone.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report ID: fdf85bf3-0296-4d55-b4a1-d7833a95f59d
Faulting package full name:
Faulting package-relative application ID:

(<User> is Windows username}
Windows Error Reporting
Fault bucket<PHONE_NUMBER>058849262, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: UC2ELS4RLHOHLA5GSE4GBYNXFFVXIJD1
P2: <IP_ADDRESS>
P3: 619ae151
P4: MicaForEveryone.UI
P5: <IP_ADDRESS>
P6: 61d6b45f
P7: 1
P8: 6
P9: System.IO.FileNotFoundException
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.ea2c1886-79f1-4ae2-8be2-c2cb48cfb103.tmp.mdmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.f9ce96fa-99d1-42f5-84bc-27598257f516.tmp.WERInternalMetadata.xml
WPR_initiated_DiagTrackMiniLogger_OneTrace_User_Logger_20220219_1 EC_0_inject.etl
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.f7565ec8-e217-46f3-bd77-25b6f33cf65c.tmp.etl
WPR_initiated_DiagTrackMiniLogger_WPR System Collector_inject.etl
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.d4e20067-ccaf-4b1c-80ad-0218e6d11937.tmp.etl
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.1c48e7f5-9d0f-48aa-971e-8097479bb46f.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.5eb5a23d-9489-4b14-8173-e4be81e409b6.tmp.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.daf951e8-616f-4e62-b18e-cd4fd56124c2.tmp.xml

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_UC2ELS4RLHOHLA5G_2a6292828b1e20f17d3baaff596bd9fb31125979_4e6189ae_7a7e69ba-7b6e-46bb-88e9-455d70c16f0a

Analysis symbol:
Rechecking for solution: 0
Report Id: fdf85bf3-0296-4d55-b4a1-d7833a95f59d
Report Status:<PHONE_NUMBER>
Hashed bucket: 57c347dd33e8b6f85991eae064f8dfee
Cab Guid: 0

I don't know what's wrong, but I could understand that a file that's required by Xaml Islands can't be found. Xaml Islands require Visual C++ Runtime so make sure if you have it installed.
https://aka.ms/vs/17/release/vc_redist.x64.exe

I have got the same problem and almost the exact same errors in the event viewers as above. I have installed all the required redistributables and even some additional ones, such as older Visual Studios, but to no avail. Fresh Windows 11 install with the newest update. I can provide event viewer error but they are almost the same as Mine-Modder's.

Copying the runtimes\win10-x64\native to runtimes\win seems to have fixed the issue.

Copying the contents of the runtimes\win10-x64\native folder to runtimes\win\native seems to have fixed the issue.

Weird. I can't help as I can't reproduce it, but those files are copied by compiler not me.


Attirbutes getting removed automatically

I assigned html which has table

when I assign this to suneditor it automatically removed width due to this I am facing the issue.

@pinal-r Try it.
attributesWhitelist" {
  all: 'style', // or table: 'style'
}


ARTEMIS-4284 - sync operwire remove consumer with the operation conte…

…xt to ensure prefetched messages are available to the next consumer in order

@clebertsuconic @jbertram I need some more eyes on this to validate that I am using the most effective way to ensure that the storage manager has completed. Is it ever possible that the storage manager does not run?
the crux of the issue is that the addSorted on the queue is called from the operation context and if we don't wait on that, we can accept a new consumer that will miss these prefetched messages, and get them out of order. That whacks the redelivery accounting and messages go to the DLQ!


go 1.6 conversion

Due to limited resources and this package being outside of my scope of support, I could only give this a cursory review. I've left a few comments, but otherwise looks good.


feat: add API testing

Fixes https://github.com/microsoft/playwright-dotnet/issues/1905

Cool! looking forward to finally see it released!

Cool! Looking forward to seeing it released! Any ETA on it?

See https://github.com/microsoft/playwright-dotnet/issues/1905#issuecomment-1125876729.


Snapshot 9.0.0 error: Unable to parse @BindView binding. probably due to changes in RScanner

From monday morning today my project which uses Snapshot 9.0.0 (because of https://github.com/JakeWharton/butterknife/issues/1200) has started to not compile. The issue is with kotlin classes having butterknife annotations.
I believe the issue is with some latest changes on Snapshot 9.0.0, probably due to changes in RScanner https://github.com/JakeWharton/butterknife/pull/1244/files cc @kageiit .  The compiler error is as follows
Unable to parse @BindView binding.
...

java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$ClassSymbol cannot be cast to com.sun.tools.javac.code.Symbol$VarSymbol
        at butterknife.compiler.ButterKnifeProcessor$RScanner.visitSelect(ButterKnifeProcessor.java:1356)
        at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1897)
        at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)

Also I am forced to use 9.0.0 snapshot due to https://github.com/JakeWharton/butterknife/issues/1200

@kassim What do you mean?

Same in my project, a NPE is thrown from in RScanner:1356
`e:MyFragment.java: error: Unable to generate view binder for @OnTextChanged.
void onAfterEmailChanged(Editable editable) {
^
java.lang.NullPointerException
at butterknife.compiler.ButterKnifeProcessor$RScanner.visitSelect(ButterKnifeProcessor.java:1356)
at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1897)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.tree.TreeScanner.visitAssign(TreeScanner.java:231)`

Sorry, I had assumed one of those snapshots would be before the break, when in fact that last one (33) is when it first broke. Anyway, I've found some old cached versions in this directory /Users/kassim/.gradle/caches/modules-2/files-2.1/com.jakewharton (replace kassim with your user name)

I rollback to the 33th snapshot and it works again
Here the three specific versions you need to apply:
 classpath "com.jakewharton:butterknife-gradle-plugin:9.0.0-20180411.055514-33" implementation "com.jakewharton:butterknife:9.0.0-20180411.055505-33" kapt "com.jakewharton:butterknife-compiler:9.0.0-20180411.055511-33"

ah cool, I switched mine to 33 but it was failing but perhaps I had accidentally broken something else in my code 🤦♂
Thanks @sagix

@vashisthg @sagix can you please post a small snippet of code that has this issue? Will help in creating a repro/test case and to fix it

For me it was in Kotlin classes which referenced R2 (Butterknife plugin generated) IDs

@kageiit Thanks it's fixed with the 37th snapshot

@kageiit Fixed for me too. Thanks


New version: Loraine v0.2.0

Registering package: Loraine
Repository: https://github.com/kocvara/Loraine.jl
Created by: @kocvara
Version: v0.2.0
Commit: 767dc7bc05962bd3f9acac2322c923f3ad0e4790
Reviewed by: @kocvara
Reference: https://github.com/kocvara/Loraine.jl/commit/767dc7bc05962bd3f9acac2322c923f3ad0e4790#commitcomment-145142034
Description: Julia code for general and low-rank semidefinite optimization

[noblock]


GitHub Actions CI: Discover typos

As discussed in #23
Fixes typos in five .swift files.
Runs codespell --ignore-words-list="hart,inout,msdos,sur" --skip="./Pulse/.build/*" on every change.

Thanks for updating the PR, merging.


Release plan

Postpone final release until PHP 8.2 final release

[x] RC 1 compatibility (done in beta 1)
[x] RC 2 compatibility (done in rc 1)
[x] RC 3 compatibility
[x] RC 4 compatibility
[x] RC 5 compatibility
[ ] RC 6 compatibility
[ ] Release compatibility

FYI: php/php-src#9839. Not yet merged due to one pending review, but this will become part of RC 6.

@TimWolla Thanks. It seems it doesn't affect the object behavior and my tests still pass

The output for the following will change to match PHP 7.3 to 8.1:
<?php

mt_srand(1, MT_RAND_PHP);

var_dump(str_shuffle('0123456789'));

if (class_exists(Random\Randomizer::class)) {
    $r = new Random\Randomizer(new Random\Engine\Mt19937(1, MT_RAND_PHP));
    var_dump($r->shuffleBytes('0123456789'));
}

https://3v4l.org/v8jFO
see:
$ g rev-parse HEAD
b9bee155a9c68a3c4ba70b9255a3aea5ee2570bc
$ make -j4 >/dev/null 2>&1
$ sapi/cli/php test.php
string(10) "8926013475"
string(10) "8926013475"
$ g co HEAD^
HEAD is now at 1ba80ff95c Merge branch 'PHP-8.1' into PHP-8.2
$ g rev-parse HEAD
1ba80ff95c926389be836c4cb82982fb2b578b13
$ make -j4 >/dev/null 2>&1
$ sapi/cli/php test.php
string(10) "8132476905"
string(10) "8132476905"

@arokettu I've just merged the previously linked PR.

Ok, I see. I fixed it in #5, I will merge it once RC6 is out


Vulnerabilities in Image

It appears that in the latest version (v1.14-debian-cloudwatch-1) of the image there is a Critical vulnerability:
CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and resultant buffer overflow via a long string on platforms (such as Windows) where size_t and long have different numbers of bytes. This also affects the CGI gem before 0.3.1 for Ruby.. Impacted Image File(s): /usr/local/lib/ruby/2.7.0/cgi.rb
Could someone please look into this and publish a new image which fixes this vulnerability?

Came here for the same reason.

CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and resultant buffer overflow via a long string on platforms (such as Windows) where size_t and long have different numbers of bytes. This also affects the CGI gem before 0.3.1 for Ruby.. Impacted Image File(s): /usr/local/lib/ruby/2.7.0/cgi.rb

They are false positive, v1.14.5 image uses Ruby 2.7.5.


#220 feature SKIP_FIRMWARE

Feature SKIP_FIRMWARE for #220: forces SKIP_KERNEL=1 and also skip the kernel.img files and the kernel modules: This effectively only installs the userland and SDK.

Personally I think it would make more sense to make SKIP_FIRMWARE and SKIP_KERNEL independent.
SKIP_FIRMWARE would avoid installing bootcode.bin/start*.elf/fixup*.dat
SKIP_KERNEL would avoid installing kernel*.img and /lib/modules
For consistency a SKIP_USERLAND for the /opt/vc stuff may be useful.

And yes, supressing the reboot message when SKIP_FIRMWARE and SKIP_KERNEL are both enabled.

I'll see what I can do later this week. Thanks for the remarks.

Sorry I didn't get to this yet: it's been hectic around here. Will retry after conference season is over (about halfway November)

@jpluimers Would you update this PR?

@jpluimers Would you update this PR?

Is this PR still relevant? If not it should be rejected...

I'll close - can be reopened if author wants to update it.


Where does the new var come from in MCS?

not an issue! we just need to add the info to the metadata file


Height issue

For some reason I'm like a foot off the ground. I've tried recentering, restarting and even uninstalled and reinstalled the game. Any ideas?

If you use an oculus quest 2, make sure you have guardian enabled or height will malfunction.


Care Card (immediate) - Details component text colour

What is the issue?
The text colour of the details component does not have sufficient colour contrast when used in a Care Card - Immediate.

Solution
.nhsuk-care-card--immediate {

  .nhsuk-details,
  .nhsuk-details__summary {
    color: $color_nhsuk-white;
  }

  .nhsuk-details__summary {
    &:hover,
    &:focus {
      color: $color_nhsuk-black;
    }
  }

}

Fixed in v2.3.0.


Body width increases when modal is opened

When the modal is open, it applies the "modal-open" class to the body tag. The "overflow:hidden" style makes the body width to increase.
If you have some horizontal centered content it moves a bit to the right, and back to the left when you close the modal.
I tried it in the demo page and the same happened.
Is there any way to avoid this?
Only tested in Chrome.

@jasonozias thx! NICE! :D

@jasonozias Thanks, finally something that really hat works!

@jasonozias thanks!

@jasonozias thanks! It works here too!

@jasonozias :Thanks.Works for me too.

@jasonozias Thank you! Works for me!

@jasonozias thats the solution. ty

many many thnx Mr. jschr And Pomber

js simple solution:
customize bootstrap modal.js
hide: function (e) {
//add
manager.$element.width(manager.$element.width());
//before string:
manager.appendModal(this);
hide: function (e) {
//add
jQuery('body').attr('style', '');
hard, but working!!!

Thanks for the feedback!  I am trying @jasonozias solution, and it works on iOS.  But introduces dual-scrolls when the page has its own scroll and the modal requires a vertical scroll as well.
Have you guys figured out a solution for that issue? Is it happening to anyone else? Thanks,
Best regards,
Rafa.

padding-right: 0 !important is THE solution! Thx @jasonozias

:+1: @jasonozias

Thank you @jasonozias  :+1:

@RafaPolit This happens to me as well.
When desktop browser is not maximized, I have 2 scrollbars on the right of the page.

@theyuv,
This solution worked for me without the double scroll, at least for the time being:
´´´

@RafaPolit Thanks.
There's also this:
https://bugs.webkit.org/show_bug.cgi?format=multiple&id=152803
Although I'm not quite sure what it's saying.

It´s apparently saying they have fixed the bug on a future release and we can remove this 'fixes' whenever the update comes forward to the public.

The issue still persist until now! Thanks @ghost for providing a working solution!

It took me a while to figure it out, but the problem is simply because the vertical scrollbar appears with a certain body height, before the modal (in my case a filterable product gallery) the body was not high enough for the vertical scrollbar to appear, but once it is and the scrollbar appears, it causes the content to be pushed to the left.
I solved this by leaving the vertical scrollbar always visible body {overflow-y: scroll;}
or with overflow: overlay (not supported by all browsers).


Update gpt4v.md (Typo "Azure Open AI models"→"Azure OpenAI models")

Purpose

Typo "Azure Open AI models"→"Azure OpenAI models"
https://github.com/azure-samples/azure-search-openai-demo/blob/main/docs/gpt4v.md
#PingMSFTDocs

Does this introduce a breaking change?
When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.
[ ] Yes
[x] No

Does this require changes to learn.microsoft.com docs?
This repository is referenced by this tutorial
which includes deployment, settings and usage instructions. If text or screenshot need to change in the tutorial,
check the box below and notify the tutorial author. A Microsoft employee can do this for you if you're an external contributor.
[x] Yes
[ ] No

Type of change
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[x] Documentation content changes
[ ] Other... Please describe:

Code quality checklist
See CONTRIBUTING.md for more details.

[ ] The current tests all pass (python -m pytest).
[ ] I added tests that prove my fix is effective or that my feature works
[ ] I ran python -m pytest --cov to verify 100% coverage of added lines
[ ] I ran python -m mypy to check for type errors
[ ] I either used the pre-commit hooks or ran ruff and black manually on my code.

Thanks!


Uploading Empty File Fails

Summary
Attempting to upload an empty file causes the uploading on the UI to start showing, but never makes the upload request for the file. It then never times out.
How to reproduce
Browse for a file using FilePond. Select a file with size 0 bytes.
Expected behaviour
Uploads the file properly even when empty.
Additional information
Noticed the bug in my own functionality and then tested using the examples on https://pqina.nl/filepond/

Environment
Version

OS
Windows

Device
Laptop

Browser
Chrome V72

Just published version 4.3.2, should fix the issue.

Tested, and it works. Thank you for the quick fix.

Fantastic! Thanks for confirming @Banrion!


Fix return value of goByteArrayWriter.Write()

The goByteArrayWriter.Write() shall return number of dumped bytes (hex literals) not number of bytes written to underlying writer (which is approximately 5x more).

@lkingland PTAL


ODBC Manager and Tableau don't see an installed clickhouse-odbc on macOS

I'm trying to configure a ClickHouse data source in Tableau Desktop on macOS. To install the ODBC driver I used the guide provided here: https://github.com/yandex/clickhouse-odbc/blob/master/MACOS.md#simple-install-macos-brew
The files are successfully installed:
[tural@turals-mbp-3 ~]$ ls -al /usr/local/opt/clickhouse-odbc/lib/*
-r--r--r--  1 tural  admin  5685016 19 мар 16:39 /usr/local/opt/clickhouse-odbc/lib/libclickhouseodbc.dylib
lrwxr-xr-x  1 tural  admin       23 19 мар 16:39 /usr/local/opt/clickhouse-odbc/lib/libclickhouseodbc.so -> libclickhouseodbc.dylib
-r--r--r--  1 tural  admin  5692984 19 мар 16:39 /usr/local/opt/clickhouse-odbc/lib/libclickhouseodbcw.dylib
lrwxr-xr-x  1 tural  admin       24 19 мар 16:39 /usr/local/opt/clickhouse-odbc/lib/libclickhouseodbcw.so -> libclickhouseodbcw.dylib

I also set up the ~/.odbc.ini to:
[ClickHouse]
Driver = /usr/local/opt/clickhouse-odbc/lib/libclickhouseodbcw.dylib
# Optional settings:
#server = localhost
#password = 123456
#port = 8123
#database = default
#uid = default
#sslmode = require

However, neither ODBC Manager nor Tableau Desktop don't see the new DSN. I also unable to add a driver through ODBC Manager. What did I miss?

Ok, to make it visible one should add the path to the Driver into odbcinst.ini. In my case it is: /Users/tural/Library/ODBC/odbcinst.ini.

https://github.com/yandex/clickhouse-odbc/blob/master/MACOS.md#simple-install-macos-brew

Hello! This link is 404 now((
Have u a new link with driver files? PLS

@getkot no, for macOS you need to compile the driver manually. The process is straightforward: https://github.com/ClickHouse/clickhouse-odbc#building-from-sources

@traceon @madcat1991
I'm following the steps mentioned here (https://github.com/ClickHouse/clickhouse-odbc#building-from-sources) but not with much luck.
Below are the steps I'm following:
brew install git cmake make poco openssl icu4c libiodbc
git clone --recursive https://github.com:ClickHouse/clickhouse-odbc.git
cd clickhouse-odbc
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DOPENSSL_ROOT_DIR=$(brew --prefix)/opt/openssl -DICU_ROOT=$(brew --prefix)/opt/icu4c ..
cmake --build . --config RelWithDebInfo
cmake --build . --config RelWithDebInfo --target package
After this, I tried to open the iODBC Manager, but I don't see any drivers installed. I'm a beginner at MacOS and also not a developer (just an analyst trying to connect click house to tableau), so please let me know where I'm going wrong.  Kindly requesting you to help me with the same.

@traceon @madcat1991 Hi Guys, Kindly request you guys to guide me on this.

@nlc10 If you were not able to compile the driver, there is an issue currently. For a workaround see: https://github.com/ClickHouse/clickhouse-odbc/issues/355#issuecomment-841264503
Then, once the driver in built (binary files and/or "package" are created; in macOS it will be a clickhouse-odbc-***.tar.gz or clickhouse-odbc-***.tar.xz in the build directory), you need to install it (in case of these archives, unpack it) somewhere, and then edit odbcinst.ini and odbc.ini files accordingly. For more info on that see: https://github.com/ClickHouse/clickhouse-odbc#configuration and https://github.com/ClickHouse/clickhouse-odbc#configuration-iodbc.

Hi @nlc10, a friend of mine has recently tried to install the driver with a new version of Tableau Desktop on macOS. Unfortunately, he didn't manage to make it work. Probably you should try suggestions from @traceon. Please give here a feedback if it works.


Add jsdom + vitest-dom and test index route component

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

Comparison is base (7838533) 26.75% compared to head (0520530) 33.43%.
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   26.75%   33.43%   +6.67%
==========================================
  Files          20       20
  Lines        1678     1678
  Branches       76       77       +1
==========================================
+ Hits          449      561     +112
+ Misses       1211     1102     -109
+ Partials       18       15       -3

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