Push fails with "....must have values"

Describe the bug
Version: 0.1.36
To Reproduce

amplify api update
Add a new REST API
amplify api push

Expected behavior

Push succeeds

Screenshots
Log:
Hughs-Air-2:Common hugh$ amplify push
| Category | Resource name | Operation | Provider plugin   |
| -------- | ------------- | --------- | ----------------- |
| Api      | Write         | Update    | awscloudformation |
| Auth     | UploadService | No Change | awscloudformation |
| Api      | Read          | No Change | awscloudformation |
? Are you sure you want to continue? Yes
⠧ Updating resources in the cloud. This may take a few minutes...

 This may take a few minutes...

UPDATE_IN_PROGRESS          ploadervice-20181127191856-apiWrite-FK15AWZWA5TA AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:30 GMT+0000 (GMT) User Initiated
UPDATE_IN_PROGRESS          ploadervice-20181127191856-apiRead-7P740P5QX900  AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:30 GMT+0000 (GMT) User Initiated
UPDATE_ROLLBACK_IN_PROGRESS ploadervice-20181127191856-apiWrite-FK15AWZWA5TA AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:30 GMT+0000 (GMT) Initiated by parent stack
UPDATE_ROLLBACK_IN_PROGRESS ploadervice-20181127191856-apiRead-7P740P5QX900  AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:31 GMT+0000 (GMT) Initiated by parent stack
⠋ Updating resources in the cloud. This may take a few minutes...

UPDATE_FAILED               apiRead                    AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:41 GMT+0000 (GMT) Resource update cancelled
UPDATE_ROLLBACK_IN_PROGRESS ploadervice-20181127191856 AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:42 GMT+0000 (GMT) The following resource(s) failed to update: [apiRead, authUploadService, apiWrite].
UPDATE_COMPLETE             authUploadService          AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:46 GMT+0000 (GMT)
UPDATE_IN_PROGRESS          apiRead                    AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:46 GMT+0000 (GMT)
⠏ Updating resources in the cloud. This may take a few minutes...

UPDATE_IN_PROGRESS                           apiWrite                                         AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:46 GMT+0000 (GMT)
UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS ploadervice-20181127191856-apiRead-7P740P5QX900  AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:49 GMT+0000 (GMT)
UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS ploadervice-20181127191856-apiWrite-FK15AWZWA5TA AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:50 GMT+0000 (GMT)
⠋ Updating resources in the cloud. This may take a few minutes...

 This may take a few minutes...

UPDATE_COMPLETE          apiRead                    AWS::CloudFormation::Stack Sat Dec 15 2018 12:30:10 GMT+0000 (GMT)
UPDATE_COMPLETE          apiWrite                   AWS::CloudFormation::Stack Sat Dec 15 2018 12:30:10 GMT+0000 (GMT)
UPDATE_ROLLBACK_COMPLETE ploadervice-20181127191856 AWS::CloudFormation::Stack Sat Dec 15 2018 12:30:10 GMT+0000 (GMT)
⠴ Updating resources in the cloud. This may take a few minutes...Error updating cloudformation stack
✖ An error occurred when pushing the resources to the cloud

Resource is not in the state stackUpdateComplete

It seems like parameters in ./amplify/backend/awscloudformation/nested-cloudformation-stack.yml are being deleted:

`

Updating resources in the cloud. This may take a few minutes...Error updating cloudformation stack
× An error occurred when pushing the resources to the cloud

Resource is not in the state stackUpdateComplete
`
Im experiencing a similar issue. I have tried to update individually but gives same error.
`

Category
Resource name
Operation
Provider plugin

Auth
cognito9183445a
Update
awscloudformation

Function
rentals
Update
awscloudformation

Api
floridatrailmix
No Change
awscloudformation

Api
beginrental
No Change
awscloudformation

`

Is there any work around so I can update my api to continue working?

@btackney @hughbe Can you check your amplify/.config/project-config.json file and see if the project path is entered correctly?

@kaustavghosh06 all paths in my amplify/.config/project-config.json are correct.

@btackney Can you paste your cloudformation stack trace? Are you having the same error as this ->
UPDATE_FAILED      authUploadService          AWS::CloudFormation::Stack Sat Dec 15 2018 12:29:29 GMT+0000 (GMT) Parameters: [authRoleArn, autoVerifiedAttributes, allowUnauthenticatedIdentities, smsVerificationMessage, userpoolClientReadAttributes, mfaTypes, emailVerificationSubject, useDefault, openIdLambdaIAMPolicy, userpoolClientGenerateSecret, mfaConfiguration, userpoolClientLogPolicy, openIdRolePolicy, identityPoolName, openIdLogPolicy, thirdPartyAuth, authSelections, smsAuthenticationMessage, roleExternalId, mfaLambdaLogPolicy, passwordPolicyMinLength, userPoolName, openIdLambdaRoleName, policyName, userpoolClientName, userpoolClientLambdaPolicy, resourceName, mfaLambdaIAMPolicy, mfaPassRolePolicy, emailVerificationMessage, userpoolClientRefreshTokenValidity, userpoolClientSetAttributes, unAuthRoleName, authRoleName, requiredAttributes, roleName, passwordPolicyCharacters, lambdaLogPolicy, unAuthRoleArn, userpoolClientLambdaRole, defaultPasswordPolicy, mfaLambdaRole] must have values ?

`\ Updating resources in the cloud. This may take a few minutes...
UPDATE_IN_PROGRESS loridarailix-20181209225500 AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:26 GMT-0500 (Eastern Standard Time) User Initiated
UPDATE_IN_PROGRESS functionrentals             AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:30 GMT-0500 (Eastern Standard Time)
UPDATE_IN_PROGRESS apifloridatrailmix          AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:31 GMT-0500 (Eastern Standard Time)
UPDATE_IN_PROGRESS authcognito9183445a         AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:31 GMT-0500 (Eastern Standard Time)
UPDATE_FAILED      apifloridatrailmix          AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:31 GMT-0500 (Eastern Standard Time) Parameters: [ResolverBucket, ResolverRootKey, DeploymentTimestamp, schemaG
raphql] must have values
/ Updating resources in the cloud. This may take a few minutes...
UPDATE_IN_PROGRESS          loridarailix-20181209225500-functionrentals-GXJQSBUEAIUV      AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:31 GMT-0500 (Eastern Standard Time) User Initiated
UPDATE_IN_PROGRESS          loridarailix-20181209225500-authcognito9183445a-1MGBBD72IA6F8 AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:31 GMT-0500 (Eastern Standard Time) User Initiated
UPDATE_ROLLBACK_IN_PROGRESS loridarailix-20181209225500-functionrentals-GXJQSBUEAIUV      AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:32 GMT-0500 (Eastern Standard Time) Initiated by parent stack
UPDATE_ROLLBACK_IN_PROGRESS loridarailix-20181209225500-authcognito9183445a-1MGBBD72IA6F8 AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:32 GMT-0500 (Eastern Standard Time) Initiated by parent stack
/ Updating resources in the cloud. This may take a few minutes...
UPDATE_FAILED               functionrentals             AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:42 GMT-0500 (Eastern Standard Time) Resource update cancelled
UPDATE_FAILED               authcognito9183445a         AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:42 GMT-0500 (Eastern Standard Time) Resource update cancelled
UPDATE_ROLLBACK_IN_PROGRESS loridarailix-20181209225500 AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:43 GMT-0500 (Eastern Standard Time) The following resource(s) failed to update: [functionrentals, api
floridatrailmix, authcognito9183445a].

Updating resources in the cloud. This may take a few minutes...

UPDATE_IN_PROGRESS functionrentals     AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:50 GMT-0500 (Eastern Standard Time)
UPDATE_COMPLETE    apifloridatrailmix  AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:50 GMT-0500 (Eastern Standard Time)
UPDATE_IN_PROGRESS authcognito9183445a AWS::CloudFormation::Stack Wed Dec 26 2018 15:57:50 GMT-0500 (Eastern Standard Time)
\ Updating resources in the cloud. This may take a few minutes...
UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS loridarailix-20181209225500-functionrentals-GXJQSBUEAIUV      AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:21 GMT-0500 (Eastern Standard Time)
UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS loridarailix-20181209225500-authcognito9183445a-1MGBBD72IA6F8 AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:21 GMT-0500 (Eastern Standard Time)
UPDATE_COMPLETE                              authcognito9183445a                                           AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:25 GMT-0500 (Eastern Standard Time)
UPDATE_COMPLETE                              functionrentals                                               AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:25 GMT-0500 (Eastern Standard Time)
UPDATE_ROLLBACK_COMPLETE_CLEANUP_IN_PROGRESS loridarailix-20181209225500                                   AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:26 GMT-0500 (Eastern Standard Time)
| Updating resources in the cloud. This may take a few minutes...
UPDATE_IN_PROGRESS       apifloridatrailmix                                            AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:27 GMT-0500 (Eastern Standard Time)
UPDATE_IN_PROGRESS       functionrentals                                               AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:27 GMT-0500 (Eastern Standard Time)
UPDATE_IN_PROGRESS       authcognito9183445a                                           AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:28 GMT-0500 (Eastern Standard Time)
UPDATE_COMPLETE          apifloridatrailmix                                            AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:28 GMT-0500 (Eastern Standard Time)
UPDATE_ROLLBACK_COMPLETE loridarailix-20181209225500-functionrentals-GXJQSBUEAIUV      AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:28 GMT-0500 (Eastern Standard Time)
UPDATE_ROLLBACK_COMPLETE loridarailix-20181209225500-authcognito9183445a-1MGBBD72IA6F8 AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:29 GMT-0500 (Eastern Standard Time)
/ Updating resources in the cloud. This may take a few minutes...
UPDATE_COMPLETE          functionrentals             AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:38 GMT-0500 (Eastern Standard Time)
UPDATE_COMPLETE          authcognito9183445a         AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:38 GMT-0500 (Eastern Standard Time)
UPDATE_ROLLBACK_COMPLETE loridarailix-20181209225500 AWS::CloudFormation::Stack Wed Dec 26 2018 15:58:39 GMT-0500 (Eastern Standard Time)

Updating resources in the cloud. This may take a few minutes...Error updating cloudformation stack
× An error occurred when pushing the resources to the cloud

Resource is not in the state stackUpdateComplete
`

