[RFC] rewrite fuzzy matcher and sorter

current sketch
sort priorities

prefer less pieces
prefer more acronym hit (missing in ncm)
prefer earlier hit
alphanumeric

Or another priorities?

prefer prefix
prefer more acronym hit (missing in ncm)
prefer less pieces
prefer earllier hit
alphanumeric

Demo implementation:

https://github.com/ncm2/ncm2-abbrfuzzy
I cannot decide which implementation is best suited. Create it as a plugin instead of pushing it into ncm2.

Sorter is now available too.
Closing this issue, but it is open for proposals on fuzzy match.


Add FreeCAD

Project URL
https://github.com/FreeCAD/FreeCAD
Category
Graphics, Other Development
Description
Adding FreeCAD an open-source 3D parametric modeler
Why it should be included to Awesome macOS open source applications  (optional)
Checklist

[x] Edit applications.json instead of README.md.
[x] Only one project/change is in this pull request
[x] Screenshots(s) added if any
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

@zwhitten Thank you! 🚀


[Querier] Modify show tags support Native Tag without prefix

This PR is for:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Ericsssss:x: zhengyazhengya seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add a schedule to airflow fill-infographics*

Change to weekly

fill-infographics-cache-for-road-segments
fill-infographics-cache-for-streets


Support for more even more content types

