[webview_flutter] works badly with TalkBack enabled.

Internal: b/159184629

Steps to Reproduce

Run flutter create flutter_webview_talkback.
Update the files as follows:

add webview_flutter to dependencies in pubspec.yaml
Replace body in _MyHomePageState with a WebView and load a url in that webview.

Enable TalkBack

Expected results:
To be able to interact with the webview via TalkBack.
The elements in the webpage to be highlighted as they're being read by TalkBack.
The page to auto scroll, when I reach the bottom of the screen.
To be able to swipe to headlines, links etc. below the bottom of the screen.
As shown in my video here (recorded on Android 10):

Better quality: https://github.com/m-abs/android-webview-test1/raw/master/android-webview-talkback-resized.mp4
Demo native Android project: https://github.com/m-abs/android-webview-test1
Actual results:
As I swipe to the webview, it is highlighted with the green border.
This border stays around the webview, as I swipe through the content of the webpage.
None of the elements in the webpage is highlighted, as they're being read by TalkBack.
When I swipe to the bottom of the screen, TalkBack jumps to the AppBar.
As shown in my video here (recorded on Android 10):

Better quality: https://github.com/m-abs/flutter_webview_talkback/raw/master/flutter-webview-talkback-resized.mp4
Demo flutter project: https://github.com/m-abs/flutter_webview_talkback

Logs
 > flutter run -v
[  +22 ms] executing: [/home/mabs/tools/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +28 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] fabeb2a16f1d008ab8230f450c49141d35669798
[        ] executing: [/home/mabs/tools/flutter/] git describe --match v*.*.* --first-parent --long --tags
[   +7 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.14.6-0-gfabeb2a16
[   +6 ms] executing: [/home/mabs/tools/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/home/mabs/tools/flutter/] git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +47 ms] executing: [/home/mabs/tools/flutter/] git rev-parse --abbrev-ref HEAD
[   +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +31 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +26 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb devices -l
[   +6 ms] Exit code 0 from: /home/mabs/tools/android-sdk-linux/platform-tools/adb devices -l
[        ] List of devices attached
           9b47adaa               device usb:2-2 product:OnePlus7TPro_EEA model:HD1913 device:OnePlus7TPro transport_id:1
[  +29 ms] /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell getprop
[  +98 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +112 ms] Found plugin webview_flutter at /home/mabs/tools/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.19+7/
[  +77 ms] Found plugin webview_flutter at /home/mabs/tools/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.19+7/
[  +45 ms] Generating /home/mabs/project/mabs.dk/flutter_webview_talkback/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +43 ms] ro.hardware = qcom
[  +30 ms] Launching lib/main.dart on HD1913 in debug mode...
[  +11 ms] executing: /home/mabs/tools/android-sdk-linux/build-tools/29.0.3/aapt dump xmltree /home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk/app.apk
AndroidManifest.xml
[  +26 ms] Exit code 0 from: /home/mabs/tools/android-sdk-linux/build-tools/29.0.3/aapt dump xmltree /home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk/app.apk
AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.flutter_webview_talkback" (Raw: "com.example.flutter_webview_talkback")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="flutter_webview_talkback" (Raw: "flutter_webview_talkback")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.flutter_webview_talkback.MainActivity" (Raw: "com.example.flutter_webview_talkback.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +9 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell -x logcat -v time -t 1
[ +248 ms] Exit code 0 from: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell -x logcat -v time -t 1
[        ] --------- beginning of main
           02-13 11:21:52.875 I/on.gearhead:ca(28507): WaitForGcToComplete blocked ProfileSaver on AddRemoveAppImageSpace for 38.755ms
[  +11 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb version
[   +1 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa logcat -v time -T 02-13 11:21:52.875
[  +11 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as /home/mabs/tools/android-sdk-linux/platform-tools/adb
[   +2 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb start-server
[   +7 ms] Building APK
[  +17 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +3 ms] Using gradle from /home/mabs/project/mabs.dk/flutter_webview_talkback/android/gradlew.
[        ] /home/mabs/project/mabs.dk/flutter_webview_talkback/android/gradlew mode: 33277 rwxrwxr-x.
[  +11 ms] executing: /home/mabs/tools/android-studio/jre/bin/java -version
[ +180 ms] Exit code 0 from: /home/mabs/tools/android-studio/jre/bin/java -version
[        ] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
           OpenJDK 64-Bit Server VM (build 25.202-b49-5587405, mixed mode)
[   +3 ms] executing: [/home/mabs/project/mabs.dk/flutter_webview_talkback/android/] /home/mabs/project/mabs.dk/flutter_webview_talkback/android/gradlew -Pverbose=true
-Ptarget=/home/mabs/project/mabs.dk/flutter_webview_talkback/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-arm64 assembleDebug
[ +781 ms] Starting a Gradle Daemon (subsequent builds will be faster)
[+10469 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[        ] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[   +2 ms] > Task :webview_flutter:preBuild UP-TO-DATE
[        ] > Task :webview_flutter:preDebugBuild UP-TO-DATE
[  +93 ms] > Task :webview_flutter:compileDebugAidl NO-SOURCE
[   +4 ms] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :webview_flutter:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:checkDebugManifest UP-TO-DATE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +94 ms] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders UP-TO-DATE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugShaders UP-TO-DATE
[        ] > Task :webview_flutter:compileDebugShaders UP-TO-DATE
[        ] > Task :webview_flutter:generateDebugAssets UP-TO-DATE
[  +98 ms] > Task :webview_flutter:packageDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +299 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[        ] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :webview_flutter:generateDebugResValues UP-TO-DATE
[        ] > Task :webview_flutter:compileDebugRenderscript NO-SOURCE
[        ] > Task :webview_flutter:generateDebugResources UP-TO-DATE
[        ] > Task :webview_flutter:packageDebugResources UP-TO-DATE
[  +98 ms] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :webview_flutter:checkDebugManifest UP-TO-DATE
[        ] > Task :webview_flutter:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :webview_flutter:parseDebugLibraryResources UP-TO-DATE
[        ] > Task :webview_flutter:generateDebugRFile UP-TO-DATE
[   +2 ms] > Task :app:processDebugResources UP-TO-DATE
[  +95 ms] > Task :webview_flutter:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :webview_flutter:javaPreCompileDebug UP-TO-DATE
[        ] > Task :webview_flutter:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :webview_flutter:bundleLibCompileDebug UP-TO-DATE
[ +299 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[  +99 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[   +2 ms] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :webview_flutter:processDebugJavaRes NO-SOURCE
[        ] > Task :webview_flutter:bundleLibResDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :webview_flutter:bundleLibRuntimeDebug UP-TO-DATE
[        ] > Task :webview_flutter:createFullJarDebug UP-TO-DATE
[  +95 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ +100 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:signingConfigWriterDebug UP-TO-DATE
[  +99 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :webview_flutter:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :webview_flutter:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
[        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[        ] > Task :app:packageDebug UP-TO-DATE
[        ] > Task :app:assembleDebug UP-TO-DATE
[  +99 ms] > Task :webview_flutter:extractDebugAnnotations UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :webview_flutter:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :webview_flutter:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :webview_flutter:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
[        ] > Task :webview_flutter:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
[        ] > Task :webview_flutter:bundleDebugAar UP-TO-DATE
[        ] > Task :webview_flutter:compileDebugSources UP-TO-DATE
[        ] > Task :webview_flutter:assembleDebug UP-TO-DATE
[        ] BUILD SUCCESSFUL in 12s
[        ] 58 actionable tasks: 3 executed, 55 up-to-date
[ +343 ms] Running Gradle task 'assembleDebug'... (completed in 13,4s)
[ +159 ms] calculateSha: LocalDirectory: '/home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk'/app.apk
[  +69 ms] calculateSha: reading file took 68us
[ +632 ms] calculateSha: computing sha took 632us
[   +2 ms] ✓ Built build/app/outputs/apk/debug/app-debug.apk.
[   +2 ms] executing: /home/mabs/tools/android-sdk-linux/build-tools/29.0.3/aapt dump xmltree /home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk/app.apk
AndroidManifest.xml
[   +5 ms] Exit code 0 from: /home/mabs/tools/android-sdk-linux/build-tools/29.0.3/aapt dump xmltree /home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk/app.apk
AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.flutter_webview_talkback" (Raw: "com.example.flutter_webview_talkback")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="flutter_webview_talkback" (Raw: "flutter_webview_talkback")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.flutter_webview_talkback.MainActivity" (Raw: "com.example.flutter_webview_talkback.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=42)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=52)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=56)
                     E: action (line=57)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=59)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=66)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +1 ms] Stopping app 'app.apk' on HD1913.
[        ] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell am force-stop com.example.flutter_webview_talkback
[  +91 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell pm list packages com.example.flutter_webview_talkback
[  +84 ms] Installing APK.
[   +2 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb version
[   +7 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as /home/mabs/tools/android-sdk-linux/platform-tools/adb
[        ] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb start-server
[   +5 ms] Installing build/app/outputs/apk/app.apk...
[        ] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa install -t -r /home/mabs/project/mabs.dk/flutter_webview_talkback/build/app/outputs/apk/app.apk
[+3072 ms] Performing Streamed Install
                    Success
[        ] Installing build/app/outputs/apk/app.apk... (completed in 3,1s)
[   +3 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell echo -n b98c5b9ef8c887d2f9e6aa1e92f587579bbefc46 >
/data/local/tmp/sky.com.example.flutter_webview_talkback.sha1
[  +43 ms] HD1913 startApp
[   +5 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true
--ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.flutter_webview_talkback/com.example.flutter_webview_talkback.MainActivity
[ +106 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.flutter_webview_talkback/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +484 ms] W/FlutterView(28681): Tried to send viewport metrics from Android to Flutter but this FlutterView was not attached to a FlutterEngine.
[   +5 ms] W/FlutterView(28681): Tried to send viewport metrics from Android to Flutter but this FlutterView was not attached to a FlutterEngine.
[ +209 ms] Observatory URL on device: http://<IP_ADDRESS>:43217/_ieCkSJDhEY=/
[   +2 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa forward tcp:0 tcp:43217
[   +9 ms] 42867
[        ] Forwarded host port 42867 to device port 43217 for Observatory
[   +8 ms] Connecting to service protocol: http://<IP_ADDRESS>:42867/_ieCkSJDhEY=/
[ +190 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:42867/_ieCkSJDhEY=/
[   +2 ms] Sending to VM service: getVM({})
[   +5 ms] Result: {type: VM, name: vm, architectureBits: 64, hostCPU: Qualcomm Technologies, Inc SM8150, operatingSystem: android, targetCPU: arm64, version:
2.8.0-dev.5.0.flutter-fc3af737c7 (Fri Jan 24 09:53:26 2020 +0000) on "android_arm64", _profilerMode: VM, _n...
[   +4 ms] Sending to VM service: getIsolate({isolateId: isolates/1181507948454451})
[   +2 ms] Sending to VM service: _flutter.listViews({})
[  +20 ms] Result: {type: Isolate, id: isolates/1181507948454451, name: main, number:<PHONE_NUMBER>454451, _originNumber:<PHONE_NUMBER>454451, startTime:<PHONE_NUMBER>593, _heaps: {new: {type:
HeapSpace, name: new, vmName: Scavenger, collections: 0, avgCollectionPeriodMillis...
[  +12 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x7235251c20, isolate: {type: @Isolate, fixedId: true, id: isolates/1181507948454451, name:
main.dart$main-1181507948454451, number:<PHONE_NUMBER>454451}}]}
[   +6 ms] DevFS: Creating new filesystem on the device (null)
[   +1 ms] Sending to VM service: _createDevFS({fsName: flutter_webview_talkback})
[  +61 ms] Result: {type: FileSystem, name: flutter_webview_talkback, uri:
file:///data/user/0/com.example.flutter_webview_talkback/code_cache/flutter_webview_talkbackIDWRLD/flutter_webview_talkback/}
[   +1 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.flutter_webview_talkback/code_cache/flutter_webview_talkbackIDWRLD/flutter_webview_talkback/)
[   +3 ms] Updating assets
[  +81 ms] Syncing files to device HD1913...
[   +1 ms] Scanning asset files
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +6 ms] /home/mabs/tools/flutter/bin/cache/dart-sdk/bin/dart /home/mabs/tools/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/mabs/tools/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true --output-dill
/tmp/flutter_tool.UBMESH/app.dill --packages /home/mabs/project/mabs.dk/flutter_webview_talkback/.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation
--filesystem-scheme org-dartlang-root
[   +4 ms] <- compile package:flutter_webview_talkback/main.dart
[  +53 ms] I/WebViewFactory(28681): Loading com.google.android.webview version 80.0.3987.99 (code 398709933)
[  +11 ms] W/Gralloc3(28681): allocator 3.x is not supported
[  +24 ms] I/cr_LibraryLoader(28681): Loaded native library version number "80.0.3987.99"
[  +51 ms] E/chromium(28681): [ERROR:filesystem_posix.cc(62)] mkdir /data/user/0/com.example.flutter_webview_talkback/cache/WebView/Crashpad: No such file or directory (2)
[        ] W/chromium(28681): [WARNING:dns_config_service_posix.cc(341)] Failed to read DnsConfig.
[  +40 ms] W/ebview_talkbac(28681): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
[        ] W/cr_media(28681): Requires BLUETOOTH permission
[        ] V/ViewRootImpl(28681): The specified message queue synchronization  barrier token has not been posted or has already been removed
[  +45 ms] W/VideoCapabilities(28681): Unsupported mime image/vnd.android.heic
[   +7 ms] W/VideoCapabilities(28681): Unsupported mime video/divx
[   +1 ms] W/VideoCapabilities(28681): Unsupported mime video/divx4
[   +6 ms] W/VideoCapabilities(28681): Unrecognized profile/level 0/3 for video/mpeg2
[   +1 ms] W/VideoCapabilities(28681): Unrecognized profile/level 0/3 for video/mpeg2
[   +5 ms] W/VideoCapabilities(28681): Unsupported mime video/x-ms-wmv
[ +432 ms] D/NetworkSecurityConfig(28681): No Network Security Config specified, using platform default
[+6225 ms] Updating files
[  +98 ms] DevFS: Sync finished
[        ] Syncing files to device HD1913... (completed in 7.020ms, longer than expected)
[        ] Synced 0.9MB.
[        ] Sending to VM service: _flutter.listViews({})
[   +3 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0x7235251c20, isolate: {type: @Isolate, fixedId: true, id: isolates/1181507948454451, name:
main.dart$main-1181507948454451, number:<PHONE_NUMBER>454451}}]}
[        ] <- accept
[        ] Connected to _flutterView/0x7235251c20.
[        ] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on HD1913 is available at: http://<IP_ADDRESS>:42867/_ieCkSJDhEY=/
[+9019 ms] I/flutter (28681): Page started loading: https://readium2.herokuapp.com/pub/L2FwcC9taXNjL2VwdWJzL2NoaWxkcmVucy1saXRlcmF0dXJlLmVwdWI=/EPUB/s04.xhtml
[ +597 ms] I/flutter (28681): Page finished loading: https://readium2.herokuapp.com/pub/L2FwcC9taXNjL2VwdWJzL2NoaWxkcmVucy1saXRlcmF0dXJlLmVwdWI=/EPUB/s04.xhtml
[+35249 ms] Application finished.
[   +5 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa forward --list
[   +4 ms] Exit code 0 from: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa forward --list
[        ] 9b47adaa tcp:42867 tcp:43217
[   +1 ms] executing: /home/mabs/tools/android-sdk-linux/platform-tools/adb -s 9b47adaa forward --remove tcp:42867

 > flutter analyze
Analyzing flutter_webview_talkback...
No issues found! (ran in 2.8s)

[✓] Flutter (Channel beta, v1.14.6, on Linux, locale da_DK.UTF-8)
    • Flutter version 1.14.6 at /home/mabs/tools/flutter
    • Framework revision fabeb2a16f (2 weeks ago), 2020-01-28 07:56:51 -0800
    • Engine revision c4229bfbba
    • Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /home/mabs/tools/android-sdk-linux
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /home/mabs/tools/android-sdk-linux
    • Java binary at: /home/mabs/tools/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Android Studio (version 3.5)
    • Android Studio at /home/mabs/tools/android-studio
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.42.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.8.1

[✓] Connected device (1 available)
    • HD1913 • 9b47adaa • android-arm64 • Android 10 (API 29)

• No issues found!

Hey,
I know it poor style to ask like this, but this issue is a show stopper for us.
Is this something that can and will be fixed?

It works a little better on master now, I can get into the webview with talkback. But I can't swipe to headers and automatic scrolling doesn't work.
When I try to swipe around and reach the bottom of the view, this is logged on Android:
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 2
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 2
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
I/chatty  (31215): uid=10364(com.example.flutter_webview_test1) identical 1 line
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 2
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 2
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 3
D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
E/ViewRootImpl(31215): mView does not exist, so discard the remaining points. java.lang.NullPointerException: Attempt to read from field 'int io.flutter.view.AccessibilityBridge$SemanticsNode.platformViewId' on a null object reference

Hey, I'm encountering a scrolling issue on my One Plus Six but in a different webview framework. Could you tell me if the problem goes away if you pull down the notification bar and then swipe it back up? I know this sounds really weird but for some reason it's solving the issue... anyway, I'm pretty sure this is a OnePlus webview issue...

@D4RKONION

D/OnePlusJankManager(31215):  Chor uploadMDM JANK_TYPE_NODRAW mViewTitle = com.example.flutter_webview_test1/com.example.flutter_webview_test1.MainActivity--- jank level = 1
Doesn't happen anymore on my OnePlus 7T on the master channel.

But there are still some problems:

I can't navigate to headlines within the webview.
I can't single click to select elements within the webview.
Problem swiping through elements when using horizontal scroll
If I scroll a screen width to the right, I can only swipe through the elements on the first screen.
Auto scrolling when I reach the bottom of the screen doesn't work.

I'll see if I can provide some more information next week, when I'm at work.

I am able to replicate this issue on dev channel (1.20.0-0.0.pre) using the sample repo provided by @m-abs.
The headlines are not read, although the content under it is highlighted and read if tapped manually. Swiping right doesn't go to next line and scrolling up or down the screen shows the entire screen highlighted in green border, but the content is not read.

flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-0.0.pre, on Mac OS X 10.15.2 19C57, locale en-US)
    • Flutter version 1.20.0-0.0.pre at /Users/deeptibelsare/Documents/Fluttersdk/flutter
    • Framework revision d9653445f4 (8 days ago), 2020-06-09 18:43:03 -0400
    • Engine revision e8c13aa012
    • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/deeptibelsare/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/deeptibelsare/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/deeptibelsare/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.9.3

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

! Doctor found issues in 1 category.

We're aware that this is a high priority bug but we are unable to work on it at this time. We continue to look at this bug every week and will update here as soon as we are able to work on it. Sorry for the delay.

I tried to reproduce it using OnePlus, and things seems to work correctly except it is very laggy. However, i am able to swipe left and right to go through the list and focus back to the header, the auto scroll works too. May I know which device are you using?

Hi @chunhtai

May I know which device are you using?

I'm using a OnePlus 7T Pro running Android 10.

I just updated to latest the flutter channel master and tested my demo on the same OnePlus 7T Pro.
Without Talkback:

No manual scrolling. Neither horizontal nor vertical scrolling worked.
I can jump to offsets in the webview via our drawer menu.

With Talkback enabled:

I could swipe between elements on the first page in the webview. But very slow.
I couldn't navigate to headings inside the webview, I got stuck on the title bar of the app-page when I switch to navigating between headings (flip up to switch modes)
No auto scroll, expect when the webview got stock between two horizontal pages.

@chunhtai would you be interested in looking into reproducing this issue if the webview uses hybrid composition?
https://github.com/flutter/flutter/issues/61133 will add this new mode to webview.

Some updates on this issue: This issue is automatically fixed by https://github.com/flutter/flutter/issues/61133.  We plan to release a version of the plugin with this fix by the end of this month. cc @bparrishMines
I have verified that the webview automatically scrolls to the content and that focus remains within the webview until it reaches the end of the content.

This has been fixed in Flutter 1.22/ WebView 1.0 - use hybrid composition in the Flutter WebView plugin.
https://github.com/flutter/plugins/tree/master/packages/webview_flutter#using-hybrid-composition


How does this work?

It does not translate, fix please

It does not translate, fix please

Thx for issue, link is fixed


Do a new release.

It would be nice to have a new release with selector caching.

As for us, using a cargo override (at the portability's root toml) works fine during development. I'd love to see #65 resolved in an eventually published version.

I was going to publish a while ago but hit something that needed a bit more thought. The objc crate doesn't specify a minimum required version of rust, but it works pretty far back (maybe all the way to 1.0). When testing the new version I realized it stopped working on at least 1.14 because of:

omitting the field name when initializing Sel, which requires rust 1.17
using AtomicPtr::new in a constant, which requires rust 1.24

I don't know if anyone is still using objc on rust pre-1.24 and objc doesn't have any official policy about this, but... I'm a little uncomfortable bumping the minimum version up so far in a patch version.
I might look into how to make this change backwards compatible before publishing.

Version 0.2.3 is published!


Don't delete publications to allow for vote verification

During a vote, the station checks the endorsement of the voting citizen by the trustee by calling the can_vote.php script.
can_vote.php check the publications for an endorsement of the citizen by the trustee.
However, this endorsement may be later revoked by the trustee and the current publishers will delete it in their publish.php script.
Similarly, revoked citizen cards may be deleted, breaking the verification process.
However, such endorsements and revoked citizen cards are proofs of validity for the vote and should be kept for verification purposes.
Therefore we should not delete these publications.
The only clean-up of the database that will not harm the verification process is deleting revoked citizen endorsements by citizen, but this is an optimization that is not needed at this point, and will also break the verification of the citizen endorsements by the trustees (less important than vote verification).
So, in version 0.1, publish.php should not delete any publication.

Fixed in e19dcedf0e193733169b64c2b9cdff04fdd82aed


⚠ Bofrost.com has degraded performance

In 4cca312, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 1932 ms

Resolved: Bofrost.com performance has improved in da5ff7c after 8 minutes.


possibility to add auth key id (hash only) from cert public key info

If we just have the CA cert and private key this makes it a little bit easier

Merged! Thanks!


Add Sean's photo

Adding Sean's photo so that he can show that he is a contributor to the tp.

Sean's photo has been added.


why some 32 bit programs require adding their base address to the peb

I noticed that some 32 bit programs need to be added to the peb in order to work correctly after manual mapping
I found that most 32 bit programs are easier to manual map and inject than 64
the don't require RtlPcToFileHeader  for the standard library to work correctly but some of them (written in delphi) require to do this :
_PPEB peb = (_PPEB)__readfsdword(0x30);
peb->lpImageBaseAddress = (LPVOID)imageBase;

what is the reason of this ?
I'm testing on 64 bit windows 8.1

That is required for GetModuleHandle(NULL) to work

yes I tried this was the reason !


BOINC binary updating problems

Problem description
Inspect if BOINC correctly updates binary version after upload. Story so far: after uploading a new binary, the jobs continue to use the old one for 1-2 more days, than the problem "solves itself". The same happens for more/all BOINC applications (also sometimes for Martin Stehlik).
Further notes

EACirc binaries have commit hash in their log, might be useful for debugging.
Output from the binary can be read in the BOINC management web interface (see computation result details, section "doc out"). Beware, this may be only output from cerr.
It may be nicely diagnosable using other (simpler) binaries.
It may help to manually run the script for updating version (this should be called automatically). Navigate to centaur:/home/boinc/labak and run ./bin/update_versions. Alternatively try restarting the whole service by running ./bin/stop, start, status, ... Root privileges are needed, either become root for the coming time (mail Mirek, cc me) or ask to have these scripts be set as SUID.
In case of significant changes, inform Martin Stehlik (cc me).

Outputs

Short summary in crcs wiki about currect status -- when does it work, what to check, workaround.
Mail Martin Stehlik the resulting wiki page with findings.

Some testing performed, results summarized in internal wiki.
http://crcs.cz/wiki/doku.php?id=internal:boinc:boinc-bugs


Google Closure Compiler fails because of a missing name variable

Hey all,
I'm trying to compress my project via Google Closure Compiler via the advanced mode but it's sadly falling over because of this line here:
https://github.com/localForage/localForage/blob/e4b4c9427ef3e168c1f04fb29bb9e3468f4828ff/dist/localforage.js#L1712
The error is:
ERROR - variable name is undeclared
            t.executeSql('SELECT name FROM sqlite_master ' + "WHERE type='table' AND name = ?", [name], function (t, results) {

I'm inclined to agree with the compiler here, what is the name variable meant to be pointing to? I was going to make a PR but I can't really make sense of this function.
If anyone could help that would be really appreciated.
Many thanks,
Ash

Oh my... eslint thinks that we intend to you window.name there... I'm on it

I guess that everything still works since are doing CREATE TABLE IF NOT EXISTS anyway.

@ashpr opened #830 for this.


Requirements for supporting JSON-B

Review what changes would be needed to support the use of JSON-B with JsonWebToken and its claim values.

That could be challenging. Right now, especially the TCK doesn't even support JSON-P because the Nimbus JWT/Jose library brings its own JSON framework other than JSON-P standards.

@starksm64 Hi Scott, Roberto is looking into a generic Conversion support so we'll let users eventually use JSONB inside their custom converters if they prefer


Possible issue with GEstG in imu_calc

In imu_calc an updated prediction for the gravity vector in the quadrotor body frame is calculated based on small angle approximation
state.GEstG.axis[2] = state.GEstG.axis[2] - (gyro_delta_angle[0]) * state.GEstG.axis[0];
state.GEstG.axis[0] = (gyro_delta_angle[0]) * state.GEstG.axis[2] + state.GEstG.axis[0];

state.GEstG.axis[1] = state.GEstG.axis[1] + (gyro_delta_angle[1]) * state.GEstG.axis[2];
state.GEstG.axis[2] = -(gyro_delta_angle[1]) * state.GEstG.axis[1] + state.GEstG.axis[2];

state.GEstG.axis[0] = state.GEstG.axis[0] - (gyro_delta_angle[2]) * state.GEstG.axis[1];
state.GEstG.axis[1] = (gyro_delta_angle[2]) * state.GEstG.axis[0] + state.GEstG.axis[1];

However, I was not able to reconcile the implementation with the approach. I'm therefore posting this for some discussion. Additionally I believe GEstG should be normalized after the prediction since the small angle approximation to the rotation matrix does not preserve lengths. There's no point in keeping the length anything else but unit length since the magnitude of the vector does not carry information about orientation.
There are several ways to update GEstG and I've compared numerous ways with the implementation and none of them coincided with the implementation although they were consistent among themselves.
Formally the update can be done in the following way
dot_R = R*S(w)      //S() denotes skew-symmetric matrix of w, where w is the angular velocity of the rigid-body
dR = R+ dt*dot_R  //Reorthogonalize after forward Euler, alternatively use variational integrators
GEstG = transpose(dR)*GEstG

dR is the rotation matrix that rotates vectors from the updated body frame to the old body frame. Since we are doing this incrementally the previous attitude R coincides with the body frame and is therefore the identity matrix I.
Alternatively we can take advantage of the fact that GEstG is a vector of constant length and it's derivative can be expressed as
dot_GEstG = cross(w,GEstG)     //cross(a,b) denotes the cross product between vectors a and b
GEstG = GEstG - dt*dot_GEstG //Normalize result since forward Euler does not preserve the length.

We can validate these approaches with a simple test and compare it with the above implementation. Let the gyro measurement be w = [1,0,0] with a sampling time of dt = 0.1. Assume the initial orientation aligns with the inertial one i.e. R = I. In this case the body frame is rotating around the x-axis which means the gravity vector will rotate in the yz-plane so we would expect the gravity vector to go from only being along the negative z-axis to a vector that has both a z-axis and y-axis component. Using the above implementation we get the result
GEstG = [-0.0995 0 -0.995]'    //Current implementation
GEstG = [0 -0.0998 -0.995]'    //Axis angle approach
GEstG = [0 -0.0999 -0.0995]'  //No small angle approximation
GEstG = [0 -0.0995 -0.995]'    //Small angle approximation

As you can see the current implementation gives an updated gravity vector that has an x-component instead of a y-component, which is not correct.
The axis angle is based on the midpoint method for integrating differential equations. The accuracy is far greater than the small angle approximation and the computational cost is competitive. The approach is as follows
GEstG_mid = GEstG - dt/2*cross(w, GEstG)
GEstG_mid /= magnitude(GEstG_mid)
GEstG = GEstG - dt*cross(w, GEstG_mid)
GEstG /= magnitude(GEstG)

Alternatively if a second order method is not worth it you can still do a first order one which still have the same accuracy as the small angle approximation and similar computational cost
GEstG = GEstG - dt*cross(w, GEstG)
GEstG /= magnitude(GEstG)

I have not forgotten about this - I want to get some other changes out the door, but i will look into it.


Implementation of eoms method for dynamic system

The goal is to create simple property that calls _ode_system property from dynamic systems.

Done.


Add support for SteelSeries Rival 105

Commands of SteelSeries 100 work for this model, but options --btn6-action and --sensitivity2 seems to have no effect

Hello,

to test if btn6-action works, please try the following:

Set it to default:
rivalcfg -b default

Run xev:
xev

Click on the xev window with the button no 6 on the mouse (the one under the wheel). → Nothing should happen.

Now set the option to os:
rivalcfg -b os

Click again on the xev window with the button. Now you should see logs like this in the console:

ButtonPress event, serial 34, synthetic NO, window 0x4400001,
    root 0x2b0, subw 0x0, time 62290069, (169,175), root:(2177,327),
    state 0x0, button 10, same_screen YES

ButtonRelease event, serial 34, synthetic NO, window 0x4400001,
    root 0x2b0, subw 0x0, time 62291631, (169,175), root:(2177,327),
    state 0x0, button 10, same_screen YES

(here my X11 recognize the button as button 10)

To check if sensitivity 2 work, set the lower sensitivity on the first preset, and the higher sensibility on the second one. You will have to set the btn6 action to default too:
rivalcfg -b default -s 200 -S 7200

Now move the mouse cursor, then press the btn6 (the button under the wheel) and move again. The speed of the cursor moves should change

Can you confirm that it works? :)

Everything proceeded as you expected :) the only difference I made was to change options to rivalcfg -b default -s 250 -S 4000. Thanks for your help with testing

Ok, thank you, I will review the PR tomorrow and release a new rivalcfg version once merged :D

Hum I have a question, you changed the options because the sensitivity is from 250 to 4000 on this mouse ?

Actually I changed it because I got an error rivalcfg: error: option -s: invalid choice: '200' (choose from '250', '500', '1000', '1250', '1500', '1750', '2000', '4000') :) but sensitivity of this mouse is 4000DPI, so I guess it is ok? Lower sensitivities I'll try to test in the evening.

thanks for the PR !
I will release a new version this weekend  :)

Released in rivalcfg v3.9.0 :)


【firebase_messaging】onResume and onMessage cannot work on iOS

I had two problems.

I integrated firebase_messaging v5.1.5 and everything on Android is OK.
But on ios, onMessage () does not receive messages when APP is in the foreground.

App hides to the background and receives the status bar message, click the message, and after evoking APP, onResume will not be called.
What is the reason for this?

In the firebase_messaging doc, only these two cases do not work.

xx
App in Foreground
App in Background

Notification on iOS
onMessage
Notification is delivered to system tray. When the user clicks on it to open app onResume fires.

Data Message on iOS
onMessage
Message is stored by FCM and delivered to app via onMessage when the app is brought back to foreground.

post contect of your FCM message please.
Do you using some another plugin for example local_notification?

1.Yes, I used the flutter_local_notifications plugin.
2.When APP is started, the init() method is called. Here's my code.
`
class PushManager{
static FirebaseMessaging _fireBaseMessaging;
/// 初始化消息订阅
static void init(context, topic) {
_fireBaseMessaging = FirebaseMessaging();
_fireBaseMessaging.configure(
onMessage: (Map<String, dynamic> message) async {
if (message.isNotEmpty) {
// do Something....
}
},
onLaunch: (Map<String, dynamic> message) async {
if (message.isNotEmpty) {
NotificationRes res = NotificationRes.fromJson(message);
if (res != null) {
// do Something....
}
}
},
onResume: (Map<String, dynamic> message) async {
if (message.isNotEmpty) {
// do Something....
}
},
);
_fireBaseMessaging.requestNotificationPermissions(const IosNotificationSettings(sound: true, badge: true, alert: true));
_fireBaseMessaging.onIosSettingsRegistered.listen((IosNotificationSettings settings) {
debugPrint("xxx_setting = $settings");
});
_fireBaseMessaging.getToken().then((String token) {
_subscribeTopic(topic);
});
}
/// 订阅主题
static void _subscribeTopic(topic){
if(_fireBaseMessaging != null) {
_fireBaseMessaging.subscribeToTopic(topic);
}
}
/// 取消订阅主题
static void unsubscribeTopic(topic){
if(_fireBaseMessaging != null) {
_fireBaseMessaging.unsubscribeFromTopic(topic);
}
}
}`

Hi @weiwei00200
could you please provide your flutter doctor -v
and your flutter run --verbose.
Thank you"

Thank you @weiwei00200 , it's a known defect https://github.com/flutter/flutter/issues/21443

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of 'flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.


Prevent duplicate jobs with #unique() method

Edited from original.  Note that much of the idea for this is from #832, but I cherry-picked @EricMcRay's changes by hand to update it against the latest code.
The method #unique() can be used with (unique on specific field) or without (unique on all data) arguments.
When used, Kue will not create new jobs with the same unique field.
We keep track of the unique fields with an HMAP, mapping a uniqueKey => jobId. We optimistically set the mapping (producing churn in the incrementing jobId value), but do not create a new job if we detect the mapping already existed.
The HMAP is cleaned up when #remove() is called.
Note that the use of #removeOnComplete will allow new jobs with the same unique field(s) to be created. This is often desireable.
Closes #1033

@nrempel Could you take a look at this?  Note that I added a new HMAP construct, which I think is unavoidable, given that jobIds must be integers

I'm probably not the best person to look at this. I read through the code about 6 months ago but never went too deep.
Maybe @behrad can recommend a good maintainer to give some feedback?

Any timeline when unique method can be avaliable?

I found that delayed jobs have some kind of lock for unique execution among several workers.
So try to use queue.create(...).delay(1).save() as workaround for now.


API should use program version associated with the application

The API currently uses the most recent program version when building the response for all applications, not the program version associated with the application.
I'm not sure what the best thing to do here is, since we'd also want to keep the object shape the same for everything in the same list.

@avaleske doing a review and noting this is a P0 bug added several months ago - should we find some time to discuss or is this now obsolete?

This is next on my plate but could probably be labeled a P1 vs a P0. Changing that now.


Allow the Camera of the Spatial Editor Viewport to be Manipulated by Scripts

Note: this applies to Mono, but exposing it to Mono via ClassDB would expose it to GDScript as well.
Issue description:
I want to create an EditorPlugin that allows me to set & lock the camera rotation of the spatial editor viewport, but while the Camera can be accessed in the ForwardSpatialGuiInput method, changing it's transform will break view panning, and also does not allow changing the rotation lock.
Looking at the internal implementation of the SpatialEditorPlugin, the properties I'd actually like to change are:

use_environment
lock_rotation
use_orthogonal
x_rotation
y_rotation

If possible, I might also want to access distance.
Use case:
I'd like to use the Godot editor for editing an isometric game world that is using a pre-rendered 3D background in a canvas layer. This makes it mandatory to use the exact same camera transform as was used to render that background, otherwise objects placed in the editor will not align with the camera in-game.
If I was able to set the x_rotation&y_rotation in the editor, I think I'd be able to make due. But currently those values are inaccessible.

Possible implementation:
Exposing the set_state&get_state methods of EditorPlugin to other editor plugins might actually solve this issue and give more flexibility to interact between different plugins without adding hard code dependencies.
It's true that this essentially exposes the state-saving internals of the SpatialEditorPlugin, but it's either that or exposing the Plugin as an API, which I'd consider an even harder dependency.

I've opened a draft PR that adds the ability to interact with the SpatialEditorPlugin via it's get_state/set_state functions.
Using that PR I can do the following in an EditorPlugin of my own (Mono):
        var editorInterface = GetEditorInterface();
        var editorState = editorInterface.GetPluginState("3D"); // 3D is the name of the spatial editor plugin

        dynamic viewports = editorState["viewports"];
        dynamic viewport1 = viewports[0];
        viewport1["x_rotation"] = 0.77539754f;
        viewport1["y_rotation"] = Mathf.Deg2Rad(45);
        viewport1["use_environment"] = true;
        viewport1["lock_rotation"] = true;
        viewport1["use_orthogonal"] = true;
        editorInterface.SetPluginState("3D", editorState);

It could be interesting if you can get the camera to set cull mask layers too.

Closing in favor of https://github.com/godotengine/godot-proposals/issues/1302, as feature proposals are now tracked on the Godot proposals repository.


Autograph unrolling for loop

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows, Linux on cluster
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v2.1.0-rc2-17-ge5bf8de410 2.1.0
Python version: 3.7
CUDA/cuDNN version: reproducible on CPU or GPU
GPU model and memory:

Describe the current behavior
In a function decorated by @tf.function, I use a for loop to run an RNN step-by-step for beam search. There is a reduced example in the gist below.
Executing the function for the first time takes a long time (10 seconds in this minimal example, 300 seconds for my true model) and creates a very large graph (traced with tf.summary.trace_on; 3.5MB in this minimal example, 30-50MB for my true model, and more or less crashing Tensorboard when I try to open it.)
If I write the same loop as a tf.while_loop, first execution is nearly instant, and the resulting graph is healthy (180KB minimal example, 500KB for my true model.) back_prop = True or False makes almost no difference.
Later iterations perform more or less identically for both.
It looks like instead of converting the for loop to tf.while_loop, AutoGraph unrolls it completely.
Note that using unroll=True in the RNN (since it's only one step anyway) slashes AutoGraph tracing and graph size in half, perhaps not so surprisingly.
Describe the expected behavior
I would expect AutoGraph to interpret the for loop as a tf.while_loop.
I understand there is always first execution overhead, but it seems very unnecessary here.
Standalone code to reproduce the issue
https://colab.research.google.com/drive/1aALb-2wQoHIomJ7S5sLwJYmcciX5kpoM
https://gist.github.com/meowcat/8b3b4b9c66264e685e339ff4e43af882
Other info / logs Include any logs or source code that would be helpful to
diagnose the problem. If including tracebacks, please include the full
traceback. Large logs and files should be attached.

@meowcat
I tried to reproduce the issue in colab with TF 2.1.0.Please, find the gist here. Is this the expected behavior?.Thanks!

Hi,
yes, your gist reproduces the bug correctly. Specifically, the first iteration of the decode_beam_forloop takes 14 seconds, and it produces an events.out.tfevents.....v2 with 3.5MB file size.

Hi, please use tf.range() instead of range() https://www.tensorflow.org/api_docs/python/tf/range

Hi,
thanks, that works, but isn't the point of Autograph / tf.function that I shouldn't have to do this?

We wanted to give users an option to create a graph with an unroll loop, and this is how users can control it.  Though yes, I agree that it's not too apparent and can be confusing.  We are discussing improving this but no decision at this point.


NPE in oscm-portal when using the external parameter configurator

[Version]
16.1 Fix 5
[How to reproduce]

create a marketable service with external parameter configurator
subscribe to that service

[Expected result]

the subscription is created and the service parameter values are stored in the bss and app databases

[Observed result]

no error message
the subscription is created
the service parameter values are NOT set
the system.log of the oscm domain contains a NPE

[Details]
Java throws a NPE when the value for a switch statement is null.
A solution is that the validator returns an empty string instead of null when the validation is successful.
See SubscriptionWizardConversation.validateConfiguredParameters() Line 560
see attached system.log
oscm-system-log.txt

Tested on Windows Server 2016, jdk1.8u131, build BES_MASTER_UNIT-1904 2017/07/27 (official 17.3.0) in SAML mode.
After I configured "Parameters and options" and subscribed the subscription I have not received any errors in logs. But when I changed configuration in this place : /oscm-portal/marketplace/account/subscriptionDetails.jsf I received the same NPE

@kwodzynski please recheck, I cannot reproduce this

Retested on openSUSE Leap 42.3 64-bit, openjdk 1.8.0_144, build 17.4.0 in SAML mode. When I changed configuration (after subscribed) in Account - Subscriptions - The subscription - Configuration - Parameters and options - I still receive NullPointerExceptions.


boards: nrf9160dk: Add support for newer revisions (0.14.0+) of the DK

Use devicetree instead of Kconfig to configure the board control switches in nRF9160 DK:

add binding for the switches that provide optional signal routings on this board
add binding for the GPIO interface that can be used for communication (e.g. UART based) between the nRF9160 and the nRF52840 on the DK, and add GPIO mapping for this interface so that its lines can be used without caring about of actual pin numbers on both sides
add binding for one GPIO line chosen from the above interface that is to allow the nRF9160 to reset the nRF52840
update accordingly dts files and board specific code for both board definitions associated with the DK
introduce .dtsi files that can be included from dts overlays in order to facilitate the use of the above GPIO interface; modify the overlay in the hci_uart sample to provide an example of use of those files

Use the multiple board revisions feature to provide support for the new hardware possibilities available in nRF9160 DK starting from v0.14.0.

Add GPIO driver and devicetree binding for the PCAL6408A 8-bit I2C-bus I/O expander, and use it for nRF9160 DK v0.14.0 or later.

Feels like BOARD_REVISION/BOARD_REVISION_STRING need documentation somewhere.

If you consider the board revision feature itself, then that is documented here:
https://docs.zephyrproject.org/latest/guides/porting/board_porting.html#multiple-board-revisions
If you refer to this commit: https://github.com/zephyrproject-rtos/zephyr/pull/31624/commits/f817ff32e4993ddc733094753ae3193b0119959e
then there is a dedicated PR for that here: https://github.com/zephyrproject-rtos/zephyr/pull/31617
If you mean you would like to see dedicated documentation for those, then it's probably outside the scope of this PR, but I agree that we have too limited documentation for Zephyr / CMake in general.
Updated https://github.com/zephyrproject-rtos/zephyr/issues/9947 with additional content.

Rebased on #31864.

Rebased on master after #31864 has been merged.

Rebased on #31926.

Rebased on master after #31926 has been merged.

Rebased to solve a merge conflict.

Rebased to make CI green.

Rebased on #32748.

Rebased after #32748 has been merged.


[BEAM-10286] Fix race in direct runner

There is a race between checking visibleUpdates and pipelineState that leads to updates being dropped. This fixes that race.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @lukecwik


integration-cli: wait for container before sending ^D

Signed-off-by: Tibor Vass<EMAIL_ADDRESS>Ping @icecrime @jfrazelle @LK4D4

Problem that container is not even created on moment of waitRun :) time.Sleep(100 * time.Millisecond) before waitRun helps.

LGTM

LGTM


Kvrocks & IngestExternalFile

Search before asking

[X] I had searched in the issues and found no similar issues.

Motivation
Hi folks,
First of all - I just wanted to say that this is an awesome project 🙂
Secondly -
I wondered whether it's possible to load data to Kvrocks via RocksDB's IngestExternalFile.
The use case is real-world.
I currently work on a system that relies on (non-distributed) RocksDB, and we'd like to possible start using Kvrocks instead.
Every once in a while, we use an offline, "bulky" Spark process which essentially generates a complete view of the RocksDB database.
This is done by creating SST files directly, which is pretty cool*.
The system then downloads these files locally and just points RocksDB to use them.
This way, we can leverage Spark's super-scalable compute to create a dataset (of ~20B tiny records) which would otherwise take a long, long time to write to an empty RocksDB database.
Q:
Since Kvrocks uses RocksDB as its backend, I wondered - how hard would it be to do something like this?
Thanks!

Technically: we create a Spark dataframe with the data in two columns, and we sort the data globally by key.
Then, a custom Spark module we've written creates an SST file using the RocksJava binding.
Each dataframe partition is turned into a separate SST file.
Since the data is sorted and keys are strictly unique, the SST files are non-overlapping, and thus are ingested to the bottomest level of RocksDB.

Solution
I assume that a solution would involve the following components:

An offline library to create Kvrocks-compatible SSTs (i.e. conforming to this)
A server API which can be given a list of SSTs to download and create a Kvrocks set from, using RockDB's IngestExternalFile.

Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Hi @matan129 Thanks for raising this discussion.
Yes, some users also proposed to support ingesting extern files: #1301, #1628. And the solution  what you have mentioned is correct to implement this feature. But AFAIK, no community volunteer is working on it for now. Welcome to contribute if you're willing to do that.


Use OnceCell instead of SetLock

Rust supports lazy loading since 1.70 with OnceCell and OnceLock, and especially since 1.80 with LazyCell and LazyLock. There is no need for SetLock to exist.

Remove SetLock
Refactor code to use OnceCell instead

Seems like OnceLock is the one we actually want. Keeping the branch and issue name, don't be confused. :)


404 Not Found

Hi there, would u be kind to tell me how can i find the code and data?

Hi @yunlicangliu, thanks for your interest in our project. We are polishing and organizing our code and data, which will be made public this week.

The code and data are published.


Correction for raw affiliation Team Evolution of Vertebrate Dentition, Institute of Functional Genomics of Lyon, ENS de Lyon, CNRS UMR 5242, Université de UCB Lyon1

Correction needed for raw affiliation Team Evolution of Vertebrate Dentition, Institute of Functional Genomics of Lyon, ENS de Lyon, CNRS UMR 5242, Université de UCB Lyon1
raw_affiliation_name: Team Evolution of Vertebrate Dentition, Institute of Functional Genomics of Lyon, ENS de Lyon, CNRS UMR 5242, Université de UCB Lyon1
new_rors: 029brtt94;02feahw73;04zmssz18;038fcbc74
previous_rors: 029brtt94;02feahw73;04zmssz18
works_examples: W2926873483
contact: b8ba8d1bb26df7bae5cef43366bb62f8:d4b2f677613a96139cf721b9f9f8 @ ens-lyon.fr

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


Link to external site as a menu entry

Hi,
Thank you (once again) for a great theme. Can you recommend how I can add a link to an external site as a menu entry?
For example, let's say I have three pages on my site, "Blog," "About," and "Resources," and I want to add a link to an external site, "My Other Site". Is there a straightforward way to do this?
I tried the approach suggested in this question (adding the link through the config.toml file), but that didn't seem to work.

Hey @jrosen48! As far as I know, there isn't a straightforward way to do this with the way the theme is currently set up. We can look into adding it though, if @fuegowolf is interested.
In the meanwhile, you can implement the change relatively easily on a fork if you want. The relevant template seems to be in cocoa-eh-hugo-theme/layouts/partials/header.html. A simple way to do this would be to just hardcode a li within the list linking to your other site. If you want it to be more extensible, you could define a site variable as a param in your config.toml and then iterate over it using range like in the example. The hugo documentation for range and site variables would be pretty helpful.
If you're unfamiliar with web development, the above might be confusing. Happy to explain in more detail if this is the case 🐅

Though I can see why you would like to that, before you embark yourself into forking and reading documentation, let me propose you two ways I think are more elegant.
First, you can do like fuegowolf does in his blog and just have tags with things in it. This is not as straight forward, but it allows for some explanation: https://kodewolf.com/projects/
Second and more limited, even though you probably already noticed, you can configure social media icons at the footer.

To do the first (like fuegowolf), you just include a markdown file with a title matching the section title. So not too many hoops to jump through.

Closing this issue because I don't think it's associated with any pending new features. Feel free to ping me though, @jrosen48.


Fix L0_infer_cudashm failure

The root cause for the segfault was that when instance kind is KIND_CPU and the OutputBufferQuery returns a GPU memory, cuda_allocator_info_ is a nullptr and will lead to a segfault. Stacktrace of the segfault:
#1  0x00007f8338fa44d9 in triton::backend::onnxruntime::ModelInstanceState::ProcessRequests (this=0x7f80d80115c0, requests=0x7f81580440c0, request_count=1) at /workspace/onnxruntime_backend/src/onnxruntime.cc:1630
#2  0x00007f8338fb10c6 in triton::backend::onnxruntime::TRITONBACKEND_ModelInstanceExecute (instance=0x7f80d8015c30, requests=0x7f81580440c0, request_count=1) at /workspace/onnxruntime_backend/src/onnxruntime.cc:2600

The L0_batcher test failed in the CI. I verified it on a DLCluster machine and it passed. Merging this PR.


Transfer farizrahman4u/keras-contrib to keras-team/keras-contrib

@farizrahman4u @fchollet Would this be an appropriate time to transfer https://github.com/farizrahman4u/keras-contrib/ to https://github.com/keras-team/keras-contrib/?
I believe this was discussed to some degree when keras-contrib was originally created.

I think so. I opened an issue about it: https://github.com/farizrahman4u/keras-contrib/issues/189

I see it is done, thanks, closing this.


Unable to find services.yaml for lots of things

Home Assistant release with the issue: 92b1
Last working Home Assistant release (if known): 91.4
Operating environment (Hass.io/Docker/Windows/etc.): Docker
Component/platform: Core
Description of problem:
Getting lots of 'cannot find services.yaml' messages in the logs and the components are not loading.
Traceback (if applicable):
019-04-18 12:16:50 WARNING (MainThread) [homeassistant.helpers.service] Unable to find services.yaml for the hue integration
2019-04-18 12:16:51 WARNING (MainThread) [homeassistant.helpers.service] Unable to find services.yaml for the python_script integration
2019-04-18 12:16:51 WARNING (MainThread) [homeassistant.helpers.service] Unable to find services.yaml for the script integration
2019-04-18 12:16:52 WARNING (MainThread) [homeassistant.helpers.service] Unable to find services.yaml for the input_datetime integration
2019-04-18 12:16:52 WARNING (MainThread) [homeassistant.helpers.service] Unable to find services.yaml for the logbook integration
2019-04-18 12:16:52 WARNING (MainThread) [homeassistant.helpers.service] Unable to find services.yaml for the shell_command integration

Additional information:
Although not mentioned in the errors, this is also affecting the person component and the tp-link component which are also not loading.  Possibly others too, unsure as pretty much everything is not working.
Rolling back to 91.4 is working.  Unsure if 92b0 would've worked - may have chance to check this evening, will update if I do.

Already fixed with #23182 I guess

#23182 does not correct this issue,  it fixed another issue that was reported on discord related to missing service descriptions.

Follow this PR for the fix https://github.com/home-assistant/home-assistant/issues/23197

Fixed in #23213


tree_sitter_c may be required

codebleu/utils.py", line 153, in get_tree_sitter_language
import tree_sitter_c
ModuleNotFoundError: No module named 'tree_sitter_c'

tree_sitter_language = get_tree_sitter_language(lang)

File "utils.py", line 155, in get_tree_sitter_language
return Language(tree_sitter_c.language())
TypeError: an integer is required

In addition, could you confirm if installing the tree-sitter 0.23.2 could be a solution to (TypeError: an integer is required)?
Name: tree-sitter
Version: 0.23.2

It seems like there are some changes in the Tree-Sitter and CodeBLEU metrics.
I'll check and see if it is possible to resolve this issue.
For now, feel free to remove the CodeBLEU metric to avoid this issue.


Add symmetry operations to MMTF

Everything is implemented except for adding symmetric bonds.

Looks good to me, feel free to merge if you are done!


Vector entity

An Entity.Vector would be pretty simple to implement. It basically holds an array of Entitys that represents the components, and adds a few extra methods for things like cross/dot products and unit vectors along with operator overloads.
I have already written my own class that internally uses Entitys for components, but the class itself is not an Entity so I don't know what additional work might have to be done.

We already have Entity.Tensor, which could be a vector, matrix, or a more dimensional tensor

Oh, right, I forgot about that. It's still missing methods that are useful for vectors, like GetLength(), Normalize(), GetAngleWithAxis(int axis). If tensors are already available though, I can see how such functionality might not align with the primary purpose of the library.

There's Shape instead of GetLength() though. Normalize might be useful, but don't forget, it's a symbolic library, so it will just return the same vector with each node represented as a / (a2 + b2 + c2...), you get the point

Although maybe it's more convenient to have matrix and vector inherited from tensor? Or all the three from Entity? Maybe

So I've decided to make it a one-column matrix, as no other idea came up


Update similar-issues-bot.yml tolerance

Description
The tolerance value for a similar issue was changed from 0.75 to 0.70.
Motivation and Context
This is because I changed the backend service for this to use pinecone instead of Azure AI search (see here https://github.com/craigloewen-msft/GitGudIssues/commit/f72fa59e23c0b7501b613daea95371cb13831d42 ) and the metric changed as a result of that. They are slightly lower than they were before, so this should offset that.
How Has This Been Tested?
Validated with the same calls to the Azure AI search and then to the new database to determine that minusing 0.05 would be sufficient.

I've also updated this PR to include a small fix that will make the action not show as a 'failure' when it doesn't find any similar issues.


Invoke nexus-staging-maven-plugin:release during deploy phase

#7

@rultor release, tag=0.1.1

@rultor release, tag=0.1.1

@dgroup OK, I will release it now. Please check the progress here


Target C++11

Safely ignore changes in image-search, they are due to formatting other than a single line, which is simply the very same change in clip.cpp.
I'll also try using our own recursive directory walk function from common-clip instead of std::filesystem.

We don't need std::filesystem and C++17 anymore. It's also possible to search by image ./bin/image-search <search string or /path/to/query/image>. If it's an image file we load the image from that path and encode it, otherwise we assume that it's regular text.


Fixed the TieredLiquidityDistributor odds

I've approved but this PR seems to fix more than just https://github.com/code-423n4/2023-07-pooltogether-findings/issues/75

Yes, you're right Pierrick; I treated the "tier odds are wrong" as more of an abstract issue here.
The tier odds were also wrong because they hard-coded the grand prize period to be 365; and we need that value to be more flexible.

Also see https://github.com/code-423n4/2023-07-pooltogether-findings/issues/352


Period of record and water year

Discussed in https://github.com/USGS-R/regional-hydrologic-forcings-ml/discussions/6

Originally posted by slevin75 November 10, 2021
Some questions regarding period of record and water year.  I have been assuming we are doing this on a water-year basis not calendar year, so I have added that parameter to the top of the targets.R file, but Eflowstats can do either one.
Also - I have put 9/30/2020 as the endDate just because there may be a lot of provisional or missing data after that and I arbitrarily put 10/1/1900 as a start date.  Is there a fixed or a minimum period of record we want to consider? We will probably need to screen for some minimum number of years of complete data because there will be at least a few sites that have none or only a few years of complete data and I think we'll want at least 10 or 15 years of data.  or more?

I am in favor of using water year.
I also agree with ending 9/30/2020 due to provisional data in 2021.
For now, let's keep the start date as early as possible. We can do a moving window analysis for each gauge to see how metrics are changing over time. If there are substantial changes for some sites, I think that can help inform if we should limit our analysis to a more recent time period. Otherwise, a longer record will help to obtain more robust statistics (metrics). I'll start an issue to set up the moving window analysis for metrics.
I think the GAUGES database already screens sites for minimum record length, but I'm not sure what that length is. We can revisit when the GAUGES III database is available.

This was a discussion that I turned into an issue - I might have forgotten to close it


Deck file merge - Entity already exists

Hi Guys,
I am setting up a gitlab ci pipeline that will allow publishing apis in kong. The error message is Error: building state: inserting route Swagger_Petstore-listPets: entity already exists.
In my pipeline, I have to convert an openapi (oas) specification to a kong specification (this is done with the command deck file openapi2kong -s oas.yaml -o kong-spec.yaml).
Then I make a backup of the current Kong configuration (deck dump -o current-spec.yaml) and I merge current-spec.yaml and kong-spec.yaml files to get the final file to synchronize on kong (deck file merge current-spec.yaml kong-spec.yaml -o merge-spec.yaml).
At the first occurrence of publication, it goes without a hitch. (deck diff -s merge-spec.yaml; deck sync -s merge-spec.yaml). On the other hand for all other occurrences of file merge, it does not work since the elements defining the api some already exist in kong.
So with the deck tool is it possible to do a file merge by solving the problem of duplication and prioritizing the specification to keep according to its position in the list of files provided as a parameter to deck.
Deck version : v1.25.0
Kong version : v3.2
Thanks in advance

The merge command will merge files into a single file, but it will not validate whether the result is a valid Kong declarative file. Hence the failure at sync time.
Your approach is not how it is intended. There should be no need to first dump the config. If your file is really declarative, then the entire config is in the file no? and hence you should be able to overwrite the existing config.
Now if you have other configs in the Kong system you need to sync to, then I suggest you use tags to identify what to sync to. The OpenAPI conversion can be given tags (or they can be added later by add-tags), and when syncing provide the "--select-tags" to select the netities in the current Kong to sync against.

Closing this. If you need more help, let us know or reopen.


Disconnect is not really effective

I figure on my BLE device log that when i disconnect the smartphone with the unsubscribe/dispose it's not really disconnected.
On the smartphone side, it's marked as disconnected (even on the getConnectionState())
On the ble device it's still marked as connected (the disconnection is really effective when a i turn off bluetooth on the smartphone)
I thought it might be a specificity of my dev devices but when i use NRF Connect, the disconnection on the app works well (on the ble device i see instantly the disconnect event)
I tested with the last version 1.5 rx2 of the lib and with your sample app of last release 1.4.3
same result.
Have you any information about it ?

nRF Connect has a bad habit of intercepting connections. I am not really sure how it is implemented but if it is in the background and a connection is established it holds it so it is not disconnected if the app disconnects. Test when the nRF Connect is not working (kill it so no notification is displayed)

Closed by mistake

I tryed with nRF Connect totally killed, and it's working ! Thanks you, I did not think that nRF Connect was so intrusive !


The directory name is invalid.

I'm trying to run a python script from the end point and I get the following error:
'An error occurred trying to start process 'BobOff.py' with working directory 'C:\EcpEmuServer-win_x64\BobOff.py'. The directory name is invalid.'
Even trying your example of calling cmd.exe gives me the same error:
'An error occurred trying to start process 'C:\Windows\System32\cmd.exe' with working directory 'C:\Windows\System32\cmd.exe'. The directory name is invalid.'
It looks like it is trying to pass the file name as part of the path?
Here is my rules.xml for reference:

Bob Test On
Up
Execute
C:\Windows\System32\cmd.exe

Bob Test Off
Down
Execute
BobOff.py

Also, you mentioned the possibility of being able to bind a different IP address?  This would be very helpful for me.  I run a VPN on the same server I'm running EcpEmuServer and I need to be able to bind to the local IP, not the VPN IP (I hope that makes sense?).
PS  This is a great program.  Once I get these issues sorted, it is exactly what I need.  Thanks so much!

Hi, just wondering if you've had a chance to look at this, or if its simply something I'm doing wrong?
Thanks!

Hi there, apologies for the big delay - I will look into this one, I didn't have this on my machine.
I will also see how I can implement the ability to bind to other IP addresses, would probably solve a lot of headache!

Great, thanks for taking a look.  Let me know if you need any details or if you need me to test anything.

Any chance you've had some time to look at this yet?

Hey Mike, sorry I haven't looked at this in such a long time, life gets in the way :)
I have drafted up a new release https://github.com/AShifter/EcpEmuServer/releases/tag/v0.2.3 which should have fixed the working directory issue. I'll be experimenting with a way to manually provide an IP to bind to. Apologies again for the wait.

Not a problem, I totally understand.  I appreciate you getting it fixed up.  I look forward to doing some testing.

This is working perfectly now.  Really great program!  I'm finally able to control my TP Link switches with my Harmony remote!

Glad to hear it, feel free to open another issue if you run into any other issues. I scrolled through this one again and noticed you mentioned wanting to be able to bind to a different IP than the auto-discovered one so I will work on that sooner or later as well. Have fun!


Speed threshold

@Abyss777, I think it's a good idea to make speed threshold in MotionEventHandler configurable. It should be really easy to do.
FIY:
https://www.traccar.org/forums/topic/move-and-stop-device-timeout/

Sure, I'll do that.


Expose SPSA params so they can be configured

Summary
Solution to issue: Expose SPSA parameters #44
Details and comments
All 5 parameters are exposed formerly in parameters array are exposed as c0 thru c4 named to match with the current documentation. All parameters can be used as is by setting skip_calibration flag True. By default it is False. In this latter case c0 will be read as the target_update values and is updated by the calibration procedure for the set used by the optimization. c1 is initial_c and is unaltered. So additionally to the issues wanting target_update and initial_c configurable the other parameters may be altered now too if desired.
fixes #44

fixes #44


Finalize Design CIP8

closing since CIP8 is merged
https://github.com/celo-org/celo-proposals/blob/master/CIPs/0008.md


Website suggestion: add the Community Contributions section on the tutorial's pages

I made a contribution on one of the 'working-with-data' tutorials (this one) and it has already been acepted, but I noted that my contribution is not on the page, probably because the tutorial's page is not configured to do so.
My suggestion is to add the Community Contributions section on the tutorial's pages.

I've just deployed a fix. Should appear on the website in a minute or so.


Running in Docker

I need some help to run ble2mqtt in Docker, here's what I tried:
docker run \
--rm \
--privileged \
--net=host \
--cap-add SYS_PTRACE,SYS_ADMIN,NET_ADMIN,NET_RAW \
-e TZ=Europe/Bucharest \
-v /etc/timezone:/etc/timezone:ro \
-v /etc/localtime:/etc/localtime:ro \
-v `pwd`/config.json:/etc/ble2mqtt.json:z \
ble2mqtt:dev

My conf has xiaomihtv1 devices with passive set to either false or true.
Results in
INFO:ble2mqtt.ble2mqtt:Connected to <IP_ADDRESS>
ERROR:ble2mqtt.ble2mqtt:Unhandled exception during connecting
Traceback (most recent call last):
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/ble2mqtt.py", line 619, in _connect_forever
    await self._run_device_tasks(connect_result.disconnect_reason)
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/ble2mqtt.py", line 593, in _run_device_tasks
    t.result()
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/ble2mqtt.py", line 380, in manage_device
    disconnect_fut = await device.connect()
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/devices/base.py", line 182, in connect
    await self.client.connect()
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/bluezdbus/client.py", line 121, in connect
    device = await BleakScannerBlueZDBus.find_device_by_address(
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/scanner.py", line 166, in find_device_by_address
    async with cls(
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/scanner.py", line 63, in __aenter__
    await self.start()
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/bluezdbus/scanner.py", line 78, in start
    self._bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
  File "/root/.local/lib/python3.9/site-packages/dbus_next/aio/message_bus.py", line 122, in __init__
    super().__init__(bus_address, bus_type, ProxyObject)
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 86, in __init__
    self._setup_socket()
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 569, in _setup_socket
    raise err
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 542, in _setup_socket
    self._sock.connect(filename)
FileNotFoundError: [Errno 2] No such file or directory
Traceback (most recent call last):
  File "/root/.local/bin/ble2mqtt", line 8, in <module>
    sys.exit(main())
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/__main__.py", line 62, in main
    loop.run_until_complete(server.close())
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/ble2mqtt.py", line 113, in close
    await self.stop_task(task)
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/ble2mqtt.py", line 105, in stop_task
    await task
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/ble2mqtt.py", line 380, in manage_device
    disconnect_fut = await device.connect()
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/devices/base.py", line 182, in connect
    await self.client.connect()
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/bluezdbus/client.py", line 121, in connect
    device = await BleakScannerBlueZDBus.find_device_by_address(
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/scanner.py", line 166, in find_device_by_address
    async with cls(
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/scanner.py", line 63, in __aenter__
    await self.start()
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/bluezdbus/scanner.py", line 78, in start
    self._bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
  File "/root/.local/lib/python3.9/site-packages/dbus_next/aio/message_bus.py", line 122, in __init__
    super().__init__(bus_address, bus_type, ProxyObject)
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 86, in __init__
    self._setup_socket()
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 569, in _setup_socket
    raise err
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 542, in _setup_socket
    self._sock.connect(filename)
FileNotFoundError: [Errno 2] No such file or directory
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-9' coro=<Ble2Mqtt.manage_device() done, defined at /root/.local/lib/python3.9/site-packages/ble2mqtt/ble2mqtt.py:373> exception=FileNotFoundError(2, 'No such file or directory')>
Traceback (most recent call last):
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/ble2mqtt.py", line 380, in manage_device
    disconnect_fut = await device.connect()
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/devices/base.py", line 182, in connect
    await self.client.connect()
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/bluezdbus/client.py", line 121, in connect
    device = await BleakScannerBlueZDBus.find_device_by_address(
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/scanner.py", line 166, in find_device_by_address
    async with cls(
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/scanner.py", line 63, in __aenter__
    await self.start()
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/bluezdbus/scanner.py", line 78, in start
    self._bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
  File "/root/.local/lib/python3.9/site-packages/dbus_next/aio/message_bus.py", line 122, in __init__
    super().__init__(bus_address, bus_type, ProxyObject)
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 86, in __init__
    self._setup_socket()
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 569, in _setup_socket
    raise err
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 542, in _setup_socket
    self._sock.connect(filename)
FileNotFoundError: [Errno 2] No such file or directory
ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-10' coro=<Ble2Mqtt.scan_devices_task() done, defined at /root/.local/lib/python3.9/site-packages/ble2mqtt/ble2mqtt.py:557> exception=FileNotFoundError(2, 'No such file or directory')>
Traceback (most recent call last):
  File "/root/.local/lib/python3.9/site-packages/ble2mqtt/ble2mqtt.py", line 560, in scan_devices_task
    async with BleakScanner() as scanner:
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/scanner.py", line 63, in __aenter__
    await self.start()
  File "/root/.local/lib/python3.9/site-packages/bleak/backends/bluezdbus/scanner.py", line 78, in start
    self._bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
  File "/root/.local/lib/python3.9/site-packages/dbus_next/aio/message_bus.py", line 122, in __init__
    super().__init__(bus_address, bus_type, ProxyObject)
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 86, in __init__
    self._setup_socket()
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 569, in _setup_socket
    raise err
  File "/root/.local/lib/python3.9/site-packages/dbus_next/message_bus.py", line 542, in _setup_socket
    self._sock.connect(filename)
FileNotFoundError: [Errno 2] No such file or directory

I'm running this on Raspberry Pi 4, Raspbian, running ble2mqtt in an venv works. Any idea what else I need to share with the container?
Thanks,
Nicolae

I think that python package dbus-next that is used to connect to DBUS is using Unix sockets and not TCP.
The way how dbus-next create a socket: https://github.com/altdesktop/python-dbus-next/blob/2cf622bbae012fbd5b843d79fc4148ed02227746/dbus_next/_private/address.py#L39-L43
So the possible ways to fix the problem is:

Forward /var/run/dbus/ from host OS to docker
Provide DBUS_SYSTEM_BUS_ADDRESS env variable that contains the IP of the host system and configure the required permissions/firewall rules

I think that python package dbus-next that is used to connect to DBUS is using Unix sockets and not TCP.
The way how dbus-next create a socket: https://github.com/altdesktop/python-dbus-next/blob/2cf622bbae012fbd5b843d79fc4148ed02227746/dbus_next/_private/address.py#L39-L43
So the possible ways to fix the problem is:

Forward /var/run/dbus/ from host OS to docker
Provide DBUS_SYSTEM_BUS_ADDRESS env variable that contains the IP of the host system and configure the required permissions/firewall rules

Thanks a lot, I added
-v /var/run/dbus/:/var/run/dbus/:z \

and it works, I'll drop capabilities and come back with a PR to fix README

Thanks a lot, I added
-v /var/run/dbus/:/var/run/dbus/:z \

and it works, I'll drop capabilities and come back with a PR to fix README


"Configure your privacy requests" screen

Description
As a Privacy Engineer, I want to know all the required steps and their respective statuses to complete the Fides DSR setup.
AC

I know all the necessary configuration tasks (configure messaging provide and storage) I need to do to complete the configuration for DSR.
The user has all the required permissions.

Figma link

@saiatethyca  Update the acceptance criteria as needed. - For example, during refinement we werent quite sure what #2 meant.

Expand on what user permissions mean here.


⚠ Bofrost.de has degraded performance

In fc66e3d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1433 ms

Resolved: Bofrost.de performance has improved in 4204409 after 8 minutes.


Open Graph tags for NovaSpektr web app

There are special kind of meta tags in HTML that are responsible for brief but really important information about your web application.
This information:

is being analysed by web crawlers
in messengers and social networks it is being renderer not like a regular link but with additional appearance

So in order to have better SEO and appropriate visual appearance in social networks we must add OG tags.
Actually we already have them, but they need to be adjusted.
To do:

[ ] add favicon
[ ] add wide image 1200 x 628
[ ] update og meta tags
[ ] update twitter meta tags

Services that help with OG testing: link_1
Sbertips - app that have all required tags

Use tags from novaspektr.io


ARG support in INCLUDE and "FROM with relative paths"

Currently, the INCLUDE and FROM do not work with supplied build-args, eg.:
ARG BASE_DOCKERFILE
INCLUDE ./path/${BASE_DOCKERFILE}

or
ARG BASE_DOCKERFILE
FROM ./path/${BASE_DOCKERFILE}

This is in contrast to vanilla dockerfile where this example works:
ARG JDK_VERSION
FROM azul/zulu-openjdk-alpine:${JDK_VERSION}

$ docker build --build-arg JDK_VERSION=17.0.9 build -f Dockerfile.build .
It would be really nice to have ARG support for INCLUDE and FROM with Relative Paths.

I think it's a good idea,
but not too much time for this now,
PR are welcome to implement this feature
I will also add this to my long term TODO list