Just ran into this issue after attempting to update an API after I had moved my project directory, I think it has something to do with .config/local-env-info.json
running amplify configure project fixed the "must have values" / "Resource is not in the state stackUpdateComplete" error for me

I have a similar issue. Except I get two different locations for the error:
UPDATE_IN_PROGRESS Users AWS::CloudFormation::Stack Fri Feb 15 2019 16:34:37 GMT-0800 (Pacific Standard Time)
⠧ Updating resources in the cloud. This may take a few minutes...
UPDATE_ROLLBACK_IN_PROGRESS bento4me-20190212090627-apibento4me-4MLAK1Q3PUOM AWS::CloudFormation::Stack Fri Feb 15 2019 16:35:01 GMT-0800 (Pacific Standard Time) The following resource(s) failed to update: [Users].
UPDATE_FAILED               Users                                            AWS::CloudFormation::Stack Fri Feb 15 2019 16:35:00 GMT-0800 (Pacific Standard Time) Embedded stack arn:aws:cloudformation:us-east-1:044118685730:stack/bento4me-20190212090627-apibento4me-4MLAK1Q3PUOM-Users-1UH4OLYKINS0U/5aa48a00-3178-11e9-a4d0-0e94286004bc was not successfully updated. Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: The following resource(s) failed to update: [DeleteUsersResolver, ListUsersResolver, GetUsersResolver].
⠙ Updating resources in the cloud. This may take a few minutes...
UPDATE_FAILED apibento4me AWS::CloudFormation::Stack Fri Feb 15 2019 16:35:12 GMT-0800 (Pacific Standard Time) Embedded stack arn:aws:cloudformation:us-east-1:044118685730:stack/bento4me-20190212090627-apibento4me-4MLAK1Q3PUOM/4e9cdb90-3178-11e9-8575-0a5651437e88 was not successfully updated. Currently in UPDATE_ROLLBACK_IN_PROGRESS with reason: The following resource(s) failed to update: [Users].
⠦ Updating resources in the cloud. This may take a few minutes...
UPDATE_ROLLBACK_IN_PROGRESS bento4me-20190212090627 AWS::CloudFormation::Stack Fri Feb 15 2019 16:35:12 GMT-0800 (Pacific Standard Time) The following resource(s)failed to update: [apibento4me].
But in the end I get the same exact error of:
✖ An error occurred when pushing the resources to the cloud
Resource is not in the state stackUpdateComplete
This started happening once I added functionality in the schema to rename the queries and mutations for a @model. Ever since I did that, then even after setting the model to what it previously was it still gets the same failed updates and now I cannot update the API on the server at all...

Wow, I ran into this same problem. Turns out it was because I renamed my project directory. It would be much better if Amplify is more resilient to this!

Hey guys, we store the project configuration (including project path) in amplify/.config/local-env-info.json file (which the CLI uses to parse your project structure), and if you change your directory name, you could either run amplify configure project or change the projectpath manually in the file mentioned above.

Just ran into this issue after attempting to update an API after I had moved my project directory, I think it has something to do with .config/local-env-info.json

Updating the local path solved my issue. Thank you @sankhagowit!

I have not changed my folder name or manually changed any configuration settings. I ran amplify configure project just in case and I am still getting the must have values error. Anyone got any other possible solutions?
AWS::CloudFormation::Stack Tue Sep 10 2019 09:09:41 GMT-0400 (Eastern Daylight Time) Parameters: [userpoolClientLogPolicy, openIdRolePolicy, openIdLogPolicy, mfaLambdaLogPolicy, openIdLambdaRoleName, policyName, userpoolClientName, userpoolClientLambdaPolicy, mfaLambdaIAMPolicy, mfaPassRolePolicy, authRoleName, roleName, lambdaLogPolicy, mfaLambdaRole] must have values

@btackney @hughbe Can you check your amplify/.config/project-config.json file and see if the project path is correct? I've faced this issue in the past and its due to some mismatch in the project path with the actual project path.

Looked everywhere for a solution and this was the one - renamed my project for release and this was the only thing that didn't get picked up in the update

I finally resolved it!!!!!! without removing the API or thing like that.
basically, whats happening is that your amplify is went out of sync,
you have in your schema.graphql a custom function with the directive @function(name: "anyname-${env}")
and you have deleted the function, and now you trying to return a deleted function, which breaks sync of the amplify.
in order to fix that :

You need to comment out the function directive (Push working)
You need to return it and push it again.
This will recreate the function, and no issue has been done.

No need to remove the API! or such thing, do not do it, please.

@iuyt9003  exactly what commands did you run? I currently have the same problem.


Strange behaviour of --download-archive

Hello,
I have debian server downloading every night (with command in crontab -e calling simple script to download my vimeo liked videos) and saving downloaded ids to "downloaded.txt" file.
But it behaves strangely and I dont understand what is going on.
First, here is my crontab -e:

here is the youtube-dl command that gets executed:

and finally here is the problem:

The file gets downloaded every day, looks like there is some problem writing archive to downloaded.txt, but the file is owned by me and has write for everybody.
Furthermore, strange behaviour: If I delete the duplicate files and leave only one of them, then it will stop donwnloading them again, and will leave just the one there.

Carefully read new issue template and provide all requested information.

Here you go dear dstftw
I AM AT THE LATETS VERSION

[X ] I've verified and I assure that I'm running youtube-dl 2018.02.26

Before submitting an issue make sure you have:

[ X] At least skimmed through the README, most notably the FAQ and BUGS sections
I SPENT LIKE AN HOUR TRYING TO FIGURE IT OUT FROM YOUR DOCUMENTATION
[X ] Searched the bugtracker for similar issues including closed ones
[X ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

And here is your DEBUG LOG, you have some  BUG there as it turns out:
./dl_vimeoL.sh
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--download-archive', u'/media/strix/urza/multimedia/VIDEOS/SHORT/vimeo-likes/downloaded.txt', u'-o', u'/poolgarden/urza/media/VIDEOS/SHORT/vimeo-likes/20180227-%(uploader)s-%(title)s-%(id)s.%(ext)s', u'-w', u'--restrict-filenames', u'vimeo.com/user755559/likes']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.02.26
[debug] Python version 2.7.13 (CPython) - Linux-4.9.0-4-amd64-x86_64-with-debian-9.3
[debug] exe versions: none
[debug] Proxy map: {}
WARNING: The url doesn't specify the protocol, trying with http
[generic] likes: Requesting header
[redirect] Following redirect to https://vimeo.com/user755559/likes
[vimeo:likes] 755559: Downloading webpage
[download] Downloading playlist: Videos urza likes
[vimeo:likes] 755559: Downloading page 1/34
[vimeo:likes] 755559: Downloading page 2/34
[vimeo:likes] 755559: Downloading page 3/34
[vimeo:likes] 755559: Downloading page 4/34
[vimeo:likes] 755559: Downloading page 5/34
[vimeo:likes] 755559: Downloading page 6/34
[vimeo:likes] 755559: Downloading page 7/34
[vimeo:likes] 755559: Downloading page 8/34
[vimeo:likes] 755559: Downloading page 9/34
[vimeo:likes] 755559: Downloading page 10/34
[vimeo:likes] 755559: Downloading page 11/34
[vimeo:likes] 755559: Downloading page 12/34
[vimeo:likes] 755559: Downloading page 13/34
[vimeo:likes] 755559: Downloading page 14/34
[vimeo:likes] 755559: Downloading page 15/34
ERROR: Unable to download webpage: HTTP Error 503: Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 519, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2199, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)


Command Line Install Parameters

Please add the command line install parameters for automated deployments

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 524e47b0-1295-7d07-0cbc-86e6daaa1358
Version Independent ID: 1cb3a5d8-4f16-583c-ad85-325f7638a873
Content: Connect to Azure Virtual Desktop with the Remote Desktop client for Windows - Azure Virtual Desktop
Content Source: articles/virtual-desktop/users/connect-windows.md
Service: virtual-desktop
GitHub Login: @dknappettmsft
Microsoft Alias: daknappe

@danmyhre
Thanks for your feedback! We will investigate and update as appropriate.

@danmyhre
Could you please share screenshot, where we need to add command line install parameters for automated deployments for better understanding. So, we can assist you further.

This is already covered here: https://learn.microsoft.com/azure/virtual-desktop/users/client-features-windows#enterprise-deployment. I've added a note to the Connect article to highlight this. The change should be visible later today.
#please-close


BaGut docker can't run （the server don't have Internet）, no frontend pages?

Describe the bug
I use docker to install baget. but my centos is offline, cant't connect to internet . when I docker run the baget , the log shows error.

I found nothing in the folder /app/BaGut.UI .  did the docker  install model don't have frontend pages?

