I have uploaded image and Updated index.html .

star the repo this is mandatory and you can also follow me.


Verify Kubernetes deployment success on app deploy

What is the context of this PR?
Currently we verify app deployment success with the wait task. This polls the status endpoint waiting for the version returned to match the requested deploy version. This means a deployment is considered complete as soon as one pod returns the updated version, even though other pods may not have been updated yet. This issue would be more apparent in larger scale environments.
This pull request proposes using the Kubernetes deployment status to verify deployment success. kubectl provides a way to check for completion of a deployment via the rollout status command (see https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#deployment-status). This command returns a zero exit code when deployment is successful and will time out if the progress deadline is reached.
How to review

If you don't already have a deployed environment, create one
Deploy the app via the Concourse task:

REGION=europe-west2 \
PROJECT_ID=<your_project_id> \
SUBMISSION_BUCKET_NAME=<your_project_id>-survey-runner-submission \DOCKER_REGISTRY=onsdigital \
IMAGE_TAG=latest \
REQUESTED_CPU_PER_POD=3 \
MIN_REPLICAS=2 \
MAX_REPLICAS=3 \
fly -t census-development execute \
  --config ci/deploy_app.yaml

Deploy a failing version of the app via the Concourse task. I have pushed a bad release to docker hub (bad-release) for testing this that returns a 500 error code for the /status endpoint:

REGION=europe-west2 \
PROJECT_ID=<your_project_id> \
SUBMISSION_BUCKET_NAME=<your_project_id>-survey-runner-submission \
IMAGE_TAG=bad-release \
REQUESTED_CPU_PER_POD=3 \
MIN_REPLICAS=2 \
MAX_REPLICAS=3 \
fly -t census-development execute \
  --config ci/deploy_app.yaml

Example output
Successful deployment:
+ kubectl rollout status deployment.v1.apps/runner
Waiting for deployment "runner" rollout to finish: 1 out of 2 new replicas have been updated...
Waiting for deployment "runner" rollout to finish: 1 out of 2 new replicas have been updated...
Waiting for deployment "runner" rollout to finish: 1 out of 2 new replicas have been updated...
Waiting for deployment "runner" rollout to finish: 1 old replicas are pending termination...
Waiting for deployment spec update to be observed...
Waiting for deployment "runner" rollout to finish: 2 out of 3 new replicas have been updated...
Waiting for deployment "runner" rollout to finish: 2 out of 3 new replicas have been updated...
Waiting for deployment "runner" rollout to finish: 1 old replicas are pending termination...
Waiting for deployment "runner" rollout to finish: 1 old replicas are pending termination...
Waiting for deployment "runner" rollout to finish: 1 old replicas are pending termination...
deployment "runner" successfully rolled out

Failed deployment:
+ kubectl rollout status deployment.v1.apps/runner
Waiting for deployment spec update to be observed...
Waiting for deployment "runner" rollout to finish: 0 out of 2 new replicas have been updated...
Waiting for deployment "runner" rollout to finish: 0 out of 2 new replicas have been updated...
Waiting for deployment "runner" rollout to finish: 0 out of 2 new replicas have been updated...
Waiting for deployment "runner" rollout to finish: 1 out of 2 new replicas have been updated...
error: deployment "runner" exceeded its progress deadline

Successfully tested the successful deployment scenario and also successfully tested a failed deployment scenario (by forcing a deployment deletion). However, I wasn't able to test using the specific 500 status response scenario as the image doesn't seem to exist (making the assumption it should be at https://hub.docker.com/r/onsdigital/eq-questionnaire-runner/tags?page=1&name=bad-release)


FR: Add email-link auth to firebase_auth

Please add email link auth to firebase_auth
https://firebase.google.com/docs/auth/web/email-link-auth
https://github.com/flutter/plugins/tree/master/packages/firebase_auth

Merging with #22958


Don't use flake-utils

I just noticed there is some dead code

Fixed.

Fantastic work, really teaches me a lot too.


shortcodes: make style parameter configurable

Currently the theme only supports a few styles https://mcshelby.github.io/hugo-theme-relearn/shortcodes/button/index.html#style
The amount of styles was expanded in 6.2.0 to make it compatible to GitHub styled alerts.
With 6.3.0 we have introduced processing of Obsidian styled alerts.
While the technical aspect is implemented into the theme, the styles are not simply because it doesn't scale well. Now users are able to use their own styles in Markdown - not just the predefined shipped with the theme.
Aim of this issue is to make styles configurable for the user, assigning a title, icon and color to it.
This will move the the CSS variables for style colors into the hugo.toml and will cause the page to look differently if the user has defined its own colors for a given style. Because of this, I consider this a change better to be released in a major version.

Duplicate of #913


sample videos dataset

can anyone provide some sample videos datasets？I don't have the equipment to get videos that can stitch together。

thanks for your reply！

TODO: host sample project as described in https://github.com/stitchEm/stitchEm/pull/116#issue-441083429

We should use git lfs mechanism for that : https://git-lfs.github.com/
So no diff kept and no impact on cloning, you need to call git lfs to get those files.
Also I have a few samples for Japan and New Caledonia to share and also to make demo 360 video (they are stitched and edited but need to put music on it).

We should use git lfs mechanism for that : https://git-lfs.github.com/
So no diff kept and no impact on cloning, you need to call git lfs to get those files.
Also I have a few samples for Japan and New Caledonia to share and also to make demo 360 video (they are stitched and edited but need to put music on it).


Python 2.6 compatibility

Add index to each {} placeholder in str.format() for Python 2.6
(Many servers with Red Hat Enterprise Linux haven't been upgraded to 2.7+ yet)

They really should upgrade as Python 2.6 had its final security update four years ago!

https://en.wikipedia.org/wiki/CPython#Version_history

I totally agree.  Sadly, some organizations have a too-slow server upgrade cadence.
Shocking, I'm sure.

Agree about the upgrade, I'm not supporting Python 2.6 in general, but this one looks good. Thanks!


It also adds a general interface for these kind of filters.

Codecov Report

Merging #51 into master will increase coverage by 0.19%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master      #51      +/-   ##
============================================
+ Coverage     83.45%   83.64%   +0.19%
  Complexity      209      209
============================================
  Files            20       21       +1
  Lines           417      422       +5
  Branches         99      103       +4
============================================
+ Hits            348      353       +5
  Misses           28       28
  Partials         41       41

Impacted Files
Coverage Δ
Complexity Δ

...ter/src/main/kotlin/IncompleteInitPatternFilter.kt
100% <100%> (ø)
0 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a74fe6c...111e353. Read the comment docs.


Add search and sort functionality in course registration page.

Checklist
Client

[x] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[x] I followed the coding and design guidelines.
[x] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[ ] I documented the TypeScript code using JSDoc style.
[ ] I added multiple screenshots/screencasts of my UI changes.

Changes affecting Programming Exercises

[ ] I tested all changes and their related features with all corresponding user types on Test Server 1 (Atlassian Suite).
[ ] I tested all changes and their related features with all corresponding user types on Test Server 2 (Jenkins and Gitlab).

Motivation and Context
When registering for a new course right now there are no filter options or search bars etc. but all courses are just displayed in a list. This can look really cluttered and make it hard to find the right course.
Description
I added a search bar above the table where you can search for a course title.
You can also sort the courses through the title and semester columns in the table.e
Steps for Testing

Prerequisites:

1 Student
1 instructor

Log in to Artemis as an instructor
Create some courses if not already created.
Log in to Artemis as a Student
Go to course enrollment
Make sure you can sort the courses by their Title/Semester.
Try the search functionality.

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked

Before:

After:

Tested on ts3.
Search bar only searches by course name, not semester nor description.

@Ceiridge That is the intended behavior.


Convert universal reference YAML to Python SDP

The sdp/python branch is ready to be merged into master.
Compared to smoke-test branch, only expected differences remained.

Docs Build status updates of commit 498c86f:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

prosepy/docs-ref-joined/index.yml
:x:Error

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.ProseException.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/toc.yml
:warning:Warning

Details

prosepy/docs-ref-joined/index.yml

[Error-ViolateSchema]

Schema validation failed. Please validate the file and make sure it conforms to schema 'ReferenceContainer' (https://static.docs.com/ui/latest/schemas/ReferenceContainer.schema.json):
Array item count 0 is less than minimum count of 1. Path 'children'.

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesLearnResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 4 invalid cross reference(s) "<xref:List>", "<xref:Tuple>", "<xref:Iter>", "<xref:Optional>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsLearnResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 1 invalid cross reference(s) "<xref:List>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 1 invalid cross reference(s) "<xref:<xref:prose.codeaccelerator.ReadCsvLearnResult>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvLearnResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 6 invalid cross reference(s) "<xref:Union>", "https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html", "<xref:DataFrame>", "<xref:List>", "http://spark.apache.org/docs/latest/api/python/pyspark.sql.html", "<xref:Row>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 1 invalid cross reference(s) "<xref:<xref:prose.codeaccelerator.ReadFwfLearnResult>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfLearnResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 6 invalid cross reference(s) "<xref:Union>", "https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html", "<xref:DataFrame>", "<xref:List>", "http://spark.apache.org/docs/latest/api/python/pyspark.sql.html", "<xref:Row>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 1 invalid cross reference(s) "<xref:<xref:prose.codeaccelerator.ReadJsonLearnResult>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonLearnResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 6 invalid cross reference(s) "<xref:Union>", "https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html", "<xref:DataFrame>", "<xref:List>", "http://spark.apache.org/docs/latest/api/python/pyspark.sql.html", "<xref:Row>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.ProseException.yml

[Warning-UidNotFound] Unable to find uid "builtins.Exception".

prosepy/docs-ref-autogen/toc.yml

[Warning-UidNotFound] Unable to find file with uid "prose.py.api.reference" referenced by TOC file "docs-ref-autogen/toc.yml"

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 63612f0:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

prosepy/docs-ref-joined/index.yml
:x:Error

Details

prosepy/docs-ref-autogen/toc.yml
:warning:Warning

Details

:warning:Warning

Details

prosepy/docs-ref-joined/index.yml

[Error-ViolateSchema]

Schema validation failed. Please validate the file and make sure it conforms to schema 'ReferenceContainer' (https://static.docs.com/ui/latest/schemas/ReferenceContainer.schema.json):
Array item count 0 is less than minimum count of 1. Path 'children'.

prosepy/docs-ref-autogen/toc.yml

[Warning-UidNotFound] Unable to find file with uid "prose.py.api.reference" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.exceptions" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.exceptions.LearnError" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.exceptions.ProseException" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.DetectTypesBuilder" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.DetectTypesLearnResult" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.DomainTypeProfileBuilder" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.DomainTypeProfileResult" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.FindPatternsBuilder" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.FindPatternsLearnResult" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.ReadCsvBuilder" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.ReadCsvLearnResult" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.ReadFwfBuilder" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.ReadFwfLearnResult" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.ReadJsonBuilder" referenced by TOC file "docs-ref-autogen/toc.yml"
[Warning-UidNotFound] Unable to find file with uid "prose.codeaccelerator.ReadJsonLearnResult" referenced by TOC file "docs-ref-autogen/toc.yml"

[Warning-UnknownContentType] Unable to handle following files: docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.LearnError.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvBuilder.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileBuilder.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonBuilder.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileResult.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvLearnResult.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesLearnResult.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfLearnResult.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesBuilder.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonLearnResult.yml,docs-ref-autogen/prose-codeaccelerator/index.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsBuilder.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.ProseException.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfBuilder.yml,docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsLearnResult.yml. Do they miss `YamlMime` as the first line of file, e.g.: `### YamlMime:ManagedReference`?

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 63612f0:
:warning: Validation status: warnings

File
Status
Preview URL
Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonLearnResult.yml
:warning:Warning

Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/index.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesBuilder.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesLearnResult.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileBuilder.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileResult.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.LearnError.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.ProseException.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/toc.yml
:white_check_mark:Succeeded

xrefmap.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsBuilder.yml

[Warning-UidNotFound] 4 invalid cross reference(s) "<xref:List>", "<xref:Tuple>", "<xref:Iter>", "<xref:Optional>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsLearnResult.yml

[Warning-UidNotFound] 1 invalid cross reference(s) "<xref:List>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvBuilder.yml

[Warning-UidNotFound] 1 invalid cross reference(s) "<xref:<xref:prose.codeaccelerator.ReadCsvLearnResult>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvLearnResult.yml

[Warning-UidNotFound] 6 invalid cross reference(s) "<xref:Union>", "https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html", "<xref:DataFrame>", "<xref:List>", "http://spark.apache.org/docs/latest/api/python/pyspark.sql.html", "<xref:Row>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfBuilder.yml

[Warning-UidNotFound] 1 invalid cross reference(s) "<xref:<xref:prose.codeaccelerator.ReadFwfLearnResult>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfLearnResult.yml

[Warning-UidNotFound] 6 invalid cross reference(s) "<xref:Union>", "https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html", "<xref:DataFrame>", "<xref:List>", "http://spark.apache.org/docs/latest/api/python/pyspark.sql.html", "<xref:Row>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonBuilder.yml

[Warning-UidNotFound] 1 invalid cross reference(s) "<xref:<xref:prose.codeaccelerator.ReadJsonLearnResult>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonLearnResult.yml

[Warning-UidNotFound] 6 invalid cross reference(s) "<xref:Union>", "https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html", "<xref:DataFrame>", "<xref:List>", "http://spark.apache.org/docs/latest/api/python/pyspark.sql.html", "<xref:Row>".

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 31df5e2:
:warning: Validation status: warnings

File
Status
Preview URL
Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonBuilder.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonLearnResult.yml
:warning:Warning

Details

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.ProseException.yml
:warning:Warning

Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/index.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.LearnError.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/toc.yml
:white_check_mark:Succeeded

xrefmap.yml
:white_check_mark:Succeeded

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DetectTypesLearnResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.DomainTypeProfileResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 4 invalid cross reference(s) "<xref:List>", "<xref:Tuple>", "<xref:Iter>", "<xref:Optional>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.FindPatternsLearnResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 1 invalid cross reference(s) "<xref:List>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadCsvLearnResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 6 invalid cross reference(s) "<xref:Union>", "https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html", "<xref:DataFrame>", "<xref:List>", "http://spark.apache.org/docs/latest/api/python/pyspark.sql.html", "<xref:Row>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadFwfLearnResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 6 invalid cross reference(s) "<xref:Union>", "https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html", "<xref:DataFrame>", "<xref:List>", "http://spark.apache.org/docs/latest/api/python/pyspark.sql.html", "<xref:Row>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonBuilder.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.ReadJsonLearnResult.yml

[Warning-UidNotFound] Unable to find uid "builtins.object".
[Warning-UidNotFound] 6 invalid cross reference(s) "<xref:Union>", "https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.html", "<xref:DataFrame>", "<xref:List>", "http://spark.apache.org/docs/latest/api/python/pyspark.sql.html", "<xref:Row>".

prosepy/docs-ref-autogen/prose-codeaccelerator/prose.codeaccelerator.exceptions.ProseException.yml

[Warning-UidNotFound] Unable to find uid "builtins.Exception".

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Timestamp for this request was 1000ms ahead of the server's time.

I just tried to run a simple function inside the readme but i got this error :  Timestamp for this request was 1000ms ahead of the server's time.   For exemple :
TickerStatistics tickerStatistics = client.get24HrPriceStatistics("DOGE");
System.out.println(tickerStatistics.getLastPrice());
or
List openOrders = client.getOpenOrders(new OrderRequest("DOGE"));
System.out.println(openOrders);

My bad, i call the services inside a synchronious thread


odo log for devfile components

/kind user-story
User Story
As a user I want to be able to use odo log command with devfile components
Acceptance Criteria

[ ] odo log should work with a component that was created from devfile

Links
/kind user-story
/area log
/area kubernetes
/priority medium

/close
/triage duplicate
duplicate of https://github.com/openshift/odo/issues/2848


Fail to match SRI string with some regexp expression

Hi, I found some problem that I can't fix on my own. I am trying to add new regexp pattern for matching the SRI hash string:
set -g @fingers-key Space
set -g @fingers-pattern-0 '(sha256|sha384|sha512)-[A-Za-z0-9\+/]+={0,2}( +[!-~]*)?'
run-shell ~/.local/share/tmux/plugins/tmux-fingers/tmux-fingers.tmux

But with the above config I found that I still can't copy the whole SRI string:

*    grep -P is OK

*    tmux-fingers can not match the whole string
Another weird thing is that whatever I add the above config or not, the match is still the same:

*    tmux-fingers matches after config is clear
I suspect that when tmux-fingers found regexp match for a piece of text by default pattern, it won't match the text using user specified pattern again.

I think this might related to these implementations:

https://github.com/Morantron/tmux-fingers/blob/47d986b8a2bfb394c44458ab78b19c5b66d303c2/src/fingers/commands/load_config.cr#L77-L80
https://github.com/Morantron/tmux-fingers/blob/47d986b8a2bfb394c44458ab78b19c5b66d303c2/src/fingers/hinter.cr#L89

Maybe we should put user defined patterns at the front of the list.

Verified that after #119 this issue get fixed.

Also, SRI hash matching is really useful for web development and nix development, can I add it into default patterns?

Also, SRI hash matching is really useful for web development and nix development, can I add it into default patterns?

Yep go ahead! You can add some tests in spec/lib/patterns_spec.cr and run tests with crystal spec spec/lib/patterns_spec.cr in the process.


Add Proposal For /info Endpoint and Config Options

Pull Request

Description
Please provide a brief description of your pull request. Include any relevant context, such as the issue it addresses or the feature it introduces.
Checklist
Please review and check the following items to ensure your pull request can be processed smoothly:

[ ] My code adheres to the project's coding standards and style guidelines.

[ ] I have tested my changes thoroughly, including unit tests where applicable.

[ ] I have updated the documentation to reflect any changes made in this pull request.

[ ] My branch is up-to-date with the latest changes from the main branch.

[ ] I have received code review feedback and addressed any comments or concerns.

Additional Notes
If there are any additional details or considerations that reviewers should be aware of, please provide them here.
References, Fixes and Closes
List any other pull requests or issues that this pull request references, fixes, or closes, if applicable.

References #39
Fixes #related_issue_number
Closes #related_issue_number

Create a separate endpoint for supported versions. /ap/version -> ['1','2','3']
Make sure the /info endpoint has the latest protocol version supported. /ap/v2/agent/info and /ap/v3/agent/info


Add linters to docs component

Signed-off-by: kagarmoe<EMAIL_ADDRESS>:nut_and_bolt: Description: What code changed, and why?
Adds configuration for markdownlint and vale.
Adds style libraries for vale
Install the markdownlint cli:
npm install markdownlint-cli2 --global
Install the vale cli:
brew install vale or choco install vale
Add vale to your path
echo "export PATH=$PATH:usr/locaal/bin/vale" >~/.zshrc
Install and enable the Vale VSCode extension
In the Vale VSCode settings:

select Use CLI
set the absolute path to the Vale CLI. It will be something like /Users/<USERNAME>/bin/vale

Restart your editor
:chains: Related Resources
https://github.com/chef/chef-web-docs/pull/3035
https://github.com/chef/chef-web-docs/pull/3045
:+1: Definition of Done
:athletic_shoe: How to Build and Test the Change
:white_check_mark: Checklist
All PRs must tick these:

[ ] I have read the CONTRIBUTING document.
[ ] All commits signed-off for the Developer Certification of Origin.

With occasional exceptions, all PRs from Progress employees must tick these:

[ ] Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
[ ] Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
[ ] Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
[ ] Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
[ ] Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

[ ] Tests added/updated? (all new code needs new tests)
[ ] Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.
:camera: Screenshots, if applicable

More of a suggestion for chef-web-docs, but we should have these install instructions in the readme.md in chef-web-docs, with a link in this repo's readme to the chef-web-docs readme.

Fun fact, echo "export PATH=$PATH:usr/locaal/bin/vale" > ~/.zshrc will overwrite an existing .zshrc file. Fun times.


[Snyk] Security upgrade com.ibm.mq:com.ibm.mq.jakarta.client from <IP_ADDRESS> to <IP_ADDRESS>

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

449/1000  Why? Has a fix available, CVSS 4.7
Information Exposure SNYK-JAVA-ORGBOUNCYCASTLE-5771489
com.ibm.mq:com.ibm.mq.jakarta.client:  <IP_ADDRESS> -> <IP_ADDRESS>
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Duplikat


Support pre-fetching?

Hi,
Are you planning on supporting pre-fetching of images in this library, or is this possible now in some way?
Thank you. :)

Hi @martinmidtsund, can you give us a small example of what you’re trying to achieve?

@efstathiosntonas  Thanks for your quick reply!
I would like to prefetch/preload an image by URL before the screen that will show that image to the user are navigated to. Sometimes the image will not have the time to finish before navigation, but it would have a head start so the image would load even faster (or so the user would believe).
It's like the functionality already in React Native's Image-component (https://reactnative.dev/docs/image#prefetch) , or in the Fast Image library (https://github.com/DylanVann/react-native-fast-image#fastimagepreload-source--void)

@martinmidtsund @geobako let’s do this, @geobako do you have an ETA?

Hi guys, I think it will be ready in two weeks as we are on holiday right now

Wow, great news guys, will be exciting to test! Have a good vacation :)

Hi @martinmidtsund, please update to 2.1.0, we've added prefetch. More info on README

Hi @efstathiosntonas
Cool, I'll test it as soon as I can!  🤩


Set default clone parent directory in configuration

VSCode Version: 1.13.1
OS Version: Windows 10

When cloning a repository from Git, VSC always proposes the user home directory as parent directory for the clone.
Feature request: A user configuration option which allows choosing another default parent directory.

It exists: git.defaultCloneDirectory.

Thank you!


cannot clean temporary files?

i use sublime 4 + texlab 3.0.1, there will be too many .fls files after build
if i add "-c" to texlab.build.args, i always get:
LSP-TexLab: Latexmk: Cannot remove file 'xxx.log'
LSP-TexLab: Latexmk: Cannot remove file 'xxx.fls'
LSP-TexLab: Latexmk: Cannot remove file 'xxx.aux'
(no such problem for sublime3 + latextools)

LSP-TexLab is only a bridge to https://github.com/latex-lsp/texlab. As this is a TexLab issue, you should open the issue there.


DEPS.xwalk: Roll chromium_crosswalk (3534ec8 -> 326f968)

326f968 Merge pull request #302 from pozdnyakov/presentation
fa04377 [Windows]Enable presentation API

@rakuco  PTAL


Fix a bunch of typos in core and include files

Just some typos that I found while reading the code :+1:

Hello @lluiscampos, good catches! and it seems I have copy/paste the typos several times :-) Merging now.


Define GOT before use

Review comment come from @anderslindgren-iar and Anders Berg(IAR) https://lists.riscv.org/g/tech-toolchain-runtime/message/344

global offset table (GOT)

Anders: Where is the specification for GOT (how can one find it)?
    # Load value from a local symbol
0:  auipc a0, %pcrel_hi(symbol)
    lw    a0, %pcrel_lo(0b)(a0)
    # Store value to a local symbol
1:  auipc a0, %pcrel_hi(symbol)
    sw    a1, %pcrel_lo(1b)(a0)
    # Calculate address of a local symbol
2:  auipc a0, %pcrel_hi(symbol)
    addi  a0, a0, %pcrel_lo(2b)
    # Calculate address of non-local symbol
3:  auipc  a0, %got_pcrel_hi(symbol)
    l[w|d] a0, a0, %pcrel_lo(3b)

Anders: The example is pointless if one cannot find the specification for GOT.
Should it not be an additional case of how to read a non-local symbol?

https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc#global-offset-table

Should it not be an additional case of how to read a non-local symbol?

No, because there is no special sequence. The load/store cases for local symbols are only shown because you can fold the addi for the address calculation into the load or store immediate offset, but you cannot fold a load into a load or store.

As @jrtc27 mention, we've defined later, but I think adding an explicitly forward reference could be better, see https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/277


Memory Leak issue with ImageFrame

Hi @ratishphilip
I have noticed memory leak issue when using ImageFrame. When ImageFrame is used, and I navigate away from the page, to a new page, the GC doesn't seem to collect the previous page. As a result, the memory keeps on increasing. Here is how to simulate:

I have a GridView with around 30 items bound via ViewModel. FYI, this issue is not related to x:Bind memory leak, as I have coded to fix the x:Bind Memory Issue.
In the complex ItemTemplate, I am displaying image as below (this is how I am displaying image - which doesn't result in memory leak).

<Rectangle RadiusX="8" RadiusY="8" Opacity="0.8" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >                             <Rectangle.Fill>                                 <ImageBrush Stretch="UniformToFill" fwExtensions:ImageExtensions.CachedSource="{x:Bind PosterImageLow}" />                             </Rectangle.Fill>                         </Rectangle>

When the app starts, it consumes around 106 MB of memory.
On navigation to an empty page, the memory drops by a few MBs, and then when navigarted back to this start page, the memory comes back to 106MB, showing that the previous page was garbage collected.
The performance is also superb. No matter how many times, I navigate to empty and back to the page, the memory stays at 106.

Now, just replace the above image with ImageFrame as below, and on first start, it consumes around 200MB of memory. When navigated to an empty page, the memory comes down to around 190 MB. When again navigated to the first page, the memory jumps to 270 MB. Navigate to empty page and back again, it goes to 344MB. One more time, 418MB. Another one, 491 and it keeps going.
And app becomes very slow after one or two iterations.
                            <cmpToolkit:ImageFrame x:Name="imgPoster"                                                        RenderFast="True"                                                        VerticalAlignment="Stretch"                                                         HorizontalAlignment="Stretch"                                                         Background="#AA232323"                                                        FrameBackground="#AA232323"                                                                                BorderThickness="0"                                                        Stretch="UniformToFill"                                                        Source="{x:Bind BackgroundImageLow}"                                                        PlaceholderBackground="#AA232323"                                                        TransitionMode="FadeIn"                                                        ShowPlaceholder="True" />

Thanks for reporting this @naweed. I will look into this issue.

Just a suggestion. I am no expert in composition APIs, but I think the composition canvas or surface needs to be removed from VisualTree on Unload event of the control, so that the page can release it.

Hi @naweed
I have done some changes in ImageFrame to address this issue and need your help to test it.
Could you please download the NuGet package available here and use it in your application?
You have to add the following changes too
ImageFrame now implements IDisposable so now it has a .Dispose() method which must be called during the OnNavigatedFrom() override of your page. This will dispose the surfaces used internally.
protected override void OnNavigatedFrom(NavigationEventArgs e)
{
    foreach (var imgFrame in myGridView.GetDescendantsOfType<ImageFrame>())
    {
        imgFrame.Dispose();
    }

    VisualTreeHelper.DisconnectChildrenRecursive(myGridView);
    myGridView.ItemsSource = null;
}

You have to replace the myGridView with the name of your GridView.
Could you try it and let me know if the memory is being released and whether the ObjectDisposedEvent still occurs?

Will try it tomorrow and get back to you.
Thanks.

Tried, and can confirm that this issue is resolved. I did however had to add this code:
`
public static class VisualTreeHelperExtensions
{
public static T GetFirstDescendantOfType(this DependencyObject start) where T : DependencyObject
{
return start.GetDescendantsOfType().FirstOrDefault();
}
    public static IEnumerable<T> GetDescendantsOfType<T>(this DependencyObject start) where T : DependencyObject
    {
        return start.GetDescendants().OfType<T>();
    }

    public static IEnumerable<DependencyObject> GetDescendants(this DependencyObject start)
    {
        var queue = new Queue<DependencyObject>();
        var count = VisualTreeHelper.GetChildrenCount(start);

        for (int i = 0; i < count; i++)
        {
            var child = VisualTreeHelper.GetChild(start, i);
            yield return child;
            queue.Enqueue(child);
        }

        while (queue.Count > 0)
        {
            var parent = queue.Dequeue();
            var count2 = VisualTreeHelper.GetChildrenCount(parent);

            for (int i = 0; i < count2; i++)
            {
                var child = VisualTreeHelper.GetChild(parent, i);
                yield return child;
                queue.Enqueue(child);
            }
        }
    }

    public static T GetFirstAncestorOfType<T>(this DependencyObject start) where T : DependencyObject
    {
        return start.GetAncestorsOfType<T>().FirstOrDefault();
    }

    public static IEnumerable<T> GetAncestorsOfType<T>(this DependencyObject start) where T : DependencyObject
    {
        return start.GetAncestors().OfType<T>();
    }

    public static IEnumerable<DependencyObject> GetAncestors(this DependencyObject start)
    {
        var parent = VisualTreeHelper.GetParent(start);

        while (parent != null)
        {
            yield return parent;
            parent = VisualTreeHelper.GetParent(parent);
        }
    }

    public static bool IsInVisualTree(this DependencyObject dob)
    {
        return Window.Current.Content != null && dob.GetAncestors().Contains(Window.Current.Content);
    }

    public static Rect GetBoundingRect(this FrameworkElement dob, FrameworkElement relativeTo = null)
    {
        if (relativeTo == null)
        {
            relativeTo = Window.Current.Content as FrameworkElement;
        }

        if (relativeTo == null)
        {
            throw new InvalidOperationException("Element not in visual tree.");
        }

        if (dob == relativeTo)
            return new Rect(0, 0, relativeTo.ActualWidth, relativeTo.ActualHeight);

        var ancestors = dob.GetAncestors().ToArray();

        if (!ancestors.Contains(relativeTo))
        {
            throw new InvalidOperationException("Element not in visual tree.");
        }

        var pos =
        dob
        .TransformToVisual(relativeTo)
        .TransformPoint(new Point());
        var pos2 =
        dob
        .TransformToVisual(relativeTo)
        .TransformPoint(
        new Point(
        dob.ActualWidth,
        dob.ActualHeight));

        return new Rect(pos, pos2);
    }
}

`

Great.
Hey, you need not add the VisualTreeHelperExtensions code. It is already added in CompositionProToolkit.
Just add using CompositionProToolkit; to your code.

Are you facing anymore ObjectDisposedExceptions now?

Nope. Seems to be resolved. Might have been issue with the memory usage, but I am not 100% sure. The device lost event shouldn't be linked to memory usage,

No, I am not linking Device Lost event to memory usage.
Just wanted to know if you were facing any exceptions separately.
Also, could you tell me what kind of Panel have you specified for your GridView?

I am using a custom grid which auto resized the elements to fill the entire width of the screen.
But I also tried with GridView with ItemsGridWrapPanel, and got the same issue.

What I mean to say is that you should use a Panel which supports virtualization. This will help reduce the memory usage. Does your custom grid support virtualization?

I don't think so.
Even though, between using the ImageFrame and regular image in the same panel, the memory difference is huge.
But no worries, I will see how best I can optimize my code.

Thank you for all your great help.

You are welcome.

The latest version of CompositionProToolkit is now available in Nuget.


TS typing of components/categorical/*

TS typing fixes added to categorical components (client/src/components/categorical/*)

[ ] componets/categorical
[ ] components/leftSidebar

Will type this next time we touch these files!


Adopter collaboration: Content model mapping project with Michael F (Reboot Team)

As a Carbon for IBM.com adopter and IBM.com makers,

I need a way to find the layout I need based on the style model and also tied to the component

So that I can get started with the right layout without confusion.

Project note:

Michael on the Reboot Team purposed a UI design (design file will be attached as soon as received) with the search and filtering functionalities to support IBM.com makers to find the available content models based on the style model efficiently.

We had a call and discussed a few ideas for execution. In the end, both teams agreed to test out the idea of adding the content models info to the components website pages on the Carbon for IBM.com website first, as an MVP approach.

Amount all the components website pages, we will work on the "Content block – with media” first and "Leads pace – block" second.

Michael is new to the Carbon for IBM.com website and new to the editing with the Markdown process.

Steps

[ ] Michael finalized the content models info for the "Content block – with media”.
[ ] Michael work on the content edits via Markdown and will reach out to Jenny with assistance as needed.
[ ] Asset image creation is done (Michael might collaborate with Visual Designers on Reboot or Jenny as needed)
[ ] Publishing with markdowns is done.
[ ] QA'd by Jenny.
[ ] Web page preview is approved by Lily, Linda, and Wonil.
[ ] PR merged by Jenny.

Acceptance criteria

[ ] Content block – with media content model section is added and live on the website.
[ ] Findings are shared with stakeholders on both teams and ready to work out the execution plan for the rest of the content models.

FYI: @ljcarot @RobertaJHahn @wonilsuhibm

FYI: @ljcarot @RobertaJHahn @wonilsuhibm

Task notes:
Content model slides Michael shared in the Content Model Discussion call (Tue 01/12/2021 9:00 AM - 10:00 AM CT) attached below.
https://app.zenhub.com/files/193129061/20bc297b-1379-4b1b-bb6a-c721061bed66/download

Below is the sprint focus list from Micharl:

Task notes:
Content model slides Michael shared in the Content Model Discussion call (Tue 01/12/2021 9:00 AM - 10:00 AM CT) attached below.
https://app.zenhub.com/files/193129061/20bc297b-1379-4b1b-bb6a-c721061bed66/download

Below is the sprint focus list from Micharl:

Met with Michael and Jina today to go over the markdown edit process. Michal mentioned he is going to use "tabs" for the use case content and will share more with us when he is ready.

Met with Michael and Jina today to go over the markdown edit process. Michal mentioned he is going to use "tabs" for the use case content and will share more with us when he is ready.

@wonilsuhibm The Content guidance section (see screenshot below) for the Lead space – block is ready for your review. The preview link can also be found here.

@wonilsuhibm The Content guidance section (see screenshot below) for the Lead space – block is ready for your review. The preview link can also be found here.

PR merged.

PR merged.


Create control similar to Environment Variables

I need a control which needs 4 key value pairs similar to as displayed when showenvironmentvaribales is set to true in task.json. How do I achieve the same ?

I'm not sure what you're asking - are you looking for a way to get the environment variables for your own use? Are you looking for something like getVariables?

Need a user control similar to displayed above wherein user should be able to enter multiple key value pairs

Ok gotcha, why can't you just use showEnvironmentVariables? Or are you just asking how to access the environment variables once they're set?

I dont't want to use the control to set environment variables. I need to use it to set a different key value pair based on my requirements.

I think I have a better understanding of what you're trying to do, it is currently not supported though. It is being tracked in #48 so I'm going to close here.

Feel free to reopen if appropriate/if you have further questions


[az stack] - autogen ref content is reporting "GA" when it is in "Preview"

Describe the bug
@mumian is reporting that az stack is showing as GA when it is in Preview.  Please (possibly?) route to @josephkwchan and @jennyhunter-msft for verification.
Related command
az stack
Errors
Possible incorrect status showing in autogenerated content.
Issue script & Debug output
n/a
Expected behavior
n/a
Environment Summary
Azure CLI 2.56.0
Additional context
No response

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

@alex-frankel - This seems like a Swagger issue because it shows up in the CLI documentation as GA.

Assigning to @azcloudfarmer to take a look

@azcloudfarmer, has any progress been made to correct this issue?


DICOM Fidelity Check failures

Previous implementation stored gain * measurements directly, which for some datasets (e.g. Charis8 and Charis9) and some channels (e.g. ABP, ICP) can overflow the value type (e.g. int16).
This pull request changes the encoding to scale the value range to that of the value type.  It has yet to be tested against Charis8 and Charis9).

@tcpan , would you be able to separate out the code to fix the fidelity errors from the memory profiler code? As mentioned in https://github.com/chorus-ai/chorus_waveform/pull/80 the memory profiler code is interfering with the read time test, so we don't want to merge that.

redoing the commit.  closing this one.


trying to work with tpu, any suggestions

everything works fine so far when I use GPU for bert training , however as soon as I shift to TPU weird things start to happen
I was following your text classification section on your medium blog : https://radiant-brushlands-42789.herokuapp.com/towardsdatascience.com/ktrain-a-lightweight-wrapper-for-keras-to-help-train-neural-networks-82851ba889c
The error message I get is:
UnimplementedError: File system scheme '[local]' not implemented (file: '/tmp/tmppmqqcpkv_temp/part-00000-of-00001') 	Encountered when executing an operation using EagerExecutor. This error cancels all future operations and poisons their output tensors.
The code I used is as follows:
the tpu part
`%tensorflow_version 2.x
import tensorflow as tf
print("Tensorflow version " + tf.version)
try:
tpu = tf.distribute.cluster_resolver.TPUClusterResolver()  # TPU detection
print('Running on TPU ', tpu.cluster_spec().as_dict()['worker'])
except ValueError:
raise BaseException('ERROR: Not connected to a TPU runtime; please see the previous cell in this notebook for instructions!')
tf.config.experimental_connect_to_cluster(tpu)
tf.tpu.experimental.initialize_tpu_system(tpu)
tpu_strategy = tf.distribute.experimental.TPUStrategy(tpu)`
the code taken from the blog
`import ktrain
from ktrain import text as txt
with tpu_strategy.scope():
DATA_PATH = '/content/drive/MyDrive/testing_toxic.csv'
NUM_WORDS = 50000
MAXLEN = 150
label_columns = ["toxic", "severe_toxic", "obscene",
"threat", "insult", "identity_hate"]
(x_train, y_train), (x_test, y_test), preproc =  txt.texts_from_csv(DATA_PATH,
'comment_text',
label_columns=label_columns,
val_filepath=None,
max_features=NUM_WORDS,
maxlen=MAXLEN,
ngram_range=1)
model = txt.text_classifier('fasttext', (x_train, y_train),
preproc=preproc)
learner = ktrain.get_learner(model, train_data=(x_train, y_train),
val_data=(x_test, y_test))
#learner.lr_find()
#learner.lr_plot()
learner.autofit(0.0007, 8)`
output received
`detected encoding: utf-8 (if wrong, set manually)
language: en
Word Counts: 196953
Nrows: 143613
143613 train sequences
train sequence lengths:
mean : 67
95percentile : 228
99percentile : 567
x_train shape: (143613,150)
y_train shape: (143613, 6)
Is Multi-Label? True
15958 test sequences
test sequence lengths:
mean : 67
95percentile : 230
99percentile : 571
x_test shape: (15958,150)
y_test shape: (15958, 6)
Is Multi-Label? True
compiling word ID features...
maxlen is 150
done.
AttributeError                            Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/tensorflow/python/keras/optimizer_v2/optimizer_v2.py in getattribute(self, name)
787     try:
--> 788       return super(OptimizerV2, self).getattribute(name)
789     except AttributeError as e:
AttributeError: 'Adam' object has no attribute 'beta_1'
During handling of the above exception, another exception occurred:
UnimplementedError                        Traceback (most recent call last)
21 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/ops.py in shape(self)
1173         # _tensor_shape is declared and defined in the definition of
1174         # EagerTensor, in C.
-> 1175         self._tensor_shape = tensor_shape.TensorShape(self._shape_tuple())
1176       except core._NotOkStatusException as e:
1177         six.raise_from(core._status_to_exception(e.code, e.message), None)
UnimplementedError: File system scheme '[local]' not implemented (file: '/tmp/tmppmqqcpkv_temp/part-00000-of-00001')
Encountered when executing an operation using EagerExecutor. This error cancels all future operations and poisons their output tensors.`

You can take a look at this post and this post for more information.    For instance, ktrain currently uses tf.data.Dataset.from_generator for transformers models which may be problematic for TPUs.


fix(discovery): search universe index alias instead of _all

Run search queries against the 'universe' index alias instead of _all.
During the asset upsert in discovery repo, use a single index operation instead of the bulk update. Avoid triggering a refresh for each update as it can be quite costly.
Improve contextual information in error for discovery repository update and delete operations.
Always drain the response body in discovery repo to help with connection reuse.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

54 of 97 (55.67%)  changed or added relevant lines in 4 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.4%) to 85.83%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/store/elasticsearch/es.go
12
17
70.59%

core/asset/errors.go
7
13
53.85%

internal/store/elasticsearch/discovery_repository.go
25
57
43.86%

Files with Coverage Reduction
New Missed Lines
%

internal/store/elasticsearch/discovery_repository.go
7
61.76%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
5070

Relevant Lines:
5907

💛  - Coveralls


Add configs for azure test reports

Codecov Report

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

@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   82.91%   82.91%
=======================================
  Files           7        7
  Lines         240      240
  Branches       33       33
=======================================
  Hits          199      199
  Misses         28       28
  Partials       13       13

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aedfe8d...6c7bd97. Read the comment docs.


DBZ-6763 Add integration tests for the Debezium Connect REST extension for the Oracle connector / Oracle Connect REST extension

closes to https://issues.redhat.com/browse/DBZ-6763

@Naros if you look here, the error is back

/packit test --labels oracle

/packit test --labels oracle

Ready for a final review @Naros and @jpechane :partying_face:

/packit test

/packit test

/packit test

@Naros I am fine to merge this PR now including reverting that check behavior, but maybe we can agree on an alternative what we do with the CI tests and this Credentials Check step and if we act based on the result. Wdyt?

@rk3rn3r @Naros Applied, thanks!
@rk3rn3r PLease create a follow-up Jira but I don't think it is a priority right now.


[Banana Cake Pop] release as ASP.Net Core middleware

it would be awesome if we could get banana cake pop as an ASP.Net Core middleware like HotChocolate.AspNetCore.Playground or HotChocolate.AspNetCore.GraphiQL
no need to install an application on every system and keeping them up to date makes web applications much more accessible.

At the moment we are focused on getting things done for version 1.0. It's not yet decided whether we even want to offer a browser compatible variant of Banana Cake Pop (which will by the way support auto-update and therefore be always up-to-date), because we're more thinking of creating an application like Postman but for GraphQL (feature rich, powerful and perhaps not as lightweight as a browser app should be in my opinion). However I'm definitely open for discussion on that topic and internally we're already discussing it. Thank you for your feedback.

I also have concerns with a web variant since it would draw our focus away from the actual product we are trying to build. I think we rather should take the new GraphiQL on Monaco version that Riki is building and building on top of that a browser implementation that is small and less feature rich.
But I see a need for a better browser tooling since the current playground and graphiql middleware are not sufficient. I think we will get rid of them and focus on one particular one.

I think we will have to talk about this when we focus back on the server end of January.

I think this one it done 🚀
@OneCyrus  have you seen it in the 11 previews? :)

good start. are there some extensibility points and how is the identity provider story?

@rstaib  is working on Identiy

Btw, can we close this one and create rather specific feature requests than adding points to this discussion? It is better trackable if we have dedicated requests. We have authentication flows on our list. I will have a look with Phillipe next week on how we can make this work.


[Feature]: Macro for generating key bindings

What would you like to see added?
Defining keybindings is a very verbose process at the moment:
    let keybinding = DefaultKeybinding::from_iter([(
        (KeyCode::Char('l'), KeyModifiers::CONTROL),
        Box::new(|| {
            Command::new("clear").spawn();
        }) as Box<dyn FnMut()>,
    )]);

A macro similar to the one that penrose has would be great.

resolved by #138


Icons not showing

Hello.
I have installed Material Theme and whereas the Color Theme applies correctly, the custom icons are not automatically applied. Also, under the "Icon Theme" menu I cannot see anything from Material Theme.
I've already tried to reinstall the extension but without luck.
Thanks

Hi @igarcido95 please check these duplicated #324 #323 #322. From 2.7.0 material theme icons live as external extension. You need to install it separately
https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme-icons


Cannot get row count for a table inside a shell

Hello,
I have a table that is present inside a shell content. How can i get the row count for this table. when i use Get row count its throwing the error "Could not count the rows in the table."

I just released version 2.8.2. It should work now.

Hi, I am also trying to click on a cell or select an row in one shell table. I have tried with  "Select Table Row    2" and this is error i got "The row could not be selected. The control could not be found by id." when i tried with select cell value i got this error "NotFound: The cell with the locator '0, DOCNUM' could not be found. Hints: Check the spelling, maximize the SAP window"
Please let me know which keyword i can use to click or select an row in shell table.

The error you got with Select Table Row sounds like the ID of the GuiShell changed after it was cached by RoboSAPiens. Please verify in Scripting Tracker if the ID changes. Handling this situation would require some work.
Regarding the error with Get Row Count, please try again with version 2.8.1 running robot with log level DEBUG and paste here the stack trace from the log.html file. Version 2.8.2 didn't solve the problem.

I did some research and found out how to get the table in the screenshot (transaction BD87). Next time please provide the transaction code, if it is a standard SAP transaction. That way I can try to reproduce the issue.
I was able to reproduce the issue by double-clicking on a cell of the tree table in the previous screen (which leads to the table in the screenshot) and then calling Get Row Count. Next time please provide the list of keywords you are executing. SAP and RoboSAPiens are stateful programs, which means that the order of operations matters.
I just released Version 2.9.0, which should solve the issue.

I realized that there are two ways to get to the table:

Double-click cell            some entry   IDocs
Double-click tree element    path/to/some entry

I just released Version 2.9.1. Now either way you should not have any problem selecting rows and cells.

Hi Thank you for your very quick reply and the fixes. Sorry for the lack of Transaction and detailed steps will surely add them next time.

Thank you!


fvm commands crash terminal window[BUG]

when i run fvm help or any other fvm commands the terminal window closes automatically.

OS: [windows 10]
FVM Version [1.1.9]

@tonydavidx can you update to the latest version and make sure you are running as administrator

new version also causes cmd to close, i tried running cmd as admin no changes

@tonydavidx could you run the command that is crashing with --verbose, and provide the output. Is looking like I will have to install windows on an extra mac I have. The windows CI, passes the tests, and the VM, I cannot replicate some of these errors.

@tonydavidx finally have a windows dev environment setup, and was not able to replicate the error. Will take a look further once I have the verbose.
Another question is if you are using the new powershell. I noticed that if you are you have to reinstall dart-sdk because of the paths.

@leoafarias  the issue is not occurring when using PowerShell. previously i was using windows command prompt.
thank you for you help.

It crashes in Android Studio terminal (it uses classic Windows terminal (cmd)) but doesn't crash using PowerShell.
Tested on Windows 10 Pro (1909)

It crashes in Android Studio terminal (it uses classic Windows terminal (cmd)) but doesn't crash using PowerShell.
Tested on Windows 10 Pro (1909)

@pdivita can you provide some logs? '--verbose'. Also this seems the exact opposite of the other error.

I can't because terminal crashes and disappear
Scarica Outlook per Androidhttps://aka.ms/ghei36

From: Leo Farias<EMAIL_ADDRESS>Sent: Friday, September 4, 2020 1:11:46 PM
To: leoafarias/fvm<EMAIL_ADDRESS>Cc: Piero Di Vita<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [leoafarias/fvm] fvm commands crash terminal window[BUG] (#128)
It crashes in Android Studio terminal (it uses classic Windows terminal (cmd)) but doesn't crash using PowerShell.
Tested on Windows 10 Pro (1909)
@pdivitahttps://github.com/pdivita can you provide some logs? '--verbose'. Also this seems the exact opposite of the other error.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/leoafarias/fvm/issues/128#issuecomment-687080817, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIQTVOEO74CV3MXSBVZTWJLSEDDPFANCNFSM4QURZM2A.

@pdivita I have not been able to replicate this.

Same problem. If i try to use fvm in android studio terminal, terminal instant getting closed.

@urusai88 a few questions:

Did you install fvm using flutter pub.. or the suggested pub command?
Where does the ENV var flutter points to?
Does it crash when running any FVM command like fvm version or when running flutter through fvm?

I've installed with the pub global activate fvm command
flutter.bat is c:\dev\flutter\bin\
It crashes whenever I run fvm (with or without parameters)

Tried also specifying the path directly (C:\Users\p.divita\AppData\Roaming\Pub\Cache\bin\fvm.bat)

works on PS (get 1.2.3 version)
crashes on cmd

For the record, I've also a fvm.bat on my main installation flutter directory (C:\dev\flutter\.pub-cache\bin) but it doesn't work neither on cmd or PS. It gives me Can't load Kernel binary: Invalid SDK hash. error on both (no crash)

@urusai88 a few questions:
Does it crash when running any FVM command like fvm version or when running flutter through fvm?
Yes, fvm crash cmd with only "fvm" command. Not event need something more, like "fvm version".
In PowerShell "fvm" works well

My guess it probably has something to do with pub itself which is what is responsible for the fvm path.
Can you try to run pub cache repair, close the terminal, and reopen and try again?

It can't compile both devtools and fvm (strangely they are the only 2 packages I've in C:\dev\flutter\.pub-cache\bin as "duplicates" of the ones I've in C:\Users\p.divita\AppData\Roaming\Pub\Cache\bin\):
`Reactivating devtools 0.1.13...
Precompiling executables...
Failed to precompile devtools:devtools:
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/http_multi_server-2.1.0/lib/src/multi_headers.dart:97:8: Error: The method 'MultiHeaders.add' has fewer named arguments than those of overridden method 'HttpHeaders.add'.
void add(String name, Object value) {
^
org-dartlang-sdk:///sdk/lib/_http/http.dart:699:8: Context: This is the overridden method ('add').
void add(String name, Object value,
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/http_multi_server-2.1.0/lib/src/multi_headers.dart:129:8: Error: The method 'MultiHeaders.set' has fewer named arguments than those of overridden method 'HttpHeaders.set'.
void set(String name, Object value) {
^
org-dartlang-sdk:///sdk/lib/_http/http.dart:708:8: Context: This is the overridden method ('set').
void set(String name, Object value,
^
Failed to reactivate devtools 0.1.13: Failed to precompile devtools:devtools:
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/http_multi_server-2.1.0/lib/src/multi_headers.dart:97:8: Error: The method 'MultiHeaders.add' has fewer named arguments than those of overridden method 'HttpHeaders.add'.
void add(String name, Object value) {
^
org-dartlang-sdk:///sdk/lib/_http/http.dart:699:8: Context: This is the overridden method ('add').
void add(String name, Object value,
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/http_multi_server-2.1.0/lib/src/multi_headers.dart:129:8: Error: The method 'MultiHeaders.set' has fewer named arguments than those of overridden method 'HttpHeaders.set'.
void set(String name, Object value) {
^
org-dartlang-sdk:///sdk/lib/_http/http.dart:708:8: Context: This is the overridden method ('set').
void set(String name, Object value,
^
Reactivating fvm 1.2.3...
Precompiling executables...
Failed to precompile fvm:main:
Error: Could not resolve the package 'fvm' in 'package:fvm/fvm.dart'.
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/fvm-1.2.3/bin/main.dart:1:8: Error: Not found: 'package:fvm/fvm.dart'
import 'package:fvm/fvm.dart';
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/fvm-1.2.3/bin/main.dart:4:9: Error: Method not found: 'fvmRunner'.
await fvmRunner(arguments);
^^^^^^^^^
Failed to reactivate fvm 1.2.3: Failed to precompile fvm:main:
Error: Could not resolve the package 'fvm' in 'package:fvm/fvm.dart'.
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/fvm-1.2.3/bin/main.dart:1:8: Error: Not found: 'package:fvm/fvm.dart'
import 'package:fvm/fvm.dart';
^
../../../AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/fvm-1.2.3/bin/main.dart:4:9: Error: Method not found: 'fvmRunner'.
await fvmRunner(arguments);
^^^^^^^^^
Binstubs exist for non-activated packages:
From devtools: devtools
From fvm: fvm
Failed to reactivate 2 packages:

devtools
fvm`

If possible please test the following prerelease version and report any issues
https://pub.dev/packages/fvm/versions/1.3.0-dev.0
pub global activate fvm 1.3.0-dev.0

If possible please test the following prerelease version and report any issues
https://pub.dev/packages/fvm/versions/1.3.0-dev.0
pub global activate fvm 1.3.0-dev.0

Issue still exists

@urusai88 I was able to replicate the issue I think. It happens when you do not have the dart-sdk installed at least for me. Could you do pub --version. If you install the dart-sdk I believe it should work fine.
https://dart.dev/get-dart#install
If that works for you, I will have to dig in. I am working on native compile for the CLI. Hopefully this takes care of this clunkyness on windows

closed in favor of #142

@leoafarias the issue is not occurring when using PowerShell. previously i was using windows command prompt.
thank you for you help.

Yeah, It's not crashing in PowerShell

@tonydavidx could you run the command that is crashing with --verbose, and provide the output. Is looking like I will have to install windows on an extra mac I have. The windows CI, passes the tests, and the VM, I cannot replicate some of these errors.

i tried to run fvm with --verbose nothing changed it still crashing the cmd

instead of CMD run fvm commands with powershell. i was able to run all
commands with powershell without crashing
On Wed, May 19, 2021 at 2:11 PM Mohamad Alhomsi @.***>
wrote:

@tonydavidx https://github.com/tonydavidx could you run the command
that is crashing with --verbose, and provide the output. Is looking like
I will have to install windows on an extra mac I have. The windows CI,
passes the tests, and the VM, I cannot replicate some of these errors.
i tried to run fvm with --verbose nothing changed it still crashing the cmd
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/leoafarias/fvm/issues/128#issuecomment-843883275, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALZ2HFVBL7QXEYUKM52KVRLTON2S7ANCNFSM4QURZM2A
.


Add support for bitwise operators.

& (and), | (or), ^ (xor), and ~ (not) are now supported.
Float64 values are truncated to int64 then converted back.
The exponent operator is now **.

Readme needs to be updated

The only reason I'm hesitant to merge the XOR/exponent change (even though it's the semantics that seem the most reasonable) is because I suspect people clone from master branch in their builds. There's ~25 clones per weekday, and I'd hate to cause someone an outage because the meaning of ^ changed from "exponent" to "XOR", and they shipped code without knowing the change occurred.
It might be that they're cloning a specific tag or commit (i'd hope they were), but I can't tell from github's metrics. I was going to look into that more later this week.

As a total sidenote, the commit is listed as authored by braintreeps. Doesn't matter either way to me, but i suspect you might want the "wmiller" account to be listed as a contributor :P

Totally correct on the user, work bleeding over 🎱
Yeah I totally get the hesitation on XOR, its a tough call. Is they're any reasonable way we could provide backwards compatibility... 💭

My only thought is tag this a 2.0 and make it clear in the README that breaking changes have been made to exponents.
OR
We provide some sort of feature switching mechanism (but that sounds terrible), defaults to pre-change behavior?

I didn't end up finding a way to communicate this change very well, so cutting a 2.0, making notes, and letting downstreams take the hit if they don't vendor seems to be the right way to go about it. Planning on merging this change and the work done in #21 to make a 2.0 release sometime tomorrow night.


Add wiki article documenting custom devices

So @zanderso mentioned in #82043 we should add a wiki article with some instructions on how to use that feature. I can't open a PR for a wiki so here's my draft. (Feel free to comment)
This is just a short introduction on the current state of the feature and how to to set it up. I can also explain some of the individual keys in the config file (even though they're already covered by the JSON schema) if you want me to. If something isn't clear or you think it could be worded better just lmk
Draft:

Making the flutter tool work with 3rd party embedders
Recently, the custom devices feature was merged into the flutter tool.  Profile/release mode and plugins are not supported right now, but that's being worked on.
Currently, custom-devices support is only available in the master or dev channel.
Enabling custom-devices for your flutter SDK
Enabling the feature is as simple as flutter config --enable-custom-devices.
The custom devices config file
After that, a config file will have been created. Its path should be printed out when you run flutter custom-devices.
The config file contains all the configured custom devices. To see documentation for all the config options, open the file in VS Code. The file has a JSON schema so in any editor supporting JSON schemas (currently only VS Code) you'll get autocompletion, documentation, examples and so on.
Configuring your custom device
If your device is reachable via ssh, you can add it to the config with a guided setup using flutter custom-devices add.
The setup really is self-explanatory, but for example for my Raspberry Pi, the setup looks like this:
hannes@pop-os:~/devel$ flutter custom-devices add
Please enter the id you want to device to have. Must contain only alphanumeric
or underscore characters. (example: pi)
pi
Please enter the label of the device, which is a slightly more verbose name for
the device. (example: Raspberry Pi)
Raspberry Pi
SDK name and version (example: Raspberry Pi 4 Model B+)
Raspberry Pi 4 Model B+
Should the device be enabled? [Y/n] (empty for default)

Please enter the hostname or IPv4/v6 address of the device. (example:
raspberrypi)
hpi4
Please enter the username used for ssh-ing into the remote device. (example: pi,
empty for no username)

Please enter the command executed on the remote device for starting the app.
"/tmp/${appName}" is the path to the asset bundle. (example: flutter-pi
/tmp/${appName})
flutter-pi /tmp/${appName}
Should the device use port forwarding? Using port forwarding is the default
because it works in all cases, however if your remote device has a static IP
address and you have a way of specifying the "--observatory-host=<ip>" engine
option, you might prefer not using port forwarding. [Y/n] (empty for default)

Enter the command executed on the remote device for taking a screenshot.
(example: fbgrab /tmp/screenshot.png && cat /tmp/screenshot.png | base64 | tr -d
' \n\t', empty for no screenshotting support)

Would you like to add the custom device to the config now? [Y/n] (empty for
default)

Successfully added custom device to config file at
"/home/hannes/.config/flutter/custom_devices.json".

If your device is a little more complicated to setup, for example if your device is the one the flutter SDK is running on, you can configure it by editing the config file directly. (As mentioned above, I heavily recommend VS Code for that)
That's it
After that, the device is configured and if you run flutter devices, it should show your custom device there. (If it is reachable)
You should be able to run apps on your device using flutter run -d devicename or using your IDE.

Added here https://github.com/flutter/flutter/wiki/Using-custom-embedders-with-the-Flutter-CLI. Thanks!


cmd/go: go test -timeout flag behavior doesn't match test binary -timeout flag behavior

Running a test binary with -h prints:
  -test.timeout d
    	fail test binary execution after duration d (0 means unlimited)

But that doesn't seem to work:
package p

import (
	"testing"
	"time"
)

func BenchmarkSlow(b *testing.B) {
	for i := 0; i < b.N; i++ {
		time.Sleep(15 * time.Minute)
	}
}

Running this with go test -bench=. -timeout=0 x_test.go results (eventually) in *** Test killed with quit: ran too long (10m0s).

Ick. Looks like this is implemented correctly in package testing, but that this timeout comes from 'go test', so to disable timeouts you need to use 'go test -c' and then execute. It'd be much nicer if test binaries and cmd/go agreed on behavior, and there was a way to disable timeouts directly via 'go test'.
I guess a workaround is 'go test -timeout=1000h'.

It's really just a bug in cmd/go.  Explicitly passing -test.timeout=0 should disable testKillTimeout in cmd/go/internal/test/test.go.
In fact this is #18490.

And I have to respect the fact that you did a thumbs up on my suggestion in #18490 which would also fix this issue....

Hahaha. My mental github issue index clearly failed me. Thanks, Ian. :)


[Feature] Add favicon to the OC app

What projects is this feature for?
OpenChallenges
Description
Set the OC logo as favicon so that the logo appears in the browser tabs, bookmarks, etc.
Anything else?
No response
Code of Conduct

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

@vpchung Thanks for taking the first pass on this feature request. Here are a couple of pointers:

Google: Define a favicon to show in search results
See how to convert SVG image to ICO with ImageMagick

Installing ImageMagick on Debian: sudo apt update && sudo install imagemagick

Added to Sprint 23.06

Google: Define a favicon to show in search results

Thanks for sharing the pointers, @tschaffter .  I initially uploaded a 32x32 favicon but have since updated it to 48x48, so that it aligns with Google's guidelines.


Multiple excludes, filter is not tested

Multiple excludes, filter is not tested and may not be working

It is :)


Make sure to install all headers mentioned in hiredis.h

This presents as an issue in projects that include hiredis as:
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/usr/include/python2.7 -c pyreBloom/bloom.c -o build/temp.linux-x86_64-2.7/pyreBloom/bloom.o
In file included from pyreBloom/bloom.h:28:0,
                 from pyreBloom/bloom.c:23:
/usr/local/include/hiredis/hiredis.h:34:18: fatal error: read.h: No such file or directory
 #include "read.h"
                  ^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Oops. I didn't see #297 , which includes this change. If that PR is accepted, then this one should be closed out.


ZEN Dimmers brightness correction with new firmware

Need a check for newer firmware and possibly force the brightness correction off. Firmware implements this feature itself so the driver feature is not needed anymore.
https://community.hubitat.com/t/driver-zooz-zen-switches-advanced-and-dimmers/58649/366?u=jtp10181

This is fixed for ZEN30 800LR and ZEN77 10.20 and greater https://github.com/jtp10181/Hubitat/commit/6e9c599fa944df355b3f99d3653e99921c2d2a4f.
Waiting for confirmation from Zooz if any other model/firmware is impacted.


fix: add buildx context setup before starting build

Signed-off-by: bitliu<EMAIL_ADDRESS>
What type of PR is this?

/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes https://github.com/kubernetes-sigs/gateway-api/issues/1545
Does this PR introduce a user-facing change?:

NONE

Tested and passed:

cc @wilsonwu


feat: moving mjml-browser out of easy-email-core

First of all, nice repo 👌
I'd like to open the discussion and offer a potential solution to problems we've faced using this solution in a backend node environment. I've basically stumbled upon this same issue: https://github.com/zalify/easy-email/issues/122.
Then I added the import './windowMock';.
We then encounter weird issues running node scripts and running our jest test suite. Both caused node script to not exit and hang infinitely as soon as we applied JSDOM window to nodeJS global.window object. Looking into it deeper, I did not understand why mjml-browser was actually imported in a backend environment. (The mjml-browser repository even states that this package should be used on the client-side)
Found out that the only reason this package was imported is because of the MjmlToJson function which in turn is only used for the SourceCodePanel in the extensions package. What I'm suggesting here:

Make a major package update of this repository, removing the mjml-browser peer-dependencies of easy-email-core
Move the MjmlToJson function in the extensions package
Move tests and source files using this method into extensions package as well

Results:

Anyone who needs to use this package won't have to import a client-side dependency into node.
You do not need the windowMock file anymore to send email from a json generated by the editor

Let me know if that makes sense! Again, thanks for the effort put into this project!

To handle mjml-browser, all you need to do is to create an alias like this: {"mjml-browser": "./node_modules/mjml"}.
In fact, mjml-browser doesn't require a browser enviroment, but it's used by parseXMLtoBlock, which converts a part of mjml into its corresponding json format.

Hey!
I still it would be worth reducing the dependencies from easy-email-core. Doing this change, we do not need to add jsdom,  mjml-browser + the windowMock hack in a node environment. What do you think ?

You are right, I have checked MjmlToJson and it doesn't need to be included in the core package. Please update the documentation as well: https://github.com/zalify/easy-email/blob/master/packages/easy-email-core/readme.md
Thanks. @sambegin

I'll have a look into it!
I'll also see why the CI doesn't pass (everything was working locally but I didn't have the CI view in github until now)

I'll have a look into it!
I'll also see why the CI doesn't pass (everything was working locally but I didn't have the CI view in github until now)

@sambegin

Yep, I see it now. Looking into it

@m-Ryan  It seems I have a github action cache issue. Tried multiple things to make it work but one thing I cannot try is to flush the cache in the actions page (I do not have access to this) :
Do you think you would be able to clear the cache and see how it goes?

We are still investigating why the build is failing, trying to fix this up

@m-Ryan  I think we're good to go.
I've:

updated core + extensions readme to reflect the MjmlToJson move
updated github actions to run both test suites in each package
Fixed a small typo in the core readme
Removed comments in jest.config files (it just felt easier to read and review and anyway we can always go back to the link that redirect to jest documentation for that)

Let me know if you see something missing 👌

Great job.

@sambegin @wilau2  Please check

@m-Ryan , since the MjmlToJson function has moved from core to extensions package, I think we should have made a major  version update.


Please add support for "--no-trunc --all" to images subcommand matching docker's output

Heading is
REPOSITORY TAG IMAGE ID  CREATED SIZE

For example, cwltool only cares about the values of the first three columns. The first two column values can be <none>.
--no-trunc and --all could be ignored, but would be nice if they didn't cause an error

Added to 1.1.2


"Listening for new emails" notification

I haven't touched any K-9 settings yet after the latest update (5.737) I see this notification at all times. Of course I can hide it but I wonder why it was added in the first place.
And if it's really needed why clicking on it does nothing? At least add some functionality to it like e.g. opening the app.
I can also think of adding buttons like e.g. "Write an email", "Force recheck messages", "Open settings".

You're most likely seeing it because you had Push enabled in the past. See How to configure Push?

Is that "Listening for new emails" persistent notification now replacing the previous "checking for new email" notification that popped up and out repeatedly depending on now many email accounts setup, causing the notification drawer to scroll 📜 up 👆🏻 🆙 kind of by itself? Which was kind of annoying when looking through the notifications.

@life777eternal: It's not. See #5332.
Please use the forum for support requests.


how to controll class's running order in the testng.xml

for example:
<suite name="qrcode" verbose="1" >   <test name="cinemamgr" enabled="true">     <classes>        <class name="com.CinemaTestNG" />        <class name="com.FilmTestNG" />     </classes>   </test>   <test name="ticketmgr" enabled="true">     <classes>        <class name="com.TicketTestNG" />     </classes>   </test> </suite>
i expects the test and the classes will be ran just as the order they are in the xml, it's possible to run FilmTestNG until all methods in CinemaTestNG are completed, i can't find an answer from testng document

Hi zsyet,
If i understand correctly your classes are running in a random fashion.In your case you wanted CinemaTestNG test methods to run first and then FilmTestNG test methods later. If yes, you can try like this by adding preserve order param to your test tag  .

Please, ask your question on stackoverflow or the mailing list before.


SECONDS_PER_ETH1_BLOCK should probably NOT be an UnsignedLong

SECONDS_PER_ETH1_BLOCK can change from UnsignedLong to int to avoid use of UnsignedLong.longValue

It's a lot more readable to have SECONDS_PER_ETH1_BLOCK as an UnsignedLong and call .longValue in a few places than to have to re-wrap it with UnsignedLong.valueOf.  There's nothing inherently wrong with calling longValue so long as we aren't risking an overflow.


[BEAM-6094] Implement external environment for portable BeamPython.

Please add a meaningful description for your change here

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

Run Portable_Python PreCommit

Run Portable_Python PreCommit

Please feel free to self merge after resolving conflicts and test.


Removes eslint 2 deprecation warning

Updates config for eslint 2 according to this guide.
Deprecation warning removed:
 DeprecationWarning: [eslint] The 'ecmaFeatures' config file property is deprecated, and has no effect.


[Haxe] Code completion bug

Hi! Here is a little problem:

after witing "." or using hotkey CTRL+SPACE FD shows available methods or propertites, but after second it gones :(
thanks!
PS: this is my class, which method i tried to call in animation:
package sith.core.pools.destroy;

import openfl.Vector;
import sith.core.IDestroyable;

class DestroyablePool implements IDestroyable {

	public var vector(get, null) : Vector<IDestroyable>;
	public var length(get, null) : Int;

	public function new() {
		vector = new Vector<IDestroyable>();
	}

	public function add(object : IDestroyable) : Void {
		vector.insertAt(vector.length, object);
	}

	public function remove(object : IDestroyable) : Bool {
		var length : Int = vector.length;
		for (i in 0...length)
			if (vector[i] == object) {
				vector.removeAt(i);
				return true;
			}
		return false;
	}

	public function destroy() : Void {
		var length : Int = vector.length;
		for (i in 0...length)
			vector.removeAt(length - i - 1).destroy();
	}

	private function get_vector() : Vector<IDestroyable> {
		return vector;
	}

	private function get_length() : Int {
		return vector.length;
	}
}

UPD:

UPD2:
There is no bug, if i changed completionMode "compiler" to "FlashDevelop"

UPD3:
one more thing:

this code compiles fine, but at some rows has no completion list :(
I tried to change Compleion Mode, but it brings no effect (with FD mode every row has no completions)
ty.


Added tool cache & changed to PS command

Added caching of tools to speed up builds
Changed to use PowerShell command to fix AppVeyor layout issues

Great! Forgot about the packages.config in the tools folder when I added package caching. This will hopefully spead up the builds even more!