Build fails when use_frameworks! enabled?

Summary
I added firebase to my app, firebase requires use_frameworks,
Since I had react-native-maps installed before installing firebase I had installed Google-Maps-IOS-Utils with Cocoapods
pod 'Google-Maps-iOS-Utils', :git => 'https://github.com/Simon-TechForm/google-maps-ios-utils.git', :branch => 'feat/support-apple-silicon'
After adding firebase I removed it from the Podfile and installed it manually as guided in
https://github.com/googlemaps/google-maps-ios-utils/blob/b721e95a500d0c9a4fd93738e83fc86c2a57ac89/Swift.md
1.I added a new group with the name Google-Maps-iOS-Utils in my project,
2.I downloaded the project locally from the fork https://github.com/monholm/google-maps-ios-utils/tree/feat/support-apple-silicon (I also tried from the main repo.)
3. In the newly created Group, I select Add files to  "MyProjectName"
4. Unchecked Copy items if needed, selected my project name target in add to targets, and selected Create Groups.
And selected all the folders inside the src folder.
5. Edited GMUMarkerClustering.h inside the group that I created Google-Maps-iOS-Utils/Clusters to use relative paths like this:
#import "GMUCluster.h"
#import "GMUClusterItem.h"
#import "GMUClusterManager.h"
#import "GMUDefaultClusterIconGenerator.h"
#import "GMUDefaultClusterRenderer.h"
#import "GMUGridBasedClusterAlgorithm.h"
#import "GMUNonHierarchicalDistanceBasedAlgorithm.h"
#import "GMUStaticCluster.h"

#import "GQTPointQuadTree.h"

6.I added a Header.h as group I selected the group with my project name and in targets I selected the target with my project name  and  added this content:
#ifndef Header_h
#define Header_h
#import "GMUMarkerClustering.h"
#endif /* Header_h */

I did pod deintegrate && pod install in /ios after all these changes.
I tried to change
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
I checked for use header maps and it's already YES
I cleaned the project and when I try to build it I still get this error
Showing Recent Errors Only
/path/to/project/node_modules/react-native/React/CoreModules/RCTAccessibilityManager.h:10:9: Include of non-modular header inside framework module 'React.RCTAccessibilityManager': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAccessibilityManager.h:11:9: Include of non-modular header inside framework module 'React.RCTAccessibilityManager': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAccessibilityManager+Internal.h:10:9: Include of non-modular header inside framework module 'React.RCTAccessibilityManager_Internal': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTActionSheetManager.h:10:9: Include of non-modular header inside framework module 'React.RCTActionSheetManager': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAlertManager.h:10:9: Include of non-modular header inside framework module 'React.RCTAlertManager': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAlertManager.h:11:9: Include of non-modular header inside framework module 'React.RCTAlertManager': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTInvalidating.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAppearance.h:10:9: Include of non-modular header inside framework module 'React.RCTAppearance': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAppearance.h:11:9: Include of non-modular header inside framework module 'React.RCTAppearance': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAppState.h:8:9: Include of non-modular header inside framework module 'React.RCTAppState': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTClipboard.h:8:9: Include of non-modular header inside framework module 'React.RCTClipboard': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDeviceInfo.h:10:9: Include of non-modular header inside framework module 'React.RCTDeviceInfo': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevLoadingView.h:8:9: Include of non-modular header inside framework module 'React.RCTDevLoadingView': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevMenu.h:10:9: Include of non-modular header inside framework module 'React.RCTDevMenu': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevMenu.h:11:9: Include of non-modular header inside framework module 'React.RCTDevMenu': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevMenu.h:12:9: Include of non-modular header inside framework module 'React.RCTDevMenu': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevSettings.h:8:9: Include of non-modular header inside framework module 'React.RCTDevSettings': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevSettings.h:9:9: Include of non-modular header inside framework module 'React.RCTDevSettings': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevSettings.h:10:9: Include of non-modular header inside framework module 'React.RCTDevSettings': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevSettings.h:11:9: Include of non-modular header inside framework module 'React.RCTDevSettings': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTInitializing.h'
too many errors emitted, stopping now
/path/to/project/node_modules/react-native-maps/ios/AirMaps/AIRMapWMSTileManager.m:13:9: Could not build module 'React'
This is my Podfile
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '13.0'
prepare_react_native_project!

# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
# because `react-native-flipper` depends on (FlipperKit,...) that will be excluded
#
# To fix this you can also exclude `react-native-flipper` using a `react-native.config.js`
# ```js
# module.exports = {
#   dependencies: {
#     ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}),
# ```
flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled

rn_maps_path = '../node_modules/react-native-maps'
pod 'react-native-google-maps', :path => rn_maps_path

