Ability to fake array of objects

I would like the ability to fake an array of objects. For example,
@examples(values: [{jurisdiction: "DFT"},{jurisdiction: "FUR"}])
The source code made is seem like this is possible. How are you supposed to do it?

@sepehr500 Just to be sure, you trying to write something like this?
type Query {
  allCourtCases: [CourtCase!]!
     @examples(values: [{jurisdiction: "DFT"},{jurisdiction: "FUR"}])
}

type CourtCase {
  jurisdiction: String
}

And you want allCourtCases always return [{jurisdiction: "DFT"},{jurisdiction: "FUR"}]?
If you don't depend on the exact value you can write something like this:
type CourtCase {
  jurisdiction: String @examples(values: ["DFT", "FUR"])
}

If above solution doesn't solve your problem can you please describe your use case in more details?

I am trying to do something like this:
  allCourtCases: [CourtCase!]!
     @examples(values: [{state: "WASH", capital: "SEA"},{state: "VA", capital: "RMD"}])
}

type CourtCase {
  capital: String
  state: String
}```

Sometimes  I need certain object properties to always appear together. For example, if I have city and a capital property, I may have logic that makes assumptions about about what other fields can be given some other field, so I would like to be able to mock an object. Otherwise, the API would return a random combination of values, and this does not always make sense.

@sepehr500 I made @examples to work on objects.
It was pretty simple, however supporting an array of fixed size is way more complicated.
Not sure if it fully solves your issue, please see example below:
type Query {
  allCourtCases: [CourtCase!]!
     @examples(values: [
       # if this object selected 'name' is always null
       {state: "WASH", capital: "SEA", name: null},
       # in this case 'name' is faked as usual
       {state: "VA", capital: "RMD"}
     ])
}

type CourtCase {
  name: String @fake(type:firstName)
  capital: String
  state: String
}

Example of possible result:
{
  "data": {
    "allCourtCases": [
      {
        "name": null,
        "capital": "SEA",
        "state": "WASH"
      },
      {
        "name": "Bria",
        "capital": "RMD",
        "state": "VA"
      },
      {
        "name": null,
        "capital": "SEA",
        "state": "WASH"
      },
      {
        "name": "Guadalupe",
        "capital": "RMD",
        "state": "VA"
      }
    ]
  }
}

Does it solve your issue?
Or you always need an exact number of elements in the array?

When I was trying this out it was not working. Do you need to define every property on the object for it to work? Will the ones you don't define not fall through to the fake object property definitions?

When I was trying this out it was not working.

I pushed changes to examplesOnObjects a few minutes ago. You can try it there:
npm install
npm start

Do you need to define every property on the object for it to work?

Only properties for which you want fixed values.

Will the ones you don't define not fall through to the fake object property definitions?

By default, they will fall through and would be faked as usual to explicitly prevent this just define the property with null as the values.

Looks great! Have not had time to try it yet, but I had question. Given that `values' takes an array of objects that match the properties type, would it make more sense to pass in an array of objects into values like I did in my example? That way if you want to mock a single object, the same pattern of an array of objects would work.

Looks great! Have not had time to try it yet

@sepehr500 I pulished experimental NPM package with this change so you only need to run:
npm install -g<EMAIL_ADDRESS>
Can you please test it and If it solves your problem I will include this change into the next release.

Given that `values' takes an array of objects that match the properties type, would it make more sense to pass in an array of objects into values like I did in my example? That way if you want to mock a single object, the same pattern of an array of objects would work.

Didn't fully understand your question can you please provide some examples?

Tried it out, and it works great! Let me rephrase my previous question
Currently, if want to fake a string, I do the following
type CourtCase {
  jurisdiction: String @examples(values: ["DFT", "FUR"])
}

This makes the think that values expects it's value to be an array of whatever the properties type is. So it would follow, that if the type was the following,
type CourtCase {
  jurisdiction: [String] @examples(values: [["DFT", "FUR"],["DFS","DNA"])
}

Since the property type is now an array of strings, it would make sense to pass in an array of strings into the array to match the return type. So if we take this same logic an apply it to Objects, then we would expect a property that has a type that is an array of objects, to look like the following,
type Query {
  allCourtCases: [CourtCase!]!
     @examples(values: [[{state: "WASH", capital: "SEA"},{state: "VA", capital: "RMD"}], [{state:"VA"}]])
}

This way, you have a consistent rule that values always expects an array of whatever type the return type of the property is.

@sepehr500 I released support of @example on objects in 1.4.0 🎉
Thank you for reporting this issue and highlighting inconsistency with values 👍


Fix URL zoom parameter parsing

Note: I haven't updated the bundle files, they contained many unrelated code
changes and movements. Shouldn't these files be removed from the repository
anyway since they are recreated when invoking "make"?

@marcows we are serving map.project-osrm.org from this repository that is why the bundle files are in there. I usually do js updates only on deployments, so this is perfect. :+1:


Hide it please...

@Wjxfi If you click close on each one and restart, the cookies will be saved and will not appear next time.

Hi, I have made an update to hide the Cookies banner in v8.3.
However, the two banners on DeepL appear to be managed by the DeepL server, not the client side Cookies. Therefore, please click the close button yourself to hide this one. (They will not be displayed next time)
v8.3 link:
https://github.com/sakusaku3939/DeepLAndroid/releases/tag/v8.3


pop-over close on click-outside? #question #featurerequest

Is it possible to close pop-overs on click-outside events?
I think the same logic could be used as in dropdowns...

Yes, you can trigger the popover with a focus instead of click. See https://getbootstrap.com/docs/3.3/javascript/#dismiss-on-next-click. Hope that works for you, if not feel free to reopen!

Thanks for the direction.
The problem is, that I would like to have a button in the pop-over. With the focus trigger, the button action is not executed.
Therefore, I probably have the options to style the dropdown like a pop-over or add the logic to the pop-over component. I'll update the issue with my findings ;)

@Techn1x I finally did it with a combination of ember-bootstrap and the addon ember-click-outside.
I wrapped the popover in a new component as following:
Component Template:
{{#bs-popover visible=popoverVisible onShow=(action 'popoverShown') }}
  {{bs-button  defaultText="Button" onClick=(action 'doSomething')}}
{{/bs-popover}}

Component JS:
import Component from '@ember/component';
import { set } from '@ember/object';
import { next } from '@ember/runloop';
import ClickOutside from 'ember-click-outside/mixins/click-outside';

export default Component.extend(ClickOutside, {
  popoverVisible: false,

 clickOutside(e) {
    const $target = $(e.target);
    const isInsidePopOver = $target.closest('.popover').length === 1;
    if (!isInsidePopOver && !this.isDestroyed) {
      set(this, 'popoverVisible', false);
    }
  },

  _attachClickOutsideHandler: on('didInsertElement', function() {
    next(this, this.addClickOutsideListener);
  }),
  _removeClickOutsideHandler: on('willDestroyElement', function() {
    set(this, 'popoverVisible', false);
    this.removeClickOutsideListener();
  }),
  click() {
    set(this, 'popoverVisible', true);
  },

  actions: {
    popoverShown() {
      set(this, 'popoverVisible', true);
    },
  }
});

Thanks @chvonrohr ! Your code was useful, and I have ended up using that addon to solve the problem.
I went with the built-in {{#click-outside}} component approach though (rather than using the mixin) because it resulted in cleaner code for me;
{{clickable-item class="clickable-item"}}

// app/templates/components/clickable-item.hbs
{{#click-outside class="clickable-item-content"
    action=(action (mut popoverVisible) false)
    except-selector=".clickable-item,.clickable-item-popover"}}

Some button element or something

{{/click-outside}}

{{#bs-popover visible=popoverVisible class="clickable-item-popover"}}

Some item that you want to be able to click on without dismissing popover, like an input field

{{/bs-popover}}

//app/components/clickable-item.js
import Component from '@ember/component';

export default Component.extend({
  click() {
    this.set('popoverVisible', true);
  }
});


🐛 [firebase_auth] Apple email is empty

Bug report
When using apple login, firebase does not save the apple email
Steps to reproduce
Steps to reproduce the behavior:
    final appleProvider = AppleAuthProvider();
    final cred = await FirebaseAuth.instance.signInWithProvider(appleProvider);
    final userCred = await authInstance!.signInWithCredential(cred.credential!);
    final user = userCred.user!;

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[√] Flutter (Channel stable, 3.10.5, on Microsoft Windows [Version 10.0.22623.1325], locale en-GB)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[!] Visual Studio - develop for Windows (Visual Studio Build Tools 2017 15.9.49)
    X Visual Studio 2019 or later is required.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2022.2)
[√] IntelliJ IDEA Ultimate Edition (version 2022.3)
[√] IntelliJ IDEA Ultimate Edition (version 2023.1)
[√] VS Code (version 1.75.1)
[√] Connected device (4 available)
[√] Network resources

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 3.0.5
Flutter SDK 3.10.5
dtaxback_app 1.4.19+220

dependencies:
- async 2.11.0 [collection meta]
- badges 2.0.3 [flutter]
- barcode 2.2.4 [meta qr]
- bloc 8.1.2 [meta]
- carousel_slider 4.2.1 [flutter]
- cloud_firestore 4.8.1 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 4.3.3 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- collection 1.17.1
- country_code 1.0.0
- crypto 3.0.3 [typed_data]
- dio 4.0.6 [http_parser path]
- dotted_border 2.0.0+3 [flutter path_drawing]
- dynamic_themes 1.1.0 [flutter shared_preferences]
- equatable 2.0.5 [collection meta]
- file_picker 5.3.2 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path win32]
- firebase_auth 4.6.3 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_auth_oauth 1.2.2 [flutter firebase_auth firebase_core firebase_auth_oauth_platform_interface firebase_auth_oauth_web]
- firebase_auth_oauth_platform_interface 1.0.3 [flutter firebase_auth firebase_core]
- firebase_core 2.14.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 3.3.3 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_database 10.2.3 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter]
- firebase_dynamic_links 5.3.3 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_messaging 14.6.3 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_storage 11.2.3 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]
- flutter_bloc 8.1.3 [bloc flutter provider]
- flutter_chat_types 3.6.0 [equatable json_annotation meta]
- flutter_downloader 1.10.4 [flutter]
- flutter_easyloading 3.0.5 [flutter flutter_spinkit]
- flutter_facebook_auth 5.0.11 [flutter flutter_facebook_auth_platform_interface flutter_facebook_auth_web facebook_auth_desktop]
- flutter_firebase_chat_core 1.6.4 [cloud_firestore firebase_auth firebase_core flutter flutter_chat_types meta]
- flutter_inappwebview 5.7.2+3 [flutter]
- flutter_localizations 0.0.0 [flutter intl characters clock collection js material_color_utilities meta path vector_math]
- flutter_pdfview 1.3.1 [flutter]
- flutter_svg 2.0.7 [flutter vector_graphics vector_graphics_codec vector_graphics_compiler]
- flutter_switch 0.3.2 [flutter]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- go_router 8.1.0 [collection flutter flutter_web_plugins logging meta]
- google_fonts 4.0.4 [flutter http path_provider crypto]
- google_sign_in 6.1.4 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- http 0.13.6 [async http_parser meta]
- iban 1.0.1 [mod97]
- image_picker 0.8.9 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_linux image_picker_macos image_picker_platform_interface image_picker_windows]
- intercom_flutter 7.6.9 [flutter flutter_web_plugins intercom_flutter_platform_interface intercom_flutter_web]
- intl 0.18.0 [clock meta path]
- introduction_screen 3.1.8 [flutter dots_indicator collection flutter_keyboard_visibility]
- ionicons 0.2.2 [flutter]
- lints 2.0.1
- local_auth 2.1.6 [flutter local_auth_android local_auth_ios local_auth_platform_interface local_auth_windows]
- logger 1.4.0
- mailer 6.0.1 [async logging intl mime path meta]
- mime 1.0.4
- modal_bottom_sheet 2.1.2+1 [flutter]
- nanoid 1.0.0
- open_filex 4.3.2 [flutter ffi]
- package_info_plus 4.0.2 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface win32]
- path_provider 2.0.15 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- pdf 3.10.1 [archive barcode bidi crypto image meta path_parsing vector_math xml]
- photo_view 0.14.0 [flutter]
- provider 6.0.5 [collection flutter nested]
- reactive_dropdown_search 2.0.0 [flutter reactive_forms dropdown_search]
- reactive_forms 15.0.0 [flutter intl]
- reactive_phone_form_field 1.0.1 [flutter reactive_forms phone_form_field]
- reactive_segmented_control 1.0.0 [flutter reactive_forms]
- reactive_touch_spin 0.8.0 [flutter reactive_forms intl flutter_touch_spin]
- responsive_sizer 3.1.1 [flutter]
- screen_brightness 0.2.2 [flutter screen_brightness_platform_interface screen_brightness_android screen_brightness_ios screen_brightness_macos screen_brightness_windows]
- share_plus 7.0.2 [cross_file meta mime flutter flutter_web_plugins share_plus_platform_interface file url_launcher_web url_launcher_windows url_launcher_linux url_launcher_platform_interface ffi win32]
- shared_preferences 2.1.2 [flutter shared_preferences_android shared_preferences_foundation shared_preferences_linux shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- simple_animations 5.0.2 [flutter collection]
- upgrader 7.1.0 [flutter device_info_plus html http os_detect package_info_plus shared_preferences url_launcher version xml]
- visibility_detector 0.3.3 [flutter]

dev dependencies:
- dart_code_metrics 5.7.5 [analyzer analyzer_plugin ansicolor args collection crypto dart_code_metrics_presets file glob html http meta path platform pub_updater source_span uuid xml yaml]

transitive dependencies:
- _fe_analyzer_shared 61.0.0 [meta]
- _flutterfire_internals 1.3.3 [collection firebase_core firebase_core_platform_interface flutter meta]
- analyzer 5.13.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- analyzer_plugin 0.11.2 [analyzer collection dart_style pub_semver yaml]
- ansicolor 2.0.1
- archive 3.3.7 [crypto path pointycastle]
- args 2.4.2
- bidi 2.0.6
- boolean_selector 2.1.1 [source_span string_scanner]
- characters 1.3.0
- circle_flags 1.0.4 [flutter flutter_svg]
- clock 1.1.1
- cloud_firestore_platform_interface 5.15.1 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.6.1 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.4.3 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.5.3 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- convert 3.1.1 [typed_data]
- cross_file 0.3.3+4 [js meta]
- csslib 1.0.0 [source_span]
- dart_code_metrics_presets 1.8.0
- dart_countries 3.0.3
- dart_style 2.3.1 [analyzer args path pub_semver source_span]
- device_info_plus 9.0.2 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32 win32_registry]
- device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface]
- diacritic 0.1.4
- dots_indicator 2.1.2 [flutter]
- dropdown_search 5.0.6 [flutter]
- facebook_auth_desktop 0.0.9 [flutter http flutter_secure_storage flutter_facebook_auth_platform_interface]
- fake_async 1.3.1 [clock collection]
- ffi 2.0.2
- file 6.1.4 [meta path]
- file_selector_linux 0.9.1+3 [cross_file file_selector_platform_interface flutter]
- file_selector_macos 0.9.2 [cross_file file_selector_platform_interface flutter]
- file_selector_platform_interface 2.6.0 [cross_file flutter http plugin_platform_interface]
- file_selector_windows 0.9.2 [cross_file file_selector_platform_interface flutter]
- firebase 9.0.3 [http http_parser js]
- firebase_auth_oauth_web 1.1.1 [flutter flutter_web_plugins firebase firebase_auth firebase_core firebase_auth_oauth_platform_interface js]
- firebase_auth_platform_interface 6.15.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.5.3 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta]
- firebase_core_platform_interface 4.8.0 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.6.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.6.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_platform_interface 0.2.5+3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_web 0.2.3+3 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js]
- firebase_dynamic_links_platform_interface 0.2.6+3 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 4.5.3 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.5.3 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 4.4.3 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.6.3 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- flutter_facebook_auth_platform_interface 4.1.1 [flutter plugin_platform_interface]
- flutter_facebook_auth_web 4.1.1 [flutter flutter_web_plugins js flutter_facebook_auth_platform_interface]
- flutter_keyboard_visibility 5.4.1 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_linux flutter_keyboard_visibility_macos flutter_keyboard_visibility_web flutter_keyboard_visibility_windows flutter]
- flutter_keyboard_visibility_linux 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_keyboard_visibility_macos 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_keyboard_visibility_windows 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_plugin_android_lifecycle 2.0.15 [flutter]
- flutter_secure_storage 8.0.0 [flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows meta]
- flutter_secure_storage_linux 1.1.3 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_macos 3.0.0 [flutter flutter_secure_storage_platform_interface]
- flutter_secure_storage_platform_interface 1.0.1 [flutter plugin_platform_interface]
- flutter_secure_storage_web 1.1.1 [flutter flutter_secure_storage_platform_interface flutter_web_plugins js]
- flutter_secure_storage_windows 2.0.0 [flutter flutter_secure_storage_platform_interface]
- flutter_spinkit 5.2.0 [flutter]
- flutter_touch_spin 2.0.0 [flutter intl]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- glob 2.1.2 [async collection file path string_scanner]
- google_identity_services_web 0.2.1 [js meta]
- google_sign_in_android 6.1.16 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.6.2 [flutter google_sign_in_platform_interface]
- google_sign_in_platform_interface 2.4.1 [flutter plugin_platform_interface quiver]
- google_sign_in_web 0.12.0+2 [flutter flutter_web_plugins google_identity_services_web google_sign_in_platform_interface http js]
- html 0.15.4 [csslib source_span]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- image 4.0.17 [archive meta xml]
- image_picker_android 0.8.7+3 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 2.2.0 [flutter flutter_web_plugins image_picker_platform_interface mime]
- image_picker_ios 0.8.8 [flutter image_picker_platform_interface]
- image_picker_linux 0.2.1 [file_selector_linux file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_macos 0.2.1 [file_selector_macos file_selector_platform_interface flutter image_picker_platform_interface]
- image_picker_platform_interface 2.8.0 [cross_file flutter http plugin_platform_interface]
- image_picker_windows 0.2.1 [file_selector_platform_interface file_selector_windows flutter image_picker_platform_interface]
- intercom_flutter_platform_interface 1.2.3 [flutter plugin_platform_interface]
- intercom_flutter_web 0.2.3 [flutter flutter_web_plugins intercom_flutter_platform_interface uuid]
- js 0.6.7 [meta]
- json_annotation 4.8.1 [meta]
- local_auth_android 1.0.31 [flutter flutter_plugin_android_lifecycle intl local_auth_platform_interface]
- local_auth_ios 1.1.3 [flutter intl local_auth_platform_interface]
- local_auth_platform_interface 1.0.7 [flutter plugin_platform_interface]
- local_auth_windows 1.0.8 [flutter local_auth_platform_interface]
- logging 1.2.0
- matcher 0.12.15 [async meta stack_trace term_glyph test_api]
- material_color_utilities 0.2.0
- meta 1.9.1
- mod97 1.0.0
- nested 1.0.0 [flutter]
- os_detect 2.0.1
- package_config 2.1.0 [path]
- package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- path 1.8.3
- path_drawing 1.0.1 [vector_math meta path_parsing flutter]
- path_parsing 1.0.1 [vector_math meta]
- path_provider_android 2.0.27 [flutter path_provider_platform_interface]
- path_provider_foundation 2.2.3 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.11 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.0.6 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.7 [ffi flutter path path_provider_platform_interface win32]
- petitparser 5.4.0 [meta]
- phone_form_field 7.1.0 [flutter flutter_localizations circle_flags phone_numbers_parser dart_countries intl diacritic]
- phone_number_metadata 5.0.4 [path dart_countries]
- phone_numbers_parser 7.0.2 [phone_number_metadata meta dart_countries]
- platform 3.1.0
- plugin_platform_interface 2.1.4 [meta]
- pointycastle 3.7.3 [collection convert js]
- process 4.2.4 [file path platform]
- pub_semver 2.1.4 [collection meta]
- pub_updater 0.3.0 [http json_annotation process pub_semver]
- qr 3.0.1 [meta]
- quiver 3.2.1 [matcher]
- screen_brightness_android 0.1.0+2 [flutter screen_brightness_platform_interface]
- screen_brightness_ios 0.1.0 [flutter screen_brightness_platform_interface]
- screen_brightness_macos 0.1.0+1 [flutter screen_brightness_platform_interface]
- screen_brightness_platform_interface 0.1.0 [flutter plugin_platform_interface]
- screen_brightness_windows 0.1.1 [flutter screen_brightness_platform_interface]
- share_plus_platform_interface 3.2.1 [cross_file flutter meta mime plugin_platform_interface path_provider uuid]
- shared_preferences_android 2.1.4 [flutter shared_preferences_platform_interface]
- shared_preferences_foundation 2.2.2 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.2.0 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.2.0 [flutter plugin_platform_interface]
- shared_preferences_web 2.1.0 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.2.0 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- sky_engine 0.0.99
- source_span 1.9.1 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- string_scanner 1.2.0 [source_span]
- term_glyph 1.2.1
- test_api 0.5.1 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.2 [collection]
- url_launcher 6.1.11 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- url_launcher_android 6.0.36 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.1.4 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.5 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.5 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.3 [flutter plugin_platform_interface]
- url_launcher_web 2.0.17 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.6 [flutter url_launcher_platform_interface]
- uuid 3.0.7 [crypto]
- vector_graphics 1.1.7 [flutter vector_graphics_codec]
- vector_graphics_codec 1.1.7
- vector_graphics_compiler 1.1.7 [args meta path_parsing xml vector_graphics_codec]
- vector_math 2.1.4
- version 3.0.2
- watcher 1.0.2 [async path]
- win32 5.0.4 [ffi]
- win32_registry 1.1.1 [ffi win32]
- xdg_directories 1.0.0 [meta path process]
- xml 6.3.0 [collection meta petitparser]
- yaml 3.1.2 [collection source_span string_scanner]

Hi @valas69, it seems the email scope is missing from your configuration. Can you add that to see if it works for you?
You can add the scope by adding the following line to your code
appleProvider.addScope('email');

I'm guessing the people whose emails do not show up probably have hide my email active. If adding the scope does not return it, there likely isn't much that we can do.

It does, but if the scope is missing when the request was first sent, apple treats it as not relevant and does not return it. Also, from what I gather, the email and name are only sent once when the user signs up, after which it is not sent again. So even if you logout and login, the information will not be present unless the user recreates their account with your service.
Kindly see https://developer.apple.com/forums/thread/132223


Reduce running times by minimizing the number of calls to the Reddit API

Problem
Currently, the main reason for high running times is the rate limit of the Reddit API. So we should minimize the number of calls to reduce running times.
Validation of the Problem
Test code:
# Assume api_ is declared and Neo4j is started
net = RedditNetwork(
        driver=driver_,
        components=[
            Comments(Redditor(api_, "Anub_Rekhan", limit=5))
        ]
    )
net.run_cypher_code()

The rate-limit evasion function in PRAW is called 59 times by the code above.
The code creates 18 nodes and 22 relationships atm. 59 is simply too much for such a small graph.
cProfile results:

Why are there so many requests?
TL;DR: The current version sends an unnecessary amount of requests.
Num of calls - Redditor object itself: 1
Num of calls - Getting the complete list of comments: 5 (2 items in the list of 11 comments are duplicate. That'll be fixed)
Num of calls - Merge and Link Comments: 33; At each iteration: 3 (1 Comment, 1 Author, 1 Submission). 3 * 11 = 33
Num of calls - Merge and Link Submissions: 22; At each iteration: 2 (1 Subreddit, 1 Author). 2 * 11 = 22 (There shouldn't be 11 submissions instead of 2. That'll be fixed)
The total number of calls is 61 (Same with the number in the Call Graph)
What to do?

"Merge code" generation shouldn't require a data_models object. Maybe abstract? (Affects 55 calls in the example above)
Find other ways of getting the complete list of comments (Affects 5 calls in the example above)

I am finally able to continue working on the update, things are going good i guess:


Customize border through builder

Dave N. wrote on July 17 to ask if there's a way through the builder to customize the border / lack thereof around the player

(note, got another request for same option from same producer in late Aug)


Hessian matrix

Hello,
Can you please tell me how to get the Hessian matrix or second derivative in GPflow?

You can use tf.hessians. Which hessian are you after? If you want the objective wrt to the  model parameters this is a bit fiddly as the parameters aren't packed into a single vector. If you want the hessian wrt e.g. test inputs then this is much easier. If you actually want a hessian-vector product then directly calculating the hessian and doing the multiplication is extremely inefficient and much better ways exist

Thanks a lot. I want the Hessian matrix that allows me to calculate the Cramer Rao lower bound.

For the hyperparameters? For GPR this should just be the Hessian of the objective function.

The fiddlyness here is that you'll need to be careful with the packing of the tensors and taking the gradients. As encountered in #790, if you pack the hyperparameters into a single tensor and then get the gradients of the objective wrt that tensor you'll get a None gradient. Of course, if you only want the diagonals of the Hessian then that's really easy and can be done in a couple of lines.

Dear @ionut199418, it would be great if you could post this as a question on stackoverflow (tagged gpflow: https://stackoverflow.com/questions/tagged/gpflow), whether you're still looking for an answer or found it by now (in which case I would encourage you to answer it yourself) so that future users can also benefit. Hope this makes sense!


require "mail" in Langchain::Processors::Eml breaks dependency loader

Langchain::Processors::Eml has a require "mail" but it also has a
      def initialize(*)
        depends_on "mail"
      end

Which doesn't make any sense in case I do not want to process eml files and don't have mail library available.
require "mail" should be removed from the top line in langchain/processors/eml.rb

@ipepe Good call, should be fixed now.


Fix: Reset cooldown now applies to preparing seeds that move to main grid

Fixes #13 as reset cooldown is now also applied to preparing seeds that move to main grid.

Gonna include in 1.1.1 hotfix


Add network policy to restrict traffic from kube-apiserver

This PR restricts the outgoing network from kube-apiserver

Adds labels "role:kube-system " to kube-system namespace in seed.
Outgoing to seeds pod, node, service networks is blocked.
Allow outgoing traffic to etcd only on port 2379
Allow outgoing traffic to port 53 on kube-system namespace

Since k8s 1.10 or below doesn't allow to choose specific pods in different namesapce in networkpolicy, so we were not able to harden it for only kube-dns pod.

TODO: Add network policy for other control-plane components as well.
For: https://github.com/gardener/gardener/issues/265
Signed-off-by: Swapnil Mhamane<EMAIL_ADDRESS>

@marwinski  It's not that simple - on GCE the metadata service is available at http://metadata.google.internal (it still resolves to <IP_ADDRESS>, but that IP can change)

On AliCloud is <IP_ADDRESS> https://www.alibabacloud.com/help/faq-detail/49122.htm

Yes. Me too looking into different cloud providers. It seems to be cloud specific.
I was thinking on the line of creating some externalName service  for this metadata url, but since networkPolicy doesn't support some selector based on service, can't go forward with it.
NetworkPolicy can be used in such case only if ip is static. But since GCP uses DNS, its complicated.

cc @amshuman-kr

In the case of GCP, I think the only way is to create a whitelisting controller that updates the networkpolicy whenever the metadata service IP address changes.
But if we write such a controller, then we can use it to watch on the shoot apiserver to whitelist apiserver extensions, externalName services, admission webhooks etc. as well. Then we can get rid of the blacklisting.

@amshuman-kr let's do that later. For now <IP_ADDRESS> is okay for every single provider which Gardener supports

@mvladev Agreed. That is a long path. We should add the static IP for now.

Static IP appears just fine for now. Azure and OpenStack use the same IP addresses for the metadata service. A change would probably trigger a revolution...

Updated the PR to block cloud provider metadata service access from kube-apiserver. Unfortunately I could make it generic to shoot-control-plane namespace or entire seed cluster because of limited support from NetworkPolicy.

I would also add the hard-coded IP, but why not in a separate network policy? I thought we'd like to make this a default (no podSelector), maybe even one that we deploy into all shoots (see Slack)?

@vlerenc Network policies apply to resources in a namespace not globally.

@vlerenc The blacklisting policies here are not really blacklisting. They are actually whitelisting with the except clause and network policies combine additively (for allowing). So, two pseudo-blacklisting would combine to allow kube-apiserver to reach everything in the seed cluster again.
We will have to add some != selector in the separate general policy to exclude it from applying to kube-apiserver and also add the metadata service to kube-apiserver specific policy separately.

Is there something we can do in the calico configuration to disable access to the metadata service altogether instead of disabling it using network policy?

@amshuman-kr you are assuming that Calico is going to be deployed on Seed clusters. In some cases it might not be the case.

@mvladev We will need some network plugin (if not calico) that has good support for network policies. If we are using something else then we can think of configuring that too.

Looks like calico policies can do namespace and pod selector as well as true blacklisting -> https://docs.projectcalico.org/v2.4/getting-started/kubernetes/tutorials/advanced-policy

@mvladev Yes, I know. Community solves this with webhooks, if I remember correctly. Not sure what the best practice is, but that was one way to do it.

What will be the gardener release where this fix is included and when will it be released? Will it be 0.8.2 or 0.9.0? Will it be released end of this week?


[consensus][easy] fix the epoch race

Motivation
There's some reace between epoch manager and the networking that results
in starting the same epoch EventProcessor multiple times.
Because we may receive multiple EpochChange messages and before we start
the new epoch they'll all pass the verification and stay in the queue.
This change adds a guard to the avoid this.
Have you read the Contributing Guidelines on pull requests?
Y
Test Plan
Existing tests.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

@dmitri-perelman I'm investigating why reconfiguration_test is flaky and noticed this behavior, we'll start the same epoch multiple times which means we reset our safety rules too.
The symptom is the leader of round 1 may propose multiple blocks for round 1, and all of them may have QC etc.

@bors-libra r=dmitri-perelman

:pushpin: Commit 1d9cb09 has been approved by dmitri-perelman

:hourglass: Testing commit 1d9cb097426bd906d5a4d86244f399703ba500d7 with merge 0f9bccda2e9fe9505b8e8ef2a23ba86b56f65196...

Yes, I see. This change is obviously a good one, but it's hard to see now that starting EventProcessor multiple times for the same epoch can cause problems: it's more of a weird behavior, but not a correctness problem. Although it could definitely confuse the testing network playground, which might wait for a specific number of messages.

:sunny: Test successful - checks-circle_commit_workflow
Approved by: dmitri-perelman
Pushing 0f9bccda2e9fe9505b8e8ef2a23ba86b56f65196 to master...


README: Update course to core programing and advanced math

Adding Core Programming Courses, Core math and advanced Math Courses

why you adding them! i think the current core programming courses covers what you'd added!

Hi @rahulpatial98, thank you for your enthusiasm for adding new resources to OSSU!
I am closing this as we are not currently accepting pull requests for new material in the curriculum. A major re-write is pending, of which you can read a summary, or just take a look at all the issues that have been generated recently.
Also, generally speaking when suggesting changes to the main curriculum (i.e. any course in README.md), you should instead raise an issue. We don't change a course in the curriculum unless there is a very good reason to do so.
We generally try to avoid redundancy, but you'll notice that a couple resources you suggested will likely get added as supplements.
I encourage you to be involved in these discussions!


Import more datasource tests

What changes were proposed in this pull request?
Imported more datasource tests from below Spark directories:
https://github.com/apache/spark/tree/v3.2.2/sql/core/src/test/scala/org/apache/spark/sql/connector
https://github.com/apache/spark/tree/v3.2.2/sql/core/src/test/scala/org/apache/spark/sql/execution/datasources
https://github.com/apache/spark/tree/v3.2.2/sql/core/src/test/scala/org/apache/spark/sql/sources.
How was this patch tested?
Testing on CI.

https://github.com/oap-project/gluten/issues/374


[flutter_tools] _CastError in dart debug adapter

On Flutter version stable/3.0.4 with command flutter debug-adapter
Thread 0 main thread_CastError: type 'String' is not a subtype of type 'Map<String, Object?>' in type cast
at new NextArguments.fromMap(protocol_generated.dart:3514)
at NextArguments.fromJson(protocol_generated.dart:3503)
at BaseDebugAdapter.handle(base_debug_adapter.dart:112)
at BaseDebugAdapter._handleIncomingRequest(base_debug_adapter.dart:324)
at BaseDebugAdapter._handleIncomingMessage(base_debug_adapter.dart:273)
at ByteStreamServerChannel._readMessage(protocol_stream.dart:82)
at ByteStreamServerChannel.listen.<anonymous closure>(protocol_stream.dart:53)
at _rootRunUnary(zone.dart:1434)
at _CustomZone.runUnary(zone.dart:1335)
at _CustomZone.runUnaryGuarded(zone.dart:1244)
at _BufferingStreamSubscription._sendData(stream_impl.dart:341)
at _DelayedData.perform(stream_impl.dart:591)
at _StreamImplEvents.handleNext(stream_impl.dart:706)
at _PendingEvents.schedule.<anonymous closure>(stream_impl.dart:663)
at _rootRun(zone.dart:1418)
at _CustomZone.run(zone.dart:1328)
at _CustomZone.runGuarded(zone.dart:1236)
at _CustomZone.bindCallbackGuarded.<anonymous closure>(zone.dart:1276)
at _rootRun(zone.dart:1426)
at _CustomZone.run(zone.dart:1328)
at _CustomZone.runGuarded(zone.dart:1236)
at _CustomZone.bindCallbackGuarded.<anonymous closure>(zone.dart:1276)
at _microtaskLoop(schedule_microtask.dart:40)
at _startMicrotaskLoop(schedule_microtask.dart:49)
at _runPendingImmediateCallback(isolate_patch.dart:122)
at _RawReceivePortImpl._handleMessage(isolate_patch.dart:193)

Looks like this bottoms out in dds at https://github.com/dart-lang/sdk/blob/main/pkg/dds/lib/src/dap/base_debug_adapter.dart#L112
  Future<void> handle<TArg, TResp>(
    Request request,
    _RequestHandler<TArg, TResp> handler,
    TArg Function(Map<String, Object?>) fromJson,
  ) async {
    final args = request.arguments != null
        ? fromJson(request.arguments as Map<String, Object?>)

@DanTup do you know if this is a matter of the message argument being the wrong type, or if this is a valid schema and the cast is too specific? Unfortunately I have no details into what the actual request was.

SGTM: So probably we should close this as a dupe of https://github.com/flutter/flutter/issues/105856 and I'll close that one once I've verified it's rolled in and also working there.


Pull to refresh still activated when scrolling horizontally and disableWhenHorizontalMove is true

I believe this issue is the same or similar to https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh/issues/133. When scrolling horizontally on a view when disableWhenHorizontalMove is true, pull to refresh gets activated and my RecyclerView inside of the PtrFrameLayout scrolls vertically when it should be locked while scrolling horizontally. At least, that's my understanding of how disableWhenHorizontalMove works when true.
I've checked out the source code and built the library, trying a few things and it looks like this recent commit in 1.0.10 is causing the problem: https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh/commit/2b14a88d780074bd0ebce4374380d1de2bcee053. Reverting this commit seems to fix it.

@mduong Thanks for note. I have the same issue, and fix it by degrade the library to version 1.0.9.


Unable to use parjs

I've tried launching basic example from docs, however my typescript environment is unable to locate parjs module after installation. I've attached basic example, just unzip and run npm i to install it's dependencies. After that any attempt to compile the project using command-line tsc call gives

Here is basic example zip file:
parjs-example.zip
It looks like a bug or am I wrong?...

Judging by the source code, It looks like the wrong package got published 🙈
There's a script called publish.ts that creates a new .tmp/publish package with everything the documentation suggests, confirmed by the fact that it works locally if I symlink it in node_modules.
0.12.3 seems to have published parjs instead of parjs/.tmp/publish.
In the meantime, downgrading to 0.12.2 fixes the issue.

Thanks for the headsup! Yes, I think it's a 🙈 issue indeed. I uploaded a new version and it works now.


Need to disable start or end layer

Hi, I don't want the start layer to move on AM time and also for PM time I don't want the end layer to move. So can you please mention how to stop the working of one layer.

Hm. The control is not currently designed to do that. PRs are welcome.
On 8 aprile 2017 a 3:25:53 AM, Estrradoaneesh<EMAIL_ADDRESS>scritto:
Hi, I don't want the start layer to move on AM time and also for PM time I don't want the end layer to move. So can you please mention how to stop the working of one layer.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Version Packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Patch Changes

4af651b Thanks @Blackman99! - feat: add max width restriction for images

Updated dependencies []:

<EMAIL_ADDRESS>

fix #270


Added tester file for RDS

Covered Items in this PR is

RDS - database instance is encrypted
RDS - instance is not using the default port
RDS - instance is not publicly accessible
RDS - snapshot is not publicly accessible

Commented Issues have been fixed.

@iyuvalk .gitignore is removed and pushed


Update whats-new.rst

The release year of v0.10.9 is corrected from 2019 to 2018

[x ] Tests added (for all bug fixes or enhancements)
[ x] Tests passed (for all non-documentation changes)
[x ] Fully documented, including whats-new.rst for all changes and api.rst for new API (remove if this change should not be visible to users, e.g., if it is an internal clean-up, or if this is part of a larger project that will be documented later)

Thanks @jchenzhong !

@pydata/xarray This was requested to merge into stable.
Is that OK? I'm not sure how the master & stable branches interact.
Let me know if there are any follow-ups (e.g. merge this into master). I'll check this PR tonight and this weekend.


Change label 'genetic imprinting' -> 'genomic imprinting'

@ValWood confirmed with Prof Olaf Nielsen from U of Coppenhagen - there is no difference between 'genomic imprinting' and 'genetic imprinting'.
However in PubMed there are 8000 results with ''genomic imprinting'  and 200 with 'genetic imprinting' , so I will swap the label on these terms:

GO:0071514 genetic imprinting
GO:0071515 genetic imprinting at mating-type locus
GO:0006349 regulation of gene expression by genetic imprinting
GO:2000653 regulation of genetic imprinting
GO:0060819 inactivation of X chromosome by genetic imprinting

@colinlog @ValWood @RLovering @hattrill
Can I move 'genomic (genetic) imprinting' under
It's currently under

GO:0006139 nucleobase-containing compound metabolic process
GO:0060255 regulation of macromolecule metabolic process

That works for me.

Actually I don't understand the difference between
GO:0071514 genetic imprinting: Any process that modulates the frequency, rate or extent of the chemical reactions and pathways involving macromolecules by a mechanism that is mediated by DNA, is mitotically or meiotically heritable, or is stably self-propagated in the cytoplasm of a resting cell, and does not entail a change in DNA sequence.
and
GO:0006349 regulation of gene expression by genetic imprinting: Heritable alterations in the activity of a gene that depend on whether it passed through the paternal or the maternal germline, but that are not encoded by DNA itself.

How about this logical definition for 'genomic imprinting at mating-type locus'
LD
'genomic imprinting'
and 'occurs in' some 'mating-type region heterochromatin'

Change def:
GO:0006349 regulation of gene expression by genetic imprinting
"An epigenetic mechanism of regulation of gene expression in which imprints (epigenetic modification) are established during gametogenesis. For a given gene to show parentally biased expression, the imprint are established exclusively in one of the two parental genomes, thus generating an asymmetry between the maternal and paternal alleles."

genomic imprinting

[x]  move under 'heterochromatin assembly'
[x] Change def to 'The establishment of epigenetic modifications (imprints) during gametogenesis, leading to an asymmetry between the maternal and paternal alleles. This asymmetry results from the different epigenetic pathways acting in maternal and paternal gametes. '

@ValWood

[ ] GO:0071516 establishment of imprinting at mating-type locus has no annotations; can I merge into  GO:0071515 genetic imprinting at mating-type locus?

I have moved the  GO:0071515 genetic imprinting at mating-type locus under 'heterochromatin assembly', because it's a completely different mechanism (with the endonuclease) than the mammalian/plant pathway, with DNA methylation and other chromatin modifications.
I also changed the label to 'mating-type locus imprinting'
OK ?

GO:0071516 establishment of imprinting at mating-type locus has no annotations; can I merge into GO:0071515 genetic imprinting at mating-type locus?
GO:0071517 maintenance of imprinting at mating-type locus has no annotations either; do you want to keep ?
you can merge both -but I think there is some confusion here:

I have moved the GO:0071515 genetic imprinting at mating-type locus under 'heterochromatin assembly',

Unless I have this completely wrong (I never annotated this area), but mating-type switching isn't part of heterochromatin assembly.
The heterochromatin silences the non expressed mating cassette. But the mating-type switching isn't part of the heterochromatin assembly. It is the process that switches (replaces)  the gene sequence that is expressed in the active locus from the silenced/donor  locus by some recombination event (a little bit like VDJ recombination).  This item does not currently have any relationship to heterochromatin assembly, and  I don't think it should, but I would need to do a lot of reading to remember exactly how it happens. @Antonialock  might be able to comment/confirm but she is away until the New Year.

Mating type switching in S.c. is driven by endonuclease HO cleavage
followed by gene conversion. This is a form of (non-reciprocal) DNA
recombination, hereby the genetic information in one of the two silent
mating type loci on chromosome III are used to change the DNA at the
expressed mating type locus on that sae chromosome.
The silent copies are assembled into heterochomatin. The active locus is
euchromatin, bearing all the hallmarks of an expressed gene, always.
" Imprinting " has not been used as word in this context as it usually
refers to gender-specific methylation patterns in the gametes (sperm or
egg) of eutherians (mammals, marsupials) that influence (epigenetically)
the expression of autosomal chromosome genes that are expressed in a
parent-of-origin-specific fashion i the devloping embryo and placenta, in
hat has been term a 'war of sexes' whereby the mother must protect itself
from a too voracious embryo.
I am not sure botu mating type switching in S. pombe ...
On Fri, Dec 17, 2021 at 12:02 PM Val Wood @.***> wrote:

GO:0071516 establishment of imprinting at mating-type locus has no
annotations; can I merge into GO:0071515 genetic imprinting at mating-type
locus?
GO:0071517 maintenance of imprinting at mating-type locus has no
annotations either; do you want to keep ?
you can merge both -but I think there is some confusion here:
I have moved the GO:0071515 genetic imprinting at mating-type locus under
'heterochromatin assembly',
Unless I have this completely wrong (I never annotated this area), but
mating-type switching isn't part of heterochromatin assembly.
The heterochromatin silences the non expressed mating cassette. But the
mating-type switching isn't part of the heterochromatin assembly. It is the
process that switches (replaces) the gene sequence that is expressed in the
active locus from the silenced/donor locus by some recombination event (a
little bit like VDJ recombination). This item does not currently have any
relationship to heterochromatin assembly, and I don't think it should, but
I would need to do a lot of reading to remember exactly how it happens.
@Antonialock https://github.com/Antonialock might be able to
comment/confirm but she is away until the New Year.
—
Reply to this email directly, view it on GitHub
https://github.com/geneontology/go-ontology/issues/22217#issuecomment-996633975,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALZVLKH5PJXB2JQSNDCRNF3URMKGBANCNFSM5FERCKIQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

There are still 2 open questions here:

For GO:0071515 mating-type locus imprinting,  it sounds like heterochromatin assembly is OK here?

Merge these two into their parent 'GO:0071515 mating-type locus imprinting' ? Only the parent has annotations

GO:0071516 establishment of imprinting at mating-type locus
GO:0071517 maintenance of imprinting at mating-type locus

@ValWood
@Antonialock
@srengel

I don't think imprinting is part of heterochromatin assembly, I would say  Imprinting is part of 'mating-type switching' and related to heterochromatin assembly in some way (upstream?) but not part of it.  I previously tended to ignore this bit of biology because @Antonialock was our in-house expert. She explained it to me about 100 times ;)

[x] Changed subclasses GO:0071515 mating-type locus imprinting
-intersection_of: GO:0031507 ! heterochromatin assembly
-intersection_of: occurs_in GO:0031934 ! mating-type region heterochromatin
+is_a: GO:0022413 ! reproductive process in single-celled organism

[ ] merge up

GO:0071516 establishment of imprinting at mating-type locus
GO:0071517 maintenance of imprinting at mating-type locus

Dear all,
The proposal has been made to obsolete

GO:0071516 establishment of imprinting at mating-type locus
GO:0071517 maintenance of imprinting at mating-type locus

The reason for obsoletion is that these represent molecular functions that play a role in imprinting at mating-type locus (establishment is done by an endonuclease, the maintenance by a inhibitor of DNA repair). There are no annotations or mappings to these terms; these terms are no in any subsets.
You can comment on the ticket: https://github.com/geneontology/go-ontology/issues/22217
Thanks, Pascale


Custom component for "object" type

This is amazing work! Thanks for publishing.
Any plans to support custom components for the "object" type. I'm looking to create Tabs rather than Collapse for a wizard-like experience.

I understand, I will try to do this.

@delyanr It is now possible to create custom components of object type and custom components of oneOf.

Amazing. Thanks so much! I will play around with it. 💯


Upgrades fail with "The order in patch list"

Something in a recent merge has broken upgrades. Investigating.
$ helm upgrade opencost charts/opencost/ --namespace opencost -f local.yaml --set opencost.exporter.defaultClusterId='hermes-opencost' --debug
upgrade.go:155: [debug] preparing upgrade for opencost
upgrade.go:163: [debug] performing update for opencost
upgrade.go:356: [debug] creating upgraded release for opencost
client.go:393: [debug] checking 7 resources for changes
client.go:693: [debug] Patch NetworkPolicy "opencost-opencost" in namespace opencost
client.go:684: [debug] Looks like there are no changes for ServiceAccount "opencost"
client.go:684: [debug] Looks like there are no changes for Secret "opencost"
client.go:684: [debug] Looks like there are no changes for ClusterRole "opencost"
client.go:684: [debug] Looks like there are no changes for ClusterRoleBinding "opencost"
client.go:684: [debug] Looks like there are no changes for Service "opencost"
client.go:693: [debug] Patch Deployment "opencost" in namespace opencost
client.go:425: [debug] error updating the resource "opencost":
	 cannot patch "opencost" with kind Deployment: The order in patch list:
[map[name:LOG_LEVEL value:info] map[name:CUSTOM_COST_ENABLED value:false] map[name:KUBECOST_NAMESPACE value:opencost] map[name:KUBECOST_NAMESPACE value:opencost] map[name:CLOUD_COST_ENABLED value:true]]
 doesn't match $setElementOrder list:
[map[name:LOG_LEVEL] map[name:CUSTOM_COST_ENABLED] map[name:KUBECOST_NAMESPACE] map[name:API_PORT] map[name:PROMETHEUS_SERVER_ENDPOINT] map[name:CLOUD_PROVIDER_API_KEY] map[name:CLUSTER_ID] map[name:DATA_RETENTION_DAILY_RESOLUTION_DAYS] map[name:CLOUD_COST_ENABLED] map[name:CLOUD_COST_MONTH_TO_DATE_INTERVAL] map[name:CLOUD_COST_REFRESH_RATE_HOURS] map[name:CLOUD_COST_QUERY_WINDOW_DAYS] map[name:CLOUD_COST_RUN_WINDOW_DAYS] map[name:KUBECOST_NAMESPACE]]

upgrade.go:468: [debug] warning: Upgrade "opencost" failed: cannot patch "opencost" with kind Deployment: The order in patch list:
[map[name:LOG_LEVEL value:info] map[name:CUSTOM_COST_ENABLED value:false] map[name:KUBECOST_NAMESPACE value:opencost] map[name:KUBECOST_NAMESPACE value:opencost] map[name:CLOUD_COST_ENABLED value:true]]
 doesn't match $setElementOrder list:
[map[name:LOG_LEVEL] map[name:CUSTOM_COST_ENABLED] map[name:KUBECOST_NAMESPACE] map[name:API_PORT] map[name:PROMETHEUS_SERVER_ENDPOINT] map[name:CLOUD_PROVIDER_API_KEY] map[name:CLUSTER_ID] map[name:DATA_RETENTION_DAILY_RESOLUTION_DAYS] map[name:CLOUD_COST_ENABLED] map[name:CLOUD_COST_MONTH_TO_DATE_INTERVAL] map[name:CLOUD_COST_REFRESH_RATE_HOURS] map[name:CLOUD_COST_QUERY_WINDOW_DAYS] map[name:CLOUD_COST_RUN_WINDOW_DAYS] map[name:KUBECOST_NAMESPACE]]

Error: UPGRADE FAILED: cannot patch "opencost" with kind Deployment: The order in patch list:
[map[name:LOG_LEVEL value:info] map[name:CUSTOM_COST_ENABLED value:false] map[name:KUBECOST_NAMESPACE value:opencost] map[name:KUBECOST_NAMESPACE value:opencost] map[name:CLOUD_COST_ENABLED value:true]]
 doesn't match $setElementOrder list:
[map[name:LOG_LEVEL] map[name:CUSTOM_COST_ENABLED] map[name:KUBECOST_NAMESPACE] map[name:API_PORT] map[name:PROMETHEUS_SERVER_ENDPOINT] map[name:CLOUD_PROVIDER_API_KEY] map[name:CLUSTER_ID] map[name:DATA_RETENTION_DAILY_RESOLUTION_DAYS] map[name:CLOUD_COST_ENABLED] map[name:CLOUD_COST_MONTH_TO_DATE_INTERVAL] map[name:CLOUD_COST_REFRESH_RATE_HOURS] map[name:CLOUD_COST_QUERY_WINDOW_DAYS] map[name:CLOUD_COST_RUN_WINDOW_DAYS] map[name:KUBECOST_NAMESPACE]]

helm.go:84: [debug] cannot patch "opencost" with kind Deployment: The order in patch list:
[map[name:LOG_LEVEL value:info] map[name:CUSTOM_COST_ENABLED value:false] map[name:KUBECOST_NAMESPACE value:opencost] map[name:KUBECOST_NAMESPACE value:opencost] map[name:CLOUD_COST_ENABLED value:true]]
 doesn't match $setElementOrder list:
[map[name:LOG_LEVEL] map[name:CUSTOM_COST_ENABLED] map[name:KUBECOST_NAMESPACE] map[name:API_PORT] map[name:PROMETHEUS_SERVER_ENDPOINT] map[name:CLOUD_PROVIDER_API_KEY] map[name:CLUSTER_ID] map[name:DATA_RETENTION_DAILY_RESOLUTION_DAYS] map[name:CLOUD_COST_ENABLED] map[name:CLOUD_COST_MONTH_TO_DATE_INTERVAL] map[name:CLOUD_COST_REFRESH_RATE_HOURS] map[name:CLOUD_COST_QUERY_WINDOW_DAYS] map[name:CLOUD_COST_RUN_WINDOW_DAYS] map[name:KUBECOST_NAMESPACE]]

helm.sh/helm/v3/pkg/kube.(*Client).Update
	helm.sh/helm/v3/pkg/kube/client.go:438
helm.sh/helm/v3/pkg/action.(*Upgrade).releasingUpgrade
	helm.sh/helm/v3/pkg/action/upgrade.go:410
runtime.goexit
	runtime/asm_arm64.s:1222
UPGRADE FAILED
main.newUpgradeCmd.func2
	helm.sh/helm/v3/cmd/helm/upgrade.go:238
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.8.0/command.go:983
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.8.0/command.go:1115
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.8.0/command.go:1039
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
	runtime/proc.go:271
runtime.goexit
	runtime/asm_arm64.s:1222

It was a duplicate ENV_VAR from previous testing.


Homebrew

It would make installing and uninstall the program much simpler and more accessible

Also it will provide a convenient way for updates!
For more info: https://docs.brew.sh/Adding-Software-to-Homebrew

Thanks! Blocked by: https://github.com/orgs/Homebrew/discussions/5357

Thanks for linking the blocking discussion.

The only way seems to be to indeed bundle a script that would only execute this one command, but that would feel a bit awkward

Would you consider doing that for now, until that discussion is resolved?

@mhaeuser Any news on this topic? I'ld like to install Battery-Toolkit via Brew. Thanks 😄

No - nobody responded to the blocker and I haven’t gotten around to see whether there is an alternative way.

Don't have time to try again with homebrew casks repo (sometimes they reject)
So I create homebrew taps for myself.
Anyone want to install via brew can try: https://github.com/nhymxu/homebrew-tap
Note: manual update when have new version right now (because not have time to write auto-update function)
So if @mhaeuser release a new version, feel free to ping me or create PR on my repo.
Or wait @mhaeuser create other tap and handle update when release

@nhymxu if I'm not mistaken, the blocking issue described here applies to your cask as well, right?
If that's the case, if we want to uninstall, should we just download and run uninstall.sh instead of brew uninstall nhymxu/tap/battery-toolkit?
If so, that's fine by me, I don't anticipate needing to uninstall unless a future MacOS update breaks Battery Toolkit, but I just wanted to know and make sure.

@johnfernow Yes, it does. You can also use the GUI “Disable Background Activity” option, but uninstall.sh works too.

@clns In the menu bar > Battery Toolkit. It might feel a bit hidden, but it’s not a “quick command” like the rest. I should expand the README some day…


infinite wait

It would be nice if --timeout=-1 would wait forever until the port is available.

Infinite wait is already implemented, and indicated by executing --timeout=0.  You can find this detail in the documentation as well as the command line help.

@vishnubob thank you very much for that ... helps if you don't use a space between - and 1 when testing.


[WIP] Display inner exceptions

Fixes #3783

TODOs:

Handle aggregate exceptions (the default display of runtime is different)
Fix spacing issue

Thanks for starting to take a look at this! Is this on pause right now? Finding it very difficult to debug wrapped exceptions currently

Hi @thomhurst,
This is paused because we were discussing about the "presentation" of the data as to whether going closer to default runtime (knowing the display is different by runtime so we might be "always different") or to go with a custom look.
I also have to handle some more urgent tasks and discussions but will make sure this gets completed as soon as possible. FYI I'll include this in the 1.4.2 release so the wait period is as small as possible.

Hi @thomhurst,
This is paused because we were discussing about the "presentation" of the data as to whether going closer to default runtime (knowing the display is different by runtime so we might be "always different") or to go with a custom look.
I also have to handle some more urgent tasks and discussions but will make sure this gets completed as soon as possible. FYI I'll include this in the 1.4.2 release so the wait period is as small as possible.

No worries, thanks! Appreciate it 😄


Dialog has conflict with Keyboard dismiss event.

When keyboard get dismissed then this dialog occurred only for a second and then get hidded.  After that when tap a button to show it again, it do not appear until we change the context and come again to that view/screen.

I think issue is with following line..
var window = getCurrentView == null
? UIApplication.SharedApplication.Windows.Last()
: getCurrentView.Invoke();
Since keyboard last appeared and get dismissed when button is pressed to show datepickerdialog.
When I dont click on textfield then this picker works fine....

@alexsorokoletov  can you suggest a quick hack for this issue, if any exists.....??

Hi @musaab-qamar-zeeshan!
Thank you for opening the issue.
This is an open-source project and I am more than happy to accept a contribution that would fix the problem.
I'm not actively working on this project and the most recent releases were all based on contributions from other people like you.
To start with something, it would be great if you could provide additional information:

iOS version
Xamarin iOS version used to compile your app
A video that shows the problem

Hi, i have same problem. The problem is rare and occurs on specific phones. I only know that the case happened on iOS 14.5 , 14.6

@alexsorokoletov  @musaab-qamar-zeeshan
This issue is related to trying to force the keyboard to be turned off. If I try to disable the keyboard. DatePickerDialog also turns off.
Sample code :
`public override bool ShouldBeginEditing(UITextField textField)
{
        textField.ViewController().View.EndEditing(true);   //!!!!!!!  conflict

        var dialog = new DatePickerDialog();
        dialog.Show(...., ....., ......, UIDatePickerMode.Date, (DateTime obj) =>
        {
            textField.Text = obj.ToString("dd-MM-yyyy");
        .
        .
        .
        }, ......, .......);`

@MateuszLas421 thanks for the sample code, Github done something weird with the formatting.

Since this repo is a port of https://github.com/squimer/DatePickerDialog-iOS-Swift to Xamarin, has anyone tried to see if the same problem occurs in the Swift version?


Avoid EpochInfo in ChainDB

WIP. Addresses #1699.

Now that I understand better what needs to happen, I will redo this from scratch as a series of incremental changes.


No next page button option?

There is no next page button when it displays only till "files_list_page_size": 20,"?

I think I forgot to modify it in the test. Thanks for reminding me, you can modify it to 500

In addition, paging is not currently supported

Paging loading has been added


Get ready for laravel 5.3

Laravel 5.3 will be out in a month but I'm already testing version 5.3.0-dev for a project that will start in less than 2 weeks.
I've made a PR: https://github.com/rinvex/repository/pull/22
More to come.
Cheers

Sounds great, really appreciated 👍 Replied there and waiting your update 😉


Testing onboarding of batch to rush

This PR was created to see what it takes to onboard one of the auto-generated packages to rush. Closing it as we now know the gaps.


Bump to spacy v3 and minor fixes

Signed-off-by: Diwank Singh Tomer<EMAIL_ADDRESS>

Hi Diwank, thank you for your contribution :)

Happy to help! Thanks for putting this together 😃

Btw heads up: transformers pipeline() adds an "" token at the end anyway so the library shouldn't add it again.


Removed service existence check

Since https://codereview.chromium.org/1378013002, we don't need to check for service existence anymore.
R=@jeffposnick

:+1: I will take your word on that.


Set X-Identity-Zone-Id header from CLI

Maybe as a global option eg
uaac client add foo-admin -i -z foo

would interactively create a client in the zone with subdomain foo

This would depend on https://github.com/cloudfoundry/cf-uaa-lib/issues/17

Or maybe

Or maybe
# assume marissa is a zone admin for the zone with subdomain foo
uaac token authcode get -c identity -s identitysecret
# log in as marissa
uaac zone set foo
# does a lookup for the zone id where subdomain == foo
# now all subsequent requests will send the X-Identity-Zone-Id header
uaac clients
# returns all clients in the zone with subdomain foo
uaac zone unset
# now all subsequent requests will not send a X-Identity-Zone-Id header

Addressed by :  https://www.pivotaltracker.com/story/show/107930018


leetcode 0876 Ans

This CPP file contains ans fo leetcode Question 0876. WIth Time: 0 ms (100.00%), Space: 7 MB (45.19%)

@Saikat2407 please review this pull request. I have added a solution to leetcode problem in CPP language, this will help others in their coding journey.


refactor contracts to use Time trait

@shawntabrizi @4meta5 this PR is a very good, textbook style, example of how modules should not directly depend on each other and instead try and communicate via associated typed bounded by some common trait. Deserves attention in our docs/recipes/best-practices


Validation Error in Bioimage Model Zoo

Hi,
I am trying to upload the new version of 3D UNet - arabidopsis - ZeroCostDL4Mic (as other new models) and it gives me the following error during the uploading when clicking the validate bottom.
Error: {
  "name": "{name: 3D UNet - arabidopsis - ZeroCostDL4Mic, ...}",
  "source_name": "{name: 3D UNet - arabidopsis - ZeroCostDL4Mic, ...}",
  "error": "cannot pickle 'pyodide.JsProxy' object",
  "warnings": {},
  "traceback": [
    "  File \"/lib/python3.9/site-packages/bioimageio/spec/commands.py\", line 66, in validate\n    raw_rd = load_raw_resource_description(rdf_source, update_to_current_format=update_format)\n",
    "  File \"/lib/python3.9/site-packages/bioimageio/spec/io_.py\", line 232, in load_raw_resource_description\n    raw_rd = schema.load(data)\n",
    "  File \"/lib/python3.9/site-packages/marshmallow/schema.py\", line 719, in load\n    return self._do_load(\n",
    "  File \"/lib/python3.9/site-packages/marshmallow/schema.py\", line 844, in _do_load\n    processed_data = self._invoke_load_processors(\n",
    "  File \"/lib/python3.9/site-packages/marshmallow/schema.py\", line 1090, in _invoke_load_processors\n    data = self._invoke_processors(\n",
    "  File \"/lib/python3.9/site-packages/marshmallow/schema.py\", line 1220, in _invoke_processors\n    data = processor(data, many=many, **kwargs)\n",
    "  File \"/lib/python3.9/site-packages/bioimageio/spec/model/v0_4/schema.py\", line 388, in add_weights_format_key_to_weights_entry_value\n    data = deepcopy(data)  # Schema.validate() calls pre_load methods, thus we should not modify the input data\n",
    "  File \"/lib/python3.9/copy.py\", line 153, in deepcopy\n    y = copier(memo)\n",
    "  File \"<exec>\", line 274, in __deepcopy__\n",
    "  File \"/lib/python3.9/copy.py\", line 146, in deepcopy\n    y = copier(x, memo)\n",
    "  File \"/lib/python3.9/copy.py\", line 230, in _deepcopy_dict\n    y[deepcopy(key, memo)] = deepcopy(value, memo)\n",
    "  File \"/lib/python3.9/copy.py\", line 161, in deepcopy\n    rv = reductor(4)\n"
  ],
  "nested_errors": {}
}

Thanks for reporting this @crtorreg! This looks like an issue on the javascript side to me, so would probably be good if @oeway could have a look at it.
Could you upload the model somewhere for us to test, e.g. Google Drive with public access permissions?

Yes, for sure. This is the link of the model in google drive: model
Thank you!

Yes, for sure! This is the link to the model in google drive: model
Thank you!

I checked and I can  succesfully validate the model locally. @oeway could you check why this model fails the upload validation?

@crtorreg @constantinpape I just investigated into the issue, it appears that the problem is coming from the timestamp, we expect it to be a string, but in @crtorreg 's model, the timestamp is not explicitly quoted as a string, and when we parse it in js, it try to convert into a Date object, and that cause the issue of validation. (By default, js-yaml parser parses data-strings without quotes as Date objects.)
I also noticed that we were not clear in the spec about the type of timestamp, see issue.
For now I have added some hack to fix the type conversion to the validator plugin, it should work now. However, it might be better if @crtorreg can also add quotes around the timestamp value.
In the meantime, i will also submit an issue to pyodide to make sure we can convert the js Date object to python.

This should have been fixed now.

Yes, now it passes the validator! Thank you a lot.


ProfileList to be created

The Profiles from the existing OAS and CONFIGfile shall be documented in a ProfileList according to latest specification rules.
Just documentation, no changes; the original specification shall be represented.

No Profiles applied in the RegistryOffice.


Allow staging up to work on Ruby 3.0.0

What and Why

Allow us to properly stage up while on Ruby version 3.0.0. This will resolve https://github.com/dispatchinc/ninny/issues/13.
Deploy Plan

Rollback Plan

To roll back this change, revert the merge with: git revert -m 1 MERGE_SHA and perform another deploy.
Related URLs

Verification and QA Plan

[ ] Test that we can stage up on Ruby version 3.0.0
[ ] Test that we can stage up on Ruby version 2

Ruby version 3.0.0:
$ ninny stage_up
There don't seem to be any open merge requests.

Ruby version 2:
$ nsu
Which Merge Request? (Press ↑/↓/←/→ arrow to move and Enter to select)
‣ Merge Request Option 1
  Merge Request Option 2
  Merge Request Option 3
  Merge Request Option 4
  Merge Request Option 5


Support promises in interceptors?

Is there a way to accept promises in interceptors? The use case I have is I plan on using auth0-spa-js which will handle retrieving/refreshing Access Tokens as necessary, but does so with a Promise callback. I'd like my interceptor to use this directly, but for now I've gotten around it by "caching" the token myself and setting a timer to run every minute to update the cached value directly from the auth0 client.

Hey @someone1
this should work. Let me know if you get any problems.
function fetchToken(): Promise<string> {
  console.log('fetchToken() fetching a token asynchronously...');
  return new Promise<string>(resolve => {
    setTimeout(() => {
      console.log('fetchToken() got the token');
      resolve('example-token');
    }, 1250);
  });
}

const fetchTokenInterceptor: RpcInterceptor = {
  interceptUnary(next, method, input, options): UnaryCall {
    console.log(`fetchTokenInterceptor intercepting unary call: ${method.service.typeName} / ${method.name}`);

    // next() creates a call instance, sending data (including headers) to the server.
    // we want to wait until we have our token:
    const callPromise = new Promise<UnaryCall<any, any>>(resolve => {
      fetchToken().then(token => {
        if (!options.meta) {
          options.meta = {};
        }
        console.log(`fetchTokenInterceptor setting authorization = ${token}`);
        options.meta.Authorization = token;
        resolve(next(method, input, options));
      });
    });

    // we have to return a valid call instance immediately.
    // we wrap the promised call.
    return new UnaryCall<any, any>(
      method,
      options.meta ?? {},
      input,
      callPromise.then(c => c.headers),
      callPromise.then(c => c.response),
      callPromise.then(c => c.status),
      callPromise.then(c => c.trailers),
    );
  }
};

Ahhh - thank you! I got as far as trying to return callPromise in your example, didn't check to make a new UnaryCall  which does support promises.
It doesn't seem I can do the same trick for server streaming calls though - any suggestions there?

There are a couple of more gotchas with streaming calls, but this should work.
Basically also create an own output stream to have one ready ahead of time and delegate.
const fetchTokenInterceptor: RpcInterceptor = {

  interceptServerStreaming(next, method, input, options): ServerStreamingCall {
    console.log(`fetchTokenInterceptor intercepting server streaming call: ${method.service.typeName} / ${method.name}`);

    // we have to return an output stream instance before we get one
    // from next(), so we create our own and delegate data below...
    const outputStream = new RpcOutputStreamController();

    // next() creates a call instance, sending data (including headers) to the server.
    // we want to wait until we have our token:
    const callPromise = new Promise<[ServerStreamingCall]>((resolve, reject) => {
      fetchToken().then(token => {
        if (!options.meta) {
          options.meta = {};
        }
        console.log(`fetchTokenInterceptor setting authorization = ${token}`);
        options.meta.Authorization = token;

        // start the call
        const call = next(method, input, options);

        // delegate from the original output stream to the one controlled by us
        call.response.onNext((message, error, done) => {
          if (message)
            outputStream.notifyMessage(message);
          if (error)
            outputStream.notifyError(error);
          if (done)
            outputStream.notifyComplete();
        });

        // deliberately returning a tuple. the call is awaitable - the promise chain
        // would wait until the call is finished.
        resolve([call]);
      }, reason => {
        console.error('fetchTokenInterceptor failed to fetch token', reason);
        const err = new RpcError(`Failed to fetch token`, 'INTERNAL');
        outputStream.notifyError(err);
        reject(err);
      });
    });

    // we have to return a valid call instance immediately.
    // we wrap the promised call.
    return new ServerStreamingCall(
      method,
      options.meta ?? {},
      input,
      callPromise.then(c => c[0].headers),
      outputStream,
      callPromise.then(c => c[0].status),
      callPromise.then(c => c[0].trailers),
    );
  }

};

thanks again! Both methods seem to work though they require some specific wiring - would there be room to enhance interceptors to support promises in a future update?
Not a huge deal as it clearly works today as-is - just thinking about future changes that would require additional maintenance to these workarounds should the API surface change in a way that would otherwise not affect a simpler implementation.

You're welcome.
I have to admit that the required code is not intuitive at all. I never considered the use case when designing the API, unfortunately.
The Call classes have a reasonable API. But maybe the internals need something a little bit more basic. That should also improve the code for method styles (PR #10, not released yet).

Just for completeness, the last done check should be:
if (done && !outputStream.closed)
            outputStream.notifyComplete();

for some reason it was notifying complete multiple times

Just for completeness, the last done check should be:
if (done && !outputStream.closed)
            outputStream.notifyComplete();

for some reason it was notifying complete multiple times

That was actually a bug caused by ambiguous meaning of the "done" arg. Fixed in master, but is technically a breaking change, so this is only going to hit in 2.0, see CHANGELOG.
Your workaround will still work with the fix.

You're welcome.
I have to admit that the required code is not intuitive at all. I never considered the use case when designing the API, unfortunately.
The Call classes have a reasonable API. But maybe the internals need something a little bit more basic. That should also improve the code for method styles (PR #10, not released yet).

Why isn't my interceptServerStreaming called when have a response？

Why isn't my interceptServerStreaming called when have a response？

Have a look at the example here: https://github.com/timostamm/protobuf-ts/blob/master/packages/runtime-rpc/src/rpc-interceptor.ts


Datepicker watchers problem is solved?

Hi!
There are several issuies and PR witch releate to datpicker problem with plenty watchers.
https://github.com/angular-ui/bootstrap/pull/1915
https://github.com/angular-ui/bootstrap/pull/1922
https://github.com/angular-ui/bootstrap/pull/3666
https://github.com/angular-ui/bootstrap/issues/3705
I just want to clear is this problem fixed? With version can i use for avoid bug?

Those datepicker watches issue has been addressed by the following commits:
https://github.com/angular-ui/bootstrap/commit/b72efed56f68e9e5dbed934df7f47e0b5c94242c
https://github.com/angular-ui/bootstrap/commit/2a2e5de7d89a7a2b55268ec415ee60ba4315972e
There is 1 outstanding PR: #3770 which hopefully will be included in the 0.13.1 release.


Context timeout exceeded when appending to an AppendBlob

Question
I am using C++ Azure Blob Storage SDK 12.4.0 to call AppendBlock to append block to an AppendBlock. I am also leveraging Azure::Core::Context::WithDeadline(DateTime const & deadline) to enforce a 100ms timeout on client side. What I expected is all write operations longer than 100ms will be cancelled and throw an OperationCancelledException, but what I truly observed is that some operations still last long and client side got a response after 100ms, even 1s. My question is, is context timeout not a hard timeout for client? Thanks.
Setup

OS: Windows Server 2019
SDK Version: 12.4.0

As far as I know, context cancellation only tries best to cancel the operation. There's no guarantee it always works. Especially when the thread is trying to read data from wire, there's no way to cancel the blocking read operation until socket returns some data.
Core sdk team may know more about the implementation.

The context timeout only guarantees to never cancel early.

The context timeout only guarantees to never cancel early.

Thanks for clarifying. Another question about the data written to blob storage after cancellation. If some data has been written to a blob successfully on server but not returned to client yet, after cancellation, will this part data be reverted? Or just leave in storage as garbage data?

The data written to the server will be complete for that particular request.  The cancellation token does not send a cancel request to the service.

Rick is correct. Nothing will be reverted.


[Question] - Why we need 2 images for provider

Not a bug/feature request. Just a noobie question :)
Is there any reason to publish 2 images for the provider? One with provider and another suffixed with -controller. I tried to search docs & other official providers but they don't have seperate image for the controller.

The provider is based on the https://github.com/crossplane/provider-template. They used this structure, but have moved in the meantime to a single image setup. We might move at some point, but we have to take a closer look at what changed.


URL Text Box (Download)

User Story
As a User, I would like a text box available so that I can enter my URL to my database.
Detailed Description
After user clicks on the Download button from #8 , user should see some text asking them to input their URL in the provided text box.
Acceptance Criteria

[x] Given the user clicked on the Download button, then user should now see text that says "Please enter the URL to your database below", along with a text box.
[x] Given the user clicked on the Download button, then there should be a Next button and a Back button near the bottom:

[x] If Next is clicked, go to #5
[x] If Back is clicked, go to #8

Tasks

[x] #23
[x] #24
[x] #25
[x] #26

This story was completed.


Need a link to the IDataModelScriptHostContext page

https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/content/dbgmodel/nn-dbgmodel-idatamodelscripthostcontext

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

ID: fdd7b6a1-28bd-dfd6-3bb1-f5a4ef441427
Version Independent ID: 823550d0-6791-c4f5-4a1e-26613223b38c
Content: IDebugHostScriptHost::CreateContext (dbgmodel.h) - Windows drivers
Content Source: wdk-ddi-src/content/dbgmodel/nf-dbgmodel-idebughostscripthost-createcontext.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @DOMARS
Microsoft Alias: domars

@jazzdelightsme - I have added the link. I will close this issue when the changes are live. You are always welcome to send a PR for changes like this.

@jazzdelightsme - The topic updates are live, so closing this issue. Thanks for the issue and your interest in the DbgModel docs.


ResteasyContext never popped for SSE async streams

Fix for https://issues.redhat.com/projects/RESTEASY/issues/RESTEASY-2573

@FroMage, just yesterday I restore the tests that were excluded because of RESTEASY-2542 and we also moved to GitHub actions for the CI testing. Unfortunately, it looks like we still have intermittent SSE test failures. So, first of all I'd as you if you can rebase this PR against master as I've excluded again one test that seem to fail very frequently. Then we should investigate the failures (I'm asking Jim too as soon as he's back from holiday). Moreover, if you want to test this PR with the old TravisCI solution, we can do that as well (just let me know). Thanks.

@asoldano I just rebased on master. Do I need to do anything to get CI to run on GitHub Actions instead of Travis? I see travis kicked in, for some reason.

Failure:
2020-05-06T12:36:03.9790684Z [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project resteasy-unit-tests: Unable to generate classpath: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information for org.apache.maven.surefire:surefire-junit47:jar:2.22.0: Failed to retrieve POM for org.apache.maven.surefire:surefire-junit47:jar:2.22.0: Could not transfer artifact org.apache.maven.surefire:surefire-junit47:pom:2.22.0 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit47/2.22.0/surefire-junit47-2.22.0.pom

@FroMage thanks for the rebase. Now, here as well as on master, GithubActions runs are enabled. You see also a travis run with a single job for the Elytron integration testing only.
Earlier today I've created a branch for reproducing the SSE failures with the old Travis only (#2387 ) and got a failure on the first run, so I can say that the problem is there regardless of the CI mechanism being used.

I know it's not been long, but is there any rough ETA on this one?

@WillSmithTE , I can't say for sure, but I believe this will be included in next release of 4.x series, which should come fairly soon.

@FroMage , can you please rebase again?

Done.


Missing Links

Hi,
The below two links are throwing 404. please fix. Is there any other documentation for training new speakers? Tx in advance..
Data Setup:
Format IndicTTS dataset in LJSpeech format using preprocessing/FormatDatasets.ipynb
Analyze IndicTTS dataset to check TTS suitability using preprocessing/AnalyzeDataset.ipynb

Hi, The below two links are throwing 404. please fix. Is there any other documentation for training new speakers? Tx in advance.. Data Setup: Format IndicTTS dataset in LJSpeech format using preprocessing/FormatDatasets.ipynb Analyze IndicTTS dataset to check TTS suitability using preprocessing/AnalyzeDataset.ipynb

Please Do


Add .not() function to the jquery that selects all the budget table rows

Github Issue (if applicable): #633
Trello Link (if applicable):
Forum Link (if applicable):
Explanation of Bugfix/Feature/Enhancement:
Trying to find the master category for the uncategorized transactions caused the error. Using the .not() function makes it easy to eliminate the rows that should not be processed. Added two .not() functions. One for the uncategorized transactions and one for mater categories.
Recommended Release Notes:

Thanks!


Additional syntax properties

Some text editors — in addition to coloring syntax elements — can specify basic styles such as bold, oblique or italic, and underlined. Any thoughts?

It's not difficult to implement, but it would interfere with the syntax error underlining and highlighting. The easiest fix for this is to set the syntax coloring attributes on the text storage instead than on the layout manager.

The easiest fix for this is to set the syntax coloring attributes on the text storage instead than on the layout manager.

But this would enforce the same syntax coloring settings on every instance sharing the same text storage.

But this would enforce the same syntax coloring settings on every instance sharing the same text storage.

Are there any use cases for sharing a text storage that's not a split view? Presumably a true split view should have the same syntax coloring settings.

Yes but these other use-cases are meant to be used in page layout applications (like Indesign) and unless we move the ownership of the syntax colorer to the layout manager, they won't work correctly.
I agree with you that true split views should have the same syntax coloring settings, but the cocoa text system is not designed for making this simple.
The issue is that if we continue to set attributes on the layout manager instead than on the text storage, this is effectively impossible; and if we set the attributes on the text storage instead than on the layout manager, the syntax colorers of different instances of Fragaria would interfere with each other.
This last problem ideally should be solved by sharing the syntax colorer if and only if the text storage is shared, but the only way to do this (subclassing the text storage) is not a good idea because it's a model object and syntax coloring fits squarely in the controller layer. Plus, people expect to be able to substitute their own NSTextStorage in any given text view, because it makes possible for document-based app to load the text before the view is created.
This could also be done by designating a given Fragaria to be "master" of a given text storage, but this makes things complex for users and us alike; plus, how will the slave tell to the "master" that it must color a given area, if they only share the text storage?
One thing I thought after filing #71, is that the fix I thought of for that would also work for this. The syntax colorer would stop setting coloring attributes, and in - showCGGlyphs:positions:count:font:matrix:attributes:inContext: the layout manage will take care of translating the syntax group attribute (which we already use for bookkeeping purposes) to the appropriate color+underline+font.
The only issue is that if italic or bold variants of a font are selected, they might change metrics, but the only outcome would be some overlapped characters, and for monospaced fonts nothing would happen 99% of the time, and if it happens it's even desirable (you obviously don't want a bold font to screw-up your character alignment on a fixed width font). Also, I think this is mostly what Apple is already doing to implement temporary attributes, because this issue is exactly the same issue Apple is warning of in regard to which attributes are supported as temporary.
This would obviously involve moving all the NSColor properties to the layout manager and transforming them into NSDictionaries of attributes, which is definitively not a fun task to do!

One thing I thought after filing #71, is that the fix I thought of for that would also work for this. The syntax colorer would stop setting coloring attributes, and in - showCGGlyphs:positions:count:font:matrix:attributes:inContext: the layout manage will take care of translating the syntax group attribute (which we already use for bookkeeping purposes) to the appropriate color+underline+font.

I skimmed thru the disassembly of - drawGlyphsForGlyphRange:atPoint:, and since it's that method which calls the underlining methods, the implementation I quoted above would not handle underlines (which is exactly the only property which Xcode does not allow to set for its syntax coloring...)

(which is exactly the only property which Xcode does not allow to set for its syntax coloring...)

Anyway, after checking how Xcode draws syntax error underlines, this looks completely arbitrary to me, but I didn't look at where the underlines are stored (it looks like a different store than temporary attributes, but still not on the text storage. The text storage carries exactly no attributes in Xcode).

Anyway I changed my mind on the implementation I proposed before. The easiest way is to make a new attribute for syntax error underline, move the syntax error underline drawing to - showCGGlyphs:positions:count:font:matrix:attributes:inContext:, and then the syntax colorer can set any attribute it wants (except background highlighting, but that's not an issue).

The easiest way is to make a new attribute for syntax error underline, move the syntax error underline drawing to - showCGGlyphs:positions:count:font:matrix:attributes:inContext:, and then the syntax colorer can set any attribute it wants (except background highlighting, but that's not an issue).

This can't be done because custom attributes are not passed on to this method.

I fear this feature will be never implemented...

Fixed in 6b16cef9. Attributes are now set on a private "overlay" text storage, which mirrors the text of another text storage but has a separate set of attributes. Every instance of Fragaria creates its own overlay text storage to hide the attributes to the outside world, and to other instances of Fragaria sharing the same text.


[Feature Request] Windows Password Policy

event though there is the policygen with "-minlower 1 --minupper 1 --mindigit 1 --minspecial 1", default windows password policy requires 3 of the 4 groups, not all 4, if this was somehow implemented would be great!

This can be simulated with multiple runs of policygen, then sort + unique.


Fix Foyle language id on cells

See jlewi/foyle#125 the language id isn't being set on cells inserted from Foyle
As a result the language gets set to text and they aren't runnable.

Right now when I try to build this I get an error
npm ERR! invalid<EMAIL_ADDRESS><EMAIL_ADDRESS>
I'm guessing this is might be related to #1378 which says the proto changes need to be published.

Confirmed; I cherry-picked this change onto the 3.5.7 branch and the build succeeded so I don't think the failure is related to my PR.

I confirmed when I cherry-picked this onto the 3.5.7 it fixed jlewi/foyle#125

Confirmed; I cherry-picked this change onto the 3.5.7 branch and the build succeeded so I don't think the failure is related to my PR.

Just merged that into main. Rebasing the branch should fix it too but cherry-pick will do.

@sourishkrout I think this PR is ready for review. I rebased on main; I'm still seeing the build error.
But when I cherry-picked this onto 3.5.7 it fixed the Foyle issue with cells not be executable.

@sourishkrout I think this PR is ready for review. I rebased on main; I'm still seeing the build error. But when I cherry-picked this onto 3.5.7 it fixed the Foyle issue with cells not be executable.

🤔 it worked for me after I ran runme run setup (which runs npm install) to pull in the latest deps.


Provide a way to manually roll crits and fumbles

Currently this only happens through automation.

Crits already have a field on the sheet that could be made rollable.
Fumbles don't, but they should likely get one if we support multiple fumble tables (even if those are officially only a monster thing).


Open credits url in a new tab

Credits to https://stackoverflow.com/a/16819715/4361039

thanks for finding this solution @ilyankou


inicpp: Move  include into INICPP_DEBUG macro scope

Since it's never used out of the INICPP_DEBUG macro scope, it might be better to place the file include with the macro scope on what it's really used by.

Right,and example/main.cpp should add #include <iostream>. Thanks for your commit. @Kumonda221-CrO3


partials can be passed as a dictionary; added command line utility to render templates

Template __init__ now accepts the dictionary partials.
If partials is defined, templates will be loaded using the dictionary instead of the regular "file loader".
Those changes should be retro compatible.
I also added a command line utility to test/render templates.
Synopsis
usage: pystache [-h] template context

Render a mustache template with the given context.

positional arguments:
  template    A filename or a template code.
  context     A filename or a JSON string

optional arguments:
  -h, --help  show this help message and exit

I'm going to create a second issue for passing partials as a dictionary so that it can be treated separately from the command-line utility part.


[BUG] Link to API documentation returns Error 404

🙁 Actual behavior
The link to the API documentation mentioned under Description on this repository's README.md redirects to GitHub Pages' Error 404 page.
🙂 Expected behaviour
The link should either redirect to a reachable website or it should be mentioned that the documentation might be unavailable or a work in progress as of now.
🔢 Steps to Reproduce the Problem

Open this repository's main page or its README.md directly.
Click the link https://eddiehubcommunity.github.io/api/ under the Description section.
GitHub Pages' Error 404 - File not found page opens.

/assign

I would like to work on this issue @mocdaniel

Hi :wave: This issue seems fixed by #294

Hi, I think this issue should be closed since it has been fixed.


ability to track payment

after rental create send the email from the contact information an email.
rentals should have two fields, one for creator one for renter (both will be users) #212
reporting

[ ] one time report generation
[ ] select criteria, days since rental, amount due, etc

invoice emailing

[ ] button to send invoices to renter
[ ] bulk send invoices to some criteria

should discuss this at a code review

#213 will merge in #212 which adds a renter_id to all rentals

@Cobchise how's this going, were you able to finish anything before you left?

i added an after save hook to financial transaction, after each financial transaction an update invoice will be sent to the user.


Add a pre-build step in Travis to Install Node 8

Seems the default NodeJs version available in travis
is changed recently and it now throws an error
saying node 8 is not installed.
Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #20043 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #20043   +/-   ##
=======================================
  Coverage    19.9%    19.9%
=======================================
  Files          55       55
  Lines        1437     1437
  Branches      218      218
=======================================
  Hits          286      286
  Misses       1138     1138
  Partials       13       13

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 9ef75a4...b5159f1. Read the comment docs.