Standardize usage of PluginContainer and the plugin instance.

Currently the API uses both Plugin Containers and Plugin Instances at various places such as event registration, and schedulers. This should be standardized.

@me4502 i'm not sure this really can be standardized as these 2 are very very different things
i also am not sure it should be standardized

@progwml6 Its too confusing for plugin devs to know when to pass @Plugin or PluginContainer. In Forge, I don't remember ever seeing where you would pass your @Mod. Its always ModContainer (if necessary, a lot of the times your mod container will be grabbed otherwise).
We should adjust the API to require PluginContainer or grab it ourselves in impl. If the latter, that may be an issue if you wanted to register an event for another plugin (as an example).

@Zidane I disagree with you.
Passing the plugin object makes more sense. Internally, the Sponge classes should get the plugin containers.
The current implementation already makes it possible to pass the container instead of the plugin.

IMO using the @Plugin instance should be allowed in all cases. Methods that need a plugin should have an Object parameter, from there the impl can check the object actually is a plugin instance, or if the object is a PluginContainer. Passing this is a lot easier than fetching the container through dep injection or the plugin manager.
All methods should throw an IllegalArgumentException if it's unable to determine the container from the passed in object.

Currently it looks like everything that requires a plugin instance does that by passing the Object instance. PluginManager is set up to also take a PluginContainer for this parameter, so either option can be used -- plugin instance preferred though). I think that resolves this issue.


Getting type cannot be instantiated error for abstract base class

When I attempt to do something similar to what this guide shows using .Net 5, I set up an abstract base class and several concrete child classes then adding a DbSet and a modelBuilder mapping as shown,
public DbSet<MyAbstractType> myType {get;set;};
modelBuilder.Entity<MyAbstractType>().ToTable("MyTable");
but I get the following error:
The corresponding CLR type for entity type 'MyAbstractType' cannot be instantiated, and there is no derived entity type in the model that corresponds to a concrete CLR type.

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

ID: 55345ff6-3c81-969e-3c92-29c24d78d2ca
Version Independent ID: aa826512-74a5-752a-0ad0-0f8133f6c39e
Content: Tutorial: Implement inheritance - ASP.NET MVC with EF Core
Content Source: aspnetcore/data/ef-mvc/inheritance.md
Product: aspnet-core
Technology: aspnetcore-data
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Can you reproduce with the exact steps in the tutorial?

Container issue for EF/MVC #17465


Add support for adding multiple items at once

Recently Shopify updated the AJAX API to accept an array of items when posting to /cart/add.js.  This allows for the same functionality of adding one single item by variant ID or now adding multiple items with one single post.
https://help.shopify.com/en/themes/development/getting-started/using-ajax-api#add-to-cart
Add Single Item: POST data
items: [
  {
    quantity: 2,
    id: 794864229
  }
]

Add Multiple Items: POST data
items: [
  {
    quantity: 2,
    id: 794864229
  },
  {
    quantity: 1,
    id: 478298497
  },
]

I just published a very crude rough implementation as a fork that adds CartJS.addItems that accepts an object of items to pass along as data.  It's a "good enough" solution that I'll be rolling out as an upcoming feature on www.kosas.com so a customer can add all of the makeup used to create a specific look.
I'll open a PR to get this started, but more thought would need to go into how it might integrate with the data api.

@jonathanmoore we also planned to work on a PR for this with @gorgonfreeman. We'd be keen to see your work on this to make sure you haven't already done the work we intended to do :)

Hey @jonathanmoore, this is great! Terribly sorry but I totally missed the notifications on this one.
Thanks for opening the PR - would love a couple of extra eyes on it (@bodog / @GorgonFreeman)?
Will definitely want to update the Data API to use this under the hood, rather than the existing queue system.
Somewhat annoyingly, the response value from this new endpoint returns only updated items, not the entire cart, so we probably still need to call a GET to refresh the cart after this call.

@bodog You can see the "hacked together" PR at https://github.com/discolabs/cartjs/pull/172.  It's not elegant, but it did the trick for what we need to ship recently.

Thanks @jonathanmoore I'll ask @gorgonfreeman to review and see when we might have capacity to contribute, if it's even necessary :)


Fix faulty second test run with Consul

Adds a little more space for timeouts on watches and key expiration for Consul.
Ultimately for the test to be exhaustive in PutEphemeral we need to test Put after the failed Get and probably add a teardown function cleaning up the key space on each store.
Signed-off-by: Alexandre Beslic<EMAIL_ADDRESS>

Fixed this in another PR (re-organizing the project into sub-packages and fixing the last few stuff), it hid a race in Consul. Will test it against Swarm to confirm and I'll submit the PR.


rm extra pipe character

@collinbarrett : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@Jak-MS : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Jak-MS : Thanks for your contribution! The author(s) have been notified to review your proposed change.


CLI command for operations

Currently cli client lxc doesn't have options to work with operations.

That's because you're never supposed to directly deal with operations, what would you like the client to do with them?

@uglide What are operations?

Closing this as there's no plan on adding a user interface to operations. The only exception being a way to monitor them, which we added recently through the (hidden) "monitor" command.


Latin Segmenter should split camelCased words

Today, Meilisearch is splitting snake_case, SCREAMING_CASE and kebab-case properly but doesn't split PascalCase nor camelCase.
drawback
Meilisearch doesn't completely support code documentation.
enhancement
Make Latin Segmenter split camelCased/PascalCase words:

"camelCase" -> ["camel", "Case"]
"PascalCase" -> ["Pascal", "Case"]
"IJsland" -> ["IJsland"] (Language trap)
"CASE" -> ["CASE"] (another trap)

Files expected to be modified

/src/segmenter/latin.rs

Hey! 👋
Before starting any implementation, make sure that you read the CONTRIBUTING.md file.
In addition to the recurrent rules, you can find some guides to easily implement a Segmenter or a Normalizer.
Thanks a lot for your Contribution! 🤝

Can I take this up?

@adithyaakrishna  you still doing this otherwise I'd try this next week

@yenwel I am working on this, as I am very new to rust I have some doubts 😶
@curquiza Regarding this issue, how about if we convert the string to something which meilisearch already does?

Hey @adithyaakrishna,
you can't convert the String in a segmenter because you don't have ownership of it at this step. So you'll have to find another way to split it.
To help you a bit more, split_word_bounds returns an Iterator over &str, from this Iterator you should be able to re-split each Item then flatten it after.

Hey @adithyaakrishna,
any news on this?
Do you need any help? 😄

Hi!
I have a working patch for this. What's not clear to me is whether we want to keep the whole word or not. I.e. if camelCase should be segmented into ["camelCase", "camel", "Case"] or just ["camel", "Case"].
I'd expect the former because if a user searches for camelCase we probably want to prioritize documents containing camelCase as a whole over documents containing camel and case. But I'm not familiar with how the ranking at search-time works in Meili so maybe this is handled in some other way.

The goal is to split "camelCase" into ["camel", "Case"] and even "snake_case" into ["snake", "_", "case"].
I agree with you that we will lose precision in favor of the recall, but, in this case, I'd prefer to focus on accent/diacritics precision than on the case. 🤔


Better support for arrays, ObjectIDs, and nested Schemas

Solves the issue #182 by checking if this.constructor is a model in the pre save hook.

Hello @ReadWriteError, can you add allso test cases for this issue so we can be safe in the future refactorings

I'm expanding the scope of this PR to include better support for arrays, ObjectIDs and nested Schemas. This includes a fix for #187.

I appreciate your effort on this PR, but after reviewing it, would suggest a different approach to collaborate:

Let's not expand PR with new features, instead crate smaller readable PRs.
I suggest adding test cases without removing existing tests, since this negates previous work, in case test needs to be rewritten because new functionality again can be done in scope of smaller PR just for this specific case
The main goal is small fast iterations

Things like $set are present in test for a reason to test weather we end up with the full model after "patch", same goes with tests that focus on different versions of mongoose and cases like updateOne, updateSingle, since in pipelines I run matrix of various mongoose versions and node
Next steps lets try to focus first on lean() make some changes write additional tests then create small PR if tests are green we move on to next step for example constructor name check (your first commit) can be separate PR

I apologize for my messy PR. To be honest this is my first pull request on an open source project. Most of the changes to the tests I made are simply me verifying that this package works with our use case. Not having much experience with mongoose plugins or your code base, the best I knew I could verify that our app we plan to deploy this Saturday wouldn't start it's life with tainted history is to take a test everything approach. Now that I have more experience with how this code works and after seeing how my changes in update-hook react with my current PR's tests I could probably catch all the edge cases in smaller individual tests.
I'll try to separate the 2 issues into 2 PRs but my intent was for this PR to add support for arrays, objectsIDs and nested schemas while using issues to document how the library fails if you try to use these features now. I think it makes more sense to test to see if the feature works rather than to test to see if the bug came back and arrays, objectIDs and nested schemas need both these issues fixed if the tests are going to pass.