target 'ProjectName' do
  config = use_native_modules!
  use_frameworks! :linkage => :static
  $RNFirebaseAsStaticFramework = true
  # Flags change depending on the env values.
  flags = get_default_flags()

  use_react_native!(
    :path => config[:reactNativePath],
    # Hermes is now enabled by default. Disable by setting this flag to false.
    # Upcoming versions of React Native may rely on get_default_flags(), but
    # we make it explicit here to aid in the React Native upgrade process.
    :hermes_enabled => flags[:hermes_enabled],
    :fabric_enabled => flags[:fabric_enabled],
    # Enables Flipper.
    #
    # Note that if you have use_frameworks! enabled, Flipper will not work and
    # you should disable the next line.
    :flipper_configuration => flipper_config,
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  target 'ProjectNameTests' do
    inherit! :complete
    # Pods for testing
  end

  post_install do |installer|
    react_native_post_install(
      installer,
      # Set `mac_catalyst_enabled` to `true` in order to apply patches
      # necessary for Mac Catalyst builds
      :mac_catalyst_enabled => false
    )
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
  end
end

Reproducible sample code
Error is build related

Steps to reproduce
Add    use_frameworks! :linkage => :static in Podfile and reinstall pods
Expected result
My project builds and runs successfully
Actual result
I get build errors
Showing Recent Errors Only
/path/to/project/node_modules/react-native/React/CoreModules/RCTAccessibilityManager.h:10:9: Include of non-modular header inside framework module 'React.RCTAccessibilityManager': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAccessibilityManager.h:11:9: Include of non-modular header inside framework module 'React.RCTAccessibilityManager': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAccessibilityManager+Internal.h:10:9: Include of non-modular header inside framework module 'React.RCTAccessibilityManager_Internal': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTActionSheetManager.h:10:9: Include of non-modular header inside framework module 'React.RCTActionSheetManager': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAlertManager.h:10:9: Include of non-modular header inside framework module 'React.RCTAlertManager': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAlertManager.h:11:9: Include of non-modular header inside framework module 'React.RCTAlertManager': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTInvalidating.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAppearance.h:10:9: Include of non-modular header inside framework module 'React.RCTAppearance': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAppearance.h:11:9: Include of non-modular header inside framework module 'React.RCTAppearance': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTAppState.h:8:9: Include of non-modular header inside framework module 'React.RCTAppState': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTClipboard.h:8:9: Include of non-modular header inside framework module 'React.RCTClipboard': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDeviceInfo.h:10:9: Include of non-modular header inside framework module 'React.RCTDeviceInfo': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevLoadingView.h:8:9: Include of non-modular header inside framework module 'React.RCTDevLoadingView': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevMenu.h:10:9: Include of non-modular header inside framework module 'React.RCTDevMenu': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevMenu.h:11:9: Include of non-modular header inside framework module 'React.RCTDevMenu': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevMenu.h:12:9: Include of non-modular header inside framework module 'React.RCTDevMenu': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevSettings.h:8:9: Include of non-modular header inside framework module 'React.RCTDevSettings': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevSettings.h:9:9: Include of non-modular header inside framework module 'React.RCTDevSettings': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevSettings.h:10:9: Include of non-modular header inside framework module 'React.RCTDevSettings': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/path/to/project/node_modules/react-native/React/CoreModules/RCTDevSettings.h:11:9: Include of non-modular header inside framework module 'React.RCTDevSettings': '/path/to/project/ios/Pods/Headers/Public/React-Core/React/RCTInitializing.h'
too many errors emitted, stopping now
/path/to/project/node_modules/react-native-maps/ios/AirMaps/AIRMapWMSTileManager.m:13:9: Could not build module 'React'
React Native Maps Version
1.7.1
What platforms are you seeing the problem on?
iOS (Apple Maps), iOS (Google Maps)
React Native Version
0.71.11
What version of Expo are you using?
Not using Expo
Device(s)
Build error not device specific
Additional information
No response

I'm facing a similar error with React native map
react-native-maps
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAccessibilityManager.h
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAccessibilityManager.h:10:9 Include of non-modular header inside framework module 'React.RCTAccessibilityManager': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAccessibilityManager.h:11:9 Include of non-modular header inside framework module 'React.RCTAccessibilityManager': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAccessibilityManager+Internal.h
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAccessibilityManager+Internal.h:10:9 Include of non-modular header inside framework module 'React.RCTAccessibilityManager_Internal': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTActionSheetManager.h
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTActionSheetManager.h:10:9 Include of non-modular header inside framework module 'React.RCTActionSheetManager': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAlertManager.h
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAlertManager.h:10:9 Include of non-modular header inside framework module 'React.RCTAlertManager': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAlertManager.h:11:9 Include of non-modular header inside framework module 'React.RCTAlertManager': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTInvalidating.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAppearance.h
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAppearance.h:10:9 Include of non-modular header inside framework module 'React.RCTAppearance': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAppearance.h:11:9 Include of non-modular header inside framework module 'React.RCTAppearance': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAppState.h
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAppState.h:8:9 Include of non-modular header inside framework module 'React.RCTAppState': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTClipboard.h
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTClipboard.h:8:9 Include of non-modular header inside framework module 'React.RCTClipboard': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDeviceInfo.h
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDeviceInfo.h:10:9 Include of non-modular header inside framework module 'React.RCTDeviceInfo': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevLoadingView.h
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevLoadingView.h:8:9 Include of non-modular header inside framework module 'React.RCTDevLoadingView': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevMenu.h
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevMenu.h:10:9 Include of non-modular header inside framework module 'React.RCTDevMenu': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevMenu.h:11:9 Include of non-modular header inside framework module 'React.RCTDevMenu': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevMenu.h:12:9 Include of non-modular header inside framework module 'React.RCTDevMenu': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevSettings.h
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevSettings.h:8:9 Include of non-modular header inside framework module 'React.RCTDevSettings': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevSettings.h:9:9 Include of non-modular header inside framework module 'React.RCTDevSettings': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevSettings.h:10:9 Include of non-modular header inside framework module 'React.RCTDevSettings': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevSettings.h:11:9 Include of non-modular header inside framework module 'React.RCTDevSettings': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTInitializing.h'
did you find any solution?

I'm facing a similar error with React native map
react-native-maps /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAccessibilityManager.h /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAccessibilityManager.h:10:9 Include of non-modular header inside framework module 'React.RCTAccessibilityManager': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAccessibilityManager.h:11:9 Include of non-modular header inside framework module 'React.RCTAccessibilityManager': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAccessibilityManager+Internal.h /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAccessibilityManager+Internal.h:10:9 Include of non-modular header inside framework module 'React.RCTAccessibilityManager_Internal': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTActionSheetManager.h /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTActionSheetManager.h:10:9 Include of non-modular header inside framework module 'React.RCTActionSheetManager': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAlertManager.h /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAlertManager.h:10:9 Include of non-modular header inside framework module 'React.RCTAlertManager': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAlertManager.h:11:9 Include of non-modular header inside framework module 'React.RCTAlertManager': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTInvalidating.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAppearance.h /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAppearance.h:10:9 Include of non-modular header inside framework module 'React.RCTAppearance': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAppearance.h:11:9 Include of non-modular header inside framework module 'React.RCTAppearance': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAppState.h /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTAppState.h:8:9 Include of non-modular header inside framework module 'React.RCTAppState': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTClipboard.h /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTClipboard.h:8:9 Include of non-modular header inside framework module 'React.RCTClipboard': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDeviceInfo.h /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDeviceInfo.h:10:9 Include of non-modular header inside framework module 'React.RCTDeviceInfo': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevLoadingView.h /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevLoadingView.h:8:9 Include of non-modular header inside framework module 'React.RCTDevLoadingView': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevMenu.h /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevMenu.h:10:9 Include of non-modular header inside framework module 'React.RCTDevMenu': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevMenu.h:11:9 Include of non-modular header inside framework module 'React.RCTDevMenu': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridgeModule.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevMenu.h:12:9 Include of non-modular header inside framework module 'React.RCTDevMenu': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevSettings.h /Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevSettings.h:8:9 Include of non-modular header inside framework module 'React.RCTDevSettings': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTBridge.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevSettings.h:9:9 Include of non-modular header inside framework module 'React.RCTDevSettings': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTDefines.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevSettings.h:10:9 Include of non-modular header inside framework module 'React.RCTDevSettings': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTEventEmitter.h'
/Users/rawandmajeed/HydeProject/MobileApp/node_modules/react-native/React/CoreModules/RCTDevSettings.h:11:9 Include of non-modular header inside framework module 'React.RCTDevSettings': '/Users/rawandmajeed/HydeProject/MobileApp/ios/Pods/Headers/Public/React-Core/React/RCTInitializing.h'
did you find any solution?

Not yet unfortunately,
I needed to enable use_frameworks for firebase because I was planning to use it for push notifications, after like 2 days I couldn't find a solution I might just go with Onesignal for now and remove use_frameworks if no solution is provided

Move them below use_native_modules!, that solve my problem.
target 'ProjectName' do
  config = use_native_modules!

  # Flags change depending on the env values.
  flags = get_default_flags()

  use_react_native!(
    :path => config[:reactNativePath],
    # Hermes is now enabled by default. Disable by setting this flag to false.
    :hermes_enabled => flags[:hermes_enabled],
    :fabric_enabled => flags[:fabric_enabled],
    # Enables Flipper.
    #
    # Note that if you have use_frameworks! enabled, Flipper will not work and
    # you should disable the next line.
    :flipper_configuration => flipper_config,
    # An absolute path to your application root.
    :app_path => "#{Pod::Config.instance.installation_root}/.."
  )

  # React Native Maps dependencies
  # The following line is only needed if building on an Apple silicon Mac without rosetta.
  pod 'Google-Maps-iOS-Utils', :git => 'https://github.com/Simon-TechForm/google-maps-ios-utils.git', :branch => 'feat/support-apple-silicon'

  rn_maps_path = '../node_modules/react-native-maps'
  pod 'react-native-google-maps', :path => rn_maps_path

  target 'ProjectNameTests' do
    inherit! :complete
    # Pods for testing
  end

  post_install do |installer|
    # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
    react_native_post_install(
      installer,
      config[:reactNativePath],
      :mac_catalyst_enabled => false
    )
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
  end
end


Add rspec tests

We should add rspec and a basic test suite to check that the library functions as expected.

@MattIPv4 what do you think about? https://github.com/MattIPv4/do_username/issues/6

Makes sense to me once this is addressed, need some coverage before we can enforce needing it


Solve preview height issue

Snapshot stored with reference name:
refs/pull/15891/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15891/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15891/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15891/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15891/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15891/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15891/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15891/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15891/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15891/merge/testResults/webgl2playwright/index.html


[Sort] If header contains checkbox, sort checkbox desc

Hi, I wanna know how can I sort my mat-checkbox is this possible?
I have the mat-checkbox inside a table and i wanna see all the selected checkbox first
can someone help me?

Hey, if someone has the same problem
Here the solution:
 const sortState: Sort = {active: 'selection', direction: 'desc'};       this.sort.active = sortState.active;       this.sort.direction = sortState.direction;       this.sort.sortChange.emit(sortState);


$code should have (string) type. (int) will produce always false.

Hello! I just spent some amount of time trying to figure out why it doesn't accepts entered 6-digits integer then realized that verifyCode() only accepts (string)'s.
I suggest to make strict conversion $code to (string), to correctly process possible integers.
Also I suggest to replace $var++ to ++$var for better performance, but it's less important.
Thanks!

The code should never be an int, it's always a string in the first place. An integer can't hold zeroes: 008164 in an int becomes 8614 which 1) doesn't match the length requirement and 2) is ambigious; did the user forget to input the missing digits or did the user, somehow, get 4 digits from somewhere?
When we drop support for old(er) PHP versions all methods (including verifyCode() will be type hinted (i.e. verifyCode(string $secret, string $code, int $discrepancy = 1, ...).
The $var++ v.s. ++$var is such a micro optimisation (if at all) on such little iterations that it will make no noticeable difference in whatever real world setting.


Added support for backbone with lodash instead of underscore

um? what's this? backbone-lodash?

I'm not the author, but I really want this to exist. This is needed for scenarios where you have backbone, underscore, and lodash all in the same project. There is no way to get it to compile, because the existing backbone type definitions is hard-coded to use underscore. This means you can't also add in typing information for lodash without causing conflicts.

Actually, I may have found an easier solution by just modifying the backbone definition to remove the reference to underscore.

I've submitted a PR for an easier fix: https://github.com/borisyankov/DefinitelyTyped/pull/6200

Ah, brilliant. Thanks @ytechie , this solves the problem for us too.

oh, I understand. I merged #6200 and make additional commit.
please check about https://github.com/borisyankov/DefinitelyTyped/blob/master/backbone/backbone-with-lodash-tests.ts


Hhh 12830

Improved log output

Improved the message a bit and merged, thanks!
For the next one: a clean rebase and a meaningful commit message would help :).

Sorry, was a bit in a hurry, will do the next time :)


added one awesome javascript project Drawing App

Hello Suraj I have Added Drawing app using JS. This project is good for both beginner's and also good for intermediate who are leaning javascript.

Thanks for the PR. The website looks awesome. It has been merged.
I will be glad if you give a start to this repository.


Reference the deploying users originating Public IP Address

I am deploying a KeyVault, with public access denied and want to easily add my Public IP Address to the Keyvault Allow List.
In order to do this I add a parameter to the bicep, but I am reliant on the deploying user knowing their public ip address and passing the correct parameter value with the correct cidr notation.
It would be much cleaner if I could reference this within bicep itself, eg;
param keyvaultAllowIP string = deployment().initiator.originatingIP

Gordon - can you also include the code sample of how this property would be set in the KV allow list? Also, are there any other cases where you might need this info?

Gordon - can you also include the code sample of how this property would be set in the KV allow list? Also, are there any other cases where you might need this info?

Hi Alex.
Here's one place we do it in AKSC; https://github.com/Azure/AKS-Construction/blob/main/bicep/keyvault.bicep#L20
We also take the users ip address and use it for the Kubernetes API Server allowlist in AKS.
https://github.com/Azure/AKS-Construction/blob/ee25d48ad26e255142e3e0c02a87463b583d13a2/bicep/main.bicep#L786
I'm sure there's likely other use case too.

How would you envision this working with CI environments where the IP address is not predictable and shared between users? It is possible to pass this value in as a parameter via powershell/bash if you would like.

How would you envision this working with CI environments where the IP address is not predictable and shared between users? It is possible to pass this value in as a parameter via powershell/bash if you would like.

You can already use parameters to do this, as highlighted above.
The request I have specifically in this issue is just to facilitate the default based on the callers originating IP.
In the use case that its ever changing, then it probably doesn't sound like a good idea to use the originating ip default.

ping.... issue doesn't need the Awaiting-Response label..


Release 1.1.2

This PR does the release of library version 1.1.2.
It also removes the remainder of SLF4J dependencies from the project.

@armiol PTAL.


Turn cursor on main page into a torch

Turn the cursor into a survivor torch, that can ignite & extinguish based on moused over Survivor's status

Added with https://github.com/mawilson/hello_django/pull/30


Big Fix (To support OpenAI's responses, allow control characters in the content)

OpenAI's responses could include control characters in the content. To reproduce the bug:
class LongStory(BaseModel):
    """This class represent a long story."""
    text: str = Field(min_length=int(10**6))

ai = AIChat(system="You are an AI writer.", model="gpt-4-0613", params={"temperature": 0}, api_key=OPENAI_API_KEY)
ai("Generate a long story with one million words", output_schema=LongStory)

(Note: I used black and isort for the formatting)

What is the error you get if this PR is not implemented? I do not have access to GPT-4 so can't verify.

What is the error you get in the current version? I do not have access to GPT-4 so can't verify what exactly is wrong here.
The issue does not reproduce with gpt-3.5-turbo-0613

The error is JSONDecodeError: Extra data: line 25 column 1 (char 3138). However, now when tried again, I could only reproduce it if save_messages=True, as in:
ai = AIChat(system="You are an AI writer.", model="gpt-4-0613", params={"temperature": 0}, api_key=OPENAI_API_KEY, save_messages=True)

With gpt-3.5-turbo-0613 I couldn't reproduce regardless of save_messages.

Now that I coincidentally got access to GPT-4, I tested out the code using the raw openai library to ensure it's not something simpleaichat is doing, and output seems normal. Therefore, since it's possible a fluke, I'm closing as Not Reproducible.
Additionally, it's unlikely switching to json from orjson would be the fix for a relevant issue anyways.

@minimaxir, I checked again and was able to reproduce the error. It is tricky though.
I'm executing the minimal example mentioned above in a Jupyter Notebook. First, I reset the kernel and execute the example. The cell runs with no exception and returns the value {'text': 'Once upon a time, in a land far, far away...'}. However, all my tries to rerun this cell reproduce the JSONDecodeError exception.

I have the same issue when r["choices"][0]["finish_reason"] == "length", which is understood. However, the current implementation could be improved by indicating the "length" finish reason as the cause for failing to parse the JSON.


Make a conda biocontainer for viralgenie

Description of feature
Similar to bactopia, viralgenie should have a single line command to install it.

No need for that as there are no python wrappers or something similar around viralgenie


Feature request: Enable access log

Would be nice to be able to enable/disable(setting) access logging for the web GUI.
Even nicer if access logs would be logged to a separate file in sted of flooding the "htpcmanager.log" file.
I know i can go in "log.py" to enable access logging manually,  but that is flooding the htpcmanager log and makes it useless(my opinion).
If this is highly unwanted, I would like to know how to enable access logging to a separate file manually if possible:)
Please and Thank you:)

Access log like logins etc?

Yes I was talking about cherrypy access log. What do you mean filter out? Choose "info", "waring" etc.. from log in web gui?

I see that the filer is working nice. However make a setting for enableling cherrypy access log would be awsm:)


Selection of text on iOS stops when you hit a header

Is the bug present when using the default Obsidian theme?
No
Is the bug present when snippets and plugins are disabled?
No
Minimal theme version
6.1.11
Describe the bug

iOS 16.1.2; Obsidian 1.4.1(83)
happens in edit mode (both source and live preview) but not in reading mode.

Selection of text on iOS (with finger) from bottom up stops when you hit a header. Selecting from above a header seems to work as expected.
minimal theme video
default theme video
Debug info
SYSTEM INFO:
Operating system: ios 16.1.2 (Apple iPhone)
Obsidian version: 1.4.1 (83)
API version: v1.0.3
Login status: logged in
Catalyst license: insider
Live preview: on
Legacy editor: off
Base theme: light
Community theme: Minimal
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.

Possibly related to affordances for folding headers, will have to look into once Obsidian 1.1 is available on mobile

Text selection on iOS with your finger always feels fiddly and like a roll of dice, but a clear difference with Minimal and the default theme here.
Thanks for looking in it. 🙏


Update issue template

Adds a FarmBot API Version section to the issue template.

Coverage remained the same at 87.727% when pulling 7a108d46ff9caa23319cf4490bb2d56f0b2774a0 on RickCarlino:update_issue_template into 2310124ce970ca11426ee96b48490c9127d2c8bc on FarmBot:staging.


[REEF-304]: Cache loaded ClassHierarchy in ActiveContextBridge

This addressed the issue by

Only loading Class Hierarchy once in the constructor

JIRA: REEF-304

I will look at it.

Put the PR link in REEF-304

You can push to Microsoft-CISL instead of your forked repository next time

I don't think I have access to Microsoft-CISL.

This looks like an improvement to me, thanks! After testing, this can go in as-is.
However, on REEF-304, I think we can do better still. The code as is still has an an justified memory usage of O(#contexts), as we load the same class hierarchy for the CLR for every context.
@jwang98052 @beysims: Do we actually modify the class hierarchy once loaded? If not, we probably should load it once, preferably in a Tang-managed object or via an external constructor.

I'll test and merge this in the meantime.

I filled REEF-310 for the overall issue.

For the same tasks, class hierarchy are the same. Unless the clients submit context every time for different tasks. Even in that case, most cases, clients would put all the task dlls in the class hierarchy at once. So load it once at java side make sense.
I also tested it last night in .Net. The change looks good.


Adds einops dependency in hf text generation Photon

Title: Add 'einops' dependency for 'microsoft/phi-1_5' model support in Huggingface Photon
Description:
This PR addresses the need for an additional dependency, 'einops,' to enable support for the 'microsoft/phi-1_5' model in Huggingface Photon's text generation capabilities.
Changes Made:
In the leptonai/photon/hf/hf.py file, I've modified the HuggingfaceTextGenerationPhoton class by adding the 'einops' dependency to the requirement_dependency list.

Thanks! Would you mind sharing what command you used that triggered a dependency error? Strictly speaking, the microsoft/phi-1.5 dependency was explicitly specified here:
https://github.com/leptonai/leptonai/blob/main/leptonai/photon/hf/hf_dependencies.py#L22
So I am wondering whether our mechanism failed. Will definitely take a look :)

I encountered a dependency error when running the Photon created with the commands:
Creation of Photon:
!lep photon create -n phi2 -m hf:microsoft/phi-1_5
Running the Photon:
!lep photon run -n phi2 --local
Let me know if this is not the way to run a Photon, I'm not sure😇.

Ah thanks! Yes, in this case, we recommend you to install local dependencies yourself - the reason is that we don't want to implicitly install local dependencies. The script will give you a recommendation - in this case, doing pip install einops would add the specific dependency. This is also reflected in the fail message which I paste for your convenience:
Failed to launch photon: HuggingFace reported missing packages for the specified pipeline. You can
see the hf error message above.

This is not a bug of LeptonAI, as HuggingFace pipelines do not have a standard way to pre-determine
and install dependencies yet. As a best-effort attempt, here are steps you can take to fix this
issue:

1. If you are running locally, you can install the missing packages with pip as follows:

pip install einops

(note that some package names and pip names may be different, and you may need to search pypi for
the correct package name)

2. If you are using LeptonAI library, we maintain a mapping from known HuggingFace pipelines to
their dependencies. We appreciate if you can send a PR to https://github.com/leptonai/leptonai/ to
add the missing dependencies.Specifically, it looks like this:

"text-generation":[
    "einops"
]

I understand now, but based on this link, it seems like it should work without requiring manual installation, although I may not have a full understanding of the entire process.

Thanks! Would you mind sharing what command you used that triggered a dependency error? Strictly speaking, the microsoft/phi-1.5 dependency was explicitly specified here:
https://github.com/leptonai/leptonai/blob/main/leptonai/photon/hf/hf_dependencies.py#L22
So I am wondering whether our mechanism failed. Will definitely take a look :)


examine psych package usage due to update

Minor change to core fa function broke one example, though functionality is left to use the old method. Perhaps change that example from Harman.5 to a more realistic data set.

I think we're fine for now.


PodSecurityContext fsGroup flag prevents livekit-server to start

Describe the bug
By setting the securityContext, podSecurityContext in the values.yaml we end up with an issue:
livekit:
  rtc:
    use_external_ip: true
  redis:
    sentinel_master_name: mymaster
    sentinel_addresses:
      - sentinel-0.sentinel:5000
      - sentinel-1.sentinel:5000
      - sentinel-2.sentinel:5000
  turn:
    enabled: false
  key_file: keys.yaml
  logging:
    json: true

storeKeysInSecret:
  enabled: true
  existingSecret: livekit-api-keys

securityContext:
  readOnlyRootFilesystem: true
  runAsNonRoot: true
  runAsUser: 1000

podSecurityContext:
  fsGroup: 1000

By Default the helm chart will try to set 0600 rights on the keys.yaml. When we set the fsGroup, kubernetes will change the rights of the file keys.yaml and set them to 0640. The livekit-server application checks if the rights of the file are set to 0600, thus the application cannot start...
There is an issue raised and discussed on kubernetes repo about this.
Server

Version: 1.4.3
Environment: GCP ...

Expected behavior
When fsGroup flag is set, livekit should allow 0640 permissions on the keys.yaml file

ah that makes sense. I think the check we should have instead is that it's not world readable. would you like to make a PR for it?


TreeExplainer on LightGBMClassifier returns 2D array of shap values in binary classification case

For the binary classification case, when using TreeExplainer with scikit-learn the shap values are in a 3D array where the 1st dimension is the class, the 2nd dimension rows and the 3rd dimension columns.  However, when using LightGBMClassifier in binary classification case a 2D array is returned (just rows/columns, no negative/positive classes).  For multiclass case LightGBMClassifier also returns a 3D array, with a 2D array of shap values for each class.
While this is fine from a correctness perspective since we just need to take the negative of the 2D array for the negative class, eg return:
shap_values = [-binary_shap_values, binary_shap_values]
This is inconsistent with what the other binary classification learners return, eg scikit learn.
It looks like the issue may need to be fixed in lightgbm native code and not shap.
Was there a specific reason that the API is inconsistent here - and what would be the preferred fix?  Should this be fixed in lightgbm's codebase or shap's codebase?

I was thinking of adding this fix directly to https://github.com/Microsoft/LightGBM, but I wanted to make sure the issue is actually in the native code there and not shap.

Thanks for pointing this out. This is the same with XGBoost and was originally driven by the format there. I think the "right" convention is to match the output of the model. So if the model object outputs a 2D array when applied to a dataset then the shap_values should be 3D (a list of 2D arrays). But if the model object outputs a 1D array then the shap_values should be 2D.
The tricky part with LightGBM (and XGBoost) is that they act differently when you use the sklearn API vs. the native API. So this would mean we need to remember what kind of object we were given and then correctly expand to the 3D case when we are given an sklearn API object. This could be done inside LightGBM or inside SHAP.
Thoughts?

@slundberg sorry, to be sure I understand, by output 1D or 2D array you mean the predicted value (regression) or predicted probabilities per class (classification):
"But if the model object outputs a 1D array then the shap_values should be 2D."
I was actually thinking more in terms of consistency with the scikit-learn model feature importances, which are always 3D for binary/multiclass classification and 2D for regression.  I can see why you would look at consistency with the predicted values though.
This seems like a bug to me:
"LightGBM (and XGBoost) is that they act differently when you use the sklearn API vs. the native API"
It's bizarre that they output values differently.  However, if the LightGBM/XGBoost APIs for returning feature importances have to return a 2D array for binary classification case (similar to regression) but they do return a 3D array for multiclass for some consistency reason, then at the very least we should reformat the output in shap TreeExplainer to be consistent with scikit learn based models output.
However, I don't think that is set in stone, in which case the fix should be in LightGBM/XGBoost.
If you think that we however shouldn't change the original LightGBM/XGBoost repository for consistency, it would be a really easy fix to recognize that the original learner is a binary classifier and reformat the shap values in TreeExplainer as simply [-LightGBM_shap_values, LightGBM_shap_values].
Please let me know if it's better to make the fix in shap or the original LightGBM/XGBoost repository.

@slundberg sorry to be persistent about this issue, but I would really like to resolve this in either shap or lightgbm/xgboost.
This issue seems like a bad experience and makes the API inconsistent/confusing to have the regression format of shap values output for binary classification just for some subset of tree-based models.  Unless there is a really good reason for it, which so far it sounds like there isn't, it looks like the most ideal change would be to modify lightgbm/xgboost feature importances for binary classification case.
It sounds like we are leaning towards making the changes in lightgbm and xgboost repositories then?

@imatiach-msft please be persistent :)
The issue is that when using the sklearn API we get an output that is 2D:
import shap
import xgboost
X,y = shap.datasets.adult()

model1 = xgboost.XGBClassifier()
model1.fit(X, y)
model1.predict_proba(X).shape

outputs: (32561, 2)
but with the standard API we get a 1D array:
model2 = xgboost.train({"objective": "binary:logistic"}, xgboost.DMatrix(X, y), 1)
model2.predict(xgboost.DMatrix(X)).shape

outputs: (32561,)
However we don't match this with shap right now since both
shap.TreeExplainer(model1).shap_values(X).shape

and
shap.TreeExplainer(model2).shap_values(X).shape

are both (32561, 12)
I agree we need to fix shap.TreeExplainer(model1).shap_values(X).shape to be 3D. Are you arguing that shap.TreeExplainer(model2).shap_values(X).shape should also be 3D?

@slundberg I think it would make sense for all shap values from TreeExplainer, no matter what the shape of the prediction probabilities are, to be consistent based on whether we are doing binary classification/multiclass classification/regression.  In an ideal world all models would have the (32561, 2) shape of output.  We can't fix that, but TreeExplainer should output shap values per class even in binary classification case when using xgboost.train.  Otherwise, those who depend on the shap TreeExplainer will need to special-case their code depending on the given input model.
However, if you feel strongly that models which, for binary classification case, output only a 1D array should only have 2D array shap values, maybe that is fine.  The case that definitely does need to be fixed is the model1 issue then:
shap.TreeExplainer(model1).shap_values(X).shape

So I think there are 2 levels of bugs.  The model1 case definitely needs to be fixed, and the model2 case is up for debate.  I think they are both bugs but at least for model2 there is some reasoning behind the shap values output, so I'm not as persistent about fixing it.

Makes sense. I won't be able to fix it until mid next week (Wed), but I agree that the first issue is clearly a bug. As for the second, let me get back to you.

@slundberg I was actually hoping to fix this issue and just wanted some guidance as to what the ideal fix should be.  I will look into the first issue to see if I can fix it easily, would appreciate any help.  Do you think the fix for the first issue should be in xgboost/lightgbm code or in shap TreeExplainer?

Great thanks! The first fix should certainly start with just TreeExplainer, since it just has to do with what type of object we were passed. Perhaps the second issue might involve the external packages.

Hello, would you please mind helping a newbie who is using the library? There are two set of SHAP values now (as opposed to before). I have no idea why there are two and which one to use or how to combine them? I would be more than glad for an advice. Thank you very much for your time.

Is this issue fixed shap.TreeExplainer(model1).shap_values(X).shape to be 3D?

Yes, this issue is fixed for lightgbm in the newer versions of shap.  However, it still exists for XGBoost.  I have a PR to fix that too:
https://github.com/slundberg/shap/pull/1046

Hi all. Are you sure the issue is fixed? I am still getting this as of today with 0.39.0 on LightGBM.

Hi guys, I suppose I am getting a similar issues as you do when generating shap values with LightGBM Binary Classifier:
LightGBM binary classifier with TreeExplainer shap values output has changed to a list of ndarray

Package versions I am using:
shap.__version__: 0.39.0
lgb.__version__ : 3.2.1

I too came upon this warning now. It's rather confusing, since the whole warning formatting is removed here in the shap code.
Other packages that rely on shap print this warning with no clue to its origin, not does it explain if one must/should do something about it.

Should I be doing something about it?

Im getting this issue too
"LightGBM binary classifier with TreeExplainer shap values output has changed to a list of ndarray"
But XGBoost doesnt give this error


Add constructor in OnnxBertBiEncoder

I am working on integrating ONNX Bert embedded in Helidon, and the current constructor of OnnxBertBiEncoder does not fit very well, because it creates new session and tokenizer every time.
Do you mind to add a new constructor where these values are passed by constructor?.
Thank you

Sorry, wrong button 🫤


