Clean the Messed up utils!

🐞 Problem
The utils module is currently too messed up.
🎯 Goal

💡 Possible solutions
Make necessary changes to clean it. Refactor modules, code.

📋  Steps to solve the problem

Comment below about what you've started working on.
Add, commit, push your changes
Submit a pull request and add this in comments - Addresses #<put issue number here>
Ask for a review in comments section of pull request
Celebrate your contribution to this project 🎉

It is a serious issue and it can addressed after an extensive discussion here about the new structure of utils.

How about making coordinates into an object with methods, instead of using many functions to transform between coordinates? And probably split the other files in utils into meaningful modules.

That's correct. I will suggest making a base class for coordinates and writing other coordinates class on top of it!

Creating a whole new infrastructure for Coordinates

Some proposed changes from my side.
We need some changes in the parameters of functions in utils namely, kerr_utils.py,kerrnewman_utils.py, schwarzschild_utils.py when #128 is merged.

Firstly, wherever the functions take Rs, i.e schwarzschild radius as an input, replace them with M,G, and c and calculate Rs = 2*G*M/(c**2) inside the function itself. We can't expect the user to supply schwarzschild radius. While implementing it, leave out function delta() in both kerr_utils.py and kerrnewman_utils.py.
Currently functions are like func(c, G, Cc, r, theta.....). Here the fundamental constants need to be optional arguments and therefore, should be last few parameters.

c is Speed of light. Default value : einsteinpy.constant.c.value
G is gravitational constant. Default value : einsteinpy.constant.G.value
Cc is coulomb's  constant. Default value : einsteinpy.constant.coulombs_const.value

Firstly, wherever the functions take Rs, i.e schwarzschild radius as an input, replace them with M,G, and c and calculate Rs = 2GM/(c**2) inside the function itself. We can't expect the user to supply schwarzschild radius. While implementing it, leave out function delta() in both kerr_utils.py and kerrnewman_utils.py.

We have a function to calculate exactly that!

Firstly, wherever the functions take Rs, i.e schwarzschild radius as an input, replace them with M,G, and c and calculate Rs = 2_G_M/(c**2) inside the function itself. We can't expect the user to supply schwarzschild radius. While implementing it, leave out function delta() in both kerr_utils.py and kerrnewman_utils.py.

We have a function to calculate exactly that!

I believe the function takes input along with astropy.units, maybe we ca make a separate private function to take in normal float & integers.

Can be closed for now :)


Recursive definitions not supported

The JSON schema spec allows for self-referential schemas with $ref - at the moment this causes an error. See fiddle here: https://jsfiddle.net/4gk0bv2z/

hi did you solve this problem?

No unfortunately.. I switched to react-jsonschema-form by mozilla.. seems to be very well supported

hah, ok, thanks for your reply, I think I should also switch to react-jsonschema-form, it seems more reliable.
could you give me an example about array $ref in react-jsonschema-form that you switch from this json-forms, many thanks!! :)

Hi @stringfellow another question, did react-jsonschema-form can complete dynamic selection like http://brutusin.org/json-forms/ this page shows, thanks a lot!! :)

@OYE93 react-jsonschema-form supports a limited version of dynamic schemas, see https://react-jsonschema-form.readthedocs.io/en/latest/dependencies/#dynamic

@epicfaace thanks, I'll try it, hope it could be helpful.


tests: deprecate 14-policy-enforcement-docker.sh

Corresponding Ginkgo test has been marked as validated already.
Signed-off by: Ian Vernon<EMAIL_ADDRESS>Related-to: #1841

test-me-please


IOS Return (an Invalid) Token before User gives Push Permission

