0x8a150044 : The rest source endpoint is not found.

Brief description of your issue
XP8BWXV3XV04BN not able to install QQ 音乐 with winget-cli
Steps to reproduce
winget search qq
winget install XP8BWXV3XV04BN
Expected behavior
the app listed in msstore, it should be able to install with winget-cli
I tried install manually with GUI method, it works
Actual behavior

Environment
winget --info
Windows Package Manager v1.3.2691
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.963
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2691.0

Failed when searching source: msstore
An unexpected error occurred while executing the command:
0x8a150044 : The rest source endpoint is not found.

I'm not seeing the MSStore results. This is very similar to the behavior seen in https://github.com/microsoft/winget-pkgs/issues/91147
PS C:\> winget search qq
Name               Id                       Version       Match                   Source
----------------------------------------------------------------------------------------
腾讯QQ             Tencent.QQ               <IP_ADDRESS>878   Moniker: qq             winget
TIM                Tencent.TIM              <IP_ADDRESS>64   Tag: qq                 winget
QQ小程序开发者工具 Tencent.qq-devtool       0.70.2209190  Tag: qq                 winget
QQ五笔输入法       Tencent.QQWubi           2.4                                   winget
QQ影音             Tencent.QQPlayer         <IP_ADDRESS>4                            winget
QQ拼音输入法       Tencent.QQPinyin         6.6                                   winget
QQ音乐             Tencent.QQMusic          19.02                                 winget
QQ浏览器           Tencent.QQBrowser        11.1.5155.400                         winget
应用宝             Tencent.YingYongBao      5.8.3         Moniker: qqphonemanager winget
腾讯视频           Tencent.TencentVideo     11.59.6064.0  Moniker: qqlive         winget
MusicLake          sunzongzheng.music       1.3.1         Tag: qq-music           winget
lx-music-desktop   lyswhut.lx-music-desktop 1.22.3        Tag: qqmusic            winget
Listen1 Fluent     listen1.listen1.fluent   2.17.1        Tag: qq-music           winget
Listen1            listen1.listen1          2.27.0        Tag: qq-music           winget
PS C:\> winget search XP8BWXV3XV04BN
Failed when searching source; results will not be included: msstore
No package found matching input criteria.

What output does winget search XP8BWXV3XV04BN provide to you?

@stephengillie @ryfu-msft - This looks like an incorrect error message. MSStore source returns 404 when the package is not available, not only when the source endpoint is not found

I have the same issue. I switch the region of the Microsoft store to the us, but I already installed an app which only in the cn region. Because of this, when running the command winget upgrade --all, it always reports the error:
Failed when searching source: msstore
An unexpected error occurred while executing the command:
0x8a150044: The rest source endpoint is not found.

After I uninstall that app, the issue is fixed.

Can you elaborate on that? I have the same issue and I want to know how was it solved for you?

Just started to get this error today, running winget upgrade --all gets me this:
Failed when searching source: msstore
An unexpected error occurred while executing the command:
0x8a150044 : The rest source endpoint is not found.

I tried resetting the sources with winget source reset --force. After that running winget upgrade gets me this:
The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").

Do you agree to all the source agreements terms?
[Y] Yes  [N] No: Y
Failed when searching source; results will not be included: msstore

I tested this on v1.4.11071 and v1.5.1081-preview, same result.

UPDATE
I found the culprit. Turns out https://github.com/builtbybel/BloatyNosy provoked the error.
See these winget log entries:
[REPO] Finding available package from installed package using system reference search: Query:[none] Include:ProductCode='{1b9d7180-94ca-4b14-b20f-5adb5b87bd65}'[Exact] Include:UpgradeCode='{122135fb-9551-4b8f-af65-85eb2f192f9c}'[Exact] Include:NormalizedNameAndPublisher='bloatynosy'+'builtbybel'[Exact]
[REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/XPDCJG88N6FD16?Market=LU
[REPO] Response status: 404
[FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(137)\WindowsPackageManager.dll!00007FFCE5A77EB3: (caller: 00007FFCE5A77818) Exception(1) tid(1ee0) 8A150044
[FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\CompositeSource.cpp(993)\WindowsPackageManager.dll!00007FFCE5B70892: (caller: 00007FFCE5A4F883) LogHr(1) tid(1ee0) 8A150044     Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(137)\WindowsPackageManager.dll!00007FFCE5A77EB3: (caller: 00007FFCE5A77818) Exception(1) tid(1ee0) 8A150044 ]

[REPO] Failed to search source for correlation: msstore
[REPO] Did not find Id [XPDCJG88N6FD16] in tracked source: msstore

Uninstalling this app resolved the error.
Going to post an issue at the concerned app...

@LucNanquette I think it's a bug. Besides uninstalling the app, do you have other way to solve this?

It always appears in this condition:
The system locate is US, we change locate with CN, install an app. And then we run "winget upgrade --all" in US locate, the problem appears. But it runs well in CN locate.
Maybe the reason of this problem is: different locate we have different user ID in msstore, when locate changes, the ID stored in winget database doesn't change.

@LucNanquette I think it's a bug. Besides uninstalling the app, do you have other way to solve this?

@lishaoxia1985 Not really. But it definitely exists a problem between BloatyNosy and the msstore. Just by installing BloatyNosy the problem appears, even without running it once. Uninstalling solves the problem. But BloatyNosy is the only app I came across, which gets me this error, so I guess that the problem might be on their side (at least parts of it 😉).
You might be right, that it could be related to the msstore region setting. As I'm from Luxembourg, you can see in the winget logs I posted above, that the request goes to https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/XPDCJG88N6FD16?Market=LU which then returns the 404 error.
If I get some time, I'll try to change the region and give it a try. I guess that the Market=LU is bound to the Windows regional settings? Or not?

@LucNanquette Ok, i  have know how to create the problem:
1. Different region MsStore has different resource.
2. When you run "winget upgrade --all", winget will find all the installed Apps tagged with Install_through _Msstore in the current region MsStore.
3. If winget can find all the installed Apps tagged with Install_through _Msstore in the current region MsStore, it has no problem. Otherwise, the problem appears. That's because the installed Apps tagged with Install_through _Msstore can't be found in the current region MsStore.
4. about log:

[REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/XPDCJG88N6FD16?Market=LU
XPDCJG88N6FD16 is the app "BloatyNosy"  package ID. If you change "LU" with the region in which you install BloatyNosy, the website can be visited well.

@LucNanquette Ok, i  have known how to create the problem:
1. Different region MsStore has different resource.
2. When you run "winget upgrade --all", winget will find all the installed Apps tagged with Install_through _Msstore in the current region MsStore.
3. If winget can find all the installed Apps tagged with Install_through _Msstore in the current region MsStore, it has no problem. Otherwise, the problem appears. That's because the installed Apps tagged with Install_through _Msstore can't be found in the current region MsStore.
4. about log:

[REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/XPDCJG88N6FD16?Market=LU
XPDCJG88N6FD16 is the app "BloatyNosy"  package ID. If you change "LU" with the region in which you install BloatyNosy, the website can be visited well.

Hello.
I'm also having the same problem. The temporary fixe is change my windows region or uninstalling the Microsoft store, right?
isn't clear to me.
Thanks for answer.

@pedro-hdias At first, you should check the logs and find which package/app produce this problem.
Now you have 2 ways to solve this:

Uninstall the package/app directly, this is the best way.
You can try to change windows region to the region which you use when you install the package/app which produce the bugs. If you forget the region, the way is impossible.
I advise you use the first way. The second way is not very good.

I have the same problem because the Amazon Alexa package is not available in my Microsoft Store region.
Workaround - add the "--source winget" parameter.
I actually don't know why winget is querying the msstore, the Store has GUI apps.

I'm having the same issue with trying to upgrade Icaros from <IP_ADDRESS> to 3.3.2.

I'm having the same issue with trying to upgrade Icaros from <IP_ADDRESS> to 3.3.2.

also try to add --source winget to the command

I'm having the same issue with trying to upgrade Icaros from <IP_ADDRESS> to 3.3.2.

also try to add --source winget to the command

Thanks, but rather than trying to learn user-unfriendly workarounds, I manually downloaded and installed the newest version from the official website.
Maybe winget should automatically try --source winget as a fallback, instead of expecting the user to know to specify that.

I have the same issue. I switch the region of the Microsoft store to the us, but I already installed an app which only in the cn region. Because of this, when running the command winget upgrade --all, it always reports the error:
Failed when searching source: msstore
An unexpected error occurred while executing the command:
0x8a150044: The rest source endpoint is not found.

After I uninstall that app, the issue is fixed.

Can you elaborate on that? I have the same issue and I want to know how was it solved for you?

It happened something similar to me and I found the problem by running ``winget upgrade --open-logs. Then I opened the log files one by one and searched for an error. I found a 404 error meaning that an app I had installed is not published anymore in Microsoft Store. After winget upgrade --all` worked correctly.

This is also reproducible on my side. It does not look like specific packages cause this error, as each report mentions a different application ID. In my case, the ID that breaks is the one for mpv.net. This indeed looks like a bug in the winget client itself:
2023-12-18 09:53:14.753 [REPO] Finding available package from installed package using system reference search: Query:[none] Include:PackageFamilyName='5664frankskare.mpv.net_0ta2kwwjvkgap'[Exact]
2023-12-18 09:53:14.756 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/9N64SQZTB3LM?Market=BR
2023-12-18 09:53:15.010 [REPO] Response status: 404
2023-12-18 09:53:15.011 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(148)\WindowsPackageManager.dll!00007FFDF07C1240: (caller: 00007FFDF07C0C08) Exception(1) tid(6774) 8A150044
2023-12-18 09:53:15.011 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\CompositeSource.cpp(1108)\WindowsPackageManager.dll!00007FFDF08C6416: (caller: 00007FFDF079A113) LogHr(1) tid(6774) 8A150044     Msg:[C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(148)\WindowsPackageManager.dll!00007FFDF07C1240: (caller: 00007FFDF07C0C08) Exception(1) tid(6774) 8A150044 ]

2023-12-18 09:53:15.011 [REPO] Failed to search source for correlation: msstore
2023-12-18 09:53:15.011 [REPO] Did not find Id [9N64SQZTB3LM] in tracked source: msstore

Another exception appears at the end of the log:
2023-12-18 09:53:17.000 [CLI ] Caught wil::ResultException: C:\__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Rest\Schema\HttpClientHelper.cpp(148)\WindowsPackageManager.dll!00007FFDF07C1240: (caller: 00007FFDF07C0C08) Exception(1) tid(6774) 8A150044

I will open a Feedback Hub report as well, so the engineers can have more information.

I have the same issue. I switch the region of the Microsoft store to the us, but I already installed an app which only in the cn region. Because of this, when running the command winget upgrade --all, it always reports the error:
Failed when searching source: msstore
An unexpected error occurred while executing the command:
0x8a150044: The rest source endpoint is not found.

After I uninstall that app, the issue is fixed.

Can you elaborate on that? I have the same issue and I want to know how was it solved for you?

It happened something similar to me and I found the problem by running winget upgrade --open-logs. Then I opened the log files one by one and searched for an error. I found a 404 error meaning that an app I had installed is not published anymore in Microsoft Store. After winget upgrade --all worked correctly.

Thanks for the tip. Found the issue in my case the package was mpv.net.

Ran into this with Icaros. Uninstall and reinstall didn't help - I still get the same error:
Starting package install operation for package id=Xanashi.Icaroswith Manager name=Winget
Given installation options are <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Process Executable     : C:\Program Files\WingetUI\PackageEngine\Managers\winget-cli_x64\winget.exe
Process Call Arguments :  install --id Xanashi.Icaros --exact --accept-source-agreements --silent --disable-interactivity --accept-package-agreements
Working Directory      : C:\Users\bensh
    |    -
    |   ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  1024 KB / 11.3 MB
    |   █████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  2.00 MB / 11.3 MB
    |   ███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  3.00 MB / 11.3 MB
    |   ██████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  4.00 MB / 11.3 MB
    |   █████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  5.00 MB / 11.3 MB
    |   ███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  6.00 MB / 11.3 MB
    |   ██████████████████▒▒▒▒▒▒▒▒▒▒▒▒  7.00 MB / 11.3 MB
    |   █████████████████████▒▒▒▒▒▒▒▒▒  8.00 MB / 11.3 MB
    |   ███████████████████████▒▒▒▒▒▒▒  9.00 MB / 11.3 MB
    |   ██████████████████████████▒▒▒▒  10.0 MB / 11.3 MB
    |   █████████████████████████████▒  11.0 MB / 11.3 MB
    |    -
    | Failed when searching source: msstore
    | An unexpected error occurred while executing the command:
    | 0x8a150044 : The rest source endpoint is not found.
    | The following packages were found among the working sources.
    | Please specify one of them using the --source option to proceed.
    | Name   Id             Source
    | ----------------------------
    | Icaros Xanashi.Icaros winget
Process Exit Code      : -1978335164
Process End Time       : 6/26/2024 7:20:42 PM

winget upgrade --id Xanashi.Icaros --source winget works fine for me.

C:\Windows\system32>winget upgrade --id Xanashi.Icaros --source winget
Gefunden Icaros [Xanashi.Icaros] Version <IP_ADDRESS>1
Diese Anwendung wird von ihrem Besitzer an Sie lizenziert.
Microsoft ist nicht verantwortlich und erteilt keine Lizenzen für Pakete von Drittanbietern.
Download läuft https://github.com/Xanashi/Icaros/releases/download/v3.3.3b1/Icaros_v3.3.3_b1.exe
██████████████████████████████  12.3 MB / 12.3 MB
Der Installer-Hash wurde erfolgreich überprüft
Paketinstallation wird gestartet...
Erfolgreich installiert

winget upgrade --id Xanashi.Icaros --source winget works fine for me.

Good to know there's some way to do it, but that's not intuitive at all. Why doesn't it just automatically use the working source?!

looks like winget uses Windows store first. You can remove the store as source so that only winget repository is used.
And I already told you this the last time. Use clink which stores the commands and next time you type winget upgrade --id Xanashi.Icaros it shows --source winget  for autocomplete so you see that you have to use this command parameter again.

Just had the same bug happening for me. Found the culprit by running winget upgrade --open-logs It was the app Paint 3D, with ID 9NBLGGH5FV99. Uninstalling Paint 3D has solved this problem for me.
Just leaving this here, since Paint 3D was preinstalled on a lot of Win 10 machines, and was depublished from the MS Store three days ago on Nov 4, 2024, so most likely a lot of users are going to experience this quite soon.

Got the same error trying to install ChatGPT:
winget install 9nt1r1c2hh7j -s msstore

Just had the same bug happening for me. Found the culprit by running winget upgrade --open-logs It was the app Paint 3D, with ID 9NBLGGH5FV99. Uninstalling Paint 3D has solved this problem for me.
Just leaving this here, since Paint 3D was preinstalled on a lot of Win 10 machines, and was depublished from the MS Store three days ago on Nov 4, 2024, so most likely a lot of users are going to experience this quite soon.

Thanks this fixed it. Curious that a pre-existing app can cause this: winget uninstall --name "Paint 3D"


Inputs widths

Is it possible to define widths to inputs or selects using bootstrap classes.
All inputs occupy the whole line and a field for phone could be less.
Thanks

Hey Luiz! You can add any classes you like using the ->addClass() method. I don't think Bootstrap provides width classes out of the box that you could apply to a form element, but you could define a few of your own helper classes, like this sort of thing:
// These widths are just made up, of course you'd have to figure out something that works for your app
.form-control-short { max-width: 10em; }
.form-control-medium { max-width: 15em; }

...and then add them to your BootForms elements like this:
{!! BootForm::text('Phone', 'phone')->addClass('form-control-short') !!}

Thanks. I'm going to do this.


Profiler still running against an AppService even when the AppInsights Extension is not installed and portal does not show any current profiling sessions.

Repro Steps

Installed AppInsights extension through Kudu
Enabled AppInsights Profiling session through Azure Portal
Removed AppInsights extension a couple days later
Deleted extension folder through Kudu
Restarted App Service

Actual Behavior
Seeing this exception in AppInsights for our app service randomly every few minutes:
System.Runtime.InteropServices.COMException:
   at DiagnosticsHub.StandardCollector.Host.Interop.ICollectionSession.Stop (ApplicationInsightsProfiler, Version=2.4.60309.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
   at Microsoft.ServiceProfiler.Collectors.StandardCollectorBase.<StopAndCollectAsync>b__10_0 (ApplicationInsightsProfiler, Version=2.4.60309.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
   at System.Threading.Tasks.Task`1.InnerInvoke (mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at System.Threading.Tasks.Task.Execute (mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at Microsoft.ServiceProfiler.Collectors.DetailedTraceCollector+<StopCollectingAndSaveTrace>d__26.MoveNext (ApplicationInsightsProfiler, Version=2.4.60309.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at Microsoft.ServiceProfiler.Collectors.DetailedTraceCollector+<StopCollectingAndUploadTraceAsync>d__24.MoveNext (ApplicationInsightsProfiler, Version=2.4.60309.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at Microsoft.ServiceProfiler.Engine+<>c__DisplayClass1_1+<<RunAsync>b__2>d.MoveNext (ApplicationInsightsProfiler, Version=2.4.60309.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw (mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089)
   at Microsoft.ServiceProfiler.Agent.Orchestration.Orchestrator+<TraceAsyncOperation>d__15.MoveNext (Microsoft.ServiceProfiler.Agent.Orchestration, Version=2.4.60309.3, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a)

Expected Behavior
ApplicationInsightsProfiler is not running and generating exceptions.
Version Info
SDK Version : 2.1.401
.NET Version :	 .Net Core 2.1
How Application was onboarded with SDK : Azure Extension
OS : Windows
Hosting Info: Azure

I do not see the ApplicationInsightsProfiler WebJob in the Azure Portal nor at D:\home\site\jobs\continuous. I do see a Daas continuous WebJob in one of our slots for the application. I am not sure if that one is related. Is there somewhere else I should be checking?

Just noticed something while looking at the exception's customDimensions a bit more. We have two app services, one for our ASP.Net Core API and another for the React front-end. Both of these app services share a single instrumentation key. The custom dimensions' machineName is pointing to the React app service. We never had the AppInsights extension installed on that app service.
Is it possible that when we started a profiling session for the API that it also spawned something for the React site?


Do not try be cool using angular.forEach with this in the handler

@mtho11 could you please review and merge?

Merged #377


Add missing anniversary ships

I've made the extraction of the missing anni boats from the google-drive dataset and from the discord history and for the missing thumbnail I've create them manually. I cannot confirm the current description of 7th one since I don't have it

Thank you very much for the effort to add missing ships.


xcode 8.3 warnings

Nice spinner man.
Please fix the 3 simple warnings showing in new XCode..
Thanks

yeah, I'm having the same problem with XCode 8.3, I hope they can fix it soon

It's already fixed. See #105. Update your pods.


after making node as validator it works for couple seconds then crush

node version 1_0_0
Suppose that stop state issued by:
"node panicked: Bootstrap failed for node, but it was not in the set of pending connections
Error: "/var/lib/casper/bin/1_0_0/casper-node" "validator" "/etc/casper/1_0_0/config.toml" exited with error"
Using white IP and VDS. ufw disabled. Ubuntu 20.04
casper-node.stderr.lognode

casper-node.log

Thank you for submitting the issue. The solution is to look at the known_addresses in the config file and look for duplicate entries. Removing duplicates solves the problem.


Add details on doing a modification for the documentation by yourself

Add details on doing a modification for the documentation by yourself.
It was shared a couple of times on Slack, and it's super straightforward, but still, we should put the step in the devrel repo.
It's just about doing a PR to documentation, but maybe we can details the process after, like you review, I review, we merge and it automatically sync.

done at https://github.com/mindee/devrel/blob/main/content/writing/documentation.md


chore: update protos with PHP options

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/4c397f49-037b-452d-949f-98d7d9c23b87/targets

[ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)

PiperOrigin-RevId: 369326004
Source-Link: https://github.com/googleapis/googleapis/commit/59cea2c540441a74df5d7d861c3238377cccf9c6

Submitted CL for this PR, closing to regenerate


Add statusline support

Currently codeium may return duplicated suggestions. This change will show only uniqe ones as suggestions.
Add statusline (see description in readme for details).

@pqn I added Codeium logo to example in readme file. This way it will be left to users if they want to include it or not.
I also added example config for vim-airline extension (used for statusline as well)

Awesome!


Custom Tooltips Not Working

I cannot seem to get custom tooltips with a tooltip template to work.
See https://stackblitz.com/edit/ngx-slider-custom-tooltip

Works just fine. Your div just doesn't take up any space.
I just added a   inside your tooltip div and it works as expected.

https://stackblitz.com/edit/ngx-slider-custom-tooltip-yhqi8d?file=src%2Fapp%2Fapp.component.html

You're right. Thanks for your comment! I think the documentation could be clearer but that works!


Index not created since 0.11.0 - 404 Not Found

Ever since upgrading from Meilisearch 0.10.2 to 0.11.0 we are getting multiple errors in our test suite:
MeiliSearch::ApiError: 404 Not Found - Index `Cars_test` not found.

We are using Minitest/FactoryBot for testing.
Is there anything we need to do to ensure these indexes are created?

Can I see the test where this is occurring?
Any set up such as the creation of the database table and model class would also be appreciated.

Occurring in tests like this:
test 'page_url' do
  @page = create(:page) # factorybot
  assert @page.page_url == "https://www.testing.com"
end

Confirming downgrading to version 0.10.2 fixes the issue

I created a new rails app, with a Page model that has a `page_url' attribute:
ActiveRecord::Schema[7.1].define(version: 2024_02_17_123956) do
  create_table "pages", force: :cascade do |t|
    t.string "page_url"
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
  end
end

class Page < ApplicationRecord
  include MeiliSearch::Rails

  meilisearch
end

Migrated, defined this factory in test/test_helper.rb:
FactoryBot.define do
  factory :page do
    page_url { 'https://www.testing.com' }
  end
end

And then added the test you provided:
require "test_helper"

class PageTest < ActiveSupport::TestCase
  test 'page_url' do
    @page = FactoryBot.create(:page) # factorybot
    assert @page.page_url == "https://www.testing.com"
  end
end

And I get no error:
» bin/rails test
Running 1 tests in a single process (parallelization threshold is 50)
Run options: --seed 39564

# Running:

.

Finished in 0.051185s, 19.5371 runs/s, 19.5371 assertions/s.
1 runs, 1 assertions, 0 failures, 0 errors, 0 skips

Relevant lines in the Gemfile & Gemfile.lock:
gem "factory_bot", "~> 6.4"

gem "meilisearch-rails", "~> 0.11.0"

    meilisearch (0.26.0)
      httparty (>= 0.17.1, < 0.22.0)
    meilisearch-rails (0.11.0)
      meilisearch (~> 0.26.0)

I am still not sure exactly where this is being caused, but it is possible that #330 fixes it. Please try it and let me know whenever you can.

Reopening this until it's confirmed that #330 fixes it.

@ellnix we need to do a release for this, feel free to start the process on the CONTRIBUTING when you think we are ready for a release. I'm available for any review you need

I can confirm that we are no longer seeing this issue since upgrading to 0.12.0 👍


How to change title text size?

Can we change the dialog title size ?
Include the following:

Material Dialogs version: <IP_ADDRESS>

You can't, it's sized from the Material Design guidelines.

From another issue!
MaterialDialog dialog = b.build(); // build as you like
// now the trick
MaterialDialog d = dialog;
d.getTitleView().setTextSize(TypedValue.COMPLEX_UNIT_DIP, 60); // Your size
d.getActionButton(DialogAction.POSITIVE).setText("muhaha"); // Your text
dialog = d;
dialog.show();


[csrng, dv] Map CMs in security testplan, document TODOs

Hey, I've gone through the testplans, existing tests, RTL etc. to map the security countermeasures to tests and document outstanding work items for V2S.
I suggest to leave the TODOs in the testplan and remove them one by one as we implement the corresponding changes. For the actual tracking and work assignment, let's use #16238 .

Thanks for your review @ctopal , I am not yet fully familiar with the _sim_cfg.hjson thing. We should probably have a look at this some time next week.


Create codeql.yml

Please approve this request to configure Code-QL. The submitted template is set for scans on Pull/Push and 0700 hours daily in the Master Branch for the Go and JavaScript/TypeScript Language. If you have any questions please contact me @Latkes
Closes #???
Description

[ ] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[ ] Code follows the standards mentioned here
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

Looks like V1 will be deprecated soon: https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/

What do we do here? @Latkes

Hi @sideninja @turbolent looks like all the endpoints in the yaml are marked V2. Will double check.


Add note about Vue CLI preserving function names when compiling

Add note about Vue CLI preserving function names when compiling.
This is related to this thread and comments: https://github.com/istrib/vuex-typescript/issues/13#issuecomment-459248722

Hi @tiangolo! Thanks so much for this, and my apologies for the long delay. I want to provide a helper method to include in vue.config.js, for people that run into this issue. That's in #5. I'm gonna merge this PR, and then update the README very slightly to point people to the helper method that includes that config addition. Thanks again!

Thanks!


Getting error "unexpected end of json input" when trying to restart bootnode

"unexpected end of json input" when trying to restart bootnode
I am running 6 bootnodes on 3 AWS instances (2 on each). Recently I need to downgrade the instances and I shutdown one of the machines. After downgrading and rebooting the instance when I tried to restart the bootnode, I was faced with error "unexpected end of json input". See the screenshot attached in pastebin link. Have assigned 3 RPC urls to the 3 instances, 1 of which is down ATM. Find the list of all RPC urls on https://chainlist.org/chain/786
https://pastebin.com/4bbnAJsG
Your environment

AWS EC2 (Ubuntu 20 LTS).
The version of the Polygon Edge.
(Confirm the version of your Polygon edge client by running the following command: polygon-edge version --grpc-address GRPC_ADDRESS)
The branch that causes this issue.
AWS.
Please confirm if the validators are running under containerized environment (K8s, Docker, etc.).

Steps to reproduce

Run 6 bootnodes on 3 instances (2 bootnodes on each), shutdown 2 of them and try restarting the nodes that were shut down
./main server --data-dir ./node1 --chain genesis.json  --libp2p <IP_ADDRESS>:1403 --grpc-address <IP_ADDRESS>:10011 --jsonrpc <IP_ADDRESS>:10001 --nat <IP_ADDRESS> --block-time 6 --seal
Provide us with the content of your genesis file.
No validators running, only 6 bootnodes.
Provide us with the peer list of each of your validators by running the following command: polygon-edge peers list --grpc-address GRPC_ADDRESS.
Yes chain is running and producing blocks

Expected behavior

Bootnode will start and sync.
Got error "unexpected end of json input"

Bootnodes are not running under containarized environment

delete the metadata file from the consensus directory.

Hey @kesaviwebsolutions!
Could you please share the polygon edge node version that you use and your genesis file?


Installation fails on Ubuntu 22.04 with several errors including "too few arguments to function ‘_Py_HashDouble’"

Installation fails on Ubuntu 22.04. It seems to be trying to build a wheel, but I am not familiar enough with Python to understand what is failing and what the resolution might be. I've tried cleaning and rerunning the installer sevearl times, but it fails at the same spot. I do see a pull request was done where the author got it to work on Ubuntu 22.04 so I'm wondering what's missing?  Any ideas or tips to try?
The log output is massive so I've had to attach it as a file. output.txt
A random section of some errors are here:
numpy/core/src/multiarray/scalartypes.c.src:3325:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
           3325 |     hashimag = _Py_HashDouble((double)
                |                               ^~~~~~~~
                |                               |
                |                               double
           3326 |             (((PyC@name@ScalarObject *)obj)->obval).imag);
                |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          In file included from /usr/include/python3.10/Python.h:77,
                           from numpy/core/src/multiarray/scalartypes.c.src:3:
          /usr/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
             10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                |                                      ^~~~~~~~~~
          numpy/core/src/multiarray/scalartypes.c.src:3325:16: error: too few arguments to function ‘_Py_HashDouble’
           3325 |     hashimag = _Py_HashDouble((double)
                |                ^~~~~~~~~~~~~~
          In file included from /usr/include/python3.10/Python.h:77,
                           from numpy/core/src/multiarray/scalartypes.c.src:3:
          /usr/include/python3.10/pyhash.h:10:23: note: declared here
             10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                |                       ^~~~~~~~~~~~~~
          numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
          numpy/core/src/multiarray/scalartypes.c.src:3311:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
           3311 |     return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
                |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                |                           |
                |                           double
          In file included from /usr/include/python3.10/Python.h:77,
                           from numpy/core/src/multiarray/scalartypes.c.src:3:
          /usr/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
             10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                |                                      ^~~~~~~~~~
          numpy/core/src/multiarray/scalartypes.c.src:3311:12: error: too few arguments to function ‘_Py_HashDouble’
           3311 |     return _Py_HashDouble((double) ((Py@name@ScalarObject *)obj)->obval);
                |            ^~~~~~~~~~~~~~
          In file included from /usr/include/python3.10/Python.h:77,
                           from numpy/core/src/multiarray/scalartypes.c.src:3:
          /usr/include/python3.10/pyhash.h:10:23: note: declared here
             10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                |                       ^~~~~~~~~~~~~~
          numpy/core/src/multiarray/scalartypes.c.src: In function ‘clongdouble_arrtype_hash’:
          numpy/core/src/multiarray/scalartypes.c.src:3319:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
           3319 |     hashreal = _Py_HashDouble((double)
                |                               ^~~~~~~~
                |                               |
                |                               double
           3320 |             (((PyC@name@ScalarObject *)obj)->obval).real);
                |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          In file included from /usr/include/python3.10/Python.h:77,
                           from numpy/core/src/multiarray/scalartypes.c.src:3:
          /usr/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
             10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                |                                      ^~~~~~~~~~
          numpy/core/src/multiarray/scalartypes.c.src:3319:16: error: too few arguments to function ‘_Py_HashDouble’
           3319 |     hashreal = _Py_HashDouble((double)
                |                ^~~~~~~~~~~~~~
          In file included from /usr/include/python3.10/Python.h:77,
                           from numpy/core/src/multiarray/scalartypes.c.src:3:
          /usr/include/python3.10/pyhash.h:10:23: note: declared here
             10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                |                       ^~~~~~~~~~~~~~
          numpy/core/src/multiarray/scalartypes.c.src:3325:31: error: incompatible type for argument 1 of ‘_Py_HashDouble’
           3325 |     hashimag = _Py_HashDouble((double)
                |                               ^~~~~~~~
                |                               |
                |                               double
           3326 |             (((PyC@name@ScalarObject *)obj)->obval).imag);
                |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          In file included from /usr/include/python3.10/Python.h:77,
                           from numpy/core/src/multiarray/scalartypes.c.src:3:
          /usr/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
             10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                |                                      ^~~~~~~~~~
          x86_64-linux-gnu-gcc: numpy/core/src/multiarray/usertypes.c
          numpy/core/src/multiarray/scalartypes.c.src:3325:16: error: too few arguments to function ‘_Py_HashDouble’
           3325 |     hashimag = _Py_HashDouble((double)
                |                ^~~~~~~~~~~~~~
          In file included from /usr/include/python3.10/Python.h:77,
                           from numpy/core/src/multiarray/scalartypes.c.src:3:
          /usr/include/python3.10/pyhash.h:10:23: note: declared here
             10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                |                       ^~~~~~~~~~~~~~
          numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
          numpy/core/src/multiarray/scalartypes.c.src:3341:27: error: incompatible type for argument 1 of ‘_Py_HashDouble’
           3341 |     return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
                |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                |                           |
                |                           double
          In file included from /usr/include/python3.10/Python.h:77,
                           from numpy/core/src/multiarray/scalartypes.c.src:3:
          /usr/include/python3.10/pyhash.h:10:38: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘double’
             10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                |                                      ^~~~~~~~~~
          numpy/core/src/multiarray/scalartypes.c.src:3341:12: error: too few arguments to function ‘_Py_HashDouble’
           3341 |     return _Py_HashDouble(npy_half_to_double(((PyHalfScalarObject *)obj)->obval));
                |            ^~~~~~~~~~~~~~
          In file included from /usr/include/python3.10/Python.h:77,
                           from numpy/core/src/multiarray/scalartypes.c.src:3:
          /usr/include/python3.10/pyhash.h:10:23: note: declared here
             10 | PyAPI_FUNC(Py_hash_t) _Py_HashDouble(PyObject *, double);
                |                       ^~~~~~~~~~~~~~
          numpy/core/src/multiarray/scalartypes.c.src: In function ‘longdouble_arrtype_hash’:
          numpy/core/src/multiarray/scalartypes.c.src:3312:1: warning: control reaches end of non-void function [-Wreturn-type]
           3312 | }
                | ^
          numpy/core/src/multiarray/scalartypes.c.src: In function ‘float_arrtype_hash’:
          numpy/core/src/multiarray/scalartypes.c.src:3312:1: warning: control reaches end of non-void function [-Wreturn-type]
           3312 | }
                | ^
          numpy/core/src/multiarray/scalartypes.c.src: In function ‘half_arrtype_hash’:
          numpy/core/src/multiarray/scalartypes.c.src:3342:1: warning: control reaches end of non-void function [-Wreturn-type]
           3342 | }

Hi @mendhak, in model-requirements.txt, can you try changing line 2:
openvino-dev==2022.2.0
to
openvino-dev==2022.3.0
And re-run install.sh?

Oh nice, that's done it. I did a git clean -fdx , changed the model-requirements.txt file, and reran ./install.sh. The installation went smoothly after making that change. Many thanks! Please feel free to close the issue

Oh nice, that's done it.

Glad to hear!


Update UI documentations

Added TestPage class diagrams and edited developer guide. Added screenshot of home page as well.

Pull Request Test Coverage Report for Build 904

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.945%

Totals

Change from base Build 970:
0.0%

Covered Lines:
2765

Relevant Lines:
3144

💛  - Coveralls


After pressing enter get a "Unexpected token '}'"

my info

$ node -v
v12.20.1

$ npm -v
6.14.10

$ caz -v
caz/0.5.1 win32-x64 node-v12.20.1

$ git --version
git version 2.29.0.rc1.windows.1

do?

√ Project name ... my-project
√ Project version ... 0.1.0
√ Project name ... my-project
√ Project version ... 0.1.0
√ Project description ... Awesome node modules.
√ Project author name ... changfan.xu
√ Project author email<EMAIL_ADDRESS>√ Project author url ... https://gitee.com/BaboonKing
√ Project license » MIT
√ GitHub username or organization ... baboon-king
√ Choose the features you need » Automatic test, TypeScript, CLI Program, Additional docs, Additional examples
√ Install dependencies ... yes
√ Package manager » npm
Unexpected token '}'

expected results
create success

actual results
create failed
and
get "Unexpected token '}'"

why?

@baboon-king Thanks for the feedback.


Attach another vmss to a live cluster (Green/Blue deployment)

Hello!
Is it possible to add another Virtual Machine Scale Set to a live cluster in order to achieve a green/blue deployment? We are very interested to know if such a thing is possible to be achieved on our live cluster. What would be the considerations that would have to be considered for such a task?
Kind Regards

Yes, it is possible. We already have that support available today with our v3 stamp templates. Official documentation isn't yet available for this, you can you review the repo for details surrounding this.


.skip doesn't work well with .take

Reported in this forum post, it appears https://github.com/realm/realm-dart/pull/1391 broke combining skip and take.

Thanks @nirinchev!

🙏


WIP: Upgrade Starscream from 3.x -> 4.x

This PR updates the version of Starscream in use from 3.x to 4.x
This addresses #277 (and will allow other Websocket related issues to be addressed in the near future).
NOTES:

This PR is currently WIP (and therefore will not pass CI) until https://github.com/daltoniam/Starscream/issues/811 is resolved upstream in Starscream.

It is likely that this PR will be closed in favour of #289 instead. This should simplify our dependency graph going forward, with the caveat that the change to native WebSockets will necessitate a version bump to 9.x since deployment targets will have to be increased several versions to allow use of the native API. @JonathanDowning this may be relevant to your interests.

Closing for reasons above.


Disambiguate homonyms in glossaries / provide alternative translations?

Hello,
Is there a way to specify different translations for homonymous words in a glossary?
E.g. in a Russian > English translation, there is a verb 'пропасть' to which I would like to assign the translation "disappear".
But 'пропасть' can also be a noun meaning "abyss", and I don't want it to be bluntly replaced by "disappear" everywhere.
Is there a way to disambiguate two words like that in the input?
If not, it might help to be able to specify an alternative translation ranked lower than the first one, but I'm not sure how exactly that should work.

Hi, thanks for your question! This is a bit tricky.

In principle, your glossary must not have 2 entries with the exact same string in the source language. See the docs for this part

However, our glossary feature is not a simple string search & replace, so in principle if you add a glossary term 'пропасть => disappear', it won't replace all occurences of 'пропасть' with 'disappear'. In the example you give, it unfortunately does not work properly however.

An example (sorry I don't speak Russian) with English to German:
"rain" in english can be the rain (German: Regen) or to rain (German: regnen).
I can add a term 'rain => schütten' (only makes sense for the verb form) to my glossary, and it translates:
"It was raining a lot that day. The rain really did not seem to stop."
into
"Es schüttete an diesem Tag sehr viel. Der Regen schien wirklich nicht aufzuhören."
However, doing the same in your example fails. This will depend on the specific languages and its associated grammar, for example you can add infinitive markers ("to rain") or articles ("the rain") in your glossary definition, if they exist in the associated language.
Glossary term: 'пропасть => to disappear'
"Загляните в пропасть. Пропасть разверзлась подо мной."
"Look into the disappear. The disappearance opened up beneath me."
I flagged this to the team responsible for glossaries and we might fix this in the future.

I don't think we would want to add a POS tag as it doesn't fully solve the problem as you remarked (I would even guess that the majority of homonyms are between words of the same POS). I will check with our glossary team if adding support to distinguish between different word meanings in glossaries is on the roadmap, but can't give an estimate.


[Responsive-Web] Search/Sidebar width not full in small screen

Detailed description
See the search bar and all you see in header should be in full width, but is coming in center with less width and looks dull and creepy.

To Reproduce

Expected Behavior
Width must be full according to screen
Screenshot/ Video of the Responsive Problem

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi i'd like to work on this, I just put a PR for a similar issue on the Feeds page, I'd like to use similar style to this, please assign if acceptable 😊

@alvarotorrestx ok, I assigned you, however, if you are going to use the same style as in feeds please first wait for review about the feeds pr.

@ArkadiK94 ok sure got it 👌

@alvarotorrestx hi, would you like to work on it? or is it ok that @sahil28032005 will do it?

@alvarotorrestx hi, would you like to work on it? or is it ok that @sahil28032005 will do it?

He can work on it, that is fine, I am working on the other referenced issue


Use reflection to get and set conditions.

It kinda sucks that I am asking everyone to implement Get/SetConditions on their status.


Form is not reactive

When I update the values after rendering the VFG, the component is not updated. im setting the disabled field dinamically and its not updating,
(will update with fiddle)

https://jsfiddle.net/eduardoveras94/dhv2txz9/2/
Seems like its not possible to give the schema a variable as value, it always take the input as false
note: check isDisabled value on lines 25 and 27

Is there any update with this? I need this too.

@ChadTaljaardt No updates, the only way is bad hacks and modifying the schema in real time

The only way I know how to do it is to search the field inside the schema
https://jsfiddle.net/dhv2txz9/14/
var nameField  = this.schema.fields.find(field => field.model === 'name') and then adjust it the way you need. You can make a helper function for example and give it the model name,
getField(this.schema, 'name')

Thank you! this seems to fix the problem


ddl: admin show ddl jobs output confusing with multiple jobs

What problem does this PR solve?

close https://github.com/pingcap/tidb/issues/23494

What is changed and how it works?
Check List
Tests

Manual test (add detailed scripts or steps below)

Code changes

Has exported variable/fields change

 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.

(prerequisite of pingcap/tidb#24151)

/lgtm


Update username style

Fixes #1250
Changes:

Update username style to black colour and normal weight.
Update Wallet and Activity page styles.

Can we have reputation font bold in comment:


--lua-version does nothing

I'm trying to install Luarocks for OpenResty on Arch Linux. There is an installer in the AUR, but it is orphaned. I'm trying to use that as a base.
The build script is
  cd "$srcdir/$_pkgname-$pkgver"
  ./configure --prefix=/opt/openresty/luajit \
    --with-lua=/opt/openresty/luajit/ \
    --lua-suffix=jit-2.1.0-beta1 \
    --force-config \
    --lua-version=5.1 \
    --with-lua-include=/opt/openresty/luajit/include/luajit-2.1
  make

Then, I want to install Lapis, but the query returns no results. ./luarocks config --lua-ver returns 5.3.

Hi! Some questions to help troubleshoot this:

What is the output of the configure script?
How did you run make?
I notice you're running ./luarocks from the current directory: where?

Hi, thanks for the quick reply!
Well, all of this is now irrelevant >.>
As I was checking out the build script I tried running make build (as instructed by the manual) instead of just make (which is what the original author of the script left over) and Luarocks now seems properly configured! Turns out I simple didn't RTFM hard enough...
As for why ./luarocks: this is actuallly /opt/openresty/luajit/bin/luarocks
I have a separate one there because it is specific to Openresty only and I didn't want to confuse it with the one in my $PATH. (which is the 5.3 one I use for everything else)


Appended and prepended inputs bug

By going to:
http://ink.sapo.pt/ui-elements/forms/?phone=&name=#block-forms
You get the Search word not centered. Something strange with the padding-right, although the padding-rig and padding-left have the same value.
I've annex a picture, so you can see what I've seen.

I'm using Google Chrome and Mac OS X. But same issue with Safari.

@NilAndNull
If you apply to both the button and the span the input
flex-grow:1;
flex-shrink: 0;

Looks okay in Firefox. Although I can reproduce this in Chrome, too.

Well i've noticed from this issue that those are completely broken in IE9 and maybe others, so I'll work on those first. But as a workaround as @mAiNiNfEcTiOn said, adding flex-shrink: 0 to the element, fixes this issue.

Thx for the hint @mAiNiNfEcTiOn :) It will be deployed on the next release.
The IE9 bug was related with a missing include in ink-legacy. It's fixed now aswell in 4d82c2b9092fbd4fa4ede95a4df7d2acf4e9a937


EF5, MVC4, NET4.5, Oracle Db - Unable to determine the provider name for connection of type 'Oracle.DataAccess.Client.OracleConnection'

After getting this 'Unable to determine the provider name...' error, I tried all standard solutions I could find, but none helped. As last, I tried to uninstall Glimpse, and that helped. I  saw some other similar issues but all of them were closed and didn't use Oracle or EF5, so I guess I should create a new issue. Error is thrown when trying to query database.
Stacktrace:
[NotSupportedException: Unable to determine the provider name for connection of type 'Oracle.DataAccess.Client.OracleConnection'.]
   System.Data.Entity.ModelConfiguration.Utilities.DbConnectionExtensions.GetProviderInvariantName(DbConnection connection) +587
   System.Data.Entity.Internal.InternalConnection.get_ProviderName() +38
   System.Data.Entity.Internal.LazyInternalContext.InitializeContext() +346
   System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) +18
   System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() +52
   System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext() +15
   System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider() +37
   System.Linq.Queryable.SingleOrDefault(IQueryable`1 source, Expression`1 predicate) +63

Development platform:

.NET 4.5
Oracle Db
ASP.NET MVC 4 & IIS
EF5 Code First

Installed Glimpse packages:

Glimpse                        1.8.5
Glimpse.Ado                    1.7.1
Glimpse.AspNet                 1.8.0
Glimpse.EF5                    1.6.2
Glimpse.Mvc4                   1.5.3

Unfortunately there isn't much I can do at the moment, its a known issue. That said, the progress is being tracked at #226


adding randomized smoothing

Adding functionality of randomized smoothing following https://arxiv.org/pdf/1902.02918.pdf. Module includes functions to predict and certify the radius of a given model.
Tutorial can be found in notebooks/randomized_smoothing_mnist.ipynb
Resolves "Adding Randomized Smoothing functionality" #114.

@robo-sq Thank you very much for your contribution! Randomised Smoothing will become a very useful tool in ART. Your code looks great. I have only found two minor changes required that are listed below.


Rename artifact name ocjdbc -> jdbc.

Thanks for this change @songy23! Unfortunately, I'd rather we stay away from having our package name be jdbc because that's a trademarked name and owned by Oracle whereas we are an open source project, I think ocjdbc sufficiently expresses our project without having to innocently get into legal :)

Chatted offline, we thought it's better to not use the Oracle trademarked name "jdbc" and keep "ocjdbc". Don't want to get into trouble with the "jdbc" name.
/cc @bogdandrutu

I don't think this is a problem.

A few other examples:
com.microsoft.sqlserver.jdbc: https://github.com/Microsoft/mssql-jdbc/tree/dev/src/main/java/com/microsoft/sqlserver/jdbc
com.mongodb.jdbc: https://github.com/erh/mongo-jdbc/tree/master/src/main/com/mongodb/jdbc

Interesting, to be honest I don't know much about Java naming and the ecosystem so I'll defer to the both of you @songy23 and @bogdandrutu, please feel free to make these changes.


The clone/fetch algorithm doesn't handle renaming of branch

I'm currently trying to convert a lot of TFVC repository to Git.
While it works for all "classic" repositories, repositories with renamed branches doesn't work.
I have issues with a least two patterns:

the branch has been renamed
the root branch has been deleted

The current algorithm try to convert from the oldest changeset to the newest for the specified path.
But in these patterns, the oldest changeset is not the first one, or (worst) is not in the history of the branch.
I think the fetch should first recreate the history starting from the latest changeset et going back in the history, following each rename to track the right path.
I am not enough familiar with the project, but would be happy to help if needed.

I am not enough familiar with the project, but would be happy to help if needed.

I did nearly all the branch support in git-tfs.
I already know that there is a problem with branch rename (and some other strange things TFVC could do with branches) and that is even the main flaw in git-tfs :(
But you could try build your own git-tfs version because there was an improvement on that which is not yet released (See #1017 & #973). Perhaps it fix your case and all the others but I don't know....
The 2 main reasons why it is not fixed is because :

I didn't had a tfvc history with this cases to work on (the one I have tried to reproduce are in our smoke tests and works well). And it's too complicated to try to fix it through an issue thread...
I have worked on the branch support so much time and branch support in TFVC is so much painfull and horrible that I don't want to work on that anymore (at least on my free time. Perhaps if I encounter a tfs on my job one day...).

I leave it to someone else who really need it... (perhaps you are the one!?! )

I think the fetch should first recreate the history starting from the latest changeset et going back in the history, following each rename to track the right path.

If you have an idea, go on ;)

I am not enough familiar with the project, but would be happy to help if needed.

I was also (but the git-tfs part was not the hardest. The tfs api is the hardest!) and I was also in TFVC when I begun. If you know how TFVC works, you are better placed than what I was.

Here is a way to reproduce one of the rename bugs (in VS2015):

Create folder, "folder1/file1.txt" with contents "file1" and check it in (changeset #1)
Branch the folder to "folder1-branch" (changeset #2)
Edit the contents of the branched file "folder1-branch/file1.txt" to "file1a" (changeset #3)
Rename the branched file to to "file1a.txt" (changeset #4)
Merge "folder1-branch" into "folder1" (changeset #5)

If you then import this repository using git-tfs, file1a.txt will not have the whole history.

I wonder if it's possible, during TFS cloning, to detect a rename change in TFS, and execute the appropriate git command (e.g. git branch -m) to effect the change?

Oh, nevermind, this is a merge and rename in one operation. I even see some merge and edits occurring simultaneously.

I found a way to do this! See my comments on #835 (which don't explain exactly how to do this, but can lead you in the right direction to make this possible).

Close as old and maybe fixed by #1493


Timestamp unit

Hi - minor comment re the docs, I believe the timestamp unit is expected to be in microseconds but I don't see that mentioned in the documentation. It took a few minutes to figure out i had the wrong units for timestamp when i was trying an example, probably worth mentioning.
thanks
Richard

Thanks for the feedback. There is still a lack of documentation. I'll work on that as well.
You need to ensure that all timestamp units you use are the same as the timestamp unit in your data. It doesn't have to be in microseconds.

Finally, update the docs. please see https://hftbacktest.readthedocs.io/en/latest/index.html

Finally, update the docs. please see https://hftbacktest.readthedocs.io/en/latest/index.html

thanks!


async class methods not documented

I am trying to generate documentation for ES6 classes, but all async methods are skipped. Is this a bug or is there no support for this yet?

Same problem for me... According to their change log they added async function support as far as I can read. Did you happen to find a solution?


Update supportedruntime-element.md

Summary

Removed .NET 1.1 mention from summary, because .NET 1.0 is rarely used anyway
Updated summary to indicate that it also affects .NET Framework release additionally to runtime version
Added a note in remarks about the practical meaning of this element

Fixes #6234

Thanks for making the additional changes, @MSDN-WhiteKnight. I'll merge your PR now. The changes should be live on docs.microsoft.com in the next day or two.


Add clarification question

Manage clarification question form with the content loader to make API responses and validation more easier and more consistent.

:+1:


Added org_id field to all models.

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] I run go fmt ./... to check that my code is properly formatted
[X] I run go vet ./... to check that my code is free of common Go style mistakes

Test results are available in Ibutsu. The test run IDs are:
ad9610f8-ff90-4bf7-8c5d-6e6f911c82b9
fe634abd-c25d-47e2-82a7-81d59b38a5f4


How to export .obj data using paraview

Your work is excellent!
I am currently trying to run your code and render it using blender.
I have never tried to render paraview data using blender before.
If you can provide the some rendering process or help, I will be very grateful.

Hi there! Thank you for interested in my code.
I used gridToVTK library in Python to export my VOF field data to .vtr file. Then I import the .vtr files in Paraview to extract the surface using the IsoVolume filter. Next, export the surface to .obj files and import in Blender.
There will be plenty of tutorials online about how to rendering .obj files in Blender.

Thank you for your answer. I did not find the entrance to export the .obj file in the latest version of Paraview. Can you provide the version number of the paraview you use? Thanks


modify to use xf86-input-libinput

To fix #45 cherry-pick the 52bec45 and adds a bbeppend xserver-xorg which includes xf86-input-libinput in XSERVER_RRECOMMENDS.

Can one of the admins verify this patch?

I'd recommend requesting a backport of the relevant oe-core commit (2d005faf) to morty instead of just fixing it for meta-raspberrypi. Then we should look at backporting the meta-raspberrypi commit 52bec45b.
@agherzan I think we should close this, I wouldn't like to merge to morty as-is.

For this specific case @betafive , if fixed here or in morty it would not have any impact. I mean they would not conflict. And it's just a simple XSERVER_RRECOMMEND . I generally agree with you and I think that this is in it's core a non BSP issue.

test this please

Ok cool, that makes sense. It'd be ideal to fix this in oe-core so it applies to other hardware but let's just get it fixed here for now.

@mickey-happygolucky Paul has a very good point here. Would you want to push the fix in poky too? We will fix it anyway here so you don't have to wait for it.

I checked the morty branch in poky - this fix is not there. Anyway - I'll fix it here for now. Merging.


Add support for Secret Management, using the SecretMangement module and custom logic

I've thought about this feature on and off, but finally might have something that could work. But it's totally open for comments though, so please feel free! 😄
The idea is to add in Secret Management support - both using the SecretManagement module, but also support for custom logic as well. To get secrets back can be done using $secret:<name>, or a function for external modules/functions.

Prep for some reading, this is long! 😂

Functions
Register Vault
To start with you'll need to "register" the secret vault you wish to use. Akin to the SecretManagement module this will be done using a Register-PodeSecretVault function.
They'll be 2 initial ways of registering a vault: one for SecretManagement, and one for Custom:

SecretManagement:

# call Import-Module on SecretManagement modules in runspaces
# call Register-SecretVault in runspaces
Register-PodeSecretVault
    -Name 'Vault1'
    -SecretManagement
    -ModuleName SecretManagement.Hashicorp.Vault.KV
    -VaultParameters @{}
    [-CacheTtl=0]
    [-VaultName=$Name]

Custom:

# any custom modues will have to be Import-Module'd manually
# allows for custom secret retrieval (ie: using az/vault-cli, etc., directly)
Register-PodeSecretVault
    -Name 'Vault2'
    -Custom
    -ArgumentList
    -ScriptBlock {}
    [-CacheTtl=0]
    [-ConnectArgumentList @{}]
    [-Connect {}]

In both a -Name is required and should be unique, this will be the name used to reference the vault later on.
For SecretManagement the -Name sometimes needs to match the actual vault name, so if you want a more friendly name here then you can use -VaultName for the real name. -VaultParameters are the same as the VaultParameters in SecretManagement.
In both you'll spot -CacheTtl, and if set, any secrets retrieved will be cached for this number of seconds. -ArgumentList is an array of arguments to supply to the -ScriptBlock, along with "key" from adding a secret.
For Custom, there's also the option to have custom -Connect logic - such as logging into a vault, getting an auth token, etc.. This will be called once, and the token cached (with expiry). On expiry, it will be called again. The token will be supplied to the scriptblock for retrieving the secret.
Add Secret
After registering a vault, you'll need to "add" a secret to Pode using Add-PodeSecret. This is the same regardless of how the vault was registered, but you can specify the "key" for the secret to be looked up by using either a -ScriptBlock or a raw -Key string value:
# key
Add-PodeSecret `
    -Name 'Secret1' `
    -Vault 'Vault1' `
    -Key 'database/creds' `
    [-NoCache]
    [-CacheTtl=0]

# scriptblock
Add-PodeSecret `
    -Name 'Secret2' `
    -Vault 'Vault2' `
    -ArgumentList [] `
    -ScriptBlock {} `
    [-NoCache]
    [-CacheTtl=0]

The key returned should be the path/name of the secret (ie: in hashicorp vault it could be database/creds, and in the register scriptblock this is appended onto kv/data).
You'll also spot there's a -NoCache, so if you register a vault with global secret caching here you can disable it. Or you have have no global caching, and enable it for specific secrets using -CacheTtl.
Get Secret
The main way to get a secret in Routes, TImers, etc. will be using the secret variable scope:
Add-PodeRoute -Method Get -Path '/' -ScriptBlock {
    $db = $secret:Secret1
}

Or, you could use the Get-PodeSecret function (which the above will use internally):
Get-PodeSecret `
    -Name

Example
SecretManagement
The following example will use the SecretManagement.Hashicorp.Vault.KV extension module for SecretManagement, to retrieve a secret from a HashiCorp Vault:
Start-PodeServer {
    # endpoint
    Add-PodeEndpoint -Address localhost -Port 8080 -Protocol Http

    # vault params
    $vaultParams = @{
        VaultServer = 'https://vault.domain.local:8200'
        VaultToken  = 's.abc123='
    }

    $vaultModule = 'SecretManagement.Hashicorp.Vault.KV'

    # register vault
    Register-PodeSecretVault `
        -Name 'Vault' `
        -VaultParameters $vaultParams `
        -SecretManagement `
        -ModuleName $vaultModule

    # add secret for database creds - cache for 30secs
    Add-PodeSecret `
        -Name 'Database' `
        -Vault 'Vault' `
        -CacheTtl 30 `
        -Key 'database/creds'

    # add route to use secret
    Add-PodeRoute -Method Post -Path '/users' -ScriptBlock {
        $users = Get-SomeExampleUsers -Credentials $secret:Database
        Write-PodeJsonResponse -Value $users
    }
}

Custom
Or, the same as above for HashiCorp Vault, but using the vault CLI:
Start-PodeServer {
    # endpoint
    Add-PodeEndpoint -Address localhost -Port 8080 -Protocol Http

    # vault params
    $vaultParams = @(
        'https://vault.domain.local:8200',
        's.abc123='
    )

    # register vault
    Register-PodeSecretVault `
        -Name 'Vault' `
        -ArgumentList $vaultParams `
        -Custom `
        -ScriptBlock {
            param($address, $token, $key)
            vault login --address=$address $token
            vault read kv/data/$key
        }

    # add secret for database creds - cache for 30secs
    Add-PodeSecret `
        -Name 'Database' `
        -Vault 'Vault' `
        -CacheTtl 30 `
        -Key 'database/creds'

    # add route to use secret
    Add-PodeRoute -Method Post -Path '/users' -ScriptBlock {
        $users = Get-SomeExampleUsers -Credentials $secret:Database
        Write-PodeJsonResponse -Value $users
    }
}

Seems like a great idea to easily use secrets in Pode! 😄

I've been working on this for the last few days on and off when I can, and managed to put it all together 😄  It's fairly similar to what's above, but with tweaks.
Still the same, to start with, is the need to Register-PodeSecretVault first. This is will still support the SecretManagement module and Custom logic. Additional support has also been added for unregistering, unlocking, and initialising vaults. On the Custom logic, the -Connect parameters have been removed (in favour of -InitScriptBlock, and there are extra scriptblocks needed (if required) for updating/creating, removing, unlocking and unregistering - the default scriptblock is for retrieving the secret from the vault. For example:

SecretManagement

Register-PodeSecretVault -Name 'FriendlyVaultName' -ModuleName 'Az.KeyVault' -VaultParameters @{
    AZKVaultName = 'VaultNameInAzure'
    SubscriptionId = $SubscriptionId
}

Custom

Register-PodeSecretVault -Name 'HcpVault' `
    -VaultParameters @{
        Address = 'http://<IP_ADDRESS>:8200'
    } `
    -ScriptBlock {
        param($config, $key)
        return (vault kv get -format json -address $config.Address -mount secret $key | ConvertFrom-Json -AsHashtable).data.data
    }

The Add-PodeSecret is now Mount-PodeSecret - since we're technically mounting a secret from a vault and into Pode. This is still the same otherwise, and the same regardless of SecretManagement/Custom:
Mount-PodeSecret -Name 'Github' -Vault 'HcpVault' -Key 'tools/github'

Getting and updating secrets can still be done either via Get-PodeSecret and Update-PodeSecret, or by using the secret scope:
$value = $secret:NAME
$secret:NAME = 'VALUE'

I've also added additional functionality for interacting with secrets in vaults more adhoc, without having to mount them first - but you still need to register a vault:

Set-PodeSecret - for creating new secrets or updating them
Read-PodeSecret - for retrieving the value of a secret
Remove-PodeSecret - for deleting a secret in a vault


Improve PMD analysis on CI server

Found in the output of the Jenkins builds:

[INFO] --- maven-pmd-plugin:3.9.0:pmd (default) @ de.tudarmstadt.ukp.wikipedia.parser ---
[WARNING] This analysis could be faster, please consider using Incremental Analysis: >https://pmd.github.io/pmd-6.0.1/pmd_userdocs_getting_started.html#incremental-analysis

Can you, @reckart, check this and if we can make the analysis faster? It would be helpful to speed the PMD analysis up, as we wouldn't have to wait so long until the CI build reports back to Github.

Puh... I could easily disable PMD for PR builds and just keep it active for master builds.
I know that some tools (I think checkstyle and/or findbugs as well) support incremental modes. What I am not sure is: where to store their data. Normally, the CI build keeps all data in its workspace and to ensure that builds are working on a clean state, the workspace is reset before the build is started. I guess that would wipe out any state that these plugins may keep.
Do you have any experience with using these incremental modes in local builds or in conjunction with a CI server? How do you handle the state?

You could configure the pmd maven plugin to use a location such as the target folder at root level of the checkout point.
I tried it once with maven-pmd-plugin:3.9.0 yet it did not in all cases (sub-modules). Maybe, things improved with version 3.10.0:
https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-pmd-plugin/3.10.0.

I could try to check another code base and paste a configuration here, later this week.

@reckart You might try to use a config like this
<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-pmd-plugin</artifactId>
	<version>3.10.0</version>
	<configuration>
		<targetJdk>${java.target}</targetJdk>
		<failOnViolation>false</failOnViolation>
		<minimumTokens>100</minimumTokens>
		<analysisCache>true</analysisCache>
		<includeTests>true</includeTests>
		<linkXRef>false</linkXRef>
	</configuration>
	<executions>
		<execution>
			<id>pmd</id>
			<phase>package</phase>
			<goals>
				<goal>check</goal>
				<goal>pmd</goal>
			</goals>
		</execution>
	</executions>
</plugin>

The important part is <analysisCache>true</analysisCache>.
I just tested this with two independent projects. It worked fine.

It should a quick fix, combined with other maven plugin updates in dkpro-parent pom.

@reckart Do you have some spare time to test the above config via dkpro-parent?

@mawiesne you can just plug it into the JWPL pom for testing, can't you? I don't see why it would be necessary to put it into the parent pom. I have deactivated the pmd profile in the PR builder such that it doesn't run twice.

@reckart Ok, i can give it a shot via a separate 190 branch. We can then evaluate the result of the changed configuration via the Jenkins output.


[Feature] MOSN support holmes

The New Feature
support https://github.com/mosn/holmes
Your scenes
Describe your use scenes (why need this feature).
Your advice
Describe the advice or solution of this new feature.
Environment

MOSN Version

With our branch already support this feature.
hahaha， PR welcome ！

#1978

https://github.com/mosn/mosn/pull/1978 is merged, closing.


Fix eth vevrsion alert

Fixes # .
Motivation

Solution
import the ethereum repo
Open questions

the previous breaking is because https://github.com/coinbase/rosetta-sdk-go/runs/7793099183?check_suite_focus=true
what I do is
1 run go get github.com/ethereum/go-ethereum
2 go mod tiy
3 make check-gen
@shrimalmadhur


Module configuration on multishop

Describe the bug and add screenshots

As you can see on diagnosis page I have a lot of different values on configuration in multishop mode.
I don't know if it's related but I sometimes have bugs on orders for payment validation.
This afternoon one of my customers placed an order and he tells me that the payment has been validated with him and that he is waiting for confirmation from us but we haven't any information on his order, just after order we can see the transaction Id but now we havent any informations
Expected behavior
No response
Steps to reproduce

Set prestashop on multishop
Create shops
Configure paypal module on "All shop" mode

PrestaShop version(s) where the bug happened
8.0.4
PHP version(s) where the bug happened
8.1.18

I just did a first time fresh install of Paypal on Prestashop 8.0.4 in multistore mode.
I realised that configuration in "All shop" is not working.  The module configuration showed all options as disabled, but in the shop the "Pay later" and other stuff is shown (alas disabled).
When selecting the shop and entering the module configuration the modules setup wizard appeared. That did not happen at first.
Other modules (Stripe) do not allow configuration in "All shop" mode but force you to select a shop first. Maybe this is what should/could happen here as well.


Actively check cluster changes if there is no callback for a long time

We encountered a site issue recently, and is suspecting that Helix callback for cluster changes is not working, probably because ZK re-connection.
This PR enabled the proactive cluster change check if there is no callback for 1 hour.
Changes include:

Rewrite ClusterChangeMediator to proactively perform cluster change check
Disable the Helix batch-mode and perform deduplication in ClusterChangeMediator
Disable the Helix pre-fetch to reduce the ZK accesses
Add interface ClusterChangeHandler for general cluster change handle
Add ClusterChangeHandler implementation: ExternalViewChangeHandler, InstanceConfigChangeHandler, LiveInstanceChangeHandler
Add metrics to track CLUSTER_CHANGE_QUEUE_TIME and PROACTIVE_CLUSTER_CHANGE_CHECK count

Testing done:

Run ClusterChangeMediator without starting the cluster change handling thread, the backup inline change processing is working properly
Set proactive change check interval to 1 second, both callback and proactive change check work properly

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4e7ffb3). Click here to learn what that means.
The diff coverage is 87.91%.

@@            Coverage Diff            @@
##             master    #3885   +/-   ##
=========================================
  Coverage          ?   67.19%
  Complexity        ?        4
=========================================
  Files             ?     1031
  Lines             ?    50823
  Branches          ?     7099
=========================================
  Hits              ?    34151
  Misses            ?    14339
  Partials          ?     2333

Impacted Files
Coverage Δ
Complexity Δ

...esthandler/ConnectionPoolBrokerRequestHandler.java
88.27% <100%> (ø)
0 <0> (?)

...broker/broker/helix/ExternalViewChangeHandler.java
100% <100%> (ø)
0 <0> (?)

...a/org/apache/pinot/common/metrics/BrokerTimer.java
88.88% <100%> (ø)
0 <0> (?)

...oker/broker/helix/InstanceConfigChangeHandler.java
100% <100%> (ø)
0 <0> (?)

...a/org/apache/pinot/common/metrics/BrokerMeter.java
100% <100%> (ø)
0 <0> (?)

...pache/pinot/broker/broker/BrokerServerBuilder.java
91.07% <100%> (ø)
0 <0> (?)

.../pinot/broker/broker/helix/HelixBrokerStarter.java
73.5% <100%> (ø)
0 <0> (?)

...broker/broker/helix/LiveInstanceChangeHandler.java
65.9% <75%> (ø)
0 <0> (?)

...not/broker/broker/helix/ClusterChangeMediator.java
82.14% <84.78%> (ø)
0 <0> (?)

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 4e7ffb3...1aae0ea. Read the comment docs.

@Jackie-Jiang , is it possible to decouple the changes in this PR? Especially,

Disable the Helix batch-mode and perform deduplication in ClusterChangeMediator
Disable the Helix pre-fetch to reduce the ZK accesses

@sunithabeeram Helix batch-mode is not enabled before, this PR only makes it explicit, and adds comments for that. All the improvement will come from disabling Helix pre-fetch.

@kishoreg By doing deduplication on our side, we get more control on the interval between change checks (no interval for Helix batch-mode, so we might end up doing more fetches), and we can track the cluster change queue time (also, the logic is much simpler than the Helix batch-mode).
In order to add proactive check for all type of changes (not only external view), the change handler must implement the same interface, thus making the change big.

@Jackie-Jiang  can you please run a manual test to ensure that the cluster change processor runs after an hour without any problems? thanks

@mcvsubbu @sunithabeeram Updated testing done:

Run ClusterChangeMediator without starting the cluster change handling thread, the backup inline change processing is working properly
Set proactive change check interval to 1 second, both callback and proactive change check work properly

we can track the cluster change queue time (also, the logic is much simpler than the Helix batch-mode).
In order to add proactive check for all type of changes (not only external view), the change handler must implement the same interface, thus making the change big.

Which part of the new code handles the deduping part. Is this already merged?

@kishoreg The PR has been merged. For the deduplication, we keep only one last change time for each change type, and reset it whenever we start processing the change. Next call back for that change type can set it again, so it will be picked up in next round. Multiple call backs in the same round will only be processed once.


JsPsych init not functioning correctly

jspsych display-stage, fullscreen, and presumably other init variables specified in the config file are not actualized.
It seems that the .click function for #start_experiment_button does not generate a jspsych.init that incorporates config variables. Here is the output:
$("#start_experiment_button").click(function(){
$("#instructions_modal").hide();
$("#bootstrap_css").remove()
jsPsych.init({
timeline: stroop_experiment,
on_data_update: function(data){
console.log(data);
expfactory.recordTrialData(data);
expfactory.djstatus = "UPDATE";
$.ajax({ type: "POST",
contentType: "application/json",
url : "/local/15/",
data : JSON.stringify(expfactory),
dataType: "json",
success: function(data){
console.log(data);
console.log("data update called")
}
});
Compare to the correct output from the same experiment run on expfactory.github.io:
jsPsych.init({
timeline: stroop_experiment,
display_element: "getDisplayElement",
fullscreen: true,
on_trial_finish: function(data){
addID()
},
on_finish: function(data){
jsPsych.data.localSave('stroop_results.csv', 'csv');
expfactory_finished = true;
}
});

Just found the bug!
https://github.com/expfactory/expfactory-python/blob/master/expfactory/vm.py#L185
Will fix asap.

Fixed!

Great
On Sun, Feb 14, 2016 at 4:47 PM, Vanessa Sochat<EMAIL_ADDRESS>wrote:

Closed #38 https://github.com/expfactory/expfactory-docker/issues/38.
—
Reply to this email directly or view it on GitHub
https://github.com/expfactory/expfactory-docker/issues/38#event-550114421
.

--
Best,
Ian


Attempted import error: 'addAfterEffect' is not exported from 'react-three-fiber'.

I am experiencing this issue with create-react-app when building for production:

Creating an optimized production build...
Failed to compile.

./node_modules/drei/dist/index.js
Attempted import error: 'addAfterEffect' is not exported from 'react-three-fiber'.

    "drei": "0.0.63",
    "react-three-fiber": "4.2.12",
    "three": "0.118.3",

Fixed by upgrading to<EMAIL_ADDRESS>

It might be worth reopening this issue as I've just discovered it exists on the react-three-fiber 5.0 beta.
i can see the only import of addAfterEffect from r3f comes from the Stats component.

you mean it does not exist for 5.0 beta?

sorry, this import error exists in the beta, because addAfterEffect does not

published a new beta


Cant create a new line in notification

Hello Firstly,
I need a huge notification toast for my project. When i used sentences more than one, i cant create new line between 2 sentences. Is there a bug or something here is the example:
const notification = new Notification({
                    text: 'asdasdasd\n asdasdsadasd\n asdadasd',
                    position: 'top-center',
                    style: {
                        "background": '#2e344e',
                        "color": '#ffffff',
                    },
                    autoClose: 20000,
                    pauseOnHover:false
                });

Hi, bbketen
I fixed the issue :)


What is recommended system configuration for Deep Learning?

Basically I am having Acer Nitro 50 Desktop with system configuration
Processor: Intel® Core™ i5-8400 CPU @ 2.80GHz × 6
Graphics: GeForce GTX 1050/PCIe/SSE2 (2 GB)
Memory(RAM): 8GB DDR4 Memory
I am working with tensorflow_gpu-1.12.0 | python 3.5 | GCC 4.8 | Bazel 0.15.0 | cudnn 7 | Cuda 9.0 to train a faster_rcnn_inception_v2 model on my custom dataset with 10.4 GB(65000 images) of training data and 533.4 MB(3333) of validation data for object detection for 600k epochs(num_steps it will be training at 640 x 640 resolution). I am training and validation model on 8 classes. So when I am training the model the accuracy(map) is not increasing and loss is not decreasing after a while. After the completion of the training successfully I ran the model on various images and noticed couple of things.

Less accuracy
In some images objects does not get detected at all no bounding boxes. while in some multiclass object detection is spot on perfectly all objects gets detected but with less accuracy around 60 - 75.
From second point above If I train a separate model with less images and less number of classes(3 or 4) it works well but with decent amount of accuracy around 75 - 95

Question 1) What would be ideal system to work comfortably with deep learning? and get desired amount of results
So based on my system configuration should I keep on training or invest into new system which will be lot faster and accurate in deep learning. It would be really helpful for me to continue my learning if anyone could suggest or recommend something

@spurani
Please, see hardware and software requirements from here.Also, please see tested build configurations for linux, mac, windows.Thanks!

@spurani
Any update on this issue please. Thanks!

Sorry for my late reply I have installed tensorflow using https://www.tensorflow.org/install/gpu but the hardware requirements are kind of vague it would be helpful If I would get to know that a specific hardware is recommended to run the tensorflow models.  thanks and cheers

@spurani
Please, go through hardware requirements and see if it helps you.Thanks!

So this are the images of learning rate and total loss which clearly indicates that my model is not training efficiently. It would be really helpful if I could get some advice on how should I make it work?

@spurani There might be many factors that might be impacting your accuracy. As answered in this **question, having less number of classes will increase your accuracy and having more number of classes will most likely decrease your accuracy. This doesn't mean you have to change the system configuration to get good results.
Also you can refer to the following question here to understand more about your problem
Also I would recommend you to post your issue here and also in stackoverflow where there is a wider community to respond. Thanks!

Thank you @gowthamkpr  for those references those might come handy but they are pretty hard to understand if you come across any tutorial where is model is trained on multiple categories and huge amount of dataset can you please forward it? As the images in MS COCO dataset does not have same size do I need to resize before training change the image_resizer function in faster_rcnn_inception_v2_coco.config file(above in previous question)? How they would have trained a model on 90 different categories with huge dataset? It would be great if anyone can guide me through this it will reaally help me continue my learning on machine learning thank you

@spurani I will do that and also As mentioned in the above comment, please post this issue in tensorflow/models or  stackoverflow as there is a wider community to respond. Thanks!


Using the color picker gives wildly incorrect values

Godot version:
Godot 3.0 32d8b99
OS/device including version:
Linux Mint 18.3 Cinnamon x64. NVIDIA GTX 980 Ti, NVIDIA binary driver 384.90
Issue description:

Steps to reproduce:

Open any Color popup (for example, from the modulate property)
Activate the color picker
Hover over anything and monitor results

[x] I searched the existing GitHub issues
for potential duplicates.

Can confirm that this is an issue on Windows 10 OS Build 15063.726 and Godot Beta 2.

This is how get_tree()->get_root()->get_texture()->get_data() looks like, so the picker itself works correctly, problem is in getting the texture.

glGetTexImage is called with type GL_INT_2_10_10_10_REV, when the rest of the code expects GL_UNSIGNED_BYTE. Think it has to do with the format being set to GL_RGB10_A2, but driver using GL_RGBA instead.

The problem is here (rasterizer_storage_gles3.cpp):
		if (rt->flags[RENDER_TARGET_NO_3D_EFFECTS] && !rt->flags[RENDER_TARGET_TRANSPARENT]) {
			//if this is not used, linear colorspace looks pretty bad
			//this is the default mode used for mobile
			color_internal_format = GL_RGB10_A2;
			color_format = GL_RGBA;
			color_type = GL_UNSIGNED_INT_2_10_10_10_REV;
			image_format = Image::FORMAT_RGBA8;  // WRONG
		}

Not sure, but seems like Image doesn't have a Format to handle 2 10 10 10.
Easy fix is just to remove this case, though linear colorspace will look pretty bad.

@staddy That's right :smiley:
I can implement FORMAT_RGB10A2. Just need the go ahead.


iOS version requirement inconsistent between SPM and CocoaPods

Environment Information

Platform:

[x] iOS
[ ] macOS

Package version(s): 0.4.1, SPM

Please provide a reproduction of the bug:

Add package with SPM
Build project

Actual behavior:
Get errors about APIs only available in iOS 14.0 or newer.
In podspec we have s.ios.deployment_target = "14.0" while in Package.swift the iOS version is marked as .iOS(.v13) (also in Readme). I think the version number should be consistent and maybe need to bump Package.swift version to .v14 to avoid the build errors.
Expected behavior:
Build without errors.

Thanks for pointing this out! It's resolved in main as of 7688a0d1509ecd4ebb8098603c0e47cdfa3e2dbf, and should be distributed in the next release (presumably 0.4.2).

@mischreiber Thank you for the quick fix! Will close the issue. It might also be great to update the requirements section in README as it's still referring to iOS 13.


Correct @flow types. Refactor some Parser code for stricter typing.

Toward #892.

@marcianx thanks for keeping the changes small.


[Arch Linux] Building a Telegram client

I am new to this. I built and installed Arch's AUR tdlib package: telegram-tdlib. Now what can I do to have a functional Telegram client? Many thanks.

https://core.telegram.org/tdlib/getting-started

core.telegram.org/tdlib/getting-started

Sorry, but I can't seem to find actually where they say how you can build a Telegram desktop linux client with TDLib.

You need to program UI for the client using provided by TDLib updates and methods in your preferred programming language.


Refining support for ITTNotify

This patch reduces the overheads introduced when using ITTNotify to tie in VTune (or other tools).

adding meta-data support for tasks to pass more information to external tools
flyby: explicitly defining more base_lco_with_value types

@sithhell Your review comments have been addressed.


thoughts on running programmatically?

i'm interested in firing up the server as a module as a couchdb stub for my tests.  i can definitely child-process it, but have interest in doing something like
const pdbSrv = require('pouchdb-server')
pdbSrv.on('ready', handler);
pdbSrv.init({ inMem: true, noLog: true });
const handler = () => {
    setTimeout(() => { pdbSrv.kill() }, 500)
}

what are you general feelings towards this?

See the express-pouchdb project: https://github.com/pouchdb/express-pouchdb
In short, you can just spin up your own express server, and control it however you like. For programmatically killing such a server immediately (ignoring Keep-Alive connections), you can use https://www.npmjs.com/package/killable , which I wrote for that purpose and pouchdb-server also uses internally.
PouchDB-Server is (almost) just a front-end that controls express-pouchdb, and as such, a programmatic API doesn't make much sense.

you know, embarrassingly, i think i may have already asked this very question before.  your response is all too familiar.  thanks for the quick reply!


Alexa and Viper Smart Start

Any chance of an update? would pay for a current working model with the current build kit within the developer portal.

My smart start was working till I added a new car to the app and now it won't work. I assume bc I have two cars in it. I rebuild the entire thing with no luck. How can you make the skill differentiate between which car to send commands to?


Update to Tailwind CSS v3.2

Updating to v3.2 will give us access to [multiple config files](https://tailwindcss.com/blog/tailwindcss-v3-2#multiple-config-files-in-one-project-using-config, needed for #690.

Closed via #700.


String-values for Enums in request object are not recognized.

Good Morning, first off, great work! And thanks for making it available.
I seem to have a problem with enums in request-objects, passing the string-representation does not work. If I change the value to the assigned integer the curl-post-request passes.
I saw some issues about jsonpb but I am not go-proficient enough (yet) to debug more.
Any help would be greatly appreciated.
Example curl-calls to show the behavior:
FAILURE-case.
$ curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{

"enum_value": "UNKNOWN",
"identifier": {
"identifier": 0
}
}' 'http://localhost:8080/trial/v1/setEnumAndId'
{"error":"json: cannot unmarshal string into Go value of type protomsg.EnumValue","code":3}

PASSING-case:
$ curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{
"enum_value": 0,
"identifier": {
"identifier": 0
}
}' 'http://localhost:8080/trial/v1/setEnumAndId'
{}
PS: Tested with latest master from 9 mai 2016.

Afternoon, after checking out again today (2016/05/10), the problem  has been resolved.
Thank you.
PS: The only thing I had to do is CamelCase the client-calls.
In order to do that I added a small sed-statement in the Makefile I am using.
Makefile-rule:
%.pb.gw.go: %.proto
	protoc -I/usr/local/include -I. \
		-I${GOPATH}/src \
		-I${GOPATH}/src/github.com/gengo/grpc-gateway/third_party/googleapis \
		--grpc-gateway_out=logtostderr=true:. \
		$<
		sed -e "s/client\.\(.\)/client\.\u\1/g" -i $@

I'm having a similar issue, as I described in https://github.com/gengo/grpc-gateway/issues/153
@fnchooft you said you were able to make this work?

Evening @igateno,
I tested yesterday and all is fine, the only issue I faced was the fact that my rpc-function names are lower-case in the proto-file. The grpc-gateway_out-plugin uses the same literal-string as written in the  proto-file. Since the plugin is used with the GO-language, where public functions are written in Camelcase, maybe the plugin could Camelcase those rpcs and emit a warning.
Do not forget to regenerate all go-files, to make sure that the files are consistent.


The installation

I'm using the python 2.7 and the package versions specified in the requirements.txt file, but the modules cannot be installed.

How can I install the required modules correctly?
Thank you very much！

@king-zkai I was facing error with python 2.7 virtaul env setup. I just installed the 3 required packages without any specified version and the program ran as expected for python2.


GRUB install failure on recent master

Issue description
A nixos-rebuild switch ends with the following:
building path(s) ‘/nix/store/1vwmbbk863daaph4s3j3yi0mappxk19k-nixos-system-andromedae-17.03.git
.6e2d15c’
updating GRUB 2 menu...
installing the GRUB 2 boot loader on /dev/sda...
Installing for i386-pc platform.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x14866f0] dtree
 [0x14867d0] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1486930] dtree
 [0x148bd50] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1486930] dtree
 [0x148bd50] dtree
Internal error: Unreleased memory pool(s) found.
You have a memory leak (not released memory pool):
 [0x1486930] dtree
 [0x148bd50] dtree
Internal error: Unreleased memory pool(s) found.
/nix/store/1wgbs2w2qq4zr7rl57lll605lj35wshm-grub-2.x-2015-11-16/sbin/grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/nix/store/1wgbs2w2qq4zr7rl57lll605lj35wshm-grub-2.x-2015-11-16/etc/default/grub'.
/nix/store/n6f6r34ni21zyj4xddw72bci4klk81j8-install-grub.pl: installation of GRUB on /dev/sda failed
warning: error(s) occurred while switching to the new configuration

Steps to reproduce

nixpkgs commit 4488203d0c01671ef2b73e858c316865953bb3c0
nixos-rebuild switch

Technical details

System: NixOS: 17.03.git.4488203
Nix version:nix-env (Nix) 1.11.4
Nixpkgs version: 17.03.git.4488203d0c

Do you have grub on an encrypted partition and have boot.grub.enableCryptodisk = true;?

@globin, no, I don't have that option specified anywhere at all.  Also, the error has since disappeared after moving to a fresher master.

/nix/store/1wgbs2w2qq4zr7rl57lll605lj35wshm-grub-2.x-2015-11-16/sbin/grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set GRUB_ENABLE_CRYPTODISK=y' in file /nix/store/1wgbs2w2qq4zr7rl57lll605lj35wshm-grub-2.x-2015-11-16/etc/default/grub'.
That seemed to say that, no idea what the issue was then, so I'm closing this, please reopen if it occurs again.