Support for version okhttp 3.14.x

As per https://square.github.io/okhttp/security/#supported-versions : 3.14.x is supported only till Until 2020-06-30, even though latest 3.14.9 is released in 2020-05-17, Is there any reason behind this ? Or is there a typo ?
Also I am able to see support for 3.12.x is till 2021-12-31, and there is a note saying : Java 7+. Platforms may not support TLSv1.2. : Does it mean , with 3.12.x TLS 1.2 will not work ?

Everything on that page is correct.
3.12.x is a maintenance branch that supports down to Android API 9 if you need that.  However on those devices you might not have TLSv1.2 and as such you are also accepting higher risk with less secure connections.  On modern Android devices, 3.12.x will support event TLSv1.3
If you run an emulator with version 16 you will likely get TLSv1.0 connecting to facebook
06-10 08:06:29.349 2144-2156/? I/System.out: TLS_1_0

If you are happy to bundle and install conscrypt-android yourself, you should get TLSv1.2
      Security.insertProviderAt(Conscrypt.newProvider(), 1)
...
06-10 08:09:41.619 2205-2217/? I/System.out: TLS_1_2

3.14.x bumped to Java 8, since we also support JVM developers who need more modern features.  Blog post here.
https://cashapp.github.io/2019-02-05/okhttp-3-13-requires-android-5
In 4.x when we moved to Kotlin as an implementation language, there wasn't much involved to upgrade (see proguard instructions in the second link below etc).  But we also kept 3.14.x as a final cut before the move, and decided to support it temporarily while people upgraded.
From July you can keep using 3.12.x if legacy clients are critical to you, or you can upgrade to 4.x which is actively developed.
https://cashapp.github.io/2019-06-26/okhttp-4-goes-kotlin
https://square.github.io/okhttp/upgrading_to_okhttp_4/
Also, as you can see from https://github.com/square/okhttp/pull/6121, we won't accept non-security fixes for 3.12.x.

Hi Thanks for clarification.
We are not using okhttp for Android. We are using to achieve http2 protocol in one of our java application where we use Java 11 with TLS 1.2 support.
Can we use 3.12.x in this case ?

@magowdar Yes, but there have been a lot of fixes and performance improvements in 4.x so if you file a bug report, it's likely we will just ask you to upgrade to 4.x.
Any reason you are avoiding upgrading to 4.x?

@yschimke  Since 4.x has some API changes also , some time is needed for upgrading to 4.x. Based on some critical process timeline, we wanted to go for immediate easily available solution , so thought to upgrade to 3.X.x ..
We have plan to upgrade to 4.x in coming month.


Fix hover effect on request or send money messages

Details

The arrow icon color should consistent on hover in request / send money arrow.
Fixed Issues

$ https://github.com/Expensify/App/issues/15368
PROPOSAL: https://github.com/Expensify/App/issues/15368#issuecomment-1443410143
Tests

Open the app
Open any report
Request or send money
Hover on message
Verify that the arrow icon color change to '#E7ECE9'

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Open the app
Open any report
Request or send money
Hover on message
Verify that the arrow icon color change to '#E7ECE9'

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://user-images.githubusercontent.com/113963320/221755067-5dabc61a-f208-44bf-88b3-d7a96b3a0bb6.mov

Mobile Web - Chrome

https://user-images.githubusercontent.com/113963320/221756684-4475d65f-7002-4077-a66c-36f5c8d61fea.mp4

Mobile Web - Safari

https://user-images.githubusercontent.com/113963320/221757123-bad59312-141e-4bb4-8030-6a084b927604.mp4

Desktop

https://user-images.githubusercontent.com/113963320/221757431-5446afe5-b7aa-4cab-b89f-fd3895e8fb1f.mov

iOS

https://user-images.githubusercontent.com/113963320/221764802-80652609-1662-496e-aaf9-4cc6ddd3e91b.mov

Android

https://user-images.githubusercontent.com/113963320/221767560-cd8cf1f3-ea81-4339-8c25-d585a1183a21.mov

@AndrewGable @sobitneupane One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/AndrewGable in version: 1.2.78-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/mountiny in version: 1.2.78-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Introduce backpressureMoleculeFlow

This PR is an upstream of backpressureMoleculeFlow, a tool we have been using internally at Cash App for Rx interop, but mostly for testing. We avoid molecule's testing tool suite entirely and use backpressureMoleculeFlow with Turbine (along with a distinctUntilChanged() call).
I can't think of any good reason not to have a call to distinctUntilChanged() when consuming a Molecule, but I've left it out here anyway.

Out all week. Will look next!

Okay so upon discussing this a bit with @swankjesse and @mattprecious here's our take:
moleculeFlow is a cold Flow factory and its API naming is in the form of callbackFlow or channelFlow with the suffix.
launchMolecule is a hot StateFlow factory and its API naming is in the form of launchIn or just a plain hot launch with the prefix.
This PR is a new axis which is whether or not the frame clock is extracted from the user context or eagerly ticks automatically.

FrameClock => rate-limited or eager
Launch mode => "hot" (launch) or "cold" (Flow)

So the proposal is to introduce a
enum RecompositionMode {
  FrameLimited, // batched, user-controlled
  Immediate, // eagerly recomposed
}

which dictates the behavior of the frame clock as a parameter. This parameter will have no default so the caller is forced to learn what each means.
Thoughts?

This PR is a new axis which is whether or not the frame clock is extracted from the user context or eagerly ticks automatically.

FrameClock => rate-limited or eager
Launch mode => "hot" (launch) or "cold" (Flow)

So the proposal is to introduce a
enum RecompositionMode {
  FrameLimited, // batched, user-controlled
  Immediate, // eagerly recomposed
}

which dictates the behavior of the frame clock as a parameter on both functions. This parameter will have no default so the caller is forced to learn what each means.
Thoughts?

The direction makes sense to me. FrameLimited, // batched, user-controlled is confusing, though: from our discussion here, I know that this means "use whatever clock happens to already be in the context (which we expect to be the Android frame clock)", but FrameLimited seems to imply that it's installing some clock that has its own behavior. "How do I control it?" would be a reasonable question, and the reasonable answer would be, "Well, install a BroadcastFrameClock instead."
So — counterproposal:
enum RecompositionClock {
  None, // rely on frame clock in calling context
  Immediate, // install eagerly recomposing clock
}

This also forces the caller to make a witting decision (which I think is a big improvement on the status quo), but has the advantage that it more clearly describes what's going on. Those who would actually want user-controlled frames or whatever can see that their path is to install a BroadcastFrameClock or whatever.

Hmm I don't think None quite makes sense because there is always a clock. But I'm sympathetic to the case where it's a user-supplied, context-extracted clock vs. one we supply as being the choice.
I'll have to ruminate on it over night.

What do you think about ExternalClock or ContextClock for the enum value name? And its documentation would describe how the user-supplied FrameClock is used.

So like this?
enum RecompositionClock {
  /**
   * Use the MonotonicFrameClock that already exists in the calling CoroutineContext.
   * If none exists, an exception is thrown.
   *
   * Use this option to drive Molecule with the built-in Android frame clock.
   */
  ContextClock,
  /**
   * Install an eagerly recomposing clock. This clock will provide a new frame immediately whenever
   * one is requested. The resulting flow will emit a new item every time the snapshot state is invalidated.
   */
  Immediate,
}

That looks 💯 to me. I'll push those changes and we can nitpick from there

We don't run CI on this repo??

Failures in the test module remind me that there is a test module. :) Do we want to follow up by deleting that?

Matt and I talked about it and thought it may be worth keeping for now for use with a context-based clock. But it's a little weird that it only really is useful in that mode. So long-term it's feasible we get rid of it and offer something a bit smaller like a TestClock which sends a frame and suspends until the frame is complete.
I would just try to make sure its tests pass in context-clock mode and not worry about immediate mode.


Heroku Deploy button issues

User states that the deploy to heroku button is still not working.  User states that when they to go the UX they get a white screen, and IE 10 reports that it is just "loading".

i created the #884 , i confirm that it works fine now and jellyfish is up and running but it takes 4 times to achieve to build process. For unknown reason the "run scripts & dyno..." failed 3 times.

