Aggregate function 'mean' don't return all available points

I'm experiencing a strange behaviour when querying the data:

simple query select * from users_value where host='danska' and time > now() - 2h returns first result at 18h00 and points every 10 seconds till 19:30:00 (request results: https://gist.github.com/papylhomme/5c4afb2004142f158587#file-res_select-json)
query select mean(value) from users_value where host='danska' and time > now() - 2h group by time(10s) returns nothing for 17:XX:XX, 1 value at 18:00:00 and nothing for 18:XX:XX, and a value for each 10 seconds in 19:XX:XX (request results: https://gist.github.com/papylhomme/5c4afb2004142f158587#file-res_mean-json)
query select derivative(value) from users_value where host='danska' and time > now() - 2h group by time(10s) works as expected with a point every 10 seconds. (request results: https://gist.github.com/papylhomme/5c4afb2004142f158587#file-res_derivative-json)

Please note this behaviour appeared after a fix (https://github.com/influxdb/influxdb/issues/3702) to ensure shard groups of 1 hour (see logs below).
août 22 19:38:22 danska influxd[15923]: [retention] 2015/08/22 19:38:22 shard '69', start time '2015-08-22 16:00:00 +0000 UTC', end time '2015-08-22 17:00:00 +0000 UTC', deleted at '0001-01-01
août 22 19:38:22 danska influxd[15923]: [retention] 2015/08/22 19:38:22 shard '70', start time '2015-08-22 17:00:00 +0000 UTC', end time '2015-08-22 18:00:00 +0000 UTC', deleted at '0001-01-01
août 22 19:38:22 danska influxd[15923]: [retention] 2015/08/22 19:38:22 shard '71', start time '2015-08-22 18:00:00 +0000 UTC', end time '2015-08-22 19:00:00 +0000 UTC', deleted at '0001-01-01

At first pass, I don't see how #3702 could affect the data that is queried, since it only kicks in when retention policies are altered, and only affects new shards.
Is there any chance you are seeing #3781 ?

@papylhomme from the first bullet point it sounds like the timestamps are all exactly 10 seconds apart, since you get results every 10 seconds without a GROUP BY time(10s).
Given that, perhaps there's a strange edge case behavior when grouping by a time interval that's exactly equal to the point spacing. Do you get meaningful results from select mean(value) from users_value where host='danska' and time > now() - 2h group by time(14s)
Also, what version of InfluxDB are you running?

Yes my points are 10 seconds apart, they're coming from a collectd daemon with polling set to 10s. The query with  group by time(14s) exhibit the same behaviour, with slight shift in the resulting timestamp (the first 0 is at 17:59:56 instead of 18:00:00).
Regarding the version, it was compiled some days ago against master, head is 47533465a7ce9d590c7e20587f8cdf04236ced00

@papylhomme I have a theory but I'm not sure it completely holds up.
From #3702 we know you have a short retention policy duration. It's entirely possible that shards have a time range of one hour. Data types are consistent per shard, but it is possible to have the same field with different data types in two different shards. Since the behavior changes exactly on the 1800 and 1900 boundaries, that seems consistent.
Somehow the 17xx data and the 19xx data are the correct data type (int64 or float64) but the 18xx data are something invalid for MEAN, like boolean or string.
I can't explain why DERIVATIVE still returns consistent results for 18xx points, but it is a recently implemented function and it's possible it is automatically and perhaps incorrectly filling 0 for null results.
@jwilder what would DERIVATIVE return if run on a string or boolean data type?

Seeing new commits related to the mappers I tried with a version build against 3f525ff8c1699ed79f93a4669824aae1464ac8fb, behaviour for select mean(value) is the same, but now there is a gap in my values: select *  and  select derivative(value) are missing values for the whole 13h hour. Values for 12h and 14h exists.
I'll wait for the data to accumulate for some hours and make another test

@papylhomme any updates on this issue?

Unfortunately no, I'm currently reinstalling the system after a disk crash. I'll test with the latest version and let you know asap.

Running the latest HEAD with a fresh database everything is ok, the results from mean are coherent with the content of the database. Problem solved as far as I'm concerned

Great, thanks for the follow-up @papylhomme. I wish we had found the cause, but as long as the behavior is gone that's enough.


怎么单独引用库，现在引用之后完全报错

Describe the problem
Explain the performance issue you're experiencing, including the following details:

What specific issue did you encounter? (e.g. missing frames, high CPU usage, memory leaks)
Have you noticed any patterns or specific circumstances under which the problem occurs?

Affected platforms
Select of the platforms below:

Android
Desktop

Affected components
Select of the components below:

ZoomImage
SketchAsyncZoomImage
CoilAsyncZoomImage
GlideAsyncZoomImage
ZoomImageView
SketchZoomImageView
CoilZoomImageView
GlideZoomImageView
PicassoZoomImageView

Versions

zoomimage version*:
Kotlin version:
Compose version(s)* (Jetpack/Multiplatform):
JDK version(Only Desktop):

Running Devices
Please accurately describe the device Model, OS version, and CPU Architecture

MacBookPro 14 2021; macOS 13.4.1; arm64
XiaoMi MIX 4; MIUI 14.0.6; arm64

Sample code
If possible, provide a small piece of code that reproduces the problem. If the code snippet is too
large to paste here, please link to a Gist, a GitHub repo, or any other public code repository.
Reproduction steps
Please provide a detailed step-by-step guide on how to reproduce the issue you are experiencing.
Video
If you're reporting slow app work or missing frames, please provide a video of the problem.
Profiling data
Please provide any relevant profiling data that might be helpful. This could include information
like FPS, memory usage, CPU time, or any other data that could provide insight into the performance
issue.
Additional information
Provide any other details that you think might be helpful for us to understand the problem. This
could include things like the system configuration, external factors, etc.

你是要解决报错问题还是要单独引用？
报错问题，报什么错？请提供截图或报错信息。
单独引用是什么意思？现在每个模块都是可以单独使用的，你还要怎么个单独引用法？

I don't see any ZoomImage related errors in your screenshots.

我升级了gradle就可以了 谢谢大佬


How can support be provided for qwen2 or llama3?

How can support be provided for qwen2 or llama3?
Could you please update the new version of llama-factory to support new open-source models such as qwen2 or llama3?
Thank you very much.

Hi, friends! Once we have free GPU resources, we will consider to do this. :-)


🐛 [app_check]  App check debug token is causing my release mode iOS TestFlight builds to fail

Bug report
Describe the bug
App check debug token is causing my release mode TestFlight builds to fail.
My TestFlight app (which is in release mode) failing due to lack of appcheckdebugtoken.
However, it does not seem to be related to the current debug token

I loaded an app via TestFlight, went to sleep, woke up and my app would not open
I then put the debug token into firebase console, and app worked....
I reinstalled app, with a different debug token (that was never entered on Firebase Console) and it still works
it seems like as long as a valid debug token is entered into the FC then all works for a while

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 3.3.7, on macOS 12.6 21G115 darwin-arm, locale en-US)
[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[!] Android Studio (not installed)
[✓] VS Code (version 1.73.0)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
 flutter pub deps -- --style=compact
Dart SDK 2.18.4
Flutter SDK 3.3.7
eon 0.0.2+1

dependencies:
- animated_splash_screen 1.3.0 [flutter page_transition]
- any_link_preview 2.0.9 [flutter html http shared_preferences string_validator url_launcher]
- async_builder 1.3.1 [flutter rxdart]
- badges 2.0.3 [flutter]
- better_player 0.0.83 [flutter cupertino_icons wakelock meta flutter_widget_from_html_core visibility_detector path_provider collection xml]
- cached_network_image 3.2.1 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- cloud_firestore 3.5.1 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 3.3.9 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- collection 1.16.0
- cupertino_icons 1.0.5
- dio 4.0.6 [http_parser path]
- easy_splash_screen 1.0.4 [flutter]
- enum_to_string 2.0.1
- equatable 2.0.5 [collection meta]
- firebase_analytics 9.3.8 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_app_check 0.0.9+1 [firebase_app_check_platform_interface firebase_app_check_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 3.11.2 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.24.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_core_platform_interface 4.5.1 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_database 9.1.7 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter]
- firebase_dynamic_links 4.3.11 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_messaging 13.1.0 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_remote_config 2.0.20 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter]
- firebase_storage 10.3.11 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_app_badger 1.4.0 [flutter]
- flutter_chat_types 3.4.5 [equatable json_annotation meta]
- flutter_dotenv 5.0.2 [flutter]
- flutter_riverpod 2.0.2 [collection flutter meta riverpod state_notifier]
- flutter_secure_storage 6.0.0 [flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows meta]
- flutter_upchunk 1.3.1 [flutter dio connectivity_plus mime]
- form_builder_validators 8.3.0 [flutter flutter_localizations intl]
- freezed_annotation 2.1.0 [collection json_annotation meta]
- get_it 7.2.0 [async collection]
- go_router 5.1.0 [collection flutter flutter_web_plugins logging meta]
- google_fonts 3.0.1 [flutter http path_provider crypto]
- http 0.13.5 [async http_parser meta path]
- image_picker 0.8.5+3 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_platform_interface]
- in_app_purchase 3.0.7 [flutter in_app_purchase_android in_app_purchase_platform_interface in_app_purchase_storekit]
- infinite_scroll_pagination 3.2.0 [flutter sliver_tools]
- intl 0.17.0 [clock path]
- json_annotation 4.7.0 [meta]
- json_serializable 6.5.4 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper]
- pagination_view 2.0.0 [flutter bloc flutter_bloc]
- path_provider 2.0.11 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- persistent_bottom_nav_bar_v2 4.2.5 [flutter]
- phone_number 0.12.0+2 [flutter meta]
- platform_device_id 1.0.1 [flutter platform_device_id_platform_interface platform_device_id_macos platform_device_id_linux platform_device_id_web platform_device_id_windows device_info]
- provider 6.0.3 [collection flutter nested]
- riverpod_infinite_scroll 1.0.9 [collection flutter flutter_riverpod infinite_scroll_pagination]
- rxdart 0.27.5
- share_plus 4.1.0 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web]
- 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]
- translator 0.1.7 [http]
- tuple 2.0.0 [quiver]
- 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]
- video_player 2.4.7 [flutter html video_player_android video_player_avfoundation video_player_platform_interface video_player_web]
- visibility_detector 0.3.3 [flutter]
- web_socket_channel 2.2.0 [async crypto stream_channel]
- wechat_assets_picker 8.1.3 [flutter extended_image photo_manager provider video_player]
- wechat_camera_picker 3.5.0+1 [flutter camera camera_platform_interface path photo_manager video_player]

