No pointerdown or mousedown events on Android Chrome > 55 and L.DomEvent.on

No pointerdown or mousedown events on Android Chrome > 55.
Also I think this issue in Leaflet.Path.Drag is actually Leaflet bug: https://github.com/w8r/Leaflet.Path.Drag/issues/29
How to reproduce

Leaflet version I'm using: 1.0.3
Browser (with version) I'm using: Chrome 58.0.3029.83
OS/Platform (with version) I'm using: Android 7
open: http://leaflet-polyline-events.surge.sh
try to move blue triangle

What behaviour I'm expecting and which behaviour I'm seeing
Expecting: mousedown or pointerdown events displayed on lower part of the screen.
Have: nothing.
Minimal example reproducing the issue

[x] this example is as simple as possible
[x] this example does not rely on any third party code

Repo for example above here: https://github.com/alexshk/leaflet-test-android-chrome
Thanks

Hi!
We've had quite a few issues related to change with pointer events from Chrome 55 and up, so I'm not surprised to see something like this.
However, I was unable to reproduce this on my Nexus 5X with Android 7.1.2 / Chrome 58. Clicking the triangle results in (synthetic) mouse up / down / click events in the bottom of the screen. I'm not able to drag the polygon, though.

Hi
Thanks, but I was checking for pointerdown/mousedown events, sorry for bad dscription. Clicks are fine, check please if you have such events while trying to drag blue triangle (no actual dragging functionality here, just checking for event firing). Thanks

@alexshk this is what it looks like clicking the polygon on my Nexus 5X:

So, as you can see there's mousedown as well as mouseup and click. This is not what you're seeing?

@perliedman if I tap on triangle, then yes -- I see the same. But I want to drag blue triangle. Check with desktop browsers and you'll see result I need.

Alright, now I finally see the issue. Will have to look closer.

BTW, this is reproducible in Chrome devtools on desktop with device emulation enabled.

This might be a good time to revive the pointerify branch.

Disabling L.Browser.pointer for Android Chrome seems to be working: http://leaflet-polyline-events.surge.sh/index-pointer.html
Commit: https://github.com/alexshk/Leaflet/commit/2e55b7b796419832f07249b0cb651a3ca653f743

I have tested the following and can confirm that the bug is reproducible on both:
Android 4.4.2, Chrome 58
Android 6.0.1, Chrome 55

The fix by @alexshk seems to be working. Any updates on whether or when it will be fixed in Leaflet?

As asked above, when will this be fixed?  The issue can still be produced on Android 6, Chrome 68, Leaflet v. 1.3. ?

Test page updated for latest leaflet: https://gist.githack.com/johnd0e/219609663cf734ddf6c04ecf27adedb8/raw/issue-5556.html

Ok, I've found solution.
https://github.com/Leaflet/Leaflet/blob/master/src/map/Map.js#L1327-L1328
Here we need to add 'pointerdown pointerup '.
But I'm not sure: should we just add these 2 events, or make whole list customizable?

According to docs, we have limited list of supported events.
touch* and pointer* events are not implemented.
So current behavior is valid, thus I am closing this issue.
@alexshk @nikkon226 @data-ux @joakimgunst @Damorck
Feel free to request support for additional events (in separate issue), describing your use cases.


Bug 2030489: Remove oudated subscription update logic to improve resolution delay

Currently, olm logic checks for upgrade in subscription via another
obsolete API that is no longer in use for dependency solution. As a
result, sometimes, subscriptions display UpgradeAvailable status but
there will be no upgrades as the upgrade is not valid in the resolver.
Also, the UpgradeAvailable status is used to trigger the new resolution
even though that status is no longer a valid indicator of having a pending
upgrade. This leads to unwanted upgrade delay when the obsolete API works
properly.
This commit will remove the code that is using this obsolete API and
allow the resolution to happen when there is a subscription change.
Signed-off-by: Vu Dinh<EMAIL_ADDRESS>Upstream-repository: operator-lifecycle-manager
Upstream-commit: 81e7a60bc7a62da4a469041ce89e3867e9f47fde

/retest

@timflannagan I didn't include that commit because that issue is not in 4.8.

/retest
/lgtm

/backport-risk-assessed

/label cherry-pick-approved

/label backport-risk-assessed

/cherry-pick release-4.7


Could you add a lisence file?

I want to use your great job, it will be better if you add a lisence file~
@anilsathyan7

Added MIT licence.


Typo: Update Class name for deleting many posts

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


Make it easier to match wildcards at a single level

x.y.* matches both x.y.z and x.y.z.w. This is fine/desirable, but we also need to be able to say 'only match x.y.z', since something like myapp.member.created may be handled differently from myapp.member.subresource.created.

Allow pattern to be a regex. Doc strings need to be updated, as do tests.


Add fn for processing undecrypted 0-rtt packets that can be reused

Motivation:
There was some code-duplication which can be removed by adding function.
Modifications:
Add process_undecrypted_0rtt_packets
Result:
Share code / cleanup

Merged, thanks @normanmaurer!


Prepare for 2.2.0rc0 release

Prepare for 2.2.0rc0 release

@ludovicsteinbach  You might be fighting a losing battle with the label. I shouldn't have changed the lockfile anyway, I'll force push this branch without that change

Codacy failure seems to be a false negative

Good point. I wonder if I can fix it by deleting the commit.

Although the openapi dependency should probably not accept pre releases anymore?

Although the openapi dependency should probably not accept pre-releases anymore?

Changing that here was the cause of the pain, because it required a change to the lockfile.  The dependabot PR didn't change it.

This PR seems borked. Recreating.

Recreated here #652


fix: broken link - book no longer available

Fix of broken link in reference section

Bypassing protection as technical change without impact on content


Fix Breadcrumbs File

There's a breadcrumbs file here:
https://github.com/MicrosoftDocs/CommunityToolkit/blob/main/docs/breadcrumb/toc.yml
Need to find the documentation link for this, but don't think we've set this up correctly with our new structure, so we should investigate.

https://review.docs.microsoft.com/en-us/help/onboard/admin/breadcrumb?branch=main

Thanks @davidbritch, I noticed we had auto-generate to fill in the gaps as well. Though we may be using nested TOCs? I'm not sure what the difference is between multiple TOCs and nested ones, as the docs seemed to indicate both types existed.
Going to try a PR with some tweaks and see how that works to aid the generation maybe.

Not sure if this helps, but you can define multiple breadcrumb files, and then reference them from docfx.json e.g. in docfx/json:
      "breadcrumb_path": {
        "get-started/tutorials/**/*.yml": "/xamarin/breadcrumb/tutorials/toc.json",
        "get-started/tutorials/index.yml": "/xamarin/breadcrumb/subtoc_breadcrumb/toc.json",
        "xamarin-forms/creating-mobile-apps-xamarin-forms/**/*.md": "/xamarin/breadcrumb/subtoc_breadcrumb/toc.json",
        "xamarin-forms/enterprise-application-patterns/**/*.md": "/xamarin/breadcrumb/subtoc_breadcrumb/toc.json",
        "xamarin-forms/user-interface/graphics/skiasharp/**/*.md": "/xamarin/breadcrumb/subtoc_breadcrumb/toc.json"
      },

This was done in support of multiple TOCs. It's from the following repo if you want an example: https://github.com/MicrosoftDocs/xamarin-docs-pr

Pointed out some of the current issues in #109.
I think ideally we want the main landing index to be able to show a list in the TOC of subpages across the toolkits.
Once you navigate into the Toolkit, that can be deeper/more specific to a particular toolkit (.NCT, MVVM, WCT, MAUI).
For instance on the MVVM introduction page we see this:

However, I would want to show the parent .NET Community Toolkit as part of the breadcrumb navigation underneath the Community Toolkits parent.
Digging into a doc underneath the MVVM Toolkit does at least show the MVVM Toolkit as the parent here:

Though the .NET Community Toolkit parent is still missing.


Pipenv cannot install protobuf 3.12.0 nor SSLyze 4.0.4 on macOS

Issue description
When I try to install sslyze==4.0.4 or protobuf==3.12.0, the installation fails because it does not find the packages.
I tired to:

clear the cache, even manually
use a fresh project (new venv, no Pipfile, no lock file)

This issue seems quite recent because we used to lock this without difficulties. I have two co-workers impacted by this as well.
I think it is related to macOS + Pipenv since my co-workers using Linux and our bitbucket pipelines are not impacted by this.
Expected result
Installation should succeed.
Actual result
$ pipenv install SSLyze==4.0.4 --verbose --clear
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
⠋ Installing...Writing supplied requirement line to temporary file: 'sslyze==4.0.4'
Installing 'SSLyze'
⠹ Installing SSLyze...$ ['/Users/someone/Desktop/test-protobuf/.venv/bin/pip', 'install', '--verbose', '--upgrade', '--exists-action=i', '-r', '/var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenv-326b1soz-requirements/pipenv-9_w5fs9j-requirement.txt', '-i', 'https://pypi.org/simple']
Adding SSLyze to Pipfile's [packages]...
✔ Installation Succeeded
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
⠧ Locking...
                          ROUND 1
✘ Locking Failed!
Current constraints:
  sslyze==4.0.4 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))

Finding the best candidates:
  found candidate sslyze==4.0.4 (constraint was ==4.0.4)

Finding secondary dependencies:
  sslyze==4.0.4             requires cryptography<3.4,>=2.6, nassl<5.0.0,>=4.0.0, tls-parser<1.3.0,>=1.2.2, typing_extensions

New dependencies found in this round:
  adding ['cryptography', '<3.4,>=2.6', '[]']
  adding ['nassl', '<5.0.0,>=4.0.0', '[]']
  adding ['tls-parser', '<1.3.0,>=1.2.2', '[]']
  adding ['typing-extensions', '', '[]']
Removed dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  cryptography<3.4,>=2.6 (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
  nassl<5.0.0,>=4.0.0 (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
  sslyze==4.0.4 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
  tls-parser<1.3.0,>=1.2.2 (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
  typing_extensions (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))

Finding the best candidates:
  found candidate cryptography==3.3.2 (constraint was >=2.6,<3.4)
Traceback (most recent call last):
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 823, in resolve
    results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 180, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 260, in _resolve_one_round
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 260, in <setcomp>
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 320, in get_best_match
    ireq, prereleases=self.prereleases
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 205, in find_best_match
    raise NoCandidateFound(ireq, all_candidates, self.finder)
pipenv.patched.piptools.exceptions.NoCandidateFound: Could not find a version that matches nassl<5.0.0,>=4.0.0 (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
Tried: 0.13.4.win32, 0.13.1, 0.13.2, 0.13.4, 0.13.5, 0.13.6, 0.13.7, 0.14.0, 0.14.1, 0.14.2, 0.15.0, 0.15.1, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.17.0, 1.0.1, 1.0.2, 1.0.3
There are incompatible versions in the resolved dependencies:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 764, in <module>
    main()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 760, in main
    dev=parsed.dev)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 741, in _main
    resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 709, in resolve_packages
    requirements_dir=requirements_dir,
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 692, in resolve
    req_dir=requirements_dir
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 1403, in resolve_deps
    req_dir=req_dir,
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 1108, in actually_resolve_deps
    resolver.resolve()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 833, in resolve
    raise ResolutionFailure(message=str(e))
pipenv.exceptions.ResolutionFailure: ERROR: Could not find a version that matches nassl<5.0.0,>=4.0.0 (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
Tried: 0.13.4.win32, 0.13.1, 0.13.2, 0.13.4, 0.13.5, 0.13.6, 0.13.7, 0.14.0, 0.14.1, 0.14.2, 0.15.0, 0.15.1, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.17.0, 1.0.1, 1.0.2, 1.0.3
There are incompatible versions in the resolved dependencies:
ROUND 1
Current constraints:
  sslyze==4.0.4 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))

Finding the best candidates:
  found candidate sslyze==4.0.4 (constraint was ==4.0.4)

Finding secondary dependencies:
  sslyze==4.0.4             requires cryptography<3.4,>=2.6, nassl<5.0.0,>=4.0.0, tls-parser<1.3.0,>=1.2.2, typing_extensions

New dependencies found in this round:
  adding ['cryptography', '<3.4,>=2.6', '[]']
  adding ['nassl', '<5.0.0,>=4.0.0', '[]']
  adding ['tls-parser', '<1.3.0,>=1.2.2', '[]']
  adding ['typing-extensions', '', '[]']
Removed dependencies in this round:
------------------------------------------------------------
Result of round 1: not stable

                          ROUND 2
Current constraints:
  cryptography<3.4,>=2.6 (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
  nassl<5.0.0,>=4.0.0 (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
  sslyze==4.0.4 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
  tls-parser<1.3.0,>=1.2.2 (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
  typing_extensions (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))

Finding the best candidates:
  found candidate cryptography==3.3.2 (constraint was >=2.6,<3.4)
Traceback (most recent call last):
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 823, in resolve
    results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 180, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 260, in _resolve_one_round
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 260, in <setcomp>
    best_matches = {self.get_best_match(ireq) for ireq in constraints}
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 320, in get_best_match
    ireq, prereleases=self.prereleases
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 205, in find_best_match
    raise NoCandidateFound(ireq, all_candidates, self.finder)
pipenv.patched.piptools.exceptions.NoCandidateFound: Could not find a version that matches nassl<5.0.0,>=4.0.0 (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
Tried: 0.13.4.win32, 0.13.1, 0.13.2, 0.13.4, 0.13.5, 0.13.6, 0.13.7, 0.14.0, 0.14.1, 0.14.2, 0.15.0, 0.15.1, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.17.0, 1.0.1, 1.0.2, 1.0.3
There are incompatible versions in the resolved dependencies:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 764, in <module>
    main()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 760, in main
    dev=parsed.dev)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 741, in _main
    resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 709, in resolve_packages
    requirements_dir=requirements_dir,
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 692, in resolve
    req_dir=requirements_dir
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 1403, in resolve_deps
    req_dir=req_dir,
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 1108, in actually_resolve_deps
    resolver.resolve()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 833, in resolve
    raise ResolutionFailure(message=str(e))
pipenv.exceptions.ResolutionFailure: ERROR: Could not find a version that matches nassl<5.0.0,>=4.0.0 (from sslyze==4.0.4->-r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvazyj_ra7requirements/pipenv-lflm8668-constraints.txt (line 2))
Tried: 0.13.4.win32, 0.13.1, 0.13.2, 0.13.4, 0.13.5, 0.13.6, 0.13.7, 0.14.0, 0.14.1, 0.14.2, 0.15.0, 0.15.1, 0.16.0, 0.16.1, 0.16.2, 0.16.3, 0.17.0, 1.0.1, 1.0.2, 1.0.3
There are incompatible versions in the resolved dependencies:

$ pipenv install protobuf==3.12.0 --verbose --clear
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
Installing protobuf==3.12.0...
Installing package: protobuf==3.12.0
Writing supplied requirement line to temporary file: 'protobuf==3.12.0'
Installing 'protobuf'
⠹ Installing protobuf...$ ['/Users/someone/Desktop/test-protobuf/.venv/bin/pip', 'install', '--verbose', '--upgrade', '--exists-action=i', '-r', '/var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenv-hu7zce1o-requirements/pipenv-6tg5qs2h-requirement.txt', '-i', 'https://pypi.org/simple']
Adding protobuf to Pipfile's [packages]...
✔ Installation Succeeded
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
⠧ Locking...
                          ROUND 1
✘ Locking Failed!
Current constraints:
  protobuf==3.12.0 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvyzdsq8q_requirements/pipenv-swinq76s-constraints.txt (line 2))

Finding the best candidates:
  found candidate protobuf==3.12.0 (constraint was ==3.12.0)

Finding secondary dependencies:
  protobuf==3.12.0 not in cache, need to check index
CRITICAL:pipenv.patched.notpip._internal.index.package_finder:Could not find a version that satisfies the requirement protobuf==3.12.0 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvyzdsq8q_requirements/pipenv-swinq76s-constraints.txt (line 2)) (from versions: 2.0.0b0, 2.0.3, 2.3.0, 2.4.1, 2.5.0, 2.6.0, 2.6.1, 3.0.0a2, 3.0.0a3, 3.0.0b1, 3.0.0b1.post1, 3.0.0b1.post2, 3.0.0b2, 3.0.0b2.post1, 3.0.0b2.post2, 3.0.0b3, 3.0.0b4, 3.0.0, 3.1.0, 3.1.0.post1, 3.2.0rc1, 3.2.0rc1.post1, 3.2.0rc2, 3.2.0, 3.3.0, 3.4.0, 3.5.0.post1, 3.5.1, 3.5.2, 3.5.2.post1, 3.6.0, 3.6.1, 3.7.0rc2, 3.7.0rc3, 3.7.0, 3.7.1, 3.8.0rc1, 3.8.0, 3.9.0rc1, 3.9.0, 3.9.1, 3.9.2, 3.10.0rc1, 3.10.0, 3.11.0rc1, 3.11.0rc2, 3.11.0, 3.11.1, 3.11.2, 3.11.3, 3.12.2, 3.12.4, 3.13.0rc3, 3.13.0, 3.14.0rc1, 3.14.0rc2, 3.14.0rc3, 3.14.0, 3.15.0rc1, 3.15.0rc2, 3.15.0, 3.15.1, 3.15.2, 3.15.3, 3.15.4, 3.15.5, 3.15.6, 3.15.7, 4.0.0rc1, 4.0.0rc2)
Traceback (most recent call last):
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 823, in resolve
    results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 180, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 268, in _resolve_one_round
    their_constraints.extend(self._iter_dependencies(best_match))
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 383, in _iter_dependencies
    dependencies = self.repository.get_dependencies(ireq)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 229, in get_dependencies
    legacy_results = self.get_legacy_dependencies(ireq)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 351, in get_legacy_dependencies
    download_dir, ireq, wheel_cache
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 306, in resolve_reqs
    results = resolver._resolve_one(reqset, ireq)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/legacy_resolve.py", line 339, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/legacy_resolve.py", line 286, in _get_abstract_dist_for
    req.populate_link(self.finder, upgrade_allowed, require_hashes)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/req/req_install.py", line 249, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/index/package_finder.py", line 963, in find_requirement
    'No matching distribution found for %s' % req
pipenv.patched.notpip._internal.exceptions.DistributionNotFound: No matching distribution found for protobuf==3.12.0 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvyzdsq8q_requirements/pipenv-swinq76s-constraints.txt (line 2))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 764, in <module>
    main()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 760, in main
    dev=parsed.dev)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 741, in _main
    resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 709, in resolve_packages
    requirements_dir=requirements_dir,
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 692, in resolve
    req_dir=requirements_dir
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 1403, in resolve_deps
    req_dir=req_dir,
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 1108, in actually_resolve_deps
    resolver.resolve()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 833, in resolve
    raise ResolutionFailure(message=str(e))
