[Android] Only One Start Frame from Android TextureView Doesn't Copied to Flutter Platform View(TLHC)

related issue: https://github.com/note11g/flutter_naver_map/issues/195
description
When utilizing methods like controller.addOverlay or controller.updateCamera, the copy isn't properly executed in the first frame where the sequence (continuous frames) starts due to the changes.
For the addOverlay method that adds an overlay, the overlay does not immediately appear on the map, and a separate frame must be forcibly created for it to appear correctly (Frame Copy Failed).
In the case of methods like controller.updateCamera that start moving the camera, the starting frames appear to be interrupted (jank).
I have yet to find a solution to these problems.
I tried two methods,

setState(): As expected, it doesn't redraw the frame when called with no changes in the widget state, so it has no effect.
SchedulerBinding.instance.scheduleForcedFrame(): I tried to forcibly render the frame, but it seems to be considered that the platform view has already processed the frame.

Steps to reproduce
Environment: TLHC + TextureView
(In flutter_naver_map, using that combination in SDK 23~29, SDK 33~34.
30~32: TLHC+GLSurfaceView, this issue not produced)
Produced with SDK 23~29, 33~34  android emulator, Samsung Galaxy S23 Ultra(SDK 34)
Flutter 3.19.0(Stable), 3.19.1(Stable), 3.19.2(Stable), Flutter 3.20.0-16.0.pre.54(Main Channel)
(Not Produced at HC or GLSurfaceView)
all modes can be re-produced : debug mode, profile mode, release mode
Using This Sample Repository: https://github.com/note11g/flutter_naver_map_pure_example/tree/tlhc_copy_issue
(if you want test on flutter sdk main channel, please use flutter_naver_map: git: url: https://github.com/note11g/flutter_naver_map.git ref: migrate_3.20)

turn on app
tab FloatingActionButton. then, addMarker method will be launched.
see the result and scroll the map view.

Expected results
successfully shown the new overlay attaching.
(on iOS)
https://github.com/note11g/flutter_naver_map/assets/67783062/6109e6f5-fc51-4aba-ac9b-96fea497af1f
Actual results
maybe it's frame copy failed. overlay attaching not shown immediately.
(Android 14, TLHC+TextureView)
https://github.com/note11g/flutter_naver_map/assets/67783062/2b081f0b-bfbd-4a6d-abc8-4e0dfaa136ab
Code sample
on this repository:
https://github.com/note11g/flutter_naver_map_pure_example/tree/tlhc_copy_issue
if you want internal codes, show this file:
https://github.com/note11g/flutter_naver_map/blob/dev-1.2.2/lib/src/widget/platform_view.dart
Screenshots or Video

Screenshots / Video demonstration
Issue (Android 14)
https://github.com/note11g/flutter_naver_map/assets/67783062/2b081f0b-bfbd-4a6d-abc8-4e0dfaa136ab
Non-Issue (iOS)
https://github.com/note11g/flutter_naver_map/assets/67783062/6109e6f5-fc51-4aba-ac9b-96fea497af1f

Logs
Logs
[NaverMapSdk] SDK Initialized! (android, SDK 33)
I/PlatformViewsController(15894): Hosting view in view hierarchy for platform view: 0
I/PlatformViewsController(15894): PlatformView is using ImageReader backend
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
W/Parcel  (15894): Expecting binder but got null!
D/EGL_emulation(15894): app_time_stats: avg=105529.19ms min=12.30ms max=633095.62ms count=6
D/HostConnection(15894): createUnique: call
D/HostConnection(15894): HostConnection::get() New Host Connection established 0xb40000773e4d81d0, tid 16446
D/HostConnection(15894): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_0
D/EGL_emulation(15894): eglCreateContext: 0xb40000773e4d93d0: maj 3 min 0 rcv 3
D/EGL_emulation(15894): eglMakeCurrent: 0xb40000773e4d93d0: ver 3 0 (tinfo 0x79651d1280) (first time)
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/ImageTextureRegistryEntry(15894): Dropping PlatformView Frame
D/EGL_emulation(15894): app_time_stats: avg=506.45ms min=62.32ms max=950.58ms count=2
D/TrafficStats(15894): tagSocket(437) with statsTag=0xffffffff, statsUid=-1
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/ImageTextureRegistryEntry(15894): Dropping PlatformView Frame
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/ImageTextureRegistryEntry(15894): Dropping PlatformView Frame
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/ImageTextureRegistryEntry(15894): Dropping PlatformView Frame
D/EGL_emulation(15894): app_time_stats: avg=35.70ms min=13.41ms max=114.73ms count=28
D/EGL_emulation(15894): app_time_stats: avg=14.32ms min=0.85ms max=186.05ms count=75
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
D/EGL_emulation(15894): app_time_stats: avg=38.09ms min=13.75ms max=183.25ms count=30
D/EGL_emulation(15894): app_time_stats: avg=37.29ms min=14.42ms max=183.44ms count=29
D/EGL_emulation(15894): app_time_stats: avg=65.31ms min=5.98ms max=735.52ms count=17
D/EGL_emulation(15894): app_time_stats: avg=1008.57ms min=1008.57ms max=1008.57ms count=1
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
D/EGL_emulation(15894): app_time_stats: avg=1015.25ms min=1015.25ms max=1015.25ms count=1
D/EGL_emulation(15894): app_time_stats: avg=1015.28ms min=1015.28ms max=1015.28ms count=1
D/EGL_emulation(15894): app_time_stats: avg=795.71ms min=8.55ms max=11713.45ms count=15
D/EGL_emulation(15894): app_time_stats: avg=11924.84ms min=11924.84ms max=11924.84ms count=1
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
D/EGL_emulation(15894): app_time_stats: avg=11918.29ms min=11918.29ms max=11918.29ms count=1
D/EGL_emulation(15894): app_time_stats: avg=11918.89ms min=11918.89ms max=11918.89ms count=1
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
D/EGL_emulation(15894): app_time_stats: avg=9824.10ms min=9824.10ms max=9824.10ms count=1
D/EGL_emulation(15894): app_time_stats: avg=9844.43ms min=9844.43ms max=9844.43ms count=1
D/EGL_emulation(15894): app_time_stats: avg=9832.04ms min=9832.04ms max=9832.04ms count=1
D/EGL_emulation(15894): app_time_stats: avg=821.64ms min=11.43ms max=9689.68ms count=12
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
D/EGL_emulation(15894): app_time_stats: avg=190.02ms min=9.98ms max=5078.30ms count=29
D/EGL_emulation(15894): app_time_stats: avg=64.44ms min=2.80ms max=5103.51ms count=86
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
D/EGL_emulation(15894): app_time_stats: avg=192.21ms min=12.18ms max=5116.44ms count=29
D/EGL_emulation(15894): app_time_stats: avg=180.84ms min=3.61ms max=5106.51ms count=29
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
D/EGL_emulation(15894): app_time_stats: avg=3726.57ms min=3726.57ms max=3726.57ms count=1
D/EGL_emulation(15894): app_time_stats: avg=3750.95ms min=3750.95ms max=3750.95ms count=1
D/EGL_emulation(15894): app_time_stats: avg=3730.44ms min=3730.44ms max=3730.44ms count=1
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/ImageTextureRegistryEntry(15894): Dropping PlatformView Frame
D/EGL_emulation(15894): app_time_stats: avg=269.19ms min=5.21ms max=3567.93ms count=14
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.
E/FrameEvents(15894): updateAcquireFence: Did not find frame.

Flutter Doctor output
Doctor output
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.2, on macOS 14.3.1 23D60 darwin-arm64, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] IntelliJ IDEA Community Edition (version 2023.3.3)
[✓] VS Code (version 1.87.0)
[✓] Connected device (3 available)
[✓] Network resources

• No issues found!

Thanks for the report. I verified this using the repo provided and running on Android emulator and observed that the issue mostly occurs specifically using TLHC while not using HC.
Maybe this could be related: https://github.com/flutter/flutter/issues/142153

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.19.2, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.19.2 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (5 days ago), 2024-02-27 16:51:22 -0500
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.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.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.20.0-16.0.pre.58, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.20.0-16.0.pre.58 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d3c274b255 (2 hours ago), 2024-03-03 22:35:35 -0500
    • Engine revision c52b3033ec
    • Dart version 3.4.0 (build 3.4.0-190.0.dev)
    • DevTools version 2.33.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 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

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

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

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

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

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

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

@darshankawar Due to this issue, it is impossible to use the package normally.
Could you possibly let me know when you might be able to review this issue?

When using TLHC mode with an Android View that updates the contents of the view asynchronously (e.g. TextureView or something similar), you have to explicitly call invalidate() on the platform view when the contents should be updated.
You can see how we have fixed the official Google Maps plugin here: https://github.com/flutter/packages/commit/e393d452beaf4b216e2567bc2cee0225087f4662

@johnmccutchan
thank you for your help. maybe i fixed it.
but, it's not a issue? api changed is not shown any documentation..
and this api will not change for after stable version of flutter engine?


Please need help

@thqby
Thanks for the great bbt V2 script.
How can I change the text direction to be right to left (very necessary for RTL languages)?
Thanks!

I haven't used bbt and don't know about this yet.

@thqby