dev dependencies:
- build_runner 2.2.0 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_flavorizr 2.1.5 [flutter archive args checked_yaml collection image io json_annotation sprintf xml yaml]
- flutter_launcher_icons 0.10.0 [args checked_yaml cli_util image json_annotation path yaml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- freezed 2.1.0+1 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation]
- test 1.21.4 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core]

transitive dependencies:
- _fe_analyzer_shared 47.0.0 [meta]
- _flutterfire_internals 1.0.2 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- analyzer 4.7.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.3.2 [crypto path]
- args 2.3.1
- async 2.9.0 [collection meta]
- bloc 7.2.1 [meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.3.0 [analyzer async convert crypto glob logging meta path]
- build_config 1.1.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.1.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.9 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.2.3 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.4.1 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface]
- camera 0.9.8+1 [camera_android camera_avfoundation camera_platform_interface camera_web flutter flutter_plugin_android_lifecycle quiver]
- camera_android 0.9.8+3 [camera_platform_interface flutter flutter_plugin_android_lifecycle stream_transform]
- camera_avfoundation 0.9.8+5 [camera_platform_interface flutter stream_transform]
- camera_platform_interface 2.2.0 [cross_file flutter plugin_platform_interface stream_transform]
- camera_web 0.2.1+6 [camera_platform_interface flutter flutter_web_plugins stream_transform]
- characters 1.2.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.5 [meta path]
- clock 1.1.1
- cloud_firestore_platform_interface 5.7.7 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.8.10 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.1.18 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.3.7 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.2.0 [built_collection built_value collection matcher meta]
- connectivity_plus 2.3.6+1 [flutter connectivity_plus_platform_interface connectivity_plus_linux connectivity_plus_macos connectivity_plus_web connectivity_plus_windows]
- 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]
- coverage 1.5.0 [args logging package_config path source_maps stack_trace vm_service]
- cross_file 0.3.3+1 [js meta]
- crypto 3.0.2 [typed_data]
- csslib 0.17.2 [source_span]
- dart_style 2.2.3 [analyzer args path pub_semver source_span]
- dbus 0.7.8 [args ffi meta xml]
- device_info 2.0.3 [flutter device_info_platform_interface]
- device_info_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- extended_image 6.2.1 [extended_image_library flutter meta]
- extended_image_library 3.3.0 [crypto flutter http_client_helper path path_provider]
- fake_async 1.3.1 [clock collection]
- ffi 2.0.1
- file 6.1.2 [meta path]
- firebase_analytics_platform_interface 3.3.7 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.4.2+7 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_app_check_platform_interface 0.0.5+1 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_app_check_web 0.0.7+1 [_flutterfire_internals firebase_app_check_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 6.10.1 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 4.6.1 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_web 1.7.3 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_database_platform_interface 0.2.2+7 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_web 0.2.1+9 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js]
- firebase_dynamic_links_platform_interface 0.2.3+15 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 4.2.0 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.2.0 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_remote_config_platform_interface 1.1.19 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_remote_config_web 1.1.8 [firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins js]
- firebase_storage_platform_interface 4.1.18 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.3.9 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.1
- flutter_bloc 7.3.3 [flutter bloc provider]
- flutter_blurhash 0.7.0 [flutter]
- flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math]
- flutter_plugin_android_lifecycle 2.0.7 [flutter]
- flutter_secure_storage_linux 1.1.1 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_macos 1.1.1 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_platform_interface 1.0.0 [flutter plugin_platform_interface]
- flutter_secure_storage_web 1.0.2 [flutter flutter_web_plugins flutter_secure_storage_platform_interface js]
- flutter_secure_storage_windows 1.1.2 [flutter flutter_secure_storage_platform_interface]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- flutter_widget_from_html_core 0.8.5+3 [csslib flutter fwfh_text_style html]
- frontend_server_client 2.1.3 [async path]
- fwfh_text_style 2.22.08 [flutter]
- glob 2.1.0 [async collection file path string_scanner]
- graphs 2.1.0 [collection]
- html 0.15.0 [csslib source_span]
- http_client_helper 2.0.3 [http]
- http_multi_server 3.2.1 [async]
- http_parser 4.0.1 [collection source_span string_scanner typed_data]
- image 3.2.2 [archive meta xml]
- image_picker_android 0.8.5+3 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 2.1.8 [flutter flutter_web_plugins image_picker_platform_interface]
- image_picker_ios 0.8.6 [flutter image_picker_platform_interface]
- image_picker_platform_interface 2.6.1 [cross_file flutter http plugin_platform_interface]
- in_app_purchase_android 0.2.3+3 [collection flutter in_app_purchase_platform_interface json_annotation]
- in_app_purchase_platform_interface 1.3.1 [flutter plugin_platform_interface]
- in_app_purchase_storekit 0.3.2 [collection flutter in_app_purchase_platform_interface json_annotation]
- io 1.0.3 [meta path string_scanner]
- js 0.6.4
- logging 1.0.2
- matcher 0.12.12 [stack_trace]
- material_color_utilities 0.1.5
- meta 1.8.0
- mime 1.0.2
- nested 1.0.0 [flutter]
- nm 0.5.0 [dbus]
- node_preamble 2.0.1
- octo_image 1.0.2 [flutter flutter_blurhash]
- package_config 2.1.0 [path]
- page_transition 2.0.9 [flutter]
- path 1.8.2
- path_provider_android 2.0.20 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.11 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.6 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.4 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.3 [ffi flutter path path_provider_platform_interface win32]
- pedantic 1.11.1
- petitparser 5.0.0 [meta]
- photo_manager 2.4.0 [flutter]
- platform 3.1.0
- platform_device_id_linux 1.0.0 [flutter]
- platform_device_id_macos 1.0.0 [flutter]
- platform_device_id_platform_interface 1.0.0 [flutter plugin_platform_interface]
- platform_device_id_web 1.0.0 [flutter flutter_web_plugins platform_device_id_platform_interface]
- platform_device_id_windows 1.0.0 [flutter]
- plugin_platform_interface 2.1.2 [meta]
- pool 1.5.1 [async stack_trace]
- process 4.2.4 [file path platform]
- pub_semver 2.1.1 [collection meta]
- pubspec_parse 1.2.1 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.1.0 [matcher]
- riverpod 2.0.2 [collection meta stack_trace state_notifier]
- share_plus_linux 3.0.0 [share_plus_platform_interface file flutter meta url_launcher]
- share_plus_macos 3.0.1 [share_plus_platform_interface flutter]
- share_plus_platform_interface 3.0.3 [flutter meta mime plugin_platform_interface]
- share_plus_web 3.0.1 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta]
- share_plus_windows 3.0.1 [share_plus_platform_interface flutter meta url_launcher]
- shared_preferences_android 2.0.13 [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.1.0 [flutter plugin_platform_interface]
- 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]
- shelf 1.3.2 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 3.0.1 [path shelf shelf_static]
- shelf_static 1.1.1 [convert http_parser mime path shelf]
- shelf_web_socket 1.0.2 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- sliver_tools 0.2.8 [flutter]
- source_gen 1.2.2 [analyzer async build dart_style glob meta path source_span yaml]
- source_helper 1.3.2 [analyzer collection source_gen]
- source_map_stack_trace 2.1.0 [path stack_trace source_maps]
- source_maps 0.10.10 [source_span]
- source_span 1.9.0 [collection path term_glyph]
- sprintf 7.0.0
- sqflite 2.0.3+1 [flutter sqflite_common path]
- sqflite_common 2.2.1+1 [synchronized path meta]
- stack_trace 1.10.0 [path]
- state_notifier 0.7.2+1 [meta]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.1 [source_span]
- string_validator 0.3.0
- synchronized 3.0.0+3
- term_glyph 1.2.1
- test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- test_core 0.4.16 [analyzer async args boolean_selector collection coverage frontend_server_client glob io meta package_config path pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api]
- timing 1.0.0 [json_annotation]
- typed_data 1.3.1 [collection]
- url_launcher_android 6.0.18 [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.13 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.1 [flutter url_launcher_platform_interface]
- uuid 3.0.6 [crypto]
- vector_math 2.1.2
- video_player_android 2.3.9 [flutter video_player_platform_interface]
- video_player_avfoundation 2.3.5 [flutter video_player_platform_interface]
- video_player_platform_interface 5.1.4 [flutter plugin_platform_interface]
- video_player_web 2.0.12 [flutter flutter_web_plugins video_player_platform_interface]
- vm_service 9.0.0
- wakelock 0.6.2 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows]
- 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]
- watcher 1.0.1 [async path]
- webkit_inspection_protocol 1.2.0 [logging]
- win32 2.7.0 [ffi]
- xdg_directories 0.2.0+2 [meta path process]
- xml 6.1.0 [collection meta petitparser]
- yaml 3.1.1 [collection source_span string_scanner]