Bug Report
The very first time this plugin is used on iOS using FCM after PushNotification.init({} the plugin return a token  before the user accept to grant permission. The resulting token is invalid and con not be used to send push notification. The second time the application run everything  works fine. When the app already has permission granted it works as supposed.
Expected Behaviour
The plugin should return the token after user accept to grant permission.
Actual Behaviour
The token is generated immediately before user grant permission
Reproduce Scenario (including but not limited to)
It happens the very first time you are using the plugin
Steps to Reproduce
Uninstall the application using the plugin
Install the application using the plugin
Enter the app and activate push notification (or if it is automatic, just enter the app)
From the log you will see the plugin return the token before user accept to receve push notification (ios dialog)
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Ipad iOS15.3.1

This is interesting and should be somehow fixed...
I thought the issue is that I have only taken the token from first registration event (I saw in Xcode console that there is a new FCM token issued right after giving permission, with The FCM registration token needs to be changed message).
I have reworked my code to update the token every time registration event fires, and confirmed that the token I have on my server is the token I got in my app, also it is the same as in Xcode logs. Logs also say "Push Plugin register success" at the end.
Despite this, I am not receiving notifications until I restart the app.

This issue has been resolved. A new version of the plugin will be released shortly.


Fix .last grenade's player rotation

Fix .last lineup rotation.
Now it will properly teleport the player aiming to the correct angle

Hey!
Thanks for the PR and fixing it!
A couple of people had reported it but I was never able to look into it :P, thanks again!

No worries!
There will be more :D


cbt count returns nothing

Hey,
I noticed that cbt count doesn't give the count of objects in the table anymore.
Printing the value was removed in this commit.
Is this on purpose? Shouldn't cbt count actually print the count, not just calculate it for no use?
I might be missing some broader context of this change, but I'd love to be able to read the count.
Client
cbt
Describe Your Environment
N/A
Expected Behavior
cbt count should return the number of items in the table
Actual Behavior
cbt count returns nothing.

It is merged to master in this repo, but gcloud has its own separate release process. We'll update this issue when it's in gcloud. In the meantime, you can run
 go get -u cloud.google.com/go/bigtable/cmd/cbt

and use $GOPATH/bin/cbt.

This is fixed in Cloud SDK 214.0.0.
https://cloud.google.com/sdk/docs/release-notes


Nuget Packager - how to specify GitVersion variables?

Hi, i'm trying to use the GitVersion provide variables within the NugetPackager task, but it seems that the variable name is passed as an argument to the task?

You can pass the following to the NuGet Arguments in the Advanced section of the NuGet Packager task:
-Version $(GitVersion.NuGetVersion)

It is not working, i got the following error message in the Nuget Packager log:
##[error]'$(GitVersion.NuGetVersion)' is not a valid version string.
##[error]Parameter name: version
##[error]Unexpected exit code 1 returned from tool NuGet.exe

This is my Advanced argument line:
-BasePath $(Build.SourcesDirectory)\bin\$(BuildConfiguration) -Version $(GitVersion.NuGetVersion)

It seems that the variable is not resolved
2015-10-05T12:40:19.9426002Z Creating Nuget Arguments:

2015-10-05T12:40:19.9546014Z --ARGS: pack C:\TfsData\Build\_work\bd47983a\Datacoll.HeaderFooter\SAPATG.Datacoll.HeaderFooter\NuGetPackageSupport\SAPATG.Datacoll.HeaderFooter.TF.nuspec -OutputDirectory C:\TfsData\Build\_work\bd47983a\Artifacts\staging -Properties Configuration= -BasePath C:\TfsData\Build\_work\bd47983a\Datacoll.HeaderFooter\bin\debug -Version $(GitVersion.NuGetVersion)

How are you running GitVersion and which version?
You need to use the GitVersion VSO task to make this work, and which obviously needs to run before the NuGet Packager task (there's some documentation available here)

GitVersion VSO Task 3.1.2 and GitVersion Step is before Nuget Packager Step

Looks fine to me...
What's the output of the GitVersion Task?
Are you on the hosted build agent or on a private agent?

I'm running on TF2015. Here is the output fro the GitVersion task
2015-10-05T12:40:06.2292290Z Executing the following commandline. (workingFolder = C:\Program Files\Microsoft Team Foundation Server 14.0\Build\tasks\GitVersion\3.1.2)
2015-10-05T12:40:06.2292290Z C:\Program Files\Microsoft Team Foundation Server 14.0\Build\tasks\GitVersion\3.1.2\GitVersion.exe "C:\TfsData\Build\_work\bd47983a\Datacoll.HeaderFooter" /output buildserver /updateAssemblyInfo true /nofetch
2015-10-05T12:40:06.2302291Z Error message highlight pattern:
2015-10-05T12:40:06.2302291Z Warning message highlight pattern:
2015-10-05T12:40:06.3002361Z INFO [10/05/15 14:40:06:29] Working directory: C:\TfsData\Build\_work\bd47983a\Datacoll.HeaderFooter
2015-10-05T12:40:06.3042365Z INFO [10/05/15 14:40:06:30] Applicable build agent found: 'VsoAgent'.
2015-10-05T12:40:06.3052366Z INFO [10/05/15 14:40:06:30] Branch from build environment: refs/heads/develop
2015-10-05T12:40:06.3782439Z INFO [10/05/15 14:40:06:37] One remote found (origin -> 'http://xxxx/tfs/DefaultCollection/_git/Datacoll.HeaderFooter').
2015-10-05T12:40:06.3802441Z INFO [10/05/15 14:40:06:37] Skipping fetching, if GitVersion does not calculate your version as expected you might need to allow fetching or use dynamic repositories
2015-10-05T12:40:06.4282489Z INFO [10/05/15 14:40:06:42] Creating local branch refs/heads/develop
2015-10-05T12:40:06.4972558Z INFO [10/05/15 14:40:06:49] Skipping update of 'refs/remotes/origin/develop' as it already matches the remote ref.
2015-10-05T12:40:06.5062567Z INFO [10/05/15 14:40:06:49] Skipping update of 'refs/remotes/origin/master' as it already matches the remote ref.
2015-10-05T12:40:06.5072568Z INFO [10/05/15 14:40:06:49] HEAD points at branch 'refs/heads/develop'.
2015-10-05T12:40:06.5072568Z INFO [10/05/15 14:40:06:49] Project root is: C:\TfsData\Build\_work\bd47983a\Datacoll.HeaderFooter
2015-10-05T12:40:06.5162577Z INFO [10/05/15 14:40:06:51] Using latest commit on specified branch
2015-10-05T12:40:06.5432604Z INFO [10/05/15 14:40:06:54] Running against branch: develop (878cd6abedc664f1919e9915db8d573b18949690)
2015-10-05T12:40:06.5552616Z INFO [10/05/15 14:40:06:55] Begin: Calculating base versions
2015-10-05T12:40:06.5922653Z   INFO [10/05/15 14:40:06:59] Fallback base version: 0.1.0 with commit count source 3c2d4f739cff930d2f3b57ca8a8e19822605bf26
2015-10-05T12:40:06.6742735Z   INFO [10/05/15 14:40:06:67] Git tag '1.0.13217.101': 1.0.13217+101 with commit count source 85d1a2986ddfa20f1a82ff6285082253e6126749
2015-10-05T12:40:06.6892750Z   INFO [10/05/15 14:40:06:68] Git tag '1.0.13149.2': 1.0.13149+2 with commit count source dd2212216a3d65e38529684e047cb5d2bc84be3b
2015-10-05T12:40:06.7032764Z   INFO [10/05/15 14:40:06:70] Git tag '<IP_ADDRESS>': 1.0.0+0 with commit count source b872ed08bd02ba97e474a89f93f605aa274ff910
2015-10-05T12:40:06.7272788Z   INFO [10/05/15 14:40:06:72] Merge target tagged '1.0.13217.101': 1.0.13217+101 with commit count source 85d1a2986ddfa20f1a82ff6285082253e6126749
2015-10-05T12:40:06.7462807Z   INFO [10/05/15 14:40:06:74] Merge target tagged '1.0.13149.2': 1.0.13149+2 with commit count source dd2212216a3d65e38529684e047cb5d2bc84be3b
2015-10-05T12:40:06.7582819Z   INFO [10/05/15 14:40:06:75] Merge target tagged '<IP_ADDRESS>': 1.0.0+0 with commit count source b872ed08bd02ba97e474a89f93f605aa274ff910
2015-10-05T12:40:06.7892850Z   INFO [10/05/15 14:40:06:78] Found multiple base versions which will produce the same SemVer (1.1.0), taking oldest source for commit counting (Git tag '<IP_ADDRESS>')
2015-10-05T12:40:06.7892850Z   INFO [10/05/15 14:40:06:78] Base version used: Merge target tagged '<IP_ADDRESS>': 1.0.0+0 with commit count source b872ed08bd02ba97e474a89f93f605aa274ff910
2015-10-05T12:40:06.7892850Z INFO [10/05/15 14:40:06:78] End: Calculating base versions (Took: 234.02ms)
2015-10-05T12:40:06.8172878Z INFO [10/05/15 14:40:06:81] 59 commits found between b872ed08bd02ba97e474a89f93f605aa274ff910 and 878cd6abedc664f1919e9915db8d573b18949690
2015-10-05T12:40:06.8332894Z INFO [10/05/15 14:40:06:83] Applicable build agent found: 'VsoAgent'.
2015-10-05T12:40:06.8332894Z Executing GenerateSetVersionMessage for 'VsoAgent'.
2015-10-05T12:40:06.8342895Z Executing GenerateBuildLogOutput for 'VsoAgent'.
2015-10-05T12:40:06.8412902Z Updating assembly info files

The agent that ships with TFS2015 won’t support the set variable feature necessary for this to work.
From: Pitt<EMAIL_ADDRESS>Sent: Monday, October 5, 2015 9:31 AM
To: Microsoft/vso-agent-tasks<EMAIL_ADDRESS>Subject: Re: [vso-agent-tasks] Nuget Packager - how to specify GitVersion variables? (#613)
I'm running on TF2015. Here is the output fro the GitVersion task
2015-10-05T12:40:06.2292290Z Executing the following commandline. (workingFolder = C:\Program Files\Microsoft Team Foundation Server 14.0\Build\tasks\GitVersion\3.1.2)
2015-10-05T12:40:06.2292290Z C:\Program Files\Microsoft Team Foundation Server 14.0\Build\tasks\GitVersion\3.1.2\GitVersion.exe "C:\TfsData\Build_work\bd47983a\Datacoll.HeaderFooter" /output buildserver /updateAssemblyInfo true /nofetch
2015-10-05T12:40:06.2302291Z Error message highlight pattern:
2015-10-05T12:40:06.2302291Z Warning message highlight pattern:
2015-10-05T12:40:06.3002361Z INFO [10/05/15 14:40:06:29] Working directory: C:\TfsData\Build_work\bd47983a\Datacoll.HeaderFooter
2015-10-05T12:40:06.3042365Z INFO [10/05/15 14:40:06:30] Applicable build agent found: 'VsoAgent'.
2015-10-05T12:40:06.3052366Z INFO [10/05/15 14:40:06:30] Branch from build environment: refs/heads/develop
2015-10-05T12:40:06.3782439Z INFO [10/05/15 14:40:06:37] One remote found (origin -> 'http://xxxx/tfs/DefaultCollection/_git/Datacoll.HeaderFooter').
2015-10-05T12:40:06.3802441Z INFO [10/05/15 14:40:06:37] Skipping fetching, if GitVersion does not calculate your version as expected you might need to allow fetching or use dynamic repositories
2015-10-05T12:40:06.4282489Z INFO [10/05/15 14:40:06:42] Creating local branch refs/heads/develop
2015-10-05T12:40:06.4972558Z INFO [10/05/15 14:40:06:49] Skipping update of 'refs/remotes/origin/develop' as it already matches the remote ref.
2015-10-05T12:40:06.5062567Z INFO [10/05/15 14:40:06:49] Skipping update of 'refs/remotes/origin/master' as it already matches the remote ref.
2015-10-05T12:40:06.5072568Z INFO [10/05/15 14:40:06:49] HEAD points at branch 'refs/heads/develop'.
2015-10-05T12:40:06.5072568Z INFO [10/05/15 14:40:06:49] Project root is: C:\TfsData\Build_work\bd47983a\Datacoll.HeaderFooter
2015-10-05T12:40:06.5162577Z INFO [10/05/15 14:40:06:51] Using latest commit on specified branch
2015-10-05T12:40:06.5432604Z INFO [10/05/15 14:40:06:54] Running against branch: develop (878cd6abedc664f1919e9915db8d573b18949690)
2015-10-05T12:40:06.5552616Z INFO [10/05/15 14:40:06:55] Begin: Calculating base versions
2015-10-05T12:40:06.5922653Z   INFO [10/05/15 14:40:06:59] Fallback base version: 0.1.0 with commit count source 3c2d4f739cff930d2f3b57ca8a8e19822605bf26
2015-10-05T12:40:06.6742735Z   INFO [10/05/15 14:40:06:67] Git tag '1.0.13217.101': 1.0.13217+101 with commit count source 85d1a2986ddfa20f1a82ff6285082253e6126749
2015-10-05T12:40:06.6892750Z   INFO [10/05/15 14:40:06:68] Git tag '1.0.13149.2': 1.0.13149+2 with commit count source dd2212216a3d65e38529684e047cb5d2bc84be3b
2015-10-05T12:40:06.7032764Z   INFO [10/05/15 14:40:06:70] Git tag '<IP_ADDRESS>': 1.0.0+0 with commit count source b872ed08bd02ba97e474a89f93f605aa274ff910
2015-10-05T12:40:06.7272788Z   INFO [10/05/15 14:40:06:72] Merge target tagged '1.0.13217.101': 1.0.13217+101 with commit count source 85d1a2986ddfa20f1a82ff6285082253e6126749
2015-10-05T12:40:06.7462807Z   INFO [10/05/15 14:40:06:74] Merge target tagged '1.0.13149.2': 1.0.13149+2 with commit count source dd2212216a3d65e38529684e047cb5d2bc84be3b
2015-10-05T12:40:06.7582819Z   INFO [10/05/15 14:40:06:75] Merge target tagged '<IP_ADDRESS>': 1.0.0+0 with commit count source b872ed08bd02ba97e474a89f93f605aa274ff910
2015-10-05T12:40:06.7892850Z   INFO [10/05/15 14:40:06:78] Found multiple base versions which will produce the same SemVer (1.1.0), taking oldest source for commit counting (Git tag '<IP_ADDRESS>')
2015-10-05T12:40:06.7892850Z   INFO [10/05/15 14:40:06:78] Base version used: Merge target tagged '<IP_ADDRESS>': 1.0.0+0 with commit count source b872ed08bd02ba97e474a89f93f605aa274ff910
2015-10-05T12:40:06.7892850Z INFO [10/05/15 14:40:06:78] End: Calculating base versions (Took: 234.02ms)
2015-10-05T12:40:06.8172878Z INFO [10/05/15 14:40:06:81] 59 commits found between b872ed08bd02ba97e474a89f93f605aa274ff910 and 878cd6abedc664f1919e9915db8d573b18949690
2015-10-05T12:40:06.8332894Z INFO [10/05/15 14:40:06:83] Applicable build agent found: 'VsoAgent'.
2015-10-05T12:40:06.8332894Z Executing GenerateSetVersionMessage for 'VsoAgent'.
2015-10-05T12:40:06.8342895Z Executing GenerateBuildLogOutput for 'VsoAgent'.
2015-10-05T12:40:06.8412902Z Updating assembly info files
—
Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fvso-agent-tasks%2Fissues%2F613%23issuecomment-145528045&data=01|01|Chris.Patterson%40microsoft.com|ef798581317540bbf94508d2cd8930d8|72f988bf86f141af91ab2d7cd011db47|1&sdata=f4YJm%2B%2FIB36AsGMcQ1mA3082EeG8gFfG%2FOwviZFq8CI%3D.

This won't work on TFS2015 on prem as mentioned by @chrisrpatterson due to limitation in the agent. There was a note in the GitVersion documentation about this, which was removed since this is implemented now in VSO, but might be a good idea to add it back for the On-Prem case.

As a workaround you can use environment variables. The GitVersion task also writes environment variables which you can use in a custom script later to call ´NuGet.exe pack´ directly without using the NuGet Packager task

I added a note about this to the GitVersion documentation (GitTools/GitVersion#667)

I'll try the workaround. Is there any way to update the OnPrem agent, or do i need to wait for the next release?

@Pitterling You can download an agent from a VSO instance and manually update your on-premise agents. (Paste the files over the top).

You don't want to be downloading agents from one instance (like VSO) and applying it to other instances (on-prem etc...).  The agent should be downloaded from the instance of TFS it is serving.

@Pitterling @RDalziel that is not a supported option.  It is very likely that the agent we have in VSO will not work with the on-prem server.  You must use the version of the agent that ships with your server.

Apologies chaps, what issues do you see here? I've already took this route as the workarounds for things like GitVersion were not available.

The behavior is undefined/untested.  It may work, may not.  The design is for agents to get pulled forward via an auto update process downloaded from your service.  The auto update process may alter configs/layout on disk, whatever.  That future agent might call REST apis that don't exist, etc... The primary focus for agents is on forward compat so they can lazily get upgraded (via task minimum agent demand, on restart or eventually a scheduled job)

Thanks Bryan, cheers for the additional info! I haven't had any issues to report yet but i'll know to revert back to the in-the-box on premise version should they occur.

@Pitterling is this resolved for you? We're investigating some work to make versioning NuGet packages easier. In the meantime this thread has the best practices.

Yes, On TFS i'm using the workaround and on VSTS the "set variable feature" thx.

Are there any updates on versioning nuget packages easier ?
Bruno

@brunobertechini the "NuGet Packager" has been enhanced .. see screenshot
I'm using the GitVersion task to create the Environment variable which is used here:

@Pitterling are you saying this works for you? I have a similar setup on VSO and get the following error
    2016-09-30T01:01:56.2152237Z ##[error]Missing option value for: '-version'

@robbihun I think environment variables are called GitVersion_NuGetVersion (with _ instead of .)
Since you are using the GitVersion VSTS task you can also just pass the following argument in the NuGet Arguments field: -Version $(GitVersion.NuGetVersion).
This will pass the VSTS variable which was set by the GitVersion VSTS task to NuGet.

@robbihun @pascalberger thats right. haven't checked for a long time ... GitVersion_NuGetVersion works for me.

Also using the Environment Variable Build.BuildNumber (which is updated by GitVersion) is passed as empty...


End-to-end tests of UI

We should test pushing an application via the UI in the e2e tests.

We already test all the features included in the Rancher UI (https://github.com/epinio/epinio-end-to-end-tests).

The missing thing is that we cannot execute those test suites on the Standalone UI due to https://github.com/epinio/ui/issues/88
I think this issue can be closed.

I'm closing this issue, feel free to re-open if I misunderstood your request.


Filters USB devices to not be listed in disk selection dialog. Add a config value to allow USB devices to show in selection dialog. Fixes installation on USB devices.

This PR fixes the installation on USB devices:

USB devices are filtered out by default and not offered as installation devices
A new config value allows optionally to disable the USB filter, show USB devices in the selection dialog and allow the installation
A change in the mig module fixes the issue with failed installations on USB devices

Looks good to me but also includes the changes from your other PR
It's good practice to use different branches for each topic so I'm not forced to merge everything all together
I will in this case.. but it will have to wait a few more days so have the time to test it more thoroughly as it's a bigger set of changes now :)
Thanks for the contentions!

Right, I branched from the previous branch instead of main. I will keep that in mind next time.


Playing from file not working

I can't play the song for some reason. It's stored locally. Would you mind commenting below an example of what it would look like. Right now, I have:
<ReactPlayer playing={true} controls={true} className='react-player' url='../public/moldau.mp3' width='100%' height='100%'/>

I'm having this same issue and I've even tried using the full path but it doesn't work

The file isn't hosted anywhere it's local only.

Chrome (and possibly other browsers) don't let you access your local file system by default, for security reasons. See this StackOverflow thread for information on allowing local file access with Chrome, but be wary of the security risks. A safer bet would be to run a simple web server locally.

I went the local server route, didn't even think of that. Thank You!


[Quest] - Re-Sync App configs once a user logs back into the  app post logout

Describe the bug
Subsequent sync do not re-sync application configurations.
To Reproduce
Steps to reproduce the behaviour:

Update config via postman
Logout current user
Login
Confirm if the app config is updated.

Expected behaviour
App configs should be resynced when the user re-logs in
Screenshots
N/A
Additional context
N/A

This sounds like a sub-problem of the more general problem that is when do we update the app configs? Even if a user stays logged in we might want to force the app configs to resync, or let the user manually resync the app configs, the former is probably better since the server will know the app configs are updated before the user.

In the current setup, Binary resources are synced first time after providing appId, on post login syncs that Binary resources are ignored whereas other resource types are synced. One of the solution would be to have an action somewhere in the app settings UI for manually triggering configs re-sync, the alternative is to use some sort of push notification from the HAPI FHIR server to notify the client app when configs are updated.

Or we can support both approaches, the manual trigger being the easier route.

@ellykits Does Compose need a reload for the state to change? i.e if we sync the configs while the app is in use how to effectively diasble|enable functionalities based on the configs?
If it doesn't then I would rather we leave it at login.  So every time we log in the app tries to fetch any config changes before moving to the home/registers


How to use

Great, it's important to provide clear documentation for how to use your application. Based on your description, here's some documentation for your Streamlit app:
Using the Streamlit App

Load the Page: Open the Streamlit app, and you'll be presented with a page of input items.

Input Items: Each input item represents a data node and includes the following information:

ID: This is the unique identifier for the data node.

URL: The URL associated with the data node.

Run Inference Button: Each input item has a button labeled "Run Inference." This button is used to trigger the execution of a selected workflow on the associated data node.

Select Workflow: At the bottom of the page, there is a selector that allows you to choose which workflow you want to run on the data nodes. This workflow determines the processing that will be applied to the data nodes.

Paging Controls:

Starting ID: The "Starting ID" field allows you to specify the node from which you want to start paging through the data. Enter the ID of the node you want to start from.

Page Size: The "Page Size" field specifies how many data nodes you want to display on the current page.

Paging Forward: To page forward and view the next set of data nodes, you need to copy the ID of the last node displayed on the current page and paste it into the "Starting ID" field. Then, click the "Run Workflow" button again to apply the workflow to the next set of data nodes.

Applying Workflow: To execute the selected workflow on a specific data node, click the "Run Inference" button associated with that node.

Results: The results of the workflow execution will be displayed on the page.

This documentation should provide users with clear instructions on how to interact with your Streamlit app, including how to navigate between data nodes and apply workflows. You can also add any additional details or context that you think would be helpful for users.

https://vimeo.com/863808626
org-clarifai.streamlit.app


Missing entry in the envoy.json configuaration when TCPMapping is used and TLS origination is enabled

### Description:
When the communication between a client and the application running on the pod needs to be encrypted end-to-end you need to enable both TLS termination and TLS origination. In my case I need TLS origination but no specific certificate need to be provided to the application to authenticate. Additionally the application use a protocol different than HTTP (but in some cases also HTTP is used)
In order to do that you need to create a TLSContext and TCPMapping objects. However when the /envoy/envoy.json file is generated in the ambassador pod, there is one line missing which prevent the communication from working correctly.
This is a snippet of the envoy.json generated with ambassador 1.14.2

            "filter_chain_match": {
              "server_names": [
                "my.app.on.cloud"
              ]
            },
            "filters": [
              {
                "name": "envoy.filters.network.tcp_proxy",
                "typed_config": {
                  "@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy",

Note that "my.app.on.cloud" is the FQDN used to reach the application from internet.
The envoy.json generated with ambassador 2.0.4 is almost the same but one line: "transport_protocol": "tls"
            "filter_chain_match": {
              "server_names": [
                "my.app.on.cloud"
              ],
              "transport_protocol": "tls"
            },
            "filters": [
              {
                "name": "envoy.filters.network.tcp_proxy",
                "typed_config": {
                  "@type": "type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy",

Without this additional line I can only validate the handshake with the following command:
openssl s_client -connect X.X.X.X:443 -servername "my.app.on.cloud"
The correct certificate is picked up and the handshake is successful however any attempt to reach the application is failing and the ambassador log reports errors like this:
"- - HTTP/1.1" 400 DPE 0 11 0 - "-" "-" "-" "-" "-"
It seems like the protocol is wrongly detected as HTTP.
However even if I specify in the TCPMapping the HTTPS application service port and I run this command:
 curl -Lki -H "Host: my.app.on.cloud" https://X.X.X.X/myapp
I still get an error:
GET /myapp HTTP/1.1" 404 NR 0 0 0 - "<IP_ADDRESS>" "curl/7.55.1" "xxx" "my.app.on.cloud" "-"
### Workaround:
To let it working I performed these steps:

Enter the ambassador pod (the replica is set to 1 so there is only one pod)
Manually edit the file envoy.json and add the missing line
Restart the envoy process with this command: kill $(pidof envoy) && envoy -c /ambassador/bootstrap-ads.json --base-id 0 --drain-time-s 600 -l error --bootstrap-version 3

This allow both HTTP and non-HTTP communications to work correctly.
However once the pod restart the edited configuration is lost and the previous one is restored.
Is there a way to force the edited version permanently ?
### Steps to reproduce the behavior:

Deploy ambassador 1.14.2
Deploy and application myapp which only support TLS encrypted traffic on its port
Create the following objects:

apiVersion: getambassador.io/v2
kind: TLSContext
metadata:
  name: ambassador-host-tls
  namespace: myns
spec:
  ambassador_id: [ "ambassador1" ]
  hosts:
   - my.app.on.cloud
  secret: ambassador-tls
  min_tls_version: v1.2
---
apiVersion: getambassador.io/v2
kind: TCPMapping
metadata:
  name:  ambassador-mapping
  namespace: myns
  spec:
  ambassador_id: [ "ambassador1" ]
  port: 8443
  host: my.app.on.cloud
  host_regex: false
  service: myapp-test-deploy-service:8443
  tls: true

### Versions:

Ambassador: 1.14.2
Kubernetes environment: Google Kubernetes Engine
Version : not sure how I can figure out the GKE version

NOTE: I can't use ambassador 2.0.4 because there are already other 1.x.x ambassador versions deployed in the cluster and as stated in the documentation the CRD are incompatible with each other and can't be created for both versions.

Upgrade path is now supported by apiext: Emissary-ingress 2.1.2 and Edge Stack 2.1.2 facilitates a smoother migration from a 1.x installation  The 2.1.2 install comes with additional pods running a webhook that translates your 1.x (v2) CRDs into 2.1 (v3alpha1) CRDs. Your existing 1.x configuration will run alongside the 2.1.2 install so you can transfer over.


Cloud-Native: Typo fixed in definition.md

Summary
I fixed the typo in https://github.com/dotnet/docs/blob/main/docs/architecture/cloud-native/definition.md .

Hi @IEvangelist and @nishanil. Could you review my change?

I am ok with this change. @IEvangelist  Are there any docs guidelines on this one?

I am ok with this change. @IEvangelist Are there any docs guidelines on this one?

Nothing that I am aware of, I believe this fix is correct.


Have default fallback for units and shape

See also https://gitlab.com/yaq/yaqd-ni/-/issues/7
This is the quick and dirty fix for a problem encountered with the NI daq... A more proper fix would occur with that daemon, but this is both easier and ensures that other daemons which should define those but don't still will work as expected...
Another consideration would be to use https://docs.python.org/3/library/collections.html?highlight=defaultdict#collections.defaultdict though that does not serialize, of course, so likely not the right call...

@ksunden please update CHANGELOG.md, then self-merge :smile:


Env Var Spaces

@Vulfox
On a side note, what do you think about changing the current check to (below)?
This seems to be a better check, in case a user passes a valid key but leaves spaces or tabs in it.
"   EXAMPLE_ENV_VAR":     "test123",

for key, val := range envVars {
               key = strings.Trim(key, " ")
		if  key == "" {
 			continue
 		}
}


Make implicit nullable types explicit

Branch 1.x is the one we can use with Symfony HttpClient at the moment

How is this an improvement?

@Bilge It will fix the deprecations of https://wiki.php.net/rfc/deprecate-implicitly-nullable-types in PHP 8.4.

@nicolas-grekas We sadly cannot trivially merge that into 1.x currently as the minimum supported version for the 1.x branch is 7.0, which doesn't know about nullable types.
I'm not sure what the best way forward here is.

Just increase the minimum supported version. Doing so does not require a new major.

@nicolas-grekas Thanks!
@bwoebi The way forward is quite obvious: Increase the minimum version to 7.1 as we did in most libraries already, e.g. amphp/socket.


UNI-1116 Added functionality to format values without rounding

By default, the .toLocaleString() function used when formatting performs rounding of the number when set to 2 digits. This PR contains changes that adds a rounded paramater to the format() function allowing it to be formatted without rounding.

Message from @kingjacob
"Tested on preview link and not fixed. Max = 1.00/1.005 should come back with ~0.995 which should display as 0.99 not 1.00.
On calculating borrow prefills we can never round up. And repay we can never round down.
above account is 0x10797cA7684310b988f114F157EeD6933Fe70c07"

Available credit on / is now different from borrow modal as of this change.


python3-ready

added null-checks to prevent fails
added date to the parser

right, probably, python3-eady is too loud name for the PR, but it's python3-ready for mailgun parser at least, it is used in tested in our settings. We just want to use the repository directly, instead of code embedding.

The latest version 0.11.2 is now Py3 ready.


Better to turn off USE_OPENMP when build with AppleClang

It is better to change
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
    message(FATAL_ERROR "AppleClang isn't supported. Please see https://github.com/Microsoft/LightGBM/blob/master/docs/Installation-Guide.rst#macos")

to
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
    SET(USE_OPENMP OFF CACHE BOOL "Enable OpenMP" FORCE)

Thus, macos with default xcode clang can build without openmp, and macos with gcc can build with openmp.

ping @guolinke

I think building a single-thread LightGBM version isn't a good choice, since the algorithm is designed for high performance usage.

Well, libomp can be installed >= el_capitan by homebrew https://github.com/Homebrew/homebrew-core/blob/master/Formula/libomp.rb
After install, it says
On Apple Clang, you need to add several options to use OpenMP's front end
instead of the standard driver option. This usually looks like
  -Xpreprocessor -fopenmp -lomp

You might need to make sure the lib and include directories are discoverable
if /usr/local is not searched:

  -L/usr/local/opt/libomp/lib -I/usr/local/opt/libomp/include

For CMake, the following flags will cause the OpenMP::OpenMP_CXX target to
be set up correctly:
  -DOpenMP_CXX_FLAGS="-Xpreprocessor -fopenmp -I/usr/local/opt/libomp/include" -DOpenMP_CXX_LIB_NAMES="omp" -DOpenMP_omp_LIBRARY=/usr/local/opt/libomp/lib/libomp.dylib
==> Summary
🍺  /usr/local/Cellar/libomp/5.0.1: 10 files, 1MB

I haven't figured out how to modify the cmake files, but I guess Apple Clang + OpenMP can be supported soon.

When I run cmake command as suggested cmake -DOpenMP_CXX_FLAGS="-Xpreprocessor -fopenmp -I/usr/local/opt/libomp/include" -DOpenMP_CXX_LIB_NAMES="omp" -DOpenMP_omp_LIBRARY=/usr/local/opt/libomp/lib/libomp.dylib ..
It fails with /usr/local/Cellar/cmake/3.9.1/share/cmake/Modules/FindOpenMP.cmake:402
CMake Error at /usr/local/Cellar/cmake/3.9.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) (found
  version "1.0")
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.9.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.9.1/share/cmake/Modules/FindOpenMP.cmake:402 (find_package_handle_standard_args)
  CMakeLists.txt:67 (find_package)

After some googling, I find FindOpenMP.cmake will support Apple Clang in 3.12.0 https://gitlab.kitware.com/cmake/cmake/merge_requests/1812/diffs

@levyfan  what's version are you using for Apple Clang?

@chivee
Apple LLVM version 9.1.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin17.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

@levyfan @chivee  welcome to create a PR for the clang with openmp support

Fixed in #1501.


Poorly Named Email Enabled Property

Link
The Docs:
https://supabase.com/docs/guides/cli/config#auth.email.enable_signup
The Code:
https://github.com/supabase/cli/blob/develop/internal/start/start.go#L403
Describe the problem

Is the documentation missing? Or is it confusing? Why is it confusing?

The documentation is very confusing. It says, "Allow/disallow new user signups via email to your project.", but it is used to determine the value of utils.Config.Auth.Email.EnableSignup, which is actually used to set the GoTrue env variable GOTRUE_EXTERNAL_EMAIL_ENABLED. This is very different from signup enabled.
Describe the improvement

A clear and concise description of the improvement.

Honestly, I think the real solution is a breaking change, unfortunately: updating the variable name (and toml setup) to accurately reflect what the variable does. In the meantime thoroughly documenting the weird difference between the name and behavior would be a great start.
Additional context

Add any other context or screenshots that help clarify your question.

None, really.

I took a closer look at this. As far as the hosted platform is concerned, we only expose the external_email_enabled property which is to always set to the same value as Email.EnableSignup. Since we don't distinguish these properties on the platform side, I think it's ok to leave it the same way on local dev as well.


items menu is empty when show as bottomSheet

Hi ,
I need to show the menu when click on NavigationBarItem
I did use
       selectionMenu.show(style: .bottomSheet(barButton: settingsButton, height: nil), from: self)
the menu did display but without data !
so I did try all
selectionMenu.show(style: .alert(title: "Select", action: nil, height: nil), from: self)
and
selectionMenu.show(style: .actionSheet(title: nil, action: "Done", height: nil), from: self)
but also without any data !
BTW always I get this error :

2019-12-21 23:11:00.247543+0300 MyApp[36727:1703876] [LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x60000285a850 UIView:0x7fb0e779f750.width == - 16   (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x60000285a850 UIView:0x7fb0e779f750.width == - 16   (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.

only when I display it as push
I get the data !
selectionMenu.show(style: .push, from: self)
and I don't get any error !

@X901 Thanks for you using this library.
I've added an example here to demonstrate how to use Bottom Sheet with a custom class for UITableViewCell.
You can also refer this with latest example code.

I follow your code , I did copy everything from you code . and I did add it to my project
still doesn't apper !
see the image
https://share.getcloudapp.com/RBuX9JoE
your example project working without issue ! even on iPad !
very wired issue =\

@X901 Can you share your code?

I did try to give you Demo by delete anything else not related in my project
and unexpected it working fine !!!
that mean there is issue with my code that let your library don't show data , still I don't know what is it.

I did tried diffrent library
https://github.com/Kofktu/KUIPopOver
I faced the same issue !
but after I did it without any library it, working fine without any issue !!
Unfortunately I don't find out what is the reason
very weird issue it only happend on current project only !


QuantumCircuit methods need examples and better documentation

What is the expected enhancement?
QuantumCircuit methods need inline examples in their docstrings and, in some cases, much better descriptions, e.g. "Apply X to q." -> "Apply an X-gate to the specified qubit.  An X-gate corresponds to a pi rotation about the x-axis on the Bloch sphere."

I will be taking this up and provide some examples in docstrings for QuantumCircuit methods located in qiskit/extensions/standard/* folder.


Output connection lines do not align when importing the saved data

Hi,
As soon as I import the data back onto the canvas, the connection lines (specifically the output) are not aligning up.
When I start from fresh and draw nodes/lines, they connect fine. It's ONLY when I import the data.
Also, as soon as I move a node, the lines automatically fix themselves.
I'm using your  (Fix vertical lines script - editor.createCurvature), because my input/output is top/bottom. Does this refresh or does it need to be called again?
I've looked at the solutions from other posts and have tried implementing those fixes, but still not having any luck aligning the lines again to their respective outputs (when importing).
I've tested both on Chrome and Firefox and Smartphone too, getting the same exact issue across all devices.
I load the editor by default in zoom level 0.8.  I've even reset the zoom levels back to 1 and tried saving it that way, but still no luck.
I've had a look at issue #218. But I'm not zooming out in Chrome (it's at 100%).
This is how I initiate editor:
editor.reroute_fix_curvature = true;
editor.start();
editor.zoom = 0.6;
editor.zoom_max = 0.8;
editor.zoom_min = 0.2;
editor.zoom_refresh();
editor.import(dataToImport);
I've also updated the CSS with:
.drawflow .connection {
position: absolute;
pointer-events: none;
aspect-ratio: 1 / 1;
width: 1000000px;
height: 1000000px;
}
But none of them have helped.
I've attached screenshot for you to see. Any help would be much appreciated.

thanks.

This usually happens because the css has not yet been loaded and drawflow has already been launched.
Do you have the css before the javascript?
If you can't try this other: settimeout

https://github.com/jerosoler/Drawflow/issues/286

Yes, I have all the CSS first loading in between the  tag, and then at the very bottom I have the "drawflow.min.js" script and the rest of the Javascript to initiate and load it.
How would I use the "settimeout" exactly, do I import the "drawflow.min.js" script after a few seconds OR do I put the "editor.start()" in a settimeout function?
thanks.

On editor.start(); or editor.import();
The start and import methods need all the css to be loaded, to correctly get the position of the nodes.

Yeh I gave that a shot and it didn't work. I don't think it's to do with the CSS being delayed.  I set the timeout to 5, 10 seconds, but when drawflow finally loaded/imported, the lines were still out of place.
What I did was, using the editor.on('import') function (which executes once import is done I'm assuming), I loop through all the nodes and update the connections using "updateConnectionNodes()".
But I even had to put this in settimeout function of half a second. But the lines end up being fixed.
Does that give you any clues to what the underlying issue could be?
Hopefully my method won't slow down too much when there are over 50 nodes? What are your thoughts, is it an ideal temporary solution?

Try this, if this works correctly.
editor.import(editor.export());

Try adding the drawflow style to a css file and not to the component itself.
Are you using any vue or react type library?

I replaced "editor.import(dataFromDB)" with "editor.import(editor.export();", but no luck. It didn't load anything.
I'm using straight native Javascript and Jquery.

Does this example work for you?
<!DOCTYPE html>

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jerosoler/Drawflow/dist/drawflow.min.css"/>

Yes, that above example works and the lines match up.
So could it be in the way I'm saving the export?
But then again, if it was broken, the lines wouldn't show or match at all. It seems like they're just a little off on my version.

Can you provide the html? Or a codepen to see the problem?

I went ahead and created a basic HTML test version (stripped down to bare minimal), and when I tested it with the same import data, the lines worked fine. So it must be something on my other page.
I went through the code and realised I have a script that automatically runs through each node to update their heights to match their content. And that's what was causing the lines not to match up.
Because drawflow was drawing the lines based on initial height of the nodes (on load), but then the other resize() script would execute and change the height (without updating the connections).
I know the issue and how to fix it now.
Thanks for your thoughts and fixes on this issue Jero, much apreciated because it helped me figure out the issue.

@jerosoler , Hey man, I'm facing a similar issue. In the body of the nodes I have texts of various sizes and they stretch the nodes. I'm using vue. After import the connections are misaligned. If I move a node just slightly it rearranges perfectly.
Is there a way for me to programmatically trigger this redraw?


Image effects bug

When running in "Windowed" with "Beautiful" or "Fantastic" quality, the image effects will cause the camera not working well

Change to use Post-processing stack instead.


release: 1.9.0

:robot: I have created a release beep boop
1.9.0 (2023-02-02)
Features

errx: add error struct (5359e41)
internal: add gin (750103f)
internal: viper (7c0c50f)
server: add server (09c41f9)
server: add test helper (b7cd321)

Bug Fixes

router: remove chi (0f5f6b0)

Performance Improvements

internal: no h2c (f7dd5be)
internal: perfect (0a169f6)
log: add level (8faf5ce)
log: perfect debug enable (65455ba)
server: perfect logger (776b5db)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/starudream/go-lib/releases/tag/v1.9.0 :sunflower:


Adding a hack/debug script

That's basically just a light wrapper around delve, to make it nicer to use
(stops it after the session is done, and doesn't ignore interrupts like
the vanilla version does).
Also amending the containerized Makefile to add the right run options
when using delve. That's controlled by the DOCKER_SWARMKIT_USE_DELVE
env variable; it's also possible to override the port delve uses
via the DOCKER_SWARMKIT_DELVE_PORT env variable.

I don't use Delve, so I can't comment on the usefulness, but it LGTM.


sometimes  g:Lf_CommandMap did not take effect

I'm useing esc to quit leaderf, <c-i> to switch normal mode, sometimes  <c-i> did not take effect.
If I use esc to switch mode work right always.
let g:Lf_CommandMap = {'<C-C>': ['<Esc>'],'<Esc>':['<C-I>']}
let g:Lf_ShortcutF = 'ff'

os: ubuntu16.04
commit 3e7dc2621d747bcf831610ff658f853567d12ee9
test way:
open vim
ff
<c-i>
:qa

Fixed, please have a try.

It work right now, thanks~~


[KeyVault] Remove dependency on @azure/core-arm

This PR removes the @azure/keyvault-* libraries' dependency on @azure/core-arm, pair developed with @jonathandturner.

Merging it!


For a 0.2.1 release

Minor doc-string improvement

Codecov Report

Merging #18 (f8f2b5b) into master (fd7ceed) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   86.20%   86.20%
=======================================
  Files           1        1
  Lines          87       87
=======================================
  Hits           75       75
  Misses         12       12

Impacted Files
Coverage Δ

src/MLJDecisionTreeInterface.jl
86.20% <ø> (ø)

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 fd7ceed...f8f2b5b. Read the comment docs.


IdleCircuitHandler should log a meaningful log message

Description
Example for Monitor server-side circuit activity
 contains below code, which prints a log message, when circuit is detected to be idle:
private void CircuitIdle(object? sender, System.Timers.ElapsedEventArgs e)
{
        logger.LogInformation("{Circuit} is idle", nameof(CircuitIdle));
}

Above code, when triggered, would print CircuitIdle is dile, which is not a very helpful log message. A more meaningful message would include the ID of the circuit that has become idle.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/fundamentals/signalr?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/fundamentals/signalr.md
Document ID
d17e4c28-ea82-0dd8-295d-19f6ada147ea
Article author
@guardrex

Hello @gerektoolhy ... The content came from Dan Roth's blog post. @MackinnonBuck built these bits, so I'm pinging him for assistance.

This needs a service registration as well ...
builder.Services.AddIdleCircuitHandler(options => options.IdleTimeout = TimeSpan.FromSeconds(5));

... and missing ...
using System.Timers;
using Timer = System.Timers.Timer;

You can see how content was rolling out FAST 🏃♂ (and untested 😢).

@MackinnonBuck ... I think I have the code to resolve this issue (🦖 RexHaqs!™ 🙈). I'll put it on a PR for review.


Use external repository for protobuf dependency.

Currently, TensorFlow uses a Git submodule for its dependency on
protobuf. This was due to the hack used in protobuf for building Python
support with Bazel, which was required since Bazel's Python rules did
not support adding directories to PYTHONPATH. Now that the new
imports attribute has been added to the Python rules in Bazel 0.2 and
the hack for Python support in protobuf has been removed, this change
removes the google/protobuf Git submodule and adds an external
repository for including protobuf.
Fixes #1069

Can one of the admins verify this patch?

So this require the entire world to upgrade to bazel 0.2, right?
@tensorflow-jenkins: test this please, but note that this probably will fail if the answer to the above question is "yes", since we haven't updated Jenkins to bazel 0.2 yet.

FYI The git_repository rule I added for including the protobuf repo references the current protobuf HEAD since my patch for removing the Python hack was just merged (see google/protobuf#1233). Is this fine or should we wait until the next protobuf release?

I see that the Jenkins jobs are failing since the CI machines are running an older version of Bazel, which does not yet contain the imports property for Python rules.

We are going to upgrade bazel to 0.2 today anyway in https://github.com/tensorflow/tensorflow/pull/1206. We will update mac as well and this will work :)

I have rebased this patch on HEAD, resolved merge conflicts and made some additional changes since there are now additional targets that use protobuf.

@tensorflow-jenkins : test this please

Can you bump the version of required bazel https://github.com/tensorflow/tensorflow/blob/master/WORKSPACE#L21 here and then we can re-test?

Done.

@tensorflow-jenkins test this please

Some target in protobuf is missing a srcs_version = "PY2AND3" annotation. See
http://ci.tensorflow.org/job/tensorflow-pull-requests-cpu-python3/262/consoleFull

Also looks like build_pip_package needs to be updated.

@martinwicke There seems to be a few. I'll submit a PR to protobuf to add the missing srcs_versions.
@vrv Will do.

Opened google/protobuf#1402.
What is the Bazel command run for http://ci.tensorflow.org/job/tensorflow-pull-requests-cpu-python3/262/consoleFull? I tried bazel test //... but I got an error about the BUILD file for gmock not being found:
❯❯❯ bazel test //...
ERROR: /usr/local/google/home/dzc/Projects/tensorflow/tensorflow/tensorflow/workspace.bzl:21:3: no such package '@gmock_archive//': In new_http_archive rule //external:gmock_archive the 'build_file' attribute does not specify an existing file (/usr/local/google/home/dzc/Projects/tensorflow/tensorflow/google/protobuf/gmock.BUILD does not exist) and referenced by '//external:gtest'.
ERROR: Loading failed; build aborted.
INFO: Elapsed time: 0.190s
ERROR: Couldn't start the build. Unable to run tests.

The exact command is in the log, but the main point is bazel test
//tensorflow/...
On Fri, Apr 8, 2016 at 14:13 David Z. Chen<EMAIL_ADDRESS>wrote:

Opened google/protobuf#1402 https://github.com/google/protobuf/pull/1402.
What is the Bazel command run for
http://ci.tensorflow.org/job/tensorflow-pull-requests-cpu-python3/262/consoleFull?
I tried bazel test //... but I got an error about the BUILD file for
gmock not being found:
❯❯❯ bazel test //...
ERROR: /usr/local/google/home/dzc/Projects/tensorflow/tensorflow/tensorflow/workspace.bzl:21:3: no such package '@gmock_archive//': In new_http_archive rule //external:gmock_archive the 'build_file' attribute does not specify an existing file (/usr/local/google/home/dzc/Projects/tensorflow/tensorflow/google/protobuf/gmock.BUILD does not exist) and referenced by '//external:gtest'.
ERROR: Loading failed; build aborted.
INFO: Elapsed time: 0.190s
ERROR: Couldn't start the build. Unable to run tests.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/pull/1289#issuecomment-207608299

Can you update the commit hash for protobuf?
@vrv, @keveman: Just to make sure -- this shouldn't interact with our binary protobuf distribution, right?

I have updated the commit hash in tensorflow/workspace.bzl. I'm still debugging some build and test failures that I found when running bazel test //tensorflow/... on my Goobuntu machine (see below), but let's also run the CI to see if there is anything else that needs to be fixed.
❯❯❯ bazel test //tensorflow/...
WARNING: /usr/local/google/home/dzc/Projects/tensorflow/tensorflow/util/python/BUILD:11:16: in includes attribute of cc_library rule //util/python:python_headers: 'python_include' resolves to 'util/python/python_include' not in 'third_party'. This will be an error in the future
INFO: Found 709 targets and 418 test targets...
INFO: From Compiling external/protobuf/src/google/protobuf/compiler/js/js_generator.cc [for host]:
external/protobuf/src/google/protobuf/compiler/js/js_generator.cc: In function 'std::string google::protobuf::compiler::js::{anonymous}::JSByteGetterSuffix(google::protobuf::compiler::js::{anonymous}::BytesMode)':
external/protobuf/src/google/protobuf/compiler/js/js_generator.cc:492:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

ERROR: /usr/local/google/home/dzc/.cache/bazel/_bazel_dzc/97010c3bd7554ebe07410261582c4d5e/external/protobuf/BUILD:581:1: C++ compilation of rule '@protobuf//:pyext/_message.so' failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wl,-z,-relro,-z,no
w -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -iquote ... (remaining 48 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1
In file included from external/protobuf/python/google/protobuf/pyext/extension_dict.cc:34:0:
external/protobuf/python/google/protobuf/pyext/extension_dict.h:51:7: error: expected nested-name-specifier before 'shared_ptr'
 using shared_ptr;
       ^
external/protobuf/python/google/protobuf/pyext/extension_dict.h:51:7: error: 'shared_ptr' has not been declared
external/protobuf/python/google/protobuf/pyext/extension_dict.h:67:3: error: 'shared_ptr' does not name a type
   shared_ptr<Message> owner;
   ^
In file included from external/protobuf/python/google/protobuf/pyext/extension_dict.cc:43:0:
external/protobuf/python/google/protobuf/pyext/message.h:56:7: error: expected nested-name-specifier before 'shared_ptr'
 using shared_ptr;
       ^
external/protobuf/python/google/protobuf/pyext/message.h:56:7: error: 'shared_ptr' not declared
external/protobuf/python/google/protobuf/pyext/message.h:57:12: error: 'std::std' has not been declared
 using std::std::string;
            ^
In file included from external/protobuf/python/google/protobuf/pyext/extension_dict.cc:44:0:
external/protobuf/python/google/protobuf/pyext/repeated_composite_container.h:53:7: error: expected nested-name-specifier before 'shared_ptr'
 using shared_ptr;
       ^
external/protobuf/python/google/protobuf/pyext/repeated_composite_container.h:53:7: error: 'shared_ptr' not declared
In file included from external/protobuf/python/google/protobuf/pyext/extension_dict.cc:45:0:
external/protobuf/python/google/protobuf/pyext/repeated_scalar_container.h:52:7: error: expected nested-name-specifier before 'shared_ptr'
 using shared_ptr;
       ^
external/protobuf/python/google/protobuf/pyext/repeated_scalar_container.h:52:7: error: 'shared_ptr' not declared
external/protobuf/python/google/protobuf/pyext/extension_dict.cc: In function 'google::protobuf::python::ExtensionDict* google::protobuf::python::extension_dict::NewExtensionDict(google::protobuf::python::CMessage*)':
external/protobuf/python/google/protobuf/pyext/extension_dict.cc:251:9: error: 'google::protobuf::python::ExtensionDict' has no member named 'owner'
   self->owner = parent->owner;
         ^
external/protobuf/python/google/protobuf/pyext/extension_dict.cc: In function 'void google::protobuf::python::extension_dict::dealloc(google::protobuf::python::ExtensionDict*)':
external/protobuf/python/google/protobuf/pyext/extension_dict.cc:258:9: error: 'google::protobuf::python::ExtensionDict' has no member named 'owner'
   self->owner.reset();
         ^

INFO: Elapsed time: 44.875s, Critical Path: 33.67s
FAIL: //tensorflow/contrib/ctc:ctc_decoder_ops_test
FAIL: //tensorflow/contrib/ctc:ctc_loss_op_test
FAIL: //tensorflow/contrib/distributions:gaussian_conjugate_posteriors_test

~~~ snipped ~~~

@tensorflow-jenkins test this please  (to see what's broken)

master tests are failing right now, so don't expect a clean build.

or not. Never mind.

Jenkins, test this please.

@tensorflow-jenkins test this please

FYI google/protobuf#1586 should be merged soon. Once that PR is merged, I'll update this PR to point the git commit to the new protobuf HEAD and rebase again.

ready to test?

Yes just rebased, updated, and pushed.

@tensorflow-jenkins test this please

that failed quickly: ERROR: /workspace/tensorflow/workspace.bzl:84:3: no such package '@gmock_archive//': In new_http_archive rule //external:gmock_archive the 'build_file' attribute does not specify an existing file (/workspace/@protobuf/:gmock.BUILD does not exist) and referenced by '//external:gtest'.

Odd. Looking

Seems that this is caused by a bug in this version of Bazel that is fixed in a later version. In any case, it is probably better to have gmock.BUILD live in the tensorflow repo for now, similar to those for other dependencies, until we eventually upgrade to a version of gmock/gtest that has its own BUILD file.
Can you start the tests again?

test this please

Almost, looks like the pip install doesn't work
Python binary path to be used in PIP install: /usr/bin/python (Major.Minor version: 2.7)
Thu May 26 05:26:43 UTC 2016 : === Using tmpdir: /tmp/tmp.PJlk9Vtu7r
rsync: link_stat "/workspace/bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles/google" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.0]
build_pip_package FAILED

I'll take a look. Is the command that the script used to invoke build_pip_package something along the lines of bazel run //tensorflow/tools/pip_package:build_pip_package -- /path/to/destination_dir?

Yeah see the section called Create the pip package and install on https://www.tensorflow.org/versions/r0.8/get_started/os_setup.html

Should be fixed now.
@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

Looks like all the tests passed this time, though on the GitHub UI, the MacOS CPU Tests is still marked as BUILDING even though it has succeeded on Jenkins. Could it be related to this message?
Executed 492 out of 492 tests: 492 tests pass.

Parameterized build ends with SUCCESS at: Thu May 26 16:40:30 UTC 2016 (Elapsed time: 1249 s)
Unable to get pull request builder trigger!!    <~~~~~
Setting status of 278cc4698b757c63edb8248aa051218435cf6415 to SUCCESS with url http://ci.tensorflow.org/job/tensorflow-pull-requests-cpu-python3/552/ and message: 'SUCCESS
 '
Using context: Linux CPU Tests (Python 3)
Finished: SUCCESS

Sweet, this is awesome.  @martinwicke @caisq okay to merge?  (I'll have to do some work internally to bring this change in, but I'll sign up for that this week).

\o/

Woot
On Thu, May 26, 2016 at 3:25 PM David Z. Chen<EMAIL_ADDRESS>wrote:

\o/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/1289#issuecomment-222012562,
or mute the thread
https://github.com/notifications/unsubscribe/AAjO_VGti6nugRU9vmAFc_GOhwHn_B-1ks5qFh3NgaJpZM4HjOh8
.

Yay!

I understand that Bazel is the preferred build tool for TensorFlow. However, it's worth noting that this change has some consequences for developers woking with alternative build tools:

Since the git --recursive option is no longer going to clone Protobuf too, it will have to be cloned manually to get access to the required header files. The documentation needs to be updated to reflect that.

The exact commit version of Protobuf to clone is buried in tensorflow/workspace.bzl rather than in the handy google/protobuf link. This is a pity as having it the original way means letting git worry about checking out the right version. The way it is configured now, future changes to the Protobuf version will need to be updated in several different build instruction files.

As the google/protobuf path no longer exists, any Include Path directives will have to be modified to point to the new local Protobuf clone location. This is also a shame as having a standard folder google/protobuf in the workspace meant configuring the Include Path once in the build file and then forgetting about it. Now there'll be an extra step for each new developer to change it to point to his/her own Protobuf location.

I'd also add a more general request. This kind of change to the repo structure should have a minor release number with some release notes. It took me a good while to figure out why all the Protobuf headers had disappeared from my build environment after I merged in the latest tensorflow:master changes. I thought I had deleted them somehow and went around in circles before finding this PR.

We are sorry for the inconvenience @StephenOman!
It is much better to download git repos using bazel. Also for all the builds there is a lot of them, not just protobuf.
What build tool are you using? We have also have (incomplete):

contrib/cmake - it may not work today but could be made work with some effort
contrib/makefile - this one is super new. It is there to build the ios example. We will create CI build for it next week.

Please take a look at those two. Please contribute if one of them would suite you. Once we get them into reasonable state we can enable builds for them in ci.tensorflow.org. That way we make sure no change break that. No more breakage for you :)

Thanks for the note @jendap.
I'm wrapping the current C++ API with an Objective C++ interface in order to build a Swift-based iOS app. Complicated, I know! To do this, I'd created a set of Xcode projects to build both Protobuf and TensorFlow libs and am managing the build from there.

Take a look at contrib/makefile. We have added it exactly for this reason. It will be recommended way of working in xcode. We will soon have automated build this so it should work in future. But it is very new (may be even broken right now).

Right, I see where you are going with this. Thanks.


W/FlutterEngine(30444): Tried to automatically register plugins with FlutterEngine (io.flutter.embedding.engine.FlutterEngine@7a0372e) but could not find and invoke the GeneratedPluginRegistrant.

Hello everyone.
I've been getting this error on flutter console and I don't know what it means or implies, and I'd like some help.
W/FlutterEngine(30444): Tried to automatically register plugins with FlutterEngine (io.flutter.embedding.engine.FlutterEngine@7a0372e) but could not find and invoke the GeneratedPluginRegistrant.
This error doesn't show 100% of the time, but it's very frequent. Additionally I've been getting errors on Firebase Installations API and I thought this could be the reason.
I thank any help on this problem.

Logs
flutter analyze
Analyzing <my_project>...
No issues found! (ran in 29.0s)

flutter doctor -v
[✓] Flutter (Channel stable, 1.20.3, on Microsoft Windows [versÃ£o 10.0.19041.450], locale pt-BR)
    • Flutter version 1.20.3 at C:\Users\caios\Documents\flutter
    • Framework revision 216dee60c0 (3 days ago), 2020-09-01 12:24:47 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\caios\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.48.2)
    • VS Code at C:\Users\caios\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.14.0

[✓] Connected device (1 available)
    • SM G965U1 (mobile) • 35494b4435563098 • android-arm64 • Android 10 (API 29)

• No issues found!

@CaLouro
if the problem is with firebase the issue should be opened here

Hey @iapicca I don't think the problem is with Firebase. For me it looks like an error with Flutter Engine that errors a Firebase API
But thanks for reminding me of the flutterfire repo, I'll see if something like this was posted there

Hi @TahaTesser, checking what you asked for:

 Project level build.gradle
buildscript {
    ext.kotlin_version = '1.3.50'
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

        classpath 'com.google.gms:google-services:4.3.3'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.2.0'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

My unchanged MainActivity.kt
package com.gmail.dev.caiolouro.boi_na_balanca

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {
}

pubspec.yaml
name: boi_na_balanca
description: The project for the Boi na Balaça Android app.

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.1.0+5

environment:
  sdk: ">=2.9.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  # Firebase packages
  firebase_core: ^0.5.0
  cloud_firestore: ^0.14.0+2
  firebase_analytics: ^6.0.0
  firebase_crashlytics: ^0.2.0-dev.5
  firebase_auth: ^0.18.0+1
  # google_sign_in:

  # State and management packages
  flutter_modular:
  mobx:
  flutter_mobx:

  # Internationalization and formatting
  intl:
  date_format:
  currency_textfield:

  # Interface helpers
  admob_flutter: ^1.0.0-beta.5
  # flutter_auth_buttons:
  flutter_form_builder: ^3.13.0

  # Mock packages
  # cloud_firestore_mocks:

dev_dependencies:
  flutter_test:
    sdk: flutter

  # Generated code
  build_runner: ^1.10.1
  mobx_codegen:
  modular_codegen:

  # Launcher helpers
  flutter_launcher_name:
  flutter_launcher_icons:

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  assets:
    - assets/logos/logo2-transp.png

  # To add assets to your application, add an assets section, like this:
  # assets:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages

flutter_launcher_name:
  name: "Boi na Balança"

flutter_icons:
  ios: false
  android: true
  image_path: "assets/logos/logo2-circ.png"
  adaptive_icon_background: "#4CAF50"
  adaptive_icon_foreground: "assets/logos/logo2-transp.png"

I was trying to reproduce the error, but I couldn't, it doesn't show every time, so I'm not including the flutter run -v log, sorry. If I eventually can, I'll sent it.
Thanks for all the help.

Hi @CaLouro
You can manually register plugins with FlutterEngine with the following
class MainActivity: FlutterActivity() {

    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        GeneratedPluginRegistrant.registerWith(flutterEngine)
    }
}

If the problem still persists using this, please provide complete logs
Thank you

@TahaTesser I've added this code piece you suggested but I got the following error
Launching lib\main.dart on SM G965U1 in debug mode...
Running Gradle task 'assembleDebug'...
e: C:\Users\caios\Desktop\boi_na_balanca\android\app\src\main\kotlin\com\gmail\dev\caiolouro\boi_na_balanca\MainActivity.kt: (7, 5): 'configureFlutterEngine' overrides nothing
e: C:\Users\caios\Desktop\boi_na_balanca\android\app\src\main\kotlin\com\gmail\dev\caiolouro\boi_na_balanca\MainActivity.kt: (7, 56): Unresolved reference: FlutterEngine

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 8s
Exception: Gradle task assembleDebug failed with exit code 1

My MainActivity.kt at the time was
package com.gmail.dev.caiolouro.boi_na_balanca

import io.flutter.embedding.android.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        GeneratedPluginRegistrant.registerWith(flutterEngine)
    }
}

flutter doctor -v
[√] Flutter (Channel stable, 1.20.3, on Microsoft Windows [versÃ£o
    10.0.19041.450], locale pt-BR)
    • Flutter version 1.20.3 at C:\Users\caios\Documents\flutter
    • Framework revision 216dee60c0 (7 days ago), 2020-09-01 12:24:47 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\caios\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.48.2)
    • VS Code at C:\Users\caios\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.14.0

[√] Connected device (1 available)
    • SM G965U1 (mobile) • 35494b4435563098 • android-arm64 • Android 10 (API 29)

• No issues found!

@CaLouro
Make sure you've imported flutterEngine
Open your Android folder in Android Studio, you will see missing import errors
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {

    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        super.configureFlutterEngine(flutterEngine)
        GeneratedPluginRegistrant.registerWith(flutterEngine)
    }

}

logs
Running "flutter pub get" in stable_flutter...
Launching lib/main.dart on RMX2001 in debug mode...
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...
Connecting to VM Service at ws://<IP_ADDRESS>:51208/YUeTq0cX0_0=/ws
I/GED     (28741): ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 27, oppidx_max 27, oppidx_min 0
I/.stable_flutte(28741): ProcessProfilingInfo new_methods=430 is saved saved_to_disk=1 resolve_classes_delay=5000
I/SurfaceView(28741): 30673836 visibleChanged:true -> SurfaceHolder.Callback.surfaceDestroyed
D/Surface (28741): Surface::disconnect(this=0x7685ff5000,api=1)
D/ViewRootImpl(28741): setSurfaceViewCreated, created:false
D/Surface (28741): Surface::disconnect(this=0x7685ff5000,api=-1)
D/SurfaceView(28741): updateScreenMode w:0 h:0 ViewRoot w:1080 h:2400
D/SurfaceView(28741): try to resquest 90Hz
D/ViewRootImpl(28741): set screen refresh mode 0 due to SurfaceView-30673836
I/Choreographer(28741): Skipped 3 frames!  The application may be doing too much work on its main thread.
I/GED     (28741): ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 27, oppidx_max 27, oppidx_min 0
D/Surface (28741): Surface::disconnect(this=0x7685ff3000,api=1)
V/PhoneWindow(28741): DecorView setVisiblity: visibility = 4, Parent = android.view.ViewRootImpl@323255f, this = DecorView@636f780[MainActivity]
V/PhoneWindow(28741): DecorView setVisiblity: visibility = 0, Parent = android.view.ViewRootImpl@323255f, this = DecorView@636f780[MainActivity]
D/Surface (28741): Surface::connect(this=0x771c2ba000,api=1)
D/mali_winsys(28741): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/Surface (28741): Surface::setBufferCount(this=0x771c2ba000,bufferCount=4)
I/SurfaceView(28741): 30673836 visibleChanged:true -> SurfaceHolder.Callback.surfaceCreated
D/Surface (28741): Surface::connect(this=0x7685b1f000,api=1)
D/mali_winsys(28741): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
D/ViewRootImpl(28741): setSurfaceViewCreated, created:true
I/SurfaceView(28741): 30673836 surfaceChanged -- format=4 w=1080 h=2400 visibleChanged:true -> SurfaceHolder.Callback.surfaceChanged
D/SurfaceView(28741): updateScreenMode w:1080 h:2400 ViewRoot w:1080 h:2400
D/SurfaceView(28741): try to resquest 60Hz
D/ViewRootImpl(28741): set screen refresh mode 1 due to SurfaceView-30673836
D/SurfaceView(28741): updateScreenMode w:1080 h:2400 ViewRoot w:1080 h:2400
D/SurfaceView(28741): try to resquest 60Hz
I/Choreographer(28741): Skipped 2 frames!  The application may be doing too much work on its main thread.

flutter doctor -v
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.6 19G2021, locale en-GB)
    • Flutter version 1.20.3 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 216dee60c0 (8 days ago), 2020-09-01 12:24:47 -0700
    • Engine revision d1bc06f032
    • Dart version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.7, Build version 11E801a
    • CocoaPods version 1.9.3

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

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

[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

@TahaTesser
Made my MainActivity.kt exactly like yours and this error showed up and the app crashed at launch.
Launching lib\main.dart on SM G965U1 in debug mode...
Running Gradle task 'assembleDebug'...
✓ Built build\app\outputs\flutter-apk\app-debug.apk.
W/FlutterEnginePluginRegistry(10329): Attempted to register plugin (io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry$ShimRegistrarAggregate@99db182) but it was already registered with this FlutterEngine (io.flutter.embedding.engine.FlutterEngine@c66093).
E/AndroidRuntime(10329): FATAL EXCEPTION: main
E/AndroidRuntime(10329): Process: com.gmail.dev.caiolouro.boi_na_balanca, PID: 10329
E/AndroidRuntime(10329): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.gmail.dev.caiolouro.boi_na_balanca/com.gmail.dev.caiolouro.boi_na_balanca.MainActivity}: java.lang.IllegalStateException: registrar.context() must not be null
E/AndroidRuntime(10329): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3632)
E/AndroidRuntime(10329): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3784)
E/AndroidRuntime(10329): 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
E/AndroidRuntime(10329): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime(10329): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime(10329): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2270)
E/AndroidRuntime(10329): 	at android.os.Handler.dispatchMessage(Handler.java:107)
E/AndroidRuntime(10329): 	at android.os.Looper.loop(Looper.java:237)
E/AndroidRuntime(10329): 	at android.app.ActivityThread.main(ActivityThread.java:8125)
E/AndroidRuntime(10329): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(10329): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
E/AndroidRuntime(10329): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
E/AndroidRuntime(10329): Caused by: java.lang.IllegalStateException: registrar.context() must not be null
E/AndroidRuntime(10329): 	at com.shatsy.admobflutter.AdmobFlutterPlugin$Companion.registerWith(AdmobFlutterPlugin.kt:32)
E/AndroidRuntime(10329): 	at com.shatsy.admobflutter.AdmobFlutterPlugin.registerWith(Unknown Source:2)
E/AndroidRuntime(10329): 	at io.flutter.plugins.GeneratedPluginRegistrant.registerWith(GeneratedPluginRegistrant.java:18)
E/AndroidRuntime(10329): 	at com.gmail.dev.caiolouro.boi_na_balanca.MainActivity.configureFlutterEngine(MainActivity.kt:11)
E/AndroidRuntime(10329): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onAttach(FlutterActivityAndFragmentDelegate.java:180)
E/AndroidRuntime(10329): 	at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:411)
E/AndroidRuntime(10329): 	at android.app.Activity.performCreate(Activity.java:7957)
E/AndroidRuntime(10329): 	at android.app.Activity.performCreate(Activity.java:7946)
E/AndroidRuntime(10329): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
E/AndroidRuntime(10329): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3607)
E/AndroidRuntime(10329): 	... 11 more
Waiting for SM G965U1 to report its views...
Debug service listening on ws://<IP_ADDRESS>:52934/dZRdLonfa6M=/ws
Syncing files to device SM G965U1...
I/Process (10329): Sending signal. PID: 10329 SIG: 9

Hi @CaLouro
Can you please a different device or emulator?

@TahaTesser
ok, tested the main activity like you suggested plus I ran flutter clean before the test.
This time I tested on an emulator (before I was using a real device) and the app still crashes and I get this error
Launching lib\main.dart on sdk gphone x86 in debug mode...
Running Gradle task 'assembleDebug'...
✓ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
W/FlutterEnginePluginRegistry( 9107): Attempted to register plugin (io.flutter.embedding.engine.plugins.shim.ShimPluginRegistry$ShimRegistrarAggregate@719ddfd) but it was already registered with this FlutterEngine (io.flutter.embedding.engine.FlutterEngine@654caf2).
Waiting for sdk gphone x86 to report its views...
Debug service listening on ws://<IP_ADDRESS>:63464/SjpzMupP2dU=/ws
Syncing files to device sdk gphone x86...
I/Process ( 9107): Sending signal. PID: 9107 SIG: 9
Lost connection to device.
Could not update files on device: HttpException: Connection closed before full header was received, uri = http://<IP_ADDRESS>:63464/SjpzMupP2dU=/

Hi @CaLouro
Can you please  do me favor and remove futterfire  and comment out its code and try again
Thank you

Hey @TahaTesser, sorry for the long wait.
I haven't seen this error in a while and the errors with flutterfire dropped significantly. I think the problem was with the gradle version and sdk versions that I kept updating without reason.
I'll close this issue for now too.
Thanks for everything and take care.


Wrong shared IPC handle path

When I attempt to open the extensions pane, I get:
ERROR connect ENOENT /var/folders/g2/6zvms_f57kv7rxcsm7_4pzdm0000gq/C/Code-1.14.0-shared.sock
This used to work but as I have taken several VSCode updates recently, I am not sure when it stopped working.
NOTE: Use Help > Report Issues to prefill below does not work either.  I get the same error.
VSCode version = 1.14.0
charles-benedicts-macbook:sd-prototype chuck_benedict$ dotnet --info
.NET Command Line Tools (2.1.0-preview1-006723)

Product Information:
 Version:            2.1.0-preview1-006723
 Commit SHA-1 hash:  7e1fe7eba7

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.12
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.1.0-preview1-006723/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0-preview3-25502-01
  Build    : bd3f818bad84f1296b4ee53f72ab8837b3caac98

charles-benedicts-macbook:sd-prototype chuck_benedict$

Steps to Reproduce:

Open VSCode
Click the extensions icon

Reproduces without extensions: Well this question is not applicable in this case.

I installed 1.13.1 and extensions pane now works.  I am trying to keep auto-updates from moving me back up to 1.14.0.

I set "update.channel": "default" and then let it do its upgrade thing.  Upon restart, same error when navigating to extensions pane.  When I revert back to 1.13.1, it works again.

Does it reproduce after restarting your computer?

I decided to update to 1.15.0 to see if magically this got fixed.  Nope, still happens.  I found issue 13561 and based I what it said, I start vscode from terminal windows instead of finder.  If I do that, then extensions pane opens without error.

I got the same issue after upgrading to 1.15.0 today.
The error is:
connect ENOENT /var/folders/tx/_yw35btj22zdlsczm5q9bcn00000gn/T/Code-1.15.1-shared.sock

It looks like the sock that is actually open is different:
rust:.vscode lambda$ lsof -p 45020 | grep sock
Code\x20H 45020 lambda   18u    unix 0xdc6a6565667961fb       0t0          /var/folders/tx/_yw35btj22zdlsczm5q9bcn00000gn/T/vscode-9f94e96bc033f50fbc624b787666808510576c44.sock

I'm also having this issue with both 1.15.1 and 1.16.0-insider in macOS 10.12.6 (16G29).

After some further investigation, it looks like this might happen because of the asynchronous loading of environment variables from your shell environment.
In my .profile, I have export XDG_RUNTIME_DIR=$TMPDIR, which sets XDG_RUNTIME_DIR to /var/folders/tx/_yw35btj22zdlsczm5q9bcn00000gn/T/.
The path to this socket is computed as follows, in src/vs/platform/environment/node/environmentService.ts:
function getNixIPCHandle(userDataPath: string, type: string): string {
	if (process.env['XDG_RUNTIME_DIR']) {
		return path.join(process.env['XDG_RUNTIME_DIR'], `${pkg.name}-${pkg.version}-${type}.sock`);
	}
	return path.join(userDataPath, `${pkg.version}-${type}.sock`);
}

So if XDG_RUNTIME_DIR is defined, this will look in there, which is the path I see in the error.
However, if XDG_RUNTIME_DIR is not defined, which may happen during startup if the asynchronous environment loading hasn't happened yet, then it will store it in userDataPath, which is computed as follows:
function getAppDataPath(platform) {
	switch (platform) {
		case 'win32': return process.env['VSCODE_APPDATA'] || process.env['APPDATA'] || path.join(process.env['USERPROFILE'], 'AppData', 'Roaming');
		case 'darwin': return process.env['VSCODE_APPDATA'] || path.join(os.homedir(), 'Library', 'Application Support');
		case 'linux': return process.env['VSCODE_APPDATA'] || process.env['XDG_CONFIG_HOME'] || path.join(os.homedir(), '.config');
		default: throw new Error('Platform not supported');
	}
}

And, indeed, there is a  ~/Library/Application\ Support/Code/1.15.1-shared.sock that is open in a couple of the VSCode processes.

@lambda Thanks for the analysis. @joaomoreno Does this help in narrowing down the issue?

I'm guessing this works for all you guys if you launch it from a Terminal?
Related to #28816

Can you give this build a try?

macOS
Linux 64

That build has fixed the issue for me on Mac OS X. (for some reason, it didn't work on the first run-through, giving what looked like the same error. When I moved the app from ~/Downloads to ~/Applications and ran again, it worked. I tested placing it back in ~/Downloads and it still worked)

I had, I believe, the same issue, due to my (questionable) practice of setting XDG_RUNTIME_DIR in .zshrc on my Mac.
The build @joaomoreno posted resolved the issue for me.

Thanks for the tries guys. :beers:

@joaomoreno is this bug fixed in 1.16.1? I have such issue on linux with vscode 1.16.1. XDG_RUNTIME_DIR is set.
Error:
ENOENT /tmp/1000-runtime-dir/Code-1.16.1-shared.sock

@SkeLLLa This fix will be in the upcoming 1.7 release.


No connection between Companion and Tricaster

Hi Folks,
i get this message when i try to connect the Tricaster TC-2-Elite: "error: Unable to connect to Tricaster. Check your device address in the module settings"
IP is set correct. The Live-Panel Password ist turn off. Any Idea?
companion: v3.0.0 - 2023-06-21 (stable)

Can you try the latest beta of Companion?
It includes a fix for https://github.com/bitfocus/companion-module-newtek-tricaster/issues/29 which I think might be a similar issues.
Also, which version of Tricaster firmware are you on? Have you successfully used this module before?

@SK-RaoSel Are you still having this issue? Any more info you can provide? Can you try the latest companion beta?

I had this same problem when upgrading to TriCaster's August release:  the TriCaster update broke the Companion connection.  Confirmed that Beta 6162 does fix the problem on TriCaster Mini 4K.
Thank you for your work on this!  Newtek would only give me an old update back to April of 2022.  Fixing this fixed our workflow.  It was going to be a Very Bad Week.

@jamesthompson2004 Thanks for the confirmation! Sorry it took a bit to get to, I was worried it was going to be a harder fix than it was and my Tricaster was in heavy use. Glad all is working now!


Store SMHs in BFTKV

Store SMHS in BFTKV using the HTTP API.
Please note that The BFTKV API Server that is connected to has the address http://docker.for.mac.localhost:6001/
docker.for.mac.localhost is used to access an address in the host machine.

I signed it!


Write our MA privacy notice statement

Using the template from Privacy as a starting point

[ ] Survey Notice
[ ] Opportunity applications (data is sent via email)
[ ] GC Forms


The application does not display the rooms properly arranged when the "short description" has different amount of characters.

Description:
When the “short description” of some rooms is full of characters, the “Rooms & Tariff” site page does not arrange the rooms properly.
-Env:
Device: MacBook Pro
Google Chrome Version 54.0.2840.98 (64-bit)
REPRODUCIBILITY LEVEL:
Always
STEPS:
Steps

Open the Crafter studio with the Hotel_Info site.
On the site bar, locate the pages section.
Click on the edit button of the “Rooms & Tariff“  page.
On the rooms list, add 4 rooms with the next properties.
Room A: Fill all the fields and the “short Description” with the maximum characters limit (300).
Room B: Fill all the fields and the “short Description” with 100 characters.
Room C: Fill all the fields and the “short Description” with 20 characters.
Room D: Fill all the fields and the “short Description” with 150 characters.
Room E: Fill all the fields and the “short Description” with 150 characters.
Click on the Save and Close Button.
Go to the page preview of the “Rooms & Tariff” page.

CURRENT RESULT:
The application displays all the configured rooms but they are not arranged properly.
https://www.screencast.com/t/i3sCFlxlGTU
EXPECTED RESULT:
The application should display all the configured rooms properly arranged.

Fixed

Fixed

Bug verified and closed as fixed.


Size of the git repo is too important

Almost 200Mb, despite the fact that it's only a few Mb!
After a fresh git clone, I get:
dn026168:tuxart macher1$ du -h .
1.2M	./tuxart/examples
616K	./tuxart/sources/sprays
640K	./tuxart/sources
1.8M	./tuxart
 20K	./bin
592K	./dist
178M	./.git/objects/pack
  0B	./.git/objects/info
178M	./.git/objects
4.0K	./.git/info
4.0K	./.git/logs/refs/heads
4.0K	./.git/logs/refs/remotes/origin
4.0K	./.git/logs/refs/remotes
8.0K	./.git/logs/refs
 12K	./.git/logs
 48K	./.git/hooks
4.0K	./.git/refs/heads
  0B	./.git/refs/tags
4.0K	./.git/refs/remotes/origin
4.0K	./.git/refs/remotes
8.0K	./.git/refs
178M	./.git
180M	.

so .git seems responsible.
Is it due to the history?

In order to fix this issue, you may utilize either BFG or Filter-Repo tool.


Loki not receiving/showing logs

Image version: ghcr.io/kyverno/policy-reporter:2.20.0
We've defined Loki target and in the policy reporter logs we can see:
1.7222519745660264e+09	info	Loki: PUSH OK
However, when we go to Loki, I cannot see any logs coming from source: policy reporter. We are also getting notifications in Slack, but not in Loki.
I am looking for some ideas how to troubleshoot this issue, if someone had same/similar issues. As I cannot see any errors on Loki side, and kyverno is saying PUSH OK. But logs are not in Loki. 🤷♀

Hey, just to be sure, the source should be policy-reporter with a dash.
Did you overwrite the path in your Loki configuration or do you use the default value?
Which Loki version do you running?

I got it working by using /api/prom/push as API endpoint instead of /loki/api/v1/push

My understanding is that "/api/prom/push" is deprecated (though not sure if still available)?
I set up push endpoint like in my post above, as I know that it works already for logs that we are pushing over OTEL, see below for OTEL snippet:

  loki:
    endpoint: "https://gateway.loki.xxxx.xx/loki/api/v1/push"

I've set policy-reporter to debug mode and having this output.

2024-07-29 14:00:15	INFO	Loki: PUSH OK
2024-07-29 14:00:15	DEBUG	Received response: HTTP/2.0 204 No Content
Content-Length: 0
Date: Mon, 29 Jul 2024 14:00:15 GMT
Strict-Transport-Security: max-age=15724800; includeSubDomains

Its working with the "/api/prom/push".


BIGTOP-3758. Fix build failure of Tez against Hadoop 3.3.

https://issues.apache.org/jira/browse/BIGTOP-3758

We can leverage protoc-jar-maven-plugin by cherry-picking TEZ-4300 and TEZ-4428. (TEZ-4300 is just needed to cleanly apply TEZ-4428)

We need to install protoc artifact from locally installed one on aarch64 and ppc64le.

TEZ-4298 fixed ShuffleHandler.

tested on Rocky Linux 8 x86_64:
$ ./docker-hadoop.sh \
     --create 1 \
     --image bigtop/puppet:trunk-rockylinux-8 \
     --memory 16g \
     --repo file:///bigtop-home/output \
     --disable-gpg-check \
     --stack hdfs,yarn,mapreduce,tez \
     --smoke-tests tez
...
Now testing...
:bigtop-tests:smoke-tests:tez:test (Thread[Execution worker for ':',5,main]) completed. Took 39.337 secs.

BUILD SUCCESSFUL in 1m 11s
34 actionable tasks: 7 executed, 27 up-to-date

and on Ubuntu 18.04 aarch64:
$ ./docker-hadoop.sh \
     --create 1 \
     --image bigtop/puppet:trunk-ubuntu-18.04 \
     --memory 16g \
     --repo file:///bigtop-home/output/apt \
     --disable-gpg-check \
     --stack hdfs,yarn,mapreduce,tez \
     --smoke-tests tez
...
Now testing...
:bigtop-tests:smoke-tests:tez:test (Thread[Daemon worker,5,main]) completed. Took 1 mins 5.052 secs.

BUILD SUCCESSFUL in 1m 55s
34 actionable tasks: 7 executed, 27 up-to-date

+1, LGTM.

Merged.


Cannot find module './lib/protocol/SqlString' on escape fn

Hi,
Couldn't find any issue regarding this...
it's been happening inconsistently in my proccessess sometimes it's been working fine,
yet throws this error on other times..
Using your module inside a lib i created , when using the escape function this is thrown.

Error: Cannot find module './lib/protocol/SqlString' stack: Error: Cannot find module './lib/protocol/SqlString'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at loadClass (/home/ec2-user/git/my-repo/node_modules/my-lib/node_modules/mysql/index.js:136:15)
at Object.escape (/home/ec2-user/git/my-repo/node_modules/my-lib/node_modules/mysql/index.js:64:19)
at Pool.escape (/home/ec2-user/git/my-repo/node_modules/my-lib/node_modules/mysql/lib/Pool.js:279:16)

Thanks for the great Module :).

Weird, I've never seen that issue before. Perhaps your installation is corrupted somehow? I would expect that error to show up on Travis CI, at least. The current versions of this module do not have a ./lib/protocol/SqlString module, so maybe somehow you have files on your disk that correspond to two different versions at the same time?

Sorry, this module does have that file, sorry! I still don't understand what your issue is, and since I haven't heard anything back, I'm going to close this issue. If you can provide some additional context here, I'd be happy to re-open.

Only thing I can imagine is a npm install gone wrong. @ShaharLevy try removing your node_modules folder and running npm install again

@dougwilson Thanks for the help and sorry I didn't answer probably missed the first notification ...
@AdriVanHoudt Thanks ! it was probably a bad install as you said, I don't quite understand how it happened..
This can stay closed sorry for the trouble and thanks again. :)


pre-commit hooks 'check that executables have shebangs' not working properly

The pre-commit hock 'check that executables have shebangs' reports that some files have missing shebangs because they are marked as an executable, although they don't have any execute permission (-x).

)

Opened an issue regarding this, on the pre-commit-hooks repo https://github.com/pre-commit/pre-commit-hooks/issues/762#issue-1226054029

The problem is linked to the Linux access(path, F_OK) command returning True for files that are not executable (in shared docker volumes). See docker/for-mac#5029. A solution that worked for me is to disable gRPC FUSE in the settings of Docker Desktop https://github.com/docker/for-mac/issues/5029#issuecomment-808922802. I'm not sure about the consequences of disabling the feature.