I run Baget in a K8S cluster - what is your challenge?
Have you looked at the documentation (https://loic-sharma.github.io/BaGet/installation/docker/)?
Given that the documentation is not the best, let me know if you need assistance.


REFINEMENT: investigate Pydantic class generation directly from xsd

Context: We're considering to support the full RTCTools input set of xml files, which are quite rich, but have a set of well-defined xsds. Is it possible to automatically generate Pydantic classes from these xsds?
This issue is supposed to be a small investigation issue. Clean implementation can be done in new-to-be-created issue(s) when more is clear on the questions below.
Questions:

can this be done from the XSDs (via intermediate conversion to JSON for example)? See: https://koxudaxi.github.io/datamodel-code-generator/
When run, how do the resulting classes look? Are they still workable/intuitive for developers?
When running the resulting parsers on a small RTC input example file, are there any or many warnings?

using XML Spy in combination with the datamodel-code-generator looks promising:
xsd-jsonschema-py.zip
In the zip file is:

The source file rtcDataConfig.xsd
The intermediate JSON schema file: rtcDataConfig.json
The resultng files: _.py & init.py
A text file with the steps & settings I used to generate these files.


Change layout for accordion

I couldn't figure out how to change the layout for the accordion. Is there a way to change the layout?

I figured out I have a bug on my app that causes the text to have a highlight on it, which is preventing me from changing the layout.


[SPARK-45590][BUILD][3.4] Upgrade okio to 1.17.6 from 1.15.0

Backport #47758 to 3.4
What changes were proposed in this pull request?
This PR aims to upgrade okio from 1.15.0 to 1.17.6.
Why are the changes needed?
Okio 1.15.0 is vulnerable due to CVE-2023-3635,  details: https://nvd.nist.gov/vuln/detail/CVE-2023-3635
Previous attempts to fix this security issue:
Update okio to version 1.17.6 #5587: https://github.com/fabric8io/kubernetes-client/pull/5587
Followup to Update okio to version 1.17.6 #5935: https://github.com/fabric8io/kubernetes-client/pull/5935
Unfortunately it is still using 1.15.0:
https://github.com/apache/spark/blob/v4.0.0-preview1/dev/deps/spark-deps-hadoop-3-hive-2.3#L227 https://github.com/apache/spark/blob/v3.5.2/dev/deps/spark-deps-hadoop-3-hive-2.3#L210
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.

Thanks @yaooqinn  for the approve! All checks have passed, you may merge it.

Merged to branch-3.4


Microsoft Message Analyzer is deprecated

This page references Microsoft Message Analyzer to analyze the logs and provides examples of usage (appedix 3), but this software was deprecated in Nov. 2019. Let's provide a suggested piece of software that is actually available.
https://docs.microsoft.com/en-us/openspecs/blog/ms-winintbloglp/dd98b93c-0a75-4eb0-b92e-e760c502394f

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8196beea-f457-3813-6135-71c5ec2dbf05
Version Independent ID: 119a21e3-be2f-b981-6b5d-f57c2f555c97
Content: Monitor, diagnose, and troubleshoot Azure Storage
Content Source: articles/storage/common/storage-monitoring-diagnosing-troubleshooting.md
Service: storage
Sub-service: common
GitHub Login: @normesta
Microsoft Alias: normesta

Thanks for reporting this. I have assigned the issue to the content author to investigate further and update the document as appropriate.

Thank you for bringing this to our attention @madmax209. We've removed all references to that product in this article. As the blob post mentions, there is currently no Microsoft replacement for Microsoft Message Analyzer in development at this time.

#please-close


fix: admin cannot open room member details

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/48931
PROPOSAL: https://github.com/Expensify/App/issues/48931#issuecomment-2342615137
Tests

[Admin] Go to workspace room
Press room headers >> Members
Invite several members to the room
Press member item in members list

Verify member details page opens

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

Offline tests

QA Steps

[Admin] Go to workspace room
Press room headers >> Members
Invite several members to the room
Press member item in members list

Verify member details page opens

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

PR Author Checklist

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

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

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

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

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

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

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

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

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

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

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

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

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/91a91ace-7726-4d73-870d-0d2e0cdd9b70

Android: mWeb Chrome

https://github.com/user-attachments/assets/f3bc2dbf-58c6-45a6-8777-d8a4c46c2683

iOS: Native

https://github.com/user-attachments/assets/173fdb74-2545-4776-a2c7-5df66d47d01c

iOS: mWeb Safari

https://github.com/user-attachments/assets/3f625c76-5606-4b6e-9435-bd502d8cd7e5

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/11d0578c-ec1d-48fd-a339-3add4455ab1d

MacOS: Desktop

https://github.com/user-attachments/assets/8100614f-96b5-4cc9-ad0d-c78157f22f81

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


Drop inefficient SemVer implementation

Pull Request Description
Bump library uses parser combinators behind the scenes which are known to be good at expressing grammars but are not performance-oriented.
This change ditches the dependency in favour of an existing Java implementation. jsemver implements the full specification, which is probably an overkill in our case, but proved to be an almost drop-in replacement for the previous library.
Closes #8692
Important Notes
Peformance improvements:

roughly 50ms compared to the previous approach (from 80ms to 20-40ms)

I don't see any time spent in the new implementation during startup so it could be potentially aggressively inlined.
Further more, we could use a facade and offer our own strip down version of semver.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests continue to pass.
[ ] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

I wouldn't expect the use of Version would be so wide spread!

Indeed.

Before:

After:

(so pretty consistently lower)

After removing the dependency:


(root) egress: Prototype, design, and implement a fine-grained egress policy

This issue is for the creation of a:

[ ] proof of concept (with a custom CRD) of an OSM, which can be configured with fine-grained egress policy
[ ] design proposal
[ ] implementation
[ ] integration tests
[ ] create egress proposal with SMI community based on our implementation #982

For example:
egress:
  allow:
    - <IP_ADDRESS>:8080
  block:
    - www.altavista.com:8080

Previous work:

[ ] (root) Egress story v1 #354

@johnsonshi Take a look at this!

This is done. #982 is tracked as a separate effort.


'org.w3.clearkey' is missing from default key systems

Hi,
How ClearKey with license server workflow described here can be implemented after this change? Or, what is the way to make manifest specify ClearKey now?
Before that, having schemeIdUri="urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b" in ContentProtection was enough.
thanks in advance,
max

duplicated https://github.com/google/shaka-player/issues/403

Yes, we broke this in a recent change.  When we started checking for license server URLs after choosing key systems, clearkey in the default set would mean the possibility of clearkey being chosen over actual DRM schemes on Chrome or Firefox, even without a clearkey config (keys or license server).


feat(config): Deprecate JSHint in favor of ESLint

This is the basic ESLint setup extending well-known Airbnb code style and dedicated Angular rules.
What also has changed:

removed eslint task from client.views path in gulp watch, possibly we can think of using some html linter
changed most of the globals by environment property, still I'd recommend not using / limit the use of global variables by dependency injection
the previous contributor's rules are left in place, but we need to review them to make the migration seamless. For now it's not consistent with JSHint, so someone with longer experiences in the project could help convert all the rules - docs are quite well-written
I haven't used Grunt much, so even though it was a basic change, someone could take a closer look :)

References #1072

One thing to keep in mind is that we've decided on using John Papa's Angular Style-guide. I haven't taken a close look at this PR, but does the ESLint configuration take this into consideration? Or are there conflicting styles?
https://github.com/meanjs/mean/issues/943

ESLint itself has only general purpose JS linting, but the plugin I've added has the ability to lint Angular apps. As they write in the summary: "some rules defined in John Papa's Guideline have been implemented". I just don't know how the defaults follow your conventions.

@feimosi Thanks for the PR!
I am in favor of ESLINT, however, it doesn't match our style guide currently. There are a lot of linting errors, and the handful that I picked out and looked at I do not agree with.
Ex.)
In creating an object, it should not have a trailing comma
Incorrect: { foo: 'bar', }
Correct: { foo: 'bar',}
Ex.)
Strict mode is not permitted.
We want to have 'use strict' enabled.
Can you go through the errors and see if we can adjust the linter accordingly. If there are actual issues somewhere, fix those in a separate PR to make this PR pass the tests.
Thanks!

@codydaig Ok, sure, I'll go through them when I find some time.

@codydaig, I am confused by this - typo?

Ex.)
In creating an object, it should not have a trailing comma
Incorrect: { foo: 'bar', }
Correct: { foo: 'bar',}

@feimosi I am in favor of this PR, but have questions about maintaining a single eslintrc file for this project.
I noticed that you have added the reference to angular default config, but I am curious what you have noticed when running these rules against the server-side files.  Also, I have not seen much progress with adopting the style guide - are these rules failing?
Should nodejs lint rules be separated from angularjs rules?  Can they be the same and still be restrictive enough?

@rhutchison sorry, I wasn't available lately to take care of this PR.
Regarding the Angular config, I haven't noticed any conflicts so far. It looks like those rules are only fired for Angular-specific code. ESLint allows you to specify separate configs for each folder, but unfortunately not for filename patterns, nonetheless it's not a problem for now.
So I think we can keep both rule sets together.

@feimosi can you rebase and fix up some of the changes requested above so we can merge?

@ilanbiala I need some more time for this PR. Too busy these days.
Regarding angular-plugin, eventually I decided to remove it as I've noticed, in same cases it indeed interferes with node's code.

I had too disable eslint and rely only on jshint because it gave me too many warnings on code I migrated. The --fix option in the command line eslint is also broken so I couldn't fix the thousands of indentation errors which were cluttering my screen.
How do you guys correct styling errors automatically?

@trendzetter I don't think anyone has corrected errors automatically.

@trendzetter Last time I tried autocorrect it was working pretty badly, so I wouldn't rely on it.
@ilanbiala The config is ready. Now someone needs to review it. There are still ~150 errors, but I think they should be fixed and not muted by the rules. Also I had to turn off several rules following JSHint config, but I really think you should prepare a more strict style guide.

@feimosi there shouldn't be any errors. JSHint never had any, so we should be able to switch to ESLint with whatever properties there and still not have any errors.

@ilanbiala The linting rules are already very loose and there are many inconsistencies throughout the codebase. If I mute the given errors, the sense of using ESLint slowly fades out.

I could reduce the indentation and other styling errors for code I imported from close to 2000 to 10 using js-beautify
Then I fixed the remaining remarks manually. I am now running eslint with gulp again.
I noticed that jshint is running again when nodemon reloads saved files. I appears eslint isn't. Will there still be error checking if save changes to your files after deprecating jshint?

It's quite obvious that this PR should bring with it actual fixes to all the errors and warnings so that eslint can actually go in.
@feimosi are you going to take care of it?

@ilanbiala we can figure out which rules trigger errors and discuss on whether we should 'drop the rule' to make it compatible with what we have today or adopt that rule and make the necessary changes.
What do you think of this plan?

Yeah, that sounds fine. First we need to rebase and go over each type of error we currently get. Though I'd rather rebase because some code will change and the errors may disappear/more may appear.