verified fixed on my local build.


Improve the sign in page

[x] The height of the email and password text fields are too much. They can be thinner.
[x] The sign in button font is too big too
[x] the font size of all text should be same except the title
[x] The title "Sign in" and the sign in button look duplicated

Hey @gkwan-ibm
From what I can see the above matches what we agreed upon in the design. Do you want us to make changes to the design?
Here is the agreed upon design:

Hey @gkwan-ibm
From what I can see the above matches what we agreed upon in the design. Do you want us to make changes to the design?
Here is the agreed upon design:

Based on the actual login page,

I still feel the text font for "Email", "The email address ....", "Password" is a bit small. Can make them bigger as the font of "First time here?" or "Remember me"?
I suggest the title to be "Sign in to Open Liberty SkillsNetwork" instead of just "Sign In"

Based on the actual login page,

I still feel the text font for "Email", "The email address ....", "Password" is a bit small. Can make them bigger as the font of "First time here?" or "Remember me"?
I suggest the title to be "Sign in to Open Liberty SkillsNetwork" instead of just "Sign In"

Changed title to 'Access Cloud Hosted Guides' and made text slightly larger.

Changed title to 'Access Cloud Hosted Guides' and made text slightly larger.

will be addressed by SN team

will be addressed by SN team

close

addressed listed issues
other login page issues will by #314 #341

