04 how to create content page 04

Create a Content Page for Your Tab

Docs Build status updates of commit f6257ad:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:warning:Warning

Details

msteams-platform/tabs/how-to/extend-app-with-tab.md
:warning:Warning

Details

msteams-platform/tabs/how-to/extend-app-with-tab.pdf
:white_check_mark:Succeeded

msteams-platform/tabs/how-to/create-tab-pages/content-page.md

Line 11: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 11: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 15: [Warning] Invalid file link:(~/resources/design/framework/tabs).
Line 15: [Warning] Invalid file link:(~/platform/publishing/office-store-approval#tabs).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.com).
Line 47: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 52: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 56: [Warning] Invalid file link:(~/resources/schema/manifest-schema#validdomains).
Line 56: [Warning] Invalid file link:(~/concepts/apps/apps-package).
Line 64: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 65: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 69: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 70: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 71: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 72: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).

msteams-platform/tabs/how-to/extend-app-with-tab.md

Line 33: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 37: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 91: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 112: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 129: [Warning] Invalid file link:(~/foo.md).
Line 170: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 171: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 172: [Warning] Invalid file link:(~/tabs/how-to/foo.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 920c120:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:warning:Warning

Details

msteams-platform/tabs/how-to/extend-app-with-tab.md
:warning:Warning

Details

msteams-platform/tabs/how-to/extend-app-with-tab.pdf
:white_check_mark:Succeeded

msteams-platform/tabs/how-to/create-tab-pages/content-page.md

Line 11: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 15: [Warning] Invalid file link:(~/resources/design/framework/tabs).
Line 15: [Warning] Invalid file link:(~/platform/publishing/office-store-approval#tabs).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.com).
Line 47: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 52: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 56: [Warning] Invalid file link:(~/resources/schema/manifest-schema#validdomains).
Line 56: [Warning] Invalid file link:(~/concepts/apps/apps-package).
Line 64: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 65: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 69: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 70: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 71: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 72: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).

msteams-platform/tabs/how-to/extend-app-with-tab.md

Line 33: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 37: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 91: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 112: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 129: [Warning] Invalid file link:(~/foo.md).
Line 170: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 171: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 172: [Warning] Invalid file link:(~/tabs/how-to/foo.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 9198cbf:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:warning:Warning

Details

msteams-platform/tabs/how-to/extend-app-with-tab.md
:warning:Warning

Details

msteams-platform/tabs/how-to/extend-app-with-tab.pdf
:white_check_mark:Succeeded

msteams-platform/tabs/how-to/create-tab-pages/content-page.md

Line 11: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 15: [Warning] Invalid file link:(~/resources/design/framework/tabs).
Line 15: [Warning] Invalid file link:(~/platform/publishing/office-store-approval#tabs).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.com).
Line 47: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 52: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 56: [Warning] Invalid file link:(~/resources/schema/manifest-schema#validdomains).
Line 56: [Warning] Invalid file link:(~/concepts/apps/apps-package).
Line 64: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 65: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 69: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 70: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 71: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 72: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).

msteams-platform/tabs/how-to/extend-app-with-tab.md

Line 33: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 37: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 91: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 112: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 129: [Warning] Invalid file link:(~/foo.md).
Line 170: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 171: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 172: [Warning] Invalid file link:(~/tabs/how-to/foo.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 4abdb94:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:warning:Warning

Details

msteams-platform/tabs/how-to/extend-app-with-tab.md
:warning:Warning

Details

msteams-platform/tabs/how-to/extend-app-with-tab.pdf
:white_check_mark:Succeeded

msteams-platform/tabs/how-to/create-tab-pages/content-page.md

Line 11: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 15: [Warning] Invalid file link:(~/resources/design/framework/tabs).
Line 15: [Warning] Invalid file link:(~/platform/publishing/office-store-approval#tabs).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.com).
Line 47: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 52: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 56: [Warning] Invalid file link:(~/resources/schema/manifest-schema#validdomains).
Line 56: [Warning] Invalid file link:(~/concepts/apps/apps-package).
Line 64: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 65: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 69: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 70: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 71: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 72: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).

msteams-platform/tabs/how-to/extend-app-with-tab.md

Line 33: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 37: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 91: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 112: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 129: [Warning] Invalid file link:(~/foo.md).
Line 170: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 171: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 172: [Warning] Invalid file link:(~/tabs/how-to/foo.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 6605481:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:warning:Warning

Details

msteams-platform/tabs/how-to/extend-app-with-tab.md
:warning:Warning

Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md

Line 11: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 15: [Warning] Invalid file link:(~/resources/design/framework/tabs).
Line 15: [Warning] Invalid file link:(~/platform/publishing/office-store-approval#tabs).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.com).
Line 47: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 52: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 56: [Warning] Invalid file link:(~/resources/schema/manifest-schema#validdomains).
Line 56: [Warning] Invalid file link:(~/concepts/apps/apps-package).
Line 64: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 65: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 69: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 70: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 71: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 72: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).

msteams-platform/tabs/how-to/extend-app-with-tab.md

Line 33: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 37: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 91: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 112: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 129: [Warning] Invalid file link:(~/foo.md).
Line 170: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 171: [Warning] Invalid file link:(~/tabs/how-to/foo.md).
Line 172: [Warning] Invalid file link:(~/tabs/how-to/foo.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

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

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/msteams-docs, working directory: W:\puxq-s, target branch: HEAD, target branch commit: 2ca626c4094788d8d166f67dbe4f4840a3a69e42, source commit: 702be9d67948fc15752b41c92c0b38b3ce2e6a22.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

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

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/msteams-docs, working directory: W:\c3jg-s, target branch: HEAD, target branch commit: 2ca626c4094788d8d166f67dbe4f4840a3a69e42, source commit: 12bd8753ae8f67de0dce7b4766f2afa094aca8ec.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 9e7243e:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:warning:Warning

Details

msteams-platform/includes/prepare-environment.md
:warning:Warning

Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md

Line 11: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 15: [Warning] Invalid file link:(~/resources/design/framework/tabs).
Line 15: [Warning] Invalid file link:(~/platform/publishing/office-store-approval#tabs).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.com).
Line 47: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 52: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 56: [Warning] Invalid file link:(~/resources/schema/manifest-schema#validdomains).
Line 56: [Warning] Invalid file link:(~/concepts/apps/apps-package).
Line 64: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 65: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 69: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 70: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 71: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 72: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).

msteams-platform/includes/prepare-environment.md

Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

I made a few edits. We're going to need to add an additional paragraph as I've outlined in the edit.

Docs Build status updates of commit e9ff139:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:warning:Warning

Details

msteams-platform/includes/prepare-environment.md
:warning:Warning

Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md

Line 11: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 15: [Warning] Invalid file link:(~/resources/design/framework/tabs).
Line 15: [Warning] Invalid file link:(~/platform/publishing/office-store-approval#tabs).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.com).
Line 51: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 55: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 59: [Warning] Invalid file link:(~/resources/schema/manifest-schema#validdomains).
Line 59: [Warning] Invalid file link:(~/concepts/apps/apps-package).
Line 67: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 68: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 72: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 73: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 74: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 75: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).

msteams-platform/includes/prepare-environment.md

Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 6c7d125:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:warning:Warning

Details

msteams-platform/includes/prepare-environment.md
:warning:Warning

Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md

Line 11: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 15: [Warning] Invalid file link:(~/resources/design/framework/tabs).
Line 15: [Warning] Invalid file link:(~/platform/publishing/office-store-approval#tabs).
Line 41: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.com).
Line 51: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 55: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 59: [Warning] Invalid file link:(~/resources/schema/manifest-schema#validdomains).
Line 59: [Warning] Invalid file link:(~/concepts/apps/apps-package).
Line 67: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 68: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 72: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 73: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 74: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 75: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).

msteams-platform/includes/prepare-environment.md

Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit e324ec4:
:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md
:warning:Warning

Details

msteams-platform/includes/prepare-environment.md
:warning:Warning

Details

msteams-platform/tabs/how-to/create-tab-pages/content-page.md

Line 19: [Warning] Invalid file link:(~/resources/design/framework/tabs).
Line 19: [Warning] Invalid file link:(~/platform/publishing/office-store-approval#tabs).
Line 23: [Warning] Invalid file link:(~/foo.md).
Line 45: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.com).
Line 55: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 59: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 63: [Warning] Invalid file link:(~/resources/schema/manifest-schema#validdomains).
Line 63: [Warning] Invalid file link:(~/concepts/apps/apps-package).
Line 71: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 72: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 76: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 77: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 78: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).
Line 79: [Warning] Invalid file link:(~/tabs/how-to/create-tab-pages/foo.md).

msteams-platform/includes/prepare-environment.md

Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).
Line 3: [Warning] Invalid file link:(~/concepts/build-and-test-your-app/foo.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


How we can Override the BackEnd Path Settings

What should we add or change to make your life better?
I'm currently using Azure Appgateway and looking to learning Yarp and would like to use it as my custom LB solution. One feature which I couldn't able to find in Yarp by looking atht appgateway. Is that Override the Backend Path (HttpSettings)
How can I Override the backend path ?

YARP's built-in mechanism for path modifications is called "transforms": https://microsoft.github.io/reverse-proxy/articles/transforms.html
E.g. to add a prefix to the path you can use the PathPrefix transform, or remove a known prefix you can use the PathRemovePrefix.

Thanks @MihaZupan for your help !


Add logo to navbar

I have changed the logo more creatively . You can also  check the color combination i used for the logo to make it a perfect match to the foodie website . Hope you will like the new design!!

Mention your issue!


feature request: support for Apple Remote A1156

Hi,
I know you last worked on this library 4 years ago. But would it be possible you have a look at: https://en.wikipedia.org/wiki/Apple_Remote
The Apple Remote uses a modified NEC IR protocol which consists of a differential PPM encoding on a 1:3 duty cycle 38 kHz 950 nm infrared carrier. There are 32 bits of encoded data between the AGC leader and the stop bit

I'm trying to get this remote working, but failing on every attempt.

Hey.
Sorry but without the actual device it would be very hard for me to give it a shot. This kind of stuff is sadly a lot of trial and error for me.
As I do not have access to one I cannot really support you there.


Update docs for consolidation

Updated docs for consolidation:

updated images
updated comments
updated code
removed line breaks

I am getting CI fails but they are not related to the PR at hand, I believe that we can ignore them, @igamigo?

@bobbinth @Dominik1999 could I have an approval on this PR.

Yeah, agree we should lock the builds


Manifest languages

both a type to identify a valid manifest language,
and an exported list of them because i like things that i can loop over

Neat!


An alternative to nix-build in Dockerfile

What would you like to be added:
Hello, I want to build images in Dockerfile without passing Nix
Why is this needed:
In my own virtual environment, I do not have nix proxy source, so I cannot download the corresponding package. Is there any other way that I can key mirror without NIx?
User story covered
I want to modify part of the code and build the corresponding image for testing, but I cannot download the corresponding package through nix-build at present

Which alternative would work for you? Can you build the UBI based Dockerfile: https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/Dockerfile.ubi ?

Which alternative would work for you? Can you build the UBI based Dockerfile: https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/Dockerfile.ubi ?
An error occurs when I use Dockerfile.ubi compile, as follows:
Microdnf install error:
(microDNF :1): glib-error **: 01:38:56.910: file.. /glib/gthread-posix.c: line 1339 (g_system_thread_new): error 'Operation not permitted' during 'pthread_create'
Can I compile directly from a makefile or other means? Thank you very much！

@longpi1 yes, does a simple make work for you?


Better warning for deprecated function directive definition syntax

When using this deprecated directive syntax:
Vue.directive('my-directive', function (value) {
  // this function will be used as update()
})

The errors thrown are:
vue.js:2168 [Vue warn]: Error during component render (found in root instance)
vue.js:3479 Uncaught TypeError: Bind must be called on a function

These are pretty vague, so wasn’t sure if we wanted to throw a better warning, similar to when users don’t have a root element in their template for example. Maybe something like:
[Vue warn]: Directive definition must be an object (Function definition is deprecated)

Hmm, the function shorthand should still be supported. This seems like a bug.

@yyx990803 Good to know! Edited the issue. The reason I thought it was deprecated is because update is no longer called after bind, which seemed to eliminate the use case for this feature. Or is that a bug too?


fix: Approve/Reject action at backoffice uses account language

Fixing of backoffice bug which blocked successful approving/rejecting of record which had empty string at attribute that is mandatory, but fallback string for record default language existed at same time. Approving/rejecting of Investor/PD should be done with respect to language so validation error is not raised in such cases.
Testing instructions
Create Investor or PD which have required attribute empty at language which is not selected language of record. For example:
I18n.with_locale "pt" do
   unapproved_investor.account.update! language: "pt", about_pt: "ABOUT PT", about_en: ""
end

You should be able to approve/reject such record when Language of Backoffice is set up to EN <-- about_en is empty, but fallback data (about_pt) exists, therefore no validation error should be raised.
Tracking
BugFix: https://vizzuality.atlassian.net/browse/LET-806

Hmm, I don't see that about is mandatory. We have other mandatory column like mission (BTW. I found a bug just looking at schema.rb - mission is text for project developers and string for investors, I think that should be text for all)

I'm not sure if the change should not be done directly in validations in the model.

Hmm, I don't see that about is mandatory. We have other mandatory column like mission (BTW. I found a bug just looking at schema.rb - mission is text for project developers and string for investors, I think that should be text for all)

Not sure about mission now, but we could for sure unify it, but probably as not part of this ticket ;). When I check Account model, there is about as mandatory (https://github.com/Vizzuality/heco-invest/blob/develop/backend/app/models/account.rb#L23).
About your second note, hmm, I was thinking about it a bit and I agree with you that it makes more sense to have validations based on language of record. There is on other hand couple of issues with this approach which we would need to address:

traco fallbacks to I18n default locale, but it should probably fallback to language which ensured there to be present
fields depends on presence validation at backoffice to show if field is required or not, this would be need to be tweaked so this dynamic is taken into account
when changing language, you will need to provide all translation for beforehand --> we will need to add new error


startup script supports reading environment variable for some param

Hi @zhipcui why do you need this?
These are internal variables and they can be set with different parameters.
What are you trying to achieve?

All these variables can be set by flume-env.sh file on conf dir.
Take JAVA_OPTS  as example, if I want to change it, I need flume-env.sh file.
Setting this variables from environment variable would be a more clean way especially run the flume using Kubernetes.

Can one of the admins verify this patch?

LGTM

We can add these environment variables, but I do not think it is really necessary.
Regarding JAVA_OPTS: yes, it is common the pass parameters and system properties to java, but FLUME_JAVA_OPTS can be used for this and can be defined as an environment variable, FLUME_JAVA_OPTS is appended after JAVA_OPTS so it has higher precedence
Regarding classpath: the best practice for using third party libraries is through plugins (by default the plugins.d directory), so adjusting the classpath should be needed in quite rare/special cases only


The unequal length problems are padded with NA

These needs reformatting and updating in this project and on the archive

Fixed


BranchUniversalObject content type restrictions

The BranchUniversalObject is restricting the possible content types to a predefined set of possibilities compared to local indexed CSSearchableItemAttributeSet.
Should the BranchUniversalObject only reflect an API which is supported by deep-linking or would it be possible to add APIs for content types which would just be supported locally by the indexing engine?
Example use-case:
If the BranchUniversalObject would have a property for htmlContentData which may is only supported by CoreSpotlight, then it would be possible to index html content for the local search but still use the deep-link for App routing.

On you Branch universal object, you can set
myBranchUniversalObject.contentMetadata.contentSchema = kUTTypeHTML;

to set the CSSearchableItemAttributeSet content type to html.

So you're trying to create a local index with app content with a BranchUniversalObject?
Will this content also be available on the web? Or just in your app?

Did this help? I'll close out the issue now but you can re-open if you're still having issues.


[uchardet] Update to 2021-09-03

Describe the pull request

What does your PR fix?

Update
CONTROL -> vcpkg.json
Modernize

Which triplets are supported/not supported? Have you updated the CI baseline?
<all / linux, windows, ...>, <Yes/No>

Does your PR follow the maintainer guide?
Your answer

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
<Yes / I am still working on this PR>

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

@myd7349 ,Could you please take a look?
https://dev.azure.com/vcpkg/public/_build/results?buildId=59019&view=artifacts&pathAsName=false&type=publishedArtifacts

Thanks for the update!


cast to Number to convert value between numeric types

During ingestion, the array to put in MV column can contain mixing types. This fix would allow mixing numeric types in an array to be put in a numeric MV column.
Description

Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

Came into this issue while using jsonPathArray() during ingestion to extract the id field from labels JSONArray into a Pinot MV column. The output array from jsonPathArray() has [Int, Int, Long, Int] and led to error saying 'Long can't be cast to Integer' in this method. Casting to Number to convert types for those numeric PinotDataType would fix this issue.
      "labels": [
        {
          "id": 100632567,
...
        },
        {
          "id": 100632569,
...
        },
        {
          "id":<PHONE_NUMBER>,
...
        },
        {
          "id":<PHONE_NUMBER>,
     ...
        }
      ],

However, this fix can't handle more complex cases, like numbers, strings, list, maps are mixed in output array from jsonPathArray(). The complexType might help in those cases.

Codecov Report

Merging #7224 (7fa1123) into master (c2c887a) will decrease coverage by 8.28%.
The diff coverage is 88.00%.

@@             Coverage Diff              @@
##             master    #7224      +/-   ##
============================================
- Coverage     73.59%   65.30%   -8.29%
  Complexity       92       92
============================================
  Files          1508     1508
  Lines         73951    73951
  Branches      10685    10685
============================================
- Hits          54422    48293    -6129
- Misses        15970    22243    +6273
+ Partials       3559     3415     -144

Flag
Coverage Δ

integration
?

unittests
65.30% <88.00%> (+<0.01%)
:arrow_up:

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

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


Docker - Error when Running Resque workers

Hi,
using docker-compose configuration I get an error when running the Resque Workers:
[Resque_RedisException]
Error communicating with Redis: Connection to Redis redis-master:6379 failed after 1 failures.Last Error : (1) php_network_getaddresses: getaddrinfo failed: Name or service not known
To be more precise.
When running the following command
docker exec -t packages_web_1 /bin/bash -c \
>     'cd /app && bin/console resque:worker:start'

everything seems ok
Executing nohup /usr/local/bin/php  /app/src/../bin/resque > /app/src/../logs/resque.log 2>&1 & echo $!...
Starting 1 worker on 812897cc30d8 for * queues

But when I try the hook
curl -X POST http://MY_SERVER/webhook/56/receive

Then I got a 500 error with the message: [Resque_RedisException]
Error communicating with Redis: Connection to Redis redis-master:6379 failed after 1 failures.Last Error : (1) php_network_getaddresses: getaddrinfo failed: Name or service not known
How to fix it ?
I know how to fix it when running on my server directly but when using docker.

Fixed.
If anyone facing the same issue, find below my working docker-compose.yml file:
version: '2'
services:
  web:
    image: webdevops/php-nginx:7.1
    volumes:
      - .:/app
      - ./docker/nginx/vhost.common.d/vhost.common.conf:/opt/docker/etc/nginx/vhost.common.d/10-location-root.conf
    links:
      - redis-master
    environment:
      - WEB_DOCUMENT_ROOT=/app/web
    expose:
      - "80"
  redis-master:
    image: redis:3.2
    container_name: redis-master
    expose:
      - "6379"

Thanks for opening this and also thank you for the follow-up!


Bug fix/39727 POM Dev time and

Thank you for your contribution.
Before submitting this PR, please make sure:

[ ] PR description and commit message should describe the changes done in this PR
[ ] Verify the PR is pointing to correct branch i.e. Release or Beta branch if the code fix is for specific release , else point it to master
[ ] Latest Code from master or specific release branch is merged to your branch
[ ] No unwanted\commented\junk code is included
[ ] No new warning upon build solution
[ ] Code Summary\Comments are added to my code which explains what my code is doing
[ ] Existing unit test cases are passed
[ ] New Unit tests are added for your development
[ ] Sanity Tests are successfully executed for New and Existing Functionality
[ ] Verify that changes are compatible with all relevant browsers and platforms.
[ ] After creating pull request there should not be any conflicts
[ ] Resolve all Codacy comments
[ ] Builds and checks are passed before PR is sent for review
[ ] Resolve code review comments
[ ] Update the Help Library document to match any feature changes

Summary by CodeRabbit

New Features

Enhanced test plan import functionality with improved string handling.
Improved element highlighting logic to exclude deleted elements.
New methods for window focus management and timer handling in the learning wizard.

Bug Fixes

Updated user interface interactions for web agent configuration.
Refined error handling in network information retrieval for mobile drivers.

Documentation

Added licensing headers to several files for compliance.

Refactor

Updated methods for improved error handling and responsiveness in various driver classes.

Chores

Updated Microsoft.Playwright package version for browser automation improvements.

duplicate request


Updated cryptoScraper to add data to a csv file

I have updated cryptoScraper so that it adds time and OHLCV data to a sample csv file in Data subdirectory which is updated every minute for five minutes. I have also changed the API to cryptoCompare as the previous one didn't provide OHLCV data.
Please review the changes

@Atharvat I've suggested some minute changes, overall really good work

Add a directory Scraper outside CryptoPy and move cryptoScraper.py and BTCUSDT_sample_data.csv in \Scraper


[DRAFT] flb/close 302 excelparser

Description:

Type of change:

[ ] Bug fix.
[x] New feature.
[ ] Documentation update.

Checklist:

This checklist can be used as a help for the reviewer.

[ ] Is the code easy to read and understand?
[ ] Are comments for humans to read, not computers to disregard?
[ ] Does a new feature has an accompanying new test (in the CI or unit testing schemes)?
[ ] Has the documentation been updated as necessary?
[ ] Does this close the issue?
[ ] Is the change limited to the issue?
[ ] Are errors handled for all outcomes?
[ ] Does the new feature provide new restrictions on dependencies, and if so is this documented?

Comments:

@jesper-friis @sygout
Here is the first example of the excelparser. Can you have a look and comment on what other things should be made available?

I tried to run make make_microstructure_onto.py and it crashes.
if you removed a weird "1" in the prefLabel column, it seems stuck.

The '1' is there only to test that it doe snot fail if prefLabel starts with a number, can be removed. However, if you remove it with a space you will get an error as you will effectively give it a prefLabel with space.


Browser Aptitude: React Route changes not noticed by listenNavigation

Attempting to listen for navigation within a React application does not trigger each time a link within the application is clicked/accessed.
To reproduce:

Run the Browser aptitude for a site using React routes (e.g. https://reactrouter.com/)
Upon first loading a page from that site, you'll get a listener fire with the page URL
Upon navigation using routed links within that React app, the aptitude will not fire.
If at a different location and you hit refresh, listenNavigation will fire again.

We simply must to be able to see these routed/history transitions.

Hey Colton! One thing I want to check on real fast - what permissions are you providing for the browser aptitude in your package.json?

"permissions": {
  "browser": {
    "urlDomains": [
      {
        "value": "*.thedomain.com/*"
      }
    ]
  },
}

@coltonbrugger Gotcha, thanks for confirming. Just wanted to make sure you were using the wildcard(s).
From what we can tell, the current listenNavigation implementation only fires for true navigation events, whereas single page apps (like using React Router) only manipulate the browser's history. From what I can tell, React Router uses the history package, which uses with the browser's History API, which seems to confirm that thought.
Nonetheless, we completely agree that the browser aptitude's listenNavigation function should be able to support navigation within single page apps, and we will look into this. I'll create a card to track investigation/progress on a solution.

Thanks for the feedback! This feature has been released on Olive Helps 0.32.2 :)


NR-37615 Updated php Dashboards

Summary
Ticket URL: https://issues.newrelic.com/browse/NR-37615
Description: Updated dashboards of quickstart named php
A concise description of the changes being introduced. If you are submitting a PR for a
new quickstart please review the pre merge checklist section to validate this PR is ready for review.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you check your dashboard image quality? -  Do they look good?
[ ] Did you check that your alerts actually work?
[ ] Did you include an InstallPlan and Documentation reference?
[ ] Did you check your descriptive content for voice, tone, spelling and grammar errors?
[ ] Did you attach images of your dashboards to the PR so we can see them working?

Screenshots
Attach images of any visual changes, such as a dashboard here.
Preview

Hey @aswanson-nr @pkosanam. The dashboard screenshots look great, but it uses queries that don't work for every customer so we will have to fix this.
For example: there is a query FROM Metric WHERE (entity.guid = 'MzUxMDYxM3xBUE18QVBQTElDQVRJT058NTU2MTk5NTk2') AND ((transactionType = 'Web' AND transactionName = 'WebTransaction/Uri/club-manager/index.php')) but since the entity.guid is unique and the transactionName is unique to the test application, this will only work for @pkosanam's test environment.
It is important that the dashboards/alert work for every customer, can we fix this and review any other quickstarts that were recently updated?
(@aswanson-nr Does it make sense to have a github action that checks for the usage of guid, and name fields? Because I think we always want to avoid that)
cc @mdumpati

Hi @polfliet
Thank you for updating us regarding this concern.
I have updated the dashboard's json file by removing entity.guid from all the queries.
Here is the PR related to this update.
https://github.com/newrelic/newrelic-quickstarts/pull/1331
Once the above PR get merged, we will re check the scenario if it is working as it should.
Thank you. 🙂


[New game]: Eco Warrior

🎮 Game Request
Game logic and basic description
Eco Warrior is an educational and engaging game designed to raise awareness about environmental conservation. Players take on the role of an eco-warrior whose mission is to clean up litter, plant trees, and restore ecosystems. The game is designed to be both fun and educational, teaching players the importance of keeping the environment clean and green.
Point down the features
How to Play

Objective: Clean up all the litter within the given time to advance to the next level. Additionally, plant trees to increase your impact score and improve the environment.
Energy: Start with 100 energy points. Cleaning litter and planting trees consume energy. Energy regenerates over time.
Score: Earn points by cleaning litter and planting trees. Higher scores unlock upgrades and allow you to progress to higher levels.
Timer: Each level has a countdown timer. Clean up all the litter before the time runs out to complete the level. The time available increases with each subsequent level.

Game Elements

Litter: Click on litter items scattered around the game area to clean them up. Each piece of litter cleaned increases your score.
Trees: Plant trees to improve your score and the environment. Planting a tree costs 10 energy points.
Upgrades: Accumulate 50 points to purchase an upgrade that increases your energy regeneration rate.

Levels
The game consists of multiple levels, each progressively more challenging:

Level 1: Start with 10 pieces of litter and 60 seconds to clean them up.
Subsequent Levels: Each new level adds 5 more pieces of litter and increases the timer by 10 seconds. The challenge increases as you progress, requiring more strategic use of energy and time.

Game Over
If you fail to clean up all the litter within the given time, the game will display a "Game Over" message and reset. Try again to beat your previous scores and advance further.
Educational Impact
Eco Warrior aims to educate players about the importance of environmental conservation. By simulating the cleanup process and tree planting, players learn the value of these actions in a fun and interactive way. The game encourages players to think about real-world environmental issues and how they can contribute to a cleaner, greener planet.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Antiquely3059 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @Antiquely3059 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Jira to Dojo Sync

Hi,
I have integrated jira in dojo. When i push the issues from dojo to jira it works fine. I know that status sync feature is there.
But if a developer or anyone changes the data directly in jira, I couldn't able to view the changed data in dojo. May i know that the bidirectional feature is only for status sync or the changed data in jira will be reflected in the dojo also.
Thanks

Only status and comments are synced.

Thanks for confirming this


Bump luasec to 0.7

Summary
The dependency luasec 0.6 is not compatible with OpenSSL 1.1.0, thus could not compile.
See the issue
https://github.com/brunoos/luasec/issues/101
Issues resolved

Bump dependency luasec to 0.7

Merged in master - thank you!


[Release Radar Request] simple-data-analysis v3.0.0

Open Source Project name
simple-data-analysis
What is your project?
SDA is an easy-to-use and high-performance JavaScript library for data analysis.
Version
3.0.0
Date
June 7, 2024
Description of breaking changes
SDA is now easier to use and can process both tabular and geospatial data. It operates seamlessly in the browser and with NodeJS/Bun. It's fast and efficient. We've even tackled the 1 Billion Row Challenge with it!
GitHub Repo
https://github.com/nshiab/simple-data-analysis
Website
https://github.com/nshiab/simple-data-analysis
Link to changelog
https://github.com/nshiab/simple-data-analysis/releases/tag/v3.0.0
Social media
https://x.com/NaelShiab/status/1799098028600742311
Anything else to add?
I am a computational journalist and senior data producer for CBC News.
SDA is born out of the frustration of switching between Python, R, and JavaScript to produce data journalism projects. Usually, data crunching and analysis are done with Python or R, and interactive data visualizations are coded in JavaScript. However, being proficient in multiple programming languages is hard. Why can't we do everything in JS?
The missing piece in the JavaScript/TypeScript ecosystem was an easy-to-use and performant library for data analysis. This is why SDA was created!
Thank you for your consideration! :)

Congrats on being featured in the June 2024 Release Radar 🥳

Read the blog here
Feel free to retweet Mish's tweet featuring you
See and share LinkedIn post

Please share via your networks too, and congrats again ✨


[WIP] - F# - implement capturing & formatting

Getting close now, scalar destructuring and formatting is nearly working...

And destructuring/formatting is done :smile:


Filing process routing - Phase 2 (Live data)

Closes #404
Changes

[Filing] Automatically creates a new Filing when needed
[Filing overview] Determines latest incomplete Filing step and links to it
[Filing sub-pages] Creates placeholder pages for Errors, Warnings, Point of contact, and Complete
[Filing sub-pages] Displays the status of all Steps at the top of each sub-page
[Styling] Updates step label's font-weight and color based on the steps status (complete, incomplete)
[Styling] Only displays a step as Complete (Dark blue bar, semibold font) when a user has navigated beyond the step in the Filing flow (i.e. When viewing Warnings, Errors would show complete)

How to test this PR

Start fresh
Landing page - Verify all associated institutions are ready for Upload (which indicates that the Filing for this period has automatically been created)
Upload a "failing" data file.  Verify that you cannot navigate beyond the Upload page (Save.. button disabled)
Upload a "passing" data file. Verify that you can navigate to the Errors page  (Save.. button enabled). Also verify that the step indicator at the top of the page updates to reflect the status of upcoming steps.
Return to the Landing page, verify that the Institution that you have uploaded data for now links to the latest "Incomplete" step (probably "Point of Contact").

Screenshots (Updated 4/25)
https://github.com/cfpb/sbl-frontend/assets/2592907/54280e03-a2e5-4a10-b0d2-5a4127bac342

@billhimmelsbach Refactoring complete.  Merge conflicts squashed. Ready for re-review.

@shindigira @billhimmelsbach Issue with infinite loading state has been resolved.  All other PR comments have been addressed.
This is ready for one last review.


[Issue]: Stopped working after strange behavior editing tags

Plugin Version
1.0.4
Logseq Version
0.9.2
What browsers are you seeing the problem on?
Linux
What happened?
I was editing a new Tag, I added #ketostix and wanted to set the label "mmol_L". The ui started to behave strange, I deleted the powertag and created a new one.
For $reasons, the plugin does not replace any tags anymore. Tried all settings, disabled all other plugins. Nothing in the logs, even with verbose on.
When I press the apply button, no tags get changed, also no error in the logs.

I misinterpreted the effects of the bug I encountered since I often create single tag blogs.
I think https://github.com/hkgnp/logseq-powertags-plugin/blob/fb5092f601769300e6e08ef915ef955fe6ee4166/src/utils/findTag.ts#L14 is the culpit.
Is there a reason to exclude blocks that are only a powertag with no other words ?

Given that the database feature is being developed by the Logseq team as a core feature, I will be more selective about making changes as the work will all be wasted when the feature is released.


glib: Add API for non-destructive iteration over a List / SList

The Iterator implemention on the type itself directly consumes the
list so add another iterator that does not consume the list, and provide
an iter() method for getting it.

Add tests please.

There's unfortunately no suitable API we could use in GLib. There are tests for this in GStreamer though.

I'll add a test that manually (via FFI) creates a list of datetimes and works with that

@GuillaumeGomez Tests added (also some others), these are all valgrind clean now. Looks ok for you like this?

@GuillaumeGomez CI also passed

Yes, thanks!


Unable to expose Grafana through the ingress gateway

Hi,
I am working with Istio 1.0.2 on GKE. I am able to deploy services like eureka and consul in my default namespace and expose them to the outside world using the virtualservice.
But when I attempt the same with the Grafana service ( installed along with istio ) , it dont seem to work. Here is the Grafana VirtualService YML file I am using . Rest of the Istio installation is default and I have not changed anything else .
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: grafana
  namespace: istio-system
spec:
  hosts:
  - "istiotest-grafana.mydomain"
  gateways:
  - istio-gateway
  http:
  - match:
    - uri:
        prefix: /
    route:
    - destination:
        host: grafana
        port:
          number: 3000

Please append the output of kubectl get gateway istio-gateway -o yaml -n istio-system and kubectl get svc grafana -o yaml -n istio-system

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"networking.istio.io/v1alpha3","kind":"Gateway","metadata":{"annotations":{},"name":"istio-gateway","namespace":"istio-system"},"spec":{"selector":{"istio":"ingressgateway"},"servers":[{"hosts":["*"],"port":{"name":"http","number":80,"protocol":"HTTP"}}]}}
  clusterName: ""
  creationTimestamp: 2018-10-10T11:48:09Z
  generation: 1
  name: istio-gateway
  namespace: istio-system
  resourceVersion: "100886"
  selfLink: /apis/networking.istio.io/v1alpha3/namespaces/istio-system/gateways/istio-gateway
  uid: 5ba82088-cc82-11e8-a5e7-42010a8e008d
spec:
  selector:
    istio: ingressgateway
  servers:
  - hosts:
    - '*'
    port:
      name: http
      number: 80
      protocol: HTTP

and here are the details for the grafana service....
apiVersion: v1
kind: Service
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"labels":{"app":"grafana","chart":"grafana-1.0.1","heritage":"Tiller","release":"RELEASE-NAME"},"name":"grafana","namespace":"istio-system"},"spec":{"ports":[{"name":"http","port":3000,"protocol":"TCP","targetPort":3000}],"selector":{"app":"grafana"},"type":"ClusterIP"}}
  creationTimestamp: 2018-10-09T23:20:45Z
  labels:
    app: grafana
    chart: grafana-1.0.1
    heritage: Tiller
    release: RELEASE-NAME
  name: grafana
  namespace: istio-system
  resourceVersion: "1649"
  selfLink: /api/v1/namespaces/istio-system/services/grafana
  uid: f2baeaea-cc19-11e8-a5e7-42010a8e008d
spec:
  clusterIP: <IP_ADDRESS>
  ports:
  - name: http
    port: 3000
    protocol: TCP
    targetPort: 3000
  selector:
    app: grafana
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}

Have you looked at the config for the telemetry-gateway ?  It is a working example of basically what you are trying to do. Please see: https://github.com/istio/istio/blob/master/install/kubernetes/helm/istio/charts/telemetry-gateway/templates/gateway.yaml

Hi,
Thanks for the reply. But I tried the following commands to install/configure istio :
- gcloud container clusters create  tele-istio --cluster-version=latest --num-nodes 4
- kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=$(gcloud config get-value core/account)
- kubectl label namespace default istio-injection=enabled
- helm template install/kubernetes/helm/istio --name istio --namespace istio-system --set grafana.enabled=true --set prometheus.enabled=true --set servicegraph.enabled=true --set tracing.enabled=true  > istio.yml
- kubectl apply -f istio.yml

Even with this.. the telemetry YML contents are not generated.. and the section in istio.yml is empty
and given this setup .. what do I need to now access grafana. Ideally I would only need an ingress service to expose Grafana. But that also doesnt seem to be the case.
Any help is appreciated on this.

@consult-kk you were missing some of the helm options needed. this is a bit confusing, to be fair. You need telemetry-gateway.gatewayEnabled set to true, a la:
$ helm template install/kubernetes/helm/istio --name istio --namespace istio-system --set grafana.enabled=true --set telemetry-gateway.grafanaEnabled=true   > istio.yml
---
# Source: istio/charts/telemetry-gateway/templates/gateway.yaml

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: istio-telemetry-gateway
  namespace: istio-system
spec:
  selector:
    istio: ingressgateway
  servers:
  - port:
      number: 15031
      name: http2-grafana
      protocol: HTTP2
    hosts:
    - "*"
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: grafana
  namespace: istio-system
spec:
  host: grafana.istio-system.svc.cluster.local
  trafficPolicy:
    tls:
      mode: DISABLE
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: telemetry-virtual-service
  namespace: istio-system
spec:
  hosts:
  - "*"
  gateways:
  - istio-telemetry-gateway
  http:
  - match:
    - port: 15031
    route:
    - destination:
        host: grafana.istio-system.svc.cluster.local
        port:
          number: 3000

Hi Douglas,
Thanks for your help. I was able to expose Grafana to the outside world.
Now I have couple of questions  :

Can I use deploy a different ingressgateway for all my microservices and still have the metrics gather by Grafana running in the istio-system namespace.
if not, should I use the one single ingressgateway to allow access to all of my microservices APIs, if so how would I go about achieving this.

Thanks ,
KK

@consult-kk There is no requirement for the gateway used to access Grafana to be the same as the one used for accessing other services.

@consult-kk I'm going to close this issue, as I feel like we've addressed the original concern. Let's follow-up on further questions on mailing-lists or in a separate issue. Please feel free to re-open if you feel it is appropriate.

Hi, I have a similar issue exposing Grafana. I can get as far as the login page, and when I enter my credentials I can see that they get accepted, but then I'm directed straight back to the login page. If anyone can suggest what I might be missing from my config to make this work, it would be greatly appreciated.

@consult-kk you were missing some of the helm options needed. this is a bit confusing, to be fair. You need telemetry-gateway.grafanaEnabled set to true, a la:
$ helm template install/kubernetes/helm/istio --name istio --namespace istio-system --set grafana.enabled=true --set telemetry-gateway.grafanaEnabled=true > istio.yml
---
# Source: istio/charts/telemetry-gateway/templates/gateway.yaml

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: istio-telemetry-gateway
  namespace: istio-system
spec:
  selector:
    istio: ingressgateway
  servers:
  - port:
      number: 15031
      name: http2-grafana
      protocol: HTTP2
    hosts:
    - "*"
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: grafana
  namespace: istio-system
spec:
  host: grafana.istio-system.svc.cluster.local
  trafficPolicy:
    tls:
      mode: DISABLE
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: telemetry-virtual-service
  namespace: istio-system
spec:
  hosts:
  - "*"
  gateways:
  - istio-telemetry-gateway
  http:
  - match:
    - port: 15031
    route:
    - destination:
        host: grafana.istio-system.svc.cluster.local
        port:
          number: 3000

@douglas-reid Your provided solution works well for proxy the grafana with ingress+port，may I konw how to achieve the same goal by a uri route like  uri: /grafana?

@hustshawn that is slightly more complicated. some of the mechanisms for exposing the add-ons have migrated since this issue was first opened. i have not recently attempted such a thing, but I believe the contextPath support in the ingress template (see: https://github.com/istio/installer/blob/master/istio-telemetry/grafana/templates/ingress.yaml) may provide some help here, too, if you want to look at that.

Hi @douglas-reid all the link you provide is now 404. I'm looking for a template to expose grafana, prometheus, kiali... through default port for existing istio installation

@victory1908 this PR (https://github.com/istio/installer/pull/225) removed that file. you can look at the source prior to the change, I suppose, for inspiration.


JSON API's error messages are not JSON

For the API to be a JSON API the error messages should also be wrapped in JSON. If the API is a JSON API, and the headers request a JSON response, developers should be able to trust that what they get from the server is always valid JSON.
The lack of a proper JSON response on error makes it very difficult to use certain libraries, such as polymer core-ajax, which asks to specify the returned format when doing the call.

Had to reopen not all api responds to json


Elm compiler infers type as typed but still complains about mismatch

module Deck (..) where

import Effects exposing (Effects)
import Html exposing (Html, text)
import Dict exposing (Dict)
import List
import Maybe

type alias ID =
  Int

type alias Model contentModel =
  { cards : Dict ID contentModel
  , order : List ID
  , nextID : ID
  , selected : Maybe ID
  , active : Maybe ID
  }

type Action action flags
  = NoOp
  | Open flags
  | Remove ID
  | Close ID
  | Select ID
  | Activate
  | Deactivate
  | ChangeActive ID
  | Modify ID action

type alias Transaction action model =
  ( model, Effects action )

type alias Init action model flags =
  flags -> Transaction action model

type alias Update action model =
  action -> model -> Transaction action model

update : Init action model flags -> Action action flags -> Model model -> Transaction action model
update init action model =
  case action of
    NoOp ->
      nofx model

    Open flags ->
      open init flags model

    Close id ->
      nofx model

    Select id ->
      nofx model

    Activate ->
      nofx model

    Deactivate ->
      nofx model

    ChangeActive id ->
      nofx model

    Modify id action ->
      nofx model

open : Init action model flags -> flags -> Model model -> Transaction (Action action flags) (Model model)
open init flags model =
  let
    id =
      model.nextID

    ( content, fx ) =
      init flags

    model' =
      { model
        | nextID = model.nextID + 1
        , order = id :: model.order
        , cards = Dict.insert id content model.cards
        , selected = Nothing
        , active = Just id
      }
  in
    ( model'
    , Effects.map (Modify id) fx
    )

nofx : model -> Transaction action model
nofx model =
  ( model
  , Effects.none
  )

And here is a compiler output:
deck.elm  elm make ./src/Deck.elm
==================================== ERRORS ====================================

-- TYPE MISMATCH ------------------------------------------------ ./src/Deck.elm

The type annotation for `update` does not match its definition.

48│ update : Init action model flags -> Action action flags -> Model model -> Transaction action model
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The type annotation is saying:

    Init a b c -> Action a c -> Model b -> Transaction (Action a c) (Model b)

But I am inferring that the definition has this type:

    Init a b c -> Action a c -> Model b -> Transaction (Action a c) (Model b)

Hint: A type annotation is too generic. You can probably just switch to the type
I inferred. These issues can be subtle though, so read more about it.
<https://github.com/elm-lang/elm-compiler/blob/0.16.0/hints/type-annotations.md>

Detected errors in 1 module.

Please note that problem is that I actually did not wrote Transaction (Action a c) (Model b) which I intended to, bur wrote Transaction action model instead. The problem is though that compiler told me that type annotation said b and I am inferring b instead of saying type annotation is saying a and I'm inferring b.

I'm pretty sure there's an issue about this open at this repository already. Please check, then close this one here.

#1192

Closing, as it's duplicate of #1192. Thanks @mgold for posting a link.


🐞: fix mobile nav

subsuming #37

[x] look into stimulus
[x] railsdevs implementation

used in #106


Unclear subclass of study

Description of the issue
Unfortunately, I cannot find the reason why the subclass of study is the following:
'has funding source' some ('has role' some funder)
Ideas of solution
Probably, it was a copy and paste mistake by pasting the range of 'has funding source'.
I think, that 'has funding source' some funder should be correct.
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

The 'has role' some funder-construct is necessary, because has funding source has the domain has role some funder. This domain comes from #850 and the reasoning was that the funding source is some kind of independent continuant, i.e. a organisation or person that does something special (giving money). So it is anything that has role some funder.

I think it is worth to add an editors note or something similar explaining this.

I think it is worth to add an editors note or something similar explaining this.

Should we add an editors note for the object property (and equivalent) or for the class which is using this construct (and equivalent)? Maybe both?

I thought of an editor note for the statement 'has funding source' some ('has role' some funder) in the class study. In my view there is no need for an editor note at the relation as the relation can used in other ways.

I think, that the same construct is also used for study report:
'has author' some ('has role' some author)
Should we add an equivalent editor note for study report?

Good idea. Any suggestion for a good formulation of such editor notes?

Maybe we can use this comment and equivalent to 'has role some author?
Btw, 'has role' some funder is implemented as a range.

The 'has role' some funder-construct is necessary, because has funding source has the domain range has role some funder. This domain range comes from #850 and the reasoning was that the funding source is some kind of independent continuant, i.e. a organisation or person, that does something special (giving money). So it is anything that has role some funder.

I am okay with this. @KaiSchnepf, could you please implement this editor note for study?


Lock contention and CPU spikes related to PurgeScheduleHistory SP when there are big amount of items

Description of bug
PurgeScheduleHistory SP is executed twice per hour. In the current implementation, it tries to delete at most 5000 outdated schedule history items. Thus if schedule history items are created with a rate higher than 10 000 per hour they start to accumulate and PurgeScheduleHistory SP becomes slower and slower. E.g. on target DB there are 205K outdated schedule history items (of 270K in total).
Steps to reproduce
N/A
Current behavior
SP is executed in near 85 seconds, causing big lock contention and CPU spikes.
Expected behavior
SP deletes all unneeded items, as quickly as possible with minimum lock contention.
Screenshots
N/A
Error information
N/A
Additional context
N/A
Affected version

[ ] 10.00.00 alpha build (in development)
[x] 09.06.01 latest supported release

Affected browser
N/A

Usually, schedulehistory table will only grow, if settings are modified with large numbers to keep.

With a number of modules/features adding more and more jobs with higher frequencies, such as every minute etc this is becoming more of a problem again.
I think it might be worth looking at the default schedule time.
(@eugene-sea for now though you could adjust the frequency after a manual execution)

@mitchelsellers
ok, my suggestions would be 4 improvements:

use an improved sproc
increase default frequency from once per day to every hour (retry after 30 mins)
add a "PurgeHistory_BatchSize" record in HostSettings table with default 5000 - allowing admins to increase if necessary. (This will provide flexibility for slower or faster servers)
provide guidance in DnnDocs admin section

@mitchelsellers, @sleupold In my case, SP is executed twice per hour and this is not enough. The SP itself is highly inefficient — this is the second problem. It cannot be run 10 times per hour as even with the current frequency it creates performance problems for the whole SQL Server.
@sleupold your plan is good for me. Thank you.


does minigo relate with deepmind muzero paper

as you said it is based off mugo.

No. Neither Minigo nor MuGo is are related to Deepmind's MuZero paper. The similar names are just a coincidence.


Fix "Usage" command syntax: "nested_scaffold", not "scaffold"

You have a typo in your Readme that caused me some confusion :)
Running "generate scaffold post/comment" would call the standard scaffold feature, creating a comment model within a post module.

Oops. Thanks you!


Updated MessageThreads to remove usernames being displayed on top of messages in Storybook - UI Component - Message Thread

What
Updated MessageThreads to remove usernames being displayed on top of messages in Storybook - UI Component - Message Thread
Why
Usernames were being displayed on top of messages causing persona icons to be displayed on top rather than on the left side of the message. This was also causing duplicate username to be populated, one at top and one in the message itself.
https://skype.visualstudio.com/SPOOL/_workitems/edit/2667113/
How Tested
Testing on local storybook and compared results with chat samples.
Process & policy checklist

[x] I have updated the project documentation to reflect my changes if necessary.
[x] I have read the CONTRIBUTING documentation.

Check out the new test screenshots.
The avatars are missing user initials completely
packages/react-composites/tests/browser/chat/ChatComposite.test.ts-snapshots/received-messages-Desktop-Chrome-linux.png

Check out the new test screenshots. The avatars are missing user initials completely packages/react-composites/tests/browser/chat/ChatComposite.test.ts-snapshots/received-messages-Desktop-Chrome-linux.png

Huh. Why though? I'm stumped. ChatComposite overrides the default personal anyway...

Looks like initials/default avatars are not working according to the new snapshot


SetOutputIdentity = true workings ?

I have a table with only 1 int Id (identity). I do this:
List<Entities> items = await GetMyEntitiesAsync();
bulkConfig = new BulkConfig { SetOutputIdentity = true, PropertiesToExclude = null };

// items have e.g. 3071 to 3080
await localcontext.BulkDeleteAsync(items);

// I check in debugger that items have 3071 to 3080
await localcontext.BulkInsertAsync(items, bulkConfig);

but items inserted are 3081 to 3090 ??
When instead of that last line i do the following it works correct ?
await localcontext.Database.GetDbConnection().ExecuteAsync("SET IDENTITY_INSERT [dbo].[MYTABLE] ON");
await localcontext.AddRangeAsync(items);
await localcontext.SaveChangesAsync();
await localcontext.Database.GetDbConnection().ExecuteAsync("SET IDENTITY_INSERT [dbo].[MYTABLE] OFF");

When i set SetOutIdentity = false it runs through but does not change anything in the record. It does not do anything.

Try setting IDs to zero 0 calling BulkInsert.


Cant add song to engine

ok so In trying to add the song to kade engine and it isnt working can someone help

this might help https://gamebanana.com/tuts/13798


switch to Gurobi Sphinx theme

@mattmilten I made a few tweaks.
There are two things that annoy me in particular with the current theme:

The Gurobi Optimization logo linking to the top page of the documentation of Gurobi ML. I think that it is confusing. I would expect a Gurobi logo to link to gurobi.com. I also don't like that there is no link to gurobi.com in every page of the documentation.
I think that the name of the package or title of the documentation should appear in every page.

I could tweak the sidebar to fix these two now (normally you can see the result there https://gurobi-machinelearning.readthedocs.io/en/use-gurobi-theme/).
Overall, I am not sure it is really more ergonomic than the current theme but fine.
Maybe you should consider the tweaks for the theme itself.

There are two things that annoy me in particular with the current theme:

The Gurobi Optimization logo linking to the top page of the documentation of Gurobi ML. I think that it is confusing. I would expect a Gurobi logo to link to gurobi.com. I also don't like that there is no link to gurobi.com in every page of the documentation.
I think that the name of the package or title of the documentation should appear in every page.

I could tweak the sidebar to fix these two now (normally you can see the result there https://gurobi-machinelearning.readthedocs.io/en/use-gurobi-theme/). Overall, I am not sure it is really more ergonomic than the current theme but fine.
Maybe you should consider the tweaks for the theme itself.

Yes, these things really are not ideal and should be fixed in the theme instead.

OK thanks for create the items.
In spite of these two small things I am starting to like it. So I'll merge this.


[UI] highlight CVEs and link them

the CVE-2023-32682  should look like "CVE-2023-32682" and link to https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-32682 ... similar to what we do with issue-indexes
-> we should have to add it to the markdown renderer

We should be linking to CVE.org instead of CVE.mitre.org

I guess this could be done as config and be general useful that way. Assuming ini can do this:
[markup.linkify-map]
CVE-[0-9-]+: https://www.cve.org/CVERecord?id=$1
JIRA-[0-9]+: https://jira.company.com/$1

Actual regex should include \b before and after to reduce false positives. It should also not replace inside code blocks.


Version compatibility

The composer dependencies should reflect the compatible Shopware version. Currently it's only in the plugin.xml which is useless if you require the profiler via composer.
Please add a proper version constraint on shopware/shopware

How should then the composer install and package for store work?

I would define shopware/shopware: "5.5.*" as dev-dependency. This way if you do a composer req frosh/shopware-profiler it could determine the compatible version. If you pack the plugin for the store you should execute install --no-dev -nao and therefore Shopware will not be included.

But what's the benefit then when that is a dev-require?

Ah, that only works if the plugin is itself a dev requirement. I though the requirements were taken from the install context, not the context of the inclusion.
Then it must be a require and in the build process you can do composer remove showpare/shopware to undo the inclusion before packing.

Has been already solved by installing it using packages.friendsofshopware.com


Update Rocket.Chat version

Is this a new chart: No
What this PR does / why we need it
It updates Rocket.Chat version from 2.1.1 to 2.3.1 (latest)
Which issue this PR fixes
It updates Rocket.Chat version from 2.1.1 to 2.3.1 (latest)
Special notes for your reviewer:
Checklist

[x] Chart Version bumped

Please adjust the Readme file accordingly (default image tag), and update version in Chart.yml as well (2.0.1 instead of 2.0.0)

Done @verwilst

@kevinfaguiar please sign-off your commits

Done @davidkarlsen

/ok-to-test

/retest

2.4.9 is already in the tree, so this is obsolete by now :-)

Obsoleted


Can't access twitter maven repository, need packaged jar

hi, puneet
when i installed sbt and scala, then run ./stb assembly, it will return so much exception.
[error] Server access Error: Connection reset url=https://repo1.maven.org/maven2/com/twitter/finagle-thrift_2.11/6.28.0/finagle-thrift_2.11-6.28.0.pom
[error] Server access Error: Operation timed out url=https://maven.twttr.com/com/twitter/finagle-thrift_2.11/6.28.0/finagle-thrift_2.11-6.28.0.pom

I am in China, the network is so bad.
My proxy can not access twitter maven repository.
So, Could you mail a diffy-server.jar to me(jinkerrymail@gmail.com).
Thank you so much.

Hi @jinkerry. If you know how to use docker you can docker pull camiloribeiro/twitter-diffy.
It is a image that runs twitter-diffy in the current version. If you want to checkout the example you can find it here: https://github.com/camiloribeiro/dockdiffy (it is in process to be merged in this repo).
To run it with your service without docker compose you can run:
docker run -it camiloribeiro/twitter-diffy java -jar ./target/scala-2.11/diffy-server.jar -candidate='CANDIDATE_HOST_AND_PORT' -master.primary='PRYMARY_HOST_AND_PORT' -master.secondary='SECONDARY_HOST_AND_PORT' -service.protocol='http' -serviceName='Happy Service' -proxy.port=:31900 -admin.port=:8881 -http.port=:8888 -rootUrl='localhost:8888'
If you want, you can also ssh into the docker container and get the jar fine :)
If it fix your problem please close the issue. Thanks.

hi, @camiloribeiro
I have run the docker container success, thank you very much.
ps: Because of The National Day of China, so reply late about 7 days, so so sorry.

@jinkerry You're welcome! Enjoy and have a nice weekend.


Buttons size

No width?

They're standard buttons.

Apple requires buttons to be of the same width.


A few readability and performance improvements

prefer is_empty() to len() > 0 and len() != 0
collect into Vectors or extend() instead of pushing in a loop where possible
a few minor readability tweaks

I only now noticed that #12 also introduces a collect for map; I'll update my commit to remove it shortly.

These look good, thank you. The side-effecting filter weirds me out a bit, but that could just be something I need to get over. :)
I'm hesitant to unilaterally merge myself (I'm not the one using the repo), but if we don't hear from @lqd soon we can. Looks good to me, though!

@frankmcsherry oh don't worry about me ! You built the thing and your approval is the one which matters :)
Maybe before/after numbers, for example the Polonius use case (on the clap-rs benchmark) could be helpful in cases like this one, at least until we have more datafrog benchmarks ?


range-based for loops

This is a minor thing, but it's been bugging me for a little while. One of the differences with std::unordered_map is that value_type is const std::pair<Key,T> instead of std::pair<const Key,T>. Iterators allow us to work around this with the value() method, which gives us a mutable reference to the mapped type.
This works fine with traditional for loops and iterators.
for (auto it = map.begin(); it != map.end(); ++it) {
    auto &second = it.value();
    ...
}

However, range-based for loops don't work as nicely, and AFAIK the only way to get a mutable reference to the mapped type in that case is to const_cast it:
for (auto &value : map) {
    auto &second = const_cast<T&>(value.second);
    ...
}

I'm sure there's a reason why value_type has to be const (sorry if I missed it), but it's a bit unfortunate that we can't use range-based for loops as straightfordwardly as with std::unordered_map. Apart from that, great library! :+1:

The hash map stores std::pair<Key, T> instead of std::pair<const Key, T> so that the move-constructor can be called on the pair when the pair is moved inside the bucket array (not a problem with std::unordered_map as they move a pointer to a node and not the pair itself).
Regarding the iterator, it can't just return a mutable reference to std::pair<Key, T> because the client may then changes the key and render the map inconsistent. That's why the iterator returns const std::pair<Key, T>& and why you have to use value().
I don't know if there is a better way to do it without invoking undefined behavior. I have to store std::pair<Key, T> but if can't then return a std::pair<const Key, T>&  as it isn't a well-defined behavior. I could just return a mutable reference std::pair<Key, T>& instead of a const reference and trust the user to not modify the Key but I find it too dangerous.

Thanks for the explanation. Yes, returning a mutable key doesn't sound like a good idea... My naive approach would be to store the data as std::aligned_storage and reinterpret_cast it to the appropriate type (std::pair<Key,T> internally, std::pair<const Key, T> otherwise), but since you seem to be using std::aligned_storage internally, I guess that's an option that you considered and discarded. Would this be undefined behavior? I can't think of a reasonable compiler doing anything but the right thing in this case, since the only thing that changes is the constness of the key.

From what I understand it would be an undefined behavior, see this Stack Overflow post. It would probably work on most compilers but I'd like to avoid any undefined behavior in the code.
I have to check a bit how other open-adressing implementations manage this problem.

That's interesting... Then the only thing I can think of is to represent the value as std::pair<const Key, T> and to const_cast the key when it's moved, but I don't know if it's a workable solution and it would involve moving the key and the mapped type separately.

That would be undefined behaviour, if you're storing a const Key you can't cast away the const like that to create a Key&. When using const_cast the object of the reference/pointer must originally be stored in a non-const way.

I'll close the issue as I think the current solution is the safest, but if someone come with a better way, feel free to comment.


Feature/usability

Fixes #61. Fixes #158.

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

v1.17.0
GitHub release

Your semantic-release bot :package::rocket:


Zero config + Breaks

Trying to figure out how to use zero config with breaks. Also not quite sure why code isn't disabled by default:
var md = require("markdown-it")('zero', { breaks: true });

md.set({
  breaks: true
});

md.disable(['code']);

let text = `
  Line 1
  Line 2
`;

console.log( md.render(text) );
/**
Line 1
  Line 2

*/

Trying to figure out how to use zero config with breaks.

You need to enable newline rule, as it is the rule that generates tokens to be turned into breaks:
var md = require("markdown-it")('zero', { breaks: true });
md.enable(['newline']);
let text = `
Line 1
Line 2
`;

Also not quite sure why code isn't disabled by default:

Code is disabled by default, which you can check by turning it on and off in the following snippet:
var md = require("markdown-it")('zero', { breaks: true });
md.enable(['code']);
let text = `
    Line 1
    Line 2
`;


Correct CDN UUID in scheduler

Signed-off-by: santong<EMAIL_ADDRESS>
Description
Due to the incorrect identification of the CDN by Schuler, the same CDN corresponds to multiple hosts in the scheduler

Related Issue
fix #354

Motivation and Context

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[x] Code compiles correctly.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #355 (4a3aada) into main (650cc9c) will decrease coverage by 0.14%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #355      +/-   ##
==========================================
- Coverage   39.91%   39.77%   -0.15%
==========================================
  Files          61       61
  Lines        4975     4975
==========================================
- Hits         1986     1979       -7
- Misses       2734     2741       +7
  Partials      255      255

Flag
Coverage Δ

unittests
39.77% <0.00%> (-0.15%)
:arrow_down:

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

Impacted Files
Coverage Δ

scheduler/manager/cdn_manager.go
4.39% <0.00%> (ø)

pkg/util/net/iputils/ip_utils.go
61.22% <0.00%> (-4.09%)
:arrow_down:

client/daemon/peer/peertask_stream.go
57.35% <0.00%> (-0.76%)
:arrow_down:

client/daemon/peer/peertask_base.go
32.76% <0.00%> (-0.73%)
:arrow_down:


fix: implement clear_onstatechange and fix some event types

Some small fixes on issues I encountered while trying to review the EventTarget implementation

(looks like there is some kind of new clippy stuff...)


[server] Allow editing a given drawing

Do you need this design to be on the website?

Yes on the main page. If you have any questions let me know. The basic idea is to allow the user to edit a stroke that was written in the past. The main js script is paper.js.

Okay, I will try to do it in an efficient way.

Zaid, I just wonder why you need to make a drag option to the letter.
I think clear and updated is enough because it's already in the correct sequence.


Blind attempt to build for windows

in attempt to address #5
@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

oh
conda.exceptions.UnsatisfiableError: The following specifications were found to be in conflict:
  - libflang[version='>=5.0.0'] -> vc==14
  - vc=9
Use "conda info <package>" to see the dependencies for each package.

do not even know what it is really about besides may be some different versions of the compiler used to build libflang and here?

i'd probably add a skip for that old vc version

Is there even any fortran in this package?

ok, let's try ;-) thanks

actually probably
@conda-forge-admin, please rerender

Would be better to drop the unnecessary dependency on a fortran compiler, if that's the cause of the incompatibility. You'll also need to do something about the build system - either use msys2 to get configure and make, or try manually calling the compiler, or look around to see if anyone has a cmake harness for this library floating around.

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

I reduced the compiler section to just 'c' in case you want to try building the windows package again.


Base python:slim on debian:stretch-slim

Hi,

strech is the current stable release and (IMHO) should be used as default.
python:slim is based on a non slim debian image, which is kind of misleading given the name python:slim

Related: #104

since we don't have an simple way to let users know when the default for python:3.6 will be stretch rather than jessie we have not made a decision when to switch over since that is a large breaking change for many

since https://github.com/docker-library/python/pull/215 we do label the images so that users can choose jessie or stretch for python 2.7 and 3.6 (ex python:2.7-stretch and python:3.6-stretch), though we do not yet have a slim variant for the stretch variety
stretch is the default in python 3.7 and above (currently in alpha stages)
I think adding a python:3.6-slim-stretch would be useful (along with explicit -jessie and -wheezy on the rest of the -slim images), but until we have a defined policy regarding Distro updates we cannot change default distribution in minor releases. (similar work to https://github.com/docker-library/php/issues/504)

the slim in python images is about the size of the image and does not necessarily indicate being from a Debian slim (the python slim came first, there was no Debian slim)

This image does not contain the common packages contained in the default tag and only contains the minimal packages needed to run python. Unless you are working in an environment where only the python image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
- https://github.com/docker-library/docs/tree/212ed60a19b8b5454308b504fdcdf5d317f42b6f/python#pythonslim

if this will not break users, I am not opposed to moving the slim python images to be from the slim Debian images


Fix debug message for ProcessChange in pubsub

Now I can see only byte slice inside Value in log. Let`s print the content in string representation.
Signed-off-by: Petr Fedchenkov<EMAIL_ADDRESS>

Is this still relevant @giggsoff @eriknordmark ? Can we close this now?

Since I haven't heard back from you guys -- I'm closing it. @giggsoff  feel free to submit a new PR if you disagree and thee's still work to be done.


Character Count 'count message' cannot be customised or translated

The Character Count contains hardcoded English strings in both the template:
https://github.com/alphagov/govuk-frontend/blob/12f0d6cbe1a5650b8bd61d5ade9e502684f2a167/src/govuk/components/character-count/template.njk#L29
… and the JavaScript:
https://github.com/alphagov/govuk-frontend/blob/12f0d6cbe1a5650b8bd61d5ade9e502684f2a167/src/govuk/components/character-count/character-count.js#L147-L159
This means this text cannot be customised or translated (for example into Welsh) without forking the JavaScript for the component.

Have there been any developments on this issue recently? We need to be able to supply a version of this component with the message translated to Welsh and this is not currently possible.

The HMRC approach is to have language as a parameter which can be set to en or cy (for example https://design.tax.service.gov.uk/hmrc-design-patterns/open-links-in-a-new-window-or-tab/)
Being able to set the text directly would be another solution but it de-centralises the default text in Welsh.
If you need Welsh content provided I'm sure HMRC can help.

If we raise a PR to allow this content to be set would that be appropriate?  That feels consistent with the other components.

@natcarey We're going to need to consider internalisation as part of a wider piece of work to ensure the approach will work for all Javascript components including more complex ones in the future. This is related to https://github.com/alphagov/govuk-frontend/issues/1708 and https://github.com/alphagov/govuk-frontend/issues/1722.
So for now we won't be able to accept a contribution on this but thanks so much for offering to work on it, it's much appreciated 🙌 If you wanted to leave any thoughts on either of the above linked issues please feel free to do so.

Thanks, I'll take a look at those other issues.

Application Platform Services also have the need for this to be translatable for applications such as the SA-Filing years where a Welsh equivalent of the app is a requirement.

The solution will need to be able to accurately count characters and not bytes.
The GDS Notify team recently updated their internal character counting to more accurately reflect the number of non English characters, so might be worth chatting with @quis ?

Another +1 for this. Can we get this fixed without having to wait for an entire internationalisation design review? Even just exposing a js variable with a stringformat for the message would be an improvement - then at least our apps can override the text without having to fork the entire project. It would be hacky, yes, but still better than the current situation.

Even just exposing a js variable with a stringformat for the message would be an improvement - then at least our apps can override the text without having to fork the entire project.

We do not currently have a way to pass configuration variables into a component, other than through data attributes.
Can you expand on what you mean by a stringformat? Do you have an example of what that might look like?

Actually data attributes should be fine.
If we can pass a template in as an attribute, and the js can evaluate that instead of building its own hard-coded string, then we're good.
E.g. we could pass "you have {{max}} characters remaining" as an attribute, and the js knows to pass a max arg to the template. Or even just do it with template string literals if you don't have the nunjucks engine in scope.

Hello, any progress on this issue? If not, do you recommend copying the CharacterCount code into application codebase and make the the required changes?

@girishkamat We’re currently preparing for this work but cannot unfortunately give a timeline.
For now, we suggest that you copy the Javascript for this component into your service’s codebase and make the adjustments required for the service you’re working on.
Thanks for your patience.


loading umap with joblib error ("RuntimeError: incompatible bytecode version")

I am saving a UMAP object into a joblib file on an Ubuntu box and then loading the Umap object on my mbp. I get this error:
xxx@xxx-MBP jobs % python3
Python 3.7.3 (default, May 29 2019, 13:53:17)
[Clang 10.0.1 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import joblib
>>> umap = joblib.load("clf_umap-1000.job")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/joblib/numpy_pickle.py", line 605, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "/usr/local/lib/python3.7/site-packages/joblib/numpy_pickle.py", line 529, in _unpickle
    obj = unpickler.load()
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/pickle.py", line 1085, in load
    dispatch[key[0]](self)
  File "/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/pickle.py", line 1433, in load_reduce
    stack[-1] = func(*args)
  File "/usr/local/lib/python3.7/site-packages/numba/serialize.py", line 31, in _rebuild_reduction
    return cls._rebuild(*args)
  File "/usr/local/lib/python3.7/site-packages/numba/dispatcher.py", line 715, in _rebuild
    py_func = serialize._rebuild_function(*func_reduced)
  File "/usr/local/lib/python3.7/site-packages/numba/serialize.py", line 99, in _rebuild_function
    code = _rebuild_code(*code_reduced)
  File "/usr/local/lib/python3.7/site-packages/numba/serialize.py", line 118, in _rebuild_code
    raise RuntimeError("incompatible bytecode version")
RuntimeError: incompatible bytecode version

I can run the same Umap object fine on the Ubuntu box. I have verified the joblib, numba and umap libraries are both the same version on both. what could I be doing wrong? I suspect this is some dependency incompatibility.

I have the same issue!


SIP & Provisional Response 181

Hi,
We are making big steps forward using DrachtIO (great work!), and creating a TypeScript D.TS File for your libary.
During our Test's we have seen some behaviour with our SIP Carrier (which is not a Bug with DrachtIO, but more a general question of SIP):

There is a Provisional Response 181 (Call Is Being Forwarded) defined on the SIP Protocol, but we havent seen this code in any of our calls (forwarded to mailbox, forwarded to other phone, etc.)
Is this Response not used, or does our carrier suppress this information?

If we dial a wrong number, the callflow looks like this
-> INVITE
<- TRYING
<- OK
<- AUDIO RTP Stream (20seconds, - Wrong number)
<- 404 Not Found
Is there a way to get the Information "404 - Number not found" without listening to the AudioStream for 20 Sec. before the final result arrives?

thx for your help and inspiration
Andreas

Hi there.  So glad you are having success with it, and I will appreciate any feedback / suggestions on how to make it better.
The 181 response is one that I don't think I have ever seen a carrier send back -- some may, but you definitely should not expect to see that from most carriers, it would be rare.
As far as the 404 Not Found, your message sequence above indicates the carrier answered the call (by sending 200 OK), but this must not be true if they later sent a 404 (only one final response is allowed).  So perhaps they established an early media session by sending a 183, played some audio ("this number is not valid" or something) and then sent a 404.  Is that what happened?
If that is the case, I agree that is not ideal at all.  I would open a ticket with the carrier on that, indicating you simply want to get the 404 response with no early media and see what they have to say about that.  And if they can't I would look for a new carrier, if that is an option for you.

played some audio ("this number is not valid" or something) and then sent a 404. Is that what happened?

Yup, thats exactly what happened.
we already asked the carrier about this behavior

Early Media is required. An INVITE is not allowed without EARLY MEDIA (reason: for a live speaker the technical 404 is not enough, so there will always be a MediaStream to support REAL HUMANS to understand 404)
There is currently no technical way to overcome this "problem" (like sending an additional INFO Message).
I understand, this is not a "real problem", cause it increases only the timespan before the SIPClient receives a 404. As far as i known with old PSTN (ISDN in germany) this behaviour was different. The Result (404) was send directly to the client and the audio was disconnected later.

probably this is the only solution :(...
Thx for your time

Oh, there is another technical info from our carrier. The "early media required" is needed, cause the FreeSwitch would need more different (more complex) configurations especially in combination with there GATEWAYS to Mobile and ISDN/PSTN on the other side...


[doc]: Add create workspace doc

What does this PR try to resolve?
The second part of #13580.
There was a discussion in the previous issue and it looks like there are preliminary results?
Reference:
https://github.com/rust-lang/cargo/issues/13580#issuecomment-2026364311
https://github.com/rust-lang/cargo/issues/13580#issuecomment-2052044699

Is there anything else that needs to be changed on this, please?


expect().be_true is rspec2 syntax; rspec command does not work

Even with the fresh clone, rake spec fails in together_sample_spec.rb.
OSX 10.10.1, Ruby 2.0.0p481

I found https://github.com/rspec/rspec-expectations/issues/560 .
It means modification of expect(first_ret).to be_true to expect(first_ret).to be true is correct.
How do you think?

Now I rechecked the Gemfile and it turned out that I need to bundle exec rspec instead. Now you can close this issue if you wish. I'm very sorry.

Of course if you are going to upgrade to rspec3, it should be better...

Ok.Thanks.


⚠ AGEG website (prod) has degraded performance

In c962aab, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 4105 ms

Resolved: AGEG website (prod) performance has improved in 7a8b913.


Fieldcollection Error

Hi, i have an error when i try to translate a field in a fieldcollection, have i missed something?

Could you provide an error message?

{"success":false,"message":"Call to undefined method getKeypoint in class Pimcore\Model\DataObject\Product"}
Seems like searching the field in the object instead in fieldcollection.

I investigated in the code. The problem is in the way the translate button is setted in the frontend and in the way the controller works. The button is setted thinking only about normal fields, not fieldcollections. The controller receive the fieldName and only calls the get method, but for fieldcollections obviously it can't work.
Any suggestion or news about it?


code fix is required

var re = regexp.MustCompile(`[0-9a-f]{40}|ghp_[a-zA-Z0-9]{36}`)

Working on it.

Fixed, thank you.