Adding changes for Gtest support

#11 provide C++ support to the framework

Points for discussion:

Can I use gcc compiled library to link with g++ codebase? Reply from bot below

Yes, you can use a library compiled with gcc in a g++ project. Here’s a bit more detail on how this works and what you need to be aware of:
Understanding Compatibility

ABI Compatibility: Both gcc and g++ adhere to the same ABI (Application Binary Interface) for C and C++ code, respectively. This means that a library compiled with gcc (for C code) can generally be linked with g++ without issues.

Library Types:

Static Libraries (.a files): These are directly compatible between gcc and g++ as long as they are built with compatible settings.
Shared Libraries (.so files): These are also compatible provided they are built with compatible compiler versions and settings.

Linking C Libraries in C++ Projects
When you link a C library with a C++ project, you need to ensure that the C++ linker handles the C linkage correctly:

Extern "C": In C++ code that uses C libraries, you should wrap C function declarations in extern "C" to prevent C++ name mangling. However, this is typically done in header files of the C library itself and not something you need to worry about in your g++ linking command.

Library Compatibility: Ensure that the libut_control was compiled with a compatible version of GCC that matches the version you are using with g++.

Common Issues to Check

Library Path: Verify that the path you specify with -L contains the compiled libut_control library.

Library Name: Ensure the library file is named correctly. For example, if the library file is libut_control.so, you should use -lut_control in the linker command.

Results from release test script:
==========================================================
RESULTS for dunfell_arm
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
build/arm/gtest/lib/libgtest.a exists. PASS
build/arm/gtest/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/gh44-ut-control-cpp-support. PASS
build/linux/curl/lib/libcurl.a exists. PASS
build/linux/openssl/lib/libssl.a exists. PASS
host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
tests/ut-core/build/linux/gtest/lib/libgtest.a exists. PASS
tests/ut-core/build/linux/gtest/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for ubuntu
On the branch feature/gh44-ut-control-cpp-support. PASS
build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
tests/ut-core/build/linux/gtest/lib/libgtest.a exists. PASS
tests/ut-core/build/linux/gtest/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/gh44-ut-control-cpp-support. PASS
build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
tests/ut-core/build/linux/gtest/lib/libgtest.a exists. PASS
tests/ut-core/build/linux/gtest/lib/libgtest_main.a exists. PASS
==========================================================

b'## Copyright scan failure
Commit: d91f5ae58e8901b903c82188607d121411aa1cff
Report detail: https://gist.github.com/rdkcmf-jenkins/6c17fc32f6c42740912ff7ea26e84a15'

b'## Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 6 files pending identification.

Protex Server Path: /home/blackduck/github/ut-core/102/rdkcentral/ut-core

Commit: d91f5ae58e8901b903c82188607d121411aa1cff

Report detail: gist'

b'## Copyright scan failure
Commit: 7795d916c7a5cf575f0f3977100d8d665c6de917
Report detail: https://gist.github.com/rdkcmf-jenkins/4f7d236b3700face239a37d4528d1ed1'

b'## Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 6 files pending identification.

Protex Server Path: /home/blackduck/github/ut-core/102/rdkcentral/ut-core

Commit: 7795d916c7a5cf575f0f3977100d8d665c6de917

Report detail: gist'

Hi All: This is complaining becasue paths have changed.  I have fixed copyright and BD should be OK on a new commit.  But please will you update top level NOTICE as the path has changed.  You can reword to "The cunit_lgpl directory tree..." i.e. leave out the full path.
Thank you.

b'## Blackduck scan failure details
Summary: 4 violations, 0 files pending approval, 0 files pending identification.

Protex Server Path: /home/blackduck/github/ut-core/102/rdkcentral/ut-core

Commit: 758264b12c2fd7580b37b4c43e418b7a2322b16c

Report detail: gist'

b'## Blackduck scan failure details
Summary: 4 violations, 0 files pending approval, 0 files pending identification.

Protex Server Path: /home/blackduck/github/ut-core/102/rdkcentral/ut-core

Commit: c2848cdcf590b42a621d9a8de2d79eff2c40e8fe

Report detail: gist'

b'## WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: OK - internal reasons

Commit: c2848cdcf590b42a621d9a8de2d79eff2c40e8fe
'

b'## Blackduck scan failure details
Summary: 4 violations, 0 files pending approval, 0 files pending identification.

Protex Server Path: /home/blackduck/github/ut-core/102/rdkcentral/ut-core

Commit: e453658c2a11980a8c0e9e7e99b8b37c8fbb7757

Report detail: gist'

b'## Blackduck scan failure details
Summary: 0 violations, 4 files pending approval, 0 files pending identification.

Protex Server Path: /home/blackduck/github/ut-core/102/rdkcentral/ut-core

Commit: e453658c2a11980a8c0e9e7e99b8b37c8fbb7757

Report detail: gist'

b'## Blackduck scan failure details
Summary: 0 violations, 4 files pending approval, 0 files pending identification.

Protex Server Path: /home/blackduck/github/ut-core/102/rdkcentral/ut-core

Commit: e453658c2a11980a8c0e9e7e99b8b37c8fbb7757

Report detail: gist'

Test Results from Platform Build Script:
./release-test-script-ut-core.sh -t feature/gh11-cpp-suppport-ut-core
UT_CORE_BRANCH_NAME = feature/gh11-cpp-suppport-ut-core
==========================================================
RESULTS for ubuntu
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS
framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
build/arm/cpp_libs/lib/libgtest.a exists. PASS
build/arm/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================

Test results from Platform release script:
./release-test-script-platform.sh -t feature/gh11-cpp-suppport-ut-core
UT_CORE_BRANCH_NAME = feature/gh11-cpp-suppport-ut-core
==========================================================
RESULTS for ubuntu
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-ubuntu
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-VM-SYNC
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS
ut/ut-core/framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_arm
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_linux
ut/bin/hal_test exists. PASS
CURL static lib does not exist. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================

Results from release script:
./release-test-script-platform.sh -t feature/gh11-cpp-suppport-ut-core
UT_CORE_BRANCH_NAME = feature/gh11-cpp-suppport-ut-core
==========================================================
RESULTS for ubuntu
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-ubuntu
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-VM-SYNC
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS
ut/ut-core/framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_arm
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_linux
ut/bin/hal_test exists. PASS
CURL static lib does not exist. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================

 ./release-test-script-ut-core.sh -t feature/gh11-cpp-suppport-ut-core
UT_CORE_BRANCH_NAME = feature/gh11-cpp-suppport-ut-core
==========================================================
RESULTS for ubuntu
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS
framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
build/arm/cpp_libs/lib/libgtest.a exists. PASS
build/arm/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================

Test Script results:
./release-test-script-ut-core.sh  -t feature/gh11-cpp-suppport-ut-core
UT_CORE_BRANCH_NAME = feature/gh11-cpp-suppport-ut-core
UT_CONTROL_BRANCH_NAME =
UT_CONTROL_BRANCH_NAME is empty
==========================================================
RESULTS for ubuntu
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS
framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
build/arm/cpp_libs/lib/libgtest.a exists. PASS
build/arm/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================

Test Results:
./release-test-script-ut-core.sh  -t feature/gh11-cpp-suppport-ut-core
UT_CORE_BRANCH_NAME = feature/gh11-cpp-suppport-ut-core
UT_CONTROL_BRANCH_NAME =
UT_CONTROL_BRANCH_NAME is empty
==========================================================
RESULTS for ubuntu
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS
framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
build/arm/cpp_libs/lib/libgtest.a exists. PASS
build/arm/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================

./release-test-script-platform.sh -t feature/gh11-cpp-suppport-ut-core
UT_CORE_BRANCH_NAME = feature/gh11-cpp-suppport-ut-core
UT_CONTROL_BRANCH_NAME =
UT_CONTROL_BRANCH_NAME is empty
==========================================================
RESULTS for ubuntu
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-ubuntu
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-VM-SYNC
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS
ut/ut-core/framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_arm
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_linux
ut/bin/hal_test exists. PASS
CURL static lib does not exist. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================

Test results:
 ./release-test-script-ut-core.sh  -t feature/gh11-cpp-suppport-ut-core
UT_CORE_BRANCH_NAME = feature/gh11-cpp-suppport-ut-core
UT_CONTROL_BRANCH_NAME =
UT_CONTROL_BRANCH_NAME is empty
==========================================================
RESULTS for ubuntu
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS
framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
build/arm/cpp_libs/lib/libgtest.a exists. PASS
build/arm/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/gh11-cpp-suppport-ut-core
. PASS
framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
build/linux/cpp_libs/lib/libgtest.a exists. PASS
build/linux/cpp_libs/lib/libgtest_main.a exists. PASS
==========================================================

 ./release-test-script-platform.sh  -t feature/gh11-cpp-suppport-ut-core
UT_CORE_BRANCH_NAME = feature/gh11-cpp-suppport-ut-core
UT_CONTROL_BRANCH_NAME =
UT_CONTROL_BRANCH_NAME is empty
==========================================================
RESULTS for ubuntu
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-ubuntu
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for VM-SYNC
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-VM-SYNC
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/linux/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/linux/openssl/lib/libssl.a exists. PASS
ut/ut-core/framework/ut-control/host-tools/CMake-3.30.0/build/bin/cmake exists. PASS
==========================================================
==========================================================
RESULTS for dunfell_arm
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_arm
ut/bin/hal_test exists. PASS
ut/ut-core/framework/ut-control/build/arm/curl/lib/libcurl.a exists. PASS
ut/ut-core/framework/ut-control/build/arm/openssl/lib/libssl.a exists. PASS
CMake host binary does not exist. PASS
==========================================================
==========================================================
RESULTS for dunfell_linux
On the branch feature/gh11-cpp-suppport-ut-core
            . PASS