close

addressed listed issues
other login page issues will by #314 #341


Decompiler:   Low-level Error: Could not find op at target address: (code, ...) (AVR)

I have been consistently hitting this issue while reconstructing an AVR sample manually (with 10.2.3, with the code segment "loading" emulating by copying the relevant blocks into a new codebyte segment, which is already present at program import time apparently):
 Low-level Error: Could not find op at target address: (code,0x00336b)
The relevant disasm:
     byte: 64 e1           ldi        R22,0x14
     byte: 77 e5           ldi        R23,0x57
     byte: 8d 5b           subi       R24,0xbd
     byte: 9f 4f           sbci       R25,0xff
     byte: f7 01           movw       Z,R15R14
     byte: 19 95           eicall
     byte: d8 01           movw       X,R17R16
     byte: 5b 96           adiw       X,0x1b
     byte: 8d 93           st         X+,R24

Another test case:
     byte: cf 93           push       Ylo
     byte: 80 91 27 3a     lds        R24,DAT_mem_xxxx
     byte: 83 30           cpi        R24,0x3
     byte: a1 f0           brbs       FUN_code_xxxa2e,Zflg
     byte: 80 91 3f 3c     lds        R24,BYTE_ARRAY_mem_xxx[...]
     byte: 88 23           and        R24,R24
     byte: 81 f0           brbs       LAB_code_00xxx+2,Zflg
     byte: c2 e0           ldi        Ylo,0x2
     byte: c0 93 05 06     sts        PORTA_OUTSET,Ylo                                 = ??
     byte: e0 91 c0 3c     lds        Zlo,DAT_mem_xxx0
     byte: f0 91 c1 3c     lds        Zhi,DAT_mem_xxx1
     byte: 04 84           ldd        R0,Z+0xc
     byte: f5 85           ldd        Zhi,Z+0xd
     byte: e0 2d           mov        Zlo,R0
     byte: 6c e6           ldi        R22,0x6c
     byte: 77 e3           ldi        R23=>DAT_mem_xxxc,0x37
     byte: 80 e0           ldi        R24,0x0
     byte: 19 95           eicall
     byte: c0 93 06 06     sts        PORTA_OUTCLR,Ylo                                 = ??
     byte: cf 91           pop        Ylo
     byte: 08 95           ret

