make: *** [Util/BuildTools/Linux.mk:142: setup] Error 1 - ubuntu 20.04

hello
while trying to install carla in ubuntu 20.04 the following error is obtained.
anyone have experience with it.
.....................

/versions.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/hardware/simd/x86
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/hardware/simd/x86/versions.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/hardware/simd/x86.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/hardware/simd/arm.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/hardware/simd/x86_amd.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/metaware.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/diab.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/comeau.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/sgi_mipspro.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/ekopath.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/palm.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/hp_acc.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/iar.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/dignus.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/gcc_xml.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/visualc.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/sunpro.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/metrowerks.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/borland.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/kai.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/compaq.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/ibm.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/clang.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/edg.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/pgi.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/watcom.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/greenhills.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/intel.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/tendra.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/microtec.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/mpw.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/digitalmars.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/gcc.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/predef/compiler/llvm.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/version.hpp
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/sbuffer.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/fbuffer.hpp
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/fbuffer_decl.hpp
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/pack_template.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/zone_decl.hpp
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/zbuffer.hpp
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/util.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/meta.hpp
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/zone.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/sbuffer.hpp
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/vrefbuffer.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/sysdep.h
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/include/rpc/msgpack/object_decl.hpp
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/lib/cmake/rpclib/rpclibTargets.cmake
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/lib/cmake/rpclib/rpclibTargets-noconfig.cmake
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/lib/cmake/rpclib/rpclibConfig.cmake
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/lib/cmake/rpclib/rpclibConfigVersion.cmake
-- Installing: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libcxx-install/lib/pkgconfig/rpclib.pc
Setup.sh: Building rpclib with libstdc++.
-- The C compiler identification is Clang 10.0.1
-- The CXX compiler identification is Clang 10.0.1
-- Check for working C compiler: /home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang
-- Check for working C compiler: /home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang -- 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: /home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++
-- Check for working CXX compiler: /home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test UNUSED_LAMBDA_CAPTURE_WARN_SUPPORTED
-- Performing Test UNUSED_LAMBDA_CAPTURE_WARN_SUPPORTED - Success
-- Performing Test ZERO_AS_NULL_POINTER_CONSTANT_WARN_SUPPORTED
-- Performing Test ZERO_AS_NULL_POINTER_CONSTANT_WARN_SUPPORTED - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-libstdcxx-build
[1/14] Building CXX object CMakeFiles/rpc.dir/lib/rpc/this_session.cc.o
FAILED: CMakeFiles/rpc.dir/lib/rpc/this_session.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/lib/rpc/this_session.cc.o -MF CMakeFiles/rpc.dir/lib/rpc/this_session.cc.o.d -o CMakeFiles/rpc.dir/lib/rpc/this_session.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/this_session.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/this_session.cc:1:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include/rpc/this_session.h:6:10: fatal error: 'atomic' file not found
#include <atomic>
         ^~~~~~~~
1 warning and 1 error generated.
[2/14] Building CXX object CMakeFiles/rpc.dir/lib/rpc/this_server.cc.o
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
1 warning generated.
[3/14] Building CXX object CMakeFiles/rpc.dir/lib/rpc/nonstd/optional.cc.o
FAILED: CMakeFiles/rpc.dir/lib/rpc/nonstd/optional.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/lib/rpc/nonstd/optional.cc.o -MF CMakeFiles/rpc.dir/lib/rpc/nonstd/optional.cc.o.d -o CMakeFiles/rpc.dir/lib/rpc/nonstd/optional.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/nonstd/optional.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/nonstd/optional.cc:1:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include/rpc/nonstd/optional.hpp:21:10: fatal error: 'cassert' file not found
#include <cassert>
         ^~~~~~~~~
1 warning and 1 error generated.
[4/14] Building CXX object CMakeFiles/rpc.dir/lib/rpc/detail/client_error.cc.o
FAILED: CMakeFiles/rpc.dir/lib/rpc/detail/client_error.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/lib/rpc/detail/client_error.cc.o -MF CMakeFiles/rpc.dir/lib/rpc/detail/client_error.cc.o.d -o CMakeFiles/rpc.dir/lib/rpc/detail/client_error.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/detail/client_error.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/detail/client_error.cc:1:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include/format.h:39:10: fatal error: 'cassert' file not found
#include <cassert>
         ^~~~~~~~~
1 warning and 1 error generated.
[5/14] Building CXX object CMakeFiles/rpc.dir/dependencies/src/posix.cc.o
FAILED: CMakeFiles/rpc.dir/dependencies/src/posix.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/dependencies/src/posix.cc.o -MF CMakeFiles/rpc.dir/dependencies/src/posix.cc.o.d -o CMakeFiles/rpc.dir/dependencies/src/posix.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/src/posix.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/src/posix.cc:42:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include/posix.h:40:10: fatal error: 'cstddef' file not found
#include <cstddef>
         ^~~~~~~~~
1 warning and 1 error generated.
[6/14] Building CXX object CMakeFiles/rpc.dir/dependencies/src/format.cc.o
FAILED: CMakeFiles/rpc.dir/dependencies/src/format.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/dependencies/src/format.cc.o -MF CMakeFiles/rpc.dir/dependencies/src/format.cc.o.d -o CMakeFiles/rpc.dir/dependencies/src/format.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/src/format.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/src/format.cc:40:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include/format.h:39:10: fatal error: 'cassert' file not found
#include <cassert>
         ^~~~~~~~~
1 warning and 1 error generated.
[7/14] Building CXX object CMakeFiles/rpc.dir/lib/rpc/detail/response.cc.o
FAILED: CMakeFiles/rpc.dir/lib/rpc/detail/response.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/lib/rpc/detail/response.cc.o -MF CMakeFiles/rpc.dir/lib/rpc/detail/response.cc.o.d -o CMakeFiles/rpc.dir/lib/rpc/detail/response.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/detail/response.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/detail/response.cc:1:
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include/rpc/detail/response.h:7:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include/rpc/detail/make_unique.h:6:10: fatal error: 'memory' file not found
#include <memory>
         ^~~~~~~~
1 warning and 1 error generated.
[8/14] Building CXX object CMakeFiles/rpc.dir/lib/rpc/this_handler.cc.o
FAILED: CMakeFiles/rpc.dir/lib/rpc/this_handler.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/lib/rpc/this_handler.cc.o -MF CMakeFiles/rpc.dir/lib/rpc/this_handler.cc.o.d -o CMakeFiles/rpc.dir/lib/rpc/this_handler.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/this_handler.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/this_handler.cc:1:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include/rpc/this_handler.h:6:10: fatal error: 'memory' file not found
#include <memory>
         ^~~~~~~~
1 warning and 1 error generated.
[9/14] Building CXX object CMakeFiles/rpc.dir/lib/rpc/rpc_error.cc.o
FAILED: CMakeFiles/rpc.dir/lib/rpc/rpc_error.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/lib/rpc/rpc_error.cc.o -MF CMakeFiles/rpc.dir/lib/rpc/rpc_error.cc.o.d -o CMakeFiles/rpc.dir/lib/rpc/rpc_error.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/rpc_error.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/rpc_error.cc:1:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include/rpc/rpc_error.h:6:10: fatal error: 'exception' file not found
#include <exception>
         ^~~~~~~~~~~
1 warning and 1 error generated.
[10/14] Building CXX object CMakeFiles/rpc.dir/lib/rpc/dispatcher.cc.o
FAILED: CMakeFiles/rpc.dir/lib/rpc/dispatcher.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/lib/rpc/dispatcher.cc.o -MF CMakeFiles/rpc.dir/lib/rpc/dispatcher.cc.o.d -o CMakeFiles/rpc.dir/lib/rpc/dispatcher.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/dispatcher.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/dispatcher.cc:1:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include/rpc/dispatcher.h:6:10: fatal error: 'atomic' file not found
#include <atomic>
         ^~~~~~~~
1 warning and 1 error generated.
[11/14] Building CXX object CMakeFiles...dir/lib/rpc/detail/server_session.cc.o
FAILED: CMakeFiles/rpc.dir/lib/rpc/detail/server_session.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/lib/rpc/detail/server_session.cc.o -MF CMakeFiles/rpc.dir/lib/rpc/detail/server_session.cc.o.d -o CMakeFiles/rpc.dir/lib/rpc/detail/server_session.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/detail/server_session.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/detail/server_session.cc:1:
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include/rpc/detail/server_session.h:6:
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include/asio.hpp:19:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include/asio/basic_datagram_socket.hpp:19:10: fatal error: 'cstddef' file not found
#include <cstddef>
         ^~~~~~~~~
1 warning and 1 error generated.
[12/14] Building CXX object CMakeFiles/rpc.dir/lib/rpc/server.cc.o
FAILED: CMakeFiles/rpc.dir/lib/rpc/server.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/lib/rpc/server.cc.o -MF CMakeFiles/rpc.dir/lib/rpc/server.cc.o.d -o CMakeFiles/rpc.dir/lib/rpc/server.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/server.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/server.cc:1:
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include/rpc/server.h:6:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include/rpc/config.h:6:10: fatal error: 'cstddef' file not found
#include <cstddef>
         ^~~~~~~~~