/home/jpn323/workspace/release-script-bash/ut-core/scripts/rdk-halif-hdmi_cec-dunfell_linux
ut/bin/hal_test exists. PASS
CURL static lib does not exist. PASS
Openssl static lib does not exist. PASS
CMake host binary does not exist. PASS
==========================================================


🪸 Update preview links for connector overview in Angular

Last step before release.
Connector overview preview links are (commented out) there, look for //@TODO comment back in when feature flag for connector overview is removed

Wait for #1756


Turning off reactivity for specific publications

First off, I really like this package and use it liberally. My only problem with it right now is that I am running into a case where I need to subscribe to a composite publication but I don't want it to update when I update documents.
Here is a breakdown of my use case:
I have a platform that is built as a collection of microservices, one of the services controls all access to the data through publications. The other services, which are all meteor apps, then subscribe to this data using a DDP connection and they loop over the published data to do some processing on the documents on a scheduled basis. Because the publications are reactive, the methods that do the processing never stop running because the publication continually updates the subscription when I update one of the top level documents.
I was wondering if there is a way to add an option to turn reactivity off for specific subscriptions or publications? Or maybe this is already possible?
Thanks

Sounds like you should be using a method rather than a publication. Publications are made to be reactive. If you don't want/need reactivity you will use less server resources with a method.

I actually tried to go that way to begin with but after some research I found that I had to subscribe to the data from the other services or there wasn't any data available to the service. I will do some more playing around with it and see if I can figure out what I can do.


KEY_CTRL is not detected when control-clicking on Button (on macOS)

Godot version
4.0.2.stable.official [7a0977ce2]
System information
macOS Vecture 13.3.1, M1 Max MacBook Pro
Issue description
Input.is_key_pressed(KEY_CTRL) is always returning false in the pressed callback for a Button, when when Input.is_key_pressed(KEY_CTRL) returns true in _process.
This prevents implementing control-clicking a button in my game.
Steps to reproduce
The attached reproduction project prints a message showing which modifier keys are pressed while clicking the button. It works correctly for KEY_META, KEY_ALT, and KEY_SHIFT, but not for KEY_CTRL.
It also includes code (commented out by default) that logs modifier key pressed status in _process to demonstrate that KEY_CTRL detection is working in general.
Minimal reproduction project
ControClickButton.zip

This is not a bug but default behavior of MacOS. When pressing ctrl and left click MacOS interprets it as right click. Therefore it is not that Input.is_key_pressed(KEY_CTRL) is always false but more that when it is true the pressedsignal is never call because it is called only on left mouse button click (by default). To prevent that you can just add right click to the button mask.

Thanks for the explanation! Closing as not a bug.


How to check if a request have been handled by interception