Gives:  Low-level Error: Could not find op at target address: (code,0x002a2e)
Notice the eicall op (see https://gcc.gnu.org/onlinedocs/gcc-4.7.4/gcc/AVR-Options.html EIND handling).
My initial suspicion is that EICALL constructs are not being handled properly, or something else is amiss, since all of these have the common denominator of not being detected by auto-analysis. Many of them have proper push/pop prologues/epilogues and ret/jmp "exits", so I can easily find them manually and force a function to be created in place.
It makes RE tedious and time consuming since it just so happens to be affecting the interesting bits of my sample. The AVR capabilities have come a long way, and I'm happy with being a guinea pig for the improvements. I'm not reliant solely on the decompiler so it isn't a blocking issue per se, but it is definitely causing problems as far as references are involved.

I recommened creating a private GitHub repo and inviting us to it.

@caheckman  sample.hex.zip


💡[Feature]: Changing UI of certsin buttons on the home page.

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I will change the UI of certain buttons.
Use Case
The homepage will look more good and attractive.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@sk66641 Please assign me this issue under gssoc'24.

@taneeshaa15
this issue looks similar to #405


Understand intermittent issue with ASGs when running terraform apply

We’ve hit an intermittent issue several times when running terraform apply where it forgets about existing ASGs and tries to recreate them:
aws_dynamodb_table.calm-dynamodb-table: Modifications complete
Error applying plan:

2 error(s) occurred:

* aws_cloudformation_stack.tools_cluster_asg: Creating CloudFormation stack failed: AlreadyExistsException: Stack [tools-cluster-asg] already exists
        status code: 400, request id: b5c660eb-ff37-11e6-9f30-af0bbe170de1
* aws_cloudformation_stack.platform_cluster_asg: Creating CloudFormation stack failed: AlreadyExistsException: Stack [platform-cluster-asg] already exists
        status code: 400, request id: b5c6d6a2-ff37-11e6-a533-7d27bea21a22

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

This is usually resolved by deleting the ASGs and rebuilding from scratch, but we should understand what’s really causing this error.

I think this problem was caused by not pushing remote state.


ThreadLocalRandom accessed from a different thread

Describe the Bug
Loglines showing that Create isn't being threadsafe.
Reproduction Steps
Use create with something that requires threasafe, like C2ME.
Expected Result
Be threadsafe.
Screenshots and Videos
No response
Crash Report or Log
https://gist.github.com/purejosh/a17fea67d60698ac58204fcb32816f50
Operating System
n/a
Mod Version
0.5.1b
Minecraft Version
1.19.2
Other Mods
No response
Additional Context
No response

This seems like it should be reported to C2ME, its crashing at Bee.this.level.random.nextInt(10); which is in a vanilla class and this would eventually get called anyway if mc places structures from a different thread(?)

I'm pretty sure it is, I need to investigate the relevant code

The relevant code no longer exists.

Thanks!


Broken link

Configure Multi-Factor Authentication returns a 404

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

ID: 19ddbb85-f5df-b124-2783-0330d9da2e06
Version Independent ID: aff516a2-3bb0-843d-5652-e25f90bab00f
Content: Sign in to Surface Hub with Microsoft Authenticator
Content Source: devices/surface-hub/surface-hub-authenticator-app.md
Service: unspecified
GitHub Login: @jdeckerMS
Microsoft Alias: jdecker

Thanks for letting us know. The link will be fixed today.


nixos/dex: fix start with latest systemd update

With those settings starting dex crashed with:
Oct 03 21:37:51 hydrogen (tart-pre)[11048]: dex.service: Failed to set up mount namespacing: /run/systemd/mount-rootfs/sys/fs/cgroup/system.slice/dex.service/memory.pressure: No such file or directory
Oct 03 21:37:51 hydrogen (tart-pre)[11048]: dex.service: Failed at step NAMESPACE spawning /nix/store/q8clp1lm8jznxf9330jd8cwc6mdy6glz-dex-start-pre: No such file or directory

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I guess it makes sense to uncomment the ProtectSystem=strict then.
There’s some discussion about the same issue for paperless in #259056.

Let's maybe merge the quickfix, mitigating current dex unusability — and then do the rest? @Flakebi

Fine with me

bump, dex is currently not usable

bump, dex is currently not usable

i think that we can merge, and all the complaints were addressed?

eeh, taking the blame on myself if not so — just tested this on my host, and it appears to work just fine


Simple L2 reconstruction loss?

Thx for the excellent work! Currently, it seems that we are using some obscure DiscMixLogistic reconstruction loss. Is there any guide on using simple L2 reconstruction loss? Do I need to change the model architecture for that?

Hello @SilenceMonk, thanks for the interest you show in our work!
tl;dr: Using the L2 reconstruction loss on a VAE is sub-optimal for training a VAE and should be avoided as it causes the VAE to train in an over-regularized regime, causing its outputs to be blurry. If over-regularization is actually desirable (to encode less information in the latent space), then changing the output filters to the number of channels in the image (3 if RGB) and changing the loss function to L2 should be enough for training. During inference, there is no sampling process and the logits are the actual image.
First and foremost, it should be pointed out that VAE shouldn't be trained with an RGB output layer and an L2 reconstruction loss (MSE). As beautifully explained in section 5.1 (page 12) of this paper, training the VAE with MSE instead of $-log\ p_{\theta}(x|z)$ is "extremely problematic for maximum likelihood and results in the VAE being highly over-regularized".  The obscure DiscMixLogistic (MoL) is a literal optimization (minimization) of $-log\ p_{\theta}(x|z)$ assuming that $p_{\theta}(x|z)$ (distribution over RBG pixels given a latent vector $z$, which is modeled by the decoder of weights $\theta$) is a mixture of logistics distribution.  I definitely agree that we lack resources on the internet that explain how this loss works and why we use it. So in what follows, I take the chance to briefly introduce the intuitions behind MoL and VAE reconstruction loss in general. I have wrote in the past a github answer that explains how MoL loss work in detail (with code walkthrough) while keeping it light on math if you are interested in fully understanding how it works.
When you consider the ELBO of a (standard) VAE:

maximizing the right hand size of the inequality (or equivalently minimizing its opposite) decomposes into a reconstruction loss term $-log\ p_{\theta}(x|z)$ and other KL term(s). This holds even for a hierarchical VAE like ours.
To deal with the reconstruction term $-log\ p_{\theta}(x|z)$, we literally make the decoder $\theta$ output a distribution (or statistics of it, like the mean and std of a gaussian distribution for example). In training, we compute the probability (Probability Density Function, aka PDF) of the target $x$ to be sampled from the conditional probability $p_{\theta}(x|z)$ (How much does the distribution predicted by decoder $\theta$ actually fit the target $x$). By minimizing $-log\ p_{\theta}(x|z)$, you maximize the probability of the target to be a "plausible sample from the decoder's distribution". This is called "Maximum Likelihood Estimation" (MLE). During inference, you simply sample from the decoder distribution to get actual pixels.
The decoder's output layer can model any distribution really: Gaussian, Logistic, etc. I will not go too deep into the details of why we tend to use mixture of discretized logistics as the distribution when modeling pixels (or audio) in this comment, but the github answer I shared earlier talks about that. The short answer to "why use a mixture of discretized logistics" is:

Mixture because using a mixture of distributions is more expressive than a single distribution: you can make more complicated distributions with a mixture of gaussians instead of a single gaussian for example. In fact a mixture of gaussians can be multi-modal while a simple gaussian is unimodal.
Discretized because we are trying to predict discrete pixel values in the integer range [0, 255]. i.e: values in the range [2.5, 3.5) are all be considered equal to 3 and no penalty should be on them.
Logistics because the logistic distribution has a simple Cumulative Distribution Function (CDF) which is the sigmoid function. This is both helpful in making a stable, easy to compute training loss and in having a simple inversion sampling formula during inference.
Why not a classification layer like a softmax distribution? Because the pixels are ordinals and not categorical. i.e: 101 is closer to 100 than it is to 99, so the order matters of the "classes" (pixel discrete values) matters. Softmax outputs have been explored in image generation in the past, but are usually outperformed by mixture of logistics outputs.

Optimizing the MSE instead of performing an explicit MLE on a model distribution however is sub-optimal when maximizing the likelihood of the data under the gaussian distribution. In fact, the reconstruction loss of the ELBO under a decoder modeling a single gaussian distribution can be written as:

You can notice that this reconstruction loss is equivalent to the MSE loss under the assumption that the gaussian scale $\sigma_{\theta}^2$ is kept constant equal to $1/2$ instead of making it trainable. That is obviously sub-optimal from a maximum likelihood perspective. Section 5.1 of the earlier mentioned paper goes into great depth about what this entails during the training of the VAE and what the consequences of training with the MSE are.
Now, if the over-regularization is still desirable (side note: over-regularization can be achieved using beta-VAE as well), then changing the output filters to the number of channels in the image (3 if RGB) and changing the loss function to L2 should be enough for training. The output layer can be a simple linear layer with 3 filters for RGB. During inference, there is no sampling process and the logits are the actual image. It is worth pointing out that the logits in this case are floating points and should be discretized and clipped to the integer range [0, 255].
If the needs also arises at any time, the output layer and MoL loss can be changed to work with any other distribution that fits the need (Gaussian, Cauchy, etc).
I hope this long comment answers your question and also gives some extra information to help reduce the obscurity around DiscMixLogistic! :)
Let me know if there are any concerns or extra questions about this topic!
Thank you very much for reaching out.
Rayhane.

