Error while building armnn

I'm following this guide to build armnn after compiling protobuf and flatbuffers. I'm running the following
cmake .. -DARMCOMPUTE_ROOT=$BASEDIR/ComputeLibrary -DARMCOMPUTE_BUILD_DIR=$BASEDIR/ComputeLibrary/build -DTF_GENERATED_SOURCES=$BASEDIR/protobuf-host -DBUILD_TF_LITE_PARSER=1 -DTF_LITE_GENERATED_PATH=$BASEDIR/tensorflow/tensorflow/lite/schema -DFLATBUFFERS_ROOT=$BASEDIR/flatbuffers -DFLATC_DIR=$BASEDIR/flatbuffers-1.12.0/build -DARMCOMPUTENEON=1 -DARMCOMPUTECL=1 -DARMNNREF=1

And here's the error that I'm facing:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/khadas/armnn-dist/armnn/FLATBUFFERS_INCLUDE_PATH
   used as include directory in directory /home/khadas/armnn-dist/armnn

Full trace of errors
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Finding Boost
CMake Warning at cmake/modules/FindBoost.cmake:577 (message):
  Imported targets and dependency information not available for Boost version
  (all versions older than 1.33)
Call Stack (most recent call first):
  cmake/modules/FindBoost.cmake:963 (_Boost_COMPONENT_DEPENDENCIES)
  cmake/modules/FindBoost.cmake:1622 (_Boost_MISSING_DEPENDENCIES)
  cmake/GlobalConfig.cmake:140 (find_package)
  CMakeLists.txt:17 (include)

CMake Error at cmake/modules/FindBoost.cmake:2048 (message):
  Unable to find the requested Boost libraries.

  Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  Boost's headers.
Call Stack (most recent call first):
  cmake/GlobalConfig.cmake:140 (find_package)
  CMakeLists.txt:17 (include)

-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Flatbuffers headers are located at: FLATBUFFERS_INCLUDE_PATH-NOTFOUND
-- Flatbuffers library located at: FLATBUFFERS_LIBRARY-NOTFOUND
-- Tf Lite generated header found at: /home/khadas/armnn-dist/tensorflow/tensorflow/lite/schema
-- Looking for valgrind/memcheck.h
-- Looking for valgrind/memcheck.h - not found
-- Caffe parser support is disabled
-- Tensorflow parser support is disabled
-- Armnn Serializer support is disabled
-- ArmNN Quantizer support is disabled
-- PyArmNN wheel package is disabled
-- PyArmNN source package is disabled
-- Including backend common library into the build: /home/khadas/armnn-dist/armnn/src/backends/aclCommon/common.cmake
-- Including backend common library into the build: /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/common.cmake
-- Including backend into the build: /home/khadas/armnn-dist/armnn/src/backends/cl/backend.cmake
-- Including backend into the build: /home/khadas/armnn-dist/armnn/src/backends/neon/backend.cmake
-- Including backend into the build: /home/khadas/armnn-dist/armnn/src/backends/reference/backend.cmake
-- Adding object library dependency to armnn: armnnAclCommon
-- Adding object library dependency to armnn: armnnBackendsCommon
-- Adding object library dependency to armnn: armnnClBackend
-- Adding object library dependency to armnn: armnnClBackendWorkloads
-- Adding object library dependency to armnn: armnnNeonBackend
-- Adding object library dependency to armnn: armnnNeonBackendWorkloads
-- Adding object library dependency to armnn: armnnRefBackend
-- Adding object library dependency to armnn: armnnRefBackendWorkloads
-- Adding object library dependency to UnitTests: armnnAclCommonUnitTests
-- Adding object library dependency to UnitTests: armnnBackendsCommonUnitTests
-- Adding object library dependency to UnitTests: armnnClBackendUnitTests
-- Adding object library dependency to UnitTests: armnnNeonBackendUnitTests
-- Adding object library dependency to UnitTests: armnnRefBackendUnitTests
-- CMAKE_CURRENT_LIST_DIR /home/khadas/armnn-dist/armnn
-- CMAKE_CURRENT_BINARY_DIR /home/khadas/armnn-dist/armnn/build
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/khadas/armnn-dist/armnn/FLATBUFFERS_INCLUDE_PATH
   used as include directory in directory /home/khadas/armnn-dist/armnn
Boost_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn
   used as include directory in directory /home/khadas/armnn-dist/armnn/samples
   used as include directory in directory /home/khadas/armnn-dist/armnn/samples
   used as include directory in directory /home/khadas/armnn-dist/armnn/samples
   used as include directory in directory /home/khadas/armnn-dist/armnn/samples
   used as include directory in directory /home/khadas/armnn-dist/armnn/samples
   used as include directory in directory /home/khadas/armnn-dist/armnn/samples
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnSerializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnSerializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnSerializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnSerializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnSerializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnSerializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnDeserializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnDeserializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnDeserializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnDeserializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnDeserializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnDeserializer
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/aclCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/cl/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/neon/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/workloads
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/reference/test
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/dynamic/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/dynamic/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/dynamic/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/dynamic/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/dynamic/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/dynamic/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/backends/dynamic/reference
   used as include directory in directory /home/khadas/armnn-dist/armnn/third-party/fmt
   used as include directory in directory /home/khadas/armnn-dist/armnn/third-party/fmt
   used as include directory in directory /home/khadas/armnn-dist/armnn/third-party/fmt
   used as include directory in directory /home/khadas/armnn-dist/armnn/third-party/fmt
   used as include directory in directory /home/khadas/armnn-dist/armnn/third-party/fmt
   used as include directory in directory /home/khadas/armnn-dist/armnn/third-party/fmt
   used as include directory in directory /home/khadas/armnn-dist/armnn/third-party/fmt
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/basePipeServer
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/basePipeServer
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/basePipeServer
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/basePipeServer
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/basePipeServer
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/basePipeServer
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/basePipeServer
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/server/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/common/src
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/common/src
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/common/src
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/common/src
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/common/src
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/common/src
   used as include directory in directory /home/khadas/armnn-dist/armnn/profiling/common/src
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/timelineDecoder
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/timelineDecoder
FLATBUFFERS_INCLUDE_PATH
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
   used as include directory in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
FLATBUFFERS_LIBRARY_DEBUG
    linked by target "armnnTfLiteParser" in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
FLATBUFFERS_LIBRARY_RELEASE
    linked by target "armnnTfLiteParser" in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser

-- Configuring incomplete, errors occurred!
See also "/home/khadas/armnn-dist/armnn/build/CMakeFiles/CMakeOutput.log".
See also "/home/khadas/armnn-dist/armnn/build/CMakeFiles/CMakeError.log".

Hi @saswat0,
Could you please share the versions of the ArmNN and ACL you are building? Also could you confirm that "FLATBUFFERS_ROOT=$BASEDIR/flatbuffers" exist?
I can see in the cmake log that Boost is still there, but it is now removed from Arm NN completely on v21.08.
Best Regards,
Sadik

For both armnn and ACL, I'm in the master branch. So I guess I'm in the latest version for both of these
I had indeed used a wrong path for flatbuffers. I renamed the folder and re-ran the following snippet

But now I'm facing this error
-- Flatbuffers headers are located at: /home/khadas/armnn-dist/flatbuffers-1.12.0/include
-- Flatbuffers library located at: FLATBUFFERS_LIBRARY-NOTFOUND
-- Tf Lite generated header found at: /home/khadas/armnn-dist/tensorflow/tensorflow/lite/schema
-- Flatbuffers headers are located at: /home/khadas/armnn-dist/flatbuffers-1.12.0/include
-- Flatbuffers library located at: FLATBUFFERS_LIBRARY-NOTFOUND
-- Armnn Serializer support is disabled
-- PyArmNN wheel package is disabled
-- PyArmNN source package is disabled
-- TENSORFLOW_ROOT: /home/khadas/armnn-dist/armnn/../tensorflow
-- Including backend common library into the build: /home/khadas/armnn-dist/armnn/src/backends/aclCommon/common.cmake
-- Including backend common library into the build: /home/khadas/armnn-dist/armnn/src/backends/backendsCommon/common.cmake
-- Including backend into the build: /home/khadas/armnn-dist/armnn/src/backends/cl/backend.cmake
-- Including backend into the build: /home/khadas/armnn-dist/armnn/src/backends/neon/backend.cmake
-- Including backend into the build: /home/khadas/armnn-dist/armnn/src/backends/reference/backend.cmake
-- Adding object library dependency to armnn: armnnAclCommon
-- Adding object library dependency to armnn: armnnBackendsCommon
-- Adding object library dependency to armnn: armnnMemoryOptimizationStrategies
-- Adding object library dependency to armnn: armnnClBackend
-- Adding object library dependency to armnn: armnnClBackendWorkloads
-- Adding object library dependency to armnn: armnnNeonBackend
-- Adding object library dependency to armnn: armnnNeonBackendWorkloads
-- Adding object library dependency to armnn: armnnRefBackend
-- Adding object library dependency to armnn: armnnRefBackendWorkloads
-- Adding object library dependency to UnitTests: armnnAclCommonUnitTests
-- Adding object library dependency to UnitTests: armnnBackendsCommonUnitTests
-- Adding object library dependency to UnitTests: armnnMemoryOptimizationStrategiesUnitTests
-- Adding object library dependency to UnitTests: armnnClBackendUnitTests
-- Adding object library dependency to UnitTests: armnnNeonBackendUnitTests
-- Adding object library dependency to UnitTests: armnnRefBackendUnitTests
-- CMAKE_CURRENT_LIST_DIR /home/khadas/armnn-dist/armnn
-- CMAKE_CURRENT_BINARY_DIR /home/khadas/armnn-dist/armnn/build
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FLATBUFFERS_LIBRARY_DEBUG
    linked by target "armnnTfLiteParser" in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser
FLATBUFFERS_LIBRARY_RELEASE
    linked by target "armnnTfLiteParser" in directory /home/khadas/armnn-dist/armnn/src/armnnTfLiteParser

-- Configuring incomplete, errors occurred!
See also "/home/khadas/armnn-dist/armnn/build/CMakeFiles/CMakeOutput.log".
See also "/home/khadas/armnn-dist/armnn/build/CMakeFiles/CMakeError.log".

Attaching cmake log files for better clarity
CMakeError.log
CMakeOutput.log

Closing this issue as the official guide misses make install after the build stage. Hence the built files weren't placed in the necessary path

You're correct, that is an error in our guide. Thank you for reporting this.
James


Mentions not working with V4 anymore?

Hi there,
I'm using the BotFramwork V4 Preview with the Emulator V4 Preview.
I remember being able to get something filled into the mentions list with V3, when I adressed the bot with @foobot in the emulator. I didn't find any resources or hints in the source code of the emulator, that this is somehow possible - was this removed? Is there no way to get a mention anymore?

Facing same issue in Bot Emulator version 4.2.1.
Please correct me If I am wrong. I am assuming we don't need to do any settings in Bot Emulator to support mention (@).

Channel support for channel-specific mentions is something we are considering down the road in future releases.


Backport to 1.14

This is based off of #4 with small changes to support 1.14, which uses a slightly different system for polling GLFW events compared to 1.15+.
This should be merged into a new branch named fabric-1.14.
Here is a compiled JAR file for Curseforge: Mc122477Fix-fabric-1.1.0+mc1.14.jar

I'll create the 1.14 brach for you to rebase onto once pr 4 is merged.

Please cherrypick eb9a9c5.

Done!


fix:scrolling and state

Summary by Sourcery
Fix the referral banner's visibility logic by using a referral URI and local storage to control its display, and adjust the scroll-based visibility threshold to 10%.
Bug Fixes:

Fix the visibility logic of the referral banner to ensure it is displayed based on the presence of a referral URI and not on scroll position.

Enhancements:

Improve the referral banner's visibility control by introducing a state that checks local storage for a closed banner status.
Refactor the banner's scroll-based visibility logic to hide the banner when the user scrolls past 10% of the page instead of 80%.

Summary by CodeRabbit

New Features

Enhanced referral banner logic to improve visibility based on user interactions.
Introduced a new prop for the referral banner component to control its visibility from parent components.

Bug Fixes

Adjusted the scroll threshold for hiding the referral banner, improving user experience during scrolling.

Refactor

Simplified the logic for displaying the referral banner by removing reliance on URL parameters.
Improved button properties for better visual consistency and maintainability.

 [Bitlauncher] Create User Referred On Bitlauncher Banner


Issues sending an email with an image in the body

Hello,
I want to send an email with an image in the body. I can't seem to find any documentation on how to accomplish this. If there is any documentation where would I find it?  I tried sending both the file itself from where it is stored on my computer in the email and in a base64 format, neither have worked.
Any direction would be greatly appreciated .
Thank you!
Here is my code
function congratulationsTemplate(message){
  // This line grabs the image I have stored in an uploads folder inside my directory
 // This approach isn't working and I tried sending it in a base64 format and that isn't working either.
  var image = path.join(__dirname, "../uploads/"+message.file).toString();
  var data ={
    from:'',
    to:'',
    subject: message.title,
    html: "
Hello World

Here is an image:

",
    attachment: image
  };

  mailgun.messages().send(data, function (error, body) {
    if(error) throw error;
    console.log("Message Sent!");
  });
}

Hello,
That can be accomplished using the inline param. Here's all the relevant documentation:
http://bojand.github.io/mailgun-js/#/attach

Attachments can be sent using either the attachment or inline parameters. inline parameter can be use to send an attachment with inline disposition. It can be used to send inline images. Both types are supported with same mechanisms as described, we will just use attachment parameter in the documentation below but same stands for inline.

https://documentation.mailgun.com/en/latest/api-sending.html#sending
See inline param. REST example in the guide:
https://documentation.mailgun.com/en/latest/user_manual.html#sending-via-api
And here's sample code in the tests:
https://github.com/bojand/mailgun-js/blob/master/test/mailgun.test.js#L190
var msg = clone(fixture.message);
var filename = path.join(__dirname, '/mailgun_logo.png');

msg.inline = filename;

mailgun.messages().send(msg, function (err, body) {
  // ...
});

Thank you! This worked. It may help to edit this example to show people trying to add an inline image what the code should look like in the html key.
For example
var filename = path.join(__dirname, '/mailgun_logo.png');
var data ={
from: ...,
to: ...,
subject: ...,
html: '

Thank you for choosing Mailgun!

';
inline:filename
}

For anyone using inline, it is necessary to add rb as a parameter to the constrctor in files=[("inline", open("files/test.jpg"))]. There is an error in the documentation:
https://documentation.mailgun.com/en/latest/user_manual.html?highlight=inline%20images#sending-via-api
Please, check it here for the solution:
https://github.com/mailgun/documentation/issues/280

please example for how to add rb

Based on the discussion above, I tried adding an image inline as follows:
var data = {
    from: '...',
    to: '...',
    subject: '...',
    text: `...`
  };
  var filename = request("https://raw.githubusercontent.com/vadbut/misc_stuff/master/logo3_face_footer.jpg");
  data.inline = filename;

  mailgun.messages().send(data, function (error, body) {
    console.log(body);
  });

However, the image arrives in attached.
What did I miss?

@vadbut did you add the cid of the image in the template ?


Un-signed-in applicant is upsold to create account after they submit form

Looks like Nathan's new PR got this: #1159


[Issue NexClipper#68] - Add shortcut information for recognize the contents existed or not on the list

Overview

Something to discuss

[x] I don't know where to put the new mark in the header. So I commented out this part.
[x] It was ambiguous to divide the criteria because each exporters has differnt types of contents.
This issue will be resolved after talking with @kdh92417

Please remove the E character. it's no need anymore :)
Thanks @Joylish

Thanks for the comment of @ralfyang
Edited to reflect your comments

Thanks @Joylish ! I just check this out in my dev env. :)

when I test this commit in my dev. env. it's not working with the landing page screen as below

Sub-page working normally as below

I just attached screen capture for check the latency issue

I just attached screen capture for check the latency issue

Thanks to comment, @ralfyang
I think the latency problem is related to getting data from the api server and forwarding it.
To make the contents shortcut of the exporter this time, when the server gives each exporter information, contents information is added to the existing information.
Let's talk him about the delay problem. @kdh92417

when I test this commit in my dev. env. it's not working with the landing page screen as below

Sub-page working normally as below

Please check this issue out. Thanks :) @Joylish

thx comment to @ralfyang
Please check after running server of python~~!!ㅎㅎ

Dear @ralfyang ,
Now solve the problem you suggested🤣
check plz~~
After edited in mobile view

@Joylish Thank you! let me check and merge this! :)

When I checked this commit for test, the page is noting show up as below capture.

When I checked this commit for test, the page is noting show up as below capture.

Did you run the django server? I think you didn't run server

Now, we have a lot of updates. due to the code conflict issue, this PR will be close without Merge.  @Joylish
Please open a new PR after the source code update. Thanks :)


Make launch provider more robust

Addresses https://github.com/dotnet/roslyn-project-system/issues/495
Addresses VS feedback bug https://vsfeedback/comment/803555
Added a task executer which guarantees scheduled tasks are run in sequence.
Changed the saving code in launchsettingsprovider.cs to use this scheduler.

Given this area is not familiar to me, can you provide a quick overview on the underlying cause?

Most of  the issues are outlined in the issue, https://github.com/dotnet/roslyn-project-system/issues/495 but the main problem is that updates to profiles are asynchronous. They can come from changes to the disk, and programmatically from VS when it attempts to add default profiles.  In the customer bug, programmatic changes where VS is adding the IIS Express profile were occurring at the same time as the initialize load of profiles from disk.
By using the "task sequencer" to process all changes it ensures that every change is atomic and will not be interleaved.