Hi there, this is not a bug but more a question (sorry if it's not a right place to ask here let me know). How can I check if a request have been handled by interception?  as per here https://github.com/puppeteer/puppeteer/issues/2687#issuecomment-463922612, puppeteer it have a property named '_interceptionHandled' to use, but seems puppeteer-sharp doesn't provide it.
many thanks

Hi @kblok, I have few extension methods for example:
public static async Task DisableImages(this Page page) {
    await page.SetRequestInterceptionAsync(true);
    page.Request += async (sender, args) =>
    {
        if (args.Request.ResourceType == ResourceType.Image) await args.Request.AbortAsync();
        else await args.Request.ContinueAsync();
    }
}

public static async Task DisableStyleSheet(this Page page) { // similar logic}

public static async Task IgnoreUrls(this Page page, params string[] urls) { // similar logic}

I want them separated and combinable on some cases
case 1:
var page = await newPageAsync();
await page.DisableImages();
// my business logic

case 2:
var page = await newPageAsync();
await page.DisableImages();
await page.DisableStyleSheet();
// my business logic

case 3:
var page = await newPageAsync();
await page.DisableStyleSheet();
await page.IgnoreUrls("https://www.google.com");
// my business logic

Closed due to inactivity. Feel free to reopen it if needed.

Hi @kblok I think this is not solve yet? Or do you think these use-case scenario doesn't make sense?

Re-opening. Thanks @clement128 for pushing back.


Strange Deprecation warning message

Just wondering what's the deal with this deprecation message:
.local/share/virtualenvs/label-studio-manager-YXK50_kR/lib/python3.10/site-packages/label_studio_sdk/client.py:54: DeprecationWarning: A deprecation warning to fit accordingly to your deprecation policy
    warnings.warn("A deprecation warning to fit accordingly to your deprecation policy", DeprecationWarning)

from https://github.com/heartexlabs/label-studio-sdk/blob/master/label_studio_sdk/client.py#L54
is it serving any purpose?

Yeh, looks really weird. I've just removed it :-)


Forward input dims in Reshape ShapeHelper

In this reshape op in a quantized bert model, the first two dimensions of the output are the same as the ones in the input, so we would like to forward IndexExprs of these dimensions from the input to the output so that DimAnalysis works. But it failed because of using IndexExpr.selectOrSelf.
%184 = onnx.Constant dense<[0, 0, 12, 64]> : tensor<4xi64>
%494 = "onnx.Reshape"(%491, %184) {allowzero = 0 : si64, onnx_node_name = "/bert/encoder/layer.0/attention/self/Reshape"} : (tensor<?x?x768xf32>, tensor<4xi64>) -> tensor<?x?x12x64xf32>

This patch updates selectOrSelf to forward the input QuestionMark when the condition is literal.

@AlexandreEichenberger if you know how to modify selectOrSelf to fix this issue, please let me know or please feel free to create a PR for that. Thanks!

It looks like I found the way to change selectOrSelf but it only works if the condition is literal at compile time.

@tungld  is there still a case to look into?

@tungld is there still a case to look into?

I changed selectOrSelf to handle the case where the comparison is literal. It works for the quantized bert model. I hope it's enough for most cases.

@AlexandreEichenberger It's ready for review.

Jenkins Linux amd64 Build #14969 [push] Forward input dims in Re... started at 10:54

Jenkins Linux s390x Build #14974 [push] Forward input dims in Re... started at 11:54

Jenkins Linux ppc64le Build #13999 [push] Forward input dims in Re... started at 12:03

Jenkins Linux amd64 Build #14969 [push] Forward input dims in Re... passed after 1 hr 7 min

Jenkins Linux s390x Build #14974 [push] Forward input dims in Re... passed after 1 hr 31 min

Jenkins Linux ppc64le Build #13999 [push] Forward input dims in Re... passed after 1 hr 59 min


[snarky-rs] refactor compute_witness to produce witness format

needed for compatibility with kimchi

@mrmr1993 can you rereview this?


Trying to create Gene List from worksheet has js import errors

I think this is preventing it from getting the autocomplete genes. This is not an issue if you try to create a new gene list from the dashboard.

Looks like a loading error in the require config at the top of the page.  Causing it not to find the js file. I'll make the fix


License information?

Great work and thanks for sharing code. Is there any information about the license of the code?

Thanks!
See the added, LICENSE.md


Update guidelines for new HC approval process

There are more words here, but this will be a much simpler and quicker process than before :)


Typo fix

@ppatierno Could you give me right access to this repo? Seems not worth to go through the PR hazzle for things like this. Thx.

@gunnarmorling I have just merged it but you should already have write permissions. Btw I see that you didn't accept invitation as collaborator. Only @mbogoevici accepted it.

Ha, that explains. Thanks, just accepted.


[ANCHOR-371] Refactor metrics report

PR Checklist
PR Structure

[ ] This PR has reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR avoids mixing refactoring changes with feature changes (split into two PRs
otherwise).
[ ] This PR's title starts with name of package that is most changed in the PR, ex.
paymentservice.stellar, or all or doc if the changes are broad or impact many
packages.

Thoroughness

[ ] This PR adds tests for the most critical parts of the new functionality or fixes.

What
[TODO: Short statement about what is changing.]
Why
[TODO: Why this change is being made. Include any context required to understand the why.]
Known limitations
[TODO or N/A]

Reference Server Preview is available here:https://anchor-ref-pr1015.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1015.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1015.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1015.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1015.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1015.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1015.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1015.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1015.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1015.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1015.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1015.previews.kube001.services.stellar-ops.com/

Reference Server Preview is available here:https://anchor-ref-pr1015.previews.kube001.services.stellar-ops.com/SEP Server Preview is available here:https://anchor-sep-pr1015.previews.kube001.services.stellar-ops.com/


Javascript grammar is broken.

$element.attr({
    'data-external': href,
	href: '#leavingDisney'
});

$element.attr({
    'data-external': href,
	href:               '#leavingDisney'
});

Seems to be working on windows.

Probably had to do with embedded tab. Closing for now as it appears to be working no mac.
$element.attr({
    'data-external': href,
    href:            '#leavingDisney'
});


_ShowValueForDate measure: I messed it up

Describe the problem
Error HTTP/500: Internal Server Error.
Sequence contains no matching element
Bravo version
0.9.5 (0.9.8190.17886)
Tabular model
Power BI Desktop, import mode
Power BI
Version: 2.107.841.0 64-bit (July 2022)
Steps to reproduce the behavior
I accidentally messed up the _ShowValueForDate measurre and can't remember what goes in the spot below:
_ShowValueForDates =
VAR __LastDateWithData =
CALCULATE (
MAXX ( { MAX ( 'Sales'[Date] ), MAX ( 'Budget 2022'[Date] ), MAX ( 'Dates'[Date]),"......"}, //<-- THE END OF THIS LINE ( SEE SCREENSHOT BELOW)
REMOVEFILTERS ()))
VAR __FirstDateVisible =
MIN ( 'Date'[Date] )
VAR __Result =
__FirstDateVisible <= __LastDateWithData
RETURN
__Result
Additional context
All of my existing time intelligence measures are connected to this measure and without it, the thing doesn't work.
Screenshots

Anything else ?
Trace Id: 00-011159c9410739088ccc4defa086eb38-3d89abf8fab0e107-00

Okay, thanks.
Dave
Dave Lafferty
Business Systems Analyst
NOF Metal Coatings North America
Office:<PHONE_NUMBER>
Direct:<PHONE_NUMBER>
@.***
 This e-mail transmission and any attachment are intended only for the use of

the individual or entity to which the communication is addressed, and may contain
information that is privileged, confidential and exempt from disclosure under
applicable laws. If you are not the intended recipient, you should be aware that
any dissemination, distribution or copying of this communication is strictly prohibited.
If you have received this transmission in error, please notify us immediately,
return the original message to us at the above address, and delete it.
From: Marco Russo @.>
Sent: Tuesday, August 9, 2022 10:42 AM
To: sql-bi/Bravo @.>
Cc: Dave Lafferty @.>; Author @.>
Subject: Re: [sql-bi/Bravo] _ShowValueForDate measure: I messed it up (Issue #466)
If I understand correctly, you modified the DAX code in Power BI. Can you try to regenerate the code from Bravo? If you make other changes that you want to preserve, just copy the file and work on a copy to get the code generated correctly. The code is generated for your specific model, so it's hard to guess the missing part.
—
Reply to this email directly, view it on GitHubhttps://github.com/sql-bi/Bravo/issues/466#issuecomment-1209547920, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2OGG2L37J6TLI23F4WP4SLVYJ327ANCNFSM56AYPOCA.
You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>Caution: This email is from outside the organization. Double check the sender address before clicking links or opening attachments.
This email transmission and any attachments are intended only for the use of the individual or entity to which the communication is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable laws. If you are not the intended recipient, you should be aware that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this transmission in error, please notify us immediately, return the original message to us at the above address, and delete it.


Metadata in SRML

Custom Documentation:

[ ] The purpose of the module
[ ] Explanation of the real world users and their role/interactions with the module
[ ] Key logic, processes, or assumptions that happen within the module
[ ] Details on how a module easily integrates with other associated modules

Rust Docs:

[ ] Available storage items and what they hold
[ ] Public Functions
[ ] Internal Functions

Draft in progress: https://hackmd.io/3c-y_oAGTDOwMvm7fFZciA


[Crosswalk-11][wrt][xwalk-2715] Update one test about project-dir option for rtcoremanu

Impacted TCs num(approved): New 0, Update 1, Delete 0
Unit test Platform: Android
Android test result summary: Pass 1, Fail 0, Block

LGTM


(Msg)WaitFor(Single|Multiple)Object(s)(Ex) now return Result instead of WIN32_ERROR

#2476 transforms all WIN32_ERROR return values into Result<()> using .ok(); This does not fit the WaitFor(Single|Multiple)Object(s)(Ex) family of functions very well since they return WAIT_FAILED on failure and .ok() only returns Ok(()) for WAIT_OBJECT_0. This might work only for WaitForSingleObject(Ex) but this is debatable. This doesn't work for WaitForMultipleObject(s)(Ex) since success values range from WAIT_OBJECT_0 through WAIT_OBJECT_0 + MAXIMUM_WAIT_OBJECTS. I'd like to propose to exclude these functions from these transformations and have them return WIN32_ERROR values.
Note that MsgWaitForMultipleObjects(Ex) still returns u32 instead of WIN32_ERROR or Result<()>
In the meantime I use this helper fn to convert the wait result into something more usable:
#[inline]
fn cvt_wait_result(result: windows::core::Result<()>) -> windows::core::Result<WIN32_ERROR> {
    match result {
        Ok(_) => Ok(WAIT_OBJECT_0),
        Err(err) => match WIN32_ERROR::from_error(&err) {
            None | Some(WAIT_FAILED) => Err(windows::core::Error::from_win32()),
            Some(err) => Ok(err),
        },
    }
}

If the metadata marks the functions as PreserveSig = true then we could avoid the transformation. I'll forward to the Win32 metadata repo for their consideration.


history.length test fails on browserspy [but works elsewhere]

To reproduce (I have all 3 of our scripts enabled, hence the windows.name result included below). Clearly different methods are being used

Open a tab, load the wiki and quickly load ten different pages in the same tab so tab history exists and then click on "user scripts"
Click on the Browserspy test for history.length

Number of pages visited in History should fail :x:  and show the number 10 (which is our limit in preferences)

Go back one page to re-land on the wiki, and now click the JoDonym landing page test link for window.name

Tab name (windows.name) and Tab history should be green :white_check_mark:  and Protected

So it begs the question, how is browserspy collecting the count? If only we had someone like @earthlng who could inspect the web page code and tell us if this can be countered. When I wrote this I knew it was security by obscurity, and that code could probably keep parsing the actual history until it got a null or something - we're only lying about the history length, not the contents.
EDIT: also reminder that GM cannot run these scripts - they break web browsing (standalone images, maybe in other ways) when uBo is installed, or indeed any script that applies with // run-at document-start to the domain. And these scripts do not work in GM or VM if that is removed.

[ ] wiki scripts: add huge warning that these fail in VM (and GM with uBo causes issues)
[ ] wiki scripts: Add JoDonym test to history.length. Mark browserspy test as a fail (different method) - state it's security by obscurity.
[ ] wiki extensions: add note to GM in  that // run-at document-start breaks things
[ ] wiki extensions: add VM, check manifest, privacy policy

UPDATE - they all break in GM and VM if using document start- I've had enough. Maybe Tampermonkey?

The console error that comes up with GM + uBo when a stand-alone image fails to load is

http channel Listener OnDataAvailable contract violation

Meanwhile, I am simply using GM with the 3 scripts disabled. Maybe I'll try TM one day

Browserspy source is JS:
<script type="text/javascript">
//<![CDATA[

		(history && typeof(history.length) != "undefined") ? document.writeln(history.length) : document.writeln("Property not supported or blank!");
	//]]>
</script>

It took me a long time to figure out what the problem is here; must have been at least 30 seconds!
I had to copy-paste the console error into a search engine and click literally the first link and read it.
https://github.com/adsbypasser/adsbypasser/issues/1544
solution: get rid of your legacy extensions that aren't e10s-compatible and then enable e10s.

solution: get rid of your legacy extensions that aren't e10s-compatible and then enable e10s.

That's what I document in uBO's release notes for the webext version of uBO:
https://github.com/gorhill/uBlock/wiki/Firefox-WebExtensions#read-carefully-if-using-ubowebext

I can live without those 3 scripts until GM WE is out. I won't be jumping into 57 immediately, probably 2 or 3 weeks afterwards (NoScript, GM, couple of others are a bit late to the party). I'll leave any more migrations til the last minute. Thanks gorhill, earthlng. That closes the issue re uBo WE vs weird effects. TIL to use the console more.
HOWEVER .. does this explain why the test works on JoDonym and not Browserspy


Failed AdBlock Plus

https://ibb.co/23d1YqB

Thanks for reporting this 👍
I guess Adblock Plus is morepicky about the format.
I've released a new version that should fix this, please remove and then re-add the list in your adblocker.


Does not process images in .md files

I'm working on an upgrade to astro 1.0.1, and find that my images in markdown files which were using normal markdown image syntax ([]()) are no longer being converted to <picture> elements.

Hi, this is more of an astro issue.  In the stable release, they want the user to dump the entire website in a single src directory - basically you can't separate out code and content any more. If you are not using a CMS, which many small website creators/maintainers don't, this is not good news.
I have a plugin that provides a solution here: https://gitlab.com/public-repositories/remark-astro-markdown-local-images .
I would rather this become core functionality though, rather than needing a plugin - as it shows an intention to prefer infrastructures for big websites over developers who run smaller websites.

Hey @ChauhanT any plans to put your plugin on Github? You can sync it to Gitlab with an action now.
I agree with you that this absolutely should be core functionality

@ChauhanT does your plugin work with Astro 1.5.x? It didn't for me. My image within the same directory as my md file is not being transformed into srcset. It remains untouched.

@djmtype Did you succeed to make it working? How did you install it as it's not published with npm. I'm also looking for an Astro solution to optimize images included in markdown content.

Thanks you for these infos. On this image optimisation issue, Gatsby seems still Better...

@ChauhanT Thanks for sharing your solution with us :heart:
In case it helps someone (e.g. @eur2):
I wrote here I got it to work

Hi guys, sorry for the late response. After writing several such small plugins I noticed I was having a lot of other issues with astro. Due to time-restrictions, sadly, I decided to go back to gatsby. I am hoping to come back to astro in about a year when hopefully the ecosystem will be on-par with other frameworks.

@eur2 Thanks for the link. It looks great! I'll try it the next time I move back to astro.


chore: migrate to postcss

The purpose here is to migrate from SCSS to using just PostCSS along with its plugin system, with the aim of maintaining support for much of the SCSS syntax that we use and want to continue using.
Still to do:

Fix CSS asset (fonts) paths in Storybook.
Figure out a way to get  SASS-like maps to work in PostCSS

@dwene and @jaruesink, this is ready for review when y'all have time.


Inbuilt crypto miner

Inbuilt crypto miner which can not be disabled.
It's not their choice, it's mine.

Possible duplicate based on where #43 is going


Magisk module UNZIP ERROR

Hi, I seem to get an unzip error in magisk after trying to install the zip as a module.
I redowloaded the file a couple times but it doesnt fix the issue.
I  am usin Google pixel 4a, android 13
thanks.

Same Here ....

Hi, I seem to get an unzip error in magisk after trying to install the zip as a module.
I redowloaded the file a couple times but it doesnt fix the issue.
I  am usin Google pixel 4a, android 13
thanks.

Use Androidacy Manager to flash....
It worked but the adapter is still not detected.

same, which adapter are you using?

same, which adapter are you using?

TN-WN722N V2

I have same problem, module was working with official magisk but in kitsune mask i get unzip error. Even unzipping and zipping again doesnt help:/


BUG: entropy calculations failing for large values

Describe your issue.
For a few distributions, the entropy calculation currently fails for large values. As an example, consider the gamma distribution:
for $x>1e12$, the computed entropy starts to oscillate and after approx. 2e16, returns just 0.

Affected distributions and current PRs that aim to fix it:

[x]  gamma #18095
[x]  gengamma #18131
[x] invgamma #18122
[ ] f
[x] t #18135
[ ] beta #18499
[x] chi #18094
[x] chi2 #17930
[x] genlogistic #17930
[ ] wishart
[ ] invwishart
[x] multivariate_t #18465

The reason for the failures are catastrophic cancellations occuring in the subtraction of logarithmic beta/gamma functions betaln/gammaln on one side and the digamma function psi or simply log on the other side.
This can be avoided by using asymptotic expansions instead of calling the functions from scipy.special. See #17930 for examples.
The expansions for $\psi$ and $\ln(\Gamma)$ used in PRs such as #17929 are:
$$
\begin{align}
\psi(x) & \sim\ln(x) - \frac{1}{2x} - \frac{1}{12x^2}+\frac{1}{120x^4}-\frac{1}{252^6} \
\ln(\Gamma(x)) &\sim x\ln(x)-x-\frac{1}{2}\ln(x)+\frac{1}{2}\ln(2\pi)+\frac{1}{12x}-\frac{1}{360x^3}+\frac{1}{1260x^5}
\end{align}
$$
For the beta function, expansions are listed on  Wikipedia:
If $x$ and $y$ are large:
$$
\begin{align}
B(x, y) & \sim\sqrt{2\pi}\frac{x^{x-1/2}y^{y-1/2}}{(x+y)^{x+y-1/2}} \
\ln(B(x, y)) & \sim \ln(\sqrt{2\pi})+(x-1/2)\ln(x)+(y-1/2)\ln(y)-(x+y-1/2)\ln(x+y)
\end{align}
$$
If one argument is large (here y, same holds for large x as betaln is symmetric):
$$
\begin{align}
B(x, y) & \sim\Gamma(x)y^{-x} \
\ln(B(x, y)) & \sim \ln(\Gamma(x)) - x\ln(y) \
\end{align}
$$
This issue can keep track of the necessary fixes.
Reproducing Code Example

import numpy as np
import matplotlib.pyplot as plt
from scipy import stats
from mpmath import mp

mp.dps = 50

@np.vectorize
def gamma_entropy_reference(x):
    x = mp.mpf(x)
    return mp.digamma(x) * (mp.one - x) + x + mp.loggamma(x)

x = np.logspace(5, 20, 1000)
reference_entropy = np.array(gamma_entropy_reference(x), np.float64)
plt.semilogx(x, stats.gamma.entropy(x), label="scipy main")
plt.semilogx(x, reference_entropy, label="mpmath")
plt.legend(loc='upper left')
plt.xlabel("$x$")
plt.ylabel("$h$")
plt.ylim(0, 40)
plt.show()

Error message
See plot above

SciPy/NumPy/Python version and system information
current main branch

If one argument is large (here y, same holds for large x as betaln is symmetric):

Just a heads up that this formula is wrong. You used the expansion used for large x on gammaln, when x is defined to not be large.

If one argument is large (here y, same holds for large x as betaln is symmetric):

Just a heads up that this formula is wrong. You used the expansion used for large x on gammaln, when x is defined to not be large.

Thanks for finding, will correct it!

FYI technically these implementations don't really need to use _lazywhere. ISTM that if....else would work fine because the distribution infrastructure apparently applies np.vectorize to _entropy before it is called, so _entropy only ever gets passed scalar arguments. But go ahead and keep using _lazywhere for now; the new infrastructure will take advantage of the inherent vectorization. (And it is not worth a fix or a an enhancement request. I'll track this in gh-15928,)

@MatteoRaso : in case you are also still looking into this. I would like to use this to get more familiar with sympy, so if you dont mind I would finish the last two cases :).

@MatteoRaso : in case you are also still looking into this. I would like to use this to get more familiar with sympy, so if you dont mind I would finish the last two cases :).