I haven't used bbt and don't know about this yet.
It's strange, because you're mentioned in the script, it says this:
BTT转v2 by城西 2022.6.18 https://github.com/liuyi91   ：初步测试支持thqby大佬的 v2 beta4
;感谢大佬thqby的悉心指点 https://github.com/thqby/
(And my request is how can I align the texts to the right side?)
Thanks!

I've converted some v1 scripts but haven't used them any further.
Use Gdip_SetStringFormatAlign to change the alignment style.

Thank you for your reply!
I would be very grateful if you could please elaborate more on how to use
Gdip_SetStringFormatAlign, and where in the script, and is it also possible
to align to the center?
It will help me a lot
Thank you!
בתאריך יום ד׳, 11 בדצמ׳ 2024 ב-1:20 מאת thqby @.***
>:

I've converted some v1 scripts but haven't used them any further.
Use Gdip_SetStringFormatAlign to change the alignment style.
—
Reply to this email directly, view it on GitHub
https://github.com/thqby/ahk2_lib/issues/77#issuecomment-2533201002, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AZFMFTET2KEKW6XKMSWEL2D2E5ZM7AVCNFSM6AAAAABTDBQUY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZTGIYDCMBQGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

@thqby
Thank you for your reply!
I would be very grateful if you could please elaborate more on how to use
Gdip_SetStringFormatAlign, and where in the script, and is it also possible
to align to the center?
It will help me a lot
Thank you!
בתאריך יום ד׳, 11 בדצמ׳ 2024 ב-1:20 מאת thqby @.***
>:

I've converted some v1 scripts but haven't used them any further.
Use Gdip_SetStringFormatAlign to change the alignment style.
—
Reply to this email directly, view it on GitHub
https://github.com/thqby/ahk2_lib/issues/77#issuecomment-2533201002, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AZFMFTET2KEKW6XKMSWEL2D2E5ZM7AVCNFSM6AAAAABTDBQUY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMZTGIYDCMBQGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

https://github.com/liuyi91/ahkv2lib-/blob/main/BTT v2转写【2022.06.18】.ahk#L520
https://learn.microsoft.com/en-us/windows/win32/api/gdiplusstringformat/nf-gdiplusstringformat-stringformat-setalignment

@thqby Many thanks!

@thqby
I checked it,
For some reason unfortunately, Gdip_SetStringFormatAlign(hStringFormat, Align:=0) (line 520) is not aligning to the right.
And what works is just straight to the left, and straight to the center by align:=1.
Could I please bother you to check this?


BeaconScanner for native iOS

Hi, I've downloaded the BeaconScanner build for Mac OSX and it works perfectly (detecting all the ibeacons around me).
However, I would like to transport this library code for an iOS native app. Would it be possible to use the same code base for an iOS app aswell?
I've checked few tutorials and it seems impossible to detect beacons (without specifying the UUID) on an iOS device.
Best,

can you working with Mac 10.11.1 (15B42)?

I am also interested in this. Did you make it work? Thanks so much~


Add support for Visual FoxPro tables & DateTime fields

Hi! thanks for this nice library. I've wanted to ask, if is possible to add support to Visual FoxPro tables and DateTime fields. Currently I'm working on migrating some local VFP data to a web server. I'm working on it, can I make a PR for your consideration when is done?
Thanks in advanced!

Please Do! The info in the docs directory should help. The first link has the most info.

Nice! I'll prepare it and send a PR, the format is very similar, the issue that I'm working on right now is how to properly format the DateTime field 👍


wasm-smith: Generate arbitrary component function sections

Do we have a test that enables the component model support at this time? It may be a bit early to enable in the fuzzers but having it on in one of the wasm-smith tests might be good (we may have this already too)

We have a smoke test that uses rand to generate a bunch of random byte sequences, feeds them into wasm-smith to generate a component, and then checks that we can successfully generate and encode a component.
My next PR is going to be enabling wasmparser's validation on the output, which didn't exist yet when that test was written.


Backend fails to start if you try to connect to physical path with a custom identity

From @shirhatti on September 20, 2017 23:32
Fails to start backend process on UNC path even though the worker process has the access permission for the UNC

Copied from original issue: aspnet/AspNetCoreModule#162

Based on our understanding, this a low priority issue. We will consider re-prioritizing if enough folks want this


Parameter

You call:
sampling_exploration(buffer)
but the function's parameter requires an int value.

Yes you are right, just delete the buffer. Thank you for reporting the issue!


scope ps still shows the process is scoped when you detach after scoping

Because the reporting thread is still running and the shared memory segment is not created

Resolved by #1219


Uncaught basic exceptions associated with interactions

Describe the bug
When the bot does something in response to an interaction, it assumes it has the relevant permissions needed to perform those actions. These are basic ones such as sending a mesage or adding a reaction. But that is not always the case and we need to account for it to handle the exceptions that occur as a result.
To Reproduce
This is an example, there are many more instances of this occuring:

Add a reaction when the bot doesn't have permissions to do so
The bot can't add the reaction and raises an error
This error is unhandled and as a result propagates to the logger

Responding to an interaction in an archived thread which isn't possible using a context menu but discord somehow allows it
Sending a message in a channel with missing permission

This list is not exhaustive.

We handle adding reactions
We cannot realistically handle responses raising http exceptions, these usually do not occur due to permission errors regardless and often occur due to issues with the API aka internal discord server errors
Context menu responses in archived threads on user apps aren't really handle(able) because in an interaction you must respond so a small check was added to see if it is the case and if so the bot will not respond and we will be documenting this in our tag system

Any other errors are non-basic errors which are actually errors with our code and not raised from the API. These will be handled accordingly.


Helm install fails with 'incompatible types for comparison' when using Helm v2.15.0(-rc)

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
Use latest RC for Helm (v2.15.0-rc2) and try to install Rancher
Result:
Error: render error in "rancher/templates/deployment.yaml": template: rancher/templates/deployment.yaml:76:7: executing "rancher/templates/deployment.yaml" at <gt .Values.auditLog.level 0.0>: error calling gt: incompatible types for comparison

Other details that may be helpful:
Helm merged https://github.com/helm/helm/pull/6010 where they move away from float64 when parsing numbers and now json.Number is returned.
Workarounds that have been applied in other cases (parsing to int) also don't work as anything parsed will just be 0.
What seems to work is {{- if gt (.Values.auditLog.level | toString | atoi) 0 }} but this needs some additional testing

Hi @superseb I'm having the same issue, but when upgrading Rancher in one of the cluster I maintain. I'd gladly help you testing for a workaround (or a solution). Just let me know. Best regards.

A fix for backwards compatibility will be made via https://github.com/helm/helm/issues/6708 in v2.15.1. Using the latest v2.14 should unblock you for now.

Same error with Helm v2.14.3, tried upgrading from v2.2.8 to v2.2.9:
$ helm version
Client: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.3", GitCommit:"0e7f3b6637f7af8fcfddb3d2941fcc7cbebb0085", GitTreeState:"clean"}

$ helm upgrade rancher rancher-stable/rancher \
> --set=hostname=*** \
> --set=auditLog.level=auditLog.level.3 \
> --set=ingress.tls.source=secret
UPGRADE FAILED
Error: render error in "rancher/templates/deployment.yaml": template: rancher/templates/deployment.yaml:76:7: executing "rancher/templates/deployment.yaml" at <gt .Values.auditLog.level 0.0>: error calling gt: incompatible types for comparison
Error: UPGRADE FAILED: render error in "rancher/templates/deployment.yaml": template: rancher/templates/deployment.yaml:76:7: executing "rancher/templates/deployment.yaml" at <gt .Values.auditLog.level 0.0>: error calling gt: incompatible types for comparison

https://github.com/helm/helm/issues/6708

@alena1108 helm 2.14.x doesn't contain this patch, therefore the issue might be caused by a different reason.

not sure if this is the proper fix....

Updated deployment.yml to remove replicas := int (.Values.replicas). This was causing a YAML to JSON mapping error. replicas did not seem to be referenced, so removed this line
Several lines in deployment.yml had a comparison like {{- if gt .Values.auditLog.level 0.0 }} which caused the incompatible types issue. Changed all lines to {{- if gt (float64 (toString (.Values.auditLog.level))) 0.0 }}

These steps seemed to allow the upgrade to complete successfully....

actually I think item #1 above can be ignored after the fix to https://github.com/helm/helm/issues/6708
That fixed the replicas YAML to JSON issue, but did not resolve the "gt" comparison issue

A fix for backwards compatibility will be made via helm/helm#6708 in v2.15.1. Using the latest v2.14 should unblock you for now.

@icanhazbroccoli I see the fix has been merged into the dev-v2 branch. Do you know when that will be part of a formal release?
@superseb, I assume we use the workaround until the formal release?

@rpd5003 I don't have this data, sorry. Feel free to reach out core team folks int helm-dev slack channel to check this.