Uploading file issue : Sync : Error Logged In Console (Help menu > Toggle Developer Tools).

Visual Studio Code Version : [ 1.19.3 ]
Code Settings Sync Version : [ 2.8.7 ]
Operating System : [ Win 10 Pro 64bits ]
Occurs On: [Upload ]
Proxy Enabled: [ No ]
GIst Id: [ Dont know where to find the gist id ]
Hi, I get an error when trying to upload my settings :

Log from console :
`[Extension Host] Error: Impossible d’écrire dans les paramètres de l’utilisateur. Veuillez s’il vous plaît ouvrir le fichier User Settings pour corriger les erreurs/avertissements à l'intérieur et essayez à nouveau.
at new t (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:3569:704)
at e.wrapError (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:3573:685)
at file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:3577:425
at Object.g [as _notify] (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:139:729)
at Object.enter (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:143:61)
at n.Class.derive._creator._run (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:144:866)
at n.Class.derive._creator._completed (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:144:307)
at n.Class.derive._creator.then (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:146:301)
at Object.enter (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:142:109)
at n.Class.derive._creator._run (file:///C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:144:866)
t.log @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:249
`
Translation for the first line : Error: Can not write to the user's settings. Please open the User Settings file to fix the errors / warnings inside and try again.
Screen Version :

This is because the user settings file isnt valid, you need to make it valid JSON File.

Thanks !

How do you make it valid? I'm having the same issue.

Try resetting the settings after taking a backup of token.


Fix history when rip using -u

Category
This change is exactly one of the following (please change [ ] to [x]) to indicate which:

[X] a bug fix (Fix #1195, #1230)
[ ] a new Ripper
[ ] a refactoring
[ ] a style change/fix
[ ] a new feature

Description
Fix history when rip using -u
Fix history load when using -r. Now it's load from history.json instead of rip.properties
Testing
Required verification:

[X] I've verified that there are no regressions in mvn test (there are no new failures or errors).
[X] I've verified that this change works as intended.

[x] Downloads all relevant content.
[x] Downloads content from multiple pages (as necessary or appropriate).
[x] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.

[X] I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Optional but recommended:

[ ] I've added a unit test to cover my change.

LGTM


Update SimulationX specific binaries

@bernhard-thiele Please give @ESI-ITI-GmbH some time to test and review before merging.

@tbeu , @bernhard-thiele : @ESI-ITI-GmBH has tested and reviewed. PR can be merged.


Exception on toString in Chrome 49

When using (current) Chrome Version 49.0.2623.87 (64-bit)
Error is
Uncaught TypeError: Cannot read property 'get' of undefined(anonymous function) @ index.js:27

Which maps to: https://github.com/ljharb/is-typed-array/blob/master/index.js#L27
Having a look in the console I can see that gOPD(proto, Symbol.toStringTag) is coming out as undefined.
This was previously working, it seems like Chrome has added some of the features which are detected, but not all the ones that this code expects?

Thanks! I'll take a look.

@glenjamin can you provide the code you're using to generate that error?

nvm, figured it out. Thanks for the report!

Released as v1.0.4 (also shortly releasing v1.0.1 of which-typed-array to fix the same problem)

Awesome, thanks for the quick fix.


Weird output when multiple podman commands are pasted into a terminal

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind feature

Description
When you paste, for example, three podman commands in a row into a terminal, something strange happens with the output. Honesty, I can't quite tell what is happening. It feels like some kind of strange race condition.

This is a properly strange one. I wonder if it has something to do with how we handle attaching?

Can confirm. More trivial example:
podman run fedora:24 echo hi
echo bye

Looks like someone is/something is reading and flushing stdin.

so what about this:
± |master → origin ↑1030 ?:42 ✗| → rpm -q docker
docker-1.13.1-44.git584d391.fc27.x86_64

 2018-02-28 20:08:16 ⌚  localhost in ~/git/cri-o
± |master → origin ↑1030 ?:42 ✗| → sudo docker run -it fedora:24 python3 --version
sudo docker run -it fedora:25 python3 --version
sudo docker run -it fedora:26 python3 --version
Python 3.5.1

Ok the replicator is even simpler:
± |master → origin ↑1030 ?:42 ✗| → docker run alpine echo hi
hi

 2018-02-28 20:12:05 ⌚  localhost in ~/git/cri-o
± |master → origin ↑1030 ?:42 ✗| → echo bye
bye

but if you add the -i in, then the interactive console must absorb it and it doesn't work.  if I recall correct, podman run with -d is equiv to -it.

Ok, i looked into this more ... it was -t that was being set automatically if ! -d.  Disabling that did nothing for this problem.  There must be something more subtle going on.

I can't seem to replicate this anymore. Possibly the attach cleanups fixed it?


How to specify how many rounds?

The EVP_BytesToKey function takes a "count" parameter specifying how many rounds or iterations to apply the hash for.

you don't, this is written explicitly for compatibility with some very questionable node.js stdlib usage, you should NEVER be using this as it's insecure as hell so I'm curious why you'd even want the count param

Ah ok, my bad.  I was looking for some code for compatibility with decrypting stuff encrypted by OpenSSL's EVP_BytesToKey and mistakenly thought this was for that.

this would be a good start for that


Helpful hints for search

Bill suggested to put a helpful hints asterisk for Search to clarify what its current capabilities and limitations are (e.g. boolean AND search, plural forms may return different results.")
If there is an elegant way to do it, it may be worth adding a note that the search functionality is still being built out.

@Vensberg I have two solutions to propose for this issue:

Add a FAQ about this issue. This is a good place to include the mention search is still in development and maybe include planned future features if there are some.
Add a tool tip to the homepage that opens when hovered or clicked.

You can view an interactive example here:
https://www.figma.com/proto/VFlaWRDVaiF1lOeQu9NEW4/Aggie-Experts?page-id=2990%3A25167&node-id=2990-25168&viewport=721%2C692%2C0.5&t=cFvLkLrIIFuA3Tow-1&scaling=min-zoom&content-scaling=fixed
Screenshots from file:

Device
Closed
Open

Desktop

Mobile

@wrenaria , I like the hover-over question tip. The message about "AND" should be that the keywords are automatically combined with "AND"  for search.

Is there enough space to add that search parameters will be expanded?

@Vensberg It's bordering too long, but how about...

Tip: Keywords are automatically combined with "AND." Singular and plural forms may yield different results. Search is under development.
OR
Tip: Keywords are automatically combined with "AND." Singular and plural forms may yield different results. More to come.

How about "Improvements coming soon!" or "Improvements under way!"

Updated version:

Desktop
Mobile

@UcDust I've added this new feature to the MVP home screen in Figma. It should open on hover and on click. Interaction showing the overlay is viewable in preview/present modes.
https://www.figma.com/design/VFlaWRDVaiF1lOeQu9NEW4/Aggie-Experts?node-id=2927-19946&t=M6eUU1MXo7Qzh9Yg-1


Revert "BAU — Put external ID on payment page"

Reverts alphagov/pay-toolbox#479 because it doesn’t seem to work.

This could probably be fixed rather than reverted
Edit: too late
Edit: external_id -> transaction_id

There’s something to be said for consistency.

Looks like it is external_id under the hood but gets mapped to this by Jackson. It used to be mapped to charge_id so you can pick your flavour of inconsistency https://github.com/alphagov/pay-ledger/pull/174


[enhancement]: LESS Releases !!! EVERY DAY !!!

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
i mean hello every day a new release ?!?
make that as fixes or whatever
every EVERY one that have Subscribe to your costune "new release" get a notification ...
Alternatives
new category for you VERY NEW VERSIONS every day
Additional Content
No response

You don't need to update the app or subscribe to updates if you don't want them.

that is the lowest level of beeing watching you !
is like spam !


Can't integrate applitools eye validation with flutter automation name .

am trying to make visual test by adding applitools dependencies but i got error "method not implemented yet " when i used flutter automation name .....
for more details programming language :java
and below is the capability used :
flutterCapabilities.setCapability( "deviceName", deviceName );
flutterCapabilities.setCapability( "platformName", Android );
flutterCapabilities.setCapability( "platformVersion", platformVersion);
flutterCapabilities.setCapability("udid",udid);
flutterCapabilities.setCapability("app",appPtah);
flutterCapabilities.setCapability("automationName", "Flutter");
Note: when i replace the automation name with "automator2 "instead of "flutter" it works fine but the script failed due to key value i used ,,,,any help for visual testing in flutter apps?

i haven't used their tool, but i guess some methods that are not in flutter driver is used by them.
I would ask their support team first rather than here.
So far, I don't see applitools persons around this community based flutter driver implementation. So not sure if they can work with this.


Automatically Refresh When Upload is Ready

From this review - Papermerge Installed on Docker - OCR Document Management System
DB Tech remarks valid point that it would be nice to "automatically refresh" documents when document upload completes.

Fixed by this commit.

Fix is now in master branch. Will be available as part of 1.5.0 release.


Python 3.13

This issue is to track tasks and issues with Python 3.13.
Numba support status:

Started early work on Python3.13.0a3. So far, there is minimal bytecode changes (WIP branch: https://github.com/numba/numba/compare/main...sklam:numba:wip/py3.13). ~We got numba/tests/test_usecases.py to pass. However, more involved tests are blocked by an issue with metaclass (https://github.com/python/cpython/issues/114806). As a result, Type._code is not set properly.  (temporary debug commit related to the issue: https://github.com/numba/numba/commit/4b6cc78a79530e41e414326fbb7f255d05ee5506)~
Added development setup using hatchery: https://github.com/numba/numba-hatchery/pull/8
Work is halted until 3.13.0a4 is available. Expected on Feb 13 2024.
Work resumes using 3.13.0a6 as https://github.com/python/cpython/issues/114806 is resolved. Continues to look into try-except changes 7/33 failures in test_try_except.py

Great to see some steps towards 3.13 taking place - will numba publish PEP 703 free threading wheels (-cp313t)?

RE: https://github.com/numba/numba/issues/9413#issuecomment-2197205944

will numba publish PEP 703 free threading wheels (-cp313t)?

We are talking about providing freethreading packages but the current priority is just to get through all the issues with bytecode changes.
As of https://github.com/numba/numba/commit/a8ad12aee51f547c01f4844dd85ce2eff4de3d8c, the testsuite is at 493 failures out of 10385.

As of 6cafffe62, everything is working on py3.13 except for 3 failures that are unrelated to py3.13:

numba.tests.test_lists.TestLists.test_mul_error

Python3.13 is not raising MemoryError in the hatchery docker.
rosetta error: could not find free space for allocation size<PHONE_NUMBER>001000

numba.tests.test_nrt.TestNrtMemInfo.test_allocate_invalid_size

rosetta error: could not find free space for allocation size<PHONE_NUMBER>001000

numba.tests.test_function_type.TestFunctionTypeExtensions.test_wrapper_address_protocol_libm

Fail when running alone. Works when with other tests. Probably due to
initialization problem.

Basically the same as aaronzo said, but for PEP 738.
At first thanks for your awesome work, then the question: Will you support numba on Android starting with Python 3.13?
Otherwise, current Android support will likely die ( https://github.com/chaquo/chaquopy/issues/834 ).

Hi, I'm the maintainer of Chaquopy. Both myself and the Numba maintainers now work for Anaconda, so we'll hopefully be able to produce Numba builds for Python 3.13 on Android later in the year. But first we'll need to deal with more fundamental packages like NumPy.

Think we need llvmlite supported on Python 3.13. Is that being tracked in an issue somewhere as well?

@jakirkham thanks for the reminder, there is now https://github.com/numba/llvmlite/issues/1084

For the record, since last week's update, the macos-14-arm64 image on GitHub Actions ships with system Python 3.13, which makes Numba uninstallable there as of now
https://newreleases.io/project/github/actions/runner-images/release/macos-14-arm64%2F20241014.301

can you give an estimation on when Numba will be ready for python 3.13.0

You can install the release candidate right now

Trying out numba-0.61.0rc1 (and llvmlite-0.44.0rc1) on GitHub Actions macOS runners, it works well on Intel macos-13 image, but fails on Apple-silicon (ARM) macos-14 runner with (https://github.com/open-atmos/PyPartMC/actions/runs/12207324656/job/34058852918):
...
 File /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/llvmlite/binding/ffi.py:136, in _lib_wrapper._lib(self)
    132 @property
    133 def _lib(self):
    134     # Not threadsafe.
    135     if not self._lib_handle:
--> 136         self._load_lib()
    137     return self._lib_handle
File /Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/llvmlite/binding/ffi.py:130, in _lib_wrapper._load_lib(self)
    124         _ = self._lib_handle.LLVMPY_GetVersionInfo()
    125 except (OSError, AttributeError) as e:
    126     # OSError may be raised if the file cannot be opened, or is not
    127     # a shared library.
    128     # AttributeError is raised if LLVMPY_GetVersionInfo does not
    129     # exist.
--> 130     raise OSError("Could not find/load shared object file") from e
OSError: Could not find/load shared object file

Any hints?
Thanks

I have the similar problems when install some other package which depend on numba.
Liu.D.H  ~   0ms  11:28 > pip install nexaai --prefer-binary --index-url https://nexaai.github.io/nexa-sdk/whl/cpu --extra-index-url https://pypi.org/simple --no-cache-dir
Looking in indexes: https://nexaai.github.io/nexa-sdk/whl/cpu, https://pypi.org/simple
Collecting nexaai
  Downloading https://github.com/NexaAI/nexa-sdk/releases/download/v<IP_ADDRESS>/nexaai-<IP_ADDRESS>-cp313-cp313-win_amd64.whl (4.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 5.1 MB/s eta 0:00:00
Collecting cmake (from nexaai)
  Downloading cmake-3.31.2-py3-none-win_amd64.whl.metadata (6.5 kB)
Collecting faster_whisper (from nexaai)
  Downloading faster_whisper-1.1.0-py3-none-any.whl.metadata (16 kB)
Requirement already satisfied: typing-extensions>=4.5.0 in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from nexaai) (4.12.2)
Requirement already satisfied: numpy>=1.20.0 in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from nexaai) (2.1.2)
Collecting diskcache>=5.6.1 (from nexaai)
  Downloading diskcache-5.6.3-py3-none-any.whl.metadata (20 kB)
Requirement already satisfied: jinja2>=2.11.3 in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from nexaai) (3.1.4)
Collecting librosa>=0.8.0 (from nexaai)
  Downloading librosa-0.10.2.post1-py3-none-any.whl.metadata (8.6 kB)
Collecting fastapi (from nexaai)
  Downloading fastapi-0.115.6-py3-none-any.whl.metadata (27 kB)
Collecting uvicorn (from nexaai)
  Downloading uvicorn-0.34.0-py3-none-any.whl.metadata (6.5 kB)
Requirement already satisfied: pydantic in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from nexaai) (2.9.2)
Requirement already satisfied: pillow in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from nexaai) (11.0.0)
Requirement already satisfied: huggingface_hub in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from nexaai) (0.26.0)
Collecting modelscope (from nexaai)
  Downloading modelscope-1.21.0-py3-none-any.whl.metadata (40 kB)