Yes, that sounds good. I'm a bit busy right now, so I wouldn't be able to handle this for a while, anyways.

Hi @dschmitz89
Is there any among these that I could work on?

Hi @dschmitz89 Is there any among these that I could work on?

Yes definitely! I guess that multivariate_t is the easiest one to start out with. In the univariate case, Wolfram Alpha gave a very neat formula directly without any symbolic math effort of ourselves in #18903.

Hi @dschmitz89 Is there any among these that I could work on?

Yes definitely! I guess that multivariate_t is the easiest one to start out with. In the univariate case, Wolfram Alpha gave a very neat formula directly without any symbolic math effort of ourselves in #18903.

I see thank you. I'll have a look at that then as a start.

Hi @dschmitz89 Is there any among these that I could work on?

Yes definitely! I guess that multivariate_t is the easiest one to start out with. In the univariate case, Wolfram Alpha gave a very neat formula directly without any symbolic math effort of ourselves in #18903.

I see thank you. I'll have a look at that then as a start.

@dschmitz89 I tried using wolfram alpha and the output it returns is quite long. Could you kindly have a look to see if I have inputted this correctly. https://www.wolframalpha.com/input?i2d=true&i="asymptotic+expansion+-gammaln\(40)Divide[\(40)m%2Bd\(41)%2C2]\(41)+%2B+gammaln\(40)Divide[d%2C2]\(41)+%2B+0.5++m++np.log%5C%2840%29d++np.pi%5C%2841%29+%2B+%5C%2840%29Divide%5B%5C%2840%29m%2Bd%5C%2841%29%2C2%5D%5C%2841%29++%5C%2840%29psi%5C%2840%29Divide%5B%5C%2840%29m%2Bd%5C%2841%29%2C2%5D%5C%2841%29+-+psi%5C%2840%29Divide%5Bd%2C2%5D%5C%2841%29%5C%2841%29%22
I left out the last term + 0.5 * shape_info.log_pdet in the original formula when creating the equation.

Hi @dschmitz89
I we want to handle the beta entropy
def _entropy(self, a, b):
    return (sc.betaln(a, b) - (a - 1) * sc.psi(a) -
            (b - 1) * sc.psi(b) + (a + b - 2) * sc.psi(a + b))

do we need to consider each of the three conditions for the expansions as mentioned in the description i.e.

both a and b are large
a is large
b is large

Hi @dschmitz89
If we want to handle the beta entropy
def _entropy(self, a, b):
    return (sc.betaln(a, b) - (a - 1) * sc.psi(a) -
            (b - 1) * sc.psi(b) + (a + b - 2) * sc.psi(a + b))

do we need to consider each of the three conditions separately for the expansions as mentioned in the description i.e.

both a and b are large
a is large
b is large

Edit: I think we only need two cases. One if both arguments are large and one if only one argument is large. The formula is kind of "symmetric" so a→∞ yields the same formula as b→∞ if a and b are switched. CC @OmarManzoor

@dschmitz89
For the case where only one of the arguments is large the expansion for betaln involves the gammaln term. So we need to substitute the expansion of gammaln as well right?

@OmarManzoor
I think the problem is that the asymptotic expansion is very wrong for digamma(a) at a=1. Only for b it should be applied here, for a the regular digamma function is correct.

@OmarManzoor I think the problem is that the asymptotic expansion is very wrong for digamma(a) at a=1. Only for b it should be applied here, for a the regular digamma function is correct.

Thanks.

@OmarManzoor I think the problem is that the asymptotic expansion is very wrong for digamma(a) at a=1. Only for b it should be applied here, for a the regular digamma function is correct.

I tried this out by ignoring the - (a-1)*digamma(a) in the expansion

import sympy

from sympy import log, pi, sqrt, simplify, expand, Rational

x, y, a, b = sympy.symbols("x, y, a, b")

def digamma(x):
    return log(x) - 1/(2*x) - 1/(12*x**2) + 1/(120*x**4)

def gammaln(x):
    return x*log(x) - x - Rational(1,2)*log(x) + Rational(1,2)*log(2*pi) + 1/(12*x) - 1/(360*x**3)

def betaln(x, y):
    return gammaln(x) - x*log(y)

#old_1 = betaln(a, b) - (a - 1)*digamma(a) - (b - 1)*digamma(b) + (a + b - 2)*digamma(a+b)
old = betaln(a, b) - (b - 1)*digamma(b) + (a + b - 2)*digamma(a+b)

ref = simplify(simplify(simplify(old)))
ref

I simplified this expression and added the - (a - 1) * psi(a) at the end
def asymptotic_one_large(a, b):
    sm = a + b
    return (
        a*np.log(a) - a*(np.log(b) + 1) + (np.log(2*np.pi) - np.log(a)) / 2
        + (sm - 2) * (-1/(2*sm) - sm**-2.0/12 + np.log(sm) + sm**-4.0/120)
        - (b - 1) * (np.log(b) - 1/(2*b) - b**-2.0/12 + b**-4.0/120)
        + 1/(12*a) - a**-3.0/360
        - (a - 1) * psi(a)
    )

def beta_entropy_mpmath(a, b):
    a = mp.mpf(a)
    b = mp.mpf(b)
    entropy = mp.log(mp.beta(a, b)) - (a - 1) * mp.digamma(a) - (b - 1) * mp.digamma(b) + (a + b - 2) * mp.digamma(a + b)
    return float(entropy)

a, b = 1.0, 1e50
print(asymptotic_one_large(a, b))
print(beta_entropy_mpmath(a, b))

>>>0.08055555555555555
>>>-114.12925464970229

The overall results seem to be really off. Could you kindly have a look?

@OmarManzoor I think the problem is that the asymptotic expansion is very wrong for digamma(a) at a=1. Only for b it should be applied here, for a the regular digamma function is correct.