That was exactly my point. ESLint introduces much more new rules, so they should be discussed by the core team and decided whether to keep them or not.

@feimosi can you point us to the new ones/ones we don't use specifically? Also, can you rebase before we go any further?

@ilanbiala These rules are failing:
comma-dangle
comma-spacing
consistent-return
default-case
guard-for-in
key-spacing
keyword-spacing
new-cap
no-alert
no-spaced-func
no-throw-literal
no-trailing-spaces
no-undef
no-unneeded-ternary
no-unreachable
one-var
one-var-declaration-per-line
quote-props
spaced-comment
warnings)
wrap-iife

You can always check it with this command:
eslint modules/**/*.js | awk 'NF>1{print $NF}' | sort | uniq

"comma-spacing": [2, {"before": false, "after": true}]
"key-spacing": [2, {"beforeColon": true, "afterColon": false}]
"keyword-spacing": [2, {before: true, after: true}]
"new-cap": [2, {"capIsNewExceptions": []}]
add guard-for-in, we should enforce that
add no-spaced-func
add no-throw-literal
add no-trailing-spaces
add no-undef
add no-unneeded ternary
add no-unreachable
no need for one-var
"one-var-declaration-per-line": [2, "always"]
no need for quote-props
"spaced-comment": [2, "always"]
"wrap-iife": [2, "outside"]
That should cover all of them I believe.

@ilanbiala Are you sure about "key-spacing": [2, {"beforeColon": true, "afterColon": false}] ? It causes 1.5k extra errors and is not auto-fixable by ESLint

Sorry, "key-spacing": [2, {"beforeColon": false, "afterColon": true}]

Now everything should be fine.

@feimosi like the changes. Let me know about the couple comments I left.

@feimosi can you take a look at the other few comments?

@ilanbiala I've fixed the last few issues

@feimosi LGTM. @mleanos @lirantal @codydaig :eyes:? Once someone else reviews, @feimosi can you rebase and squash and change the commit message to follow our commit format.

LGTM, I need to do a more thorough review through all the changes.
Without a doubt an amazing endeavor to make all these updates.
Good job @feimosi  and @ilanbiala for pushing this forward!

@ilanbiala @feimosi let's see this goes in so we can quick push for standards on the code base.

@feimosi can you rebase so I can merge?

@ilanbiala, sorry for delay. Please take a look at the commit message after rebasing. If it's okay you can proceed with the merge.

@lirantal @mleanos final check before I merge?

I'm all up for it.

Just to add though that there are warnings we still have to deal with, such as:

@lirantal I think that's fine that we have console statements and putting the comment above seems like clutter, no?

@feimosi can you rebase and squash?

@ilanbiala yeah not the end of the world.

Done, you'd better hurry with that merge. It starts to get boring fixing the merge conflicts all the time.

@feimosi there are some build errors, can you take a look?

@ilanbiala everything's done

I just restarted the build. Looks like a connectivity/time-out error.

LGTM, merging. @feimosi thanks for the hard work and following up on this every time!

@feimosi Yes, thank you for all the hard work! No more complex/unnecessary ternary's, among other styling issues you fixed here ;)

Thanks too, I'm glad I could help! :)

WooHoo!!