Requirement already satisfied: prompt_toolkit in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from nexaai) (3.0.48)
Requirement already satisfied: tqdm in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from nexaai) (4.66.5)
Collecting tabulate (from nexaai)
  Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB)
Collecting streamlit>=1.37.1 (from nexaai)
  Downloading streamlit-1.41.1-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting streamlit-audiorec (from nexaai)
  Downloading streamlit_audiorec-0.1.3-py3-none-any.whl.metadata (2.4 kB)
Collecting python-multipart (from nexaai)
  Downloading python_multipart-0.0.19-py3-none-any.whl.metadata (1.8 kB)
Requirement already satisfied: MarkupSafe>=2.0 in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from jinja2>=2.11.3->nexaai) (3.0.2)
Collecting audioread>=2.1.9 (from librosa>=0.8.0->nexaai)
  Downloading audioread-3.0.1-py3-none-any.whl.metadata (8.4 kB)
Requirement already satisfied: scipy>=1.2.0 in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from librosa>=0.8.0->nexaai) (1.14.1)
Requirement already satisfied: scikit-learn>=0.20.0 in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from librosa>=0.8.0->nexaai) (1.5.2)
Requirement already satisfied: joblib>=0.14 in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from librosa>=0.8.0->nexaai) (1.4.2)
Requirement already satisfied: decorator>=4.3.0 in c:\users\liu.d.h\appdata\local\programs\python\python313\lib\site-packages (from librosa>=0.8.0->nexaai) (5.1.1)
Collecting numba>=0.51.0 (from librosa>=0.8.0->nexaai)
  Downloading numba-0.60.0.tar.gz (2.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 3.7 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      Traceback (most recent call last):
        File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
          ~~~~^^
        File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ~~~~^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Liu.D.H\AppData\Local\Programs\Python\Python313\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-s38twml2\overlay\Lib\site-packages\setuptools\build_meta.py", line 334, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-s38twml2\overlay\Lib\site-packages\setuptools\build_meta.py", line 304, in _get_build_requires
          self.run_setup()
          ~~~~~~~~~~~~~~^^
        File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-s38twml2\overlay\Lib\site-packages\setuptools\build_meta.py", line 522, in run_setup
          super().run_setup(setup_script=setup_script)
          ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Liu.D.H\AppData\Local\Temp\pip-build-env-s38twml2\overlay\Lib\site-packages\setuptools\build_meta.py", line 320, in run_setup
          exec(code, locals())
          ~~~~^^^^^^^^^^^^^^^^
        File "<string>", line 51, in <module>
        File "<string>", line 48, in _guard_py_ver
      RuntimeError: Cannot install on Python version 3.13.0; only versions >=3.9,<3.13 are supported.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Liu.D.H  ~   1m 2.814s  08:52 >


Authentication over MQTT

Authentication working fine over REST API, How to define authentication header in nCube to connect it with Mobius over MQTT

We adopted a sort of Basic Authentication via topic also for MQTT; see my comment here https://github.com/IoTKETI/Mobius/pull/8#issuecomment-334144512

@beaver71 thanks, issue resolved.


Can I control order of links in a Sankey diagram?

Here is an example screenshot.
I would like to be displayed below all others, at bottom.
Is it controllable?

SO question https://stackoverflow.com/questions/48619778/can-i-control-order-of-links-in-a-sankey-diagram-of-react-vis

@jckr what does extended series tag mean in regards to my question?

@wzup this is pretty late, but you can say more about what you mean here? I don't quite get your diagram


Switch from steam-api GetUserStatsForGame to GetRecentlyPlayedGames to get tf2-playtime

Looks like people can fake GetUserStatsForGame, at least there was one person with insane playtime.

Why not keep both? Seems like it gives the option to see the difference between having the game just running and actively playing it.


Feat nav mob

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #4125
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address:
Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

@yangwao @preschian worked on top of the previous PR that was raised
I shifted the components to use vue compostion and cleaned up the css and the logic a little bit

while logged in

lines should be full from left to right.

I guess you plan work on it :)
putting back to draft till it's ready for testing