I tried this out by ignoring the - (a-1)*digamma(a) in the expansion
import sympy

from sympy import log, pi, sqrt, simplify, expand, Rational

x, y, a, b = sympy.symbols("x, y, a, b")

def digamma(x):
    return log(x) - 1/(2*x) - 1/(12*x**2) + 1/(120*x**4)

def gammaln(x):
    return x*log(x) - x - Rational(1,2)*log(x) + Rational(1,2)*log(2*pi) + 1/(12*x) - 1/(360*x**3)

def betaln(x, y):
    return gammaln(x) - x*log(y)

#old_1 = betaln(a, b) - (a - 1)*digamma(a) - (b - 1)*digamma(b) + (a + b - 2)*digamma(a+b)
old = betaln(a, b) - (b - 1)*digamma(b) + (a + b - 2)*digamma(a+b)

ref = simplify(simplify(simplify(old)))
ref

I simplified this expression and added the - (a - 1) * psi(a) at the end
def asymptotic_one_large(a, b):
    sm = a + b
    return (
        a*np.log(a) - a*(np.log(b) + 1) + (np.log(2*np.pi) - np.log(a)) / 2
        + (sm - 2) * (-1/(2*sm) - sm**-2.0/12 + np.log(sm) + sm**-4.0/120)
        - (b - 1) * (np.log(b) - 1/(2*b) - b**-2.0/12 + b**-4.0/120)
        + 1/(12*a) - a**-3.0/360
        - (a - 1) * psi(a)
    )

def beta_entropy_mpmath(a, b):
    a = mp.mpf(a)
    b = mp.mpf(b)
    entropy = mp.log(mp.beta(a, b)) - (a - 1) * mp.digamma(a) - (b - 1) * mp.digamma(b) + (a + b - 2) * mp.digamma(a + b)
    return float(entropy)

a, b = 1.0, 1e50
print(asymptotic_one_large(a, b))
print(beta_entropy_mpmath(a, b))

>>>0.08055555555555555
>>>-114.12925464970229

The overall results seem to be really off. Could you kindly have a look?

We are confusing the arguments with each other. For large $b$, $\ln(\Gamma(a))$ must not be expanded. Let*s look at the original expansion from wiki:

That means here we need to do:
$$
\begin{align}
\lim_{b\to\infty} h_{\beta}(a, b) & = \lim_{b\to\infty} \ln(\beta(a, b)) - (a -1)\psi(a) - (b-1)\psi(b) + (a+b-2)\psi(a+b) \\
& = \ln(\Gamma(a)) - a\ln(b) -(a-1)\psi(a)-(b-1)\psi_{exp}(b) + (a+b -2)\psi_{exp}(a+b)
\end{align}
$$
where $\psi_{exp}$ denotes the asymptotic expansion of $\psi$.

@dschmitz89
I tried this as well but it just does not seem to match. Here is the code
from scipy.special import psi
from scipy.special import gammaln

def asymptotic_one_large(a, b):
    s = a + b
    t1 = gammaln(a) - a*np.log(b) - (a - 1)*psi(a)
    t2 = np.log(b) - b*np.log(b) - 1/(2*b) + 1/(12*b) - b**-2./12
    t3 = a*np.log(s) + b*np.log(s) - 2*np.log(s) - 1/(12*s) + 1/s + s**-2./6
    return t1 + t2 + t3

def beta_entropy_mpmath(a, b):
    a = mp.mpf(a)
    b = mp.mpf(b)
    entropy = mp.log(mp.beta(a, b)) - (a - 1) * mp.digamma(a) - (b - 1) * mp.digamma(b) + (a + b - 2) * mp.digamma(a + b)
    return float(entropy)

a, b = 2.0, 1e20
print(asymptotic_one_large(a, b))
print(beta_entropy_mpmath(a, b))

>>>0.0
>>>-44.47448619497938

By the way if I define asymptotic_one_large like this by returning the value at once instead of keeping it in t1,t2,t3 and then adding, the result is completely different

def asymptotic_one_large(a, b):
    s = a + b
    return (
        gammaln(a) - a*np.log(b) - (a - 1)*psi(a)
        + np.log(b) - b*np.log(b) - 1/(2*b) + 1/(12*b) - b**-2./12
        + a*np.log(s) + b*np.log(s) - 2*np.log(s) - 1/(12*s) + 1/s + s**-2./6
    )

a, b = 2.0, 1e20
print(asymptotic_one_large(a, b))
print(beta_entropy_mpmath(a, b))

>>>-92.10340371976183
>>>-44.47448619497938

I found a way around the catastrophic cancellations that occur in the logarithmic terms.

from scipy.special import psi
from scipy.special import gammaln
from mpmath import mp
import numpy as np

mp.dps = 100

def asymptotic_one_large(a, b):
    s = a + b
    simple_terms = gammaln(a) - (a -1)*psi(a) - 1/(2*b) + 1/(12*b) - b**-2./12 - 1/(12*s) + 1/s + s**-2./6
    difficult_terms = s * np.log1p(a/b) + np.log(b) - 2 * np.log(s) #np.log(b) * (1 - s) + (s - 2) * np.log(s)

    return simple_terms + difficult_terms

def beta_entropy_mpmath(a, b):
    a = mp.mpf(a)
    b = mp.mpf(b)
    entropy = mp.log(mp.beta(a, b)) - (a - mp.one) * mp.digamma(a) - (b - mp.one) * mp.digamma(b) + (a + b - 2*mp.one) * mp.digamma(a + b)
    return float(entropy)

a, b = 20, 1e20
print(asymptotic_one_large(a, b))
print(beta_entropy_mpmath(a, b))

>>> -43.151773525282245
>>> -43.15177352528225

The trick is to write  $\ln(a+b)-\ln(b)=\ln((b+a)/b)=\ln(1+a/b)=log1p(a/b))$
That way the above labeled "difficult terms" can be calculated accurately:

a, b = 20., 1e20
s = a+b
np.log(b) * (1 - s) + (s - 2) * np.log(s), s * np.log1p(a/b) + np.log(b) - 2 * np.log(s)

>>> (0.0, -26.051701859880907)

@OmarManzoor sorry for all this back and forth. I found a way around the catastrophic cancellations that occur in the logarithmic terms finally.
from scipy.special import psi
from scipy.special import gammaln
from mpmath import mp
import numpy as np

mp.dps = 100

def asymptotic_one_large(a, b):
    s = a + b
    simple_terms = gammaln(a) - (a -1)*psi(a) - 1/(2*b) + 1/(12*b) - b**-2./12 - 1/(12*s) + 1/s + s**-2./6
    difficult_terms = s * np.log1p(a/b) + np.log(b) - 2 * np.log(s) #np.log(b) * (1 - s) + (s - 2) * np.log(s)

    return simple_terms + difficult_terms

def beta_entropy_mpmath(a, b):
    a = mp.mpf(a)
    b = mp.mpf(b)
    entropy = mp.log(mp.beta(a, b)) - (a - mp.one) * mp.digamma(a) - (b - mp.one) * mp.digamma(b) + (a + b - 2*mp.one) * mp.digamma(a + b)
    return float(entropy)

a, b = 20, 1e20
print(asymptotic_one_large(a, b))
print(beta_entropy_mpmath(a, b))

>>> -43.151773525282245
>>> -43.15177352528225

The trick is to write ln(a+b)−ln(b)=ln((b+a)/b)=ln(1+a/b)=log1p(a/b)) That way the above labeled "difficult terms" can be calculated accurately:
a, b = 20., 1e20
s = a+b
np.log(b) * (1 - s) + (s - 2) * np.log(s), s * np.log1p(a/b) + np.log(b) - 2 * np.log(s)

>>> (0.0, -26.051701859880907)

Very nice! Thank you for this.

I was curious whether anyone could share an example use of the numerical value of the entropy of a distribution. The concept of differential entropy is used all over, of course, but I haven't been able to find examples where the entropy of a named distribution (like one of those named above) is used. Thanks for considering it!

Closing for some time until more reviewer capacity is available.


pruning cannot handle cell data

With meshio version 4.0.10 (on pip at the time of writing) pruning does not handle cell data correctly.
Converting from a file with two physical domains work without pruning.
What helped in may case is to make the following changes (see comments) to _mesh.py:
                new_cells.append(c)
                # use .items()
                for name, data in self.cell_data.items():
                    if name not in new_cell_data:
                        new_cell_data[name] = []
                    # concatenate since the data already is a list
                    new_cell_data[name] += data

Fixed via #778.


Add toolbar command to create a temporary dialog/wizard preview

Description:

The Mockup panel is fairly close to how a dialog or wizard will look, but it doesn't allow the user to actually interact with anything. For these two form types, we should be able to temporarily create a real dialog or wizard, utilizing each generator's Create function to create the required parts. As long as we limit it to dialogs and wizards and make sure it can be closed, then this could be added as an additional tool (to the right of the window magnifier?).

This has been added -- previews in either C++ or XRC are now available.


Build PDB.exe using MSBuild instead of devenv

In addition to replacing just with MSBuild, I also pass
MSVC toolset using PlatformToolset property and Windows SDK using
WindowsTargetPlatformVersion property.
relates to #999

I finally have time to start pushing code. This is not fully completed to satisfy me, but small piece which in my opinion make sense for you guys, and allow control of Windows SDK and VC Toolset using Gradle properties. /cc @ryanmkurtz

Just want to ping @ryanmkurtz as a reminder

We are currently in bug fix mode, focusing on getting the 9.1 beta ready for final release.  We will definitely get to this, but it will be for master/9.2.

I am starting to take a deeper look at building with VS19.  I started by evaluating this pull request.  Did you test this change with VS17 or just VS19?  It only works on VS19 for me.

