Update Json.NET version

Json.NET 8.0.4-beta1 targets .NETStandard 1.0, no more imports required.
#4711

I'll release a stable version that supports netstandard when .NET Core is stable so you'll be waiting a while.

@henkmollema thanks for the PR. Unfortunately, updating to Json.NET is much more complex than this: we have to update dozens of repos, plus coordinate releases with @JamesNK .

Yeah I understand. No worries :smile:

@henkmollema thanks 😄


Make checkbox styling consistent

This is for checkboxes output with the use of 'as: :check_boxes'

thanks ! 👍


Add support for transferring ownership of a FYRE cluster to another product group

This pull request contains the following changes:

Add support for transferring ownership of a FYRE cluster to another product group (see Slack announcement)

The code checks if both options are not specified (is None and […] is None).

The code checks if both options are not specified (is None and […] is None).

true. thanks


xml.etree.ElementTree.ParseError in GET /b/large/8GVCYPLL.png

Error in ClashLeaders
xml.etree.ElementTree.ParseError in GET /b/large/8GVCYPLL.png
not well-formed (invalid token): line 32, column 13
View on Bugsnag
Stacktrace
clashleaders/views/badge.py:31 - clan_badge_png

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
xml.etree.ElementTree.ParseError in GET /b/large/8GVCYPLL.png


"Grace trajectories" and a vertical/diagonal 0 trajectory

Be able to have grace notes that begin or end a move up or down the scale within a phrase that falls between "pitches." Like the vibrato, but with trajectories 1, 2, 3.
Also, consider making trajectory 0 apply for vertical and diagonal movements as well. We can do so if linked to trajectory 6, but sometimes one just needs a single line.

plan:

add a new attribute to class Pitch called logOffset, which defaults to 0. pitch.frequency will be changed to a getter function that takes logOffset into account, so that when Trajectory tries to assign freqs and logFreqs from its pitches array, it takes the offset value.
add a context menu to right-clicks that occur on a dragDot. This will only be available when an individual trajectory is selected (i.e. not in a group or when multiple trajs are selected). The context menu will have an option for "vertical offset". Selecting this option will a) get rid of the context menu, b) change the color of the drag dot, c) allow you to drag the dot vertically (but not horizontally), with limits of the above and below sargam lines.
As you drag, a shadow trajectory will show what the new one will look like. Upon finishing the drag, a new trajectory will be inserted.

I think this has all been implemented, so closing with pull request. Reopen if I missed something.


pull request for e2e test at 11/11/2016 22:56:10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


🐛 [firebase_crashlytics] Crashlytics could not find the resource file generated by Google Services. You may need to execute the :processGoogleServices Task.

Bug report
Describe the bug
I could not build my app after added firebase_crashlytics plugin.
Steps to reproduce
Steps to reproduce the behavior:
Install firebase_crashlytics plugin
4. See error or incorrect behavior
Expected behavior
Run the app and report crashes

Additional context
I found that the missing file is generated under \android\app\build\generated\res\google-services but not copied to \build\app\generated

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.5, on Microsoft Windows [Version 10.0.18363.1316], locale en-US)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Android Studio (version 4.0)
[√] Connected device (1 available)

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.10.4
Flutter SDK 1.22.5
chairwatch_flutter 2.1.0+35

dependencies:
- advance_pdf_viewer 1.2.1+1 [flutter flutter_cache_manager numberpicker path_provider]
- animations 1.1.2 [flutter]
- assets_audio_player 2.0.13+1 [flutter rxdart uuid http path_provider assets_audio_player_web]
- assorted_layout_widgets 2.0.1 [matrix4_transform flutter]
- awesome_card 1.1.0 [flutter]
- bloc 6.1.1 [meta]
- cached_network_image 2.4.1 [flutter flutter_cache_manager octo_image]
- carousel_slider 2.3.1 [flutter]
- charts_flutter 0.9.0 [charts_common collection flutter intl logging meta]
- connectivity 0.4.9+5 [flutter meta connectivity_platform_interface connectivity_macos connectivity_for_web]
- crypto 2.1.5 [collection convert typed_data]
- cupertino_icons 0.1.3
- datetime_picker_formfield 1.0.0 [flutter intl]
- device_calendar 3.2.0 [flutter meta collection sprintf]
- device_info 0.4.2+10 [flutter device_info_platform_interface]
- dio 3.0.10 [http_parser path]
- dio_http_cache 0.2.11 [flutter quiver json_serializable json_annotation dio sqflite path crypto]
- equatable 1.2.5 [collection meta]
- esys_flutter_share 1.0.2 [flutter path_provider]
- firebase_analytics 6.3.0 [meta flutter firebase_core firebase_analytics_web firebase_analytics_platform_interface]
- firebase_auth 0.18.4+1 [meta firebase_core firebase_core_platform_interface firebase_auth_platform_interface firebase_auth_web flutter]
- firebase_core 0.5.3 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_crashlytics 0.2.4 [flutter stack_trace firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface]
- firebase_dynamic_links 0.6.3 [flutter firebase_core]
- firebase_messaging 8.0.0-dev.11 [meta flutter firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_bloc 6.1.1 [flutter bloc provider]
- flutter_calendar_carousel 1.5.2 [intl flutter]
- flutter_credit_card 0.1.3 [flutter]
- flutter_cupertino_localizations 1.0.1 [flutter flutter_localizations]
- flutter_facebook_auth 0.2.4 [flutter http meta]
- flutter_inappwebview 4.0.0+4 [flutter uuid mime]
- flutter_linkify 4.0.2 [flutter linkify]
- flutter_local_notifications 1.5.0+1 [flutter platform flutter_local_notifications_platform_interface]
- flutter_localizations 0.0.0 [flutter intl characters collection meta path typed_data vector_math]
- flutter_native_timezone 1.0.4 [flutter]
- flutter_secure_storage 3.3.5 [meta flutter]
- flutter_slidable 0.5.7 [flutter]
- flutter_staggered_grid_view 0.3.2 [flutter]
- flutter_typeahead 1.9.1 [flutter flutter_keyboard_visibility]
- fluttertoast 7.1.6 [flutter flutter_web_plugins]
- font_awesome_flutter 8.11.0 [flutter]
- gallery_saver 2.0.1 [flutter path_provider http path]
- geocoding 1.0.5 [flutter geocoding_platform_interface url_launcher]
- geolocator 6.1.13 [flutter geolocator_platform_interface]
- get 3.23.1 [flutter]
- get_it 4.0.4 [async meta]
- google_maps_flutter 1.1.1 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface]
- google_sign_in 4.5.6 [google_sign_in_platform_interface flutter meta google_sign_in_web]
- grec_minimal 0.0.3
- image_cropper 1.3.1 [flutter]
- image_picker 0.6.7+17 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- intl 0.16.1 [path]
- lat_lng_to_timezone 0.1.2
- location 3.1.0 [flutter meta location_platform_interface location_web]
- logger 0.9.4
- meta 1.3.0-nullsafety.3
- multi_select_flutter 3.1.6 [flutter]
- package_info 0.4.3+2 [flutter]
- paparazzi 0.0.1 [flutter]
- path_provider 1.6.24 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- percent_indicator 2.1.8 [flutter]
- permission_handler 5.0.1+1 [flutter meta permission_handler_platform_interface]
- photo_view 0.10.3 [flutter]
- qr_code_scanner 0.0.12 [flutter]
- qr_flutter 3.2.0 [flutter qr]
- reorderables 0.3.2 [flutter]
- rrule 0.1.2 [basics collection meta pedantic time_machine]
- rxdart 0.24.1
- share_extend 1.1.9 [meta flutter]
- shimmer 1.1.2 [flutter]
- sign_in_with_apple 2.5.4 [meta flutter]
- simple_animations 2.4.2 [flutter supercharged sa_v1_migration pedantic]
- sliding_panel 1.3.2 [flutter collection]
- sliding_up_panel 1.0.2 [flutter]
- smooth_star_rating 1.1.1 [flutter]
- stripe_sdk 3.2.0 [flutter http url_launcher mask_text_input_formatter flutter_slidable simple_animations supercharged awesome_card uni_links]
- supercharged 1.12.0 [supercharged_dart flutter]
- syncfusion_flutter_calendar 18.4.30 [flutter timezone syncfusion_flutter_core syncfusion_flutter_datepicker intl]
- syncfusion_flutter_charts 18.4.30 [flutter intl vector_math syncfusion_flutter_core]
- syncfusion_flutter_datepicker 18.4.30-beta [flutter intl syncfusion_flutter_core]
- time_machine 0.9.13 [meta collection resource]
- timezone 0.5.9 [path]
- tutorial_coach_mark 0.5.1 [flutter]
- uni_links 0.4.0 [flutter]
- url_launcher 5.7.10 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows]
- youtube_player_flutter 7.0.0+7 [flutter flutter_inappwebview]
- zefyr 0.12.0 [flutter collection url_launcher quill_delta notus meta quiver_hashcode]

dev dependencies:
- build_runner 1.10.11 [args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style glob graphs http_multi_server io js logging meta mime path pedantic pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_launcher_icons 0.8.1 [image args yaml path]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- _fe_analyzer_shared 14.0.0 [meta]
- analyzer 0.41.1 [_fe_analyzer_shared args cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 2.0.13 [crypto args path]
- args 1.6.0
- assets_audio_player_web 2.0.13+1 [flutter flutter_web_plugins]
- async 2.5.0-nullsafety.1 [collection]
- basics 0.4.0+1 [quiver]
- boolean_selector 2.1.0-nullsafety.1 [source_span string_scanner]
- build 1.6.0 [analyzer async convert crypto logging meta path glob]
- build_config 0.4.5 [checked_yaml json_annotation meta path pubspec_parse yaml]
- build_daemon 2.1.4 [built_collection built_value http_multi_server logging pedantic path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 1.5.1 [analyzer build crypto graphs logging meta path package_config pool pub_semver]
- build_runner_core 6.1.5 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pedantic pool timing watcher yaml]
- built_collection 4.3.2 [collection quiver]
- built_value 7.1.0 [built_collection collection fixnum quiver]
- characters 1.1.0-nullsafety.3
- charcode 1.2.0-nullsafety.1
- charts_common 0.9.0 [collection intl logging meta vector_math]
- checked_yaml 1.0.4 [json_annotation source_span yaml]
- cli_util 0.2.0 [path]
- clock 1.1.0-nullsafety.1
- code_builder 3.5.0 [built_collection built_value collection matcher meta]
- collection 1.15.0-nullsafety.3
- connectivity_for_web 0.3.1+4 [connectivity_platform_interface flutter_web_plugins flutter]
- connectivity_macos 0.1.0+7 [flutter]
- connectivity_platform_interface 1.0.6 [flutter meta plugin_platform_interface]
- convert 2.1.1 [charcode typed_data]
- dart_style 1.3.10 [analyzer args path source_span]
- device_info_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- fake_async 1.2.0-nullsafety.1 [clock collection]
- ffi 0.1.3
- file 5.2.1 [intl meta path]
- firebase 7.3.3 [http http_parser js]
- firebase_analytics_platform_interface 1.0.3 [flutter meta]
- firebase_analytics_web 0.1.1 [flutter flutter_web_plugins firebase firebase_analytics_platform_interface meta]
- firebase_auth_platform_interface 2.1.4 [flutter meta firebase_core plugin_platform_interface]
- firebase_auth_web 0.3.2+3 [flutter flutter_web_plugins meta http_parser intl firebase_core firebase_core_web firebase_auth_platform_interface js]
- firebase_core_platform_interface 2.1.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.1+1 [firebase_core_platform_interface flutter flutter_web_plugins meta js]
- firebase_crashlytics_platform_interface 1.1.4 [flutter meta collection firebase_core plugin_platform_interface]
- firebase_messaging_platform_interface 1.0.0-dev.7 [flutter meta firebase_core plugin_platform_interface]
- firebase_messaging_web 0.1.0-dev.2 [flutter flutter_web_plugins meta firebase_core firebase_core_web firebase_messaging_platform_interface js service_worker]
- fixnum 0.10.11
- flutter_blurhash 0.5.0 [flutter meta]
- flutter_cache_manager 2.0.0 [flutter path_provider uuid http path sqflite pedantic clock file rxdart]
- flutter_keyboard_visibility 4.0.2 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_web flutter]
- flutter_keyboard_visibility_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 1.0.1 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_local_notifications_platform_interface 1.0.1 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 1.0.11 [flutter]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- geocoding_platform_interface 1.0.1+1 [flutter meta plugin_platform_interface]
- geolocator_platform_interface 1.0.8 [flutter meta plugin_platform_interface vector_math]
- glob 1.2.0 [async collection node_io path pedantic string_scanner]
- google_maps_flutter_platform_interface 1.1.0 [flutter meta plugin_platform_interface stream_transform collection]
- google_sign_in_platform_interface 1.1.2 [flutter meta quiver]
- google_sign_in_web 0.9.2 [google_sign_in_platform_interface flutter flutter_web_plugins meta js]
- graphs 0.2.0
- http 0.12.2 [http_parser path pedantic]
- http_multi_server 2.2.0 [async]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- image 2.1.19 [archive xml meta]
- image_picker_platform_interface 1.1.1 [flutter meta http plugin_platform_interface]
- infinite_listview 1.0.1+1 [flutter]
- io 0.3.4 [charcode meta path string_scanner]
- js 0.6.2
- json_annotation 3.1.1
- json_serializable 3.5.1 [analyzer build build_config json_annotation meta path source_gen]
- linkify 3.0.0
- location_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- location_web 1.0.0 [flutter flutter_web_plugins location_platform_interface http_parser meta js]
- logging 0.11.4
- mask_text_input_formatter 1.1.0 [flutter]
- matcher 0.12.10-nullsafety.1 [stack_trace]
- matrix4_transform 1.1.6 [flutter]
- mime 0.9.7
- nested 0.0.4 [flutter]
- node_interop 1.2.1 [js]
- node_io 1.2.0 [file node_interop path]
- notus 0.1.5 [collection meta quill_delta quiver_hashcode]
- numberpicker 1.3.0 [flutter infinite_listview]
- octo_image 0.3.0 [flutter flutter_blurhash]
- package_config 1.9.3 [path charcode]
- path 1.8.0-nullsafety.1
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+6 [flutter]
- path_provider_platform_interface 1.0.4 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+3 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.9.2 [meta]
- permission_handler_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- petitparser 3.1.0 [meta]
- platform 2.2.1
- plugin_platform_interface 1.0.3 [meta]
- pool 1.4.0 [async stack_trace]
- process 3.0.13 [file intl meta path platform]
- provider 4.3.2+3 [collection flutter nested]
- pub_semver 1.4.4 [collection]
- pubspec_parse 0.1.7 [checked_yaml json_annotation pub_semver yaml]
- qr 1.3.0 [meta]
- quill_delta 1.1.3 [collection quiver_hashcode]
- quiver 2.1.5 [matcher meta]
- quiver_hashcode 2.0.0
- resource 2.1.7 [typed_data]
- sa_v1_migration 1.1.2 [flutter]
- service_worker 0.2.4 [js]
- shelf 0.7.9 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 0.2.3 [shelf web_socket_channel stream_channel]
- sky_engine 0.0.99
- source_gen 0.9.10+1 [analyzer async build dart_style glob meta path pedantic source_span]
- source_span 1.8.0-nullsafety.2 [charcode collection path term_glyph]
- sprintf 4.1.0
- sqflite 1.3.1+2 [flutter sqflite_common path]
- sqflite_common 1.0.2+1 [synchronized path meta]
- stack_trace 1.10.0-nullsafety.1 [path]
- stream_channel 2.1.0-nullsafety.1 [async]
- stream_transform 1.2.0
- string_scanner 1.1.0-nullsafety.1 [charcode source_span]
- supercharged_dart 1.4.0
- syncfusion_flutter_core 18.4.30 [flutter pedantic]
- synchronized 2.2.0+2
- term_glyph 1.2.0-nullsafety.1
- test_api 0.2.19-nullsafety.2 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 0.1.1+3 [json_annotation]
- typed_data 1.3.0-nullsafety.3 [collection]
- url_launcher_linux 0.0.1+4 [flutter]
- url_launcher_macos 0.0.1+9 [flutter]
- url_launcher_platform_interface 1.0.9 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.5+1 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- url_launcher_windows 0.0.1+3 [flutter]
- uuid 2.2.2 [crypto convert]
- vector_math 2.1.0-nullsafety.3
- watcher 0.9.7+15 [async path pedantic]
- web_socket_channel 1.1.0 [async crypto stream_channel]
- win32 1.7.4 [ffi]
- xdg_directories 0.1.2 [meta path process]
- xml 4.5.1 [collection convert meta petitparser]
- yaml 2.2.1 [charcode collection string_scanner source_span]

Hi @loicgeek
Could you provide the full error logs?
Thank you

@markusaksli-nc  here is it:

* What went wrong:
Execution failed for task ':app:uploadCrashlyticsMappingFileDevDebug'.
> Crashlytics could not find the resource file generated by Google Services. You may need to execute the :process<Variant>GoogleServices Task. Please check your Firebase project configuration (https://firebase.google.com/docs/android/setup).

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

I moved to /android, I ran gradlew :process<Variant>GoogleServices with all flavor+mode of my app, Nothing changed.

Can you run
android/gradlew :app:processProdReleaseGoogleServices

Or
android/gradlew :app:processDevReleaseGoogleServices

@markusaksli-nc i ran that , but the problem still persist

@markusaksli-nc As i said early it generated files in android build folder but not in flutter build folder, and then crashlytics cannot found these files

What gradle version are you using in android/build.gradle
and what distributionUrl in android\gradle\wrapper\gradle-wrapper.properties

android/build.gradle :   classpath 'com.android.tools.build:gradle:3.5.4'
distributionUrl : distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
@markusaksli-nc  sorry for the late reply

Not sure what could be causing this

I still cannot configure Crashlytics in my App

same issue ```
Execution failed for task ':app:uploadCrashlyticsMappingFileDevDebug'.

Crashlytics could not find the resource file generated by Google Services. You may need to execute the :processGoogleServices Task. Please check your Firebase project configuration (https://firebase.google.com/docs/android/setup).

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Have you tried using firebase_crashlytics: ^1.0.0?

I cannot, firebase_crashlytics: ^1.0.0 migrated to  null-safety.


Create 'Settings' Page for Improved User Experience

This pull request (PR) introduces a 'Settings' page in the navigation sidebar, consolidating account-related options for enhanced user convenience. Simplifying navigation, this change ensures users can easily find and manage their preferences and account settings, improving overall usability.

Thank you for bringing this to my attention. I believe I have successfully resolved the whitespace issues with the last two commits. Please don't hesitate to inform me if you come across any other issues or concerns 😃


⚠ ClamAV has degraded performance

In c47b5c8, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 89 ms

Resolved: ClamAV performance has improved in bbb4301.


Make the rule: path for add_route should start with slash

I believe paths not started with slash are invalid in our system.
Let's force the rule on making route stage.

+1


Android app version 1.5 crashing after clicking on edit button (to enter current resin counter)

Hey, not sure if I can help, but just tried the v1.5, the app crashes after trying to edit the current amount of resin.

I find that issue. I fix that issue by change android components on 1.5.1. Update version will publish via Google Play Store soon.

I find that issue. I fix that issue by change android components on 1.5.1. Update version will publish via Google Play Store soon.


Multiple sensors and switches in group

Home Assistant release (hass --version):
0.15.0
Python release (python3 --version):
3.4.2
Component/platform:
Raspberry Pi B & Arduino Uno running Standard Firmata connected via USB port on raspberry Pi
Description of problem:
As soon as I add the Switches to control the digital pins on the Arduino Uno the Raspberry Pi Switches disappear from the HA dashboard
Expected:
I expected to see both the switches to control the Raspberry Pi GPIO pins as well as the switches to control the Arduino pins.
Problem-relevant configuration.yaml entries and steps to reproduce:
# Raspberry Pi Switches To Control GPIO Pins
switch:
  platform: rpi_gpio
  ports:
    2: Braai LED
    3: Relay 2
    4: Relay 3
    7: Relay 4
    8: Relay 5
    9: Relay 6
    10: Relay 7
#11: Relay 8
#17: DHT11 Sensor
#18: GPIO 18
#22: GPIO 22
#23: GPIO 23
#24: GPIO 24
#25: GPIO 25
#26: GPIO 26
#27: GPIO 27
  invert_logic: false

# Raspberry Pi Connected Sensors
# binary_sensor:
#   platform: rpi_gpio
# ports:
#17: DHT11
#18: Soil Moisture Sensor
#22: Light Sensor
#23: Sensor 4
#24: Sensor 5
#25: Sensor 6
#26: Sensor 7
#27: Sensor 8
# pull_mode: "UP"
# bouncetime: 50
# invert_logic: false

# Connecting to Arduino Uno
arduino:
  port: /dev/ttyACM0

# Arduino Uno Sensors A0-A5
sensor:
  platform: arduino
  pins:
    3:
      name: LDR
      type: analog
    2:
      name: Moisture Sensor
      tupe: analog
    1:
      name: DHT11
      type: analog
    0:
      name: Not Used
      type: analog

# Arduino Uno Swithes
switch:
  platform: arduino
  pins:
    11:
      name: Relay 1
      type: digital
    12:
      name: Realy 2
      type: digital
    13:
      name: Relay 3

Would like to Keep Raspberry Pi Switches and Sensors on HA Dashboard
Would Like to Add Arduino Uno Switches and Sensors to HA Dashboard
In ideal World I would like to have 2 Groups at the top of page with the relevant Switces, Sensors inside them.(Like in the Demo they have ROOMS(Replace with word Devices) and Living Room(Replace with word Raspberry Pi) & Bedroom (Replace with word Arduino)

Group 1: HOME (Displaying All other Data)(Think this will be there already by default)
Group 2: Devices: Raspberry Pi (Displaying Switches / Sensors at the top of page)
Arduino (Displaying Switches / Sensors at top of page)
Kind regards,
Riaan Deyzel

Each entry in your config needs to be unique. So rename your second switch to switch 2:

Is there a way to update the arduino sensors more frequently? Mine are updating every 30 sec, but that is like slow af for a button input.


SyncList dont use Header attribute

Describe the bug
Headers arn't drawn when they are used on Synclists
Screenshots

Additional context
Synclists are drawn using the custom editor for Networkbehaviour, this will need to add header if a synclist has the attribute.
The same issue might apply to SpaceAttribute too

I don't think it's unique to SyncList. I'm pretty sure it does that for all Mirage woven types


Broken exchange for Electricity, natural gas, at power plant

Appears to be caused by a units mismatch, e.g.:

While the version on the commons shows MJ for that specific flow:

Processes effected:

Data set
UUID

Electricity, Western US, 2014 - US
7d66e309-5774-4aea-88ce-56868c6f54a7

Electricity, bauxite mining regions - GLO
6023a2bf-2d42-348b-bee7-caae15319edb

Electricity, alumina refining regions -   RNA
a6260670-e98e-3917-98bd-c14acb79fdf7

Electricity, aluminum smelting and ingot   casting regions - RNA
4d21df14-9a73-31ce-9a5f-dee0cd2a2aed

Electricity, at Grid, US, 2010 - RNA
89389d98-1ba6-30c5-9c33-92443694936b

Electricity, at grid, CN, 2018 - CN
ab7f18b8-9e1b-4efc-a690-5d9ffe6e0cc1

Electricity, Eastern US, 2014 - US
e5856077-a966-4692-9d10-e747237d4fa6

Wood Combusted, at boiler, at cellulosic   fiberboard mill - RNA
106bcee8-0d5f-30c6-ac98-fa6dab41d4d1

Electricity, at cogen, for natural gas   turbine - PY
e6586e69-95a4-3396-a934-f379fbdd28f4

Cellulosic fiberboard, uncoated, at plant   - RNA
cced9535-72f6-3b3a-b3c0-ce21b98eea2b

Hardboard, at hardboard plant - RNA
ca1d1dfa-fd3c-35f1-bea7-a037251deb04

Replacing the broken exchange seems to resolve the issue and the validation errors go away.

Fixed in CS commit e278b59e9af0940b791064d4c7a7fc8982b87836.
Except for Electricity, at cogen, for natural gas turbine - PY for which units need to be confirmed.

@pweilerERG could you take a look at this cogen process:

I'm not sure the history of it, but currently the units are wrong. By my read I think the value should be 2 kWh (3.6 MJ), but I also wanted to confirm that this should be an input of electricity and not the NG itself. I didn't fix the broken exchange for this process yet.

Need to investigate what is causing the mismatch in units and broken exchanges... why are these popping up after weeks/months on the collab server but not during release QA/QC?

Corrected this, the input flow and units were incorrect. Should have been 0.1875 m3 nat gas, combusted in industrial boiler


fix documentation links

The current link, https://www.jorel.dev/CommandAPI/, gives a 404. Not sure if the link is outdated, server serving your website is down, etc...
Either way, I changed the 2 links to point towards the latest documentation.

Thank you! We're going through a gradual domain transfer over the coming months, and recently moved the CommandAPI over to it's own organization.


Fix typo in test_wamr.sh

I will close this PR if it is done on purpose.
Another question: can I split "jit" test type to "eager_jit" and "lazy_jit" so that the ci is more consistent (e.g. one test type would always mean that test bundle will run once. It's already true right now with jit being the only exception)

I will close this PR if it is done on purpose.
Another question: can I split "jit" test type to "eager_jit" and "lazy_jit" so that the ci is more consistent (e.g. one test type would always mean that test bundle will run once. It's already true right now with jit being the only exception)

@Zzzabiyaka Thanks for fixing, it is really an issue! For the new jit options, how about adding "llvm-lazy-jit" and "llvm-eager-jit" options to make it more clear? Using "-" other than "_" is because we already have "fast-interp"/"classic-interp"/"fast-jit".
And had better just keep current "jit" option which tests both "llvm-lazy-jit" and "llvm-eager-jit", as it is used in some other scripts and it is also an shortcut to test two llvm jit modes.

Hi, ok, shouldn't be a problem.
I will just set a different (2x more) timeout for jit in the ci


[Bug] GET after /merge returns large value

Steps to reproduce:

Add a lot of values to the same key (e.g. 10000x hello=world)
GET /merge (should reduce the size massively)
GET the key you wrote to before, observe it be orders of magnitude larger than it should be

I suspect this may be to do with an invalid keydir after merge.


please provide projectid when running web3Modal (react-native-example)

{
"name": "web3modal",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"android:build": "cd android && ./gradlew assembleRelease",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@react-native-async-storage/async-storage": "^1.17.11",
"@react-native-clipboard/clipboard": "^1.11.2",
"@walletconnect/encoding": "1.0.2",
"@web3modal/react-native": "1.0.0-alpha.3",
"react": "18.2.0",
"react-native": "0.71.2",
"react-native-get-random-values": "^1.8.0",
"react-native-modal": "^13.0.1",
"react-native-svg": "^13.8.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native-community/eslint-config": "^3.2.0",
"@tsconfig/react-native": "^2.0.2",
"@types/jest": "^29.2.1",
"@types/react": "^18.0.24",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.2.1",
"eslint": "^8.19.0",
"jest": "^29.2.1",
"metro-react-native-babel-preset": "0.73.7",
"prettier": "^2.4.1",
"react-native-dotenv": "^3.4.7",
"react-test-renderer": "18.2.0",
"typescript": "4.8.4"
},
"jest": {
"preset": "react-native"
}
}
this is package.json just same as example
I also copy .env.local to .env also filled in projectid.

my .env is
ENV_PROJECT_ID=example51975afbf653b5facc9aexxxx
ENV_RELAY_URL=wss://relay.walletconnect.com


Legacy Browsers Accommodation

String templates (back tic quote for variable expansion):
Services / Wake on LAN:
net/wol/src/opnsense/mvc/app/views/OPNsense/Wol/index.volt

@fichtner can we close it as core is not ie compatible anymore too?

Sure, ok


[2pt] Implement methods - Group Task

Implement methods:
[x] can_be_archived?() in the Item class

Should return true if published_date is older than 10 years
otherwise, it should return false

[x] move_to_archive() in the Item class

should reuse can_be_archived?() method
should change the archived property to true if the result of the can_be_archived?() method is true
should do nothing if the result of the can_be_archived?() method is false

Done


Attach to a DB

I want to user GraphQL in a raspberry pi, for that reason want to install full databases like Mongo or MySQL, I have been using a mini Database like MongoDB named NeDB, it works great because use the same syntax as Mongo, but I don't know how to add it GraphQL.
is it hard to do it? I read the code and it get the info from an array in memory, but i would need it get the data from async callbacks so I don't know how to do that.
is there any other basic mongo-like database that I can attach a GraphQL server?

Here are some example projects that show how to create graphql resolvers & connectors for mongodb. Note: it seems kind of redundant to use mongoose to define the schema of the db data model when this is perhaps already defined by your application's graphql schema. Nonetheless the examples should get you up and running quickly.

mongodb + mongoose graphql server example https://github.com/RisingStack/graphql-server
cavdeofcode express + mongoose + graphql https://caveofcode.com/2016/11/the-connector-and-model-layer-in-your-graphql-apollo-server/amp/#


Change the color of the close cross on hover

Not possible, see: https://github.com/microsoft/vscode/issues/52862


Building custom maps

Thank you for sharing the code! I have managed to install it successfully and run the tutorials from the tutorials branch (although some parts looked odd, but that might just be me). However, there is no reference to live feed processing yet and building custom maps and so on, please correct me if I am wrong. It would make sense for that to be in a separate package, I am just wondering if that's in the works, or should I try to add it in myself for testing purposes?

Hi,
By building custom maps, do you mean using your own rgbd data? If so, that would be supported right now (although you'll need to set up your own dataloader... unless your data is in TUM format, in which case you can use the TUM loader).
As for live feed processing, we did have plans of supporting ros bags and subsccribing to ros topics, but we haven't implemented it yet. We are very interested if you want to implement that into gradslam. We are writing up the contribution guidelines right now.

@saryazdi I mean the ROS integration, I just wasn't sure whether it would be full-on ROS, ROS2 or just an interface kinda like: provide me with a stamped rgbd image, I will give you a position, so that it can later be integrated with any other data provider.
I am, unfortunately, not a free agent, but I will see if I can make time to make a PR that implements this

Closing due to inactivity


Specify SEO blurb separately from content

Add a front matter variable that will display as the SEO blurb without being displayed on the website page.
If not supplied default to subtitle as current implementation

Add a variable called seo-description with your content in the front matter to get this.


Install?

Hi,
how can I install and run this?
Also, it would be good to know if there are any known bugs/issues .
Thanks for your reply, regards

Hey @zilveer, sorry for the delay! It's been awhile since I messed with this but I think it just works, it was Angular v1. For a live sample you can see it working here: http://poker.matthaff.com/


Keyboard woes

I've spend the last couple of days trying to see if I could figure out how to do some sort of text input. I'm afraid I haven't gotten very far.
Getting a QLineEdit, or even a TouchLineEdit (which inherits QLineEdit) onto confirmation dialog is easy. But then I've got to try and attach a keyboard to it. And this is where I've gotten all in a muddle and a tangle.
There looks to be so many different pieces to the puzzle. KeyboardController (and ExtendedKeyboardController and SearchKeyboardController). KeyboardFrame. KeyboardReceiver. VirtualKeyboard. And I'm not really sure how they all interact with each other.
This is partially what I THINK might happen:

A KeyboardReceiver wraps a QLineEdit or QTextEdit (there's a constructor for both). I'm not really sure what this does, but I think it's the glue that connects a text edit widget with the keyboard
A KeyboardController manages a keyboard? It seems to be the derived class SearchKeyboardController that is mostly used. They have a method to set a KeyboardReceiver
There's a factory to create a SearchKeyboardController
And then there's KeyboardFrame. It has a method called createKeyboard that invokes the localizedKeyboard method of the above factory.

And yet, after all this digging, I STILL haven't managed to show a *****y keyboard on screen!
Has anyone (cough @pgaskin ) looked into how the keyboard system works? And how one might use it?

Success!!! (Kinda, sorta, maybe)

There's still a lot of issues, but something actually works. As you can see, there's lots of rendering or positioning issues. The accept or close buttons didn't work, which makes me think the keyboard may be a modal. And worst of all, it sometimes segfaults when trying to open that editbox.
But I can type text into a TouchLineEdit 😀

I did it! I have an initial (seemingly) working implementation for allowing user text input.
So, it turns out that the ConfirmationDialog object already constructs a KeyboardFrame, so I could find and use that (thanks findChild). It was a matter of calling it's createKeyboard method, creating a TouchLineEdit, wrapping it in a KeyboardReceiver and hooking the KR with the keyboard.
Note to all: If creating a widget with calloc and manually calling its constructor, then adding it do another widget, then one MUST de-parent the child widget before Qt attempts to delete the parent, otherwise segfaults occur.
There's still work to be done. I'm sure I've made mistakes somewhere, and the code is going to need to be looked at closely by others before I'm comfortable merging it into master. But I've made a good start.
And here's the result so far:
[root@kobo ~]# qndb -s dlgConfirmTextInput -m dlgConfirmLineEdit "Input Example" "Input"

dlgConfirmTextInput Hello World!

Complete refactor of the confirmation dialog system, by spinning it off into it's own class? Check.
Multi-line text editing support? Check.
There's probably enough here now to create the most rudimentary of file editors...

Behold! What follows is the worlds crappiest script for the crappiest file editor you'll ever see. As an extra bonus feature, it even eats line endings on saving the document back!
Works with the current WIP branch https://github.com/shermp/NickelDBus/tree/text-edit
WARNING: THE FOLLOWING SHELL SCRIPT IS FOR PROFESSIONALS ONLY. PLEASE DO NOT TRY THIS AT HOME.
#!/bin/sh

strip_qndb_prefix() {
    printf "%s" ${1#dlgConfirmTextInput }
}

result=$(qndb -s dlgConfirmTextInput -m dlgConfirmLineEdit "Choose File" "Open")
filename=$(strip_qndb_prefix "$result")

if [ -f "$filename" ]; then
    filecontents=$(cat "$filename")
    edit_result=$(qndb -s dlgConfirmTextInput -m dlgConfirmTextEditSet "Editing" "Save" "$filecontents")
    edit_content=$(strip_qndb_prefix "$edit_result")
    printf "%s" "$edit_content" > "$filename"
fi

I'm not sure what to do about international keyboards, whether I should bother or not (I've currently hard-coded it to show the English KB). Two parameters are needed, a QLocale (easy) and something called a KeyboardScript, which is a lot stranger, and I haven't been able to figure out.
It seems to be treated like an integer, so I assume it may be an enum. What is weird is what happens to that parameter. In the decompilation for `SearchKeyboardControllerFactory::localizedKeyboard():
uVar2 = count_leading_zeroes(param_2 - 1);
uVar2 = uVar2 >> 5;

Which corresponds to the following assembly:
        00a68e6a a8 f1 01 08     sub.w      r8,r8,#0x1
        00a68e6e 3b 28           cmp        param_1,#0x3b
        00a68e70 b8 fa 88 f8     clz        r8,r8
        00a68e74 4f ea 58 18     lsr.w      r8,r8,#0x5

uVar2 is then passed as parameters to the respective SearchKeyboardController* constructors.
Ghidra seems to not have any further information on what a KeyboardScript type is, or where it comes from. I wonder if it comes from an external library perhaps?
(Note, I'm currently just passing 0 to the functions in the absence of any further information. Seems to work alright for the English keyboard at least.)

Well I figured out how to use ConfirmationDialogFactory::showTextEditDialog() in combination with a N3ConfirmationTextEditField. It means no messing around with KeyboardFrame and SearchKeyboardController and KeyboardReceiver.
The consequence is dropping support for multi-line text editing, as N3ConfirmationTextEditField essentially wraps a QLineEdit and there doesn't appear to be a QTextEdit equivalent that I can find so far.
I'm not too upset though, I was feeling that the previous code was probably a bit fragile, and was rather complicated, and relied on a lot of libnickel symbols. Multi-line editing was probably approaching feature-creep anyway.
Also, as a sidenote, I learned it's possible to call ::operator new() as a function, like one would call malloc(). Doing so allocates memory without calling the constructor. Crucially, it appears to allow Qt to delete said objects without segfaulting.

Has anyone (cough @pgaskin ) looked into how the keyboard system works? And how one might use it?

Not really. I looked into it a bit to update the keyboard patches and to look into how touch works, but I haven't done much with it.

I did it! I have an initial (seemingly) working implementation for allowing user text input.

Behold! What follows is the worlds crappiest script for the crappiest file editor you'll ever see. As an extra bonus feature, it even eats line endings on saving the document back!

Nice!

Ghidra seems to not have any further information on what a KeyboardScript type is, or where it comes from. I wonder if it comes from an external library perhaps?

About KeyboardScript, that's used in _ZN31SearchKeyboardControllerFactory17localizedKeyboardEP7QWidget14KeyboardScriptRK7QLocale, where it's initially in r1 since the function is static. As of 15875, it ends up casted as-is to a  SearchKeyboardController::LocaleMode and passed to any SearchKeyboardController subclass's constructor which takes it as the second parameter. Ultimately, it always ends up being used in SearchKeyboardController itself only, where it is stored in the variable at offset 0x3c. From here, it's used by  _ZN24SearchKeyboardController17updateImeReceiverEb, which tail-calls a subclass of ImeReceiver based on it.
Practically speaking, it's either an enum, function pointer, or function table offset (I've only skimmed the code and followed references, not actually done the math and/or hooking). I'll look into it more when I have a chance.

The consequence is dropping support for multi-line text editing, as N3ConfirmationTextEditField essentially wraps a QLineEdit and there doesn't appear to be a QTextEdit equivalent that I can find so far.

Yes, that's correct. Theoretically, it's possible to replace the edit field itself after creating it, then linking them together, but it's not worth the hassle or fragility. It's possible to make it more stable if we completely figured out GestureReceiver, but we haven't done that yet (and it'd still be more fragile than I'd be comfortable with).

Also, as a sidenote, I learned it's possible to call ::operator new() as a function, like one would call malloc(). Doing so allocates memory without calling the constructor. Crucially, it appears to allow Qt to delete said objects without segfaulting.

That's... odd. libstdc++ itself calls malloc directly for operator new. Some sanitizers will replace it with one which stores a count in the first byte and returns a pointer to the second, but that doesn't appear to be used in the Kobo libraries. Qt itself doesn't appear to make any changes for most objects.
Do you have the address where it segfaulted? Also, what address does a call to operator new and a call to malloc right before it return?

That's... odd. libstdc++ itself calls malloc directly for operator new. Some sanitizers will replace it with one which stores a count in the first byte and returns a pointer to the second, but that doesn't appear to be used in the Kobo libraries. Qt itself doesn't appear to make any changes for most objects.

Do you have the address where it segfaulted? Also, what address does a call to operator new and a call to malloc right before it return?

I think I may have been mistaken. The root cause of my issues I was having at the time was probably not making the size of the memory allocation large enough (I've since rectified that). Sure enough, just ran a test, and malloc works as well. I'll probably continue to use new though as to me semantically it makes sense for an object whose lifecycle is managed by Qt after its creation.

Practically speaking, it's either an enum, function pointer, or function table offset (I've only skimmed the code and followed references, not actually done the math and/or hooking). I'll look into it more when I have a chance.

It's probably an enum, that seems to be the sort of thing an enum would be used for, and would probably have the same concept as enum QLocale::Script. I've seen the scalar values 1 and 0 being passed to N3ConfirmationTextEditField for that parameter in Ghidra.


Regression in Pandas is causing tests to fail?

Seems like the unit tests are failing due to a potential regression in Pandas?
https://github.com/pandas-dev/pandas/issues/21119
def test_decimal_with_joins():
    df1 = pd.DataFrame([{'a': Decimal('1'), 'b': 2}, {'a': Decimal('2'), 'b': 2}])
    df2 = pd.DataFrame([{'a': 1, 'b': 2}, {'a': 2, 'b': 2}])
    compare = datacompy.Compare(df1, df2, 'a')
    assert compare.matches()
    assert compare.all_columns_match()
    assert compare.all_rows_overlap()
    assert compare.intersect_rows_match()

Following test raises: ValueError: You are trying to merge on object and int64 columns. If you wish to proceed you should use pd.concat
Would it make sense to pin the Pandas version?

Hmm, yeah confirmed that I'm seeing that behaviour with Pandas 0.23.0.  Had only been using 0.20.3 before since that was the last in the main conda channel :grin:
I'd been trying to keep the comparisons "smart", where if it was the same values stored as different types (e.g. int64 1 and Decimal('1') they'd still match.  Maybe in the case of the join keys it makes sense to force them to be the same type, and keep the "smart" behaviour on the compare fields.
For pinning version, what do you think of just specifying a range in the docs and outside the range of versions is "use at your own risk".  Since this is a utility I'd assume most environments would have other Pandas requirements so I don't want to be too restrictive.
There's another warning of something that'll break in a future Pandas release when I run on 0.23.0 so I'll throw that into its own issue.


Upgrade Salesforce connector to new version of salesforce API

Connector Name
module/salesforce (Salesforce)
Suggested improvement
(Originally reported by @ramith in https://github.com/wso2-enterprise/choreo/issues/22836)
Need to support the latest salesforce API, which is v58. The current Ballerina salesforce connector release supports salesforce v48 API.
Related issues
No response

This is done with Salesforce 8.0.0 release, hence closing.


DependencyCheck 6.2.1 freezes during scanning

the dependencycheck 6.2.1 freezes after [INFO] Finished False Positive Analyzer. Nothing happens after that. No error, no time out.
[INFO] Analysis Started
[INFO] Finished Archive Analyzer (0 seconds)
[INFO] Finished File Name Analyzer (0 seconds)
[INFO] Finished Jar Analyzer (0 seconds)
[INFO] Finished Central Analyzer (5 seconds)
[INFO] Finished Dependency Merging Analyzer (0 seconds)
[INFO] Finished Version Filter Analyzer (0 seconds)
[INFO] Finished Hint Analyzer (0 seconds)
[INFO] Created CPE Index (1 seconds)
[INFO] Finished CPE Analyzer (1 seconds)
[INFO] Finished False Positive Analyzer (0 seconds)
version 6.2.1
same scan with 6.1.6 works fine

I encountered same issue with 6.2.1.
If I leave the scan running for multiple hours, it eventually provides an error.
I don't want to hijack your issue with my error log, but I can post it if needed.
Downgrading to version 6.1.6 resolved the issue.

duplicate, see https://github.com/jeremylong/DependencyCheck/issues/3408#issuecomment-858493309


Tooltip gets cutoff

http://jsbin.com/zabeyuyifa/edit?html,console,output
If you look at the jsbin here and hover over any part of the pie chart.  Rather large tooltips are shown.  As you shrink the page horizontally, the tooltips start getting cut-off.  I tried setting the height of the canvas, but the graph gets stretched as well.  Is there anyway to resolve this?  Thank you!

Duplicate of #1731
I'd be happy to merge a PR that fixes this


[Program]: Write a Scala program to print inverted pyramid pattern

Description
Write a Scala program to print inverted pyramid pattern
Input   : 5

Output :
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1

Contributed by - @PraaneshSelvaraj

How to contribute

Save the solution in program/program/print-inverted-pyramid-pattern/printInvertedPyramidPattern.scala file

!assign


MouseMove gives the coordinates of the mouse 0,0 until the middle mouse button is pressed on the control (NUGET Package)

Tried to implement MouseTracker (WinFormsDemos). Library ScottPlot and ScottPlotWinForms was connected from NUGET v4.1.6beta. But after loading the form, UserControl always displays x = 0, y = 0 mouse coordinates. Until you press the middle mouse button on the control. After that the MouseMove event passes the correct mouse coordinates.
I decided to figure out what the problem was and cloned the repository and connected the ScottPlot and ScotPlottWinForms projects to my solution. To my surprise, the above error did not recur. This means that a package in NUGET only has this error.

Hey @vc, thanks for reporting this! I worked on the mouse tracking code within the last week, so it's possible this bug has been fixed already. I'm going to publish a NuGet package in the next few minutes here, so when it appears give it a shot and feel free to open this issue if you continue to have an issue!
Scott


Add support for Webpack

Trying to import in app.js like this:
import ngAudio from 'ng-audio';
gives error: "Module not found: Error: Cannot resolve module 'ng-audio'".

I'd be happy to look at a PR that resolves this


Missing permissions in helm ClusterRole

There are a few permissions missing in the helm chart ClusterRole template. These are the ones I found so far:
rules:
- apiGroups:
  - ""
  resources:
  - secrets
  verbs:
  - get
  - list
  - watch
- apiGroups:
  - kibana.eck.github.com
  resources:
  - lens
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - kibana.eck.github.com
  resources:
  - lens/finalizers
  verbs:
  - update
- apiGroups:
  - kibana.eck.github.com
  resources:
  - lens/status
  verbs:
  - get
  - patch
  - update
- apiGroups:
  - kibana.eck.github.com
  resources:
  - spaces
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch
- apiGroups:
  - kibana.eck.github.com
  resources:
  - spaces/finalizers
  verbs:
  - update
- apiGroups:
  - kibana.eck.github.com
  resources:
  - spaces/status
  verbs:
  - get
  - patch
  - update
- apiGroups:
  - ""
  resources:
  - events
  verbs:
  - create
  - patch

plus all the ones associated with leader election (ConfigMap, etc.)

Hi @erdody, thanks for reporting! The roles were indeed missing in the helm chart. I've added them together with the rest of the rules required for a successful leader election. The fixed charts were published with version 0.3.2.


Fix to SwaggerCompatConverter so it can load inputSpec from classpath.

Swagger20Parser already can load input spec from classpath, but codegen project loads extensions one them is SwaggerCompatConverter and it fails loading from classpath
This fixes https://github.com/swagger-api/swagger-codegen/issues/2666

Thanks for the PR. Can you add a test to it?


Documentation link broken for what is transfer learning?

Doc Link: https://www.tensorflow.org/js/tutorials/transfer/image-classification
The above link is broken.

Thanks for catching this. Indeed following links seem to be broken under what is transfer learning
Build a transfer-learning based image classifier
Build a transfer-learning based audio recognizer

Can I fix this?

@Shrutihegde13 Thanks for the offer to help! It looks like we already have a PR pending that fixes this so i'll look into getting that merged.

Fix has been submitted. Will update once its been deployed.

FIx is deployed.


Doing noisy simulation is unintuitive

To set up the most basic noisy simulation, you need three jargony-named things:
cirq.DensityMatrixSimulator(noise=cirq.ConstantQubitNoiseModel(qubit_noise_gate=cirq.DepolarizingChannel(p=0.005)))

Opening this based on real user research :) Despite my hints, the user could not find the correct incantation to find a depolarizing noise model. One thing they tried is using AQTNoiseModel.

I would say it's one jargony-named thing:
cirq.sample(
    circuit,
    noise=cirq.ConstantQubitNoiseModel(cirq.depolarize(p=0.005)))

Maybe what we could do is permit stuff like:
cirq.sample(
    circuit,
    noise=cirq.depolarize(p=0.005))

with the understanding that when the noise model is a single qubit operation it automatically gets wrapped?

cirq.sample isn't a good choice for testing code that uses a Sampler that you want to run via quantum engine

I think it would ease a lot of confusion if there was something named DepolarizingNoiseModel

I see, you don't just want "the most basic noise simulation" you want to make a noisy sampler specifically.
Auto-wrapping single qubit operations into noise models would still make sense in that context.
We could generalize cirq.Simulator() to include density matrix simulation, and have a with_noise(noise) method on it.

Creating a noise model type for every noisy channel operation type would be quite a lot of duplication. Having cirq.depolarize(p) play double duty as a de-facto noise model would be superior IMO.

I'm liking the idea of generalizing simulator more and more. I'll bring it up at the meeting.

This now exists for single qubit noise.


Add identifier to Course record

For some reason this is failing tests due to the CSV upload - I'd like to get the upload to ignore this field in this commit, then add the new functionality for creating it from the CSV in the next commit, but things are failing due to the identifier being NULL.
Context

Changes in this PR
Release checklist
Release process documentation
As part of our continuous deployment strategy we must ensure that this work is
ready to be released once merged.
Pre-merge

[ ] There are changes required to the Accredited Programmes UI for this change to work...

[ ] ... and they been released to production already

Post-merge

[ ] Manually approve release to preprod
[ ] Manually approve release to prod

Superseded by PR 69


Hope to add an option to close the extension's auto start-up.

Sometimes I open a directory just to read and study someone else's code.
Do not want C/C++ Runner to modify the configuration file.
If need using it, i can activate it manually.

For the moment the easiest way would be to deactivate the extension per default and only activate it for certain workspaces.

Yeah, this a good method.
Thanks very much.


Fix Issue 19429 - indexOf("a", "b") should be nothrow/@nogc

Please see the individual commits' commit messages for details.

This is a non-trivial change, let's wait at least 24 hours for reviews.

BuildKite failure looks unrelated.


update valid openyurt version of yurtctl test

What type of PR is this?
/kind bug
What this PR does / why we need it:
Since we've released v0.7.1 and v1.0.0, we should update valid openyurt version of yurtctl test.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

other Note

@Congrool It looks like that this pull request will not cause unit tests error. and i have re-run the unit tests job but failed again. please take a look for the unit test errors.

Well, I found the reason of why unit-test failed. In TestKindOptions_Validate, we have
cases1 := []struct {
		nodeNum           int
		kubernetesVersion string
		openyurtVersion   string
		ignoreErr         bool
		want              string
	}{
		...
		{
			3,
			"v1.22",
			"v0.1.0",
			false,
			"v0.1.0 is not a valid openyurt version, all valid versions are v0.5.0,v0.6.0,v0.6.1,v0.6.2,v0.7.0,latest. If you know what you're doing, you can set --ignore-error",
		},
	}

Here, what we want couple with valid versions. We have to decouple with it.

/lgtm
/approve


Use Messages.fail instead of throwing exception directly

Checklist

[ ] Unit test all changes
[ ] Update README.md if applicable
[ ] Add [WIP] to the pull request title if it's work in progress
[ ] Squash commits that aren't meaningful changes
[x] Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

@zaneli thank you!


Distinguish malformed vs invalid certificates when importing endpoints

By throwing a different exception.
This will help app developers provide more helpful messages to end users.

This will no longer apply now that we're going to use connection params (https://github.com/relaycorp/awala-jvm/pull/171), as it's needed for https://github.com/relaycorp/relayverse/issues/27


moved existing to global/cloudfront. created regional waf module for alb

Existing TF only created WAF for Cloudfront (global) usage. Added functionality for Regional (ALB) usage.

@donantoniosantos @vladgolubev
Thank you so much!! LGTM!!
https://i.imgur.com/iNLXBX6.gif


:book: Included comments for the bfs on patchPlanning

Description of the PR

Included comments on SearchDependenciesFromStartNode

PR Checklist

[ ] All commits have a Developer Certificate of Origin (DCO) -- they are generated using -s flag to git commit.
[ ] All new changes are covered by tests
[ ] If GraphQL schema is changed, make generate has been run
[ ] If collectsub protobuf has been changed, make proto has been run
[ ] All CI checks are passing (tests and formatting)
[ ] All dependent PRs have already been merged

Besides the one on line 105, i think the others are self-explanatory from the name of the functions/variables and i'm on the preference of omitting the comments as it would help readability.

I agree with some of them, but I think that the one on line 119 is necessary for new contributors because I had a hard time understanding this at first.
Thoughts?

+1 would be really nice if the BFS part of it can be refactored to its own function.

I will refactor it.

Sounds good!

I have removed the extra comments and refactored the BFS.


Stdout of shell should be decoded with sys.getfilesystemencoding()

Hello.
Errors are raised when $LANG is not utf-8 (ex. LANG=ja_JP.EUCJP).
This cause a bug in pip.
https://github.com/pypa/pip/issues/4917
Would you review it ?

Hey @doloopwhile! Thanks for making this contribution, it looks like a positive change for me.
Currently it looks like our Travis build is failing for unrelated reasons, I'll see if I can fix this. :tada:

Also going to ping @nir0s as this issue should probably mean a new release of distro so that pip can vendor it.


Algo Bubble Sort in JavaScript

Need to make a readme file which should have the
Definition
Explanation in simple terms
Code related explanation.

please assign this issue to me

Please assign this issue to me as I've already begun working on this issue.

@Abishethvarman  please assign this issue to me as I've already begun working on this issue.

@sakshipatil4403 carry on

@Abishethvarman I would like to provide documentation for this issue . Could you please assign

@Abishethvarman I would like to provide documentation for this issue . Could you please assign

I appreciate your enthusiasm. but this issue has assigned to someone else. Try new algorithm which is not addressed and make PR.


Seccomp profile configuration support needs to be added for dapr-dashboard, sentry, sidecar-injector, operator, placement-server

Description
Hello @mukundansundar , As discussed in today's meeting [FYNDNA]
The Seccomp profile support is available for dapr sidecar in version 1.11
However the same vulnerability has been also reported in following dapr components

dapr-dashboard
dapr-sentry
dapr-sidecar-injector
dapr-operator
dapr-placement-server

I am raising this issue as per our discussion
Please let me know if you need any more details on this

Fixed by #6505


MacDown Theme

New Theme
Hello, I want to contribute with a theme for MacDown.
Repo: https://github.com/arandilopez/dracula-macdown

Hey @arandilopez!
First of all, sorry for taking so long to reply.
Now about your theme... I'm glad to see a theme for MacDown!
I just cloned your repo and pushed all the commits to a new one over here. I also sent you an invite to join the Dracula org. You'll continue maintaining this project, the only difference is that we can make it more visible and include it on the site.
We have the screenshot and instructions already, that's great! I will go ahead and create a new page on the site if that's ok for you.
Great job!

Thanks @zenorocha, I'm happy to work with all of you!

Awesome! I'm happy to work with you too ;D

Added a page on the site: https://github.com/dracula/dracula.github.io/commit/59dfc5761a86ed0606ec6b747950c148082e5d90
Made some changes on the theme repo: https://github.com/dracula/macdown/commit/57771c57afdc4cdc953a5872d2c078e3e3e5e479
Added as a submodule on the main repo: https://github.com/dracula/dracula-theme/commit/ef4d70150fbdf2c36db7be148217ae51c0af142d

I think we can close this now. Feel free to share it online @arandilopez ;)
👉 https://draculatheme.com/macdown/


Set up new transcriber automated email

[ ] Add in useful links and FAQ.
[ ] Add link to Handbook - see #571
[ ] Add in link to Quickstart - see 126
[ ] Add in link to worked example - see #1041

E3 U3 S8 C7: P21

Why not use the tools already developed for REG???

Use automation from FreeREG to send letter that Brenda currently sends, with links to the three documents she currently attaches.

Is this still a requirement?

@DeniseColbert  can you reply to Kirk, please?

Apologies for the delayed reply; yes, this will be addressed in the Training work I'm doing with my FC Vol Coord hat on.

Is there a developer requirement?

Yes, a developer will be needed to add new/updated info and resources to the email.


Typedoc options documentation unclear about typedocs.json usage and required parameters

Trying out Typedocs for the first time today, I was able to construct a working command using the CLI. When I tried to convert that command to a typedoc.json configuration, I would see the help message print every time I ran the command.
What I was doing:
typedoc.json
{
  "inputFiles": ["./src"],
  "mode": "modules",
  "out": "doc"
}

then
$ typedoc --options typedoc.json

Which output the following. I assumed that the --options configuration could be used to replace any parameter, so it wasn't obvious to me that I was using it wrong, but there were no other error messages.
Usage:
 typedoc --mode modules --out path/to/documentation path/to/sourcefiles

What worked:
typedoc.json
{
  "mode": "modules",
  "out": "doc"
}

then
$ typedoc --options typedoc.json ./src

I'm still not clear on the difference between the required source directory and inputFiles. I expected if I had one, I wouldn't need the other.
Not sure if I missed something obvious in the documentation, but I think instructions at the top of the docs clearly explaining the required parameters and a usage example in the Options documentation would go a long way.
If nothing needs changing, I figure this issue might at least help the next person who's trying to figure out why their typedoc.json won't load.

Re-reading the inputFiles doc, I think this could be a bug where typedoc is not looking for inputFiles in the options configuration before checking whether they have been provided via the command line.

I believe this is due to #1265, and is now fixed in 0.18.0. There was a bug with inputFiles always being overwritten by what tsconfig set.


There are errors in the JSON Schema document

Thank you very much for creating typia!
I found some minor errors while reading the document
The typia.application() in the page should actually betypia.json.application()

Good, what about sending a PR?

Thanks for reporting.


Flink 36798

This is the way to improve data processing speed during the phase from snapshot to incremental phase.
https://issues.apache.org/jira/browse/FLINK-36798
And the complexity of log（n） refers to this issue:https://github.com/apache/flink-cdc/pull/3630.

@rodeo-rider Thanks for the contribution, Could you add some test for your optimization?
@ruanhang1993 Would you like to help review this PR?


LTDC HAL modifies RCC clock settings directly

While I prepared PR #137 I noticed that DisplayContoller::new directly changes the RCC clock configuration. Any changes to the clock configuration at this point won't be reflected in the Clocks struct that is returned when CFGR::freeze is called.
While the changes are limited to PLLSAI, which isn't used by other peripherals at the moment, it would be better to handle all clock setup in rcc.rs.
DisplayController::new does select PLLSAI frequency to match the required pixel clock, which was probably the reason to combine LTDC and clock setup into a single function. But the same could be achieved by adding a pixel_clock(&self) -> Hertz getter to DisplayContig.

Good catch! I agree that it would be better to handle this in RCC.


Fixes #542 - Added a callback to confirm the cancellation of an address-watch.

This is an improvement (I think) over the previous fix for #533.

Codecov Report

Merging #544 (626afe0) into main (d161d13) will increase coverage by 0.01%.
The diff coverage is 34.04%.

@@            Coverage Diff             @@
##             main     #544      +/-   ##
==========================================
+ Coverage   25.09%   25.11%   +0.01%
==========================================
  Files         116      116
  Lines       28849    28839      -10
  Branches     4684     4682       -2
==========================================
+ Hits         7241     7243       +2
+ Misses      20638    20626      -12
  Partials      970      970

Flag
Coverage Δ

unittests
25.11% <34.04%> (+0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/adaptors/tcp_adaptor.c
2.44% <ø> (ø)

src/adaptors/test_adaptor.c
5.47% <0.00%> (+1.08%)
:arrow_up:

src/protocol_log.c
32.97% <ø> (ø)

src/router_core/router_core_private.h
0.00% <ø> (ø)

src/router_core/address_watch.c
73.56% <72.72%> (-4.92%)
:arrow_down:

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 d161d13...626afe0. Read the comment docs.

The test failure is a known issue (separate from this PR)
https://github.com/skupperproject/skupper-router/issues/520


Help new users with glob! macro: base suggestions

As a novice insta user, I wrote this in my unit test:
glob!("../tests/fixtures/*.pbf", |file| { ... });

resulting in unhelpful the glob! macro did not match any files error.  I tried a few different paths to no help because I was not even sure where the base is, until I simply modified my .cargo/registry/src/index.crates.io-.../insta-1.31.0/src/glob.rs (eek!) with a few extra debug statements:
eprintln!("manifest_dir={manifest_dir}");
eprintln!("base={}", base.display());
eprintln!("pattern={pattern}");
panic!("the glob! macro did not match any files.");

and realized that the base is what I expected it to be, and that I should be using 3 parameter glob! macro:
glob!("../tests/fixtures", "*.pbf", |file| { ... });

Sugestion
To make dev's life easier with this amazing (!!!!) tool, I recommend two things:

if the glob! is used with two parameters AND the filter begins with a / or a .., warn or even fail to compile -- because I suspect it is never correct(?), and explain that a 3 param glob! should be used.  (i wonder if its possible to make it work in a more intelligent way?)
when printing an error, report where the base was and how it was searched to simplify debugging

Once again, thanks for an awesome tool!

So I think that ../ can make sense in some cases. I agree that this error is not helpful at all. I think I can try a variation of the proposal to show where the base is and what was searched in the output.


Update configmap.yaml

Fix helm chart to get the application.yaml rendered correctly in the ConfigMap.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: salaboy
If they are not already assigned, you can assign the PR to them by writing /assign @salaboy in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Hi @kjozsa. Thanks for your PR.
I'm waiting for a zeebe-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Consolidate Migration Scripts

We have a large number of scripts at this point, many of them simple making minor changes to table functions that require the functions definition to be duplicated.
We should rewrite the migrations removing as many intermediate migrations as possible from both external and internal web.
Once the migrations are rewritten we will need to drop the tables and functions on our test and dev environments and then redeploy the application.

To be done:

Create seed scripts to drop then recreate each table function
Update migration README on internal/external web to reflect change in migration process
Update CI config so that table functions are dropped/recreated when rolling migrations up or down


feat(stripe): add support for afterpay clearpay through stripe

Type of Change

[x] New feature

Description

This PR will support creating pay_later payments using afterpay_clearpay as the issuer through stripe. This is a redirection flow.
Motivation and Context

#347
How did you test it?

Create a payment with payment_method_data as pay_later and body as

{
  "payment_method_data": {
    "pay_later": {
      "afterpay_clearpay_redirect": {
        "issuer_name": "afterpay_clearpay",
        "billing_email"<EMAIL_ADDRESS>        "billing_name": "Juspay"
      }
    }
  }
}

Complete the redirection

Redirection status is succeeced

Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed submitted code

@Narayanbhat166 , For the address validation errors, I feel that if the address fields fail multiple constraints, we should return all the errors, or atleast return that what are all the mandatory fields, so that the developer can make sure the field conforms to the requirement with just single try.

@Narayanbhat166 , For the address validation errors, I feel that if the address fields fail multiple constraints, we should return all the errors, or atleast return that what are all the mandatory fields, so that the developer can make sure the field conforms to the requirement with just single try.

Yes @ashokkjag I agree, that will be a good experience to user. Will take that up in a separate PR. Created an issue #451


Server crashes

As soon as rotational force is applied (16 rpm) the server crashes immediately.
Crash Report
crash-2024-09-22_13.19.24-server.txt
Its using the new version of create: 	create-1.20.1-0.5.1.h

The mod was built with create 1.20.1-0.5.1.f, the server side should work in this version but dunno about newer ones. I'll try to replicate, if you can give me more information about how did you did it. Wich component did you applied the rotational power?

I tried 3 different methods power apllied via Waterwheel/ steam engine/ and creative motor. and it was simply connecting power to the "optical source"

Just released a new version with some fixes, you could try if the problem persists.

I tested in server side and got the same crash. I fix it, but who knows, maybe there's another reason for your crash


KAFKA-4819: Expose states for active tasks to public API

Simple implementation of the feature : KAFKA-4819
KAFKA-4819
This PR adds a new method threadStates to public API of KafkaStreams which returns all currently states of running threads and active tasks.
Below is a example for a simple topology consuming from topics; test-p2 and test-p4.
[{"name":"StreamThread-1","state":"RUNNING","activeTasks":[{"id":"0_0", "assignments":["test-p4-0","test-p2-0"], "consumedOffsetsByPartition":[{"topicPartition":"test-p2-0","offset":"test-p2-0"}]}, {"id":"0_2", "assignments":["test-p4-2"], "consumedOffsetsByPartition":[]}]}, {"name":"StreamThread-2","state":"RUNNING","activeTasks":[{"id":"0_1", "assignments":["test-p4-1","test-p2-1"], "consumedOffsetsByPartition":[{"topicPartition":"test-p2-1","offset":"test-p2-1"}]}, {"id":"0_3", "assignments":["test-p4-3"], "consumedOffsetsByPartition":[]}]}]

This is a public API change and requires a KIP: https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals

@mjsax could you take a look at this PR since you are working on KIP-120 which may have modifies the same classes as well?

@fhussonnois Can you rebase this PR so we can review it? Thanks!

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6032/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6047/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6035/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6050/
Test FAILed (JDK 7 and Scala 2.11).

@mjsax The PR has been rebased.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6248/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6264/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6254/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6270/
Test FAILed (JDK 7 and Scala 2.11).

@mjsax I suppose the method KafkaStream#localThreadsMetadata could be called frequently (i.e to continuously monitoring the threads). This can lead to a lot of ThreadMetadata objects created uselessly if no state change occured. Currently, a new ThreadMetadata object is created on a state change only.
I rebase the PR and update the tests.

I see. I guess either way is fine -- don't think that the eager updates are a problem. Just wanted to understand the reasoning.

@fhussonnois Are you still working on this PR for KIP-130?

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6860/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6874/
Test FAILed (JDK 7 and Scala 2.11).

@guozhangwang @mjsax this PR has been updated will all your comments and rebased.

@fhussonnois I feel sorry that the trunk branch's classes gets updated again.. anyways, I made another pass over the current diff and it LGTM now.
Would you have time to rebase again? Or I can help rebase again and merge it if you are busy. Just let me know.

@guozhangwang the PR has been rebased.

@fhussonnois The jenkins checkstyle failure is relevant:
:streams:checkstyleTest[ant:checkstyle] [ERROR] /home/jenkins/jenkins-slave/workspace/kafka-pr-jdk7-scala2.11/streams/src/test/java/org/apache/kafka/streams/KafkaStreamsTest.java:417:12: 'for' is not followed by whitespace. [WhitespaceAround]

@guozhangwang Sorry for having missing the checkstyle. This should be fixed now.

@guozhangwang Can you do another pass? So far, it look good to me, but we need to make sure to get the state transitions right.

LGTM. @fhussonnois One note is that currently we are only exposing the "running ones" for both active and standby tasks, i.e. we did not expose restoring / suspended / created-but-not-initialized ones. These are printed in the deprecated KafkaStreams#toString -> StreamThread#toString -> TaskManager#toString -> AssignedTasks#toString path.
We may need to consider add them as well when completely remove this deprecated path, or even earlier.

Merged to trunk. @fhussonnois Could you also make the corresponding web docs of KIP-130 in another PR? Some references can be found as:
https://github.com/apache/kafka/pull/3787/files
https://github.com/apache/kafka/pull/3732/files
I will leave the JIRA itself as open till it is done.


Validable only creates validator for creation, not for updating

I obtain a model instance using $foo = Foo::find(123), then change some attributes, call $foo->save() and check whether $foo->isValid() (Foo uses the Validable trait).
Because the default validator is created using getCreateRules, I get errors about unique constraints.
If getValidator would call getUpdateRules instead, it would fetch the correct rules (even in case of creation, where it would automatically fall back to getCreateRules since no key is assigned).
Is there anything that I am missing or is this a bug?

I just noticed that another reason for the error could be that the rules are being reset to getCreateRules after updating. Thus, the second ->isValid() validates against the create-rules.

Yes, it seems this case is not handled correctly. However it works just fine in normal usage, that is when calling save/update/create.

How do you get the validation result (as boolean) in that case? According to the change log, since Laravel 5.3, ->save() return false also if nothing has changed in the model:

Eloquent save Method

The Eloquent save method now returns false if the model has not been changed since the last time it was retrieved or saved.

That's a valid question ;)
It needs to be addressed

For now you can use getValidationErrors method and check whether there are any (after save).


Restructure project to follow Atomic Design principles

Refer https://github.com/danilowoz/react-atomic-design for overview of principles

Closed by #42


etcdserverV2: do not return body for HEAD request

@xiang90 @gyuho

@mqliang What is your use case of HEAD requests? Do you use just to ping etcd endpoints?
I will defer to @xiang90 and @heyitsanthony
Thanks!

I think this would be cleaner overall if instead of changing the code to pass withBody everywhere, it would use a custom response writer like this (haven't tested it, might need some minor tweaking):
type headResponseWriter struct { http.ResponseWriter; wroteHeader bool }
func (w *headResponseWriter) Write(v []byte) (int, error) {
    if !w.wroteHeader {
        w.ResponseWriter.WriteHeader(http.StatusOK)
    }
    w.wroteHeader = true
    return len(v), nil
}
func (w *headResponseWriter) WriteHeader(v int) {
    w.ResponseWriter.WriteHeader(v)
    w.wroteHeader = true
}

...

if r.method == http.MethodHead {
    w = &headResponseWriter{w}
}

cc/ @jerryzh168

@mqliang I think this is a good direction. Can you try what @heyitsanthony suggested?

This is inactive. Closing.


Enhance trace_dump

Summary
1: Enhance Android formatted output of NOTE_STRING
atrace supports many prefixes, not just starting with B/E, such as: tracing_mark_write: I|27|10:TSTATE_TASK_PENDING
2: add INSTRUMENTATION_CSECTION/PREEMPTION support
Impact
Testing

@Gary-Hobson please include this summary info to the commit message


can't download "faster-whisper large model" buzz auto closes

can't seem to download "faster-whisper large model" buzz automatic closes when trying

What version/OS are you using?

buzz 8.2 and I'm windows 10

is there a way to manually download the model if so how?

happens to me in win11 as well, and in general it does not seem to run on GPU..........

+1


Fixed issue #2369 by updating quantumcircuit.py

Summary
Fixes issue #2369 by updating quantumcircuit.py.
Details and comments
Gate parameters ware unable to support a mix of indexes and bits. Additions in code were done so that the gate parameters could support them.

Hi @kdk @1ucian0 . I have added one test. I am just curious if that will suffice or if I should add a few more tests.


Results.to_json() => TypeError: Object of type 'UserWarning' is not JSON serializable

if metadata contains a UserWarning(...), to_json() fails

was my mistake, a version mismatch


FR: Add Offset to Equates Tables for Sorting

Description
When using the Equates Table there is no way to sort quickly by offset
Describe the solution you'd like
Add offset as a sortable column in the Equates Table.  Currently these are the only options for Columns.

I've attached a screenshot of a CTF challenge where I highlighted the CMP's that happen in order and it'd be nice to quickly browse them in the Equates Table.

Thank you for making this useful tool available to the public!

I am not sure what you mean by 'offset', but I will assume you mean the offset from the entry point of a function.    The Equates Table provider shows all equates for the entire program.  As such, it doesn't make sense to add an 'offset' column to that provider.
We have a script that allows you to show all equates within the current selection, or the current function when there is no selection, inside of a table.    I'm attaching the script (remove the .txt extension after download), which can be added to your Ghidra Scripts collection.
ShowEquatesInSelectionScript.java.txt

Thank you for the script.  Apologies on the ambiguous wording.  Address/Location is what I meant by offset.
I can close this FR as it can be quickly addressed (via the script) without having to add an additional column.  Thanks again!


LinkedIn does not use Camus anymore

The website gives the impression that LinkedIn still uses Camus, which it probably doesn't.
Camus is LinkedIn's previous generation Kafka to HDFS pipeline.
I would like to see two answers questioned:

Why do you not keep your documentation up to date?
Do you disagree on LinkedIn's vision on abandoning Camus, and if so, why?

@aragnon

Yes, LinkedIn has moved to Gobblin for their Kafka -> HDFS pipeline.
I'm not certain which documentation you are referring to. If you mean the README in this repository, we generally try to maintain minimal patches to the version of upstream Camus that we package for Confluent Platform. If you're referring to something in the Confluent Platform documentation that we've missed updating, please let us know more specifically.
For Kafka -> HDFS, Confluent would recommend moving to Kafka Connect and the HDFS connector developed by Confluent. However, we continue to support the version of Camus included in Confluent Platform. Using Kafka Connect has a number of benefits, including being very easy to get up and running, operational simplicity, and it makes it easy to run all sorts of connectors that copy data between Kafka and other systems.

Thx for this clarification. I was referring to the github displayed readme. I will be giving the platform a spin (i.e., from source).

Op 9 dec. 2015 om 18:55 heeft Ewen Cheslack-Postava<EMAIL_ADDRESS>het volgende geschreven:
@aragnon
Yes, LinkedIn has moved to Gobblin for their Kafka -> HDFS pipeline.
I'm not certain which documentation you are referring to. If you mean the README in this repository, we generally try to maintain minimal patches to the version of upstream Camus that we package for Confluent Platform. If you're referring to something in the Confluent Platform documentation that we've missed updating, please let us know more specifically.
For Kafka -> HDFS, Confluent would recommend moving to Kafka Connect and the HDFS connector developed by Confluent. However, we continue to support the version of Camus included in Confluent Platform. Using Kafka Connect has a number of benefits, including being very easy to get up and running, operational simplicity, and it makes it easy to run all sorts of connectors that copy data between Kafka and other systems.
—
Reply to this email directly or view it on GitHub.

@aragnon Great to hear you'll be trying out the platform. We'd love to hear any feedback you have on our mailing list!


Create CheckPredicate for performing checks via facts in DL.

Until now, we've been translating Arcs checks into Datalog rules. While
this gives us a great deal of expressive power, it is tricky to reason
about and requires recompiling before analyzing any Arcs system.
This PR takes the first step in a different direction: instead,
represent checks as regular old facts, with the predicates being
expressed as an ADT. These predicates can then be evaluated inside
Datalog through rules that interpret the predicates encoded in the ADT
rather than encoding the predicates directly as rule bodies.
This PR leaves the infrastructure for the previous way of handling
checks and predicates intact. However, this solution could (and quite
probably should) be used to switch off of that method entirely, allowing
us to precompile the Datalog analysis.
This issue makes progress towards, but does not fix, issue #262 .

@bgogul , I think I addressed all of your comments. If you have a moment, though, it could be good for you to take a look at how I separated out the test relations for CheckPredicates from the core relations. Separating them out into a separate test header included only by the test doesn't make sense in a world where the tests don't contain any custom Datalog, so I separated them out into a conditionally-compiled, test-only region of the check_predicate.dl Datalog file.


Skyplane API Design

A draft implementation of Skyplane API that continues from #568.

The API for simple copy should be ready for review (demo is in skyplane/skyplane/demo.py). Notice that right now the client only takes a pre-configured config file (auth=None). Next, we will update with: 1. load auth from our customized auth class; 2. multiple copies within a session.

@ShishirPatil is creating a Sky Camp repo. We should push the notebook to that repo and then close this PR.

Repository now lives here: https://github.com/skyplane-project/skyplane-tutorial

Thank you @ShishirPatil! I will push the notebook tonight and close this PR.


advancements support

stat advancement ... (any advancement or total number)

What do you mean with this? Do you want the option to grant custom advancements if a stat reaches a certain number?

What do you mean with this? Do you want the option to grant custom advancements if a stat reaches a certain number?

just a total advancements number per player, i think giving custom advancement for this can be cool, if this possible why not

This isn't something I think really fits in the spirit of PlayerStats currently - it's something that could easily be added through a custom datapack, though.


generate_gradle_lockfiles is not run on CI

I think we should run generate_gradle_lockfiles on (pre/post – idk)submit tests.
Problems
Sometimes, regenerating gradle lockfiles results in git changes. I don't think that it should be happening, i.e. the running:
find . -type d -name 'android' | dart dev/tools/bin/generate_gradle_lockfiles.dart

should result in no git changes.
Sometimes, it fails altogether (often on different project - look at the logs carefully):
crash_logs_1.txt
crash_logs_2.txt
I didn't debug thse crashes further but usually re-reunning results in a different failure.

FYI @gmackall, if you end up running the script from the pub roller bot

Re-opening as it is still not working.


[5.5] Collection min() returns null with given key

Using the collection "min()" method with a key on a collection that contains null, will return null and not the smallest number as expected. Without a key the return value is 10.
Examples:

Current

$c = new Collection([['foo' => 10], ['foo' => 20], ['foo' => null]]);
$c->min('foo'); // null

Fix

$c = new Collection([['foo' => 10], ['foo' => 20], ['foo' => null]]);
$c->min('foo'); // 10

Without key

$c = new Collection([10, 20, null]);
$c->min(); // 10

Methods like "avg()" or "median()" have similar issues and should be checked if this goes through.

@taylorotwell The documentation indicates that we can make a pull request to 5.5 or to 5.6. Why can not @ThorbenG make a pull request to 5.5?
All bug fixes should be sent to the latest stable branch or to the current LTS branch (5.5).
https://laravel.com/docs/5.6/contributions#which-branch


kshape

some questions regarding your kshape code:

can your code be applied to time series with different lengths?
I need to extract shape prototype, but could not figure out what inputs are needed? Would you explain the parameters in _shape_extraction function?

Yes. The time series must be of same length. You can try to interpolate values if you have missing intermediates.

# @idx the assignment of each timeserie to a specific cluster
# @x all timeseries
# @j index of the cluster that the shape is computed for
# @cur_center the current centroid on which the new centroid will be computed
def _extract_shape(idx, x, j, cur_center):
  pass

Interpolation for missing values or padding of zeros left/right of the time series to bring them in the same size (this is what FFT is doing either way internally).


how to set config locals dynamically?

really good package for translation, do we always need to add locals in config file or we can set them dynamically if local is not available in config file.

It's up to you how you want to define your locales. You could define them in a service provider instead.
One thing you have to watch out for is to make sure all the locales you have saved into the translations table are defined. Otherwise you won't have access to them.

thanks for reply can you give me an example to define locales in service provider
my current project is Codeigniter based where i can enable and disable languages from admin
for front-end point of view we can use fallback local, but for admin or back end point of view
for example if you have saved only English content while editing form Spanish content is not there you will see the same error.
Trying to get property of non-object
$page->translate('es')->title

if local is not there you are returning null is there any way just return empty object of translation model so we will not have this error or any better way you have to avoid this error.

Yes, try $page->translateOrNew('es')->title;

For more information about service providers check the official docs

that is really great its work like charm i have to work more on service provider


Setup memcache

Just installing the gem and a couple of simple things first to check that it's working on the staging and preview environments.

Looks like a good change to me. And once it's in we can start caching other things

Looks good.


JBPM-4653 - Create test coverage module and move tests from QE regression test suite

After we decided to move most of QE tests to community repositories, we agreed on creating a new module which will include only tests. The tests from jbpm-test module should also be moved to this one since jbpm-test should have only one responsibility - to support testing.
Right now it includes tests that were part of QE test suite. Some of them are ignored and they still need to be reviewed. I am sending a pull request even though they are not fixed because we need this module right now for test development. We will look at the ignored tests later.
Sometimes there is a problem with Executor Service tests. If you see any random fail, either try to fix it or mark it as ignored and I will look at it later.

started to look at this and if all goes well should be merged tomorrow. @livthomas will ping you in case of questions on irc

@mswiderski @livthomas Do you plan to include this module into the standard maven build (e.g. it will be executed whenever some simply calls "mvn clean install")? Or will it be disabled by default and only ran on demand? How long does it take to run the tests?

I was planning to include it only with full build - what's your opinion?
It takes around 11 min for me - only the jbpm-test-coverage module.

I was thinking about not running the tests as part of the standard (or full) build, but rather just make sure the tests compile and run them after the whole jbpm repo build completes. Basically divide the the unit tests and integration tests execution. Unless all the unit tests pass, the integration tests would not be executed. This would I think create better feedback loop, as we would have some initial results much faster (when not running the integration tests). WDYT?
On (usually) slower CI machines it will likely take 2-3 times longer.

sounds very good to me.
@psiroky Do you mind adding that configuration on top of this branch? I still didn't have much time to work on this PR. Just executed it few times and confirm what @livthomas mentioned about random failures.

merged into master with small improvements that made the test work well locally. Though until changes made by @psiroky are not in I commented out the module so it's not built with entire project. Closing this PR, thanks a lot @livthomas

@mswiderski thanks, I will shortly submit PR with the build changes.


support a subreddit blacklist.

support blacklisting subreddit submissions from being archived in a similar manner to subreddits.txt is being used.

Would this be intended to be complementary to archiving /r/all, in case you want to archive everything except a few subreddits?


CASMINST-6847: Linting

Backport of https://github.com/Cray-HPE/docs-csm/pull/4991

/backport release/1.0


Provide easy check for production/simulator environment

    return Boolean(process.env.__OW_ACTIVATION_ID) || Boolean(process.env.AWS_LAMBDA_FUNCTION_NAME);

I'd prefer to have something in the wrapper, but it's good for now.

Originally posted by @trieloff in https://github.com/adobe/helix-pipeline/pull/947#discussion_r566130708

currently, it seems still to be active, IIRC, the pipeline logs should only be written in local dev:
2021-03-29T23:00:01.565+09:00 | [ERROR] Exception during #32/error:report from /var/task/index.js:8133:
-- | --
  | 2021-03-29T23:00:01.565+09:00 | Error: ENOENT: no such file or directory, mkdir '/var/task/logs'


[Design Review] Filing home

[x] Content reviewed
[x] Fix: Update primary button text for all scenarios
[x] Fix: Update secondary button text and destination for all scenarios
[x] Fix: Update InstitutionCard spacing (internal elements)
[x] Fix: Update InstitutionCard spacing (between text intro & first institution card)

All items addressed


Does not compile

Hi,
I try compile with Xcode Version 6.4 (6E35b)

TravisToday/Today/TravisViewController.swift:39:49: Operand of postfix '!' should have optional type; type is 'String'
TravisToday/Today/TravisViewController.swift:43:43: 'NSMutableArray' is not implicitly convertible to '[AnyObject]'; did you mean to use 'as' to explicitly convert?
TravisToday/Today/TravisViewController.swift:93:30: Cannot invoke 'find' with an argument list of type '(RepoConfig, completion: (Bool, Repo?) -> Void)'

yeah this is still on an older swift version. Hope to get around to updating it soon :)

ok :)


Error

With the npm version 1.0.1 I have this error when sources are reloaded :
TypeError: Cannot redefine property: inspect
    at Function.defineProperty (native)
    at Object.configureApp (/Users/jaumard/Downloads/testTrails/node_modules/trailpack-repl/lib/inspect.js:65:12)
    at REPL.configure (/Users/jaumard/Downloads/testTrails/node_modules/trailpack-repl/index.js:17:17)
    at /Users/jaumard/Downloads/testTrails/node_modules/trails/lib/trailpack.js:56:26
    at process._tickDomainCallback (node.js:407:9)

If I disable repl I have another similar error under core trailpack :
error:
 TypeError: Cannot redefine property: __
    at Function.defineProperty (native)
    at /Users/jaumard/Downloads/testTrails/node_modules/trailpack-core/index.js:41:14
    at process._tickCallback (node.js:364:9)
debug: trails event: trails:stop

I updated trailpack-core to fix this; will publish an updated version soon.

Now I have this :
error:
 TypeError: this.once is not a function
    at AutoreloadTrailpack.initialize (/Users/jaumard/Downloads/testTrails/node_modules/trailpack-autoreload/index.js:43:10)
    at /Users/jaumard/Downloads/testTrails/node_modules/trails/lib/trailpack.js:51:26
    at process._tickDomainCallback (node.js:407:9)

Ok this error append because npm doesn't install the good version of trailpack  https://github.com/trailsjs/trailpack-autoreload/blob/master/package.json#L19 after another install this error disapear.
But now another error ^^ here https://github.com/trailsjs/trailpack-autoreload/blob/master/index.js#L44
Maybe it's this.app.packs.repl right ? Because for now I have TypeError: Cannot read property 'repl' of undefined

Weird, that looks like a bug anyway. You're right, it should be this.app.packs. I think I'll add the packs property to Trailpack, though, for convenience.


tour: Suggestion to add the method of appending a slice to another slice to the tour

Context: https://tour.golang.org/moretypes/15
While using the tour page on appending a slice, I wondered how one would go about appending one slice to another. I ended up learning about it in the linked page on slices, but felt that it may be a common-enough use case to make it worth adding to the tour itself.
Specifically, the suggestion would be to change the code such that line 6 would become:
var s, y []int
and the bottom of the function would become:
    // We can also append two slices using the `...` notation.
    y = append(y, 5, 6)
    s = append(s, y...)
    printSlice(s)

Using the values 5 and 6 would make the final printed value be:
len=7 cap=8 [0 1 2 3 4 5 6]

which I'd think should be consistent enough for the user to follow.
Perhaps a line could be added to the text on the left saying "If two slices need to be appended, the syntactic sugar ... can be used to expand the second slice into a list of arguments, like so: append(s, y...).
If this is an inappropriate place to make such a suggestion, or if this has been previously discussed, my apologies. Thanks!

I like the idea. I mean, if we show s = append(s, 2, 3, 4) we could also show how to append a slice. The example code is sequential (the the sense that it's a sequence of simple steps), so I don't think adding a last step would make it less readable.


[AutoDiff] Re-enable a reflection test.

rdar://75916878 is no longer reproducible.

I suspect one of @DougGregor's concurrency PRs fixed this.

@swift-ci please test