pipenv.exceptions.ResolutionFailure: ERROR: No matching distribution found for protobuf==3.12.0 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvyzdsq8q_requirements/pipenv-swinq76s-constraints.txt (line 2))
ROUND 1
Current constraints:
  protobuf==3.12.0 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvyzdsq8q_requirements/pipenv-swinq76s-constraints.txt (line 2))

Finding the best candidates:
  found candidate protobuf==3.12.0 (constraint was ==3.12.0)

Finding secondary dependencies:
  protobuf==3.12.0 not in cache, need to check index
CRITICAL:pipenv.patched.notpip._internal.index.package_finder:Could not find a version that satisfies the requirement protobuf==3.12.0 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvyzdsq8q_requirements/pipenv-swinq76s-constraints.txt (line 2)) (from versions: 2.0.0b0, 2.0.3, 2.3.0, 2.4.1, 2.5.0, 2.6.0, 2.6.1, 3.0.0a2, 3.0.0a3, 3.0.0b1, 3.0.0b1.post1, 3.0.0b1.post2, 3.0.0b2, 3.0.0b2.post1, 3.0.0b2.post2, 3.0.0b3, 3.0.0b4, 3.0.0, 3.1.0, 3.1.0.post1, 3.2.0rc1, 3.2.0rc1.post1, 3.2.0rc2, 3.2.0, 3.3.0, 3.4.0, 3.5.0.post1, 3.5.1, 3.5.2, 3.5.2.post1, 3.6.0, 3.6.1, 3.7.0rc2, 3.7.0rc3, 3.7.0, 3.7.1, 3.8.0rc1, 3.8.0, 3.9.0rc1, 3.9.0, 3.9.1, 3.9.2, 3.10.0rc1, 3.10.0, 3.11.0rc1, 3.11.0rc2, 3.11.0, 3.11.1, 3.11.2, 3.11.3, 3.12.2, 3.12.4, 3.13.0rc3, 3.13.0, 3.14.0rc1, 3.14.0rc2, 3.14.0rc3, 3.14.0, 3.15.0rc1, 3.15.0rc2, 3.15.0, 3.15.1, 3.15.2, 3.15.3, 3.15.4, 3.15.5, 3.15.6, 3.15.7, 4.0.0rc1, 4.0.0rc2)
Traceback (most recent call last):
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 823, in resolve
    results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 180, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 268, in _resolve_one_round
    their_constraints.extend(self._iter_dependencies(best_match))
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/resolver.py", line 383, in _iter_dependencies
    dependencies = self.repository.get_dependencies(ireq)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 229, in get_dependencies
    legacy_results = self.get_legacy_dependencies(ireq)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 351, in get_legacy_dependencies
    download_dir, ireq, wheel_cache
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 306, in resolve_reqs
    results = resolver._resolve_one(reqset, ireq)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/legacy_resolve.py", line 339, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/legacy_resolve.py", line 286, in _get_abstract_dist_for
    req.populate_link(self.finder, upgrade_allowed, require_hashes)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/req/req_install.py", line 249, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/patched/notpip/_internal/index/package_finder.py", line 963, in find_requirement
    'No matching distribution found for %s' % req
pipenv.patched.notpip._internal.exceptions.DistributionNotFound: No matching distribution found for protobuf==3.12.0 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvyzdsq8q_requirements/pipenv-swinq76s-constraints.txt (line 2))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 764, in <module>
    main()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 760, in main
    dev=parsed.dev)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 741, in _main
    resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 709, in resolve_packages
    requirements_dir=requirements_dir,
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/resolver.py", line 692, in resolve
    req_dir=requirements_dir
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 1403, in resolve_deps
    req_dir=req_dir,
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 1108, in actually_resolve_deps
    resolver.resolve()
  File "/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv/utils.py", line 833, in resolve
    raise ResolutionFailure(message=str(e))
pipenv.exceptions.ResolutionFailure: ERROR: No matching distribution found for protobuf==3.12.0 (from -r /var/folders/zv/43ym4vwd7ks1x59h3qh8_ht40000gn/T/pipenvyzdsq8q_requirements/pipenv-swinq76s-constraints.txt (line 2))