I have build which working both with VS2017 and 2019 on Azure. I did not test locally, but  under assumption that msbuild on the path (from vcvars)

Ok once you get your other pull request up we can probably close this one and work from that one, since it includes what's in here.

@ryanmkurtz what specifically does not work for you with VS2017 ? I would like to move piece meal with VS changes, since I cannot install VS2017 right now and as such somewhat blind to the changes I made. I expect that /p:PlatformToolset=${platformToolset} /p:WindowsTargetPlatformVersion=${MSVC_SDK_VERSION} part may not work but not 100% sure. When I say it may not work, it mean that properties would not be passed to project properly. If so, I have solution to that problem probably.
Also if #1039 land before I start changing search function for VS, we will not come into conflict, since it is location where change likely will land.

@kant2002, since we have the requirement of being able to continue building with our existing VS17 environment, I think it would be most efficient if I add support for VS19 myself, and then when that is in and working (I have both environments installed), we can sync back up to add any additional support for your environment that you need.

@ryanmkurtz for me only changes was in closed PR, since that time you move code a bit, but not much. I was just curios what was not working. Will wait for VS2019 support from you guys then.

"Ghidra\Features\PDB\src\pdb\pdb.sln" (default target) (1) ->
"Ghidra\Features\PDB\src\pdb\pdb.vcxproj" (default target) (2) ->
(Link target) ->
LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib' [Ghidra\Features\PDB\src\pdb\pdb.vcxproj]
1 Warning(s)
1 Error(s)

Time Elapsed 00:00:06.66

Task :PDB:win64PDBMake FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':PDB:win64PDBMake'.

Process 'command 'cmd'' finished with non-zero exit value 1

According to that link you probably should install "VC ++ 2017 version v141 Libs for Spectre".

Why do you want to use MSBuild instead of devenv?  I should have opened with that.

Reason why I think msbuild should be used, it's that way you can control platform toolsets and Windows SDK. For example that way somebody can use whatever Widnows SDK installed on their PC. With devenv it would be more hard to implement I think.
Also it allow build Ghidra without VS installed. Definitely not priority for me, but think it would be +1 for that change.

Ok thanks for the explanation.

According to that link you probably should install "VC ++ 2017 version v141 Libs for Spectre".

Useful link, thanks.  Since we don't want to change anything about our build environment at this time, I simply disabled Spectre mitigation in the vcxproj file and it built.
Can you please choose from one of the following options for how you'd like to proceed so you get credit for your contributions?

You manually add your VS installation search code from #730 into this pull-request (into vsconfig.gradle), and I can work from this branch.
You rebase #730 onto master, and I can work from that branch.
I work from this branch, and you give me permission to copy what I want from #730.  You won't get commit-credit for any of that VS installation search code that I might copy and use though.  Not sure if you care about that.  You would get credit for this pull-request though.

Actually, I'm going to go with choice 3, because I think I am going to locate VS via the vswhere.exe program.  So, no need for you to change anything about your pull-requests for now.

Actually that spectre thing had nothing to do with your changes.

I can make Spectre flag passed to msbuild so that thing can be controlled by Gradle later on. This seems to be potentially desired configuration option

Ok, sounds good!  We'll want it off by default.

When you get that in, I plan to accept this pull-request.  Once accepted, I am going to make some changes to use vshwere.exe to find the latest studio and just use that.

I went ahead and merged this in.  I changed it slightly so you can define WindowsTargetPlatformVersion on the Gradle command line as a property.  If left undefined it will just use Visual Studio's default SDK. Anyone who wants to build for Windows 7 (like us) can set this Gradle property to "8.1".
Also, no need to make any changes for the Spectre mitigation.

Thanks. Now will try to incorporate that change in my fork.

Cool.  I'm currently working on #999 to get in support for VS19.


Ready Made Projects - BT Proxy "Failed to download manifest"

Attempting to go with a "Ready Made Project" from "https://esphome.io/projects/" - specifically, "Bluetooth Proxy" fails immediately with: "Failed to download manifest" immediately after connecting to the COM port.
This worked a couple of days ago. It seems that it is attempting to download:
https://firmware.esphome.io/bluetooth-proxies/olimex-esp32-poe-iso/manifest.json
but that file doesn't exist.

I also have this problem, but with the page https://www.home-assistant.io/voice_control/thirteen-usd-voice-remote/

Attempting to go with a "Ready Made Project" from "https://esphome.io/projects/" - specifically, "Bluetooth Proxy" fails immediately with: "Failed to download manifest" immediately after connecting to the COM port.
This worked a couple of days ago. It seems that it is attempting to download:
https://firmware.esphome.io/bluetooth-proxy/olimex-esp32-poe-iso/manifest.json
but that file doesn't exist.

This one should be fixed by esphome/bluetooth-proxies#97


use compile_hlg_using_openfst.py

now i have lm.arpa 、lexicon.txt  、wordlist ，Which script should I use to generate HLG
icefall/egs/librispeech/ASR/prepare.sh ?

You can either use compile_hlg_using_openfst.py (if your G is very large and if compile_hlg.py throws OOM) or compile_hlg.py.
You can choose any of them if they both work.
https://github.com/k2-fsa/icefall/blob/b293db4baf1606cfe95066cf28ffde56173a7ddb/egs/librispeech/ASR/prepare.sh#L309-L311

You can either use compile_hlg_using_openfst.py (if your G is very large and if compile_hlg.py throws OOM) or compile_hlg.py.
You can choose any of them if they both work.
https://github.com/k2-fsa/icefall/blob/b293db4baf1606cfe95066cf28ffde56173a7ddb/egs/librispeech/ASR/prepare.sh#L309-L311
Which script got that L_disambig.fst

I used make_hlg.sh before

I used make_hlg.sh before

I think make_hlg.sh invokes compile_hlg.py. You can replace it with compile_hlg_using_openfst.py if you encounter OOM due to using a large G.

I used make_hlg.sh before

I think make_hlg.sh invokes compile_hlg.py. You can replace it with compile_hlg_using_openfst.py if you encounter OOM due to using a large G.

but the required documents are not the same，compile_hlg_using_openfst.py need L_disambig.fst etc , make_hlg.sh generate L_disambig.pt etc

Required files are generated by
https://github.com/k2-fsa/icefall/blob/fbc88948044278b687a57309248eb2ae6df0a415/egs/librispeech/ASR/prepare.sh#L172-L187

ok,thanks


Posthog Survey on react native

Hello!
Not sure if this is the correct place to ask, and haven't find anything in the documentation - is Posthog Surveys available for react native ? If it is, how can it be enabled and if it's not, is there any plans of making it?
Thank you!
Related sub-libraries

[ ] All of them
[ ] posthog-web
[ ] posthog-node
[x] posthog-react-native

Need this too!

Hi, it's not supported yet for RN, that's correct.
Would you expect the UI (answering UI) implemented by the SDKs as well or just the API to load and send the survey answers back?
Not planned for the next few weeks at least, but we'll keep this issue open to gather interest.

@marandaneto  just the API would be sufficient!

Support for React Native would be much appreciated.

@neilkakkar is there an OpenAPI spec for surveys already or something documented people can look at?

Yep: https://posthog.com/docs/api/surveys
https://posthog.com/docs/surveys/implementing-custom-surveys
and you can check the posthog-js implementation to see how we use the APIs above: https://github.com/PostHog/posthog-js/blob/master/src/posthog-surveys.ts

Thanks @neilkakkar
If anyone reading this would like to contribute and open a PR, happy to guide and review.
It'd be pretty a port with some changes from the JS SDK.

It would be super cool if the react native SDK could support the Popup UI! Of course the API solution works, but I would presonally prefer the prebuild Popover in react-native over building a custom UI and handling the events myself

Here for this too - any updates on when you expect RN support for Surveys pre-built UI (non-API/custom) to be live?

Here for this too - any updates on when you expect RN support for Surveys pre-built UI to be live?

We're currently not working or planning to work on this within the next couple of months, but happy to guide PRs in case you would like to lend a hand, happy to guide you.

Upvote! Need this, too.

Would be awesome!

+1 would definitely use this!


