Support multiline comments in protobuf

Fixes https://github.com/highlightjs/highlight.js/issues/2561

@yyyc514 here is PR

Looks nice. Please add mention to CHANGES.md. :)

Done

@Paxa Not that painful, eh? :-)
Thanks for much for your contribution!


[BUG] Security Plugins do not apply on the workbench

Describe the bug
When I created an S3 Bucket in a workbench, I got a CDK Nag error.
[Error at /workbench/S3Stack/ContextBucket/Resource] AwsSolutions-S1: The S3 Bucket has server access logs disabled.
What's Happening:
In Non-Workbench Environments:
The Security Plugin's Aspects automatically configure server access logging for S3 buckets.
This means the S3 buckets pass the CDK Nag checks for security best practices.
In the Workbench Environment:
The Security Plugin's Aspects are executed after the CDK Nag checks.
As a result, CDK Nag doesn't see the server access logging configured and raises an error.
This happens because CDK Nag's aspects are added to the app first, due to inheritance, and run before any other aspects.
CDK Synthesis Aspect Ordering
Expected Behavior

Current Behavior

Reproduction Steps
Create an S3 Bucket in a worbench, then synthetise the app.
Possible Solution
No response
Additional Information/Context
No response
CDK CI/CD Wrapper version used
latest
Environment details (OS name and version, etc.)
ALL

This issue has been resolved.


add launch and fixed typos

add launch and fixed typos

Thanks for your fix and test script.
I checked.


Provide near-miss suggestions

If a user mistypes an option, flag, or command, the error message should include a suggestion for the near-miss.
Example:
% example --indx 5
Error: Unexpected argument '--indx'
       Did you mean '--index'?
Usage: example [--index <index>] [<values> ...]

I'll see if I can get this done 👍

@klaaspieter nice! Hmm @natecook1000 wanna add some more good first issue labels (or new issues, with that label)?

Hello @klaaspieter,  how can this be imported to SwiftPM?


Correcting link

Closes https://github.com/MicrosoftDocs/office-docs-powershell/issues/7485

Docs Build status updates of commit 202f64a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/docs-conceptual/sharepoint-online/connect-sharepoint-online.md
:bulb:Suggestion
View (sharepoint-ps)
Details

sharepoint/docs-conceptual/sharepoint-online/connect-sharepoint-online.md

Line 2, Column 1: [Suggestion-audience-missing] Missing required attribute: 'audience'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@Kateyanne Please merge this PR. Thanks

Docs Build status updates of commit 441fbe3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/docs-conceptual/sharepoint-online/connect-sharepoint-online.md
:bulb:Suggestion
View (sharepoint-ps)
Details

sharepoint/docs-conceptual/sharepoint-online/connect-sharepoint-online.md

Line 2, Column 1: [Suggestion-audience-missing] Missing required attribute: 'audience'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 2af3ad7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/docs-conceptual/sharepoint-online/connect-sharepoint-online.md
:bulb:Suggestion
View (sharepoint-ps)
Details

sharepoint/docs-conceptual/sharepoint-online/connect-sharepoint-online.md

Line 2, Column 1: [Suggestion-audience-missing] Missing required attribute: 'audience'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Fix login logout on safari

Fixes:

the account icon is not visible on Safari & Firefox
the active wallet cookie not removed after logout

Before:

After:

I tried this PR in Safari version 17.3.1 on macOS 14.3.1 and I was still not able to logout successfully.

I tried this PR in Safari version 17.3.1 on macOS 14.3.1 and I was still not able to logout successfully.

I take it back, after I restarted Safari and tested again it works. Looking forward to this getting merged and released.


zod errors for shippo.carrierParcelTemplates.list()

here is the response i get:
Unexpected Server Error

Response validation failed: [
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "boolean",
    "path": [
      "results",
      0,
      "is_variable_dimensions"
    ],
    "message": "Expected string, received boolean"
  },
  ...

should be fixed later today, will close this issue once a new artifact is published

fixed in https://www.npmjs.com/package/shippo/v/2.5.0


Marching squares

Adding c5-marching-squares
You also want the Coding in the Cabana videos  added as a separate track, correct?  What about the showcases?  There are A LOT so I would think duplication is not a good idea because that means adding a ton of images, but what is your thought on this?
I wasn't able to figure out how to grab your index.pngs for these videos.  If you tell me where to find them, I will add.   Or I could add one of the example pngs for the time being.

I wasn't able to figure out how to grab your index.pngs for these videos. If you tell me where to find them, I will add. Or I could add one of the example pngs for the time being.

@kfahn22 let's use one of the example PNGs as a start! I generally prefer these to the YT thumbnails with text anyway. Sometime I'll want to do a pass over all the thumbnails maybe.

@kfahn22 I don't think there is any duplication required, tracks can be made from any videos (even other coding challenges), it is not mandatory to create a specific folder for a track. See example

I have added an index.png.  Also did a pull request with images for other Coding in the Cabana videos.

@kfahn22 I don't think there is any duplication required, tracks can be made from any videos (even coding challenges or videos in other tracks), it is not mandatory to create a specific folder for a track. See algorithmic-botany, which uses challenge videos and doesn't have its own folder.

@dipamsen is right! The engine of the website only requires a single JSON file (and set of images) per video but the videos themselves can be organized in multiple tracks and side-tracks! The showcase files will show up no matter where the video is listed too!
So do do this you'd want to create a  folder and JSON file here:
https://github.com/CodingTrain/thecodingtrain.com/tree/main/content/tracks/side-tracks
and then list the videos by path in the JSON file. Take a look at the site maintenance guide for more and feel free to pull request changes or make suggestions to that document if there are ways to improve it!


Add numbering and clear all to tile markers

I love the mark tile feature, its great if you want to measure distance or mark terrain. I thought of some ways to improve it:

Tiles should be numbered with the number written on it somewhere (small in a corner sounds reasonable), to help remember which tiles you placed first.
I'm also thinking it could be displayed by a color variation, a gradient, related to the tile's age, for example, the first tile you placed is red, and the newest tile is green, all the tiles in-between are a gradient of both colors.
A "Clear All" button in the menu would be useful.

Thanks, great work guys

Seems a little bit niche and perhaps not really useful for most usecases and perhaps sometimes annoying? I don't really see a use case atm for it (but that is me).

Do you mean in the config tab? I don't believe "custom buttons" are posible atm, but you can reset the marked tiles with ctrl+shift+right click.

(Just my opinion, I can be wrong though)

@TheLonelyDev I don't believe that the hotkey you mentioned "Ctrl+Shift+Right Click" is working. Is there currently an option to remove all marked tiles?

If I may add to this, I could see the numbering, or at least a option to recolor a marked tile, being useful for things like learning Zulrah. I'd be able to mark the tiles I need to stand on and color them for what combat style I'd need to use. Or if numbering, I could mark rotations and what not. Would be that much easier to learn it.

Both halves of this issue are now effectively implemented:
Numbering can now be done with tile labels
An option can now be enabled to clear all markers around the player from the world map button


🐛 [firebase_auth] When closing Android app with physical back button, the app crashes

Bug report
Describe the bug
When I want to close my Android app with the physical back button of the smartphone the app crashes.
Steps to reproduce
Steps to reproduce the behavior:

Initialize the app with Firebase documentation
Run the app on an Android device
When the app is opened, close it with the physical back button of the smartphone
The app crashes and in the console appears this error:

Click To Expand
I/FlutterBluePlugin( 4204): teardown
E/BasicMessageChannel#( 4204): Parameter messenger must not be null.
D/AndroidRuntime( 4204): Shutting down VM
E/AndroidRuntime( 4204): FATAL EXCEPTION: main
E/AndroidRuntime( 4204): Process: com.wineandmore.eplus_tuning, PID: 4204
E/AndroidRuntime( 4204): java.lang.RuntimeException: Unable to destroy activity {com.wineandmore.eplus_tuning/com.wineandmore.eplus_tuning.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.BinaryMessenger.setMessageHandler(java.lang.String, io.flutter.plugin.common.BinaryMessenger$BinaryMessageHandler)' on a null object reference
E/AndroidRuntime( 4204): 	at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4586)
E/AndroidRuntime( 4204): 	at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4609)
E/AndroidRuntime( 4204): 	at android.app.ActivityThread.-wrap7(ActivityThread.java)
E/AndroidRuntime( 4204): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
E/AndroidRuntime( 4204): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4204): 	at android.os.Looper.loop(Looper.java:154)
E/AndroidRuntime( 4204): 	at android.app.ActivityThread.main(ActivityThread.java:6682)
E/AndroidRuntime( 4204): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4204): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
E/AndroidRuntime( 4204): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
E/AndroidRuntime( 4204): Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void io.flutter.plugin.common.BinaryMessenger.setMessageHandler(java.lang.String, io.flutter.plugin.common.BinaryMessenger$BinaryMessageHandler)' on a null object reference
E/AndroidRuntime( 4204): 	at io.flutter.plugin.common.BasicMessageChannel.setMessageHandler(BasicMessageChannel.java:132)
E/AndroidRuntime( 4204): 	at io.flutter.plugins.firebase.auth.GeneratedAndroidFirebaseAuth$MultiFactorUserHostApi$-CC.setup(GeneratedAndroidFirebaseAuth.java:358)
E/AndroidRuntime( 4204): 	at io.flutter.plugins.firebase.auth.FlutterFirebaseAuthPlugin.onDetachedFromEngine(FlutterFirebaseAuthPlugin.java:131)
E/AndroidRuntime( 4204): 	at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.remove(FlutterEngineConnectionRegistry.java:270)
E/AndroidRuntime( 4204): 	at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.remove(FlutterEngineConnectionRegistry.java:280)
E/AndroidRuntime( 4204): 	at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.removeAll(FlutterEngineConnectionRegistry.java:288)
E/AndroidRuntime( 4204): 	at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.destroy(FlutterEngineConnectionRegistry.java:121)
E/AndroidRuntime( 4204): 	at io.flutter.embedding.engine.FlutterEngine.destroy(FlutterEngine.java:425)
E/AndroidRuntime( 4204): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onDetach(FlutterActivityAndFragmentDelegate.java:699)
E/AndroidRuntime( 4204): 	at io.flutter.embedding.android.FlutterActivity.onDestroy(FlutterActivity.java:715)
E/AndroidRuntime( 4204): 	at android.app.Activity.performDestroy(Activity.java:7195)
E/AndroidRuntime( 4204): 	at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1161)
E/AndroidRuntime( 4204): 	at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4573)
E/AndroidRuntime( 4204): 	... 9 more
Lost connection to device.

Expected behavior
The app closes without any error.
Sample project
Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix.
Please link to the public repository URL.

Additional context
Add any other context about the problem here.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-x64, locale it-IT)
    • Flutter version 3.0.5 at /Users/software/flutter3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (9 giorni fa), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

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

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

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

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

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

[✓] Connected device (3 available)
    • SM G920F (mobile) • 04157df42ad6d634 • android-arm64  • Android 7.0 (API 24)
    • macOS (desktop)   • macos            • darwin-x64     • macOS 12.4 21F79 darwin-x64
    • Chrome (web)      • chrome           • web-javascript • Google Chrome 103.0.5060.134

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

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.17.6
Flutter SDK 3.0.5
eplus_tuning 1.4.0+30

dependencies:
- after_layout 1.2.0 [flutter]
- ai_awesome_message 2.2.0 [flutter]
- auto_size_text 3.0.0 [flutter]
- collection 1.16.0
- connectivity_plus 2.3.6 [flutter connectivity_plus_platform_interface connectivity_plus_linux connectivity_plus_macos connectivity_plus_web connectivity_plus_windows]
- crypto 3.0.2 [typed_data]
- cupertino_icons 1.0.5
- device_info_plus 4.0.1 [flutter device_info_plus_platform_interface device_info_plus_macos device_info_plus_linux device_info_plus_web device_info_plus_windows]
- firebase_analytics 9.2.1 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 3.5.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.20.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_blue 0.8.0 [flutter convert protobuf rxdart collection meta]
- flutter_chips_input 2.0.0 [flutter]
- flutter_form_builder 7.4.0 [flutter intl collection]
- flutter_inapp_purchase 5.3.1 [flutter http meta platform]
- flutter_launcher_icons 0.9.3 [args image path yaml]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math]
- flutter_picker 2.0.5 [flutter]
- flutter_screenutil 5.5.3+2 [flutter]
- flutter_xlider 3.4.0 [flutter]
- fluttertoast 8.0.9 [flutter flutter_web_plugins]
- form_builder_validators 8.2.0 [flutter flutter_localizations intl collection]
- google_sign_in 5.4.0 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- http 0.13.4 [async http_parser meta path]
- intl 0.17.0 [clock path]
- intro_slider 3.0.9 [flutter]
- launch_review 3.0.1 [flutter]
- location 4.4.0 [flutter location_platform_interface location_web]
- package_info_plus 1.4.3 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- percent_indicator 4.2.2 [flutter]
- progress_indicators 1.0.0 [flutter]
- provider 6.0.3 [collection flutter nested]
- shared_preferences 2.0.15 [flutter shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- sign_in_with_apple 4.1.0 [flutter meta sign_in_with_apple_platform_interface sign_in_with_apple_web]
- sleek_circular_slider 2.0.1 [flutter]
- sliding_up_panel 2.0.0+1 [flutter]
- url_launcher 6.1.5 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- wakelock 0.6.2 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows]

dev dependencies:
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- license_generator 1.0.3 [http meta path yaml]

transitive dependencies:
- archive 3.3.0 [crypto path]
- args 2.3.1
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.0
- charcode 1.3.1
- clock 1.1.0
- connectivity_plus_linux 1.3.1 [flutter connectivity_plus_platform_interface meta nm]
- connectivity_plus_macos 1.2.4 [connectivity_plus_platform_interface flutter]
- connectivity_plus_platform_interface 1.2.1 [flutter meta plugin_platform_interface]
- connectivity_plus_web 1.2.3 [connectivity_plus_platform_interface flutter_web_plugins flutter]
- connectivity_plus_windows 1.2.2 [connectivity_plus_platform_interface flutter]
- convert 3.0.2 [typed_data]
- dbus 0.7.7 [args ffi meta xml]
- device_info_plus_linux 2.1.1 [device_info_plus_platform_interface file flutter meta]
- device_info_plus_macos 2.2.3 [device_info_plus_platform_interface flutter]
- device_info_plus_platform_interface 2.3.0+1 [flutter meta plugin_platform_interface]
- device_info_plus_web 2.1.0 [device_info_plus_platform_interface flutter_web_plugins flutter]
- device_info_plus_windows 3.0.1 [device_info_plus_platform_interface ffi flutter win32]
- fake_async 1.3.0 [clock collection]
- ffi 2.0.1
- file 6.1.2 [meta path]
- firebase_analytics_platform_interface 3.2.1 [firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.4.1+1 [firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 6.4.0 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 4.1.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.5.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 1.7.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- fixnum 1.0.1
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- google_sign_in_android 6.0.0 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.4.0 [flutter google_sign_in_platform_interface]
- google_sign_in_platform_interface 2.2.0 [flutter quiver]
- google_sign_in_web 0.10.1+3 [flutter flutter_web_plugins google_sign_in_platform_interface js]
- http_parser 4.0.1 [collection source_span string_scanner typed_data]
- image 3.2.0 [archive meta xml]
- js 0.6.4
- lints 2.0.0
- location_platform_interface 2.3.0 [flutter meta plugin_platform_interface]
- location_web 3.1.1 [flutter flutter_web_plugins http_parser js location_platform_interface meta]
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.4
- meta 1.7.0
- nested 1.0.0 [flutter]
- nm 0.5.0 [dbus]
- package_info_plus_linux 1.0.5 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.3.0 [flutter]
- package_info_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.5 [flutter flutter_web_plugins http meta package_info_plus_platform_interface]
- package_info_plus_windows 2.0.0 [package_info_plus_platform_interface ffi flutter win32]
- path 1.8.1
- path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.0.4 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.0 [ffi flutter path path_provider_platform_interface win32]
- petitparser 5.0.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- process 4.2.4 [file path platform]
- protobuf 2.1.0 [fixnum collection meta]
- quiver 3.1.0 [matcher]
- rxdart 0.27.4
- shared_preferences_android 2.0.12 [flutter shared_preferences_platform_interface]
- shared_preferences_ios 2.1.1 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.1.1 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_macos 2.0.4 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.4 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.1.1 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sign_in_with_apple_platform_interface 1.0.0 [flutter plugin_platform_interface meta]
- sign_in_with_apple_web 1.0.1 [flutter flutter_web_plugins sign_in_with_apple_platform_interface js]
- sky_engine 0.0.99
- source_span 1.8.2 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.4.9 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.1 [collection]
- url_launcher_android 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.0 [flutter plugin_platform_interface]
- url_launcher_web 2.0.12 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.1 [flutter url_launcher_platform_interface]
- vector_math 2.1.2
- wakelock_macos 0.4.0 [flutter flutter_web_plugins wakelock_platform_interface]
- wakelock_platform_interface 0.3.0 [flutter meta]
- wakelock_web 0.4.0 [flutter flutter_web_plugins js wakelock_platform_interface]
- wakelock_windows 0.2.0 [flutter wakelock_platform_interface win32]
- win32 2.7.0 [ffi]
- xdg_directories 0.2.0+1 [meta path process]
- xml 6.1.0 [collection meta petitparser]
- yaml 3.1.1 [collection source_span string_scanner]

Hello! Same issue.
@EplusTeam are you sure its only when user closing app using back button? I can't reproduce this issue, I only see many crashes in crashlytics, in different places of app.
I just updated one small thing in app in dart code, and now it occurs. Plus, it doesnt occurs in old app version. Why? How? I didn't change any dependencies.

I am also getting crashes in the Play Console since I updated to firebase_auth 3.5.0 , although I cannot reproduce it locally
I get only always the same stacktrace:
java.lang.RuntimeException:
  at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:5154)
  at android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:5183)
  at android.app.servertransaction.DestroyActivityItem.execute (DestroyActivityItem.java:44)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2164)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:241)
  at android.app.ActivityThread.main (ActivityThread.java:7582)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:941)
Caused by: java.lang.NullPointerException:
  at io.flutter.plugin.common.BasicMessageChannel.setMessageHandler (BasicMessageChannel.java:35)
  at io.flutter.plugins.firebase.auth.GeneratedAndroidFirebaseAuth$MultiFactorUserHostApi.setup (GeneratedAndroidFirebaseAuth.java:19)
  at io.flutter.plugins.firebase.auth.FlutterFirebaseAuthPlugin.onDetachedFromEngine (FlutterFirebaseAuthPlugin.java:10)
  at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.remove (FlutterEngineConnectionRegistry.java:121)
  at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.remove (FlutterEngineConnectionRegistry.java:16)
  at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.removeAll (FlutterEngineConnectionRegistry.java:11)
  at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.destroy (FlutterEngineConnectionRegistry.java:10)
  at io.flutter.embedding.engine.FlutterEngine.destroy (FlutterEngine.java:31)
  at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onDetach (FlutterActivityAndFragmentDelegate.java:98)
  at io.flutter.embedding.android.FlutterActivity.onDestroy (FlutterActivity.java:18)
  at android.app.Activity.performDestroy (Activity.java:8068)
  at android.app.Instrumentation.callActivityOnDestroy (Instrumentation.java:1363)
  at android.app.ActivityThread.performDestroyActivity (ActivityThread.java:5139)
  at android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:5183)
  at android.app.servertransaction.DestroyActivityItem.execute (DestroyActivityItem.java:44)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2164)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loop (Looper.java:241)
  at android.app.ActivityThread.main (ActivityThread.java:7582)
  at java.lang.reflect.Method.invoke (Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:492)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:941)

Looks like firebase using dynamic dependencies in theirs libs, since I didnt updated any dependencies, but did pub get. This is very strange decision!
@ivangr1 I was able to reproduce on android 7 emulator

This is screenshots of code, which causes this crash. How can things like that get in production? Do you actually look at your code or test it??