Wow not expect for such a quick, loooooong and detailed guide on MoL loss! I‘ve certainly learnt a lot from it, and I'll definitely check the github anwser later on. Great thx again!

Hi there I get a little follow-up question on MoL loss: what if I am dealing with some discrete data where order doesn't matter, like words? Will it be an issue to use MoL loss in this case?

Hello again @SilenceMonk!
In the case where you are dealing with discrete data, then you change the model's output distribution from a Mixture of (discretized) logistics to a categorical (also called Multinoulli) distribution. Lucky for us, the negative log of the Multinoulli distribution is exactly the cross entropy loss function (derivation below). Which means, minimizing the cross entropy loss is equivalent to performing a maximum likelihood estimation on a categorical distribution.
So, when dealing with a purely categorical output (where the order doesn't matter), Having a simple softmax output layer + using a cross entropy loss function is sufficient. This is the common practice when dealing with categorical data (as far as I am aware).
What follows is the derivation of the cross entropy loss from the Multinoulli PMF:

Assume there is a categorical distribution over K classes that you want to model (K is the vocabulary size for words for example).
Consider the Multinoulli (categorical) distribution PMF, modeled by the output layer of our model $p_{\theta}(x|z) = \prod_{i} p_{i}^{x_i}$ where $x_i$ is the target for class $i$ and $p_{i}$ is the probability of the model for class $i$, $i \in$ {1, ..., K}. i.e $p_{i} = p_{\theta}(X = x_i | z)$ with $X$ being the categorical random variable.
The probabilities $p_i$ must be restricted to be fully positive and $\sum_{i} p_i = 1$. In practice, this typically means $p_i$ must be the output of your softmax layer pretty much.
The reconstruction term $-\log p_{\theta}(x|z)$ then exactly computes to the cross entropy loss:
$$-\log p_{\theta}(x|z) = -\log \prod_{i} p_{i}^{x_i} = -\sum_{i} \log p_{i}^{x_i} = -\sum_{i} x_i \log p_{i}$$

Hope this answers the question :)
Feel free to reach out with any more related/unrelated questions!
Rayhane.

Wow great thanks again @Rayhane-mamah! I guess I'll go with softmax+cross entropy when dealing with discrete data and see what I'll get.


Cannot find module 'turbo' on CI

What version of Turborepo are you using?
1.1.5
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Linux
Describe the Bug
When I run the lint locally yarn lint it triggers the script lint: turbo run lint-code, so all packages are triggered. The linter works fine. When the job is triggered from a github action it immediately fails:
Cannot find module 'turbo'

This issue is similar to this one: https://github.com/vercel/turborepo/issues/820
In this case updating to 1.1.5 didn't solve the issue
Expected Behavior
turbo commands work on github actions
To Reproduce
Try to run any turbo command on a github action

I found the issue. I was setting the yarn flag --ignore-optionalwhen installing the dependencies on ci and turns out that turbo is installed as an optional dependency:

I removed the flag when running yarn install and everything works fine.

I ran into this issue and in the end I discovered that I had installed pnpm 6 via the installation instructions for node.js is not preinstalled when it was. I'm assuming there was then a node version mismatch going on somewhere. Installing so that it would use the system node fixed the issue.

I had a similar issue in both CI and locally when using npm (not yarn), after updating node/npm and turbo to latest, it's working again.

@joshmanders did you ever find a solution? This keeps popping up and it's beginning to get quite frustrating.

@joshmanders did you ever find a solution? This keeps popping up and it's beginning to get quite frustrating.

I don't remember, haven't ran into this issue in a while.

Making turbo the first in the list of devDependecies worked for me

Had an issue like this too and downgrading node from v18.12.0 -> v16.18.0 worked for me

Every single one of you posting about this makes me believe that you were encountering a cache issue.
For future travelers: if you encounter this please make sure you perform a test without any cached modules on the system.


Update contributors.json

updated by Aliva Priyadarshini
Issue

Description

Checklist

[ ] Added contributor object in ascending order in contributors.json
[ ] Github action build passing
[ ] No merge conflicts

c


Why visitsUrl and eventsUrl should use double // on my side

Hi @ankane,
i'm using your amazing ahoy.js
It doesn't seem like a problem, but just to be sure. Is this a bug or should it be like this? So i tried to configure my ahoy.js like this
ahoy.configure({
  urlPrefix: process.env.VUE_APP_BASE_API,
  visitsUrl: "//ahoy/visits",
  eventsUrl: "//ahoy/events",
  page: "landing-page",
  platform: "Web",
  useBeacon: true,
  startOnReady: true,
  trackVisits: true,
  cookies: true,
  cookieDomain: null,
  headers: {},
  visitParams: {},
  withCredentials: true,
  visitDuration: 4 * 60, // 4 hours
  visitorDuration: 2 * 365 * 24 * 60 // 2 years
})

on visitsUrl and eventsUrl should always use double // if I use single / it doesn't send any action to the backend. and by the way my env variable contains something like this http://localhost:3000
can you clarify to help me? Thanks in advance

Hey @bukandicki, not sure why that'd be the case, and not really sure how to reproduce.


Bugfix/websocket auth

Codecov Report

Merging #69 (c68feb1) into master (a7bb581) will decrease coverage by 0.17%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##           master      #69      +/-   ##
==========================================
- Coverage   62.82%   62.65%   -0.18%
==========================================
  Files          34       34
  Lines        4856     4857       +1
==========================================
- Hits         3051     3043       -8
- Misses       1805     1814       +9

Impacted Files
Coverage Δ

turbo_tunnel/websocket.py
85.91% <0.00%> (-0.41%)
:arrow_down:

turbo_tunnel/__init__.py
88.23% <100.00%> (ø)

tests/__init__.py
80.00% <0.00%> (-20.00%)
:arrow_down:

turbo_tunnel/utils.py
73.82% <0.00%> (-1.38%)
:arrow_down:

tests/test_ssh.py
99.09% <0.00%> (-0.91%)
:arrow_down:

turbo_tunnel/ssh.py
55.36% <0.00%> (-0.57%)
:arrow_down:

