When both WebView and AndroidView are present at the same time, a white screen may appear.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

In Flutter, when using WebView, everything is displayed correctly.

According to the documentation at https://docs.flutter.dev/platform-integration/android/platform-views#virtual-display, after registering the platform view, the WebView appears as a white screen.

demo: https://github.com/J-Yaleen/demo_20230928
Actual results
Both WebView and AndroidView can be displayed normally
Logs

Logs

<!-- Paste your logs here -->

Flutter Doctor output

Doctor output

<!-- Paste your output here -->

Hi @J-Yaleen
Do you notice there are these errors from the output console? I ran your sample project and saw these error:

Output log
E/flutter ( 1188): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 1188): #0      WebChromeClientHostApi.create
android_webview.g.dart:1908
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188):
E/flutter ( 1188): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 1188): #0      WebViewHostApi.setWebChromeClient
android_webview.g.dart:1011
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188):
E/flutter ( 1188): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 1188): #0      WebViewHostApi.loadUrl
android_webview.g.dart:489
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188):
E/flutter ( 1188): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create a platform view of unregistered type: plugins.flutter.io/webview
E/flutter ( 1188): 	at io.flutter.plugin.platform.PlatformViewsController.createPlatformView(PlatformViewsController.java:496)
E/flutter ( 1188): 	at io.flutter.plugin.platform.PlatformViewsController$1.createForTextureLayer(PlatformViewsController.java:191)
E/flutter ( 1188): 	at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:128)
E/flutter ( 1188): 	at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:55)
E/flutter ( 1188): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258)
E/flutter ( 1188): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/flutter ( 1188): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
E/flutter ( 1188): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/flutter ( 1188): 	at android.os.Handler.handleCallback(Handler.java:938)
E/flutter ( 1188): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/flutter ( 1188): 	at android.os.Looper.loop(Looper.java:255)
E/flutter ( 1188): 	at android.app.ActivityThread.main(ActivityThread.java:8212)
E/flutter ( 1188): 	at java.lang.reflect.Method.invoke(Native Method)
E/flutter ( 1188): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
E/flutter ( 1188): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
E/flutter ( 1188): , null, null)
E/flutter ( 1188): #0      StandardMethodCodec.decodeEnvelope
message_codecs.dart:652
E/flutter ( 1188): #1      MethodChannel._invokeMethod
platform_channel.dart:310
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188): #2      SurfaceAndroidViewController._sendCreateMessage
platform_views.dart:976
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188): #3      AndroidViewController.create
platform_views.dart:763
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188):

你好@J-Yaleen 您注意到输出控制台有这些错误吗？我运行了您的示例项目并看到了这些错误：
输出日志
E/flutter ( 1188): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 1188): #0      WebChromeClientHostApi.create
android_webview.g.dart:1908
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188):
E/flutter ( 1188): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 1188): #0      WebViewHostApi.setWebChromeClient
android_webview.g.dart:1011
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188):
E/flutter ( 1188): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 1188): #0      WebViewHostApi.loadUrl
android_webview.g.dart:489
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188):
E/flutter ( 1188): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create a platform view of unregistered type: plugins.flutter.io/webview
E/flutter ( 1188): 	at io.flutter.plugin.platform.PlatformViewsController.createPlatformView(PlatformViewsController.java:496)
E/flutter ( 1188): 	at io.flutter.plugin.platform.PlatformViewsController$1.createForTextureLayer(PlatformViewsController.java:191)
E/flutter ( 1188): 	at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:128)
E/flutter ( 1188): 	at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:55)
E/flutter ( 1188): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258)
E/flutter ( 1188): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/flutter ( 1188): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
E/flutter ( 1188): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/flutter ( 1188): 	at android.os.Handler.handleCallback(Handler.java:938)
E/flutter ( 1188): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/flutter ( 1188): 	at android.os.Looper.loop(Looper.java:255)
E/flutter ( 1188): 	at android.app.ActivityThread.main(ActivityThread.java:8212)
E/flutter ( 1188): 	at java.lang.reflect.Method.invoke(Native Method)
E/flutter ( 1188): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
E/flutter ( 1188): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
E/flutter ( 1188): , null, null)
E/flutter ( 1188): #0      StandardMethodCodec.decodeEnvelope
message_codecs.dart:652
E/flutter ( 1188): #1      MethodChannel._invokeMethod
platform_channel.dart:310
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188): #2      SurfaceAndroidViewController._sendCreateMessage
platform_views.dart:976
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188): #3      AndroidViewController.create
platform_views.dart:763
E/flutter ( 1188): <asynchronous suspension>
E/flutter ( 1188):

I can run this demo normally here. If there is no more information, I am not sure how to solve this problem.
You can also follow the following steps to create this demo:

Use the fluent create command to create a new project

Flutter create my_ App

Use this package as the library for webview and copy its sample code https://pub.dev/packages/webview_flutter/install

Register the platform view according to this document https://docs.flutter.dev/platform-integration/android/platform-views#virtual -Display

你好 @huycozy
I can run this demo normally here. If there is no more information, I am not sure how to solve this problem.
You can also follow the following steps to create this demo:

Use the fluent create command to create a new project

Flutter create my_ App

Use this package as the library for webview and copy its sample code https://pub.dev/packages/webview_flutter/install

Register the platform view according to this document https://docs.flutter.dev/platform-integration/android/platform-views#virtual -Display

你好 @huycozy
I can run this demo normally here. If there is no more information, I am not sure how to solve this problem.
You can also follow the following steps to create this demo:

Use flutter create command to create a new project

flutter create my_ app

Use this package as the library for webview and copy its sample code https://pub.dev/packages/webview_flutter/install

Register the platform view according to this document https://docs.flutter.dev/platform-integration/android/platform-views#virtual -Display

I also see the white portion instead of WebView. If you notice the console log output, you may see the same exception as mine above.
Some additional info:

If I remove configureFlutterEngine callback on MainActivity.kt, the WebView renders normally but there will be no platform view.
The issue also happens with Hybrid composition mode. Sample code: webview-and-platformview-135643

Demo screenshot