oh edit, on mobile view on desktop chrome it seems ok!

seems there is an issue with break points then?
seems happen only if there is "mobile" is not enabled

@exezbcz how exactly the search on mobile should look? I cant find the designs for that

This can be fixed in the follow-up issue as it's for the non-mobile devices but on 600px width

I guess we will make follow-up issue on this one
On 600px width non-mobile I see this

Address select dialogue
but I guess that's going to be resolved in #4405

pay 80 usd
we will make follow-up issue

😍 Perfect, I’ve sent the payout
💵 $80 @ 26.81 USD/KSM ~ 2.984 $KSM
🧗 EzGc4s9PgCPx1YnF3fqzhLzVHpHMTL4LWPScwpDrR8JKgSU
🔗 0x8c82d3aadeb3beb9db2c2e6135b81068f9df3a20b8f08ed91f009cd49d5b36cd
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


git: add gbf alias to list all branches

This new alias allows us to see the branches and their current status looking like this:
~/.zprezto ❯❯❯ gbf

2 minutes ago  (HEAD -> anton) <Anton Stroganov>
4 minutes ago  (origin/git-gbf, master, git-gbf) <Anton Stroganov>

Hi @Aeon  , your PR got merged in the community maintained fork of this repo.
zsh-users is an organization dedicated to host Zsh community projects and therefore became the rational home for a community maintained version of prezto.
Your contribution is greatly appreciated!
https://github.com/zsh-users/prezto

It's really quite sketchy to include code from unknown sources... especially without knowing the license of the original. If you manage to track down the original or implement it in a different way, please feel free to open another PR. However, I'm going to close this for now as that needs to be taken care of before this can be merged and this is a few months old.
Thanks for your submission though, hope we can get the licensing oddities figured out. :)


Article Needs More Context

In step 1, it isn't clear that the Config\Settings.xml file is in the Stateless1 service. In steps 5, 6, and 7, it isn't clear the parameter's name should be prefixed by a service name when referenced in ApplicationManifest.xml.

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

ID: 5f940edc-198b-e0b3-0229-78a6b47544d2
Version Independent ID: 09883422-5d46-98e4-7aa5-4af2149936cf
Content: How to parameterize configuration files in Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-how-to-parameterize-configuration-files.md
Service: service-fabric
GitHub Login: @MikkelHegn
Microsoft Alias: mikhegn

@andrewtyped Thanks for the feedback! We are currently investigating and will update you shortly.

@MikkelHegn It looks like customers need more clarity on the steps.
Step 1: The directory structure, as shown below, can be added here to show the location of Config\Settings.xml file
PS D:\temp> tree /f .\MyApplicationType

D:\TEMP\MYAPPLICATIONTYPE
│   ApplicationManifest.xml
│
└───MyServiceManifest
    │   ServiceManifest.xml
    │
    ├───MyCode
    │       MyServiceHost.exe
    │
    ├───MyConfig
    │       Settings.xml
    │
    └───MyData
            init.dat

Step 5,6,7: This line can be added - "parameter's name should be prefixed by a service name when referenced in ApplicationManifest.xml" file.

@andrewtyped I have assigned the issue to the content author to evaluate and update as appropriate.

The parameter name can be anything. It's a good practice to include the service name for easy identification of where it's used.
There is a reference to a know more article in the bottom of this:
"To learn more about some of the core concepts that are discussed in this article, see..."
@karishma-tiwara-msft is there a way we can put this up at the top, as a pre-req for this how-to article?

@MikkelHegn Do you want the line "To learn more about some of the core concepts that are discussed in this article, see..." under Next steps, to move to the top, under Prerequisites heading?
That can be done. Since you are the author of the article, please make changes as you find appropriate. I am not sure of the rules we need to follow in terms of structure convention for the docs.

@rwike77 to help with how to structure the how-to's.

@andrewtyped  @Karishma-Tiwari-MSFT  I made some updates to the article based on your feedback.  Changes are live now, thanks for your input.  #please-close


Analyze tag values

We are currently capable of analyzing tags on a global level, but it would also be nice to analyze the underlying tag values of one single tag. Take the environment tag for example; I would like to know what values are used and by what percentage. This would allow me to identify inconsistencies and see what % of cloud tenants are using a particular environment. The command could work like
collie analyze-tag-values --tag environment
->
Analyzed 92 tenants
The environment tag has the following values:
-- production (12%)
-- test (20%)
-- development (64%)
-- dev (4%) <-- found inconsistency

Closed due to lack of community interest - feel free to revive discussion at https://github.com/meshcloud/collie-cli/discussions


Must problem variables be of type "&str"?

Hi Developer,
I am writing the software that solves mixture integer programming.
In this software, an objective function maximizes the sum of the scores of possible certain index pairs(, as you show as an example of an assignment problem).
I noticed that your assignment problem example shows the error "Cannot open file" when I replace the type of men and women (&str) with u8. (e.g., men: "A", "B", "C" -> 1, 2, 3, women: "D", "E", "F" -> 4, 5, 6.)
Am I forced to use type "&str"?
Thank you in advance.

Hello heartsh,
It should work if you transform u8 to str when you give a unique identifier for the variables : LpBinary::new(&format!("{}_{}", m,w));
Can you provide a minimalist snippet we can test ?

The code below (which slightly modifies your assignment problem example) gives the error "thread 'main' panicked at 'Cannot open file', examples/assignment.rs:64:5" when I execute "cargo run --example assignment":
extern crate lp_modeler;

use std::collections::HashMap;

use lp_modeler::dsl::*;
use lp_modeler::solvers::{SolverTrait, CbcSolver};

fn main() {
    // Problem Data
    let men = vec![1, 2, 3];
    let women = vec![4, 5, 6];
    let compatibility_score: HashMap<(u8, u8),f32> = vec![
        ((1, 4), 50.0),
        ((1, 5), 75.0),
        ((1, 6), 75.0),
        ((2, 4), 60.0),
        ((2, 5), 95.0),
        ((2, 6), 80.0),
        ((3, 4), 60.0),
        ((3, 5), 70.0),
        ((3, 6), 80.0),
    ].into_iter().collect();

    // Define Problem
    let mut problem = LpProblem::new("Matchmaking", LpObjective::Maximize);

    // Define Variables
    let vars: HashMap<(u8,u8), LpBinary> =
        men.iter()
            .flat_map(|&m| women.iter()
            .map(move |&w| {
                let key = (m,w);
                let value = LpBinary::new(&format!("{}_{}", m,w));
                (key, value)
            }))
            .collect();

    // Define Objective Function
    let obj_vec: Vec<LpExpression> = {
       vars.iter().map( |(&(m,w), bin)| {
           let &coef = compatibility_score.get(&(m, w)).unwrap();
           coef * bin
       } )
    }.collect();
    problem += obj_vec.sum();

    // Define Constraints
    // - constraint 1: Each man must be assigned to exactly one woman
    for &m in &men{
        problem += sum(&women, |&w| vars.get(&(m,w)).unwrap() ).equal(1);
    }

    // - constraint 2: Each woman must be assigned to exactly one man
    for &w in &women{
        problem += sum(&men, |&m| vars.get(&(m,w)).unwrap() ).equal(1);
    }

    // Run Solver
    let solver = CbcSolver::new();
    let result = solver.run(&problem);

    // Compute final objective function value
    // (terminate if error, or assign status & variable values)
    assert!(result.is_ok(), result.unwrap_err());
    let solution = result.unwrap();
    let mut obj_value = 0f32;
    for (&(m, w), var) in &vars{
        let obj_coef = compatibility_score.get(&(m, w)).unwrap();
        let var_value = solution.results.get(&var.name).unwrap();

        obj_value += obj_coef * var_value;
    }

    // Print output
    println!("Status: {:?}", solution.status);
    println!("Objective Value: {}", obj_value);
    for (var_name, var_value) in &solution.results{
        let int_var_value = *var_value as u32;
        if int_var_value == 1{
            println!("{} = {}", var_name, int_var_value);
        }
    }
}