Downgrading to 3.4.2 results build error
Error: Required named parameter 'auth' must be provided.
../…/src/recaptcha_verifier.dart:57
      _factory.delegateFor(

So I guess there is no (easy) way back either. Please fix this ASAP. 3.5.0 cannot be used in a production app.

Downgrading to 3.4.2 results build error
Error: Required named parameter 'auth' must be provided.
../…/src/recaptcha_verifier.dart:57
      _factory.delegateFor(

So I guess there is no (easy) way back either since I updated all FlutterFire plugins at the same time as always. Please fix this ASAP. 3.5.0 cannot be used in a production app.

dependency_overrides:
  firebase_auth_platform_interface: 6.3.2

in your pubspec file. I had to clear caches to get it working

@kinex I used this in pobspec.lock
firebase_auth:
   dependency: "direct main"
   description:
     name: firebase_auth
     url: "https://pub.dartlang.org"
   source: hosted
   version: "3.4.1"
 firebase_auth_platform_interface:
   dependency: transitive
   description:
     name: firebase_auth_platform_interface
     url: "https://pub.dartlang.org"
   source: hosted
   version: "6.3.1"
 firebase_auth_web:
   dependency: transitive
   description:
     name: firebase_auth_web
     url: "https://pub.dartlang.org"
   source: hosted
   version: "3.3.19"

And it works fine

dependency_overrides:
  firebase_auth_platform_interface: 6.3.2

in your pubspec file. I had to clear caches to get it working

Thanks for finding this out, it works. As a side note, I think this is another issue in this package. As they introduced a breaking change in the firebase_auth_platform_interface, they should have increased its major version number (e.g. 7.0.0). Then dependencies would have been resolved correctly automatically without this dependency_overrides hack which is always risky and a lot of unnecessary work (I had to add it to 6 packages separately).

dependency_overrides:
  firebase_auth_platform_interface: 6.3.2

in your pubspec file. I had to clear caches to get it working

Thanks for finding this out, it works. As a side note, I think this is another issue in this package. As they introduced a breaking change in the firebase_auth_platform_interface, they should have increased its major version number (e.g. 7.0.0). Then dependencies would have been resolved correctly automatically without this dependency_overrides hack which is always risky and a lot of unnecessary work (I had to add it to 6 packages separately).

I agree, but we have no choice until the error on both packages is corrected
I'm sure the team will fix thix quickly so we can deploy our pending builds

Downgrading to 3.4.2 results build error
Error: Required named parameter 'auth' must be provided.
../…/src/recaptcha_verifier.dart:57
      _factory.delegateFor(

So I guess there is no (easy) way back either since I updated all FlutterFire plugins at the same time as always. Please fix this ASAP. 3.5.0 cannot be used in a production app.

dependency_overrides:
  firebase_auth_platform_interface: 6.3.2

in your pubspec file. I had to clear caches to get it working

Downgrading with this override works fine. Thanks.

Thanks for the report. There's similar open issue describing same case, https://github.com/firebase/flutterfire/issues/9210 so please follow-up in it for further updates.
Closing this as a duplicate.
Thanks @BitBlueDevStudio for identifying the root-cause https://github.com/firebase/flutterfire/issues/9193#issuecomment-1192839591. My findings were exactly like the one you found out 👍🏻


Update DB database metadata after upload

Am I correct in thinking, @ElevnLi, that currently the upload DB record is not updated after the agcontext and metadata are uploaded? Here's a change that updates the DB record in submit_upload_task.

This has been included in #238


ISSUE4 - Checks for duplicate SampleIDs

Fixes #4
Adds function to check for duplicate sample IDs in metadata/counts matrix, then ensures each sample in counts matrix has corresponding metadata and vice versa.

Thanks @daisyhan97! One step you missed is to run devtools::document() that would create the documentation file for check_mismatch in the man/ folder. This also updates the NAMESPACE file. I ran this for you.
I also added you as an author on the package :) Check out the package homepage.
The checks are failing due to an issue unrelated to this PR. I tested the package installs locally OK.


Allow configs to be set with string values

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
In Ballista, I have key-value pairs for configs that I would like to pass along to DataFusion. However, ifI set configs this way and then DataFusion calls get_u64 or get_bool, it will ignore the config because it has the wrong type.
Describe the solution you'd like
I would like to be able to pass string for any config and have DataFusion convert to the correct type.
Describe alternatives you've considered
None
Additional context
None

Hi @andygrove, reg to your config comment https://github.com/apache/arrow-datafusion/pull/3522#issuecomment-1252865493
We refused to introduce automatic cast in get_bool, get_u64.
I would like to be able to pass string for any config and have DataFusion convert to the correct type. -> this sounds like automatic cast still needed?


Bug when stop alarm on Android

Alarm plugin version: 3.1.2
Device: Xiaomi A1
OS: Android 12
Describe the bug:
I using alarm example and set 2 alarm 1 minute apart. When I stop first alarm, second alarm stop ring. Please check videos.
To Reproduce

Run example app
set first alarm at 9h36
set second alarm at 9h37
Waiting first and second alarm ring
Stop first alarm and second alarm stop ring

https://github.com/gdelataillade/alarm/assets/46736102/b6f36331-84a5-4113-b896-590735009a20

TRY WITH DIFFRENT ALARM ID

TRY WITH DIFFRENT ALARM ID

In video clip 2 alarm have 2 diffrent id

Hi @hiepjozu
Did you always have this issue or it's new ?

Hi @hiepjozu
Did you always have this issue or it's new ?

Yes, I check old version it still have this issue


no such file or directory: model_tmp_greedy_val_lang.json

hi
thanks for your good work and sharing your code.
when I run your code today, I found that there are some errors during the training.  when I run the command "bash scripts/train.sh yc2 mart"
it gives me the error like the following:
File "/home/chenj0g/Desktop/mart/recurrent-transformer/src/utils.py", line 18, in load_json
with open(file_path, "r") as f:
IOError: [Errno 2] No such file or directory: '/home/chenj0g/Desktop/mart/recurrent-transformer/results/yc2_re_init_2021_01_03_15_09_03/model_tmp_greedy_pred_val_lang.json'
do you know how could I solve this problem?

Hi @junchen14,
It looks like something is wrong with the coco evaluation part. You can try to directly use the cmd here in bash to see what the errors are.
Best,
Jie

Hi @junchen14,
It looks like something is wrong with the coco evaluation part. You can try to directly use the cmd here in bash to see what the errors are.
Best,
Jie

我也遇到了同样的问题，有人遇到这个并且解决了的吗


Fix quickstart

[ ] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
Fixes: #2986
Changes in quickstart.sh:

MINIO_ENABLED is disabled by default
S3_ENDPOINT is empty by default and filled in only when minio is enabled, hence thanos does not run store
thanos arguments are parsed correctly (no empty arguments OBJSTORECFG, and STORES)
thanos arguments are dumped in console on parse error. NOTE please object if you think it might be a security issue - i'll remove it

I didn't add anything to the changelog, since the last ~10 commits to the quickstart.sh are not reflected there.
Verification
Verified manually by running PROMETHEUS_EXECUTABLE=~/go/src/github.com/prometheus/prometheus/prometheus THANOS_EXECUTABLE=~/go/bin/thanos MINIO_ENABLED="" ./scripts/quickstart.sh.
log is attached.
log.txt
Note, that there are still errors level=error name=query-0 ts=2020-08-05T13:14:02.164403579Z caller=logger.go:22 msg="failed to flush Jaeger spans to server: write udp <IP_ADDRESS>:54187-><IP_ADDRESS>:6831: write: connection refused", that might need investigation

Maybe @kakkoyun you could help out in reviewing this? :hugs:


Teensy + Audio Adaptor

With this hardware:

Teensy 3.2
Audio Adaptor
TJCTM24024-SPI (2.4" TFT)

And these libraries:

Adafruit_ILI9341 (1.3.6)
Adafruit_GFX (1.4.10)
XPT2046_Touchscreen (5ccb951)
GUIslice (4b1b5a7)

All "arduino" examples work in Arduino 1.8.7, with these exceptions:

ex03_ard_btn_img (haven't tested required SD card)
ex06_ard_callback (haven't tested required SD card)
ex16_ard_touch_hnd (untested)
diag_ard_touch_detect ("only intended to run in DRV_TOUCH_ADA_SIMPLE mode")
ex19_ard_smooth ("This example only works on ESP8266 / ESP32")

When the following changes are made:
GUIslice_config.h: 84
 #include "../configs/ard-adagfx-ili9341-xpt2046.h"
GUIslice_config.h: 123
Got #error "Unknown device platform" so I just commented out the entire Default section for now:
// Import user configuration depending on device type
// #if defined(__linux__)
[...]
// #endif

ard-adagfx-ili9341-xpt2046.h: 81
Using pins in "Teensy 3.x Audio Board" Connections column:
  // For shields, the following pinouts are typically hardcoded
  #define ADAGFX_PIN_CS       21    // Display chip select
  #define ADAGFX_PIN_DC       20     // Display SPI data/command
  #define ADAGFX_PIN_RST      255     // Display Reset

  // Display interface type
  #define ADAGFX_SPI_HW       1     // Display uses SPI interface: 1=hardware 0=software

ard-adagfx-ili9341-xpt2046.h: 120
  // Touch bus & pinout
  #define XPT2046_CS     8

GUIslice_drv_adagfx.cpp: 314
Must use these SPI.set methods as described in Usage with Audio Board Connections:
    #if defined(DRV_DISP_ADAGFX_ILI9341) || defined(DRV_DISP_ADAGFX_ILI9341_STM)
      SPI.setMOSI(7);
      SPI.setSCK(14);
      m_disp.begin();

ard-adagfx-ili9341-xpt2046.h: 174
Enabled all optional features:
  #define GSLC_FEATURE_COMPOUND       1   // Compound elements (eg. XSelNum)
  #define GSLC_FEATURE_XGAUGE_RADIAL  1   // XGauge control with radial support
  #define GSLC_FEATURE_XGAUGE_RAMP    1   // XGauge control with ramp support
  #define GSLC_FEATURE_XTEXTBOX_EMBED 1   // XTextbox control with embedded color
  #define GSLC_FEATURE_INPUT          1   // Keyboard / GPIO input control

ard-adagfx-ili9341-xpt2046.h: 130
Set values from calibration utility:
  // Calibration settings from diag_ard_touch_calib:
  // DRV_TOUCH_XPT2046:
  #define ADATOUCH_X_MIN    230
  #define ADATOUCH_X_MAX    3819
  #define ADATOUCH_Y_MIN    183
  #define ADATOUCH_Y_MAX    3665
  // Certain touch controllers may swap X & Y coords
  #define ADATOUCH_REMAP_YX 0

Excellent... thank you @pdupuy for the initial work on adapting GUIslice for the Teensy!
I will integrate native support for the Teensy 3 into GUIslice, and in addition to Adafruit_ILI9341, I intend to support the inclusion of a Teensy-optimized display driver (eg. ILI9341_T3).

Teensy 3.2 now confirmed operational using the above TFT with both the Adafruit_ILI9341 as well as a patched ILI9341_t3 library. Support has been added for both the default Teensy breakout connections in addition to the alternate breakout pinout to support the Teensy audio adapter. Touch support is provided by the XPT2046 driver. GUIslice was enhanced to support multiple font modes to enable both Adafruit-GFX and Teensy fonts.
The above enhancements are present in the WIP136-Teensy branch.
The remaining work is to confirm which ILI9341_t3 fork to use as the basis for GUIslice support and complete testing for the ILI9341_t3 fonts. In order to support the text justification in the GUI, some enhancements (primarily text width/height APIs) need to be rolled into the t3 library.
My intention is to submit a PR for these enhancements into the PaulStoffregen/ILI9341_t3 library, but if they are not integrated, then we may use our own fork.

Working with the same hardware as above and these libraries (in PlatformIO):

ILI9341_t3 (57d0141)
XPT2046_Touchscreen (5ccb951)
WIP136-Teensy (e82d629)

In PlatformIO, with these changes, it works for me:
GUIslice_config.h: 89
Commented #include lines for the new ILI9341_t3 configs are missing; added:
#include "../configs/teensy-adagfx-ili9341_t3-xpt2046-audio.h"
teensy-adagfx-ili9341_t3-xpt2046-audio.h: 187
Enabled SD as I need to use the Audio Adaptor SD card:
#define GSLC_SD_EN    1
main.cpp:
To use the ILI9341_t3 fonts:
#include <font_Arial.h>
[...]
// Load Fonts
// ------------------------------------------------
// //<Load_Fonts !Start!>
if (!gslc_FontAdd(&m_gui,E_FONT_ARIAL14,GSLC_FONTREF_PTR,&Arial_14,1)) { return false; }
gslc_FontSetMode(&m_gui,E_FONT_ARIAL14,GSLC_FONTREF_MODE_1);

Amazingly easy -- thanks Cal!

I'm seeing unused variable warnings and am patching with __attribute__((unused)) to eliminate the compile noise:
lib\GUIslice\src\GUIslice_drv_adagfx.cpp:320:8: warning: unused variable 'bInitOk' [-Wunused-variable]
lib\GUIslice\src\GUIslice_drv_adagfx.cpp:566:13: warning: unused variable 'nTxtLen'
lib\GUIslice\src\GUIslice_drv_adagfx.cpp:658:13: warning: unused variable 'nColBgRaw'
lib\GUIslice\src\GUIslice_drv_adagfx.cpp:1079:14: warning: unused variable 'nFileSize'
lib\GUIslice\src\GUIslice_drv_adagfx.cpp:1085:14: warning: unused variable 'nHdrSize'
lib\GUIslice\src\GUIslice_drv_adagfx.cpp:1063:21: warning: unused variable 'startTime'
lib\GUIslice\src\elem\XTextbox.c:357:21: warning: variable 'pBox' set but not used
lib\GUIslice\src\elem\XTextbox.c:375:21: warning: unused variable 'pBox'

There is also this warning:
lib\GUIslice\src\GUIslice_drv_adagfx.cpp: In function 'bool gslc_DrvDrawImage(gslc_tsGui*, int16_t, int16_t, gslc_tsImgRef)':
lib\GUIslice\src\GUIslice_drv_adagfx.cpp:1181:38: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'const unsigned char*' [-Wformat=]
sprintf(addr,"%04X",sImgRef.pImgBuf);

Great... thank you very much for testing out the Teensy updates and providing the thorough details!
I have now merged in the changes from the WIP136-Teensy branch into master. I also integrated a few of the loose ends that you noted above, but feel free to let me know if you happen to catch anything else.
ILI9341_t3 usage
Note that the use of the ILI9341_t3 optimized driver has a few differences from other Adafruit-GFX drivers, so some minor updates are required when t3 fonts are in use (most of which @pdupuy noted above). For example, GUIslice Builder generated code and certain examples may require some small adjustments. For details, please refer to: Using ILI9341_t3 on Teensy


Seems to cause a 500 error when loading

I haven't been able to trace down exactly what the error is, but if I have the plugin enabled, it always causes a 500 error, even though the page loads. Removing the plugin from ZendServer also gets rid of the 500 error.

Can you be a little more specific about the OS, php version, Zend Server version and the application you are trying to load ?

Closing this as I am no longer using Z-Ray and am unable to follow up on this.


Issues building framework with Realm dependancy

Goals
I have a project, "Tacks". Using Carthage, I'm pulling in a dependancy called HotTakeRealm. HotTakeRealm has Realm as a dependancy, given in it's own Cartfile. Tacks also uses Realm, and has Realm (same version) in it's Cartfile too.
The workspace for HotTakeRealm framework project has Realm & RealmSwift linked to the HotTakeRealm target as sibling projects in the workspace like so:

I want to be able to build HotTakeRealm and add it as a dependancy to my main project ("Tacks") via Carthage. Currently, whilst Carthage can build Realm and RealmSwift on their own, when building the HotTakeRealm dependancy something goes wrong.
In addition, if I use --no-use-binaries, Carthage does indeed download the precompiled version, but ignores this for the HotTakeRealm dependancy step, and for that dependancy seems to build it from scratch.
Expected Results
I should be able to build 'HotTakeRealm' using Carthage
Actual Results
*** Building scheme "HotTakeRealm" in HotTakeRealm.xcworkspace
** BUILD FAILED **

The following build commands failed:
	PhaseScriptExecution Download\ Core\ and\ Sync /Users/ian/Desktop/trial/Carthage/Checkouts/HotTakeRealm/Build/Intermediates/Realm.build/Release-iphoneos-static/Realm\ iOS\ static.build/Script-5DD7557D1BE056DE002800DA.sh
(1 failure)
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/ian/Desktop/trial/Carthage/Checkouts/HotTakeRealm/HotTakeRealm.xcworkspace -scheme HotTakeRealm -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **

The following build commands failed:
	PhaseScriptExecution Download\ Core\ and\ Sync /Users/ian/Desktop/trial/Carthage/Checkouts/HotTakeRealm/Build/Intermediates/Realm.build/Release-iphoneos-static/Realm\ iOS\ static.build/Script-5DD7557D1BE056DE002800DA.sh
(1 failure)

If I run the shell task mentioned in the error: /usr/bin/xcrun xcodebuild -workspace /Users/ian/Desktop/trial/Carthage/Checkouts/HotTakeRealm/HotTakeRealm.xcworkspace -scheme HotTakeRealm -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build, I eventually get:

** BUILD SUCCEEDED **

So that's strange.
Steps to Reproduce
In an empty folder, run carthage bootstrap --platform iOS --no-use-binaries with the following Cart file:
github "iandundas/HotTakeRealm" ~> 1.3

Code Sample
n/a
Version of Realm and Tooling
ProductName:	Mac OS X
ProductVersion:	10.12.2
BuildVersion:	16C67

/Applications/Xcode 8.2.1.app/Contents/Developer
Xcode 8.2.1
Build version 8C1002

/Users/ian/.rbenv/shims/pod
1.1.1
(not in use here)

/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)

/usr/local/bin/carthage
0.18.1
github "realm/realm-cocoa" "v2.4.1"

/usr/local/bin/git
git version 2.10.0

Thanks!

Thanks for reaching out, @iandundas. Someone will review this and be in touch soon. :-)

Thanks :) as a stop-gap I've added a precompiled release for HotTakeRealm to github and it just downloads that now. But for the future it would be good to solve this. Cheers

@jpsim could you please help with this? Does Realm/Cartage support this scenario?

Any update on this? How did you fix it @iandundas ? I really need help with this.

Strange - the prebuilt binary solution did work for me. What's the exact error?

@iandundas así fynally managed to get the prebuilt solution to work. It was an issue on my side. Still waiting for the "real" solution.

I think "exit code 65" is an error reported by xcodebuild when the Xcode EULA hasn't yet been accepted. Anyway, it seems like everyone in this thread was able to eventually resolve the issues they were running into.
Is there anything more we can help you with in this thread @iandundas @bitomule ?

@jpsim serving my project as static library isn't a good fix. It just broke on last realm-cocoa release. It's not related to Xcode EULA, something changed on last realm release that broke it.
I've test running that need to fetch realm-cocoa using carthage and all crashes because of this issue.

Sorry @bitomule I wasn't aware that was the final state of where you were at. It would help if you reiterated exact steps and versions to reproduce your issue(s) and explained why you think it's a problem with Realm and not Carthage.

@jpsim The issue is related to Realm because version change on realm produced the issue. I was already using realm with carthage as a dependency before. I can't reproduce the issue as I've published the precompiled version but I had the same issue @iandundas described. I think any package with realm as a carthage dependency will have the same issue.

@jpsim I think the Steps To Reproduce in my initial post above should reproduce it on any machine 🤞🏻

I will verify it again and get back to you (I think the EULA thing is a side issue but I'll double check)

I was able to reproduce this by following the steps to reproduce listed in the original report. I'm not yet sure why it fails, but I did notice that Realm appears to be built in two different ways. It's built by Carthage due to being listed as a dependency in HotTakeRealm's Cartfile, and it's built as part of HotTakeRealm's workspace due it including Realm's Xcode project from a checked-in copy of Realm's source in HotTakeRealm's git repository. The build is failing when included as part of HotTakeRealm's workspace.

@iandundas, is it intentional that you're building Realm both via Carthage and as a subproject? Building Realm in two different ways as part of the same project seems like it's asking for weird behaviors.

Hey @bdash, thanks for debugging it - I'll try just adding the built Realm.framework to the HotTakeRealm project instead

Thanks. If you have any further questions feel free to open new issues.


Lines behind controller

Where are the 3 lines behind the controller (seen in the demo gifs) created? I'm trying to find out how to remove them

They're a debug feature. You can disable their appearance by passing false to inDebugMode in
drawerDisplayController = DrawerDisplayController(presentingViewController: self,
                                                          presentedViewController: vc,
                                                          configuration: configuration,
                                                          inDebugMode: true) // <-- pass false here, or simply ignore this argument

You may also simply not pass that argument, since false is the default value.

For more details, take a look at this, which you'll find in the readme file for DrawerKit:
    /// There is a band around the partially expanded position of the drawer where
    /// ending a drag inside will cause the drawer to move back to the partially
    /// expanded position (subjected to the conditions set by `supportsPartialExpansion`
    /// and `dismissesInStages`, of course). Set `inDebugMode` to `true` to see lines
    /// drawn at those positions. This value represents the gap *above* the partially
    /// expanded position. The default value is 40 points.
    public var upperMarkGap: CGFloat

    /// There is a band around the partially expanded position of the drawer where
    /// ending a drag inside will cause the drawer to move back to the partially
    /// expanded position (subjected to the conditions set by `supportsPartialExpansion`
    /// and `dismissesInStages`, of course). Set `inDebugMode` to `true` to see lines
    /// drawn at those positions. This value represents the gap *below* the partially
    /// expanded position. The default value is 40 points.
    public var lowerMarkGap: CGFloat

Oh, I'm dumb for not seeing that. my bad


[#45] Enhanced model generation + code cleanup

This is a rebase of https://github.com/Kononnable/typeorm-model-generator/pull/45

[ ] Fix tests

Closing PR as there were no changes for a long time. Codebase changed a lot since then so it would be hard to merge it.


Keyboard shortcut for Article tab

I wish there was a keyboard shortcut for making the Article tab active and the list of articles focused.

Solved by #1116 (keyboard shortcut cmd+y)


Revert "Revert "Roll engine to 4c79e423dc6f89f98d8ceb263a5ca78e2f2da996 and update tests""

Reverts flutter/flutter#23372
Opening to see if checks will run...

@aartbik

Closing this in favor of work that @jason-simmons  is doing that will need to be added on top of it.

@aam @aartbik - Jason is taking the lead on this - he'll integrate these changes plus a couple more that need updates.


Encapsulated libraries on [aarch64] macOS

Dear Simon,
I apologize if this issue is misdirected (I am new in Ada), I would be happy to hear an advice on where to direct this most appropriately.
I've been trying to build an encapsulated library on aarch64 macos (M1) and got
gprbuild: encapsulated library projects not supported on this platform

After some research, I ended up amending gnat.xml to contain <target name="^aarch64-.*darwin.*$" /> in the section that pertains to encapsulated support (as other targets for Darwin are listed), and that enabled gprbuild to proceed.
Question: Do you think this should get upstreamed (what's the best way to do this)?
Continuing, I was trying to build a macOS bundle (as opposed to a shared library). In a non-encapsulated library, I can, for example, change Shared_Library_Minimum_Switches to use -bundle/-bundle-loader (or shrink the list to nothing to allow for Linker_Options do this).
However, when I switched Library_Standalone to encapsulated, I got gprbuild add -shared -static-libgcc to GCC invocation. If I manually remove them and re-execute the line, everything works. Changing Library_Encapsulated_Options to () alleviates this problem. This shows how involved support for bundles can be. Do you think there is any way to simplify this whole setup?
Thank you!

With regard to fixing gnat.xml .. you could raise an issue at https://github.com/AdaCore/gprconfig_kb (or even a PR!)
I’ve never thought about building a bundle -- are you sure you want encapsulated libraries? Wouldn’t that mean risking having multiple copies of the same Ada units? I’d understood it "only" required adjusting the dynamic library headers to use @rpath, and it looks as though GCC 13.2 does a pretty good job of that???


RD-6368 Add secret schema to secret create

plz see comment under cloudify-cosmo/cloudify-manager#3924 as well


Java wrapper floods temp dir with copies of extracted native library

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 7 x64
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 1.5.0
Python version: N/A
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A
Exact command to reproduce: None

Describe the problem
I've been working on a Java application that uses TensorFlow. I launched it thousand times - unit tests, debugging sessions, etc. And at some point I discovered I had 8 GB of tensorflow_jni.dll copies in my Temp directory.
Apparently deleteOnExit() is not enough to cleanup the extracted native library (NativeLibrary.java:150). Not on Windows at least. It appears DLL is still loaded when the deletion is attempted. So the deletion fails and the DLL is left behind.
A better approach would be to use semi-static path for library extraction rather than fully random.
In such case the library could be deleted or re-used upon the next application run.
I would suggest to use a target folder name like this:
File tmp = new File(System.getProperty("java.io.tmpdir"));
File dir = new File(tmp, "tensorflow-" + TF_VERSION + '-' + System.getProperty("user.name").hashCode());

And then check if the folder and files exist already upon startup. And either delete them and extract again (better security) or just call System.loadLibrary() directly.
You could still keep using deleteOnExit(). When it works properly the only copy of the library will not be left laying on the disk after JVM shutdown.
A similar approach is used by other native libraries handling frameworks. For example, in JNA project.
See https://github.com/java-native-access/jna/blob/master/src/com/sun/jna/Native.java

Thanks for the report.
To be extra sure, the name of the directory should probably be based on the checksum of its contents, which will be a little harder to engineer. We don't want to use a fixed directory otherwise we could run into interference between programs compiled against different versions of the library.
I don't believe this problem occurs on Linux/Mac though. I don't have enough experience with Windows - is there something about the use of System.loadLibrary() that causes deleting the file to fail?
Marking this as "Contributions Welcome" in case someone with a stronger understanding of the JVM on Windows can suggest a clean fix, or if someone wants to take on the fixed directory (in which case I would strongly recommend that the directory name be a function of the contents of the .jar file being extracted and not a fixed string).

(CC @saudet as well - in case he has some insights)

It's not about System.loadLibrary() but about the way files are handled in Windows.
On Linux (and I suppose Mac) opened files can be deleted (unlink()-ed). On Windows - not.
And when JVM processes deleteOnExits DLLs are still loaded into JVM address space, i.e. the files are still open.
There is a hacky way of using a dedicated separate class loader for loading DLLs. And then calling System.gc() after null-ing the class loader reference. It helps ... sometimes.
I included a version of the Tensorflow into the directory name in the sample code above. Do you think it won't be enough?
Also each user should have his own folder to avoid access rights conflicts. Hence the System.getProperty("user.name").hashCode() part. Hash code is used to avoid problems in case user name contains national symbols or spaces.

@asimshankar Yes, I do. That's been fixed a long time ago in JavaCPP! :)
The problem is that on Windows it's not possible to delete a DLL after it's been loaded. We need to end the process, and let some other process do the clean up. I used to have a hack for that in JavaCPP but switched to using a cache instead, because it wouldn't work with JavaFX, among other things: https://github.com/bytedeco/javacpp/issues/60
@sabi0 So, one way to work around this is by using the JavaCPP Presets for TensorFlow:
https://github.com/bytedeco/javacpp-presets/tree/master/tensorflow
You'll get access to the C++ API from Java, but we can keep using the official Java API as well.
A build for Windows has also been released:
https://github.com/bytedeco/javacpp-presets/issues/111#issuecomment-380322141
/cc @agibsonccc

@saudet Thanks. I will have a look at JavaCPP.
@asimshankar It is possible to use fully random name for DLL (i.e. not bother with content checksum) as long as the folder name is predictable. Here is how it could work:
Folder name could be like this:
File dir = new File(tmp, "tensorflow-" + System.getProperty("user.name").hashCode());

Extracted file names could be fully random, e.g. tf_jni-2387168.dll. But when such file is extracted another "marker" file is created - tf_jni-2387168.dll.lock.
The latter one is immediately registered with deleteOnExit(). JVM will not have problems deleting it on any platform.
And then upon start the application scans the user folder and deletes any files that don't have matching .lock files. And then proceeds to extract the resources (under random names).
This might still left some files in Temp on Windows (when user stops using TF). But would help to avoid copies of resources piling up.

Extracting DLLs every time a new JVM is launched is inefficient though. For
something as big as TensorFlow it takes a few seconds. Consider also that
frameworks like Hadoop or Spark tend to launch multiple JVMs during
execution. That's another reason JavaCPP uses a cache. BTW, JNA is not
performance conscious so it's not a good reference if one is interested in
efficiency.

Thanks @saudet
Caching seems very reasonable. Though, again, the caching should handle different versions/configurations correctly. So, some form of identification (like the checksum of the file contents) should be included, right? (Seems like JavaCPP uses maven coordinates for the "cache key"?)

Yes, there needs to be some kind of system for that. JavaCPP doesn't use directly Maven coordinates because they are not available when running from an uber JAR, for example, as required by Spark, or just for a standalone application. Instead, it uses the filename of the JAR file itself plus of the path to the files inside it, which happen to contain the Maven coordinates when loaded with it.
BTW, including additional resources such as header files in the JAR file and extracting them to a cache like this also allows C++ libraries to link with it, not just Java libraries. That's what is happening with, for example, Caffe depending on OpenCV, OpenBLAS, and HDF5 here: https://github.com/bytedeco/javacpp-presets/blob/master/caffe/pom.xml#L17-L37  Though, in the case of TensorFlow, I'm assuming everything can be managed with Bazel...


[Bug] [API-9558]fix homepage task instance count method to use submit time to recount

Purpose of the pull request
fix homepage task instance count method to use submit time to recount special state
close #9558
Brief change log
fix homepage task instance count method to use submit time to recount special state
close #9558
Verify this pull request
I have tested locally.

Codecov Report

Merging #9559 (3758fcf) into dev (e190ef9) will decrease coverage by 0.01%.
The diff coverage is 43.75%.

@@             Coverage Diff              @@
##                dev    #9559      +/-   ##
============================================
- Coverage     39.94%   39.93%   -0.02%
- Complexity     4429     4430       +1
============================================
  Files           831      831
  Lines         33314    33336      +22
  Branches       3677     3680       +3
============================================
+ Hits          13308    13312       +4
- Misses        18781    18797      +16
- Partials       1225     1227       +2

Impacted Files
Coverage Δ

...heduler/plugin/task/api/enums/ExecutionStatus.java
64.28% <0.00%> (ø)

...uler/api/service/impl/DataAnalysisServiceImpl.java
67.96% <45.16%> (-12.29%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
53.33% <0.00%> (ø)

Continue to review full report at Codecov.

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


[BUG]: pip install currrently fails due to opencv-python

Before You Report a Bug, Please Confirm You Have Done The Following...

[X] I have updated to the latest version of the packages.
[X] I have searched for both existing issues and closed issues and found none that matched my issue.

DeepFace's version
0.0.91
Python version
3.12.3
Operating System
macOS 10.15.7 (Catalina)
Dependencies
this is an installation issue, so it's the contents of requirements.txt
Reproducible example
pip install deepface

Relevant Log Output
ERROR: Exception:
Traceback (most recent call last):
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
return func(self, options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 377, in run
requirement_set = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 95, in resolve
result = self._result = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers.py", line 546, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers.py", line 427, in resolve
failure_causes = self._attempt_to_pin_criterion(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers.py", line 239, in _attempt_to_pin_criterion
criteria = self._get_updated_criteria(candidate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers.py", line 230, in _get_updated_criteria
self._add_to_criteria(criteria, requirement, parent=candidate)
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/resolvers.py", line 173, in _add_to_criteria
if not criterion.candidates:
^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/structs.py", line 156, in bool
return bool(self._sequence)
^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in bool
return any(self)
^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in
return (c for c in iterator if id(c) not in self._incompatible_ids)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
candidate = func()
^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 182, in _make_candidate_from_link
base: Optional[BaseCandidate] = self._make_base_candidate_from_link(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 228, in _make_base_candidate_from_link
self._link_candidate_cache[link] = LinkCandidate(
^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 290, in init
super().init(
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in init
self.dist = self._prepare()
^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 222, in _prepare
dist = self._prepare_distribution()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 301, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 525, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 640, in _prepare_linked_requirement
dist = _get_prepared_distribution(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/distributions/sdist.py", line 54, in prepare_distribution_metadata
self._install_build_reqs(finder)
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/distributions/sdist.py", line 124, in _install_build_reqs
build_reqs = self._get_build_requires_wheel()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/distributions/sdist.py", line 101, in _get_build_requires_wheel
return backend.get_requires_for_build_wheel()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py", line 745, in get_requires_for_build_wheel
return super().get_requires_for_build_wheel(config_settings=cs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 166, in get_requires_for_build_wheel
return self._call_hook('get_requires_for_build_wheel', {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py", line 321, in _call_hook
raise BackendUnavailable(data.get('traceback', ''))
pip._vendor.pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
File "/Users/sts/projects/foo/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 77, in _build_backend
obj = import_module(mod_path)
^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1310, in _find_and_load_unlocked
File "", line 488, in _call_with_frames_removed
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/private/var/folders/5g/lyjc6ph10hvfqkwrdt5scdzm0000gq/T/pip-build-env-uy99s7z3/overlay/lib/python3.12/site-packages/setuptools/init.py", line 10, in
import distutils.core
ModuleNotFoundError: No module named 'distutils'
Expected Result
a successful install
What happened instead?
It failed to install the opencv-python dep because it seems to require distutils
Additional Info
I started from the most recent release of opencv-python and worked backwards and found that they all fail with the same error unless I either install either:
opencv-python==<IP_ADDRESS>

or-
opencv-python==<IP_ADDRESS>

while installing an older version of opencv-python allowed me into install this package, I discovered later one that some of the optional backends, such as mediapipe couldn't be installed.  I don't remember which ones.  Anyway, I disovered that downgrading my python to 3.10 allowed me to them all.

python 3.11 is working as well. so I guess it's just a problem with python 3.12 installing both the main package and some of the optional deps

Thank you for the information. I will not close this issue for a while in case of smo would have it, too. But I will not take any action in the library, too. That is a dependency problem. You may consider to raise an issue in opencv's repo. Cheers!

Someone already beat me to creating the issue in their repo.  Just thought you'd like to know installation on python==3.12 fails due to this dep issue, as I noticed that you only have python3.8 in your test matrix, and may have been unaware. Isn't software maintenance fun 😄


fix[#1979]: Increment Email validation

solves issues #1979, #1515 and #1435

Looks great, thanks!

This only gets part of #1435 I think, since it still doesn't allow IP addresses without square brackets around the IP address, e.g<EMAIL_ADDRESS>Only<EMAIL_ADDRESS>is allowed by the new regex here.

@colinhacks @fvckDesa fyi

@ggmartins091 Yes, the problem is here:
([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])*(\.[A-Za-z]{2,})+)

As soon as I can I try to fix it


Typo

[skip ci]

I was just looking how it's implemented (what it's for.. or could be useful for..).
I just mentioned it at:
https://groups.google.com/forum/#!topic/julia-users/LY3XZeHpxhI
[not sure, if you could use it that way..]

Thanks


feat(cdk): add initial CDK setup with VPC, ECR, ECS, and Fargate configuration

Created a new package '@ai16z/cdk' with essential files including package.json, tsconfig.json, and tsup configuration.
Implemented a CDK stack that provisions a VPC, ECR repository, ECS cluster, and Fargate service.
Added ESLint configuration and .npmignore file to manage package exports.
Configured security group rules for the Fargate service to allow inbound HTTP traffic on port 3000.

Relates to:

Risks

Background
What does this PR do?
What kind of change is this?

Documentation changes needed?

Testing
Where should a reviewer start?
Detailed testing steps

Oops, this was pushed to the wrong remote.


URL translation in NamedUrlWizardView (i18n)

Hello there,
I was developing a bilingual app and was trying to find a way of using translated step names in URL. I didn't find a solution either by browsing the code/doc or by asking #django IRC. I ended up in inheriting the view class as below:
class NamedUrlSessionWizardView_i18nURL(NamedUrlSessionWizardView):

    @classonlymethod
    def as_view(cls, *args, **kwargs):
        cls.i18n_url_names = kwargs.pop('i18n_url_names')
        return super(NamedUrlSessionWizardView_i18nURL, cls).as_view(
            *args, **kwargs)

    def dispatch(self, request, *args, **kwargs):
        """
        Replace kwargs['step'] as non-i18n step name.
        """
        if 'step' in kwargs:
            i18n_step = kwargs.pop('step')
            try:
                matched_tup = next(
                    tup for tup in self.i18n_url_names
                    if force_text(tup[1]) == i18n_step
                )
                non_i18n_step = matched_tup[0]
            except StopIteration:
                # not found
                non_i18n_step = i18n_step
            finally:
                kwargs['step'] = non_i18n_step
        return super(NamedUrlSessionWizardView_i18nURL, self).dispatch(
            request, *args, **kwargs)

    def get_step_url(self, step):
        """
        Replace non-i18n step name as i18n step name.
        """
        non_i18n_step = step
        try:
            matched_tup = next(
                tup for tup in self.i18n_url_names
                if force_text(tup[0]) == non_i18n_step
            )
            i18n_step = matched_tup[1]
        except StopIteration:
            # not found
            i18n_step = non_i18n_step
        finally:
            return super(NamedUrlSessionWizardView_i18nURL, self).get_step_url(
                i18n_step)

while in urls.py, I explicitly assigned i18n url names:
create_member_forms = (
    ('basic_information', ClientBasicInformation),
    ('address_information', ClientAddressInformation),
    ('referent_information', ClientReferentInformation),
    ('payment_information', ClientPaymentInformation),
    ('dietary_restriction', ClientRestrictionsInformation),
    ('emergency_contact', ClientEmergencyContactInformation)
)
i18n_url_names = (
    ('basic_information', _('basic_information')),
    ('address_information', _('address_information')),
    ('referent_information', _('referent_information')),
    ('payment_information', _('payment_information')),
    ('dietary_restriction', _('dietary_restriction')),
    ('emergency_contact', _('emergency_contact'))
)
member_wizard = ClientWizard.as_view(create_member_forms,
                                     i18n_url_names=i18n_url_names,
                                     url_name='member:member_step')

urlpatterns = [
    url(_(r'^create/$'), member_wizard, name='member_step'),
    url(_(r'^create/(?P<step>.+)/$'), member_wizard,
        name='member_step'),
    ....

Is it a good solution? If so, could you please consider adding this feature?

I have tried your solution, but I ended up with this error 'Reverse for 'account_step' not found. 'account_step' is not a valid view function or pattern name', because the view start using the translated name instead of english one...
I mean the name of the step is needed in processing.. so thats why translation is big issue here.

I have found solution to my problem!
its so simple, you can use the template ( html) to translate the steps like this :

                                            {% for t in wizard.steps.all %}
                                                <li class="single-step-list-step
                                                    {% if wizard.steps.current == t %}current-items
                                                     {% elif forloop.counter0 < wizard.steps.index %}completed {% endif %}">
                                                     {{ forloop.counter }}

 **{% trans t %}**

                                            {% endfor %}

                                        {% include 'form_errors.html' %}
                                        <form method="post" enctype="multipart/form-data"
                                              class="multiStep-form style-one simplePresentCart-two"
                                              style="height: calc(100%);" id="main_register_form">

                                                {% csrf_token %}
                                                {{ wizard.management_form|crispy }}
                                                {% if wizard.form.forms %}
                                                    {{ wizard.form.management_form|crispy }}
                                                    {% for form in wizard.form.forms %}
                                                        {% crispy form %}
                                                    {% endfor %}
                                                {% else %}
                                                    {% crispy wizard.form %}
                                                {% endif %}

                                                            {% if wizard.steps.prev %}
                                                                <button formnovalidate
                                                                        name="wizard_goto_step"
                                                                        type="submit"
                                                                        class="primry-btn-2 lg-btn"
                                                                        value="{{ wizard.steps.prev }}">{% trans "Prev Step" %}</button>

                                                            {% endif %}

                                                        {% if wizard.steps.current == wizard.steps.last %}

                                                                <input type="submit" class="primry-btn-2 lg-btn"
                                                                       value="{% trans "Register" %}"/>

                                                        {% else %}

                                                                <input type="submit" class="primry-btn-2 lg-btn"
                                                                       value="{% trans "Next" %}"/>

                                                        {% endif %}

                                        </form>


.head() and .tail() on DataTable and DataColumn

As a user, I wish I could preview my data with typing information using head for the beginning of the data, and tail for the end of the data.

The exact format for DataColumn.head() is still TBD.

This is covered by #483; closing.


Changed to dyniamic argument of mail function

Thanks @seadog007!
SMTP has sort of been forgotten so thanks for submitting this!


Add E2E Integration Test With Multiple Consensus Nodes

Current dependencies on/for this PR:

feature/proof-of-stake

PR #649

PR #724

PR #725

PR #720

PR #721

PR #731   👈

This comment was auto-generated by Graphite.


Enable debug logging of pod listen events & errors

This sets the "Output" flag on the publishers for the pod forwarders if you run in verbose mode.  This can reveal some errors / events that are useful for debugging.

Any chance you could cut a release?  My co-workers are using the official releases but could benefit from the multi-cluster support.

Thank you for your contributions. Let me spend some time with it tomorrow. Unfortunatly this project needs a serious test suite and I've been deep in a client project for months (along with finalizing a book).


using fully-loaded event in 2.2.1  (UPDATE: not working in 2.3.0)

Hi how can I use fully=loaded event in 2.2.1 version  without merge?
I tried to take the tiledImage.js to the openseadragon.js  but it throws errors ,
I tried to take the changes from the commit itself but the event is  not fired
thanks

@johnico Maybe you want to use fully-loadedevent to play multi-images continuously, or make the zoom smoother, right? If not, can you describe what functions do you want to achieve?

The fully loaded event is on master, so you could build from this repository. We should be releasing it along with 2.3.0 tomorrow though (see https://github.com/openseadragon/openseadragon/issues/1094), so you can wait for that.
Note that we don't support TIFF files, and that at least two major browsers (Chrome and Firefox) don't support TIFF either. You should stick with JPEG or PNG.

Is TIFF with cgi-bin will no longer works on latest chrome version ? What is the alternative for tiff   (30MB size of image )

@johnico why do you need TIFF? i don't see any advantage of it over JPG in web-based environment

@johnico How big in pixels is the image? If it's less than 2000px wide, you can just convert it into a single JPEG and use that. Otherwise you'll want to tile it into DZI or Zoomify, which also consist of JPEG.

15000px, high resolution
I meant I'm using IIPIMAGE server , I think it's convet tiff to small jpegs
Is the new version supports that feature ?

@johnico The fully-loaded-change event works,right? I also should use it, but it seems that i did not call the event correctly. how do you use the fully-loaded event?
viewer.addHandler('fully-loaded-change', function(){ 		  setTimeout(function() {             viewer.world.removeItem(viewer.world.getItemAt(1));             addFrame();                       }, 100);
thx!

@iangilman   Hi the envets are not fired at all
    viewer1.addHandler('fully-loaded-change',function(a){
            console.log("x");
    });

    viewer1.addHandler('fully-loaded',function(a){
            console.log("y");
    });

Apologies if the documentation wasn't clear! The fully-loaded-change event is fired on the individual TiledImage, not on the Viewer. This will work, for instance:
        viewer.world.addHandler('add-item', function(addItemEvent) {
            var tiledImage = addItemEvent.item;
            tiledImage.addHandler('fully-loaded-change', function(fullyLoadedChangeEvent) {
                console.log('fully loaded', fullyLoadedChangeEvent.fullyLoaded);
            });
        });

And yes, @johnico having IIPImage image convert your TIFF into JPEG tiles is great; that's definitely supported.

Note that fully-loaded-change fires every time the "fully loaded" status changes, either from false to true or vice versa (which will happen when the user navigates). You can also find out the current status of the image by calling getFullyLoaded() on it... remember, that's a call for the TiledImage as well.

hi @iangilman  thanks , the additem event you described here give me the option to know when the last tile is loaded? for example while using IIPImage i would like to know when its totally loaded

It's the fully-loaded-change event that tells you when the image is fully loaded. I'm just using the add-item event to make sure we're watching all of the tiled images.


fixshould set isForwardedToMaster and redirectStatus to null before fallback to legacy planner

Problem Summary:
when fallback to legacy planner, we need legacy planner to decide if the sql needs to be forwarded to master. But legacy planner doesn't work if isForwardedToMaster is already set to non-null value. So we should set isForwardedToMaster and redirectStatus to null before fallback
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall


Update prometheus-operator chart to v0.7.0

Manually published to my personal charts repo until we have a CoreOS/Quay repo.

lgtm, we should figure out a place for the "true" roles so we don't have to maintain them manually and keep them in sync and I'll talk to @ant31 about getting this onto quay apps


Lock editing: On deposits tab, replace pencil icon with lock

On the deposits tab, if a locked item displays in the table, the pencil icon for editing should be replaced with a lock icon.
When the user clicks on the lock, they should see a tooltip that says "This deposit can no longer be edited in this application. If you need to make changes to this deposit, please use the Help link at the top of this page to contact us."

Lock icon: fa-solid fa-lock


⚠ Jenkins Plugins Artifactory has degraded performance

In 90372e0, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1295 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 89c26ba after 25 minutes.