Flutter app flashes when you bring it back to foreground on some Android phones,such as Oppo.

Both the official demo have the problems.

Hi @chiuhol
Can you please provide your flutter doctor -v your flutter run --verbose and a complete reproducible minimal code sample
Thank you

Hi @TahaTesser
I'm running the official sample code as the same problem.
The following is flutter doctor -v and flutter run --verbose.

Hi @chiuhol
Please refrain from posting screenshot if not needed, please copy logs and paste it here
By official example code, you mean code counterexample when a project is created?
Can you please provide your flutter run --verbose and a complete reproducible minimal code sample
Thank you

Hi @TahaTesser
That's what i mean
My device is  Pixel 3 XL API 28(android-x64 emulator)
The following is flutter run --verbose
[ +169 ms] Generating /Users/chiuhol/hello_world/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [  +50 ms] Using hardware rendering with device Android SDK built for x86 64. If you notice graphics artifacts, consider enabling software rendering with            "--enable-software-rendering". [  +22 ms] Starting incremental build... [   +3 ms] Initializing file store [  +11 ms] Skipping target: gen_localizations [   +9 ms] complete [   +4 ms] Launching lib/main.dart on Android SDK built for x86 64 in debug mode... [   +5 ms] /Users/chiuhol/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/chiuhol/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/chiuhol/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true --output-dill /var/folders/7t/qj2_w8mn01xg9z4x6z01lf080000gn/T/flutter_tools.6HflCX/flutter_tool.1wj6jW/app.dill --packages .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 --initialize-from-dill build/cache.dill.track.dill [  +14 ms] executing: /Users/chiuhol/Library/Android/sdk/build-tools/30.0.1/aapt dump xmltree /Users/chiuhol/hello_world/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [  +74 ms] Exit code 0 from: /Users/chiuhol/Library/Android/sdk/build-tools/30.0.1/aapt dump xmltree /Users/chiuhol/hello_world/build/app/outputs/flutter-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)0x1d                A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")                A: package="com.example.hello_world" (Raw: "com.example.hello_world")                A: platformBuildVersionCode=(type 0x10)0x1d                A: platformBuildVersionName=(type 0x10)0xa                E: uses-sdk (line=7)                  A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10                  A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d                E: uses-permission (line=14)                  A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")                E: application (line=22)                  A: android:label(0x01010001)="hello_world" (Raw: "hello_world")                  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.hello_world.MainActivity" (Raw: "com.example.hello_world.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 [   +7 ms] executing: /Users/chiuhol/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell -x logcat -v time -t 1 [  +45 ms] Exit code 0 from: /Users/chiuhol/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell -x logcat -v time -t 1 [        ] --------- beginning of main            11-20 11:51:33.695 I/GnssLocationProvider( 1969): WakeLock released by handleMessage(REPORT_SV_STATUS, 0,            com.android.server.location.GnssLocationProvider$SvStatusInfo@4ddc242) [   +1 ms] executing: /Users/chiuhol/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell -x logcat -v time -t 1 [  +19 ms] Exit code 0 from: /Users/chiuhol/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell -x logcat -v time -t 1 [        ] --------- beginning of main            11-20 11:51:33.695 I/GnssLocationProvider( 1969): WakeLock released by handleMessage(REPORT_SV_STATUS, 0,            com.android.server.location.GnssLocationProvider$SvStatusInfo@4ddc242) [  +13 ms] <- compile package:hello_world/main.dart [  +10 ms] executing: /Users/chiuhol/Library/Android/sdk/platform-tools/adb version [  +19 ms] Android Debug Bridge version 1.0.41            Version 30.0.3-6597393            Installed as /Users/chiuhol/Library/Android/sdk/platform-tools/adb [   +4 ms] executing: /Users/chiuhol/Library/Android/sdk/platform-tools/adb start-server [  +17 ms] Building APK [  +19 ms] Running Gradle task 'assembleDebug'... [   +1 ms] gradle.properties already sets android.enableR8 [   +3 ms] Using gradle from /Users/chiuhol/hello_world/android/gradlew. [        ] /Users/chiuhol/hello_world/android/gradlew mode: 33261 rwxr-xr-x. [  +14 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist [  +13 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist [        ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PAC KAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1 .8+","WorkingDirectory":"$APP_PACKAGE\/Contents\/bin","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio4.0","idea.executable":"stu dio","idea.platform.prefix":"AndroidStudio","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-193.69<IP_ADDRESS>26763","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":tr ue,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.0","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundl eIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","N SDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 4.0, build AI-193.69<IP_ADDRESS>26763. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."} [   +7 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [ +182 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version [        ] openjdk version "1.8.0_242-release"            OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)            OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode) [   +1 ms] executing: [/Users/chiuhol/hello_world/android/] /Users/chiuhol/hello_world/android/gradlew -Pverbose=true -Ptarget-platform=android-x64 -Ptarget=/Users/chiuhol/hello_world/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug [ +880 ms] Starting a Gradle Daemon (subsequent builds will be faster) [+9991 ms] > Task :app:compileFlutterBuildDebug [        ] [ +126 ms] executing: [/Users/chiuhol/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [        ] [  +42 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [        ] [        ] 1aafb3a8b9b0c36241c5f5b34ee914770f015818 [        ] [        ] executing: [/Users/chiuhol/flutter/] git tag --points-at HEAD [        ] [  +97 ms] Exit code 0 from: git tag --points-at HEAD [        ] [        ] 1.22.4 [   +1 ms] [   +9 ms] executing: [/Users/chiuhol/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [        ] [  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [        ] [        ] origin/stable [        ] [        ] executing: [/Users/chiuhol/flutter/] git ls-remote --get-url origin [        ] [  +10 ms] Exit code 0 from: git ls-remote --get-url origin [        ] [        ] https://github.com/flutter/flutter.git [        ] [  +52 ms] executing: [/Users/chiuhol/flutter/] git rev-parse --abbrev-ref HEAD [        ] [  +19 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [        ] [        ] stable [        ] [  +39 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. [        ] [   +2 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. [        ] [  +10 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [   +2 ms] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [        ] [        ] 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. [        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [  +17 ms] [        ] 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. [        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [        ] [  +67 ms] Initializing file store [        ] [   +8 ms] Done initializing file store [        ] [  +30 ms] Skipping target: gen_localizations [        ] [ +512 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputChanged} [        ] [  +22 ms] /Users/chiuhol/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/chiuhol/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/chiuhol/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -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 --no-link-platform --packages /Users/chiuhol/hello_world/.packages --output-dill /Users/chiuhol/hello_world/.dart_tool/flutter_build/a8d453f737cf899cab25843d54be2719/app.dill --depfile /Users/chiuhol/hello_world/.dart_tool/flutter_build/a8d453f737cf899cab25843d54be2719/kernel_snapshot.d package:hello_world/main.dart [+5766 ms] [+6319 ms] kernel_snapshot: Complete [ +600 ms] [ +562 ms] Skipping target: debug_android_application [        ] [        ] Persisting file store [        ] [   +6 ms] Done persisting file store [        ] [   +6 ms] build succeeded. [        ] [  +10 ms] "flutter assemble" took 7,575ms. [        ] [   +3 ms] ensureAnalyticsSent: 0ms [        ] [   +1 ms] Running shutdown hooks [        ] [        ] Shutdown hooks complete [        ] [        ] exiting with code 0 [ +300 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE [        ] > Task :app:preBuild UP-TO-DATE [        ] > Task :app:preDebugBuild UP-TO-DATE [        ] > Task :app:compileDebugAidl NO-SOURCE [        ] > Task :app:checkDebugManifest UP-TO-DATE [        ] > Task :app:compileDebugRenderscript NO-SOURCE [        ] > Task :app:generateDebugBuildConfig UP-TO-DATE [        ] > Task :app:cleanMergeDebugAssets [        ] > Task :app:mergeDebugShaders UP-TO-DATE [        ] > Task :app:compileDebugShaders UP-TO-DATE [        ] > Task :app:generateDebugAssets UP-TO-DATE [        ] > Task :app:mergeDebugAssets [ +397 ms] > Task :app:copyFlutterAssetsDebug [        ] > Task :app:mainApkListPersistenceDebug UP-TO-DATE [        ] > Task :app:generateDebugResValues UP-TO-DATE [        ] > Task :app:generateDebugResources UP-TO-DATE [ +100 ms] > Task :app:mergeDebugResources UP-TO-DATE [        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE [        ] > Task :app:processDebugManifest UP-TO-DATE [        ] > Task :app:processDebugResources UP-TO-DATE [ +299 ms] > Task :app:compileDebugKotlin UP-TO-DATE [        ] > Task :app:javaPreCompileDebug UP-TO-DATE [ +100 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE [        ] > Task :app:compileDebugSources UP-TO-DATE [        ] > Task :app:processDebugJavaRes NO-SOURCE [        ] > Task :app:mergeDebugJavaResource UP-TO-DATE [ +103 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE [        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE [        ] > Task :app:mergeExtDexDebug UP-TO-DATE [        ] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE [  +97 ms] > Task :app:mergeDexDebug UP-TO-DATE [        ] > Task :app:validateSigningDebug UP-TO-DATE [        ] > Task :app:signingConfigWriterDebug UP-TO-DATE [        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE [        ] > Task :app:mergeDebugNativeLibs UP-TO-DATE [        ] > Task :app:stripDebugDebugSymbols UP-TO-DATE [        ] Compatible side by side NDK version was not found. [        ] > Task :app:packageDebug UP-TO-DATE [  +96 ms] > Task :app:assembleDebug [  +50 ms] BUILD SUCCESSFUL in 18s [        ] 31 actionable tasks: 5 executed, 26 up-to-date [ +364 ms] Running Gradle task 'assembleDebug'... (completed in 19.4s) [  +30 ms] calculateSha: LocalDirectory: '/Users/chiuhol/hello_world/build/app/outputs/flutter-apk'/app.apk [  +17 ms] calculateSha: reading file took 17us [ +417 ms] calculateSha: computing sha took 416us [   +3 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk. [   +3 ms] executing: /Users/chiuhol/Library/Android/sdk/build-tools/30.0.1/aapt dump xmltree /Users/chiuhol/hello_world/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml [  +17 ms] Exit code 0 from: /Users/chiuhol/Library/Android/sdk/build-tools/30.0.1/aapt dump xmltree /Users/chiuhol/hello_world/build/app/outputs/flutter-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)0x1d                A: android:compileSdkVersionCodename(0x01010573)="10" (Raw: "10")                A: package="com.example.hello_world" (Raw: "com.example.hello_world")                A: platformBuildVersionCode=(type 0x10)0x1d                A: platformBuildVersionName=(type 0x10)0xa                E: uses-sdk (line=7)                  A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10                  A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1d                E: uses-permission (line=14)                  A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")                E: application (line=22)                  A: android:label(0x01010001)="hello_world" (Raw: "hello_world")                  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.hello_world.MainActivity" (Raw: "com.example.hello_world.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 [  +11 ms] Stopping app 'app.apk' on Android SDK built for x86 64. [        ] executing: /Users/chiuhol/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell am force-stop com.example.hello_world [ +224 ms] executing: /Users/chiuhol/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell pm list packages com.example.hello_world [ +307 ms] package:com.example.hello_world [   +2 ms] executing: /Users/chiuhol/Library/Android/sdk/platform-tools/adb -s emulator-5556 shell cat /data/local/tmp/sky.com.example.hello_world.sha1 [  +38 ms] c1f35b1701cd5ec58b51fad7dc5d9954b044107c [        ] Latest build already installed. [        ] Android SDK built for x86 64 startApp [   +3 ms] executing: /Users/chiuhol/Library/Android/sdk/platform-tools/adb -s emulator-5556 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.hello_world/com.example.hello_world.MainActivity [ +110 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.hello_world/.MainActivity (has extras) } [        ] Waiting for observatory port to be available... [+3738 ms] Observatory URL on device: http://<IP_ADDRESS>:41506/SS8h2yI-zsE=/ [   +1 ms] executing: /Users/chiuhol/Library/Android/sdk/platform-tools/adb -s emulator-5556 forward tcp:0 tcp:41506 [  +25 ms] 59309 [        ] Forwarded host port 59309 to device port 41506 for Observatory [   +3 ms] Caching compiled dill [  +80 ms] Connecting to service protocol: http://<IP_ADDRESS>:59309/SS8h2yI-zsE=/ [   +1 ms] DDS is currently disabled due to https://github.com/flutter/flutter/issues/62507 [ +401 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:59309/SS8h2yI-zsE=/ [        ] Waiting for Android SDK built for x86 64 to report its views... [   +6 ms] Waiting for Android SDK built for x86 64 to report its views... (completed in 5ms) [  +37 ms] DevFS: Creating new filesystem on the device (null) [  +37 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.hello_world/code_cache/hello_worldJXMAGW/hello_world/) [   +2 ms] Updating assets [ +118 ms] Syncing files to device Android SDK built for x86 64... [   +1 ms] Scanning asset files [   +2 ms] <- reset [        ] Compiling dart to kernel with 0 updated files [        ] <- recompile package:hello_world/main.dart 2cdd4da0-b289-437b-8e30-d1655482803e [        ] <- 2cdd4da0-b289-437b-8e30-d1655482803e [ +139 ms] Updating files [ +290 ms] DevFS: Sync finished [        ] Syncing files to device Android SDK built for x86 64... (completed in 434ms) [        ] Synced 1.8MB. [        ] <- accept [  +23 ms] Connected to _flutterView/0x73d8e49ee020. [   +1 ms] 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). [        ] c Clear the screen [        ] q Quit (terminate the application on the device). [        ] An Observatory debugger and profiler on Android SDK built for x86 64 is available at: http://<IP_ADDRESS>:59309/SS8h2yI-zsE=/ [ +297 ms] I/Choreographer(26403): Skipped 98 frames!  The application may be doing too much work on its main thread. [  +35 ms] D/EGL_emulation(26403): eglMakeCurrent: 0x73d8e7c50ae0: ver 3 0 (tinfo 0x73d8e7d9e440) [  +32 ms] D/eglCodecCommon(26403): setVertexArrayObject: set vao to 0 (0) 1 2 [ +157 ms] I/OpenGLRenderer(26403): Davey! duration=1888ms; Flags=1, IntendedVsync=287004311959379, Vsync=287005945292647, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=287005960579591, AnimationStart=287005960632591, PerformTraversalsStart=287005960654591, DrawStart=287006008825591, SyncQueued=287006012778591, SyncStart=287006014158591, IssueDrawCommandsStart=287006047344591, SwapBuffers=287006122257591, FrameCompleted=287006201589591, DequeueBufferDuration=25507000, QueueBufferDuration=2502000,  [ +678 ms] D/EGL_emulation(26403): eglMakeCurrent: 0x73d8e62f7680: ver 3 0 (tinfo 0x73d8e7c0dce0) [  +34 ms] D/eglCodecCommon(26403): setVertexArrayObject: set vao to 0 (0) 1 0

Hi @TahaTesser
That's what i mean
My device is Pixel 3 XL API 28(android-x64 emulator)
Here is flutter run --verbose https://gist.github.com/chiuhol/069d00d352a9a05aa52c79ab147d0237

Hi @chiuhol
I can reproduce the issue on multiple Android emulators running Android 10 and Android 8,
I see there's an open issue addressing the case you described. https://github.com/flutter/flutter/issues/59552
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you

HI @TahaTesser
ok,thanks for your help!


Hello, I use all KITTI data for training. How can I find the model with the best performance from the trained models.

Hello, I use all KITTI data for training. How can I find the model with the best performance from the trained models.

You will need to take a subset of the training data as a validation set (I've seen numbers range from 5-10%) to verify your model. Ideally, the performance on the validation set is reflective of the performance of the test set, but from my experience, because of KITTI's dataset size, there is usually a large gap between validation performance and test performance.


Ignore Reporting Project Upgrade backup files

Reasons for making this change:
I took a look at #1887 but settled on a more directed fix for what I'm hitting right now.
The conversion process from the old custom rptproj to the MSBuild based projects creates a MYProject.rptproj.bak backup file
Links to documentation supporting these rule changes:
This doesn't call out the backup directly, but is the process that is creating these files https://blogs.msdn.microsoft.com/sqlrsteamblog/2017/09/25/msbuild-support-for-reporting-services-projects-now-available/

@nschonni thanks!


Differences in modelled FES elevations between pyTMD=2.1.4 and pyTMD==2.1.5

I recently noticed that some of our FES2014 integration tests are failing, and realised that pyTMD is producing different results in 2.1.5 vs 2.1.4, sometimes by over 10 cm:
!pip install pyTMD==2.1.4 --quiet

from pyTMD.compute import tide_elevations
import pandas as pd
import numpy as np

tide_elevations(
    x=[122.269294],
    y=[-18.057430],
    delta_time=pd.date_range("2022", "2023", periods=5),
    DIRECTORY="/gdata1/data/tide_models_clipped/",
    MODEL="FES2014",
    EPSG=4326,
    TIME="datetime",
    EXTRAPOLATE=True,
    CUTOFF=np.inf,
)

>>> [1.6378203716778157, 1.4584970325019366, -2.682039596186077, 3.4367875303700806, -0.07229756252779537]

!pip install pyTMD==2.1.5 --quiet

from pyTMD.compute import tide_elevations
import pandas as pd
import numpy as np

tide_elevations(
    x=[122.269294],
    y=[-18.057430],
    delta_time=pd.date_range("2022", "2023", periods=5),
    DIRECTORY="/gdata1/data/tide_models_clipped/",
    MODEL="FES2014",
    EPSG=4326,
    TIME="datetime",
    EXTRAPOLATE=True,
    CUTOFF=np.inf,
)

>>> [1.627442336610703, 1.545339524166975, -2.744346618968223, 3.3916417087573367, 0.03555559012406023]

Longer comparison scatterplot:

I'm not yet sure if the 2.1.5 results are better or worse - just that they are different. I haven't tested this exhaustively across all the models, but so far FES models are the only ones that seem different (EOT20 and TPXO9 seem unchanged).

That's not good. I'll try to track it down.

Hey @robbibt,
A few separate things happening, all of which are related to when I updated arguments.py to include (a lot) more constituents. Some of these changes are permanent as they're fixes to old bugs. Some are new bugs that will be fixed in #336.

The Doodson arguments for eta2 have been corrected. This only affected when inferring from minor constituents.
I am inferring L2b when L2 is known. In 2.1.4, I didn't infer this constituent if L2 was available.
I didn't pass a keyword argument for the recursive calculation of compound tides. So the arguments were the default ones, and not the arguments for FES models. This affected several constituents.
I overwrote the argument for J1 to the use default and not the one for FES models.

Thanks for pointing them out!

Fantastic, thanks @tsutterley - this wasn't a problem for us, just unexpected so I thought it was worth raising. Glad to hear it helped clear out some hidden bugs!


aws-sdk-cpp: 1.7.53 -> 1.7.56

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/aws-sdk-cpp/versions.
meta.description for aws-sdk-cpp is: '"A C++ interface for Amazon Web Services"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.7.56 with grep in /nix/store/q0pp2cbln8m7sqryihm7q6kjw8xkvpkc-aws-sdk-cpp-1.7.56

directory tree listing: https://gist.github.com/48352a3e7df2d88fc4e6fb04c511a43d

du listing: https://gist.github.com/476d81271af227165e5b514220039433

Rebuild report (if merged into master) (click to expand)

162 total rebuild path(s)
47 package rebuild(s)
47 x86_64-linux rebuild(s)
41 i686-linux rebuild(s)
33 x86_64-darwin rebuild(s)
41 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
aws-sdk-cpp
bundix
cabal2nix
common-updater-scripts
dep2nix
disnix
disnixos
fusionInventory
gnome3.gnome-packagekit
gnome3.gnome-software
gnome3.simple-scan
go2nix
haskellPackages.nix-paths
hydra
lispPackages.quicklisp-to-nix
lispPackages.quicklisp-to-nix-system-info
nix
nix-bundle
nix-du
nix-exec
nix-index
nix-pin
nix-plugins
nix-prefetch
nix-prefetch-bzr
nix-prefetch-cvs
nix-prefetch-git
nix-prefetch-hg
nix-prefetch-scripts
nix-prefetch-svn
nix-review
nix-serve
nix-update-source
nixStable
nixUnstable
nixui
osquery
packagekit
packagekit-qt
pypi2nix
python37Packages.nixpkgs
python37Packages.pythonix
simple-scan
tests.nixos-functions.nixos-test
tests.nixos-functions.nixosTest-test
vgo2nix
vulnix

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/q0pp2cbln8m7sqryihm7q6kjw8xkvpkc-aws-sdk-cpp-1.7.56 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A aws-sdk-cpp https://github.com/r-ryantm/nixpkgs/archive/d0bbced42bf11e2019a5bf4c0e811b43fc292c1b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/q0pp2cbln8m7sqryihm7q6kjw8xkvpkc-aws-sdk-cpp-1.7.56
ls -la /nix/store/q0pp2cbln8m7sqryihm7q6kjw8xkvpkc-aws-sdk-cpp-1.7.56/bin

cc @edolstra @orivej for testing.

@GrahamcOfBorg build nix


Fix retain cycles in Conviva Connector

👋 While working on our app I've found an issue that ConvivaConnector leaked passed instance of THEOplayer. Adding a few unowned modifiers to AdEventForwarder fixed my issue. I added it also to BasicEventForwarder as I feel that when I write player.... { player... } it should definitely be there as the closure is escaping.
I've added unowned as in SDK I think it should be preferred is SDKs and I see it throughout the repo. Unluckily I was not able to try it out as my current project doesn't have ads 😞

Hi Jakub! Thanks for your effort in improving our connectors. I'm curious to know, if you remove the ConvivaConnector, will that not remove the listeners (and thus remove the cycles) from the THEOplayer?

Well the actual unowned that breaks the cycle is this one. There is a function returned from the togglingSender. I am not entirely sure how that is working underneath that basically is a nested closure where player is retained...
From what I've been looking into, the problem is that the Filter inside AD_BEGIN event observation is not deinited, that keeps the "Filter" DispatchQueue alive, that retains the Player but I am not sure I can fix that in some reasonable time.

Okay I think I have it...🤦♂

It looks like it is issue only with THEOplayer 5.x, even without this change. Seems weird.

Hi @olejnjak, might it be possible that you only see this memory issue when you create the connector before you add the GoogleIMA integration?

Well, no ads mean no IMA integration, therefore yes.

Yes, seems to be solved.

This problem is fixed in #11


Fix wrong comment in ChainerX backward implementation

Fixed a comment in the ChainerX backward implementation.

Jenkins, test this please.

Jenkins CI test (for commit 68a36e25bb8910d8343192fd7065834f00efdde7, target branch master) failed with status FAILURE.

Jenkins failures look unrelated.


Status of redux core package.

I just found out about https://redux.js.org/introduction/why-rtk-is-redux-today#why-we-want-you-to-use-redux-toolkit

The redux core package still works, but today we consider it to be obsolete. All of its APIs are also re-exported from @reduxjs/toolkit, and configureStore does everything createStore does but with better default behavior and configurability.

We use the redux core package exclusively and apparently for all the reasons the post says we should not use it :

something without opinions
something without configuration options
something where we write (and thus own) the bugs
small API surface

We chose the redux core package very deliberately over redux toolkit.
Yes we traded some convenience but we gained so much control.
We have very little interest in adopting opinionated libraries/frameworks that are sensitive to community trends.
We need low level, functional bits that we can rely on to remain largely unchanged for ±5 years at a time.
The redux core package is suitable for us, the redux toolkit is not.

Are there plans to abandon the redux core package as it exists today?

@romainmenke The redux core package is just "done". There is nothing to be added.
There is no way we are going to abandon it in any way, since Redux Toolkit relies on it.
But, apart from keeping it running as it is, you will probably never see any updates to it in the future.
The api is done, it won't get any more features.
If you are happy with that: Of course you can still use "legacy Redux". But I would highly encourage you to implement a non-trivial example in both styles and compare before making the final call.
In all the years I have seen maybe two persons that actually wanted to stick to the old style, having tested both and given the choice.

maybe two persons

You can add our entire team to that list :D

There is no way we are going to abandon it in any way, since Redux Toolkit relies on it.
But, apart from keeping it running as it is, you will probably never see any updates to it in the future.
The api is done, it won't get any more features.

That is awesome!
We don't want new features or changes. (except for security patches, but given the nature of redux core those are unlikely)

But I would highly encourage you to implement a non-trivial example in both styles and compare before making the final call.

We are aware that there is a "complexity limit". At a certain point our approach becomes painful. This nicely aligns with our teams "complexity budget". If it becomes painful, it is something we should not be doing anyway. This friction is a good thing.
Thank you for confirming that redux core is not going anywhere :)

Have you considered using parts of RTK?
Honestly, there is not a single person that probably needs all of RTK, but the package consists of helpers and is tree-shakable.
Just adding createSlice (or if that is too fancy for you by creating action creators, createReducer) will probably greatly reduce the complexity on your side, while completely eliminating classes of bugs like accidental mutation of store values in non-Redux code.

Have you considered using parts of RTK?

We have, but there is no good way to enforce subsets of packages at an org level.
If I expose RTK then it becomes unclear which bits have been vetted and which have not.
We really do not mind the complexity of redux core.
There are also different types of complexity.
Using redux core results in more typing work, but this is a one time cost.
The code that is being written is not very complex.
It is easy to read and easy to follow the flow of data.
What we build are tiny islands of interactivity in projects that are 99% server side rendered. If we did build other things our requirements would also be different.
A result of what we build is also that the shape of our data types is simple and small.
We do not want to think or have opinions about these things :

how do I write a state machine
how do I subscribe to state changes

Redux core dictates how those two things work.

Our worst case scenario is a breaking change in a dependency that requires us to revisit and rewrite code that might be 10 years old.

We have, but there is no good way to enforce subsets of packages at an org level.
If I expose RTK then it becomes unclear which bits have been vetted and which have not.

You can do that with an eslint rule.

Our worst case scenario is a breaking change in a dependency that requires us to revisit and rewrite code that might be 10 years old.

But then you could still make the choice you do today: not updating to the new version/style.
As for RTK, we do have a few "breaking changes" in mind, for 2.0, but the related code is marked as "deprecated" for a few releases (that are months apart), will give you runtime warnings in dev since the last update and there is already codemod offered to apply them where it makes sense and the feature is widely used.
I do not think you will ever get into this situation with Redux or RTK. We have a big userbase, move slow and don't break things.
Also, our code has so many users that you can be pretty sure that the bugs have been already found & fixed on our side - especially in things like createSlice that we have in since the 0.x versions.
At this point: I don't really want to "sell" RTK to you here, although I still believe it would be the better choice for you. But I do want to make sure that you make this decisions for the right reasons, and right now honestly, there seems to be a lot of fear projecting from other packages that might have burnt you in the past over to the Redux team.

there seems to be a lot of fear projecting from other packages that might have burnt you in the past over to the Redux team.

That is absolutely true and fair.
But when considering all the factors redux core has just always been good enough for us.
It ticked the most boxes.

You can do that with an eslint rule.

That is extra complexity which we just don't have with redux core :)

But then you could still make the choice you do today: not updating to the new version/style.

This is also extra complexity.
We would need to keep track of why we can't update that one package.

I do not think you will ever get into this situation with Redux or RTK. We have a big userbase, move slow and don't break things.

I do want to thank you (everyone working on redux) for this!
I came here slightly worried that we would need to do costly migrations, only to find the opposite.
Also thank you for the speedy and helpful replies here :)
I know we have a slightly different approach to all this than most users.
What works well for us might not work well for everyone.

Also thank you for the speedy and helpful replies here :)

Hey, thanks for not aggressively yelling at us - people have been very vocal about that one little strikethrough :)
(And we really need that to reach new users that come to us from outdated tutorial, of which there are many.)
I guess you made your decision.
Personally, I can only again recommend you give it another try - especially considering the extra complexity (and lies to the compiler) TypeScript adds to the whole thing without RTK in the picture.
But in the end, no matter which way you go: good luck with everything :)

@romainmenke : yeah, fwiw, we reallllllly recommend using RTK. You will have less code, you will have fewer bugs, and it will be easier to work with Redux that way.
But yes, the fact that there are lots of people still using the original redux core package by itself is exactly why it's effectively frozen and we're not going to break anything.

You said "gain more control". Can you give some specific examples of how you're using Redux, and how writing the code by hand "gives you more control"?

That is not the type of control I meant :)
I don't know anything that I can only do in redux core and not in RTK.
redux core is smallest tool that did what we needed it to do.

known exposure to a 3rd party
limited set of knowledge needed by our team
a low level lib is less likely to change

A larger, more feature rich tool would be much harder to control at an org level.
We are very careful and deliberate with the feature set of our "frontend toolbox". This reduces our maintenance/operating cost.
We are a web agency and we produce a lot of projects with a very small team.
Our clients often do not have a large maintenance budget and will want to keep using the same site for 5-10 years.
Our typical usage of redux is :

1 or 2 stateful components per project
1 reducer per component
shallow and small data objects
1 or 2 subscribers to changes

This is tiny.
If we did build anything larger or more complex we would definitely use RTK.

I'd also disagree that RTK is "driven by community trends". We've specifically designed its API to address the many problems we've seen people run into using Redux over the years, and simplify all the standard Redux usage patterns we've taught in the docs and that people have used in their apps.

I will have interpreted this incorrectly from the blog post and gladly take it back.

@romainmenke : honestly, if that's how small your Redux usage is, you probably don't even need Redux in the first place :)  like, useReducer would probably be fine:

https://blog.isquaredsoftware.com/2021/01/context-redux-differences/

But yeah, see these resources for more details on what RTK does and how we designed it:

https://blog.isquaredsoftware.com/2022/06/presentations-modern-redux-rtk/
https://redux.js.org/tutorials/essentials/part-2-app-structure
https://redux.js.org/tutorials/fundamentals/part-8-modern-redux
https://blog.isquaredsoftware.com/2019/10/redux-toolkit-1.0/

and given that RTK is from the exact same team that has been maintaining Redux for years, I would think that would eliminate the concerns about "known exposure to a 3rd party".
Also, RTK's own API is very stable at this point.  RTK 2.0 will make some minor "breaking changes" in the form of removing a couple bits of deprecated options, but that's it.

honestly, if that's how small your Redux usage is, you probably don't even need Redux in the first place

That is correct :)
We use redux because we don't want to think about or have opinions on writing state machines or communicating state.
Redux core dictates how we must do that.

useReducer would probably be fine:

We don't use react.
It's all vanilla with occasionally some lit html.

It is really not that I do not trust you, or the team behind redux.
I also do not think that RTK is bad or unsuitable in any way.
We picked redux core for reasons stated above and we never regretted that.
Switching now for existing projects is something that would be costly and we would like to avoid that. (that was my concern and why I opened this issue)
Given that we operate a mono repo it also doesn't make much sense for us to switch for new projects. That would add to the complexity of our stack and the mental model required to write code and make changes to existing code.
If we do however create a new mono repo for a new batch of client projects we will switch over to RTK :)


[Not from Docker] Something went wrong when trying to access credentials. Contact support.

Select the SuiteCloud tool where you encountered the issue
SuiteCloud CLI
Version of the SuiteCloud Tool
cli-2024.1.0.jar, cli-2024.2.0.jar
Operating system
Artix Linux 6.10.6-artix1-1 (64-bit)
Node Version / VSCode Version
Do not use
JAVA Version
java 17.0.12+8-LTS-286, openjdk 17.0.12+7
Bug description
The issue is with SuiteCloud CLI for Java itself. I'm not sure if it is legit to post it here. Anyways,...
2024.1.0 opens browser but fails after successful authentication:
$ java -jar ~/sdf-cli/cli-2024.1.0.jar authenticate -authid example
Authenticating...
The TBA token was successfully issued in NetSuite.
Something went wrong when trying to save credentials. Contact support.

2024.2.0 does nothing
$ java -jar ~/sdf-cli/cli-2024.2.0.jar authenticate -authid example
Something went wrong when trying to access credentials. Contact support.

Tried both with Oracle JDK and OpenJDK. No luck.
Tried with new user profile. No luck.
I have removed ~/.suitecloud-sdk/ and ~/.sdf and tried several times. No luck.
I can't find any more details about the error. Only "Something went wrong..." message appears in ~/.sdf
I'm open to help debugging and provide more details.
P.S.
Funny thing is that 2023.2.0 works good on the same machine with the same setup.
I have never had any issues with previous versions too.
Steps To Reproduce
sdfcli authenticate -authid authid just does not work
Actual Output
No response
Expected Output
No response
Anything else?
No response

@kostiato Thanks for reporting.
So, you are not reporting this for docker. But you have tried to run this in terminal in your OS?
https://github.com/oracle/netsuite-suitecloud-sdk/issues/746#issuecomment-1683907712
Seems like your OS is missing dbus-uuidgen

it doesn't seem so
$ dbus-uuidgen --version
D-Bus UUID Generator 1.14.10
Copyright (C) 2006 Red Hat, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Hi @kostiato ,
Does any of these 2 shell commands giving you some output?

cat /var/lib/dbus/machine-id
hostnamectl

Could you share its output (obscuring any 32hex string appearing on it).

@davidecorreu thanks for jumping in
I don't use systemd as init service, so hostnamectl doesn't exist.
I don't have dbus directory inside /var/lib/


Fails to mention required default constructor

> AddDbContext was called with configuration, but the context type 'MyContext' only declares a parameterless constructor. This means that the configuration passed to AddDbContext will never be used
Requires:
public MyContext(DbContextOptions<MyContext> options) : base(options) { }

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

ID: 6e28b0a8-b7e4-4c07-9e60-0df403bbee28
Version Independent ID: 12300b31-6f7b-b75c-970d-693365e77013
Content: Migrations - EF Core
Content Source: entity-framework/core/managing-schemas/migrations/index.md
Product: entity-framework
GitHub Login: @bricelam
Microsoft Alias: bricelam

@albertbori Is this in reference to a different article?  I don't see anything in this Migrations article about AddDbContext.

@albertbori Sorry for being slow to respond here. I’m having trouble following your comment. Can you explain the issue/question in more detail?

I'm sorry, but the details for this issue are gone from my memory. If I had to guess, it'd be that one of the steps in the article failed with the error:

AddDbContext was called with configuration, but the context type 'MyContext' only declares a parameterless constructor. This means that the configuration passed to AddDbContext will never be used

And that it required that I add the following line to my model for it to run correctly:
public MyContext(DbContextOptions<MyContext> options) : base(options) { }
If the issue is not reproducible, then it was likely a fragment of a Visual Studio/Package Manager version conflict, or previously missing step.


MethodArgumentSpaceFixer - scope down endpoint

@keradus not sure how you want to make the test pass for now

hmm there a lot @dataProvider methods of which the name starts with test, isn't PHPUnit running those as tests?

Thank you @SpacePossum.


Add typst-cli to crates.io

typst-cli should be able to be installed from cargo install typst-cli, but typst-cli is not on crates.io. Could you add support?

If this is something the maintainers want, I could draft a PR that adds this to the existing release workflow.

If it is desired to add this install method, I would go a step further and also add the required metadata to support installing via cargo-binstall.
After having followed the steps described in the crate's SUPPORT.md file, this would provide one of the simplest and most ergonomic ways to install the typst cli without long compile times.

I looked into publishing to crates.io, but a first problem was that the CLI embeds fonts, which would need to be part of the package, but crates.io limits package sizes to 10MB.

I doubt that this is possible but just making sure, would it be possible to use something like upx? I'm guessing not for crates.io but for binstall maybe?

I looked into publishing to crates.io, but a first problem was that the CLI embeds fonts, which would need to be part of the package, but crates.io limits package sizes to 10MB.

Could the fonts potentially be downloaded on first use, if they aren't found in the directories where they normally belong? If that would be an option, the fonts could be ignored for crates.io upload and then only provided on use. Alternatively, a warning could be displayed stating the fonts could not be found, recommending a manual download to ensure proper usability.

@laurmaedje This can be closed, right?


Fix test_storage_class_from_backup

Missing backupstore target.
https://github.com/longhorn/longhorn/issues/2342

Test regression Build #78.


Flow Incorrectly handles polymorphic function annotations

According to the documentation flow allows you to annotate variables with types, but that does not work work if types represent polymorphic functions. Consider following example:
/* @flow */

type Map = <a, b>
  (f:(a:a) => b, a:Array<a>) =>
  Array<b>