However, it works when I replaced
let value = LpBinary::new(&format!("{}_{}", m,w));

with
let value = LpBinary::new(&format!("A{}_B{}", m,w));

resulting
Status: Optimal
Objective Value: 230
A3_B4 = 1
A2_B5 = 1
A1_B6 = 1

My CPC MILP solver is version 2.10.5.

I got it. It's to the underlying file format. The variable name should start by a letter and must respect some rules (typically +-^/ ). Mhmmm. I will mention rules for naming convention and try to find a way to crash with a better indication.


fix: only override struct description if tag is set

I noticed that if you use JSONSchemaExtend to set the description of a nested struct, it would be overwritten by the lookup of jsonschema_description on the parent field even if that tag was not provided.
This change makes sure that the tag is actually set, even if it's empty, and only overwrites the description if that is so. This allows the parent to override or remove the description if it wishes.

Sounds good, and I know this is tiny, but some tests to make sure it doesn't break again would be great! Thanks.

@samlown sure! I'll add some.

@samlown done!


BUG: No Preferences: Configure Runtime Arguments menu item

Does this issue occur when all extensions are disabled?: Yes
In release notes of 1.90 version:

Menu File doesnt have that item

Version: 1.90.0 (user setup)
Commit: 89de5a8d4d6205e5b11647eb6a74844ca23d2573

It's a Command Palette (F1 or Ctrl/Cmd+Shift+P) command.

Maybe also put this into menu File?

It's so rarely needed that I doubt the team will agree to a dedicated menu option.

Maybe you are right, let them have a look at this and then I will close this issue

I agree with @gjsjohnmurray, it's not a commonly-used command.


⚠ Bofrost.at has degraded performance

In 14cfc1c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2235 ms

Resolved: Bofrost.at performance has improved in 7250fed after 10 minutes.


frontend: replace React frontend by NextJS front

Qovery can create a Preview Environment for this PR.
To trigger its creation, please post a comment with one of the following command.

Command
Blueprint environment

/qovery  preview ebda08c2-c437-44d3-b090-01af4498f95c
production

/qovery  preview {all|UUID1,UUID2,...}
To preview multiple environments

This comment has been generated from Qovery AI :robot:.
Below, a word from its wisdom :

Make it work, make it right, make it fast


[REQUEST] I would like to know how to make chrome-aws-lambda

Rather than waiting for updating to Puppeteer 5.0, I would like to make chrome-aws-lambda package on my end.
How can I make Chrome-aws-lambda? Is there any guide or could you give me some tips?
Many thanks :)
Best regards,
Heathera

@heathera2016 this is described in README file, here.

@Dadidam Thanks for your answer. I wonder Chronium binary and puppeteer-core are enough for prerequisite. Is there anything I have to consider?

@heathera2016 As @Dadidam said, this is fully described here.
Besides puppeteer-core, you will also need to patch AWS Lambda environment with aws.tar.br.


setattr to set attr with string

This code
https://github.com/OpenSourceEconomics/soepy/blob/3b21659d117b4ae8a8fdcd3e40f61de368184ff5/soepy/python/pre_processing/model_processing.py#L40-L60
can be easily replaced by
    for group in init_dict.keys():
        for label in init_dict[group].keys():
            setattr(model_params, label,  init_dict[group][label])

I rewrote the entire create_namedtuple function in PR #35 so this is no longer valid. Could we close?

B-E-A-U-T-I-F-U-L


Bugreport/crash1 coq

@jmikedupont2 @Shadow666gamer any explanation on this PR?

I think this was created by accident when creating a bug report. lets close.


Be graceful when certain php extensions are enabled but respective db is not installed.

One is allowed to enable the following php extensions from the webinterface:
interbase
oci8
oci8_11g
pdo_firebird
pdo_oci
sybase_ct
...but when the server is restarted (stop all / start all), they are "bombarded" by the following error/warning messages:
---------------------------
php-cgi.exe - System Error
---------------------------
The program can't start because fbclient.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------

---------------------------
Warning
---------------------------
PHP Startup: Unable to load dynamic library 'ext\php_interbase.dll' - The specified module could not be found.
---------------------------
OK
---------------------------

---------------------------
php-cgi.exe - System Error
---------------------------
The program can't start because OCI.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------

---------------------------
Warning
---------------------------
PHP Startup: Unable to load dynamic library 'ext\php_oci8.dll' - The specified module could not be found.
---------------------------
OK
---------------------------

---------------------------
php-cgi.exe - System Error
---------------------------
The program can't start because OCI.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------

---------------------------
Warning
---------------------------
PHP Startup: Unable to load dynamic library 'ext\php_oci8_11g.dll' - The specified module could not be found.
---------------------------
OK
---------------------------

---------------------------
php-cgi.exe - System Error
---------------------------
The program can't start because fbclient.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------

---------------------------
Warning
---------------------------
PHP Startup: Unable to load dynamic library 'ext\php_pdo_firebird.dll' - The specified module could not be found.
---------------------------
OK
---------------------------

---------------------------
php-cgi.exe - System Error
---------------------------
The program can't start because OCI.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------

---------------------------
Warning
---------------------------
PHP Startup: Unable to load dynamic library 'ext\php_pdo_oci.dll' - The specified module could not be found.
---------------------------
OK
---------------------------

---------------------------
php-cgi.exe - System Error
---------------------------
The program can't start because libcs.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------

---------------------------
Warning
---------------------------
PHP Startup: Unable to load dynamic library 'ext\php_sybase_ct.dll' - The specified module could not be found.
---------------------------
OK
---------------------------

I think we should be more graceful in this situation.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3348685-be-graceful-when-certain-php-extensions-are-enabled-but-respective-db-is-not-installed?utm_campaign=plugin&utm_content=tracker%2F164029&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F164029&utm_medium=issues&utm_source=github).

Implemented.


Experimental BulkCsvUploader

Hi guys,
I faced on the last days the slow upload data problem when try to send my data to PredictionIO server and after some googling I found in the user forum discussions the experimental bulk upload tool. This was the path to solve this problem. :)
I'm starting with Recommendations, Mahout, PredictionIO and I have a little experience in Java/Scala.
Thinking about how to make this upload more easy, I implemented a extended version of the original bulkUploader to work with CSV files. The main idea is enable the user to upload items, users and U2Iactions in distinct files to specific Apps.
I'm not implemented the unit tests because not have any to the original toolsBulkUpload. I'm imagining that is because a experimental stuff.
In the tests, under the Amazon MarketPlace pre-built PredictionIO machine with 8GB of memory, I uploaded 3000000 u2iactions in 7,8 minutes.
I hope this help a little.

Good morning Justin,
How have you been? I hope all fine.
This BulkCvsUploader makes sense now that PIO 0.9 has a batch import? (http://docs.prediction.io/datacollection/batchimport/)

Yes. We have a script for importing json files. Do you want to take a shot at importing csv files?

Will add a feature request to support CSV as well as JSON


Update README.md

Unclear documentation around the success message emitted by workers with the retry plugin even on job failures.

Thanks!


Should clean up previously propagated namespace labels/annotations

What
Ref. docs:

Accurate currently does not delete previously propagated labels when deleted from the parent namespace to prevent unintended deletions. Users are expected to manually delete labels/annotations that are no longer needed.

I wonder which kind of "unintended deletions" are referred to here. I would expect Accurate to clean up a previously propagated namespace label/annotation (based on Kubernetes managedFields ownership) when the desired state of parent/template NS (or SubNamespace) indicates that a label/annotation should not be propagated.
Could a migration to SSA (Server Side Apply) aid in this? Since controller-runtime still has limited support for SSA, ref. https://github.com/kubernetes-sigs/controller-runtime/issues/347, we probably must migrate to Unstructured instead of structured types. But IMO I think it would be worth it.
How
Describe how to address the issue.
Checklist

[ ] Finish implementation of the issue
[ ] Test all functions
[ ] Have enough logs to trace activities
[ ] Notify developers of necessary actions

Could a migration to SSA (Server Side Apply) aid in this?

I think so.


Feature: tooltip html content as template

Added option to define the html content of a tooltip using a TemplateRef, with context, using NgTemplateOutlet.

Awesome, thanks! I like this solution :)

@valorkin If you think this would work, I could have a look at typeahead component and see about adding a similar way to specify a template. That would make it more usable in different use cases.

it should work, why not


On progress Event

Feature request : There should be a function that we can pass and the same should be trigged on progress. Now, this will be very useful incase we have a element (other than default mask and % and bar) that we want to increase width of the same on progress.
			window.addEventListener('DOMContentLoaded', function() {
			       new QueryLoader2(document.querySelector("body"), {
			           barColor: "#efefef",
			           backgroundColor: "#111",
			           percentage: true,
			           barHeight: 1,
			           minimumTime: 2000,
			           fadeOutTime: 1000,
			           onprogress:function(progressInPercentage){
			               //do something
			           }
			       });
			   });

Great idea. Will put this in a future release. Thanks!


Rewrite of the mensa script which supports prices for employees

Thanks for the update using a more maintainable language.
This change needs to call the python binary from the virtual environment. I will accept and patch the changes.