From<EMAIL_ADDRESS>on January 13, 2011 08:08:02
Register the "XML" IANA ( http://www.iana.org/assignments/media-types/ ) content types as XML parsing. See http://groovy.codehaus.org/modules/http-builder/doc/contentTypes.html for details.
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=9

From<EMAIL_ADDRESS>on February 12, 2011 12:30:35
Status: Fixed


LB: expose algorithm for LBListener

@ibuildthecloud Darren, this PR exposes algorithm on LB listener. Following algorithms are exposed:
roundrobin
leastconn
source
uri
first
There are couple of extras that haproxy supports (static-roundrobin, url-param,rdp-cookie) but I think for v1 it would make sense to expose a limited set of most popular ones. Let me know what you think

Can you explain what uri and first are?  I'm guess first is to pick the first available host.  I'm conformable with roundrobin, leastconn, source as that is what we've always done in IaaS.  I don't know what uri is and then first might be problematic because it seems like we should then allow the user to deterministically order the targets.
I think for the first pass lets just add the first three.

I'm on the fence here.  Do you really think this should be a DB field?  I think I'm leaning towards just adding it to the data field.

Darren, sorry for the delayed reply. Its fine if we expose just 3 algorithms in V1 (in CloudStack we also did just leastconn, roundrobin and source). I will submit an another PR for this. Let me know if you want me to move it to the data field.

i feel better with having it as a data field right now.


Windows 10 1809 support request for Keyboard Manager

I am running Windows 10 enterprise for work that is managed by our IS. Version 1809. I installed PowerToys exclusively for mapping keys on my Apple Magic Keyboard A1644 (the small cute one) and hope to use it for the forward delete key once issue # 3290 is resolved. I really hope that the requirement for version 1903 or higher can be expanded? Thanks so much for all your work.

Windows 10 1903 is required since it is the one that supports xaml islands to host UI for some toys.

Until WinUI 3 is more stable, v1903 is our minimum version.

we have tech dependency for the UX


removed build folder, IDE files and added it to .gitignore file

This is PR related to #3.
Best regards,
Roman.

Tks bro!


Revert scrollbar overrides in Dark Modern

Fixes #180550 and #188520
cc @IanMatthewHuff @unthinkmedia

@daviddossett Awesome. Thanks!


MINOR; Preserve ThrottlingQuotaExceededException when request timeouts after being retried due to a quota violation (KIP-599)

KIP-599 had proposed to keep returning the ThrottlingQuotaExceededException to the called even when the request times out due to reaching default.api.timeout.ms. The current implementation does not cover this yet.
From KIP-599:

Once default.api.timeout.ms has been reached, the topics which were throttled will return the ThrottlingQuotaExceededException to the caller.

This PR adds the logic to preserve the ThrottlingQuotaExceededException when topics are retried. The throttleTimeMs is also adjusted accordingly as the request could remain pending or in-flight for quite a long time.
I have run various tests on clusters with enabled quotas and I, indeed, find it better to preserve the exception. Otherwise, the caller does not really understand what is going on. This allows the caller to take the appropriate measure and also to take the throttleTimeMs into consideration.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@rajinisivaram Thanks for your comments. I have updated the PR.

@rajinisivaram Thanks for your suggestion. I have updated the PR.

Builds are good, merging to trunk.


fix: handle artifacts that were never uploaded

Handles artifacts that were never uploaded the same way that deleted artifacts are handled, addressing internal sentry issue https://weights-biases.sentry.io/issues/3933057442/?referrer=slack.

Added logging


fixing service selector config

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/254/
Test PASSed.

Merged - thanks @KurtStam!


Feature/streaming

Add streaming model

[x] add support for contextual_block_transformer
[x] add support for contextual_block_conformer
[x] add new StreamingSpeech2Text class to use streaming model.

Speech test
I tested with the 6.6 second wav file with model named D-Keqi/espnet_asr_train_asr_streaming_transformer_raw_en_bpe500_sp_valid.acc.ave.
I used the default value for the hyperparameters, as:

block_size : 40
hop_size : 16
look_ahead: 16

Note that the torch version of implementation computes the encoder process only once, whereas the onnx implementation computes a couple of times.
Inference time on CPU

torch: 14.83997 sec
onnx (without quantization) : 3.18774 sec
onnx (with quantization) : 2.86233 sec

The difference in the inference time between the torch version and the onnx version is mainly caused by the beam search algorithm. In the torch version, beam_search_online_sim computes beam_search process for maxlen times at the end, where maxlen = len(encoder_out). However, the onnx version quit the beam search process before the number reaches maxlen, and computes batch_beam_search at the end.

This is super cool.
Can we have some coordination of the developments (e.g., adding the test in both main espnet and espnet_onnx sides, making a demo, documentation for porting, etc.)?


Stop passing cubeb context/stream into user callbacks?

All of the user callbacks accepted by libcubeb (except cubeb_device_changed_callback and cubeb_log_callback) pass a cubeb* or cubeb_stream* (depending on the context) to the user callback.
The AudioIPC remoting code currently passes a nullptr in these situations, since none of the users inside Gecko make use of the pointer.  We also strongly discourage (and enforce, in AudioIPC) re-entering libcubeb from within a user callback, making the pointer fairly useless.
Unless there's a good reason to retain them, I'd prefer to remove these pointers from the user callback API.  That helps make it clear that re-entering libcubeb from within callbacks is discouraged and simplifies AudioIPC's implementation (as well as drops noise from the callback signatures where the pointer is ignored).
In the event there are cases where the user callback does need access to the context/stream pointer, it can access them via the user-supplied user_ptr anyway.

Yes, it's not particularly useful, we only ever use user_ptr as you say.

Yeah, we can remove that. We can use the user_ptr when we need it and it is better that way because we can handle better the thread access or the lifetime of the context/stream.
The only way I have used it in the past in the past is to differentiate callbacks for different streams but this is something we can definitely do with user_ptr.

I would love to see the context/stream pointer is removed from the arguments of the callback. It causes a twice-borrowing issue in the rust version.

Thanks for the feedback.  I think we can go ahead with this.  My plan is to mark (or document) these arguments as deprecated, do a final libcubeb release of the current major version, then bump the major library version and remove them.


Multiple apps found matching input criteria when trying to install PowerShell 7.0.1

Brief description of your issue
When I try to install PowerShell 7.0.1, winget cannot seem to locate the correct one
Steps to reproduce
None of these work
winget install PowerShell
winget install Powershell
winget install Microsoft.Powershell
winget install --id Microsoft.Powershell --version 7.0.1
Expected behavior
It should pick up Powershell 7.0.1 (btw, that should have been named PowerShell not Powershell)
Actual behavior
I get the following:
Multiple apps found matching input criteria. Please refine the input.
Name               Id                           Version
---------------------------------------------------------------
Powershell         Microsoft.Powershell         7.0.1
PowerShell-Preview Microsoft.PowerShell-Preview 7.1.0-preview.3

Environment
PS C:\Users\adil> winget --info
Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.18363.836
Package: Microsoft.DesktopAppInstaller v1.0.41331.0

Links:
  Privacy Statement: https://aka.ms/winget-privacy
  License agreement: https://aka.ms/winget-license
  3rd Party Notices: https://aka.ms/winget-3rdPartyNotice
  Homepage:          https://aka.ms/winget

I have the same issue trying to Install FireFox.

It seems that if there is an exact match, then that should be installed.

I was able to install or upgrade PowerShell using the exact match parameter
winget install -e Microsoft.Powershell -v 7.0.1

A better solution to installing PowerShell7 is to use the install-powershell command in power shell's github repo. It gives you much more flexibility. It can also be remoted over PS Remoting, which winget appears to not handle.

A better solution to installing PowerShell7 is to use the install-powershell command in power shell's github repo. It gives you much more flexibility. It can also be remoted over PS Remoting, which winget appears to not handle.

Good point but I believed winget was designed in similar functionality to apt utility, meaning you have to be on the server/machine in some form to use it. I guess you can use PS and winget together to extend that functionality...my 2c

I ran into the same problem today. I would expect it to be interactive like:
"Multiple packages matched your query. Please select one of the following:
[1] Microsoft.Powershell
[2] Microsoft.PowerShell-Preview"
Anyway thanks for the awesome work 💪

This worked fine about 2 days ago, but the 7.1.0 preview version was not available at that time.  Unfortunately, I am not having any success using the '-e' switch either. :(

Ran into this same issue as well.
winget install -e Microsoft.Powershell did work for me but these circumstances should probably be handled a bit cleaner with perhaps a selection list or some other method.
Thanks for the great work on this!

I ran into the same problem today. I would expect it to be interactive like:
"Multiple packages matched your query. Please select one of the following:
[1] Microsoft.Powershell
[2] Microsoft.PowerShell-Preview"
Anyway thanks for the awesome work

The problem is, preview version should not even come up when the version is specified. Names are similar but versions are different. It's as if version is totally ignored.

winget install -e Microsoft.Powershell doesn't work here.

How would I discover -e. And what does '-e' mean?
A bad UI.

winget install --info

I had a similar problem trying to install Discord
PS C:\Users\orta> winget
Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

WinGet command line utility enables installing applications from the command line.
usage: winget [<command>] [<options>]

The following commands are available:
  install   Installs the given application
  show      Shows info about an application
  search    Find and show basic info of apps
  hash      Helper to hash installer files
  validate  Validates a manifest file

For more details on a specific command, pass it the help argument. [-?]

The following options are available:
  -v,--version  Display the version of the tool
  --info        Display general info of the tool

More help can be found at: https://aka.ms/winget-command-help

PS C:\Users\orta> winget install discord
Multiple apps found matching input criteria. Please refine the input.
Name           Id                    Version
--------------------------------------------
Discord        Discord.Discord       0.0.306
Discord Canary Discord.DiscordCanary 0.0.264

PS C:\Users\orta> winget install discord.discord
Multiple apps found matching input criteria. Please refine the input.
Name           Id                    Version
--------------------------------------------
Discord        Discord.Discord       0.0.306
Discord Canary Discord.DiscordCanary 0.0.264
PS C:\Users\orta> winget install Discord.Discord
Multiple apps found matching input criteria. Please refine the input.
--------------------------------------------
Discord        Discord.Discord       0.0.306
Discord Canary Discord.DiscordCanary 0.0.264

PS C:\Users\orta> winget install --help
Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Installs the given application

usage: winget install [[-q] <query>] [<options>]

The following arguments are available:
  -q,--query        The query used to search for an app

The following options are available:
  -m,--manifest     The path to the manifest of the application
  --id              Filter results by id
  --name            Filter results by name
  --moniker         Filter results by app moniker
  -v,--version      Use the specified version; default is the latest version
  -s,--source       Find app using the specified source
  -e,--exact        Find app using exact match
  -i,--interactive  Request interactive installation; user input may be needed
  -h,--silent       Request silent installation
  -o,--log          Log location (if supported)
  --override        Override arguments to be passed on to the installer
  -l,--location     Location to install to (if supported)

More help can be found at: https://aka.ms/winget-command-install

PS C:\Users\orta> winget install --id Discord.Discord
Multiple apps found matching input criteria. Please refine the input.
Name           Id                    Version
--------------------------------------------
Discord        Discord.Discord       0.0.306
Discord Canary Discord.DiscordCanary 0.0.264

( and I kinda left it at that and installed it manually )

@orta it would probably work if you used
winget install --exact Discord.Discord or winget install -e Discord.Discord
problem is that:

-e option is not obvious
It's Case sensitive, and that's not obvious either
both of these are documentation problems. If winget team took a clue from PowerShell team and actually created a help that's useful, with examples, people could have discovered how to do these.

There are other problems though, mainly disregard for version. I cannot think of any good reason why this should not work:
winget install --id Discord.Discord --version 0.0.306
that's nuts!

My takeaway here is the semantic text being used here. Right now winget install behaves exactly like winget show at times where it can't find an exact output.
install is a command, the verb is specific in nature and implicitly suggests that it expects an exact match. The install command should fail when a exact match cannot be picked out (with appropriate messaging).

How does Winget KNOW that I do not want both versions loaded? I have two versions of Snagit, Multiple versions of.NET, etc.
And if 'install' is a verb, then 'show' should be 'get'.
From my phone so apologies for the typos.
!

From: Julian Chow<EMAIL_ADDRESS>Sent: Tuesday, May 26, 2020 5:11:58 AM
To: microsoft/winget-cli<EMAIL_ADDRESS>Cc: Thomas Lee<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [microsoft/winget-cli] Multiple apps found matching input criteria when trying to install PowerShell 7.0.1 (#282)
My takeaway here is the semantic text being used here. Right now winget install behaves exactly like winget show at times where it can't find an exact output.
install is a command, the verb is specific in nature and implicitly suggests that it expects an exact match. The install command should fail when a exact match cannot be picked out (with appropriate messaging).

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/winget-cli/issues/282#issuecomment-633797478, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3WJ6OJFB3ZHPZVHJ3U4ZLRTM6Q5ANCNFSM4NHMQQWA.

BTW
winget install -e Microsoft.Powershell

will install 7.0.0
to install the latest run
winget install -e Microsoft.PowerShell

BTW
winget install -e Microsoft.Powershell

will install 7.0.0
to install the latest run
winget install --id Microsoft.PowerShell -e

This worked for me, but others have reported that it didn't work (I see a PR has been made to make this work):
winget install -e Microsoft.PowerShell

I had that issue and winget install Microsoft.PowerShell -e worked like a charm

same issue with me but installing git through winget

I ran into this issue specifically with terminal; I saw on one of the blogs about winget suggesting i could simply "winget install terminal" and I was very excited to try this 😅
I think one solution (to these specific packages) is to exclude preview/prerelease packages unless a flag is provided. Notify that prereleases are available if you insist, but unless a user is explicitly trying to install a prerelease, listing it in the default query may not be helpful.
Although hiding the preview is a solution for now, if someone comes along with SuperTerminal or TerminalX, users will have the exact same issue again, needing to qualify "Microsoft.WindowsTerminal" (it's a lot to type, relative to other package managers, terminal is a lot more concise and memorable!). I imagine some kind of name aliasing for packages or prompting the user to ask about a best match (unless it's run non-interactively) would be better long term solutions.

At the moment, when installing apps with multiple search results, the following nomenclature is working perfectly:
winget install --name <appName> -e
Note that the  is Case Sensitive !

@SubhamK108 Thanks for the short solution.
#292 is part of the fix for this issue.

I was able to install or upgrade PowerShell using the exact match parameter
winget install -e Microsoft.Powershell

This also worked for me, although I did get an error with Google Chrome about the "installer hash verification failed."  Everything else worked great.

I was able to install or upgrade PowerShell using the exact match parameter
winget install -e Microsoft.Powershell

The documentation/help is not clear about -e which is too bad and easy to fix

winget install -e Microsoft.PowerShell doesn't work.
winget install -e Microsoft.Powershell does work.
The search is case sensitive! (microsoft/winget-pkgs#884)

However, now things have changed:
winget install -e Microsoft.PowerShell does work while winget install -e Microsoft.Powershell doesn't work.

@Sciroccogti The same for me.

@Sciroccogti The same for me. However at the end of installation I received a message "Installation abandoned". Nevertheless the installation completed successfully.

Oh yes I received that message as well, but I was running the powershell installation in powershell itself, so I think it's normal for it to be 'abandoned'.

Same issue trying to install Terminal as others have stated:
winget install Microsoft.WindowsTerminal

Fails with:
Multiple apps found matching input criteria. Please refine the input.
Name                     Id                               Version
--------------------------------------------------------------------
Windows Terminal         Microsoft.WindowsTerminal        1.0.1401.0
Windows Terminal Preview Microsoft.WindowsTerminalPreview 1.1.1671.0

Workaround confirmed working using the -e:
winget install -e Microsoft.WindowsTerminal

Using this as install button is broken in Microsoft Store again and re-registering app-x packages is failing this time.

winget install --id<appID> -e

Like the others, I'm having the same sort of issue
winget install Google.Chrome
outputs this
Multiple apps found matching input criteria. Please refine the input.
Name        Id                Version
------------------------------------------
Chrome      Google.Chrome     84.0.4147.89
Chrome Beta Google.ChromeBeta 84.0.4147.38

Only was able to work with the -e flag
winget install -e Google.Chrome
If package IDs were unique, shouldn't the install command default to ID for seamless usage?

There were a few steps involved in getting a solution to this Issue. We are using some of the same codebase on the server to build the database of apps. The issue is that a substring wasn't being treated as an "exact" match for show or install. We're testing a version of the client that will hopefully provide a resolution.

Also in the screenshot above is it a bit strange that Chrome Beta is actually an older version than Chrome non-beta. Does this mean repos are not yet kept up to date?

@AdilHindistan this Issue should be resolved with the current release of the client (v0.1.42101 Preview). The matching criteria for show and install are identical and will lock on an "exact" string match. The matching criteria for search is still more broad to help locate packages with matching substrings.

Fixed in https://github.com/microsoft/winget-cli/releases/tag/v0.1.42101-preview

I have a similar issue trying to upgrade Plexamp. I'm not sure why but it detects multiple instances on my system.
Multiple installed packages found matching input criteria. Please refine the input.
Name          Id
----------------------------------------------------
Plexamp       Plex.Plexamp
Plexamp 3.4.4 {46418f0f-cea3-5740-a7e9-a0166db1e7c4}

You'd think winget upgrade Plex.Plexamp -e or winget upgrade -e Plex.Plexamp (both similar to suggestions listed above) would work, but they don't. Neither do winget upgrade --id Plex.Plexamp -e nor winget upgrade --name Plexamp -e`. Driving me crazy honestly.

@pressRtowin what is the output for winget list plexamp and winget upgrade?

@denelon
Name    Id           Version Available Source
---------------------------------------------
Plexamp Plex.Plexamp 3.4.6
Plexamp Plex.Plexamp 3.4.4   3.4.6     winget

The second line is from running winget install --id Plex.Plexamp -e which worked unlike upgrade. winget upgrade only shows 'Plexamp             Plex.Plexamp                 3.4.4    3.4.6         winget' now since running that, but before it showed something similar (without winget as the source). It never displayed the {windowsappIDnonsense} version in the upgrade list.

Is it working correctly now?
I've run into cases where a package installed two instances in Add/Remove Programs. The Cura program is an .exe installer that doesn't "upgrade" it just installs the new version beside the old one. I had 4.8.0 on my machine, and I ran winget upgrade. It then installed the 4.9.1 version, and now when I run winget list cura you see the old one looks like an upgrade is available, and the new one is current.
 winget list cura
Name           Id             Version Available Source
------------------------------------------------------
Ultimaker Cura Ultimaker.Cura 4.8.0   4.9.1     winget
Ultimaker Cura Ultimaker.Cura 4.9.1

Nothing has changed.

@pressRtowin I just tested:
PS C:\Users\denelon> winget search PowerShell
Name                      Id                                  Version         Match           Source
----------------------------------------------------------------------------------------------------
PowerShell                Microsoft.PowerShell                7.1.3                           winget
Windows Terminal Preview  Microsoft.WindowsTerminalPreview    1.9.1445.0      Tag: PowerShell winget
Windows Terminal          Microsoft.WindowsTerminal           1.8.1444.0      Tag: powershell winget
PowerShell-Preview        Microsoft.PowerShell-Preview        7.2.0-preview.6 Tag: powershell winget
EasyConnect               lstratman.easyconnect               <IP_ADDRESS>       Tag: powershell winget
Oh My Posh                JanDeDobbeleer.OhMyPosh             3.160.1         Tag: PowerShell winget
PowerShell Preview (MSIX) Microsoft.PowerShell-Preview-MSIX   7.0.2                           winget
PowerShell Universal      IronmanSoftware.PowerShellUniversal 1.4.0                           winget
PS C:\Users\denelon> winget install PowerShell
Found PowerShell [Microsoft.PowerShell]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.1.3/PowerShell-7.1.3-win-x64.msi
  ██████████████████████████████  95.0 MB / 95.0 MB
Successfully verified installer hash
Starting package install...
Successfully installed
PS C:\Users\denelon>

What version of the Windows Package Manager are you running?

Windows Package Manager v1.0.11451

@pressRtowin can you share output like I did from the same two commands? I'd like to see what might be different.

I have no issues installing powershell...

@pressRtowin it looks like two instances of Plexamp were installed on your system. That's the same as the "Cura" example I have above. I don't know if the Plexamp installer actually recognizes the earlier version and upgrades it or if it is designed to support "side by side" installation. Some packages are designed with this intentional behaviors. For packages that aren't, you might need to have the manifest modified for the "UpgradeBehavior" to specify uninstall to remove the "older" version before installing the "newer" version.

@denelon Doesn't really explain why winget is giving a "Please refine the input." error and not some type of installation error, especially when I'm specifying an exact match using the ID fields which are clearly different in the two matches that it finds. The duplicate IDs in winget list plexamp would've only been a thing after I ran the install command but I was having the same error before that.

Generally, the "Please refine the input" error happens when the client needs the user to disambiguate between multiple options. This happens several places in the code. If the -id is not distinctly identifying the package manifest or a "single" entry in "Add / Remove Programs" this happens. I believe what is happening is either the two entries in "Add / Remove Programs" aren't unique enough (I think there is work here in the client), or for some reason more than one manifest matched some set of criteria. This may be similar to https://github.com/microsoft/winget-pkgs/discussions/16038

Getting a similar situation trying to upgrade the .NET 5.0 SDK. Because I also have the 6.0 preview, it picks that up too, and returns "refine the input" even if I specify the ID of the 5.0 package:
`C:> winget upgrade --id Microsoft.dotnet
Multiple installed packages found matching input criteria. Please refine the input.
Name                                               Id
Microsoft .NET SDK                                 Microsoft.dotnet
Microsoft .NET SDK 6.0.100-preview.4.21255.9 (x64) {e0100246-937c-4ed6-b71f-2e37cf75fe43}`

This issue still exists:
PS C:\WINDOWS\system32> winget upgrade
Name                         Id                             Version     Available   Source
TeamViewer                   TeamViewer.TeamViewer          15.21.5     15.21.6     winget
TeraCopy                     CodeSector.TeraCopy            3.8.2       3.8.5       winget
Plexamp                      plex.Plexamp                   3.4.0       3.5.0       winget
Python 3                     Python.Python.3                3.9.5150.0  3.9.6150.0  winget
PS C:\WINDOWS\system32> winget upgrade codesector.teracopy
Multiple installed packages found matching input criteria. Please refine the input.
Name                   Id
TeraCopy               CodeSector.TeraCopy
TeraCopy version 3.8.2 TeraCopy_is1
PS C:\WINDOWS\system32> winget upgrade python.python.3
Multiple installed packages found matching input criteria. Please refine the input.
Name                  Id
Python 3              Python.Python.3
Python 3.9.5 (32-bit) {708847ae-c2de-49fb-9b85-8d2e9c991358}
PS C:\WINDOWS\system32> winget upgrade plex.plexamp
Multiple installed packages found matching input criteria. Please refine the input.
Name          Id
Plexamp       plex.Plexamp
Plexamp 3.4.0 {46418f0f-cea3-5740-a7e9-a0166db1e7c4}

Any news on this - it's rendering winget basically unusable for alot of packages, in part because "exact" doesn't seem to mean exact at all. For example:
`winget upgrade -e "Microsoft Visual C++ 2013 Redistributable (x86)"
Multiple installed packages found matching input criteria. Please refine the input.
Name                                                         Id
Microsoft Visual C++ 2013 Redistributable (x86)              Microsoft.VC++2013Redist-x86
Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.40664 {042d26ef-3dbe-4c25-95d3-4c1b11b235a7}`
I've include "x86" in my name parameter, so why is it "exactly" matching the x64 version?

This is still not working for upgrade command:
C:\Users\me>winget upgrade -e Python.Python.3
Multiple installed packages found matching input criteria. Please refine the input.
Name                   Id
-------------------------------------------------------------
Python 3               Python.Python.3
Python 2.7.18 (64-bit) {A5F504DF-2ED9-4A2D-A2F3-9D2750DD42D6}

C:\Users\me>winget show -e Python.Python.3
Found Python 3 [Python.Python.3]
Version: 3.9.7150.0
Publisher: Python Software Foundation
Author: Python Software Foundation
Moniker: python3
Description: Python is a programming language that lets you work more quickly and integrate your systems more effectively.
Homepage: https://www.python.org
License: PSF LICENSE AGREEMENT FOR PYTHON
License Url: https://docs.python.org/3/license.html
Installer:
  Type: Burn
  Locale: en-US
  Download Url: https://www.python.org/ftp/python/3.9.7/python-3.9.7-amd64.exe
  SHA256: 3f63f4c77a6da13f9bae715eb6644a48bd5f900601e0f1f233862e8ca1a96dd8

C:\Users\me>winget upgrade --id Python.Python.3 -e
Multiple installed packages found matching input criteria. Please refine the input.
Name                   Id
-------------------------------------------------------------
Python 3               Python.Python.3
Python 2.7.18 (64-bit) {A5F504DF-2ED9-4A2D-A2F3-9D2750DD42D6}

Stumbled upon this issue when trying to perform winget upgrade Microsoft.Teams.
It is giving me the following output:
Multiple installed packages found matching input criteria. Please refine the input.
Name            Id
-------------------------------
Microsoft Teams Microsoft.Teams
Microsoft Teams Teams

I did see in this discussion issue that people are mentioning to use the -e flag (or --exact), but when doing so I still get the same output as mentioned above.
I also looked at the casing as this seems to be case sensitive, but no luck there either.

C:\Users\Elias> winget uninstall Toinane.Colorpicker
Multiple installed packages found matching input criteria. Please refine the input.
Name              Id
--------------------------------------------------------
Colorpicker       Toinane.Colorpicker
Colorpicker 2.0.3 {2fa01720-ea93-5692-9697-66fad2caf3bf}
C:\Users\Elias> winget uninstall -e --id Toinane.Colorpicker
Multiple installed packages found matching input criteria. Please refine the input.
Name              Id
--------------------------------------------------------
Colorpicker       Toinane.Colorpicker
Colorpicker 2.0.3 {2fa01720-ea93-5692-9697-66fad2caf3bf}

This issue was related to PowerShell and the "install" command.
There are various reasons why the winget client is having trouble with disambiguation. I've created a couple of new issues for specific impacted scenarios so we can isolate and resolve them. In some cases, the problem needs to be fixed in the manifest, or the package installer itself rather than the winget client.
We need specific actionable issues so we can isolate the cause(s), and resolve them. Some of the Issues are too broad and generic to be confident they have been resolved. Sadly when those are encountered, we end up with multiple reports of something that isn't quite the same. In those cases, I have been trying to create discrete Issues to identify the specific scenario impacted.
There are a few exceptions, and in those cases, I close the original as a duplicate, and refer to another issue we're working on. Sometimes one fix impacts multiple different scenarios.
I blogged about some tips with using multiple sources.

PS C:\> winget upgrade -e --id 'Microsoft.VC++2015-2022Redist-x86'
Multiple installed packages found matching input criteria. Please refine the input.
Name                                                               Id
---------------------------------------------------------------------------------------------------------
Microsoft Visual C++ 2015-2022 Redistributable (x86)               Microsoft.VC++2015-2022Redist-x86
Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.29.30135 {fa7f6d52-f85e-48ef-8f56-a37268aa5772}
PS C:\>

Regardless whether it's even worth updating this package, how does one get more specific than this?

@FLevent29 this is a bug. We're working on additional schema changes to better match what we see in Apps & Features. This is one of our prime test cases for ensuring the matching logic is improved. The schema has been updated, now we need to do the work in the client to leverage the fields. Please add your 👍 to #980.

`Microsoft Visual C++ 2008 Redistributable - x86 Microsoft.VC++2008Redist-x86 9.0.30729.4148 9.0.30729.6161 winget
Microsoft Visual C++ 2008 Redistributable - x64 Microsoft.VC++2008Redist-x64 9.0.30729.4148 9.0.30729.6161 winget
2 upgrades available.
winget upgrade Microsoft.VC++2008Redist-x86
Multiple installed packages found matching input criteria. Please refine the input.
Name                                                           Id
Microsoft Visual C++ 2008 Redistributable - x86                Microsoft.VC++2008Redist-x86
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161 {9BE518E6-ECC6-35A9-88E4-87755C07200F}
Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.4148 {4B6C7001-C7D6-3710-913E-5BC23FCE91E6}
Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161 {5FCE6D76-F5DC-37AB-B2B8-22AB8CEDB1D4}
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.17   {9A25302D-30C0-39D9-BD6F-21E6EC160475}`
I will also leave this here in the hope that it will get fixed

Facing same with Python 2 & .NET SDK
👽  winget upgrade -e Python.Python.2
Multiple installed packages found matching input criteria. Please refine the input.
Name                   Id
-------------------------------------------------------------
Python 2               Python.Python.2
Python 2.7.18 (64-bit) {A5F504DF-2ED9-4A2D-A2F3-9D2750DD42D6}

👽  winget upgrade -e Microsoft.dotnet
Multiple installed packages found matching input criteria. Please refine the input.
Name                             Id
-----------------------------------------------------------------------
Microsoft .NET SDK               Microsoft.dotnet
Microsoft .NET SDK 5.0.405 (x64) {343a89ec-9510-4063-9421-b0767cc25d40}

amazing tool btw, thanks

People just follow the recommendation! Example:
 winget install --name PowerShell --exact --source winget
Multiple packages found matching input criteria. **Please refine the input.**
Name               Id                           Source
------------------------------------------------------
PowerShell Preview Microsoft.PowerShell.Preview winget
PowerShell         Microsoft.PowerShell         winget

REFINE THE INPUT! Use Id, version, or anything that distinguishes the package.
Example:
winget install --name PowerShell --exact --Id Microsoft.PowerShell --source winget

I'm seeing this as well:
`
winget upgrade --include-unknown
Name                                                   Id                            Version        Available     Source
Google Chrome                                          Google.Chrome                 117.0.5938.150 118.0.5993.71 winget
Windows Terminal                                       Microsoft.WindowsTerminal     1.18.2681.0    1.18.2822.0   winget
OBS Studio                                             OBSProject.OBSStudio          29.0.2         29.1.3        winget
Google Chrome                                          Google.Chrome                 117.0.5938.150 118.0.5993.71 winget
Microsoft ASP.NET Core 3.1.32 - Shared Framework (x64) Microsoft.DotNet.AspNetCore.6 < 6.0.5        6.0.23        winget
5 upgrades available.
I then perform:
Winget upgrade --disable-interactivity --force --id google.chrome
Found Google Chrome [Google.Chrome] Version 118.0.5993.71
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
██████████████████████████████   103 MB /  103 MB
Successfully verified installer hash
Starting package install...
Successfully installed
and then going back to:
winget upgrade --include-unknown
Name                                                   Id                            Version        Available     Source
Google Chrome                                          Google.Chrome                 117.0.5938.150 118.0.5993.71 winget
Windows Terminal                                       Microsoft.WindowsTerminal     1.18.2681.0    1.18.2822.0   winget
OBS Studio                                             OBSProject.OBSStudio          29.0.2         29.1.3        winget
Microsoft ASP.NET Core 3.1.32 - Shared Framework (x64) Microsoft.DotNet.AspNetCore.6 < 6.0.5        6.0.23        winget
4 upgrades available.
You can see it upgraded one of them. If I do the the upgrade command again, I get this:
Winget upgrade --disable-interactivity --force --id Google.Chrome
No available upgrade found.
No newer package versions are available from the configured sources.
And if I issue this command, this is the result:
Winget upgrade --disable-interactivity --force --name "Google Chrome"
Multiple installed packages found matching input criteria. Please refine the input.
Name          Id
Google Chrome Google.Chrome
Google Chrome Google.Chrome
`
Using the --exact flag doesn't help.
I'm also experiencing this issue with Microsoft.DotNet.AspNetCore.6

@SuperBartimus
And again...
Your output:
Name                                                  Id                            Version        Available     Source
------------------------------------------------------------------------------------------------------------------------
Google Chrome                                      Google.Chrome                 117.0.5938.150   118.0.5993.71 winget

You can notice the DIFFERENCE in the output, you have the version "117.0.5938.150" while the NEWER version is "118.0.5993.71"
What is the PROBLEM with DEFINING THE VERSION in your command?
winget upgrade --name "Google Chrome" --version 118.0.5993.71
REFINE THE INPUT! Use Id, version, or anything that distinguishes the package.


isOnline().then giving error that it is not a function after new update 8.5.0

When the internet is not available then isOnline(...).then is giving error that isOnline(...).then is not a function. It started happening for 8.5.0. Till 8.4.0 it was working fine.

// @Richienb

@shubhamvyapar Is this on Node.js or in the browser?


examples/console_test was compilation error on esp32-c3

Thank you for sharing great project!!
I want to run console_test on esp32-c3, but set-target  esp32c3 and build, I encountered following error.

ninja: error: '****/esp-csi/lib/esp32c3/libesp-csi.a', needed by 'console_test.elf', missing and no known rule to make it

After this commit
https://github.com/espressif/esp-csi/commit/d183220e97c23b6ded528bf8ae2cc0c0d56ab9db ,
esp32-c3 and esp32-s2's "libesp-csi.a" was deleted.

Please tell me that console_test supports esp32-c3 or not.
Thank you.

The processing power of esp32-C3 is very weak, so CSI development based on ESP32-C3 is not recommended, and console_test is not configured for ESP32-C3

I understand that use of esp-csi on
esp-c3 in  is not recommended.  Thank you.

Hello, @michan06
The latest version has fixed this problem. Closing this issue, feel free to reopen with more updates. Thanks.


Cover entire HashMap API for the HalfBrown map

The HalfBrown map covers the essentials of HashMap but not everything quite a few things are missing.

Moving this to the halfbrown repo - it is about 90% done already mostly missing entry and related functions.


Fix wrong aspect ration on OS X Safari

This fixes https://github.com/mpetroff/pannellum/issues/155. I'm sure it can be done more elegantly but it should point you in the right direction, basically recalculate aspect ration after full screen was entered and render one frame so that screen does not stay black.

This did point me in the correct direction. It seems the resize event wasn't firing. I think I fixed it in d1615f4b6a82081c9b16b08bc6cbfd0b2b84c878. Thanks.


[Fix-11927] [UI]  missing some fields value in edit DataX node

Purpose of the pull request
close https://github.com/apache/dolphinscheduler/issues/11927
Brief change log
fulfill DataX node missing fields value
Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Seems already fixed by #11222, could u plz help take a look? @Amy0104

Seems already fixed by #11222, could u plz help take a look? @Amy0104

Yeah, it is related to this issue

duplicate to #11201


Allow using ResponseStream as a ZipFile target

ResponseStream is obviously incompatible with a reading or appending ZipFile, but ZipFile(s, mode="w") should just need to sequentially write the file. However it seems to use the write return value (which should be the number of bytes successfully written), which currently forbids using it thus:
Traceback (most recent call last):
  File "test.py", line 44, in <module>
    z.writestr("thing", b"wheee")
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/zipfile.py", line 1645, in writestr
    with self.open(zinfo, mode='w') as dest:
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/zipfile.py", line 1349, in open
    return self._open_to_write(zinfo, force_zip64=force_zip64)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/zipfile.py", line 1462, in _open_to_write
    self.fp.write(zinfo.FileHeader(zip64))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/zipfile.py", line 722, in write
    self.offset += n
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'

Just returning the length of input fixes the issue, and avoids having to e.g. write to a BytesIO.

thanks for the pr, in order to avoid regression, could you please add a minimal test for this

ps the build failure happens due to a incompatibility of cryptography

@RonnyPfannschmidt Welp good thing you asked for tests, turns out Python 2 and Python 3 diverge slightly (Python 2's ZipFile also needs a tell method) and I'd only checked on 3.6

You've used an email that GitHub doesn't recognize. You need to change the email in your commit or register it with GitHub.

You'll need to use contextlib.closing in the test since ZipFile does not work in with statements in 2.6.

@davidism or I could close it manually as if context managers without a thing, that also acceptable?

Use contextlib, it's what it's there for.

As you prefer.

Used contextlib and fixed email issue.

Looks like you missed pushing the contextlib change.

@davidism that I did. Should be good now.

Don't worry about the test failures, they're unrelated. @untitaker we really need to clean up the tests, the random failures are super confusing.

I agree, but I don't see how. There are flaky tests, perhaps
pytest-rerunfailures helps
On Tue, Jun 27, 2017 at 09:45:20AM -0700, David Lord wrote:

Don't worry about the test failures, they're unrelated. @untitaker we really need to clean up the tests, the random failures are super confusing.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/pallets/werkzeug/pull/1142#issuecomment-311416676


Bug with quotes and hashtags

when my cursor is next to a quotation mark (', ") or a #, the application freezes and I can't do anything other than restart the application

Hello. This is a major problem. But I can't seem to reproduce it though. What's your iPadOS version? And can you share the crash log through TestFlight and have me investigate?

Hello. This is a major problem. But I can't seem to reproduce it though. What's your iPadOS version? And can you share the crash log through TestFlight and have me investigate?

Hi, I'm on iPadOS 14.5.1
And I shared the crash log on TestFlight

Hello. This is a major problem. But I can't seem to reproduce it though. What's your iPadOS version? And can you share the crash log through TestFlight and have me investigate?

Hi, I'm on iPadOS 14.5.1
And I shared the crash log on TestFlight

Thank you! I am looking at it. Can you also check if the editor works on this website? - https://microsoft.github.io/monaco-editor/

After further investigation, it seems like this is only affecting Python scripts. I am working on a fix.

Fixed in https://github.com/thebaselab/monaco-tm/commit/5b0cb34f7d5538514593b7e4eff5d46a29d40763


Docs site not found?

https://zzodocs.netlify.app/
Not found - Request ID: 3d0f61a4-02ca-4917-9aea-9313248d19d7-19908218

aha, perhaps correct link is here? https://zzo-docs.vercel.app/zzo

Yes, Thanks!
I edited the link


Icons not load properly until it mouse focus

In the very first reload it;s not load the icons until focus the mouse pointer to any icon. So it should be load properly.

Same here, I am loading the image on a popup/dialog, so that might have to do with it not loading initially?

@haseeAmarathunga  @Starrzan  - is the button working fine from you end? zoom reset

In the very first reload it;s not load the icons until focus the mouse pointer to any icon. So it should be load properly.

Any workaround?

@haseeAmarathunga @Starrzan - is the button working fine from your end? zoom reset

next page, reset, zoom buttons are not working


Transfer vSwarm to the new vhive-serverless org

Moved now vSwarm dependencies.
Its a lot of dependencies. And not as easy as I thought at the beginning but maybe it will work.
The benchmarks for me except the once that uses XDT

I needed to upgrade the builder as I already upgraded some of the mod files.
The mod files needed to be updated anyway because of new paths. I thought its better to then update the paths right away to 1.18. I hope this is fine.
Closes #299

Linters fail for some of the benchmarks.
I think I should not try to fix it now. I created a separate issue as I think this should be fixed together with upgrading the golang version #300


Implement end-to-end reactor-style tests for Zug/consensus-agnostic rewards

We need to do some rapid iteration on tests that can falsify basic assumptions about behavior of the new rewards

11/17 Alex L working on tests

Merged


Failed validation due to ICD Codes

While performing a stand alone validation, we had multiple issues with the validation of ICD Codes. For every ICD Code we were told that the validation failed without further information or any reason.
In one resource which conforms to the profile 'Stage at diagnosis' of the GECCO dataset (Link: https://simplifier.net/forschungsnetzcovid-19/diagnosiscovid19-duplicate-2) we are using both a SNOMED CT Coding and an ICD Coding:

According to the profile this is allowed:

However, after the validation the following error message shows up:

After we removed the ICD Codings, the validation of the resources was successful.
Is there any explanation why the validation of ICD Codes fails?

Hi @riejo,
thank you for reporting this issue. From what I can see so far, validation of CodeableConcept elements with multiple Coding entries is not fully supported by our validator.
To be more specific, the HAPI validator we are extending is performing the validation of Codings in two steps. The Coding is first validated against the CodeSystem and then validated against the ValueSet if a binding is specified. Since we do not download the complete ICD-10 code-systems but only the ValueSet, the offline validation against the CodeSystem can not be performed, resulting in the false positive error you are reporting.

Hello,
is there any update regarding this bug or when it can be fixed?
Thanks

The implementation in #119 removes the dual code checks for CodeSystems: http://fhir.de/CodeSystem/bfarm/icd-10-gm, http://fhir.de/CodeSystem/dimdi/icd-10-gm, http://fhir.de/CodeSystem/bfarm/ops and http://fhir.de/CodeSystem/dimdi/ops, http://fhir.de/CodeSystem/ifa/pzn. Codes from these systems are only checked against there ValueSets and not against the CodeSystem. We may need to reopen this issue in the future to implement a generalized solution.


fix(ResourceLinks): add optional multicomponent for different heading

Related Ticket(s)
#6882
Description
Add multiComponent boolean to allow for different heading type and text when ResourceLinks are combined on one page
Example of using multiComponent
<ResourceLinks name="Image" type="ui" multiComponent/> <ResourceLinks name="Image with caption" type="ui" multiComponent/>

Changelog
New

boolean multiComponent

Changed

add additional checks for resourceLinks

Thank you, @ariellalgilmore! This looks great to me!
Just triple-checking that without multiComponent the heading would be H2 Resources. Is that correct? Thank you!

yup! You can see in the deploy preview https://ibmdotcom-library.s3-web.us-south.cloud-object-storage.appdomain.cloud/deploy-previews/1141/components/back-to-top#resources that nothing has changed because none of the components have the multiComponent boolean yet.

Thank you, @ariellalgilmore! This looks great to me!
Just triple-checking that without multiComponent the heading would be H2 Resources. Is that correct? Thank you!

yup! You can see in the deploy preview https://ibmdotcom-library.s3-web.us-south.cloud-object-storage.appdomain.cloud/deploy-previews/1141/components/back-to-top#resources that nothing has changed because none of the components have the multiComponent prop yet.

🤩


Enable the new model serialization for eventhub

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.EventHubs


HealthNexus/DRS: kc library updates

updated contracts to "openzeppelin-solidity" library from deprecated "zeppelin-solidity" library
updated contracts to solidity v0.5.0
some minor es5/es6 edits

There were the following issues with your Pull Request

Commit: 24f63d3b7a08bb500c1c2a7fe0087aef69f7bd17

Commits must be in the following format: %{type}(%{scope}): %{description}

Commit: b07f151c2d5014d97393e65a88abe55ca5816dd3

Commits must be in the following format: %{type}(%{scope}): %{description}

Commit: 5275a45a287348bf7ac50e41eaa45a454a459dc5

Commits must be in the following format: %{type}(%{scope}): %{description}

Commit: e8be6d61b9ab1861bcbcb0c22063112a840d93b3

Commits must be in the following format: %{type}(%{scope}): %{description}

Commit: 4093915f4a5a97ff866dd987aef807c1fa2f76f8

Commits must be in the following format: %{type}(%{scope}): %{description}

Commit: 65f7e7c12d695760592132f7d8932b1c6191a40c

Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/Health-Nexus/drs

This message was auto-generated by https://gitcop.com

@kcheli reminder

@lhendre ready to merge


Trying to create fulltext lucene index on n-properties throws exception

OrientDB Version: 2.2.32
Java Version: 1.8
OS: Linux
Using the Orient Java api it is not possible to create fulltext lucene index on n-properties (a single property works fine)
Expected behavior
No exception
Actual behavior
The following exception is thrown:
com.orientechnologies.orient.core.index.OIndexException: Index with type FULLTEXT and algorithm LUCENE does not exist.
	DB name="tenant-danalim2"
	at com.orientechnologies.orient.core.index.OIndexes.getFactory(OIndexes.java:130)
	at com.orientechnologies.orient.core.index.OIndexDefinitionFactory.createMultipleFieldIndexDefinition(OIndexDefinitionFactory.java:93)
	at com.orientechnologies.orient.core.index.OIndexDefinitionFactory.createIndexDefinition(OIndexDefinitionFactory.java:70)
	at com.orientechnologies.orient.core.metadata.schema.OClassImpl.createIndex(OClassImpl.java:1897)

Steps to reproduce
(Code similar to the code in the documentation but adding an extra property)
OSchema schema = databaseDocumentTx.getMetadata().getSchema();
OClass oClass = schema.createClass("Foo");
oClass.createProperty("name", OType.STRING);
oClass.createIndex("City.name", "FULLTEXT", null, null, "LUCENE", new String[] { "name","surname"});

Hi @temilmg
are you using ODB as embedded?
Did you import the module orientdb-lucene ?

I am using remote connection and i am only including orientdb-graphdb as i was under the impression that lucene had been added to this jar (seems to be for fulltext lucene on a single property)
Adding orientdb-lucene solves the problem!
Is everything supposed to be in orientdb-graphdb? If yes do you want me to leave this bug open as a reminder, or should i just close it?

Thanks

When i add the orientdb-lucene dependency i get the following error:
(if i remove orientdb-lucene then the error disappears)
	com.orientechnologies.orient.core.exception.ODatabaseException: Error on opening database 'remote:orientdb:2424/dana'
	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:193)
	at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPooled.<init>(OPartitionedDatabasePool.java:428)
	at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPooled.<init>(OPartitionedDatabasePool.java:424)
	at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.initQueue(OPartitionedDatabasePool.java:358)
	at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.<init>(OPartitionedDatabasePool.java:117)
	at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.<init>(OrientGraphFactory.java:174)
	at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.<init>(OrientGraphFactory.java:155)

	Caused by: com.orientechnologies.orient.core.exception.OConfigurationException: Error on opening database: the engine 'remote' was not found. URL was: remote:orientdb:2424/dana. Registered engines are: [memory, plocal]
		DB name="remote:orientdb:2424/dana"
		at com.orientechnologies.orient.core.Orient.loadStorage(Orient.java:519)
		at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:173)
		... 46 more

Hi @temilmg,
This error means that you do not have in the dependencies the orientdb-client, I would suggest to double check if there is some conflict(maybe different versions) when you add that dependency.
Regards

To begin with i only had orientdb-graphdb but then lucene index on n-properties didnt work
Then I added orientdb-lucene and it worked locally but when I created a fat jar for a docker deployment it threw the openening database exception above.
I made the following workaround (maybe there is a better maven way but i am far from an expert in maven):
Making an exclusion on orientdb-client in orientdb-lucene fixes the opening database error
<dependency>
			<groupId>com.orientechnologies</groupId>
			<artifactId>orientdb-graphdb</artifactId>
			<version>2.2.32</version>
		</dependency>
		<dependency>
			<groupId>com.orientechnologies</groupId>
			<artifactId>orientdb-lucene</artifactId>
			<version>2.2.32</version>
			<exclusions>
				<exclusion>
					<groupId>com.orientechnologies</groupId>
					<artifactId>orientdb-client</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

but still the indexing doesnt work. There is a class loader in OIndexes that is not loading the oLuceneIndexFactory so I had to manually register it first with the following code:
OLuceneIndexFactory oLuceneIndexFactory = new OLuceneIndexFactory();
OIndexes.registerFactory(oLuceneIndexFactory);

Hi @temilmg
if you are building a single jar you should use this
https://orientdb.com/docs/last/Tutorial-Installation.html#building-a-single-executable-jar-with-orientdb
Thanks

Thanks I will have a look at that!
I think I can close this one now


mattermost-10.2 GHSA-q7pp-wcgr-pffx advisory update

1. GHSA-q7pp-wcgr-pffx

pending-upstream-fix:
Details: The issue regarding disintegration/imaging v1.6.2 where the index of the scan function in scanner.go can go out of bounds has an open PR https://github.com/disintegration/imaging/issues/165 but no implanted fix yet

I think the https://github.com/disintegration/imaging is not getting maintained anymore last commit was 4 years ago. I think it would be a better idea if we can file an issue about this CVE if that is not already present.


⚠ Spryr has degraded performance

In f92ffce, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4750 ms

Resolved: Spryr performance has improved in ae40e4f after 9 minutes.


wsl: Failed to configure network (networkingMode Nat), falling back to networkingMode VirtioProxy.

After a system recovery (from a restore point) the wls started to print this out.

Log files
logs.etl.txt
appxpackage.txt
bcdedit.txt
HKCU.txt
HKLM.txt
optional-components.txt
P9NP.txt
windows-version.txt
Winsock2.txt
wpr.txt
wslservice.txt
wslsupport-impl.txt
acl.txt

I have the same issue but there was no clear action I took to trigger it explicitly (maybe a Windows update did). Just appeared.

I have this error message since the latest windows update (build 19045) about a week ago. The vmmem process started hanging, couldn't access it or stop it (tried both task manager and stop-process in PS, both had access denied). Restarting it with wsl --shutdown just hanged. I eventually stopped it with taskkill /f /im wslservice.exe. When it started up again, I had this error message.

What had worked for me was to reset the network settings as follow https://answers.microsoft.com/en-us/windows/forum/all/how-to-reset-network-settings-in-windows-10/699e8f07-0e0d-4be3-9da9-f4094ff9746d

I just got this problem to day too 🥲

I just got this problem to day too 🥲, a network reset do fix it

Did not work.

i am not able to fix it even after network reset, uninstalled ubuntu, reinstalled ubuntu, installed kali nothing worked

For me worked to run
wsl --install --no-distribution
after a reboot of the host the network was working again.

same here, tried all workarounds here but nothing... I can connect to network from WSL but certain python apps do not work anymore (when connecting to some services in the WSL machine

Same for one developer. It started to show that err and we cannot fix it:
Tried to:

wsl --install --no-distribution
Reinstall Windows Hypervisor Platform / Virtual Machine Platform / Windows Subsystem for Linux.

This is extremely annoying....

Same problem for me. Dns works, now that I've added <IP_ADDRESS> to the nameservers (using this fix), ping doesn't work. I've also tried to install another distribution (had Debian, added Ubuntu), hoping that it would add some missing adapter, but it has no effect.


Consult the PlatformView implementation for Android

About the implementation of Android PlatformView, I have two questions:

Hybrid Composition used ImageReader to render the Flutter page, can we  just replace FlutterImageView with FlutterTextureView directly?  why not?

TLHC improved platform views performance, does that mean only improved performance on Android < 10 ? How about on Android >= 10?

related issue: https://github.com/flutter/flutter/issues/107313
cc @stuartmorgan

Hello @wangying3426. Thank you for filing this proposal. Labelling for further insights from the team.

Hybrid Composition used ImageReader to render the Flutter page, can we  just replace FlutterImageView with FlutterTextureView directly?  why not?

I'm not sure if this is intended as an information question, or as a change proposal. If the former, the issue tracker isn't really the right place for that discussion; Discord would be a better option. If the latter I would suggest a design document explaining in more detail what the motivation is and how it interacts with previous related work (e.g., https://github.com/flutter/flutter/issues/84742).

TLHC improved platform views performance, does that mean only improved performance on Android < 10 ? How about on Android >= 10?

I filed https://github.com/flutter/flutter/issues/112208 to track the need to update the existing documentation about platform views; that will include discussion of performance.
Since I don't think there's anything to track in the issue tracker at this point other than the docs update (which are tracked by the referenced issue), I'm going to close this. If I've misunderstood and there's another bug or feature request here please feel free to re-open.


Update autorest version to prerelease 3.0.0-alpha.20240319.1.x

Triggered from pull request: https://github.com/Azure/autorest.csharp/pull/4362

API change check
API changes are not detected in this pull request.


urlParsed doesn't support repeated search params

When making a request to /?foo=bar&foo=baz I would expect pageContext.urlParsed.search to return {foo: ['bar', 'baz']} but instead it returns {foo: 'baz'}.
More in general I think just proving a full url (including host) would be nicer, since then it would be possible to use  new URL(pageContext.url).searchParams.getAll('foo'). In addition you could use the hostname when routing (e.g. for multi-tenency).

The pageContext.url you provide at you server middleware is left untouched for you to access.
See https://vite-plugin-ssr.com/pageContext#built-in.

When making a request to /?foo=bar&foo=baz I would expect pageContext.urlParsed.search to return {foo: ['bar', 'baz']} but instead it returns {foo: 'baz'}.

This is by design as params are, most often than not, unique. However I'd be up to impelment something like pageContext.urlParsed.searchAll that provides the list of all values.
Closing in the meantime. I'll reopen and implement this once enough people show intereset for it.

This is not really the case when you use checkboxes, as every checkbox will have the same query parameter.

I'd be up to provide all the values, but I'm not sure how to name it.
What's the different between the naming "search parameters" and "query parameters"? I believe it's also often called a third name, but can't remember it right now.
The naming around query params ist just confusing. If someone can shed some light, then I'll implement this ticket.

TL;DR: They are synonyms. Going with "search params" is the safest bet, since it's the current official spec.
These are all synonyms for the same thing:

search params
query params
request params
url params
url query params

How various libs have chosen to call them:

search params - the name used by React Location,  React Router

query params - the name used by NextJS, and Router5

Disambiguation:
Everything between the ? and until a potential # in the url is called the "search string" or "query string". It may contain one or more "search params".
Format of URL is like: <path>?<search_string>#<fragment>
Source: https://developer.mozilla.org/en-US/docs/Web/API/Location/search
Example:
Inhttps://example.com/?name=Jonathan&age=18 then ?name=Jonathan&age=18 is the search string, whereas name=Jonathan and age=18 are the search params.
Since the official WC3 specification (orig, updated) and browser API's (URLSearchParams calls them the "search string" and "URL.searchParams", I'd say going with "search params" is a safe bet. They were probably renamed some time after inception:

Modern browsers provide URLSearchParams and URL.searchParams to make it easy to parse out the parameters from the querystring. mdn

If you need to disambiguate and steer people away from mistakenly directly using the browser's API's, I would prefix a namespace, instead of creating confusion by renaming it to "query params" or something else.

Thanks for these thorough insights, very helpful.
Luckily I settled with "search", so we're good here.
I actually revamped pageContext.urlParsed; I believe it now satisfy all needs. More infos at https://vite-plugin-ssr.com/pageContext.
To answer OP: update to vps's latest version and new URLSearchParams(pageContext.urlParsed.searchString||'') will do the trick.


Add textlint to improve the translation process

This pull request adds textlint in the translation process. As a linter for text and markdown, we can use this for reducing formatting review and eventually can focus on the translation quality itself.
textlint/README.md explains an overview of how we use textlint and how to do maintenance. For proof of improvement, I implement two textlint rules (no-endline-colon, terminology)
You can see the rule implementation test status in CircleCI "Test Textlint" step.
Textlint is already used in Japanese

@taggon @hg-pyun @b9words I got 2 review approval so I merged it.
please check this later and use it for a review!


Meetup - Polkadot - Bangalore, India

Hy, I got chance to meet Jack in Ethindia during India's first Polkadot meetup. I wanted to organize further meetup of Web3 foundation for Bangalore and Delhi region.
I got grant from ETH Foundation to work on Solidity. Currently doing lots of research on Scalability and Polkadot, Parity Substrate.
We are already organizing meetups for Ethereum and Hyperledger ecosystem. We have lots of interest in Polkadot innovation. Wants to put our fellow developers to get involve as open source developer to Web3 Ecosystem
https://www.meetup.com/Hyperledger-Bangalore/
https://www.meetup.com/India-Blockchain-Cryptocurrency-Meetup/events/248888482/
Thanks,
Ankit
<EMAIL_ADDRESS>

Thanks for the pitch @aj07 .
Team, we'd love to connect the dots in India!!

@aj07 thanks for reaching out. I have added you as a co-organiser for 'Polkadot - Bangalore' group. Feel free to get in touch when you're making plans for the next meetup, we'd be only to happy to help!

This should be nice!!
We are coming to the 6:30 event at Berlin Blockchain Week! It’d be nice to
talk more on this with the team there.
On Mon, 10 Sep 2018 at 12:41 PM, Josh0akley<EMAIL_ADDRESS>wrote:

@aj07 https://github.com/aj07 thanks for reaching out. I have added you
as a co-organiser for 'Polkadot - Bangalore' group. Feel free to get in
touch when you're making plans for the next meetup, we'd be only to happy
to help!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/w3f/Web3-collaboration/issues/22#issuecomment-419869371,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKoSb_48tWNN93bcp59mrGFHKH6PK6T4ks5uZkHzgaJpZM4V5Iel
.


Issue 2983

Combined several existing pages into a new Dedicated IP page

Removed /API_Reference/Web_API_v3/IP_Management/ip_warmup_schedule.md
Removed /Classroom/Basics/Account/adding_an_additional_dedicated_ip_to_your_account.md
Removed /Classroom/Basics/Account/what_is_my_sending_originating_ip_address_with_sendgrid.md
Removed /Classroom/Deliver/Delivery_Introduction/IP_reputation_montoring.md
Removed /User_Guide/Settings/ips.md
Replaced all of the above with an combined and optimized page: /User_Guide/Settings/dedicated_ip_addresses.md
Created new page redirects to capture direct hits to removed pages and send to new page.
Re-built PR to include all changes that happened to these files since I originally pulled the source.

Closes #2983
@ksigler7

Hello @triphius,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


Fix export condition

Closes https://github.com/storybookjs/addon-svelte-csf/issues/124. You only need to use the svelte export condition if you're exporting both compiled and uncompiled .svelte files, which is pretty rare

📦 Published PR as canary version: 3.0.8--canary.125.172fd41.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

Hi @JReinhold and @benmccann, yes it looks like this did fix my issue. Thank you both, this is super helpful!

:rocket: PR was released in v3.0.9 :rocket:


Clarify License

@skolodyazhnyy Thank you for this project! Many companies have licensing requirements (must be MIT, Apache, etc.) and require that the license file be included in the package in order for developers to use it in a project. I noticed that the Composer manifest says this is an MIT licensed project. Would you mind adding a license file to the repo?
Example: https://github.com/slimphp/Slim/blob/4.x/LICENSE.md

Thanks for bringing this up, i have added license


Update Nexus related documentation

Updating Nexus related docs
### Your pull request should…

[x] have a concise title
[ ] close an accompanying issue if one exists
[x] be against the correct branch
[ ] include migration scripts and documentation, if appropriate
[x] pass automated tests
[x] have a clean commit history
[x] have proper commit messages (title and body) for all commits

@lkiesow docs/guides/developer/docs/infrastructure/nexus.xml can go, correct?  The rest should be fine, just wasn't sure about that file.


tf.nn.top_k returns wrong indices

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes?
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.9.0 / 1.8.0 / 1.5.0
Python version: 2.7 / 3.6
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: CUDA 9.0 / cuDNN 7.0.5
GPU model and memory: GeForce GTX 1050Ti 4GB (Laptop)
Exact command to reproduce: tf.nn.top_k

Describe the problem
The tf.nn.top_k command return wrong ranked indices.
E.g.
if I run the following commands
import tensorflow as tf

a = tf.constant([[5,6,4],[0.1,2,3]])
v, r = tf.nn.top_k(a, 3)

sess.run(a)
sess.run(r)
sess.run(v)

the results are as expected
>>> sess.run(a)
array([[5. , 6. , 4. ],
       [0.1, 2. , 3. ]], dtype=float32)
>>> sess.run(r)
array([[1, 0, 2],
       [2, 1, 0]], dtype=int32)
>>> sess.run(v)
array([[6. , 5. , 4. ],
       [3. , 2. , 0.1]], dtype=float32)

but if I try the following example
import tensorflow as tf

a = tf.constant([[-5,0.8,0.4],[0.5,0.3,2.6]])
v, r = tf.nn.top_k(a, 3)

sess.run(a)
sess.run(r)
sess.run(v)

the results of the indices tensor are totally wrong
>>> sess.run(a)
array([[-5. ,  0.8,  0.4],
       [ 0.5,  0.3,  2.6]], dtype=float32)
>>> sess.run(r)
array([[1, 2, 0],
       [2, 0, 1]], dtype=int32)
>>> sess.run(v)
array([[ 0.8,  0.4, -5. ],
       [ 2.6,  0.5,  0.3]], dtype=float32)

Same thing happens for higher rank tensors and more complex ordering of the input values.

It works correctly, my bad.


As a player, I want to see my opponents move (result), so that I can strategize my own

e.g. display in a little box what they did, which cards
-- goal: by 3 may eod

e.g. display in a little box what they did, which cards

closed in https://github.com/sopra-fs23-group-37/client/commit/089ced9631e0203e9d50b76abb4966e71e150fe4


RelationManager Select field modifying previous record on create

Package
filament/filament
Package Version
v2.13.24
Laravel Version
9.19.0
Livewire Version
v2.10.6
PHP Version
8.1.7
Bug description
I have a RelationManager with a Select->relationship() field. When creating multiple records in a row, the value of the previously created record gets changed to the value that's selected for the new record. This change gets persisted to the database. If I refresh the page between creating records or use the "Create & Create Another" button, the issue doesn't happen.
After chatting with Dan in discord, he suggested adding ->saveRelationshipsUsing(null) to the Select field which resolved the issue.
https://user-images.githubusercontent.com/46914709/178060380-21d7aac4-3920-489f-b5fb-518b2001d37f.mov
Steps to reproduce
No response
Relevant log output
No response

Can you provide us a reproduction repository URL and then we'll look at your issue?
That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to give us some instructions on where to find the bug, and include a database seeder with everything we need to set it up quickly.

Fixed by #3308.


NETStandard version of ConnectivityPlugin and all the other plugins you've worked on?

Is there a NETStandard version of these packages available or on the roadmap?  We are moving all of our library development to .NETStandard 2.0.

Already released months ago


Figure out what triggered an event like moveend

Is your feature request related to a problem? Please describe.
I currently use leaflet for a webapp. When a move is triggered, I use moveend to save the new location of the map center, which in turn is used to set center.
The problem then arises when I use a marker with a popup and move the popup out of the visible viewport. This triggers an infinite recursion of moveend.
Describe the solution you'd like
If there was a way of saying that the event is triggered by the user interaction or if it was triggered through internal mechanics (recentering the popup, zoom in/out), then these issues could be avoided.
Describe alternatives you've considered
I tried not triggering a center update, but this doesn't work, and there is still this infinite recursion.
Additional context
This is actually a request for the solution to #1686 to be implemented.

Duplicate of #2934


Isodep on ios errors with "No tech matches"

Hi, I'm trying to run the AppV2Apdu example on ios (13.3 iPhone 8) but get "No tech matches" when a device is placed on the phone. The device is an NXP (ISO14443-4), it works on android fine.
2020-01-29 13:55:38.219348+0000 ManageMii[10743:3198487] NFCTag didBecomeActive
2020-01-29 13:55:43.018625+0000 ManageMii[10743:3198487] NFCTag didDetectTags
2020-01-29 13:55:43.031 [info][tid:com.facebook.react.JavaScript] 'errors = ', 'No tech matches'

hi @whitedogg13 sorry for the late reply, this worked, the AID is mandatory in info.plist, thanks again your help!


Docs update: regression on Disk12, Robust04, Robust05, Wt10g, Gov2

I've run from-scratch regression on the following collections: Disk12, Robust04, Robust05, Wt10g, Gov2.
There are very minor differences in effectiveness, but nothing of concern.

RM3 is currently broken for some collections :(
This occurs with a feedback term has a Lucene special character such as / or *.
I'll file a separate issue in a bit to address.


Make pyi18n compatible with docker-compose

Right now pyi18n requires PyYAML>=6.0, but docker compose requires PyYAML<6.
Would it be possible to loosen the requirement and allow pyi18n to use PyYaml<6?
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
docker-compose 1.29.2 requires PyYAML<6,>=3.10, but you have pyyaml 6.0 which is incompatible.

Thank you! I look forward to the update

Thank you! I look forward to the update

Already on the master branch, not been released yet.


[CARBONDATA-1843] Block CTAS and external table feature

Block 'external' syntax
Block 'CTAS' syntax

[X] Any interfaces changed?
No
[X] Any backward compatibility impacted?
No
[X] Document update required?
No
[X] Testing done
Added
[X] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1655/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2043/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2044/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2045/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/2049/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1659/


Benchmark

Codecov Report

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

@@          Coverage Diff          @@
##           master    #56   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          19     19
  Lines         211    211
  Branches       57     57
=====================================
  Hits          211    211

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 07a2f77...2460ffe. Read the comment docs.


Split form component

Split <Form /> into <Form /> component that holds the state and serves as a context provider, and <Form.Form /> that grabs handleSubmit off of the context and passes it to the <form />'s onSubmit

@thegrinder can we actually document the breaking change on the commit message? If you can document this one as well would be awesome ( my bad I merged without suggesting it there )
fix(form): split form into form provider and form element

BREAKING CHANGE: <Form /> is now a top-level component, you now use it like:

BREAKING CHANGE: <Form /> validation is no more async, hence no need to...

In this way our CHANGELOG is gonna be updated properly when we do the release 💅🏻

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Iframe bundle parse error

Bug or support request summary
I opened chrome developer tool after start-storybook.
Steps to reproduce

Please specify which version of Storybook and optionally any affected addons that you're running

react: "16.5.0"
react-dom: "16.5.2"
@storybook/addon-actions: "4.0.0-alpha.23"
@storybook/addon-actions: "4.0.0-alpha.23"
@storybook/addon-info: "4.0.0-alpha.23"
@storybook/addon-links: "4.0.0-alpha.23"
@storybook/addon-storysource: "4.0.0-alpha.23"
@storybook/addons: "4.0.0-alpha.23"
@storybook/react: "4.0.0-alpha.23"

// config.js
import { configure } from '@storybook/react';
import '../src/styles/index.scss';

// automatically import all files ending in *.stories.js
const req = require.context('../src', true, /.stories.tsx$/);

function loadStories() {
  req.keys().forEach(filename => req(filename));
}

configure(loadStories, module);

Do you have a place where I could reproduce? We don't seem to have this problem locally in our codebase. maybe it's some dependency.
Looking at your screenshot looks like a piece on non-storybook code, but hard to be sure.

Thanks to @ndelangen.
However, for reason state above, my component is not rendering

Have you tried to do a clean install of all dependencies?
seriously looks like some line from some library got wrapped over 2 lines when it shouldn't, just looking at the screenshot.
If you can me an repo I can reproduce this behavior on, I can debug and understand what's going on.


HttpRequestConfigTokenProvider getToken() returns null when call to the Config Server is made using ReloadableResourceBundleMessageSource

Originally raised by @Ayesha-Hyath at https://github.com/spring-projects/spring-boot/issues/23049
@Override
public String getToken() {
	HttpServletRequest request = httpRequest.getIfAvailable();
	if (request == null) {
		throw new IllegalStateException("No HttpServletRequest available");
	}
	String token = request.getHeader(ConfigClientProperties.TOKEN_HEADER);
	if (!StringUtils.hasLength(token)) {
		throw new IllegalArgumentException(
				"Missing required header in HttpServletRequest: "
						+ ConfigClientProperties.TOKEN_HEADER);
	}
	return token;
}

The above method is from the HttpRequestConfigTokenProvider class.
We use a Spring Config Server that connects both to Vault and a Git Repository.  So, it's bootstrap file has the entry: spring.profiles.active=git, vault.   We have a Spring Boot app that connects to this Config Server.  I am using the property spring.cloud.config.headers.X-Config-Token=vault token in the bootstrap file of the Spring Boot app and the application starts up fine.  It is to be noted that during start-up, the EnvironmentController class is called as also the HttpRequestConfigTokenProvider .getToken() method and each time the token gets sent from the application to the Config Server as can be noted from the attached screenshot.
I use a ReloadableResourceBundleMessageSource to load a required properties file from the Git Repository..  When I call  messageSource.getMessage(code, args, locale), the following mapping from the ResourceController class is invoked in the Config Server.
@RequestMapping("/{name}/{profile}/{label}/**")
public String retrieve(@PathVariable String name, @PathVariable String profile,
		@PathVariable String label, ServletWebRequest request,
		@RequestParam(defaultValue = "true") boolean resolvePlaceholders)
		throws IOException {
	String path = getFilePath(request, name, profile, label);
	return retrieve(request, name, profile, label, path, resolvePlaceholders);
}

Subsequently, the same  HttpRequestConfigTokenProvider.getToken() method gets invoked but, now, it returns a null token.
The messages from the git repository get loaded properly under two scenarios:

I remove vault and only use git as an active profile in the Config Server bootstrap file (this is not an option.  I just did for testing.) OR
I specify the Vault Token in the Config Server bootstrap file instead of passing it from the Spring Boot application.  (this is not an option either.   I did it just for testing.)

However, I am unable to load the messages similarly only if I pass the vault token from the Spring Boot application that already has the header X-Config-Token set in both the bootstrap and the application.properties files (added here for testing).   Before calling the getMessage(..) on the messageSource, I do a env.get(spring.cloud.config.headers.X-Config-Token) and the token value gets printed.   However, the HttpRequestConfigTokenProvider.getToken() method returns null instead of the vault token header value and thus, the properties do not get loaded and the call fails with the attached error trace.

ErrorTraceInTheConfigServerApplication.txt
ErrorTraceInTheSpringBootApplication.txt

Trying to understand. You have a ReloadableResourceBundleMessageSource that makes a call to config server and it fails because it doesn't have the proper vault token? I'd assume that is because the ReloadableResourceBundleMessageSource doesn't know anything about the token.

Yes.  Exactly, that's right.  The ReloadableResourceBundleMessageSource
knows the token when I pass it directly in the bootstrap.properties of the
config server.
I have an application that connects to the config server which then
connects to Vault.  This time, I pass the vault token from the
application's bootstrap file and it does get passed.   However, it gets
lost by the time the config server tries to validate for the token, as can
be noted from my attached screenshots in the bug report.   Hence, the
message source doesn't get loaded.
If I  pass the vault token instead in the config server, the same message
source gets loaded.
Thanks,
Ayesha Fathima Hyath,
On Wed, Feb 17, 2021 at 11:10 PM Spencer Gibb<EMAIL_ADDRESS>wrote:

Trying to understand. You have a ReloadableResourceBundleMessageSource
that makes a call to config server and it fails because it doesn't have the
proper vault token? I'd assume that is because the
ReloadableResourceBundleMessageSource doesn't know anything about the
token.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spring-cloud/spring-cloud-config/issues/1688#issuecomment-780727643,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQWJ3Q2EQIU22RPH3E762BDS7P5RPANCNFSM4QIHBAXQ
.

I would assume you'd need to write something custom on the client that knows how to send the token. Probably a ResourceLoader that can be set on ReloadableResourceBundleMessageSource. Looks like there is already an open issue for this support here #1505. Closing this as a duplicate.


Add null and enum discriminant checks goal

This reopens #162 :)

Ping @nikomatsakis is this too late to merge?

Great!

Nice! Please let me know if anything is needed to merge this :)


[Question] How to get dynamic ratio since 6.x ?

Description
Hi,
Since 6.x, default dimensions are no more.
We have to set fixed dimensions on Lottie View to display the animation.
I created an issue about this but it was closed with the wont fix badge (https://github.com/lottie-react-native/lottie-react-native/issues/1015)
What is the solution to get this behavior with a width: 100% as dimension and get the good ratio automatically?
If I set fixed dimensions on each animation, these dimensions will not be appropriated for larger screens like tablet.
We really need to have a condition for each screen size and for each animation?
Can we get animation dimensions in animation reference object if I use dotLottie files?
Thanks.

Hi Tom,
Unfortunately, it's not possible to get the information from the .lottie binary. The best way is to check the aspect ratio on your side when choosing animations or we can expose a method from the library to extract information on the fly about the animation that is being rendered.

If you know the width and height of the animation, you can use aspectRatio:
{
  width: '100%',
  aspectRatio: animationWidth / animationHeight,
}

As per the comment above it looks like you can't get the dimensions programatically from .lottie files though, so you'll need to hardcode them.


feat: clean script ts

This is the first pull request I've received ever so I hope I have done it correctly lol
But thanks for this, definitely much cleaner. 👍


Drive 756 LEDs Apa102 via usb?

[ ] I confirm that this is an issue rather than a question.

Bug report
Steps to reproduce
What is expected?
Hello,
i got 756 LEDs which i want to use on my TV. i got LibreElec installed on an VM on my Unraid Nas.
I tried it with an Mega2560 and adalight but i got an huge lag, probably because the baudrate is to slow? increasing it to 1000000 didnt work sind the leds where flickering.
i also tried an ESP32 with WLED, but in hyperion i can only select 490 LEDs and not sure how to change that, i tried Prismatik where i could select UDP with 1500 Leds which kinda works but not on my libreelec.
forwaring it to an raspberry zero seems also kida laggy, and i would like to not use an Pi is possible.
is there an other way to use my 756 LEDs via USB and not an network? or any other way i could try?
What is actually happening?
System

This section is for issues and not for questions that actually belong in the forum. Therefore I close here now and refer you to the forum.
--> Hyperion Project Forum <--


.block__mod--mod wrong?

The section „Modifier“ on http://getbem.com/naming/ contains the example .block__mod--mod in the explanation text.
See https://github.com/getbem/getbem.com/blob/d23fbcac1f5e976cbd415cd7737f6d1fd2d0f2c9/src/naming.jsx#L102
Shouldn't it be .block__elem--mod?

@fdeberle yeah, this is a typo. Thanks 🌴