Steps to replicate
I am using:

macOS 11.2.3 (20D91)
pyenv 1.2.24
Python 3.7.10
Pipenv version 2020.11.15
pip 21.0.1
setuptools 54.2.0
wheel 0.36.2

mkdir test-packages
cd test-packages
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip wheel setuptools
pipenv install protobuf==3.12.0
pipenv install sslyze==4.0.4

$ pipenv --support
Pipenv version: '2020.11.15'
Pipenv location: '/Users/someone/.pyenv/versions/3.7.10/lib/python3.7/site-packages/pipenv'
Python location: '/Users/someone/.pyenv/versions/3.7.10/bin/python3.7'
Python installations found:

3.8.8: /Users/someone/.pyenv/versions/3.8.8/bin/python3
3.8.2: /usr/bin/python3
3.7.10: /Users/someone/Desktop/test-protobuf/.venv/bin/python3
3.7.10: /Users/someone/.pyenv/versions/3.7.10/bin/python3
3.7.10: /Users/someone/.pyenv/versions/3.7.10/bin/python3.7m
3.7.10: /Users/someone/.pyenv/versions/3.7.10/bin/python3.7
3.7.10: /Users/someone/Desktop/test-protobuf/.venv/bin/python3
3.7.10: /Users/someone/.pyenv/versions/3.7.10/bin/python3
2.7.16: /usr/bin/python2
2.7.16: /usr/bin/python2.7

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.7.10',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '20.3.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST '
                     '2021; root:xnu-7195.81.3~1/RELEASE_X86_64',
 'python_full_version': '3.7.10',
 'python_version': '3.7',
 'sys_platform': 'darwin'}

System environment variables:

TERM_PROGRAM
PYENV_ROOT
TERM
SHELL
PIPENV_VENV_IN_PROJECT
TMPDIR
_P9K_SSH
TERM_PROGRAM_VERSION
TERM_SESSION_ID
PYENV_VERSION
LC_ALL
ZSH
USER
COMMAND_MODE
SSH_AUTH_SOCK
PYENV_DIR
__CF_USER_TEXT_ENCODING
VIRTUAL_ENV
PAGER
LSCOLORS
PATH
__CFBundleIdentifier
PWD
LANG
ITERM_PROFILE
PYENV_HOOK_PATH
XPC_FLAGS
XPC_SERVICE_NAME
PYENV_SHELL
SHLVL
HOME
COLORFGBG
LC_TERMINAL_VERSION
ITERM_SESSION_ID
LESS
LOGNAME
LC_CTYPE
LC_TERMINAL
COLORTERM
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv–specific environment variables:

PIPENV_VENV_IN_PROJECT: 1

Debug–specific environment variables:

PATH: /Users/someone/.pyenv/versions/3.7.10/bin:/usr/local/Cellar/pyenv/<IP_ADDRESS>/libexec:/usr/local/Cellar/pyenv/<IP_ADDRESS>/plugins/python-build/bin:/Users/someone/Desktop/test-protobuf/.venv/bin:/usr/local/opt/openjdk/bin:/Users/someone/.poetry/bin:/usr/local/opt/openssl@1.1/bin:/usr/local/opt/postgresql@9.6/bin:/Users/someone/.pyenv/shims:/Users/someone/.pyenv/bin:/Users/someone/Documents/google-cloud-sdk/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
SHELL: /bin/zsh
LANG: en_US.UTF-8
PWD: /Users/someone/Desktop/test-protobuf
VIRTUAL_ENV: /Users/someone/Desktop/test-protobuf/.venv

Contents of Pipfile ('/Users/someone/Desktop/test-protobuf/Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
sslyze = "==4.0.4"

[dev-packages]

[requires]
python_version = "3.7"

Have you tried with SYSTEM_VERSION_COMPAT=1?

This worked!
I didn't know about the environment variable. I see it sets the macOS version to 10.16. Does that mean Pipenv does not handle the new macOS version or is it something else?
Anyway, thanks a lot Mause!


Drag'n'drop file to Zed window

Check for existing issues

[X] Completed

Describe the feature
As in the topic, this is request for a drag'n'drop files into Zed window. Currently I can drop the file on the app icon, which will open the file, but dropping on-top of the Zed window does nothing. Also drop in particular tab should also allow for a file open in this particular tab.
Thanks for great product and all the team hard work!
If applicable, add mockups / screenshots to help present your vision of the feature
No response

As of today, version 0.79.1 the drag'n'drop to icon stopped working the way it was working, now opening file in stand-alone window instead of existing tab. Just providing this input for more insight.

Observed some of my colleagues struggle with this yesterday. I have mostly worked around it myself though :)
They tried to move a file from a Finder window into a project folder, which works in their usual editor of choice vs *ode.

Just to bring others up to speed - we have a working prototype of this in our codebase, but its not fully complete and we will need to finish off our port to GPUI2 and moving to open source before we fully implement it.  That being said, its something we should be able to land, relatively easily, after those blockers are out of the way.

This is implemented in v0.119.4 preview.

Thank you much, it is a work facilitator indeed. One more note though at it seems closely related, I cannot find the ticket now, except https://github.com/zed-industries/community/issues/957, which mentions in the comments drag and dropping panes between separate windows.

Hi there, have a very similar bug that may be tied to this one.
Opening a file with Zed always creates a new window. This is also the case for the v0.119.4 preview.
Example use case for me is editing some config files via Finder or Transmit (FTP client) via "Open with" results always in an new window. I'd rather have a new tab attaching to the existing window.


Fix #2943: Fix quadratic behaviors in the optimizer and cap JS array virtualization

The first two commits do not change the emitted .js file for the test suite (not even by different names being used). The last commit slightly changes the generated code for the test data array of Base64Test.
In addition to the improvements seen on the pathological case of #2943, the first commit cuts the down the time it takes to optimize the test suite from 14 seconds down to ~3.7 s. The other two commits do not bring any measurable difference on the test suite.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3982/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5274/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3983/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5275/
Test PASSed.

I'm so glad I took this Advanced Algorithms course at EPFL 4 years ago! I would never have thought of this amortized solution, otherwise.
Btw, this also seems to fix #2827 to a large extent.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3984/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5277/
Test PASSed.


SetMarginModeAsync for PerpetualFuturesApi

Method PerpetualFuturesApi.Account.SetMarginModeAsync() does not change margin type.
I have Cross margin for the contract MANA-USDT and try to change it by using method SetMarginModeAsync("MANA-USDT", MarginMode.Isolated).
Then I use method PerpetualFuturesApi.Account.GetMarginModeAsync("MANA-USDT") and I see that margin still have value  Cross.

Had to do some research but should be fixed in the latest version

It works good for changing Isolated margin mode to Cross margin mode.
But it does not change Cross margin mode to Isolated margin mode


HHH-12106 - Database name not quoted at schema update

@pbruski thanks for this PR.
We need a new JIRA issue as we can't reopen one that has already been shipped. Could you create one and reference it?
We also need a test. Updating SqlServerQuoteSchemaTest would be enough IMHO. Not sure how it's possible to check that the catalog is quoted (not sure how to enforce it) but we can already check it's not there.

@gsmet done: https://hibernate.atlassian.net/browse/HHH-12939 https://github.com/hibernate/hibernate-orm/pull/2512
The original test case (SqlServerQuoteSchemaTest) was red before my changes - the test case already covers the fix.


Added more parameters for sungrow hybrid inverters

Please merge, I need this also for my SG12RT as it shows now just 2 parameters!

do you update changelog file in such cases, increase version number?


Automated cherry pick of #5569: build: cache-aware docker-xxx-build