[Bug Fix] User not redirected to previous location after sign in (#956)

Addresses: https://github.com/restarone/violet_rails/issues/915

fix(): saving the initial url for redirection

feat(): refactor and add test case

feat(): fix test case

@alis-khadka this is on its way to Heroku!
Acceptance criteria

When a non-signed in user navigates to a private forum thread A, they should be presented with a login screen. After login they should be redirected to the originally navigated to thread A
When a non-signed in user navigates to a private webpage foo, they should be presented with a login screen. After login they should be redirected to the originally navigated to page foo
When a non-signed in user navigates to a API Namespace A, they should be presented with a login screen. After login they should be redirected to the originally navigated to API Namespace A

@alis-khadka for completeness please add a test case that exercises the following:
When a non-signed in user navigates to a API Namespace A, they should be presented with a login screen. After login they should be redirected to the originally navigated to API Namespace A :heavy_check_mark:


Make npm packages smaller

Overview
I noticed there's an opportunity to reduce the size of the npm packages quite a bit. This PR does 3 things:

Remove dependency on tslib for packages that don't use it
Don't ship tests in the npm package.
Stop generating SourceMaps. Given the limited transformations Typescript makes and since there's no minification, they're of limited use. Node.js, by default, doesn't use them at all and if a bundler uses them it complicates the built for (IMHO) little value.

These are all independently useful. Let me know if you disagree with any of these and I can back out the change.
Impact
The impact is quite good. As an example upper-case-first now weighs just 3547 bytes on disk, down from 67172 bytes (-94.8%).
The breakdown is as follows:

Step
Size
%age change*

tslib
-51280B
-73.7%

SourceMap
-2827B
-4.2%

Tests
-3131B
-4.7%

*based on the original size of the package
Note this doesn't add up, that's because there are source map for the test files so they're counted in both rows =)
Further opportunities
The tslib requirement could be eliminated from the remaining packages if Object.assign would be expected as a Polyfill. As an alternative, there could be a dependency on a smaller ponyfill such as object-assign.

I'd be fine moving to Object.assign, I think it's a reasonable expectation that it exists. Let's keep source maps in though, I don't really want to have this project be customized that far and anyone using source-map-support might be using it anyway. Separately, not shipping tests is more complicated in my past experience - I'd need to double check it's working as expected but one gotcha to verify is that we're still type checking the test suite with this change. IIRC one time I tried this with another package and forgot about checking that.

Anyway, if we can just undo the source map change and optionally go further with the tslib and Object.assign changes, happy to merge this and iterate later!

Thanks for the quick review! Done w/ restoring the source map.
I'll take a look at the other changes in the next couple of days. Feel free to either merge this as-is or keep it open until I got that done.
As for the tests, I've tested it and messing with the types in a spec file will fail. Of course that might change with a different test runner.

I looked into the "just use Object.assign" part and discovered it's unfortunately not as easily possible as I thought. I suggest this one as-is and I'll follow-up with a PR for the Object.assign part that can be discussed separately.


(Question) .. working BT connections/adapters (Shelly BT Proxy/Gateway ???)

As I have to use BT proxies with my HA installation, I'm interested to hear what type of BT connections/adapters/gateways do or don't work well with this integration.
Initially I had to try a couple of esp32 modules until I got a working connection.
The best results sofar I got with a M5Stack ATOM Echo. But even with this it seems I'm loosing connection now and then.
Sometimes several times a day - some other day it will hold a day or two, I then need to reload the integration or if this doesn't work - reboot the esp32 and reload. As I have automated this, I can live with this behaviour, but still looking for a more stable configuration.
So I came across the Shelly BLUE stick and hoped it would improve things for me. But ..
no luck sofar. I even cannot get an initial connection with this. I also tried some other Shelly Gen3 devices with same negativ result.
I really would like to hear ..

what others use as BT connection succesfully
what I might be doing wrong or missing in regards to using Shellys as BT proxy
whether there are specific/special requirements for BT with this integration.

I have the Olimex ESP32-PoE and it works very well.


Add option to trust all URLs to the same website

This PR contains the work made by @nschnitzer for his GCI task. The original PR #3537 get automatically closed by git after a wrong push in the attempt to fix some indentation issues.
Contains
Adds option to trust all URLs with a certain hostname.
How to test
Try and open URLs with the same hostname after selecting the option.
Credit @nschnitzer.

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!


Support generating properties, constants and parameter default values with ENUM references

This is a rebased and adjusted version of #143.
With this change, ENUMs can be used as default values in generated code (properties, parameters, etc).

Q
A

Documentation
no

Bugfix
no

BC Break
no

New Feature
yes

RFC
no

QA
no

Closes #143

Thanks @Rastusik!


Add Orbit x Blend meeting notes

This PR adds the developer meeting notes for 2024-08-15

Preview is available here:http://developers-pr916.previews.kube001.services.stellar-ops.com

Something went wrong with PR preview build please check


Web interface

Hi,
Because some of the running members at my club having some problems to use this script (they have no experience with the command line, or Linux at all ;-) )
I have an simple to use online conversion tool based on this script that i like to share with you.
I have some plans for the future to expand more functions and an other website template, but for now it's working.
http://converter.hitrackconverter.com
Grtz,

Fantasic, this looks great! Is it open source? I'd like to see how it works, whether it does the processing client-side using JavaScript or whether it's a Flask app and does the processing on your server etc :)

It's writed on an Django environment. And starts direct server-side (local) the script when there is an job ready for run.
I will keep you updated!
Off topic, can I send you an pm?

That would be great, thanks! Are you happy for me to add a note about it to the readme or would you rather not the potentially greater load on your server?

Hi @phoenix-blue, would you mind making a small modification to the text on your website?
I think

HiTrack converter is a fully free to use project built as a labor of love by a single creator.

is a bit misleading as at least 4 other people have contributed to the code that does the conversion, even if the wrapper code on your site is entirely your own.
Many thanks!
Was only thinking about the front part but forget the background 😉
I will change it!

Thank you - I didn't do any of the work for the JSON implementation so I wanted to make sure that those who did the hard work got the credit! :)


Add implementation of IHttpClientFactory to make it easier to configure the IHttpClientFactory.

IHttpClientFactory can be use by either creating a custom implementation or a mock.
Add a TestableHttpClientFactory that can be used to easily create TestableHttpMessageHandlers and clients that are based on that.
Possible API:
public class TestableHttpClientFactory : IHttpClientFactory, IHttpMessageHandlerFactory
{
    public TestableHttpClientFactory();
    public TestableHttpClientFactory(HttpClientFactoryOptions options);

    public void AddTestableHttpMessageHandler(TestableHtpMessageHandler handler);
    public void AddTestableHttpMessageHandler(string name, TestableHtpMessageHandler handler);

    public TestableHttpHandler AddTestableHttpMessageHandler(Action<TestableHtpMessageHandler> configureHandler);
    public TestableHttpHandler AddTestableHttpMessageHandler(string name, Action<TestableHtpMessageHandler> configureHandler);
}

An extension method to register this new class as the new default is needed to be run in ConfigureTestServices, that way dependency injection could be used to test controllers.
Open questions:

Do we need to implement a custom ITypedHttpClientFactory<TClient>? (Probably not)
Do we need to implement a custom IHttpMessageHandlerBuilderFilter?

The assumption that a mock had to be used was not correct. The easier way is to use the normal dependency injection way and configure an HttpClient using the AddHttpClient methods on ServiceCollection.
This is now described in the integration tests and more in line with the documentation of Microsoft


Expand integration test suite

When the upstream image for e2e was broken on the unhappy path (failed to report results) would not report results and Sonobuoy would hang.

We should fix Sonobuoy so that we detect the container failed and handle it appropriately (ref #667)
We should test the e2e plugin specifically for this unhappy path, ensuring the situation is handled properly.

IMO "handled properly" means that if the donefile is missing but the container stopped; we should tar up anything in the results directory and report that as the results along with an error message stating that the container exited and providing any information we can about it (exit code, status message, etc)

Also useful for testing queries filter/gather data correctly and items we create in the cluster are related appropriately (e.g. for cascading deletions)

Would be useful to have a go integration suite that can launch a series of sonobuoy runs to test various behaviors.

Adding to the next milestone; main priority is setting up the framework and documenting what we want to test in this way. Even if, for now, those tests are noops or commented out, lets shoot for being able to run them.

Breadcrumb while its on my mind: we can slightly incorporate our examples into this. By that I mean that we have a sample command runner plugin (which returns a tarball). I would imagine we should also make a plugin that is similar that returns a single file (with known time, e.g. json).
This way we can make a big test run and see all (or as many as possible) of the combinations:
job vs daemonset
tarball vs single file results
passing/skipped/failing tests (junit)
plugins failing to launch/complete/report results

First PR has merged; now we can spend some time to actually make some useful tests :) Actually looking forward to getting this extra coverage

The test image has been created as well as a basic test using sonobuoy and a live cluster. Going to close this for now with the understanding that more tickets may be created for specific sets of tests that we want to add.


Dev - Information Architecture

Summing up the key points from #438...

As we continue our work on #1258, #1386, and the others mentioned in #1380, we can, and have already, started talking about better ways to group, consolidate, and improve the flow of pages within this site. This should be started by simply sorting the pages within each section, but, once we've done that, we could likely group sections within the sidebar (as suggested by @pastelsky in #438) or add another layer of navigation.
Here's the start of checklist of TODOs