Yep no worries we all start somewhere. About tests I suggest making a new test file, start always with basic cases, after build up edges as you go. About app release this is cool let's see maybe we can manage by Saturday.

My plan for my next PR i'll leave all of the current tests alone and make a few new tests in one file plugin-global.ts. The new tests will be focused on testing arrays, ObjectIDs and nested schemas and will need to test how all 3 react in the save hook and the update hook with the plugin applied globally in mongoose.
Oh and don't worry about getting this merged by Saturday we can deploy my fork until this is upstream. I wasn't trying to rush you.


Update hipper commit

trying once more after rebase, in lieu of #17

Thanks! Sorry again, I forgot that I should have merge committed since you branched off the other PR.


[WIP] SCHEMA bep011

A potential inconsistency I noticed when implementing bep011 #518 :
objects/columns.yaml entries have a key that is used internally to reference the entry, then a name that is what shows up in files.
objects/entities.yaml entries have a key that is used internally to reference the entry, a name field for pretty printing, and then an entity field which is what actually shows up in filenames.
objects/suffixes.yaml entries have a key that is both used internally and is what shows up in the filenames.
I have started transitioning derivatives selectors and checks to be more valid JS than our current expression language to forward the validator progress until an expression language is settled on.
This can't validate  morph.tsv column names with the suggested [-][-] pattern.
There are many derivative specific columsn/entities/suffixes here, do we want to separate these in the objects directory from non-derivative bids entries?
Entries in objects/suffixes.yaml are in alphabetical order, should this order be case sensitive?
Also contains fixes for other derivatives rules using desc instead of description

objects/columns.yaml entries have a key that is used internally to reference the entry, then a name that is what shows up in files.

I think this (and metadata) is the one we should base others off of. There's no guarantee that elements (whether suffix, metadata field, or column name) will have singular definitions, so we may need multiple entries for a given element with unique keys.

objects/suffixes.yaml entries have a key that is both used internally and is what shows up in the filenames.

I think this one should be changed. We currently have unique suffixes (the same suffix always has the same description), so we use the actual suffix as the key, but this isn't the case for columns and metadata. To make it consistent with metadata/columns, then we should use name for actual suffix, and the key would be the suffix, with the potential for __[unique_tag] to distinguish entries with the same suffix, but different descriptions.

objects/entities.yaml entries have a key that is used internally to reference the entry, a name field for pretty printing, and then an entity field which is what actually shows up in filenames.

