Flutter Mac M1 - Cocoapods installed but broken

Hi I am using a Mac Book PRO with M1 Chip and run into the following problem when I want to run my project:
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3.1 21E258 darwin-arm, locale en-ES)
    • Flutter version 2.10.5 at /Users/timknogel/FlutterDev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (4 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/timknogel/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ✗ CocoaPods installed but not working.
        You appear to have CocoaPods installed but it is not working.
        This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
        This can usually be fixed by re-installing CocoaPods.
      To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.66.2)
    • VS Code at /Users/timknogel/Desktop/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 101.0.4951.64
    ! Device 247c764ccf0d7ece is not authorized.
      You might need to check your device for an authorization dialog.

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

timknogel@Tims-MacBook-Pro ios % pod env
objc[30757]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x2119bdeb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1080504f8). One of the two will be used. Which one is undefined.
objc[30757]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x2119bdf00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108050548). One of the two will be used. Which one is undefined.
objc[30757]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x2119bdf50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108050598). One of the two will be used. Which one is undefined.
objc[30757]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x2119bdfa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1080505e8). One of the two will be used. Which one is undefined.
objc[30757]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x2119bdff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108050638). One of the two will be used. Which one is undefined.
objc[30757]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x2119be040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108050688). One of the two will be used. Which one is undefined.

### Stack

CocoaPods : 1.11.3
Ruby : ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]
RubyGems : <IP_ADDRESS>
Host : macOS 12.3.1 (21E258)
Xcode : 13.3.1 (13E500a)
Git : git version 2.36.0
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git @ 4efe6b3ea1f9c308556b47165ab4960da62c8258
           trunk - CDN - https://cdn.cocoapods.org/

### Installation Source

Executable Path: /usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod

### Plugins

cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

### Podfile

```ruby
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'

source 'https://github.com/CocoaPods/Specs.git'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
  end
end

 git --version
git version 2.36.0

Does anybody know a fix?

This guide saved me: https://stackoverflow.com/a/69626078/19124420

This guide saved me: https://stackoverflow.com/a/69626078/19124420

Thank you for your answer.
After implementing all steps, I get this notification when I update pods:
Pod installation complete! There are 20 dependencies from the Podfile and 50 total pods installed.
[!] Automatically assigning platform `iOS` with version `12.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