Hello @LudovicBethune,
Yeah, the Heroku button is pretty buggy still (it's on their end).  We are probably going to remove it, and suggest people use Docker (or we are in the process of creating an AWS AMI)


pip & poetry backend does not honor poetry's "secondary" repo setting

Package ecosystem
pip + poetry
Package manager version
Poetry version 1.1.11
Language version
Python 3.8
Manifest location and content prior to update
https://github.com/maksbotan/dependabot-poetry-demo/blob/master/pyproject.toml
https://github.com/maksbotan/dependabot-poetry-demo/blob/master/poetry.lock
dependabot.yml content
https://github.com/maksbotan/dependabot-poetry-demo/blob/master/.github/dependabot.yml
Updated dependency
Bump docxtpl from 0.14.1 to 0.14.2
What you expected to see, versus what you actually saw
I have a private registry with secondary = true in my pyproject.toml, i.e. I intend to use it only for my private packages, not overriding the global pypi. poetry correctly locks only private package to this repo (see https://github.com/maksbotan/dependabot-poetry-demo/blob/7c539a42a3e2ff108140827142be6bd19e8c5767/poetry.lock#L299-L302).
But dependabot's update locks all packages to use this private repo, including global pypi's ones. See this diff: https://github.com/maksbotan/dependabot-poetry-demo/pull/7/files#diff-f53a023eedfa3fbf2925ec7dc76eecdc954ea94b7e47065393dbad519613dc89
Note that all packages got a [[package.source]] section, with a bogus reference at that. And the one with correct reference got rewritten:
https://github.com/maksbotan/dependabot-poetry-demo/pull/7/files#diff-f53a023eedfa3fbf2925ec7dc76eecdc954ea94b7e47065393dbad519613dc89L302
Native package manager behavior
poetry will not try to get a dependency from a private repo with secondary = true unless explicitly told so.
By the way, this exact bug was present in poetry 1.1.4 and was only fixed in 1.1.10. See the relevant issue: https://github.com/python-poetry/poetry/issues/3306. Maybe it would be enough to update poetry version used by dependabot?
Images of the diff or a link to the PR, issue or logs
https://github.com/maksbotan/dependabot-poetry-demo/pull/7/files
updater | INFO <job_231638073> Checking if boto3 1.20.0 needs updating
  proxy | 2021/11/10 20:25:06 [164] GET https://pypi.org:443/simple/boto3/
  proxy | 2021/11/10 20:25:06 [164] 200 https://pypi.org:443/simple/boto3/
  proxy | 2021/11/10 20:25:08 [166] GET https://gitlab.math.bio:443/api/v4/groups/biocad/-/packages/pypi/simple/boto3/
  proxy | 2021/11/10 20:25:08 [166] * authenticating python index request (host: gitlab.math.bio)
  proxy | 2021/11/10 20:25:09 [166] 302 https://gitlab.math.bio:443/api/v4/groups/biocad/-/packages/pypi/simple/boto3/
  proxy | 2021/11/10 20:25:09 [168] GET https://pypi.org:443/simple/boto3/
  proxy | 2021/11/10 20:25:09 [168] 200 https://pypi.org:443/simple/boto3/
updater | INFO <job_231638073> Latest version is 1.20.3

Here it can be seen that dependabot tries to check this package in private repo (even though lock files states that it should not happen) and finds it there (since the repo redirects unknown packages to global pypi).
🕹 Bonus points: Smallest manifest that reproduces the issue
https://github.com/maksbotan/dependabot-poetry-demo/

Hi! Is there a timeline for reaction to this? I would like to see the issue resolved.
I've tried disabling proxying to global PyPI on our private registry and it almost fixed the problem, however dependabot still messes up reference fields in packages from secondary repos. See here:
https://github.com/maksbotan/dependabot-poetry-demo/blob/52c3f301f0c59f339e088c0e494316e6aad0fc95/poetry.lock#L302

This is plain wrong :(

@brrygrdn can we have your attention please? This issue is blocking us from using dependabot for projects within our organization.

I made some changes in how Poetry operates in #5222 which fixes the reference change issue. It may also address honoring the secondary setting. Let me know if it's working for you now, thanks for your patience!

Hey @jakecoffman, it seems that did not fix the issue at hand:
After adding the following to pyproject.toml:
  [[tool.poetry.source]]
  name = "aws"
  url = "https://dgx-shared-codeartifact-REDACTED.d.codeartifact.REDACTED.amazonaws.com/pypi/dgx-shared-pypi-repo/simple/"
  secondary = true

I've went ahead and retried a Dependabot update that was pending PR creation on the same repo. Here are the dependabot logs for that.
updater | INFO <job_391852703> Starting job processing
updater | INFO <job_391852703> Starting update job for REDACTED/REDACTED
updater | INFO <job_391852703> Checking if pyjwt 1.7.1 needs updating
  proxy | 2022/06/14 14:30:54 [054] GET https://pypi.org:443/simple/pyjwt/
  proxy | 2022/06/14 14:30:54 [054] 200 https://pypi.org:443/simple/pyjwt/
  proxy | 2022/06/14 14:30:54 [056] GET https://dgx-shared-codeartifact-REDACTED.d.codeartifact.REDACTED.amazonaws.com:443/pypi/dgx-shared-pypi-repo/simple/pyjwt/
  proxy | 2022/06/14 14:30:54 [056] 401 https://dgx-shared-codeartifact-REDACTED.d.codeartifact.REDACTED.amazonaws.com:443/pypi/dgx-shared-pypi-repo/simple/pyjwt/
  proxy | 2022/06/14 14:30:54 [058] GET https://dgx-shared-codeartifact-REDACTED.d.codeartifact.REDACTED.amazonaws.com:443/pypi/dgx-shared-pypi-repo/simple/
  proxy | 2022/06/14 14:30:54 [058] 404 https://dgx-shared-codeartifact-REDACTED.d.codeartifact.REDACTED.amazonaws.com:443/pypi/dgx-shared-pypi-repo/simple/
updater | INFO <job_391852703> Latest version is 2.4.0
  proxy | 2022/06/14 14:31:00 [060] GET https://pypi.org:443/pypi/smart-open/json
  proxy | 2022/06/14 14:31:00 [060] 200 https://pypi.org:443/pypi/smart-open/json
  proxy | 2022/06/14 14:31:00 [062] GET https://dgx-shared-codeartifact-REDACTED.d.codeartifact.REDACTED.amazonaws.com:443/pypi/dgx-shared-pypi-repo/simple/smart-open/
  proxy | 2022/06/14 14:31:00 [062] 401 https://dgx-shared-codeartifact-REDACTED.d.codeartifact.REDACTED.amazonaws.com:443/pypi/dgx-shared-pypi-repo/simple/smart-open/
updater | I, [2022-06-14T14:31:00.489768 #7]  INFO -- sentry: ** [Raven] Sending event 7092f57cd4844c899fd4d7a171150b1b to Sentry
  proxy | 2022/06/14 14:31:00 [064] POST https://sentry.io:443/api/1451818/store/
  proxy | 2022/06/14 14:31:00 [064] 200 https://sentry.io:443/api/1451818/store/
updater | ERROR <job_391852703> Error processing pyjwt (Dependabot::SharedHelpers::HelperSubprocessFailed)
updater | ERROR <job_391852703> Creating virtualenv REDACTED-d02FRkIa-py3.10 in /home/dependabot/.cache/pypoetry/virtualenvs
updater | <job_391852703> Updating dependencies
updater | <job_391852703> Resolving dependencies...
updater | <job_391852703>
updater | <job_391852703>   RepositoryError
updater | <job_391852703>
updater | <job_391852703>   401 Client Error: Unauthorized for url: https://dgx-shared-codeartifact-REDACTED.d.codeartifact.REDACTED.amazonaws.com/pypi/dgx-shared-pypi-repo/simple/smart-open/
updater | <job_391852703>
updater | <job_391852703>   at /usr/local/.pyenv/versions/3.10.4/lib/python3.10/site-packages/poetry/repositories/legacy_repository.py:393 in _get
updater | <job_391852703>       389│             if response.status_code == 404:
updater | <job_391852703>       390│                 return
updater | <job_391852703>       391│             response.raise_for_status()
updater | <job_391852703>       392│         except requests.HTTPError as e:
updater | <job_391852703>     → 393│             raise RepositoryError(e)
updater | <job_391852703>       394│
updater | <job_391852703>       395│         if response.status_code in (401, 403):
updater | <job_391852703>       396│             self._log(
updater | <job_391852703>       397│                 "Authorization error accessing {url}".format(url=response.url),
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.191.1/lib/dependabot/python/update_checker/poetry_version_resolver.rb:325:in `run_poetry_command'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.191.1/lib/dependabot/python/update_checker/poetry_version_resolver.rb:91:in `block (2 levels) in fetch_latest_resolvable_version_string'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.191.1/lib/dependabot/shared_helpers.rb:168:in `with_git_configured'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.191.1/lib/dependabot/python/update_checker/poetry_version_resolver.rb:77:in `block in fetch_latest_resolvable_version_string'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.191.1/lib/dependabot/shared_helpers.rb:49:in `block in in_a_temporary_directory'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.191.1/lib/dependabot/shared_helpers.rb:49:in `chdir'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.191.1/lib/dependabot/shared_helpers.rb:49:in `in_a_temporary_directory'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.191.1/lib/dependabot/python/update_checker/poetry_version_resolver.rb:76:in `fetch_latest_resolvable_version_string'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.191.1/lib/dependabot/python/update_checker/poetry_version_resolver.rb:58:in `resolvable?'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.191.1/lib/dependabot/python/update_checker.rb:135:in `fetch_lowest_resolvable_security_fix_version'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.191.1/lib/dependabot/python/update_checker.rb:87:in `lowest_resolvable_security_fix_version'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.191.1/lib/dependabot/update_checkers/base.rb:72:in `preferred_resolvable_version'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.191.1/lib/dependabot/update_checkers/base.rb:257:in `preferred_version_resolvable_with_unlock?'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.191.1/lib/dependabot/update_checkers/base.rb:249:in `numeric_version_can_update?'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.191.1/lib/dependabot/update_checkers/base.rb:199:in `version_can_update?'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.191.1/lib/dependabot/update_checkers/base.rb:44:in `can_update?'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:454:in `requirements_to_unlock'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:232:in `check_and_create_pull_request'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:82:in `check_and_create_pr_with_error_handling'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `block in run'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `each'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `run'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/lib/dependabot/update_files_job.rb:17:in `perform_job'
updater | ERROR <job_391852703> /home/dependabot/dependabot-updater/lib/dependabot/base_job.rb:35:in `run'
updater | ERROR <job_391852703> bin/update_files.rb:22:in `<main>'
updater | INFO <job_391852703> Finished job processing
updater | INFO Results:
updater | Dependabot encountered '1' error(s) during execution, please check the logs for more details.
updater | time="2022-06-14T14:31:01Z" level=info msg="task complete" container_id=job-391852703-updater exit_code=0 job_id=391852703 step=updater

Once I remove the CodeArtifact source, Dependabot is able to create the PR without issues.

@pliniodng did you configure credentials for that repository in dependabot.yml and in github repo secrets?

@jakecoffman the fix seems to work for us! There is one minor nuisance I noticed, I will look into that and then close the issue.

@pliniodng did you configure credentials for that repository in dependabot.yml and in github repo secrets?

Since credentials for CodeArtifact expires every 12 hours, setting it is not a viable option for the company I'm working.
The ideia was that if DependaBot honored the secondary=True flag, it would first try to fetch the packages from PyPI, and fallback to the private repository, as per Poetry default behavior. (https://python-poetry.org/docs/repositories/#install-dependencies-from-a-private-repository).

@pliniodng as per the poetry docs:

All package sources (including secondary sources) will be searched during the package lookup process. These network requests will occur for all sources, regardless of if the package is found at one or more sources.
In order to limit the search for a specific package to a particular package repository, you can specify the source explicitly. This is strongly suggested for all private packages to avoid dependency confusion attacks.

I suspect if you fire up tcpdump / wireshark and watch native poetry, you'll see it making the same calls as Dependabot even though CodeArtifact is configured with secondary=True.
I'm going to close as the original issue here is resolved, and the remaining edge case unfortunately sounds like an upstream issue with how poetry works. Dependabot shells out to native poetry as part of the update process, so there is a decent chance that if they change their behavior, that we might get it for free when we update to that version.


Installation?

Looks like I have no permission to run "bin/grav install" on my "one.com"-Webspace.
Ist there an other possiblity to install grav?

why closed?

Please don't open PR against a release and as your develop as source. Create a patch feature, make your changes there and then create a PR against our develop branch.

I closed because you posted a Pull Request, not on purpose I think.
The answer to your question is, download the Grav package from getgrav.org/downloads

Okay, thank you


Dynamic profiles Automatically run command on open

Description of the new feature/enhancement
When I create a WSL profile manually using WSL.exe command then there is a possibility to modify start command and add to it to make it to start for example ssh session to some specific location I frequently use. Of course it would mean of changing the start command instead of having another parameter that will be run upon start of a tab with specific profile.
That functionality is missing for dynamic profiles.

Proposed technical implementation details (optional)
Field in profile.json to be able to set up a command that will be run as soon as profile is started. I have no idea how that could be named, tried to think of many, but they do not seem to be catch or self-explanatory. Some examples I thought of are "autorunCommand", "cmdAtStart".
Of course to make it more usable as you cannot make multiple profiles for dynamic profiles, then #3818 should be fixed as well. Then you could have one WSL that is regular, other one to run "sudo su" as a first command to go to elevated WSL instance, and maybe one that will be used as ssh agent by running something like "ssh<EMAIL_ADDRESS>Same parameter and functionality could be useful for other profiles that are not dynamic ones. I have seen some examples of people having multiple PS configuration with (at least seemed to be) ming64 or sys2 options set for the terminal.

You can actually already set a commandline for dynamic profiles. We don't put that value in the stub we generate for dynamic profiles to try and hide some implementation details, but you're 100% free to just set your own commandline and override it.
For example, you could just set the commandline to the following:
"commandline": "wsl.exe -d Ubuntu-18.04 -- ssh<EMAIL_ADDRESS>
to have the profile autorun ssh<EMAIL_ADDRESS>in the "Ubuntu-18.04" distro.

That seems like a problem if the WSL name should change, then the -d parameter has to be updated. It seems like dynamic profiles main point was so they will be able to detect if they are set up on system or not and show according to that.
Now having to use the command line is just the same to defining whole command manually without using dynamic profile at all, making dynamic profile functionality itself quite pointless.
Way to sent command on opening session by having a field to trigger on tab open would let some specific terminals that do not let you send in command via command line parameter to still run something specific automatically.

quite pointless

The dynamic profile would still appear/disappear based on the presence of the underlying distribution, as it doesn’t do the lookup based on the profile’s conmandline. Rather, the GUID that’s stamped into the profile is derived from the distribution and will not match if the distribution has its name changed or is removed.

For the record, a WSL distro's name won't ever change. If it does change somehow, then we'll end up generating another profile for it, sine the name is the unique key here. Even if you did specify the whole commandline for a distro profile, then it still retains the functionality of hiding itself if it detects the distro is uninstalled.

You can actually already set a commandline for dynamic profiles. We don't put that value in the stub we generate for dynamic profiles to try and hide some implementation details, but you're 100% free to just set your own commandline and override it.
For example, you could just set the commandline to the following:
"commandline": "wsl.exe -d Ubuntu-18.04 -- ssh<EMAIL_ADDRESS>
to have the profile autorun ssh<EMAIL_ADDRESS>in the "Ubuntu-18.04" distro.

@zadjii-msft I'm trying your suggestion for running a specific initial command on my ubuntu but is not working I'm doing
"commandline": "wsl.exe -d Ubuntu-20.04 -- nvm list"

but the result is:

If I simply remove the -- nvm list from the commandline
It works and I can use nvm list manually.

Am I doing something wrong? or is this solution no longer supported? My goal is to have multiple profiles for the same ubuntu image but being able to run startup commands on the profiles such as setting my specific node or python version via the startup command

@Luis-Palacios This is either because nvm is a shell function or is living somewhere specified by your personal startup scripts.
If it's a function, you need to get your shell engaged in the process of launching it.
The best way for you to make sure you can launch it is ...

Run type nvm

If it says "nvm is a function ...", then you'll need to make sure your shell is part of startup: wsl -- bash -c nvm might work.
If it says "nvm is /home/luis/path/to/nvm", you should just set your startup command to wsl -d xxxx -- /home/luis/path/to/nvm

This is because the argument that goes after wsl -- needs to be something that can be found directly without running your personal startup scripts.

Thanks @DHowett  nvm is indeed a shell also pyenv function, I have updated to
 ... -- bash -c path/to/pyenv versions and now kinda works I can see the commands executed but at the end of the output I see a [process exited with code 1] and I'm not able to use the terminal

Since it has spaces in it, it might work better if you wrap it in quotes. bash -c "pyenv xyz". Since it goes into JSON, make sure you escape it properly (\")

using quotes is indeed needed, but this makes another problem come up, it seems I need my scripts on my ~/.zshrc to be executed in order for nvm and pyenv to work correctly, @DHowett   is there a way to make commandline execute a command once my startup scripts have been executed?

I just tried
"commandline": "wsl.exe -d Ubuntu-20.04 -- bash -c 'source ~/.zshrc && pyenv activate granadatilesenv'"

but it runs into syntax errors I suppose due to scaping characters?
/home/luis/.zshrc: line 4: ${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh: bad substitution
/home/luis/.oh-my-zsh/tools/check_for_upgrade.sh: line 31: syntax error near unexpected token `)'
/home/luis/.oh-my-zsh/tools/check_for_upgrade.sh: line 31: `() {'
/home/luis/.oh-my-zsh/oh-my-zsh.sh: line 18: autoload: command not found
/home/luis/.oh-my-zsh/oh-my-zsh.sh: line 36: syntax error near unexpected token `('
/home/luis/.oh-my-zsh/oh-my-zsh.sh: line 36: `for plugin ($plugins); do'
/home/luis/.p10k.zsh: line 16: local: can only be used in a function
/home/luis/.p10k.zsh: line 20: builtin: setopt: not a shell builtin
/home/luis/.p10k.zsh: line 22: syntax error near unexpected token `)'
/home/luis/.p10k.zsh: line 22: `() {'

The main issue there is that you're using bash to run zshrc. Try zsh -c 'source ~/.zshrc ...............'!

@DHowett thanks for bearing with such a linux noob.
I have:
"commandline": "wsl.exe -d Ubuntu-20.04 -- zsh -c 'source ~/.zshrc && pyenv activate granadatilesenv'"

When I start the windows terminal with the profile it seems to launch the command correctly without any errors however the output is quickly cleared and it kinda seems the shell is restarted

Expected:

Reading this stackoverflow question
There is a claim that "wsl.exe (which runs your default shell such as bash) does not currently support opening a shell with a command without exiting the shell right after the command is run."
Could this be what I'm facing? I tried he suggesting about using powershell but it does not seem to work either
"commandline": "powershell.exe -NoExit -Command wsl.exe -d Ubuntu-20.04 -- zsh -c 'source ~/.zshrc && pyenv activate granadatilesenv'"

Output:

Any other idea?


scrollbar hidden issue #538

scrollbar hidden for firefox, IE, chrome

Can you double-check your Linting and Formatting @devvsakib? One of them seems to be failing.


Add year and con to panel model

Since we're using this for a second year, we need to be able to sort by year. And might as well add con while we're add it, to move towards being able to handle multiple cons.

We've already put conference on and we need to rework that relationship, so closing this for now.


Add and adjust classes

add many missing concepts as in the commit history.

Could we leave Exhaust_Fan_{Enable, Disable}_Command in the schema and just mark them deprecated?

Could we leave Exhaust_Fan_{Enable, Disable}_Command in the schema and just mark them deprecated?

done.

I was thinking we should leave them in entirely, so they still show up as subclasses of Enable_Cmd and Disable_Cmd in the documentation/tooling and in the reasoner steps. We should add code to the ontology browser to warn when a class is deprecated, e.g. we style this page different so people know it's deprecated: https://brickschema.org/ontology/1.2/classes/Exhaust_Fan_Enable_Command
I think the shacl construct rule is important to say what to do with it if it's gone but I'm not sure it's quite enough? I guess I'd prefer to leave them in the class hierarchy for now, with the extra deprecated annotation. But I can easily be talked out of that!


ACR minor fixes

Fixes #32571, #32451, #28210

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-containers-containerregistry


Transferlist, repeater and formkit form bug

Reproduction
https://formkit.link/8fd36dd99e2fc329f81fadab7eb762c7
Describe the bug
The items won't transfer to the right side, nor do the buttons work.  If I remove the repeater, it works again, or if I remove the type form and leave the transfer list and repeater then it also works.
If I did overlook something, then I apologize.
Environment
• OS: [e.g. iOS]
• Browser [e.g. chrome, safari]
• Version [e.g. 22]

Thanks for your example, @kohlzz! It works for me. You may need to clear cache within the playground?
https://user-images.githubusercontent.com/11545316/227264005-81134589-f88a-432a-b467-7ef4199569ce.mov

Hi @luan-nk-nguyen, I did clear my cache but there is no difference. On a sidenote, I use this on my local Nuxt 3 project. Did a cleanup too but no effect.

https://user-images.githubusercontent.com/20999775/227272461-402c44b7-3a82-4f86-9ace-0cb59b7a8168.mp4
This i tried on IE but same results

@kohlzz If you switch to the next tag in the playground to where you are pulling down 0.111.3-2e9ec91 on @formkit/pro are you seeing the transfer list work now?

I can confirm that this is working for me as of now. Tested now on local project and this also works.

@kohlzz This fix has been published to the latest tag as well. I'll close this for now, but let me know if there are any further issues and we can reopen this.


Don't open the IMAP window, if connection failed

Window opens on error: "ConnectionTimedOut: Data receive timed out"

Done


New pull request

I created a new branch, created a file and made a commit and opened the pull request.

A new commend


Improve coverage on ftl.json.*

Codecov Report

Merging #301 into master will increase coverage by 0.87%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #301      +/-   ##
============================================
+ Coverage      73.2%   74.07%   +0.87%
- Complexity      334      343       +9
============================================
  Files            59       59
  Lines          1183     1188       +5
  Branches        156      156
============================================
+ Hits            866      880      +14
+ Misses          241      230      -11
- Partials         76       78       +2

Impacted Files
Coverage Δ
Complexity Δ

...est_runner/src/main/kotlin/ftl/json/SavedMatrix.kt
80% <ø> (+22.85%)
13 <0> (+7)
:arrow_up:

...t_runner/src/main/kotlin/ftl/gc/GcAndroidDevice.kt
100% <100%> (ø)
4 <2> (?)

...unner/src/main/kotlin/ftl/run/AndroidTestRunner.kt
82.75% <100%> (ø)
8 <0> (ø)
:arrow_down:

test_runner/src/main/kotlin/ftl/json/MatrixMap.kt
100% <0%> (+12.5%)
6% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2cfb174...70c3c4f. Read the comment docs.


Compilation error: c++: internal compiler error: Killed (program cc1plus)

Hello,
I use ROS Kinetic and Jetson Tx2. I met the following error by compilation. I have already changed my swap to solve it. But it doesn't work. Would you please give me some advice? Thank you in advanced.

Any help? I have the same issue for Jetson Nano when compiling ROS SLAM packages


steering angle of the vehicle

Is it possible to provide the steering angle of the vehicle?

Unfortunately, we cannot provide this information since vehicle data was not recorded.


Redundant Binary Upload but using increment_build_number and Archive is in right version

New Issue Checklist

[ x] Updated fastlane to the latest version
[x ] I have read the Contribution Guidelines

Issue Description
I'm trying to upload a new build to testflight but I get:
ERROR ITMS-90189: "Redundant Binary Upload. There already exists a binary upload with build '10' for version '1.0.7'"
Version is 2.0.0 (14) and I was able to upload it to testflight from Xcode archives (created in fastlane)
Complete output when running fastlane, including the stack trace and command used
[12:32:26]: --- Step: pilot ---
[12:32:26]: -------------------
[12:32:26]: Login to iTunes Connect (myaccount)
[12:32:29]: Login successful
[12:32:29]: Ready to upload new build to TestFlight (App: id)...
[12:32:30]: Going to upload updated app to iTunes Connect
[12:32:30]: This might take a few minutes, please don't interrupt the script
[12:35:37]: [Transporter Error Output]: ERROR ITMS-90189: "Redundant Binary Upload. There already exists a binary upload with build '10' for version '1.0.7'"
[12:35:37]: ERROR ITMS-90189: "Redundant Binary Upload. There already exists a binary upload with build '10' for version '1.0.7'"
[12:35:37]: You have to change the build number of your app to upload your ipa file
[12:35:37]: Transporter transfer failed.
[12:35:37]:
[12:35:37]: ERROR ITMS-90189: "Redundant Binary Upload. There already exists a binary upload with build '10' for version '1.0.7'"
[12:35:37]: ERROR ITMS-90189: "Redundant Binary Upload. There already exists a binary upload with build '10' for version '1.0.7'"
Return status of iTunes Transporter was 1: ERROR ITMS-90189: "Redundant Binary Upload. There already exists a binary upload with build '10' for version '1.0.7'"
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
[12:35:37]: Variable Dump:
[12:35:37]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta", :BUILD_NUMBER=>"14", :CERT_FILE_PATH=>"/pathToCert/certId.cer", :CERT_CERTIFICATE_ID=>"certId", :SIGH_PROFILE_PATH=>"/ProfilePath/AppStore_com.myapp.app.mobileprovision", :SIGH_PROFILE_PATHS=>["/ProfielPath/AppStore_com.myapp.app.mobileprovision"], :SIGH_UDID=>"057a3df9-7fdb-4d24-ad43-3d532ff75d20", :SIGH_PROFILE_TYPE=>"development", :IPA_OUTPUT_PATH=>"/myapp.ipa", :DSYM_OUTPUT_PATH=>"/myapp.app.dSYM.zip", :XCODEBUILD_ARCHIVE=>"/.../Library/Developer/Xcode/Archives/2016-04-27/My app 2016-04-27 12.28.26.xcarchive"}
[12:35:37]: Error uploading ipa file, more information see above

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    environment = prompt(text: "Environment (PROD,PREPROD,DEV): ")
    increment_build_number
    cert
    sigh(force: true)
    match(force: true)
    gym(scheme: "Bite",use_legacy_build_api:true,xcargs:"OTHER_SWIFT_FLAGS='-D" + environment + "'") # Build your app - more options available
    pilot

  end

Environment
fastlane version (run fastlane -v): fastlane 1.82.0
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? NO
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? NO

Ok, after a few times it worked. Didn't change anything and worked.

@bitomule Glad to hear you are up and running! Thanks for closing this out for us 👍


didReceiveRemoteNotification not working in AppDelegate.m

Description:

I'm trying to use Freschat SDK to handle theri push notifications inside AppDelegate.m but it doesn't seem to work with onesignal service extension.
Environment

What version of the OneSignal React-Native SDK are you using? 3.2.7
How did you add the SDK to your project (eg. npm) npm

Steps to Reproduce Issue:

Install the OneSignal SDK using npm into your project
Initialize the SDK in the iOS AppDelegate
Attempt to receive a push notification

Anything else:
(crash stacktraces, as well as any other information here)

@nitish1099 What do you mean when you say "it doesn't seem to work with OneSignal service extension"...?
Also, Freschat's SDK is closed source so unfortunately there's not much we can do in terms of debugging the incompatibility. When you remove their SDK from your project, does the AppDelegate method get called?
You may need to use the UNUserNotificationCenterDelegate methods instead to receive notification event method calls

@Nightsd01 Any updates?


Bug/635 unicode decode error eml

This PR is for the following

Add functionality to extract charset info from eml files
Add missed file-like object handling in detect_file_encoding

Testing
f_path = "../example-docs/2014-03-17.111517.e5febab73b.eml"

elements = partition_email(filename=f_path)
print("\n\n".join([str(el) for el in elements]))

with open(f_path) as file:
    elements = partition_email(file=file)
print("\n\n".join([str(el) for el in elements]))

with open(f_path, "rb") as file:
    elements = partition_email(file=file)
print("\n\n".join([str(el) for el in elements]))

@christinestraub hello, I was testing your PR because I was facing the same issue. This PR is clearly an improvement. I have a sample of 1000 emails and the amount of errors got down from 661 to just 80. I am attaching here an example of the errors.
This is the stacktrace for one
Traceback (most recent call last):
  File "/tmp/ipykernel_737/1662947039.py", line 22, in <module>
    data = loader.load()
  File "/usr/local/lib/python3.9/dist-packages/langchain/document_loaders/unstructured.py", line 71, in load
    elements = self._get_elements()
  File "/usr/local/lib/python3.9/dist-packages/langchain/document_loaders/email.py", line 24, in _get_elements
    return partition_email(filename=self.file_path, **self.unstructured_kwargs)
  File "/usr/local/lib/python3.9/dist-packages/unstructured/file_utils/filetype.py", line 483, in wrapper
    elements = func(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/unstructured/partition/email.py", line 287, in partition_email
    element.apply(_replace_mime_encodings)
  File "/usr/local/lib/python3.9/dist-packages/unstructured/documents/elements.py", line 188, in apply
    cleaned_text = cleaner(cleaned_text)
  File "/usr/local/lib/python3.9/dist-packages/unstructured/cleaners/core.py", line 203, in replace_mime_encodings
    raise e
  File "/usr/local/lib/python3.9/dist-packages/unstructured/cleaners/core.py", line 200, in replace_mime_encodings
    return quopri.decodestring(text.encode(encoding)).decode(encoding)
UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 15: ordinal not in range(128)

The encoding getting into the cleaners/core.py function is us-ascii and the text  As discussed, I’m putting in some time for an introductory call..  I have also other examples were the failing encoding is utf-8. Is there any way I can help with this? Should I just create another ticket?

@kafkasl Thanks for your feedback! Can you share the sample of 1,000 emails you used for your test?

@kafkasl - Thanks for the input on this issue! Added #755 for .mbox files and also #756 for .pst, which is the MS Outlook equivalent.

please add a test for the case that would have failed without the change

@cragwolfe At this point, it's quite difficult to add a test for the case that would have failed without the change because the errors have been fixed and no longer appear. Can you please guide me on how to do this?

@kafkasl The errors in the files you shared have been fixed except for email-3.eml. There are no HTML tags in the file, in which case the argument content_source needs to be set to text/plain.
Can you please test this PR against your 1000 sample emails and give us feedback? Thanks!

@cragwolfe At this point, it's quite difficult to add a test for the case that would have failed without the change because the errors have been fixed and no longer appear. Can you please guide me on how to do this?

i just mean, ideally there would be a test where partition_email succeeds, whereas before this commit, it'd fail (protect against regressions). i think it i just about identifying a file that currently breaks on main and adding a test for that that passes in the current branch.

@kafkasl The errors in the files you shared have been fixed except for email-3.eml. There are no HTML tags in the file, in which case the argument content_source needs to be set to text/plain.
Can you please test this PR against your 1000 sample emails and give us feedback? Thanks!

I've tested it and still get decoding errors very similar to the ones I shared in the previous message. Not sure why it would be fixed only for some emails. Maybe the errors are coming from different parts of the message? not just the content. Still it's much better thanks for the effort!

@kafkasl The errors in the files you shared have been fixed except for email-3.eml. There are no HTML tags in the file, in which case the argument content_source needs to be set to text/plain.
Can you please test this PR against your 1000 sample emails and give us feedback? Thanks!

I've tested it and still get decoding errors very similar to the ones I shared in the previous message. Not sure why it would be fixed only for some emails. Maybe the errors are coming from different parts of the message? not just the content. Still it's much better thanks for the effort!

Can you please provide any emails that are still failing? It seems like a bunch is fixed, but maybe there are lurking edge cases. Thanks!

I've tested it and still get decoding errors very similar to the ones I shared in the previous message. Not sure why it would be fixed only for some emails. Maybe the errors are coming from different parts of the message? not just the content. Still it's much better thanks for the effort!

@kafkasl Can you please provide any emails that are still failing? It seems like a bunch is fixed, but maybe there are lurking edge cases. Thanks!

@christinestraub I've tried again and all the errors are gone (+12k emails). I assume when I tried last time, the install from git was still not using the latest changes. I will keep using it with more emails and report any error. Thanks so much for your hard work!


Canada has no recovery or death data

Hi! Really like this map and have been following it closely.
Currently, the map reports the following data for Canada:

But World-O-Meter reports:

Let me know where to look as I am interested in opening up a PR.

My mistake, the map screenshot is from BC but the issue remains the same as no provinces contain death or recovery data.

Looks fixed! Thanks!


Date input fix

Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.

[x] Caught up with develop branch as of last change.
[ ] Added CHANGELOG entry, or determined not required.
[x] Reviewed for breaking changes, added breaking-change label + CHANGELOG if so.
[x] Updated doc comments / prop-types, or determined not required.
[x] Reviewed and tested on Mobile, or determined not required.
[x] Created Toolbox branch / PR, or determined not required.

If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

Sorry for the delay — this takes several of the key elements of John’s PR, but I think implements it in a way that is perhaps a bit more conservative/targeted.
The main elements are:

supporting multiple parse strings, to allow more flexible parsing.  A few obvious ones are included by default.
when the text in the textInput merely changes, always accept a strictly parseable value immediately (either null or a date) .  Commit will more aggressively parse.
when the tab entered, be sure to commit the value.  Needed to hack this a bit — we could also consider making TextInput and other inputs generally do this.
Don’t consume the  key.  This brings DateInput into line with TextInput and NumberInput, and allows  on DateEditor to dismiss the  editor in the way it does for NumberInput and TextInput


Use the GPIO_OUTPUT_HIGH flag instead of GPIO_OUTPUT_INIT_HIGH
as the latter does not actually configure the pin as an output
(it does not include GPIO_OUTPUT) what causes an assertion in
gpio_pin_configure() to fail.
Fixes #45856.

@aloksethi Could you check if it actually fixes #45856? I don't have the arduino_nano_33_ble board to do it myself.

@anangl I just checked with only this change and that seems to work.
However, I have another problem now that with the latest code in main branch, I am not able to build anything for the arduino_nano_33_ble.

nevermind. sorry i was being dumb. I am able to compile now and can verify that the example is working with ASSERTS enable in the latest code in main branch.


Windows runners frequently cannot resolve www.cygwin.com

Describe the bug
I frequently get
> powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup-x86_64.exe', 'setup-x86_64.exe')"
Exception calling "DownloadFile" with "2" argument(s): "The remote name could not be resolved: 'www.cygwin.com'"
At line:1 char:1
+ (New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

See, e.g., the "Install cygwin" step of https://github.com/mit-plv/fiat-crypto/runs/570956988?check_suite_focus=true
Area for Triage:

Question, Bug, or Feature?:

Virtual environments affected

[ ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Windows Server 2016 R2
[x] Windows Server 2019

Expected behavior
I expect the runners to not be so flaky about finding cygwin.com.
Actual behavior
https://github.com/mit-plv/fiat-crypto/runs/570956988?check_suite_focus=true

Hi @JasonGross!
Could you please add this before the download step
nslookup www.cygwin.com
and this right after the download
nslookup www.cygwin.com <IP_ADDRESS>
It will help us to determine if there is an issue with the particular DNS or with cygwin.com itself

From https://github.com/mit-plv/fiat-crypto/runs/574218618?check_suite_focus=true
d:\a\fiat-crypto\fiat-crypto>nslookup www.cygwin.com
Non-authoritative answer:

Server:  UnKnown
Address:  <IP_ADDRESS>

Name:    server2.sourceware.org
Address:  2620:52:3:1:0:246e:9693:128c
Aliases:  www.cygwin.com

d:\a\fiat-crypto\fiat-crypto>powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup-x86_64.exe', 'setup-x86_64.exe')"
Exception calling "DownloadFile" with "2" argument(s): "The remote name could not be resolved: 'www.cygwin.com'"
At line:1 char:1
+ (New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

d:\a\fiat-crypto\fiat-crypto>nslookup www.cygwin.com <IP_ADDRESS>
Non-authoritative answer:

Server:  dns.google
Address:  <IP_ADDRESS>

Name:    server2.sourceware.org
Addresses:  2620:52:3:1:0:246e:9693:128c
	  <IP_ADDRESS>
Aliases:  www.cygwin.com

For reference, when the download succeeds, it looks like this (https://github.com/mit-plv/fiat-crypto/runs/574218103?check_suite_focus=true):
d:\a\fiat-crypto\fiat-crypto>nslookup www.cygwin.com
Non-authoritative answer:

Server:  UnKnown
Address:  <IP_ADDRESS>

Name:    server2.sourceware.org
Addresses:  2620:52:3:1:0:246e:9693:128c
	  <IP_ADDRESS>
Aliases:  www.cygwin.com

d:\a\fiat-crypto\fiat-crypto>powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup-x86_64.exe', 'setup-x86_64.exe')"

d:\a\fiat-crypto\fiat-crypto>nslookup www.cygwin.com <IP_ADDRESS>
Non-authoritative answer:

Server:  dns.google
Address:  <IP_ADDRESS>

Name:    server2.sourceware.org
Addresses:  2620:52:3:1:0:246e:9693:128c
	  <IP_ADDRESS>
Aliases:  www.cygwin.com

So it looks like it is a problem with the particular DNS.

On the other hand, here's a run where there is no difference in nslookup:
d:\a\fiat-crypto\fiat-crypto>nslookup www.cygwin.com
Non-authoritative answer:

Server:  UnKnown
Address:  <IP_ADDRESS>

Name:    server2.sourceware.org
Addresses:  2620:52:3:1:0:246e:9693:128c
	  <IP_ADDRESS>
Aliases:  www.cygwin.com

d:\a\fiat-crypto\fiat-crypto>powershell -Command "(New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup-x86_64.exe', 'setup-x86_64.exe')"
Exception calling "DownloadFile" with "2" argument(s): "The remote name could not be resolved: 'www.cygwin.com'"
At line:1 char:1
+ (New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup- ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

d:\a\fiat-crypto\fiat-crypto>nslookup www.cygwin.com <IP_ADDRESS>
Non-authoritative answer:

Server:  dns.google
Address:  <IP_ADDRESS>

Name:    server2.sourceware.org
Addresses:  2620:52:3:1:0:246e:9693:128c
	  <IP_ADDRESS>
Aliases:  www.cygwin.com

https://github.com/mit-plv/fiat-crypto/runs/578537990?check_suite_focus=true

@JasonGross thanks for the data! The last attempt looks really strange. Could you please try to download using the following retry logic? Will it ever download some time(and how many attempts will it take) or loop infinite?
while ($true)
    {
        try
        {
            (New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup-x86_64.exe', 'setup-x86_64.exe')
            break
        }
        catch
        {
            Write-Host "There is an error during package downloading:`n $_"
        }
    }

I'm having some trouble getting this logic to work with nslookup; see https://github.com/mit-plv/fiat-crypto/pull/745/checks?check_run_id=583090618 .  In particular, when I move the nslookup command from cmd to powershell, I get
Non-authoritative answer:

Server:  UnKnown
Address:  <IP_ADDRESS>

Name:    server2.sourceware.org
Address:  <IP_ADDRESS>
Aliases:  www.cygwin.com

nslookup : Non-authoritative answer:
At D:\a\_temp\11ad56e9-c870-4d15-b171-ed284b67f5a5.ps1:15 char:1
+ nslookup www.cygwin.com <IP_ADDRESS>
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Non-authoritative answer::String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

What do you advice doing here?

Looks odd, I've tried just now and everything works fine for me. Maybe there were some google dns issues?
jobs:
  build:
    runs-on: windows-latest
    steps:
    - name: retry download
      run: |
        while ($true)
        {
            try
            {
                (New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup-x86_64.exe', 'setup-x86_64.exe')
                break
            }
            catch
            {
                Write-Host "There is an error during package downloading:`n $_"
            }
        }
        nslookup www.cygwin.com <IP_ADDRESS>
      shell: powershell

@miketimofeev What if you also do nslookup before the loop?  In https://github.com/JasonGross/test-windows-cygwin-download/runs/586283926?check_suite_focus=true , I get
Non-authoritative answer:

Server:  UnKnown
Address:  <IP_ADDRESS>

Name:    server2.sourceware.org
Addresses:  2620:52:3:1:0:246e:9693:128c
	  <IP_ADDRESS>
Aliases:  www.cygwin.com

There is an error during package downloading:
 Exception calling "DownloadFile" with "2" argument(s): "The remote name could not be resolved: 'www.cygwin.com'"
There is an error during package downloading:
 Exception calling "DownloadFile" with "2" argument(s): "The remote name could not be resolved: 'www.cygwin.com'"
nslookup : Non-authoritative answer:
At D:\a\_temp\0818ab92-143d-459e-8cbb-363a122d583d.ps1:15 char:1
+ nslookup www.cygwin.com <IP_ADDRESS>
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Non-authoritative answer::String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

##[error]Process completed with exit code 1.

on
name: CI (Windows)

on:
  push:
  pull_request:
  schedule:
    - cron: '0 0 1 * *'

jobs:
  build:

    runs-on: windows-latest

    steps:
    - uses: actions/checkout@v2
    - name: Download cygwin
      run: |
        nslookup www.cygwin.com
        while ($true)
        {
            try
            {
                (New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup-x86_64.exe', 'setup-x86_64.exe')
                break
            }
            catch
            {
                Write-Host "There is an error during package downloading:`n $_"
            }
        }
        nslookup www.cygwin.com <IP_ADDRESS>
      shell: powershell

(First try on https://github.com/JasonGross/test-windows-cygwin-download/ )

@JasonGross yeah, got it. Powershell treats  Non-authoritative answer: as an error, so let's use direct cmd calling instead
    steps:
      - uses: actions/checkout@v2
      - name: Download cygwin
        run: |
          & cmd /c 'nslookup www.cygwin.com 2>&1'
          while ($true)
          {
              try
              {
                  (New-Object Net.WebClient).DownloadFile('http://www.cygwin.com/setup-x86_64.exe', 'setup-x86_64.exe')
                  break
              }
              catch
              {
                  Write-Host "There is an error during package downloading:`n $_"
              }
          }
          & cmd /c 'nslookup www.cygwin.com <IP_ADDRESS> 2>&1'
        shell: powershell

Thanks!  Note that it looks like you already have something of an answer to your question, though.  On the dedicated repository, it looks like the download failed twice in a row and then succeeded.

It's worth checking the InnerException to see if there are more details. Can you change the catch block to recurse the the InnerException properties and dump exception types and messages?

If you suggest code, I'm happy to use it and report back on the details.   I've literally never written powershell before (this code was taken from elsewhere), so I don't actually know how to do that (and don't have time right now to dig into how to do it).

@chkimes @JasonGross Looks like there is no inner exception. I've tried to catch it like this and got nothing except the usual error(The remote name could not be resolved: 'www.cygwin.com'):
    catch [System.Net.WebException]
    {
        if ($_.Exception.InnerException)
        {
            $_.Exception.InnerException.Message
        }
        else
        {
            $_.Exception.Message
        }
    }

@JasonGross we took packet captures from inside the VM and found differences in the DNS response for succeeding and failed requests. These differences are not observable when using other DNS providers.
I have escalated to the Azure DNS team.

As a workaround, consider forcing a different DNS server:
Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses <IP_ADDRESS>
cmd /c "ipconfig /flushdns 2>&1"

I am not able to repro this issue any longer - does anyone else see a consistent repro or can we now close this issue?

@chkimes I'll try to repro it today

@chkimes yeah, the issue is still here
There is an exception Exception calling "DownloadFile" with "2" argument(s): "The remote name could not be resolved: 'www.cygwin.com'"

Thanks - I got a hit from a scheduled run so I have provided the VM and timing information to Azure.

For reference: Internal incident number 184150533

I had a chat with the DNS team, they believe this is related to a bug in WinDNS that is being triggered by an unusual DNS configuration for www.cygwin.com.
https://www.digwebinterface.com/?hostnames=www.cygwin.com
server2.sourceware.org.
bing.com
google.com&type=A&trace=on&ns=resolver&useresolver=<IP_ADDRESS>&nameservers=
See the above traces, with bing.com and google.com included for comparison.
sourceware.org.		86400	IN	NS	server3.sourceware.org.
sourceware.org.		86400	IN	NS	server2.sourceware.org.
sourceware.org.		86400	IN	NS	sourceware.org.
sourceware.org.		86400	IN	NS	ns.elastic.org.
;; Received 291 bytes from <IP_ADDRESS>#53(<IP_ADDRESS>) in 45 ms

server2.sourceware.org.	86400	IN	A	<IP_ADDRESS>
sourceware.org.		86400	IN	NS	ns.elastic.org.
sourceware.org.		86400	IN	NS	server3.sourceware.org.
sourceware.org.		86400	IN	NS	server2.sourceware.org.
sourceware.org.		86400	IN	NS	sourceware.org.
;; Received 247 bytes from <IP_ADDRESS>#53(<IP_ADDRESS>) in 30 ms

www.cygwin.com is CNAME'd to server2.sourceware.org. That domain has an interesting setup where it has an NS record for itself. Note that examples bing.com and google.com do not do this.
I didn't receive any ETA from the WinDNS team for when this would be fixed. Does anyone happen to know any contacts for cygwin.com or perhaps sourceware.org that we could contact about updating their DNS setup?

You could always email the cygwin mailing list.

Does anyone happen to know any contacts for cygwin.com or perhaps sourceware.org that we could contact about updating their DNS setup?

│17:23:57   @fche | pls let them know RH IT has been requested to change it to an A record  │

The team at www.cygwin.com has updated their DNS to use an explicit A record which has resolved this issue. Unfortunately that means that IPv6 connectivity was lost since the CNAME was resolving AAAA records as well, but only an A record was added after removing the CNAME.
I have reached out to the cygwin mailing list again informing them of the issue. The intermittent connectivity problems referenced in this issue should be fixed, but I will leave this issue open to track getting IPv6 connectivity back up for www.cygwin.com.

I pinged the mailing list a few times, but didn't get a response re: IPv6. I'm going to close this issue since the original issue has been worked around.


Add parameter for mta.yaml path

Hi,
I think it would be great if it would be possible to trigger the build process from another directory and to point to the mta.yaml directory
root
-deployment
-mta.yaml
-xs-security.json
root> mbt build --path ./deployment

It could obviously be any parameter name.
Thanks

Hi,
You can use the -s (--source) parameter to set the path to the folder of the mta.yaml file.
Best regards,
Tal


Every night a Warning!

Hello, thanks for your nice Homebridge-OTGW plug-in. It's working perfect. But, every nigth I around 0:15, I get a message that there is a leakage in the boiler. But the boiler does not give any errors. So I think it's another signal which might be translated wrong. Is that possible?
At 0:15 I send a task in HomeKit to switch of all lights, but there is no accessoire related to the boiler or thermostat included. So I don't think is related.
Thanks for your respond.

Leak Detected is set when bit 0 in the low (slave) byte in the Status telegram (message id: 00) has been set.  Same as Status Fault.  The OpenTherm Monitor shows this a Fault indicaton at the bottom of the left column of check boxes.
Best check the log in the OpenTherm Monitor to see if your boiler (the OpenTherm slave) actually sets this bit.  Alternatively, set Log Level to 2 in HomeKit and enable Homebridge debug mode, for Homebridge OTGW to log the telegrams.

Thanks for your quick response. How do I set Log Level 2 in HomeKit. There's as far as I know no Logging in HomeKit, and no setting for Log Levels. Thanks.
I already enabled debuut mode in Homebridge. But last night no Leak Detected alarm occured. Related?
Thanks

Goodmorning, after enabeling debug mode in Homebridge for two days, the error did not occurred. After disableing debug mode last night, it came back. Coincidence or?
By the way,I cannot use OT-monitor because I don't have Windows, only macOS and raspberry...
Thanks..

Turning on or off debug mode shouldn’t impact the functionality.
I’ve been running OT Monitor on a Raspberry Pi since I got the OT gateway.  There are Pi-specific versions on http://otgw.tclcode.com/download.html#utilities.


Fix h3 Error in Nuxt 3.0.0-rc.12

Related Issue
#151
Test
$ mocha --reporter spec --bail --check-leaks test/

  serveStatic()
    basic operations
      ✔ should require root path
      ✔ should require root path to be string
      ✔ should serve static files (97ms)
      ✔ should support nesting
      ✔ should set Content-Type
      ✔ should set Last-Modified
      ✔ should default max-age=0
      ✔ should support urlencoded pathnames
      ✔ should not choke on auth-looking URL
      ✔ should support index.html
      ✔ should support ../
      ✔ should support HEAD
      ✔ should skip POST requests
      ✔ should support conditional requests
      ✔ should support precondition checks
      ✔ should serve zero-length files
      ✔ should ignore hidden files
    current dir
      ✔ should be served with "."
    acceptRanges
      when false
        ✔ should not include Accept-Ranges
        ✔ should ignore Rage request header
      when true
        ✔ should include Accept-Ranges
        ✔ should obey Rage request header
    cacheControl
      when false
        ✔ should not include Cache-Control
        ✔ should ignore maxAge
      when true
        ✔ should include Cache-Control
    extensions
      ✔ should be not be enabled by default
      ✔ should be configurable
      ✔ should support disabling extensions
      ✔ should support fallbacks
      ✔ should 404 if nothing found
    fallthrough
      ✔ should default to true
      when true
        ✔ should fall-through when OPTIONS request
        ✔ should fall-through when URL malformed
        ✔ should fall-through when traversing past root
        ✔ should fall-through when URL too long (42ms)
        with redirect: true
          ✔ should fall-through when directory
          ✔ should redirect when directory without slash
        with redirect: false
          ✔ should fall-through when directory
          ✔ should fall-through when directory without slash
      when false
        ✔ should 405 when OPTIONS request
        ✔ should 400 when URL malformed
        ✔ should 403 when traversing past root
        ✔ should 404 when URL too long
        with redirect: true
          ✔ should 404 when directory
          ✔ should redirect when directory without slash
        with redirect: false
          ✔ should 404 when directory
          ✔ should 404 when directory without slash
    hidden files
      ✔ should be served when dotfiles: "allow" is given
    immutable
      ✔ should default to false
      ✔ should set immutable directive in Cache-Control
    lastModified
      when false
        ✔ should not include Last-Modifed
      when true
        ✔ should include Last-Modifed
    maxAge
      ✔ should accept string
      ✔ should be reasonable when infinite
    redirect
      ✔ should redirect directories
      ✔ should include HTML link
      ✔ should redirect directories with query string
      ✔ should not redirect to protocol-relative locations
      ✔ should ensure redirect URL is properly encoded
      ✔ should respond with default Content-Security-Policy
      ✔ should not redirect incorrectly
      when false
        ✔ should disable redirect
    setHeaders
      ✔ should reject non-functions
      ✔ should get called when sending file
      ✔ should not get called on 404
      ✔ should not get called on redirect
    when non-existent root path
      ✔ should 404 for any file
      ✔ should not allow traversal
    when traversing past root
      ✔ should catch urlencoded ../
      ✔ should not allow root path disclosure
    when request has "Range" header
      ✔ should support byte ranges
      ✔ should be inclusive
      ✔ should set Content-Range
      ✔ should support -n
      ✔ should support n-
      ✔ should respond with 206 "Partial Content"
      ✔ should set Content-Length to the # of octets transferred
      when last-byte-pos of the range is greater than current length
        ✔ is taken to be equal to one less than the current length
        ✔ should adapt the Content-Length accordingly
      when the first- byte-pos of the range is greater than the current length
        ✔ should respond with 416
        ✔ should include a Content-Range header of complete length
      when syntactically invalid
        ✔ should respond with 200 and the entire contents
    when index at mount point
      ✔ should redirect correctly
    when mounted
      ✔ should redirect relative to the originalUrl
      ✔ should not choke on auth-looking URL
    when mounted "root" as a file
      ✔ should load the file when on trailing slash
      ✔ should 404 when trailing slash
    when responding non-2xx or 304
      ✔ should respond as-is
    when index file serving disabled
      ✔ should next() on directory
      ✔ should redirect to trailing slash
      ✔ should next() on mount point
      ✔ should redirect to trailing slash mount point

  92 passing (1s)

Done in 2.24s.

Note
I'm not exactly sure if this would fix the problem or even if this will work because I have no experience in this field.
I also have no idea how to test this in Nuxt.
I took some notes from https://github.com/nuxt-modules/tailwindcss/pull/545

If this is the fix, it seems like it is what I was saying in the issue.  Pulling in the h3 module breaks the Express.js usage, whixh of course we need to support as an Express.js module.
So your code should be like
var serveStatic = require('serve-static')
var { eventHandler } = require('h3')

// various setup, until...
// when you call serveStatic then qrap that rwult with eventHandler

eventHandler(serveStatic(/* options */))


[BUG] Model does not raises error when convergence with MAP fails

Some hyperparameters may cause unstable optimization and lead to nans. The code currently ignores this and return the nans without raising the error. An exception with informative message (suggesting the change of learning rate for example) could  improve user experience.

Using numpyro.enable_x64 solves the NaNs. Need to check if it affects performance.


Position embedding mismatch.

The position embedding in the ViT-B weight file is for 1024x1024 resolution images. How did the author input the 512x512 resolution image? After I created LoRA_Sam, I tried to input a 512x512 resolution image, but it was prompted that the dimensions of the position embedding did not match.

We use bilinear upsample to align the resolution.


Wrong positioning of WidgetSpan objects in TextField

Steps to reproduce
I am writing a text editor with the ability to insert various objects other than text. That's why I override TextEditingController.
Since Flutter 3.22, somewhere in the depths of the engine, the algorithm for calculating the position of WidgetSpan objects in the text editor has become corrupted. As a consequence, all WidgetSpan objects are considered as tall as a line of text.
Look at the picture.
This is the code on the dartpad:
https://dartpad.dev/?id=ea1f4052a22a0997f2f55a373b6258e8
Expected results
The red rectangle should be drawn after the green one at the bottom.
It was drawn correctly before version 3.22.
And if the same List array is displayed via Text.rich(), it is also drawn correctly.
Actual results

Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
    home: const MyApp(),
    theme: ThemeData(
      colorScheme: ColorScheme.fromSeed(seedColor: Colors.blueAccent),
      useMaterial3: true,
    )
  ));
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Flutter Demo incorrect WidgetSpan'),
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
      ),
      body: Padding(
        padding: const EdgeInsets.all(20.0),
        child: TextField(
          controller: MyController(),
          maxLines: null,
        ),
      ),
    );
  }
}

class MyController extends TextEditingController {
  @override
  TextSpan buildTextSpan({
    required BuildContext context,
    required bool withComposing,
    TextStyle? style,
  }) {
    List<InlineSpan> children = [];
    children.add(WidgetSpan(
        alignment: PlaceholderAlignment.top,
        child: Container(width: 400, height: 100,
            color: Colors.green.withOpacity(0.8))));
    children.add(WidgetSpan(
        alignment: PlaceholderAlignment.top,
        child: Container(width: 200, height: 100,
            color: Colors.deepOrange.withOpacity(0.8))));
    children.add(TextSpan(
        text: 'line of words ' * 30,
        style: const TextStyle(color: Colors.black)));

    return TextSpan(style: null, children: children);
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
/home/gorkov/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, 3.24.0, on Ubuntu 22.04.4 LTS 6.5.0-45-generic, locale ru_RU.UTF-8)
    • Flutter version 3.24.0 on channel stable at /home/gorkov/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (8 дней назад), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /home/gorkov/Android/Sdk
    • Platform android-34, build-tools 35.0.0
    • Java binary at: /home/gorkov/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✗] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1.1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2
    ✗ GTK 3.0 development libraries are required for Linux development.
      They are likely available from your distribution (e.g.: apt install libgtk-3-dev)

[✓] Android Studio (version 2024.1)
    • Android Studio at /home/gorkov/android-studio
    • Flutter plugin version 80.0.2
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.91.0)
    • VS Code at /usr/share/code
    • Flutter extension version 3.92.0

[✓] Connected device (2 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator)
    • Linux (desktop)              • linux         • linux-x64   • Ubuntu 22.04.4 LTS 6.5.0-45-generic

[!] Network resources
    ✗ A cryptographic error occurred while checking "https://maven.google.com/": Handshake error in client
      You may be experiencing a man-in-the-middle attack, your network may be compromised, or you may have malware installed on your computer.
    ✗ A cryptographic error occurred while checking "https://github.com/": Handshake error in client
      You may be experiencing a man-in-the-middle attack, your network may be compromised, or you may have malware installed on your computer.

! Doctor found issues in 3 categories.

Hi @gorkovv, what version of flutter has the correct behaviour? And what device are you testing on? I tested on my Pixel 7 with stable 3.19.5 & 3.24 and I see the same effect on both versions. See the screenshot below

Even on your example you can see that the height is calculated incorrectly. Look at the horizontal line to the right of the red rectangle. This is the lower border of the edit box - it should be lower than the rectangles.

You just have a large screen resolution and both rectangles fit in one line. Set the width of the first rectangle larger (e.g. 600).

This is the code on the dartpad:
https://dartpad.dev/?id=ea1f4052a22a0997f2f55a373b6258e8
Play with the width - you will see for yourself.

Thanks for the update. Does it have to do with the text also that is present on screen ?
If so, could it be similar / related to https://github.com/flutter/flutter/issues/146407 ?

No. They're two different (slightly) problems 🙂.
In this case, the height of the row is calculated incorrectly, which should be the same as the WidgetSpan.
I'm trying to find where it is, but so far I'm lost in the code. 🙂
But it's somewhere in EditableText or related classes - TextPainter, and other...

There is one more nuance.
If TextSpan is called with the default parameter, that is like this
return TextSpan(style: style, children: children);

Then in the old version (3.19) and in the new version (3.24) works equally wrong.
And if you call it with a null argument:
return TextSpan(style: null, children: children);

Then it works correctly in the old version, but not in the new one.
For clarity, I also changed the code - put the text after the rectangles and made the rectangles semi-transparent, so that it was visible where the text.
And we get this result:

Thanks for the update. Reproducible using the updated code sample in https://github.com/flutter/flutter/issues/153005#issue-2452944558

flutter doctor -v
[!] Flutter (Channel [user-branch], 3.19.6, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    ! Flutter version 3.19.6 on channel [user-branch] at
      /Users/nexus/dev/sdks/flutter_rc/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official
      channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at
      https://flutter.dev/docs/get-started/install.
    ! Warning: `flutter` on your path resolves to
      /Users/nexus/dev/sdks/flutters/bin/flutter, which is not inside your current Flutter
      SDK checkout at /Users/nexus/dev/sdks/flutter_rc/flutter. Consider adding
      /Users/nexus/dev/sdks/flutter_rc/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart,
      which is not inside your current Flutter SDK checkout at
      /Users/nexus/dev/sdks/flutter_rc/flutter. Consider adding
      /Users/nexus/dev/sdks/flutter_rc/flutter/bin to the front of your path.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss this error.
    • Framework revision 54e66469a9 (4 months ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however it is
      recommended to use "git" directly to perform update checks and upgrades.

[!] Flutter (Channel stable, 3.24.0, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    • Flutter version 3.24.0 on channel stable at /Users/nexus/dev/sdks/flutter
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutters/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutter. Consider adding /Users/nexus/dev/sdks/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 80c2e84975 (2 weeks ago), 2024-07-30 23:06:49 +0700
    • Engine revision b8800d88be
    • Dart version 3.5.0
    • DevTools version 2.37.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Flutter (Channel master, 3.24.0-1.0.pre.575, on macOS 14.5 23F79 darwin-arm64, locale en-GB)
    • Flutter version 3.24.0-1.0.pre.575 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 593729165d (6 hours ago), 2024-08-14 09:13:34 +0800
    • Engine revision 019f9e3f07
    • Dart version 3.6.0 (build 3.6.0-146.0.dev)
    • DevTools version 2.38.0

This is an effect of changes to how the strut style is derived (see https://github.com/flutter/flutter/commit/44e440ae9ddeb4714bbe73d4326b3ae0ddb1dce2)
You can control this by customizing the strutStyle on the TextField.  Passing strutStyle: StrutStyle() to the TextField constructor produces output similar to the old behavior.

Thank you so much! 🤝  I never would have guessed that StrutStyle was the culprit here.🤷


double doors

they are everywhere

you need to link these issues to #16 or they'll get lost, simply mention it in the description or comment on #16


Incomplete Files Uploded

some major files including index.html  and some basic discretion to start the app are not provided.

All files seems there...

Then how to run the app.

In the directory you cloned:
npm install
npm build
npm run
Check package.json!

App is not running. Anyone know how to run???

This is the error I get:
This relative module was not found:

../ethereum/build/EtherChat.json in ./core/ContractManager.js
{ Error: Cannot find module '../ethereum/build/EtherChat.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (../core/ContractManager.js:2:1)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Module._compile (../node_modules/source-map-support/source-map-support.js:492:25)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (../core/AppManager.js:3:1)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Module._compile (../node_modules/source-map-support/source-map-support.js:492:25) code: 'MODULE_NOT_FOUND' }

Files are all complete. Thank you


Generate access_token after user isdone regestering  a client_id and client_secret

Hi Sir,
Can you help me on how manually issue an access_token for specific client after they registered and get the generated client_id and client_secret in one request.
Thanks

Also facing a similar issue. I have the user sign up with Twitter Digits and want to return a access token so the client doesn't have to go back to the server to do the whole /oauth/token request. What I am doing now is performing a CURL to my own server which is not ideal.

That's what i'm doing too.

Thanks for using this package!
For this kind of support questions, we'd like you to use the following resources:

Documentation
Laracasts
Laravel Slack
Stack Overflow

This will allow us to keep the issues for bug reporting only and make our work easier.


Invalid Junit output from dcgoss

Describe the bug
dcgoss produces an unparseable junit xml due to logging to be present in the test results.
How To Reproduce
Set output format to unit & run dcgoss
export GOSS_OPTS="--format junit"
dcgoss run *service* > testresults.xml

Expected Behavior
testresults.xml contains a parsable xml in junit format.
Actual Behavior
testresults.xml also contains following output:

Text: service name
docker top output
Text: Deleting service name

Environment:

Version of goss: v0.3.9

Dgoss gets around this by redirecting information output to stderr.
Seems a similar thing needs to be added to dcgoss.
I'm approving this, feel free to submit a PR. I personally don't maintain user submitted wrapper scripts (dcgoss & kgoss)

I tried to create a pull request for this.
It's the first time I try to contribute to a project so if anything should be done differently, just let me know.

Closed by #550


How is the progress of v5?

As for the title, where can I find the code of v5? is there a roadmap for it?

Progress, we are working on it but life calls, repo is here: https://github.com/go-orb/go-micro and here https://github.com/go-orb/plugins


Enhancement: Allow windows in the special workspace to go full screen (scratchpad)

Currently, trying to make a window full screen while in the special ws, will do nothing.

no why

I put my dropdown terminal in the special workspace. Sometimes I want it to maximize it temporarily, and then unmaximize it when done.
c.f. tmux's pane zoom is intended for a very similar use case.

@YodaEmbedding did you find any work around for this? I do have same kind of setup for my floating terminal and indeed time to time I use it as full screen.

@marianozunino I ended up switching back to i3 since (i) I missed the flexibile design of i3 "scratchpads" in comparison with Hyprland special workspaces, and (ii) Wayland is missing OBS window recording and Zoom screenshare support.

iirc downgrading obs to 29.0.2 used to fix window sharing

I'm on obs 29.1.3 and window sharing works first try with the recent XDPH rewrite. Can't say anything about zoom though, but even webcord with electron24 can't screenshare.

#!/bin/sh
function get_kitty() {
    # hyprctl clients -j | jq -r '.[] | select(.class == "kitty") | .address'
    hyprctl clients -j | jq '.[] | select(.class == "kitty")'
}

active_workspace="$(hyprctl activeworkspace -j | jq -r '.id')"
kitty="$(get_kitty)"
kitty_address="$(echo $kitty | jq -r '.address' )"
kitty_workspace=$(echo $kitty | jq -r '.workspace.id' )

if [ "$kitty_address" == "" ];
then
    kitty &
else
    kitty="$(get_kitty)"
    kitty_address="$(echo $kitty | jq -r '.address' )"
fi

if (($active_workspace == $kitty_workspace))
then
    hyprctl dispatch movetoworkspacesilent "name:terminal,address:$kitty_address"
else
    hyprctl dispatch movetoworkspace "$active_workspace,address:$kitty_address"
    hyprctl dispatch focuswindow "address:$kitty_address"
    hyprctl dispatch resizeactive "exact 80% 80%"
    hyprctl dispatch centerwindow
fi

I've made a script to emulate the scratchpad and yet with the ability to make it fullscreen in case anybody could need it

I would like to add my use case where full screen in special workspace would be handy.
I put all messenger apps in special:messaging workspace.
Sometimes I've got media files in messages which are being opened by default in dedicated fullscreen window just to be closed.
Now I am not able to check these media files in fullscreen which is annoying and breaks UX design of those messenger apps.

my use cases for maximized clients in special workspace:

fullscreen for Windows KVM virtual machine
maximized and groupped  messenger-clients


Add long-press hotkey(s)

"Long" as over 300ms (proposal to test).

Key
Single
Hold
GUI

Spacebar
Autoselect
Set current line to "Main"
Hold "Autoselect" icon

Enter
Activate
Right Click
Mouse right click

Ctrl+y
Go to History activity
Go to first non-current result of history activity
Hold "history" icon

Next line on last line
Nothing
Go to next shabad
Click "Next shabad" pseudo entry #177

Esc
Use default cleared screen
Open context menu/right click esc icon #392
Long-press/Right click esc icon

More ideas, for discussion:

Holding ctrl+/ could start a new search (clear input). Might be better to just allow ctrl+/ to highlight all of the search query from the search activity.
Holding ctrl+c (which should not be the hotkey for navigator btw), should allow customization of copying, so ctrl+c held + 1 would perhaps copy only gurbani. Might be better to always show copy context menu on single press too.

Another general question/thought I have: long-press hotkeys, or most hotkeys for that matter should be accessible through the GUI, given that they're meant to be shortcuts. So it's worth thinking about how we can replicate these behaviours. Perhaps holding down the history icon is what holding ctrl-y maps to

Yeah that's a good point re: GUI
I've updated the original table
I also think there should be some way to "see" the hold happening. So some progress bar, or circle circumference that fills up clockwise, etc.

Depends on #394 and #462 / #154 for further evaluation


Display list of tasks

Value Proposition
As a user
I want to see a list of task
So that I have a overview about them and know whats on my list
Description

Acceptance Criteria

[ ] A Headline is displayed
[ ] A list of tasks is displayed
[ ] Every task has a name and a time

Tasks

[ ] Create dummy data for 2 tasks with id, name and time
[ ] Create a list for the tasks
[ ] Add basic styling to the list items

Complexity
M

Hi Hannah,
looks good. "tasks" in "i want to see" line 2, other than that: 👍
cheers
R.


Correction of another requirement for cluster configuration on RHEL8

@rdeltcheva
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@rubenlopesms @rdeltcheva
Can you review this old PR and determine whether it needs to be closed or merged?
@MicrosoftDocs/public-repo-pr-review-team

@rubenlopesms - Could you respond to the comment from @rdeltcheva? If we don't hear from you, we will need to close this PR.

Hello @ShannonLeavitt  @rdeltcheva  Sorry, I was on vacations. I was doing some lab tests for a Training and I saw that the command didn't worked as explained. So, it's why I decided to request the change.

I sent an email to the content owner today.

The content owner responded:

"We cannot drop the token in the command. It is necessary so that the cluster can survive platform maintenance events.  So please close this PR."