Complete output log
Launching lib/main.dart on RMX2001 in debug mode...
Running Gradle task 'assembleDebug'...
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app-debug.apk...
Debug service listening on ws://<IP_ADDRESS>:61525/yBadegzZWJA=/ws
Syncing files to device RMX2001...
I/t_platformview( 7919): ProcessProfilingInfo new_methods=1050 is saved saved_to_disk=1 resolve_classes_delay=5000
I/t_platformview( 7919): Compiler allocated 4670KB to compile void android.view.ViewRootImpl.performTraversals()
E/ion     ( 7919): ioctl c0044901 failed with code -1: Invalid argument
D/ViewRootImpl( 7919): enqueueInputEventMotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=517.0, y[0]=1053.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=277649571, downTime=277649571, deviceId=-1, source=0x1002, displayId=0 }
D/ViewRootImpl[MainActivity]( 7919): processMotionEvent MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=517.0, y[0]=1053.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=277649571, downTime=277649571, deviceId=-1, source=0x1002, displayId=0 }
D/ViewRootImpl[MainActivity]( 7919): dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=517.0, y[0]=1053.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=277649571, downTime=277649571, deviceId=-1, source=0x1002, displayId=0 }
D/ViewRootImpl[MainActivity]( 7919): processMotionEvent MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=517.0, y[0]=1053.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=277649627, downTime=277649571, deviceId=-1, source=0x1002, displayId=0 }
D/ViewRootImpl[MainActivity]( 7919): dispatchPointerEvent handled=true, event=MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=517.0, y[0]=1053.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=277649627, downTime=277649571, deviceId=-1, source=0x1002, displayId=0 }
E/OplusCustomizeRestrictionManager( 7919): sInstance is null, start a new sInstance
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      InstanceManagerHostApi.clear (package:webview_flutter_android/src/android_webview.g.dart:230:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebStorageHostApi.create (package:webview_flutter_android/src/android_webview.g.dart:2410:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebViewHostApi.create (package:webview_flutter_android/src/android_webview.g.dart:479:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebSettingsHostApi.create (package:webview_flutter_android/src/android_webview.g.dart:1182:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebSettingsHostApi.setDomStorageEnabled (package:webview_flutter_android/src/android_webview.g.dart:1205:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebSettingsHostApi.setJavaScriptCanOpenWindowsAutomatically (package:webview_flutter_android/src/android_webview.g.dart:1229:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebSettingsHostApi.setSupportMultipleWindows (package:webview_flutter_android/src/android_webview.g.dart:1253:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebSettingsHostApi.setLoadWithOverviewMode (package:webview_flutter_android/src/android_webview.g.dart:1371:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebSettingsHostApi.setUseWideViewPort (package:webview_flutter_android/src/android_webview.g.dart:1394:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebSettingsHostApi.setDisplayZoomControls (package:webview_flutter_android/src/android_webview.g.dart:1418:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebSettingsHostApi.setBuiltInZoomControls (package:webview_flutter_android/src/android_webview.g.dart:1442:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebChromeClientHostApi.create (package:webview_flutter_android/src/android_webview.g.dart:2011:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebViewHostApi.setWebChromeClient (package:webview_flutter_android/src/android_webview.g.dart:1086:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebSettingsHostApi.setJavaScriptEnabled (package:webview_flutter_android/src/android_webview.g.dart:1276:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebViewHostApi.setBackgroundColor (package:webview_flutter_android/src/android_webview.g.dart:1109:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebViewClientHostApi.create (package:webview_flutter_android/src/android_webview.g.dart:1617:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      DownloadListenerHostApi.create (package:webview_flutter_android/src/android_webview.g.dart:1930:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebViewClientHostApi.setSynchronousReturnValueForShouldOverrideUrlLoading (package:webview_flutter_android/src/android_webview.g.dart:1641:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebViewHostApi.setWebViewClient (package:webview_flutter_android/src/android_webview.g.dart:986:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919): #1      Future.wait.<anonymous closure> (dart:async/future.dart:525:21)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919): #2      AndroidWebViewController.setPlatformNavigationDelegate (package:webview_flutter_android/src/android_webview_controller.dart:421:5)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter ( 7919): #0      WebViewHostApi.loadUrl (package:webview_flutter_android/src/android_webview.g.dart:564:7)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
I/PlatformViewsController( 7919): Hosting view in view hierarchy for platform view: 1
I/BufferQueueConsumer( 7919): [](id:1eef00000000,api:0,p:-1,c:7919) connect(): controlledByApp=true
D/Surface ( 7919): lockHardwareCanvas
I/BufferQueueProducer( 7919): [SurfaceTexture-0-7919-0](id:1eef00000000,api:1,p:7919,c:7919) connect(): api=1 producerControlledByApp=true
E/FrameEvents( 7919): updateAcquireFence: Did not find frame.
D/Surface ( 7919): lockHardwareCanvas
E/FrameEvents( 7919): updateAcquireFence: Did not find frame.
E/flutter ( 7919): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create a platform view of unregistered type: plugins.flutter.io/webview
E/flutter ( 7919): 	at io.flutter.plugin.platform.PlatformViewsController.createPlatformView(PlatformViewsController.java:496)
E/flutter ( 7919): 	at io.flutter.plugin.platform.PlatformViewsController$1.createForTextureLayer(PlatformViewsController.java:191)
E/flutter ( 7919): 	at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:128)
E/flutter ( 7919): 	at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:55)
E/flutter ( 7919): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:258)
E/flutter ( 7919): 	at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/flutter ( 7919): 	at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:322)
E/flutter ( 7919): 	at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/flutter ( 7919): 	at android.os.Handler.handleCallback(Handler.java:938)
E/flutter ( 7919): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/flutter ( 7919): 	at android.os.Looper.loop(Looper.java:255)
E/flutter ( 7919): 	at android.app.ActivityThread.main(ActivityThread.java:8212)
E/flutter ( 7919): 	at java.lang.reflect.Method.invoke(Native Method)
E/flutter ( 7919): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
E/flutter ( 7919): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
E/flutter ( 7919): , null, null)
E/flutter ( 7919): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652:7)
E/flutter ( 7919): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310:18)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919): #2      SurfaceAndroidViewController._sendCreateMessage (package:flutter/src/services/platform_views.dart:976:30)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919): #3      AndroidViewController.create (package:flutter/src/services/platform_views.dart:763:5)
E/flutter ( 7919): <asynchronous suspension>
E/flutter ( 7919):
E/libEGL  ( 7919): Invalid file path for libcolorx-loader.so
D/ViewRootImpl( 7919): processKeyEvent,KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_SHIFT_LEFT, scanCode=0, metaState=META_SHIFT_ON|META_SHIFT_LEFT_ON, flags=0x0, repeatCount=0, eventTime=277657936, downTime=277657936, deviceId=-1, source=0x101, displayId=-1 }
D/DecorView( 7919): dispatchKeyEvent handled=false, KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_SHIFT_LEFT, scanCode=0, metaState=META_SHIFT_ON|META_SHIFT_LEFT_ON, flags=0x0, repeatCount=0, eventTime=277657936, downTime=277657936, deviceId=-1, source=0x101, displayId=-1 }, activity=com.example.test_platformviews.MainActivity@3ed5621, mFeatureId=-1

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.13.6, on macOS 14.0 23A344 darwin-x64, locale en-VN)
    • Flutter version 3.13.6 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ead455963c (5 days ago), 2023-09-26 18:28:17 -0700
    • Engine revision a794cf2681
    • Dart version 3.1.3
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio Giraffe.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

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

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

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

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

[✓] VS Code (version 1.82.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.72.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.0 23A344 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 117.0.5938.132

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.16.0-6.0.pre.39, on macOS 14.0 23A344 darwin-x64, locale en-VN)
    • Flutter version 3.16.0-6.0.pre.39 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e27dc0a3f5 (35 minutes ago), 2023-10-08 22:51:26 -0400
    • Engine revision e58a9b3c54
    • Dart version 3.3.0 (build 3.3.0-1.0.dev)
    • DevTools version 2.28.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 32.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio Giraffe.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A240d
    • CocoaPods version 1.13.0

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

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio Giraffe.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

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

[✓] VS Code (version 1.82.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.74.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.0 23A344 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 117.0.5938.149

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

@J-Yaleen It looks like the issue is caused by the fact you are overriding configureFlutterEngine. You need to also call the super method so that all the plugins get registered.
This file: https://github.com/J-Yaleen/demo_20230928/blob/main/android/app/src/main/kotlin/com/example/demo_20230928/MainActivity.kt
Should look something like this:
package com.example.demo_20230928

import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine

class MainActivity : FlutterActivity() {
    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        flutterEngine.platformViewsController.registry.registerViewFactory(
                "<platform-view-type>",
                NativeViewFactory()
        )
    }
}


Enhance dapr list output to provide groupings of apps shown in output

Describe the proposal
To enhance the user experience of dapr list output. We can provide groupings of apps which are started together with a particular run file via dapr run -f. We can provide groupings based on a particular runID which will be generated when apps started with the above command.

@pravinpushkar adding the runID should only be done to affect the specific run, with no changes done to the appID at all.
Additionally with this change, logFile might also need to be renamed to preferably include the runID suffix/prefix.

@mukundansundar Is there a proposal on how the solution should look like?


The Android light baking caused the phone to reboot

Godot version
4.1
System information
Android, Guet 8100
Issue description
As the title suggests, light baking is not stable on Android, causing a lot of errors from colleagues and possibly causing equipment to restart if the project is too complicated. I suspect it may have something to do with a drive or memory leak. (Please run the upload example on Android, then click gi's Light Bake button several times, you will see a lot of errors, note that doing this on a phone with less than 6GB of RAM may cause a reboot!!)
Steps to reproduce
null
Minimal reproduction project
this

You can try adding a few more objects in your project and adding more complex shaders and see what happens (note that it may cause the device to reboot!!).

Compute shaders are pretty broken on mobile, but the GPU-based lightmapper in Godot 4.x requires compute shaders. We should probably disallow baking lightmaps in the mobile editor as it will generally not work in practice.
I guess this is another use case for https://github.com/godotengine/godot-proposals/issues/3921, although baking lightmaps on a mobile device is expected to be very slow in any case.

Can't reproduce in godot 4.3 beta 3, because it unable to bake lightmqp with this error, it happens in both forwerd + and mobile, though doing so in pc works.
scene/3d/lightmap_gi.cpp:744 - Condition "lightmapper.is_null()" is true. Returning: BAKE_ERROR_NO_LIGHTMAPPER


Added ability to spawn new process

I've put a request in with the binary ninja community-plugins repo to include the latest version of this plugin with your updates. Thanks again!


"Frames didn't arrived within 5 seconds" on Ubuntu 18.04.3 (Kernel 5.3.0-26) with librealsense-2.32.1

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux (Ubuntu 18.04.3

Kernel Version (Linux Only)
5.3.0-26-generic

Platform
PC

SDK Version
librealsense-2.32.1

Language

Segment

Issue Description
When I check the depth and rgb image using the tool (realsense-viewer, rs-align, etc.), first time is looking good. But after turn off and on again, it is not working until hardware reset or plug out and in.
The error message is "Timestamp:<PHONE_NUMBER>836.964600
Severity: Warn
Description: Frames didn't arrived within 5 seconds"
I have checked the installation using binary or source build. Both cases have same problem.

@byeongkyu, please attach the kernel and application logs for review.

@byeongkyu Could you please provide more information as ev-mp commented? Thanks!

There are no special messages.
12/02 15:34:15,511 WARNING [140170099660544] (backend-v4l2.cpp:973) Frames didn't arrived within 5 seconds
12/02 15:34:20,515 WARNING [140170099660544] (backend-v4l2.cpp:973) Frames didn't arrived within 5 seconds
12/02 15:34:29,856 WARNING [140170108053248] (backend-v4l2.cpp:973) Frames didn't arrived within 5 seconds
12/02 15:34:30,687 WARNING [140170082875136] (backend-v4l2.cpp:973) Frames didn't arrived within 5 seconds
12/02 15:34:34,861 WARNING [140170108053248] (backend-v4l2.cpp:973) Frames didn't arrived within 5 seconds
12/02 15:34:35,690 WARNING [140170082875136] (backend-v4l2.cpp:973) Frames didn't arrived within 5 seconds
12/02 15:34:39,866 WARNING [140170108053248] (backend-v4l2.cpp:973) Frames didn't arrived within 5 seconds
dmesg
[   29.216371] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[   29.370123] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[   29.421374] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[   29.475126] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[   29.561374] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[   29.612632] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).
[   29.694874] uvcvideo: Failed to query (GET_CUR) UVC control 1 on unit 3: -32 (exp. 1024).

@byeongkyu Is it possible for you to try other kernel version such as kernel 5.0 to see if have the same issue?

@byeongkyu Did you get chance to try kernel 5.0? Looking forward to your update. Thanks!

@byeongkyu Any update from your side? Thanks!

@byeongkyu According to the release note of SDK v2.33.1, there's some fix for kernel 5.3. Please have a try with the latest SDK to see if you still have issue. Thanks!
https://github.com/IntelRealSense/librealsense/wiki/Release-Notes#release-2331

@RealSenseCustomerSupport Sorry for late answer. But it still has an error with kernel 5.3 and SDK v2.33.1.
Kernel: 5.3.0-42-generic #34~18.04.1-Ubuntu SMP
SDK: librealsense 2.33.1-0~realsense0.2079

@byeongkyu What's the firmware version of your camera? I didn't get such issue on my setup with the latest firmware and SDK v2.33.1 on Ubuntu 18.04 kernel 5.3.0-40. If you're using old firmware, could you please try to upgrade it to latest one to see if it helps? Thanks!

@RealSenseCustomerSupport Of course I installed latest firmware using realsense-viewer. I will check on the other computer. Thanks for your reply.

@byeongkyu Thanks for the update! Looking forward to your test update on other computer.

@RealSenseCustomerSupport  On my laptop (kernel 5.4.27+), it works successfully. I will check my desktop. Thanks for your help. :-)


[HotReload] Doesn't seem to work at all when the BindingContext is set to reference other elements on the page

Hello again, @JaneySprings!
I think this may be related to https://github.com/JaneySprings/DotNet.Meteor/issues/83 but I figured I'd spin it out separately as to not cause more noise than I already probably have.
I created a blank .NET MAUI app in an empty folder via the dotnet CLI as follows:
dotnet new install Microsoft.Maui.Templates.net8::8.0.7
dotnet new maui -n Bindings -o .

This basic app, as generated by the template, is a "Hello, World" style app with a simple button whose label is updated with every click.
Importantly, however, I added a label within the XAML that has a BindingContext set to reference another element on the same page, the preceding button's text value. (e.g.  <Label BindingContext="{x:Reference CounterBtn}" Text="{Binding Text}" />)
Everything still seems to work properly at this point.
However, once I add a second label that references a second button... then HotReload stops working until I comment the label out. I've attached two videos, one with one label, one with two, to demonstrate this behavior.
ONE LABEL VERSION: MainPage.xaml.cs:
namespace Bindings;

public partial class MainPage : ContentPage {
  int count = 0;

  public MainPage() { InitializeComponent(); }

  private void OnCounterClicked(object sender, EventArgs e) {
    count++;

    if (count == 1)
      CounterBtn.Text = $"Clicked {count} time";
    else
      CounterBtn.Text = $"Clicked {count} times";

    SemanticScreenReader.Announce(CounterBtn.Text);
  }
}

ONE LABEL VERSION: MainPage.xaml:
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="Bindings.MainPage">
    <ScrollView>
        <VerticalStackLayout Padding="30,0"
                             Spacing="25">
            <Label Text="With Labels!"
                   Style="{StaticResource Headline}"
                   SemanticProperties.HeadingLevel="Level1" />

            <Button x:Name="CounterBtn"
                    Text="Click me"
                    SemanticProperties.Hint="Counts the number of times you click"
                    Clicked="OnCounterClicked"
                    HorizontalOptions="Fill" />
            <Label BindingContext="{x:Reference CounterBtn}"
                    Text="{Binding Text}" />
        </VerticalStackLayout>
    </ScrollView>
</ContentPage>

TWO LABEL VERSION: MainPage.xaml.cs:
namespace Bindings;

public partial class MainPage : ContentPage {
  int count = 0;
  int countTwo = 0;

  public MainPage() { InitializeComponent(); }

  private void OnCounterClicked(object sender, EventArgs e) {
    count++;

    if (count == 1)
      CounterBtn.Text = $"Clicked {count} time";
    else
      CounterBtn.Text = $"Clicked {count} times";

    SemanticScreenReader.Announce(CounterBtn.Text);
  }

  private void OnCounterClickedTwo(object sender, EventArgs e) {
    countTwo++;

    if (countTwo == 1)
      CounterBtnTwo.Text = $"Clicked {countTwo} time";
    else
      CounterBtnTwo.Text = $"Clicked {countTwo} times";

    SemanticScreenReader.Announce(CounterBtnTwo.Text);
  }
}

TWO LABEL VERSION: MainPage.xaml:
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="Bindings.MainPage">
    <ScrollView>
        <VerticalStackLayout Padding="30,0"
                             Spacing="25">
            <Label Text="With Labels!"
                   Style="{StaticResource Headline}"
                   SemanticProperties.HeadingLevel="Level1" />

            <Button x:Name="CounterBtn"
                    Text="Click me"
                    SemanticProperties.Hint="Counts the number of times you click"
                    Clicked="OnCounterClicked"
                    HorizontalOptions="Fill" />
            <Label BindingContext="{x:Reference CounterBtn}"
                    Text="{Binding Text}" />

            <Line WidthRequest="100" />

            <Button x:Name="CounterBtnTwo"
                    Text="Click me"
                    SemanticProperties.Hint="Counts the number of times you click"
                    Clicked="OnCounterClickedTwo"
                    HorizontalOptions="Fill" />
            <Label BindingContext="{x:Reference CounterBtnTwo}"
                    Text="{Binding Text}" />
        </VerticalStackLayout>
    </ScrollView>
</ContentPage>

https://github.com/JaneySprings/DotNet.Meteor/assets/2490879/1196457d-75d9-4925-8c2e-13d027980ac4
https://github.com/JaneySprings/DotNet.Meteor/assets/2490879/572676d3-639b-4631-acf1-cbac64e1e187

Nice catch! This is my mistake. I should you ‘Equals’:
https://github.com/JaneySprings/DotNet.Meteor/blob/798baeaf003449c5b57b491b5734b74cf10e86c4/src/DotNet.Meteor.HotReload/Extensions/MarkupExtensions.cs#L28
I will fix it, write tests and publish release tomorrow.

Hi, @jedlimke! I fixed this issue in the 4.2.1 version. Check for the extension update in VSCode!

@JaneySprings Yep! It works. Thank you!


Don't explicitly set IncludeSymbols to false

This was causing our build system to ignore the symbol.nupkg while publishing the artifacts.
@natemcmaster @pranavkm @bricelam

You can remove line 33 too

You can remove line 33 too

I prefer leaving it alone because that is what we do everywhere else.

@dotnet-bot test OSX 10.12 Release Build

The OSX build failure is unrelated.


fix(csp): update CSP to include Bing & clarity.ms advertising script

Issue
Fixes - https://jira.sdlc.merative.com/browse/MERATIVE-820
Description
Changed

This PR updates both CSPs on Franklin to allow for bat.bing.com to enable Bing advertising for our paid media program.

Design Specs

Figma Link - N/A

Test URLs

Before (Changes from main): https://main--merative2--hlxsites.hlx.page/
After (Changes from this PR): https://fix-csp-bing-advertising--merative2--proeung.hlx.page

Testing Instruction

Enable this deploy preview URL (https://fix-csp-bing-advertising--merative2--proeung.hlx.page) as testing to ensure that the bat.bing.com domain name has been included in the CSP.

Hi @proeung - I may be jumping the gun on testing but I am seeing an error on the test URL: https://fix-csp-bing-advertising--merative2--proeung.hlx.page/

@scottbridgeman @sharathmrft Just updated the header. Can you both check again?

@proeung  - Looks great! That fixed it. Thank you.


guides/chat/authentication.html client.configure feathers.authentication

Hi!
I'm new with feathers. I think I followed the chat guide steps correctly. Everything works fine until:

can be used by adding this to public/app.js:

client.configure(feathers.authentication({
  storage: window.localStorage
}));

Where should I put it? Before or after...
client.configure(feathers.socketio(socket));
I get the following error message in console:
Uncaught Error: It looks like feathers-hooks isn't configured. It is required before running feathers-authentication.
at Object. (https://npmcdn.com/feathers-client@2.2.0/dist/feathers.js:887:15)
at https://npmcdn.com/feathers-client@2.2.0/dist/feathers.js:3381:17
at Array.forEach (native)
at Object.service (https://npmcdn.com/feathers-client@2.2.0/dist/feathers.js:3380:17)
at Object.service (https://npmcdn.com/feathers-client@2.2.0/dist/feathers.js:3369:21)
at http://localhost:3030/app.js:35:25
Any ideas?

You need to configure the hooks plugin before the authentication plugin.

https://docs.feathersjs.com/api/client.html#load-from-cdn-with-script

Everything is working now! Thank you for the help


[node] Update nan to 2.19.0

Fixes the node build error caused by SetAccessor. I think this was fixed by https://github.com/nodejs/nan/pull/966

Thanks! Please backport this also to the opengl-2 branch.

Thank you!!


Server reported an error when the client connected using mqtt v5.0

WRN error="read connection: client identifier not valid" listener=tcp
This error probably introduced by fix #171 #172.
In addition, if Username is not specified during client connection, the server reports an error：
WRN error="protocol violation: username flag set but no value" listener=tcp
I used mqttx of EMQX test and found this two problems.

I don't think this is related to my fix #171 #172.
Using the latest version of MQTT X 1.9.1 in combination with the Client Ids autogenerated by the tool or my own ones, I cannot reproduce the first error "read connection: client identifier not valid".
I can reproduce the second error in case the Username field in MQTT X is left empty. The MQTT X Tool always sets the User Name Flag to 1 in the CONNECT packet, even if the Username field is left empty. When receiving such a CONNECT packet, Mochi reports a protocol violation according to [MQTT-3.1.2-17]: If the User Name Flag is set to 1, a User Name MUST be present in the Payload [MQTT-3.1.2-17].
I'm not sure if this interpretation is quite correct, as the User Name is present in the CONNECT packet, although it only consists of the two bytes [0 0], indicating an empty UTF-8 encoded string. One might interpret [MQTT-3.1.2-17] to also allow an empty User Name if the User Name Flag is set to 1.
Other publicly available brokers such as HIVEMQ (broker.hivemq.com) and EMQX (broker.emqx.io) accept such CONNECT packets.
For reproduction, please find next the raw bytes of the CONNECT packet sent by the MQTT X tool and received by Mochi:
[
0 4 77 81 84 84 5   // MQTT 5

130   // byte 8 connect flags User Name Flag = 1, Clean Start = 1

0 60  // keep alive 60

5   // Properties  VBI length 5

17 0 0 0 0  // session expiry

// Connect Payload

0 14 109 113 116 116 120 95 51 48 100 50 48 102 97 56  // Client Identifier mqttx_30d20fa8

0 0  // User Name 2-byte UTF-8 length = 0, empty username
]

Thank you very much for your investigation @ffa500 and for raising it @wind-c! I have implemented a change in v2.2.4 which treats Connect packets with the username flag but no username as valid as long as the LSB+MSB bytes are correct [0,0] (as in the example packet).
Please let me know if it resolves the issue!

Works like a charm!


Misleading Information.

Please add details that the fingerprinting is limited to Exchange online only and would not cover any other workloads in the M365 Suite. Also, please correct the MCAS documentation as it suggests that you can use fingerprinting in MCAS policies.

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

ID: 327f1fbb-ffb4-4d3a-53db-d43ad239ef0c
Version Independent ID: f23ccb3e-b493-8eaf-d87d-61ae6acc3919
Content: Document Fingerprinting - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/document-fingerprinting.md
Service: exchange-online
GitHub Login: @chrfox
Microsoft Alias: chrfox

Hi @iamvishals
Thank you for your comment,  I am investigating this and will update the content as appropriate.

@iamvishals
confirmed with PG that the documentation is correct, document fingerprinting can be used in MCAS file policies.


refactor: remove task_registry.py

Remove the layer of indirection
Remove _module from naming

Sorry @KennethEnevoldsen, will fix failing tests first.


[REQUEST] Settings Tab

Reference Issues
How can I adjust the code in the  Settings tab, so that Retrieval settings and Reasoning settings only visible to Admin user ? (Normal user cannot see these 2 tab)

Summary
I think it need to adjust in the libs/ktem/ktem/main.py, similar to Resources tab not visible to Normal user
Basic Example
as above
Drawbacks
This feature will make the app better.
Additional information
No response

No comment ?


Ring operator ∘ (Function Composition Operator) is not documented

Some info here: https://p6weekly.wordpress.com/2015/10/05/2015-41-a-new-face/

Added in 6c977d85af038c1a55f8651d8f0182fbfe37f5d9, I believe.


Use the latest version of python grpc

Change-Id: I4a15df354e415216c62390427115cb5f7b61be1d

[Current coverage][cc-pull] is 92.93%

Merging [#40][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master        #40   diff @@
==========================================
  Files             3          3
  Lines           594        594
  Methods         119        119
  Messages          0          0
  Branches         90         90
==========================================
  Hits            552        552
  Misses           42         42
  Partials          0          0

Powered by Codecov. Last updated by [e79fc98...8808b71][cc-compare]
[cc-base-branch]: https://codecov.io/gh/googleapis/packman/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/googleapis/packman/compare/e79fc9863604b71b6c8fa2702bcca3551ffc2cd8...8808b71755c301b9dede4f714e562c994368460b
[cc-pull]: https://codecov.io/gh/googleapis/packman/pull/40?src=pr

lgtm

I think this is not necessary anymore, me and @bjwatson already committed the similar changes.

Confirmed. This has been superseded by other PRs.


not an issue, but would be very helpful for many users - docker compose instructions

Is it possible to provide instructions for docker compose?

Sure, I will try to provide a docker image together with some instructions ... just give me some time :-)


Add endpoint for referee rsvp

Is this different than #86 ?

Yes, just because they are signed up doesn't mean they will go, right? If they rsvp and say no, then we know to reach out to a referee pool.

Oh I see. So I guess my next question is if refs need to rsvp? I thought only players rsvp so the captains can get subs, I don't recall Jacob ever saying anything about refs needing to rsvp. I could be wrong though.


feat(actions): add create-release-draft action

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 67.84%. Comparing base (50360e9) to head (cbad923).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #787   +/-   ##
=======================================
  Coverage   67.84%   67.84%
=======================================
  Files          31       31
  Lines        3135     3135
=======================================
  Hits         2127     2127
  Misses        860      860
  Partials      148      148

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


New action request: actions-rs/toolchain

Action name
uses: actions-rs/toolchain
Reasons
actions-rs/toolchain

Intended usage
actions-rs/toolchain

I have checked the internal marketplace for similar actions and couldn't find one that works for us.

[X] I have checked the internal marketplace first

:robot: Found these results:

Check
Results
Links

CodeQL on the forked repo
:x:
CodeQL run

Security scan:

Check
Result

No Dependabot configuration found
⛔

No CodeQL Init found
⛔

No CodeQL Analyze found
⛔

:robot: Check completed with result: ⚠
Found 26 Dependabot security vulnerabilities:
15 where high and 11 where moderate.
Use this link to verify the alerts.

:robot: Check completed with result: ⚠
Found 26 Dependabot security vulnerabilities:
15 where high and 11 where moderate.
Use this link to verify the alerts.

:robot: Found these results:

Check
Results
Links

CodeQL on the forked repo
:x:
CodeQL run

Security scan:

Check
Result

No Dependabot configuration found
⛔

No CodeQL Init found
⛔

No CodeQL Analyze found
⛔

:robot: Check completed with result: ⚠
Found 26 Dependabot security vulnerabilities:
15 where high and 11 where moderate.
Use this link to verify the alerts.


cmd/server: add admin route to debug indexed SDN information

We're including several steps between parsing the agencies file and what results are returned for a query. To help debugging we're adding a route for SDN entries to show their unexported fields (indexed name, remarks id, etc).
With lists that have unique ids for each entry this type of route works great, but not every list offers that.

Codecov Report

Merging #218 into master will decrease coverage by 0.96%.
The diff coverage is 81.81%.

@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
- Coverage   68.31%   67.35%   -0.97%
==========================================
  Files          31       32       +1
  Lines        2964     2996      +32
==========================================
- Hits         2025     2018       -7
- Misses        744      790      +46
+ Partials      195      188       -7


Use future.annotations to avoid needing typing.List, typing.Dict annotations

Our minimum supported Python version is 3.7, so we can use from __future__ import annotations safely: https://docs.python.org/3/library/future.html#id2.
This changeset just does one module. Can do the rest in a follow-up.

oh cool


pub outdated --mode=null-safety output incorrect

Running dart pub outdated --mode=null-safety on my project says that all packages fully support null safety, but dart migratedisplays a warning.
dart --version
Dart SDK version: 2.12.0-edge.bf968d56270185ffd7b2600288e56f82c5bbe09d (be) (Fri Oct 30 20:59:22 2020 +0000) on "macos_x64"

Steps to reproduce

Create a new "dart package" project in IntelliJ

name: null_safety_migration_messages
description: A starting point for Dart libraries or applications.

environment:
  sdk: '>=2.12.0 <3.0.0'

dev_dependencies:
  test: '>=1.15.4 <2.0.0'
  pedantic: ">=1.9.2 <2.0.0"
  coverage: ">=0.13.11 <0.14.0"

Run dart pub outdated --mode=null-safety
dart pub outdated --mode=null-safety
Running in 'null safety' mode.
Showing packages where the current version doesn't fully support null safety.

Newer versions, while available, are not mutually compatible.

This is confusion about the output.
You dependencies "all fully support null safety", because there are none, however your dev_dependencies and transitive dev_dependencies don't support null safety.

The message is "transitive dependencies: all fully support null safety" - I think this should be "transitive dependencies: not all fully support null safety" or something similar.

I'm misreading - this can be closed.
One idea might be to change the - to <no version available> or X. But I don't think this is a bug.


Language server

This PR contains a working version of the extension which can communicate with a klog binary.
It is not optimally written, as I am still unfamiliar of how to write extensions, but it works.
Ideally, before this is merged, there should be a check to see which version of klog is being used, as this extension requires klog v2.3 or newer due to a bug with with previous releases regarding piping data. However, I deem it acceptable to simply specify this in the README.

yolo


Serialization header RFC

Rendered

+1 for proto stream format version - this would be so much nicer than the current failure mode (terminate called after throwing an instance of 'std::out_of_range in the most recent case)


What're slots and pool?

Why they are different?
Please give me more info, and can I put it into doc in later?

What's slots and pool?
What are they look like?
slots:
slots: <String, Dependent<PageState>>{
    'report': ReportConnector() + ReportComponent()
})

pool:
pool: <String, Component<Object>>{
    'toDo': ToDoComponent(),
},
/// connector: _ToDoListConnector(),
/// reducer: buildReducer(),

Where are they used?
slots:

buildComponent

// view.dart buildView
children: <Widget>[
    viewService.buildComponent('report'),
],
/// .....
// dependencies.dart
slot(String type) => slots[type]; // slot is slots !!
// context.dart DefaultContext
@override
  Widget buildComponent(String name) {
    assert(name != null, 'The name must be NotNull for buildComponent.');
    final Dependent<T> dependent = logic.slot(name);
    final Widget result = dependent?.buildComponent(store, getState) ??
        store.buildComponent(name);
    assert(result != null, 'Could not found component by name "$name."');
    return result ?? Container();
  }

In Logic protectedDependencies is dependencies

reducer

/// dependencies
if (slots != null && slots.isNotEmpty) {
  slotsReducer = combineSubReducers(slots.entries.map<SubReducer<T>>(
    (MapEntry<String, Dependent<T>> entry) =>
        entry.value.createSubReducer(),
  ));
}
return combineReducers(<Reducer<T>>[slotsReducer, adapter?.reducer]);

other in StaticFlowAdapter

// StaticFlowAdapter
slots.map(
  (Dependent<T> dependent) => dependent?.createSubReducer(),
),
/// .....
final Dependent<T> dependent = _slots[i];
/// .....
dependent.createContext(///.....
dependent.buildAdapter(///.....
dependent.buildComponent(///.....

pool:
// DynamicFlowAdapter
final AbstractLogic<Object> result = pool[type];
....

Why they are different?
Other info
// DynamicFlowAdapter
pool: <String, AbstractLogic<Todo>>{
  'toDo': ToDoComponentInstrument(track),
  'toDoNoReducer': ToDoComponentNoReducer(track),
},
connector: Connector<ToDoList, List<ItemBean>>(
    get: (ToDoList toDoList) => toDoList.list
        .map<ItemBean>((Todo toDo) => noReducer
            ? ItemBean('toDoNoReducer', toDo)
            : ItemBean('toDo', toDo))
        .toList(),


I am getting error in renaming the columns

Issue Report Checklist

[ ] Searched the issues page for similar reports
[ ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[ ] Tried basic troubleshooting (if a bug/error)

[ ] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[ ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
CODE:
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
url="C:/Users/Lenovo/Desktop/Edited_car1.csv"
car=pd.read_csv(url)
drive_wheels_count=car["drive-wheels"].value_counts()
drive_wheels_count.rename(columns={'drive-wheels':'value_count'},inplace=True)
What steps reproduce the problem?

Retyping the code

What is the expected output? What do you see instead?
The column name should have changed
Paste Traceback/Error Below (if applicable)

runfile('C:/Users/Lenovo/.spyder-py3/untitled0.py', wdir='C:/Users/Lenovo/.spyder-py3')
Traceback (most recent call last):

File "C:\Users\Lenovo.spyder-py3\untitled0.py", line 7, in
drive_wheels_count.rename(columns={'drive-wheels':'value_count'},inplace=True)

TypeError: rename() got an unexpected keyword argument 'columns'

Versions

Spyder version: 4.0.1
Python version: 3.6
Qt version:
PyQt version:
Operating System name/version: windows 7, 64-bit

Dependencies

[
![image](https://user-images.githubusercontent.com/64554000/80918372-386aa700-8d82-11ea-9f0a-e62291e8e4ed.png)
](url)

Hi @Aditya222002, thanks for reporting.
However this issue is not a Spyder related issue. It seems a Pandas issue, or by reading
TypeError: rename() got an unexpected keyword argument 'columns' a problem in how you are using pandas.
Please refer to the pandas documentation or their issue tracker. https://github.com/pandas-dev/pandas
Cheers!


Automated cherry pick of #1741: 避免设置disable的cloudproviderregion状态

Cherry pick of #1741 on release/2.11.0.
#1741: 避免设置disable的cloudproviderregion状态

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11.0@e05608a). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.11.0   #1742   +/-   ##
================================================
  Coverage                  ?   7.65%
================================================
  Files                     ?     412
  Lines                     ?   63135
  Branches                  ?       0
================================================
  Hits                      ?    4836
  Misses                    ?   57892
  Partials                  ?     407

Flag
Coverage Δ

#aFlag
7.65% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/cloudproviders.go
1.12% <0%> (ø)

pkg/compute/models/cloudproviderregions.go
0.39% <0%> (ø)

Continue to review full report at Codecov.

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

/lgtm
/approve


Nice URL

Some possibilities

<something>.arc.ucl.ac.uk
rse.arc.ucl.ac.uk
ucl.ac.uk/arc/<something> (this is a bit trickier)
"Just link" in the ways of working.

Definition of done

[ ] Blocked by #23
[ ] We've decided what we want
[ ] Redirect exists

Noting the tumbleweed in https://github.com/UCL-ARC/python-tooling/issues/468


Unable to insert data which all column's value is null

I make PostgreSQL connection test program by using Iciql. About below entity:
@Iciql.IQTable(name="Student")
public class Student {

    @Iciql.IQColumn(name = "ID", primaryKey = true, autoIncrement = true)

    public Integer id;

    @Iciql.IQColumn(name = "NAME")

    public String name;
    …
}

I try to insert a data which all column has NULL value.
db.insert(new Student(null, null));

Then below exception occurred:
com.iciql.IciqlException: ERROR: syntax error at or near ")"
  Position: **
INSERT INTO Student() VALUES()

Maybe in the insert query construction process which make query in Table(...) and VALUES(...) has some technical problems when insert data which whole column is NULL assigned.

This is a duplicate of #19 albeit with a better description.


Suggestion: Allow ES6 export syntax in namespaces

TypeScript Version<EMAIL_ADDRESS>Search Terms: namespace, import, export, re-export, module
Code
import { Point } from "./Point";

export type Line = {
  readonly p1: Point;
  readonly p2: Point;
  readonly points?: readonly [Point, ...(readonly Point[])];
};

export namespace Line {
  export { Point } from "~/Point"; // TS says "Export declarations are not permitted in a namespace"
  // `export { Point };` <-- Should also work.
}

type LinePoint = Line.Point;
// ^ Somehow this actually works, i.e. `LinePoint` equals `Point`

Expected behavior:
Exporting from a namespace should mirror ES6 module exports, i.e. export { X }, export { X } from "...", and export * as NS from "..."
The lack of syntax for re-exports makes it very hard to use namespace/type/function merging abilities to represent nice APIs. Here's an example of what a module could look like if this was allowed...
// User.tsx

import { Admin } from "./Admin";
import { Member } from "./Member";

export type User = Admin | Member;
export type Props = { readonly user: User; };

export function User({ user }: Props) {
  return Admin.isAdmin(user) ? <Admin admin={user} /> : <Member member={user} />;
}

export namespace User {
  export { Admin, Member }; // Nice.
  export const isAuthenticated = (user: User): boolean => true;
}

// Home.tsx

import { User } from "./User";

export function Home({ user }: User.Props) {
  return <User.Admin admin={useAdmin()} />; // An example of what this enables.
}

Actual behavior:
TypeScript says "Export declarations are not permitted in a namespace," even though it actually respects the export declaration outside of the namespace.
Playground Link:
https://www.typescriptlang.org/play/#code/HYQwtgpgzgDiDGEAEBBJBvAUEnSIA8YB7AJwBcl4jgoKQkBeJAIhGaRCkutoG5MAvpkyhIsBMgBCGbLgLFyGVEgH8hmKjQr5GSSQDoU+kLyA
Related Issues:
https://github.com/microsoft/TypeScript/issues/20273
This issue showcases some of the syntax gymnastics needed to get around this issue.
https://github.com/microsoft/TypeScript/issues/4529
https://github.com/microsoft/TypeScript/issues/4529#issuecomment-140932811
More examples of verbose workarounds.
https://github.com/microsoft/TypeScript/issues/38041#issuecomment-616807133
@rbuckton Provides a nice example of what this could look like if enabled.
https://github.com/microsoft/TypeScript/issues/38041#issuecomment-662142857
My comment with another motivating example after the issue was closed.

@mhegazy Blast from the past...
https://github.com/microsoft/TypeScript/issues/4529#issuecomment-231476618
There's finally an issue tracking this 😅

Here's more "in the wild" code I found showing the syntax noise needed to get around this...
// index.ts

import * as Details_ from "./Details";
import * as Dashboard_ from "./Dashboard";
import * as Create_ from "./Create";
import * as Admin_ from "./Admin";

import { API } from "../API";

export type Claim = API.GetClaimQuery["getClaim"];
export namespace Claim {
  export const Create = Create_;
  export const Details = Details_;
  export const Dashboard = Dashboard_;
  export const Admin = Admin_;
}

Here's more relevant discussion: https://github.com/microsoft/TypeScript/issues/36684#issuecomment-627543157

Another relevant discussion: https://github.com/microsoft/TypeScript/pull/31231#issuecomment-537383472

Relevant Stack Overflow issue: https://stackoverflow.com/questions/47500855/exporting-imports-as-a-namespace-with-typescript

Here's a repo someone created to demonstrate this issue, coincidently I used the same Point example in this issue: https://github.com/danprince/ts-export-types-bug

I just found out that this works, but only in an ambient context, which is bizarre:
declare module "./Line" {
  export namespace Line {
    export { Point };
  }
}

This is also a feature I've been looking for.
I've done this more times than I'd like to admit:
import * as Handler_ from "./Handler"

type Connection = ...
namespace Connection {
  export const Handler = Handler_
}

Just to achieve
const connectionHandler = Connection.Handler.create()

Another way to achieve this without new syntax would be to allow type and value imports to have the same name, as is common in other scenarios...
import * as Connection from "./Connection"; // namespace
import { Connection } from "./Connection"; // type

You can also basically achieve this, but with huge drawbacks, using classes:
import { Point } from "~/Point";

class Line {
  static readonly Point = Point // works, but you can't do `export { Point }` in a namespace 👎
}

Sorry if this is the wrong place to ask but namespace will still be a thing to be worked on? I usually encounter deprecation messages when I use it and Storybook sends an error message telling me to configure babel if I want to use it.
Like @cruhl, I also found namespace to be a nice way to organize data and keep it more semantic
// basic example
// Printer.ts
`export namespace Printer {
export type Type = 'laser' | 'LED' | '3D';
export type Return = { success: boolean, data: object };
}
export interface Printer {
print (type: Printer.Type): Printer.Return;
}
// MyPrinter.ts
class MyPrinter implements Printer {
print (type: Printer.Type): Printer.Return {
// do stuff
return { success: true, data: {} };
}
}`

@andrewbranch I apologize if tagging you directly isn't the right move, let me know if that's the case, but I was wondering if you could provide some insight since you recently closed another related issue.
This is still something I believe would be a useful change and I'm eager/willing to champion/help in whatever way I can. Any pointers for moving the issue forward? Thanks in advance!

This issue has popped up again:
https://github.com/microsoft/TypeScript/issues/51109

If there's a good reason to not implement this feature I'd love to know about it.  I feel as though I've seen this issue pop up a few times and it always gets closed with little-to-no explanation.  I suppose if we could come up with a PR then maybe we could get some more in-depth feedback.

This amazingly works...

Wow, still too much syntax, but it's so much better than export import Something = Something_...

Another use case is exporting values with keywords as names (like return or try). Those might be generated from an external specification and should keep the original names.
cruhl's workaround works with some modification:
declare namespace WorkflowStepBuilder {
    const _return: (value: string) => WorkflowStep<'return'>;
    export {_return as return};
}

namespace WorkflowStepBuilder {
    function _return(value: string): WorkflowStep<'return'> {
        return {step: 'return', value: value}
    }

    WorkflowStepBuilder.return = _return;
}

Quite a pain to write the generator for such scenarios

For reference, this is how I'm doing this nowadays...
https://github.com/Stability-AI/StableStudio/tree/main/packages/stablestudio-ui#⃣-domain-syntax


Authentication

Gateway webserver has authentication mechanics. For MVP, let's make the user to enter in this password instead of reading it from the environment. We'll need to make sure our MVP deployment scripts don't hardcode password so I can login to @okjodom's gateway :)
This may require fedimint changes but making the issue here so we get the end-to-end change.

Replaced by https://github.com/fedimint/ui/issues/90


Replace values in step 9

Please note that both the ResourceGroupName and the Name (for the gateway) used in the code in step 9 should be replaced with the name of the resourcegroup and the gateway used in step number 8.

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

ID: 186c0697-792a-a913-1baa-0af86f7ef6de
Version Independent ID: 330e7927-57fd-75e2-26b1-05bd2e8f30c1
Content: Create an Azure Active Directory tenant for P2S VPN connections: Azure AD authentication
Content Source: articles/vpn-gateway/openvpn-azure-ad-tenant.md
Service: vpn-gateway
GitHub Login: @anzaman
Microsoft Alias: alzam

@ralpje , Thank you for your feedback. We will investigate and get back to you shortly.

PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/95643


cav7 architecture specifics in ps_arch_xxx.h

Merged ps_arch.h from Runyu's stuff into the latest, fixed some for style and added configuration option for build configuration.

Thanks for the feedback. I resolved them all.

@gparmer Addressed your feedback and moved arm stuff to armv7a now. Ready for merge whenever its convenient for you.

Let me know when to merge. I assumed that you tested that x86 still works? As you made no general modifications, I'd assume so...

It is ready to merge.
I've tested the compilation of the same for x86 through composite, and it works fine. As you mentioned, I touch nothing for x86.
However, I am still blocked on debugging the bootup issue of the Cos system on x86 after merging Runyu's platform stuff.


Brawlstar update no longer loads in Bluestacks 5

I've tried clearing cache, restarting, and updating Bluestacks without any luck. Anyone else encountering this?

Yes, after updating BrawlStars I can't enter brawlstars.

Were you able to set up the bot successfully?

No, seems like a common issue with Bluestacks after Brawlstars updates. Hopefully Bluestacks updates soon.

Yes I hope.

working again.


Slow scroll speed not triggering steps on mobile

Works great on desktop, but on mobile (android chrome/ff and ios safari) if you slow your scroll speed right down the animations don't trigger. The code that is setting up the scroll handlers is pretty simple, it just adds a class that then triggers some css animations:
const debug = false;
const scroller = scrollama();
const $sections = document.querySelectorAll(".l-prose-blocks__block");

scroller
	.setup({
		step: $sections,
		offset: 0.9,
		once: true,
		debug: debug,
	})
	.onStepEnter(res => {
		res.element.classList.add("is-visible");
	})

edit: I removed the link since I had to disable animations because of this bug, I can try and get it to reproduce in isolation hopefully soon

Got a demo here: https://seb-b.github.io/
Red lines are the trigger points
It seems to happen with a mixture of slow + long scrolling and pausing.
Chrome on android past trigger point:

Safari on ios past trigger point:


add link to docs

Just added a link to docs in the readme.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@ee0ae34). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #591   +/-   ##
==========================================
  Coverage           ?   44.85%
==========================================
  Files              ?      271
  Lines              ?    11198
  Branches           ?     5908
==========================================
  Hits               ?     5023
  Misses             ?      750
  Partials           ?     5425

Continue to review full report at Codecov.

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


Feature request: static bit_length() method on types

I'm using the remainder from a big integer to get position in a bit field, like so:
position_in_block = input % RemainderFromInputGetsYouPositionInBitField;
The bit field size is known at compile time, but I want to be able to easily tune it, so I've tried the following (type conversion omitted):
position_in_block = input % PackedBlock::from(0).bit_length();
This works (and I imagine it's very useful in generics), but incurs significant runtime overhead compared to a hardcoded value (this is in a hot codepath and total execution time went up 20% because of it). I've also tried putting the same thing in a constant, but the compiler does not allow that either: "calls in constants are limited to constant functions, struct and enum constructors".
Adding static bit_length() methods on primitive types would be very useful for such use cases. This is the last thing holding me back from completely abstracting the code from the size of the bitfield.

Sorry for the late reply!
So you're proposing to make bit_length a const fn? I would love to do that, but unfortunately it's not possible to make trait functions const.
It's a bit strange that the compiler didn't inline this in your case. Did you compile with optimizations (i.e. in release mode)?

Yeah, I'm sure I compiled it in release mode. I had a somewhat weird LLVM target though (asm.js), I'm not sure if that could affect inlining or not.

Hmm, I'm not sure either. Could be that the LLVM optimizer isn't that mature for asm.js yet… Maybe ask on the Rust IRC channel?

Is this still a problem @Shnatsel?
With #10, the bit_length method is now independent of &self, i.e. u32::bit_length() instead of 0u32.bit_length(). I also opened #13 to turn it into an associated BIT_LENGTH constant, but we can't merge it until the const_size_of feature becomes stable.

Closing in favor of #13.


Add Global mode to TimeSeriesWidget

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 74.318%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1392

Relevant Lines:
1770

💛  - Coveralls


Fix memory leaks in CupertinoPageTransition

Part of https://github.com/flutter/flutter/issues/141198
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

cc @polina-c

@polina-c I managed to "fix" the tests in route_test.dart, I tried to explain them, tell me if something is obscure

@polina-c This was the same as https://github.com/flutter/flutter/pull/147133 but I believe there are some flows in the PR that this one fixes. I think we can keep it open

@Piinks , Valentin is suggesting functional fix in the animation, as side effect of the leak fix. Can you help to review it or suggest someone who has enough expertise?

@polina-c This was the same as #147133 but I believe there are some flows in the PR that this one fixes. I think we can keep it open

Nope, if the change is good, we want to push it forward. You believe it is good, right?
It just will take more time to explain it to others :)

You believe it is good, right?

I've at least started to convince myself it is good haha 😅 It for sure needs a confirmation from someone with expertise

@ValentinVignal it looks like there are a lot of changes here unrelated to fixing the leak, some of the changes are identical code, just moved around. I can't actually tell what has changed to fix the leak. Can you revert those unrelated changes?

Sorry about that, it's because we had 2 PRs with conflict. I can try to start everything again

@Piinks @polina-c The changes should have been cleaned now

@MitchellGoodwin , may I get your formal approval to kick off google testing?

Google testing is marked as red, but the tests on CL actually passed. Marking as infra failure.


Searching for bugs, nothing to see here... xsgtjh

Searching for bugs, nothing to see here... xsgtjh

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


"System upgrade" Error with latest kernel-core-6.11.11-300.fc41.x86_64

I've gone to update today through Discover and receiving this error message
Internal error:
Error running transaction: installing package kernel-core-6.11.11-300.fc41.x86_64 needs 48MB more space on the /boot filesystem
I've previously upgraded the system from Ultramarine 40 to 41 with one other update inbetween

FYRA-131 "System upgrade" Error with latest kernel-core-6.11.11-300.fc41.x86_64

I signed up for an account at Linear and says I don't have access to this workspace. Contact the Admin.
I also tried to update Ultramarine using the terminal and more or less got the same error message in terminal.

FYRA-131 "System upgrade" Error with latest kernel-core-6.11.11-300.fc41.x86_64

I signed up for an account at Linear and says I don't have access to this workspace. Contact the Admin.

Linear is our own internal project management system similar to Jira. It's restricted to us only.

Error running transaction: installing package kernel-core-6.11.11-300.fc41.x86_64 needs 48MB more space on the /boot filesystem

Delete your old kernel packages. Additionally if your /boot partition is small, set installonly_limit key to 2 or less to only keep the last 2 (install-only) kernel packages in the system on new subsequent updates.


Issue with multiple between-group comparisons

I'm trying to complete a between-group analysis (i.e. control group vs. test group) across 3 different control conditions. You have an excellent option for this (final plot on: https://acclab.github.io/dabestr/articles/tutorial_basics.html), but I get the following error:
"Error in PermutationTest(ctrl_measurement, test_measurement, effect_size = effect_size_type,  :
The two arrays do not have the same length."
Is there perhaps something I am not doing correctly? To me the arrays should not need the same length.
Kind regards,
Mark

Per my comment above, it seems to do this even when I try just a simple between-group comparison just for the control group (n=64) vs. the test1 group (n=15). I get the same error.

Hi @MarkKramer, sorry for the late reply!
This issue has been addressed previously and resolved in the latest version that is available on the development branch.
You may update your version of dabestr to the development version via:
devtools::install_github(repo = "ACCLAB/dabestr", ref = "dev")

You may also see the issue thread regarding the same issue here: https://github.com/ACCLAB/dabestr/issues/154.
Hope this helps :)

Issue closed with no response for a long time


FI-1880: Misc. documentation

Summary
This branch adds documentation for some small remaining features and fixes typos/cleans up remaining docs.
Testing Guidance
bundle exec jekyll s in docs, then go to localhost:4000/inferno-core.

Codecov Report
Base: 73.54% // Head: 94.22% // Increases project coverage by +20.67% :tada:

Coverage data is based on head (63cdc94) compared to base (822bef1).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #317       +/-   ##
===========================================
+ Coverage   73.54%   94.22%   +20.67%
===========================================
  Files         192      115       -77
  Lines        9453     3081     -6372
  Branches      776      357      -419
===========================================
- Hits         6952     2903     -4049
+ Misses       2088      178     -1910
+ Partials      413        0      -413

Flag
Coverage Δ

backend
94.22% <ø> (ø)

frontend
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

client/src/components/InputsModal/styles.tsx

client/src/store/devtools.ts

...TestSuiteDetails/TestListItem/InputOutputsList.tsx

...mponents/TestSuite/TestRunButton/TestRunButton.tsx

...mponents/TestSuite/TestSuiteDetails/ResultIcon.tsx

client/src/components/App/Page.tsx

client/src/hooks/useTimeout.ts

...stSuite/TestSuiteDetails/TestSuiteDetailsPanel.tsx

client/src/api/infernoApiService.ts

...nts/TestSuite/TestSuiteDetails/TestSuiteReport.tsx

... and 67 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I realized I need to add documentation for check_configuration to this.

I added documentation for configuration checks and FHIR resource validation, so this PR should be ready for review now.


Directory().list can't recurse past directories that report permission denied

I'm essentially trying to re-implement the linux find command in dart (this is part of a console  api that I'm writing).
The problem that I'm encountering is that the Directory().list command throws an exception when it encounters a directory for which it doesn't have permission to access.
The standard linux find command simply reports an error and continues scanning for additional files.
Like the linux find command I'm looking to be able to continue listing directories even if a permission denied error occurs.
The dart Directory.list command throws an exception :
FileSystemException: Directory listing failed, path = '/usr/lib/ssl/private' (OS Error: Permission denied, errno = 13)

void main(List<String> args) {
  var listener = Directory('/').list(recursive: true);
  listener.listen((entity) {
  });
}

Note: the listener is required to reproduce the error.
The current implementation means that its impossible to guarantee a complete directory listing if there is just one file or directory for which the user doesn't have access.
Not certain of the best way to solve the problem but a couple of possibilities:

additional named argument - skip/suppressPermissionDenied - it would be nice if these were reported through the onError mechanism or some info on the produced 'FileSystemEntity'.
honour the cancelOnError flag

I'm probably mis-understanding this but I thought if cancelOnError was false that the stream would keep running even if an error was produced. I guess the exception isn't considered a recoverable error?

Option 2 feels like it might cause breakage in the api contact.
System info.
dcli doctor
DCli version      0.21.0

OS                linux
OS Version        Linux 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020
Path separator    /

dart version      2.9.1

dcli path         /<HOME>/.pub-cache/bin/dcli
dart exe path     /usr/bin/dart
dart path         /usr/bin/dart                                           which: /usr/bin/dart
dart2Native path  /usr/lib/dart/bin/dart2native                           which: /usr/lib/dart/bin/dart2native

pub path          /usr/lib/dart/bin/pub                                   which: /usr/lib/dart/bin/pub
Pub cache         /<HOME>/.pub-cache

Package Config    /tmp/temp/file:/<HOME>/git/dcli/.packages

PATH
                  /usr/local/sbin
                  /usr/local/bin
                  /usr/sbin
                  /usr/bin
                  /sbin
                  /bin
                  /usr/games
                  /usr/local/games
                  /snap/bin
                  /usr/lib/dart/bin
                  /<HOME>/apps/flutter/bin
                  /<HOME>/.pub-cache/bin
                  /<HOME>/.dcli/bin

$SHELL            /bin/bash
Detected SHELL    bash
Shell Start Scrip Not Found

Dart location(s)
                  /usr/bin/dart

Permissions
HOME              rwxr-xr-x <user>:<user> /<HOME>
.dcli             rwxrwxr-x <user>:<user> /<HOME>/.dcli
cache             rwxrwxr-x <user>:<user> /<HOME>/.dcli/cache
dependencies.yaml rw-rw-r-- <user>:<user> /<HOME>/.dcli/dependencies.yaml
templates         rwxrwxr-x <user>:<user> /<HOME>/.dcli/templates

.dcli/dependencies.yaml
  dcli            dcli: ^0.20.0
  args            args: ^1.5.2
  path            path: ^1.6.4

Thanks for the report! My read on the above is that we don't have a way to return a partial directory listing (of the items we can see), or, that we don't list everything in a directory (but wouldn't allow you to get additional info about items that we don't have permissions for)?

I'm not looking for additional info just for the listing to continue and
ideally report that permission was denied.
The current implementation severely restricted the usefulness of the list
method.
On Wed, 26 Aug 2020, 6:06 am Devon Carew<EMAIL_ADDRESS>wrote:

Thanks for the report! My read on the above is that we don't have a way to
return a partial directory listing (of the items we can see), or, that we
don't list everything in a directory (but wouldn't allow you to get
additional info about items that we don't have permissions for)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/43179#issuecomment-680242563,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG32OFMWZ7F5HUGMU6WZGDSCQKS7ANCNFSM4QKUZGTA
.

If you run the linux find command you see output as follows:
find / -name 'fred'

/run/libvirt/nwfilter-binding
find: ‘/run/libvirt/nwfilter-binding’: Permission denied
/run/libvirt/nwfilter
find: ‘/run/libvirt/nwfilter’: Permission denied
/run/libvirt/nodedev
find: ‘/run/libvirt/nodedev’: Permission denied`

To get a similar result I'm thinking that the returned FileSystemEntry should return the name of the entity and a 'code' to indicate that the permission was denied.
Obviously if we see a directory for which we don't have permissions then we can't recurse into the directory. This is fine. I just need the directory name reported and the fact that I don't have permissions to access it and then the list command continues on reporting other entries.
I'm not looking for you to break the permission model (given that would actually be impossible) just to report what you can see and if a permission error occurred and then continue listing files/directories that you can see.
It should be really simple :D

I'm not looking for you to break the permission model (given that would actually be impossible) just to report what you can see and if a permission error occurred and then continue listing files/directories that you can see.

Sure makes sense. Thanks again for the report; I've added the labels so that the right team will see this. The complexity would probably be around whether we needed API changes in order to support this.

I have a compromise position.
Simply report the directory as you do any other directory and continue with the listing of files/directories.
If I need to know if the directory is accessible I can do a subsequent call to determine this myself.
This results in no change to the api.
You could argue that it is a change in the contract i.e. currently a permission denied exception is thrown,
but I would argue that the current implementation is faulty is it makes the Directory.list command very limited in its usefulness.

"Permission denied" is not as fatal as other errors. I think it is safe to make permission errors not stopping the listing.
@lrn @sortie Any thought?

Hiding operating system errors is not a good design. It's important that callers are able to distinguish "this is the correct result" from "something went wrong". Subtly sometimes omitting results under certain conditions means the caller can't do that.
The useful low level primitive is Directory.list(recursive: false) that reads a directory and corresponds to the appropriate readdir(3) system calls on the operating system. This corresponds to what command line tools like find(1) uses. It will fail if there is an error. You will have to use it repeatedly to recurse.
Directory.list(recursive: true) is a utility feature that doesn't correspond to any low level system call. It's for convenience for circumstances where someone wants to list recursively as a single call, but that means listing operations are combined and might fail together. It means it's really only useful for circumstances where the caller knows the whole operation is going to succeed, such as subdirectories made by the current program for the current user. Arguably we could ignore certain errors, but there's any number of those and these are difficult choices to make properly, and we would have to pretend to the caller that certain directories didn't exist or were empty. That means returning a false result as if it was the truth, which it isn't. Callers would in principle want any sort of policy regarding how to handle error which could complicate the API, which is why it's best to provide a good low level API like Directory.list(recursive: false) that callers can use to their preferences.
There's nothing special about Directory.list(recursive: true) that you can't do yourself and handle errors as you see fit. You can write recursive code that recurses on directory listings. Alternatively you can wrap the list stream to expand it with subdirectory results. This design would correspond to how tools like find(1) are implemented.

I hadn't thought of the manual recursion path however your logic is still problematic.
The current list(recursion: false) still doesn't allow me to get a list of directories or files if there is a single file or directory that has permission issues. The list command throws as soon as it sees the first file/directory that is permission denied and there is no way to get a list of the remaining files/directories.
As such there is no way that I can implement ls or find.
Essentially the list(recusive: false) isn't low level enough.

Arguably we could ignore certain errors
The simple answer here is that the low level api should  report every file/directory that the user has permission to see.
(I have permission to see a directory but not the contents so return the directory but not the contents - this is forced on us by the OS anyway)

We then provide additional api's that let the user ask questions about the system entity to determine if there are problems such as if they have access.

would have to pretend to the caller that certain directories didn't exist or were empty
Your not pretending, you are simply providing a list of the visible directories/files. This is what I expect of ls/find or any other tool. It should be left up to the tool implementer to decide how to present additional information about those files directories.
The current implementation takes those decisions out of the hands of the tool developers (e.g. me :) )

So the  policy should be changed to 'return every file/directory' that we can see and then the user can use a subsequent call if they need to determine any additional status information of a file/directory.
In this way we now have an appropriate low level api.
As its stands the dart api does not provide a general purpose api.

@bsutton Directory.list(recursive: false) has the right behavior for me when I test it:
echo foo > foo
mkdir bar
echo cool > bar/cool
chmod 000 foo bar
sudo chown root:root foo bar

And then:
import 'dart:io';
Future<void> main() async {
  print(await new Directory(".").list(recursive: false).toList());
}

Writes [File: './foo', Directory: './bar'].
Do you have any reproducible cases where Directory.list(recursive: false) has the wrong behavior where ls on the directory would succeed, i.e. you actually have permission to iterate it? Otherwise it seems to me that Directory.list(recursive: false) provides exactly the low level behavior you can build on top of it.

Apologies, my mistake.
I interpreted your earlier statement that it would throw if it encounter an error, to mean that it would throw on Permission denied.
I've just ran a test and got the same results as you.
As such I'm happy to leave this issue closed.


Studentbrad/scrape speed

Implemented multithreading to improve scrape speed.
Surprisingly this improves speed on Linux and Windows.
Also, I realized that pycharm wasn't working fully so I updated readme.md and added run.py. - only to be used with pycharm
It wasn't working under debug mode because pycharm uses a Python script for debugging the project.
So, interpreter options such as -m cannot be used even though pycharm seems to imply that you can use them.
Hence, I made run.py so pycharm can simply call python run.py instead of python -m jobfunnel.
fixes #18

why does pycharm need to call python run.py? can't it just do funnel -s settings.yaml?

@itSeez I tried that too.  The reason why is because Pycharm insists on calling python first.  If you run the debugger, because pycharm uses a python script for debugging it must call python <debug script> <your script>.

  I didn't realize pycharm had a module option for exactly this reason.

I removed run.py and updated the pycharm document.

don't forget the version number :P


redoc-cli: Generate HTML with dependencies

First off, I recognize and appreciate the use of being able to generate a single dependency-less HTML file that contains all your documentation. What I'm suggesting is a feature to compliment that functionality, not replace it.
I'm really glad to see redoc-cli bundle has been introduced as an alternative to client-side rendering. As an extreme example, Discord's client-side docs take about 50 seconds to load for me, and that number drops to about 5 seconds with prerendering. For smaller API specs, the page load is nearly instant.
However, the generated HTML file still has some low-hanging fruit for optimization. Rendering with --cdn=true helps, but there are still a number of resources that could be referenced as external files to better leverage caching in both the browser and on the server. In a production environment, the convenience and portability of a zero-dependency HTML file isn't really a factor, and improving page performance takes priority.
Right off the bat, I noticed that the original spec is included as a massive inline base64 blob for downloading. Continuing with Discourse as an example, their minified JSON spec weighs in at around 300k. If this is gzipped to be sent to the browser on its own, it compresses down to about 43k. But with the bundled version, it is instead base64'd, causing it to balloon to 400k. Even if you then gzip the resulting HTML, that base64 still takes up ~71k (base64 text doesn't compress as well as the original spec). All of this is ignoring the fact that, unless the user actually wants to download the spec, it doesn't need to be included in the page at all.
Less critical -- but still desirable -- would be the ability to reference all the other non-HTML assets as external resources as well. This essentially just means the putting style rules at the top of the page in a .css file, and putting the initial declaration of __redoc_state in its own .js file. This would allow those files to be cached by a user's browser, which is nice for documentation that is likely to be accessed frequently by the same user.
Further down the road, this could also potentially enable a scenario where CSS could be generated to be shared between multiple pages documenting different APIs. It looks like the generated CSS isn't always the same right now, but that would be great for a site that hosts documentation for multiple APIs.

Thanks for the detailed write-up. That makes lots of sense.
PR's are welcome

While redoc-cli has been deprecated in favour of Redocly CLI, I think the points here are relevant to Redoc, and we should keep this open for consideration for now


typo on dockerhub vscode-devcontainer page

Testing https://github.com/microsoft/vscode-remote-release/issues/2409

The last list entry mcr.microsoft.com/vscode/devcontainers/javascript-node:12 should be typescript

Whoops!  Good catch.  Will update.

Will be corrected with https://github.com/microsoft/mcrdocs/pull/381

Fixed!


Windows bindings stopped working when I upgraded to Big Sur 11.5.1

Last night I upgraded from Big Sur 11.5 (Intel) to Big Sur 11.5.1. This morning I realized that most of my windows bindings weren't working. (I.E. ctrl-s + h)
All of the alpha bindings no longer work. The symbol bindings (,, ., space, return, etc.) still appear to be working.
I realized that my versions of Hammerspoon, Karabiner-Elements, and keyboard were all of out date. I spent a bit of time upgrading everything. When that didn't fix it, I removed my configuration and all of the apps and reinstalled from a fresh copy of keyboard.
Now with a fresh copy of everything, nothing has changed. Since I just upgraded to Big Sur 11.5.1 last night, something must have changed with macOS.
Any ideas?

👋 @kgust: Thanks for reporting this. I'm running Big Sur 11.5.1 as well, but I haven't seen this issue. I'm not sure what would be causing this problem. 😕  If you're able to figure it out, please let me know.

After not working for a week, everything is suddenly working this morning. I can't figure out why; all of the software versions have remained the same.
Big Sur 11.5.1
Hammerspoon 0.0.90 (6030)
Karabiner-Elements 13.5.0
Oh, wait. There was one change since I opened this issue. I reverted the .hammerspoon config directory to the original version, the version I had when I first encountered this problem.
I'm just grateful this is working again. I think we can close this for now. I can re-open if it occurs again.

Thanks for the update, @kgust 🙇


Introduction to Identity - make agnostic

Shows only creating project with VS which doesn't work on mac and VSC.

Fixed in my last update.