1 warning and 1 error generated.
[13/14] Building CXX object CMakeFiles/rpc.dir/lib/rpc/client.cc.o
FAILED: CMakeFiles/rpc.dir/lib/rpc/client.cc.o
/home/bas4977/UnrealEngine_4.26/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++  -DASIO_STANDALONE -DRPCLIB_ASIO=clmdep_asio -DRPCLIB_FMT=clmdep_fmt -DRPCLIB_MSGPACK=clmdep_msgpack -I/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include -isystem /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/dependencies/include -fPIC -std=c++14   -Wall -pedantic -Weverything -Wno-c++98-compat -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wno-undef -pthread -Wno-no-unused-lambda-capture -Wno-zero-as-null-pointer-constant -std=gnu++11 -MD -MT CMakeFiles/rpc.dir/lib/rpc/client.cc.o -MF CMakeFiles/rpc.dir/lib/rpc/client.cc.o.d -o CMakeFiles/rpc.dir/lib/rpc/client.cc.o -c /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/client.cc
warning: unknown warning option '-Wno-no-unused-lambda-capture'; did you mean '-Wno-unused-lambda-capture'? [-Wunknown-warning-option]
In file included from /home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/lib/rpc/client.cc:1:
/home/bas4977/carla/Build/rpclib-v2.2.1_c5-c10-source/include/rpc/client.h:3:10: fatal error: 'future' file not found
#include <future>
         ^~~~~~~~
1 warning and 1 error generated.
ninja: build stopped: subcommand failed.
make: *** [Util/BuildTools/Linux.mk:142: setup] Error 1

Were you able to fix it?


cpu usage in si.services()

In documentation there is information:
In currentLoad() the results are calculated correctly beginning with the second call of the function. It is determined by calculating the difference of cpu ticks between two calls of the function.
The first time you are calling one of this functions, you will get the load since cpu uptime. The second time, you should then get statistics based on cpu ticks between the two calls ...
Is this true for cpu usage of each service returned by si.services()?

@td-michal-kepka ... right. at least this is how I intended to to be. If you discover any problems, just re-open this issue here.


Cache binaries (to use node-sass offline with npm 3.9.0)

Hi, I just updated npm to 3.9.0 and using npm install --cache-min=Infinity which now works like an offline mode, but I got a problem with node-sass.
Our setup:
We have a huge java/maven based workspace with some frontend stuff. We use the frontend-maven-plugin to call node/npm and grunt. This worksapce is build on Linux, MacOSX and Windows. For the frontend we use grunt-sass, which based on node-sass. Every mvn clean install will delete the node_modules folder and redownload all dependencies needed. This is important for our CI, because its the same way our customer are using the workspace. This works nice as long as you are online.
Problem:
Some of our consultants and customers want/need to work offline. We couldn't support it yet, because of the problems with the npm cache. Since release 3.9.0 fixed this problem, it works offline with all our modules (if you at least build it once online = cached), but not with node-sass.
Possible Solution:

Put the binaries into the bundle: not an option, like you said in https://github.com/sass/node-sass/issues/654#issuecomment-73477480 to save bandwidth.
Configure SASS_BINARY_PATH: not an option for us, because we have to put the binaries into our source workspace and need to configure it. So we have to maintain the binaries for all systems and versions... Sounds like an antipattern.
Download and keep the binaries in a temp folder. Check this location, before redownloading them. This is how phantomjs is doing it with their binaries. My favorite solution. This saves bandwidth and time AND would work offline too!

Here is an extract of the npm log to show how phantomjs/node-sass are doing it:
phantomJS
[INFO] ><EMAIL_ADDRESS>install C:\workspace\basic-theme\node_modules\phantomjs-prebuilt
[INFO] > node install.js
[INFO]
[INFO] Considering PhantomJS found at C:\Program Files (x86)\phantomjs\bin\phantomjs.EXE
[INFO] Found PhantomJS at C:\Program Files (x86)\phantomjs\bin\phantomjs.EXE ...verifying
[INFO] PhantomJS detected, but wrong version 2.0.0 @ C:\Program Files (x86)\phantomjs\bin\phantomjs.EXE.
[INFO] Download already available at C:\Users\mriehema\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip
[INFO] Verified checksum of previously downloaded file
[INFO] Extracting zip contents
[INFO] Removing C:\workspace\basic-theme\node_modules\phantomjs-prebuilt\lib\phantom
[INFO] Copying extracted folder C:\Users\mriehema\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip-extract-1463578294927\phantomjs-2.1.1-windows -> C:\workspace\basic-theme\node_modules\phantomjs-prebuilt\lib\phantom
[INFO] Writing location.js file
[INFO] Done. Phantomjs binary available at C:\workspace\basic-theme\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe

node-sass:
[INFO] ><EMAIL_ADDRESS>install C:\workspace\basic-theme\node_modules\node-sass

[INFO] > node scripts/install.js
[INFO]
[ERROR] Cannot download "https://github.com/sass/node-sass/releases/download/v3.7.0/win32-x64-46_binding.node":
[ERROR]
[ERROR] getaddrinfo ENOENT github.com:443
[ERROR]
[ERROR] Hint: If github.com is not accessible in your location
[ERROR]       try setting a proxy via HTTP_PROXY, e.g.
[ERROR]
[ERROR]       export HTTP_PROXY=http://example.com:1234
[ERROR]
[ERROR] or configure npm proxy via
[ERROR]
[ERROR]       npm config set proxy http://example.com:8080

So it would be a very cool feature, if node-sass could support cached/temp binaries to save bandwidth and to support an offline mode! Thx.

We have multiple ways to support offline binaries documented in the readme - https://github.com/sass/node-sass#binary-configuration-parameters

As fast as you closed this ticket, I think you didn't even read it. :(

I was able to close this quickly because it has come up multiple times.
I suggest setting up an internal mirror of the binaries so you have all the versions available locally within your firewall. It's the most robust solution and is how most of our enterprise users work around your issue.
I understand what you're asking for but it would complicate what is already a complicated install process.

Please take at least a small look at the install script of phantomJS. That doesn't look to complicated to me to be integrated into your install script.

function findSuitableTempDirectory()
function downloadPhantomjs()

Hi,
no, a internal mirror is not an option. I am travelling a lot. Therefore I am not able to connect to an internal mirror installed within my company. I need to be able to run completely offline as mriehema described above.

I'm sorry that's not an option for you. There are two options, setup a local http mirror, or a local filesystem mirror.
The later is exactly the same as the solution suggested except that it's manual.

Do you think you could document how to setup this cache for CircleCI/TravisCI?  I know those aren't your focus, but spending 2 minutes per build building node-sass is pretty gruesome.
You'd be doing the world a favor in terms of reducing the amount of CO2 produced building node-sass on CI platforms around the planet.  Help the planet!

You should never have to build binaries. We put in a lot of work to make
sure pre-built binaries are publicly available.
On 23 Nov. 2017 5:00 pm, "politician"<EMAIL_ADDRESS>wrote:
Do you think you could document how to setup this cache for
CircleCI/TravisCI? I know those aren't your focus, but spending 2 minutes
per build building node-sass is pretty gruesome.
You'd be doing the world a favor in terms of reducing the amount of CO2
produced building node-sass on CI platforms around the planet. Help the
planet!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/1554#issuecomment-346537057, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAjZWA20Pi1FZqaUrGwdgHGmHL-uvCkdks5s5QnngaJpZM4IhVy0
.

@xzyfer I can never pull a prebuilt binary. Currently I'm getting:
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.8.3/linux-x64-64_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.8.3/linux-x64-64_binding.node":

You've updated a major version of Node as soon as it was released. You
should expect some pain.
With that said you just need to update to the latest node-sass.
On Thu., 26 Apr. 2018, 8:39 pm Michał Łępicki<EMAIL_ADDRESS>wrote:

@xzyfer https://github.com/xzyfer I can never pull a prebuilt binary.
Currently I'm getting:
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.8.3/linux-x64-64_binding.node
Cannot download "https://github.com/sass/node-sass/releases/download/v4.8.3/linux-x64-64_binding.node":
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/1554#issuecomment-384594035,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWFr4PLzq3ru_UTHQBY5LqWci32Coks5tsaPTgaJpZM4IhVy0
.


How to disable log

How I suddenly found after I enabled badger, the write folder has a v0000.log which is very huge, I don't need log, how to disable it? (purhaps not casued by badger but mochi it self)

Closed as duplicate of #363, sorry for the delay.


Bluetooth: Remove rx < tx prio check

The comment states the reason for this requirement is to detect violations by a remote peer. The ATT version of this was removed in ea04fd95f939b8115358560df5887bb5f2baeab8. TLDR: It's neither possible for, nor the job of the host to police the remote device.
We remove this requirement to be more flexible about the number of priority levels in the system, and to avoid the temptation of using priorities as a synchronization mechanism.

It's neither possible for, nor the job of the host to police the remote device.

If a remote device sends 2 ATT requests without waiting for a response today, what does the Zephyr host do?
If the RX thread gets a higher priority than the TX thread, will it handle it the same way?
Just want to make sure that this doesn't allow for remote devices to DOS us if the thread priorities are "incorrect"

Then we should have a test for it instead :)
We do have a test for the pipelining that you describe: https://github.com/jori-nordic/zephyr/blob/remove-ipsp/tests/bsim/bluetooth/host/att/pipeline/dut/src/main.c#L322

Then we should have a test for the DoS instead :) We do have a test for the pipelining that you describe: https://github.com/jori-nordic/zephyr/blob/remove-ipsp/tests/bsim/bluetooth/host/att/pipeline/dut/src/main.c#L322

Yeah, it should be trivial to run (or even make a CI config) for that test where the RX thread has a higher priority than the TX thread, to see if we can actually remove this requirement without potentionally breaking stuff

If a remote device sends 2 ATT requests without waiting for a response today, what does the Zephyr host do?

The current implementation will just-work, handing the pipelined the requests.

If the RX thread gets a higher priority than the TX thread, will it handle it the same way?

Yes. But the TX of the first response may be delayed and sent with the second.

Just want to make sure that this doesn't allow for remote devices to DOS us if the thread priorities are "incorrect"

This is a valid concern. The DOS in this case means the host will use more att_pool buffers or other tx resources than one would expect, possibly starving other tx users. But this DOS is already possible in a myriad of other ways. E.g. I think the remote device can send a bunch of L2CAP control messages and NAK the responses on air. We might need to implement per-acl buffer pools to remedy this.

@alwa-nordic can you add a prj.conf for the pipeline test with the priorities inverted? can be in a future PR


Camera can't be put low

Load the code into Sandcastle and try looking at the model from below.
Camera can't be put lower than 12.6 meters.
var point =
     { lon: -2.434, lat: -0.248 } // Case 1
//    { lon: -2.137, lat: 0.66 } // Case 2
;

var viewer = new Cesium.Viewer('cesiumContainer', {
    baseLayerPicker: false
  , terrainProvider: new Cesium.CesiumTerrainProvider({
        url : '//cesiumjs.org/tilesets/terrain/smallterrain'
    })
});
viewer.scene.globe.depthTestAgainstTerrain = true

viewer.camera.flyTo({
    destination : Cesium.Cartesian3.fromRadians(point.lon, point.lat, 100)
  , duration: 0
});

// put the model at terrain height
Cesium.sampleTerrain(viewer.terrainProvider, 11, [viewer.camera.positionCartographic.clone()])
.then(function(cartographic) {
    var alt = cartographic[0].height || 0
    console.log(alt)

    var czml = new Cesium.CzmlDataSource()
    czml.load([{ id: "document", version: "1.0" }, {
        position: {
            cartographicRadians: [point.lon, point.lat, alt]
        }
      , model: {
          gltf: '../../SampleData/models/CesiumAir/Cesium_Air.gltf'
      }
    }])
    viewer.dataSources.add(czml)
})

// to monitor camera height
setInterval(function() {
   console.log(viewer.camera.positionCartographic.height)
}, 3000)