[!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`).

Is that normal and to be ignored or an error?
The new flutter doctor -v looks good.
timknogel@Tims-MacBook-Pro ios % flutter doctor -v
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3.1 21E258 darwin-arm, locale en-ES)
    • Flutter version 2.10.5 at /Users/timknogel/FlutterDev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (4 weeks ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/timknogel/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.66.2)
    • VS Code at /Users/timknogel/Desktop/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 101.0.4951.64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

But the project will still not run on IOS
Here an extract of flutter run --verbose

   objc[35521]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both
                    /usr/lib/libauthinstall.dylib (0x2119bdeb0) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
                    (0x1043144f8). One of the two will be used. Which one is undefined.
                    objc[35521]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both
                    /usr/lib/libauthinstall.dylib (0x2119bdf00) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
                    (0x104314548). One of the two will be used. Which one is undefined.
                    objc[35521]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both
                    /usr/lib/libauthinstall.dylib (0x2119bdf50) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
                    (0x104314598). One of the two will be used. Which one is undefined.
                    objc[35521]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib
                    (0x2119bdfa0) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
                    (0x1043145e8). One of the two will be used. Which one is undefined.
                    objc[35521]: Class AppleTypeCRetimerFirmwareCopier is implemented in both
                    /usr/lib/libauthinstall.dylib (0x2119bdff0) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
                    (0x104314638). One of the two will be used. Which one is undefined.
                    objc[35521]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib
                    (0x2119be040) and
                    /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice
                    (0x104314688). One of the two will be used. Which one is undefined.
                    2022-05-16 08:13:38.509 xcodebuild[35521:447954] Requested but did not find extension point with
                    identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension
                    Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
                    2022-05-16 08:13:38.510 xcodebuild[35521:447954] Requested but did not find extension point with
                    identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
                    Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in
                    com.apple.dt.IDEWatchSupportCore
[+1828 ms] Found plugin add_2_calendar at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/add_2_calendar-2.1.3/
[   +5 ms] Found plugin cloud_firestore at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-3.1.14/
[   +1 ms] Found plugin cloud_firestore_web at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore_web-2.6.14/
[        ] Found plugin cloud_functions at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_functions-3.2.14/
[        ] Found plugin cloud_functions_web at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_functions_web-4.2.13/
[   +4 ms] Found plugin firebase_auth at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth-3.3.17/
[   +1 ms] Found plugin firebase_auth_web at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-3.3.14/
[        ] Found plugin firebase_core at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.16.0/
[        ] Found plugin firebase_core_web at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.3/
[        ] Found plugin firebase_dynamic_links at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_dynamic_links-4.2.2/
[        ] Found plugin firebase_messaging at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-11.3.0/
[        ] Found plugin firebase_messaging_web at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging_web-2.3.0/
[        ] Found plugin firebase_storage at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage-10.2.15/
[        ] Found plugin firebase_storage_web at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_storage_web-3.2.14/
[   +2 ms] Found plugin flutter_native_splash at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_native_splash-2.1.6/
[        ] Found plugin flutter_plugin_android_lifecycle at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.5/
[   +1 ms] Found plugin hexcolor at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/hexcolor-2.0.7/
[   +2 ms] Found plugin image_picker at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker-0.8.5+2/
[        ] Found plugin image_picker_android at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_android-0.8.4+11/
[        ] Found plugin image_picker_for_web at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_for_web-2.1.6/
[        ] Found plugin image_picker_ios at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/image_picker_ios-0.8.4+11/
[   +4 ms] Found plugin path_provider at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.9/
[        ] Found plugin path_provider_android at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_android-2.0.12/
[        ] Found plugin path_provider_ios at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_ios-2.0.8/
[        ] Found plugin path_provider_linux at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.1.5/
[        ] Found plugin path_provider_macos at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.5/
[        ] Found plugin path_provider_windows at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.5/
[   +2 ms] Found plugin purchases_flutter at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/purchases_flutter-3.10.0/
[        ] Found plugin share at /Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/share-2.0.4/
[        ] Found plugin shared_preferences at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.15/
[        ] Found plugin shared_preferences_android at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_android-2.0.11/
[        ] Found plugin shared_preferences_ios at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_ios-2.1.0/
[        ] Found plugin shared_preferences_linux at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_linux-2.1.0/
[        ] Found plugin shared_preferences_macos at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_macos-2.0.3/
[        ] Found plugin shared_preferences_web at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_web-2.0.3/
[        ] Found plugin shared_preferences_windows at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences_windows-2.1.0/
[   +1 ms] Found plugin sqflite at /Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-2.0.2/
[   +1 ms] Found plugin stripe_android at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_android-2.5.0/
[        ] Found plugin stripe_ios at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/stripe_ios-2.5.0/
[   +2 ms] Found plugin url_launcher at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.1.2/
[        ] Found plugin url_launcher_android at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_android-6.0.15/
[        ] Found plugin url_launcher_ios at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_ios-6.0.15/
[        ] Found plugin url_launcher_linux at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_linux-3.0.0/
[        ] Found plugin url_launcher_macos at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-3.0.0/
[        ] Found plugin url_launcher_web at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.9/
[        ] Found plugin url_launcher_windows at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_windows-3.0.0/
[   +1 ms] Found plugin webview_flutter at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-3.0.4/
[        ] Found plugin webview_flutter_android at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_android-2.8.3/
[        ] Found plugin webview_flutter_wkwebview at
/Users/timknogel/FlutterDev/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.7.1/
[  +21 ms] executing: which pod
[  +35 ms] executing: pod --version
[ +656 ms] /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:128:in
`git_version': Failed to extract git version from `git --version` ("") (RuntimeError)
                        from
                        /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:140:in
                        `verify_minimum_git_version!'
                        from
                        /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:49:in
                        `run'
                        from /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in `<top
                        (required)>'
                        from /usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `load'
                        from /usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `<main>'
[   +2 ms] Warning: CocoaPods is installed but broken. Skipping pod install.
             You appear to have CocoaPods installed but it is not working.
             This can happen if the version of Ruby that CocoaPods was installed with is different from the one being
used to
             invoke it.
             This can usually be fixed by re-installing CocoaPods.
           To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[   +8 ms] CocoaPods not installed or not in valid state.
[   +1 ms] Error launching application on iPhone SE (3rd generation).
[  +27 ms] "flutter run" took 18,791ms.
[  +17 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:687:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1161:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>

[ +103 ms] ensureAnalyticsSent: 58ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

Hi, review my terminal history end this is my all step:
arch -x86_64 pod install --repo-update
sudo gem uninstall cocoapods
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew --version
brew install cocoapods
pod --version
flutter doctor

Note: For now I still got error when run xcodebuild -runFirstLaunch, But my project worked well
code@kazus ~ % sudo xcodebuild -runFirstLaunch
Password:
objc[7724]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x1ec4f1eb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x105f0c4f8). One of the two will be used. Which one is undefined.
...

Hey ! Thanks for your answer!
Do you launch this from the normal terminal or from Android Studio?
For example pod install must be launched from the IOS folder of my project right?
On the other hand CocoaPods can be launched globally from the terminal and is not project specific?
pod version aswell only gives a result back if launched from the IOS folder of the project?

All my commands run from normal Terminal, from user root folder (not  project folder)
(and I using vscode)

> arch -x86_64 pod install --repo-update
timknogel@Tims-MacBook-Pro ~ % pwd
/Users/timknogel

The problem is when I try to run then it says:
timknogel@Tims-MacBook-Pro ~ % arch -x86_64 pod install --repo-update
[!] No `Podfile' found in the project directory.

Sorry, my mistake.
try arch -x86_64 pod install --repo-update from project ios folder.
And others from user root folder.
sudo gem uninstall cocoapods
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew --version
brew install cocoapods
pod --version
flutter doctor```

I try to search a lot so I don't remember detail. Good luck.

Sorry, my mistake. try arch -x86_64 pod install --repo-update from project ios folder.
And others from user root folder.
sudo gem uninstall cocoapods
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew --version
brew install cocoapods
pod --version
flutter doctor

I try to search a lot so I don't remember detail. Good luck friend

Hey!!! Thank you very much for your effort but I still get the exact same error as before.

@SportApps
I couldn't find the exact error you are reporting in your original post. Are you reporting that you are getting:
Failed to extract git version from git --version ("") (RuntimeError) or
CocoaPods not installed or not in valid state. ?
If it is Failed to extract git version from git --version ("") (RuntimeError), then it is not a Flutter issue, but most probably a git version or somehow git is failing to extract the version properly..
If it is the latter,  does it throw same error if you try to run from command line / terminal ? or through IDE only ?

@SportApps I couldn't find the exact error you are reporting in your original post. Are you reporting that you are getting:
Failed to extract git version from git --version ("") (RuntimeError) or CocoaPods not installed or not in valid state. ?
If it is Failed to extract git version from git --version ("") (RuntimeError), then it is not a Flutter issue, but most probably a git version or somehow git is failing to extract the version properly..
If it is the latter, does it throw same error if you try to run from command line / terminal ? or through IDE only ?

Hi darshankawar!
The error is
 +656 ms] /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:128:in
`git_version': Failed to extract git version from `git --version` ("") (RuntimeError)
                        from
                        /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:140:in
                        `verify_minimum_git_version!'
                        from
                        /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:49:in
                        `run'
                        from /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in `<top
                        (required)>'
                        from /usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `load'
                        from /usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `<main>'
[   +2 ms] Warning: CocoaPods is installed but broken. Skipping pod install.
             You appear to have CocoaPods installed but it is not working.
             This can happen if the version of Ruby that CocoaPods was installed with is different from the one being
used to
             invoke it.
             This can usually be fixed by re-installing CocoaPods.
           To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[   +8 ms] CocoaPods not installed or not in valid state.
[   +1 ms] Error launching application on iPhone SE (3rd generation).
[  +27 ms] "flutter run" took 18,791ms.

Do you know where I can post this issue if its not flutter related? The Github Cocoapods team say it doesn't respond to them cause I can do the pod install and have a pod version. But Flutter in the end can not extract the git version....
But I have git installed as you can see.

I think your issue is same as https://github.com/CocoaPods/CocoaPods/issues/8661, so please follow-up in it for further reference.
Closing from here.


Apple A12 (iPad, iOS) CubeMap Seams (IBL) bug

There is a bug with CubeMap Seams (IBL) on A12 and A12X chips (all new iPhone's and iPad's).
Simple project that replicates it: https://playcanvas.com/project/594045/overview/cubemapissue
How it looks (wrong):

How it should look:

Small update on the issue: on A12 chips app.graphicsDevice.useTexCubeLod is true, if only on them it is forced to false it makes a workaround.
So if engine could detect A12 chip to flip such switch, it will do the job for now.

Proposed PR: https://github.com/playcanvas/engine/pull/1465/files

Hey @guycalledfrank - do you have any idea why the new iOS devices are exhibiting this behavior? The proposed workaround worries me a bit - what happens when A13 arrives etc?

Well the proposed PR is what I suggested to Max who suggested it to author :D I tested it on 5S and didn't notice anything bad, so seems like a problem with newer models. I don't really know any elegant way to detect if cross-face cubemap interpolation is supported apart from literally drawing and reading back stuff. WebGL doesn't seem to define any strict rules about this behaviour.

Looks like useTexCubeLod flag was purely based on observation that devices with extTextureLod and less than 16 available textures per shader would support cubemap smooth seams. @guycalledfrank as mentioned there is no specific docs in WebGL specs about such behaviour, and seems like browser implementations don't expose any flags to probe it.
Which left it open to weird implementations by vendors - what exactly happening with A12 chip.
As this workaround does fixes this particular problem and makes all A12 chips render properly, I would assume it is working fix now without negative impacts, so worth merging.
If weird behaviours happen further, then proper manual test code have to be implemented, where it would render cubemap, and check on results as @guycalledfrank suggested. Reason @issacclee needs this fix, is that many their apps right now rendering wrong on new iPhones, and they rely on IBL a lot in their products.

OK, thanks for your input @Maksims and @guycalledfrank. I'll merge this for now. But it will require a more comprehensive fix at some point...

How is it going on? @Maksims your fix cause some weird problem , as the image

@willeastcott

This has hopefully been addressed in #1580.


Serve images from GCloud

Fetches Icon and saves to a Bucked in GCloud
Serves this Icon instead of directly from pwa server

@juliantoledo PTAL

I got a "T" temporarily when adding a new PWA. I guess we can later on refresh it on client side?

LGTM


feat: add derivation expression evaluator

This PR adds support for the evaluation of extension function's return type expressions.
It's meant to be used by producers to correctly infer return types (ibis-substrait and subframe).
It uses antlr grammar that I (temporarily) copy-pasted from substrait-java w/o changes.
Evaluation is not exhaustive, I've implemented the types necessary for functions in subframe.

Some open questions:

The term "derivation expression" was borrowed from proto message type describing the concept although the proto itself isn't being used. I'm open to renaming it there are better alternatives...
I added antlr4-python3-runtime as required dependency. Should I make it optional?

@jacques-n FYI

I'll try to take a detailed look at this next week (or maybe tomorrow?), but some initial thoughts:
I think leaving the antlr runtime as a required dependency is fine. It's very light-weight, and the likelihood of a given plan not having any scalar functions seems low.
And we should mark the antlr-generated files with linguist-generated

It's very light-weight, and the likelihood of a given plan not having any scalar functions seems low.

true, but note that this is likely only necessary for producers as output types of ScalarFunction calls are already in the substrait plan, therefore no derivation is needed for a consumer. So we would be adding unnecessary dependency to anyone that's just consuming.

And we should mark the antlr-generated files with linguist-generated

checked and src/substrait/gen/** (parent directory) is already marked as such

true, but note that this is likely only necessary for producers as output types of ScalarFunction calls are already in the substrait plan, therefore no derivation is needed for a consumer. So we would be adding unnecessary dependency to anyone that's just consuming.

Ahh, right.  OK, well, I'm good with making it an optional dependency.

@gforsyth just a reminder


Separate out a "ee stack" wrapper for apt-get commands

Related to #869
Currently, "ee stack" code is part of core codebase.
Taking it out will make its easier for other PHP projects to manage stack.
The new StackManager/DebianStackManager class(es) will abstract OS nitty-gritty can provide a unified interface to perform following tasks:

[ ] Add a third-party package repo
[ ] Install/Remove/Purge packages
[ ] Check if a package is installed
[ ] Get Info such as version, compile time flags, etc about a package

Below is a sample example code which will use such a StackManager class:
<?php

use EasyEngine/DebianStackManager
use EasyEngine/BrewStackManager

$stack = new StackManager("apt");

$stack->isInstalled("nginx"); //returns yes/no

$stack->install("nginx");
$stack->purge("nginx");
$stack->remove("nginx");

$stack->addRepo("path to ppa/third party repo");    //add a repo

$stack->update();   //apt-get update
$stack->upgrade("nginx");

Note
@iam404 and @rahulsprajapati did some awesome work at:

https://github.com/EasyEngine/easyengine/blob/feature/v4.0.0/php/commands/stack.php
https://github.com/EasyEngine/easyengine/blob/feature/v4.0.0/php/utils/class-ee-apt-get.php

It would be better to start on it rather than building from scratch!

We are using Docker and docker-compose for site provisioning and "pacakage" management in v4. It turned out to be better.


Build gets the wrong version, when built from tarball

Seems like the build script picks up the version of the build system instead...
When using something like (a branch of) buildroot, that builds from dist tarballs.
It also uses "git fetch", which can be quite costly (we are using a shallow clone)
So it would be better if "make podman" didn't do all those magic git commands ?

The workaround is to provide the required version in the "CIRRUS_TAG" variable
    VERSION*)
        OUTPUT="${CIRRUS_TAG:-$(git fetch --tags && git describe HEAD 2> /dev/null)}"
        ;;
    NUMBER*)
        OUTPUT="$($0 VERSION | sed 's/-.*//')"
        ;;

Or to give up a provide both RELEASE_VERSION and RELEASE_NUMBER
RELEASE_VERSION ?= $(shell hack/get_release_info.sh VERSION)
RELEASE_NUMBER ?= $(shell hack/get_release_info.sh NUMBER|sed -e 's/^v\(.*\)/\1/')

Like currently done for the GIT_COMMIT variable, similar issue (wrong git repo)
GIT_COMMIT ?= $(if $(shell git status --porcelain --untracked-files=no),${COMMIT_NO}-dirty,${COMMIT_NO})

https://github.com/kubernetes/minikube/tree/master/deploy/iso/minikube-iso/package/podman

The main problem is:
$ git remote -v
origin	https://github.com/buildroot/buildroot (fetch)
origin	https://github.com/buildroot/buildroot (push)

Which then outputs:
$ git describe HEAD
2019.02.8
$ git rev-parse HEAD
aaa1437b110f886ee24757595542f715a77d702a

@afbjorklund mind opening a PR with what you have in mind?

I wanted to have some feedback, in what would be the best version to allow building from tarball ?
When looking at for instance the runc and conmon builds, they have a simpler version handling:
VERSION := ${shell cat ./VERSION}

That would of course require that this file is updated as part of the release process, not only tagged.

But the current workaround is fine too (=it works).
CIRRUS_TAG=$(PODMAN_VERSION) $(MAKE) GIT_COMMIT=$(PODMAN_COMMIT) podman
Just thought the name "CIRRUS_TAG" was weird ?
But I didn't want to mess around with sed'ing the v.

I guess fedora would have had the same problem too, if it had used make instead of %gobuild ?
https://src.fedoraproject.org/rpms/podman/blob/master/f/podman.spec
Even when building from git, it seems a bit unnecessary to have to download all the other git tags.
So used the same workaround, also for the brew package that I posted.

Hacking the build system seems to have had other side effects:
podman version -f json
    "Client": {
        "RemoteAPIVersion": 1,
        "Version": "1.7.0-rc2",
        "GoVersion": "go1.13.5",
        "GitCommit": "",
        "Built": 0,
        "OsArch": "linux/amd64"
    },

I guess there was nothing populating gitCommit / buildInfo ?
https://koji.fedoraproject.org/koji/buildinfo?buildID=1426822

@cevich @afbjorklund What is the scoop on this one? Can I close it?

I'm using the CIRRUS_TAG and GIT_COMMIT workaround, which seems to be doing the trick...
                         _             _
            _         _ ( )           ( )
  ___ ___  (_)  ___  (_)| |/')  _   _ | |_      __
/' _ ` _ `\| |/' _ `\| || , <  ( ) ( )| '_`\  /'__`\
| ( ) ( ) || || ( ) || || |\`\ | (_) || |_) )(  ___/
(_) (_) (_)(_)(_) (_)(_)(_) (_)`\___/'(_,__/'`\____)

$ sudo podman version
Version:            1.6.5
RemoteAPI Version:  1
Go Version:         go1.11.13
Git Commit:         45e7be192ef99e870c59a1cd2c1fa7940b0af2d6
Built:              Fri Feb 14 16:11:48 2020
OS/Arch:            linux/amd64

Maybe not the prettiest, but "works for me". Now, if only I could find some podman-remote ;-)
Should I open a PR about adding binaries to the GitHub releases, or will you fix the Cirrus CI ?

I am going to close this issue.  @cevich Is in charge of Cirrus CI...


Explorer Tabs

Description of the new feature / enhancement
The ability to add tabs to Explorer, just like tabs were once added to Internet Explorer; something that we take for granted nowadays.
"With the release of Internet Explorer 7 in 2006, all major web browsers featured a tabbed interface."
from https://en.wikipedia.org/wiki/Tab_(interface)
Scenario when this would be used?
Making it possible to work on projects in a more organized manner. Alt-tab is not ideal, as this tabs between all open windows. It would be very helpful to be able to have tabs to cycle between in Explorer (both by mouse and by keyboard).
Currently I often get lost in Explorer instances and simply open a new window, or accidentally replace the wrong window. These problems would be fixed by having tabs that can remain in a consistent and adjustable order, and which can easily be toggled between by both mouse and keyboard.
Supporting information
No response

My apologies if this has been requested before. I expected someone to have requested this before, but I did have a quick search and did not see a request for it.

Tracked in issue #10


fix the wrong help

According to the other help, it might be right.
This pull request is the fix of this issue.
https://github.com/Azure/azure-cli/issues/6674
This pull request is only for help text.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ x] I adhere to the Command Guidelines.

Closes #6674

Hi @tjprescott
I have two questions.

error on the CI

On the CI, it compared two sources. How can I fix it ?  I can't find the place to fix.
--- a/src/command_modules/azure-cli-eventhubs/azure/cli/command_modules/eventhubs/_help.py
+++ b/src/command_modules/azure-cli-eventhubs/azure/cli/command_modules/eventhubs/_help.py
@@ -74,7 +74,7 @@ helps['eventhubs namespace create'] = """
     examples:
         - name: Creates a new namespace.
           text: az eventhubs namespace create --resource-group myresourcegroup --name mynamespace --location westus
-           --tags tag1=value1 tag2=value2 --sku-name Standard --sku-tier Standard --is-auto-inflate-enabled False --maximum-throughput-units 30
+           --tags tag1=value1 tag2=value2 --sku Standard --is-auto-inflate-enabled False --maximum-throughput-units 30
 """

 helps['eventhubs namespace update'] = """
Error(s) on azure-cli-eventhubs

Close #6674

You mention that Close #6674, Do you mean I need to close #6674 ?
If so, I'll do it.

No, when this PR is merged, it will automatically close the referenced issue.
In regards to the error, the problem is listed here:
The following modules have invalid versions:
azure-cli-eventhubs

All you need to do is rebase your PR on the latest in dev. DO NOT merge because this won't fix the problem.

HI @tjprescott  I rebase this branch.

Thanks @TsuyoshiUshio!


Initial version of false positive guide.

Fixes #1185.

The link for better readability to review the contents: https://github.com/Xazax-hun/codechecker/blob/FalsePositiveGuide/docs/false_positives.md

Done, but if I understand correctly that documentation is on the client side. Is there a way to link back to this document? If yes, how?

@Xazax-hun Just a simple link to GitHub: [text](http://github.com/blabla). If the user does not have internet access when trying to open it... well... I think this guide isn't so important that we change the documentation deployment of the local server to have this file there. It's just a nice extra touch.
(Most users nowadays have, or at least should have internet access anyways?)

Thanks for the comments, I created a separate pull request to address them.


Uri to file path or usbFile to File

Can't get path for usbFile
I try to extract thumbnail for video using
InputStream is = new UsbFileInputStream(usbFile); not posible.
Further problem is to play that video clip from USB in VideoView without copying.

File path #38
How exactly are you trying to get the thumbnail?
To avoid copying you can either use the http or the storageprovider module.

No success yet but hope to get thumbnail using following. https://github.com/bytedeco/javacv/blob/master/src/main/java/org/bytedeco/javacv/FrameGrabber.java

Couldn't open file on client side; trying server side: java.io.IOException: setDataSourceFD failed.: status=0x80000000
03-15 14:39:42.183 7616-7616/com.citrusbits.leefaccess E/MediaPlayer: Unable to create media player
03-15 14:39:42.185 7616-7616/com.citrusbits.leefaccess W/VideoView: Unable to open content: content://com.citrusbits.leefaccess.usbstorage.documents/document/usb1002%3A%2FGOPR0462.MP4
java.io.IOException: setDataSource failed.: status=0x80000000

Are you using the storage provider framework?
It seems that your VideoView does not support these kind of paths. Maybe try the http module instead.

@magnusja

Yes, I am using UsbStorageProvider extends DocumentsProvider

CommonsWare mention that embedded web server has security ramifications ref. And further he said he will work with you on this library.

I also try wseemann/FFmpegMediaMetadataRetriever.

FFmpegMediaMetadataRetriever mmr = new FFmpegMediaMetadataRetriever();
                        mmr.setDataSource(LeefApp.getInstance(),documentUri);
//                        mmr.setDataSource(fd);
                        bm = mmr.getFrameAtTime(2000000);

thank you. It's working now.

How to use this uri in video player and seek back and forth without any issue without copying it's content? Meanwhile I am working on it. You suggestion will help me.

@magnusja I am available for research and help to solve URI and file path issue.

Hey there,

There is no need to use this class from the AnExplorer project. This officially feature is supported. You only have to install the module libaums-storageprovider. See the documentation for more information on that.

I don't know what exactly he means. If you use the NanoHTTP library, you can set the address to <IP_ADDRESS>, so only apps on the device itself can reach the server and no one else in the network. Other than that I cannot see any issues, maybe you can ask him instead?

Are you trying to play the video in your app or are you opening a 3rd party app via an intent? For the latter, it might be worth checking out the libaums-http module. Usually, 3rd party media players all have support for playing http URLs. If you are trying to embed the player in your app, you either have to find something that supports URIs from ContentProviders or you also try the http module.

Let me know how your tests go, thanks!

Thanks, 1/2 I was using. Fine.
3/4 using embedded player. I try Android media player. It was not working with uri. I will let you know if any player works with your lib.

@magnusja ExoPlayer is working but buffering more than ES Explorer built-in player.

JAMES LACONIA DAVIS,TRIPLE ELITE,46472761

@magnusja
hi,what a awesome framework.
but I need filePath ,too. Coz, It's forced by my Api to upload a File ,not a inputStream.
So, I need filePath.
Is there any way to solve it? please.

Hey there,
nope unfortunately not. Because libaums cannot be integrated into the Android/Linux file handling :(

Hey Magnusja
@magnusja
May I ask you some questions?
There is no Api in android official developer web to operate the file system directly,isn't it?
Thanks to your open framework , I can read files from file system.
But I wanna know is there any other framework or official Api I didn't discover can operate files via filePath?
After I checked the official Api , I figure it out that it transfers via bulkTransfer like socket, not via file system like your framework. right?
Why doesn't the official Api support it?

Hey there,
no there is no official Android API for accessing USB drives, but some devices mount USB drives and you can access them via the standard Java File API.
There is no API which exposes a file path, which is known to the rest of the OS, besides if the device mounts the drive on Linux kernel level.
The Android USB Host API offers very low level functionality in regards to USB (bulk transfer, ...). libaums implements several protocol layers to be able to expose a file system like API.

@magnusja
yes, what a great framework!
Thank you

Hi,magnusja @magnusja
You are one of great developers I know, I want to learn some from you.
Maybe I ask you a few questions about usb equipment?
My Requirement:
I got a usb equipment(https://gyazo.com/d5c5288d0535ae83e9fb2cdb80adc55d), and I need read its files and upload files by android phone connecting to the usb equipment
But it can't  getPartitions, it's empty.
The usb equipment is Fat32.
As I know, the equipment maybe based on a linux system. So can I operate its file via Java File API? (besePath '/sys/bus/usb/devices/')
I know very little about linux usb equipment
hope get your help
thank you

If you are able to get a UsbMassStorageDevice via getMassStorageDevices, then your equipment should be fine. I am not sure what exactly is shown in that picture, but it says USB OTG and that is exactly what you need.
Are you sure that it is FAT32?
Are you suing Linux or Windows? Maybe you can show me some details of the drive you are using.

@magnusja
The customer tells it's FAT32, but partitions are empty, that's weird.
The usb equipment is not like a Usb storage
It can take photo and save it, if it connects to phone, then read files and upload.
Is there any way to judge it is FAT32 or not ?

Do you have a link to the product?
Hard to tell, can you use it on your computer?

Sorry, I don't know now
I was confirming to the customer
The customer shows me some screenshots of APP( USB Device Info) connected to the usb equipment

what can they tell us?
It can read the device info
Thank you for your patience again

Yeah, that only says it is a mass storage device. But it cannot say what kind of file system.
Best would be to have a website about the product to get more information.

I will confirm it tomorrow
If it's really not FAT32, how could I do?
0_0

Connect it to your computer and see what it says about the file system

hi, Magnusja.
Sorry for bothering you, too
I have a question.
When I use a Usb storage, it works good. We can get device info via android Api. But can't get devices via linux path "/sys/bus/usb/devices"  (in APP USB Device info)
However, the customer's usb equipment can get device info via android Api and  linux path

its device info in linux is like this:

I want to know why?
Is the usb equipment a linux usb or something else?
Why does it have 3 devices under the path of "/sys/bus/usb/devices/", but normal Usb storage has nothing?

A USB device can have multiple USB interfaces. Imagine a USB hub, it is a USB device itself but represents the devices you connect to it.

yes, you are right
So the usb equipment has a storage, too. Like a normal  Usb storage, we can access its fileSystem.
And its fileSystem type is FAT32, what can cause that it gets empty partition?

Usually, that is the case if the device is not formatted with an MBR and a file system supported by libaums.
So make 100% sure that this is the case. How do you know it is FAT32?

Yes, it is FAT32. When I put it on the computer, it shows.

Sorry, I just don't know how to do.

Can you maybe create an image for me and send it to me via email?
´dd if=/dev/YOURDRIVE of=usb.img bs=10m count=1´
Run the following command to get the path to your drive on a mac:
´diskutil list´

what you mean is to connect Usb equipment to computer, and execute 'diskutil list'?
As to 'dd if=...', I don't know what my drive is.
Should I execute 'dd if=....', too?
Sorry, and I don't know your email.
By the way, the Usb equipment can be read by the APP(https://play.google.com/store/apps/details?id=com.homeysoft.nexususb.importer&hl=ja)
The App is very great, I don't think I can implement the same app like that.So I can just count on your help.
Thank you

The command result:
bin-no-MBP:temp bingao$ dd if=/Volumes/NO\ NAME/ of=usb.img bs=10 count=1
1+0 records in
1+0 records out
10 bytes transferred in 0.000082 secs (121927 bytes/sec)
B00???bin-no-MBP:temp bingao$ diskutil list
/dev/disk0 (internal, physical):
#:                       TYPE NAME                    SIZE       IDENTIFIER
0:      GUID_partition_scheme                        *251.0 GB   disk0
1:                        EFI EFI                     209.7 MB   disk0s1
2:          Apple_CoreStorage Macintosh HD            250.1 GB   disk0s2
3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
/dev/disk1 (internal, virtual):
#:                       TYPE NAME                    SIZE       IDENTIFIER
0:                  Apple_HFS Macintosh HD           +249.8 GB   disk1
Logical Volume on disk0s2
8ABB2546-043F-4E17-A20A-8EECAB36BE00
Unlocked Encrypted
/dev/disk2 (external, physical):
#:                       TYPE NAME                    SIZE       IDENTIFIER
0:                            NO NAME                *7.9 GB     disk2

The NO NAME is the USB equipment.
Is there any valuable information?

Hi, magnusja
There's a more info about the USB equipment.
It has a micro SD card  in it. Data is saved in it.
Is this reason that we can't read from it?

Because I don't have your e-mail. Here is the usb.img file(http://jafir-my-love.oss-cn-shanghai.aliyuncs.com/usb.img)

Yes, I think SD card readers do not work at the moment for some reason. Maybe I find some time in the next couple of days to do some tests.

OK, thank you!
You mean it originally supports it?
Is there anything I can do for you?

http://jafir-my-love.oss-cn-shanghai.aliyuncs.com/log.txt
this is a log
It doesn't seem it has any abnormal log

And  I  get some information.

the partitionType is always 0  four times
so 'result.partitions.add(entry) ' didn't execute.

More information is that the USB equipment may doesn't have a MBR support

See UsbFile.getAbsolutePath()

@magnusja  I have searched getAbsolutePath in UsbFile interface but you did not define any this method in your interface

You are using a pretty old version.
https://github.com/magnusja/libaums/blob/develop/libaums/src/main/java/com/github/mjdev/libaums/fs/UsbFile.kt#L63

Hi @magnusja I have searched everywhere how to get the Path of an External Device could not find any solution :(  The issue is when I connect USB to android device I got a list of files which is inside my USB stick and want to show the Path of an Each file which is inside my USB stick like this storage/USB A/filename but I could not able to get the path I hope you will resolve my problem my last hope is you......

Not sure what you need. You get the absolute path and then you can prepend the USB devices name or waht not if you want and show that to make it clear it is on a USB device.

You are using a pretty old version.
https://github.com/magnusja/libaums/blob/develop/libaums/src/main/java/com/github/mjdev/libaums/fs/UsbFile.kt#L63

I'm using Java i dont have any idea of Kotlin

Not sure what you need. You get the absolute path and then you can prepend the USB devices name or waht not if you want and show that to make it clear it is on a USB device.

I want to get absolute path of an External Device or USB, When I connect the USB to android Device it will show me the Path like the below image:

@magnusja

If this is only for displaying purposes I would go with the solution I posted earlier.
There is no Android accessible path when your are using libaums. It is just technically not feasible.

@magnusja By mistake I wrote the wrong  sentence pardon my English but I need to get External Storage Path. In my code I have tried so many ways to get the External Storage Path getAbsolutePath(),  getRootDirectory() and Environment.getExternalStorageDirectory() but could not able to get the External Storage Path

No you are not.
You can get the absolute path within a USB directory described in #38.
The general Android USB path is out of scope for this library. There are devices which support that and some other do not. The question is why would you need the path? If you only want to display it, why does it need to be the Android USB path, why not something else where the user gets the idea that the file is in some folder on the USB drive.

Thank you @magnusja  finally got the path :)

Hi,
I am using this library to get the contents stored in the USB. It is working fine.
But when i need to decrypt the content or play the content. I need an absolute path of the USB in android file system.
Can you guys please help me.

Sir I have found pendrive path but folder is not able to be found please help me thanks sir

using this code
public void listDirectory(String dirPath, int level) {
File dir = new File(dirPath);
    Toast.makeText(getApplicationContext(),  String.valueOf(dir), Toast.LENGTH_SHORT).show();

    File[] firstLevelFiles = dir.listFiles();
    if (firstLevelFiles != null && firstLevelFiles.length > 0) {
        for (File aFile : firstLevelFiles) {
            for (int i = 0; i < level; i++) {
                System.out.print("\t");
            }
            if (aFile.isDirectory()) {
                System.out.println("[" + aFile.getName() + "]");

                listDirectory(aFile.getAbsolutePath(), level + 1);
            } else {
                System.out.println(aFile.getName());

            }
        }
    }

}

You are not even using this library?! Why would you ask that here. Please ask that on stackoverflow or sth ...

Sir Your Library Display This

Dear Sir,
My requirement Data Copy Pen drive to Mobile Device. How Can Possible. Please Suggest Me as Soon as Possible.
Thanks & Regards,
Surjan Singh
9958715332

That is an old link https://github.com/magnusja/libaums/blob/develop/libaums/src/main/java/me/jahnen/libaums/core/fs/UsbFile.kt
Please consult the documentation it is all explained there. In addition, try the example application from this repository.


Backbone isn't connecting to Django REST Framework

Hi, I looked briefly at the code and it doesn't look like backbone.js is using Django REST Framework at all.  Under 'templates > backbone > js > collections > todo.js' and 'templates > backbone > js > models > todo.js', it looks like you use 'Backbone.LocalStorage' instead of pointing to the Django REST Framework url.  Is this by design?  If so, the description of "TodoMVC Backend Using Django Rest Framework" might seem a little misleading.  Thanks for taking the time to open source this though; I'm sure it's helped others understand the folder layout.
Edited: Just wanted to mention I'm new to Backbone.js so let me know if I'm misunderstanding how this is working.  Thanks!

@PabloVallejo can you take a look?

@camilonova @WilliamQLiu, let me take a look :+1:

Hi @WilliamQLiu you're right, we're using Backbone.LocalStorage, however, if you want Backbone to consume the API you just have to specify the url attribute in the todo model. Which would be api/tasks/.
The API schema is:

GET api/tasks/
POST api/tasks/
PUT api/tasks/:id
DELETE api/tasks/:id

Let me know if this helps you.


Expose metrics endpoint

To expose the /metrics endpoint for Prometheus, a [http.services.prometheus] service needs to be added to the IOP config map, e.g. to gateway.toml

Closing as discussed. We now enable [http.services.prometheus] by default since https://github.com/cs3org/charts/pull/7 in:
https://github.com/cs3org/charts/blob/a050a7488635204f15902e95e65168b6d3800656/revad/values.yaml#L28


Variant Comparison split into 2 workbooks (Experiment Status + Analysis)

The Variant Comparison workbook was split into the Experiment Status and Experiment Analysis workbooks. Also updated to latest data sources and a few minor UX improvements.
PR Checklist

[x] Explain your changes, so people looking at the PR know what and why, the code changes are the how.
[x] Validate your changes using one or more of the testing methods.

If adding or updating templates:

[ ] post a screenshot of templates and/or gallery changes
[ ] ensure your template has a corresponding gallery entry in the gallery folder
[ ] If you are adding a new template, add your team and template/gallery file(s) to the CODEOWNERS file. CODEOWNERS entries should be teams, not individuals
[ ] ensure all steps have meaningful names
[ ] ensure all parameters and grid columns have display names set so they can be localized
[ ] ensure that parameters id values are unique or they will fail PR validation (parameter ids are used for localization)
[ ] ensure that steps names are unique or they will fail PR validation (step names are used for localization)
[ ] grep /subscription/ and ensure that your parameters don't have any hardcoded resourceIds or they will fail PR validation
[ ] remove fallbackResourceIds and fromTemplateId fields from your template workbook or they will fail PR validation

Screenshots
Gallery

Experiment Status

Experiment Analysis


Parallelize DensifiedRepresentation::from()

DensifiedRepresentation::from can be parallelized across the C dimensions. Use the multicore feature to gate.

@sragss Let me know if I need to make changes


Use a cheaper viewport usage mode in the project manager

This should speed up rendering slightly. While the project manager is hardly demanding, this may help on high refresh-rate displays or very slow machines.
Testing would be appreciated. My desktop GPU is too fast to show any noticeable difference :slightly_smiling_face:
Note that this PR won't make sense to be merged in 4.0, as viewport usage is determined automatically there.

I'll opt against cherry-picking for now as I'm concerned on its possible interaction with driver bugs like #23069.


The gradient of tf.math.digamma is NaN on GPU and 0.0 on CPU when the input is inf

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
Yes
Source
source
Tensorflow Version
2.11.0
Custom Code
Yes
OS Platform and Distribution
No response
Mobile device
No response
Python version
3.8
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
The gradient of tf.math.digamma is NaN when receiving inf as input. This issue only happens on GPU mode, when I run the program on CPU, the gradient is 0.

Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np

x = tf.Variable(np.inf, dtype="float32")

with tf.GradientTape() as g0:
    g0.watch(x)
    res = tf.math.digamma(x)
tf_grad = g0.gradient(res, x)
print("The gradient of digamma is: ", tf_grad)  # The gradient of digamma is:  tf.Tensor(nan, shape=(), dtype=float32)

Relevant log output
The gradient of digamma is:  tf.Tensor(nan, shape=(), dtype=float32)

@mazeltovlee
I was able to replicate the issue on Google Colab with TF v2.11 on both CPU(output is 0.0) and GPU(output is nan).  Please find the gist for the same here-CPU and here-GPU. It seems like we have to dig more into this issue, we will update soon here. Thank you!

Hi @mazeltovlee, Apologies for the delay. On a GPU, floating point operations are performed using a special hardware that is optimized for parallel computation. This hardware may use different algorithms or have different rounding behavior compared to a CPU, which can lead to different results for the same calculation.
In your case of tf.math.digamma(x) where x is equal to inf, the output is undefined mathematically.
When x is set to inf, the result of the function is undefined, and the gradient of the function is also undefined. However, due to rounding errors and implementation differences, it may be evaluated as NaN on a GPU and as 0 on a CPU.
Thank you!

Closing as stale. Please reopen if you'd like to work on this further.


Latest requests for small fixed to ASLLVD data - thanks!

PlEASE regloss only 3777 from FIRE to FIRE/BURN, and move it in with the other examples of the variant FIRE/BURN.  Thanks.

Please regloss only 40031 and 40032, changing the first part of the compound from FIRE/BURN to FIRE.
So there will be a new main entry FIRE+BURN for those two.
We will also need to change the corresponding entries for the parts of those two compounds.

Please regloss only 40031 and 40032, changing the first part of the compound from FIRE/BURN to FIRE.
So there will be a new main entry FIRE+BURN for those two.
We will also need to change the corresponding entries for the parts of those two compounds.

Please remove 1 + from each of the following:
current gloss                  ID #           to be corrected to
(V)VODKA+                         707          (V)VODKA
SUITCASE++                     8114           SUITCASE+
SUITCASE++                     8115           SUITCASE+
SUITCASE++                     8116           SUITCASE+
SUMMER+                         8122           SUMMER
SUMMER+                         8123           SUMMER
SUNDAY+                           8129           SUNDAY
TAKE-ADVANTAGE++       8198           TAKE-ADVANTAGE+
TALK-TO-SELF+                8231            TALK-TO-SELF
TALK+                                 8226            TALK
TALK++                               8227            TALK+
TEASE++                           8261             TEASE+
TEASE++                           8262             TEASE+
TEASE++                           8263             TEASE+
THINK+TALK-TO-SELF+   41057            THINK+TALK-TO-SELF
THINK+TALK-TO-SELF++ 41058           THINK+TALK-TO-SELF+
TIGER+                               8394             TIGER
TOOTHBRUSH++              8438             TOOTHBRUSH+
TOURNAMENT+                8475              TOURNAMENT
TOURNAMENT+                8476              TOURNAMENT
TRAFFIC+                           8485             TRAFFIC
TRAFFIC+++                      8486             TRAFFIC++
TRANSPORTATION+         8495             TRANSPORTATION
VODKA_2+                         8708              VODKA_2

Please remove 1 + from each of the following:
current gloss                  ID #           to be corrected to
(V)VODKA+                         707          (V)VODKA
SUITCASE++                     8114           SUITCASE+
SUITCASE++                     8115           SUITCASE+
SUITCASE++                     8116           SUITCASE+
SUMMER+                         8122           SUMMER
SUMMER+                         8123           SUMMER
SUNDAY+                           8129           SUNDAY
TAKE-ADVANTAGE++       8198           TAKE-ADVANTAGE+
TALK-TO-SELF+                8231            TALK-TO-SELF
TALK+                                 8226            TALK
TALK++                               8227            TALK+
TEASE++                           8261             TEASE+
TEASE++                           8262             TEASE+
TEASE++                           8263             TEASE+
THINK+TALK-TO-SELF+   41057            THINK+TALK-TO-SELF
THINK+TALK-TO-SELF++ 41058           THINK+TALK-TO-SELF+
TIGER+                               8394             TIGER
TOOTHBRUSH++              8438             TOOTHBRUSH+
TOURNAMENT+                8475              TOURNAMENT
TOURNAMENT+                8476              TOURNAMENT
TRAFFIC+                           8485             TRAFFIC
TRAFFIC+++                      8486             TRAFFIC++
TRANSPORTATION+         8495             TRANSPORTATION
VODKA_2+                         8708              VODKA_2

Please remove 2 +'S from each of the following:
current gloss                         ID #             to be corrected to
TASTE++                             8246             TASTE
TASTE++                             8247             TASTE
TASTE++                             8248             TASTE
TASTE++                             8249             TASTE
Please change the glosses below as indicated --
FROM                          ID #                          TO
UNDERSTAND_2        8606                  UNDERSTAND
VOCABULARY_2++    8706                  VOCABULARY++
Please add 1 + to the examples below:
current gloss                         ID #             to be corrected to
VOICE                                    8709            VOICE+
Please add 2 +'s to the examples below:
current gloss                         ID #             to be corrected to
TOUGH                                  8464            TOUGH++
TOUGH                                  8465            TOUGH++

Please remove 2 +'S from each of the following:
current gloss                         ID #             to be corrected to
TASTE++                             8246             TASTE
TASTE++                             8247             TASTE
TASTE++                             8248             TASTE
TASTE++                             8249             TASTE
Please change the glosses below as indicated --
FROM                          ID #                          TO
UNDERSTAND_2        8606                  UNDERSTAND
VOCABULARY_2++    8706                  VOCABULARY++
Please add 1 + to the examples below:
current gloss                         ID #             to be corrected to
VOICE                                    8709            VOICE+
Please add 2 +'s to the examples below:
current gloss                         ID #             to be corrected to
TOUGH                                  8464            TOUGH++
TOUGH                                  8465            TOUGH++

For THAN   8292, change
both start DH/ND from "B" to "B-L"
the  DH-end from   "B" to "B-L" and
the ND-end from "rlxd" to   "bent-B-L"

For THAN   8292, change
both start DH/ND from "B" to "B-L"
the  DH-end from   "B" to "B-L" and
the ND-end from "rlxd" to   "bent-B-L"

For  TOUCH   8459, add handshapes for the non-dominant hand, both start and end, which should be the "S" handshape:

For  TOUCH   8459, add handshapes for the non-dominant hand, both start and end, which should be the "S" handshape:

Please change:
ns-WASHINGTON        6499
to:
ns-WASHINGTON+fs-DC
(This will mean adding each of the component parts of the compound, as well.)
thanks!!

Please change:
ns-WASHINGTON        6499
to:
ns-WASHINGTON+fs-DC
(This will mean adding each of the component parts of the compound, as well.)
thanks!!

A few more:
Please add 1 + to the examples below:
current gloss                             ID #             to be corrected to
WRENCH/PLUMBING+          8947            WRENCH/PLUMBING
WRENCH/PLUMBING+          8948            WRENCH/PLUMBING
WRENCH/PLUMBING++        8949            WRENCH/PLUMBING+
For    WRITE+AGENT           41252
Change   DH-Start from "1" to "baby-O" and change ND-start from  "empty" to "B-L"

A few more:
Please add 1 + to the examples below:
current gloss                             ID #             to be corrected to
WRENCH/PLUMBING+          8947            WRENCH/PLUMBING
WRENCH/PLUMBING+          8948            WRENCH/PLUMBING
WRENCH/PLUMBING++        8949            WRENCH/PLUMBING+
For    WRITE+AGENT           41252
Change   DH-Start from "1" to "baby-O" and change ND-start from  "empty" to "B-L"

There is still a problem with some signs that are produced solely on the non-dominant hand showing up as if they were produced with the dominant hand.  I thought we had discussed this and you had eliminated the problem, but...

There is still a problem with some signs that are produced solely on the non-dominant hand showing up as if they were produced with the dominant hand.  I thought we had discussed this and you had eliminated the problem, but...

Also, there are some missing thumbnails and videos from 3-Ben-Voice-Life .

Also, there are some missing thumbnails and videos from 3-Ben-Voice-Life .

This has been resolved

This has been resolved

UNDERSTAND_2 was changed to UNDERSTAND.  But it also needs to be moved into with the other examples of UNDERSTAND, and UNDERSTAND_2 should be removed as a gloss.  Thanks.

UNDERSTAND_2 was changed to UNDERSTAND.  But it also needs to be moved into with the other examples of UNDERSTAND, and UNDERSTAND_2 should be removed as a gloss.  Thanks.

For WRITE+AGENT 41252,

the dominant hand start should be "baby-O"  (not "D") and the ND-start should be changed from "empty" to "B-L"

For WRITE+AGENT 41252,

the dominant hand start should be "baby-O"  (not "D") and the ND-start should be changed from "empty" to "B-L"

This is complete.

This is complete.

thank you VERY much !!!!!!

thank you VERY much !!!!!!


Bump empyrical to 0.2.2

This updates empyrical from 0.2.1 to 0.2.2.
One result of this update is that now NaNs in daily returns will not translate to NaNs in cumulative returns, those will instead be treated as zeros. For example, if our daily returns are:
day 1: 0.01
day 2: NaN
day 3: -0.02

Calling empyrical.cum_returns on this used to return 0.01; NaN; -0.0102. Now, it will return 0.01; 0.01; -0.0102. Because of this, the example data had to be updated.

Coverage remained the same at 87.376% when pulling be8eaa8fc4cddca3f08acf0b5ac19a8eb39430c2 on empyrical-0.2.2 into 595de9886afdd0c163beac87c131413bcba96c8d on master.


Integer Net Charge fix 2

I used parmed this time. However, the problem in my opinion is not completely gone. The previous function was more precise although the .mol2 format was probably not standard

How far down do you get the net charge now, typically? You might also want
to look up the .mol2 format and see if it specifies a number of digits for
the charge - if necessary we can modify/ask Jason to modify ParmEd to allow
more precision here, if the format allows it. (i.e. an optional argument to
the .mol2 writer which specifies charge precision)
On Thu, Jul 9, 2015 at 1:39 PM, nividic<EMAIL_ADDRESS>wrote:

I used parmed this time. However, the problem in my opinion is not
completely gone. The previous function was more precise although the .mol2
format was probably not standard
You can view, comment on, or merge this pull request online at:
https://github.com/MobleyLab/SolvationToolkit/pull/33
Commit Summary

Total integer net Charge fix
Fix integer net charge by using Parmed

File Changes

M solvated_mixtures.py
https://github.com/MobleyLab/SolvationToolkit/pull/33/files#diff-0
(72)

Patch Links:

https://github.com/MobleyLab/SolvationToolkit/pull/33.patch
https://github.com/MobleyLab/SolvationToolkit/pull/33.diff

—
Reply to this email directly or view it on GitHub
https://github.com/MobleyLab/SolvationToolkit/pull/33.

--
David Mobley
Associate Professor
Department of Pharmaceutical Sciences
Department of Chemistry
3134B Natural Sciences I
University of California, Irvine
Irvine, CA 92697
<EMAIL_ADDRESS>work<PHONE_NUMBER>
cell<PHONE_NUMBER>

I tried to find out he .mol2 format specification but I'm not sure. The manual states that the charge is "real" but it does not tell anything about the format (?). In Parmed the charge format is %10.6f. I can easily change it. In this case if the error in the charge calculation is 10^(-6) adding 10^4 molecules will probably raise and error/warning in tleap (tleap threshold ~ 0.01)

OK, let's do two things:

Go with just using ParmEd to get it down to 1e-6 for now

Raise an issue on ParmEd and ask if Jason is OK with adding an optional precision argument to .mol2 writes to specify the desired precision for charges, which would allow us to get this closer to zero. (Before doing #2, you should check the AMBER format and see how much precision is ALLOWED for charges - it makes no sense for us to write .mol2s with more precision and have Antechamber just remove some of the precision anyway)

I'll also write OpenEye support and ask about writing .mol2 files with more precision on charges, as that'd be an even better solution.
Thanks.
—
Sent from Mailbox
On Thu, Jul 9, 2015 at 2:27 PM, nividic<EMAIL_ADDRESS>wrote:

I tried to find out he .mol2 format specification but I'm not sure. The manual states that the charge is "real" but it does not tell anything about the format (?). In Parmed the charge format is %10.6f. I can easily change it. In this case if the error in the charge calculation is 10^(-6) adding 10^4 molecules will probably raise and error/warning in tleap (tleap threshold ~ 0.01)
Reply to this email directly or view it on GitHub:
https://github.com/MobleyLab/SolvationToolkit/pull/33#issuecomment-120135993


CSV Data Filter Function/Module

Objective
Develop a Python module that provides a function for filtering data in CSV (Comma Separated Values) files based on user-defined criteria. This module will enable users to specify conditions like column name, filter value, and comparison operators (e.g., equals, not equals) to selectively extract data from CSV files.
Features

Column-based Filtering: Allow users to filter data based on specific column names.

Support for Comparison Operators: Provide options for users to specify comparison operators like equals, not equals, greater than, less than, etc.

Output Options: Allow users to choose whether to save the filtered data to a new CSV file or return it as a list or DataFrame.

Example Usage
import csv_filter

# Filter data where 'Age' is greater than 30
filtered_data = csv_filter.filter_csv('data.csv', column='Age', operator='>', value=30)

# Filter data where 'Status' is 'Active'
filtered_data = csv_filter.filter_csv('data.csv', column='Status', operator='==', value='Active')

# Save the filtered data to a new CSV file
csv_filter.save_filtered_data('filtered_data.csv', filtered_data)

Difficulty: Beginner/Intermediate
Tags: Python, CSV, Data Filtering, Data Manipulation
Additional Information

Consider using libraries like pandas for efficient data processing and filtering.
For Beginners, you can use CSV and loops if not comfortable with pandas.
Ensure that the module provides informative error messages in case of invalid input or other issues during the filtering process.

Contribution Guidelines
The updated guidelines can be found here.
Note:

folder_name: filter_csv
script_name: filter_csv

I want to work on this. Please assign me this issue.

Sure @kom-senapati ,
Thanks for picking this up!
Happy Coding!


Everest 1.3.0-rc4

Let's have the PR approved so we could merge it any time we actually need it.

Test name
Status

api-tests
failed


Anyone using any of the Reader classes directly?

Does anybody instantiate individual reader classes directly instead of going through either the MultiFormatReader class or the new ReadBarcode function? I'm especially interested in the UPC/EAN and the two RSS variants. In the wake of #89 I'm about to flip the switch to use the new/faster implementation and remove the old. That would naturally lead to a removal of those classes as they are subsumed by their 'multi'-versions. I could keep wrappers for single codes that simply call back into the multi-versions but that would require effort and produce boilerplate code that I doubt anyone is using right now anyway.
In general I'd like to reduce the surface of the public facing API (or rather the part that is supposed to be stable), exactly to allow for those kind of optimizations without unnecessary worries about downstream dependencies on 'internals'.
As usual, feedback welcome, especially from @huycn, @vkrause.

In our projects, we use only MultiFormatReader with a default-constructed DecodeHints. Thus, your changes will be welcome :)

MultiFormatReader here as well, so no objection either :)

Thanks for the feedback. They will then go away. I just added a new DataBar reader, only one more to go (DataBarExpanded).


fix: stats in multiple runner

Summary

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

!test-ng


[Star tree] Star tree test cases / bugs tracker

Is your feature request related to a problem? Please describe
This will the single issue where we can track all star tree related test cases, edge cases, potential bugs etc as we develop the feature.
Describe the solution you'd like
Address them as part of tests
Related component
Indexing:Performance
Describe alternatives you've considered
No response
Additional context
No response

Need to add a separate issue for tracking performance issues
But using this issue to track open items in case of performance cases / test cases for now :

https://github.com/opensearch-project/OpenSearch/pull/14817/files#r1698084827 - Measure IO performance for mergeFiles logic in off heap star tree builder.

Add randomness to builder tests - data type of the dimensions and metrics should be random, range should be random, null,0 should be heavily skewed etc.

Measure the performance of on heap vs off heap and see if there are any scenarios on heap is helpful and also the tradeoffs in terms of higher memory utilization against performance gain.

https://github.com/opensearch-project/OpenSearch/issues/15097


Strange .md filename

Hello,
it looks like special codings are leading to some kind of confused md. file naming.
The filename produced with the attached al-file for example is: "and not rec.IsTemporary() then.md".
N2SEventsTest.Codeunit.al.zip
Thanks again.

Thanks again!! Next beer at TechDays is on me :wink:
I'm currently testing the fix for this issue.

Fixed with version 0.4.4

Thank you, that fix seems to be working. Very well done! There are other topics that I think may be improved, but I'm going on vacation soon, so if you want I give you more feedback again afterwards.


composer version or instruction bug

I use Symfony 3.4 and I can't install version 2.x.
Instalation howto say:

If your application requires support for Symfony versions before 3.4, use the 1.x releases of this bundle. For Symfony 3.4 or newer, use the 2.x releases.

I try to install this bundle by command
$: composer require gos/web-socket-bundle
but after install I had 1.10 version (composer.json new line belowe):

"gos/web-socket-bundle": "^1.10",

I tried to forced version 2:
$: composer require gos/web-socket-bundle:2.x-dev
but it return error:

./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: gos/websocket-client[v0.3.0, v0.1.2].
- Can only install one of: gos/websocket-client[v0.3.0, v0.1.2].
- Can only install one of: gos/websocket-client[v0.3.0, v0.1.2].
- gos/web-socket-bundle 2.x-dev requires gos/websocket-client ^0.3 -> satisfiable by gos/websocket-client[v0.3.0].
- Installation request for gos/web-socket-bundle 2.x-dev -> satisfiable by gos/web-socket-bundle[2.x-dev].
- Installation request for gos/websocket-client (locked at v0.1.2) -> satisfiable by gos/websocket-client[v0.1.2].
Installation failed, reverting ./composer.json to its original content.

I tried also:
$: composer require gos/web-socket-bundle:2.x

/composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package gos/web-socket-bundle 2.x is satisfiable by gos/web-socket-bundle[2.x-dev, v2.0.0-beta, v2.0.0-beta2, v2.0.0-rc] but these conflict with your requirements or minimum-stability.
Installation failed, reverting ./composer.json to its original content.

$: composer require gos/web-socket-bundle:2
In InitCommand.php

line 697:
Could not find package gos/web-socket-bundle in a version matching 2
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] []...

$: composer require gos/web-socket-bundle:2.0

In InitCommand.php line 697:
Could not find package gos/web-socket-bundle in a version matching 2.0
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] []...

Can you post your full composer.json?
On Sat, Dec 7, 2019 at 11:14 AM Przemysław Szustak<EMAIL_ADDRESS>wrote:

I use Symfony 3.4 and I can't install version 2.x.
Instalation howto say:
If your application requires support for Symfony versions before 3.4, use
the 1.x releases of this bundle. For Symfony 3.4 or newer, use the 2.x
releases.
I try to install this bundle by command
$: composer require gos/web-socket-bundle
but after install I had 1.10 version (composer.json new line belowe):
"gos/web-socket-bundle": "^1.10",
I tried to forced version 2:
$: composer require gos/web-socket-bundle:2.x-dev
but it return error:
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1

Can only install one of: gos/websocket-client[v0.3.0, v0.1.2].
Can only install one of: gos/websocket-client[v0.3.0, v0.1.2].
Can only install one of: gos/websocket-client[v0.3.0, v0.1.2].
gos/web-socket-bundle 2.x-dev requires gos/websocket-client ^0.3 ->
satisfiable by gos/websocket-client[v0.3.0].
Installation request for gos/web-socket-bundle 2.x-dev -> satisfiable by
gos/web-socket-bundle[2.x-dev].
Installation request for gos/websocket-client (locked at v0.1.2) ->
satisfiable by gos/websocket-client[v0.1.2].

Installation failed, reverting ./composer.json to its original content.
I tried also:
$: composer require gos/web-socket-bundle:2.x
/composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1

The requested package gos/web-socket-bundle 2.x is satisfiable by
gos/web-socket-bundle[2.x-dev, v2.0.0-beta, v2.0.0-beta2, v2.0.0-rc] but
these conflict with your requirements or minimum-stability.

Installation failed, reverting ./composer.json to its original content.
$: composer require gos/web-socket-bundle:2
In InitCommand.php
line 697:
Could not find package gos/web-socket-bundle in a version matching 2
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress]
[--no-suggest] [--no-update] [--no-scripts] [--update-no-dev]
[--update-with-dependencies] [--update-with-all-dependencies]
[--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest]
[--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative]
[--apcu-autoloader] [--] []...
$: composer require gos/web-socket-bundle:2.0
In InitCommand.php line 697:
Could not find package gos/web-socket-bundle in a version matching 2.0
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress]
[--no-suggest] [--no-update] [--no-scripts] [--update-no-dev]
[--update-with-dependencies] [--update-with-all-dependencies]
[--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest]
[--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative]
[--apcu-autoloader] [--] []...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GeniusesOfSymfony/WebSocketBundle/issues/400?email_source=notifications&email_token=AACZ7IM32QMWFQUP5ENFHRTQXPKXVA5CNFSM4JXPVGN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H62WXYQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACZ7IIEIL77GFWIHMHVSGLQXPKXVANCNFSM4JXPVGNQ
.

--

Michael Please pardon any errors, this message was sent from my iPhone.

Actually, now that I'm looking at this on a computer and not through email, try this command instead of the ones you were using.
composer require gos/web-socket-bundle:^2.0@rc

Should take care of things until the 2.0 stable tag comes along.

Closing due to a lack of response.  If you're still having issues feel free to leave a comment here.

Thanks,
composer require gos/web-socket-bundle:^2.0@rc
command works fine.
Would be nice to have that information in install instruction.


runtime-tests.eo:299-302: We need to remove the anything...

The puzzle 755-95cd94b4 from #755 has to be resolved:
https://github.com/objectionary/home/blob/f8b35878ff8725547bc131bff5ff038f19abff37/tests/org/eolang/runtime-tests.eo#L299-L302
The puzzle was created by @yegor256 on 18-Jun-22.
Estimate: 15 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 755-95cd94b4 has disappeared from the source code, that's why I closed this issue.


feat: add loadUrl and support "about:blank" on iOS

why would you want to imperatively do that instead of using the prop ?

it's a choice for developers, no harm anyway.

@Titozzz FWIW, I added a test component to the example app that logs the lifecycle events (might try to clean that up and PR it at some point, seems like a useful test to have) and, to my surprise, didn't see any difference between setting the source property and invoking loadUrl. That includes scenarios like returning false from onShouldLoadWithRequest, which I had been particularly concerned about. Of course, it's possible that I missed something.
I'm not quite sure what you mean by

this kind of feature could easily be implemented with a forwardRef, useState and useImperativeHandle without any side effect like rerendering

Isn't that what this PR is doing? Adding to the existing useImperativeHandle?

it's a choice for developers, no harm anyway.

To be honest, WebView is already very complicated to maintain with tons of props so if there is already a prop to achieve a behaviour, I'm quite unhappy to add more complexity. Another examples of such cases of overly complicated props are renderLoading, renderError, that could be implemented in userland, also postMessage is a duplicate of injectJavascript.

@Titozzz FWIW, I added a test component to the example app that logs the lifecycle events (might try to clean that up and PR it at some point, seems like a useful test to have) and, to my surprise, didn't see any difference between setting the source property and invoking loadUrl. That includes scenarios like returning false from onShouldLoadWithRequest, which I had been particularly concerned about. Of course, it's possible that I missed something.
I'm not quite sure what you mean by

this kind of feature could easily be implemented with a forwardRef, useState and useImperativeHandle without any side effect like rerendering

Isn't that what this PR is doing? Adding to the existing useImperativeHandle?

What I meant is that I'd rather someone needing this implementing the feature outside the lib than inside.
As long as WebView give developpers all the tools they need, I would refrain from implementing too much user logic within the component. There is already so much that doesn't belong inside WebView

I do agree that WebView is complicated to maintain, and admit I still don't fully understand why setting the source property would be insufficient.
And, it's a bit off-topic, but I've wondered why postMessage was never removed as the Readme still says it will be...
I think the "about:blank" change is safe though.

We can think webview as a controlled component via setting source and onNavigationStateChange both as data bindings right? And if I control the source prop in redux and pass it to a textinput, it should work as a browser address bar  , either I input an url manually or click a link with the page, the url in the textinput and webview should perfectly synchronize right?
The problem is that it's not working as simple as a textinput. There are fundamental inconsistencies between the webview internal state and the react state due to the complex network condition. Say if you are loading an unreponding page (server down, timeout, ...), the source prop would be overwrite repeatedly with onNavigationStateChange event. You simply can not control the webview in a controlled component way in such situation.

@sunnylqm (I think) I understand your needs but why can't you do something like this ?
const ControlledWebview = forwardRef(
  (
    props: ComponentProps<typeof WebView>,
    ref: ForwardedRef<{
      updateSource: (source: string) => void;
    }>,
  ) => {
    const [uri, setUri] = useState('about:blank');

    useImperativeHandle(ref, () => ({
      updateSource: (newUri: string) => {
        setUri(newUri);
      },
    }));

    return <WebView {...props} source={{ uri }} />;
  },
);

No. There are many other props and events attached to the webview instance, the way you suggested would still trigger rerender (it's still setState anyway) and duplicated events and cause dead loop sometimes

Sorry I am not a native speaker. Let me try to rephrase:
<Webview source={source} onNavigationStateChange={{ /* set url back to source */ }}

The above is a perfect typical controlled component right? When user clicks a link -> onNavigationStateChange sets url back to source prop -> if the url is broken and hang on loading -> you try to set the source prop to 'about:blank' via a textinput -> but onNavigationStateChange continues to revert it back to a broken url

if changing the source prop to 'about:blank' and still receiving onNavigationStateChange for the old broken url, that's an issue with onNavigationStateChange. Rerendering the webview should never be an issue, even more with the new arch


Test the database checks

While I'm still looking for a good way of doing the tests fast, and the discussion on the issue #316 is still ongoing, I have started writing tests for the tests, to ensure it all works after refactoring.
I have added single file in the tests/checks folder to separate the tests covering the internal functions from the tests covering the check tests.
Please have a look and tell me what you think about this approach to testing the tests.

that didn't work as intended. by accident I pulled in the other changes in. I'll close this PR and create a new one.


[question] Detail list like last year

hello @laroche / Florian,
last year I've prepared somehow a detailed list about my trades like this
(https://imgur.com/a/ArF1UGR)
now I have something total different, is there any switch I can create this again?
thank you!

humm, or maybe it was me who created this based on the output csv ?! :suspect:

This was output as normal text, but was never very good to maintain.
Current best way is to use "--output-csv=tax.csv" to generate a new CSV file with
all information. And with a spreadsheet program you can easily add/remove a few columns
for a final report.
best regards,
Florian La Roche

I've added a "--verbose" Option which outputs the transaction list as text.
Though I recommend to use the CSV output file for further processing.
All data from the old text output is now included into the output csv or the summary csv.
Closing this request for now. Please re-open with new data or a new request if you feel
strongly about further changes to the current version and how they should look like.
best regards from Germany,
Florian La Roche


Correction for raw affiliation Department of Environmental Applied Science and Management Ryerson University; France, Sweden, Germany; Science and Technology, and Forest Research Institute in New Zealand,; the Forest Research soccer and volleyball teams

Correction needed for raw affiliation Department of Environmental Applied Science and Management Ryerson University; France, Sweden, Germany; Science and Technology, and Forest Research Institute in New Zealand,; the Forest Research soccer and volleyball teams
raw_affiliation_name: Department of Environmental Applied Science and Management Ryerson University; France, Sweden, Germany; Science and Technology, and Forest Research Institute in New Zealand,; the Forest Research soccer and volleyball teams
new_rors: 03wcc3744;05g13zd79
previous_rors: 03wcc3744
works_examples: W4233999282;W4251721271
contact: 4e0a59d68d7921c08fc5a11c8ffe0f7d:9f786da6 @ ourresearch.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Fix PeriodicVariables2

NEW HANDLING OF PERIODIC SCCS IN DOALL AND GINO:

We now break the loop carried dependence of these SCCs by introducing an absolute iteration counter into the loop and directly calculating the SCC value from the counter at each iteration.

HAS A SISTER PR FROM NOELLE, REQUIRES THE SISTER PR

@scampanoni bumping it on gino too


RFC 0094: Forward message doesn't have @id

The forward message doesn't have the @id attribute. Is it on purpose or it's just missing?

It's a bug.

Resolved in PR #273.


Add auto-detect support for Victoria Metrics Single

Adds auto-detect support for Victoria Metrics Single version.

I can't get Lens to use vm.

@jim-docker my cluster seems to have a custom config, will investigate this more when I have a bit of time.


Proxy-pallet: Delete storage maps

There were several storage maps added to make easy frontend queries, in the future we handle this issue with a block explorer, for now, we no longer need the following storage maps:

[x] drawdowns_by_status_by_type
[x] drawdowns_by_project_by_type
[x] transactions_by_project
[x] transactions_by_expenditure

Also is required to update all functions that were affected by this change:

[x] Update functions/flow/design

Backend done. @tlacloc


new demo theme does not work

Hi @SunboX, I just tried your new theme example but it fails for me:
doing $grunt --stack --verbose
trace:
Initializing
Command-line options: --stack, --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.
Initializing config...OK

Registering "../../tasks" tasks.
Loading "documentation.js" tasks...OK
+ documentation
Loading "Gruntfile.js" tasks...OK
+ default

No tasks specified, running default tasks.
Running tasks: default

Running "default" task

Running "documentation" task

Running "documentation:default" (documentation) task
Verifying property documentation.default exists in config...OK
Files: src/ColorPoint.js -> ColorPoint.js
Files: src/Point.js -> Point.js
Options: format="html", shallow=false, github=false, access=["public","protected","undefined"], order=[], destination="docs", theme="/home/jtorres/Projects/grunt-documentation/demo/theme/documentation-theme-light"
>> TypeError: object is not a function
Warning: Task "documentation:default" failed. Use --force to continue.
Error: Task "documentation:default" failed.
    at Task.<anonymous> (/home/jtorres/Projects/grunt-documentation/demo/theme/node_modules/grunt/lib/util/task.js:205:15)
    at null._onTimeout (/home/jtorres/Projects/grunt-documentation/demo/theme/node_modules/grunt/lib/util/task.js:241:33)
    at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)

Aborted due to warnings.

Hey @jtorresfabra, I think this is related to https://github.com/documentationjs/documentation-theme-light/issues/3

Hey @SunboX
I just investigated a bit and it seems the error is in
https://github.com/documentationjs/documentation/blob/master/lib/output/html.js#L35
as theme is an object instead of a function due to index.js being void.


pom file cleanup

There are several things in our pom files we do not need. This PR is cleaning it up.
Signed-off-by: Piotr Kliczewski<EMAIL_ADDRESS>

/lgtm


Change description

The current repository description reads "Implement Arnoldi and Lanczos methods for svds and eigs".
A better title would be the first sentence in the README "IterativeSolvers is a Julia package that provides flexible iterative algorithms for linear algebra."

+1 - @jiahao, @andreasnoack, okay with you?

Yes. I think it would be a reasonable change.

I would avoid the word "flexible", since it has a technical meaning in the context of iterative solvers, e.g. flexible GMRES (pdf), that we do not provide. But otherwise yes, we can have a better description.

generic?

I forgot that changing the description requires owner permissions.
"Iterative algorithms for solving linear systems, eigensystems, and singular value problems" would suffice.

Ah cool, done.


snake case for peripheral sigletones

Do not change case of enum names and values, autoderive fields instead of enums (on common enum rule).

I'm not a fan of this change, do you have any rationale or precedence for the change?

I'm not a fan of this change, do you have any rationale or precedence for the change?

Peripherals? Except making it closer to esp-idf and rustic, no nothing valuable.

Thank you for bringing this up, but I think we should keep the peripherals as screaming snake case. We don't use the pac peripherals in esp-hal publically anyways, so this change would only require us to change internal esp-hal code.
Closing.