Helm v2.15.1 (https://github.com/helm/helm/releases/tag/v2.15.1) resolves this issue.

Hi, I've just tried Helm v2.15.1 and I've been able to update my test Rancher cluster from 2.2.3 to 2.3.0 without problems. It seems that helm works again.

I have still the same error. Looking at https://releases.rancher.com/server-charts/latest you can see the following error message: The specified key does not exist

@SvenC56 it looks like something else: I don't see anything yelling numeric regression here. @superseb is it something you guys could check please?

@SvenC56 Please show the exact commands used from https://rancher.com/docs/rancher/v2.x/en/installation/ha/ and the output. The file used by Helm is https://releases.rancher.com/server-charts/latest/index.yaml and curl https://releases.rancher.com/server-charts/latest/index.yaml should work fine.

I will provide you the output on monday. I followed the HA installation guide of rancher. These are the steps i followed:
curl https://get.helm.sh/helm-v2.15.1-linux-amd64.tar.gz

tar -zxvf helm-v2.15.1-linux-amd64.tar.gz

chmod +x linux-amd64/helm

mv linux-amd64/helm /usr/local/bin/helm

...

kubectl -n kube-system create serviceaccount tiller

kubectl create clusterrolebinding tiller \
  --clusterrole=cluster-admin \
  --serviceaccount=kube-system:tiller

helm init --service-account tiller

kubectl -n kube-system  rollout status deploy/tiller-deploy

helm repo add rancher-stable https://releases.rancher.com/server-charts/stable

any update on this @SvenC56 ?

Hi,
in conclusion it was a bit of a different error. We are behind a corperate network. We found the issue in the CA Trust chain. After we added the CA Certs I could download the charts without a problem.

Ok thanks!
We have added documentation for Helm versions here: https://rancher.com/docs/rancher/v2.x/en/installation/helm-version/

@superseb still having the issue when trying to upgrade rancher with new ssl certificates
"helm get values rancher" returns
Error: release: "rancher" not found
helm repo list returns
NAME          	URL
stable        	https://kubernetes-charts.storage.googleapis.com
local         	http://<IP_ADDRESS>:8879/charts
rancher-stable	https://releases.rancher.com/server-charts/stable
jetstack      	https://charts.jetstack.io
helm version
Client: &version.Version{SemVer:"v2.16.2", GitCommit:"bbdfe5e7803a12bbdf97e94cd847859890cf4050", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.16.2", GitCommit:"bbdfe5e7803a12bbdf97e94cd847859890cf4050", GitTreeState:"clean"}


Make install log regexes case-insensitive

Making programmatic use of strings intended for human consumption is a
fragile endeavor. These strings are generally not going to be considered
part of an API, and are therefore subject to change upstream without
warning or versioning.
Such a change was noticed recently: the first letter of an error string
used to be uppercase and is now lowercase. Hypothesis: someone saw the
yellow squiggly line in their IDE that said error messages shouldn't
start with uppercase letters, and "fixed" it. Lest such fixes should
prove prevalent, this commit changes our install log regex matching to
be case-insensitive across the board.
The theoretical risk is that we will now match a string incorrectly.
This is considered to be negligible.
HIVE-2018

/assign @abutcher
/cc @mmazur


feat: changing customAttributes for users

See #252 - api-users should be able to change customAttributes for users.

@rubenvitt
Thanks for the contribution.
It feels like the methods are backward for all of the new methods.  The methods that take String parameters should be the ones making the calls to the server, instead of creating a CustomAttribute instance and passing that to the other method that then pulls the Strings out of the CustomAttribute to pass to the server.   Doing it this way will also verify the key and value of the CustomAttribute which is not currently being done.

Should be okay now.

@rubenvitt
Looks good.  And thanks again for the contribution.


Use Runelite native notifications

The plugin has its own notification config, which is separate from the native client-wide notification settings used by Runelite. This forces the user to make changes to settings in two separate locations if they want the notifications to match. Using native notifications is a cleaner solution, and Runelite has a feature that allows customization per-source so this functionality can still be kept available.

Thanks for letting me know. I initially developed this plugin because the original Runelite notifications were lacking in the sense that they didn't offer the features my friends and I were looking for. I'm not aware of a feature that allows customization per-source so it sounds like it might be interesting to look into if I start working on a new update.


Add ability for API to set name of stream

We are looking to bundle go2rtc within frigate and use the go2rtc API add the streams. Having the ability to specify the name of the stream will make managing them much simpler.

Thanks!


Recommendations to ameliorate your software

Hi to the developpers, i'm french guy, and I really like your system, but i've now to request from you:
An api to show the album cover art of a song(use Amazon, Spotify, or idk), voting system, and dedicace system directly in your panel

And why do you now open a plugin system to create custom things who we can share with the community

@RainbowDash53 The enhancements you requested have been created as separate issues: #102 #103 #104


Need handwritten english character Dataset

Hi I want to recognize handwritten English character so need tessdata dataset

@surajtarade18 I am also working on same, did you found the dataset.

Do check an image dataset at KAGGLE  it contains A-Z handwritten 370000+ images

Hi
Can you please send me sample code for KAGGLE dataset
On 15 Feb 2018 7:31 pm, "Sachin Patel"<EMAIL_ADDRESS>wrote:
Do check an image dataset at KAGGLE
http://kaggle.com/sachinpatel21/az-handwritten-alphabets-in-csv-format it
contains A-Z handwritten 370000+ images
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tesseract-ocr/tessdata/issues/84#issuecomment-365935468,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeIDxlGZtMjmiIy6QRVhPqtBWc0ZvXCJks5tVDi6gaJpZM4QHAO-
.

Hi thanks for sharing details but I am looking for C# Code so please suggest me how can I use your dataset along with C#

I found these https://github.com/charlesw/tesseract, http://www.c-sharpcorner.com/article/ocr-using-tesseract-in-C-Sharp/ a bit old, but you can give it a try,

Also pls check https://www.nist.gov/itl/products-and-services/emnist-dataset and http://www.ee.surrey.ac.uk/CVSSP/demos/chars74k/


Add  internal-communication.shared-secret to all authN modules

From 378 onwards , internal-communication.shared-secret will be required if authentication is enabled on your SEP cluster.
https://github.com/trinodb/trino/pull/11944

more importantly . it should always be used even without auth


Invalid type passed for a POST API

Description

When the user installs the generated api_client package (in this case mlp_client), the user will want to DescribeModel or RegisterModel which are both POST APIs

Note: Both of the components' schemas (RegisterModelRequest & DescribeModelRequest) are objects

For this issue, I am sharing just the spec for DescribeModel, but can share the spec for RegisterModel if required
When the user follows the generated instructions (docs), they will use the following Python code:

import mlp_client
from mlp_client.configurations import api_configuration
from mlp_client.apis.tags import model_api
from mlp_client.components.schema import describe_model_request

used_configuration = api_configuration.ApiConfiguration()
api_client = mlp_client.ApiClient(used_configuration)
api_instance = model_api.ModelApi(api_client)

body = describe_model_request.DescribeModelRequest({
        "id": "MG:mlp:test-mlp:v1"
    })

api_response = api_instance.describe_model(
            body=body,
        )

However, this is the response:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/mlp_client/paths/v1_models_describe/post/operation.py", line 92, in _describe_model
    fields, serialized_body = self._get_fields_and_body(
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/mlp_client/api_client.py", line 1255, in _get_fields_and_body
    serialized_data = request_body.serialize(body, content_type, configuration=self.api_client.schema_configuration)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/mlp_client/api_client.py", line 1398, in serialize
    cast_in_data = schema.validate_base(in_data, configuration=used_configuration)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/mlp_client/schemas/schema.py", line 549, in validate_base
    cast_arg = cast_to_allowed_types(
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/mlp_client/schemas/schema.py", line 277, in cast_to_allowed_types
    raise exceptions.ApiTypeError('Invalid type passed in got input={} type={}'.format(arg, type(arg)))
mlp_client.exceptions.ApiTypeError: Invalid type passed in got input=DescribeModelRequest(types={'id': 'MG:mlp:mlp-sdk-charles-demo:v1'}, properties={'id': <class 'mlp_client.schemas.schemas.StrSchema'>, 'name': <class 'mlp_client.schemas.schemas.StrSchema'>, 'variant': <class 'mlp_client.schemas.schemas.StrSchema'>, 'owner_team': <class 'mlp_client.schemas.schemas.StrSchema'>, 'omd_business_service': <class 'mlp_client.schemas.schemas.StrSchema'>}, type_to_output_cls={<class 'mlp_client.schemas.original_immutabledict.immutabledict'>: <class 'mlp_client.components.schema.describe_model_request.DescribeModelRequestDict'>}) type=<class 'mlp_client.components.schema.describe_model_request.DescribeModelRequest'>

This is what the spec looks like for DescribeModel:
openapi: 3.0.0
info:
  title: MLP [ML Platform SDK] - OpenAPI 3.0
  description: "This SDK produces Model Registration based on the OpenAPI 3.0 specification"
  termsOfService: http://swagger.io/terms/
  contact:
    email<EMAIL_ADDRESS>  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 0.0.22
servers:
  - url: http://<IP_ADDRESS>:4011
    description: Local test server (using Prism - https://github.com/stoplightio/prism)
tags:
  - name: model
    description: API for Model Describe
paths:
  /v1/models/describe:
    post:
      tags:
        - model
      summary: Describe a registered model
      description: Return a model based on id or name, variant, owner_team & omd_business_service
      operationId: DescribeModel
      requestBody:
        description: Describe a model in the model server
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DescribeModelRequest'
      responses:
        '201':
          description: Successful operation
        '400':
          description: Invalid ID supplied
components:
  schemas:
    DescribeModelRequest:
      type: object
      properties:
        id:
          type: string
          example: 'MG:mlp:test-mlp:v1'
        name:
          type: string
          example: 'test-mlp'
        variant:
          type: string
          example: 'v1'
        owner_team:
          type: string
          example: 'mlp'
        omd_business_service:
          type: string
          example: 'ml-and-growth'

  securitySchemes:
    api_key:
      type: apiKey
      name: api_key
      in: header

Question: Is this an issue related to immutabledict?  Is there something I will need to modify in order to pass in the object as the request?
openapi-generator version
v3.0.0
Generation Details
executed:
java -jar openapi-json-schema-generator-cli.jar generate \
    -i openapi.yaml \
    -g python \
    -o mlp_client \
    --package-name mlp_client

Steps to reproduce
Run the generator, add an empty __init__.py file under mlp_client/ output, pip install the package on my local machine, run the Python code and return the described error above ⬆ (no pun intended).

Did you look at the documentation for that endpoint? Yup are instantiating the body incorrectly. The model class that you are instantiating is the schema class not the output payload class.
Please update your code to be
body = describe_model_request.DescribeModelRequest.validate({
"id": "MG:mlp:test-mlp:v1"
})

@spacether - I have validated that the code works when I add .validate().  Thank you 😄
Since this solution works, should I close this issue?  Or should it remain open until the documentation is fixed?

Let's keep it open until I merge the documentation fix


Manifest file?

qua@equa-Swift-SF314-54:~$ ollama run orca
pulling manifest
Error: pull model manifest: file does not exist
equa@equa-Swift-SF314-54:~$

Hi there, this isn't a great error (will fix that), but orca isn't a model name


How can I point to my own colorscheme or submit a new one?

Hi,
At work, it bothers me all those shiny color in available colorscheme.
There is a way to point to a scheme that I adapted to grayish colors?
Thanks!
My Colorscheme (PaperColor_Night adapted)

You can create your own colorscheme and publish to GitHub, managed as an independent colorscheme plugin for lightline. Please refer to :h lightline-colorscheme.

Oh, ok! Lemme try!

Examples: https://github.com/popkirby/lightline-iceberg, https://github.com/felixjung/vim-base16-lightline

Wont work:
lightline.vim: Could not load colorscheme graynito.

Did you add your plugin managed by vim plugin manager?

yes. Please try ourself!
https://github.com/vegangaro/graynito

My vimrc:
Plug 'vegangaro/graynito'
let g:lightline = {
      \ 'colorscheme': 'PaperColor',
      \ 'active': {
      \   'left': [ [ 'mode', 'paste' ],
      \             [ 'gitbranch', 'readonly', 'filename', 'modified' ] ]
      \ },
      \ 'component_function': {
      \   'gitbranch': 'fugitive#head'
      \ },
      \ }

I found a typo at the last line of graynito_light.vim, graynito not graynit.

I think there are more issues I will try everything again!

Done. All working! Could debug it through cause I was in a hurry! haha...
Thanks.
Grayish ColorScheme: https://github.com/vegangaro/graynito

Congrats!


Improve ImageDisplay

The zooming of the image display works well. The widget can be more useful with the following functionalities:

show x y coordinates and value
add contrast selector

Wouldn't it just be easier to implement the new stuff from ImageDisplay in ImageSlider than to implement all the stuff from ImageSlider (except for the horizontal slider) in ImageDisplay?

I guess you are right. If it is easier, maybe just add the zoom
functionality into the image slider. The image viewer would be just a
special case where there is only one image. One thing to note is that the
zoom should happen to all images.
Dr. Jiao Lin
Computational Scientist
Oak Ridge National Lab
On Wed, Jun 28, 2017 at 12:01 PM, Ian Lumsden<EMAIL_ADDRESS>wrote:

Wouldn't it just be easier to implement the new stuff from ImageDisplay in
ImageSlider than to implement all the stuff from ImageSlider (except for
the horizontal slider) in ImageDisplay?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/neutrons/ipywe/issues/13#issuecomment-311706369, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABtoOyeCeERUl5CQoIxFieUEbyg4BCvqks5sInjegaJpZM4OIJHi
.

Addressed in #14

Closed by #14 and #17


Use something more than setup.py for packaging

setup.py is the legacy setup file for setuptools. But maybe we can add a pyproject.toml or even a setup.cfg. We are going to need a larger discussion on this.

Now, let's see the possibilities:
:white_check_mark: Using just setup.py
It works by now. But setup.py is a legacy script, so we might need another solution in the future.
:white_check_mark: Adding both setup.cfg and setup.py
It is better than the first option, but setup.cfg may cover the same thing than setup.py.
:x: Using just setup.cfg
pip doesn't give support for setup.cfg-only projects.
:white_check_mark: Using pyproject.toml and setup.cfg
This can be the best option for a Python project.

I think option 4 is the best one for us, but we'll need a largerexercise for doing it.

I also consider that we need eyes on this issue. At the moment, it's just me. I can't do a lot by myself.

Use setup.cfg + setup.py only

Hey @q0w. thanks for your input! I'm actually planning to do this, but thanks for your opinion!

using setup-py-upgrade and setup-cfg-fmt

I would like to do it manually, because I think I have to also modify the setup.py parameters.

Thanks @q0w! I'll be working on this.

Maybe we should add a pyproject.toml in the future, but we don't need it by now.


change values  in ajaxParams when calling update()

When I create the table using ajaxParams everything works great.
The problem is, I want to change the ajaxParams and update the table. The initial values never change.
Is there a way to do this without having to tear down and rebuild the table?

I think it should be possible to change the value of jstable.config.ajaxParams after the initialization.
The fetch request is always using the latest version of the config (see https://github.com/jstable/JSTable/blob/433e156cdaf42cd09bd76f93a37766cc39b0648d/src/jstable.js#L342)

Excellent! Exactly what I needed. Thanks so much friend.


In Users import the Password field break the import

I am importing users from a csv file.
I made some tests without password field it is fine.
But when adding the password field the import break.

I succeeded finally to import users with their password.
The import takes much more time than without but it works.
The problem was about my csv file with duplicate field titles.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.11 to before v5.15.24",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=32ef938815c1fb42d65212aac860ab153a64de1a",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fe990b7bf6ac93f1d850d076b8f0e758268aa4ab"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "32ef938815c1fb42d65212aac860ab153a64de1a",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "fe990b7bf6ac93f1d850d076b8f0e758268aa4ab",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "s390/cio: verify the driver availability for path_event call\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15.24 by commit fe990b7bf6ac93f1d850d076b8f0e758268aa4ab, it was introduced in version v5.11 by commit 32ef938815c1fb42d65212aac860ab153a64de1a. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000443


puppet/telegraf: Require 5.x; puppetlabs/stdib: Require 9.x

Starting with puppet/telegraf 5 the toml-rb gem isn't required anymore. This requires puppetlabs/stdib 9.

@bastelfreak maybe we should remove the toml gem from acceptance testing  as part of this PR to make sure it all works as expected
https://github.com/puppetlabs/puppet_operational_dashboards/blob/56e1771d19779f015f0d3f419fc9713fbe9a2fcc/spec/acceptance/init_spec.rb#L11

@MartyEwings the influxdb module still requires the toml gem :( The telegraf module also has acceptance tests and we dropped the toml gem theree.

darn it i forgot about that

@MartyEwings do you have an idea where the error is coming from? :thinking:

Forgot about this one, sorry about that.  I kicked it because the errors were provisioning related, now we're getting spec test errors because of the new influxdb release:
'influxdb::retrieve_token' expects 4 arguments, got 3

I think I messed up not making the new parameter to the function optional.  #185 is passing because I accounted for the new param, but maybe we should see if we can make the parameter optional and cut a new release?  We shouldn't break existing usage of the function.

I opened #95 there to resolve that.

@m0dular I rebased this one.

thanks for merging! can you do a new release soonish please?


Use enums instead of strings

See #928
TODO:

[ ] Update tests
[ ] Update documentation

I think we'd like to keep using strings.
But thanks for submitting a PR!


adds missing PartialTodo from index and model

npm run test was throwing error

Thank you @elliotBraem 👍  I'm closing this PR, as this change was addressed in #993


missing DLLInjector files

gives errors with missing DLLInjector exe and ini

You are missing GreenLuma.

You are missing GreenLuma, this is just a manager. You need to download GreenLuma separately.

from where?


Breaks ⌘+K to clear Terminal

When this plugin is enabled it is no longer possible to use ⌘+K to clear VS Code's Terminal.
Please let me know if there is any more information you need from me, thanks.

You may be able to fix this by redefining the cmd+k keybinding to clear the terminal. Also ctrl+k might not work also

Thanks @Tyriar, that worked.
Here are the steps I followed:

Reinstall Sublime Text Keymap.
Reload.
Code -> Preferences -> Keyboard Shortcuts.
Search clear.
Edit workbench.action.terminal.clear.
Enter ⌘+K and hit Enter.
Clearing terminal works again.

I will let you decide whether this needs closing or leaving open as needed :+1:
Thanks a lot.

@Tyriar We don't have any specific bindings  for CMD+K in https://github.com/Microsoft/vscode-sublime-keybindings, but we have a bunch of others who use CMD+K +
Can I remap CMK+K in the mappings to take priority or is it a bug ?

@auchenberg overriding keybindings that have chord keybindings such as cmd+k and ctrl+k is a bit of a special case. For starters, chord keybindings don't work in the terminal because of this section of code:
https://github.com/Microsoft/vscode/blob/af6b8302fae66a2898ac8180c98221892d6c765f/src/vs/workbench/parts/terminal/electron-browser/terminalInstance.ts#L321-L328
This asks the keybinding service whether this keystroke will result in a command contained within the terminal.integrated.commandsToSkipShell whitelist. Because mutli-part keybindings like chord keybindings cannot be evaluated by this, all of them are ignored.
This problem led us to allow chord keybindings to be overridden when they contains a when clause, the only caveat is that said keybinding must be declared after all of the chord keybindings. This is because all keybindings have a priority, generally defined by when they are declared (non-extension keybindings can set this priority manually).
That's the reason I said may fix; it will only work if the cmd+k keybinding contributed by this extension is declared after the cmd+k chord keybindings. I'm not sure if the order from the contributions in the package.json is respected or not.

Simply configuring Cmd + K to clear the terminal fixed it, and does not conflict with other sublime bindings from what I've seen likely because the context (When) is limited to the terminal focus.
The key binding does not actually change, since it was already Cmd + K, but it gets defined as a User binding rather than a default which seems to raise the priority of this binding thus resolving the conflict. 👍


fix: update document for faas start

What this PR does:
Update the document  for faas start
Which issue(s) this PR fixes:

Fixes #745

Thanks @rayowang


Attribute 'item_price' is suddenly missing.

System Health details
System Information

version
core-2023.12.4

installation_type
Home Assistant Container

dev
false

hassio
false

docker
true

user
root

virtualenv
false

python_version
3.11.6

os_name
Linux

os_version
5.4.0-169-generic

arch
x86_64

timezone
Europe/Berlin

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
4817

Installed Version
1.33.0

Stage
running

Available Repositories
1367

Downloaded Repositories
27

AccuWeather

can_reach_server
ok

remaining_requests
22

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Dashboards

dashboards
5

resources
17

views
25

mode
storage

Recorder

oldest_recorder_run
December 6, 2023 at 8:07 PM

current_recorder_run
January 5, 2024 at 2:16 PM

estimated_db_size
718.14 MiB

database_engine
mysql

database_version
11.2.2

Spotify

api_endpoint_reachable
ok

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
I am getting an error, that no item price is returned anymore (also see the following screenshot):

I have already genrated a new token and have restarted home assistant but the attribute is still missing.
Reproduction steps

Just take a look at the sensors.

Debug logs
-

Diagnostics dump
No response

If I see it correctly the item_price gets determined from the field ["item"]["price_including_taxes"]["minor_units"]
if "price_including_taxes" in self.tgtg_answer["item"]:
                data[ATTR_PRICE] = (
                    str(
                        int(
                            self.tgtg_answer["item"]["price_including_taxes"][
                                "minor_units"
                            ]
                        )
                        / pow(
                            10,
                            int(
                                self.tgtg_answer["item"]["price_including_taxes"][
                                    "decimals"
                                ]
                            ),
                        )
                    )
                    + " "
                    + self.tgtg_answer["item"]["price_including_taxes"]["code"]
                )

Looking at the raw response from the TGTG library it should be ["item"]["item_price"]["minor_units"].

Thank you for the information, the API must have changed. It could be helpful for people to also report upstream. Their readme still mentions price_including_taxes as well: https://github.com/ahivert/tgtg-python/blob/master/README.md.

I have created a pull request. Thank you for the fast feedback!


#2436 Adding References in report for renovator.

#2436 Adding references in report for renovator.

@badvision  : Please review and provide feedback
CC : @mxp737

@davidjgonzalez : Can you please consider this as an enhancement for release "4.9.0"?
CC : @mxp737


Use a constant-time hash in Random OT Extension

See https://github.com/cronokirby/cait-sith/blob/e08a60f7601cc8d20ad78973e13ff1b7318f453b/src/triples/random_ot_extension.rs#L23C1-L43 for where this happens.
Using a constant-time hash is necessary here, because we don't want to leak information about the values being hashed.

Seems like there's not really a generic way in Rust-Crypto elliptic curves to do wide reduction, outside of hash2curve, which isn't implemented for the Secp256k1 curve in the k256 crate. Sigh.


⚠ Mobitopup has degraded performance

In e179859, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 10023 ms

Resolved: Mobitopup performance has improved in d8df4a9 after 8 minutes.


Differing results when using arcpy vs. ArcPro

When using the same set of parameters where the origins are a feature point class in an ArcSDE with 17,000 points, and the destinations are a feature point class in the same SDE with 45 points, with the generic ESRI trucking distance portal, I get a different output when using the tool in ArcGIS Pro vs. running in a python environment (Esri 3.9.11) when I join the output csv back to the output origins on "ORIGIN_OID" where csv dir is a temporary folder.
    arcpy.LargeNetworkAnalysisTools.SolveLargeODCostMatrix(
        Origins=origins_fc,
        Destinations=destinations_fc,
        Network_Data_Source=network_portal,
        Travel_Mode="Trucking Distance",
        Time_Units="Minutes",
        Distance_Units="Miles",
        Max_Inputs_Per_Chunk=1000,
        Max_Processes=4,
        Output_Updated_Origins=out_origins_fc,
        Output_Updated_Destinations=out_destinations_fc,
        Output_Format="CSV files",
        # Output_OD_Lines_Feature_Class=None,
        Output_Folder=csv_dir,
        Cutoff=75,
        # Sort_Inputs=True
        # Num_Destinations=None,
        # Time_Of_Day=None,
        # Barriers=None,
        # Precalculate_Network_Locations=None
    )

Pro Output joined to CSV :

Python command output (run in FME) joined to CSV:

Interesting.  You said you joined the output CSV back to the output origins.  Did you do the join in Pro?  Instead of looking at the image or analyzing the joined feature classes, can you use the Feature Compare tool to compare the output origins (without the join) for both cases and compare the output CSV using some kind of text file comparator or pandas or something?  Is there any difference there?  If not, the difference would seem to be in the join process.
Also, did you run both analyses around the same time?  If you're using the ArcGIS Online services (sounds like you are), we recently made a major data update.  That could cause some differences in results if you ran one before the update and one after.  If you think this applies to you, you can give me the date you ran the analyses, and I can let you know if it seems likely to be affected by those data updates.
The second image looks really suspicious, as if a specific subset of the records is missing.  Did you get any warning messages when running the tool?  In Pro, you will see warnings printed to the GP window if some OD Cost Matrix subprocesses fail for some reason.  In standalone Python, you would have to explicitly retrieve the messages using arcpy.GetMessges() after the tool finishes running, so maybe you have missed that opportunity.

I have been running the arcpy script in FME Form, which does not always retrieve or log all messages.
The join back, both with the Pro output csv and the arcpy csv, occurs in FME Form, so it is the output of the csv that is the issue. The behavior and specific missing points in the arcpy script has been consistent. Both analyses were run the same day as the original post.

For further testing I ran the snippet only in an Arcpy ipython console and did not find a difference between the datasets in either the csv or the output origins and destinations in FeatureCompare.
I am not sure why the arcpy script in FME's Python Caller produces this unexpected output, but will reach out to them.

Thank you

It is not the join, as the join in FME with the three outputs to their respective csvs all occur in FME (that is where the sceenshots are from) it is in the actual output CSV. The CSV output from the arcpy run in FME is missing 3662 OriginOIDs that are generated in arcpy and Pro
The output origins all match one another, the only difference is the number of columns
pro-arc

fme-pro:

Sorry, I'm having trouble keeping track of which things you're comparing.  Can we break it down?
The tool output should include:

A set of CSV files in a folder, named like ODLines_O_#_#_D_#_#.csv
A feature class with the output origins, which includes OIDs matching what's in the CSV files
A feature class with the output destinations, which includes OIDs matching what's in the CSV files

Let's forget about the join for the moment.  Which of the things above is different between your manual Pro workflow and your FME workflow (before you do the join)?
For the Feature Compare results in your most recent comment: Which feature class is being compared?  Is that after the join?

✔ A set of CSV files in a folder, named like ODLines_O_##D##.csv
✔ A feature class with the output origins, which includes OIDs matching what's in the CSV files
✔ A feature class with the output destinations, which includes OIDs matching what's in the CSV files
Is present for the three methods of generation:

Tool in ArcPro (A) ✔ (expected output joining with CSV)
Script in ArcPy IPython terminal (B) ✔ (expected output joining with CSV)
Script in FME Python Caller (C) ❌ (output CSV does not have all OIDs of the output feature class)

All inputs for the three methods are the same, the difference is in where the tool is run
For the feature compare: I am sorting by Origin ID. I am the feature class with the output origins, which has OOID. pre-join aka

A feature class with the output origins, which includes OIDs matching what's in the CSV files
I have updated my original comment for clarity.

Okay.  If I have understood your latest comment correctly, the output feature class of origins (unjoined) is missing rows from the FME workflow.  Is that correct?
If that's the case, then we have to figure out why all the origins didn't make it through the processing.  The origins feature class is pretty much a straight copy of the input origins feature class.  It seems like some of them must be getting filtered out somehow.  Does the FME workflow have a limit to the number of features that can be added?  Does the input have a selection set or definition query?

Clarification: The output CSV is missing OIDs we see in the output feature class

Okay, so the output feature class of origins is identical.  Is that right?
The problem is with the output CSV files.  Is that right?  Okay, let's try to pin down what the problem with the CSV files is.  Here are some possibilities:

The number of output CSV files is different.  Some CSV files are missing.  You should be able to see which chunks are missing based on the naming scheme, ODLines_O_#_#_D_#_#.csv.  The # signs represent the ObjectID ranges of the origins and destinations in the chunk.
All the output CSV files are present, but the total number of rows is different.  In other words, the contents of the CSV files is different.  You can test this by reading all the CSV files into combined pandas dataframes or something like that and counting the rows.
The CSV files are the same and have the same number of rows, but the OriginOID values are different/incorrect.  For instance, maybe the OriginOID values were incorrectly reset to 1 and go like 1, 2, 3 instead of 382, 383, 384.  This could mess up the joins.

Can you determine which of these best describes the difference in the CSV files between your FME results and your Pro or arcpy results?

Okay, so the output feature class of origins is identical. Is that right?
Correct

The number of files are the same
The content of the files are different, resulting in dropped rows and differing file sizes

In working with this, I discovered that a differing build number in FME in combination with passing the csv foldername as
r"\\servername\shared_folder_for_csvs" instead of "\\\\servername\shared_folder_for_csvs" resulted in resolution to number 2.
What is to note, is that  "\\\\servername\shared_folder_for_csvs"  did result in the correct output when passed to arcpy. This might be because of the interpreter that FME uses for its PythonCaller,

Oh, interesting.  So does this completely solve your problem, or is there still some discrepancy remaining?

I believe this solves the issue more or less, thank you for your response.


Polkassembly integration issue

listing/on-chain-posts failed with status code 500
Investigate whether is a temporary issue, or if we have to do something about it on our side.

Looks like it was a temporary issue on the Polkassembly API's side.
It works now:
https://github.com/paritytech/polkadot-sdk/pull/3371#issuecomment-1998743810
So closing this one. We have https://github.com/paritytech/substrate-tip-bot/issues/148 that aims to increase our reliability in case of such external issues.

The same issue is happening still from time to time.
I've reported it to Polkassembly discord.


video_player driver test failing on Cirrus CI iOS simulator.

The driver test in video_player ('Push a page contains video and pop back, do not crash.') is currently failing on CI with some weird time-out. It seems to hang indefinitely. However, the test runs successfully in local.
This test is introduced in https://github.com/flutter/plugins/pull/2124 and it is a fix for the issue https://github.com/flutter/flutter/issues/41125
Failing log:
if [[ "$CHANNEL" -eq "stable" ]]; then find . | grep _web$ | xargs rm -rf; fi
flutter channel $CHANNEL
Switching to flutter channel 'master'...
git: Already on 'master'
git: Your branch is up to date with 'origin/master'.
./script/incremental_build.sh build-examples --ipa
Checking for changed packages from b1488e6636471ec29a696275c56081bd7be71087
Detected changes in the following 1 package(s):
video_player
running build-examples --ipa
BUILDING IPA for video_player/example
Running "flutter pub get" in example...                            28.6s
Warning: Building for device with codesigning disabled. You will have to manually codesign before deploying to device.
Building io.flutter.videoPlayerExample for device (ios-release)...
Warning: Missing build name (CFBundleShortVersionString).
Warning: Missing build number (CFBundleVersion).
Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store.
Running pod install...                                              5.3s
Running Xcode build...
Xcode build done.                                           76.1s
Built /private/var/folders/sy/2x5qvs0n4lg18fry9jz4y21m0000gn/T/cirrus-ci-build/packages/video_player/example/build/ios/iphoneos/Runner.app.
All builds successful!
Running version check for changed packages
No version check errors found!
./script/incremental_build.sh drive-examples
Checking for changed packages from b1488e6636471ec29a696275c56081bd7be71087
Detected changes in the following 1 package(s):
video_player
running drive-examples
RUNNING DRIVER TEST for video_player/example/test_driver/video_player.dart
Using device Flutter-iPhone.
Starting application: test_driver/video_player.dart
Warning: Missing build name (CFBundleShortVersionString).
Warning: Missing build number (CFBundleVersion).
Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store.
Running pod install...                                              2.4s
Running Xcode build...
Xcode build done.                                           37.4s
flutter: Observatory listening on http://<IP_ADDRESS>:50239/00vaWPpV0X8=/
[info ] FlutterDriver: Connecting to Flutter application at http://<IP_ADDRESS>:50239/00vaWPpV0X8=/
[trace] FlutterDriver: Isolate found with number:<PHONE_NUMBER>18995
[trace] FlutterDriver: Isolate is paused at start.
[trace] FlutterDriver: Attempting to resume isolate
[trace] FlutterDriver: Waiting for service extension
        [x86_64] libnetcore-1229.250.15
    0   libnetwork.dylib                    0x000000010a7493b8 __nw_create_backtrace_string + 120
    1   libnetwork.dylib                    0x000000010a6a34b9 nw_dictionary_set_value + 265
    2   libnetwork.dylib                    0x000000010a6f4436 nw_path_evaluator_cancel + 582
    3   MediaToolbox                        0x000000011791c744 FigNWPathEvaluatorCreate + 886
    4   MediaToolbox                        0x00000001179b2a24 AttemptNetworkMonitorSetup + 214
    5   MediaToolbox                        0x00000001179b264f segPumpSendIndexFileRequest + 865
    6   MediaToolbox                        0x00000001179ccdef segPumpRequestIndexForStream + 810
    7   MediaToolbox                        0x00000001179c9fb1 segPumpLoadInformation + 106
    8   MediaToolbox                        0x0000000117a0e619 EnsureBytePump + 478
    9   MediaToolbox                        0x0000000117a05e5a PerformTransferBytePumpAsync + 46
 <…>
[info ] FlutterDriver: Connected to Flutter application.
00:00
+0
: Push a page contains video and pop back, do not crash.
TX and TY are 0. Rotation: 0. Natural width,height: 1280.000000, 720.000000
[warning] FlutterDriver: waitFor message is taking a long time to complete...
    "LocalDataTask <70A17996-C10F-49E9-B1A7-861A23893CE3>.<1>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <70A17996-C10F-49E9-B1A7-861A23893CE3>.<1>, NSLocalizedDescription=cancelled} [-999]
flutter: Failed to load video: resource unavailable
10:00
+0
 -1
: Push a page contains video and pop back, do not crash.
[E]
  TimeoutException after 0:10:00.000000: Test timed out after 10 minutes.
  package:test_api/src/backend/invoker.dart 332:28              Invoker._handleError.<fn>
  dart:async/zone.dart 1120:38                                  _rootRun
  dart:async/zone.dart 1021:19                                  _CustomZone.run
  package:test_api/src/backend/invoker.dart 330:10              Invoker._handleError
  package:test_api/src/backend/invoker.dart 283:9               Invoker.heartbeat.<fn>.<fn>
  dart:async/zone.dart 1124:13                                  _rootRun
  dart:async/zone.dart 1021:19                                  _CustomZone.run
  package:test_api/src/backend/invoker.dart 281:38              Invoker.heartbeat.<fn>
  package:stack_trace/src/stack_zone_specification.dart 209:15  StackZoneSpecification._run
  package:stack_trace/src/stack_zone_specification.dart 119:48  StackZoneSpecification._registerCallback.<fn>
  dart:async/zone.dart 1124:13                                  _rootRun
  dart:async/zone.dart 1021:19                                  _CustomZone.run
  dart:async/zone.dart 947:23                                   _CustomZone.bindCallback.<fn>
  dart:async-patch/timer_patch.dart 21:15                       Timer._createTimer.<fn>
  dart:isolate-patch/timer_impl.dart 382:19                     _Timer._runTimers
  dart:isolate-patch/timer_impl.dart 416:5                      _Timer._handleMessage
  dart:isolate-patch/isolate_patch.dart 172:12                  _RawReceivePortImpl._handleMessage
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1045:19                                  _CustomZone.registerCallback
  dart:async/zone.dart 946:22                                   _CustomZone.bindCallback
  dart:async/zone.dart 1191:21                                  _rootCreateTimer
  dart:async/zone.dart 1088:19                                  _CustomZone.createTimer
  package:test_api/src/backend/invoker.dart 280:34              Invoker.heartbeat
  package:test_api/src/backend/invoker.dart 243:5               Invoker.waitForOutstandingCallbacks
  package:test_api/src/backend/declarer.dart 166:33             Declarer.test.<fn>.<fn>
  dart:async/zone.dart 1124:13                                  _rootRun
  dart:async/zone.dart 1021:19                                  _CustomZone.run
  dart:async/zone.dart 1516:10                                  _runZoned
  dart:async/zone.dart 1463:12                                  runZoned
  package:test_api/src/backend/declarer.dart 165:13             Declarer.test.<fn>
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1045:19                                  _CustomZone.registerCallback
  dart:async/zone.dart 962:22                                   _CustomZone.bindCallbackGuarded
  dart:async/timer.dart 52:45                                   new Timer
  dart:async/timer.dart 87:9                                    Timer.run
  dart:async/future.dart 174:11                                 new Future
  package:test_api/src/backend/invoker.dart 399:21              Invoker._onRun.<fn>.<fn>.<fn>
10:00
+0
 -1
: (tearDownAll)
10:00
+0
 -1
: Push a page contains video and pop back, do not crash.
[E]
  DriverError: Failed to fulfill WaitFor due to remote error
  Original error: Bad state: The client closed with pending request "ext.flutter.driver".
  Original stack trace:
  #0      new Client.withoutJson.<anonymous closure> (package:json_rpc_2/src/client.dart:70:24)
  #1      _RootZone.run (dart:async/zone.dart:1374:54)
  #2      _FutureListener.handleWhenComplete (dart:async/future_impl.dart:161:18)
  #3      Future._propagateToListeners.handleWhenCompleteCallback (dart:async/future_impl.dart:648:39)
  #4      Future._propagateToListeners (dart:async/future_impl.dart:704:37)
  #5      Future._propagateToListeners (dart:async/future_impl.dart:605:9)
  #6      Future._completeWithValue (dart:async/future_impl.dart:522:5)
  #7      Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:552:7)
  #8      _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
  #9      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
  #10     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:391:30)
  #11     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
  #12     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
  package:flutter_driver/src/driver/driver.dart 449:7  FlutterDriver._sendCommand
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1062:19                         _CustomZone.registerBinaryCallback
  dart:async-patch/async_patch.dart 80:23              _asyncErrorWrapperHelper
  package:test_api/src/backend/invoker.dart            Invoker.waitForOutstandingCallbacks.<fn>
  dart:async/zone.dart 1124:13                         _rootRun
  dart:async/zone.dart 1021:19                         _CustomZone.run
  dart:async/zone.dart 1516:10                         _runZoned
  dart:async/zone.dart 1463:12                         runZoned
  package:test_api/src/backend/invoker.dart 247:5      Invoker.waitForOutstandingCallbacks
  package:test_api/src/backend/declarer.dart 166:33    Declarer.test.<fn>.<fn>
  dart:async/zone.dart 1124:13                         _rootRun
  dart:async/zone.dart 1021:19                         _CustomZone.run
  dart:async/zone.dart 1516:10                         _runZoned
  dart:async/zone.dart 1463:12                         runZoned
  package:test_api/src/backend/declarer.dart 165:13    Declarer.test.<fn>
  ===== asynchronous gap ===========================
  dart:async/zone.dart 1045:19                         _CustomZone.registerCallback
  dart:async/zone.dart 962:22                          _CustomZone.bindCallbackGuarded
  dart:async/timer.dart 52:45                          new Timer
  dart:async/timer.dart 87:9                           Timer.run
  dart:async/future.dart 174:11                        new Future
  package:test_api/src/backend/invoker.dart 399:21     Invoker._onRun.<fn>.<fn>.<fn>
10:00
+0
 -1
:
Some tests failed.
Unhandled exception:
Dummy exception to set exit code.
#0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:1112:29)
#1      _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#2      _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#3      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:391:30)
#4      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5)
#5      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
Stopping application instance.
Driver tests failed: 255
The following driver tests are failing (see above for details):
 * video_player/example/test_driver/video_player.dart
 * video_player/example/test_driver/video_player.dart

The issue is due to the CI's iphone simulator not able to access local video assets. We should be able to resolve this when we move our tests to firebase device lab. @collinjackson

cc @fkorotkov

@fkorotkov Are there any news on this?

@cyanglaz VMs are ready but initial testing on networking for the new infrastructure failed. It wouldn't handle the load from all the potentials nodes and won't scale. I've re-implemented it during the weekend and going to configure and test everything again this week. I'll keep you posted! 🙌

Looks like this is fixed, closing.


Selected Date Position.

https://drive.google.com/file/d/1lqqEmuOUd9uyjGTPKPyZ7YgK7XXJ3bvO/view?usp=sharing
when I Select a date from the header and want to show the selected date from the start position, but some dates can't be taken from the start? it may be taken to mid or last.
watch the above video

To be sure, do you mean the following??

when you press march-25 --> see dates march-25 | march-26 | march-27
when you press march-5 --> see dates march-5 | march-6 | march-7
when you press march-24 --> see dates march-24 | march-25 | march-26

This cannot be done at the moment. The days are rendered by pages, in the previous example a page would be march-25-26-27. This would require re-calculating all the pages to show march-24-25-26.

This is somewhat related to #128, once we improve that, we may be able to improve this

yes I want to like this

when you press march-25 --> see dates march-25 | march-26 | march-27
when you press march-5 --> see dates march-5 | march-6 | march-7
when you press march-24 --> see dates march-24 | march-25 | march-26
any idea how to do like this.

I clone the new app and checkout to feature/185-gotodate-position but still not working.
It takes the wrong date position.
I want that selected date to show on the left side like as I select 23 then show 23,24,25 etc
24=> 24,24,25
25=>25,26,27
https://user-images.githubusercontent.com/58082294/163953497-e3549af0-7b06-4911-9a4b-1394ee856190.mov

Please provide a minimal code example to reproduce this

When you press the date in the video, what are the new props provided? (could you show a console log, or something)
Could the useEffect hook dependecies be wrong? I think it should be [props.date] instead of [props.event]

Could you try setting the hook without dependencies, and see if the issue persists? i.e. useEffect(() => {...});

not working

useEffect should not return a promise, see here: https://www.robinwieruch.de/react-hooks-fetch-data/

I also encountered the same issue. The goToDate function works but the selected date is not moving to first column. Sometimes it goes to last column, sometimes on mid, sometimes on first column. @pdpino
https://user-images.githubusercontent.com/36293831/183694194-fde75f86-136c-4476-a046-8ef062bd65d0.mp4
.

@SwikarBhattarai this is still not solved. I will try to address it soon

@pdpino i think there is some problem when we select date smaller that today's date. When we select date greater that today's date, its working fine. may. be there is some issue in goToIndex function. can you please check that??

@SwikarBhattarai could you provide a screenshot or video showing the problem?

https://user-images.githubusercontent.com/36293831/184528271-3f4e3757-ca0a-4b08-913a-988149182b47.mp4
@pdpino check this video

thanks, I'll check this out


Remote pressed, action not executed

Issue
Regularly, when I press the buttons on the remote controls, nothing happens. I can clearly see the action in Homebridge. I have to restart Homebridge for it to work.
I use Philipps Dimmer and Ikea remote control.
Log Messages

[11/30/2020, 10:10:38 AM] [Hue] Télécommande lit Alex On: homekit button single press
[11/30/2020, 10:10:39 AM] [Hue] Télécommande lit Alex On: homekit button single press

Debug Files
homebridge-hue.json.gz
homebridge.log

This is unrelated to Homebridge Hue.  It's caused by your Home hub losing the connection to Homebridge.  See e.g. #827.

I loose the connection everyday currently. Who is the guilty, homebridge or Phoscon ?


Issue with k8s.io/docs/setup/independent/create-cluster-kubeadm/

This is a...

[ ] Feature Request
[ x] Bug Report

Problem:
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel-rbac.yml
This url is not resolving - it gives a 404 error
Proposed Solution:
repair link
Page to Update:
https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/

@zacharysarah
https://github.com/kubernetes/kubernetes.github.io/pull/5584 fixed it.
So it can be closed =)


How to change orientation of radiobuttons?

The documentation talks about different orientation with samples but no mention of how the orientation can be changed. By default, the radiobuttons are always in vertical orientation and I need in horizontal orientation including the Header.
Example:
Units : [x] Kmph [ ] Mph
 <muxc:RadioButtons Header="Units:" SelectedIndex="0">
   <RadioButton Content="Kmph" />
   <RadioButton Content="Mph" />
 </muxc:RadioButtons>

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

ID: d56b7d5e-8ac1-6be4-6017-d4bf2ad02f5e
Version Independent ID: ebb92a1f-f9d1-cdcc-5a3d-6a1b53005f40
Content: Guidelines for radio buttons - UWP applications
Content Source: windows-apps-src/design/controls-and-patterns/radio-button.md
Product: uwp
Technology: design
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

Hi, sorry for the delayed response to your issue. The feedback channel you're using here is for feedback about the documentation in this topic. For time-sensitive questions or assistance, we recommend you visit Microsoft Q&A to post your question.
Horizontal layout is covered in the multiple columns section of the doc. To have items arranged in a single horizontal row, set MaxColumns equal to the number of radio buttons. However, there is no way to include the Header in the horizontal layout as in your example. For that, you will have to leave the Header property empty and use a separate TextBlock for the label.

Hi, sorry for the delayed response to your issue. The feedback channel you're using here is for feedback about the documentation in this topic. For time-sensitive questions or assistance, we recommend you visit Microsoft Q&A to post your question.

Thank you will do so in future.

Horizontal layout is covered in the multiple columns section of the doc. To have items arranged in a single horizontal row, set MaxColumns equal to the number of radio buttons. However, there is no way to include the Header in the horizontal layout as in your example. For that, you will have to leave the Header property empty and use a separate TextBlock for the label.

There is by default too much padding so its difficult to bring it closer when only 2 or 3 items are there. This beats the purpose.

Maybe im a bit late, but for anyone who is wondering:
override the RadioButtons style as such:
      <RadioButtons.Style>
                                    <Style TargetType="RadioButtons">
                                        <Setter Property="IsTabStop" Value="False" />
                                        <Setter Property="TabNavigation" Value="Once" />
                                        <Setter Property="Template">
                                            <Setter.Value>
                                                <ControlTemplate TargetType="RadioButtons">
                                                    <StackPanel>

                                                        <VisualStateManager.VisualStateGroups>
                                                            <VisualStateGroup x:Name="CommonStates">
                                                                <VisualState x:Name="Normal" />

                                                                <VisualState x:Name="Disabled">
                                                                    <VisualState.Setters>
                                                                        <Setter Target="HeaderContentPresenter.Foreground" Value="{ThemeResource RadioButtonsHeaderForegroundDisabled}" />

                                                                    </VisualState.Setters>
                                                                </VisualState>

                                                            </VisualStateGroup>

                                                        </VisualStateManager.VisualStateGroups>
                                                        <ContentPresenter x:Name="HeaderContentPresenter" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" Foreground="{ThemeResource RadioButtonsHeaderForeground}" Margin="{ThemeResource RadioButtonsTopHeaderMargin}" />
                                                        <ItemsRepeater x:Name="InnerRepeater">
                                                            <ItemsRepeater.Layout>
                                                                <StackLayout  Spacing="-60"
                                                                              Orientation="Horizontal"/>
                                                            </ItemsRepeater.Layout>
                                                        </ItemsRepeater>
                                                    </StackPanel>

                                                </ControlTemplate>
                                            </Setter.Value>
                                        </Setter>
                                    </Style>
                                </RadioButtons.Style>

The default padding still exists, to get around this in a hacky way: Set the Spacing property of the StackLayout to a negative value.


Removed second description meta tag

I removed the second description meta tag, what solves the problems

Thanks @braek! 🥇


Fix excessive path escaping in runtest py

Running "python runtest.py SCons\Tools\SomeTest.py" fails on Windows with "PermissionError: [WinError 5] Access is denied". This is due to the call to escape() applied to args.python, resulting in a path like "C:\\Program Files\\Python310\\python.exe".
Removing the call to "escape()" resolves this failure. I have tested this fix on Windows 11 and Ubuntu.

Thanks for dropping in!   There are indeed some issues with the handling of the strings used to specify tests - both on the command line and in test/exclude lists.  This hadn't been something I'd run into, though... can you think of a test that will trigger if the problem accidentally comes back? There's a test/runtest section it might fit into.

You deleted the developer checklist for the PR.
I've restored it.
Please fill out the items you've completed and complete the items you haven't if they apply.

Running
python .\runtest.py .\SCons\Tool\msvsTests.py
Works fine for me without these changes.
@jediry - Can you provide an example which fails without this PR's changes?


Minimize/maximize shortcut

Description of the new feature/enhancement

It would be nice to have a system shortcut to minimize/maximize the terminal window

Do you mean like Win+Up or Win+Down?

No, I mean a shortcut that will work when the terminal window doesn't have the focus.
For example, I open the terminal window, minimize it, switch to any other window, and then push a shortcut that will maximize the terminal window and move the focus on it. If the terminal window was maximized the shortcut just moves the focus to the terminal window. If the focus is on the terminal window, the shortcut will minimize the terminal window.
And it would be nice to have an option to either minimize the terminal window or minimize it to the tray.

Ah okay, that's much clearer. You're looking for /dup #653


TowerLoss(Multiple GPU) will hurt final accuracy/performance so much when doing image finetune, is it a bug?

From the paper "Show and Tell: Lessons learned from the 2015 MSCOCO Image Captioning Challenge"
Writer say "Training was
done using a single GPU (Nvidia K20), and step time was
about 3 seconds. Thus, training took over 3 weeks – parallelizing
training yielded somewhat worse results, though it
increased the speed to convergence."
For my applications, I find tower loss is ok when you do anything without finetune image mode, even
if you use image model(inception resnet nasnet etc.) is fine.
But if you do finetune, either for image caption or image classification, the performance will hurt
a lot(using mulitple gpu wether increase total batch size or keep total batch size the same as single gpu), might not convergent.  Is it a known bug, can we avoid this ?

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


consistent usage of image value strings

Wasn't consistent yesterday in #90

Closing to clean up PRs. Not a big deal right now. CBA


:beetle: Error trying to create a new repo

ghrepo
? Publish new repo as ialex/hot-ranking? Yes
Bad credentials

Any ideas how im receiving this error?

I haven't been able to reproduce. Let me know if you see it.
:cat2:


Create a mixin for "updatable" visualization component

This would mainly consist of an update(options) method.
The semantics of the method could vary (i.e. we won't, and really can't, enforce them generally) but generally speaking, any visualization that doesn't have an update() method could gain one by taking all the vis prep done in the constructor, moving it into update(), then calling this.update(options) in the constructor in lieu of doing the prep directly. If updating a visualization should cause an immediate rerender, then update() can call render() directly. Other options would be to emit a signal or to do nothing.
@alex-r-bigelow, what do you think?

I could also be convinced that this should just be part of VisComponent, perhaps with a default empty implementation (i.e., not one that throws an error, etc.).

Yeah, we're already doing the wipe-and-re-render approach as the default behavior in Resonant Lab if an update() function doesn't exist—moving that logic into VisComponent makes a lot of sense to me.
As an aside, an update() feature—especially allowing a view to update without a full re-render—is absolutely critical if we want to enable any kind of Hanpuku-style vis customization. So my vote would be to keep it simple, where the default is to wipe and re-render if no update() feature exists, but let the component take over whether and how to call render() if it implements update()


Updated connection string code

Update connection string code for current version of Entity Framework with LocalDb; prior code no longer works.
No reference number.

We appreciate your pull request; however, I'm closing this one for the same reason as stated in https://github.com/aspnet/Docs/pull/6399.


Add refresh token and access token for reset password

Want to add refresh token and access token if user have to change the password, they can do it using tokens.

@Trisha-tech, I would like to work on it. Please assign this to me

Can you assign it to me under GSSOC 24 extd
@Trisha-tech  @ArtiGaund

Can you assign it to me under GSSOC 24 extd @Trisha-tech @ArtiGaund

Hello @CodexRaunak, Go for it
All the Best

Hey @Trisha-tech can you help me in this one issue, am I doing it correctly?

I am facing this issuee in my local storage token is undefined,  but its correctly sent via backend and its also showing in SetCookie header in network tab

Undefined in local storage

Not showing the cookie

Hey @Trisha-tech can you help me in this one issue, am I doing it correctly?

Refer to this once. https://github.com/Trisha-tech/NodeJS-Backend/blob/master/routes/auth.js
If still you are facing the problem, feel free to contact.

hey @Trisha-tech need help, i am not understanding it , I have been working on it for hours. There is already an exchangeToken function there which validates the refresh token from the frontend and then generate a new access and refresh token, so this thing ig is already implemented?
There is also a updatePassword controller, and there is a function for exchanging tokens as well. So what I have to do, like you mentioned in the reference , do I have to send the access token via email?
Also in postman i don't know why but the server is not responding the request. 404 not found. So how can I check my APIs, even I am not able to get the register route, which works perfectly fine in the website.

There is a need to first solve the register issues. Kindly wait till this issue has not been resolved. @CodexRaunak


Prepare v4.4.1

[x] Run linters;
[x] Run compilers;
[x] Run tests;
[x] Check documentation site: examples and contents;
[x] Test cross-browser compatibility locally and with BrowserStack:

Firefox ESR
IE11
Latest Edge, Chrome, Firefox, Safari
iOS Safari
Chrome & Firefox on Android

[x] Including RTL mode;
[x] Ask for reviews and accessibility testing;
[x] npm run release-version to bump version number
[x] npm run release to compile dist, update SRI hashes in doc and package the release
[x] Prepare changelog:

install Conventionnal Changelog globally
conventional-changelog -p angular -i CHANGELOG.md -s
maintain a ship list … #287

[x] Wait for brand approval or suggestions about current items in navigation
[x] implement changes (in components, Boostwtach, examples…)
[x] re-run npm run release
[x] update Ship List + changelog

Then:

[ ] commit and push with a chore(release) commit message
[ ] merge (on v4-dev for now)
[ ] tag your version
[ ] create a GitHub release:

attach zip file
paste CHANGELOG in the release's description

[ ] publish documentation on gh-pages

copy _gh_pages/ top level files (index.html, redirects.json, sitemap.xml…) and _gh_pages/docs/4.4 to the gh-pages branch
ensure Algolia indexes new release content (probably requires a PR)

[ ] npm pack then npm publish

if you are already logged in NPM (with a personnal account, for example), you'd better use a repository scoped .npmrc file

[ ] publish on Nuget
[ ] check release on NPM, Nuget, Packagist…

Close #287 on merge.

New comments to check:

[x] Reduce the height of the Supra bar by 2px to 40px.
[ ] Align the first navigation label ‘Personal’ so it is left aligned to the Orange logo.
[ ] Increase the spacing between the labels in the Supra bar to 15px.
[ ] The space between the account icon and the language selection (in the supra bar) needs to be 30px.
[ ] The icons in the global header need to move up 2px.


fix: install vscode dependencies before publishing

:tada: This PR is included in version 2.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: