🐛 [cloud_firestore] Pre-compiled framework should be on version 8.3.0 in documentation

Bug report
I try to speed the Xcode build time in iOS using the code from here: https://firebase.flutter.dev/docs/overview/#improve-ios-build-times
but I will have error when trying to run my app.

Error running pod install.
Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
In Podfile:
FirebaseFirestore (from https://github.com/invertase/firestore-ios-sdk-frameworks.git, tag 8.0.0)
None of your spec sources contain a spec satisfying the dependencies: `FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `8.0.0`), FirebaseFirestore (= 8.3.0, ~> 8.3.0)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

I have tried to run pod repo update and pod install --repo-update but I still have the error.
Steps to reproduce
My app will run perfectly before I add the line below in Podfile on iOS simulator, the error occurred after I add this line
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.0.0'
when I remove that one line above, my app will run again and that error will not appear.
Expected behavior
I can run the app with precompiled version without error
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.2.1 20D74 darwin-x64, locale en-ID)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.58.2)
[✓] Connected device (2 available)

• No issues found!

Flutter dependencies
Click To Expand
Dart SDK 2.13.4
Flutter SDK 2.2.3
main_app 1.0.0+1

dependencies:
- add_2_calendar 2.1.0 [flutter]
- after_layout 1.1.0 [flutter]
- cached_network_image 3.1.0 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- cloud_firestore 2.4.0 [cloud_firestore_platform_interface cloud_firestore_web firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 3.0.0 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- connectivity 3.0.6 [flutter meta connectivity_platform_interface connectivity_macos connectivity_for_web]
- cupertino_icons 1.0.3
- device_info 2.0.2 [flutter device_info_platform_interface]
- firebase_analytics 8.2.0 [firebase_analytics_platform_interface firebase_analytics_web firebase_core flutter meta]
- firebase_auth 3.0.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.4.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.1.1 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_messaging 10.0.4 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_remote_config 0.10.0+3 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface flutter]
- firebase_storage 10.0.1 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flash 2.0.1 [flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_image_compress 1.0.0 [flutter]
- flutter_linkify 5.0.2 [flutter linkify]
- flutter_local_notifications 7.0.0 [flutter flutter_local_notifications_platform_interface platform timezone]
- flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math]
- flutter_riverpod 0.14.0+3 [collection flutter meta riverpod state_notifier]
- font_awesome_flutter 9.1.0 [flutter]
- geocoding 2.0.0 [flutter geocoding_platform_interface]
- geolocator 7.3.1 [flutter geolocator_platform_interface geolocator_web]
- google_maps_flutter 2.0.6 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface]
- google_sign_in 5.0.5 [flutter google_sign_in_platform_interface google_sign_in_web meta]
- hive 2.0.4 [meta crypto]
- hive_flutter 1.1.0 [flutter hive path_provider path]
- http 0.13.3 [async http_parser meta path pedantic]
- image 3.0.2 [archive meta xml]
- image_cropper 1.4.1 [flutter]
- image_picker 0.8.2 [flutter flutter_plugin_android_lifecycle image_picker_for_web image_picker_platform_interface]
- intl 0.17.0 [clock path]
- introduction_screen 2.1.0 [flutter dots_indicator]
- ios_utsname_ext 2.0.0 [flutter]
- mime 1.0.0
- package_info 2.0.2 [flutter]
- path_provider 2.0.2 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- remove_emoji 0.0.6
- share_plus 2.1.4 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web]
- shimmer 2.0.0 [flutter]
- syncfusion_flutter_datepicker 19.2.49 [flutter intl syncfusion_flutter_core]
- url_launcher 6.0.9 [flutter meta url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- uuid 3.0.4 [crypto]
- validators 3.0.0
- webview_flutter 2.0.10 [flutter]

dev dependencies:
- build_runner 2.0.6 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pedantic pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_native_splash 1.2.0 [args image meta path xml yaml universal_io]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- hive_generator 1.1.0 [build source_gen hive analyzer source_helper]

transitive dependencies:
- _fe_analyzer_shared 22.0.0 [meta]
- analyzer 1.7.1 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml pedantic]
- archive 3.1.2 [crypto path]
- args 2.2.0
- async 2.6.1 [meta collection]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.0.3 [analyzer async convert crypto glob logging meta path]
- build_config 1.0.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.0.0 [built_collection built_value http_multi_server logging pedantic path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.4 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.0.1 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pedantic pool timing watcher yaml]
- built_collection 5.1.0
- built_value 8.1.1 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.0 [flutter flutter_cache_manager cached_network_image_platform_interface]
- characters 1.1.0
- charcode 1.2.0
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.3 [meta path]
- clock 1.1.0
- cloud_firestore_platform_interface 5.3.0 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.3.0 [cloud_firestore_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.0.8 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.0.10 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.1.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- connectivity_for_web 0.4.0 [connectivity_platform_interface flutter_web_plugins flutter]
- connectivity_macos 0.2.0 [flutter]
- connectivity_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- convert 3.0.1 [typed_data]
- cross_file 0.3.1+4 [flutter meta]
- crypto 3.0.1 [collection typed_data]
- dart_style 2.0.3 [analyzer args path pub_semver source_span]
- device_info_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- dots_indicator 2.0.0 [flutter]
- fake_async 1.2.0 [clock collection]
- ffi 1.1.2
- file 6.1.2 [meta path]
- firebase 9.0.1 [http http_parser js]
- firebase_analytics_platform_interface 2.0.1 [flutter meta]
- firebase_analytics_web 0.3.0+1 [firebase firebase_analytics_platform_interface flutter flutter_web_plugins meta]
- firebase_auth_platform_interface 6.0.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.0.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.0.1 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.1.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.1.0 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 3.0.3 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.0.3 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_remote_config_platform_interface 0.3.0+3 [firebase_core flutter meta plugin_platform_interface]
- firebase_storage_platform_interface 4.0.0 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.0.0 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.0
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_cache_manager 3.1.2 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_local_notifications_platform_interface 4.0.1 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 2.0.2 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- freezed_annotation 0.14.2 [collection json_annotation meta]
- frontend_server_client 2.1.0 [async path]
- geocoding_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- geolocator_platform_interface 2.3.2 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.0.6 [flutter flutter_web_plugins geolocator_platform_interface]
- glob 2.0.1 [async collection file path pedantic string_scanner]
- google_maps_flutter_platform_interface 2.1.0 [collection flutter meta plugin_platform_interface stream_transform]
- google_sign_in_platform_interface 2.0.1 [flutter meta quiver]
- google_sign_in_web 0.10.0+1 [flutter flutter_web_plugins google_sign_in_platform_interface js meta]
- graphs 2.0.0
- http_multi_server 3.0.1 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image_picker_for_web 2.1.2 [flutter flutter_web_plugins image_picker_platform_interface meta]
- image_picker_platform_interface 2.2.0 [flutter http meta plugin_platform_interface cross_file]
- io 1.0.3 [meta path string_scanner]
- js 0.6.3
- json_annotation 4.0.1
- linkify 4.0.0
- logging 1.0.1
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- octo_image 1.0.0+1 [flutter flutter_blurhash]
- package_config 2.0.0 [path]
- path 1.8.0
- path_provider_linux 2.0.2 [flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.2 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.3 [ffi flutter meta path path_provider_platform_interface win32]
- pedantic 1.11.1
- petitparser 4.1.0 [meta]
- platform 3.0.0
- plugin_platform_interface 2.0.1 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.2.3 [file path platform]
- pub_semver 2.0.0 [collection]
- pubspec_parse 1.0.0 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.0.1 [matcher]
- riverpod 0.14.0+3 [collection freezed_annotation meta state_notifier]
- rxdart 0.27.1
- share_plus_linux 2.0.3 [share_plus_platform_interface file flutter meta url_launcher]
- share_plus_macos 2.0.2 [share_plus_platform_interface flutter]
- share_plus_platform_interface 2.0.1 [flutter meta mime plugin_platform_interface]
- share_plus_web 2.0.4 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta]
- share_plus_windows 2.0.3 [share_plus_platform_interface flutter meta url_launcher]
- shelf 1.2.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 1.0.3 [analyzer async build dart_style glob meta path pedantic source_span yaml]
- source_helper 1.2.0 [analyzer collection source_gen]
- source_span 1.8.1 [collection path term_glyph]
- sqflite 2.0.0+3 [flutter sqflite_common path]
- sqflite_common 2.0.0+2 [synchronized path meta]
- stack_trace 1.10.0 [path]
- state_notifier 0.7.0 [meta]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- syncfusion_flutter_core 19.2.49 [vector_math flutter]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.3.0 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timezone 0.7.0 [path]
- timing 1.0.0 [json_annotation]
- typed_data 1.3.0 [collection]
- universal_io 2.0.4 [collection crypto meta typed_data]
- url_launcher_linux 2.0.1 [flutter]
- url_launcher_macos 2.0.1 [flutter]
- url_launcher_platform_interface 2.0.4 [flutter plugin_platform_interface]
- url_launcher_web 2.0.2 [flutter flutter_web_plugins meta url_launcher_platform_interface]
- url_launcher_windows 2.0.1 [flutter]
- vector_math 2.1.0
- watcher 1.0.0 [async path pedantic]
- web_socket_channel 2.1.0 [async crypto stream_channel]
- win32 2.2.5 [ffi]
- xdg_directories 0.2.0 [meta path process]
- xml 5.1.2 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

Hi @AgungLaksana
Could you please provide your flutter doctor -v?
Thank you

@markusaksli-nc here is my flutter doctor -v

flutter doctor -v
[✓] Flutter (Channel stable, 2.2.3, on macOS 11.2.1 20D74 darwin-x64, locale en-ID)
• Flutter version 2.2.3 at /Users/xxx/Developer/flutter
• Framework revision f4abaa0735 (5 weeks ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Users/muchammadagunglaksana/Library/Android/sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] VS Code (version 1.58.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.24.0
[✓] Connected device (3 available)
• Redmi Note 7 (mobile)               • 8b2bde0f                             • android-arm64  • Android 10 (API 29)
• iPhone SE (2nd generation) (mobile) • 78448527-3649-4A39-8180-D984FB7E8DFE • ios            •
com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
• Chrome (web)                        • chrome                               • web-javascript • Google Chrome
92.0.4515.107
• No issues found!

The documentation needs to be updated anyway as this should be on 8.3.0 on cloud_firestore: ^2.4.0.
Does using that version fix it? Did you run pod repo update successfully?
If nothing else works you could try running these commands in your ios directory:
rm -rf build
rm -rf Pods
rm -rf Podfile.lock
rm -rf ~/.pub-cache/hosted/pub.dartlang.org/
pod cache clean --all
flutter clean
flutter pub get
pod repo update
pod install

@markusaksli-nc  yes I can run my app after I change it to
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.3.0'

@markusaksli-nc yes, thats the problem. I can run my app (after pod repo update) when using
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.3.0'

@AgungLaksana, good news! the docs have also been updated now. See here


Support Enums in connector generation

Description:
The enum keyword is used to restrict a value to a fixed set of values. It must be an array with at least one element, where each element is unique.
...
JqlQueryClauseTimePredicate:
      required:
        - operator
      type: object
      properties:
        operator:
          type: string
          description: The operator between the field and the operand.
          enum:
            - before
            - after
            - from
            - to
            - 'on'
            - during
            - by

Related PR https://github.com/ballerina-platform/ballerina-openapi/pull/363
Describe your problem(s)
Describe your solution(s)
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

We had a discussion to find out the most suitable way to generate enums. Find the meeting notes here.
Sample OpenAPI
  schema:
    default: live
    enum:
      - scheduled
      - live
      - upcoming
    type: string

Solution 1
type Meeting record {
   "live"|"upcoming"|"scheduled" meetingType;
}

Solution 2
type MeetingType "live"|"upcoming"|"scheduled";

type Meeting record {
    MeetingType meetingType;
}

Solution 3
const LIVE = "live";
const UPCOMING = "upcoming";
const SCHEDULED = "scheduled";
const RECURRING = "recurring";

type MeetingType LIVE|UPCOMING|SCHEDULED;

type Meeting record {
    MeetingType meetingType;
};

type WebinarType RECURRING|SCHEDULED;

type Webinar record {
    WebinarType webinarType;
};

What would be the most suitable solution out of above three ? @hevayo @indikasampath2000 @hasithaa @NipunaRanasinghe @MaryamZi

@aneeshafedo option 3 seems to be the better option in terms of clarity, but it may lead to redeclared constants issues (incase there will be enum entries with same name in different enums)
That being said, I prefer option 2 over option 1 (having inline union types might not be scalable when for a large set of enum entries)

@aneeshafedo option 3 seems to be the better option in terms of the clarity, but IINM it may lead to redeclared constants issues (incase there will be enum entries with same name in different enums) That being said, I prefer option 2 over option 1 (having inline union types might not be scalable when for a large set of enum entries)

Yes option 3 would be the best since it also increase the usability of the client/service by providing suggestions for users when entering values for an enum. The other 2 options will only validate the value provided.
We can achieve option 3 by checking the duplicates in the constant list before adding one. But it would be a expensive task when the number of constants is high.

Few of the challenges that we will face are

Enums can have many members
Ex:
https://github.com/ballerina-platform/openapi-connectors/blob/c452566df018fed9fd043fa6ed65a3a606420a81/openapi/adp.paystatements/openapi.yml#L267

Same enum is repeated across the openapi
Ex:
https://github.com/ballerina-platform/openapi-connectors/blob/c452566df018fed9fd043fa6ed65a3a606420a81/openapi/apple.appstore/openapi.yaml#L18737

Can be in any type

Need to support nullable enums

Need to support reusable enums

After a discussion with @NipunaRanasinghe & @lnash94 decided to provide enum support using above mention both option 1 and option 2 based on the enum definition.
Use case 1 : Defined schema with enum values (Reusable enums)
MeetingType:
      type: string
      default: live
      enum:
        - "scheduled"
        - "live"
        - "upcoming"
    MeetingObject:
      properties:
        topic:
          description: Meeting topic.
          type: string
        type:
          description: "The meeting types. Scheduled, live or upcoming"
          $ref: "#/components/schemas/MeetingType"
      type: object

Proposed code generation
public type MeetingType "scheduled"|"live"|"upcoming";

public type MeetingObject record {
    # Meeting topic.
    string topic?;
    # The meeting types. Scheduled, live or upcoming.
    MeetingType 'type?;
};

This approach will be used in any place where reusable enum is defined (schema or parameter)
Use case 2 : Inline enum in schema property
MeetingObject:
  properties:
    topic:
      description: Meeting topic.
      type: string
    type:
      description: "Meeting Type: 1 - Instant meeting. 2 - Scheduled meeting. 3 - Recurring meeting with no fixed time. 8 - Recurring meeting with fixed time."
      enum:
        - 1
        - 2
        - 3
        - 8
      type: integer
  type: object

Proposed code generation
public type MeetingObject record {
    # Meeting topic.
    string topic?;
    # Meeting Type: 1 - Instant meeting. 2 - Scheduled meeting. 3 - Recurring meeting with no fixed time. 8 - Recurring meeting with fixed time.
    1|2|3|8 'type?;
};

Use case 3 : Inline enum in parameter
parameters:
        - description: "The meeting types. Scheduled, live or upcoming"
          in: query
          name: type
          schema:
            default: live
            enum:
              - scheduled
              - live
              - upcoming
            type: string

Proposed code generation
    resource isolated function get users/meetings("scheduled"|"live"|"upcoming" 'type = "live") returns MeetingList|error {
        string resourcePath = string `/users/meetings`;
        map<anydata> queryParam = {"type": 'type};
        resourcePath = resourcePath + check getPathForQueryParam(queryParam);
        MeetingList response = check self.clientEp->get(resourcePath);
        return response;
    }

@NipunaRanasinghe @lnash94 please convey any suggestions.

@aneeshafedo, shall we check the behaviour for path parameters as well under the use case 3 : Inline enum in parameter ?

Task List

Enum Generation in parameters in Client generation

[ ] Query parameter

[ ] Header parameter

[ ] Path parameter

Enum Generation in parameters in Service generation

[ ] Query parameter

[ ] Header parameter

[ ] Path parameter

Enum generation in schema

[ ] Reusable enums

[ ] Inline enums in properties

[ ] Nullable enums


Inoreader - failed to load subscribed feeds

**Newsboat version 2.10.2:
Steps to reproduce the issue:

Configure to fetch feeds from Inoreader
Run newsboat
Receive the following message:

Starting newsboat 2.10.2...
Loading configuration...done.
Opening cache...done.
Loading URLs from inoreader...done.
It looks like you haven't configured any feeds in your Inoreader account. Please do so, and try again.

Other info you think is relevant:
I've contacted support for Inoreader and they said the following:

It looks like the Newsboat are having API integration with our backend. Since we don't have any known issues on our side this could be an oauth issue yesterday. If you notice similar behavior again, feel free to contact us, or even better contact the Newsboat developers and ask them about that.

Regards
aviofreak

Hello! Developer panel at inoreader.com tells me there were 2 unique users on 24th and 25th, and together they used up all the requests (which are limited per-app, so all Newsboat users share a single limit).
You don't have reload-time set to 1, do you? Or thousands of feeds, perhaps?

Hi,
I've got 32 feeds, half of them are not very active. These are my settings:
feed-sort-order unreadarticlecount-asc
auto-reload yes
toggleitemread-jumps-to-next-unread yes
reload-threads 5
urls-source "inoreader"
inoreader-login xxx
inoreader-passwordfile xxx
inoreader-min-items 100
inoreader-show-special-feeds no

Do you see anything suspicious here?

No, don't see anything suspicious there.
Developer panels says there were 3 uniques so far today, and they used up 55% of the limit. Over the last 30 days (maximum amount of history I can see), there were at most 4 uniques who used up at most 20% of the limit.
Basically, I don't know what it was, Just keep using the program as usual, and I'll get back to you in a week; let's see if this continues.

Over the last 7 days, there were at most 4 users, but API usage newer went over 7% of the quota. So, I still don't know what it was, but it was a fluke of some kind. I doubt you'll see this again, but if you do, please report.
And thanks for reporting in the first place!


something like that is needed

i fixed problem with bad "i" character from previous pull request... can you implement something like this or better way?

Great - thanks! And these are all characters not in ISO Latin so not supported by the built-in fonts? https://www.espruino.com/Fonts

not sure if its all  but there are all czech accents probably, i would recomend to expand it by contributors from other countries... btw. i see there are couple fonts which contains all czech characters for example dylex and haxor. i will investigate how fonts works, i have zero knowledge now :) i would maintain czech character set in fallback chars object so far as i go thru  investigating of  bangle apps...

thanks!


https://maven.bai.lol maven is down

Just saw https://github.com/badasintended/wthit/issues/207 so I guess that solves my issue


Rolling Upgrade - Batch size not honored when deleting the the first set of containers from source service after the first batch of containers are created for the target.

rancher-server version - v0.30.0-rc3
rancher-compose version v0.2.4
Used the following command to upgrade from test5 - test8 in batches of 3:
./rancher-compose -p testupgrade upgrade test5 test8 --interval 30000 --batch-size 3 --scale 8
When the first 3 instances of test8 have started , only 1 instance of test5 gets removed.
Expected Behavaior:
We should delete 3 instances of test5.

@sangeethah What scale did you start with for test5 and test8

test8 did not exist.
test5 had a scale of 3.

This is the behaviour you should see:
3,0
3,3
3,6
2,6
2,8
0,8

Closing this issue since batch size is not meant to be used  when deleting instances from the source service. Deletion of instances in the source service starts happening only when the total scale of both the source and target services has gone beyond the final scale and  deletion is done to maintain the final scale.


MS Teams and/or xMatters Alert or Customize Webhook from Alert

My company uses Microsoft Teams for chat and xMatters for alert management and it would be awesome to support that as an alert from Rancher Server. Now I understand it uses AlertManager under the hood so maybe it would be better to allow us to customize the webhook being sent out that way we don't have to create a middleware service to ingest and spit out the apps compatible json payload so it can work.

link to https://github.com/rancher/rancher/issues/15802


[plugin] RUM plugin

[!NOTE]
Stacked on https://github.com/DataDog/build-plugins/pull/82

What and why?

Adding a new customer facing plugin to let them upload sourcemaps at the end of a build.
rum?: {
    disabled?: boolean;
    sourcemaps?: {
        basePath: string;
        dryRun?: boolean;
        maxConcurrency?: number;
        minifiedPathPrefix?: string;
        releaseVersion: string;
        service: string;
    };
}

I followed datadog-ci's implementation but re-wrote it entirely to make it leverage native primitives (like fetch). And straightened its helpers.
I could have imported datadog-ci directly, but this was bringing A TON of unnecessary dependencies, so I decided to re-wrote it.

[!NOTE]
This also slightly changes how the git internal plugin works. It will only enable it if the sourcemaps plugin is enabled.

How?

This is a sub-plugin of the higher order rum plugin.
Added some configuration validation, as well as a lot of tests for the added functionality.
I've also split out the git internal plugin in https://github.com/DataDog/build-plugins/pull/82 so we keep this one more digest to review.
The implementation is pretty straight-forward:

glob sourcemaps files.
construct payloads.
send it all to Datadog.

In the future I'd like to:

deduct the basePath from the bundler's config.
make it possible to upload to more than one DC in one go.
remove the dependency on form-data to use the native one instead.

Finally, I tested the upload and it seemed to work as expected.

There was a bug in unplugin upstream.
https://github.com/unjs/unplugin/issues/389
I've added a yarn patch for it, and submitted a PR to unplugin in the meantime.


No way to identify mixpanel id

There is no clear way to instantiate the mixpanel id with the Cordova SDK as shown in these docs.
https://dev.branch.io/third-party-integrations/mixpanel/guide/#pass-mixpanel-distinct-id-recommended

Hey @aaustin , just wanted to clarify if this is supported for the SDKs?

Hey @lukemiles - Unfortunately we haven't rolled this out well to our non-native SDKs. In the meantime, if you want to unblock yourself, you'll need to do a client side transfer of data by calling the Mixpanel SDK directly from the Branch SDK callback. @derrickstaten do you have any other thoughts on this in the mean time?
@renesansz It'd be great to update both Android and iOS SDKs here, adding support for this call on iOS.

I have the mixpanel distinct ID, could you provide an example of how one would inform branch of it in JS? Or is this still totally unsupported?

@aaustin , cool, I'll look in to the native SDKs on how to implement this one. thanks

@aaustin , let me know if iOS call has been implemented. thanks!

@lukemiles ,
Submitted PR #169 . Hopefully this would address the issue.
Let me know if this works.

This has been merged in


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


how to use synapse msi to get access token for an api (in scala) ? How to getAccess Token on Synapse Notebook using its managed identity

Looking for help on How to getAccess Token on Synapse Notebook using its managed identity ?
For Scala we dont find any reference.
But for pyspark we found some reference but still getting this error
"ManagedIdentityCredential.get_token failed: ManagedIdentityCredential authentication unavailable, no managed identity endpoint found.
Exception occurred: ManagedIdentityCredential authentication unavailable, no managed identity endpoint found."
from azure.identity import ManagedIdentityCredential
from azure.core.credentials import AccessToken
def get_access_token():
try:
# Create an instance of ManagedIdentityCredential
credential = ManagedIdentityCredential()
    # Define the resource or scope for which you want to acquire the token
    resource = "https://example.com"

    # Obtain an access token
    token = credential.get_token(resource)

    # Access the access token value
    access_token = token.token

    print(f"Access token: {access_token}")
    return access_token

except Exception as e:
    print(f"Exception occurred: {str(e)}")
    return None

Any help ?

Hi @saravindit , can you provide us some more information about the python environment, OS, version of azure-identity you are using ?

We are using in Azure synapse environment and we are running the notebook in synapse workspace. azure-identity 1.7.0. OS- windows 11
We actually need that to be implemented in Scala but trying to figure out in pyspark too .

Thanks for the information. Unfortunately, azure-identity library does not work in synapse workspace.
You can refer https://learn.microsoft.com/en-us/azure/synapse-analytics/synapse-service-identity for more information.

"/unresolve"

Took offline.


Add type to $function

Now PHPStan knows what type it is.

I appreciate the help Viktor but I can't manage PRs and issue reports while this is a brand new repo that's under heavy development. Keep an eye out for v1.0! 👍

#3 I know.


[docs] No framework

Related page
https://mui.com/material-ui/migration/migrating-to-pigment-css/#supported-frameworks
Kind of issue
Unclear explanations
Issue description
I'm not using Next.js or Vite. Actually, I'm not using any particular framework. Can I still use Pigment CSS? The documentation seems to assume using a framework so I wasn't sure.
Context
No response
Search keywords: no framework

I should also add that part of my confusion has to do with the fact that https://mui.com/material-ui/experimental-api/pigment-css/ states that one of the prerequisites to use Pigment CSS is "A Next.js or Vite project". I was surprised that a framework is required so that's why I wanted to be sure.


Handle event-level historic prices files

Currently, these files are not correctly handled by read_prices_file, prices_file_to_data_frame or prices_file_to_csv_file
Specifically, only the first market book is handled at each iteration of the historical stream generator

Merged into the next release


Fixed

#50

If you try to follow a user without being logged in on the python minitwit (By going to ..//follow), then you will be met by this screen and a 401 HTTP status code.

Now we just get redirected to "../public". So I don't think this is the right solution


[Suggestion] Rename item pattern

Pattern that takes a string, and renames item in offhand.

At least part of this was implemented in dev. In 1.20, Now get there is a new pattern that takes Entity, String and renames the entity to the string. It works on items on the ground, and I think it also works on nametagable entities.
The only thing I'm not sure about is whether it works on Item Stack/Item/Mote iotas, but if those are implemented this can probably be closed as complete.


Unexpected behaviour when using luigi.build()

Hi,
We've been trying to use the build functionality in order to execute a set of tasks within a task itself. Our use-case is that we want to have some "monitoring" tasks that run after a task has run without adding it has a dependency.
Given the following example:
Class MyS3CopyToTable(redshift.S3CopyToTable, ...):
    def run(self):
        """
        If the target table doesn't exist, self.create_table
        will be called to attempt to create the table.
        """
        if not (self.table):
            raise Exception("table need to be specified")

        path = self.s3_load_path()
        output = self.output()
        connection = output.connect()
        cursor = connection.cursor()

        self.init_copy(connection)
        self.copy(cursor, path)
        self.post_copy(cursor)

        # update marker table
        output.touch(connection)
        connection.commit()

        # commit and clean up
        connection.close()

        # This is what we've added
        luigi.build([myMonitoringTask(params)])

class MyTask(MyS3CopyToTable)
  ...

If we were to run MyTask with one worker (--workers=1), using the central scheduler, then everything executes fine, and my built task (myMonitoringTask) gets executed successfully.
On the other hand, if I were to run it with multiple workers (--workers=2), I see that it spawns my myMonitoringTask correctly but it just hangs. Eventually, it got to state failed with a blank error and leaves my MyTask stuck in the state running and it just hangs our whole pipeline.
There is nothing special in the logs that I can use to determine what the problem would be.
The only thing that happens from time to time is the following:
Task 'myMonitoringTask' is marked as running by disconnected worker 'Worker(salt=xxx, workers=2, host=xxx, username=root, pid=xx)' -> marking as FAILED with retry delay of 1.0s

I'm unsure if we're using the build functionality incorrectly, but given our specific use-case we thought that this would be a good candidate.
Any hints as so why running the above with one worker would work but then if we were to add many workers it would stop working and just "timeout"?

I've never seen build used within a run method.
Have you tried yielding the monitoring task instead of using build? Have you tried calling it in an on_success method on the task? Have you tried calling it in a task success notifier?

Alright, I've played with it a little bit more and couldn't get build to work. The worker would eventually fail the task and disconnect itself while leaving the parent task stuck in pending.
In order to remedy for that, I've used a hacky workaround:
    @luigi.Task.event_handler(luigi.Event.SUCCESS)
    def run_monitors(self):
        if self.enable_monitors:
            logger.info('Running monitors')

            sch = scheduler.Scheduler()
            w = worker.Worker(scheduler=sch)

            for task in self.monitor_tasks:
                w.add(task)
            w.run()

This works as expected, but unfortunately, I have to create a brand new scheduler because I can't see to be able to access the current scheduler from a luigi.Task
If anyone has opinions as to how I should do it differently or how I can access the current task scheduler so that I can use that specific scheduler to run a new worker with my task could be great insights!

@kwilcox I did try that but that would require me to override all the run() method of every single contrib tasks that we're using, which I don't want to do.
I was pretty certain that I couldn't access the scheduler directly from the task, let me re-validate that.

I"m a bit confused what you're trying to do here but if the monitoring task should always run after the S3 copy task then you should basically make the s3 copy task a dependency of the monitoring task and let Luigi handle the dependency resolution

@erikbern Thanks for raising this question. We might not be using Luigi the conventional way, although I do think there is a lot of similarities. Let's jump right into it
We've modified some behaviors of redshift.S3CopyToTable. Let's name it CustomS3CopyToTable that inherits redshift.S3CopyToTable. Our CustomS3CopyToTable overrides some properties like the way it fetches databases configurations and the changes some key copy_options.
Then, our tasks inherit CustomS3CopyToTable. For example, we could have something like:
class UpdateTableX(CustomS3CopyToTable)
    ...

   def requires(self):
        return UpdateTableY(params)

That specific task has its own set of requirements in order for it to be able to run. If I were to want to add the monitoring tasks as part of the requires clause for CustomS3CopyToTable then it would get overwritten by the requires of UpdateTableX.
Another idea would be to add the monitoring as part of the requires of UpdateTableX as such:
class UpdateTableX(CustomS3CopyToTable)
    ...

   def requires(self):
        return [UpdateTableY(params), Monitor1(params), Monitor2(params)

But we have many of tasks that inherits CustomS3CopyToTable and we don't want to add the exact same monitors for each of those set of already existing tasks.
The monitoring can be considered as dummy task, it shouldn't affect the parent task if the monitoring task fails. It is just are just quality of life thing that allow us to monitor our pipeline, we don't want it to have effect on the task itself it it fails.
Another idea would be to override the run() function of CustomS3CopyToTable and add a yield([monitor1, monitor2]) at the end of the function like such:
def run(self):
        """
        If the target table doesn't exist, self.create_table
        will be called to attempt to create the table.
        """
        if not (self.table):
            raise Exception("table need to be specified")

        path = self.s3_load_path()
        output = self.output()
        connection = output.connect()
        cursor = connection.cursor()

        self.init_copy(connection)
        self.copy(cursor, path)
        self.post_copy(cursor)

        # update marker table
        output.touch(connection)
        connection.commit()

        # commit and clean up
        connection.close()

        yield([myMonitoringTask(params)])

But that would require us to maintain and make sure that our "custom" run function would match a newer Luigi version if that new version would change the behavior of the original run of S3CopyToTable, like it happens quite often.
In order to solve for all those caveats, kwilcox remembered me that we could use events_handler. For that reason, we've decided to go with a mixins that would add behavior to the specifics contrib that would include it:
class MonitorMixin(object):
    @property
    def enable_monitors(self):
        return True

    @property
    def monitor_tasks(self):
        return []

    @luigi.Task.event_handler(luigi.Event.SUCCESS)
    def run_monitors(self):
        if not issubclass(self.__class__, MonitorMixin):
            return

        if self.enable_monitors:
            logger.info('Running monitors')

            sch = scheduler.Scheduler()
            w = worker.Worker(scheduler=sch)

            for task in self.monitor_tasks:
                w.add(task)
            w.run()

class CustomS3CopyToTable(MonitorMixin, redshift.S3CopyToTable):
    ...

With that mixin, every task that inherits from CustomS3CopyToTable will inherits from MonitorMixin and each of these classes can define their monitors that they want to use.
The above example works as expected and it allows us to do exactly what we want. It's just kinds of hacky because we'd like to be able to call build and forget about the details inside run_monitors.
I now realize that I may have been going into too much details, but I wanted to clarify the purpose of what we wanted to achieve. We want to allow for genericity and do less monkey-patching around what is currently existing so that we keep the default behavior offered by Luigi while adding extra functionality.
I hope that it helps give you better idea as to where I'm coming from with this! :)

I wonder in which use case build is useful if not for the specific use case that I wanted to use it for!

It's very useful when writing tests and calling tasks from notebooks.
We monitor Luigi using the event_handler system. We send chat messages to Flowdock, hit REST endpoints, and produce Kafka messages depending on the Task. These are not Targets because, similar to you, they should not fail the task if they don't run or if they error out. Your Mixin class is similar to our method so I think you'll find success there. The big difference is that our monitoring methods are just functions and not Tasks so we don't need to schedule them.

Wow thanks for a lot of context @cabouffard !

@erikbern My pleasure! :)
@kwilcox Ah! I wouldn't have thought about that type of use-case, for build,  that's nice to know!
I'm also happy that you guys went a similar route! I would have liked the idea of having simple functions to log what we wanted to log but in our specific use-case, we look for duplicated keys after our table was loaded and we use a series of tasks that make this happen since we want to save historical data for every step.
Given your scenario, our monitoring tasks query the specific Redshift table and output the data onto  S3 then we have a task that parses that file and ensures that we're all good, if we aren't, then we send data to our monitoring system.
By having it in a series of tasks like this, it allows us to simply run the set of tasks if we want to re-run the monitoring for a given table. ANYWAY, all that to say that I think we're good and that my question has been answered.
I'll consider this issue as resolved.
Thank all y'all!


Revise PR template for trainees

I've almost never seen this filled in, which suggests they are not finding it useful.
I really dislike training people into ignoring PR templates, which is what I think we are doing now. It's the sort of thing that can make our people look bad at work/ on projects. Can we revise this to be more useful?
I think the idea is to encourage formative self assessment, which is probably a good idea to try to do,  it's just that this isn't effective as it stands. Can we think how to make this more useful for everyone?
Would be great to get some advice from trainees here, as it's for them ultimately.

Some suggested people to consult:
@CodeYourFuture/london-class-9 @CodeYourFuture/west-midlands-class-4

Note, I have done a first revision just to remove some of the most unhelpful stuff and tagged at 2.0.0

@SallyMcGrath , can you link here the PR template we are considering for this ticket, please?

@SallyMcGrath , are we talking about the Syllabus PR only or some other PR?
If possible can you link them on here, please?

It's the PR template on this repo @kfklein15
https://github.com/CodeYourFuture/CYF-Coursework-Template/blob/main/.github/pull_request_template.md
The previous version (the one currently being ignored by everyone on every repo made from this template) is here
https://github.com/CodeYourFuture/CYF-Coursework-Template/blob/3abc5932714ae66c6895cec9c84d23e84857f0a9/.github/pull_request_template.md

the new version will be more helpful as I can see. Well done 👏

@SallyMcGrath , the version you created is already simple and efficient. Have people started using it?
Question: is the information Module / Week not important?

Hi Sally, Do we have to start to use this version template in every PR? because I received the notification by email, but I am not sure if we should start now or no? thank you.

Hi @Grajales-K , when you create a new PR, is it giving you the new PR template or some other?

Hi, @kfklein15, for now, is still the old version.

Someone needs to actually go and change them all - it's a piece of work. It's on @Dedekind561 's list!

@SallyMcGrath , the version you created is already simple and efficient. Have people started using it?
Question: is the information Module / Week not important?

The repo is already named by module and week so it's tautologous.


Fix bug in api package when modifying cluster worker node groups

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/cherry-pick release-0.7


Fixed the problem where RED._ was unavailable in the module code

For each affected module I moved the code run at module load time into a function that is then called in the module's init function to ensure that RED._ is already initialized when needed.

Hi @kallenboone - sorry to nitpick, but can you swap your whitespace tabs for 4-spaces?
Thanks.

Coverage remained the same at 93.78% when pulling 03db247c3a9960d28b08a731543eae9698a65e4c on kallenboone:master into 8159e3918e908f1d1e7ca1e0f418c5dd791dc688 on node-red:i18n.

No prob, @knolleary. I just committed the tab to space conversion, and I've updated my editor preferences to use spaces going forward.

Coverage remained the same at 93.78% when pulling a3a093c51d53f29ab352f02725baf99c96d4507f on kallenboone:master into 8159e3918e908f1d1e7ca1e0f418c5dd791dc688 on node-red:i18n.

Coverage remained the same at 93.78% when pulling 64320f41fead7fea0afb8c83980d7f59adb8b05d on kallenboone:master into 5aa33853413a665db8f420ec511ad3638e1b151d on node-red:i18n.

Hi, can you squash your commits down to just one please? Don't want multiple needless 'merge' commits  in the log. Thanks.

Coverage remained the same at 93.78% when pulling c4357d267ace1b187cd0a8ec840f84720a1507a0 on kallenboone:master into 163e28f31d4926126d4cd534f2e955938cf78f05 on node-red:i18n.

I squashed my two commits with a rebase command, and I rolled back the merge commits using reset. I'm a bit of a newbie to Git still, though, and I'm not sure if that approach was the best way (I did a lot of trial and error first occasionally fearing that I had screwed up my repo). How should I keep my fork up to date while avoiding the merge commits in the future?

Also, I just pushed a fix to a bug I found in editor.js. I squashed that change into the previous commit, but I though I should mention that there was an additional change added.

Coverage remained the same at 93.78% when pulling 89ef103e655c7e50f16bb987f2776c9b5fe96d0d on kallenboone:master into 163e28f31d4926126d4cd534f2e955938cf78f05 on node-red:i18n.


Added (optional) poweredby field to config

Fixes #33
Adds a new field poweredBy to config allowing the river to link back to it's original data source.
The poweredBy should be HTML code allowing you to use pre-made links/images to data providers (example using powered by yahoo: https://developer.yahoo.com/attribution/)
(to see an example of this in action pull in https://github.com/jaredweiss/river-view/tree/stock-rivers)

:+1:


WIP : Refresh Token Grant from Keycloak

Work in progress.

Offer option for Services to Refresh Token Grant from Keycloak
Validate the JWT token was generated using the same version as the code it is being evaluated by

https://docs.organicity.eu/HowToRefreshToken/

so far, so good


I'm not sure that this is implemented perfectly, but order/limit clau…

…ses following a WITH should be tied to that WITH, not to any clauses following the WITH.  Also fixed some of the testing around params in query_spec.rb

Coverage increased (+0.02%) to 95.1% when pulling ba859c29eda215e875eeb216d2e7e50c16ae1b24 on order_and_limit_should_break_with_with into b1eef172318023319cfdd9f7715ef84531846d8f on master.


fix(LayoutMenu): update focus visible states and x-button placement

Overview

Sets links to width: max-content to reduce size of focus-visible outlines and adds 4px and then -4px of margin to the accordion links to make the focus-visible outlines not cut off. Moves overflow to Flyout to fix the x-button placement overlapping with the scroll bar when visible, and changes it to overflowY="auto" so that it is only the y-axis and only shows scroll bars when necessary

PR Checklist

[ ] Related to designs:
[x] Related to JIRA ticket: REACH-1058 REACH-1055
[x] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-kit@0.4.30-alpha.74a2da.0@codecademy/gamut-labs@19.8.1-alpha.74a2da.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60ca553d4355f83db6cae311--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.4.30-alpha.5a9a48.0@codecademy/gamut-labs@19.8.1-alpha.5a9a48.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60ca64b90e863a009e7db7bc--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.4.30-alpha.f5d956.0@codecademy/gamut-labs@19.8.1-alpha.f5d956.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60ca6e6820bfc80976780df6--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.4.30-alpha.6e9f6c.0@codecademy/gamut-labs@19.8.1-alpha.6e9f6c.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60ca742e38b8c000ce9bf528--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.4.34-alpha.6c878a.0@codecademy/gamut-labs@19.9.3-alpha.6c878a.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60cb8d3e7bf01e00aefbb003--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-kit@0.4.35-alpha.17dd16.0@codecademy/gamut-labs@19.10.1-alpha.17dd16.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60cb9f6b402a581a18975a0b--gamut-preview.netlify.appDeploy Logs


Added missing mean voltage measurement method and some ADC scaling corrections

You might be interested in a few things I fixed:

There was no method to read the "average" (offset) of the measured input signal, I added one.
Fixed the output offset constant "TSUNAMI_OFFSET_FS": 3731 was probably meant for a version where the R13/R15 reference voltage divisor was 5V-supplied and R14 was 402 ohms; now the divisor is 3.3V-supplied though and R14 seems to be something like 243 ohms (sort of hard to tell without an up-to-date schematic), which leads to Vref = 3.3 * 1/(10+1) = 0.3V therefore scaling becomes 0.3 * 3300 / 243 = 4.074V = 4074mv which is a good bit away from 3731. Unfortunately, that's still nowhere near correct because additional current (likely from the two current-guzzling opamp inputs - tens of microamps over a one kilo resistor become tens of millivolts) adds some additional voltage drop, making the reference actually around 0.31V - but since I'm unable to specify the leak precisely I didn't correct for it in the proposed new value; perhaps calibration can take care of that later on.
Fixed the input average / offset measurement constant "TSUNAMI_VIN_RANGE": not sure what 3300 was for, but based on the values of R2, R4 and R6 the resulting voltage follows the law Vdiv  = (Vin + 3.023622) / 2.372724, which yields an input swing of -3.023622V ... +3.050552V corresponding to the 0V ... 2.56V range the ADC is currently set up to cover. That's an 6.074V input range so I set the constant to half that, 3037mV.
Fixed the phase measurement by temporarily switching back to the Vcc reference for the duration ofthe phase measurement, considering one cannot convert the incoming full 0V ... Vcc range with a 2.56V reference (this is partly what causes the current phase measurement issues - some problems in the hardware remain though, it seems to me that at the input of the "freqin" opamp we have way too much additional phase shift; maybe messing with R1 or R3 could help some more?)
Finally, the change from "analogReference" to "setAnalogRef" is there to avoid the first few measurements going badly wrong: it seems that measuring anything right after an ADC reference switch doesn't give time the Vref capacitor to reach the new Vref value so the measured values are meaningless. Unfortunately, waiting any amount before the first measurement does nothing because "analogReference" doesn't actually switch anything, it just stores the selected Vref option which gets applied by "analogRead" immediately before a conversion starts. This spoils the first few measurements while the Vref pin cap is charging. Using the custom "setAnalogRef" gets around that because the reference gets actually switched immediately followed by a suitable delay before the function returns.

Now, regarding phase shifts - this is what I saw at 1 MHz:
Reference sign output on AUX against the input signal (loopback BNC cable from the output):

Same at the input side of R6 ("NET_31"):

Same at the "divisor" side of R6 ("VIN_A4"):

Same at pin 3 of the MCP opamp (after R1):

The resulting FREQIN signal:

The resulting phase PWM signal at the greenpak output:

As much as some phase shift is unavoidable, it seems to me that bit just past R1 doesn't have to be there - wouldn't reducing R1 or eliminating R3 help? I'm not particularly good with opamps, it's an honest question...

Thank you for the excellent changes and bugfixes, and comprehensive description!
RE the phase shift, R1 and R3 are necessary to provide hysteresis; earlier versions lacked them, but it led to a very noisy squared-up signal for slow moving waveforms. That's okay for phase measurement, but completely messes up frequency measurement. In theory both could be reduced by the same ratio, but VIN_A4 is relatively high impedance, so I'm concerned about the impact it might have on the rest of the input circuitry. Some modelling is probably called for.
Thanks also for the feedback on the hardware; rev 2 will definitely have to derive its reference voltages from the 3.3v rail instead of the 5v rail, for better stability.


Fix bug in Mesh::split_to_u16

Builds on https://github.com/emilk/egui/pull/2451 (I failed to push more commits onto that branch)
Closes https://github.com/emilk/egui/issues/2458
Please try it out @pum-purum-pum-pum

Yeah it's correct, thanks for clarifying!
Patched the old version I'm on -- it works


webhookDefinitions are not supported registry+v1=> plain+v0

Hi, OLM team!
OLM
version: 0.9.0
others components
catalogd_version=v0.12.0
cert_mgr_version=v1.9.0
rukpak_version=v0.19.0

behaviour
atm, this is not possible to use the latest operators from https://operatorhub.io/
when i try  latest's one, i have this error
Message: convert registry+v1 bundle to plain+v0 bundle: webhookDefinitions are not supported
tested upon the following manifests.
---
apiVersion: catalogd.operatorframework.io/v1alpha1
kind: Catalog
metadata:
  name: operatorhubio
spec:
  source:
    type: image
    image:
      ref: quay.io/operatorhubio/catalog:latest
      pollInterval: 24h
---
apiVersion: olm.operatorframework.io/v1alpha1
kind: ClusterExtension
metadata:
  name: operatorhubio-argocd-operator
spec:
  packageName: argocd-operator
  version: 0.8.0
---
apiVersion: olm.operatorframework.io/v1alpha1
kind: ClusterExtension
metadata:
  name: operatorhubio-loki-operator
spec:
  packageName: loki-operator
  version: 0.6.0
---
apiVersion: olm.operatorframework.io/v1alpha1
kind: ClusterExtension
metadata:
  name: operatorhubio-gitlab-runner
spec:
  packageName: gitlab-runner-operator
  version: 1.15.1

Hi @DrummyFloyd - thanks for filing this issue! Currently operator-controller does not support registry+v1 bundles that contain webhooks but it is on our roadmap!

@everettraven thank you for your anwsers, actually @ Varsha already told me that, and asked me to create an issue , that's why =)
https://kubernetes.slack.com/archives/C0181L6JYQ2/p1712405237065129
hope, it will appears soon it the roadmap , because i want to managed many things with OLM v1, especially because OLM V1 is gitops 	compatible

Ah I see, thanks for filing the issue!


Listen for exceptions to make it easier to diagnose issues

Hi @davidebbo, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (davidebb). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@sethmanheim - Seth, could you review this contribution from @davidebbo and let me know if I should merge? Thanks!

Looks good, thank you @davidebbo! #sign-off


move files around for simpler / more intuitive setup

Now fits in nicely with all the other gems :)
require 'bundler/gem_tasks'
require 'rspec-rerun/tasks'
require 'bump/tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

@dblock
I was thinking of putting this and rspec 3 only into 1.0.0 since both are major changes ...

This is very nice, merging.

I think you should create an UPGRADING document ala this one and update CHANGELOG as well for some of this.


[FEATURE] CreateIngestPipelineStep Improvements

Is your feature request related to a problem?
In an effort to address any issues/gaps with the current step implementations, this issue is to track necessary modifications for the CreateIngestPipelineStep.

[ ] The use case template workflow parser is responsible for populating the WorkflowData that each WorkflowStep will read information from to execute their function. Modify how the CreateIngestPipelineStep currently reads data from the WorkflowData to ensure that the expected information is read correctly. The following example WorkflowData is what is generated from the following use case template section.

Use Case Template Create Ingest Pipeline Section :
{
    "id": "create_ingest_pipeline",
    "type": "create_ingest_pipeline",
    "inputs": {
      "id": "my-ingest-pipeline",
      "description": "some description",
      "processors": [
        {
          "type": "text_embedding",
          "params": {
            "model_id": "my-existing-model-id",
            "input_field_name": "text_passage",
            "output_field_name": "text_embedding"
          }
        }
      ]
    }
  }

WorkflowData :
{
    description=some description,
    id=my-ingest-pipeline,
    processors=[Lorg.opensearch.flowframework.model.PipelineProcessor;
}

Note : The PipelineProcessor (link) contains the type and a list of required parameters for this type. In the case of the text-embedding processor, the required parameters are the model_id, 'input_field_name', 'output_field_name'.

Done with https://github.com/opensearch-project/flow-framework/pull/558


Update tests

Current coverage is 49.25%

Merging #1401 into develop will decrease coverage by -0.01% as of 2d8204a

@@            develop   #1401   diff @@
=======================================
  Files           963     963
  Stmts         66880   66880
  Branches          0       0
  Methods           0       0
=======================================
- Hit           32946   32945     -1
  Partial           0       0
- Missed        33934   33935     +1

Review entire Coverage Diff as of 2d8204a

Powered by Codecov. Updated on successful CI builds.

It's nice to have the multisign tests, and it's really nice not to have all warnings about deprecated stuff.  All tests are passing for me on OS X.

LGTM

Reviewers: @ximinez @sublimator

Tests look good, and are passing in Windows and the CIs. :+1:

Merged as f2dfde3ee1a1f6fd2790a8721a17515d9368c5dc, 6066c254c8a7a68abcc04a8aca81e8272a0aef95 and<PHONE_NUMBER>fe7e21ed31883e637c1903ae346bf5.


Open Mailbox is not working keyword

. I keep get an error  “ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it” .
My code is given below
Open Mailbox   host=outlook.office365.com<EMAIL_ADDRESS>password=*******  port=993

So the robotframework-imaplibrary2 0.3.2 is actually deployed from my fork.
You can see the new commits here https://github.com/lasselindqvist/robotframework-imaplibrary/commits/master
It actually only contains the naming change (adding the number 2) and the email encoding handling https://github.com/lasselindqvist/robotframework-imaplibrary/commit/fc462da9488691d04883edefb78d103a6bd072a4 change.
Sorry for the confusion about the naming.
Any connection issues should not be because of these changes, so your problem is probably something else.


Update mind-ar-ts to newer version

Hi, are there some plans to update mind-ar-ts to last mind-ar-js version?

@demisquare yup, I'll try to update it in this repo ASAP, but if you want to contribute it also fine


send pre/post code context for exceptions and errors

Adds lines of code before and after the "code" line, as described in https://rollbar.com/docs/api/items_post/. We've been using this @MindTouch for a couple years with good results.
I didn't write a test as it uses file() to load source files into arrays. If you think a test is necessary I can create an abstraction for file() that is mockable.

 This all looks really great.
If you don't mind writing a test we'd really appreciate it! I realize this involves refactoring the file reading a bit. Let me know if you need anything from us. We'd be happy to offer you any assistance you need.

@Crisfole no problem, i'll have the update shortly

@Crisfole updated and tests added

@modethirteen Nice! Thanks for that. I'll inspect later today, and get this merged in ASAP.

@Crisfole sounds great -- does a new tag get cut after that? it would be great it we were running the mainline releases.

@Crisfole any chance this will get merged soon?

@modethirteen @nocive I'd like to merge this soon. Tagging and releasing would need at least one extra set of eyes.

@brianr Take a peek? This looks good to me and it's tested.

Testing this locally right now and then I'll merge

Took a bunch longer because I discovered we didn't actually show the pre/post code yet, but had to make sure. This is fanstastic. Thank so much @modethirteen


Add the create or upgrade feature for jobs, pipelines and apps

For jobs, pipelines and apps, add a create_or_upgrade method that will check if a given job, app or pipeline already exists inside a project (based on its name) and decide if it needs to be created or updated

Trello card: [#116] Add the create or upgrade feature for jobs, pipelines and apps


attempt to setup redux

Yo I tried to set up all the things that are needed for redux. Please take a look and let me know if i need to add anything. WORD UP 💯

Looks good! I'll pull it down and test it out and let you know if there are any bugs.


Not able to fetch the content from PPT file in WASM as well as Javascript files.

I have chrome extension for validating emails in GMail. But unfortunately, no dll supported in WASM or Javascript  for PPT (I can use Aspose.slides for pptx). Need your input.

I believe what you are looking for is OpenXML SDK which is maintained by Microsoft.
There is a sample usage for PPT in https://github.com/dotnet/Open-XML-SDK/blob/main/samples/PowerPointModernCommentSample/Program.cs


Upgrade embedded tomcat to use 8.5.11

5.0.x runs with an older version of tomcat, 8.5.9. Bump that version to the latest available tomcat release today. Do this before the 5.0.4 release.

Closed via https://github.com/apereo/cas/commit/22ab4b0487f31d89556412a35fe986b40949c390


Support Django 2.0

I think we need to come to a consensus on what the default value of the on_delete parameter should be. The value set in the pull request DO_NOTHING is not a good choice. It could lead to errors.
The choices are

set on_delete=CASCADE since this was the default
set on_delete=PROTECT if we want to change behavior and offer protection from accidental deletes

I prefer the latter, though I am okay with CASCADE as well.

Thank you for this. I am working on Django 2 support and have put some of these changes in already.


Have a left-to-right option for layout

Some systems might look better when the connections flow from left to right.
This came up in discussion with Darren from Rancher.

Dagre already support this BTW.


How do i save a Model or Agent after training so i can use just use it without training ?

Can please provide like a code snippet to do that?
It will be super help full
Thanks🙏

with open('....model_name....', 'wb') as file:
    pickle.dump(model.copy(), file)

this creates the file to write bytes(wb) of the class to the file as the python standard pickle file.

Thanks

How do we save and load tf sessions so we don't have to retain the model every time. Note that tf models are thread locked so you can't pickle them. Is there a code on how to export into .pb or pbtxt and maintain accuracy?

unless you are using the same random seed across your sessions then accuracy cannot be guaretted. As far saving your model goes,  you can either convert to keras model and create a custom callback, or since each layer of the tf model is callable you can convert to numpy and save the weights of each layer/variable..... there are multiple ways to approach this problem. I converted mine to tf 2.0 which has eager execution enabled and no need to worry about sessions as a whole....

unless you are using the same random seed across your sessions then accuracy cannot be guaretted. As far saving your model goes, you can either convert to keras model and create a custom callback, or since each layer of the tf model is callable you can convert to numpy and save the weights of each layer/variable..... there are multiple ways to approach this problem. I converted mine to tf 2.0 which has eager execution disabled and no need to worry about sessions as a whole....

Hey @IISuperluminaLII  would you be able to share part your code where you load the model and predict? I'm still new to tf. I have enough compute to train once or twice a day but cannot train each time. Thanks!

which model are you talking about? it is implementation dependent as layer names and layer configurations are different across the models.

I'm using the LSTM.


Add a wiki: Risk Of Rain Returns Wiki

Link to origin wiki:  https://riskofrain.fandom.com/wiki/Risk_of_Rain_Returns
Link to destination (independent) wiki: https://riskofrainreturns.wiki.gg/wiki/Risk_of_Rain_Returns_Wiki
Here's an actual Wiki dedicated Risk Of Rain Returns itself - Since Hopoo Games themselves have actually migrated away from Fandom Wiki itself.
I figured that people who actually want to look up stuff for Risk Of Rain Returns should be able to do it on an officially endorsed Wiki by the devs themselves. I haven't seen any other suggestions like this pop up. I apologize if this doesn't quite fit the requirements, but I figured I'd try anyway!

wiki.gg is supported through this add-on: https://github.com/freedomgamesdev/wikigg-redirect-extension
Nothing wrong in having both add-ons enabled.

Since we're starting to wiki.gg wikis, this can now be re-visited.
It looks like there's a bit of scope difference here. The Fandom wiki covers all three games (RoR, RoR2, and RoR Returns), while the wiki.gg seems to only cover Returns. It sounds like a big enough content gap to be an issue, but happy to hear thoughts from people more familiar with the game and/or wikis.

They won't be on Fandom anymore. https://www.reddit.com/r/riskofrain/comments/17yyzw1/wiki_update_fandom_is_no_more/

It looks like there is now riskofrain.wiki.gg and riskofrain2.wiki.gg in addition to riskofrainreturns.wiki.gg, so we can perform the redirects. The original proposal of redirecting riskofrain.fandom.com to riskofrainreturns.wiki.gg had scope issues that I expressed earlier.
That both riskofrain.wiki.gg and riskofrain2.wiki.gg cover Risk of Rain 2 is...kind of weird, but alas.

Added in v3.4.0, now available for both Chrome + Firefox.


FloatingActionButton elevation

I'm facing this issue when I put elevation to any view the floatingactionbutton always appear under that view no matter what I do.

Without Elevation

With Elevation

Fixed. See the Changelog.


question about passing customization flags to spack

Question received over email from @stefan-maxar:

Hope you are doing well! I am a long-time lurker on all the great work you have been doing with the NOAA EMC repos (NCEPLIB-*, spack-stack, etc.) – really awesome stuff there. We’ve been starting to build out our own Spack environments for running applications like UFS. So far, Spack (and the work you’ve contributed to it) has been great – but we are running into what I am sensing is a common issue…compilation customization. Passing compiler flags seems to be very hit-or-miss and has a strong dependency on a package’s package.py actually reading in that information. For example, EMSF’s package.py reads in the spec.compiler_flags so you can actually change optimization (e.g., pass a -O3 flag), but something like netcdf-c has its own optimization variant but doesn’t read in spec.compiler_flags…so you get what you get. Heck, even ZLib’s package.py overwrites any passed flags.
So – I am curious what your strategy has been when wanting to pass specific customizations (flags) within Spack. It seems like you can go the “brute force” route and modify each package’s package.py…but just doesn’t seem like a clean way to go about it….and then you start diverging from the main Spack repo. Thoughts welcomed!

Well, you can do things like spack install libelf cflags="-g" say, and that will pass in flags to the build. Weird thing is you'd think you could do something "semi-permanent" in packages.yaml but I don't think you can (only in compilers.yaml). Would be a good spack feature I say!

Thanks for the discussion! The quirk I am coming across is that using something like cflags="-g" either within the compilers.yaml or spack.yaml (if in an environment and using a specs section) is that if the underlying package "accepts" that information via its package.py.
Take, ESMF for example (https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/esmf/package.py#L156) - it reads in the flags as defined at the complier level - so you can pass things as expected and have your -g propagate. On the other hand, netcdf-c (https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/netcdf-c/package.py) starts with an empty flag set and doesn't read in anything in from the spec. So no matter what, your -g  won't be propagated into the build...at least from my experience. So, really, I think (?) this comes down to the package.py level...which means possibly brute forcing any customizations you might want. Given how many packages we all use...brings me back to my initial question on if there was any different/better approach that ya'll might be using!

In my experience brute force works, if one is prepared to be brutish enough.
There are < 200 packages, if even half of them required intervention, that's still only a few weeks work for one good spack programmer.
What I notice is that many teams are starting to take responsibility or at least involvement with their spack package file. For example, ESMF has now committed to maintaining their spack package file, so presumably any problem should be submitted to their support email.
Each intervention is also an opportunity to educate that team in spack and invite them to take more ownership of their spack package file. As spack knowledge spreads through the community, the need for such interventions should decrease.

Following on @climbfuji's suggestion, I would recommend getting on the Spack Slack channel and asking the developers for input. That said, given that not every package.py or package build system honors every argument (come to think of it, there's no guarantee that even Spack's built-in settings for architecture etc. will be used by any given package), you're probably looking at some amount of at least package.py development to ensure those common variants are actually getting picked up by the build systems.
Relatedly, the Spack team is doing their annual user survey (https://github.com/spack/spack/discussions/35706). Raising the idea of "standardizing the way packages accept compiler arguments" would probably be a welcome suggestion.


Added changesets prerelease to V2

What is it?

[ ] Feature / enhancement
[ ] Bug
[ ] Docs / tests / types / typos
[x] Infra

Description
This will allow us to release alpha versions of V2.

Updated  packages names to @qwik.dev/core and @qwik.dev/city
Didn't update qwik-auth, qwik-worker, qwik-labs and the rest of the packages which are not the main 4 (core, city, eslint and cli)

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have ran pnpm change and documented my changes
[ ] I have made corresponding changes to the Qwik docs
[ ] Added new tests to cover the fix / functionality

@Varixo I wonder if we can use one of vitest's dom implementations instead of qwik-dom
WDYT?

@wmertens during my search replace to qwik.dev/core I noticed I've changed a bunch of files in the optimizer that made me think whether we should add the new "words" instead of replacing them.
Can you please review the changed files of the optimizer and verify whether my gut feeling is correct or not?
(thanks)


Snowplow in Mobile.

Can we use snowplow in Android and iOS hybrid Application?
considering the fact, mobile app is a Phone-gap application, using JavaScript  for coding functionality.
I am using JavaScript Tracker.
Please Revert ASAP.

Duplicate of #107


Fix couple SARIF output issues

Description
Couple fixes for clj-holmes SARIF output mentioned in #63
Fixes

Fix null tool.driver.version value.
Remove escape character for slash (\\) character in output text.
Updated rule's short message text value to clj-holmes' rule name property as the rule's readme.md mentioned:

name
A short description for the rule.

Bump the minor version number to 1.4.2

@mthbernardes pls review the proposed fixes. Thank you!
cc @eddynaka @michaelcfanning @shaopeng-gh


React 16.3.2, prop-types

This fixes #5, changing the old React.PropTypes to imports from prop-types. Should be good to go, if there's anything wrong, let me know!

Please accept.


Capitalized headings for consistency

Capitalized first letter of headers to remain consistent with current style.

Hi Alex. May I ask what you didn't like about the commit and what I could I do in the future to improve? Thank you.


Helper method to check transaction is dust

Helper method to check transaction is dust

What is the reasoning behind this change?  Was it established by Dash Core?

This method is already in our code.


Wait For futures to finish before proceeding with Embedding

This Solves a Bug when starting a video just after stopping another, condition will reset so first video recording will wrongly continue

Thank you @evorystrant for the pull-request! I included your code in #52, but with a small change making it Python 2 compatible as well.


[proposal] remove the tag in internal config as usual

What is your proposal:
The component config of koord-scheduler does not need to define json tag, only set in special version.
Why is this needed:
Is there a suggested solution, if so, please add it:

/assing


Make Explosions Smaller?

After Alpha 5.0 is distributed, Big D suggested smaller exlposions, let me know of this!

@Heebe What do you think of this?

I feel like they're sized nicely

With the new explosion animation, they should be fine, it depends when I see it though.

K

@Heebe was refereing #111

Finished via 387a00a61d7e2ab3f7f154d27fdc0affead5bf42


Add Implementation :: tags

    Programming Language :: Python :: Implementation :: CPython
    Programming Language :: Python :: Implementation :: PyPy

can probably use tox.ini as a heuristic

I would like to give it a try!
Wish me luck! :smile:

sounds good!  I would take a look at how the current tox.ini code bits work

sounds good! I would take a look at how the current tox.ini code bits work

do you mean something like https://github.com/asottile/setup-cfg-fmt/issues/1?

yep!


djlint: 1.35.2 -> 1.36.4

Diff: https://github.com/Riverside-Healthcare/djlint/compare/refs/tags/v1.35.2...v1.36.4
Changelog: https://github.com/djlint/djLint/blob/v1.36.4/CHANGELOG.md
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 368925

x86_64-linux

:white_check_mark: 2 packages built:

djlint
djlint.dist


Create lexer_test.go

Hi @ahalbert ,
this pr add test cases for lexer.go file.
#10

Hi @WheeskyJack, thanks for your contribution. I'm commenting to let you know that I plan in the future to rename the repository to ahalbert/ted (Turing EDitor) in the future in case you want to make more contributions.


⚠ Bofrost.be has degraded performance

In b159431, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 3291 ms

Resolved: Bofrost.be performance has improved in cc1762e.


[BEAM-13486] [Playground] For unit tests (java) if one of tests fails the output goes to stdOutput

Moved runErrorOutput to runOutput in the output section.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

LGTM thanks!


Disabling boxes_flow results in text coming in reverse order

Bug report
Example PDF
Code to reproduce:
from pdfminer.high_level import extract_text
from pdfminer.layout import LAParams

laparams = LAParams(boxes_flow=3, line_margin=0.001)
print(extract_text("test.pdf", laparams=laparams))

(Note that once #396 is merged we'll be able to do boxes_flow=None, I'm passing 3 simply to disable it)
Actual Output:
Text 4
Text 3
Long Text 1
Text 2
Text 1

Expected Output:
Text 1
Text 2
Long Text 1
Text 3
Text 4

Interesting unexpected result. Let's look into this after #396 is merged.
Maybe related: #384.


The problem with non Latin (Cyrillic) fonts

Title
The problem with non Latin (Cyrillic) fonts

Summary
The problem with Cyrillic fonts is in the names of groups or roles.
For example, when naming a group (in Keycloak) as a Гарантум, the value in the x-auth-groups header ÐÐ°ÑÐ°Ð½ÑÑÐ¼.
How can I fix it?

Environment

Expected Results

Actual Results

Steps to reproduce

Additional Information

https://stackoverflow.com/a/75998796

As you can see header values can contain only small subset of characters, only improvement I can make is to reject request if token fields which will be translated to headers will contain other characters than those allowed

Thanks! No changes are required. You can close the task.


How to update story content dynamically

I want to update item count dynamically (by pagination or infinite scrolling)
I did the that in tray view by adding a scrollcontroller, But to update the story view we need some way to update the story item when data updates via pagination,

Hello, AdvStory allows async storyBuilder function to requesting data from server. Runs storyBuilder and keeps result in the memory. To update story content count, storyBuilder function should be updated and previously built stories should be cleared, which is not expected behaviour in many use cases. You need to know total story count before creating story view in current implementation, you can paginate stories in storyBuilder but not contents or trays. I designed AdvStory to use with previosuly fetched tray data, i'm requesting user story when a tray tapped or story swiped. But If you provide some code or better yet a reproducible repository I can try more help.

Hi @ertgrulll thanks for the quick response,
I did the pagination in tray, following is the PR:
PR.
Now the problem is:

initially the api called and 10 data loaded in tray.
Now I tap on 2nd item in the tray(each story has only one item)
Now when story reaches to 7th , I call the data for next page and not the count(tray count) is 20
Although tray gets updated but story view is closed after 10th

0.2.0 version published, I have made changes to allow storyCount update.  This version should fix your problem, you can paginate stories now. If you see any other problem, please file a new issue. Happy codings!

Thanks ! It was quick


[7757] Add Functional Tests to Service Bus Worker

[7757] Add Functional Tests to Service Bus Worker
📲 What
Add two fucntional tests to the Service Bus worker: -

Tests that a valid message is colected from the Service Bus by the worker and not dead lettered.
Tests that an invalid message is colected from the Service Bus then dead lettered.

🤔 Why
These two tests not only test the Worker template is working as expected but they also provide a starting point and example to create new functional tests in the Worker template.
🛠 How
The Functional Testing project is based on our servicebus-dotnet-example-main, with a few modifications: -

Nunit has been replaces for xUnit for consistencny with other stacks packages.
The depriocated Microsoft.Azure.ServiceBus library has been replaced with the Azure.Messaging.ServiceBus library.

👀 Evidence
The following screenshot shows both tests passing: -

The following screenshot shows a valid message being collected by the worker for 'valid message' test: -

The following screenshots shows the message failing to be collected by the worker for the 'invalid message' test and how the message has been dfead lettered: -

Approved :)


adding market depth chart to limit orders popup

closing the loop: as of 2594a35483d23fd28e15569d2ce6388fb8c51298 the depth chart uses our chart components instead of victory