export const map:Map =
  (f, xs) => xs.map(x => f(x)

This produces following invalid errors:
scratch.js:3
  3: type Map = <a, b>
                 ^ a. This type is incompatible with
  8:   (f, xs) => xs.map(x => f(x))
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ some incompatible instantiation of `a`

scratch.js:8
  8:   (f, xs) => xs.map(x => f(x))
                  ^^^^^^^^^^^^^^^^^ call of method `map`
  3: type Map = <a, b>
                    ^ b. This type is incompatible with
  8:   (f, xs) => xs.map(x => f(x))
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ some incompatible instantiation of `b`

scratch.js:8
  8:   (f, xs) => xs.map(x => f(x))
                  ^^^^^^^^^^^^^^^^^ call of method `map`
  8:   (f, xs) => xs.map(x => f(x))
                              ^^^^ b. This type is incompatible with
  8:   (f, xs) => xs.map(x => f(x))
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ some incompatible instantiation of `b`

Found 3 errors

Please note that inlining type annotations to the map implementation works as expected, although in more complex code it is often less practical.

Does this work if you do
export const map:Map =
   <a,b>(f:(a:a) => b, xs:Array<a>):Array<b> => xs.map(x => f(x)

?  Flow doesn't infer polymorphism at the moment, so I'm wondering if maybe it's inferring a monomorphic function and erroring it when you try to cast it to a polymorphic function.

Does this work if you do

export const map:Map =
<a,b>(f:(a:a) => b, xs:Array):Array => xs.map(x => f(x)
@gabelevi It does; that's what I meant with inlining type annotations

> Flow doesn't infer polymorphism at the moment, so I'm wondering if maybe it's inferring a monomorphic function and erroring it when you try to cast it to a polymorphic function.

Sorry that's little over my head :) But I think that's what happening.

But does Flow even needs to infer here if I do explicitly provide a type ?

This is a dupe of your own issue! #1046.


Fix is-web-authn-supported attribute

Currently it is not showing the "register with passkey" option at all. This fixes the issue.

Thanks!


Enhancement teams cache remove: detect if the Teams cache folder exists

Enhancement originates from

https://github.com/pnp/cli-microsoft365/pull/3224#pullrequestreview-1021308364

With running the command teams cache remove, we remove the Teams caching folder.
https://github.com/pnp/cli-microsoft365/blob/b580b06869bb66a42442a72c5af74d4b8ba5f712/src/m365/teams/commands/cache/cache-remove.ts#L126-L133
The idea here would be to first check if the folder exists before we remove it.

I could work on this!

Sure thing @MathijsVerbeeck


Customize a11y for TabBars

Currently there is no way to customize what a TabBar exposes to a11y. For example, you can't modify the a11y label of a Tab. This is important because if your tab's title is "AD", VoiceOver will read it out as the individual letters "A" and "D" instead of the Word "Ad".
To fix this, developers want to be able to provide a custom a11y label for a tab that's different from what's shown on screen.
In theory you should be able to do this with the help of the Semantics and ExcludeSemantics widgets. However, there is no way to insert that into a TabBar currently. You can't wrap the entire Tab in them because the TabBar only accepts children of a certain type. And you can't wrap just the text of the Tab in them because a Tab takes a string directly [1] and not a Text widget that could be wrapped in a Semantics widget.
[1] https://docs.flutter.io/flutter/material/Tab/text.html

The solution here is probably to add a child parameter to TabBar, that takes a Widget and if child is not provided, we are going to populate it with new Text(text).


Blender mapping

I'm considering this PR as POC of correct mapping using Blender component.

The PR should be completed ASAP since pinning rules don't work in 2.3.1

@warpech could you please review last chabges and confirm merging

Can you pls revert the version with MainContent and PinContent? It is more explicit than using the Rows array.
The fact that it is not possible to blend MainContent and PinContent is tracked in a new issue: https://github.com/StarcounterApps/Website/issues/97

The commit reverted. Merging...


Moloch not flushing data into PCAP

Elasticsearch version: 5.6.4
Moloch version: v0.20.2-GIT
OS name and version: Red Hat 7.4
How was Moloch built/installed: singlehost built
capture_log.txt
moloch_config.txt
I built Moloch with DAG support and am running it on an Endace DAG. One of the issues I am now having is that everything works, except Moloch isn't flushing to disk when I run it as a service. Moloch generates the PCAP, but it remains empty. If I run molochcapture on its own and then hit ctrl+C, it terminates and properly flushes data to disk. I've looked through the config file and searched around for settings that would allow me to control this.
Desired Behavior: The behavior I want is that it uses the memory buffer unless a timer is reached. For example: Write when memory buffer is full OR every 30 seconds, whichever comes first.

Yep, this is how it works because of direct disk writes.  Currently the best you can do is lower your pcapWriteSize and set packetThreads to 1.  I guess in non direct mode a timer could be added.
https://github.com/aol/moloch/wiki/FAQ#zero-byte-pcap-files

Ah, that is very helpful!
Is it normal that when I view the traffic in Molochviewer it throws an error for the PCAP data? I can see all the header data, but it tells me the PCAP data is unavailable. Does this mean trying to access the PCAP data does not trigger a write to disk? If so, then is it just a matter of waiting for the buffer to fill up and then that data will become available?

What error are you seeing?  It might already be referenced in the FAQ.
The viewer and capture components don't talk to each other.

+1 for a feature which lets me do the desired behavior in the OP.
If I get some free time, I'll write it in.

Yep, we can leave the issue open.  As I mentioned above in non direct mode a timer could be added.


PHP fatal error: Class Brick\Math\RoundingMode not found

Description
I'm not sure what's happening, the class is present in the directory, but out of the blue I started getting this RoundingMode class not found error.
Steps to reproduce
I just try and run the app that uses the Ramsey UUID package.
Expected behavior
it just runs up until today
Screenshots or output
Fatal error: Uncaught Error: Class "Brick\Math\RoundingMode" not found in /Users/galentucker/Dropbox/Business/Provident Enterprises/PGE_htdocs/PGEBingo/vendor/ramsey/uuid/src/FeatureSet.php:167
Stack trace:
#0 /Users/galentucker/Dropbox/Business/Provident Enterprises/PGE_htdocs/PGEBingo/vendor/ramsey/uuid/src/UuidFactory.php(108): Ramsey\Uuid\FeatureSet->__construct()
#1 /Users/galentucker/Dropbox/Business/Provident Enterprises/PGE_htdocs/PGEBingo/vendor/ramsey/uuid/src/Uuid.php(406): Ramsey\Uuid\UuidFactory->__construct()
#2 /Users/galentucker/Dropbox/Business/Provident Enterprises/PGE_htdocs/PGEBingo/vendor/ramsey/uuid/src/Uuid.php(668): Ramsey\Uuid\Uuid::getFactory()
#3 /Users/galentucker/Dropbox/Business/Provident Enterprises/PGE_htdocs/PGEBingo/Core/Classes/BingoSheet.php(141): Ramsey\Uuid\Uuid::uuid6()
Environment details
I'm running in PHP Storm on MacOS 12.5, with MAMP Pro 6.6.2.  PHP version 8.1.0
Additional context
Nothing changed in my environment to my knowledge.  It was working, and today... this.  I've tried updating to the latest UUID 4.4.0 using composer.  didn't help.

I'm not able to reproduce this. Are you still having this issue?

Are you still experiencing this problem?

I have a similar issue since a few days but only in a production instance, not during local development:
Exception in line 74 of /var/.../Packages/Libraries/ramsey/uuid/src/UuidFactory.php: Class "Brick\Math\RoundingMode" not found

But I don't even see RoundingMode being used in the mentioned class.
PHP cache was cleared, vm restarted etc.
ramsey/uuid: 4.7.6
PHP: 8.1.27
Debian 5.10

Somehow resolved it by upgrading composer from 2.0.9 to 2.7.4 on the system that had the issue


3D hover effect added

Hi,
This is with reference to issue number #117 ,
I have successfully added 3D hover effect to all detail boxes and on title box as well to make our website look more dynamic,
I hope that you would like my part of contribution.
If everything looks fine then kindly merge my part of code also, and if anything else needed then kindly let me know anytime...
Thank You..

@marizvi this looks really cool but looks a bit forced. We can definitely use this on another section of the website in the future. I'll update you!

Yeah sure,
If u say then i can remove it from title box, and only allow it for the
detail boxes below..
Or another option
Remove this effect from al boxes and just add it to the mission logo which
is at center..
On Thu, 24 Jun 2021 at 5:04 PM, Manan Kohli @.***>
wrote:

@marizvi https://github.com/marizvi this looks really cool but looks a
bit forced. We can definitely use this on another section of the website in
the future. I'll update you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/manankohlii/spacex-launch-data/pull/118#issuecomment-867564304,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASKOUFHL67E6FBNHP7A7W3TTUMJ45ANCNFSM47HG77PA
.

Looks like this on mobile view.

I don't know what makes it happen, at my end it was working absolutely fine even at mobile view also..

If You say then I can add this effect only to the mission logo, and will remove from detail boxes


quill Overwriting modules/markdownShortcuts with ƒ t(e,n){var o=this;r(this,t),this.quill=e,this.options=n,this.matches=[{name:"header",pattern:/^(#){1,6}\s/g,action:function(t,e){switch(t.trim()){case"#":o.quill.formatLine(e.index,0,"header",1);brea…

A warn display in console when from a router to another router which contain editor..

quill Overwriting modules/markdownShortcuts with ƒ t(e,n){var o=this;r(this,t),this.quill=e,this.options=n,this.matches=[{name:"header",pattern:/^(#){1,6}\s/g,action:function(t,e){switch(t.trim()){case"#":o.quill.formatLine(e.index,0,"header",1);brea…vue2-editor.js?391e:1
-- | -- | --
  | value | @ | vue2-editor.js?391e:1
  | registerBuiltInModules | @ | vue2-editor.js?391e:1
  | prepareModules | @ | vue2-editor.js?391e:1
  | initializeVue2Editor | @ | vue2-editor.js?391e:1
  | mounted | @ | vue2-editor.js?391e:1
  | callHook | @ | vue.esm.js?06e7:2923
  | insert | @ | vue.esm.js?06e7:4143
  | invokeInsertHook | @ | vue.esm.js?06e7:5954
  | patch | @ | vue.esm.js?06e7:6173
  | Vue._update | @ | vue.esm.js?06e7:2672
  | updateComponent | @ | vue.esm.js?06e7:2790
  | get | @ | vue.esm.js?06e7:3144
  | run | @ | vue.esm.js?06e7:3221
  | flushSchedulerQueue | @ | vue.esm.js?06e7:2983
  | (anonymous) | @ | vue.esm.js?06e7:1839
  | flushCallbacks | @ | vue.esm.js?06e7:1760

This happened when router switched only, nothing will report if refresh this page.

mark,same problem...

mark,same problem...

mark,same problem...

mark,same problem...

same issue.
I'm noticing something that may stem from this. My editor comes up empty when this warning happens even when something should be there.

Same problem :( Are there any updates on this? Maybe there's some kind of temporary workaround at least?

Same problem and after route change the default content is

. Now whatever text you insert in the textarea you get

.

mark,same problem...

Mark, same problem. The first time it shows the warning, but after a page refresh, it doesn't show up anymore.

I had same error with multiple and single editor per page after switching routes. Adding 'id' solved my problems (even with single one on page).

mark,same problem...

Fixed in v2.4.4. Includes Merged Pull Request #100.


Improve console resizing behavior w.r.t. large terminals

Currently, if the user attempts to make the terminal too big, winpty simply issues a SetConsoleWindowInfo call with invalid size values, and the API call fails.  The result is a wide buffer, and a window with whatever width it most recently had.  It should probably try to do more.
At the absolute least, if the width is too large, it should still change the height.
It should probably cap the window size to the largest possible.  Ordinarily, winpty tries to keep the window and buffer widths equal, but maybe it should allow the buffer width to be greater.  If the buffer width is greater, winpty now scrapes the entire buffer width, but only in Scrolling Mode, not Direct Mode.
Dynamically adjusting the font sizes is also a possibility.  It's probably necessary, but it can't fully solve the problem, and it creates an awkward situation where we can handle small terminals and big terminals, but not "tall and skinny" terminals.
See my analysis of IDEA-117552.  The IDEA-136296 issue also has a screenshot demonstrating the cursor positioned beyond the line's visible characters.
I poked at the console size APIs a bit tonight.  Tentatively, I think this is the behavior:

If a size requirement isn't satisfied, the API fails and nothing happens.  (Out-of-bounds coordinates aren't modified to be in-bounds.)

SetConsoleWindowInfo sets the window position and size.  The new window rectangle must be completely inside the buffer size, and the new size must be no greater than the current GetLargestConsoleWindowSize value.  Each coordinate must be at least 1, but a 1x1 size is OK.  Changing the console window position with this API does not move the graphical window.  That is, the GUI window's (Left, Top) coordinate is unchanged.  Rather, the (Right, Bottom) coordinate changes.

SetConsoleScreenBufferSize sets the buffer size.  The new buffer size must be >= the current window size.  It is OK to exclude cells that are currently visible--Windows will automatically move the window, but it won't shrink the window.  The buffer width (in columns) must be at least large enough that a window of minimum pixel width (e.g. 130 pixels) would not have more columns than the buffer.  The buffer height must be at least 1.

GetLargestConsoleWindowSize returns the largest allowed value for the console window size, in rows and columns.  The console window is not allowed to be larger than the screen.  Crucially, in a multi-monitor setup, the console window cannot be larger than some monitor, apparently whichever monitor is showing more of the console.

I am wondering precisely which monitor GetLargestConsoleWindowSize uses.  Maybe it's the monitor containing the center-point of the window?  I suspect it's possible to position a window so that the center-point is not on a monitor at all.  Then what?
In a multi-monitor setup, it is possible to call SetConsoleWindowInfo to change the console size successfully, then call it again unsuccessfully using the exact same rectangle.  The first call changes the monitor that the console associates with, such that the new console size is no longer valid.  Given that terminal resizing is a multi-step affair in the agent, this has the potential for complicating things.
Part of the trouble here is that an IntelliJ window can span multiple monitors, but a console window generally can't.  People with multiple monitors are therefore more likely to hit this issue.
I think it's possible to query monitor positions with EnumDisplayMonitors.
Aside: For an interesting example of Direct Mode, see the wmic.exe utility included with Windows.  The utility resizes the buffer on startup--by making the buffer 1500 columns wide and 300 lines tall!  Once in Direct Mode, if you type a line longer than the terminal width, it doesn't wrap--instead, the entire visible contents of the terminal scroll off the left side of the terminal.  Pressing Home shows part  of the contents again, but only part, because the cursor hasn't moved all the way to the left.  Pressing Enter scrolls back left.  Resizing the terminal resets the buffer width to the new terminal width, which restores ordinary wrapping behavior, but it does not end Direct Mode, because the buffer height is still 300.  Exiting wmic.exe does restore Scrolling Mode, but not if the terminal has been resized in the interim.

Regarding the tall and skinny problem: it seems much more important to get the width correct than the height.  If we can't get both, then we could increase the font to the largest sensible amount and then show as many rows as possible.  Applications will think the window is shorter than it really is, but that has a fairly minimal impact.  (I think it could affect mouse Y coordinates.)
Using the console API, I think it's possible to exceed the 72pt limit that the console properties dialog imposes.  Conceivably, the number of columns could then drop all the way to 1.  I'm not sure this is a good idea.

If I configure my console with misc/SetFont.exe -face Consolas -h 3, then each cell is 1x3px, and the widest possible console window is 1920 columns.  (My monitor is 1920x1200.)  The smallest font allowed by the console properties dialog is 2x5px.
I'd have to evaluate how this affects half-vs-full-width CJK characters.

FWIW: the current fix doesn't pay attention to monitor, but that might be something to improve on later.
I noticed some interesting Windows APIs a while ago: MonitorFromPoint, MonitorFromRect, MonitorFromWindow.  The flags to these APIs control which monitor is returned if it's ambiguous -- e.g. if the point isn't on any monitor.


d3d11 CreateRenderTargetView fails

https://github.com/bkaradzic/bgfx/blob/master/src/renderer_d3d11.cpp#L2128
It happens when m_msaaRt is not NULL. If I skip this error, the examples seem to work fine.
I had this problem with examples: 08, 18, 28, 29.
os: windows 7.0
gpu: AMD Radeon HD 6570
device feature level 11.0

Can't reproduce this... Not sure if it's GPU feature related to MSAA or something related to Windows 7.

It also happens on
os: windows 7.0
gpu: GeForce GTX 1050 Ti
device feature level 11.0
Exception thrown at 0x7674C54F in examplesDebug.exe: Microsoft C++ exception: _com_error at memory location 0x0042E72C.
......\src\renderer_d3d11.cpp (2210): BGFX CHECK m_device->CreateRenderTargetView(0 == m_msaaRt ? backBufferColor : m_msaaRt, &desc, &m_backBufferColor) FAILED 0x80070057

I have only Win7. I don't have to resize to hit that code. I am just starting the merged-example and change to example 18.

If I change the call to
DX_CHECK(m_device->CreateRenderTargetView(NULL == m_msaaRt ? backBufferColor : m_msaaRt, NULL, &m_backBufferColor) );
so pDesc is NULL, the error is gone.
The strange is that m_msaaRt is not null, but m_resolution.reset==0, so desc gets non msaa viewdimension and format parameters.

Ah I think I get it, m_msaaRt is NULL (because MSAA is not supported for some reason?), but reset flag might be requesting _TEXTURE2DMS...

To test that theory, try this:
				ID3D11Texture2D* backBufferColor = NULL;
				D3D11_RENDER_TARGET_VIEW_DESC desc;
				if (NULL == m_msaaRt)
				{
					DX_CHECK(m_swapChain->GetBuffer(0, IID_ID3D11Texture2D, (void**)&backBufferColor) );
                                        desc.ViewDimension = D3D11_RTV_DIMENSION_TEXTURE2D;
				}
                                else
                                {
				desc.ViewDimension = (m_resolution.reset & BGFX_RESET_MSAA_MASK)
					? D3D11_RTV_DIMENSION_TEXTURE2DMS
					: D3D11_RTV_DIMENSION_TEXTURE2D
					;
                                }

m_msaaRt is not NULL, but reset flags are 0.
I think the problem is here:
https://github.com/bkaradzic/bgfx/blob/master/src/renderer_d3d11.cpp#L1008
creation fails here. The second creation succeeds.(https://github.com/bkaradzic/bgfx/blob/master/src/renderer_d3d11.cpp#L1017)
But the else part doesn't run. So m_resolution is not set properly. https://github.com/bkaradzic/bgfx/blob/master/src/renderer_d3d11.cpp#L1024
Removing the 'else' fixed the problem. maybe should check HRESULT too.

Yeah that else shouldn't be there.
Just:
					if (FAILED(hr) )
					{
						BX_TRACE("Init error: Failed to create swap chain.");
						goto error;
                                        }


Consider reducing window for regenerating tokens for the SES API

We refresh tokens older than two weeks old.
https://github.com/datamade/la-metro-councilmatic/blob/9a8c0dd232aac453696281d47d256fcb5d98d0d4/lametro/static/js/autocomplete.js#L6
Given last week's hiccup (#546), Steve from SmartLogic suggests reducing that window so we don't need to monitor as closely.

Also deployed!


On 0.5.1 and 0.5.2, serve storybook generates a webpack error

Thanks for your work
Error trace:
ERR! WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
ERR!  - configuration.plugins[9] should be one of these:
ERR!    object { apply, … } | function
ERR!    -> Plugin of type object or instanceof Function
ERR!    Details:
ERR!     * configuration.plugins[9] should be an object.
ERR!       -> Plugin instance
ERR!     * configuration.plugins[9] should be an instance of function
ERR!       -> Function acting as plugin
ERR!     at webpack (/Users/rperello/Developer/web_components/node_modules/@storybook/core/node_modules/webpack/lib/webpack.js:31:9)
ERR!     at _default (/Users/rperello/Developer/web_components/node_modules/@storybook/core/dist/server/dev-server.js:92:47)
ERR!     at process.internalTickCallback (internal/process/next_tick.js:77:7)
ERR!  WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
ERR!  - configuration.plugins[9] should be one of these:
ERR!    object { apply, … } | function
ERR!    -> Plugin of type object or instanceof Function
ERR!    Details:
ERR!     * configuration.plugins[9] should be an object.
ERR!       -> Plugin instance
ERR!     * configuration.plugins[9] should be an instance of function
ERR!       -> Function acting as plugin
ERR!     at webpack (/Users/rperello/Developer/web_components/node_modules/@storybook/core/node_modules/webpack/lib/webpack.js:31:9)
ERR!     at _default (/Users/rperello/Developer/web_components/node_modules/@storybook/core/dist/server/dev-server.js:92:47)
ERR!     at process.internalTickCallback (internal/process/next_tick.js:77:7)

What was your setup?

Any update on this? I will close this soon if none.

A vue inspect will be enough info?
El sáb., 9 mar. 2019 17:27, Pavan Kumar Sunkara<EMAIL_ADDRESS>escribió:

Any update on this? I will close this soon if none.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/storybooks/vue-cli-plugin-storybook/issues/48#issuecomment-471197754,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABL_mtkk8Zc79UMlqY6c6h5jscLtgIgnks5vU-DngaJpZM4bUFT9
.

Maybe. But let's start with that
On Sat, Mar 9, 2019, 17:53 Rafael Perelló Rowley<EMAIL_ADDRESS>wrote:

A vue inspect will be enough info?
El sáb., 9 mar. 2019 17:27, Pavan Kumar Sunkara<EMAIL_ADDRESS>escribió:

Any update on this? I will close this soon if none.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/storybooks/vue-cli-plugin-storybook/issues/48#issuecomment-471197754
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ABL_mtkk8Zc79UMlqY6c6h5jscLtgIgnks5vU-DngaJpZM4bUFT9
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/storybooks/vue-cli-plugin-storybook/issues/48#issuecomment-471199970,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKqb5tnH-ZMYJI-x4crEbFReUrBmIF7ks5vU-bsgaJpZM4bUFT9
.

Ok, on monday i will send It.
El sáb., 9 mar. 2019 17:54, Pavan Kumar Sunkara<EMAIL_ADDRESS>escribió:

Maybe. But let's start with that
On Sat, Mar 9, 2019, 17:53 Rafael Perelló Rowley<EMAIL_ADDRESS>
wrote:

A vue inspect will be enough info?
El sáb., 9 mar. 2019 17:27, Pavan Kumar Sunkara <
<EMAIL_ADDRESS>escribió:

Any update on this? I will close this soon if none.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/storybooks/vue-cli-plugin-storybook/issues/48#issuecomment-471197754

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/ABL_mtkk8Zc79UMlqY6c6h5jscLtgIgnks5vU-DngaJpZM4bUFT9

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/storybooks/vue-cli-plugin-storybook/issues/48#issuecomment-471199970
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAKqb5tnH-ZMYJI-x4crEbFReUrBmIF7ks5vU-bsgaJpZM4bUFT9
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/storybooks/vue-cli-plugin-storybook/issues/48#issuecomment-471200064,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABL_mu3f7PiSN8MDsFO6r2Wnep-7thyXks5vU-cugaJpZM4bUFT9
.

Close it. Now show another error.
El sáb., 9 mar. 2019 20:34, Rafael Perelló<EMAIL_ADDRESS>escribió:

Ok, on monday i will send It.
El sáb., 9 mar. 2019 17:54, Pavan Kumar Sunkara<EMAIL_ADDRESS>escribió:

Maybe. But let's start with that
On Sat, Mar 9, 2019, 17:53 Rafael Perelló Rowley <
<EMAIL_ADDRESS>wrote:

A vue inspect will be enough info?
El sáb., 9 mar. 2019 17:27, Pavan Kumar Sunkara <
<EMAIL_ADDRESS>escribió:

Any update on this? I will close this soon if none.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/storybooks/vue-cli-plugin-storybook/issues/48#issuecomment-471197754

,
or mute the thread
<

https://github.com/notifications/unsubscribe-auth/ABL_mtkk8Zc79UMlqY6c6h5jscLtgIgnks5vU-DngaJpZM4bUFT9

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/storybooks/vue-cli-plugin-storybook/issues/48#issuecomment-471199970
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAKqb5tnH-ZMYJI-x4crEbFReUrBmIF7ks5vU-bsgaJpZM4bUFT9
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/storybooks/vue-cli-plugin-storybook/issues/48#issuecomment-471200064,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABL_mu3f7PiSN8MDsFO6r2Wnep-7thyXks5vU-cugaJpZM4bUFT9
.


feat: add crates.io/cargo-run-script

crates.io/cargo-run-script: Bringing npm run-script to Rust
$ aqua g -i crates.io/cargo-run-script

How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.
Command and output
$

If files such as configuration file are needed, please share them.

Reference

Thank you!

This package doesn't work on my laptop (M3 Pro). 🤔
$ cargo-run-script --help
thread 'main' panicked at /Users/shunsukesuzuki/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-run-script-0.2.0/src/main.rs:51:58:
Cargo.toml file not found.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

$ aqua which -v cargo-run-script
0.2.0

$ aqua -v
aqua version 2.27.3 (55503812e74e63a4ea0eeb3860840d7dce3d596d)

Hmm. I see. Seems like this tool needs Cargo.toml and --help isn't supported.
$ git clone https://github.com/JoshMcguigan/cargo-run-script
$ cd cargo-run-script

$ cargo-run-script --help
thread 'main' panicked at /Users/shunsukesuzuki/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cargo-run-script-0.2.0/src/main.rs:44:18:
Script not found
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

$ cargo-run-script hello
Hello
Finished, status of exit status: 0

v4.171.0 is out 🎉
https://github.com/aquaproj/aqua-registry/releases/tag/v4.171.0


Is there a cast function?

I have a function in bluerpint return a SkeletalMeshComponent,but in python,it recognition as a uobject.
So how can I cast it to a SkeletalMeshComponent?

I'm not a dev of this project, but there isn't a cast function that I know of, but there also isn't a need for one. What you see in Python - the uobject - is a Python wrapper around an engine UObject. You can use the 'is_a' function to test if the thing being wrapped is a particular type of object:
from unreal_engine.classes import SkeletalMeshComponent
your_uobject.is_a(SkeletalMeshComponent)

(I can't test the above out at the moment, so it might not be 100% correct code, but that's the basic idea)
Some class-specific APIs are exposed on the Python wrapper object, but beyond that there are many dynamic APIs (basically: if the C++ header file defines something as 'BlueprintCallable', then you can call it from Python). See the uobject API for more info.

Unfortunately the method provided here does not work for UObject to Blueprints.
What I currently know is that this does not work:
import unreal_engine as ue from unreal_engine.classes import ActorFactory, BlueprintFactory, DirectionalLightComponent, K2Node_Event bpFactory = BlueprintFactory() bp = ue.find_object('/Game/CarAgent') bp.is_a(BlueprintFactory)
is_a is not a cast it simpy checks if your Object is a Blueprintfactory in this case. So the question is still valid how do you cast a UObject to something else?

Yes, that's what I said - is_a lets you know if a cast would have made sense. In this case, /Game/CarAgent is not a BlueprintFactory, so it would not have made sense to cast it anyway.
To reiterate, I'm not aware of any case where you need to cast - that concept doesn't really translate to Python (Python is a strongly but dynamically typed language, casting is needed in strongly but statically typed languages like C++).
So in this specific example, what type of asset/object is /Game/CarAgent? (what does it subclass?) It apparently doesn't subclass UBlueprintFactory, which is both why is_a returns False but also why it wouldn't make sense to try and cast it to one.
If you can provide more details on what you're trying to accomplish, I might be able to help you. I'm pretty sure casting is not what you need though.

Sorry, after I posted I read it again and realized that's what you said, then I wanted to change it and got distracted with a different task.
Anyways, I found a solution where the operator checked for an asset at the asset path, and if found destroyed the asset. That's one way of doing it and I'm pretty sure that's how I will proceed -> all or nothing.
But if you created a Blueprint and you then want to add a component to this blueprint it does not work without a cast.
I mean: Create a blueprint if the object is not existing, add a component.
If the object exists, get the blueprint from the found UObject (here I would need the cast) and add the component.
If you just use the UObject Unreal python from 20tabs will simply throw an error that the object where you try to add the component to is a UObject and needs to be a UBlueprintFactory.


CTRL+F box doesn't work properly

Type: Bug
I am trying to change the variable names in my code using ctrl+F functionality.  however, the experience is quite buggy as the cursor doesn't jump to the next string which needs to be replaced. Both "Replace" and "Replace All" buttons which help in replacing the search string get deactivated. They won't get activated until I hit the up or down arrows to find the matching string again.
 It looks like you may be using an old version of VS Code, the latest stable release is 1.87.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!


[REQUEST] build the file + the imported package

Is your feature request related to a problem? Please describe.
First off, thank you for the plugin this would cut down on the work needed for my project tremendously, thank you! This is somewhat related to the problem, after a package is "imported", how do we actually "run" / "build" it?
Describe the solution you'd like
A clear and concise description of what you want to happen.
After the user types for example:
import _ from 'lodash'
export default {
  run() {
    return _.map([1, 2], (n) => n * 2)
  }
}

how can I get the exported object as a javascript, bundled with lodash?
This most likely is out of scope of the plugin, I apologize if so, would love to get pointers to the right direction if you don't mind :)
Additional context

Hi! Neither monaco nor this library focuses on the execution of the code in the editor component. monaco-editor-auto-typings only downloads type information, e.g. .d.ts files that contain typescript declarations for imported modules, no JS runtime information. So yeah this use case would be out of scope of the library. How you import runtime data and execute it depends on your use case.
If you want to run it on a server, you could programmatically run install commands for each import and execute the code, potentially in a js vm depending on the security use case.
If you want to run it in the browser, you could load the dependencies from unpkg and execute the code in the browser with the imported symbols from there in scope.
Note that you can programmatically hook yourself into when new imports where added to the code model, to retrieve the names of the imported packags: https://lukasbach.github.io/monaco-editor-auto-typings/docs/interfaces/Options.html#onUpdateVersions


Access to path denied dotnet test

We have setup a new setup.cake file using the Cake.Recipe. Local and appveyor having issue during the DotNetCore-Test task.
Current script: https://github.com/XerProjects/Xer.Cqrs/blob/feature-build/setup.cake
AppVeyor output:
DotNetCore-Test
========================================
Cake.exe : An error occurred when executing task 'DotNetCore-Test'.
At C:\projects\xer-cqrs\build.ps1:234 char:1
+ &$CAKE_EXE $cakeArguments
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (An error occurr...tNetCore-Test'.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

----------------------------------------
Teardown
----------------------------------------
Starting Teardown...
Deleting nupkg files...
Finished running tasks.
Error:
One or more errors occurred.

Access to the path 'C:\Documents and Settings' is denied.
Command executed with exception:

Local output
An error occurred when executing task 'DotNetCore-Test'.----------------------------------------Teardown----------------------------------------Starting Teardown...Deleting nupkg files...Finished running tasks.Error: One or more errors occurred.        Access to the path 'C:\$Recycle.Bin\S-1-5-18' is denied.

I've tested dotnet test --configuration release and that is working properly.

When applying the following configuration it works. But I think the exception stays a little vague
BuildParameters.SetParameters(context: Context,
                            buildSystem: BuildSystem,
                            sourceDirectoryPath: "./Src",
                            title: "Xer.Cqrs",
                            solutionFilePath: "./Xer.Cqrs.sln",
                            repositoryOwner: "XerProjects",
                            repositoryName: "Xer.Cqrs",
                            appVeyorAccountName: "mvput",
                            testFilePattern: "/**/*Tests.csproj",
                            testDirectoryPath: "./Tests",
                            shouldRunDupFinder: false,
                            shouldRunDotNetCorePack: true);

@mvput what were you using before this?  Can you put it here for comparison?  Thanks!

This were the parameters before
BuildParameters.SetParameters(context: Context,
                            buildSystem: BuildSystem,
                            sourceDirectoryPath: "./",
                            title: "Xer.Cqrs",
                            repositoryOwner: "XerProjects",
                            repositoryName: "Xer.Cqrs",
                            appVeyorAccountName: "mvput",
                            shouldRunDupFinder: false,
                            shouldRunDotNetCorePack: true);

Maybe because the ./ was contacted by /**/*Test.dll which results in .//**/*Test.dll

@mvput I have had a think about this, and I think this comes down to a documentation problem.  Cake.Recipe makes some assumptions about the structure of the repository that it is being used on.  As such, I am going to close this out, and capture some additional notes around this in https://github.com/cake-contrib/Cake.Recipe/issues/36


Default Values?

Hi,
Sorry to bug you as this is a simple issue but has been driving me nuts for hours. How do you add a default value to the dropdown?
All I want it to say is Select instead of having it blank...then the values underneath.
Thanks so much!

@trexlee26 Could you help me to fix the same thing? Did you use the version 4.0.0?
I tried to iterate over input-model and make n.selected = true. It didn't work. I also tried to do that in $timeout. I tried to make n.selected = true and fill output-model at the same time.

@trexlee26 I found it! There is not a specific field like selected. Instead, the field, specified in the tick-property tag parameter used. For example, for
<div isteven-multi-select
    ...
    input-model="yourInput"
    tick-property="ticked">
</div>

You can do
angular.forEach($scope.yourInput, function(n) {
    if (someCondition(n)) {
        n.ticked = true;
    }
});

(version = 4.0.0)

@trexlee26 ,
Yes that is correct. Basically you just do whatever you want to the input-model.

how to select all by default?

@ShivPandey
In your controller, just loop over your input-model & set the select property to true.


the modules lack of predicting files

Hi,
Thanks for remind, I just updated the code.
haibarasfs<EMAIL_ADDRESS>于2018年7月12日周四 下午5:02写道：

Closed #1 https://github.com/BangLiu/QANet-PyTorch/issues/1.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BangLiu/QANet-PyTorch/issues/1#event-1729788226, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AD9tIRzFkZmpMzv-MLCzmI3y43A6gxDCks5uFxCrgaJpZM4VMYlN
.


Godot 3 to 4 Conversion: scene Label align and valign  values get discarded

Godot version
v4.0.stable.official [92bee43ad]
System information
Windows 10
Issue description
Label align and valign just get discarded, having to replace them with the new values.
in the .tscn files it would be a conversion of:
valign = 1 = vertical_alignment = 1
align = 1 = horizontal_alignment = 1
But to get it to actually work the Label inside the tscn would also need to get the layout_mode = 2 attribute to have set, else it will discard the replaced values
(Tested by changes via external text-editor on the tscn file directly before opening it.)
Steps to reproduce
migration from 3.X to 4
Minimal reproduction project
n/a

Layout mode has nothing to do with text alignment inside of the label. You do have a typo in your code sample though.

Fixed the typo, that happens if you do it free hand.
Its just a behaviour that i noticed, that if i just replace the align and valign with the new property names, those settings get discarded, unless i also add the layout_mode = 2 in the .tscn

That's not possible, something else must be happening at the same time. Please provide MRP that demonstrates the issue.

Added an MRP created in godot v3.5.1.stable.official [6fed1ffa3] with 3 .tscn files, 3 times just a label with centered text, the first one with no manual changes to the .tscn,
the second with the new names for the align and valign and the third with the layout_mode = 2 also added.
(The third one is not relevant for the core issue of this topic, but just wanted to leave it in for test-purposes)
The first scene will remove the alignment
the second scene will keep the alignment due to proper renaming, done manually.

Also had this issue, had to reset all labels by hand


Can't get it to work for iOS (Ionic 2+ app)

First of all it took a while (after numerous builds/runs of the iOS app) to have it appear in the Fabric Crashlytics dashboard, unlike the one for Android.
And now it won't show any events registered in the iOS project dashboard, even though we test by calling addLog, sendNonFatalCrash and sendCrash functions.
We build strictly via command line and building for iOS results in no errors on the console. Our builds are fully repeatable each time - platforms and plugins re-created each time.
Android works well, just as expected.
The plugin is configured in the project via the config.xml such as in:
  <plugin name="cordova-fabric-plugin" spec="1.1.10">
    <variable name="FABRIC_API_KEY" value="FOO"/>
    <variable name="FABRIC_API_SECRET" value="BAR"/>
  </plugin>

cordova (Cordova CLI): 6.5.0
Cordova Platforms: ios 4.5.4
Ionic Framework: ionic-angular 3.9.2

Node: v8.9.1
npm: 5.6.0
OS: macOS High Sierra
Xcode: Xcode 9.2 Build version 9C40b

Same +1

Before I start using this for an Ionic cross-platform project, does this happen often when using this plugin with Ionic 2+? Has this been resolved yet? Thanks and good luck.


[docs-only] Private Links as Routes

To shorten uuids we should encode them using "math/big": https://stackoverflow.com/a/67184912
But that is something we can do in the storage driver.
Forthormone we could use an auto increment as the node id, because in theory, every storage space has its own set of node identifiers... 🤔

Furthermore, we could use an auto increment as the node id, because in theory, every storage space has its own set of node identifiers... 🤔

That'd also simplify migration from oc10 -> ocis

I like the concept, it looks like it aligns well with the spaces concept that we discussed.
What I am not so convinced of is having the id parameter the way it is described as an optional parameter that is taken into account following certain rules. I fear that is creating confusion.
Wouldn't it be better if we had an additional url scheme to /#s/<...> that looks like /#/id/<id> and supports the ids? That way this confusing rules of what takes precedence would not be needed, and we could drop the id param from the /#/s scheme.
(Pls. simply move on and merge if this was already discussed)

Q about access rights (probably off topic here):
In my home space (referenced by 4444:4333) I create the folder SHARE_WITH_A and share that with user A.
For me, the link https://<host>/#/s/4444:43333/SHARE_WITH_A is valid. Is that also valid for user A or can she only access her share using the new storage space id?

@dragotin while https://<host>/#/s/4444:43333/SHARE_WITH_A is valid for you it is not valid for A. That is why, when you create SHARE_WITH_A the URL in the browser needs to reflect the adition of a new space and it needs to be updatet to https://<host>/#/s/4444:5555/ where 5555 is the node id of SHARE_WITH_A. This is the only way I see to make URL copyable.
You can then then still navigate in that share by adding a path component.
Furthermore if you are working in a real space and want to send a reference to another 'owner', then the URL will use the space id and a path to the folder you navigated to (it will have the same path segments as the preadcrumbs you see in the ui).

I rebased and added alternatives. Kind of fell in love with the last one ... let us talk on monday.

@micbar @kulmann can you add Good & Bad aspects of the new configurable path component option?

@micbar please add the 6th option that evolved on friday ;-)

@micbar please add the 6th option that evolved on friday ;-)

added it to the "mixed global urls" option.


Delete unused vendored dependencies

Committing the result of dep ensure

/cc @Fedosin

hi! this change is already included in https://github.com/openshift/cloud-provider-openstack/pull/19 which is the result of dep ensure -update

/close
duplicate