onStyleLoad for gathering map ref is not reliable

There are edge cases where styleLoad is not being fired
For example, adding a WMTS source that returns 404. The onStyleLoad will never fire.
Among being weird for mapboxgl, relying on that event for getting map instance is not sufficient. I personally need the map sooner. Thinking of it, actually, waiting for the map being, kinda, "ready" to expose the instance is restrictive and not very consistent for a wrapper.
Maybe something like a ref= callback in react would be great.

I agree, a mapRef Prop on the component would be very useful for advanced uses.
@alex3165 would you be open to a PR adding this feature?

@renchap I'm not Alex but I'd say a PR would be welcome indeed 🙂

Hi there, just stumbled on this issue myself, (need map instance, but onStyleLoad isn't firing for me), and I was wondering since this thread is rather old, if there have been any alternatives for this, since no PR seems to have happened here. Thanks!

Hi,
I am using https://github.com/amaurymartiny/react-mapbox-gl-draw in conjunction with react-mapbox-gl in which I need to access the map instance from within a defined "onDrawCreate" event. However, I've tried different ways and have been exhausted all the options. If anyone knows of a solution I would appreciate any help or suggestions.
Thanks!


blog 5 fig fix

Fixed last 3 figures in blog 5 and made them interactive

Figures that were affected:

@browkin
The graph x-axis covers the years 2020, 2021 and 2022 however the labels do not include the year, so they are unclear.
Could you add the year to the axis labels?

@MikeMcC399 We will have a look at this.

@MikeMcC399 Thanks for testing. We will address the x-axis issue in another PR.

@dsarkar
Thanks for letting me know that the x-axis issue will be looked at!


access docker daemon credentials

Quick question: can I access the credentials needed by docker-py thru this API? I like tutums launching APIs, but am locked into docker-py for some parts of my project. If I can get the TLS connection details from python-tutum I can use both projects

Hi @hamiltont
Right now, it is not possible to get TLS certificate to connect to docker daemon through Tutum api. But we do have a plan to provide a short-term certificate in some ways.

Where are the certificate files/settings stored? I have not seen this in the docs.

@arnaudsj
docker certificate is not supported yet. If you are asking the authentication of python-tutum and tutum-cli, tutum will try to use the following settings one by one:

environment variable TUTUM_AUTH
environment variable TUTUM_USER and TUTUM_APIKEY
~/.tutum, in the following format

[auth]
user=username
apikey=apikey


Exchange 2019?

Hi team,
I moved this from here: https://github.com/MicrosoftDocs/SCCMDocs.de-de/issues/4
@trudolf-msft commented 7 hours ago — with docs.microsoft.com
Is Exchange 2019 supported or not?

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

ID: f86d400f-d2a6-d50b-8d1f-18893af56d67
Version Independent ID: 793a7196-8549-329c-bad5-c6b33f466ae7
Content: Supported clients and devices - Configuration Manager
Content Source: sccm/core/plan-design/configs/supported-operating-systems-for-clients-and-devices.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @mestew
Microsoft Alias: mstewart

Hi @trudolf-msft, thanks for the question. That functionality isn't used very much anymore, so we haven't tested with new versions. It might still work. Since we haven't tested it, we don't officially support it, so there's nothing to add to the doc. I'm closing this issue.


Project.getRepo is deprecated.

Use ::getRepositories instead
Project.getRepo (/usr/share/atom/resources/app.asar/src/project.js:579:12)
Object.<anonymous> (/home/ivajo26/.atom/packages/git-control/lib/git.coffee:15:17)
Object.<anonymous> (/home/ivajo26/.atom/packages/git-control/lib/git.coffee:289:4)
Module._compile (module.js:452:26)
Object.requireCoffeeScript (/usr/share/atom/resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
Module.load (module.js:347:32)

It should have been fixed by 008fe7491bdeaaaf85bee4c17f8c08087ba8d68c , please update the package and if the issue persists tell us :+1:

Closed for now, feel free to reopen if the deprecation still exists somehow.


Remove environment-wasm-build.yml

Description
Please include a summary of changes, motivation and context for this PR.
This PR removes environment-wasm-build.yml from the ci and build wasm instructions.
Fixes # (issue)
Type of change
Please tick all options which are relevant.

[ ] Bug fix
[ ] New feature
[x] Added/removed dependencies
[x] Required documentation updates

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

Project coverage is 80.80%. Comparing base (a9ff145) to head (721004b).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #194   +/-   ##
=======================================
  Coverage   80.80%   80.80%
=======================================
  Files          19       19
  Lines         974      974
  Branches       93       93
=======================================
  Hits          787      787
  Misses        187      187


“A typical test file looks something like this” – what about shebang line?

https://docs.perl6.org/language/testing#Writing_tests:

A typical test file looks something like this:
use v6;
use Test;      # a Standard module included with Rakudo
use lib 'lib';

plan $num-tests;

# .... tests

done-testing;  # optional with 'plan'

Should it also have #!/usr/bin/env perl6 (or something else) on the first line?
I have some stats for you! I have cloned every repo in the ecosystem. Then, with a bit of magic, I got this:
  702 total                          ← couldn't clone 7 modules (709 modules in ecosystem)

  476 no shebang
   78 #!perl6
   68 #!/usr/bin/env perl6
   61 no tests                       ← :(
   11 can't decide                   ← different shebang lines in test files
    3 #!/usr/bin/perl6
    1 #!/usr/local/bin/perl6
    1 #! /usr/bin/env perl6
    1 #! /Users/damian/bin/rakudo*   ← oops
    1 #!perl6                        ← with trailing whitespace
    1 #! perl6

You can see lists of modules for every shebang here: https://gist.github.com/AlexDaniel/b5e15174c624f95ae50334ddd23f546f
Note that these stats do not show modules that have a shebang line in some files but not in others (they are shown as having one shebang). Also, there may be some false matches.
Um, so what's the conclusion?

A Perl test file (both in 5 and 6) is usually ran via a test harness rather
than as a stand alone script without a shebang line.  Neither is it usual
for most modules to have shebang lines.
S
On 3 September 2016 at 03:35, Aleks-Daniel Jakimenko-Aleksejev <
<EMAIL_ADDRESS>wrote:

https://docs.perl6.org/language/testing#Writing_tests:
A typical test file looks something like this:
use v6;use Test;      # a Standard module included with Rakudouse lib 'lib';
plan $num-tests;
.... tests
done-testing;  # optional with 'plan'
Should it also have #!/usr/bin/env perl6 (or something else) on the first
line?
I have some stats for you! I have cloned every repo in the ecosystem.
Then, with a bit of magic, I got this:
702 total                          ← couldn't clone 7 modules (709 modules in ecosystem)
476 no shebang
78 #!perl6
68 #!/usr/bin/env perl6
61 no tests                       ← :(
11 can't decide                   ← different shebang lines in test files
3 #!/usr/bin/perl6
1 #!/usr/local/bin/perl6
1 #! /usr/bin/env perl6
1 #! /Users/damian/bin/rakudo*   ← oops
1 #!perl6                        ← with trailing whitespace
1 #! perl6
You can see lists of modules for every shebang here:
https://gist.github.com/AlexDaniel/b5e15174c624f95ae50334ddd23f546f
Note that these stats do not show modules that have a shebang line in some
files but not in others. Also, there may be some false matches.
Um, so what's the conclusion?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/perl6/doc/issues/880, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEUuY_hufb-lDgT7R8XgfMChGvdC6ZVAks5qmN0IgaJpZM4J0NEy
.

--
4096R/EA75174B Steve Mynott<EMAIL_ADDRESS>

Based on @stmuk 's response, closing ticket.


Fix several typos

Found using codespell -wi3 **/*.

Thanks @Calinou 👍 I learn from you a new useful thing. I didn't know about codespell.


Errors occur in database dump

While investigating #1165, I wanted to dump a fresh copy of the database from production onto my local machine.
After running docker-compose exec -T postgres psql -U cantusdb cantusdb < /Users/lucasmarch/Projects/CantusDBExtras/cantus_dump_prod_2023_11_30.sql, the following errors appeared:
ERROR:  invalid input syntax for type integer: "^[[B486728"
CONTEXT:  COPY main_app_chant, line 452709, column id: "^[[B486728"

ERROR:  insert or update on table "main_app_chant_proofread_by" violates foreign key constraint "main_app_chant_proof_chant_id_99527fa6_fk_main_app_"
DETAIL:  Key (chant_id)=(273461) is not present in table "main_app_chant".

Odd. I have no chants in my database, something must have gone wrong in the database dump. I will try again and see if the problem persists.

Went through the database dump procedure one more time and it worked correctly. Closing.


add a dockerfile for raspberry pi 2

Description:
This is to add the capability for users to build their own docker image for the raspberry pi 2. It would be nice to also build this automatically and host it on the docker hub.
Related issue (if applicable): #
Example entry for configuration.yaml (if applicable):

Checklist:

[ ] Local tests with tox run successfully.
[ ] TravisCI does not fail. Your PR cannot be merged unless CI is green!
[ ] Fork is up to date and was rebased on the dev branch before creating the PR.
[ ] Commits have been squashed.
If code communicates with devices:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Please see #1408


Added playback speed controll

This feature allows to set up a playback rate to listen the audio

Hello, I added your this changes in my code and changed
this._speed = 1;
to
this._speed = 2;
but audio goes on with normal speed but it should make it double

weirdly it got broken in here too. I'm closing it as I try to fix.


simplification / DSL layer

Hi,
That d3 is a powerful, awesome toolkit for visualization is obvious to me by now.
As I hack around, I've noticed that I'm applying the same patterns repeatedly (to create line graphs, bar charts).
Naturally I started thinking of the idea of providing a simplified DSL/API layer for creating a pre-cooked line, bar graphs, etc.; ideally taking only my data points and using sensible defaults.
firstly, is there such a layer already?
if not, I'd love to get feedback on the idea, and how would such a DSL/API look like.
Thanks

sounds great, closing!


use array for cloudformation parameters and capabilities.

Pack AWS
Status

bugfix

Description
Cloudformation create_stack function expects a list as shown here:
https://github.com/boto/boto/blob/d9e5cfe900e1a58717e393c76a6e3580305f217a/boto/cloudformation/connection.py#L157
https://github.com/boto/boto/blob/d9e5cfe900e1a58717e393c76a6e3580305f217a/boto/cloudformation/connection.py#L341

Good catch, thanks.
I'm actually not sure how this will affect our meta generator code, since IIRC, most of those metadata files are automatically generated.
/cc @DoriftoShoes

@kaml thanks.  I didn't know they were auto-generated. Anyway, this was the only way I could get it working.

@pidah Thanks for the change!
@Kami This is fine. We have to make these exceptions. I plan to rewrite the auto-gen scripts to look up types from the python-docs and until then this is the only way to fix things where type cannot be inferred from default values.


Using web3.js to sign the message

Hi, I'm trying to use web3.js to implement raiden network contracts.
However, there is an issue.
When the process runs recoverAddressFromWithdrawMessage() through setTotalWithdraw(), errors happened.
I traced the code and I can make sure the hash I signed is the same as the message_hash computed from keccak256(abi.encodePacked(...)) of the smart contract.
But when I used web3.eth.sign() to sign the hash, which can't recover the signer's address.
Then I checked the ECVerify.sol, I found that it does not have a prefix message in ecverify(bytes32 hash, bytes memory signature).(https://ethereum.stackexchange.com/questions/19582/does-ecrecover-in-solidity-expects-the-x19ethereum-signed-message-n-prefix)
Is it because the original Raiden API is developed by Python so it is unnecessary or what?
Thanks

It turns out that I should use web3.eth.accounts.sign() to wrap the message up. Please closed the issue.
Thanks

@BrianPHChen Great that you found a solution. Let us know when you run into any other problems!

Although I can correctly wrap the message, I still can't get the correct signer address. Have you tried web3js before?


Make plugin sampctl friendly

This pawn.json will make it possible to automatically download the plugin using sampctl.

Was going to do the same but looks like it's not happening :/

Looks like merging this is too much trouble. Here's a sampctl friendly fork we can use.


Multi-threading

Hi,
I was wondering if it would be possible to use multi-threading to speed-up computations, as you do it with SIMD. Either at the operation level (breaking up a loop into several threads) or at the expression level (since you know which operations are independent from each other).

Hi David,
We planned to use parallelization in the assign loop (operation level), that should be done in early 2018. About multithreading at expression level, some experimental work will start in 2018, we are opened to any idea / contribution that could improve xtensor performances.

just FYI @DerThorsten has started to experiment with this (over in the gitter channel and in his xtensor/xtl fork).

Note: we have decided to go for intel TBB ( #805 ) – closing this one in favor of the new one!
PS. I'm excited for a multi-threaded future!


nvidia-x11: 460.73.01 -> 465.24.02

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Tested on linux 5.12
Release highlights
Added support for the following GPUs:
RTX A4000
RTX A5000

Updated the nvidia-settings control panel to be more consistent about displaying layout controls which are only applicable for some displays or GPUs connected to the system.
Improved X11 DrawText() performance when rendering stippled text.
Fixed a bug that could prevent some hardware configurations with large numbers of displays connected to the same GPU from working correctly.
Fixed a bug that could cause multi-threaded GLX applications to hang while attempting to handle an XError.
Fixed a potential crash in the Vulkan driver when clearing images with multiple layers.
Fixed a bug with the host-visible device-local memory heap, where if an allocation failed due to space constraints, it could cause the application to crash on future Vulkan function calls.
Fixed corruption in the Vulkan driver that sometimes occurred with shadow rendering with image arrays.
Added support for the VK_KHR_synchronization2 extension.
Added support for the VK_KHR_workgroup_memory_explicit_layout extension.
Added support for the VK_KHR_zero_initialize_workgroup_memory extension.
Added support for linear images for use with host-visible video memory in Vulkan.
Fixed an issue with OpenGL where imported Vulkan buffers would fail with GL_OUT_OF_MEMORY when marked as resident.
Fixed a bug that caused the NVIDIA driver to retain an incorrect memory mapping of the UEFI system console when booting with the kernel parameter pci=realloc. This could cause the console to corrupt memory in use by the NVIDIA driver, and vice versa.
Runtime D3 Power Management is now enabled by default on supported notebook systems with Ampere or newer GPUs. See the chapter titled "PCI-Express Runtime D3 (RTD3) Power Management" in the README for further details.
Updated the .run package installer to install and enable the nvidia-suspend.service, nvidia-hibernate.service, and nvidia-resume.service systemd units. These units are used when the NVreg_PreserveVideoMemoryAllocations=1 nvidia module parameter is specified to provide advanced suspend, hibernate, and resume functionality.
See the chapter titled "Configuring Power Management Support" in the README for more information.
This functionality can be disabled by passing the --no-systemd parameter to the installer.
Updated the NVIDIA X driver to allow OpenGL applications running on an X server that has left the active virtual terminal (VT) to continue running on the GPU, but with a limited frame rate.
This functionality is only enabled when the NVreg_PreserveVideoMemoryAllocations=1 nvidia module parameter is enabled.
Fix a Vulkan clamping bug where fragment depth values would not be clamped to the range [0,1] if VK_EXT_depth_range_unrestricted was not enabled.
Fix a bug related to SPIR-V 1.4 non-Input/Output entry point variables.
Fixed a bug in compilation of SPIR-V intersection shaders when modules with multiple entry points are used.

/cc @baracoder

Result of nixpkgs-review pr 121166 at db1cae18 run on x86_64-linux 1

4 packages marked as broken and skipped:

linuxPackages-libre.nvidia_x11
linuxPackages_hardkernel_4_14.nvidia_x11
linuxPackages_hardkernel_latest.nvidia_x11
linuxPackages_latest-libre.nvidia_x11

2 packages skipped due to time constraints:

python38Packages.TheanoWithCuda
python39Packages.TheanoWithCuda

17 packages built successfully:

bumblebee
geekbench
linuxPackages.nvidia_x11 (linuxPackages_5_10.nvidia_x11)
linuxPackages_4_14.nvidia_x11
linuxPackages_4_19.nvidia_x11
linuxPackages_4_4.nvidia_x11
linuxPackages_4_9.nvidia_x11
linuxPackages_5_11.nvidia_x11 (linuxPackages_latest.nvidia_x11)
linuxPackages_5_4.nvidia_x11
linuxPackages_hardened.nvidia_x11
linuxPackages_latest_hardened.nvidia_x11
linuxPackages_lqx.nvidia_x11
linuxPackages_testing_bcachefs.nvidia_x11
linuxPackages_xanmod.nvidia_x11
linuxPackages_zen.nvidia_x11
primus
psensor


Add support for downloading off-campus

When off campus the usual download URLs don't work. Usually a suffix can be added to the domain name to use the library as a proxy.  However, this usually requires a login session over HTTPS.  As wget cannot easily handle this, replace hardcoded wget calls with a DOWNLOADER environment variable.  Probably this environment variable should be something like
DOWNLOADER?= wget -O $$@

It must then be evaluated in a target:
target:
  $(eval ${DOWNLOADER}) ${URL}

Then we can replace wget with Firefox or similar.  Or to add the option string to wget so that it can find the required cookies.

This is being worked on in branch proxy.


Consider moving to cpu flags

In a follow-up to #130, I started thinking why can't we rely on kernel's cpu flags more? That'd be more realistic view to what the node/kernel supports (HW support alone isn't necessarily what the node supports).
The additional benefit would be reduced dependencies and code maintenance: RDT detection tools and cpuid Go package would no longer be needed.

Obviously this would make NFD job easier, but there likely was reason why this was not the method from very start. It's a fundamental question should NFD consider features which are either
a) "supported in HW and detected by kernel"
or b) "supported in HW"
and b) was selected, leaving kernel out of path.
One reason coming to mind is, by relying on kernel-detected flag, NFD may miss some newer
features which are not listed by older kernel. I recall someone said that lot of k8s servers run
CentOS-7 which runs kernel 3.10. And is it possible some application can use CPU feature (like instruction set extension?) even if kernel is older and has not detected it? That's one scenario that might be behind thinking why b) was selected.
Has such a design selection been documented somewhere? I looked into design doc pointed from README but did not find it.

On Mon, May 28, 2018 at 4:36 PM, Olev Kartau<EMAIL_ADDRESS>wrote:

One reason coming to mind is, by relying on kernel-detected flag, NFD may
miss some newer
features which are not listed by older kernel. I recall someone said that
lot of k8s servers run

This is probably one of the reasons. If this is desired, the existing cpuid
source plugin could stay
and this issue can be renamed to 'add cpuflags source plugin'.

If this is desired, the existing cpuid
source plugin could stay
and this issue can be renamed to 'add cpuflags source plugin'.

Yep, I wouldn't remove the existing functionality, i.e. CPUID plugin. Write a new plugin, if needed.
But, I'm not necessarily very enthusiastic about this. My concern is the flat structure of labels, which would be cluttered with mostly uninteresting flags (that's prolly true with the existing CPUID flags, already). There are easily over 100 cpu kernel flags. I don't know if this really is a problem, though.

I filed the issue to open the discussion. The problem I see is cpuid plugin can give false result for what is really supported (see #130).

I would not say "cpuid plugin gives false result".
It gives us correct facts in CPU capability domain, just that in SGX case we additionally need other facts from other domains to get full SGX capability. The name of flag fortunately is cpuid-SGX which reflects the scope quite well.

@okartau true, s/false/incomplete/


cannot find symbol "android.os.Build.VERSION_CODES.M"

When I try to build my project for android, I get this error
Cordova 5.4.1

C:\JarChee\Mobile\JarCheeMobileApp\JarChee15\platforms\android\src\com\adobe\phonegap\push\GCMIntentService.java:390: error: cannot find symbol
1>                          Log.d(LOG_TAG, "Version: " + android.os.Build.VERSION.SDK_INT + " = " + android.os.Build.VERSION_CODES.M);
1>                                                                                ^
1>    symbol:   variable M
1>    location: class VERSION_CODES
1>  C:\JarChee\Mobile\JarCheeMobileApp\JarChee15\platforms\android\src\com\adobe\phonegap\push\GCMIntentService.java:391: error: cannot find symbol
1>                          if (android.os.Build.VERSION.SDK_INT <= android.os.Build.VERSION_CODES.M) {
1>                                                                                ^
1>    symbol:   variable M
1>    location: class VERSION_CODES
1>  C:\JarChee\Mobile\JarCheeMobileApp\JarChee15\platforms\android\src\com\adobe\phonegap\push\GCMIntentService.java:401: error: cannot find symbol
1>                          if (android.os.Build.VERSION.SDK_INT <= android.os.Build.VERSION_CODES.M) {
1>                                                                                ^
1>    symbol:   variable M
1>    location: class VERSION_CODES

I have found the problem, I have cleared vs2015 cordova cache, and it seems the version for cordova-android will gets back to default
so I ran this command and now the issue is gone
cordova platform add<EMAIL_ADDRESS>

I have the same problem (

@RezaRahmati can you please give more details? I still don't understand how you did and what should be clearer...

@macdonst why have you closed this? I also have the same issue and other persons too, like shown above. Can someone clarify how to solve this?

@webpolis I close it as the originator solved his problem. The solution is pretty simple, you just need to have the latest Android dev env.

@webpolis @zizzag-way
You don't need to clear anything just run this
cordova platform add<EMAIL_ADDRESS>

thanks for the solution.
I had the same problem I have tried:
npm: 2.14.12
cordova cli: 5.4.1

Solution:

cordova platform add<EMAIL_ADDRESS>this solution never works for phonegap push plugin , I still get below message when using phonegap-push-plugin /Users/gauravku/Desktop/FeatureColab/platforms/android/src/com/adobe/phonegap/push/PushHandlerActivity.java:46: error: cannot find symbol
    if(inline && android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.N){
                                                                                ^

symbol:   variable N
location: class VERSION_CODES
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
I have created stackoverflow ticket as well, if anyone finds solution please reply.

@mobigaurav hmmm...I believe this caused my a plugin. I was compiling for a while now and all of a sudden I had this issue. I noted that the last plugin I installed was "com.synconset.imagepicker" from https://github.com/Telerik-Verified-Plugins/ImagePicker ...so I uninstalled it and ...everything was working again. Not sure how the image picker breaks the push plugin but it does. Please check or verify the last plugin you installed.

agree with @greaterking !! I removed Image picker using cordova plugin remove "cordova plugin remove com.synconset.imagepicker" and it worked!!

agree with @greaterking too. I also removed Image picker using "cordova plugin remove com.synconset.imagepicker" then from my config.xml and finally build succeed !

Same thing here, does anyone figure it out how to work with push plugin? just included an issue there https://github.com/wymsee/cordova-imagePicker/issues/229

Hi,
Finally I switched from using ImagePicker  to
https://ionicframework.com/docs/native/camera/
As you can see in the example and the extracted doc below you can change
the sourceType to just pick from gallery:
sourceType number
Set the source of the picture. Defined in Camera.PictureSourceType. Default
is CAMERA. PHOTOLIBRARY : 0, CAMERA : 1, SAVEDPHOTOALBUM : 2
Camera.getPicture({
sourceType: sourceType,
destinationType: Camera.DestinationType.DATA_URL,
targetWidth: 1000,
targetHeight: 1000,
correctOrientation: true
});
So now I don't have a error when running the app.
But the push notification don't work. I didn't had time to see why. But I
have to make the push notification works for the next month.
Good Luck
2017-04-06 3:53 GMT+02:00 Mario Mol<EMAIL_ADDRESS>
Same thing here, does anyone figure it out how to work with push plugin?
just included an issue there wymsee/cordova-imagePicker#229
https://github.com/wymsee/cordova-imagePicker/issues/229
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/phonegap/phonegap-plugin-push/issues/1115#issuecomment-292046842,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHVZ-LLc7VBhpGUedn-GUH0iJ5JwTXD2ks5rtEWVgaJpZM4JUseX
.

--
FEKI Salim

this problem is actually from imagePicker.
run the command
ionic plugin remove com.synconset.imagepicker

I solved temporary this issue replacing android.os.Build.VERSION_CODES.N by it's integer value : 24
if(inline && android.os.Build.VERSION.SDK_INT < 24 && !startOnBackground){
foreground = true;
}
http://stackoverflow.com/questions/42304714/ionic-cordova-project-not-compiling-when-using-phonegap-push-plugin

i think this doc will helping u all..
https://developer.android.com/reference/android/os/Build.VERSION_CODES.html
just change android.os.Build.VERSION_CODES.N "N"
N for Nougat
M for Marshmallow
i solved this problem with replacing 'N' to 'M'

I am facing the same issue.

Another option: https://github.com/Telerik-Verified-Plugins/ImagePicker/issues/34#issuecomment-314748117

Hi ! I got the same problem and i solve it by replacing android.os.Build.VERSION_CODES.N by its normal value
N = Nougat = 7
M = Marshmallow = 6
Second way is to download Nougat platform for N or Marshmallow platform for M.
This require internet that's why i prefer the first way.
Hope it'll help !

Upgrade targetSdk in config.xml
<preference name="android-targetSdkVersion" value="24" />


Add method to update data dictionary

Currently DD is static and therefore prone to staleness unless manually updated. Adding a method to update the local copy of the DD would be nice.

High level description of what needs to be done:
in d42-cli.json:

Add a new approved verb 'updated'
Add a command entry update_dd
in d42-cli.ps1
Add elif statement to check for verb & noun combo
Add curl call to update dd.json


Browser: 'chrome' was not found on your system or is not supported by Cypress

Hi cypress-docker folks,
Could you please look into these two abandoned issues:
https://github.com/cypress-io/cypress/issues/8611
https://github.com/cypress-io/cypress/issues/8736
I have no idea how to debug it or fix, maybe your expertise will help to fix it?

Please see cypress-io/cypress#8611


Create multiple VPCs using the module

Hi, I am a bit newbie on the module side of the terraform and it might be more information required as compared to issues. Apolgoies for that in advance
What i am trying to do is create 2 different VPCs using this module. Is it possible, and I am sure it's would you mind sharing some information to do it please?

@antonbabenko we can close

Hi, I had the same problem but if I want to create 10 VPCs at the same time. Is there any function like 'for', or anything else?
Thank you.

@KhoaNPA This feature should be available in the upcoming major release of Terraform 0.13.

Hi All, Is this feature available now after about 2+ years?

@arashboustani See one solution above - https://github.com/terraform-aws-modules/terraform-aws-vpc/issues/389#issuecomment-578404430
And you can also use for_each in module block since Terraform 0.13.

@antonbabenko thanks for the quick reply. Do you have any example by any chance?

the pseudocode in the comment#389 does not work for me!
`module "vpc1" {
source  = "terraform-aws-modules/vpc/aws"
version = "3.14.0"
name = "dmz"
cidr = "<IP_ADDRESS>/16"
azs             = ["us-east-1a", "us-east-1b"]
public_subnets  = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
private_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
enable_nat_gateway = true
enable_vpn_gateway = true
tags = {
Name= "dmz"
Terraform = "true"
Environment = "dmz"
Facing= "public"
}
}
module "vpc2" {
source  = "terraform-aws-modules/vpc/aws"
version = "3.14.0"
name = "production"
cidr = "<IP_ADDRESS>/16"
azs             = ["us-east-1a", "us-east-1b"]
private_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
enable_nat_gateway = true
enable_vpn_gateway = true
tags = {
Name= "production"
Terraform = "true"
Environment = "production"
Facing= "private"
}
}`

Well, the following works fine. sharing for future engineers.
 vpc_list = {
   "dmz" = {
    #    vpc_vpc_id = "dmz-net10"
       vpc_cidr = "<IP_ADDRESS>/16",
       azs             = ["us-east-1a", "us-east-1b"]
       vpc_public_subnets  = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"],
       vpc_private_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"],
       vpc_enable_nat_gateway = true,
       vpc_enable_vpn_gateway = true,
       vpc_tags = {
           Name= "dmz"
           Terraform = "true"
           Environment = "dmz"
           Facing= "public/private"
           }
       },
   "prod" = {
    #    vpc_vpc_id = "prod-net11"
       vpc_cidr = "<IP_ADDRESS>/16",
       azs             = ["us-east-1a", "us-east-1b"]
       vpc_public_subnets  = [],
       vpc_private_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"],
       vpc_enable_nat_gateway = false,
       vpc_enable_vpn_gateway = false,
       vpc_tags = {
           Name= "prod"
           Terraform = "true"
           Environment = "prod"
           Facing= "private"
           }
   },
   "stage" = {
    #    vpc_vpc_id = "stage-net12"
       vpc_cidr = "<IP_ADDRESS>/16",
       azs             = ["us-east-1a", "us-east-1b"]
       vpc_public_subnets  = [],
       vpc_private_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"],
       vpc_enable_nat_gateway = false,
       vpc_enable_vpn_gateway = false,
       vpc_tags = {
           Name= "stage"
           Terraform = "true"
           Environment = "stage"
           Facing= "private"
           }
   },
      "dev" = {
    #    vpc_vpc_id = "dev-net13"
       vpc_cidr = "<IP_ADDRESS>/16",
       azs             = ["us-east-1a", "us-east-1b"]
       vpc_public_subnets  = [],
       vpc_private_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24"],
       vpc_enable_nat_gateway = false,
       vpc_enable_vpn_gateway = false,
       vpc_tags = {
           Name= "dev"
           Terraform = "true"
           Environment = "dev"
           Facing= "private"
           }
   },
 }
}

module "vpc" {
  source = "terraform-aws-modules/vpc/aws"
  version = "3.14.0"
  for_each = local.vpc_list
  name = each.key
  cidr =each.value.vpc_cidr
  azs = each.value.azs
  public_subnets  = each.value.vpc_public_subnets
  private_subnets = each.value.vpc_private_subnets
  enable_nat_gateway = each.value.vpc_enable_nat_gateway
  enable_vpn_gateway = each.value.vpc_enable_vpn_gateway
  tags = each.value.vpc_tags
}```

Don't do this, you're not gaining anything but complexity

@bryantbiggs what do you recommend? not using modules and simply use write the codes by myself?

Just use 4 independent module definitions

do you mean like my previous comment

how to setup cidr_blocks to multiple vpcs create with for_each?


Mulligan should automatically activate

Rather than having to press a button to initiate the Mulligan at the start of the game, it should activate automatically once it is available

Should this perhaps be flexibilized so that whenever there is only one action to perform, that action button is automatically 'clicked'? For example: If you can do nothing, automatically press end turn.

I'm not sure from a UX perspective this would be ideal @Zomis - Think of HS or even a regular card game, I think a player should be able to realize on their own that they can't play anything... At least something like HS where you see the green highlight on "End Turn" that tells a user they can't play anything further.

Good point, @Phrancis. I'm not sure how @bazola plans on implementing this, but from the description it sounded like it would be a if (actionName.equals('Mulligan')) which I'm not sure how I feel about.


SQL core commands (server, db, and elastic pool)

Updated param names for server, db, and pool commands
Added custom wrapper around create db and create pool so that location doesn't need to be specified
Added sql db copy and sql db create-secondary custom commands. Also added sql db restore but it's commented out for now until Swagger spec is updated.
Removed sql elastic-pool db list, instead sql db list has optional --elastic-pool param
Renamed sql server firewall group to sql server firewall-rule
Removed commands that we don't plan to support (yet) for GA. These commands will be added back later when we have gone through design/test review (after the first GA release). This includes:

Data Warehouse
TDE
Service tier advisor
Recommended elastic pools
Usages

Hi @jaredmoo, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (jaredmoo). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@bde5e83). Click here to learn what that means.
The diff coverage is 95.26%.

@@            Coverage Diff            @@
##             master    #2253   +/-   ##
=========================================
  Coverage          ?   77.62%
=========================================
  Files             ?      458
  Lines             ?    19545
  Branches          ?        0
=========================================
  Hits              ?    15172
  Misses            ?     4373
  Partials          ?        0

Impacted Files
Coverage Δ

...re-cli-sql/azure/cli/command_modules/sql/params.py
100% <100%> (ø)

...zure-cli-sql/azure/cli/command_modules/sql/help.py
100% <100%> (ø)

...-cli-sql/azure/cli/command_modules/sql/commands.py
100% <100%> (ø)

...ure-cli-sql/azure/cli/command_modules/sql/_util.py
94.31% <85.71%> (ø)

...re-cli-sql/azure/cli/command_modules/sql/custom.py
86.36% <86.36%> (ø)

Continue to review full report at Codecov.

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

Can I get a merge here? :)

@jaredmoo looks good to me. Do you need to merge it for you? (I'm not sure if you have the permission to see the "green button")

No I can't merge. Thanks!


Add version field to BaseMessage

From the discussion about pay-as-you-go specs in https://github.com/aleph-im/aleph-message/pull/82#discussion_r1425112077:

The chain used for payment should be the same as the chain of the sender and the receiver. The chain field of the BaseMessage class is not signed however.

Then I'd just recommend changing the verification_buffer function to include the chain field (and also a new version field describing the message spec version)

It would only make sense to add a version number if and when we decide to introduce breaking changes, which is not the case so far.


feat: Enable Rule CA1304

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

Part of #8944

You can test this PR using the following package version. 11.0.999-cibuild0026899-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-nightly/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0026963-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-nightly/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0026971-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-nightly/nuget/v3/index.json) [PRBUILDID]

I like the invariant string comparison fixes. These types of rules are always good to enable :)


Martinique and French Guiana cores

The Sneaky Top Hat
2.Certain provinces particularly some owned by France don't have any cores what so ever and it    is just listed as colonies in the 1992 start. I would like to know why provinces like Martinique          don't have any cores on it. I do understand why some provinces like Mayotte don't have cores       on them as a country would usually claim them as part a of an irrendentist decision like a             greater Comoros/ As for certain places like Martinique and French Guiana I know that there is     several separatist movements in real life advocating for the independence of those places             however they receive little support from the general population.

Martinique and French Guiana cores.zip

Hey, when the 1.12 will be disponible?


Memory leak - version 3.9.0

I encountered a problem, I used version 2.70.0 and found "com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory$TimeoutContext
net.sourceforge.htmlunit.corejs.javascript.Interpreter$CallFrame
net.sourceforge.htmlunit.corejs.javascript.ConsString” takes up almost 5G of memory. when I set webClient.getOptions().setJavaScriptEnabled(false), I don't hava this problem. I also tried the latest version 3.9.0 , but it doesn't work.

do you have minimal sample to let me reproduce this?

do you have minimal sample to let me reproduce this?

This is the demo that I used：
public static String getTextByHtmlUrl(String htmlUrl) {
if (StringUtils.isBlank(htmlUrl)) {
return StringUtils.EMPTY;
}
WebClient webClient = createWebClient();
HtmlPage page = null;
String text = "";
try {
page = webClient.getPage(htmlUrl);
webClient.waitForBackgroundJavaScript(LOAD_BACKGROUND_JAVASCRIPT_TIME);
String pageXml = page.asXml();
Document document = Jsoup.parse(pageXml);
Elements body = document.select(BODY);
text = body.get(0).text();
Elements iframes = document.select(IFRAME);
if (CollectionUtils.isEmpty(iframes)) {
return text;
}
return getTextByInnerInframe(text, htmlUrl, iframes, webClient);
} catch (Throwable e) {
LoggerUtil.warn(LOGGER, "HtmlAnalysisUtil->getTextByHtmlUrl error");
return StringUtils.EMPTY;
} finally {
webClient.close();
}
}
private static String getTextByInnerInframe(String sourceText, String sourceUrl, Elements iframes, WebClient webClient) {
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.append(sourceText);
iframes.stream().forEach(iframe -> {
String iframeUrl = iframe.attr(SRC);
if (StringUtils.isNotBlank(iframeUrl)) {
iframeUrl = buildValidUrl(sourceUrl, iframeUrl);
try {
HtmlPage innerPage = webClient.getPage(iframeUrl);
webClient.waitForBackgroundJavaScript(LOAD_BACKGROUND_JAVASCRIPT_TIME);
String innerPageXml = innerPage.asXml();
Document innerDocument = Jsoup.parse(innerPageXml);
Elements innerBody = innerDocument.select(BODY);
stringBuilder.append(innerBody.get(0).data());
} catch (Throwable e) {
LoggerUtil.error(LOGGER, e, "HtmlAnalysisUtil->getTextByInnerInframe error");
}
}
});
return stringBuilder.toString();
}
private static WebClient createWebClient() {
WebClient webClient = null;
webClient = new WebClient(BrowserVersion.CHROME);
webClient.getOptions().setRedirectEnabled(false);
webClient.getOptions().setJavaScriptEnabled(true);
webClient.getOptions().setActiveXNative(false);
webClient.getOptions().setCssEnabled(false);
webClient.getOptions().setThrowExceptionOnScriptError(false);
webClient.getOptions().setThrowExceptionOnFailingStatusCode(false);
return webClient;
}

@Jin9628
and you are facing this memory leak after webClient.close();?

@Jin9628
String pageXml = page.asXml();
Document document = Jsoup.parse(pageXml);

to see code like this makes me sad ;-)
I think you can have everything you get from Jsoup also with HtmlUnit

css selectors - https://www.htmlunit.org/gettingStarted.html#CSS_Selectors (maybe i will add a more convenient method in the next version)
asNormalizedText()

Maybe you can improve your code (or give me a hint about what is missing). Serializing the page back to xml and then parse it again is not soo efficient.
*

@Jin9628 and you are facing this memory leak after webClient.close();?

yeah，I will improve my code. But I think it can't help me solve the problem

@Jin9628 do you have also an url for your sample to let me debug this here?

@Jin9628 do you have also an url for your sample to let me debug this here?

This is an example I found, you can debug this:
url: https://webs.csjywlkj.cn/privacy-tcyx?a=1

@Jin9628 do you have also an url for your sample to let me debug this here?
Sorry，have you made any progress?

@rbri Sorry，have you made any progress?

@Jin9628 sorry, i wrote a small test program that fetches the page and did this in a loop for 20min. But i can't see any memory leak - the profiler shows no growing in memory.
Maybe you can provide a small test program?

@Jin9628 can you please try the latest release and report your results


A few recipe security/testing improvements, nothing worth forcing a new build over.

Based on my work on openjdk on defaults. I am not sure if we're meant to add ourselves to the maintainers here.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Improved Pathfinder Debugging

Path-find logging is batched
switch 26 toggles whether only failed path-finds should be logged

Testing...

First, I am not sure how it supposed to work.
I thought that after that little change we will see only log with list of  unreachable segments with pathfinding history stack but I can see that I was wrong 😄

~15min game running and TMPE.log has 22m lines which takes ~0.6GB of disk space
Do you have some sort of processing tool to cut out usefull info, because it seems that is too much data to do that manually with just scrolling and searching tool.

String.Formatis killing performance of logging, that's for sure, but I am sure you know that and I think that performance gain of logging wasn't the main intention of this PR  :wink:

I have not raised the version because extending the Debug class does not affect regular users. Should I increase it nevertheless?

First, I am not sure how it supposed to work.
The synchronization code in Log._Debug adds a siginificant overhead that I wanted to avoid. That's why I make it accumulate log entries until path-finding is complete. Then, I decide (based on the outcome of path-finding and based on Switches[26]) whether to save the accumulated entries to the log file in one single batch. Use case: In order to investigate on #361 I wanted to know why taxi path-finds failed. Now, with Switches[26] we can now decide to only log failed path-finds.

* ~15min game running and TMPE.log has 22m lines which takes ~0.6GB of disk space
  Do you have some sort of processing tool to cut out useful info, because it seems that is too much data to do that manually with just scrolling and searching tool or I just don't have 'that' skill yet 😅

Well, I do it manually indeed. I choose a segment in-game and check whether path-finding ever considered this segment.
It would be really nice to have a visual in-game path-find debugger!

String.Formatis killing performance of logging, that's for sure, but I am sure you know that and I think that performance gain of logging wasn't the main intention of this PR 😉
I thought that String.Format uses a StringBuilder internally? I expect it to have a certain overhead but it should not be a performance killer? Lighten me up! :-)

I will check if version change is necessary because I remember that I changed switch[0] to true in xml config but forgot to add new one for log failed path-finds only.

I thought that String.Format uses a StringBuilder internally? I expect it to have a certain overhead but it should not be a performance killer? Lighten me up! :-)

Yeah, you were right, String.Format uses StringBuilder internally (just checked source code 😉 )
Visual in-game path-find debugger 😍

Yup, it seems that the mod is not seeing that additional flag from Debug class because it was overwritten by deserializer. Line 172 not called to reset Debug instance with new switches.
https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/blob/cda3cd9ebb748fc4922f6a25ae4f68dcd1bd1628/TLM/TLM/State/GlobalConfig.cs#L160-L172

Any updates on this? All the other stuff for 10.21 release is close to merge and this looks like it might be a straggler?

This might be a great moment to give names to XML values and then the conflict will be gone.

Closing this PR for now, since there was no progress for more than a year.
In case this is still relevant PR can be reopened.


Parse the response SMS

Hello. Using this function
sscanf(response.substring(respStart).c_str(), "+CMGR: \"REC %s\",\"%s\",,\"%s\"\r\n", type, number, date);  sms.number = String(number); sms.date = String(date);  // The rest is the message, extract it.  sms.message = response.substring(strlen(type) + strlen(number) + strlen(date) + 24, response.length() - 8);
I can't make out the answer
`
New message at index: 2
Command: AT+CMGR=2
1067 ms
+CMGR: "REC READ","+79833583606",,"2021/04/17,21:08:34+07"
Jdiekdnd djdkdkdo djdkkd
OK
number ==
date ==
message == djdkdkdo djdkkd
`

I'm afraid I haven't used this in years and don't remember, sorry!


Accessing shared resource can be done using either mount share id or virtual share id.

In spaces dav version, when sending API request, the endpoint can either use mount share id as https://localhost:9200/remote.php/dav/spaces/<mount-share-id> or we can use virtual share id as https://localhost:9200/remote.php/dav/spaces/<virtual-share-id>/<resource-name>. In both cases, we can access the shared resources.
We have multiple scenarios where we need to access the shared resources. In those scenarios, what should we prefer mount-share-id or virtual share id, for test cases or should we test for both mount share id or virtual share id?
Related:

https://github.com/owncloud/ocis/issues/4393
https://github.com/owncloud/ocis/issues/6752

CC @individual-it @phil-davis @ScharfViktor @micbar @saw-jan

web uses https://localhost:9200/remote.php/dav/spaces/<mount-share-id>
look here

let have test for that IMHO
or add new path to our collection of path

With the discussion of this issue, we used the mount-shared-id to access the shared resources. The test has been covered in the PR https://github.com/owncloud/ocis/pull/7234. So, closing this issue as completed.


Poor performance. Check SIMD execution

Hi @MarcoCiaramella
Is there any progress on this issue?

hi @tuananh19961 an optimization is on going. It will take a while.

fixed in 1.1.5


Update karmor recommend command with user labels

Added use-labels flag to input labels for policy
Updated the Options struct to include Uselabels field
Updated policy logic with ownerOnly flag and user-defined labels

Addresses: https://github.com/kubearmor/kubearmor-client/issues/112#issuecomment-1216476912
Signed-off-by: vishnusomank<EMAIL_ADDRESS>

Hi, @nyrahul I've updated the code to fix all the lint issues. Please review.


CXF-8177 CXF-8178 ECDH Algorithm Fixes

Fixed:

[CXF-8177] Support in API for encrypting/decrypting encryptionkey with ECDH Direct Key Agreement
[CXF-8177] Support in API for encrypting/decrypting encryptionkey with ECDH Key Wrapping
[CXF-8177] Support in API for encrypting/decrypting content with ECDH and AESCBC
[CXF-8178] DerivedKey algorithm for ECDH Key Agreement with Key Wrapping according to the RFC

I added a testsuite I used myself in another project where I compare JWS and JWE of multiple libraries to see whether or not they are compatible with each other using algorithms as defined in RFC 7518 (JWA).
Quite some tests returned errors before my changes. Now they all pass. Some of the tests could be fixed from the clientside perspective using other classes to set key and content encryptionprovider. Others could not be fixed at all.
I prefer anyway to use one setup for all which makes it a lot easier from the client's perspective. See the testclasses for this.
I updated operations in JweUtils for this purpose as some assumptions were made in that class that are only compatible with a subset of the algorithms that are actually supported by the codebase.
I also added better support for the case that the given JWK object does not define an algorithm (which is optional, according to the spec).

I replayed my changes to split CXF-8177 and CXF-8178 into 2 separate commits and I did some cleanups as well. Should be fine now.


Add info on how to contribute to v2 docs

I've searched this github repo for "docs" and "documentation, but other than the new website URL, https://www.styled-components.com/docs, I can't find any info on how to contribute to v2 docs.

Ah! I just found them in a new repo. https://github.com/styled-components/styled-components-website

We are currently moving everything into one repo.


Does(/should) feed_urls() still work?

The documentation shows the following to work:
import newspaper
cnn_paper = newspaper.build('http://cnn.com', memoize_articles=False)

for feed_url in cnn_paper.feed_urls():
    print(feed_url)

However this does not work, I get 0 results. I tried with 5 other big news sites and I got back 0 feeds each time. Is this method broken? Or am I overlooking something? And is there a fix/alternative?

@tomoerlemans010 you may try https://edition.cnn.com, this URL works for me


feat(pm_list): add required fields for google pay

Type of Change

[ ] Bugfix
[ ] New feature
[x] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

Resolves #3706
Additional Changes

[x] This PR modifies the API contract
[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed the submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

here you have only mentioned about connector list that supports google pay mandates. but what about the required fields? Are there no required fields for this pm type?

Most of the connectors don't require additional fields, but some does. I will update the PR


Question Oriented Software Text Retrieval

http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=7371990&filter%3DAND(p_IS_Number%3A7371976)

added


Combine e-cash state machines

Spawning one state machine per e-cash input and output is very wasteful, these should be combined again.

dev call: this causes the "balance trickling in" problem


The demo-oai-hss of EPC  is always disconnected

Hellow everyone !
There has some questions for me , The demo-oai-hss is disconnected when I run this command :demo-compose up -d oai_spgwu.the logs of demo-oai-hss  see there:
pc@pc:~/openair-epc-fed/docker-compose/magma-mme-demo$ docker logs demo-oai-hss
/openair-hss/scripts /openair-hss
wait-for-it.sh: waiting 15 seconds for <IP_ADDRESS>:9042
wait-for-it.sh: <IP_ADDRESS>:9042 is available after 0 seconds
Traceback (most recent call last):
File "./data_provisioning_users", line 216, in
main()
...........................................................................
File "/usr/lib/python3/dist-packages/cassandra/cluster.py", line 1998, in execute
return self.execute_async(query, parameters, trace, custom_payload, timeout, execution_profile, paging_state).result()
File "/usr/lib/python3/dist-packages/cassandra/cluster.py", line 3781, in result
raise self._final_exception
cassandra.InvalidRequest: Error from server: code=2200 [Invalid query] message="Keyspace vhss does not exist"
Thank for your answer very  much !    ：）  ：）  ：）

@XXK777 Have you solved this issue


API Convert::raw2json can be passed an optional bitmask of JSON constants as options

This allows for JSON constants like JSON_PRETTY_PRINT and JSON_UNESCAPED_SLASHES to be passed through Convert::raw2json.
Resolves #6550

This could go in the 3 branch as a new feature

Haha! I'll rebase shortly and fix that typo

Current coverage is 64.97% (diff: 0.00%)

No coverage report found for 3 at de8b5d6.

Powered by Codecov. Last update de8b5d6...ff65b81

@dhensby Updated against 3 and typo fixed, thanks

Behat is still broken on 3?

Behat is still broken on 3?

yep

thanks - I'll merge into master "soon"


info panels for Gem Mining?

Anything about info panels for Gem Mining? Maybe how many gems of each type that got
mined/deposited(underground/above Shilo Village gems)

We have #4126 for tracking stuff like this

umm i dont see the feature of using for Gem mining?

i believe he means something more like how mlm shows gems recieved

^


Add Google Cloud CLI (gcloud) to Ubuntu 24.04 runner

Fix #10769 , This PR adds the installation of the Google Cloud CLI (gcloud) to the Ubuntu 24.04 GitHub runner, as it is currently missing from the ubuntu-latest image.

Hi @abdalluhmostafa, thank you for your contribution!
A few tools are being re-introduced to ubuntu-24.04, which is covered in https://github.com/actions/runner-images/pull/10881 with gcloud cli amongst them.


D2.4 high-level structure

Summary
Decide what to put in D2.4 (Security Design) and how to structure the document.
Intended outcome
A table of contents for the document and a high-level description of the major topics.
How will it work?
Write a first draft of the document and post it to the SUPSI sharepoint folder.

done


As an editor for Loop I want to add content to be able to build my page

https://web-loop-energyvision-dev.radix.equinor.com/
https://studio-loop-energyvision-dev.radix.equinor.com/

Tested with cookie declaration, text, iframe, image


Tests for Rust Codegen

Test difficult codegen functions of #1 by generating and emitting a test source file, and verifying that it compiles.
It'd be cool if this could be wrapped up in a macro so it's run as a pre-compilation step

The macro-based idea isn't a great start, since the goal of the codegen is just to output correct looking source, it doesn't need to play nice with ExtCtxt (yet).
It'd be better to have the emit stuff all worked out first. So the test can simply emit some simple codegen files.

See: https://github.com/KodrAus/elasticsearch-rs/blob/master/codegen/tests/rust_emit.rs
More of these could be added. Such as:

Multi function in a single file
use statement
doc comment

Need to work on output to make it compile:

Use String instead of full path
Use anonymous format instead of named url

May need to add Option <TypeNameOptions> to type names:
enum TypeNameOptions {
    FullPath,
    NameOnly
}

Need to fill in the test for type name options properly:
See: https://github.com/KodrAus/elasticsearch-rs/blob/master/codegen/tests/rust_gen.rs#L69

Started working on some benches now. Some of the code there isn't going to survive for long, because it's just testing.

Happy with the state and direction of codegen tests now.


Data Collector API Issue in Java Code

Data Collector API Issue in Java Code
We tried to post data to log analytics using Data Collector API with Java code and it failed with an error. "An invalid signature was specified in the Authorization header".
We used the sample C# code and Powershell code provided in Microsoft documentation and it worked.
We also copied the signature generated by C# code and used it in Java/postman, but it still failed.
#Java Code
Java-code-to-connect-loganalytics.txt

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

ID: 1295e1b3-5aed-3aee-4331-8b81e7a7e544
Version Independent ID: 3c00a5ee-7093-1e8b-9004-8fed3f82960e
Content: Log Analytics HTTP Data Collector API
Content Source: articles/log-analytics/log-analytics-data-collector-api.md
Service: log-analytics
GitHub Login: @bwren
Microsoft Alias: bwren

@rajeshvenkata Can you please provide a link to the Microsoft Doc that details the sample you are referring to. It sounds like you are asking for an enhancement in the form of a java version of the tutorial. If not, and you are looking for assistance to solve a specific issue, stackoverflow.com and MSDN - Azure Log Analytics forums are a better channel to receive help. Regards, Mike

@rajeshvenkata We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Hi Mike,
I believe @rajeshvenkata is referring to the following examples:
https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-data-collector-api

@rajeshvenkata @kohlzor Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

An ask is being made to have Java version of this sample.

Here's a working example in Java:
https://gist.github.com/maltalex/dcc93cd663c92c98167a6cec24865797
It uses the AsyncHttpClient: https://github.com/AsyncHttpClient/async-http-client/

I'm going to go ahead and close this since we have an example here.  It's not something that we're ready to put into documentation but looks like an example that should suffice.

#please-close

@rajeshvenkata We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

I'm going to go ahead and close this since we have an example here. It's not something that we're ready to put into documentation but looks like an example that should suffice.

I don't follow. It sounds like you're saying that having some third party examples of this code floating around github is a valid reason for not including a Java example in the official documentation. Am I missing something?
Also, why is a Java example "not something that you're ready to put into documentation"?