In "Case 2" (un-comment line 3) terrain height is -32.4 but camera can't be put lower than -12.6 m (again! now negative).
"Case 2" also illustrates #2271 - when camera height becomes negative terrain and sky disappear.
Also got an exception several times while manipulating the camera with middle mouse button pressed:
An error occurred while rendering. Rendering has stopped.
RangeError: Invalid array length
RangeError: Invalid array length
    at updateFrustums (http://cesiumjs.org/Cesium/Source/Scene/Scene.js:821:36)
    at createPotentiallyVisibleSet (http://cesiumjs.org/Cesium/Source/Scene/Scene.js:971:13)
    at render (http://cesiumjs.org/Cesium/Source/Scene/Scene.js:1373:9)
    at Scene.render (http://cesiumjs.org/Cesium/Source/Scene/Scene.js:1413:13)
    at CesiumWidget.render (http://cesiumjs.org/Cesium/Source/Widgets/CesiumWidget/CesiumWidget.js:641:25)
    at render (http://cesiumjs.org/Cesium/Source/Widgets/CesiumWidget/CesiumWidget.js:68:32)

Thanks for the report.  @bagnell can probably suggest a workaround.

There are a couple of things at work here.

When in the camera's default mode, the closest you can get to the terrain is specified by the viewer.scene.screenSpaceCameraController.minimumZoomDistance property.  I believe it defaults to 20 (mainly because of the sky disappearing issue I think).
If you are in a different camera reference frame (i.e. you aren't looking at the center of the earth), you can get as close to whatever you are looking at via the above property as well.  The 3D Models example is a good illustration of that (use the combo box and select skinned model).  You are only about 1 meter off the ground in that example.
The limitation of 2, is that in this mode we currently don't keep the camera above terrain. (which is on the todo list).

@alexander-entin thanks for the report.  This is fixed in master, and will be in Cesium 1.14 on October 1.


Kernels in UserGemmClKernels.h not being wiped by clblasTeardown

Kernels in UserGemmClKernels.h probably not being wiped by clblasTeardown
See https://github.com/hughperkins/DeepCL/issues/31#issuecomment-151467324
(Note that I intend to submit a pull request for this, so mostly for information)

Created commit which hopefully fixes this, https://github.com/hughperkins/clBLAS/commit/2111bb0393688cccc35e4b49ea429ae052c89b71 .  Will wait for confirmation from jakakonda that this does/doesn't fix the issue he is encountering, and then submit a pull request.

Fixed in https://github.com/hughperkins/clBLAS/commit/7d708e4b5e574117d74435f3bcd65840c2d8ba71

Note: test case to reproduce this:
/* ************************************************************************
 * Copyright 2013 Advanced Micro Devices, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ************************************************************************/

#include <sys/types.h>
#include <stdio.h>
#include <string.h>

/* Include CLBLAS header. It automatically includes needed OpenCL header,
 * so we can drop out explicit inclusion of cl.h header.
 */
#include <clBLAS.h>

void run() {
    #define M  4
    #define N  3
    #define K  16

    static const clblasOrder order = clblasColumnMajor;

    static const cl_float alpha = 1;

    static const clblasTranspose transA = clblasTrans;
    static const cl_float A[M*K];
    static const size_t lda = K;        /* i.e. lda = K */

    static const clblasTranspose transB = clblasNoTrans;
    static const cl_float B[K*N];
    static const size_t ldb = N;        /* i.e. ldb = N */

    static const cl_float beta = 0;

    static cl_float C[M*N];
    static const size_t ldc = N;        /* i.e. ldc = N */

    static cl_float result[M*N];

    static const size_t off  = 1;
    static const size_t offA = K + 1;   /* K + off */
    static const size_t offB = N + 1;   /* N + off */
    static const size_t offC = N + 1;   /* N + off */

    cl_int err;
    cl_platform_id platform = 0;
    cl_device_id device = 0;
    cl_context_properties props[3] = { CL_CONTEXT_PLATFORM, 0, 0 };
    cl_context ctx = 0;
    cl_command_queue queue = 0;
    cl_mem bufA, bufB, bufC;
    cl_event event = NULL;
    int ret = 0;

    /* Setup OpenCL environment. */
    err = clGetPlatformIDs(1, &platform, NULL);
    if (err != CL_SUCCESS) {
        printf( "clGetPlatformIDs() failed with %d\n", err );
        return;
    }
    printf("got platformids\n");

    err = clGetDeviceIDs(platform, CL_DEVICE_TYPE_GPU, 1, &device, NULL);
    if (err != CL_SUCCESS) {
        printf( "clGetDeviceIDs() failed with %d\n", err );
        return;
    }
    printf("got deviceids\n");

    props[1] = (cl_context_properties)platform;
    ctx = clCreateContext(props, 1, &device, NULL, NULL, &err);
    if (err != CL_SUCCESS) {
        printf( "clCreateContext() failed with %d\n", err );
        return;
    }
    printf("created context\n");

    queue = clCreateCommandQueue(ctx, device, 0, &err);
    if (err != CL_SUCCESS) {
        printf( "clCreateCommandQueue() failed with %d\n", err );
        clReleaseContext(ctx);
        return;
    }
    printf("created commandqueue\n");

    /* Setup clblas. */
    err = clblasSetup();
    if (err != CL_SUCCESS) {
        printf("clblasSetup() failed with %d\n", err);
        clReleaseCommandQueue(queue);
        clReleaseContext(ctx);
        return;
    }
    printf("setup blas ok\n");

    /* Prepare OpenCL memory objects and place matrices inside them. */
    bufA = clCreateBuffer(ctx, CL_MEM_READ_ONLY, M * K * sizeof(*A),
                          NULL, &err);
    bufB = clCreateBuffer(ctx, CL_MEM_READ_ONLY, K * N * sizeof(*B),
                          NULL, &err);
    bufC = clCreateBuffer(ctx, CL_MEM_READ_WRITE, M * N * sizeof(*C),
                          NULL, &err);

    err = clEnqueueWriteBuffer(queue, bufA, CL_TRUE, 0,
        M * K * sizeof(*A), A, 0, NULL, NULL);
    err = clEnqueueWriteBuffer(queue, bufB, CL_TRUE, 0,
        K * N * sizeof(*B), B, 0, NULL, NULL);
    err = clEnqueueWriteBuffer(queue, bufC, CL_TRUE, 0,
        M * N * sizeof(*C), C, 0, NULL, NULL);

    /* Call clblas extended function. Perform gemm for the lower right sub-matrices */
    printf("calling sgemm....\n");
    err = clblasSgemm(order, transA, transB, M, N, K,
                         alpha, bufA, 0, M,
                         bufB, 0, K, beta,
                         bufC, 0, M,
                         1, &queue, 0, NULL, &event);
    if (err != CL_SUCCESS) {
        printf("clblasSgemmEx() failed with %d\n", err);
        ret = 1;
    }
    else {
        /* Wait for calculations to be finished. */
        err = clWaitForEvents(1, &event);
        clReleaseEvent(event);

        /* Fetch results of calculations from GPU memory. */
        err = clEnqueueReadBuffer(queue, bufC, CL_TRUE, 0,
                                  M * N * sizeof(*result),
                                  result, 0, NULL, NULL);
    }

    /* Release OpenCL memory objects. */
    clReleaseMemObject(bufC);
    clReleaseMemObject(bufB);
    clReleaseMemObject(bufA);

    /* Finalize work with clblas. */
    clblasTeardown();

    /* Release OpenCL working objects. */
    clReleaseCommandQueue(queue);
    clReleaseContext(ctx);
}

int
main(void)
{
    for(int i=0; i < 3; i++) {
        printf("i=%i\n", i);
        run();
        printf("finished ok :-)\n");
    }
    return 0;
}

compile and run like:
gcc -std=c99 -I.. -o test169 clblas_issue_169.c -L../build/library -lclBLAS -lOpenCL \
  && LD_LIBRARY_PATH=../build/library ./test169

Result:
$ ./run_169.sh
i=0
got platformids
got deviceids
created context
created commandqueue
setup blas ok
calling sgemm....
finished ok :-)
i=1
got platformids
got deviceids
created context
created commandqueue
setup blas ok
calling sgemm....
finished ok :-)
i=2
got platformids
got deviceids
created context
created commandqueue
setup blas ok
calling sgemm....
finished ok :-)

Hi Hugh,
Can we close this issue?

Thanks!


what is the correct use of page.Form

I understand how regular input fields are used in page.Form, but what is the correct approach for say select elements where there are options to select and the selected option too?

Great question. Rather than answer, I thought it made sense to just include an example so others can see how to do it. It's very easy. Let me know if you still have any questions: https://github.com/mikestefanello/pagoda/commit/30389de16f40b2ef1a6dce1e961a9fb65da7225e


Deploy in Debug version

Meteor allows you to deploy with a --debug flag, which prevents minification and keeps certain packages (those with the debugOnly flag, see the docs here) in the deployment.
Is there any way to do this with the buildpack?
It would be useful for staging environments.

@merlinpatt any success with that?

You should be able to do this by adding a --debug flag to the invocation of meteor build:
echo "-----> Building Meteor with ROOT_URL: $ROOT_URL"
HOME=$METEOR_DIR $METEOR build --server $ROOT_URL --directory $BUNDLE_DEST --debug

I think I'd prefer not to bake this into this buildpack or clutter with options for this at the moment; though if more folks have interest chime in or +1 here and we can add an env var or something.  For now, just fork the buildpack and add the flag as needed for your builds.

@yourcelf Thanks, this is what I did


Deprecate all APIs to be removed in 5.0

A @public API marked @deprecated in major version N must continue to be supported in major version N+1 and can be removed in version N+2.
Any APIs we wish to remove in 5.0 (the earliest possible according to this rule) must be marked deprecated in 3.x before release of 4.0.

Presentation: https://github.com/iTwin/itwinjs-backlog/issues/592

@pmconne Following api need to be deprecated or removed. This mislead some user into calling it which result in performance issue. They should use ste() or query instead.
  /** @internal added this back in for testing purposes */
  public async stepAsync(): Promise<DbResult> {
    return new Promise((resolve, _reject) => {
      this._stmt!.stepAsync(resolve); // eslint-disable-line @typescript-eslint/no-non-null-assertion
    });
  }```

@khanaffan it's @internal. It could be deleted right now without violating any API support policy.

@khanaffan it's @internal. It could be deleted right now without violating any API support policy.

Since we are so close to 4.0 why not wait and remove it in 4.0 just in case there are any callers

closing this issue as completed. We will have a limited 3.7 release but it should not be a big shift in API from 3.6 as most of our attention has now shifted to 4.0 development.


ResultPage: Not responsive

Describe the bug
The resultpage itself is not responsive. User which want to interact with the webpage via tablet or phone, won't be able to deal with the given offers.
To Reproduce
Feed the homepage's searchbar with some input and route to the resultpage. Press F12 to open the developer tools and change the layout to responsive.
Expected behavior
The resultpage should be displayed responsive to get a good user experience.
Screenshots
Smartphone (please complete the following information):

Device: [e.g. iPhone6/7]

Partially fixed by https://github.com/hochschule-darmstadt/einander-helfen/commit/72460e8fb7e0ac260c3767f3885712f12399f3d4
I used css grids to fix the layout: https://github.com/hochschule-darmstadt/einander-helfen/blob/72460e8fb7e0ac260c3767f3885712f12399f3d4/app/src/views/ResultPage.vue#L273-L304
But the search bar is still not mobile usable

@sgrobarek did you have a look at this issue and what was already done,  before you pushed and merged?
In your layout changes the map and post details are at the bottom of the page:

If there are less posts a huge empty space is being shown:

@sgrobarek did you have a look at this issue and what was already done, before you pushed and merged?
@jschurse sry, saw that after my work was done. hope everything is okay :S

Implemented and merged


CrosswalkWebView documentation

Excuse my laziness, and sorry to bother you.
I see lot of different options here https://github.com/jordansexton/react-native-webview-crosswalk/blob/master/index.android.js#L47-L54 but can't find related documenation.
I've been looking on crosswalk website and google for a good 20 minutes with success.
Could we include the link of crosswalk api in the readme to help further users?
I'm willing to send a PR if you show me which link it is.

+1 on this. Documentation is a must on any package.


Using Optional Config for query timeout

Why are the changes needed?

bugfix for comparing a client-side value with a second unit to a server-side value with a millisecond unit
using OptionalConfigEntry for query timeout, it's more simple, it will take effect only when set with a valid value
add tests for system query timeout
move timeout conf getter to initialize to detect during Kyuubi server startup, the current behavior is a bit dangerous for deploying.

How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

cc @turboFei @ulysses-you @pan3793

IIUC, client get the timeout from server side with Second Unit.
Then it submit execute query request with this Second UNIT timeout.
This timeout transferred to kyuubi operation and I do not find that is was transferred to millsecond unit.
But for the operation isTimeout method,  it's still compared with millsecond.
https://github.com/yaooqinn/kyuubi/blob/5684407ce064a26286871abbdaaf68a0cf5c2612/kyuubi-common/src/main/scala/org/apache/kyuubi/operation/AbstractOperation.scala#L156-L160

IIUC, client get the timeout from server side with Second Unit.
Then client submits ExecuteQuery request with this Second UNIT timeout.
This it is transferred to kyuubi operation and I do not find that is was transferred to millsecond unit.
But for the operation isTimeout method, it's still compared with millsecond.
https://github.com/yaooqinn/kyuubi/blob/5684407ce064a26286871abbdaaf68a0cf5c2612/kyuubi-common/src/main/scala/org/apache/kyuubi/operation/AbstractOperation.scala#L156-L164

the query timeout is different from the operation timeout.
the query timeout is a client setting but not all client-tools have such feature supported. So for server-robust, we introduced a query timeout threshold at the server-side. In case a query hangs forever at the engine side or finishes execution in time, we should CANCEL it, and then the client will receive a error status for it's own failover logic or something else.
the timeout that you point out is not the query timeout, but the operation idle timeout. the idle one is used to tell the monitor whether to CLOSE if the client remains radio-silence or zombied during the timeout. in this case, the client might need to know nothing.

This it is transferred to kyuubi operation and I do not find that is was transferred to millsecond unit.

All timeConfs in Kyuubi are based on java.util.Duration and be converted to milliseconds. FYI, you can check  the impl of timeConf'


Download Issue!!!

I am having a problem while downloading drone2021.zip file. The download is stopped after downloading around 35GB of the file, throwing the message "Failed - Network error". I try to download it using google chrome and Microsoft edge browsers. I would be very grateful if anyone could provide a suggestion. Thank you very much.

Dear subecky,
Thank you for participating in this challenge.
We apologize for any inconvenience you may have experienced in downloading the dataset.
I tried it in my environment and it downloaded successfully, although it took about 50 minutes.
Could you please refer to the following article and try downloading again?
https://bytesbin.com/how-to-download-a-large-file-from-google-drive-quickly/?amp=1
Regards,

Thank you very much. I have downloaded the file successfully.

I'm glad you were able to solve your problem.
I hope you enjoy this competition!


Slack notification not working with conditional step plugin

When using the Conditional BuildStep plugin (https://wiki.jenkins.io/display/JENKINS/Conditional+BuildStep+Plugin), and adding it as a build step, testing slack integrations is broken.  If you remove the conditional build step from the build steps, the slack integration works.

Is there any error or logs?

My Jenkins logs are too messy to dig through.  But I can tell you that when
I test the notification using the test function, it works fine as listed in
the post build step process.  If you immediately add a conditional step in
the build steps, running the slack test function doesn't work.
On Fri, Mar 15, 2019, 12:32 AM Tim Jacomb<EMAIL_ADDRESS>wrote:

Is there any error or logs?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jenkinsci/slack-plugin/issues/540#issuecomment-473186440,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZws9hsqvLi8ngEo7wnDL0L1pqoarIcks5vW0yMgaJpZM4b1tp0
.

Hi @allyunion , how did you integrate slack notification plugin in conditional build step? i am not able to see that post build action in drop down


jmx cleartext password has -rw-r--r-

So according to the cassandra documentation it is recommended to do chmod 0400 on /etc/cassandra/jmxremote.password in order to secure the cleartext password as much as possible. k8ssandra currently exposes the password with -rw-r--r--
I think the file should have its permissions changed to 0400 after creation, and eventually the k8ssandra_superuser password should be rolled immediately after, or another password should be used for jmx.
So we stumbled over this because we were reading the k8ssandra-superuser Secret in order to use nodetool, but the password gets rolled  on a regular basis and we where unable to use nodetool until we started using the password stored in /etc/cassandra/jmxremote.password, so storing the JMX password this way is how Cassandra has implemented it, and there is not much to do about that if you want to use JMX during initialisation of the cluster. So this feature request is not about changing that, simply changing the permissions of the file to 0400 and eventually use another password than the superuser password as storing the superuser password in cleartext, even for a limited ammount of time seems wrong.
Why do we need it?
To secure the platform
Environment
kubernetes 1.19.x

K8ssandra Operator version: 1.0

┆Issue is synchronized with this Jira Task by Unito
┆Issue Number: K8SSAND-868
┆Priority: Medium

Hi @lunarfs
Can you recreate this issue in https://github.com/k8ssandra/k8ssandra?

Hey @lunarfs thanks for the report, is it safe to assume that you're using the full k8ssndra packaging (https://github.com/k8ssandra/k8ssandra) and not this operator?  The operator here (https://github.com/k8ssandra/k8ssandra-operator) is still under development and isn't quite ready for use yet.
If you're just checking it out and this is really the right place, that's awesome, but if not let's get this moved over to the other repo.
Thanks!

Hi,
Thanks for letting me know, I will close this, and have already created an issue in https://github.com/k8ssandra/k8ssandra
BR
Frank


[AutoPR network/resource-manager] fix: Microsoft.Network

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4648

Closing PRs that are older than 1 month.


[Idea] general IFTTT-like tool for aggregating event data

I saw in the goals that we're interested in not tying brigade activity to solely one platform, which previously aired in favor of GitHub. It got me thinking that BrigadeHub, down the road, might benefit from some sort of ifttt.com-type setup.
If this is of interest, there is a FOSS platform called Huginn that might be of interest.
http://blog.pragmasphere.com/2014/06/10/huginn-the-opensource-iftttyahoo-pipes-mix/
The main issue is that driving Huginn only via API (which is probably what this would need), is not yet implemented:
https://github.com/cantino/huginn/issues/176
Having said that, the main developer is welcoming of the idea, and seemed to indicate that it shouldn't be too difficult.
Anyhow, again, the aim of this would be to have a backend service (Huginn) for BrigadeHub that our platform could talk to via API to create "agents" (in Huginn-speak) for all the connections between external services and BH. There are already a bunch of agents available, and they're designed to be pretty easy to write, so it should be accessible to folks who want to add new ones to BrigadeHub. We'd need to create, at minimum, a new agent that knew how to poke BH and create new "items". In Huginn, agents send to agents, until one acts outside Huginn. Our BH agent would be that agent that sent messages to us based on other agents checking other services.
Anyhow, this is very much down the road, but thought it might be an interesting approach instead of building our own event listener system :)

That is an interesting idea. However, a cost benefit analysis has to be done on whether or not an event listener system is needed. I guess this would depend on how many and which services we tie into. I mean, a job queue that continuously pulls information from third party services and stores that information on an interval would be simple to reason about and implement.
Job -> Pull SCM data -> Stores it in MongoDB
Job -> Pull upcoming Meetups -> Stores it in MongoDB
While probably not as efficient as an event driven system, it'll probably have a lot less of an engineering overhead to maintain.
As far as maintaining agnosticism towards any one platform, yeoman would be able to scaffold out during deployment what a brigade wants. Or we could just be careful on building out our abstractions so that options are available through a UI and a wizard. I dunno.
But! It does look really cool and is fun to think about implementing.

And it's Ruby on Rails... so, like, I can be elitist about it if we include it in our stack.

haha very good points :)
I fully admit that this issue is a bit tenuous in nature, but just wanted to share the thought to get others' brain-pipes thinking on it!


Raspberry Pi 3 atomic locks

Thank you for your amazing tutorial series. It has been so informative and I have learnt loads!
I'm just having one problem with lesson 09. I'm compiling for my 64-bit Pi 3 (I am not following the tutorial series, only this specific section), and I can not compile the code (I changed the registers to work with 64-bit):
try_lock:     mov     x1, #0     swp     x2, x1, [r0]    // stores the value in x1 into the address in x0, and stores the value at the address in x0 into x2     mov     x0, x2     blx     lr
My error message is "Error: selected processor does not support `swp x2,x1,[x0]'!". Apparently the "swp" instruction was deprecated and removed, and does not exist on later Pi models. Is there a newer, better instruction to accomplish an atomic lock? Or is it my toolchain at fault? I have tried building with -mcpu=cortex-a7 but it tells me it's not a valid CPU, instead suggesting I try cortex-a53, but even then, I get the same error about the instruction not being supported.

Hi all,
I think the deprecated SWP instruction can simply be replaced with the STREX [Store and exchange] instruction which accepts the same parameters.


gemm fp8 e4m3

Summary

Implemented FP8 gemm with E4M3 representation for FP8.
Issue #65

Testing Done

tested square matrices of varying sizes (64, 256, 512, 1024, 2048)  + non-square matrices of varying sizes and compared against torch matmul with appropriate casting for backward (torch.matmul doesn't support fp8_e4m3 dtype for backward).
FP8 gemm will only work on SM_89+

Hardware Type: RTX 4090
[x] run make test to ensure correctness
[x] run make checkstyle to ensure code style
[x] run make test-convergence to ensure convergence

Thanks for the efforts! Provided some comments and please take a look and let me know if there're any questions and we can discuss more here or on discord.

@qingquansong can you take another look

Hey @AndreSlavescu @ByronHsu  considering this is a bit different from the original feature request, maybe we can change the PR description a bit to clarify this and also correct the test cases to compare with torch fp8 matmul? (or at least torch bf16 matmul rather than fp32 before checking in) Let me know your thoughts and happy to discuss more.


Worked on vector-related performance

Pre-allocated vectors wherever possible in order to reduce the total amount of allocations preformed

Changed the vast majority to maps, some really didn't lend to it

Thanks so much for working on this! Little things like this are easy to forget about but they make a big difference :)

I would like to add tests for these before merging. See e.g. https://github.com/rust-lang/docs.rs/blob/master/src/web/mod.rs#L617 for examples of how to write tests, and you can visit the pages on docs.rs to see what the expected behavior should be.

Git hates me and closed on its own

Status: this needs to be rebased and needs tests to be written.

@jyn514 Fixed

:tada: :tada:


Where to change idle timeout value

I followed #16, and understand both the EGM convergence timeout or idle timeout will cause the EGM to stop. Our task requires the EGM to keep opening for at least 30 minutes. The EGM convergence timeout DEFAULT_CONDITION_TIME has been set to 1800s. The problem is the EGM will stop and jump back to idle after only 15 mins every time (we use StateMachine Add-in). When you talk about the idle timeout, is this based on the driver side or the Add-in side? and where I can modify that value?
Thanks

Hi @yanjunyangmonash,
It should only be the robot controller that automatically closes active EGM communication channels, for example if:

EGM communication timeout occurs (e.g. the network shutsdown).

The StateMachine Add-In's default settings for this is DEFAULT_COMM_TIMEOUT.

EGM convergence criteria is fulfilled (if I understood you correctly, then this is the same thing as the "idle timeout" you mentioned).

The StateMachine Add-In's default settings for this are DEFAULT_COND_MIN_MAX and DEFAULT_CONDITION_TIME.

EGM error occurs (e.g. references sent by the user are out of bounds).
Internal supervision error occurs (e.g. collision).

I haven't really used EGM motions for extended time periods, so I haven't noticed any upper limit for continuously running EGM. I usually start EGM, do my motions (for a few minutes maximum) and then stop EGM until I need it again. This is mainly because it is better for the robot to not have EGM active all the time.
Anyway, I just tried out some longer running scenarios with RobotStudio simulations, and it appears there is an upper limit of about 15 minutes as you have noticed. I can't find anything about this in the manual, so I suggest you to ask about this in the official ABB Robotics User Forum (if you haven't already done so).

I will close this issue, because I think it is due to internal workings of RobotWare instead of an issue with the packages in abb_robot_driver.
Please feel free to keep posting comments.

An update to my post. The trick is to change line 281 current_state := STATE_IDLE to current_state := STATE_RUN_EGM_ROUTINE in T_ROB_R/TRobEGM/runEGMRoutine to make sure it stays in the EGM status. Not sure if that is correct but it worked for my case


Don't use pthread_detach() after pthread_join()

After pthread_join() all allocated to thread resources are freed, so pthread_detach() after pthread_join() will results in undefined behavior with SIGSERV on some libc implementations (like MUSL). According to pthread_detach(3), "Either pthread_join(3) or pthread_detach() should be called for each thread that an application creates".

I agree that my contributions are licensed under the MIT License.
You can find a copy of this license at https://opensource.org/licenses/MIT

Thanks @winterheart, I'll take a look to this next week to merge it. There are plans to completely replace base::thread with std::thread in a near future (base::thread were pre-C++11 times).

@winterheart thanks for your PR here, anyway we have just removed base::thread and use std::thread instead, which was something planned from a long time ago. I guess that will be the best option to fix any issue in the old base::thread impl.


[CSB-1149] Manages narayana-spring-boot-starter version

Do we need to add this?   I'm looking at the previous releases - in 3.14.5 and 3.18.3, we did not have it listed
https://github.com/jboss-fuse/camel-spring-boot/blob/camel-spring-boot-3.18.3-branch/pom.xml#L148-L166
https://github.com/jboss-fuse/camel-spring-boot/blob/camel-spring-boot-3.14.5-branch/pom.xml#L172-L182
The BOM and dependencies generators I think add narayana-spring-boot-starter to the BOM/dependencies, I'm not sure if adding it will duplicate entries.

yeah,  probably this commit https://github.com/jboss-fuse/camel-spring-boot/blob/camel-spring-boot-3.18.3-branch/tooling/camel-spring-boot-generator-maven-plugin/src/main/java/org/apache/camel/springboot/maven/BomDependenciesGeneratorMojo.java#L312  is missing, could it be @cunningt ? in case, do we have a list of all  the commits that need to be applied whenever we change a version?

Do we need to add this? I'm looking at the previous releases - in 3.14.5 and 3.18.3, we did not have it listed
https://github.com/jboss-fuse/camel-spring-boot/blob/camel-spring-boot-3.18.3-branch/pom.xml#L148-L166 https://github.com/jboss-fuse/camel-spring-boot/blob/camel-spring-boot-3.14.5-branch/pom.xml#L172-L182
The BOM and dependencies generators I think add narayana-spring-boot-starter to the BOM/dependencies, I'm not sure if adding it will duplicate entries.

I agree @cunningt but I would like to know if we should drop other dependencies management (narayana-spring-boot-core and narayana-spring-boot-recovery-controller) https://github.com/jboss-fuse/camel-spring-boot/blob/camel-spring-boot-3.20.1-branch/pom.xml#L155-L164

narayana dependencies are managed here https://github.com/jboss-fuse/camel-spring-boot/pull/145


[tsserverlibrary] Allow reporting helpful links and error-names

Search Terms
Support Links
Helpful Links
Diagnostic
Suggestion
VSCode now accepts either  strings or numbers alongside with a support-link as the code-property of a Diagnostic, which provides the comfort to easily open up a website showing more details about the error:
https://github.com/microsoft/vscode-languageserver-node/blob/9466bf38aef41849b3d48a882e399a34e3127eb2/types/src/main.ts#L581-L624
It would be very awesome if TypeScript language services had the same option to not only pass a number as error-code but also strings and, most importantly, a link containing helpful info.
Use Cases
Basically whenever you use a plugin which reports errors especially when they're a tiny bit too complex to describe them in a few sentences.
Examples
        interceptor.AddMethod(
            "getSemanticDiagnostics",
            (target, delegate, fileName) =>
            {
                let diagnostics = delegate(fileName);
                diagnostics.push(
                    {
                        file: this.Program.getSourceFile(fileName),
                        start: 1,
                        length: 1,
                        messageText: "The member-ordering is incorrect.",
                        category: ts.DiagnosticCategory.Warning,
                        source: "eslint",
                        code: {
                            value: "import/order",
                            target: "https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/order.md"
                        }
                    }
                return diagnostics;
            });

Checklist
My suggestion meets these guidelines:

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

@RyanCavanaugh is there anything I need to provide in order to start working on this issue?


[BUG] Syntax Error when using chat template

Prerequisites

[X] I have read the documentation.
[X] I have checked other issues for similar problems.

Backend
Hugging Face Space/Endpoints
Interface Used
UI
CLI Command
No response
UI Screenshots & Parameters

I also tried "tokenizer", no difference
Error Logs
ERROR    | 2024-07-19 09:48:57 | autotrain.trainers.common:wrapper:120 - train has failed due to an exception: Traceback (most recent call last):
File "/app/env/lib/python3.10/site-packages/autotrain/trainers/common.py", line 117, in wrapper
return func(*args, **kwargs)
File "/app/env/lib/python3.10/site-packages/autotrain/trainers/clm/main.py", line 28, in train
train_sft(config)
File "/app/env/lib/python3.10/site-packages/autotrain/trainers/clm/train_clm_sft.py", line 17, in train
train_data, valid_data = utils.process_data_with_chat_template(config, tokenizer, train_data, valid_data)
File "/app/env/lib/python3.10/site-packages/autotrain/trainers/clm/utils.py", line 448, in process_data_with_chat_template
train_data = train_data.map(
File "/app/env/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 602, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/app/env/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 567, in wrapper
out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
File "/app/env/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 3156, in map
for rank, done, content in Dataset._map_single(**dataset_kwargs):
File "/app/env/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 3517, in _map_single
example = apply_function_on_filtered_inputs(example, i, offset=offset)
File "/app/env/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 3416, in apply_function_on_filtered_inputs
processed_inputs = function(*fn_args, *additional_args, **fn_kwargs)
File "/app/env/lib/python3.10/site-packages/autotrain/trainers/clm/utils.py", line 238, in apply_chat_template
messages = ast.literal_eval(messages)
File "/app/env/lib/python3.10/ast.py", line 64, in literal_eval
node_or_string = parse(node_or_string.lstrip(" \t"), mode='eval')
File "/app/env/lib/python3.10/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
File "", line 1
ah ****, du brauchst kommunikativere Freunde xD
^^^^
SyntaxError: invalid syntax
ERROR    | 2024-07-19 09:48:57 | autotrain.trainers.common:wrapper:121 - invalid syntax (, line 1)
Additional Information
I censored the swear word in the error log myself.
This is how the csv is structured: (just the first line as an example)
id,text
1,"Human: ah ****, du brauchst kommunikativere Freunde xD Assistant: Ja xD"

I am not really sure what format the data should be in if I use a chat template in Autotrain.
Does it still need {text: "text"} as format?
Or should it be in the format the chattemplate would expect?
Thanks for your assistance

if you using chat template, data should be in chat template format as jsonl file. see this dataset's messages column: https://huggingface.co/datasets/HuggingFaceH4/no_robots

Ok, that last info might also be relevant. I got infinite generation using this dataset's trained model, so the missing tokens might also be the problem. That's why I wanted to use a chat template on the dataset.
I will reformat the JSON I have with the training data to fit the chat template and convert it to JSON to try it again. So this seems to be my error.
Still, the documentation is kind of misleading regarding the file format. On this page:
https://huggingface.co/docs/autotrain/v0.8.4/en/llm_finetuning
Up top it tells you that CSV is accepted, but down at the bottom of the page is mentioned that it accepts CSV and JSONL, which is quite confusing. That's why I converted everything to CSV, to fit it into the mentioned format.

sorry about that. it should say both csv and jsonl are accepted for most tasks


refactor(DataList): kebab always right aligned

fix #1486

Deploy preview for pf-next ready!
Built with commit<PHONE_NUMBER>d3d3ef98d56ca499446c5cb2c51536
https://deploy-preview-1695--pf-next.netlify.com

If you don't have an action in a row, looks like there is still a right margin on the first item in the row. There is margin on all but the last item, though it only appears on the first item for some reason.

And the button currently overlaps the content, too

Are there designs for how this should look? I didn't see them in sketch. Should this match the table component, where the check and kebab are on the right?

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Swiper not working as expected in Angular 13

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/swiper-angular-example-forked-ssfkdp?file=/package.json
Bug description
Hi there,
I am referencing the code from:
swiper-angular-codesandbox.io
which is taken from https://swiperjs.com/angular page.
However, I try to update all the angular related dependencies to the latest version which is v13, the code breaks and can't show the swiper correctly.
Can you help me on this?
Expected Behavior
the expectation is the display showed in the
https://codesandbox.io/s/swiper-angular-example-9edj9 which is taken from https://swiperjs.com/angular page
should be same with
https://codesandbox.io/s/swiper-angular-example-forked-ssfkdp?file=/package.json even after angular is updated from v12 to v13
Actual Behavior
Showing only first header of the html after update angular related dependencies inside the package.json to v13

Swiper version
7.0.0
Platform/Target and Browser Versions
Windows Chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

https://codesandbox.io/s/swiper-angular-example-forked-hb8ypr?file=/package.json
works for me

https://codesandbox.io/s/swiper-angular-example-forked-hb8ypr?file=/package.json
works for me

Hi vltansky,
Can you open the rendered page in new chrome tab?
Thank you.

Hi there,
I will close this issue since I don't see it anymore.
Just realise I need to add this to src/styles.css in order to make it work in my local app.
@import "~swiper/swiper-bundle.css";
body,
html {
padding: 0;
margin: 0;
position: relative;
height: 100%;
}
.swiper {
width: 100%;
height: 300px;
margin: 50px auto;
}
.swiper-slide {
background: #f1f1f1;
color: #000;
text-align: center;
line-height: 300px;
}
Thank you.
Best Regards,
Woo Zhan Wei


link checker: fix issues

[ ] does not work on mac (sed is using some -r which is GNU-specific)
[ ] does not print file names issue is found - https://circleci.com/gh/iterative/dvc.org/2592
[ ] requires to be run from the root, it easy to make it run from any directory

Don't have a Mac so not sure how I can test
Right now it's a little hard to link the issue to the file name; possible with a little bit of scripting but is it that important? As of now the broken link(s) on the PR diff are printed and it's easy for the PR creator to find the links.
Easy to fix run from any dir

I think we need to rely on POSIX sed - https://riptutorial.com/sed/topic/9436/bsd-macos-sed-vs--gnu-sed-vs--the-posix-sed-specification
The problem that I was not able to find the link to fix from the CI output
👍

ergh. What about sed -E instead of sed -r? echo '[md](/rel)' | sed -E 's/.*]\((\/[^)[:space:]]+).*/\1/' should print /rel...
which links couldn't you find? https://patch-diff.githubusercontent.com/raw/iterative/dvc.org/pull/1025 diff has both https://dvc.org/img/
and https://github.com/iterative/dvc.org/blob/master/сontent$

Yep! -E prints /rel for me
Ok. I see it now - https://dvc.org/img/<filename>.gif - was not obvious that that is the one.

Actually, still not sure:
-https://dvc.org/static/img/<filename>.gif
+https://dvc.org/img/<filename>.gif

we already have this - and it didn't help. Am I still missing the link?

Yes I saw that and was re-running a full test locally... actually
+https://dvc.org/img/<filename>.gif

isn't needed at all. Maybe there were some intermediate commits where it was needed? Right now I'm getting no errors locally even when removing that exclusion...

so, what was the issue with the https://dvc.org/img/ then? was it about that link or something else?

Probably a particular commit? Note sure and probably not worth debugging - better to wait for it to happen again.


Feature request: Upload a folder to S3

New Issue Checklist

[X] Updated fastlane to the latest version
[X] I have read the Contribution Guidelines

Issue Description
It would be great to have an action all the content of a folder so S3.
The current S3 action is great for a specific workflow. For others, maybe it's not optimal, e.g. uploading anything else than the pre-defined settings (https://github.com/fastlane/fastlane/issues/3696)
Also, S3 is great in most of the cases. For some specific cases, there may be some tweaks to do, e.g. having a subdomain with dots in it (https://github.com/aws/aws-sdk-ruby/issues/510)
So having a generic "upload folder to S3" could be useful to use S3 with nearly any workflow, e.g. uploading a deployment folder identified with the bundle version but also uploading the same deployment folder to a /latest URL. For OTA webpages, this simplify the upload of resources (css, images) that can change on a per-build basis (e.g. badging the icon)
btw, I'm preparing a PR for this issue :)

HI @teriiehina Thanks for reaching out. We have already addressed this FR in #4178
"Thanks for submitting this issue. You're right, currently the s3 action is limited to ipa files with their plist files, which will not change in the future. I'd recommend taking a look at the aws-sdk provided by Amazon and building your own script to fit your needs.
You should be up and running in no time. I'd recommend building this as its own action using fastlane new_action, so it's better reusable and properly structured. Once that's done, you can submit to fastlane via a PR if you want to share it with the rest of the community 👍
Let me know if we can help you with this"
Can you make sure you follow this approach in your PR, as a new action?
Thanks! 👍

Hi @TKBurner,
Using the aws-sdk, creating a new action using fastlane new_action and trying to make the action as generic as possible is what I did in https://github.com/fastlane/fastlane/pull/4672.
Did I miss something out ? Should I refer to https://github.com/fastlane/fastlane/issues/4178 in the PR as well ?
Regards

Thanks for following up. Didn't realize #4672 was a PR. We'll work with you on this PR but can't guarantee how fast we'll be able to prioritize it. The most successful PRs have good test coverage and update our docs.
Thanks! 👍

no problem. Thank you.

Hi @TKBurner,
just updated the PR https://github.com/fastlane/fastlane/pull/4672 with some specs, based on what the already existing S3 action is doing.
IMHO, documentation should be fine as the action in itself is very simple.
Finally, sorry for the push -f as I pulled fastlane/master and rebase my branch on it to prevent any merge conflict.
Please let me know if I can do anything else to help this PR to be accepted. We are already using this action internally, we think it could be useful to other people too.

@teriiehina Really happy to have you working with us on the new plugin system. I'm going to close this issue out but we'll be working with you on your PR. Hope that you have a great week! 👍


Unable to start bot

Expected Behavior
Just run
Actual Behavior
~/PokemonGo-Bot $ ./run.sh
2016-08-27 21:29:17,427 [       cli] [INFO] PokemonGO Bot v1.0
2016-08-27 21:29:17,469 [       cli] [INFO] commit: 5e2338802367c29f1bdb17dc409578ba6feeeb2c
2016-08-27 21:29:17,486 [       cli] [INFO] No auth argument specified, checking for /configs/auth.json
usage: pokecli.py [-h] [-cf CONFIG] [-af AUTH] -a AUTH_SERVICE [-u USERNAME]
                  [-ws WEBSOCKET.SERVER_URL]
                  [-wss WEBSOCKET.START_EMBEDDED_SERVER]
                  [-wsr WEBSOCKET.REMOTE_CONTROL] [-p PASSWORD] [-l LOCATION]
                  [-lc LOCATION_CACHE] [--forts.spin FORTS.SPIN]
                  [-wmax WALK_MAX] [-wmin WALK_MIN] [-k GMAPKEY]
                  [-e SHOW_EVENTS] [-d DEBUG] [-t TEST] [-du DISTANCE_UNIT]
                  [-rt RECONNECTING_TIMEOUT] [-hr HEALTH_RECORD]
                  [-ac FORTS.AVOID_CIRCLES] [-mcs FORTS.MAX_CIRCLE_SIZE]
                  [-crf FORTS.CACHE_RECENT_FORTS]
                  [--map_object_cache_time MAP_OBJECT_CACHE_TIME]
                  [--logging_color LOGGING_COLOR]
                  [--heartbeat_threshold HEARTBEAT_THRESHOLD]
                  [--pokemon_bag.show_at_start POKEMON_BAG.SHOW_AT_START]
                  [--pokemon_bag.show_count POKEMON_BAG.SHOW_COUNT]
                  [--pokemon_bag.show_candies POKEMON_BAG.SHOW_CANDIES]
                  [--pokemon_bag.pokemon_info POKEMON_BAG.POKEMON_INFO]
                  [--alt_min ALT_MIN] [--alt_max ALT_MAX]
                  [--replicate_gps_xy_noise REPLICATE_GPS_XY_NOISE]
                  [--replicate_gps_z_noise REPLICATE_GPS_Z_NOISE]
                  [--gps_xy_noise_range GPS_XY_NOISE_RANGE]
                  [--gps_z_noise_range GPS_Z_NOISE_RANGE]
                  [--gps_default_altitude GPS_DEFAULT_ALTITUDE]
                  [--enable_social ENABLE_SOCIAL]
                  [--walker_limit_output WALKER_LIMIT_OUTPUT]
pokecli.py: error: argument -a/--auth_service is required
Sat Aug 27 21:29:17 EEST 2016 Pokebot  Stopped.
Press any button or wait 20 seconds to continue.

Your FULL config.json (remove your username, password, gmapkey and any other private info)
I have both configs/config.json and configs/auth.json as generated by ./setup.sh -i
Steps to Reproduce

Other Information
OS: Ubuntu
Branch: dev
Git Commit: 5e2338802367c29f1bdb17dc409578ba6feeeb2c

do python pokecli.py -af configs/config.json for now
there is a PR for the fix.

I just saw the pr #4814. It works.


From 2018 team post-mortem: Code duplication between student workspace and grader workspace frontend components

Can anyone comment on this?

Need more info.

@thomastanck : Do you remember what this is about?

Oh i understand. The source code is very similar for AssessmentWorkspace and GradingWorkspace. This violates DRY and is very troublesome to maintain.

Yes, thats right. I think one of the previous maintainers was the one who brought this up

On 7 Jul 2019, at 19:48, Shuming<EMAIL_ADDRESS>wrote:
Oh i understand. The source code is very similar for AssessmentWorkspace and GradingWorkspace. This violates DRY and is very troublesome to maintain.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Duplicate of #229

Closing in favour of #1555 (duplicate).


Update System Requirements

Hi pastapojken!
In the list of requirements you didn't list "sponge".  Purely cosmetic i know, but thought people might want to install so they don't see error messages about sponge not being found when running the scripts.
On Ubuntu "sponge" can be installed with the moreutils package (apt install moreutils).
Thanks!

Hi!
Thanks for noticing that, it has been fixed :)


Stuck in loop

Im stuck on this loop:
  while ($runningHandles && $execReturnValue == CURLM_OK) {
        $numberReady = curl_multi_select($mh);
        if ($numberReady != -1) {
          do {
            $execReturnValue = c;url_multi_exec($mh, $runningHandles);
          } while ($execReturnValue == CURLM_CALL_MULTI_PERFORM);
        }
      }

$execReturnValue is still equal to CURLM_OK, i have CURL installed.

I finally had occasion to look into this. You're right, I found a server that had the same problem you saw. I resolved it a bit differently. See this commit:
https://github.com/CNG/ForecastTools/commit/d430e454c106da70d4d813fabdc9b548c8c0b739
Thank you for reporting!


how to remove underline ?

I was wondering how to remove the underline in ios ? I can change the color to transparent but that makes the label color transparent too.

You can use properties of react-native-material-textfield and TextInput.


Playback speed problem

Hello.
Thanks for the nice library, but there is a problem with it.
I generated a .mid file according to your instructions. Then I try to play the recording using AVMIDIPlayer.
For some reason the recorded midi is played at double speed.
If I set AVMIDIPlayer.rate = 0.5, then it sounds like normal.
Could you help me with problem? Maybe I'm generating the midi incorrectly?

I agree, great library. It seems the default bpm is 60 but is playing back at 120 when you import it. I'm seeing this behaviour when I create a new midiData object from scratch. But I haven't figured out yet how to change the midi files BPM to 60 (or any other tempo) by default so a player knows what the bpm should be.

I just read today that 120 is the default speed for MIDI files that don't provide a tempo, so perhaps it has something to do with that.


Change ByteStream.Reader to keep backend methods segregated.

These methods will now be segregated into a new
ByteStream.Reader.Private struct which can be held privately by whatever data source is writing content into the read stream.
For many data sources, it will not be safe to have these "backend" methods exposed for public usage, so this new approach gives them the opportunity to hold the backend privately, such that they can guarantee no interference and use that guarantee as part of their safety plan for FFI pointer usage.
Many methods were marked as DEPRECATED as part of this refactor, and they will be removed later after library users have updated.
See individual DEPRECATED annotations for more information about how to refactor downstream code to avoid deprecated use sites.

@mneumann - FYI, you likely want to check out the DEPRECATED notices in this PR in the context of your MQTT library.


Disabling undo, redo

Hello, is there a way to disable the undo, redo functions due to the inability to manage them? (v3)

What do you mean by "inability to manage them"? I guess we can incorporate that in the next release

I think you can use ignoreHistory.
just like below example.
line 31>>table.ignoreHistory = true;
https://jsfiddle.net/tsepakkwan/tqhxuwpd/

Hello, is there a way to disable the undo, redo functions due to the inability to manage them? (v3)

What do you mean by "inability to manage them"? I guess we can incorporate that in the next release

In my case, after creating the table, I set the comments for the cells, which shouldn't be editable, but it can be deleted simply by pressing "ctrl+z".

I think you can use ignoreHistory.
just like below example.
line 31>>table.ignoreHistory = true;
https://jsfiddle.net/tsepakkwan/tqhxuwpd/

Hello, is there a way to disable the undo, redo functions due to the inability to manage them? (v3)

I tried your way, thanks, but unfortunately, it doesn't work, comments are still deleted by "ctrl+z"

I think you can use ignoreHistory.
just like below example.
line 31>>table.ignoreHistory = true;
https://jsfiddle.net/tsepakkwan/tqhxuwpd/

@TsePakKwan
I tried your way, thanks, but unfortunately, it doesn't work, comments are still deleted by "ctrl+z"

@ilyamarinov
Can you create a jsfiddle example?

I think you can use ignoreHistory.
just like below example.
line 31>>table.ignoreHistory = true;
https://jsfiddle.net/tsepakkwan/tqhxuwpd/

@TsePakKwan
I tried your way, thanks, but unfortunately, it doesn't work, comments are still deleted by "ctrl+z"

@ilyamarinov
Can you create a jsfiddle example?

@TsePakKwan
My bad, thanks a lot!) It works, I just set the comments after disabling the property.


Fix the problem of data race in the remote disk server and remote disk client mode

fixed by #6 #7


Get project to properly lint.

I got most of this project linting in PR #15, but there are two remaining issues with it.

The minified linkify code in src/jquery.twitter.js barfs.

The unit tests fail lint miserably because "'equals' is not defined.".

Any ideas @rwldrn, @iros, @ajpiano?

@rwldrn fixed the first issue by including linkify source in the project, and the second issue, too, apparently.


[WIP] Fix update bug in MultiNodeOptimizer

When a new layer is added to a model dynamically, its parameters needs to be sent all nodes.
But, the current MultiNodeOptimizer only sends model parameters first once.
Therefore, I fixed MultinodeOptimizer to send parameters all nodes when a model is changed.

I assume that it is fine, but, for safety, I would like to see some empirical evidence that this change does not affect the performance. I'm concerning the cost for many string comparison. (In case, my one suggestion to cope with that potential performance issue is to directly compare the IDs of string objects to avoid string comparison.)

Ok, I check its performance.

I measured the computing time of is_change which is the function checks if a model has not been modified.
I used ResNet50 as model and repeatedly measured it 100 times. I used 2 nodes in MN-1 for the evaluation. The result is following.
                 Mean    Median  Min     Max
                 (sec.)  (sec.)  (sec.)  (sec.)
is_change only   0.0002  0.0002  0.0002  0.0003

In addition, I also measured the computing time of is_change and allreduce of PureNcclCommunicator with ResNet50.
The result is following.
The computing time of is_change + allreduce
                 Mean    Median  Min     Max
                 (sec.)  (sec.)  (sec.)  (sec.)
1 GPU            0.0045  0.0042  0.0041  0.0076
2 GPUs           0.0137  0.0136  0.0129  0.0171
4 GPUs           0.0174  0.0174  0.0170  0.0185
8 GPUs           0.0263  0.0258  0.0253  0.0326
16 GPUs          0.0324  0.0322  0.0315  0.0350

The computing time of allreduce only
                 Mean    Median  Min     Max
                 (sec.)  (sec.)  (sec.)  (sec.)
1 GPU            0.0038  0.0038  0.0038  0.0041
2 GPUs           0.0134  0.0134  0.0126  0.0163
4 GPUs           0.0172  0.0171  0.0167  0.0187
8 GPUs           0.0256  0.0254  0.0251  0.0306
16 GPUs          0.0319  0.0317  0.0313  0.0339

For the results, the impacts of the function is very small.

Great, thank you for the detailed evaluation! LGTM


Ensure dependencies are discoverable by BackYourStack

Observed behaviour
https://backyourstack.com/googlefonts/repositories doesn't show any dependencies detected for most projects in the gf org except the Korean minisite.
Expected behaviour
https://backyourstack.com/googlefonts/repositories should show the fontbakery dependencies.

It currently detects dependencies from:

JavaScript (NPM)
PHP (Composer)
.NET (Nuget)
Go (dep)
Ruby (Gem)

But not yet Python.

Haha well this is definitely a someday maybe thing 😉


"helm3-library" partner chart error while upgrading

What kind of request is this (question/bug/enhancement/feature request):
bug
Describe the bug:
While testing this issue. Alcide and aws-event-sources partner charts are throwing error on chart "upgrade" option in rancher v2.6.3-rc1
Rancher Installation option (Docker install/Helm Chart): Docker
Steps to reproduce:

Deploy rancher v2.6.2 and enable legacy feature.(from side-panel -> Global Settings -> Feature Flags -> enable legacy)
Create 1.21.6 downstream k8s cluster.
Deploy alcide and aws-event-sources partner chart from helm3 catalog (Under Multi-cluster Apps section) on downstream cluster.
Upgrade rancher to v2.6.3-rc1.
Both the partner charts are present under Multi-Cluster Apps section but when I am trying to upgrade chart by going to "Upgrade" option, getting this error: Cannot read property 'match' of undefined Reload to try again or log out (attached ss)

Expected result : Should be able to upgrade chart from the UI

The page where you upgrade that Helm chart is making an API call to this URL:
<rancher-server-url>/v3/templates/cattle-global-data:helm3-library-alcide-advisor-cronjob?clusterName=undefined

In Rancher v2.6.2, the response to that API call includes this property versionLinks:
"versionLinks":{
      "2.1.0":"https://<IP_ADDRESS>/v3/templateVersions/cattle-global-data:helm3-library-alcide-advisor-cronjob-2.1.0"
   }

But in v2.6.3-rc1, the response to that API call returns an empty object for versionLinks, and that is where it breaks:
"versionLinks":{}

I'll see if there's a way to make it say "there are no compatible versions to upgrade to" or something to that effect.

I am running into same error while upgrading non-partner charts form helm3-library catalog. Please see the below details:
Describe the bug:
While testing this issue. Non-partner charts are throwing error on chart "upgrade" option in rancher v2.6.3-rc2
Rancher Installation option (Docker install/Helm Chart): Docker
Steps to reproduce:

Deploy rancher v2.6.2 and enable legacy feature.(from side-panel -> Global Settings -> Feature Flags -> enable legacy)
Create 1.21.6 downstream k8s cluster.
Deploy mariadb non-partner chart from helm3-library catalog (Under Multi-cluster Apps section) on downstream cluster.
Upgrade rancher to v2.6.3-rc2.
mariadb non-partner charts is present under Multi-Cluster Apps section but when I am trying to upgrade chart by going to "Upgrade" option, getting this error: Cannot read property 'match' of undefined Reload to try again or log out. (attached ss)

This PR https://github.com/rancher/dashboard/issues/4627 makes it so that if you have a legacy multicluster app where the max Rancher version is v2.6.2, then you upgrade Rancher to v2.6.3, then try to upgrade the app, you can at least see the upgrade form now. Previously it was just erroring out.
But now if you make a change to the app template and click upgrade, you get an error from the back end saying the version is incompatible. I think this means the back end needs another change to allow legacy apps to be updated even if their chart version is incompatible with Rancher.

I closed my PR addressing this issue because it was a stopgap measure, whereas this issue is tracking the work of solving the same problem in a better way and it's also in v2.6.3.  https://github.com/rancher/rancher/issues/35680. When that work is done, I believe no UI work would be needed to address this issue.

This issue seems fully addressed by https://github.com/rancher/rancher/pull/35711 and I believe no UI work is necessary. I did the same steps in v2.6-head and it worked.

Verified on rancher v2.6-head (e62e1ae)
Rancher Installation option (Docker install/Helm Chart): Docker
Validation steps:

Deployed rancher v2.6.2 and enabled legacy feature.(from side-panel -> Global Settings -> Feature Flags -> enable legacy)
Created a 1.21.6 downstream k8s cluster.
Deployed alcide and aws-event-sources partner chart and mariadb non-partner chart from helm3 catalog (Under Multi-cluster Apps section) on a downstream cluster.
Upgraded rancher to v2.6-head (e62e1ae).
Upgraded the charts from multicluster app section. Error page is NOT coming up and charts can be successfully upgraded.

Result:

Charts can be upgraded from multicluster app section. Working as expected.


Common reducers formulas

Now that reducers are only functions, I wonder if we could abstract certain patterns to do some common reducing operation (say, CRUD (well the R would be a getter :P)) and create a repo, wiki, (generator?) or something that would contain (and explain) them so that we don't have to reinvent the wheel every time :). It could be as specific or vague as one would want it to be, i.e., it could include any of the following: a reducer, actions, (containers), etc. with their tests.
If there's enough interest I can start drafting some...

We need to popularize the idea of higher-order reducers. These are reducers that take your existing reducers, but amend them with some stock functionality (pagination, todo/redo, etc).
Like HOCs, but for reducers :-)

Sounds like a plan! :)
On Wed, 24 Jun 2015 14:38 Dan Abramov<EMAIL_ADDRESS>wrote:

We need to popularize the idea of higher-order reducers. These are
reducers that take your existing reducers, but amend them with some stock
functionality (pagination, todo/redo, etc).
Like HOCs, but for reducers :-)
—
Reply to this email directly or view it on GitHub
https://github.com/gaearon/redux/issues/162#issuecomment-114870958.

Oh wait.. These are transducers aren't they

Closing in favor of #176