Cherry pick of #5569 on release/3.1.
#5569: build: cache-aware docker-xxx-build

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/3.1@1833456). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             release/3.1   #5570   +/-   ##
=============================================
  Coverage               ?   7.25%
=============================================
  Files                  ?     575
  Lines                  ?   97600
  Branches               ?       0
=============================================
  Hits                   ?    7083
  Misses                 ?   89947
  Partials               ?     570

Flag
Coverage Δ

#aFlag
7.25% <0.00%> (?)

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 1833456...ee8b23b. Read the comment docs.


TestCase call() with HTTP headers not working as it is expected

I'm trying to add unit test for file upload, I followed up procedure what has been suggested on several points over the laravel websites, here is my current code
$uploadedFile = new Symfony\Component\HttpFoundation\File\UploadedFile(
            storage_path() . '/uploads/sample.mp4',
            'sample.mp4');
$this->be($this->user);
$response = $this->call('POST',
                        '/api/v1/uploads',
                        array('key' => 'test'),
                        [], // cookies
                        array('file' => [$uploadedFile]), // file(s)
                        [], // server
                        array('CONTENT_TYPE' => 'multipart/form-data'));

Seems like invalid header has been set, when I add $_SERVER['CONTENT_TYPE'] = 'multipart/form-data'; server variable is visible, but keep getting file not found error, seems like call() do not fully simulate regular usage, thoughts?

You should never be using that super global variable.

@GrahamCampbell I know otherwise call() do not set it properly, and in my upload class I do not see it.


Alternatives for using a global file variable

Hi,
I have successfully gotten your library working on an ESP32 that displays to an RGB matrix using @mrfaptastic's Matrix library.
I am trying to find an alternative to having to define my File variable globally such as in: https://github.com/bitbank2/PNGdec/blob/master/examples/sdcard_slideshow/sdcard_slideshow.ino
I am looking to encapsulate the PNG Drawing capability within a higher level image function that I can use for dynamically loading and drawing new images to the LED Matrix. The specific number of class instantiations I will need will never be known at compile time, but I will have multiple files open at once.
Essentially I want a class like the following:
image1 = ImageManager("filename.png")
image2 = ImageManager("file2.png")
image1.render()
image2.render()
Where ImageManager calls the png.Open() function when initialized.
I have tried to encapsulate the PNG class and the File variable within a higher level class along with my callback functions inside it but then the compiler complains because the callback functions are not static.
If I set the functions to static I can no longer access the unique File variable that belongs to each instantiation.
Essentially I want to be able to pass in a File object to the Open() callback without having to explicitly define it as a global variable.
I am not extremely knowledgeable about C++ so maybe I am missing an obvious solution here...
Thanks!

The open callback can allocate a new file handle and return it without using a global variable. Just remember to free it when you close it.

Hi @lmurdock12 , sorry to hijack an old issue.
I'm also trying to display png files on the HUB75 LED matrices using this library, and mrfaptastic's library. I stumbled across the two issues you have raised in this repo, and thought I would reach out. I hope that is ok.
I am able to get gifs to play, but I am bashing my head against a wall with pngs. I have written my own callback functions, but wasn't having any luck, so I then copied yours across from the other issue, but still nothing but a blank LED matrix.
Were you ever able to get this project running? Would you be willing to share your code?
Thank you for any help
Cam


Wrong plugin version in setup.py

Forgot about this, thank you very much!

@LuckyX182 I think the release tag needs to be reset to the last merge to rebuild the zip.

Correct, since OctoPrint's software update will keep downloading the tag, rather than the master branch. Not sure if deleting the tag can be done in GitHub's UI, but it can be done from the command line with git or using an IDE that might have the feature. Otherwise a new 0.3.3 release may be required, incrementing the version again before tagging.

I think new 0.3.3 version will be the easiest thing to do. Thanks guys.


Add Indigenous Governing Entity

As an IAO user
I want Indigenous Governing Entity
so that I can track this applicant category and not have a sync issue with AXIS

Assumptions & Scope
What are the assumptions for this story?
Indigenous Governing Entity has been added as an applicant category in AXIS, but not FOI Mod. When a request has this applicant category, when the request is synced, the category show as 'blank' in FOI Mod.
What is IN scope?
Add Indigenous Governing Entity as an Applicant Category in FOI Mod.
What is NOT in scope?
Acceptance Criteria
Scenario 1: Sync IGE Applicant Category

GIVEN a request is an IGE in AXIS
WHEN the request is synced
THEN the applicant category in FOI Mod will read "Indigenous Governing Entity"

Scenario 2: IGE Applicant Category

GIVEN an IAO analyst is on the request view
WHEN the analyst clicks Category
THEN "Indigenous Governing Entity" is an option on the drop down

Scenario 2: IGE Applicant Category

GIVEN an IAO analyst has opened the Applicant Category drop down
WHEN the analyst clicks "Indigenous Governing Entity"
THEN "Indigenous Governing Entity" will be selected
AND be displayed in the category field
...

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

@KyEggleston , @m-prodan  , @lmullane  this is ready for testing. if its TESTED good, we can push this to PROD EOD today!. Assuming this solve the issue with "ACTIVE=FALSE" / disappearing request from queue happened with requests like, TRA-2022-22426  on prod.

@abin-aot - synching from the Axis request pulls the IGE category into the FOI Mod request, and all ACs pass. This is good for prod.
cc: @lmullane, @m-prodan, @liseandtea


Jeff/update clang format

This PR forks the ROS clang-format file and makes Mayfield-specific changes.

Public repos should be forked into our public organisation

@po1 @togaen I've asked Ben to move it to https://github.com/MayfieldRoboticsPublic


MenuItem: Add config for height adjustments

This update adds a handful of Theme configs for the MenuItem component - allowing for custom height fine-tuning beyond controlHeight.

Resolves https://github.com/ItsJonQ/g2/issues/114

Merging this up 😊


Regression Testing for SuperFluid Back-end Merge

We should do some general regression testing on staging following the merge of https://github.com/Giveth/impact-graph/pull/1893
General tests should include:

Sign in with EVM
Sign in with Solana
Donation Flow
Recurring Donation on Optimism
GIVpower boosting
Create Project
Edit Project
Edit User Profile Information
Project Page (public view & owner view)
GIVbacks eligibility form

When this passes we will push staging back-end to production and repeat the process to ensure we have not introduced any new bugs into the dapp.
cc: @CarlosQ96

[ ]1- In create or edit project flow, by tapping on OP or Base network, "enable" button for recurring donation is shown , but by tapping on it nothing happens

https://github.com/user-attachments/assets/f5f8464e-bdf8-4a9d-823b-1c762124d786

@maryjaf I tried on staging and it's working for me:

can you try standard procedure or create new account inside metamask?

[x]  1- In create or edit project flow, by tapping on OP or Base network, "enable" button for recurring donation is shown , but by tapping on it nothing happens

Thanks @kkatusic  yeah this problem has been fixed it seems it was related to my test address

[ ] but there is another problem please take a look on below screen record

-I enabled recurring donation option
-when I tap on edit project

I see the "enable" button again

https://github.com/user-attachments/assets/e73f1ec4-8a2c-439e-8795-f2ac1508e181

[ ] and one question: when I try to enable recurring donation on prod I should complete the flow related to recurring donation setup(like a following video)
but in this new version there is no flow for this in create project scenario, is this ok?

https://github.com/user-attachments/assets/df03df76-ea1f-4287-aacb-433c99d53bae

General tests should include:

Sign in with EVM :Pass
Sign in with Solana :Pass
Donation Flow :Pass
Recurring Donation on Optimism: waiting for: "Total donated" field in recurring donation table is changed from 0 into >0 after running job
GIVpower boosting:Pass
Create Project:failed https://github.com/Giveth/impact-graph/issues/1894#issuecomment-2548010522
Edit Project: failed https://github.com/Giveth/impact-graph/issues/1894#issuecomment-2548010522
Edit User Profile Information:Pass
Project Page (public view & owner view):Pass
GIVbacks eligibility form:Pass

[x]  1- In create or edit project flow, by tapping on OP or Base network, "enable" button for recurring donation is shown , but by tapping on it nothing happens

Screen.Recording.2024-12-17.at.12.13.08.PM.mov

@maryjaf this hasn't solved, I found same problem on creating new project. Try to create same on Etherium network and than enable recurring donation. I'm investigating this ;)


STASH regular expression

I was just wondering whether there was a reason for using the regular expression ^\s*m(.*)s(.*)i(.*)\s*$ to determine whether a string contains a STASH code (see
https://github.com/SciTools/iris/blob/master/lib/iris/fileformats/pp.py#L308), rather than something more explicit like ^\s*m(\d{2})s(\d{2})i(\d{3})\s*$ (or even ^\s*m(\d*)s(\d*)i(\d*)\s*$)? I have a case where the string I was checking contained the netCDF variable name mlotstmin, which matches with the current regular expression, even though it is not a STASH code!

As STASH codes are a UM thing and the UM uses only digits for model, section, item, then it makes sense to me that you can use the more strict regular expression.
Unless anyone knows of counter examples then can we put in a fix to make the regex more strict?  We currently have to put special code in our code bases to handle this case.

A more specific regex is appropriate for checking STASH codes. Feel free to submit a PR yourself to fix this if you have time. I've marked this as a bug and added it to the v2.0 milestone so it doesn't get lost.


I need 1.0.9 version with search pole

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

https://github.com/bit-world/Houseclub/releases/tag/1.0.9

when I try to enter a room it says "Error loading data"
What should I do ?

Have a look at notifications if there's a message if you're suspended. Otherwise reload or log out and log in again.

I checked the level of notifications there is nothing
I uninstalled and reinstalled but it always puts the same thing,
impossible to enter a room
Attached screenshots
Le dim. 7 mars 2021 à 16:39, caasn<EMAIL_ADDRESS>a écrit :

Have a look at notifications if there's a message if you're suspended.
Otherwise reload or log out and log in again.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/grishka/Houseclub/issues/255#issuecomment-792307689,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATD7BS7ZOOECRIBURCOYBXLTCOT5NANCNFSM4YXY3LXQ
.

I want to talk !!!

Build it yourself then you rude human being. I swear some people think that people here on gift hub work for you. You guys are sick in your manners either build it yourself or help build it or report bugs that's all that this is for stop complaining and asking for stuff and being rude

when I try to enter a room it says "Error loading data"
What should I do ?

Same problem happen with me!!?

"Error loading data" Same.

"Error loading data" Same.

Your account must have banned if you had signed up on Android device, check your notifications. You have to register on IOS device.

Not neccssarily. I signed up with android now I'm using the app for 3 weeks.

How can i create room?


Statically linked sbtn via musl

We recently reverted the musl build for sbtn due to ipcsocket JNI loading issue. However, I think we should try again.
The lack of test coverage bit us, but I don't think that's a reason to abandon the static linking effort. The benefit of using musl is that once we can figure it out, it's somewhat guaranteed to work a long time. Whereas glibc and the fact that we are dependent of the availability of GitHub Action images etc means that we're constantly at the mercy of external forces with regards to sbtn working on which Linux machine.

I am thinking if we should start working on it after the official support for GraalVM JNI library static linking arrives. Currently it is doable but it requires using undocumented API, as in https://github.com/oracle/graal/issues/3359.

https://github.com/oracle/graal/issues/3359#issuecomment-1031482202 says

For statically linked lib to make loadLibrary work there have to be an exported function called JNI_OnLoad_<library name>() according to JEP 178, or you can simply don't call loadLibrary at all, and the native method should simply work as long as the native function name matches.

so it kind of sounds like the ingredients are all there.

If a library L is statically linked, then upon the first invocation of System.loadLibrary("L") or equivalent API, a JNI_OnLoad_L function will be invoked with the same arguments and expected return value as specified for the JNI_OnLoad function. JNI_OnLoad_L must return the JNI version needed by the native library. This version must be JNI_VERSION_1_8 or later.

(https://docs.oracle.com/javase/8/docs/technotes/guides/jni/spec/invocation.html)
Guess we need to submit a PR to JLine to as their JNI_OnLoad currently returns JNI_VERSION_1_2.
https://github.com/jline/jline3/blob/ec559ef64fd282a991905c01d76e8f0debb4fb58/native/src/main/native/jlinenative.c#L11-L13
We also need to add a JNI_OnLoad to https://github.com/sbt/ipcsocket. And we since both JLine 3 and Ipcsocket currently produces shared library I guess we need to somehow compile them to static library and make them available during the static linking?

I don't know what L would be but they'd need something like JNI_OnLoad_jlinenative?


Adding testing to support work to do outbound quote support.

Signed-off-by: Scott Nichols<EMAIL_ADDRESS>

Spec changed. No one implemented double quoted headers.


Added validation to ensure that service names passed in are lower case.

Fixes #611

I don't think we can really validate that all services are always lower cased, that's just our convention.  I think this is a bug in our loader, where it will incorrectly give you a service model for iam even though you asked for iAm or IaM.  The loader should only give you a service model if it's exactly the same name you asked for.

That's a trickier view, though I understand the reasoning. I found a working solution is put a check in list_api_versions enforcing the case by calling listdir to make sure the case-correct directory exists. I have a feeling there's some edge cases that might not take care of even though this passes the tests.

:shipit:  Looks good.  Just remove the client.py comments.

Looks good. :ship: You can merge it once the tests pass.

:shipit:


[BUG] unpredictable monitor values

Checklist before submitting an issue

[X] I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
[X] I have specifically verified that this bug is not a common user error
[X] I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug
When monitors are dynamically added (as in, docking events), the monitor references can change to which monitor they refer. In particular, even when the WM (e.g. bspwm) and X think the monitors are the same configuration, it's a coin toss as to which monitor eww will think is 1, and which is 2. This results in bars sometimes swapping monitors on which they appear between dock events.
Of note is that monitor 0 on a laptop (the integrated screen) is always assigned the integrated monitor.
Reproducing the issue

Have a laptop and two external monitors connected to a dock
Configure 3 different bars (bar0, bar1, bar2), one on each monitor (laptop gets :monitor 0, the others get :monitor 1 and :monitor 2)
eww daemon
eww open-many bar0 bar1 bar2
Undock the laptop
Close the bars, (eww close-all)
Open one just for the laptop (eww open bar0) -- this and step 9 can probably be omitted
Dock the laptop
Close the one bar (eww close bar0)
Re-open the bars: eww open-many bar0 bar1 bar2

Expected behaviour
When the WM (bspwm) and X consistently identify the monitors and monitor geometry, eww should also always assign monitors the same identifiers.
Additional context
When I dock my laptop, X invariably assigns the left monitor the name DP2-2 and the right DP2-1. bspwm uses the X monitor names, and therefore scripts to put desktops on monitors can consistently lay out workspaces.
A wild guess is that the eww :monitor identifiers are simply array indexes, and that the array is built in an order that is not consistent, probably as a result of some underlying system returning an unordered monitor list -- that is, in eww, monitor ordinality is not preserved between monitor connection events.
A fix would be to use display identifiers instead of indexes. Another fix would be to sort the indexes by display name so that the order is consistent. A third would be to use monitor edid (eds has some sample code), but edids can be troublesome for a number of reasons.
My preferred solution would be to use display names; X is pretty consistent with assigning consistent display names, and it's a common way to refer to monitors in X programs: xrandr, bspc -M -m --names, i3-msg -t get-outputs, etc. all return the X identifier names, and those names are commonly used in configuring window managers and other X tools.

+1 on this. I think eww should also be able to get Wayland outputs as well.

#522 confirmed working, under X, in any case.

This issue should be reopened since it's still a problem in wayland, and it probably wont get much attention since it's closed.

This issue should be reopened since it's still a problem in wayland, and it probably wont get much attention since it's closed. I have a really bad monitor that randomly powers off (and it's still better than my other 2), causing the ids to be completely unreliable.

There already has been some attempts at fixing this (#522) but wayland doesn't make this easy. I'll look if things have changed but I don't think so. The best you could get is probably a patch that only works on recent versions of GTK.


Remove pre 7.0 compatibility; other cleanup

Simplify and shorten the current code. I will have a further PR later that changes a bunch of thrown exceptions to allow for easier error handling.

CircuitPython 7 supports split() on bytes and bytearrays. Remove hand-coded routines no longer needed.
CircuitPython 6 supports streaming json decoding. Remove workaround for 5.x non-streaming decoding.
Refactor the duplicated check for gzip content.

Please test with your own wifi code - thanks. I tested this with the simple wifi testing code, and with the Google calendar example, but not with other examples.

Re-pushed; due to git problems, the code that was pushed was wrong.

Passes initial testing with my "production" code on PyPortal and Metro ESP32-S2 (CircuitPython 7.2.0). I'll load it on more devices and let it run.

I ran pytest locally and hit the same failure as the CI.
Changing https://github.com/adafruit/Adafruit_CircuitPython_Requests/blob/main/tests/post_test.py#L83
to sock.send.assert_called_with(b'Date=July 25, 2019')
Fixes the test... well it passed. But I don't understand why. ;-)

Also tested with a PyPortal (ESP32 coprocessor) with the OpenWeather demo. Ready for re-review.


Batch mode for A X = B with B a n x m matrix

Hey there,
Some native JAX solvers such as jnp.linalg.solve and jax.scipy.sparse.linalg.gmres nicely support batch mode, where the right hand side of the system $A X = B$ is a $n \times m$ matrix. What is the best approach to efficiently reproduce this behaviour with lineax?
I made a benchmark using vmap and lineax, but this approach is is 4x slower:
import jax.numpy as jnp
import jax.random as jr
from jax import vmap, jit
import lineax as lx
import timeit

N = 20
key = jr.PRNGKey(0)
A = jr.uniform(key, (N, N))
B = jnp.eye(N, N)

@jit
def linalg_solve():
    x = jnp.linalg.solve(A, B)
    error = jnp.linalg.norm(B - (A @ x))
    return x, error

def lineax_solve(solver):
    operator = lx.MatrixLinearOperator(A)
    state = solver.init(operator, options={})
    def solve_single(b):
        x = lx.linear_solve(operator, b, solver=solver, state=state).value
        return x
    x = vmap(solve_single, in_axes=1, out_axes=1)(B)
    error = jnp.linalg.norm(B - (A @ x))
    return x, error

def benchmark(method, func):
    time_taken = timeit.timeit(func, number=10) / 10
    _, error = func()
    print(f"{method} solve error: {error:2e}")
    print(f"{method} average time: {time_taken * 1e3:.2f} ms\n")

benchmark("linalg.solve", linalg_solve)
# linalg.solve solve error: 6.581411e-06
# linalg.solve average time: 0.03 ms

myfun = jit(lambda: lineax_solve(lx.LU()))
benchmark("lineax", myfun)
# lineax solve error: 6.581411e-06
# lineax average time: 0.13 ms

So (a) I think you've made a few mistakes in the benchmarking, and (b) most Lineax/Optimistix/Diffrax routines all finish with an option to throw a runtime error if things have gone wrong, and this adds a measurable amount of overhead on microbenchmarks such as this. This can be disabled with throw=False.
So adjusting things a little, I get exactly comparable results between the two approaches.
import jax
import jax.numpy as jnp
import jax.random as jr
import lineax as lx
import timeit

@jax.jit
def linalg_solve(A, B):
    x = jnp.linalg.solve(A, B)
    error = jnp.linalg.norm(B - (A @ x))
    return x, error

@jax.jit
def lineax_solve(A, B):
    operator = lx.MatrixLinearOperator(A)
    def solve_single(b):
        x = lx.linear_solve(operator, b, throw=False).value
        return x
    x = jax.vmap(solve_single, in_axes=1, out_axes=1)(B)
    error = jnp.linalg.norm(B - (A @ x))
    return x, error

def benchmark(method, func):
    times = timeit.repeat(func, number=1, repeat=10)
    _, error = func()
    print(f"{method} solve error: {error:2e}")
    print(f"{method} min time: {min(times)}\n")

N = 20
key = jr.PRNGKey(0)
A = jr.uniform(key, (N, N))
B = jnp.eye(N, N)

linalg_solve(A, B)
lineax_solve(A, B)

benchmark("linalg.solve", lambda: jax.block_until_ready(linalg_solve(A, B)))
benchmark("lineax", lambda: jax.block_until_ready(lineax_solve(A, B)))

# linalg.solve solve error: 7.080040e-06
# linalg.solve min time: 4.237500252202153e-05
#
# lineax solve error: 7.080040e-06
# lineax min time: 3.9375037886202335e-05

Notable changes here:

Using throw=False to disable Lineax's checking for success (and just silently returning NaNs if things go wrong).
Using jax.block_until_ready.
Compiling prior to evaluating, so that we don't measure differences in compilation speed.
Using min with repeat=10, rather than the mean, over the evaluation times. As benchmarking noise is one-sided then this is usually the correct aggregation method for microbenchmarks.
Actually passing in inputs to the JIT'd region. What you've written here could in principle be entirely constant-folded by the compiler.

FWIW I've also trimmed out the use of state and the explicit lineax.LU() solver, as the former is done already inside the solve and the latter is the default.

Excellent, thanks for the details!

FWIW I've also trimmed out the use of state and the explicit lineax.LU() solver, as the former is done already inside the solve and the latter is the default.
I am surprised that the vmap is not triggering multiple internal init?

Of course, makes total sense. Thanks for the details!


[Shared] Underline support in text runs

Automatically generated task. Any updates to the title and body will be overwritten. Do NOT modify the labels.
Shared implementation of #3051

This was merged with the UWP implementation


Upgrade to dotnet 9

Description
This PR updates this package and testing fx to target net 9.0
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation (these include code samples)
[ ] My changes generate no new warnings (if so, why?)

This also addresses #365


Issues with FMUv5 board

This is a collection of problems I came across when bench-testing FMUv5:

Telem2(J7): with SYS_COMPANION=57600, UART ttyS2: the attached telemetry does not work, there's no communication.
I tried to manually start mavlink with: mavlink start start -d /dev/ttyS2 -b 57600. But mavlink immediately exits, w/o error output. @davids5 any ideas?
SBUS RC is not working properly: channels are detected, but the decoding does not work correctly: the channels randomly jump in QGC.

The NuttX config shows that Telem2 is a UART while the other telemetry ports are USART's, but their configuration is the same. So I guess it's using a different driver in NuttX.

@bkueng - I am looking into this and have a few questions.

What are you looking at that suggests  TEL2 is connected to a UART?

On the schematic the TEL2 connector has signals USART3_{TX|RX|CTS|RTS}_TELEM2
This is connected to USART3.
The config has:
CONFIG_STM32F7_USART1=y
CONFIG_STM32F7_USART2=y
CONFIG_STM32F7_USART3=y
CONFIG_STM32F7_UART4=y
# CONFIG_STM32F7_UART5 is not set
CONFIG_STM32F7_USART6=y
CONFIG_STM32F7_UART7=y
CONFIG_STM32F7_UART8=y

Which should result in a mapping of:
# UART mapping on FMUv5:
#
# UART1			/dev/ttyS0		GPS
# USART2		/dev/ttyS1		TELEM1 (flow control)
# USART3		/dev/ttyS2		TELEM2 (flow control)
# UART4			/dev/ttyS3		TELEM4
# USART6		/dev/ttyS4		TELEM3 (flow control)
# UART7			/dev/ttyS5		?
# UART8			/dev/ttyS6		CONSOLE

Hi David - it might have been USART2 / Telem 1

Based in debugging Telem2(J7), what I have found is the open is blocked waiting on a DMA channel. I will have to review the usage and see why.

That sounds like it.

@bkueng @davids5 I was looking at the SBUS problem and found the following:

the jitter on the RC channels comes from the fact that for some reason we get some data on the dsm port (/dev/ttyS0 on PX4IO).
If you disable this line then the problem goes away
https://github.com/PX4/Firmware/blob/master/src/modules/px4iofirmware/controls.c#L235

So I think there are two questions:

What and why outputs data on the dsm port?
Should we add logic that does not allow simultaneous readout of various rc protocols (sbus, dsm, ppm, ...)

@RomanBapst
What is connected to the FMU?  Please describe the setup per connector.

In looking at the schematic:

I suspect we are missing the logic to disable USART6_TX_TELEM3 when the IO is present and functional.

@davids5 I only had the usb cable (for power) and the rc receiver connected.

I am afraid I do not have good news.
The Telem2(J7) issue is because the TX DMA of the FMU PX4IO driver (UART7_TX) uses the same stream as USART3_RX. So both can not have the DMA resource (open) at the same time[1].
We avoided this on V2 because the PX4IO driver was on USART6. I missed seeing the DMA contention when we added the IO processor to the FMUv5 with the redundant RC requirement already using USART6.
[1] Because the TELEM RX data is async these 2 can not be multiplexed.

Fixed


UI/UX polishes

Do make an extra effort for the final milestone to make sure the UI is polished, and visually consistent. If we're going to feature your project in the community, you want to make sure to put your best foot forward. - https://github.com/onflow/flip-fest/pull/119#issuecomment-961464243

[x] make sure table columns have consistent width and alignment
[x] reduce SubNavigation height

Here we need to rethink design for smaller screens. We would need at least three additional versions of the UI design:

769px — 1024px: Small screens, laptops
1025px — 1200px: Desktops, large screens
1201px and more —  Extra large screens, TV

Agreed, I created a seperate issue, as this is not a minor change.


az login --identity stopped working: Failed to connect to MSI

Describe the bug
I follow this page to create azure cloud instance and test system managed identity. https://learn.microsoft.com/en-us/azure/container-instances/container-instances-managed-identity#example-2-use-a-system-assigned-identity-to-access-azure-key-vault
My container created successfully. I connect the container instance and try to execute following command inside the container
az login --identity

And got following error
PS C:\work> az login --identity
Failed to connect to MSI. Please make sure MSI is configured correctly and check the network connection.
Error detail: HTTPConnectionPool(host='XXX.XXX.XXX.XXX', port=80): Max retries exceeded with url: /metadata/identity/oau
th2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01 (Caused by NewConnectionError('<u
rllib3.connection.HTTPConnection object at 0x0000024C2C46D2E0>: Failed to establish a new connection: [WinError 10060] A
 connection attempt failed because the connected party did not properly respond after a period of time, or established c
onnection failed because connected host has failed to respond'))

Related command
az login --identity
Errors
Failed to connect to MSI. Please make sure MSI is configured correctly and check the network connection.
Error detail: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: /metadata/identity/oau
th2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01&client_id=348f0b58-24de-4880-97a4
-c9ebacc39cd9 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001A26CBFB2B0>: Failed to
establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly r
espond after a period of time, or established connection failed because connected host has failed to respond'))
Issue script & Debug output
PS C:\work> az login --identity
Failed to connect to MSI. Please make sure MSI is configured correctly and check the network connection.
Error detail: HTTPConnectionPool(host='XXX.XXX.XXX.XXX', port=80): Max retries exceeded with url: /metadata/identity/oau
th2/token?resource=https%3A%2F%2Fmanagement.core.windows.net%2F&api-version=2018-02-01 (Caused by NewConnectionError('<u
rllib3.connection.HTTPConnection object at 0x0000024C2C46D2E0>: Failed to establish a new connection: [WinError 10060] A
connection attempt failed because the connected party did not properly respond after a period of time, or established c
onnection failed because connected host has failed to respond'))
Expected behavior
it should authenticate in azure container instance
Environment Summary
PS C:\work> az --version
azure-cli                         2.58.0
core                              2.58.0
telemetry                          1.1.0
Dependencies:
msal                              1.26.0
azure-mgmt-resource             23.1.0b2
Python location 'C:\tools\python3\python.exe'
Extensions directory 'C:\Users\ContainerAdministrator.azure\cliextensions'
Python (Windows) 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:36:42) [MSC v.1929 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response

Thank you for opening this issue, we will look into it.

The error indicates Azure CLI is not able to connect to managed identity endpoint on the Azure Container Instances.
You may create a support ticket for Azure Container Instances to investigate it further.
Duplicate of #14961


add python bindings for Tracker and MultiTracker

see #415
also added 2 samples, tracker.py and multitracker.py

@kurnianggoro , what do you think about wrapping all of it into a namespace cv::tracking ?

@berak thank for the pull request. I'm agree with the namespace cv::tracking. I think that maybe the first step to do is merge this pending pull request (https://github.com/Itseez/opencv_contrib/pull/341/files) in which there are some important stuff for this module and then complete the python binding. What do you think?

@lenlen , yes, so the namespace will have to wait for #341 to get merged.
should i wait with this pr, too ?

:+1:


menu is not showing under some circumstances

During totally unrelated works, I noted that the context menu was not showing. The issue is present in this branch.

In [https://github.com/mikkokotila/Padma/compare/fix_context_menu_hidden_by_screen_bottom_edge...broken_context_menu#diff-6338d02b7ffe7e6c97ead36d0483af4dL24](this comparison) it seems that in the two versions, nothing related with the dropdown-menu have been changed.

Very interesting, https://github.com/mikkokotila/Padma/compare/master...broken_context_menu. One works, and the other doesn't.

ok, so having different id in base.html dropdown-menu.js causes it to fail silently. There was nothing produced in console.


refactor!: split ExecuteSqlParams into Query/DML

DML Queries cannot be partitioned; splitting these allows us to remove
the partition token from the DML variant so we don't have to worry about
handling it or not in the method bodies.
BREAKING CHANGE: This changes the Connection API which is public for testing.

This change is

Hm, not sure I've seen this failure before, but I also don't see what's in here that would cause a segfault (this is Windows Cmake)

I have been attributing those (maybe incorrectly) to another manifestation of grpc/grpc#16872.

This change is innocuous in isolation, but may complicate the pending changes I have in #961. Let's go ahead and merge this now, but based on the impact I may want to recombine them later.

reverting this due to conflicts with work Scott is doing; I'll take another look once he's done.


examples: Add custom page support to blog

Add layout for simple custom page
Add a page example to content
Add dynamic menu with range inside navbar
Update README

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

First contribution on the project :smile: Criticism are welcome.


Graceful error when questions change behind the scenes and responses are no longer valid

Currently, there's an opaque crash and you have to clear your local storage manually.

(Note that this only ever happens during exam development. When an exam is released to students, the questions on the exam aren't randomly changing.)