ERROR Compiling XIR Source Code of the VART

Hi, here's an ERROR while compiling xir of the VART. Does someone have an idea? Need help.
All software envirment related version is 2020.2
Operation Describe
1. Entering sdk environment: source opt/petelinux/2020.2/petalinux_sdk/environment-setup-aarch64-xilinx-linux
2. According to https://github.com/Xilinx/Vitis-AI/blob/master/tools/Vitis-AI-Runtime/VART/quick_start_for_edge.md , I finished setting up the host.
3. According to https://github.com/Xilinx/Vitis-AI/tree/v1.1/Vitis-AI-Library#setting-up-the-host to set up the glog-0.4.0.
4. Start to compile the VART

unilog
Running ./cmake.sh completed, smoothing.

xir
After running ./cmake.sh, the error showing as the blow ERROR log.

target_factory
Same error.

vart
Needs xir compiled result.

e.g. Whatever I do step1 or not (cross-compile for the target or compile for the host), it still gets the same situation and error.
ERROR Log
 xxx@ubuntu:~/Vitis-ai-suit-v1.3/Vitis-AI-master/tools/Vitis-AI-Runtime/VART/xir$ ./cmake.sh
Cross-platform building...
Found target sysroot /opt/petalinux/2020.2/petalinux_sdk/sysroots/aarch64-xilinx-linux
cd /home/xxx/build/build.linux.2020.2.aarch64.Debug/xir
cmake -DBUILD_TEST=ON -DBUILD_CONTRIB=OFF -DBUILD_DOC=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_PYTHON=OFF -DINSTALL_HOME=OFF -DINSTALL_USER=OFF -DCMAKE_TOOLCHAIN_FILE=/opt/petalinux/2020.2/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/share/cmake/OEToolchainConfig.cmake -DCMAKE_PREFIX_PATH=/install/Debug -DCMAKE_INSTALL_PREFIX=/opt/petalinux/2020.2/petalinux_sdk/sysroots/aarch64-xilinx-linux/install/Debug /home/xxx/Vitis-ai-suit-v1.3/Vitis-AI-master/tools/Vitis-AI-Runtime/VART/xir
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /opt/petalinux/2020.2/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-gcc
-- Check for working C compiler: /opt/petalinux/2020.2/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/petalinux/2020.2/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-g++
-- Check for working CXX compiler: /opt/petalinux/2020.2/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found importable target unilog::unilog: /opt/petalinux/2020.2/petalinux_sdk/sysroots/aarch64-xilinx-linux/install/Debug/lib/libunilog.so.1.3.0
-- Found OpenSSL: /opt/petalinux/2020.2/petalinux_sdk/sysroots/aarch64-xilinx-linux/usr/lib/libcrypto.so (found version "1.1.1d")
-- Found Boost: /opt/petalinux/2020.2/petalinux_sdk/sysroots/aarch64-xilinx-linux/usr/lib/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0")
-- Found Protobuf: /opt/petalinux/2020.2/petalinux_sdk/sysroots/aarch64-xilinx-linux/usr/lib/libprotobuf.so;-lpthread (found version "3.9.2")
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
-- Configuring done
-- Generating done
-- Build files have been written to: /home/xxx/build/build.linux.2020.2.aarch64.Debug/xir
[  3%] Running cpp protocol buffer compiler on /home/xxx/Vitis-ai-suit-v1.3/Vitis-AI-master/tools/Vitis-AI-Runtime/VART/xir/src/xir/proto/graph_proto_v2.proto
[  3%] Running cpp protocol buffer compiler on /home/xxx/Vitis-ai-suit-v1.3/Vitis-AI-master/tools/Vitis-AI-Runtime/VART/xir/src/xir/proto/graph_proto_v1.proto
Scanning dependencies of target xir
[  5%] Building CXX object src/xir/CMakeFiles/xir.dir/graph_proto_v1.pb.cc.o
[  6%] Building CXX object src/xir/CMakeFiles/xir.dir/util/data_type.cpp.o
[  8%] Building CXX object src/xir/CMakeFiles/xir.dir/graph_proto_v2.pb.cc.o
[ 10%] Building CXX object src/xir/CMakeFiles/xir.dir/util/error_code.cpp.o
[ 11%] Building CXX object src/xir/CMakeFiles/xir.dir/util/internal_util.cpp.o
[ 13%] Building CXX object src/xir/CMakeFiles/xir.dir/op/built_in_ops.cpp.o
[ 15%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attr_expander_imp.cpp.o
[ 16%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attrs.cpp.o
[ 28%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/elf2xir.cpp.o
[ 18%] Building CXX object src/xir/CMakeFiles/xir.dir/op/op_def.cpp.o
[ 30%] Building CXX object src/xir/CMakeFiles/xir.dir/op/op_imp.cpp.o
[ 20%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attrs_imp.cpp.o
[ 32%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph_template.cpp.o
[ 23%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attr_def.cpp.o
[ 33%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/subgraph_imp.cpp.o
[ 23%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph_template_imp.cpp.o
[ 25%] Building CXX object src/xir/CMakeFiles/xir.dir/util/tool_function.cpp.o
[ 27%] Building CXX object src/xir/CMakeFiles/xir.dir/tensor/tensor.cpp.o
[ 35%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph_imp.cpp.o
[ 37%] Building CXX object src/xir/CMakeFiles/xir.dir/op/shape_inference.cpp.o
[ 38%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/serialize_v2.cpp.o
[ 40%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph.cpp.o
[ 42%] Building C object src/xir/CMakeFiles/xir.dir/version.c.o
[ 44%] Building CXX object src/xir/CMakeFiles/xir.dir/op/op_def_factory_imp.cpp.o
[ 45%] Building CXX object src/xir/CMakeFiles/xir.dir/tensor/tensor_imp.cpp.o
/home/xxx/Vitis-ai-suit-v1.3/Vitis-AI-master/tools/Vitis-AI-Runtime/VART/xir/src/xir/util/tool_function.cpp: In function ‘const string xir::get_lib_id()’:
/home/xxx/Vitis-ai-suit-v1.3/Vitis-AI-master/tools/Vitis-AI-Runtime/VART/xir/src/xir/util/tool_function.cpp:71:32: error: ‘PROJECT_GIT_COMMIT_ID’ was not declared in this scope
   71 |   const auto ret = std::string{PROJECT_GIT_COMMIT_ID};
      |                                ^~~~~~~~~~~~~~~~~~~~~
/home/xxx/Vitis-ai-suit-v1.3/Vitis-AI-master/tools/Vitis-AI-Runtime/VART/xir/src/xir/util/tool_function.cpp:71:53: error: no matching function for call to ‘std::__cxx11::basic_string<char>::basic_string(<brace-enclosed initializer list>)’
   71 |   const auto ret = std::string{PROJECT_GIT_COMMIT_ID};
      |                                                     ^

... ...
... ...
... ...

src/xir/CMakeFiles/xir.dir/build.make:143: recipe for target 'src/xir/CMakeFiles/xir.dir/util/tool_function.cpp.o' failed
make[2]: *** [src/xir/CMakeFiles/xir.dir/util/tool_function.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:117: recipe for target 'src/xir/CMakeFiles/xir.dir/all' failed
make[1]: *** [src/xir/CMakeFiles/xir.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2

Hi @HSqure
I can't reproduce the issue. But it seems that the shell on your system is not bash. Could you try the following command.
/bin/bash cmake.sh
BTW, there is no need to do the step3 (glog-0.4.0)  you mentioned.
The following is the xir building log for your reference.
Cross-platform building... Found target sysroot /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux cd /home/linqiang/build/build.linux.2020.2.aarch64.Debug/xir cmake -DBUILD_TEST=ON -DBUILD_CONTRIB=OFF -DBUILD_DOC=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_PYTHON=OFF -DINSTALL_HOME=OFF -DINSTALL_USER=OFF -DCMAKE_TOOLCHAIN_FILE=/proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/share/cmake/OEToolchainConfig.cmake -DCMAKE_PREFIX_PATH=/install/Debug -DCMAKE_INSTALL_PREFIX=/proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux/install/Debug /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/Vitis-AI/tools/Vitis-AI-Runtime/VART/xir -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Check for working C compiler: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-gcc -- Check for working C compiler: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-g++ -- Check for working CXX compiler: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found importable target unilog::unilog: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux/install/Debug/lib/libunilog.so.1.3.0 -- Found OpenSSL: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux/usr/lib/libcrypto.so (found version "1.1.1d") -- Found Boost: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux/usr/lib/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") -- Found Protobuf: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux/usr/lib/libprotobuf.so;-lpthread (found version "3.9.2") -- Configuring done -- Generating done -- Build files have been written to: /home/linqiang/build/build.linux.2020.2.aarch64.Debug/xir [  3%] Running cpp protocol buffer compiler on /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/Vitis-AI/tools/Vitis-AI-Runtime/VART/xir/src/xir/proto/graph_proto_v1.proto [  3%] Running cpp protocol buffer compiler on /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/Vitis-AI/tools/Vitis-AI-Runtime/VART/xir/src/xir/proto/graph_proto_v2.proto Scanning dependencies of target xir [ 11%] Building CXX object src/xir/CMakeFiles/xir.dir/graph_proto_v1.pb.cc.o [ 11%] Building CXX object src/xir/CMakeFiles/xir.dir/util/data_type.cpp.o [ 11%] Building CXX object src/xir/CMakeFiles/xir.dir/util/internal_util.cpp.o [ 11%] Building CXX object src/xir/CMakeFiles/xir.dir/graph_proto_v2.pb.cc.o [ 13%] Building CXX object src/xir/CMakeFiles/xir.dir/util/error_code.cpp.o [ 13%] Building CXX object src/xir/CMakeFiles/xir.dir/util/tool_function.cpp.o [ 16%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attr_def.cpp.o [ 16%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attr_expander_imp.cpp.o [ 18%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attrs.cpp.o [ 23%] Building CXX object src/xir/CMakeFiles/xir.dir/op/built_in_ops.cpp.o [ 23%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attrs_imp.cpp.o [ 23%] Building CXX object src/xir/CMakeFiles/xir.dir/op/op_def.cpp.o [ 27%] Building CXX object src/xir/CMakeFiles/xir.dir/op/op_imp.cpp.o [ 28%] Building CXX object src/xir/CMakeFiles/xir.dir/op/op_def_factory_imp.cpp.o [ 32%] Building CXX object src/xir/CMakeFiles/xir.dir/op/shape_inference.cpp.o [ 37%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph_imp.cpp.o [ 38%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/subgraph_imp.cpp.o [ 45%] Building CXX object src/xir/CMakeFiles/xir.dir/tensor/tensor.cpp.o [ 45%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/serialize_v2.cpp.o [ 45%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph.cpp.o [ 45%] Building C object src/xir/CMakeFiles/xir.dir/version.c.o [ 38%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/elf2xir.cpp.o [ 42%] Building CXX object src/xir/CMakeFiles/xir.dir/tensor/tensor_imp.cpp.o [ 42%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph_template_imp.cpp.o [ 45%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph_template.cpp.o [ 47%] Linking CXX shared library libxir.so [ 47%] Built target xir Scanning dependencies of target test_graph_template.bin Scanning dependencies of target test_c_api.bin Scanning dependencies of target test_subgraph_topo.bin Scanning dependencies of target test_c_api Scanning dependencies of target test_deserialize.bin Scanning dependencies of target test_subgraph.bin Scanning dependencies of target test_graph_iso.bin Scanning dependencies of target demo.bin Scanning dependencies of target test_deserialize_model.bin Scanning dependencies of target xir_util Scanning dependencies of target test_graph_impl.bin Scanning dependencies of target test_subgraph_iso.bin [ 57%] Building CXX object test/CMakeFiles/test_deserialize_model.bin.dir/test_deserialize_model.cpp.o [ 57%] Building CXX object test/CMakeFiles/test_subgraph_topo.bin.dir/test_subgraph_topo.cpp.o [ 57%] Building C object test/CMakeFiles/test_c_api.bin.dir/test_c_api.c.o [ 59%] Building CXX object test/CMakeFiles/test_graph_template.bin.dir/test_graph_template.cpp.o [ 59%] Building C object test/CMakeFiles/test_c_api.dir/test_c_api.c.o [ 59%] Building CXX object test/CMakeFiles/test_subgraph.bin.dir/test_subgraph.cpp.o [ 59%] Building CXX object test/CMakeFiles/test_graph_impl.bin.dir/test_graph_impl.cpp.o [ 62%] Building CXX object test/CMakeFiles/test_graph_iso.bin.dir/test_graph_iso.cpp.o [ 62%] Building CXX object test/CMakeFiles/test_deserialize.bin.dir/test_deserialize.cpp.o [ 66%] Building CXX object test/CMakeFiles/demo.bin.dir/demo.cpp.o [ 66%] Building CXX object test/CMakeFiles/test_subgraph_iso.bin.dir/test_subgraph_iso.cpp.o [ 67%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_dump_reg.cpp.o [ 69%] Building CXX object tools/CMakeFiles/xir_util.dir/xir_util.cpp.o [ 71%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_dump_txt.cpp.o [ 76%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_dump_code.cpp.o [ 76%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_svg.cpp.o [ 77%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_subgraph.cpp.o [ 79%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_png.cpp.o [ 79%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_graph.cpp.o [ 83%] Linking C executable test_c_api [ 83%] Linking C executable test_c_api.bin [ 83%] Built target test_c_api [ 83%] Built target test_c_api.bin [ 84%] Linking CXX executable test_deserialize.bin [ 86%] Linking CXX executable test_deserialize_model.bin [ 88%] Linking CXX executable test_graph_template.bin [ 89%] Linking CXX executable test_subgraph.bin [ 91%] Linking CXX executable test_graph_impl.bin [ 93%] Linking CXX executable test_subgraph_topo.bin [ 94%] Linking CXX executable test_graph_iso.bin [ 94%] Built target test_deserialize.bin [ 96%] Linking CXX executable demo.bin [ 98%] Linking CXX executable test_subgraph_iso.bin [ 98%] Built target test_graph_template.bin [ 98%] Built target test_deserialize_model.bin [ 98%] Built target test_subgraph.bin [ 98%] Built target test_subgraph_topo.bin [ 98%] Built target test_graph_impl.bin [ 98%] Built target demo.bin [ 98%] Built target test_graph_iso.bin [ 98%] Built target test_subgraph_iso.bin [100%] Linking CXX executable xir [100%] Built target xir_util [ 47%] Built target xir [ 62%] Built target xir_util [ 66%] Built target test_graph_impl.bin [ 69%] Built target test_deserialize_model.bin [ 72%] Built target test_graph_iso.bin [ 76%] Built target test_graph_template.bin [ 79%] Built target test_subgraph_iso.bin [ 83%] Built target test_deserialize.bin [ 86%] Built target demo.bin [ 89%] Built target test_c_api.bin [ 93%] Built target test_subgraph.bin [ 96%] Built target test_subgraph_topo.bin [100%] Built target test_c_api Install the project...

Hi @HSqure
I can't reproduce the issue. But it seems that the shell on your system is not bash. Could you try the following command.
/bin/bash cmake.sh
BTW, there is no need to do the step3 (glog-0.4.0)  you mentioned.
The following is the xir building log for your reference.
Cross-platform building... Found target sysroot /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux cd /home/linqiang/build/build.linux.2020.2.aarch64.Debug/xir cmake -DBUILD_TEST=ON -DBUILD_CONTRIB=OFF -DBUILD_DOC=OFF -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_PYTHON=OFF -DINSTALL_HOME=OFF -DINSTALL_USER=OFF -DCMAKE_TOOLCHAIN_FILE=/proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/share/cmake/OEToolchainConfig.cmake -DCMAKE_PREFIX_PATH=/install/Debug -DCMAKE_INSTALL_PREFIX=/proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux/install/Debug /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/Vitis-AI/tools/Vitis-AI-Runtime/VART/xir -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Check for working C compiler: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-gcc -- Check for working C compiler: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-g++ -- Check for working CXX compiler: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/x86_64-petalinux-linux/usr/bin/aarch64-xilinx-linux/aarch64-xilinx-linux-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found importable target unilog::unilog: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux/install/Debug/lib/libunilog.so.1.3.0 -- Found OpenSSL: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux/usr/lib/libcrypto.so (found version "1.1.1d") -- Found Boost: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux/usr/lib/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") -- Found Protobuf: /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/petalinux_sdk/sysroots/aarch64-xilinx-linux/usr/lib/libprotobuf.so;-lpthread (found version "3.9.2") -- Configuring done -- Generating done -- Build files have been written to: /home/linqiang/build/build.linux.2020.2.aarch64.Debug/xir [  3%] Running cpp protocol buffer compiler on /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/Vitis-AI/tools/Vitis-AI-Runtime/VART/xir/src/xir/proto/graph_proto_v1.proto [  3%] Running cpp protocol buffer compiler on /proj/xsjhdstaff6/linqiang/vai1.3/integrate_test_vai1.3/Vitis-AI/tools/Vitis-AI-Runtime/VART/xir/src/xir/proto/graph_proto_v2.proto Scanning dependencies of target xir [ 11%] Building CXX object src/xir/CMakeFiles/xir.dir/graph_proto_v1.pb.cc.o [ 11%] Building CXX object src/xir/CMakeFiles/xir.dir/util/data_type.cpp.o [ 11%] Building CXX object src/xir/CMakeFiles/xir.dir/util/internal_util.cpp.o [ 11%] Building CXX object src/xir/CMakeFiles/xir.dir/graph_proto_v2.pb.cc.o [ 13%] Building CXX object src/xir/CMakeFiles/xir.dir/util/error_code.cpp.o [ 13%] Building CXX object src/xir/CMakeFiles/xir.dir/util/tool_function.cpp.o [ 16%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attr_def.cpp.o [ 16%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attr_expander_imp.cpp.o [ 18%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attrs.cpp.o [ 23%] Building CXX object src/xir/CMakeFiles/xir.dir/op/built_in_ops.cpp.o [ 23%] Building CXX object src/xir/CMakeFiles/xir.dir/attrs/attrs_imp.cpp.o [ 23%] Building CXX object src/xir/CMakeFiles/xir.dir/op/op_def.cpp.o [ 27%] Building CXX object src/xir/CMakeFiles/xir.dir/op/op_imp.cpp.o [ 28%] Building CXX object src/xir/CMakeFiles/xir.dir/op/op_def_factory_imp.cpp.o [ 32%] Building CXX object src/xir/CMakeFiles/xir.dir/op/shape_inference.cpp.o [ 37%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph_imp.cpp.o [ 38%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/subgraph_imp.cpp.o [ 45%] Building CXX object src/xir/CMakeFiles/xir.dir/tensor/tensor.cpp.o [ 45%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/serialize_v2.cpp.o [ 45%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph.cpp.o [ 45%] Building C object src/xir/CMakeFiles/xir.dir/version.c.o [ 38%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/elf2xir.cpp.o [ 42%] Building CXX object src/xir/CMakeFiles/xir.dir/tensor/tensor_imp.cpp.o [ 42%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph_template_imp.cpp.o [ 45%] Building CXX object src/xir/CMakeFiles/xir.dir/graph/graph_template.cpp.o [ 47%] Linking CXX shared library libxir.so [ 47%] Built target xir Scanning dependencies of target test_graph_template.bin Scanning dependencies of target test_c_api.bin Scanning dependencies of target test_subgraph_topo.bin Scanning dependencies of target test_c_api Scanning dependencies of target test_deserialize.bin Scanning dependencies of target test_subgraph.bin Scanning dependencies of target test_graph_iso.bin Scanning dependencies of target demo.bin Scanning dependencies of target test_deserialize_model.bin Scanning dependencies of target xir_util Scanning dependencies of target test_graph_impl.bin Scanning dependencies of target test_subgraph_iso.bin [ 57%] Building CXX object test/CMakeFiles/test_deserialize_model.bin.dir/test_deserialize_model.cpp.o [ 57%] Building CXX object test/CMakeFiles/test_subgraph_topo.bin.dir/test_subgraph_topo.cpp.o [ 57%] Building C object test/CMakeFiles/test_c_api.bin.dir/test_c_api.c.o [ 59%] Building CXX object test/CMakeFiles/test_graph_template.bin.dir/test_graph_template.cpp.o [ 59%] Building C object test/CMakeFiles/test_c_api.dir/test_c_api.c.o [ 59%] Building CXX object test/CMakeFiles/test_subgraph.bin.dir/test_subgraph.cpp.o [ 59%] Building CXX object test/CMakeFiles/test_graph_impl.bin.dir/test_graph_impl.cpp.o [ 62%] Building CXX object test/CMakeFiles/test_graph_iso.bin.dir/test_graph_iso.cpp.o [ 62%] Building CXX object test/CMakeFiles/test_deserialize.bin.dir/test_deserialize.cpp.o [ 66%] Building CXX object test/CMakeFiles/demo.bin.dir/demo.cpp.o [ 66%] Building CXX object test/CMakeFiles/test_subgraph_iso.bin.dir/test_subgraph_iso.cpp.o [ 67%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_dump_reg.cpp.o [ 69%] Building CXX object tools/CMakeFiles/xir_util.dir/xir_util.cpp.o [ 71%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_dump_txt.cpp.o [ 76%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_dump_code.cpp.o [ 76%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_svg.cpp.o [ 77%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_subgraph.cpp.o [ 79%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_png.cpp.o [ 79%] Building CXX object tools/CMakeFiles/xir_util.dir/cmd_graph.cpp.o [ 83%] Linking C executable test_c_api [ 83%] Linking C executable test_c_api.bin [ 83%] Built target test_c_api [ 83%] Built target test_c_api.bin [ 84%] Linking CXX executable test_deserialize.bin [ 86%] Linking CXX executable test_deserialize_model.bin [ 88%] Linking CXX executable test_graph_template.bin [ 89%] Linking CXX executable test_subgraph.bin [ 91%] Linking CXX executable test_graph_impl.bin [ 93%] Linking CXX executable test_subgraph_topo.bin [ 94%] Linking CXX executable test_graph_iso.bin [ 94%] Built target test_deserialize.bin [ 96%] Linking CXX executable demo.bin [ 98%] Linking CXX executable test_subgraph_iso.bin [ 98%] Built target test_graph_template.bin [ 98%] Built target test_deserialize_model.bin [ 98%] Built target test_subgraph.bin [ 98%] Built target test_subgraph_topo.bin [ 98%] Built target test_graph_impl.bin [ 98%] Built target demo.bin [ 98%] Built target test_graph_iso.bin [ 98%] Built target test_subgraph_iso.bin [100%] Linking CXX executable xir [100%] Built target xir_util [ 47%] Built target xir [ 62%] Built target xir_util [ 66%] Built target test_graph_impl.bin [ 69%] Built target test_deserialize_model.bin [ 72%] Built target test_graph_iso.bin [ 76%] Built target test_graph_template.bin [ 79%] Built target test_subgraph_iso.bin [ 83%] Built target test_deserialize.bin [ 86%] Built target demo.bin [ 89%] Built target test_c_api.bin [ 93%] Built target test_subgraph.bin [ 96%] Built target test_subgraph_topo.bin [100%] Built target test_c_api Install the project...

@qianglin-xlnx Thank you for the quick reply！
I try to compile it again following your solution, but I found the error still remains. Details are as follows:
1. Actually I don't need glog from step2. Thanks.
2. I find that my system is true bash:
xxx@ubuntu:~/Vitis-ai-suit-v1.3/Vitis-AI-master/tools/Vitis-AI-Runtime/VART/xir$ echo $SHELL
/bin/bash

Then I still use /bin/bash cmake.sh to compile xir. But unfortunately, there is the same old error.
Interim solution
According to the error, I just modify PROJECT_GIT_COMMIT_ID to something random constant like 10, then it worked! I passed the whole VART compilation. But sadly I still don't know where the problem comes from.
ERROR loaction

Here's where the error occurs.
https://github.com/Xilinx/Vitis-AI/blob/master/tools/Vitis-AI-Runtime/VART/xir/src/xir/util/tool_function.cpp
line 71 const auto ret = std::string{PROJECT_GIT_COMMIT_ID};

Here's a definition interface, which waits for value from cmakelists.
https://github.com/Xilinx/Vitis-AI/blob/master/tools/Vitis-AI-Runtime/VART/xir/src/xir/config/config.hpp.in
line 23 fine PROJECT_GIT_COMMIT_ID "@PROJECT_GIT_COMMIT_ID@"

Here's cmakelists which gives value to PROJECT_GIT_COMMIT_ID
https://github.com/Xilinx/Vitis-AI/blob/master/tools/Vitis-AI-Runtime/VART/xir/src/xir/CMakeLists.txt
line 26 OUTPUT_VARIABLE PROJECT_GIT_COMMIT_ID

Then I have no idea how it goes and what OUTPUT_VARIABLE means about.

@qianglin-xlnx Thank you for the quick reply！
I try to compile it again following your solution, but I found the error still remains. Details are as follows:
1. Actually I don't need glog from step2. Thanks.
2. I find that my system is true bash:
xxx@ubuntu:~/Vitis-ai-suit-v1.3/Vitis-AI-master/tools/Vitis-AI-Runtime/VART/xir$ echo $SHELL
/bin/bash

Then I still use /bin/bash cmake.sh to compile xir. But unfortunately, there is the same old error.
Interim solution
According to the error, I just modify PROJECT_GIT_COMMIT_ID to something random constant like 10, then it worked! I passed the whole VART compilation. But sadly I still don't know where the problem comes from.
ERROR loaction

Here's where the error occurs.
https://github.com/Xilinx/Vitis-AI/blob/master/tools/Vitis-AI-Runtime/VART/xir/src/xir/util/tool_function.cpp
line 71 const auto ret = std::string{PROJECT_GIT_COMMIT_ID};

Here's a definition interface, which waits for value from cmakelists.
https://github.com/Xilinx/Vitis-AI/blob/master/tools/Vitis-AI-Runtime/VART/xir/src/xir/config/config.hpp.in
line 23 fine PROJECT_GIT_COMMIT_ID "@PROJECT_GIT_COMMIT_ID@"

Here's cmakelists which gives value to PROJECT_GIT_COMMIT_ID
https://github.com/Xilinx/Vitis-AI/blob/master/tools/Vitis-AI-Runtime/VART/xir/src/xir/CMakeLists.txt
line 26 OUTPUT_VARIABLE PROJECT_GIT_COMMIT_ID

Then I have no idea how it goes and what OUTPUT_VARIABLE means about.

@HSqure
I'm sorry I still can't reproduce the issue you mentioned. I notice the following error from your log

Do you git clone the whole Vitis-AI? or Do you remove the .git folder.

If possible, could you git clone Vitis-AI and try it again.

@HSqure
I'm sorry I still can't reproduce the issue you mentioned. I notice the following error from your log

Do you git clone the whole Vitis-AI? or Do you remove the .git folder.

If possible, could you git clone Vitis-AI and try it again.

@qianglin-xlnx It worked! Thanks for your help!
I got the Vitis-AI-master by just download .zip file before, maybe it's the reason why it lacks .git folder.
I will close this issure#254.
At last, Thank you again!

@qianglin-xlnx It worked! Thanks for your help!
I got the Vitis-AI-master by just download .zip file before, maybe it's the reason why it lacks .git folder.
I will close this issure#254.
At last, Thank you again!


[Feature Request] Disable wallpaper option

Hello, please give a user opportunity to disable background wallpaper and replace it with a solid theme background color just like in other IDEs. I like wallpapers, but i feel it really worsens readability and focus.

For real though, I'll add it. Might have time this weekend to add it.

Alright, I've added this option, you should be able to update the Doki Theme for Jupyter to v<IP_ADDRESS>.0, thanks!


[Bug] "Oracle error: ORA-00972: identifier is too long" with view materialization

Is there an existing issue for this?

[x] I have searched the existing issues

Current Behavior
Related to https://github.com/oracle/dbt-oracle/issues/62.
I have a model with 20 characters, materialized as a view. On dbt build, https://github.com/oracle/dbt-oracle/blob/f00b711509cd41f5619fa3becadd029777c45879/dbt/include/oracle/macros/adapters.sql#L255 is executed, trying to drop a non existent view, which happens to be 32 characters long:
DECLARE
     dne_942    EXCEPTION;
     PRAGMA EXCEPTION_INIT(dne_942, -942);
     attempted_ddl_on_in_use_GTT EXCEPTION;
     pragma EXCEPTION_INIT(attempted_ddl_on_in_use_GTT, -14452);
  BEGIN
     SAVEPOINT start_transaction;
     EXECUTE IMMEDIATE 'DROP view ********.********************__dbt_backup cascade constraint';
     COMMIT;
  EXCEPTION
     WHEN attempted_ddl_on_in_use_GTT THEN
        NULL; -- if it its a global temporary table, leave it alone.
     WHEN dne_942 THEN
        NULL;
  END;

This fails on Oracle 11g but the funny thing is the code wouldn't have any effect as there's no backup view to delete.
For now, I've overriden the macro's content to:
{% macro oracle__drop_relation(relation) -%}
  {% if relation.type != "view" %}
    {% call statement('drop_relation', auto_begin=False) -%}
    DECLARE
        dne_942    EXCEPTION;
        PRAGMA EXCEPTION_INIT(dne_942, -942);
        attempted_ddl_on_in_use_GTT EXCEPTION;
        pragma EXCEPTION_INIT(attempted_ddl_on_in_use_GTT, -14452);
    BEGIN
        SAVEPOINT start_transaction;
        EXECUTE IMMEDIATE 'DROP {{ relation.type }} {{ relation }} cascade constraint';
        COMMIT;
    EXCEPTION
        WHEN attempted_ddl_on_in_use_GTT THEN
            NULL; -- if it its a global temporary table, leave it alone.
        WHEN dne_942 THEN
            NULL;
    END;
    {%- endcall %}
  {% endif %}
{% endmacro %}

It covers my specific case for now but I'm sure there's more to it so I won't submit such a PR.
Note that the problem of the "too long" identifiers was already fixed upstream for PostgreSQL (https://github.com/dbt-labs/dbt-core/issues/2869). It would be very appreciated if something like that could be done for Oracle too.
Expected Behavior
I should be able to use any name length that's acceptable for the DB.
Steps To Reproduce
Create a 20 characters long model name, materialized as a view and build it multiple times.
Relevant log output using --debug flag enabled
No response
Environment
- OS: Windows
- Python: 3.11
- dbt: 1.4.2

What Oracle database version are you using dbt with?
11g
Additional Context
No response

@ggam
For any ORA-00972: identifier is too long issue, if the database version is older than 12c there are 2 options:

Use a shorter model alias

{{ config(alias='sessions') }}

Have a macro override at dbt project level like we did in a  similar issue

From Oracle 12c, identifiers can be 128 bytes long
I checked your macro override and I would be careful adding this check to a generic macro
{% if relation.type != "view" %}

The reason why we have <relation>__dbt_backup, is to handle the case if the dbt model was a previously a table. dbt renames the old relation to <relation>__dbt_backup and for that it drops any existing <relation>__dbt_backup to avoid ORA-00955: name is already used by an existing object

Hi @aosingh thanks for the quick response. I'm using alias for the longest names, but a "__dbt_backup" suffix is 12 characters long. That means I only have 18 characters to use in my user facing view names.
Since this is internal dbt and temporary stuff, I think it'd be correct to truncate the names from the left to 30 characters for old db versions. The rollback mechanism should prevent those objects to be persisted in case of error.
Regarding my hack:
{% if relation.type != "view" %}

Thanks for the word of caution. I'm aware it's a little clunky, but it should work until I have some time to dig deeper into the code.

Thanks to your comments I came to a safer workaround. Just ignore that especific exception:
{% macro oracle__drop_relation(relation) -%}
    {% call statement('drop_relation', auto_begin=False) -%}
    DECLARE
        dne_942    EXCEPTION;
        PRAGMA EXCEPTION_INIT(dne_942, -942);
        attempted_ddl_on_in_use_GTT EXCEPTION;
        pragma EXCEPTION_INIT(attempted_ddl_on_in_use_GTT, -14452);
        identifier_too_long  EXCEPTION;
        PRAGMA EXCEPTION_INIT(identifier_too_long, -972);
    BEGIN
        SAVEPOINT start_transaction;
        EXECUTE IMMEDIATE 'DROP {{ relation.type }} {{ relation }} cascade constraint';
        COMMIT;
    EXCEPTION
        WHEN attempted_ddl_on_in_use_GTT THEN
            NULL; -- if it its a global temporary table, leave it alone.
        WHEN dne_942 THEN
            NULL;
        WHEN identifier_too_long THEN
            NULL; -- object cannot actually exist anyway
    END;
    {%- endcall %}
{% endmacro %}

@ggam
I discussed this internally, and as documented, the minimum supported Oracle Database version by dbt-oracle is 12c.
Starting with Oracle 12c, identifiers can be 128 bytes long and this should not be problem.
With Oracle 11g, let me know in case you encounter any ORA-00972: identifier is too long issues. I can help suggest a workaround probably by overriding the macro at project level.

Thanks, I wasn't aware of the minimum versión. I've checked the
documentation and you're right it's there.
We can close this issue then. I'll open a new help request issue in case I
get more errors like this.
Thanks again for your quick replies.
El sáb, 8 abr 2023 2:10, Abhishek Singh @.***> escribió:

@ggam https://github.com/ggam
I discussed this internally, and as documented
https://docs.getdbt.com/reference/warehouse-setups/oracle-setup, the
minimum supported Oracle Database version by dbt-oracle is 12c.
Starting with Oracle 12c, identifiers can be 128 bytes long and this
should not be problem.
With Oracle 11g, let me know in case you encounter any ORA-00972:
identifier is too long issues. I can help suggest a workaround probably
by overriding the macro at project level.
—
Reply to this email directly, view it on GitHub
https://github.com/oracle/dbt-oracle/issues/82#issuecomment-1500735289,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQC44GMILGWMQWFWDPERLTXACUIDANCNFSM6AAAAAAWSWUGKU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Be able to change the theme of PDFjs

Not sure if imagining things, but didn't PDFjs have a dark theme prior to 0.6.10 or something...?
My personal preference is a dark theme, which i think goes better together with the windows in FVTT. But maybe have an option in the module settings to change the theme?

Yes PDFjs got a UI update - I plan to allow user-defined custom CSS of the editor at some point in the near future, so this will be possible at that time.


subprocess.CalledProcessError: Command xxx returned non-zero exit status 1.

When I try training on VCR dataset with the comand ./scripts/dist_run_single.sh 1 vcr/train_end2end.py ./cfgs/vcr/base_q2a_4x16G_fp32.yaml ./, I got an error like this:
Traceback (most recent call last):
  File "vcr/train_end2end.py", line 59, in <module>
    main()
  File "vcr/train_end2end.py", line 53, in main
    rank, model = train_net(args, config)
  File "/gruntdata/guimin.gm/vlbert/vcr/../vcr/function/train.py", line 87, in train_net
    group_name='mtorch')
  File "/home/guimin.gm/miniconda3/envs/pt/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 406, in init_process_group
    store, rank, world_size = next(rendezvous(url))
  File "/home/guimin.gm/miniconda3/envs/pt/lib/python3.6/site-packages/torch/distributed/rendezvous.py", line 95, in _tcp_rendezvous_handler
    store = TCPStore(result.hostname, result.port, world_size, start_daemon)
RuntimeError: Address already in use
Traceback (most recent call last):
  File "./scripts/launch.py", line 200, in <module>
    main()
  File "./scripts/launch.py", line 196, in main
    cmd=process.args)
subprocess.CalledProcessError: Command '['/home/guimin.gm/miniconda3/envs/pt/bin/python', '-u', 'vcr/train_end2end.py', '--cfg', './cfgs/vcr/base_q2a_4x16G_fp32.yaml', '--model-dir', './', '--dist']' returned non-zero exit status 1.

I haven`t found the solution, is there anybody can help me? Thanks a lot.

the same problem happen when try Distributed Training.
why not try  Non-Distributed Training?

It seems the port has been used by other programs. Could you try to modify the port in:
https://github.com/jackroos/VL-BERT/blob/4373674cbf2bcd6c09a2c26abfdb6705b870e3be/scripts/launch.py#L134

Can anyone help me how to solve this while run training I got this error?
AlgorithmError: ExecuteUserScriptError: Command "/opt/conda/bin/python3.6 -m launch_ddp --config configs/dist-training-config.yaml" Traceback (most recent call last): File "/opt/conda/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/opt/conda/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/opt/ml/code/launch_ddp.py", line 42, in  raise subprocess.CalledProcessError(returncode=process.returncode, cmd=joint_cmd) subprocess.CalledProcessError: Command 'python -m torch.distributed.launch --nnodes 1 --node_rank 0 --nproc_per_node 1 --master_addr algo-1 --master_port 55555 /opt/ml/code/train.py --config configs/dist-training-config.yaml' returned non-zero exit status 1., exit code: 1


[CMake] Move swift-syntax library definitions to 'lib/SwiftSyntax'

Previously, swift-syntax libraries were built in the root CMakeLists.txt, and were installed in lib/CMakeLists.txt. Consolidate them into lib/SwiftSyntax/CMakeLists.txt. Now the swift-syntax libraries look like any other tool libraries outside lib/SwiftSyntax, as they should.

@swift-ci Please smoke test


Can't use blocks of code  in notes with bash commands that have "long options"

Bash examples with long options are never shown in api docs notes. Tried both markdown and restructuredtext  VIEW_DESCRIPTION_FUNCTION-s.
class SomeViewSet(viewsets.ModelViewSet):

    """
    Some resource.

    Example call with digest auth:

        curl --digest -u "username:token" "http://www.example.com/api/v1/some_end_point/"

    Everything after curl example is stripped. This text will not be visible in API browser
    """

The problem is in IntrospectorHelper.strip_params_from_docstring which treats '--d' as "parameter -- description" separator and strips lines after example with curl

well, that's obnoxious, especially since the part that parses the parameter/description won't accept that line anyways.


visualstudio2022-workload-netcorebuildtools is missing

I see a package called visualstudio2019-workload-netcorebuildtools, but no equivalent for 2022. Is that intentionally?

I see a package called visualstudio2019-workload-netcorebuildtools, but no equivalent for 2022. Is that intentionally?

I think so as the NetCoreBuildTools Workload been dropped from the Visual Studio 2022 workloads.
The NetCoreTools workload has also been dropped, at least for my requirements the NetWeb workload with the optional flag alongside the the Azure Workload with recommended replace it.

Yes, there is no such workload for VS 2022 and the one for 2019 has been deprecated by MS, too.


Add new RPGF3 projects

Forgive me, just pasting same guidance:
Could you either link to the work / close issue,
or fix the status and move to appropriate sprint?


Firebase Video To Phasset to TLPHAsset

First I would like to say thank you for this library it allowed me to create a custom UI component that a couple people are currently using. I use this app to create a custom row in a form data UI where a user can use this custom row to select a video from there phone and upload it to a server such as firebase.
My issue now comes with editing the video on the server. When the user selects the collection of information it is loaded from there server incase the user wants to either edit it or keep it the same.
I already read the documentation and understand that I can download a video from firebase to my phone.
But how would I change that into a phAsset and then a TLPhasset so I can place it in the user can see that there current video is indeed on the server. The picture is an example of the UI that I have. I can put the image there but not the video.

@Smiller193
PHAsset is an object for a photo library.
Converting local video or images to PHAsset is not matched with actual data.
So, Not available in this library.


Change expected address schema for id should expect string over integer

The API response for topic services in invalid now that we generate a hash of type string for address_ids as part of the iCarol to Open referral csv conversion.
In Tomy's issue 564, id was explicitly added to the Address model to expect a string. The client has not been changed to reflect this and AJV Schema validation for Addresses expects address id's to be integers.
Here is the warning message:
data[0].location.addresses[0].address.id should be integer
Acceptance Criteria

[ ]  Address schema expects address id to be of type string

Steps for QA:

Topic services work normally in the staging app. Pass 1.56.1

Topic services work normally in the staging app. Pass 1.56.1


add hierarchical tag search

My shot at implementing a tag hierarchy at the search level for #659
Tags with / characters can be searched by any of its parents tags (i.e. a tag a/b/c is searchable via a, a/b or a/b/c.
Added an option to enable/disable this functionality in the user profile (default is off - aka old behaviour).

Now this would be a great feature. I didn't have a look at the code, but one would have to search for #b, not b, right?

yes, normally you would search for tags via "#" prefix as normal.
it actually depends on your "tag search" setting as before. if it is set to "lax" it means you can search for tags without "#" as well. so no changes at the point.

Thanks for the contribution. There definitely should be a better way to categorize bookmarks, but I'm not sure if this is it. The good thing about this implementation is that it's opt-in and a rather isolated change. Personally, I'd want something different for tag bundles though, in that I can define a bundle like programming which:

Is selectable through the UI, separately from the cluttered tag cloud
Allows me to define a number of tags like css, java, ... that are automatically included in the search results when searching for programming

I'll keep this open as an option, but I still have to make up my mind if categorization should be solved with folders, tag bundles, tag hierarchies, or by supporting multiple options. Or possibly a combination of those, for example folders could be combined somewhat with the tag bundle approach I mentioned above.

I'll keep this open as an option, but I still have to make up my mind if categorization should be solved with folders, tag bundles, tag hierarchies, or by supporting multiple options. Or possibly a combination of those, for example folders could be combined somewhat with the tag bundle approach I mentioned above.

(Folders are the root of all evil - my personal opinion)
Could a bookmark then reside in multiple folders?

at least the main pull request here is nothing more then a partial tag search. this means you can organize your tags in a folder like hierarchy and then search for the path or the full tag name. this means you can have multiple hierarchical (or notmal) tags per link.

(Folders are the root of all evil - my personal opinion)

I would agree with that. I hated it when every time I created a bookmark I had to decide in which folder to put it. Or digging through the folder hierarchy to find something. I much prefer just adding some tags and then relying on search. But people are used to them and it's one of the most requested features at this point. Apart from that the current tag cloud quickly becomes useless / too noisy if you want to navigate bookmarks through the UI rather than through search. So some form of a configurable curated list of categories (folders, tag bundles, whatever) as a quick filter makes sense.

Could a bookmark then reside in multiple folders?

With tag bundles very likely, as tags don't have a hierarchy and you can assign multiple of them to a bookmark. If there would be a feature for manually assigning bookmarks to folders then I'd probably not go that far in a first version.

(Folders are the root of all evil - my personal opinion)
Could a bookmark then reside in multiple folders?

Kind of true, maybe put tags in folder, a tag belongs to some other tags (category), act like tags, but a bookmark still could be found via it's parent tag. Also when tag glows, the UI would become less messy


Move Infoblox provider logic to ExternalDNS

Initially, we faced the limitations of externaldns with creation of NS records and used a special API call to infoblox API to enable Zone Delegation.
After implementation of NS record support upstream ( https://github.com/kubernetes-sigs/external-dns/pull/1813 ) we can try to simplify Infoblox edgeDNS provider logic and consolidate it with Route53/NS1 ones.
It will seriously simplify Infoblox logic maintenance and we will be able to rule them all with DNSEndoint CRDs and a common function

Doesn't seem to be viable due to realization of the following(in sequential order)

external-dns infoblox provider can't do NS records
infoblox-go-client can't do NS records
infoblox API < 2.11 can't do NS records

Overall API payload for NS looks weird and not really compatible with standard DNS conf

Only single NS server and automated creation of glue record behind the scenes is not something we can pair with externalDNS
https://github.com/AbsaOSS/k8gb/pull/259 is some enhancement PR as a good side effect while working on this issue

Doesn't seem to be viable due to realization of the following(in sequential order)

external-dns infoblox provider can't do NS records
infoblox-go-client can't do NS records
infoblox API < 2.11 can't do NS records

Overall API payload for NS looks weird and not really compatible with standard DNS conf

Only single NS server and automated creation of glue record behind the scenes is not something we can pair with externalDNS
https://github.com/AbsaOSS/k8gb/pull/259 is some enhancement PR as a good side effect while working on this issue


az vm & az resource move failed deployment

CLI Team,
This bug was reported to me via email and I am copying the communication here for your review.

Tl;dr: looks like there is a bug and CLI lies about a failed deployment :D
I found a few issues with the script, which I fixed (variables had spaces between the variable = value, but it needs to be variable=value) and I move where you set subscription for the original VM.
When it got to creating the VM, I got the following:
xxxxx@yyyyy-t480:/mnt/c/Users/xxxxx$ az vm create --resource-group $destinationResourceGroup --name $vmName \

--attach-os-disk "/subscriptions/$destinationSubscription/resourceGroups/$destinationResourceGroup/providers/Microsoft.Compute/disks/DestinationDisk" \
--os-type $osType

Deployment failed. Correlation ID: 6f03828b-f17c-4071-9f5a-d87c571a6525. {
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "VMMarketplaceInvalidInput",
"message": "Creating a virtual machine from Marketplace image or a custom image sourced from a Marketplace image requires Plan information in the request. VM: '/subscriptions/0f401833-78ff-4ebe-a797-67791c5fbdaa/resourceGroups/generalized/providers/Microsoft.Compute/virtualMachines/planlinux'."
}
]
}
}
Which is expected, because it needs the plan info. Note that is says “Deployment failed” – this is the interesting part.
So, I added that and got the same message you got – notice that it says “an update”:
xxxxx@yyyyy-t480:/mnt/c/Users/xxxxx$ az vm create --resource-group $destinationResourceGroup --name $vmName     --attach-os-disk "/subscriptions/$destinationSubscription/resourceGroups/$destinationResourceGroup/providers/Microsoft.Compute/disks/DestinationDisk"     --os-type $osType --plan-product $offer --plan-publisher $publisher --plan-name $plan
Azure Error: CannotSetPlanOnUpdate
Message: This resource was created without a plan. A new plan cannot be associated with an update.
On a hunch, I went to check to see what was in the destination resource group. Guess what? There was a new VM there with the right name. I suspect it was created during the first pass, even though it said it failed.
I deleted the new VM and re-ran the create command, with the plan parameters, and it worked:
xxxxx@yyyyy-t480:/mnt/c/Users/xxxxx$ az vm create --resource-group $destinationResourceGroup --name $vmName     --attach-os-disk "/subscriptions/$destinationSubscription/resourceGroups/$destinationResourceGroup/providers/Microsoft.Compute/disks/DestinationDisk"     --os-type $osType --plan-product $offer --plan-publisher $publisher --plan-name $plan
{- Finished ..
"fqdns": "",
"id": "/subscriptions/0f401833-78ff-4ebe-a797-67791c5fbdaa/resourceGroups/generalized/providers/Microsoft.Compute/virtualMachines/planlinux",
"location": "westcentralus",
"macAddress": "00-0D-3A-D7-88-F0",
"powerState": "VM running",
"privateIpAddress": "<IP_ADDRESS>",
"publicIpAddress": "<IP_ADDRESS>",
"resourceGroup": "generalized",
"zones": ""
}
Sooooo. It really shouldn’t have created the VM the first time, and it reported that the deployment failed – but it created a VM (and vNet, IP address etc). That is why it says “an update”. The VM is there and it thinks you are trying to update it with plan info.

Here are the content of the attached file:

#!/bin/bash
Set variable values before proceeding.
Variables
sourceResourceGroup=myresourcegroup
sourceSubscription=7891b050-2d44-4a2c-8b96-xxxxxxxx
vmName=planlinux
destinationResourceGroup=generalized
destinationSubscription=0f401833-78ff-4ebe-a797-xxxxxxxx
Set your current subscription for the source virtual machine
az account set --subscription $sourceSubscription
Load variables about your virtual machine
osType = windows or linux
osType=$(az vm get-instance-view --resource-group $sourceResourceGroup
--name $vmName --query 'storageProfile.osDisk.osType' --output tsv)
offer = Your offer in Marketplace
offer=$(az vm get-instance-view --resource-group $sourceResourceGroup
--name $vmName --query 'storageProfile.imageReference.offer' --output tsv)
plan = Your plan in Marketplace
plan=$(az vm get-instance-view --resource-group $sourceResourceGroup
--name $vmName --query 'plan.name' --output tsv)
publisher = Your publisher in Marketplace
publisher=$(az vm get-instance-view --resource-group $sourceResourceGroup
--name $vmName --query 'plan.publisher' --output tsv)
Get the name of the OS disk
osDiskName=$(az vm show --resource-group $sourceResourceGroup --name $vmName
--query 'storageProfile.osDisk.name' --output tsv)
Verify the terms for your market virtual machine
az vm image terms show --offer $offer --plan $plan --publisher $publisher
--subscription $sourceSubscription
Deallocate the virtual machine
az vm deallocate --resource-group $sourceResourceGroup --name $vmName
Create a snapshot of the OS disk.
az snapshot create --resource-group $sourceResourceGroup --name MigrationSnapshot
--source "/subscriptions/$sourceSubscription/resourceGroups/$sourceResourceGroup/providers/Microsoft.Compute/disks/$osDiskName"
Move the snapshot to your destination resource group
az resource move --destination-group $destinationResourceGroup
--destination-subscription-id $destinationSubscription
--ids "/subscriptions/$sourceSubscription/resourceGroups/$sourceResourceGroup/providers/Microsoft.Compute/snapshots/MigrationSnapshot"
Set your subscription to the destination value
az account set --subscription $destinationSubscription
Accept the terms from the Marketplace
az vm image terms accept --offer $offer --plan $plan --publisher $publisher
--subscription $destinationSubscription
create disk from the snapshot
az disk create --resource-group $destinationResourceGroup --name DestinationDisk
--source "/subscriptions/$destinationSubscription/resourceGroups/$destinationResourceGroup/providers/Microsoft.Compute/snapshots/MigrationSnapshot"
--os-type $osType
create virtual machine from disk
az vm create --resource-group $destinationResourceGroup --name $vmName  --attach-os-disk "/subscriptions/$destinationSubscription/resourceGroups/$destinationResourceGroup/providers/Microsoft.Compute/disks/DestinationDisk" --os-type $osType --plan-product $offer --plan-publisher $publisher --plan-name $plan

CCing @cynthn  and @TimShererWithAquent

hi @qwordy could you pls help? thanks

I will open an investigation into this issue.

@dbradish-microsoft You created a VM and then created it again, so it is treated as update operation. Please delete the VM and run correct command at the first time.


What is the general aim of this repository?

This is a...

[ ] Feature Request
[ ] Bug Report
[x] Question

First of all: Congrats to this approach!
Please explain the general plan with this repository and the page https://www.ifc-tech.org.
Is this a testing environment or will it stay on the long run?
Which elements from http://www.buildingsmart-tech.org shall be migrated to https://www.ifc-tech.org?
How is this repo related to the official repo at https://github.com/buildingsmart?
Thanks!

Hi Klaus,
Thank you for your message and sorry about the delay in getting back to you.
BuildingSMART commissioned the development of this as a pilot project for a centralised community knowledgebase for Open technologies in the organisation.
The idea was that we would migrate all of the content from buildingsmart-tech website to this site and appoint a buildingsmart member as an administrator that would act as a gatekeeper for the content submitted by the community. This way, incremental improvements could be made and everybody could contribute as long as they had a github account.
After three months of development, the project has stopped and the site serves no purpose anymore other than an example for the next version to use as a base ( conceptually ).
This repo remains a great project base to continue building on but it will be classed as an "unofficial" solution to the demand for a centralised community knowledgebase unless buildingSMART renew their interest.
Hopefully there will be some progress soon!

Hi John, thanks for the clarification.


Alter - unknow file format messagebox

Describe the bug
no real error as everything seems to work, only this box
To Reproduce
Steps to reproduce the behavior:

Start project
Run project
one second Alert messagebox and then disapear

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):
OS: Linux
Godot Version 4.3
Tiled Version 1.8.0
Additional context
Add any other context about the problem here.

Sorry, I can't reproduce this alert no matter what I try.
Maybe it's something OS specific, I'm working on Windows, don't have Linux.
-> Can't help you here.

What about this now?


Status bar does not disappear on hover

What is your Scenario?
In live mode, I hover over the status bar.
What is the Current behavior?
The status bar does not disappear.
What is the Expected behavior?
The status bar should disappear.
What is your public website URL? (or attach your complete example)
See issue https://github.com/DevExpress/testcafe-studio/issues/4266.
What is your TestCafe test code?
See issue https://github.com/DevExpress/testcafe-studio/issues/4266.
Steps to Reproduce

Create a test as in DevExpress/testcafe-studio#4266.
Run it in live mode.
Hover over the status bar.

TestCafe version
1.20.0
Node.js version
18.5.0
Command-line arguments
testcafe chrome -L test.js
Browser name(s) and version(s)
<EMAIL_ADDRESS>Platform(s) and version(s)
Windows 10

I didn't manage to reproduce the issue by following your description. Please check the issue again.


Bump zipkin to 1.19.2

Currently used zipkin version is quite old. This bumps to the newest version provided by fabric8.
Concretely I run into this issue: https://github.com/openzipkin/zipkin/issues/1085. It should be fixed in the newer version.

@rafabene could you please review, test and eventually merge. There is a series of PRs to other services because zipkin-query has been renamed to zipkin. I also run into issue with:
# If your application uses an special SCC, uncomment the following line to adjust the SCC
adjust_scc: true

zipkin-openshift is failing with it (mysql database) I had to switch it back to false and change frontend's Dockerfile https://github.com/redhat-helloworld-msa/frontend/pull/11.
Note that this only fixes ansible and manual installation, if you could tell me how to do change the Option 1 I'm happy to proceed.
cc @jpkrohling @objectiser

Hi @pavolloffay.  How this PR relates to #24 ?

@rafabene

Hi @pavolloffay. How this PR relates to #24 ?

This does not relates to #24, however it relates to https://github.com/redhat-helloworld-msa/ola/pull/4. But anyway I think this is beneficial for the project because it updates quite old zipkin version to the new one.

@rafabene PR rebased. I saw your commit:
https://github.com/redhat-helloworld-msa/helloworld-msa/commit/45de444313173599d483f65e14363d1e41451707 however zipkin-starter-minimal/0.1.1 and zipkin-starter-minimal/0.0.8 uses the same zipkin version:

https://github.com/fabric8io/kubernetes-zipkin/blob/v0.1.1/pom.xml#L79
https://github.com/fabric8io/kubernetes-zipkin/blob/v0.0.8/pom.xml#L81

so this PR is still needed.

Ok. I should work on the update today.

Solved in this commit: https://github.com/redhat-helloworld-msa/helloworld-msa/commit/6a8110589c25eac8acd7223d2bf91995c0b72db8

@rafabene thanks!


Test a Mention tag

Deliver a Create of a Note with a tag with type Mention and href pointing to a user's actor id. Check that that user receives a notification of the Note. (This is not specified in AP itself.)

Is this a dup of #27?

Hah, yes! Thanks for the catch.


Not supported for ESP32-C6 and other introduced in V3+ Arduino framework

V3 arduino-esp32 Library introduces support of ESp32-C6 and other new SoC's.
Unfortunately, it looks like "openssl/ssl.h" is abandoned and the recommendation is to use esp_tls.h instead.

Im also having this issue, would love to know if you figured out a sucessful work around for this.

Im also having this issue, would love to know if you figured out a sucessful work around for this.

No, still waiting for for some solution or workaround to be shared :-(

Hello, have you changed for another like https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/protocols/esp_https_server.html ?
I think to do it since i need update some of my work to last library :(
Have you a fix or another https library ?
Thanks.


NXP INPUTMUX not configured on MIMXRT595-EVK for Flexcomm12

The test spi_loopback is configured to use Flexcomm16 (hs_spi1) on the mimxrt595_evk.  Trying to enable this test on Flexcomm12 exposed a bug related to the INPUTMUX peripheral, and this test fails on that Flexcomm.  INPUTMUX is a peripheral that connects signals from different peripherals in the SOC.  The INPUTMUX registers DMAC1_CHMUX_SEL15 and DMAC1_CHMUX_SEL14 must be configured to connect the Flexcomm12 DMA requests to the DMA peripheral.  There is a bug with the current drivers since they do not configure the INPUTMUX when needed.
The ideal solution is to introduce a new INPUTMUX driver, and configure this peripheral with devicetree settings.  @VitekST submitted  https://github.com/zephyrproject-rtos/zephyr/pull/77674 to add this driver.
To replicate the issue, the spi_loopback test is run on the mimxrt595_evk board, and the overlay below configures to use flexcomm12:
	 &hs_lspi1{
		status = "disabled";

	 };

	 &pinctrl{
		pinmux_flexcomm12_spi: pinmux_flexcomm12_spi {
			group0 {
				pinmux = <IOPCTL_MUX(157, 6)>,
						<FC12_TXD_SCL_MISO_PIO4_30>,
						<FC12_RXD_SDA_MOSI_PIO4_31>,
						<FC12_CTS_SDA_SSELN0_PIO5_0>;
				input-enable;
				slew-rate = "normal";
				drive-strength = "normal";
			};
		};
	};

	arduino_spi: &flexcomm12 {
		compatible = "nxp,lpc-spi";
		/delete-property/ current-speed;
		pinctrl-0 = <&pinmux_flexcomm12_spi>;
		pinctrl-names = "default";
		#address-cells = <1>;
		#size-cells = <0>;
		dmas = <&dma0 34>, <&dma0 35>;
		dma-names = "rx", "tx";
		status = "okay";
	};

	&arduino_spi {
		slow@0 {
			compatible = "test-spi-loopback-slow";
			reg = <0>;
			spi-max-frequency = <500000>;
		};
		fast@0 {
			compatible = "test-spi-loopback-fast";
			reg = <0>;
			spi-max-frequency = <16000000>;
		};
	};

The pins below are used for this SPI from the Auduino header.   To run the test, short the MOSI and MISO signals at J27 p1 and p2.  With the FC12 changes above, this test fails.  It will pass if DMA is disabled, which skips the SPI ASYNC mode test.
	FC12_SCK_PIO4_29                  FXIO_D9   J28-p2
	FC12_TXD_SCL_MISO_PIO4_30         FXIO_10   J27-p2
	FC12_RXD_SDA_MOSI_PIO4_31         FXIO_11   J27-p1
	FC12_CTS_SDA_SSELN0_PIO5_0        FXIO_12   J28-p3

A workaround to resolve this issue is to configure the INPUTMUX in the application, before using the SPI driver.  This code snippet configures the INPUTMUX to connect the FC12 DMA request signals to the DMA:
#ifdef CONFIG_SPI_MCUX_FLEXCOMM_DMA
	#include "fsl_inputmux.h"

	/* By default, DMAC channel is not enabled for Flexcomm12 */
	INPUTMUX_Init(INPUTMUX);
	INPUTMUX_EnableSignal(INPUTMUX, kINPUTMUX_Flexcomm12RxToDmac0Ch34RequestEna, true);
	INPUTMUX_EnableSignal(INPUTMUX, kINPUTMUX_Flexcomm12TxToDmac0Ch35RequestEna, true);
	INPUTMUX_Deinit(INPUTMUX);
#endif

@DerekSnell After discussions with @decsny and @dleach02, I decided to abandon the nxp,inputmux driver, as the way it handles configuration in the DT, I have to admit, is far from ideal. The interrupt muxing config can be done statically (although I am against that in the long term), but I don't have an immediately available solution for configuring other signals, such as the DMA trigger signals, which this issue discusses.
Declan suggested to use this binding for describing some of the INPUTMUX registers: https://www.kernel.org/doc/Documentation/devicetree/bindings/mux/reg-mux.txt The description, IMO, could be acted upon by the nxp,lpc-dma driver depending on the configuration supplied by the application with dma_mcux_lpc_configure.

I am actually still a bit skeptical about the linux muxing system and DT description being used for zephyr and use cases like input mux, it would take some time to evaluate if there is value to doing that and how would be the best way if so. It could allow for there to at least be a generic zephyr API for muxing required mux resources for situations like this issue
In the meantime I think a reasonable way to address this issue is to introduce a board kconfig


Add new address - Terms of Agreement & Privacy Policy

This story adds the hyperlinked terms of agreement and privacy policy of the following story. Please work with Jasmin for the copy for these documents.
After I enter my building's address, I see a popup that says "Sign your name to show your support." I can sign with Google or Facebook, or there are fields First Name, Last Name, Email Address, Add a Comment. There are two checkboxes that are checked by default: "Keep me updated on the status of this recycling request" and "Publicly display my name on this page". There is also a statement "By signing you accept the Terms of Agreement and Privacy Policy". And a button that says "Sign to show your support"

@JasminBarco could you include a link the 'Terms' and 'pricvacy'  documents. Thanks you!


performance vs GMP? negative number support?

are there any links to performance comparisons against GMP?
is there any planned work to support negative integers?
links
see also https://github.com/ilia3101/Big-Integer-C/issues/1

Hi again @timotheecour
I will close this issue now, after seeing your thumbs-up emoji :+1: Feel free to reopen if you feel for it :)

Hi again @timotheecour
I will close this issue now, after seeing your thumbs-up emoji :+1: Feel free to reopen if you feel for it :)


API V1 types: Account-related types logging improving.

#315
Overview

[x] I have improved logging for Account-related types.

Comments

Examples.
Account:
Account
  wallet id: J7rQqaLLHBFPrgJXwpktaMB1B1kQBXAyc2uRSfRPzNVGiv6TdxBzkPNBUWysZZZdhFG9gRy3sQFfX5wfpLbi4XTFGFxTg
  account ix:<PHONE_NUMBER>
  name: My account
  amount:<PHONE_NUMBER>5538375 coin(s)
  addresses:
  - CawzSa5gGrus3k45aV2jtQduhCV28mCmJT9xrzXPuoXqbrLDUibbNU4qDXHXC9c8BTFGMpV5GY3C3BJqgB1ziNV984mCK2xGfaqjSFFpQfbAJCTwYkKjWqQkAELUhHsDGiWfQJ4Fi5LPvim4WmaBFebGwSVxdNo26oFG6jsX9ou2RSDa9PkbvzRHSVc
CnBcgVKQfw4qt9dHJqLRNUQKAPiWqvmPWCeqdsj93hmjtLo1AnievFsrQmiW6uHZHdEDugt4EHxsoenn7bM5DLgzPUcsarYbrkdmR8HXeUWoD2yDD3emfzg9KB9L97ziigAs8SwtDb1Vv3kgKYZyCkJUJscmHECpMm1SkBN1nUHEb3WziCBMbMaw6SZKQNp
jUzE3J7hy6tzTLbGT3ZGttAJwyoag8vEh8EyjcQp3xCPr58HyJ6hZVxsGEFjD9DpdporZxWkS27Rnr78EekB9En6UXtDLFVrakQZSS2HUXAjj6YJwAY9YxX4FLodBXUP8TtpxoarmnouPrSaeYXCvbvPakAJ47HfQ2r5iGzPpqkMNXkApJMg2ubXsbaJMat
jKy713NdMeKqwj3YJG9BArnHwDEsxW2YRtSL25CXg1ahXoMKVsZNL7F441nMdJuuaUrwrKjwgps1HkEeQQ3aG6f4uUbzbEWJdZD7fjgbPtT3KVGTtFfNYFbmcdDJqCQqNbPTLXP9JZrZkioRXpJGQ6cpp2JqiohQztg64P92szmJxgdW8GCkSifB4e4WEPm
GzJi3, is it used: True
  - EqGAuA8vHnP6WYqo2yyyP3C125KDeRKePvaNYQvAnNeEbjR4e9z4omhyqowJ3KcfT4ePojYnFm1dgJjhSiG8qsbwaCdrhUy9i9CG2HjrtyHAMazyrn2QPgk, is it used: False
  - MWPZVzgZ6dAAcCDmXJ9WYYS6i4RZAWR9uZQq66RkV9QLwzH2dJYevSrkWiUKDzvBpcGPmYxnrqkxwteRCywHZQGp5FzEFnBsgpRyazzHBDHWwAmF9dDuPxeqUEK, is it used: True

NewAccount:
New account, name: New Awesome Account

AccountUpdate:
Account update, new name: myAccount

@denisshevchenko two suggestions:

Truncate wallet id and addresses for two reasons: we are mostly not interested in the whole address for debugging, but only a few bits that allow us to identify addresses across logs. There's a "buildTruncate" available in the util I initially pushed exactly for that. We can get rid of the lot of the verbosity coming from showing the whole address and ids, and still make it fairly useful. At the scale of a wallet, there's likely no conflict across the first and last 6/8 characters, so that's enough to only display them. Plus, we keep a bit of privacy this way :)

Move the "is Used" in the front, so that, we don't have to go to the end of the address to get this information. Rule of thumb: put short info first, long stuff at the end.

@KtorZ Fixed:
Account
  wallet id: J7rQqaLL...XTFGFxTg
  account ix:<PHONE_NUMBER>
  name: My account
  amount:<PHONE_NUMBER>1379030 coin(s)
  addresses:
  - is it used: False, address: CTq1H3qg...Y9okjnD9
  - is it used: False, address: KjgoiXJS...odxR3cdi
  - is it used: False, address: dA2W35xz...JvDgDTbA
  - is it used: True, address: 2657WMsD...PcCStT2P
  - is it used: True, address: 6ZpAokhB...zPxoa4dZ
  - is it used: False, address: XBWXRVet...QGkSuivT
  - is it used: False, address: 2LVFzKRz...zxEfRTVN
  - is it used: True, address: 5oP9ib6y...ByPY1Fqn
  - is it used: True, address: T2aD4gC6...983SSqBE
  - is it used: False, address: 5aZzL25E...teSzjwfK

Nicer! What about pushing the readability even further an change "is it used: False" and "is it used: True" simply by: "Used" and "Not used" ?

Same for the address: ... if feels superfluous, we know it's a list of address :)

An example of output:
Account (My Account)
  parent id: J7rQqaLL...XTFGFxTg
  index:<PHONE_NUMBER>
  balance:<PHONE_NUMBER>1379030 coin(s)
  addresses:
  - used   | CTq1H3qg...Y9okjnD9
  - unused | KjgoiXJS...odxR3cdi
  - unused | dA2W35xz...JvDgDTbA
  - used   | 2657WMsD...PcCStT2P
  - unused | 6ZpAokhB...zPxoa4dZ

Currently it is:
Account (My account)
  wallet id: J7rQqaLL...XTFGFxTg
  account ix:<PHONE_NUMBER>
  amount:<PHONE_NUMBER>7204256 coin(s)
  addresses:
  - used   | address: Ae2tdPwU...QoTdaz6a
  - used   | address: C1sTyDJ7...4qg6Hnzx
  - unused | address: eUfQGwsU...ajTZhWM6
  - unused | address: 9FawhUyn...oTeCtY2s
  - used   | address: 5oP9ib6y...PuFoheAg
  - unused | address: YQdiVKZw...2xDMb8JT
  - used   | address: 5FCjkr13...FY24fyk4
  - unused | address: PMgsqXWQ...QZQS6iHN
  - used   | address: 2GvQDkrS...DfhDCBVk
  - unused | address: DTNco2h6...HU3gT6tm
  - used   | address: 87iPzcvC...FzqFbg7j
  - unused | address: 8niigVuN...ZyPxvum9
  - unused | address: Jk8t6syw...Vndamng4
  - used   | address: 6xgBa41r...2zUkhzxy


FeaturesViewModel is released immediately?

my code.
@IBAction func initSDK(_ sender: Any) {
    let hostURL = "url_here"
    sdkInstance = GrowthBookBuilder(hostURL: hostURL,
                                    attributes: ["platform" : "iOS",
                                                 "country":"mafegy"],
                                    trackingCallback: { experiment, experimentResult in
    }).initializer()
  }

Growthbook code
    /// Manually Refresh Cache
    @objc public func refreshCache() {
        let featureVM = FeaturesViewModel(delegate: self, dataSource: FeaturesDataSource(dispatcher: networkDispatcher))
        featureVM.fetchFeatures(apiUrl: gbContext.hostURL)
    }

Here - FeaturesViewModel gets deinit
        dataSource.fetchFeatures(apiUrl: apiUrl) { [weak self] result in
// here weak self is nil as deinit is being called weak self
Can you look into it? If I make let featureVM = FeaturesViewModel( global or remove weak self, it works fine. as scope ends for FeaturesViewModel.

Related https://github.com/growthbook/growthbook-swift/pull/15
@vazarkevych can someone take a look at this?
We have same problem

@chatarveer thank you for creating the issue. I see you also created the MR to fix it.
We've just merged your MR, thank you for that catch!
The new release version will be available soon.


build: add tslint rule to verify rollup globals config

Adds a custom tslint rule that ensures that we've added all of the necessary external modules to the Rollup config. This is helpful, because forgetting to add a module will log a warning, but it won't break the build necessarily, which is why we occasionally need PRs like #5930.

Please rebase

Rebased @andrewseguin.

Got some lint errors coming up in this PR


installer: download to file, resume download

Ensures that download is complete before the file is attempted to unpack.
Fixes https://github.com/balena-os/balena-engine/issues/199

I don't really want to download to /var/tmp on all platforms...
but I also can't reproduce this error (tried alpine and ubuntu)

updated to use the same target path.
as for reproducer, you need your download to be interrupted obviously.

Obviously, I didn't add 517 commits to this branch, somebody force-pushed over my changes.
I t think my original commits where (can be cherry-picked):

507dc4f19c9f40ef38fa74bf1428de6cd2fad12d
74a042fdade88b34a4632c56f6301f7d050697b5

And mu change wasn't to change /var/tmp to download path, but rather to same directory as target: /usr/local/bin

@glensc if you are still interested in contributing, could you please rebase on master and add only the changes, so that they can be reviewed. cc @lmbarros

@ab77 no I'm not interested. but you may be interested as they are good changes?


Question: Pagination

I'm using the RickAndMorty API alongside Request just fine here. The API is limited to 20 items per request. The data includes the page count, next url and previous url. I attempted to use RequestChain but I can't seem to figure out the correct way to handle the Data type. The end goal is to load all characters from the API using Request in a simple List. I've only used RequestView and  AnyRequest and not sure if I can do what I'm trying using AnyRequest or even RequestChain/RequestGroup, been stuck on this for days now.
data struct
struct RickAndMorty: Codable {
    let info: Info
    let results: [Result]
}

struct Info: Codable {
    let pages: Int /// number of pages 34
    let next: String? /// next url string
    let prev: String? /// previous url string
}

Failed chain request
RequestChain {
    Request.chained { (data, err) in
        Url("https://rickandmortyapi.com/api/character/")
        Method(.get)
    }
    Request.chained { (data, err) in
       let json = try? Json(data[0]!)
       return Url(json!["info"]["next"].string)
    }
}
.call { (data, errors) in
    let json = try? Json(data[0]!)
    print(json!)
}

Since you're using SwiftUI, you may want to try storing the paged results in an Array, then querying the next page when you reach the end. This should give you an infinite-scroll style. Let me know if that works for you.
struct ContentView : View {
    @State private var responses: [(page: Int, element: RickAndMorty)] = []

    var body: some View {
        NavigationView {
            List {
                // Loop over each page of results
                ForEach(responses, id: \.page) { response in
                    // Loop over each character. Enumerate the characters so we can identify the last one.
                    ForEach(Array(response.element.results.enumerated()), id: \.element.id) { character in
                        Text(character.element.name)
                            .onAppear {
                                // When the last item appears, load the next results.
                                guard character.offset == response.element.results.count - 1,
                                      let next = response.element.info.next,
                                      let pageString = next.components(separatedBy: "?page=").last,
                                      let nextPage = Int(pageString)
                                else { return }
                                loadPage(nextPage)
                            }
                    }
                }
            }
            .navigationTitle("Characters")
        }
        .onAppear{ loadPage(1) }
    }

    func loadPage(_ page: Int) {
        // Don't re-fetch any data.
        guard !responses.contains(where: { $0.page == page }) else { return }
        // Get the next page of characters
        AnyRequest<RickAndMorty> {
            Url("https://rickandmortyapi.com/api/character")
            Query(page == 1 ? [:] : ["page": "\(page)"])
        }
        .onObject { response in
            DispatchQueue.main.async {
                // Add the results in the correct spot if they came in late for some reason.
                responses.insert((page, response), at: page - 1)
            }
        }
        .onError {
            print("Failed with: \($0.localizedDescription)")
        }
        .call()
    }
}```

Getting Task <192B2F72-4623-44D4-8485-D206EF287E44>.<1> finished with error [-1007] Error Domain=NSURLErrorDomain Code=-1007 "too many HTTP redirects" UserInfo={NSLocalizedDescription=too many HTTP redirects, NSErrorFailingURLStringKey=https://rickandmortyapi.com/api/character, NSErrorFailingURLKey=https://rickandmortyapi.com/api/character, _NSURLErrorRelatedURLSessionTaskErrorKey=(     "LocalDataTask <192B2F72-4623-44D4-8485-D206EF287E44>.<1>" ), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <192B2F72-4623-44D4-8485-D206EF287E44>.<1>, NSUnderlyingError=0x6000034d7ae0 {Error Domain=kCFErrorDomainCFNetwork Code=-1007 "(null)"}} Failed with: too many HTTP redirects

I actually think that's an issue with their API. I would often get the same error in Safari and Postman

Thank you for helping though, much appreciated.

Adding UserAgent fixed the too many HTTP redirects. But no other data is loaded when it reaches the last indexed value
Method(.get)
Header.UserAgent(.firefoxMac)

Is it not running loadPage at all, or is it throwing an error?

It’s not calling loadPage. It seems the character offset never reaches response count -1

Finally working, thank you for the help! Closing 😁


feat: host interactive presentations via Binder

See interactive presentation analytic continuation
Created with:

https://github.com/binder-examples/appmode
https://github.com/binder-examples/jupyter-rise
https://mybinder.readthedocs.io/en/latest/examples/sample_repos.html#creating-interactive-presentations-on-binder-with-rise
http://rise.rtfd.io

Linkcheck fails with reason: demo folder does not yet exist in the main branch, but will after this PR.


publish sources/javadoc jars for c-thrift and c-all

Publishing sources and javadoc are required when publishing jars to maven central. So this is a pre-req of #257

Is the artifacts failure a flake or a real falure?


In Google Chrome (73.0.3683.75, 64-Bit): Picker closes immediately after showing

Hello!
In Google Chrome (73.0.3683.75, 64-Bit):
The DateTimePicker closes immediately after showing.
You can try the demo 'Basic Usage of DateTimePicker with '.
Who can confirm this?
Kind regards,
Gerald

_addEventHandlersForPicker
just commented this code
// $(document).on("click.DateTimePicker", function(e)
// {
//   console.log('_addEventHandlersForPicker');
// 	oDTP._hidePicker("");
// });

for quick fix i just tried this
inside _addEventHandlersForPicker function
just commented this code
// $(document).on("click.DateTimePicker", function(e)
// {
// console.log('_addEventHandlersForPicker');
// oDTP._hidePicker("");
// });

thank you!

showing error in browser console for me
DateTimePicker.min.js:64 Uncaught ReferenceError: oDTP is not defined
at HTMLDocument. (DateTimePicker.min.js:64)
at HTMLDocument.dispatch (jquery-1.12.4.js:5226)
at HTMLDocument.elemData.handle (jquery-1.12.4.js:4878)
Thanks

In which example you are encountering this issue? Please mention file name.

for quick fix i just tried this
inside _addEventHandlersForPicker function
just commented this code
// $(document).on("click.DateTimePicker", function(e)
// {
// console.log('_addEventHandlersForPicker');
// oDTP._hidePicker("");
// });

work for me

Fix by @shareefhiasat is working for me. Please check by using latest library javascript files.

@nehakadam Can you publish a new version that includes the fix?

@nehakadam Thank you, 0.1.39 fixed it for me.

Still same issue here with Version 73.0.3683.103 (Official Build) (64-bit), tested with 0.1.38 and 0.1.39. I also tried the temporary fix above with no luck.

Okay, my issue was specifically related to the fact that the DateTimePicker modal dialog DIV element was within another jQuery modal dialog's DIV element. I moved it outside and this problem went away. There is still a conflict that I think should be corrected - but I was also unable to track it down in a short time, and element outside of the other resolved the issue.


Emotion Recognition based on nlp

Given a dataset of text samples (e.g., social media posts, product reviews, or dialogues), build an NLP model that identifies and labels the dominant emotion conveyed in each text. The system will be able to handle diverse language patterns, slang, and nuanced expressions to ensure robust emotion classification across various contexts.
Key challenge to deal with ambiguous language, context-specific emotions, and understanding subtle emotional shifts within the text.
@Niketkumardheeryan kindly assign me this issue under Hacktoberfest and GSSoC-Ext

Vocabulary Quiz Error: The user enters "v" instead of their answer for "mathematician." This is likely a typo or the user using a shortcut key to register their answer (which isn't ideal).
Possible Improvement: The quiz code could be modified to accept multiple forms of user input, including "v" for "wrong" or allowing the user to type their full answer.

Multiple Errors in the Quiz: The quiz seems to register all subsequent answers ("s") as incorrect. This could be an issue with the quiz logic or the user not providing complete answers.

The pronunciation evaluation uses a pre-defined sentence ("I love learning languages") and simply checks for a complete match. This is a basic approach and wouldn't catch specific pronunciation errors within the sentence.


Address sass division deprecation warnings when used in Dart Sass

Fix DEPRECATION WARNING when using with Dart Sass #131

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


react-datetime timeConstraints for timePicker don't seem to work

I might be missing something here. react-datetime has a lot of functionality. Out of the box the time picker allows you to choose HH MM AM/PM with a picker. I want to get rid of AM/PM, make the hours 0-23, and I want to be able to choose seconds 0-59. I tried the following.
<Datetime input= { false }     timeConstraints={{ hours: { min: 0, max: 23 },                           minutes: {min:0, max:59},                           seconds: {min:0, max:59} }}     onChange={dateHandler}     value={new Date(this.props.state.date)}/>
The choices for picking are still HH MM AM/PM, which is not what I am expecting. I am expecting a picker that allows me to scroll and choose 0-23 (hours), 0-59 (minutes), 0-59 (seconds). I don't want the AM/PM to be there because I want to pick from 0-23 for hours.
Are there other attributes that I need to add to make this work? Or is this broke? Any ideas would be appreciated.
Thanks -Andrew

The solution to my problem was answered on Stack Overflow.
https://stackoverflow.com/questions/56997822/react-datetime-timeconstraints-for-timepicker-dont-seem-to-work/57018174#57018174
It has a link to a code pen Demo.
<Datetime         input={false}         timeFormat="HH:mm:ss"         timeConstraints={{           hours: { min: 0, max: 23 },           minutes: { min: 0, max: 59 },           seconds: { min: 0, max: 59 }         }} />


Add support for Symfony 4

From Symfony 4, HHVM support has been dropped. Because of the dependency, should also be dropped for this package.


Bail if we fail to cleanup failed instance

If we fail to cleanup failed instance, we return before retrying to recreate it.
Fixes: #76
Signed-off-by: Gabriel Adrian Samfira<EMAIL_ADDRESS>

.. what also could be a related problem is that the whole 'create new runners' and 'delete old runners' process takes longer than the time ticker. This could cause work to pile up.. but I haven't check to code if this is a problem or not.

.. what also could be a related problem is that the whole 'create new runners' and 'delete old runners' process takes longer than the time ticker. This could cause work to pile up.. but I haven't check to code if this is a problem or not.

In theory, it should be fine. When we create a new instance we transition from pending_create to creating. The create loop will ignore anything that is not in pending_create. Same thing for deleting. We transition from pending_delete to deleting.


Github Actions CI: Save/restore yarn & webpack-hard-source caches.

Codecov Report

Merging #1525 into master will decrease coverage by 0.25%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1525      +/-   ##
==========================================
- Coverage   60.52%   60.27%   -0.26%
==========================================
  Files         277      264      -13
  Lines       24387    24100     -287
  Branches     5500     5446      -54
==========================================
- Hits        14761    14526     -235
+ Misses       9626     9574      -52

Impacted Files
Coverage Δ

@here/harp-mapview/lib/CameraMovementDetector.ts
61.97% <0.00%> (-28.17%)
:arrow_down:

@here/harp-mapview/lib/MapView.ts
64.43% <0.00%> (-1.40%)
:arrow_down:

...here/harp-mapview/lib/text/TextElementsRenderer.ts
69.24% <0.00%> (-0.50%)
:arrow_down:

@here/harp-geometry/lib/ClipPolygon.ts
96.96% <0.00%> (-0.47%)
:arrow_down:

@here/harp-mapview/lib/VisibleTileSet.ts
76.32% <0.00%> (-0.26%)
:arrow_down:

@here/harp-utils/lib/Mixins.ts
76.92% <0.00%> (ø)

@here/harp-test-utils/lib/WebGLStub.ts
100.00% <0.00%> (ø)

@here/harp-utils/lib/SampleBilinear.ts
100.00% <0.00%> (ø)

@here/harp-materials/lib/CopyMaterial.ts
100.00% <0.00%> (ø)

@here/harp-materials/lib/MSAAMaterial.ts
100.00% <0.00%> (ø)

... and 33 more

Continue to review full report at Codecov.

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


Cannot login

code-server version:
OS Version:

Description

Steps to Reproduce

I created my account via phone number and Github authentication but when I try to log in it redirects me to signup page again. I am using this first time and already facing this kind of issues. Could anyone help me why it is happening?

Hey @Mohammad-Quanit This repo is for the self-hosted version of code-server rather than coder.com. Go ahead and shoot us an email at<EMAIL_ADDRESS>and we can help you out.


Polyfill promises

What, why and how?
Since this library relies on Promise, we must ensure it's available. This is probably the best option. The dashboard is using it like this. Let me know if I can be of any assistance.

CC @pusher/sigsdk

Closing as I don't think we need to do this. Might still be worth adding something to the README but we'll see.

@zmarkan & @hamchapman I think we don't need to and shouldn't include a Promise polyfill, but we should make it very clear that one is required in order to support IE11 and other older browsers. Generally "modern" apps make use of Promises and most apps should already include a polyfill if legacy browser support is important.


Build all notebooks via Binderbot

This PR changes the build_book.yaml workflow to use binderbot to execute all notebooks in the repo.
This is a key part of the solution to https://github.com/ProjectPythiaCookbooks/cookbook-template/issues/89. We abstract away almost all the implementation to this centralized repo.
The execution occurs on the Binder specified in the cookbooks's _config.yml. This is by design the same Binder that the Cookbook's "launch" buttons link to.
Currently, we just execute every *.ipynb file in the repo. It would be better to cross-reference against the _toc.yml file to avoid executing notebooks that are in the repo but not included in the book (a waste of compute, and the result will never be visible anyway).
A question I will bring up at the IWG: should executing via a Binder be required, or optional (i.e. should there be a switch in each Cookbook repo)?

This is read to go I think.
I will merge now and test. It should be fully backwards compatible so won't break any existing cookbooks. We'll see.


Create H1Missing.md

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Tutorial is an unrecognized type, please add it to 'type_mapping' section in .openpublishing.publish.config.json.
Line 38: [Error] call W:\3n4t-s.optemp\packages\opbuild.manifestprocessor.1.52.0-alpha-1369-g282cfb6\tools\Microsoft.OpenPublishing.Build.Applications.ManifestProcessor.exe to rewrite .manifest.json failed
Line 55: [Error] Call W:\3n4t-s.optemp\packages\opbuild.scripts.1.52.0-alpha-1369-g282cfb6\tools\opbuild\manifest.processor.ps1 failed.
[Warning] Cannot find docset information for repository: f097c955-34e8-37a4-7384-716248eab8ad and docset name: e2eprod-azure-cli-docs. Please make sure the docset is correctly provisioned
[Warning] Multiple input files are attempting to write to the same output file "TOC.json". Please rename at least 1 of following input files to ensure no duplicate output files: "TOC.md, TOC.yml".
[Warning] Multiple input files are attempting to write to the same output file "TOC.mta.json". Please rename at least 1 of following input files to ensure no duplicate output files: "TOC.md, TOC.yml".

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add description for index page

Adds a preliminary description for the MetaMask JSON-RPC API index page.

One idea to improve the top-level description was to add in the descriptions / definitions for the API tags such as: MetaMask, Mobile, Ethereum API, etc.


Guard against billing surprises - DatabaseMigrations sample

The DatabaseMigrations sample is working great for me in local development. However, by default, it's included when I azd up. The MigrationService seems to get deployed as an Azure Container App 'App' type rather than 'Job' type (docs), so Container Apps continually reboots it even if the migration completes successfully.
I discovered this when I looked at my Azure SQL Database free offer quota. Stopping the MigrationService container in Azure Portal caused the inflection in this chart of a db for an app still under development (no usage expected other than when I'm working on it).

Does Aspire have tooling to provision a 'Job' type yet?
If not, maybe we update this sample to prevent surprises? Something like the below here?
if (builder.ExecutionContext.IsRunMode) {
    builder.AddProject<Projects.DatabaseMigrations_MigrationService>("migration")
           .WithReference(db1);
}

I think the point of the sample is to have the migration app deployed though, so that it can be responsible for running migrations in the published environment too. Adding @JamesNK and @AndriySvyryd who worked on that sample.

The intent of the app is it starts, runs any data migration, then shuts down to release resources. This is how it works in local development. That seems like the best behavior to have in ACA (or k8s)
ACA restarts the container when the app exits? Can a job be a container?
Perhaps Aspire need metadata to say that an app is job or shouldn't attempt to restart. That would then flow through to deployment.

Right, on deploy to Azure, having it run once and exit until the next artifact change sounds good to me.
The issue is by default it was deploying as an "App" type which auto-restarts if it exits. If we can somehow flip it to "Job" type, I think that might be a better fit. See these docs.

FYI @davidfowl @ellismg @mitchdenny as this relates to tweaking ACA properties for project resources.

For the samples specifically I think there is a tension between optimizing for education (pulling some code into its own project) and optimizing for cost efficiency (running this code as a background service in a component you are already deploying anyway).
Supporting container jobs in ACA is definitely something we want to do.

I had the same issue with the restart of the initialization services and disabled this service after it was running.
With Azure Container Apps, init containers would be a great match for initialization scenarios such as creating the database:
Add support for Azure Container Apps "init containers"


[Proposal] Add a "riverpod_utilities" package to the environment

Is your feature request related to a problem? Please describe.
There's a fair amount of times we're asked to implement and / or show reusable Riverpod features. These include:

Caching strategies (e.g. cacheFor, disposeDelay, aliveUntilDelistened)
Callbacks with Ref, e.g. ref.run
Infinite scrollview mixins
Any other mixin we could imagine
etc.

Instead of just offering snippets or some well documented solutions / cookbooks, why not expose some well tested methods and / or getters?
Describe the solution you'd like
Putting these solutions "out of the box" within Riverpod would clutter the namespace.
I propose to create a separate package, e.g. riverpod_collection, which collects all sorts of utilities from this ecosystem. That would be great. I like the fact that these utilities are well tested and widely adopted.
Besides offering some out-of-the-box solutions, this approach would publicly disclose the best practices everyone is currently craving for in the documentation.
*Cons

#2576, until approved, prevents implementing mixins "reliably" or rather "easily"
Evaluate what's actually needed by the community. These utilities might not be requested, but they come in handy to solve real problems out there. Maybe raise a separate RFC system?
These utilities need their own (small) in-line documentation, testing, maintenance
This package should be kept in-sync with riverpod

Additional context
I've been thinking about this for a while, but I see an increasing demand of these utilities, both in Discord and internally.

I'm very skeptical about this.
Making such an official package effectively means I would have to maintain all these small utilities. The whole point about those various utilities is that they are a workaround until a proper official solution is made.
I see little value in having this be an official package. If someone from the community wants to make their own, that's fine. But as an official package, it'd be equivalent to working on soon-to-be-deprecated features, while delaying the actually useful features.

soon-to-be-deprecated features

I have no clue of what Riverpod's going to be. I rest my hands and faith into you.

they are a workaround until a proper official solution is made

A small note. I never knew these were "workarounds". I thought they were meant to be like that, as if stuff like ref.keepAlive was made to explore different possibilities.
I'll go ahead and close this for now. If anything, I've discovered that most of the utilities I re-write for my projects aren't meant to be, they're workarounds (while waiting for something bigger I guess?). Thanks again for the quick reply.

Well the utilities you cited are mostly workarounds, yes.
Most of these have associated feature requests to have them be official in some shape or form.
It's just that the associated issues are usually fairly technical, with an available workaround. So there are more important issues to work on generally.
But yes, I do want to implement things like cacheTime/staleTime officially.


Support reading from another module

Signed-off-by: Shlomit Koyfman<EMAIL_ADDRESS>Fixes https://github.com/fybrik/fybrik/issues/1341
This PR fixes module selection in case of "in-memory" source of a module.
It changes the way plotters are generated by adding an extra step to the read sub-flow.

Signed-off-by: Shlomit Koyfman<EMAIL_ADDRESS>Fixes #1341
This PR fixes module selection in case of "in-memory" source of a module. It changes the way plotters are generated by adding an extra step to the read sub-flow.

Will this work for a write flow as well?

Signed-off-by: Shlomit Koyfman<EMAIL_ADDRESS>Fixes #1341
This PR fixes module selection in case of "in-memory" source of a module. It changes the way plotters are generated by adding an extra step to the read sub-flow.

Will this work for a write flow as well?

Yes, for example: transform in memory that applies write. Need to add a test, though.


Add image ID to custom createOpts

Syseleven/machine-controller has diverged from default serverOpts.
Upstream the image id will only be set when not booted from volume
because it could fail otherwise.
This commit will only fix the immediate issue where no machines can be
created. It could still be that booting from volumes doesn't work for
some cloudproviders.
I would suggest to try and be closer to upstream so this doesn't happen
that easy.

Thanks for the quick fix.


Topology Hints Annotation is deprecated in v1.27 and will be removed

Describe the bug

Ref: https://github.com/kubernetes/kubernetes/pull/116522
The service.kubernetes.io/topology-aware-hints annotation has been deprecated in K8s v1.27 in favor of service.kubernetes.io/topology-mode. AntreaProxy consumes the annotation to support topology aware routing. It should consume both annotations to be compatible.

Since this one is targeted v1.13, I can make a change for it if no one else is working on it.


backend/coin balance: refactor total coin balance calculation

The backend now returns a slice of coin balances including coin names and correct sorting, removing the need to fetch account data on the frontend.

@NicolaLS thanks for the review, I made the suggested changes.

tested (webdev & AppImage) LGTM.

there is some overlap with https://github.com/BitBoxSwiss/bitbox-wallet-app/pull/2733 in which the duplicate getAccountsPerCoin function is moved to utils. This PR removes 1 of the 2 getAccountsPerCoin functions. The other one is in SummaryBalance.


Remove ddsrouter_event from windows CI

Signed-off-by: jparisu<EMAIL_ADDRESS>

Codecov Report

Merging #48 (b942da1) into main (c104fd4) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main     #48   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          1       1
  Lines          1       1
=====================================
  Misses         1       1

Continue to review full report at Codecov.

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


Coverage remained the same at 98.293% when pulling 5bbe66431e1ae4aad000496ea5884108de690cc5 on clessg:patch-1 into 1317b7bc551072c8ccdcbbb8df034db03feafaab on mxstbr:master.

This is a lot nicer, thanks @clessg!

I'm still seeing this happen when a test fails due to a dodgy import.

It probably involves changing this part and adding the following line:
stats: 'errors-only',
I don't currently have the time to test this. (No pun intended?)

@clessg That did it, cheers.

Great. I'll make a PR later.