Yeah... entities is a special case where we need some field with the "code name" (see #585 and #616). We ended up using a format that isn't very consistent with the rest of the schema. Some folks have raised concerns with the current structure, so it may be worth revisiting.

Proposal from today's schema call:
# suffix
TwoPE:  # some unambiguous reference that works for MATLAB and ancpBIDS
  name: 2PE  # The actual value used in the specification
  display_name: 2-photon excitation microscopy  # The pretty name
  description: |
    2-photon excitation microscopy imaging data

# entity
inversion:
  name: inv
  display_name: Inversion Time
  description: |
    If files belonging to an entity-linked file collection are acquired at different
    inversion times, the `_inv-<index>` key/value pair MUST be used to distinguish
    individual files.
    This entity represents the `"InversionTime` metadata field. Please note that the `<index>`
    denotes the number/index (in the form of a nonnegative integer), not the `"InversionTime"`
    value which needs to be stored in the field `"InversionTime"` of the separate JSON file.
  type: string
  format: index

# column
type__electrodes:
  name: type
  display_name: Electrode Type
  description: |
    Type of the electrode (for example, cup, ring, clip-on, wire, needle).
  type: string


[Snyk] Upgrade express-session from 1.15.6 to 1.18.1

Snyk has created this PR to upgrade express-session from 1.15.6 to 1.18.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 9 versions ahead of your current version.

The recommended version was released on a month ago.

Release notes

Package name: express-session

1.18.1 - 2024-10-08What's Changed

chore: add support for OSSF scorecard reporting by @ inigomarquinez in #984
dep<EMAIL_ADDRESS>by @ knolleary in #997
Release: 1.18.1 by @ UlisesGascon in #998

New Contributors

@ inigomarquinez made their first contribution in #984
@ knolleary made their first contribution in #997
@ UlisesGascon made their first contribution in #998

Full Changelog: v1.18.0...v1.18.1

1.18.0 - 2024-01-28
Add debug log for pathname mismatch
Add partitioned to cookie options
Add priority to cookie options
Fix handling errors from setting cookie
Support any type in secret that crypto.createHmac supports
deps<EMAIL_ADDRESS>
Fix expires option to reject invalid dates
perf: improve default decode speed
perf: remove slow string split in parse

deps<EMAIL_ADDRESS>

1.17.3 - 2022-05-11
Fix resaving already-saved new session at end of request
deps<EMAIL_ADDRESS>

1.17.2 - 2021-05-19
Fix res.end patch to always commit headers
deps<EMAIL_ADDRESS>deps<EMAIL_ADDRESS>

1.17.1 - 2020-04-17
Fix internal method wrapping error on failed reloads

1.17.0 - 2019-10-11
deps<EMAIL_ADDRESS>
Add SameSite=None support

deps<EMAIL_ADDRESS>

1.16.2 - 2019-06-12
Fix restoring cookie.originalMaxAge when store returns Date
deps<EMAIL_ADDRESS>

1.16.1 - 2019-04-11
Fix error passing data option to Cookie constructor
Fix uncaught error from bad session data

1.16.0 - 2019-04-11
Catch invalid cookie.maxAge value earlier
Deprecate setting cookie.maxAge to a Date object
Fix issue where resave: false may not save altered sessions
Remove utils-merge dependency
Use safe-buffer for improved Buffer API
Use Set-Cookie as cookie header name for compatibility
deps<EMAIL_ADDRESS>
Replace internal eval usage with Function constructor
Use instance methods on process to check for listeners
perf: remove argument reassignment

deps<EMAIL_ADDRESS>
Fix res.writeHead patch missing return value

1.15.6 - 2017-09-26
deps<EMAIL_ADDRESS>deps<EMAIL_ADDRESS>
perf: reduce overhead for full URLs
perf: unroll the "fast-path" RegExp

deps<EMAIL_ADDRESS>
perf: remove only trailing =

deps<EMAIL_ADDRESS>

    from express-session GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Automated PR Comment From Polaris SCA

❌ Found dependencies violating policy!

Dependency
Policies Violated
License(s)
Vulnerabilities
Short Term Recommended Upgrade
Long Term Recommended Upgrade
Resolved / Filtered Out

body-parser 1.18.3
Third-party component usage
MIT License
❌   CVE-2024-45590 High CVSS 7.5
1.20.3 (0 known vulnerabilities)
2.0.1 (0 known vulnerabilities)
:grey_exclamation:


Feat: Allow job name override

Forked. This was first iteration; intended to send the PR to my own main branch, but defaulted here instead. (Sorry bout that.)


Cannot create blockchain wallet through the api

I'm trying to create Blockchain wallets using your service "service-my-wallet-v3" and "api-v1-client-php".
It worked 2 weeks ago, but now I can't create new wallet.  I have updated version to v0.26.1
It shows me the error:
1527572801668 - warn: Created non-HD wallet, for privacy and security, it is recommended that new wallets are created with hd=true
1527572801673 - error: undefined Error: address import format not supported
at Function.Address.import (/usr/local/node/lib/node_modules/blockchain-wallet-service/node_modules/blockchain-wallet-client/lib/address.js:199:13)
at createLegacyAddress (/usr/local/node/lib/node_modules/blockchain-wallet-service/src/create.js:78:35)
at newWallet (/usr/local/node/lib/node_modules/blockchain-wallet-service/src/create.js:87:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
and returns an empty wallet response:
object(Blockchain\Create\WalletResponse)[237]
public 'guid' => null
public 'address' => null
public 'label' => null
Thanks in advance.

I have find the problem. It occured when I try to create account with function createWithKey.
Actually I don't imagine what is private-key for wallet and what the problem?
Can anyone help me.


CSync Dependancy update/change

Hey Sylvi!
Just a heads up that CSync is deprecated and is no longer updated or supported,
A fork of CSync is available that other mods are moving to as a replacement;
https://thunderstore.io/c/lethal-company/p/Sigurd/CSync/

thanks! just got that dependency updated

Hey Sylvi!
Just a heads up that CSync is deprecated and is no longer updated or supported,
A fork of CSync is available that other mods are moving to as a replacement;
https://thunderstore.io/c/lethal-company/p/Sigurd/CSync/

It is and will continue to be supported, just not on Thunderstore (at least by me).


Wizard for creating first project

Might be out of scope for MVP, but here it is

[ ] Walk user through making first project

Let's close this in favor of https://github.com/fastlane/ci/issues/77 for now 👍


Update client3:async-http-client-backend-cats, ... to 3.3.1

Updates

com.softwaremill.sttp.client3:async-http-client-backend-cats
com.softwaremill.sttp.client3:async-http-client-backend-future
com.softwaremill.sttp.client3:circe
com.softwaremill.sttp.client3:core

from 3.2.3 to 3.3.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.client3" } ]

labels: library-update, semver-minor

Superseded by #74.

bro, it was already closed


Packet PDUs Export

Are you planning to provide support for exporting the packets to either PCAP or PCAPng format?

I have other plans in the short term, but in the long term I’ll consider adding support for PCAP format

Sniffnet finally supports exporting PCAPs 🎉
This feature has just been merged into the main branch and will be officially released shortly as part of version 1.3.0.


H6102

Please explain your feature request in a one or two sentences.

is it possible to add H6102 Lightstrip zo the supported devices

Is your feature request related to a problem? Please describe.

Any particular ECOVACS devices that this relates to?
H6102 Lightstrip

Anything else?

Hi @thgibs
Unfortunately the models that are supported by this plugin are specifically stated by the Govee API, in other words, adding support for new models is impossible unless Govee specifically allows this.
The 'latest' supported models are always visible on the wiki page:
https://github.com/bwp91/homebridge-govee/wiki/Supported-Devices
In fact I think the H6102 does not support wifi (only bluetooth) so it is very unlikely this model will ever be supported :(


client: support not(manual-lifetime) mode after all…

Anything I can do to help get this moving along? I'd be happy to send a patch for the delegate cfgs.

Anything I can do to help get this moving along?

I just need to not forget about this by the time weekend comes up ^^

Haha, sounds good!


Align and wrap description, usage, flags, and commands

Wraps all help output to a max width.
New config options for max output width (default 80 chars), min first column width (default 2 spaces), and column gap (default 2 spaces).
Flag and command names and descriptions are now aligned and descriptions wrap onto multiple lines
Usage text also wraps
Snapshot tests updated to include the above

Could also consider adding a blank line between each command and/or flag. Maybe it should be configurable?

@richard-viney this is awesome, thanks for tackling this! I'll hopefully have time to take a look in the next few days

Ready for another look!

The default max output width is now 80 chars to match what gleam format uses.

This looks great, i'm going to merge it now! Thanks @richard-viney 💜


[CodeCompletion] Implement call signature completion for subscript

(Cherry-pick of #24867 to swift-5.1-branch reviewed by @benlangmuir)
rdar://problem/28874899

@swift-ci Please test


Clone method in ChainedAuthFactory always set required to true

The class ChainedAuthFactory always set the parameter required to true in the clone method. This is a snippet of the method:
@Override
public AuthFactory<Object, T> clone(boolean required) {
    ChainedAuthFactory<T> clone = new ChainedAuthFactory<>();
    for (AuthFactory<?, T> factory : factories) {
        clone.addChainedProvider(factory.clone(true));
    }
    return clone;
}

Instead of calling factory.clone(true), it should be factory.clone(required). This makes the authentication always required when ChainedAuthFactory is used.

Closed by #1202


MB-6054 Pass customer's rank into ServiceMember model

Description
This PR updates the support service object to create an MTO to pass the Rank field from the Customer model into the new ServiceMember model. This field is required to create payment requests later on, so we needed to add it for load testing to succeed with all endpoints.
Setup
Run the server with make server_run and hit the createMoveTaskOrder endpoint in the Support API using Postman or the Prime API Client. Check that the service member's rank was populated.
Code Review Verification Steps

[ ] Request review from a member of a different team.
[x] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Messages

:book:
:link: MB-6054

  Generated by :no_entry_sign: dangerJS against cdcf981b38d31eb4bb56de1050c5623952e4bfa1


Add test cases for soul-admin mapper

mapper

[ ] AppAuthMapper
[ ] AuthParamMapper
[ ] AuthPathMapper
[ ] DashboardUserMapper
[ ] MetaDataMapper
[ ] PluginHandleMapper
[ ] PluginMapper
[ ] RuleConditionMapper
[ ] RuleMapper
[ ] SelectorConditionMapper
[ ] SelectorMapper

Please read the Contribution Guideline before submitting the PR

plase assign to me

take SelectorMapper

take RuleMapper

take PluginMapper

take DashboardUserMapper

take AuthParamMapper

take RuleConditionMapper

take AuthPathMapper

take PluginHandleMapper

take MetaDataMapper

teke SelectorConditionMapper

done


Port pipeline-health page from old site

This page currently lives at https://oldsite.nf-co.re/pipeline_health and is built from https://github.com/nf-core/website/blob/old-site/public_html/pipeline_health.php
We should move the backend stuff over to https://github.com/nf-core/website/blob/main/bin/pipelines.json.js and build a simple page, which renders the information from the json file.
### Tasks
- [ ] add needed info to pipelines.json
- [ ] add asstro page to render info

might be interested in taking a stab at this 👀

sure, don't be overwhelmed by this, we gather quite a bit of data here. shout if something is unclear and we can discuss on gather or slack.


Pause video stream instead of playing when switching back from other lovelace tab

Hi there!
My use-case is that I have 1 front screen on tablet with cameras which plays in rtc mode and with 3.x.x (with 2.x it was working fine) that started to broke or behave differently: automatically pauses, won't play video stream when navigating back from other tab/lovelace.
How to reproduce:

Create a lovelace page with camera stream and start there
navigate to any other lovelace page
navigate back to lovelace page where your camera stream is and instead of playing, it will be paused.

Expected behavior:
When I switch back to camera page it should continue playing without manually pressing the play button.

OS/Browser?

Same happens on:
Win11 and 10 64 bit chrome 109.0.5414.120 (Official Build) (64-bit)
Also same happens on Android companion app 2022.12.10-full (Android 9)
And on Kiosk Browser on a different android tablettablet. (Android 10)
I believe it is more-or-less browser independent issue

I can confirm i have this issue as well on the android companion app but have never seen it on a browser. My companion apps (2 of them) are  the same so i will just include one below:
Fire HD 10 tablet (2021), Android 9, Version 2023.1.1-full
Home Assistant 2023.1.5
Frontend 20230110.0 - latest
It does not always happen for me however. If i navigate away for 30+ seconds its fine when i return
The issue seems to happen if i navigate away and then back quickly like turning a light on and going back
Once paused, it remains paused until you manually un-pause it

Same issue for me on all my devices. I noticed this when updated from 2.x to 3.0

Google Chrome browser.
HA App on iPad, iPhone, and Samsung Galaxy 10 Plus
Fully Kiosk on Fire HD 10 Plus 2021.

https://github.com/AlexxIT/WebRTC/releases/tag/v3.0.2

3.0.2 did not fix the issue for me.
I restarted the HA and rebooted my hardware. I don't know what else to try.

I had similar issues using the Frigate-custom card which itself uses this card to display RTC.
As a workaround I have configured the Frigate custom card in the following way (maybe this helps). It's not perfect but it limits the traffic in that way, that the video is streamed only when the card is displayed:
type: custom:frigate-card
cameras:
  - webrtc_card:
      entity: camera.cam
live:
  webrtc_card:
    background: false
  preload: false

If I understand the logic of the card correctly, 'background: false' is bypassed to this card.

3.0.2 did not fix the issue for me. I restarted the HA and rebooted my hardware. I don't know what else to try.

After restarting HA a couple more times, it looks like my card is fixed.
I have this typical card...
type: custom:webrtc-camera
entity: camera.mycamera1
Will update you again if needed.


Lack of documentation

Hey, I’m a newbie at Arch, especially at Hyprland, and I liked your setup. But when I tried to install it, I encountered a problem, that almost everything is not working as it should.
My assumption is that I didn’t install all required.
I would be glad if you  (@ahmad9059) update the README file with the list of packages/dependencies for this setup.

Bro watch this tutorial from start to 6:36 - https://www.youtube.com/watch?v=8oCHxzJky4U&list=WL&index=4
and then watch this tutorial 2:07 to end - https://www.youtube.com/watch?v=W2UFwkgdwNo&list=WL&index=5

I you still have issue message me on discord : https://discord.com/users/584161915253686309

Thanks


Added the sonar username and password as environment variables

This change will allow users to be able to change the default username and password for sonar database.

LGTM.


[Load Balancer] Support haproxy "peers" feature / stick-table sync

It would be great if the Rancher Loadbalancer could support the peers feature. We have some applications that need sticky sessions based on some portion of the path or header fields. For increased availability we currently use 2 manually set up haproxy instances in different locations that sync their stick-tables.
For example: A file is initially opened on a backend server and the loadbalancers have to know which server currenty holds which file id, because when another user requests the same file he has to be forwarded to the same backend server.
When using a single Rancher Loadbalancer in this scenario everything works fine, but as soon as more lbs are added the persistence information is not consistent any more.
Problem is that every loadbalancer has to know the other loadbalancers by their ips and names for the stick-table sync to work. See https://cbonte.github.io/haproxy-dconv/1.6/configuration.html#peers

Rancher allows one to extend its HAProxy configuration. Are you unable to configure peers in there? Or is the difficulty in determining who those peers are?
Have you a working peers section example to test out?

I know that one can customize the haproxy config as I already customized the hell out of it :-)
But the problem here is to determine who those peers are.
peers my_haproxy_servers
        peer my-haproxy-1 <IP_ADDRESS>:1024
        peer my-haproxy-2 <IP_ADDRESS>:1024

backend my_custom_backend
        stick-table type string len 256 size 1m expire 12h peers my_haproxy_servers
        stick on path,regsub(/something.*CustomId,CustomId,i),regsub(%20MoreCustomStuff.*,,i) table my_custom_backend if { path_beg /something }
...

So basically every haproxy loadbalancer needs to know all other haproxies in its "peers" section. The port can be anything, but every loadbalancer has to have the same config and the names have to match the hostnames of the haproxy instances, because they are used at protocol level to identify each instance.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Distance based sorting for nearest available center

Use input pin code / lat-long, and center pin code / lat-long to sort for the nearest available appointment

Hey - There are a bunch of changes here and I need to test those. That could take a while.
Could you create the pull request into "feature/distance-sorting" branch? I will promote it from there after review.

Sure
Will do

Quick ques - is the No Viable Options messageshowing up for you now?

Yea - I can see it in the latest exe. I made that into a countdown timer.


Can't run on React

run
npm install d3 npm install d3-clone
then
import * as 'd3' from 'd3' d3.select('#svg').appendClone(...);
Uncaught TypeError: d3__WEBPACK_IMPORTED_MODULE_12__.select(...).appendClone is not a function

Is the same case as d3-transition, but I've to test it.
"With the new D3 version 4, the d3-transition module extends the d3-selection module's Selection."
Try this and tell me if it works.
import { select, Selection } from 'd3-selection';
import 'd3-clone';

It works, but in Typescript, it should be (d3.select("#svg") as any).appendClone(...).


failed for task ':app:mergeDebugResources'

I have installed the library and linked everything according to what is written in the README file. However when I try to compile I receive the following error.   I have already checked the setting.gradle, build.gradle and everything is linked. I have tried to change the build.gradle to play-services-base with the version specified in the error but it didn't work as well.  I am trying to run with an Android Device.
Does anyone have a clue of what is happening?
Execution failed for task ':app:mergeDebugResources'.

Error: Failed to crunch file C:\Users---------------\GPS_FrontEnd\android\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\10.2.4\res\drawable-xxhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png into C:\Users---------------\GPS_FrontEnd\android\app\build\intermediates\res\merged\debug\drawable-xxhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png

Hey, any fixes for it? I'm having the same issue...

Try this project: https://github.com/alvelig/react-native-maps-example
But apparently is #1773 related

I've face exactly the same issue and this work for me :

I moved my projet in a different location to shorten the path (I put mine in the root of my D: for instance)
run the command gradlew clean from android directory of the project

As I understood, it's a OS path limit issu :
https://stackoverflow.com/questions/33905687/error-file-path-too-long-on-windows-keep-below-240-characters/34680168#34680168

Moving the project folder is super hacky.
I used this solution :
In build.gradle file
allprojects {
    buildDir = "C:/tmp/${rootProject.name}/${project.name}"
    repositories {
       ...
    }
}


Prep release

fixes #21
fixes #23
fixes #25
fixes #26
fixes #27
fixes #29

Codecov Report

Merging #28 (c04e0e5) into master (7ababb6) will increase coverage by 3.67%.
The diff coverage is 51.88%.

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   48.28%   51.95%   +3.67%
==========================================
  Files          59       81      +22
  Lines        1572     2173     +601
==========================================
+ Hits          759     1129     +370
- Misses        813     1044     +231

Impacted Files
Coverage Δ

src/fullctl/django/decorators.py
35.29% <0.00%> (-2.21%)
:arrow_down:

src/fullctl/django/management/commands/base.py
0.00% <0.00%> (ø)

...l/django/management/commands/fullctl_poll_tasks.py
0.00% <0.00%> (ø)

...django/management/commands/fullctl_promote_user.py
0.00% <0.00%> (ø)

...tl/django/management/commands/fullctl_work_task.py
0.00% <0.00%> (ø)

src/fullctl/django/models/abstract/alert.py
0.00% <0.00%> (ø)

src/fullctl/django/rest/decorators.py
44.95% <0.00%> (-0.42%)
:arrow_down:

src/fullctl/django/rest/filters.py
0.00% <0.00%> (ø)

src/fullctl/django/tasks/celery.py
0.00% <ø> (ø)

src/fullctl/django/urls.py
100.00% <ø> (ø)

... and 49 more

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 8a9dc9a...c04e0e5. Read the comment docs.


Deprecate multiple flags in favor of new ones

Prerequisites
Put an x into the box(es) that apply:

[ ] This pull request fixes a bug.
[ ] This pull request adds a feature.
[x] This pull request enhances existing functionality.
[ ] This pull request introduces breaking change.

For more information, see the Contributing Guide.
Description
Following flags have been deprecated and will be removed in the following releases:

Flag --no-color has been deprecated, use --color=false instead
Flag --no-escape has been deprecated, use --escape=false instead
Flag --no-header has been deprecated, use --hide header instead
Flag --no-inputs has been deprecated, use --hide inputs instead
Flag --no-outputs has been deprecated, use --hide outputs instead
Flag --no-providers has been deprecated, use --hide providers instead
Flag --no-requirements has been deprecated, use --hide requirements instead
Flag --no-required has been deprecated, use '--required=false' instead
Flag --no-sensitive has been deprecated, use --sensitive=false instead
Flag --no-sort has been deprecated, use --sort=false instead

Issues Resolved
List any existing issues this pull request resolves.
Checklist
Put an x into all boxes that apply:

[ ] I have read the Contributing Guidelines.

Tests

[ ] I have added tests to cover my changes.
[ ] All tests pass when I run make test.

Documentation

[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.

Code Style

[ ] My code follows the code style of this project.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #265   +/-   ##
=======================================
  Coverage   81.68%   81.68%
=======================================
  Files          34       34
  Lines        1796     1796
=======================================
  Hits         1467     1467
  Misses        274      274
  Partials       55       55


None return in predict function results in panic error

If None is returned in the predict function of predict.py, it results it a panic error, with no clear error message to indicate what went wrong.
def predict(self) -> str:
        return None

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x8c3692]

The changes now check if none is returned, since None return is unintended, display an error message.
ⅹ Prediction output is none, return a valid output

Hi @Shubhamai. Thanks for sharing this!
I started to add an integration test, but noticed that the panic was specific to predictors returning str, but not other return types, which go through json.Marshall. Based on this, I came up with a narrower change in https://github.com/replicate/cog/pull/1809. The important difference there is that cog predict emits a warning to stderr instead of exiting with an error. This more closely matches the behavior for other output types, which aren't checked.


Add support for sending 0-RTT data

We don't actually take contributions on GitHub. See the CONTRIBUTING file here:
https://github.com/google/boringssl/blob/master/CONTRIBUTING.md


retroarch: 1.7.5 -> <IP_ADDRESS>

Motivation for this change
Updating retroarch fixes the missing GUI elements / icons. Also add missing perl dependency to xdg-utils, as it was found missing during testing of retroarch.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after): retroarch +2 MiB, xdg-utils +66 MiB.
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

Backported to release-19.09: 60493b43cbf4a90389d2d46a584240e4a050ccb5, b30f86ffc6a5406ec1e78eb22d8c59b52fec896f.


Update PULL_REQUEST_TEMPLATE

Title of Pull Request
Description
Briefly describe the changes in this PR.
Testing

Steps to test this PR:

Do this
Do that
Check this

Checklist

[ ] Ran tests locally
[ ] Updated documentation
[ ] Ensured sufficient test coverage

Fixes #123

done


Did you plagiarize the work from Cobra?

https://arxiv.org/abs/2403.14520

I have innovated based on Cobra and have provided an acknowledgment in the project. My work builds upon Cobra with new ideas and enhancements, which are clearly acknowledged in the Acknowledgement section.


ansible: pull watches into own package

In the same way that Helm has a watches package responsible for loading
the watches file, Ansible should be structured similiarly to separate
concerns, primarily, loading and validating the watches and creating
runners.

@jmrodri could you take a look at this?

@joelanford you think that you could have a look at this PR?


[iOS] There is an error when typing Korean using the Chunjiin(Korean 10 key) keyboard

Hi
I found that Korean is typed unexpectedly when I use Chunjiin(Korean 10 key) keyboard
(When adding Korean keyboard, you can choose Standard or 10 Key)
Please refer to the video.

When  typing 패브릭쇼파
If you want to type 패브릭쇼파, you type like below.
ㅂㅍ - ㅂㅍ - ㅣ - . - ㅣ - ㅂㅍ - ㅡ - ㄴㄹ - ㅣ - ㄱㅋ - ㅅㅎ - . - . - ㅡ - ㅂㅍ - ㅂㅍ - ㅣ - .

expected 패브릭쇼,  actual 패브릭ㅅㅅ쇼
expected 패브릭쇼파,  actual 패브릭ㅅ파
https://user-images.githubusercontent.com/40018682/192226242-a232ba10-3828-4caa-9df8-bbfe56c342d3.MP4

When typing 대형
If I want to type 대형, you type like below
ㄷㅌ- ㅣ - . - ㅣ - ㅅㅎ - ㅅㅎ - . - . - ㅣ - ㅇㅁ

expected 대형,  actual 대ㅎㅎ형
https://user-images.githubusercontent.com/40018682/192230591-8e1b6b4b-ec2a-4cc7-8a86-4c7f0eec60ca.MP4
flutter doctor -v
[✓] Flutter (Channel stable, 3.3.2, on macOS 12.5.1 21G83 darwin-arm, locale ko-KR)
    • Flutter version 3.3.2 on channel stable at /Users/taylor/fvm/versions/3.3.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e3c29ec00c (12 days ago), 2022-09-14 08:46:55 -0500
    • Engine revision a4ff2c53d8
    • Dart version 2.18.1
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/taylor/Library/Android/sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

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

[✓] Android Studio (version 2021.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.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • 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

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

[✓] Connected device (5 available)
    • Pixel 6 (mobile)           • 1A221FDF6003ZH                       • android-arm64 • Android 13 (API 33)
    • SM G991N (mobile)          • R3CT10F9NRX                          • android-arm64 • Android 12 (API 31)
    • iPhone 13 Pro Max (mobile) • 00008110-001929041E52801E            • ios           • iOS 16.0.2 20A380
    • iPhone 13 Pro (mobile)     • 5A6FE182-3CFF-4D68-9B43-5C9287E0A152 • ios           • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64  • macOS 12.5.1 21G83 darwin-arm
    ! Error: iPhone 13 Pro Max is busy: Fetching debug symbols for iPhone 13 Pro Max. Xcode will continue when iPhone 13 Pro Max is finished. (code -10)

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

• No issues found!

Hi @crunchynurungji, thanks for filing the issue.
But I'm not familiar with Korean language input. Could you please specify Steps to reproduce, Expected result, and Actual result in more detail so that we may verify this properly?

I have the same issue.

Same case
this Error also relate with backspace
typing "이거" then  "이ㄱ거"
"이ㄱ거"
1 backspace  "이ㄱㄱ·"
2 backspace  "이ㄱ익" // error  I expect "이ㄱㄱ" but  "·" -> "익"
3 backspace "이ㄱ이"

@huycozy
I added detail about each video. Should I explain it in more detail?

@crunchynurungji thanks but what kind of keyboardType are you using? It's different than mine.

Demo

Please provide a completed and minimal reproducible code sample so that we may verify this. Also, please try upgrading to the latest Flutter stable/master channel and retry to see if the issue is still reproducible.

@crunchynurungji thanks but what kind of keyboardType are you using? It's different than mine.
Demo
Please provide a completed and minimal reproducible code sample so that we may verify this. Also, please try upgrading to the latest Flutter stable/master channel and retry to see if the issue is still reproducible.

You can configure the keyboard settings in this order.
https://user-images.githubusercontent.com/70277412/194235039-765302a0-132c-4276-ae32-16e967e43a8b.mp4

@crunchynurungji @tony-soft thanks for providing a sample code and guiding me to set up the keyboard.
But it seems to have been fixed on the stable 3.3.4 and master 3.5.0 channels. Please see the demo.
I only did the test with this case (I'm familiar with the keyboard, sorry).

expected 대형, actual 대ㅎㅎ형

Please try running app again on the latest master channel and confirm if this issue is fixed.
And please try all the remaining cases for sure (test with backspace key too).

Demo
https://user-images.githubusercontent.com/104349824/194376506-54cc7ffe-cacd-4c70-be8c-6ff3b34327ad.mov

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.3.4, on macOS 12.6 21G115 darwin-x64, locale en-VN)
    • Flutter version 3.3.4 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eb6d86ee27 (23 hours ago), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

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

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode14.0.1.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

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

[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • 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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 105.0.5195.125

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

• No issues found!

[✓] Flutter (Channel master, 3.5.0-2.0.pre.14, on macOS 12.6 21G115 darwin-x64, locale en-VN)
    • Flutter version 3.5.0-2.0.pre.14 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 59d68e03ee (15 minutes ago), 2022-10-05 23:53:34 -0400
    • Engine revision 5f2daf05e0
    • Dart version 2.19.0 (build 2.19.0-273.0.dev)
    • DevTools version 2.18.0

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

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode14.0.1.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

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

[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • 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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 105.0.5195.125

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

• No issues found!

Hi, I found same issue in flutter project.
I've tested in 3.3.4 version and it occurs only in real device(not simulator)
Please check this video again.
https://user-images.githubusercontent.com/33536656/194983671-a4f47f4f-9440-4f0f-8d8d-376fe1600737.mp4

@huycozy
error still occurs...

I've tested in 3.3.4 version and it occurs only in real device(not simulator)

@YoungeuNNN Can you provide the device information that you've tested on? (model, iOS version). Is it the same as @crunchynurungji's device? (iPhone 13 Pro Max iOS 16.0.2).
The issue may only reproduce on specific device/iOS versions.
Actual result (my device)
I tried testing with my physical device (iPhone 7, iOS 15.7), but can not replicate this issue on stable 3.3.4:

Demo (iPhone 7, iOS 15.7)
https://user-images.githubusercontent.com/104349824/195494770-4efd7788-94d8-40b5-867b-8c9dc5df5127.MP4

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.3.4, on macOS 12.6 21G115 darwin-x64, locale en-VN)
    • Flutter version 3.3.4 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eb6d86ee27 (23 hours ago), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

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

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode14.0.1.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

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

[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • 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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 105.0.5195.125

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

• No issues found!

[✓] Flutter (Channel master, 3.5.0-6.0.pre.4, on macOS 12.6 21G115 darwin-x64, locale en-VN)
    • Flutter version 3.5.0-6.0.pre.4 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6e5f95bc3c (15 minutes ago), 2022-10-10 22:57:32 -0400
    • Engine revision 593ae56f04
    • Dart version 2.19.0 (build 2.19.0-298.0.dev)
    • DevTools version 2.18.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode14.0.1.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.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.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • 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

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

[✓] Connected device (4 available)
    • Pixel 3a (mobile)      • 964AY0WL20                           • android-arm64  • Android 12 (API 32)
    • iPhone 14 Pro (mobile) • 7CB497D7-2159-4F84-BDBE-D79330FA1E48 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 106.0.5249.103

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

• No issues found!

@huycozy
I've tested on iPhone 11(iOS 16.0.3) and iPhone 11(iOS 15.7). (flutter ver 3.3.4)
It only occurs in iOS 16.x.x.
@crunchynurungji 's OS version also over 16.x.x  So It seems to happen depending on the iOS version.

@huycozy
it reproduced on Simulator (iPhone 13 Pro iOS 16.0)
https://user-images.githubusercontent.com/40018682/195768817-6dcbaf12-72c0-49c5-84ad-eeebdf7c4fd6.mp4

Thank you all for confirmation. I also can reproduce the issue on iPhone 14 Pro Max (iOS 16.0) on the latest stable and master channels. Labeling this issue for further investigation from the team.
The issue is happening:

when using Chunjiin(Korean 10 key) keyboard.
from iOS 16 onwards.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.3.4, on macOS 12.6 21G115 darwin-x64, locale en-VN)
    • Flutter version 3.3.4 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision eb6d86ee27 (23 hours ago), 2022-10-04 22:31:45 -0700
    • Engine revision c08d7d5efc
    • Dart version 2.18.2
    • DevTools version 2.15.0

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

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode14.0.1.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

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

[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • 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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 105.0.5195.125

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

• No issues found!

[✓] Flutter (Channel master, 3.5.0-6.0.pre.29, on macOS 12.6 21G115 darwin-x64, locale en-VN)
    • Flutter version 3.5.0-6.0.pre.29 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c738c8aa96 (6 hours ago), 2022-10-12 23:49:12 -0400
    • Engine revision 7638a1463b
    • Dart version 2.19.0 (build 2.19.0-307.0.dev)
    • DevTools version 2.18.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1)
    • Xcode at /Applications/Xcode14.0.1.app/Contents/Developer
    • Build 14A400
    • CocoaPods version 1.11.3

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

[✓] Android Studio (version 2021.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.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 70.0.5
    • Dart plugin version 222.4167.21

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • 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

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

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 106.0.5249.119

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

• No issues found!

is fixed?

same issue! please fix it!!!

Thanks for working on this issue. Many users are complaining everyday (and more and more) about the keyboard issue.
This case is quite urgent, because the keyboard type is quite common one, and I can see many users are using external memo app for copy and paste.

Thanks for your hard work on the maintenance of Flutter. The fix for this is needed for many Korean users since more than a month back since it was reported. Could we adjust the priority?

cc @LongCatIsLooong

I tried implementing UITextInput with a backing UITextView and managed to reproduce the same behavior in a pure UIKit app (interestingly I wasn't able to repro https://github.com/flutter/flutter/issues/111494), so I guess it's UIKit. @jmagman could you help me with filing a radar?
In the meantime I think the easiest workaround would be to change FlutterTextInputView from implementing UITextInput to extending UITextView so the keyboard switches to using the private legacyInputDelegate interface and avoid the problematic callpath.

swift code
import UIKit

class UITextInputView: UIView, UITextInput {
  let backingView: UITextView = UITextView()

  required init?(coder: NSCoder) {
    super.init(coder: coder)
    addSubview(backingView)
    backingView.translatesAutoresizingMaskIntoConstraints = false
    backingView.topAnchor.constraint(equalTo: safeAreaLayoutGuide.topAnchor).isActive = true
    backingView.bottomAnchor.constraint(equalTo: safeAreaLayoutGuide.bottomAnchor).isActive = true
    backingView.leadingAnchor.constraint(equalTo: safeAreaLayoutGuide.leadingAnchor).isActive = true
    backingView.trailingAnchor.constraint(equalTo: safeAreaLayoutGuide.trailingAnchor).isActive = true
    backingView.isUserInteractionEnabled = false
    backingView.font = .systemFont(ofSize: 32)
  }

  func text(in range: UITextRange) -> String? {
    backingView.text(in: range)
  }

  func replace(_ range: UITextRange, withText text: String) {
    backingView.replace(range, withText: text)
  }

  var selectedTextRange: UITextRange? {
    get { backingView.selectedTextRange }
    set { backingView.selectedTextRange = newValue }
  }

  var markedTextRange: UITextRange? {
    backingView.markedTextRange
  }

  var markedTextStyle: [NSAttributedString.Key : Any]? {
    get { backingView.markedTextStyle }
    set { backingView.markedTextStyle = newValue }
  }

  func setMarkedText(_ markedText: String?, selectedRange: NSRange) {
    backingView.setMarkedText(markedText, selectedRange: selectedRange)
  }

  func unmarkText() {
    backingView.unmarkText()
  }

  var beginningOfDocument: UITextPosition {
    backingView.beginningOfDocument
  }

  var endOfDocument: UITextPosition {
    backingView.endOfDocument
  }

  func textRange(from fromPosition: UITextPosition, to toPosition: UITextPosition) -> UITextRange? {
    backingView.textRange(from: fromPosition, to: toPosition)
  }

  func position(from position: UITextPosition, offset: Int) -> UITextPosition? {
    backingView.position(from: position, offset: offset)
  }

  func position(from position: UITextPosition, in direction: UITextLayoutDirection, offset: Int) -> UITextPosition? {
    backingView.position(from: position, in: direction, offset: offset)
  }

  func compare(_ position: UITextPosition, to other: UITextPosition) -> ComparisonResult {
    backingView.compare(position, to: other)
  }

  func offset(from: UITextPosition, to toPosition: UITextPosition) -> Int {
    backingView.offset(from: from, to: toPosition)
  }

  var textInputView: UIView { self }
  weak var inputDelegate: UITextInputDelegate?
  var tokenizer: UITextInputTokenizer { backingView.tokenizer }

  func position(within range: UITextRange, farthestIn direction: UITextLayoutDirection) -> UITextPosition? {
    backingView.position(within: range, farthestIn: direction)
  }

  func characterRange(byExtending position: UITextPosition, in direction: UITextLayoutDirection) -> UITextRange? {
    backingView.characterRange(byExtending: position, in: direction)
  }

  func baseWritingDirection(for position: UITextPosition, in direction: UITextStorageDirection) -> NSWritingDirection {
    backingView.baseWritingDirection(for: position, in: direction)
  }

  func setBaseWritingDirection(_ writingDirection: NSWritingDirection, for range: UITextRange) {
    backingView.setBaseWritingDirection(writingDirection, for: range)
  }

  func firstRect(for range: UITextRange) -> CGRect {
    backingView.firstRect(for: range)
  }

  func caretRect(for position: UITextPosition) -> CGRect {
    backingView.caretRect(for: position)
  }

  func selectionRects(for range: UITextRange) -> [UITextSelectionRect] {
    backingView.selectionRects(for: range)
  }

  func closestPosition(to point: CGPoint) -> UITextPosition? {
    backingView.closestPosition(to: point)
  }

  func closestPosition(to point: CGPoint, within range: UITextRange) -> UITextPosition? {
    backingView.closestPosition(to: point, within: range)
  }

  func characterRange(at point: CGPoint) -> UITextRange? {
    backingView.characterRange(at: point)
  }
}

extension UITextInputView: UIKeyInput {
  var hasText: Bool {
    backingView.hasText
  }

  func insertText(_ text: String) {
    backingView.insertText(text)
  }

  func deleteBackward() {
    backingView.deleteBackward()
  }
}

extension UITextInputView: UITextInputDelegate {
  func selectionWillChange(_ textInput: UITextInput?) {
    inputDelegate?.selectionWillChange(textInput)
  }

  func selectionDidChange(_ textInput: UITextInput?) {
    inputDelegate?.selectionDidChange(textInput)
  }

  func textWillChange(_ textInput: UITextInput?) {
    inputDelegate?.textWillChange(textInput)
  }

  func textDidChange(_ textInput: UITextInput?) {
    inputDelegate?.textDidChange(textInput)
  }
}

extension UITextInputView {
  override var canBecomeFocused: Bool { true }
  override var canBecomeFirstResponder: Bool { true }
  override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
    super.touchesBegan(touches, with: event)
    becomeFirstResponder()
  }
}

https://user-images.githubusercontent.com/31859944/204454059-b467269c-2794-4aba-9b4e-d6ec51f9fa26.mov

It seems not happening on iOS 16.2. I was able to reproduce it on 16.1 but not on 16.2. As it's also not reproduced on iOS 15.x, this issue looks to fade away as people using iOS 16 upgrade to 16.2. Maybe we can just close this issue..? @fenryrr Could you help share how this issue looks like on your end using iOS 16.2?
https://user-images.githubusercontent.com/3837732/208121493-7187cb45-9b97-4251-b596-a6cbb98dd6a4.mov

My flutter version is 3.3.10 and iOS version is 16.1.2
Still having this issue.
https://user-images.githubusercontent.com/70277412/208200455-f9e76367-e528-4732-a3bd-88bc830b5186.MP4

I tried three cases as below

iPhone 13 (physical, iOS 16.2)

https://user-images.githubusercontent.com/40018682/208328388-d9e6c918-52a6-4b91-ade2-6c653ba4c4e0.MP4

iPhone 13 Pro Max (physical, iOS 16.2)
iPhone 14 Pro Max (simulator, iOS 16.2)

https://user-images.githubusercontent.com/40018682/208328424-ee473711-f473-4aeb-b54d-e3f0d9cf8939.mp4
It only happened on simulator (case 3)

any updates?

@fenryrr thanks for the info! I tried this on an iOS 16.3 device and couldn't reproduce the issue. So it seems for iOS 16.2+ the issue is simulator specific. Applying a workaround in flutter is highly risky (a large scale change that may introduce regressions) so I'll discard the attempted fix.

My phone is an iPhone 11, and I've had this problem before.
But now I don't have this issue. I'm using iOS version 16.2 and an OS update seems to have fixed this issue.

@LongCatIsLooong (from triage) can you check if this bug still exists on an iOS 18 simulator?

No longer reproducible on iOS 18. Closing.


Selenium Installation

Hey, I wanted to use selenium to control the chromium instance that is launched. However, I tried a variety of ways like changing the base image, but none let me install Selenium in the docker container.
Can you maybe guide me how can I implement a way to control the chromium instance using selenium with the current setup you have?
Many thanks!

You can install Selenium Grid into the container and operate it from your host PC via container's IP address.
Reference: https://www.selenium.dev/documentation/webdriver/drivers/remote_webdriver/#:~:text=Selenium lets you automate browsers,sometimes as an end-node.

Thanks! I'll try this out and get back to you.
PS: I already tried adding py3-pip to the add apk command, and then run pip3 install in the Dockerfile, but it was not letting me do so, hence I reached out.

Hey @vital987, so I tried installing Selenium Grid, but even after doing so, I'm facing some issues. If you do get some free time, can we maybe hop on a call or G-Meet? I've been struggling to implement the desired functionality for the past 1-2 days and would really appreciate some help.
Do let me know if it is possible, otherwise, it is fine.
Thanks

So I was able to install Selenium Grid in the container. Here's the changes I've made, but I'm unable to control Chromium via this. Let me know if you can find any mistake.
config/supervisor/7-selenium.conf:
[program:Selenium] command=java -jar /opt/selenium/selenium-server-standalone.jar priority=4 autorestart=true stderr_logfile=/var/log/selenium.err.log
docker-compose.yml:
`version: '3.4'
services:
chrome-novnc:
container_name: chrome-novnc
environment:
- VNC_PASS=${VNC_PASS-interface}
- VNC_TITLE=${VNC_TITLE-Chromium}
- VNC_SHARED=${VNC_SHARED-false}
- VNC_RESOLUTION=${VNC_RESOLUTION-1280x720}
- PORT=8080
image: vital987/chrome-novnc:latest
ports:
- "${HOST_PORT-8080}:8080/tcp"
- "4444:4444/tcp"
restart: always
`
Dockerfile:
`FROM alpine:3.19.1
LABEL AboutImage "Alpine_Chromium_NoVNC"
#VNC Server Password
ENV	VNC_PASS="interface"
#VNC Server Title(w/o spaces)
VNC_TITLE="Chromium"
#VNC Resolution(720p is preferable)
VNC_RESOLUTION="1280x720"
#VNC Shared Mode
VNC_SHARED=false
#Local Display Server Port
DISPLAY=:0
#NoVNC Port
NOVNC_PORT=$PORT
PORT=8080
#Heroku No-Sleep Mode
NO_SLEEP=false
#Locale
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_ALL=C.UTF-8
TZ="Asia/Kolkata"
COPY assets/ /
RUN apk add --no-cache openjdk11-jre
RUN mkdir /opt/selenium
RUN wget -q "https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar" -O /opt/selenium/selenium-server-standalone.jar
RUN wget -q "https://chromedriver.storage.googleapis.com/2.46/chromedriver_linux64.zip" -O /tmp/chromedriver.zip
&& unzip /tmp/chromedriver.zip -d /opt/selenium
&& rm /tmp/chromedriver.zip
&& chmod 755 /opt/selenium/chromedriver
RUN	apk update &&
apk add --no-cache tzdata ca-certificates supervisor curl wget openssl bash python3 py3-requests sed unzip xvfb x11vnc websockify openbox chromium nss alsa-lib font-noto font-noto-cjk && \
noVNC SSL certificate
openssl req -new -newkey rsa:4096 -days 36500 -nodes -x509 -subj "/C=IN/O=Dis/CN=www.google.com" -keyout /etc/ssl/novnc.key -out /etc/ssl/novnc.cert > /dev/null 2>&1 && \

TimeZone
cp /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone && \

Wipe Temp Files
apk del build-base curl wget unzip tzdata openssl && \
rm -rf /var/cache/apk/* /tmp/*

ENTRYPOINT ["supervisord", "-l", "/var/log/supervisord.log", "-c"]
CMD ["/config/supervisord.conf"]
`
app.py
`from flask import Flask, jsonify
from selenium import webdriver
import time
app = Flask(name)
@app.route('/sel', methods=['GET'])
def run_selenium():
options = webdriver.ChromeOptions()
options.add_argument('--no-sandbox')
options.add_argument('--disable-dev-shm-usage')
options.add_argument('--disable-gpu')
driver = webdriver.Remote(
command_executor='http://localhost:4444/wd/hub',
options=options
)
driver.get('https://www.facebook.com')
time.sleep(15)
# Perform selenium tasks
driver.quit()
return jsonify({'status': 'success'})
New route for rendering "hello world"
@app.route('/hello', methods=['GET'])
def hello_world():
return 'Hello, world!'
if name == 'main':
app.run(host='<IP_ADDRESS>', port=5000)`

https://github.com/vital987/chrome-novnc/tree/selenium
Works with:
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import time

grid_server = 'http://x.x.x.x:4444/wd/hub'

chrome_options = Options()
chrome_options.add_argument('--no-sandbox')

driver = webdriver.Remote(
    command_executor=grid_server,
    options=chrome_options
)

driver.get('https://www.facebook.com')

time.sleep(3)

driver.quit()

One of the issue in your code is the installation of the chromedriver. The installed version is unsupported by alpine linux maybe due absence of glibc. You should install is via apk add --no-cache chromium-chromedriver

Hey, thanks! Two things:

This does not work locally for me on a M2 MacBook.
However, I tried this on a G-Cloud VM instance, and it worked perfectly there.

Thanks, I'm closing the issue now.

This does not work locally for me on a M2 MacBook.

M2 is ARM64 while the image is AMD64 based, try using --platform linux/amd64 argument.

PS: Seems like I tried most things locally, so even if I had tried something correct, it would've still not worked.

I can be sure of chromedriver in your code not working due to me suffering from same issue while working on modifications.

Hey @vital987, not an issue per se but when I'm running large Selenium tests and stream it via VNC, the automation chrome browser that opens crashes randomly. I was wondering if you have any idea why this might be happening?
I already have a VM with 8GB of memory, and a good internet connection as well.
Thanks once again!


[AutoDiff] Mangle derivative functions and linear maps

Mangle derivative functions and linear maps.

Mangle::ASTMangler::mangleAutoDiffDerivativeFunction() and Mangle::ASTMangler::mangleAutoDiffLinearMap() accept original function declarations and return a mangled name for a derivative function or linear map. This is called during SILGen and TBDGen.
Mangle::DifferentiationMangler handles differentiation function mangling in the differentiation transform. This part is necessary because we need to perform demangling on the original function and remangle it as part of a differentiation function mangling tree in order to get the correct substitutions in the mangled derivative generic signature.

A mangled differentiation function name includes:

The original function.
The differentiation function kind.
The parameter indices for differentiation.
The result indices for differentiation.
The derivative generic signature.

global ::= global generic-signature? 'TJ' AUTODIFF-FUNCTION-KIND index-subset 'p' index-subset 'r' // autodiff function

AUTODIFF-FUNCTION-KIND ::= 'f'        // JVP (forward-mode derivative)
AUTODIFF-FUNCTION-KIND ::= 'r'        // VJP (reverse-mode derivative)
AUTODIFF-FUNCTION-KIND ::= 'd'        // differential
AUTODIFF-FUNCTION-KIND ::= 'p'        // pullback

Example:
> swift-demangle --compact s13test_mangling4foo21xq_x_t16_Differentiation14DifferentiableR_AA1P13TangentVectorRp_r0_lFAdERzAdER_AafGRpzAafHRQr0_lTJr0__p0__r
reverse-mode derivative of test_mangling.foo2<A, B where B: _Differentiation.Differentiable, B.TangentVector: test_mangling.P>(x: A) -> B at parameters {0} and results {0} with <A, B where A: _Differentiation.Differentiable, B: _Differentiation.Differentiable, A.TangentVector: test_mangling.P, B.TangentVector: test_mangling.P>

Resolves SR-13507 and SR-14014.

@swift-ci please test

@swift-ci please test

@swift-ci please smoke test

@swift-ci please smoke test

Build failed
Swift Test OS X Platform
Git Sha - d0ec73681f881d17420bb07eefaaffe58c29d138

Build failed
Swift Test OS X Platform
Git Sha - d0ec73681f881d17420bb07eefaaffe58c29d138

@swift-ci please test

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

Build failed
Swift Test OS X Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

Build failed
Swift Test Linux Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

Build failed
Swift Test Linux Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please test

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

Build failed
Swift Test OS X Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

Build failed
Swift Test Linux Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

Build failed
Swift Test Linux Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

Build failed
Swift Test Linux Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

@swift-ci please smoke test linux

@swift-ci please smoke test linux

@swift-ci please test linux

@swift-ci please test linux

Build failed
Swift Test OS X Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

Build failed
Swift Test OS X Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

Build failed
Swift Test Linux Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

Build failed
Swift Test Linux Platform
Git Sha - 3b65e15826745991db49c8a8063feba5b8193907

@swift-ci please test

@swift-ci please test

It's good that you split such a large PR into multiple commits. But ideally each commit should be self-contained, i.e. each commit should contain a good commit message and the project should be compilable after each commit, and ideally the tests should pass. This makes it easier to understand "git log" and it enables "git bisect".
Your commit messages "Make compile" and "Fix all tests" suggest that this is not the case here.

Sorry, the commit log in the PR may appear confusing, but I did not intend to merge these commits as is.  My intention is to keep the original WIP commit by @dan-zheng to acknowledge his original contribution in the PR. When I merge I always use squash-and-merge, so only one commit will go into the tree.  Nonetheless, I have squashed those commits.

It's good that you split such a large PR into multiple commits. But ideally each commit should be self-contained, i.e. each commit should contain a good commit message and the project should be compilable after each commit, and ideally the tests should pass. This makes it easier to understand "git log" and it enables "git bisect".
Your commit messages "Make compile" and "Fix all tests" suggest that this is not the case here.

Sorry, the commit log in the PR may appear confusing, but I did not intend to merge these commits as is.  My intention is to keep the original WIP commit by @dan-zheng to acknowledge his original contribution in the PR. When I merge I always use squash-and-merge, so only one commit will go into the tree.  Nonetheless, I have squashed those commits.

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - ffe6064101172bbff6966db8ab3a22ccae8af462

Build failed
Swift Test Linux Platform
Git Sha - ffe6064101172bbff6966db8ab3a22ccae8af462

@swift-ci please test linux

@swift-ci please test linux


BIGTOP-3680: Update jruby's version to fix the smoke test failure on ppc64le

Description of PR
To fix the smoke test failure on ppc64le, update the version of jruby on power pc.
How was this patch tested?
No, I would like to ask the administrators to redo the test environment.
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
[x] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/

Thanks, I'll try your PR on ppc64le.

I would like to ask the Jenkins administrators to test this PR work (cc @sekikn ).

+1, tested on ppc64le and confirmed the PR worked. Thanks for the contribution @yoda-mon!
jenkins@bigtop1slave:~/bigtop$ sudo chown -R 1000:1000 .
jenkins@bigtop1slave:~/bigtop$ docker run -it -v $PWD:/bigtop bigtop/slaves:3.1.0-centos-7-ppc64le bash
[root@19bf67f49530 /]# facter architecture
ppc64le
[root@19bf67f49530 /]# cd bigtop
[root@19bf67f49530 bigtop]# curl -sL https://github.com/apache/bigtop/pull/900.patch | git apply
[root@19bf67f49530 bigtop]# git diff
diff --git a/bigtop-packages/src/common/hbase/do-component-build b/bigtop-packages/src/common/hbase/do-component-build
index be6d8ef..ed8493d 100644
--- a/bigtop-packages/src/common/hbase/do-component-build
+++ b/bigtop-packages/src/common/hbase/do-component-build
@@ -35,7 +35,6 @@ fi
 if [ $HOSTTYPE = "powerpc64le" ] ; then
   sed -i "s|<asciidoctor.plugin.version>.*</asciidoctor.plugin.version>|<asciidoctor.plugin.version>1.5.3</asciidocto
   sed -i 's|<asciidoctorj.pdf.version>.*</asciidoctorj.pdf.version>|<asciidoctorj.pdf.version>1.5.0-alpha.11</asciido
-  sed -i 's|<jruby.version>.*</jruby.version>|<jruby.version>1.7.23</jruby.version>|' pom.xml
   mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=2.5.0 \
       -Dclassifier=linux-ppcle_64 -Dpackaging=exe -Dfile=/usr/local/bin/protoc
   mvn install:install-file -DgroupId=com.google.protobuf -DartifactId=protoc -Dversion=3.17.3 \
[root@19bf67f49530 bigtop]# ./gradlew allclean hbase-pkg repo -Dbuildwithdeps=true

...

BUILD SUCCESSFUL in 2h 1m 41s
79 actionable tasks: 79 executed
[root@19bf67f49530 bigtop]# exit
$ sudo chown -R jenkins:jenkins .
$ cd provisioner/docker
$ ./docker-hadoop.sh -d -k hdfs,hbase -r file:///bigtop-home/output -s hbase -G -c 1

...

> Task :bigtop-tests:smoke-tests:hbase:test
Finished generating test XML results (0.072 secs) into: /bigtop-home/bigtop-tests/smoke-tests/hbase/build/test-results/test
Generating HTML test report...
Finished generating test html results (0.073 secs) into: /bigtop-home/bigtop-tests/smoke-tests/hbase/build/reports/tests/test
Now testing...
:bigtop-tests:smoke-tests:hbase:test (Thread[Execution worker for ':' Thread 7,5,main]) completed. Took 5 mins 25.713 secs.

BUILD SUCCESSFUL in 6m 28s
36 actionable tasks: 9 executed, 27 up-to-date

Merged into master and branch-3.1.


When you want to edit credit card number cursor  should remain at the same position

Steps to repro

type entire cc number then try to remove specific character somewhere in a middle , you will observe that cursor position will be changed to line end

expected result :
you should keep cursor position
Tested :
Was tested on demo page from here

Can't seem to reproduce this. What browser are you using?

It seems to be only happening on amex cards because it is the only card with a different codepath (doesn't have a "global" regex pattern).
https://github.com/medipass/react-credit-card-input/blob/master/src/utils/formatter.js#L123-L125

We have just recently published a new library, React Payment Inputs which is a rewrite of react-credit-card-input, and fixes a lot of issues that were raised in this repository as well as a few extra enhancements.
Your issue that you raised here should be fixed in React Payment Inputs - however, if you wish to still use react-credit-card-inputs, I'll try find time to fix this issue in the future.


HDDS-3401. Ozone audit entries could be consistent among volume creation with quota and update quota

Use QUOTA_IN_BYTES for setVolumeRequest.
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
What is the link to the Apache JIRA
How was this patch tested?
Existing tests. This is just a naming change in the Audit log.

Thank You @arp7 for the review.


Cannot zoom by using zoomIn zoomOut button

2.0.0 version to latest version cannot zoom in -out by button

No wonder package 1.6.1 has the most downloads.

https://prc5.github.io/react-zoom-pan-pinch/?path=/story/examples-controls--controls
Is this example working for you? or can you give me more details?
Because as I'm clicking right now - it looks fine

No wonder package 1.6.1 has the most downloads.

Feel free to help ;)

When I upgraded to 2.X my zoom buttons also stopped working.
I had to wrap my onClick in order to get them working again, like so:
onClick={()=>zoomIn()}

I had the same issue. Would be great to update the examples in the docs.

@jackwlee01 this prob is solved by your method thanks

I will take a look this weekend and update everything, thanks guys!

Fixed - update to docs got pushed :)


Fix bug when upload on web

Fix #13611

CI looks like legitimate failure

Backports:

#15054
#15055


Instruction generation issue

Currently the code generator doesn't pop unused expression values. So program like this:
100000.times do |i|
  1
end

will make value stack have 100000 integer 1.
But in test we need program to return the last expression to compare result, which means the code generator needs to be smart enough to use pop instruction to omit unused values and preserve the last pop before main program exit.

Looks this can be closed. How about this?

I haven't put SP check on every tests, I'll close this after we can be sure this is solved in tests.


Rename contract packs to sort together.

With permission from the various authors (see here).

#rebuild

Problem appears related to https://github.com/KSP-CKAN/CKAN-support/issues/107

#rebuild