I am not happy, has any of you written any code with this enabled? It's really unbearable.
Plus it contains at least 2 bugs (#1319)  probably not tested well. This is Style over Substance.

These lint errors are making me angry, sorry for the ranting. I found I can skip rules by setting them them 0 in .eslintrc rules. I am giving it another shot at cleaning things up with the best beautification tricks found so far.

Just tried the eslint cli again and it has improved in recent times. It now is able to fix some issues automatically using the --fix flag. You would expect it to fix more issues automatically but at least its a beginning.


GHHelper throws NullPointerException

patch15-Math-85-SequenceR_c54bd1816025f33a2ffaa092966e41f9b259f0dd
Stacktrace
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Starting ChromeDriver 112.0.5615.49 (bd2a7bcb881c11e8cfe3078709382934e3916914-refs/branch-heads/5615@{#936}) on port 19927
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
Apr 26, 2023 3:23:55 PM org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
WARNING: Unable to find an exact match for CDP version 112, so returning the closest version found: 110
java.lang.NullPointerException
        at io.github.chains_project.tracediff.sharedutils.GHHelper.getGHDiff(GHHelper.java:557)
        at io.github.chains_project.tracediff.statediff.ui.StateDiffUIManipulator.addStateDiffToExecDiffUI(StateDiffUIManipulator.java:64)
        at io.github.chains_project.tracediff.statediff.StateDiffCommand.call(StateDiffCommand.java:73)
        at io.github.chains_project.tracediff.statediff.StateDiffCommand.call(StateDiffCommand.java:9)
        at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
        at picocli.CommandLine.access$1500(CommandLine.java:148)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
        at picocli.CommandLine.execute(CommandLine.java:2170)
        at io.github.chains_project.tracediff.ExecDiffMain.main(ExecDiffMain.java:18)
        at io.github.chains_project.cs.Main.call(Main.java:179)
        at io.github.chains_project.cs.Main.call(Main.java:30)
        at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
        at picocli.CommandLine.access$1500(CommandLine.java:148)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
        at picocli.CommandLine.execute(CommandLine.java:2170)
        at io.github.chains_project.cs.Main.main(Main.java:89)

When I run it locally, it works. Also, for all depths, except dp=0, it has also worked on the repairnator machine. I guess that we get this for dp=0 is that Selenium has failed to render the page or some connection issue.
So, I'm closing this...


Search does not work when site BaseURL is a subdirectory

I need to have the Hugo-generated site be located in a subdirectory, e.g. "https://example.com/something1/something2/myhugosite".  As far as I can tell, the way to do that is to define baseURL in my site's config.toml.  (Maybe that's not right?  I'm new to Hugo.)
However, if I define baseURL, search does not seem to return anything.  I notice from Chrome Developer Tools that the js is looking for "/index.json" (and not able to find it) rather than "/something1/something2/myhugosite/index.json".
If I change layouts/partials/search.html line 2:
{{ $indexUrl := cond $isI18n (printf "%s/%s/index.json" site.BaseURL .Lang) (printf "%s/index.json" site.BaseURL)  }}

and line 85:
const item = result( '{{ site.BaseURL }}' + res.url, res.title, res.section);

This seems to get search to work in my scenario.  But I don't know if this the breaks something else, or if I'm just configuring things wrong.

@jborlik Do you by chance have a repo I can look at?

Sorry, @lucperkins, that I haven't responded sooner.  I tried to replicate it by starting a new site, following the Tract "getting started" instructions, and then setting baseurl="http://example.com/subdir/mysite" in the new site's config.toml... and everything seemed to work as expected.  So I don't know.
I notice when I set canonifyURLs = true, I get Chrome console errors that show index.json was not found.  But now I don't know why that was set in the my original site!

@jborlik Glad to hear it worked out! Feel free to re-open this issue if similar issues arise in the future.


Add Parenthesis and Fix typos

The tutorial missed parenthesis and had a typo, I added back the parentheses

@JoeHO888 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@JoeHO888 Thank you for signing the Contributor License Agreement!

I merged manually with a cosmetic change. Thank you!


chore: release 1.1.0

External Contributions
This project is not yet set up to accept pull requests from external contributors.
If you have a pull request that you believe should be accepted, please contact
the Developer Relations team<EMAIL_ADDRESS>with details
and we'll evaluate if we can setup a CLA to allow for the contribution.
For Internal Contributors
[TICKET_ID]
Description Of Changes
Add a brief description of the changes that you have involved in this PR
Types Of Changes
What types of changes does your code introduce to this project?
Put an x in the boxes that apply_

[ ] Bugfix
[x] New feature
[ ] Documentation (correction or otherwise)
[ ] Cosmetics (whitespace, appearance (ex) Prettier)
[ ] Build configuration
[ ] Improvement (refactor code)
[ ] Test

/bot create ticket

[Creating Ticket] 🔖 Done https://sendbird.atlassian.net/browse/SDKRLSD-1088


New release with testing helpers

https://github.com/thefrontside/emberx-file-input/pull/49 is fantastic -- can you make a release with it?

I could get to this tonight after work. Anyone from @thefrontside/staff have time before?

When do you plan to release this fix? Thanks :)

Released as version 1.2.0


Adding Valgrind check to Travis CI

Opening this to test against Travis. I expect that this will need to patch a lot of the existing solutions to get it to pass.
Closes #127
Edit: Apparently only 5 problems needed patching, and all of them were in the example solutions, so these patches don't change any of the user interface.

Fair play - Totally forgot I'd opened #127! 😳

Awesome! Thanks for doing this.


Typo in modal

Hi,
Just downloaded     "ng2-bootstrap": "^1.0.17", from npm.
There is a typo in /components/modal.d.ts
MODAL_DIRECTVES should be MODAL_DIRECTIVES right?

Duplicate of https://github.com/valor-software/ng2-bootstrap/issues/587
Sorry


.jp TLD partial parsing

Parsing .jp response is missing some fields with Japanese characters.

example:
Domain Information: [ドメイン情報]
[Domain Name]                   GOOGLE.JP
[登録者名]                      Google LLC
[Registrant]                    Google LLC
[Name Server]                   ns1.google.com
[Name Server]                   ns2.google.com
[Name Server]                   ns3.google.com
[Name Server]                   ns4.google.com
[Signing Key]
[登録年月日]                    2005/05/30
[有効期限]                      2022/05/31
[状態]                          Active
[最終更新]                      2021/06/01 01:05:09 (JST)
Contact Information: [公開連絡窓口]
[名前]                          Google LLC
[Name]                          Google LLC
[Email]<EMAIL_ADDRESS>[Web Page]
[郵便番号]                      94043
[住所]                          Mountain View
1600 Amphitheatre Parkway
CA
[Postal Address]                Mountain View
1600 Amphitheatre Parkway
CA
[電話番号]<PHONE_NUMBER>0
[FAX番号]<PHONE_NUMBER>1
parsed:
{"domain":{"domain":"google.jp","punycode":"google.jp","name":"google","extension":"jp","name_servers":["ns1.google.com","ns2.google.com","ns3.google.com","ns4.google.com"]},"registrant":{"name":"Google LLC"},"administrative":{"name":"Google LLC","street":"Mountain View, 1600 Amphitheatre Parkway<EMAIL_ADDRESS>missed: postal code, Created on, Expires on, and more...
compare the English only response:
Domain Information:
[Domain Name]                   GOOGLE.JP
[Registrant]                    Google LLC
[Name Server]                   ns1.google.com
[Name Server]                   ns2.google.com
[Name Server]                   ns3.google.com
[Name Server]                   ns4.google.com
[Signing Key]
[Created on]                    2005/05/30
[Expires on]                    2022/05/31
[Status]                        Active
[Last Updated]                  2021/06/01 01:05:09 (JST)
Contact Information:
[Name]                          Google LLC
[Email]<EMAIL_ADDRESS>[Web Page]
[Postal code]                   94043
[Postal Address]                Mountain View
1600 Amphitheatre Parkway
CA
[Phone]<PHONE_NUMBER>0
[Fax]<PHONE_NUMBER>1

Hello @davem14
Yes, the parser do not handle Japanese characters, please using /e when doing whois query.


Update etils dependencies constraints

For consistency with upstream: https://github.com/google/etils/blob/v1.5.1/pyproject.toml .
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


fix(stages): unwind receipts in execution stage

During the execution, we insert receipts:
https://github.com/paradigmxyz/reth/blob/b1760e7332faef690431fabeae3119a9fcb7d077/crates/storage/provider/src/post_state/mod.rs#L622-L632
but don't delete them during the unwind.

Codecov Report

Merging #2900 (a6c35c1) into main (b1760e7) will decrease coverage by 8.60%.
The diff coverage is 90.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main    #2900      +/-   ##
==========================================
- Coverage   71.22%   62.62%   -8.60%
==========================================
  Files         513      513
  Lines       66583    66591       +8
==========================================
- Hits        47426    41705    -5721
- Misses      19157    24886    +5729

Flag
Coverage Δ

integration-tests
17.40% <0.00%> (-0.02%)
:arrow_down:

unit-tests
55.82% <90.00%> (-10.28%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/stages/src/stages/execution.rs
92.37% <85.71%> (+0.10%)
:arrow_up:

crates/storage/provider/src/post_state/mod.rs
73.21% <100.00%> (-22.52%)
:arrow_down:

... and 131 files with indirect coverage changes

@onbjerg added a comment with explanation https://github.com/paradigmxyz/reth/blob/3e3d30ca74fca3576b8b3f60a42e3c5af3b6fd88/crates/stages/src/stages/execution.rs#L315-L316


Seeds don't drop when ores are mined with moded pickaxe.

When an ore such as diamond is mined with a non-vanilla pickaxe (for example tinkers') seeds do not drop.

Fixed with commit 51ab997.


devc fails on Maven project name with spaces

The Docker image generated by devc seems to be taken from the Maven project name, which can be set to a human-readable name that contains spaces, upper case characters and other characters not allowed by Docker.
Reproducer
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <!-- ... -->
    <name>Coffee shop application</name>

Fails with:
[INFO] docker build --pull -f /tmp/tempDockerfile17521686502556893606 -t Coffee shop application-dev-mode /home/sebastian/workspaces/sdaschner/coffee-testing/coffee-shop
[ERROR] invalid argument "Coffee" for "-t, --tag" flag: invalid reference format: repository name must be lowercase
[ERROR] See 'docker build --help'.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

Removing the <name> makes the plugin use the artifactId which works.
Suggestion: Either always use the artifactId or sanitize the name to alphanum only.

Testing with project:
[INFO] -----------------< io.openliberty:demo-devmode-maven >------------------
[INFO] Building ____Name !@#$%^*() under_score []{};':" >/?,.`~ with spaces___ 1.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------

which results in image name
[INFO] docker build --pull -f /var/folders/p1/v7svjg7s6xngg377xtsjxcmc0000gn/T/tempDockerfile4394832267849271311 -t name-----------under-score------------------with-spaces----dev-mode /Users/pal/devmode


[docs] "alias" is misleading

Grape can rename parameters via as:, so for example:
params do
  requires :email_address, as: :email
end

will map the input paramter email_address to the key :email in params anddeclared(params).
I like this feature very much and it does exactly the right thing. But the feature has a quite misleading name:

Alias
You can set an alias for parameters using as, which can be useful when [ ...]

The term "alias" implies that both parameters co-exist, that they can be used interchangeably. This is clearly not the case here, there's no params[:email_address]. Maybe there's some actual aliasing going on within grape, but not on the outside.
I therefore kindly ask you to change the term "alias". Something like "parameter mapping" or "renaming" seems much more appropriate.

This makes total sense @sos4nt. Could you PR a change for this please? Appreciate it.
Maybe we can also introduce true aliases as a separate feature request. Curious to hear thoughts from various people of what that could look like syntax-wise.


Implement Debug for VariantDict

VariantDict cannot be formatted using {:?} because it doesn't implement std::fmt::Debug
It would be good to be able to print the content of the dict

well, I was trying to see what is in the dict, so that kind of defeats the point :)


Norm functions

Currently there are four distinct norm functions, which I don't think is
really necessary. The attachment provides two norm functions, one for
general iterables (essentially norm_p, but I think 'norm' is a better name)
and the other for matrices, both with a general parameter p (details can be
tweaked).

In Matlab and Mathematica, there is only a single norm function, which
would also be doable. However, this assumes automatic distinction between
matrices and non-matrix iterables.

On a related note, there is room for optimizing the Euclidean norm calculation:

>>> u = [rand() for i in range(1000)]
>>> 1/timing(norm_p, u, 2)
54.239658808908935
>>> 1/timing(lambda: sqrt(fdot(u,u)))
184.59057661670084

>>> 1/timing(norm_p, u, 1)
169.68965307980176
>>> 1/timing(fsum, u)
533.24654190398701

(There are even bigger speedups with psyco.)

This obviously just works for real (in the second case positive) vectors.
But we could use fdot/fsum by adding flags to these functions for taking
conjugates / absolute values in place. This should also be useful elsewhere.

Original issue for #182: http://code.google.com/p/mpmath/issues/detail?id=142
Original author: https://code.google.com/u/111502149103757882156/
Original owner: https://code.google.com/u/111502149103757882156/

Now we have norm/mnorm functions, so I think this issue is not relevant anymore.


start without wifi

SA blocks during boot when the previously configured wifi is not available. This is rather inconvenient. I'd rather have it:

offer the access point mode when we cannot make a wifi connection (either never configured or wifi out of reach)
provide the power output if it has been configured previously.

As far as I can see, right now we're using a blocking call wifiManager.autoConnect()
instead we should rather attempt to connect in a non-blocking way similar to this: https://github.com/tzapu/WiFiManager/tree/master/examples/NonBlocking
and make sure that output is only enabled if that has previously been configured (I think that's the case anyway)


New OT Genetics Evidence Widget Scoping

This ticket will include scoping of the new genetics evidence widgets

Duplicate of #3604


Moving TaskInterface and Task to task_scheduler.hpp

This move allows for the removal of the source file, task_scheduler.cpp.

Updated the documentation in task_scheduler.hpp
Reorganized FreeRTOS headers in utility/rtos.hpp

Should this be merged ATM?
Error is coming from the lpc40xx linker script only when building barebones project.
/* Code Read Protection data */
. = 0x000002FC ;
PROVIDE(__CRP_WORD_START__ = .) ;
KEEP(*(.crp))
PROVIDE(__CRP_WORD_END__ = .) ;
ASSERT(!(__CRP_WORD_START__ == __CRP_WORD_END__), "Linker CRP Enabled, but no CRP_WORD provided within application");
/* End of Code Read Protection */

I'll merge this in.


[beta-1.72.0] bump cargo-util to 0.2.5

#11442 changed cargo-util at the last minute but we failed to bump the version.
And due to https://github.com/rust-lang/cargo/issues/12347, version bump check didn't work well at that time.
In order to make CI pass, the following PRs are also cherry-picked:

https://github.com/rust-lang/cargo/pull/12450
https://github.com/rust-lang/cargo/pull/12491

@bors r+

:pushpin: Commit 3a376dca74b4e6351fcd556e53e52cba2ecdfeaa has been approved by ehuss
It is now in the queue for this repository.

I am going to merge this before rust-lang/rust 111071, because I don't what to backport more unrelated stuff…
@bors r=ehuss

:pushpin: Commit bc797515c7ace87c6e5006f64ebea4d146b01018 has been approved by ehuss
It is now in the queue for this repository.

:hourglass: Testing commit bc797515c7ace87c6e5006f64ebea4d146b01018 with merge 103a7ff2ee7678d34f34d778614c5eb2525ae9de...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing 103a7ff2ee7678d34f34d778614c5eb2525ae9de to rust-1.72.0...


Correct handling of grouped variables in AS clause

This fixes the bug in expressions like
?x + SUM(?y), where ?x is a grouped variable.
TODO: Find out if this works and write
unit tests.

Here is a suggestion for the commit message for the Squash and merge:
So far, an expression like ?x + SUM(?y) in the SELECT clause threw an error message when ?x was a GROUP BY variable and ?y was not. This is fixed now.
TODO: The expression still throws an error message when it's in the HAVING clause, namely: "Variable ?y not found".


Add skill hiding in XpTrackerPlugin

Add the ability to toggle specific skills from showing up in the XpTrackerPlugin.


fix: retryStrategy.Limit is now read properly for backoff strategy. Fixes #9170.

Signed-off-by: Dillen Padhiar<EMAIL_ADDRESS>Fixes #9170
Previously, this if statement always evaluated to false if you set a Limit for RetryStrategy as the retryStrategy.Limit.IntVal always equaled 0. The appropriate way to get the integer value from a intstr.IntOrString is to use IntValue which returns an int we cast to int32.
if time.Now().Before(waitingDeadline) && retryStrategy.Limit != nil && int32(len(node.Children)) <=
    int32(retryStrategy.Limit.IntValue()) {
    woc.requeueAfter(timeToWait)
    retryMessage := fmt.Sprintf("Backoff for %s", humanize.Duration(timeToWait))
    return woc.markNodePhase(node.Name, node.Phase, retryMessage), false, nil
}

am on v3.3.9 but backoff doesnt seem to apply any delays between retries


Revert "Delete manifests/a/AList/AList/3.16.2 directory"

Reverts microsoft/winget-pkgs#189434
Microsoft Reviewers: Open in CodeFlow

Commenting to remove Needs-Author-Feedback label.

URL: https://github.com/alist-org/alist/releases/download/v3.16.2/alist-windows-386.zip
Status Code: 200
(Automated message - build 897)

URL: https://github.com/alist-org/alist/releases/download/v3.16.2/alist-windows-386.zip
Status Code: 200
(Automated message - build 897)

[Policy] Needs-Manual-Merge


Add list of allowed licenses in the style.css

Since I can parse style.css, and could probably parse readme.txt in the theme, it could be a good feature to have License checks to see if the specified license is in line with GPL.
I'd need a list of allowed Licenses so that I can check agains them 🙂

This list is a good start - https://make.wordpress.org/themes/handbook/review/resources/#licenses-bundled-resources
Can we add a blacklist check for these?
unsplash.com, sxc.hu, photopin.com, publicdomainpictures.net, splitshire.com,  pixabay.com

Sure that could be added as well, whitelist and blacklist 🙂

Blacklist alone would cut my review time in half 🔥

https://github.com/WPTRT/theme-sniffer/pull/139 works with the readme.txt, and dives into license validation for the primary License added.  @DannyCooper I added your blacklisted names in preparation for the resources section, but haven't implemented them for that section yet.

I just wanted to be sure that none of them will be missed - GPLv3, AGPLv3 and MIT. As we use all 3 for different projects / scopes :).

I'll close this because #139 has been merged. We'll work further on this (refactor the licenses to be pulled from a repo etc.).


Clean up auth code in preparation for adding SAML

These are all pure refactors, or tests.
They came as I was refactoring this code to make it suitable to incorporate the new data-driven list of auth methods (#3670) which we'll use for SAML... and then as I studied it harder and unraveled what some parts of it were really doing, and sought to make the names and organization better match that.

Thanks @ray-kraesig for the review! Merged, with revisions from your comments.


License for Commercial use

Thanks again for the great project.
As far as my test goes your project is working so much better and faster and is easier to use than any other similar I have been testing.
Is there any possibility to change the license to use the inference part of your project in a commercial product?
The current GPL-3.0 license, prevents doing that.

Hello,
GPL 3.0 does allow commercial usage. If you want a more permissive license, please drop me an email.


Error when deleting row

Hello, I am trying to delete a row.
But I got this crash :
Invalid update: invalid number of rows in section 0. The number of rows contained in an existing section after the update (1) must be equal to the number of rows contained in that section before the update (1), plus or minus the number of rows inserted or deleted from that section (0 inserted, 1 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).

This is how I am trying to delete my row :
self.models.value.removeFirst()
self.hakuba[0].remove(0).slide(MYAnimation.Left)

Thanks for your reporting. I will check it.

Thank you ! :+1:

I even try in the example project, in case my implementation was wrong, but it crashes also.

I have just released Hakuba with version 2.0. I think this problem has been fixed in this version. So please try it.

Working now. Thanks !
But the migration to the version 2.0, was a real pain.
Anyway good job :+1:


more readable Buffer.compare

LGTM

Thank you.
Do you have any benchmarks about performance for early return?

Not within the buffer project, but if you google it you can learn more.
On Wed, 23 Mar 2016 at 21:09 Kirill Fomichev<EMAIL_ADDRESS>wrote:

Thank you.
Do you have any benchmarks about performance for early return?
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/feross/buffer/pull/109#issuecomment-200653860

It's specific benchmark, google will gives nothing.
$ uname -a
Linux localhost.localdomain 4.4.5-300.fc23.x86_64 #1 SMP Thu Mar 10 17:54:44 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ node -v
v5.7.1
$ cat bench2.js
var benchmark = require('benchmark')
var createHash = require('create-hash')

var buf1 = new Buffer(1024)
var buf2 = new Buffer(buf1)
buf2[buf2.length - 10] += 1

function cmp1 () {
  var x = buf1.length
  var y = buf2.length

  for (var i = 0, len = Math.min(buf1.length, buf2.length); i < len; ++i) {
    if (buf1[i] !== buf2[i]) return buf1[i] > buf2[i] ? 1 : -1
  }

  if (x < y) return -1
  if (y < x) return 1
  return 0
}

function cmp2 () {
  var x = buf1.length
  var y = buf2.length

  for (var i = 0, len = Math.min(buf1.length, buf2.length); i < len; ++i) {
    if (buf1[i] !== buf2[i]) {
      x = buf1[i]
      y = buf2[i]
      break
    }
  }

  if (x < y) return -1
  if (y < x) return 1
  return 0
}

new benchmark.Suite()
  .on('cycle', (event) => console.log(String(event.target)))
  .add('break', () => cmp2)
  .add('early exit', () => cmp1)
  .run()
$ node bench2.js
early exit x 51,004,415 ops/sec ±1.53% (81 runs sampled)
break x 51,235,002 ops/sec ±1.04% (88 runs sampled)
$ node bench2.js
early exit x 51,907,082 ops/sec ±1.52% (84 runs sampled)
break x 52,595,909 ops/sec ±1.28% (85 runs sampled)
$ node bench2.js
early exit x 51,724,788 ops/sec ±1.47% (83 runs sampled)
break x 50,746,237 ops/sec ±1.68% (86 runs sampled)
$ node bench2.js
break x 52,120,941 ops/sec ±1.59% (83 runs sampled)
early exit x 51,695,328 ops/sec ±1.61% (87 runs sampled)
$ node bench2.js
break x 51,728,658 ops/sec ±1.49% (83 runs sampled)
early exit x 52,043,099 ops/sec ±1.44% (86 runs sampled)
$ node bench2.js
break x 50,741,374 ops/sec ±1.59% (82 runs sampled)
early exit x 51,561,304 ops/sec ±1.02% (87 runs sampled)

looks like jitter


weeee

wag na makielam

Description

A clear and concise summary of the change and which issue (if any) it fixes. Should also include relevant motivation and context.
Resolved or fixed issue:
Affirmation

[ ] My code follows the CONTRIBUTING.md guidelines

asdasdsad


Firmware Update

librealsense
2.55.1 RELEASE

OS
Linux

I was doing a firmware update and it suddenly stopped working

Hi @Romaiz  Can the camera still be detected in the RealSense Viewer tool after the firmware update failure, please?

Hello, yes it is still being detected after I replug it, however, it is not giving me any output. And the realsense view application keeps crashing.

What is the camera name displayed at the top of the Viewer's options side-panel?
Do the problems still occur if you close down your computer and then start it up again with the power button (i.e a full shutdown of the computer, not a restart).

What is the camera name displayed at the top of the Viewer's options side-panel?
Do the problems still occur if you close down your computer and then start it up again with the power button (i.e a full shutdown of the computer, not a restart).

I have the same issue. My OS is Ubuntu 22.04 on a Raspberry Pi 4 (8GB RAM). After I upgraded the system, it stopped working. I checked the Realsense Viewer, it could detect the camera port, but RBG and depth images didn't show up. After a few seconds, the Realsense Viewer application crashed. I rolled back my system in our backup and the realsense worked fine. So I guess there must be something wrong with the "sudo apt upgrade". I couldn't find which package caused this issue. If someone find out, please let me know.

Hi @JET00wy  If a system rollback corrected your problem then the problem that you experienced after a system upgrade may have been caused by the upgrade installing a version of the librealsense SDK that was not compatible with the firmware driver (which is stored inside the camera hardware and not on the computer).
Which firmware version is your camera currently using, please?  Listed below is the recommended firmware for each librealsense version.
2.55.1: <IP_ADDRESS>
2.54.2: <IP_ADDRESS>
2.54.1: <IP_ADDRESS>
2.53.0: <IP_ADDRESS>
250.0 / 2.51.1: <IP_ADDRESS>

Hi @JET00wy If a system rollback corrected your problem then the problem that you experienced after a system upgrade may have been caused by the upgrade installing a version of the librealsense SDK that was not compatible with the firmware driver (which is stored inside the camera hardware and not on the computer).
Which firmware version is your camera currently using, please? Listed below is the recommended firmware for each librealsense version.
2.55.1: <IP_ADDRESS> 2.54.2: <IP_ADDRESS> 2.54.1: <IP_ADDRESS> 2.53.0: <IP_ADDRESS> 2.50.0 / 2.51.1: <IP_ADDRESS>

I can check it on it on my Raspberry Pi. I have one with a rolled-back system and one updated. Could you kindly let me know how to find the firmware of the librealsense? I can check and come back to you.

You can list the firmware version with the command rs-enumerate-devices -s
If you have access to the RealSense Viewer tool then you can also find it by clicking the Info button near the top of the Viewer's options side-panel.

You can list the firmware version with the command rs-enumerate-devices -s
If you have access to the RealSense Viewer tool then you can also find it by clicking the Info button near the top of the Viewer's options side-panel.

Thank you very much for your reply. I checked the one that didn't work. The firmware is <IP_ADDRESS>. The error line showed that "control_transfer returned error, index:300, error: Resource temporarily unavailable, number: b".

Thank you very much.  If you are using librealsense 2.55.1 then the camera should have firmware <IP_ADDRESS> installed. Using older firmware versions can cause errors to occur.

Thank you very much. If you are using librealsense 2.55.1 then the camera should have firmware <IP_ADDRESS> installed, which is the recommended version for 2.55.1. Using older firmware versions instead of the firmware recommended for a particular librealsense version can cause errors to occur.

Got it. My camera had old firmware and my old Pi has the old librealsense so that works. After I upgrade the packages, the updated librealsense dosen't work with firmware <IP_ADDRESS> on the camera if I understand it correctly.

Thank you very much. If you are using librealsense 2.55.1 then the camera should have firmware <IP_ADDRESS> installed, which is the recommended version for 2.55.1. Using older firmware versions instead of the firmware recommended for a particular librealsense version can cause errors to occur.

But there is another issue. I tried to use the Realsense viewer to upgrade the camera firmware. The librealsense has been upgraded. When I clicked upgrade the firmware in the Realsense viewer. The software just crashed. It looks like I can't use current librealsense version to upgrade the camera firmware.

If you tried to update the firmware using the pop up box in the top corner of the Viewer window, you can also update by first going to the firmware downloads page and downloading a .bin file for the <IP_ADDRESS> firmware.
https://dev.intelrealsense.com/docs/firmware-releases-d400
<IP_ADDRESS> will be the one at the top of the list of .bin files as it is the current latest.
Then go to the 'More' option near the top of the Viewer's options side-panel and select from its drop-down menu Update Firmware.  A file selector box will pop up.  Navigating to the location that you downloaded the .bin file to and selecting the file will automatically begin the firmware update.

If the Viewer still crashes then you can instead use the downloaded .bin file to update with a text command in the SDK's terminal-based rs-fw-update firmware update tool.
https://github.com/IntelRealSense/librealsense/tree/master/tools/fw-update

If you tried to update the firmware using the pop up box in the top corner of the Viewer window, you can also update by first going to the firmware downloads page and downloading a .bin file for the <IP_ADDRESS> firmware.
https://dev.intelrealsense.com/docs/firmware-releases-d400
<IP_ADDRESS> will be the one at the top of the list of .bin files as it is the current latest.
Then go to the 'More' option near the top of the Viewer's options side-panel and select from its drop-down menu Update Firmware. A file selector box will pop up. Navigating to the location that you downloaded the .bin file to and selecting the file will automatically begin the firmware update.
If the Viewer still crashes then you can instead use the downloaded .bin file to update with a text command in the SDK's terminal-based rs-fw-update firmware update tool.
https://github.com/IntelRealSense/librealsense/tree/master/tools/fw-update

I appreciate your help!

Hi @Romaiz  and @JET00wy   Do either of you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Automatically scrolling after folding accordion

OS: MAC OS X 10.11.6 (15G1004)
Opera: 42.0.2393.94
Webpage affected
Steps:

Scroll down until accordion.
Click several times (at least 10) on the first header.
Look at how the scrollbar moves

Best regards.

You need to produce a reduced test case for bug reports; we cannot sift through full sites like this. Looking at it though, I'd guess your problem is with the numerous things happening on the page, including those .flakes constantly repositioning themselves, the changing header position, etc.
If you can still produce the bug with just our HTML, CSS, and JS, please comment here with a JS Bin demoing it and I'll reopen. <3


tests(nginx): add tests for nginx package.

Before:
?   	github.com/deis/router/nginx	[no test files]

After:
ok  	github.com/deis/router/nginx	0.034s	coverage: 56.5% of statements

Current coverage is 45.60% (diff: 100%)

Merging #281 into master will decrease coverage by 0.80%

@@             master       #281   diff @@
==========================================
  Files             3          5     +2
  Lines           306        375    +69
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            142        171    +29
- Misses          160        189    +29
- Partials          4         15    +11

Powered by Codecov. Last update 9a0d3c8...ef5b24f


index the Motoko examples, with categories

Adding an index file so that readers can get an overview of the Motoko examples without descending into and reading each one.

@crusso @chenyan-dfinity I have a few questions.
I'm still getting caught up with the start of the art of "front end canister development" using dfx.  As I read these examples, I found myself making this mental categorization of them.  I'm adding this index file here in case it's helpful generally, but also, just to double-check that I've classified the examples correctly myself.  That's the primary purpose of this PR.
In particular, I'm still trying to appreciate the role of react and react-dom in the package.json files of these projects.
(Keep in mind that I know basically nothing about how frontend development is supposed to work here, so my questions are basic.)
In at least three cases, the role of React is fairly clear to me as a novice: It defines the class that defines the javascript behavior for the application, via a line like class Life extends React.Component { ... in a file like index.jsx in the assets for the project.
However, that does not seem to be the case for random_maze, which seems more minimal, and thus worth imitating for further examples that are supposed to be minimal, like certified variables, my current task.  So, I plan to dig into that more, to understand how it builds and deploys, with the hope of doing something similar for the forthcoming certified var example.
(Can you confirm that I'm saying accurate things here, and in the README file?)

It's more or less correct. But I see both random_maze and other examples with frontend as full-stack examples. The use of a particular library/framework (in this case "react") doesn't make them different from other apps.
React is there to make some incremental DOM updates "easier", but it's not a requirement to build the frontend on the IC. In this sense, you can say random_maze and the default example from dfx new are minimal examples in the sense that you are just writing plain JavaScript, and not some DSL (React/Vue/Elm are all DSLs) built on top of JS.
Of course, you can go even further/minimal by removing the agent-js package with a single file (see Paul's example: https://github.com/ninegua/ic-qr-scanner/blob/main/src/bare-agent.js). But that can make user code more difficult to write in some cases. So there is a balance for a minimal setup :)

Looks useful, thanks. Did you consider making those headings links?

Good idea -- Done!

@chenyan-dfinity Did you want me to adjust the organization of the examples with a frontend, or how to term them?
Perhaps I will merge this now, and we can revisit again?  I agree that the terminology is not yet ideal.


Fix unused private $tz, add missing $utc private properties

In code constructor, $this->utc referenced a non-existing property; at the same time, a DateTimeZone private property $tz was declared but not used.
It seems property got renamed somewhere in time in code usage, but not in property declaration.
Provide a narrative description of what you are trying to accomplish:

[x] Are you fixing a bug?

[x] Detail how the bug is invoked currently.
[x] Detail the original, incorrect behavior.
[x] Detail the new, expected behavior.
[x] Base your feature on the master branch, and submit against that branch.
[ ] Add a regression test that demonstrates the bug, and proves the fix.
[ ] Add a CHANGELOG.md entry for the fix.

[ ] Are you creating a new feature?

[ ] Why is the new feature needed? What purpose does it serve?
[ ] How will users use the new feature?
[ ] Base your feature on the develop branch, and submit against that branch.
[ ] Add only one feature per pull request; split multiple features over multiple pull requests
[ ] Add tests for the new feature.
[ ] Add documentation for the new feature.
[ ] Add a CHANGELOG.md entry for the new feature.

[ ] Is this related to quality assurance?

[ ] Is this related to documentation?

Thanks, @adrian-martinez-interactiv4!


Related syslog
docker0: port 1(vethcc3f677) entered forwarding state
Aug  4 17:23:46 iZ94cqdwrvtZ kernel: [  128.640150] IPv6: ADDRCONF(NETDEV_CHANGE): docker0: link becomes ready
Aug  4 17:23:51 iZ94cqdwrvtZ kernel: [  133.184679] nf_conntrack_pptp: unknown parameter 'nf_nat_pptp' ignored
Aug  4 17:23:59 iZ94cqdwrvtZ kernel: [  141.026608] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
Aug  4 17:23:59 iZ94cqdwrvtZ kernel: [  141.026622] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
Aug  4 17:24:01 iZ94cqdwrvtZ kernel: [  143.648021] docker0: port 1(vethcc3f677) entered forwarding state
Aug  4 17:24:03 iZ94cqdwrvtZ kernel: [  145.083646] PPP MPPE Compression module registered
Aug  4 17:25:01 iZ94cqdwrvtZ CRON[1517]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Aug  4 17:25:30 iZ94cqdwrvtZ kernel: [  232.288815] docker0: port 1(vethcc3f677) entered disabled state
Aug  4 17:25:30 iZ94cqdwrvtZ kernel: [  232.316748] docker0: port 1(vethcc3f677) entered disabled state
Aug  4 17:25:30 iZ94cqdwrvtZ kernel: [  232.326568] device vethcc3f677 left promiscuous mode
Aug  4 17:25:30 iZ94cqdwrvtZ kernel: [  232.326579] docker0: port 1(vethcc3f677) entered disabled state
Timeout, server livetest not responding.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

+1

USER POLL
The best way to get notified when there are changes in this discussion is by clicking the Subscribe button in the top right.
The people listed below have appreciated your meaningfull discussion with a random +1:
@psaniko

Have you solved your problem?

Closing as inactive. Was probably kernel issue. Pls, feel free to open new issue if the problem still persists.


how to make a real operation system be an Docker image

how to make a real operation system be an Docker image
In the past time, I didn't learn much knowledge of Docker. I started my coding on Ubuntu 1804 operation system, and I downloaded many software.
Now I need to migrate into another machine Ubuntu 1604, and there is Docker software on that.
 How to do this? Or how to most easily migrate from one machine to another machine?

Please keep in mind that this GitHub issue tracker is for reporting bugs/issues with the documentation, and not intended as a general support forum. For other type of questions, consider using one of;

the Docker Support Forums - https://forums.docker.com
the Docker community Slack channel
StackOverflow (https://stackoverflow.com)

I'm closing this issue because this is not related to the documentation, but feel free to comment after I closed


DataFrame .duplicated() / .drop_duplicates() flagging unique rows as duplicated in 0.17.1

Dataframe.duplicated() is flagging rows as duplicates when they are in fact distinct. This happens when using large dataframes, and duplicated(keep=False):
import pandas as pd, numpy as np
df = pd.DataFrame({'a': pd.Series(range(1,100000)),
                   'b': pd.Series(range(10,1000000)),
                   'c': pd.Series(3*range(2,200000,2))})
df.head()

np.sum(df.duplicated())

Out[]: 0
np.sum(df.duplicated(keep=False))

Out[]:110
Changing column order results in different (but still incorrect) behavior.
np.sum(df[['c','b','a']].duplicated(keep=False))

Out[]:2138
Tested on 0.17.1. Environment details are provided below:
>> pd.util.print_versions.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 2.7.11.final.0
python-bits: 64
OS: Darwin
OS-release: 14.5.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: None
LANG: en_GB.UTF-8
pandas: 0.17.1
nose: None
pip: 7.1.2
setuptools: 18.5
Cython: None
numpy: 1.10.1
scipy: 0.16.0
statsmodels: None
IPython: 4.0.0
sphinx: 1.3.3
patsy: None
dateutil: 2.4.2
pytz: 2015.7
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.4.3
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.9
pymysql: None
psycopg2: 2.6.1 (dt dec pq3 ext)
Jinja2: None

This looks like the same kind of problem described in  #11668, though the specific examples provided in that issue work properly in 0.17.1

cc @behzadnouri
cc @evanpw

64-bit integers are getting sliced to 32-bit in duplicated_int64. This is a simpler DataFrame that exhibits the same problem:
In [1]: import pandas as pd

In [2]: df = pd.DataFrame([i] * 9 for i in range(16))

In [3]: df = df.append([[1] + [0] * 8], ignore_index=True)

In [4]: df
Out[4]:
     0   1   2   3   4   5   6   7   8
0    0   0   0   0   0   0   0   0   0
1    1   1   1   1   1   1   1   1   1
2    2   2   2   2   2   2   2   2   2
3    3   3   3   3   3   3   3   3   3
4    4   4   4   4   4   4   4   4   4
5    5   5   5   5   5   5   5   5   5
6    6   6   6   6   6   6   6   6   6
7    7   7   7   7   7   7   7   7   7
8    8   8   8   8   8   8   8   8   8
9    9   9   9   9   9   9   9   9   9
10  10  10  10  10  10  10  10  10  10
11  11  11  11  11  11  11  11  11  11
12  12  12  12  12  12  12  12  12  12
13  13  13  13  13  13  13  13  13  13
14  14  14  14  14  14  14  14  14  14
15  15  15  15  15  15  15  15  15  15
16   1   0   0   0   0   0   0   0   0

I've got an easy fix (just change a type from int to int64_t). I'll do a PR tonight.

closed by #11894


New scripts - [merged]

In GitLab by @ggcr on Jan 18, 2023, 12:43
Merges New_Scripts -> master
Hi,
This merge is to keep stored the VM scripts somewhere. I've been using them a lot!
They are explained at the end of the Autosubmit GUI Developers Guide.

In GitLab by @ggcr on Jan 18, 2023, 12:43
requested review from @ jberlin

In GitLab by @ jberlin on Jan 19, 2023, 11:59
please add a header to all scripts and example call about how to use it , example:

########################################################################################################################
# this job not only removes files in order to free space, but also is in charge of saving all output files,
# logs and restarts to the HPC's permanent storage.
# It prepares and saves restart files.
# It saves original and cmorized outputs.
# It also does some nudging processing.
# It uses cleaning.sh, atmospheric_nudging.sh among other files plugins
# Author: xxxx
########################################################################################################################

In GitLab by @ggcr on Jan 24, 2023, 08:02
Done, I've only added the header to those scripts that I have used in the past. There are this scripts that I've never used/seen them (I guess they are from the prod machine?):

run_apache.sh
uGUI.sh
uWEB.sh

In GitLab by @ jberlin on Jan 24, 2023, 09:17
approved this merge request

In GitLab by @ jberlin on Jan 24, 2023, 09:19
mentioned in commit 0ac215dbd47df8021ede3e39fe8da13e2be4530c


Wow!

Bro am I dreaming this right now? Or has someone really documented something in detail about Apple's security. Oh man you poor that was definitely a lot of work.
All the best to you and stay healthy

All thanks go to the community for writing, reviewing and using the material!


Update app-deploy files to use new API

We have updated (before our initial release) the APIs of the Appsody Operator to be v1beta1, as per https://github.com/appsody/appsody-operator/pull/72
Therefore the app-deploy.yaml files need to be updated, and the operator redeployed into current dev/test clusters to pickup the new version.

fyi @seabaylea @neeraj-laad

They've all been updated and the stacks have been released as of this morning :)


Developr guide link in CONTRIBUTING.md is a dead link

Developer Guide link in CONTRIBUTING.md is https://accumulo.apache.org/contributor/source, which results in a 404. I believe it should probably be https://accumulo.apache.org/how-to-contribute/.

Hi @jkosh44 ; I see you also created #682. Thank you for that. Please be aware that if you want a pull request to reference an issue, you can use the syntax #681 instead of Issue 681. GitHub will automatically link if you use the former syntax, but it doesn't link if you use the latter.
Also, keep in mind that there is no reason to create an issue, and then immediately create a pull request.  Sometimes we create an issue to track future work, or one person creates an issue and then another person creates a pull request. But if you're creating both, only minutes apart, it's redundant.

Fixed in PR #682

Thanks @ctubbsii, will keep that in mind for the future.


Windows 11 has introduced its own sudo.exe, make sure we're using gsudo

Is there an existing issue for this?

[X] I have searched the existing issues

Output of ddev debug test
Expand `ddev debug test` diagnostic information
[COPY-PASTE HERE THE OUTPUT OF `ddev debug test`]

Expected Behavior
DDEV should behave predictably on Windows and WSL2, probably using its own gsudo.exe
However, Windows has introduced its own sudo, so we'll likely have confusion.
Actual Behavior
Make sure that where we invoke sudo.exe on the Windows side we do it explicitly as gsudo.exe
Steps To Reproduce
No response
Anything else?
No response

Gsudo release along these lines: https://github.com/gerardog/gsudo/releases/tag/v2.5.0


MDThemePicker displaying Style tab improperly on Android devices

Description of the Bug
MDThemePicker displaying Style tab improperly on Android but on Windows it works like expected with same code!
Code and Logs
from kivymd.app import MDApp
from kivy.lang import Builder
from kivymd.uix.picker import MDThemePicker

class MainApp(MDApp):
    def build(self):
        theme_dialog = MDThemePicker()
        theme_dialog.open()

if __name__ == '__main__':
    MainApp().run()

Screenshots

Versions

OS: Android 11, Windows 10
Python: 3.8
Kivy: 2.0
KivyMD: 0.104.2

@YarostheLaunchpadder

How to access that?

@YarostheLaunchpadder adb logcat | grep python

It just says: Waiting for devices!
I also have the ADB Log Viewer with Find option, is that useful somehow? Does it print it in the logs of my app somewhere?


Unnamed mutex lock released early [6292]

The code here acquires a lock and immediately releases it since it is not named.
According to git blame that line has been there for over 3 years, is this somehow intentional?

Hi @DavidLoftus
Isn't intentional, nice catch!
A PR in your honor is on the way.


@orta => Removes version number from README.

We can either remove it, or remember to keep it up to date. This seems easier :smile:

Hah, I just made a commit turning it to ARAnalytics 3.x.y

That works too!


Add more logical connectives

[x] logical disjunction
[x] implication
[x] negation

I also added logical disjunction

DONE.   Merged into master after approval of pull request #13


Update commenting.py

fixes #16

@S10MC2015 Can you edit the challenge to something that requires commenting out existing code?

@S10MC2015 Can you edit the challenge to something that requires commenting out existing code?

so like "1. using comments make this code say "Hello": print("Hello") + ("World") "
or "1. explain what this code does with comments: print("Hello World") "

@S10MC2015 Can you edit the challenge to something that requires commenting out existing code?

so like "1. using comments make this code say "Hello": print("Hello") + ("World") "
or "1. explain what this code does with comments: print("Hello World") "

@S10MC2015  Like the first one :)

I have changed the line

@S10MC2015 looks good

@S10MC2015 thanks


test: Automated tests for Bugs

Description
Develop scripts for validating the closed application bugs to increase automation tests scope!
This PR includes automated test cases for Github issues: #10784
Fixes #11585
Type of change

New feature (non-breaking change which adds functionality)

How Has This Been Tested?
Tested on Fat container - release
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:white_circle: Total coverage has not changed
// Code coverage diff between base branch:release and head branch: test/ScriptingBugs

Status
File
% Stmts
% Branch
% Funcs
% Lines

:red_circle:
app/client/src/utils/WorkerUtil.ts
88.98 (-0.78)
70.59 (-1.96)
100 (0)
92.38 (-0.95)

:green_circle:
app/client/src/utils/autocomplete/TernServer.ts
52.94 (0.23)
41.67 (0.84)
36.21 (0)
56.99 (0.25)

/ok-to-test sha=f0ad500

/ok-to-test sha=8c6a346

/ok-to-test sha=2bfef27

/ok-to-test sha=f4287a9

/ok-to-test sha=50791c8

/ok-to-test sha=738ebfe

/ok-to-test sha=7629003

/ok-to-test sha=3ee0df9

/ok-to-test sha=06e542b

/ok-to-test sha=c00663e

/ok-to-test sha=28955e2

/ok-to-test sha=0a42eba


Cleanup

Organized the grammars in the README into a table to make it more clear what types of runs are available. Also alphabetized things in grammars.coffee.

Awesome. Thank you. I'll wait on Travis then :shipit:

YW. Now to fill in some of the blanks

If you're tackling this deeply, we should consider renaming "line based" support. People seem to think that means running line by line, when it's related to some RSpec goodness that I have no idea about.

I thought it was related to running a single line? IE: shift-ctrl-j
But you are right, looking at it now, it looks like the only grammars that have that are related to testing frameworks.
Should remove that entire column, you think?

Should remove that entire column, you think?

Yeah.


[Feature] Independent Uses for each Spell

Some items, like the Staff of Thunder and Lightning, give you spells/abilities that can each be cast once per day.

Would be great if the module would support this, instead of only supporting charge consumption.

Isn't that solved with those properties on the Magic Item tab, you just have to create your own spells for that?

This setting does exactly what I think he was asking. As it was my question too but I did not realize it was a dropdown option.

Yes, it's that, don't know why i posted the wrong charge option. Anyways.


feat: export Policy interface

#11  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pevisscher and the rest of your teammates on  Graphite