turbo_tunnel/icmp.py
70.66% <0.00%> (+0.10%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Notification for CUES is not seen on Incognito window.

OS : Mac 10.9.5
Chrome Version : 44.0.2363.0
Steps to reproduce the issue:

Add the CUES extension
Navigate to Chrome://extensions and check the Allow in incognito mode check box
Navigate to SSL warning/malware warning/phishing warning

Actual Result:
Survey notification window is not shown up.
Expected Result:
Survey notification window should show up.

Issue is observed on Win 7 using M 44.0.2363.0 as well.

Glad you tested this, as I hadn't. However: this is desired behavior. We do not want to survey about Incognito behavior. Thanks!


Quick Fix menu not scrollable

Helo!
I use the code spell checker extension which provides quick fixes for spelling "error"s. Often these are just terms that I've adopted as standard in the repo and don't aim to change. However, with the recent change to use custom context menus instead of the native ones the list of spelling quick fixes causes the refactorings I actually want to use to be out of the window, with no way to scroll them into view.
With spell checker extension enabled:

Without:

Ideally the menu would support scroll. I'd accept an option to use native menus instead (the icons are nice to have but not critical). Alternatively, at minimum perhaps the refactorings could be sorted above quick fixes?
@mjbvz @sbatten

We should also limit the height of the menu. Not very pleasant to have it take up the entire height of the window

Works great, thanks!


Redirect to requested page on successful sudo login

I'd like to use django-sudo in a project I'm working on where a user can access update-email and update-password views. I'd like to wrap them both with sudo_required(), but I find it counterintuitive that the user gets redirected to the same page upon confirming their password. I realise the url parameter SUDO_REDIRECT_FIELD_NAME is missing from the post - but it should be possible to achieve that behaviour using session parameters, right? Or am I missing something?
Thanks for your work on this module!

Fixed by #10.


Fix margin for EntityTagsPicker and EntityNamePicker

Hey, I just made a Pull Request!
The EntityTagsPicker and EntityNamePicker are missing some style overrides for the helper text which are already present on the other built-in scaffolder custom fields. This becomes apparent when using a custom theme to set the default variant of text field component to outlined and the margin of the helper text messes up.
Before:

After:

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Thanks! :pray:


replace checkpoing model name

affecnet8_epoch6_acc0.6326.pth does not exist in Baidu or in Google, but affecnet8_epoch5_acc0.6209 does

Thanks!


Adding deprecated to @Available directive

Summary
Adding deprecated argument to the directive @Available, this is done by adding a field deprecated to the Metadata.Availability and also addressing all the comments that are related to the issue within the codebase.
This PR also include the .any platform for @Available, which can be used as follows:
@Available(*, introduced: "1,0")
@Available(*, introduced: "1,0", deprecated: "10,0")
@Available(*, deprecated: "1,0")

Closes #441
Checklist

[X] Added tests
[X] Ran the ./bin/test script and it succeeded
[ ] Updated documentation if necessary
(Not sure how to update the docs properly)

@mustiikhalil Could you please add the Steps to reproduce section to the PR template, including the expected behavior and a test DocC catalog that uses the new deprecated keyword?

Could you please add the Steps to reproduce section to the PR template, including the expected behaviour

Yes, i can do that later today.
@sofiaromorales regarding the test bundle i thought it would be enough to include it within the current test bundle which can be found [here](Tests/SwiftDocCTests/Test Bundles/AvailabilityBundle.docc/AvailableArticle.md) since its just an arguement to the same directive

@sofiaromorales sorry for the ping, but would love to know what's next to get this PR moving forward

@sofiaromorales sorry for the ping, but would love to know what's next to get this PR moving forward

Sorry for the wait. I left some initial feedback and in the upcoming days I'll do another round of reviews.

Updated documentation if necessary
(Not sure how to update the docs properly)

@mustiikhalil please update the Availability DocC comment to properly document this change.

I'll look at it during the weekend.

@d-ronnqvist what can I do to make this PR move forward?

@d-ronnqvist what can I do to make this PR move forward?

Sorry for the very, very long delay.
In the Documentation Workgroup meeting on June 3, one of the topics that we discussed was how "*" availability should be displayed on the page to better reflect that a large number of packages work on Linux and Windows and anywhere else where Swift is supported. We didn't come to any specific conclusions about how it should be displayed but decided that it should be pitched on the Swift Forums where the broader community can be part of the conversation.
The goal is to discuss and hopefully implement those changes in the 6.0 timeframe but it may still take a few weeks before everyone agrees on how it should be displayed and how it should behave.
If you don't want to wait for that discussion to happen, it may be good to separate the any platform changes and limit this PR to the new support for the "deprecated" argument to the @Available directive.

Sorry for the very, very long delay.

No worries

If you don't want to wait for that discussion to happen, it may be good to separate the any platform changes and limit this PR to the new support for the "deprecated" argument to the @Available directive.

If that's the case let's keep this PR tiny, as in adding support for deprecated. And create an issue for the "any" which I would be happy to work on when the Specs for it are ready.
I will simply revert the changes when parsing the "*" operator in the platforms enum. And revert a couple of the tests, comments that removed the mention of .any/*
What do you think?

That sounds like a good plan

@d-ronnqvist Super sorry for the late update, but this should be good now. Only added a simple parameter and reverted all the instances where I removed the wild card "*" comments.

@swift-ci please test


Javadoc hosting on GitHub pages?

You can have a GitHub Action build the docs and automatically deploy to a site branch (or any branch name) which is enabled for GitHub Pages.
We use https://github.com/JamesIves/github-pages-deploy-action for this on a few projects.

Thanks for the information! Currently, we only have the one README.md file, which IMO seems enough for now. Is there something concretely you are missing that a site branch would give you?

The README says something along the lines of "See the Javadoc of @TestParameter..." about the supported types. When I shared the tool I linked to the README section but someone had asked about the canonical set of supported types and I had to link the source of the documentation rather than the rendered documentation.
I agree it's not absolutely necessary, but with GitHub Actions it's quite trivial to set up. I can even send a PR if you want!

Oh I see, so you're talking about a parsed Javadoc page. I guess that would indeed make sense.

I can even send a PR if you want!

That would be greatly appreciated!


Run CI with and without dep

As discussed offline with @marstr , go get might cause problems with dependencies. So CI should run with and without dep. A cronjob would be healthy.

Chatting during triage, we agree that this is adding alerting for a problem we've never had trouble getting visibility into.


Clean up if an exception is thrown in the middle of ServerFactory.Start

#102

:shipit:

:shipit:


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/117277

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/121902


Add tags to circuit creation events, same as we have for usage

Specifically we're missing identityId in the circuit event.

Duplicate of #684


Unit Test -- Metadata getCommandsByName use Operator Pattern

Fix: https://github.com/edgexfoundry/edgex-go/issues/1525
Signed-off-by: difince<EMAIL_ADDRESS>

Codecov Report

Merging #1566 into master will increase coverage by 0.18%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1566      +/-   ##
==========================================
+ Coverage   24.38%   24.56%   +0.18%
==========================================
  Files         104      104
  Lines        9638     9640       +2
==========================================
+ Hits         2350     2368      +18
+ Misses       7109     7093      -16
  Partials      179      179

Impacted Files
Coverage Δ

internal/core/metadata/rest_command.go
100% <100%> (+25.39%)
:arrow_up:

internal/core/metadata/operators/command/get.go
100% <100%> (ø)
:arrow_up:

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 eae5dab...4fc14b0. Read the comment docs.


Print Preview: Radio button and Check box display issue

Expected behaviour
On the print preview the selected Check boxes and Radio fields must be displayed clearly.
Actual behaviour
Check boxes and Radio fields are not displayed as expected in Google chrome. (PFA)
###Note: In IE the print preview works as expected for both checkboxes and radio fields.
Steps to reproduce the behaviour
Technical information
Browser
Google Chrome
Operating System
Screenshot

@yoganandkunche I can't recreate this in chrome.


serde: fix overflow on i64::MIN

When decoding the minimum value of i64 (-9223372036854775808), there
is an overflow error. With this fix it can be deserialized correctly.
The reason for the failure was the order of the operations. Prior to
this change the decoding had these steps:

Decode the bytes into a u64 =><PHONE_NUMBER>854775807
Add 1 =><PHONE_NUMBER>854775808
Cast to i64 => error as i64::MAX is<PHONE_NUMBER>854775807.
Negate the number

The new steps are:

Decode the bytes into a u64 =><PHONE_NUMBER>854775807
Cast to i64 =><PHONE_NUMBER>854775807
Negate the number => -9223372036854775807
Subtract 1 => -9223372036854775808

Thank you!


redis.conf under /etc/redis.conf

Hey,
is there a reason why the redis conf for RedHat systems is placed under:
/etc/redis.conf
instead of
/etc/redis/redis.conf?
For me it seems a little messy lying in this folder.
Thank you and kind regards,
Tobias

the redis.conf file in RedHat is /etc/redis.conf in the provided RPM:
%config(noreplace) %attr(0644, root, root) "/etc/logrotate.d/redis"
%config(noreplace) %attr(0644, redis, root) "/etc/redis-sentinel.conf"
%config(noreplace) %attr(0644, redis, root) "/etc/redis.conf"
If you wish to change it,
Changing the default param would be an breaking change to the module.
If you wish to provide a different path, you would just call the class with a different path:
class { 'redis':
config_file => '/etc/redis/redis.conf',
}
As far as I can see from the module and reading the redis docs, there's no need for a config dir at all unless you're moving it from it's default location at /etc/redis.conf
See also via https://github.com/arioch/puppet-redis/pull/82


Syntax Error when using asm-lsp with Neovim, Mason, NASM, and x86/x86_64

Hello,
I’ve installed asm-lsp via Mason in Neovim and I’m trying to use it with NASM and target x86/x86-64 architecture. However, I keep getting a syntax error message on the first line of my assembly file.
My project has a .git folder at the root, and I’ve configured the LSP to use NASM and the x86/x86-64 architecture. Despite this, I continuously encounter a syntax error in the first line.
I would appreciate any help or guidance to resolve this issue.
Thank you!

By default, asm-lsp tries to provide diagnostics by invoking gcc and/or clang on your source file (without any additional arguments). You can fix these erroneous diagnostics by providing build instructions for the server via a compile_commands.json/compile_flags.txt file in your project's root (or root build directory), or via .asm-lsp.toml if you're working with a build off of the master branch (run asm-lsp gen-config from the command line). If you're having any issues setting this up, please don't hesitate to open a discussion! :)


h2spec tests

For reliability and correctness tide-rs should add h2spec to testing
https://github.com/summerwind/h2spec

Thanks for suggesting @rustrust. h2spec is a really cool piece of technology, but Tide probably isn't the right layer to test this at. Tide uses a pluggable backends, of which some are only http/1.1. As such we can't guarantee it'll pass h2spec. Instead the various backends should best tested to correctly implement the protocol, and Tide can then rely on them being correct.
Hope this makes sense!


Error message from Redis: ERR invalid command channel: [id: 0x33948139, L:/<IP_ADDRESS>:40080 - R:/<IP_ADDRESS>:6379]

i user redisson version is 3.13.2
Error message from Redis: ERR invalid command channel: [id: 0x33948139, L:/<IP_ADDRESS>:40080 - R:/<IP_ADDRESS>:6379]
What does this mean, please?

it means some commands aren't supported by your Redis version.


increase cpu/ram specs for ocp nodes in va-hci scenario

Trying to deploy the hci scenario, during the control-plane deployment, some pods were in "pending" status due to lack of resources so this PR should address that issue.
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running

/retest

/approve
fun - the devscripts_override had 16G, pretty sure of that.

/lgtm

@rebtoor should we also proactively bump the BGP scenario as well?
❯ grep -lr 'cifmw_libvirt_manager_configuration' ./scenarios | xargs yq '.cifmw_libvirt_manager_configuration.vms.ocp.memory'
32
---
32
---
16 <----
---
32
---
null
---
32


Providing config name from inside each Configuration implementation

Currently, we're using each configuration's implementation class name as config ID, it works well until R8 gets involved. In principle R8 shouldn't cause issues in this regard since the classes names are unique even after obfuscation, however, if those classes names aren't explicitly requested anywhere in the app's code, then there's a risk that R8 would reuse names across multiple classes (it seems like an R8 bug though) and when a configuration's name is already registered, if a new config wants to get registered with the same name, an exception will be thrown.
I noticed it because I was getting this exception, plus I noticed that there were some missing config types in the R8's map file, until I decided to print a log with each config class name that was being registered and then rebuilt the project. After the rebuild, no crashes happened again, and out of a sudden, all the missing classes appeared in R8's map file, all because I printed the config class names on logs.

After using the config the issue goes away


Created Codeql Analysis File

PR into Azure/mlops-v2
Checklist
I have:

[ ] read and followed the contributing guidelines

Changes

fixes #

Reviewed the CodeQL run and config. Working well. Merging into the main branch