[ ] Sort all existing pages in an intuitive way (already done for guides, see #1258)
[ ] Top level pages should use a wider layout with no sidebar (e.g. #1367)
[ ] Support, Development, and maybe sponsors/backers => Contribute (#1365)
[ ] CLI nav link should be removed (it will instead just be found under API)
[ ] The articles should then be organized and structured via nested directories or a group field in the YAML frontmatter.

Certain infrastructure changes should make some of this much easier. Specifically the fact that in newer versions of Antwar as well as in Phenomic and Gatsby -- routing is automatically synchronized/based on the structure of the /content directory. This means far less configuration and a more intuitive repository. This has already been started in #980 with some antwar/webpack updates.
See the proposed nesting levels in this comment. As mentioned above, a group field in the YAML frontmatter would also help us achieve this but wouldn't be reflected in the routing structure.

@montogeek if you could spare any time helping push #980 forward, that would be fantastic. All we really need to figure out at this point is the section.all() data that we use for the sidebars. I can help on this side of the fence, but with your antwar experience (and I'm sure @bebraw would help us along), I think we could finally get that done.

@johnstew I think with #1258 we actually have gotten to a pretty good flow for the Guides section (can still be improved with some simple grouping -- probably just a separation between Basic and Advanced as we dropped all the third-party content). However, if you have time, we would love your help with the sorting the other sections.
If you have ideas on Concepts suggest them in #1386. For anything else, just list ideas here or ping me on gitter.

@skipjack WIll take a look


Porting: Add openscale-notebook

port from https://github.com/IBM/cloudpakfordata-telco-churn-workshop

Add and modify openscale-notebook.
update images

delivered in pr #42


Setup CI for pull requests

I would love to have some CI that runs the tests when a new pull request is created, displaying the test results right here on GitHub so that we can easily tell when something's breaking.
Do you know of any (possibly free 😅) CI services that we could set up, @holyturt?
If I find the time I'll do some research myself and share the results.
CI Wishlist
For each pull request (on creation and/or on update),

run the unit tests
profile costly operations (measureBlock)
collect warnings

Hey, @wtimme!
It's a great idea to go with CI. It will makes this project more robust.
Unfortunately I don't have any CI experiences. So I can't tell you any advises but free service is better. 😅 I look forward to your results!
I've visited an inconvenient location without my mac and wi-fi for few weeks (and more several weeks...). I can do little contributions now but I'll try my best with my smartphone.


Service worker installed

Hello this is more a question than bug/perhaps it could be.
I have installed the lite version using the woocommerce 3.4.4
Do I need to create my own service worker? In the settings screen there is a checkbox that says service worker installed, I am not sure what to do.
Leaving it checked or unchecked doesn't make a difference neither way does it prompt me to save to home screen on a mobile device.
Couldn't find the docs for the plugin either, will consider purchasing the pro once I can figure out how to use it. Cheers.

Posted in the plugin repo, so closing here.


安装报错

按照安装文档，在make报下面错：
main.go:13:2: cannot find package "github.com/eleme/banshee/alerter" in any of:
/usr/local/go/src/github.com/eleme/banshee/alerter (from $GOROOT)
/root/banshee/src/github.com/eleme/banshee/alerter (from $GOPATH)
main.go:14:2: cannot find package "github.com/eleme/banshee/alerter/notifier" in any of:
/usr/local/go/src/github.com/eleme/banshee/alerter/notifier (from $GOROOT)
/root/banshee/src/github.com/eleme/banshee/alerter/notifier (from $GOPATH)
main.go:15:2: cannot find package "github.com/eleme/banshee/algorithm" in any of:
/usr/local/go/src/github.com/eleme/banshee/algorithm (from $GOROOT)
/root/banshee/src/github.com/eleme/banshee/algorithm (from $GOPATH)
main.go:16:2: cannot find package "github.com/eleme/banshee/config" in any of:
/usr/local/go/src/github.com/eleme/banshee/config (from $GOROOT)
/root/banshee/src/github.com/eleme/banshee/config (from $GOPATH)
main.go:17:2: cannot find package "github.com/eleme/banshee/detector" in any of:
/usr/local/go/src/github.com/eleme/banshee/detector (from $GOROOT)
/root/banshee/src/github.com/eleme/banshee/detector (from $GOPATH)
main.go:18:2: cannot find package "github.com/eleme/banshee/filter" in any of:
/usr/local/go/src/github.com/eleme/banshee/filter (from $GOROOT)
/root/banshee/src/github.com/eleme/banshee/filter (from $GOPATH)
main.go:19:2: cannot find package "github.com/eleme/banshee/health" in any of:
/usr/local/go/src/github.com/eleme/banshee/health (from $GOROOT)
/root/banshee/src/github.com/eleme/banshee/health (from $GOPATH)
main.go:20:2: cannot find package "github.com/eleme/banshee/storage" in any of:
/usr/local/go/src/github.com/eleme/banshee/storage (from $GOROOT)
/root/banshee/src/github.com/eleme/banshee/storage (from $GOPATH)
main.go:21:2: cannot find package "github.com/eleme/banshee/util/log" in any of:
/usr/local/go/src/github.com/eleme/banshee/util/log (from $GOROOT)
/root/banshee/src/github.com/eleme/banshee/util/log (from $GOPATH)
main.go:22:2: cannot find package "github.com/eleme/banshee/version" in any of:
/usr/local/go/src/github.com/eleme/banshee/version (from $GOROOT)
/root/banshee/src/github.com/eleme/banshee/version (from $GOPATH)
main.go:23:2: cannot find package "github.com/eleme/banshee/webapp" in any of:
/usr/local/go/src/github.com/eleme/banshee/webapp (from $GOROOT)
/root/banshee/src/github.com/eleme/banshee/webapp (from $GOPATH)
make: *** [build] Error 1

Put the cloned repository under $GOPATH/src/github.com/eleme


FEAT: [UI]Supports viewing and deleting cache data.

Could you please add some screenshots to the description?

您能否在描述中添加一些截图？


Learning rates

Hello
I am using Kohya_ss scripts for training  LoRa and LoCons for stable diffusion, and can't get DAdaptAdaGrad to work. With my settings, it learn nothing.
I also tried learning rate 1, 0.3 etc. Nothing.
What are settings for Learning Rate, Text Encoder learning rate, Unet learning rate.
Might you know some working ones for image learning?
Thank you.

I would recommend using DAdaptAdam instead, AdaGrad is not effective on many problems and generally the D-Adaptation variant of it adapts the LR very slowly compared to the DAdaptAdam.


Fix buggy editing data

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #2343   👈

This comment was auto-generated by Graphite.

Graphite Merge Job
Current status: 🔄 Waiting for checks to pass
This pull request is currently waiting for CI and mergeability checks to pass before being merged.
This comment was auto-generated by Graphite.

Job Reference: 85wgSlSoKEYO8rUIoLww


Update README with snippets and information

Change-type: patch
Signed-off-by: Cameron Diver<EMAIL_ADDRESS>

@shaunmulligan It does, there's an example here: https://github.com/resin-io-playground/node-sense-hat/pull/3/files#diff-04c6e90faac2675aa89e2176d2eec7d8R155

Ah, I just didn't see it mentioned in the readme so assumed it might not be implemented.

Do you mean in this README updates? I added a small bit at the top here: https://github.com/resin-io-playground/node-sense-hat/pull/3/files#diff-04c6e90faac2675aa89e2176d2eec7d8R4 but can make it more prominent if you like?

yeah, I just noticed there wasn't any example usage for those sensors, but there were some for the the others.


Remove "Bitcoin Cash/Gold" headlines from dataset

This may skew our data by removing headlines that are important.
"Bitcoin skyrocketing to 15k; Bitcoin Gold officially adopted by Coinbase"
Build in check: If headline includes an instance of Bitcoin with no Cash/Gold after it, keep the line.


Fixes issue #558 by avoiding running query that won't have any masterRecordIds to filter by

Objects like ContentDocumentLink have implementation restrictions that prohibit empty query parameters on its parent fields LinkedEntityId or ContentDocumentId.
While troubleshooting this issue, I narrowed down the problem to RollupService line 163 where master record ids whose sobject type does not match that of the rollup's master type are filtered out. This likely doesn't happen often, but with ContentDocumentLink this happens every time a new File or Enhanced Note is created via the web UI when on a record detail page because two CDLs are created: one to share the new File/Note with the create user and one to share the new File/Note with the parent record (e.g. account or contact).
The error reported in issue #558 occurs when rollup calculation mode is realtime and the framework is trying to process the CDL whose LinkedEntityId field does not match the sobject type of the rollup's master type. Since the LinkedEntityId field value is never added to the ctxMasterIds then the code eventually executes QueryExecutor.query(String query, Set<Id> masterIds) passing in an empty set of record ids. Whereas most objects being queried don't fail when filtering on empty set of ids WHERE field IN () the ContentDocumentLink object will throw error and fail. Therefore, this pull request simply checks if the master record ids collection is null or empty and if yes then returns empty list. I'm not aware of any scenario where if the query were to be run would ever return records anyways.
Thanks!

Thanks @DouglasCAyers this has been merged.

Thanks @afawcett!


Close issues automatically?

It would be nice to have some rule that closes issues automatically.
Like for example you have label v0.4.12 and you want to close all issues when tag v0.4.12 is released.
Don't know if this would be posible with the current sytem you've got going here... but could look something like:

Repository has label: v0.4.12

###### Automation Rules
- `tag_release` close-issues-for-tag

If this is not posible with your bot, do you know of anything that could help me achive this? If not I will do something myself.
Cheers!

Just realized this bot is just for managing Projects, so I dont think this would be a good addition for your project, as its not related to projects.
Maybe I go ahead and make one for managing autoclosable labels!
Will be based on your aproach I think!


⚠ Bofrost.be has degraded performance

In c018dea, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 999 ms

Resolved: Bofrost.be performance has improved in c55420e.


Copy link enters the site name twice

confirmed this is still happening!

confirmed this is still happening!


Node processes being orphaned and potentially duplicated when changing revisions

What I was doing up to this point was selecting different revisions to try and find a working version of a project that has crashed. I noticed that the app gets really slow and takes some time changing between revisions. I had probably changed between a 5 or 6 before my computer started freezing up. Not sure if this is a helpful start point or not
Even now after reopening the app after doing the pkill command I have fp austin up as my only open project and I have several node processes running. I should not have anything else running on my computer at the moment that would be adding to this list so I am not sure what is happening.
https://github.com/clutch-creator/clutch/assets/22499533/47505ed8-5e44-4f58-8901-90e768ecac33

It looks like this is related to vercel/next.js#45508. Apparently from next.js 13.3 forward orphaned jest processes are being leftover. This happens everytime we switch revisions. Downgrading to 13.2 could be a temporary fix but I'm not sure about the side-effects of doing the downgrade as of now.

Apparently a fix has been pushed into next.js repository. Waiting for a RC to test it out.

After testing with<EMAIL_ADDRESS>the bug appear to have been fixed.

<EMAIL_ADDRESS>got released and I don't seem to be able to reproduce the problem anymore.

Tested on Canary


Introduce new pubsub interface

JIRA: https://jira.mesosphere.com/browse/DCOS_OSS-5268
lashup_kv_events_helper sends huge messages to subscribers with no
backpressure. It overloads message queues too quickly. During MWT,
lashup_kv_events_helper processes are always 5 out of 10 elements in
recon:proc_count(reductions, 10).

Codecov Report

Merging #51 into master will increase coverage by 1.28%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
+ Coverage   80.36%   81.64%   +1.28%
==========================================
  Files          30       29       -1
  Lines        1716     1716
==========================================
+ Hits         1379     1401      +22
+ Misses        337      315      -22

Impacted Files
Coverage Δ

src/lashup_kv.erl
78.87% <80%> (-0.84%)
:arrow_down:

src/lashup_hyparview_membership.erl
86.34% <0%> (+5.5%)
:arrow_up:

Continue to review full report at Codecov.

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