include context traits when looking up for a compatible context

Fixes #649

This applies to platform and external contexts only, it may be restricted to platform created ones if needed but in any case I think automatic selection should go through the safer path and if needed user can explicit set the context to use.


fix(react-dropdown): zIndex for focused dropdown item

Closes #517
📝 Description
Added zIndex for focused state to make an item focused with keyboard be always above hover state.
⛳ Current behavior (updates)

🚀 New behavior

💣 Is this a breaking change (Yes/No)
No

Hey @shtelzerartem thanks a lot, could you please change the value of the zIndex by : $1?, in order to use the NextUI Design system z-index values https://nextui.org/docs/theme/default-theme#z-index-values, could you also fix the conflicts?

Hey @jrgarciadev fixed it in the latest commits!


[MySQL] az mysql flexible-server create/update/restore: Add database-port and maintenance-policy-patch-strategy params

Related command

az mysql flexible-server create/update: add --maintenance-policy-patch-strategy
az mysql flexible-server create/restore: add --database-port
az mysql flexible-server replica create: add --database-port
Description

Add new param database-port to support customize database port for MySQL vnet server.
Add new param maintenance-policy-patch-strategy to support customize patch strategy and accepted values are Regular and VirtualCanary.
History Notes

[Mysql] az mysql flexible-server create/update: Add --maintenance-policy-patch-strategy
[Mysql] az mysql flexible-server create/restore: Add --database-port
[Mysql] az mysql flexible-server replica create: Add --database-port

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Thank you for your contribution! We will review the pull request and get back to you soon.

Please fix CI issues

/azp run


Added email confirmation page

Motivation and context

Fixes #2135
The issue
After email verification done by a user there is no email confirmation message displayed only redirection to the login page.
The  solution
Added a page (EmailConfirmationMessagecomponent) which will show email confirmation message and then redirect to the login page.
Edited ACCOUNT_EMAIL_CONFIRMATION_ANONYMOUS_REDIRECT_URL in the cvat/setting/base.py
from '/auth/login' to '/auth/email-confirmation'  so that the user will be first redirected to the email-confirmation page (on successful email verification) and then to the login page.
How has this been tested?

Tested locally by running the cvat app, the component is working fine, since it is running locally there is no email confirmation message sent to the user upon registration.
Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

@Spectre-ak thanks for the contribution!
Could you please fix linter warnings?

@azhavoro sure I'll fix these
But could you please guide me why is there linter warning, I added one js component only. The logs says
The files will be checked: cvat-ui/src/components/cvat-app.tsx cvat-ui/src/components/email-confirmation-page/email-confirmed.tsx  and then error occurred. But when I tested locally (using docker) it was working.
Thanks

@azhavoro sure I'll fix these
But could you please guide me why is there linter warning, I added one js component only. The logs says
The files will be checked: cvat-ui/src/components/cvat-app.tsx cvat-ui/src/components/email-confirmation-page/email-confirmed.tsx and then error occurred. But when I tested locally (using docker) it was working.
Thanks

Generally, these warnings are related to coding style, you can download the linter report as an artifact on the failed job page.
eslint_report (10).zip

@azhavoro sure I'll fix these
But could you please guide me why is there linter warning, I added one js component only. The logs says
The files will be checked: cvat-ui/src/components/cvat-app.tsx cvat-ui/src/components/email-confirmation-page/email-confirmed.tsx and then error occurred. But when I tested locally (using docker) it was working.
Thanks

Generally, these warnings are related to coding style, you can download the linter report as an artifact on the failed job page.
eslint_report (10).zip

okay, I'll look into these, is there a way to check for linter warnings locally?

@azhavoro sure I'll fix these
But could you please guide me why is there linter warning, I added one js component only. The logs says
The files will be checked: cvat-ui/src/components/cvat-app.tsx cvat-ui/src/components/email-confirmation-page/email-confirmed.tsx and then error occurred. But when I tested locally (using docker) it was working.
Thanks

Generally, these warnings are related to coding style, you can download the linter report as an artifact on the failed job page.
eslint_report (10).zip

okay, I'll look into these, is there a way to check for linter warnings locally?

Yes, if you are using VS Code you need to install ESLint plugin https://openvinotoolkit.github.io/cvat/docs/contributing/development-environment/

@azhavoro sure I'll fix these
But could you please guide me why is there linter warning, I added one js component only. The logs says
The files will be checked: cvat-ui/src/components/cvat-app.tsx cvat-ui/src/components/email-confirmation-page/email-confirmed.tsx and then error occurred. But when I tested locally (using docker) it was working.
Thanks

Generally, these warnings are related to coding style, you can download the linter report as an artifact on the failed job page.
eslint_report (10).zip

okay, I'll look into these, is there a way to check for linter warnings locally?

Yes, if you are using VS Code you need to install ESLint plugin https://openvinotoolkit.github.io/cvat/docs/contributing/development-environment/

okay @azhavoro , I'll fix these and let you know.

@azhavoro I've updated the email-confirmed page

@azhavoro linter warnings fixed and all checks passed.

I'm not sure that all works as expected:
git log -1
commit 4c32b7edfc0ee0ae261562bbd7638be61bc6a8fd (HEAD -> email_conf, pr/develop)
Author: Spectre-ak<EMAIL_ADDRESS>Date:   Mon Aug 30 14:45:46 2021 +0530

    updated email-confirmed page

Steps to reproduce:

Enabled email confirmation in the settings with debug smtp backend:ACCOUNT_AUTHENTICATION_METHOD = 'username'
ACCOUNT_CONFIRM_EMAIL_ON_GET = True
ACCOUNT_EMAIL_REQUIRED = True
ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
OLD_PASSWORD_FIELD_ENABLED = True
# Email backend settings for Django
EMAIL_BACKEND='django.core.mail.backends.console.EmailBackend'
# set UI url to redirect after a successful e-mail confirmation
#changed from '/auth/login' to '/auth/email-confirmation' for email confirmation message
ACCOUNT_EMAIL_CONFIRMATION_ANONYMOUS_REDIRECT_URL = '/auth/email-confirmation'

Register a new user at http://localhost:3000/auth/register with any email
Obtain confirmation url in the backed logs and make a request with curl: curl -L -v http://localhost:7000/api/v1/auth/account-confirm-email/Mg:1mKeQI:Kt6eARl_TlGU3ET8LN7LQSVgu09MtCWSYwfM49CRDQA
 *   Trying <IP_ADDRESS>:7000...
 * Connected to localhost (<IP_ADDRESS>) port 7000 (#0)
 > GET /api/v1/auth/account-confirm-email/Mg:1mKeQI:Kt6eARl_TlGU3ET8LN7LQSVgu09MtCWSYwfM49CRDQA HTTP/1.1
 > Host: localhost:7000
 > User-Agent: curl/7.78.0
 > Accept: */*
 >
 * Mark bundle as not supporting multiuse
 < HTTP/1.1 301 Moved Permanently
 < Date: Mon, 30 Aug 2021 10:22:19 GMT
 < Server: WSGIServer/0.2 CPython/3.8.11
 < Content-Type: text/html; charset=utf-8
 < Location: /api/v1/auth/account-confirm-email/Mg:1mKeQI:Kt6eARl_TlGU3ET8LN7LQSVgu09MtCWSYwfM49CRDQA/
 < Content-Length: 0
 < Vary: Origin
 < X-Content-Type-Options: nosniff
 < Referrer-Policy: same-origin
 <
 * Connection #0 to host localhost left intact
 * Issue another request to this URL: 'http://localhost:7000/api/v1/auth/account-confirm-email/Mg:1mKeQI:Kt6eARl_TlGU3ET8LN7LQSVgu09MtCWSYwfM49CRDQA/'
 * Found bundle for host localhost: 0x56033df9aae0 [serially]
 * Can not multiplex, even if we wanted to!
 * Re-using existing connection! (#0) with host localhost
 * Connected to localhost (<IP_ADDRESS>) port 7000 (#0)
 > GET /api/v1/auth/account-confirm-email/Mg:1mKeQI:Kt6eARl_TlGU3ET8LN7LQSVgu09MtCWSYwfM49CRDQA/ HTTP/1.1
 > Host: localhost:7000
 > User-Agent: curl/7.78.0
 > Accept: */*
 >
 * Mark bundle as not supporting multiuse
 < HTTP/1.1 302 Found
 < Date: Mon, 30 Aug 2021 10:22:19 GMT
 < Server: WSGIServer/0.2 CPython/3.8.11
 < Content-Type: text/html; charset=utf-8
 < Location: http://localhost:3000/auth/login
 < X-Frame-Options: DENY
 < Content-Length: 0
 < Vary: Origin, Cookie
 < X-Content-Type-Options: nosniff
 < Referrer-Policy: same-origin
 < Set-Cookie:  messages="[[\"__json_message\"\0540\05425\054\"You have confirmed b@b.com.\"]]:1mKeQl:amKiZrF6cErdCzlj50NlbqncwjuWpFNJAQwDzgV1dDk"; HttpOnly; Path=/; SameSite=Lax
 <
 * Connection #0 to host localhost left intact
 * Issue another request to this URL: 'http://localhost:3000/auth/login'
 *   Trying <IP_ADDRESS>:3000...
 * Connected to localhost (<IP_ADDRESS>) port 3000 (#1)
 > GET /auth/login HTTP/1.1
 > Host: localhost:3000
 > User-Agent: curl/7.78.0
 > Accept: */*
 >
 * Mark bundle as not supporting multiuse
 < HTTP/1.1 200 OK
 < X-Powered-By: Express
 < Accept-Ranges: bytes
 < Content-Type: text/html; charset=UTF-8
 < Content-Length: 1045
 < ETag: W/"415-mRIyclYZ+455ukgKV/Jzvrhfc10"
 < Date: Mon, 30 Aug 2021 10:22:19 GMT
 < Connection: keep-alive
 < Keep-Alive: timeout=5
 <

 <!DOCTYPE html>

         <meta charset="UTF-8" />
         <meta http-equiv="X-UA-Compatible" content="ie=edge" />
         <meta name="viewport" content="width=device-width, initial-scale=1.0" />
         <meta
             name="description"
             content="Computer Vision Annotation Tool (CVAT) is a free, open source, web-based image and video annotation tool which is used for labeling data for computer vision algorithms. CVAT supports the primary tasks of supervised machine learning: object detection, image classification, and image segmentation. CVAT allows users to annotate data for each of these cases"
         />
         <meta name="”robots”" content="index, follow" />
         <title>Computer Vision Annotation Tool</title>

 * Connection #1 to host localhost left intact

I don't see /auth/email-confirmation page is opened

@azhavoro  its working, I tested (on browser) just now,
Actually since it is a react app, so js is needed for running the application, that's why curl response is plain html and js is not getting executed.
So if you'll try it in browser (using docker) it'll work

@azhavoro its working, I tested (on browser) just now,
Actually since it is a react app, so js is needed for running the application, that's why curl response is plain html and js is not getting executed.
So if you'll try it in browser it'll work

In development environment it doesn't work in browser either, I don't see any notifications in case of email confirmation. Please make sure it works as expected in prod and dev modes. If this works for you, please provide the exact steps to check your PR.
Thanks.

@azhavoro
How to test:

Clone the repo if you don't have the code git clone https://github.com/Spectre-ak/cvat.git
Move to the cvat directory cd cvat
Run docker-compose up
Open localhost:8080
Click on create an account
Enter the required details
Click on submit
Check the logs from the docker on the terminal and look for logs similar to this To confirm this is correct, go to http://localhost:8080/api/v1/auth/account-confirm-email/NDM:1mKg7o:Y7eVEWnnNuHDFaishfASHiaAHDASDsvWs/ (confirmation email will be printed)
Take the confirmation url and paste it on the browser
Email confirmation page will open, which will redirect to login page

Attached a working sample
https://user-images.githubusercontent.com/62694340/131348753-db73a8d8-2652-4c3f-8c7c-7e1bff62c823.mp4
Thanks

@Spectre-ak
It works for CVAT deployed with docker-compose, but I asked you to provide instructions for the development environment, it still doesn't work for me.
@bsekachev what do you think about page design?

@bsekachev what do you think about page design?

Quite minimalistic
Better to wrap this message to antd basic styles (In Layout.Content container)

@Spectre-ak
It works for CVAT deployed with docker-compose, but I asked you to provide instructions for the development environment, it still doesn't work for me.
@bsekachev what do you think about page design?

@azhavoro,
I followed the steps mentioned in the Development environment guide
Started cvat-ui using these
npm ci && \
cd cvat-core && npm ci && \
cd ../cvat-ui && npm ci && npm start

@bsekachev what do you think about page design?

Quite minimalistic
Better to wrap this message to antd basic styles (In Layout.Content container)

okay @bsekachev I can improve the design

@azhavoro,
I followed the steps mentioned in the Development environment guide
Started cvat-ui using these
npm ci && \
cd cvat-core && npm ci && \
cd ../cvat-ui && npm ci && npm start

@Spectre-ak I cannot approve this PR until it doesn't work in development mode, please fix it.

@Spectre-ak I cannot approve this PR until it doesn't work in development mode, please fix it.

alright, I'll fix this

@azhavoro
After changing  ACCOUNT_EMAIL_CONFIRMATION_ANONYMOUS_REDIRECT_URL  from auth/login to auth/email-confirmation in cvat/settings/development.py ,
the email-confirmation page is now opening in the development environment also. I tested it by running cvat at port 7000 and cvat-ui at 3000 both in the development environment.
Can you please verify it?
Thanks

@bsekachev what do you think about page design?

Quite minimalistic
Better to wrap this message to antd basic styles (In Layout.Content container)

okay @bsekachev I can improve the design

@Spectre-ak Hi, any updates on this?

@Spectre-ak Hi, any updates on this?

Hi @azhavoro, yes I'm working on it
Can you please describe a little about what final design you're expecting for email-confirmation page?
I've made some changes so that the message will appear in the center of the screen

@azhavoro
I've changed the layout.

@bsekachev Hi, could you please review?

@azhavoro Sure

Hi @bsekachev ,
I've made the changes as suggested.

I've made the changes as suggested.

Almost brilliant ;)
Please, take a look at new comments.

I've made the changes as suggested.

Almost brilliant ;)
Please, take a look at new comments.

yes did and made the changes

Great, thanks for the contribution!

Great, thanks for the contribution!

Happy to be a contributor😊

@dvkruchinin Could you please prepare a test for the PR? Just open the page and be sure that it redirects to login page after several seconds.

@dvkruchinin Could you please prepare a test for the PR? Just open the page and be sure that it redirects to login page after several seconds.

Sure. A test will be prepared.


A dekstop line after the taskbar...

You can click on the taskbar and right-click as you can on the desktop. This does not happen when I use the default taskbar
Picture of the issue:
https://user-images.githubusercontent.com/86916114/124385056-d470a500-dcdc-11eb-89f2-7c05e2d46571.png
Operating System:
Windows 10
Version:
21H1
Hope you can help me, thanks.

This issue seems to be fixed in the <IP_ADDRESS> version. Here's the link.

Please release this version 💪

Fixed.


Naming issues re: go src/repo name

I'm not so sure if this is a big deal or not, but many of the checks refer to the path of the library as ncr-devops-platform/nagiosfoundation, when performing a go get or git clone yields a path of /nagios-foundation. This leads to VS code griping quite a bit. Simply doing a mv solves the issue, but being able to download the repo w/out the the potential for VS code (or any other editor, for that matter) to gripe would be 👍

Agreed here. This repo should be renamed to remove the -. This has caused me headaches a few times. However, this should be done with a plan in mind. Most importantly, a repo rename will break the Travis build and less importantly, our build documentation. It should be done one morning when I have the day to clean up after this change.
The BUILDING documentation has a blurb about using a target directory for the git checkout command because of this:
git clone https://github.com/ncr-devops-platform/nagios-foundation.git nagiosfoundation

The Travis build also had to account for this in the install section:
- mv /home/travis/gopath/src/github.com/ncr-devops-platform/nagios-foundation /home/travis/gopath/src/github.com/ncr-devops-platform/nagiosfoundation

Repository has been renamed. Closing.


[FLINK-9750] Add new StreamingFileSink with ResumableWriter.

What is the purpose of the change
This PR is the first step towards introducing a new Streaming Filesystem sink that works on top of Flink's filesystem abstraction and provides support for both row and block-based formats (like ORC/Parquet).
The current version only supports the LocalFileSystem.
Brief change log
The first commit introduces the new ResumableWriter abstraction and an implementation for the LocalFileSystem, while the second introduces the new StreamingFileSink.
Verifying this change
This changes add tests in the LocalStreamingFileSinkTest and  the BucketStateSerializerTest.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? not documented yet

NOTE TO REVIEWER: Still logging is missing.

hi @kl0u , where can I find overall document/design of the bucketing sink rework (FLINK-9749)? I am a committer of Apache Orc and are interested in helping Flink-Orc integration.

Hi @xndai ! I will update an outdated design doc and will attach it to the JIRA! I will ping you here to have a look.

Hi @aljoscha and @StephanEwen . I have updated the PR, please have a look.

@xndai  The umbrella issue is FLINK-9749 and some parts on the specifics of block formats (ORC / Parquet) are in FLINK-9753


Some types of fields are required.

Is your feature request related to a problem? Please describe.
When I generate model, I noticed that some types (Number and URL for ex.) are not optional.
Describe the solution you'd like
It would be optional, same as CharField. Or is there a reason for this to be non-optional?
Describe alternatives you've considered
None.
Additional context
N/A

for now we are more interested in fixing real issues

How is this not a real issue? Why are some attributes optional and some not?


HRD policy defined through Powershell is incorrect

The HRD policy defined through Powershell is missing the important HomeRealmDiscoveryPolicy JSON portion, which is not recognized and loaded by AAD backend runtime. The Graph part has the correct format of the HRD policy, however. We have the internal product feedback work item here: https://identitydivision.visualstudio.com/Engineering/_workitems/edit/2194824/

@nickludwig,
Can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Please Can I Join This Organisation? 🥺🙏"

Name:
Info About the Pull Request You Made:

You can put the number of your pull request, but putting # with the number your pull request is at.

@FidalMathew Would you like to join the org? If so I have sent an invite for you. Thank you.

@FidalMathew
Our Website 🌐 | Repositories 📚 | LinkFree Profile 🔗
You have received an email to join, or press this link - https://github.com/App-Choreography - , and you'll see a banner, for you to join the organisation! 🎉
You can also show that you are part of this org, by making yourself public. This will show our profile org on your profile:
Follow This:

After you join the organisation, search your name in the list of people. 🔍
Follow this below: ⬇

When you join our org, you will be automatically be part of our community team, where you will get updates, and news about our org!
We are so happy you have joined! Welcome to App Choreography! 🥳


deno: 1.8.1 -> 1.8.2

Motivation for this change
Bump deno to 1.8.2
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 117153 run on x86_64-linux 1

1 package built:

deno


[BE] Add Remix dataset's cellxgene link in API response

What:
We want DP website to provide a Remix dataset's corresponding cellxgene link. E.g., cellxgene.cziscience.com/e/{file_name}.cxg
How:

We need /project/{id} to include the Remix dataset cellxgene link
Update corpora-api.yml accordingly

@Bento007 currently dataasset's schema looks like:
dataset_asset:
      type: object
      properties:
        id:
          type: string
        format:
          type: string
          enum: [H5AD, RDS, LOOM, CXG]
        file_name:
          type: string
        type:
          type: string
          enum: [REMIX, ORIGINAL]
        s3_uri:
          type: string

Do we just add the following as sibling to s3_url?:
cellxgene_link:
  type: string

Thank you!

The population of the API response work is already complete actually (see line 149 in backend/corpora/common/entities/project.py). This will be surface in the API via the dataset_deployments field in the dataset schema and the prod environment link is the one that should be chosen for display.
Since this ticket did not require any work, reverting the estimate and closing.

Thanks so much for the details, @maniarathi !
Another quick question, what's the best way to tell which dataset is original and which is remix?
dataset:
      type: object
      properties:
        id:
          $ref: "#/components/schemas/dataset_uuid"
        assay:
          type: string
        assay_ontology:
          type: string
        tissue:
          type: string
        tissue_ontology:
          type: string
        disease_state:
          type: string
        disease_state_ontology:
          type: string
        sex:
          type: string
        ethnicity:
          type: string
        ethnicity_ontology:
          type: string
        organism:
          type: string
        organism_ontology:
          type: string
        development_stage:
          type: string
        development_stage_ontology:
          type: string
        title:
          type: string
        source_data_location:
          type: string
        revision:
          type: integer
        dataset_deployments:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              environment:
                type: string
              link:
                type: string
        dataset_assets:
          type: array
          items:
            $ref: "#/components/schemas/dataset_asset"
        contributors:
          type: array
          items:
            $ref: "#/components/schemas/contributor"
        preprint_doi:
          $ref: "#/components/schemas/doi"
        publication_doi:
          $ref: "#/components/schemas/doi"

CC: @Bento007
Thank you!


Failing to Implement Custom Skillset [Calls Azure Function]

Using the "Azure AI Search Integrated Vectorization Sample," I am attempting to create an indexer to execute a predefined skillset involving SplitSkill and AzureOpenAIEmbeddingSkill. However, I need to implement a custom skillset involving WebApiSkill that calls an Azure Function.
I'm encountering an issue when trying to import the SearchIndexerSkill from the azure.search.documents.indexes.models module. The specific error is not mentioned in the provided details.
I am using the library azure_search_documents-11.4.0b12-py3-none-any.whl as specified in the sample.
If you have a specific error message or issue that you are facing, please provide more details for a more targeted assistance.

@AniDD
If you want a code sample to create a custom skillset, please review
Copying relevant portion here for convenience:
# Create a skillset
skillset_name = f"{index_name}-skillset"

split_skill = SplitSkill(
    description="Split skill to chunk documents",
    text_split_mode="pages",
    context="/document",
    maximum_page_length=300,
    page_overlap_length=20,
    inputs=[
        InputFieldMappingEntry(name="text", source="/document/content"),
    ],
    outputs=[
        OutputFieldMappingEntry(name="textItems", target_name="pages")
    ],
)

embedding_skill = WebApiSkill(
    description="Skill to generate embeddings via a custom endpoint",
    context="/document/pages/*",
    uri=custom_vectorizer_endpoint,
    inputs=[
        InputFieldMappingEntry(name="text", source="/document/pages/*"),
    ],
    outputs=[
        OutputFieldMappingEntry(name="vector", target_name="vector")
    ],
)

index_projections = SearchIndexerIndexProjections(
    selectors=[
        SearchIndexerIndexProjectionSelector(
            target_index_name=index_name,
            parent_key_field_name="parent_id",
            source_context="/document/pages/*",
            mappings=[
                InputFieldMappingEntry(name="chunk", source="/document/pages/*"),
                InputFieldMappingEntry(name="vector", source="/document/pages/*/vector"),
                InputFieldMappingEntry(name="title", source="/document/metadata_storage_name"),
            ],
        ),
    ],
    parameters=SearchIndexerIndexProjectionsParameters(
        projection_mode=IndexProjectionMode.SKIP_INDEXING_PARENT_DOCUMENTS
    ),
)

skillset = SearchIndexerSkillset(
    name=skillset_name,
    description="Skillset to chunk documents and generating embeddings",
    skills=[split_skill, embedding_skill],
    index_projections=index_projections,
)

client = SearchIndexerClient(service_endpoint, AzureKeyCredential(key))
client.create_or_update_skillset(skillset)
print(f"{skillset.name} created")

I hope this helps,
Matt


Add ability to deploy a specific revision/changeset

If Capistrano is used within a CI/CD environment, there's no guarantee that the version being deployed is the same version being tested.
My proposal is to add a flag to Capistrano to deploy a specific revision when deploying via scm.  Something like cap production deploy -r <revision>

This is settable already by something like set :branch, ENV['BRANCH'] if ENV['BRANCH'] in the Capfile (or any other config file)
The name is a little misleading, but is (was, at least) in-line with the least-worst compromise across our historical usage of this term, and the similar prevailing concepts in the other SCM plugins.
Git actually will accept anything (a "ref") which resolves to a commit in that variable, so a tag or branch name, or a specific commit ID.
That variable is used in https://github.com/capistrano/capistrano/blob/master/lib/capistrano/scm/git.rb#L51
If you specifically want to be able to set that via an argument to the CLI and not as an env var, that should also be possible, but it's not entirey intuitive.
I think would have to reopen the production (or deploy) tasks to have them take an argument (https://thoughtbot.com/blog/how-to-use-arguments-in-a-rake-task) - specifically you will need to prepend (I think rake calls this "enhance"?) a fix - and in there, you can read out the argument, and specify the set(branch, <value of the argument here>).
Capistrano's Application class is literally just rake, and our tasks/namespaces are literally just rake tasks, so anything you find documented there should "just work ™" here.

Closing due to inactivity. Also as my previous comment outlines, I believe this is just the poster's inexperience with Git and our unusual generalised SCM vocab.

Branch was misleading but specifying a revision did the job.  Thank you.


567 Nuke Publish Camera

PR #566  already merged into the branch for testing purposes
publishing internal camera node with baked animation from parent axis's. Baked on word coordinate matrix XYZ so it should be working well even with Maya.

Close #565

Publishing and loading is working fine with one strange effect. When loading animated ABC to nuke. it doesn't show animation, until I manually disable and enable reading from the file. then it catches on correctly. Can you please have a look at that?
@mkolar I believe it is some internal Nuke bug as this is happening to me to. Didn't find any trace of evidence anybode had noticed it within community. When I had programmatically hit Reload button it want work either, although it is working in gui - try it.
Not sure what to do with this really, @tokejepsen any idea here?

Dont really know about this, but you could force the node to into the control panel if that fixes the issue.


Force Cloudflare Access Application to be recreated if SaaS app auth_type is changed

The auth_type of an application cannot be changed. The only way is to delete the app and create it again as the API will return a 500 when changing an app from oidc to saml or vice-versa.
In the UI, this is stated very clearly:

To change the authentication protocols for this application, delete the application and add the application again with your preferred authentication protocol.

This change adds the ForceNew behaviour to auth_type, so that when it is changed, the resource will be recreated, rather than updated.
 This has been fixed in the latest commit.

sorry, it still looks to be failing here.
=== RUN   TestAccCloudflareAccessApplication_WithAppLauncherCustomization
--- PASS: TestAccCloudflareAccessApplication_WithAppLauncherCustomization (18.67s)
=== RUN   TestAccCloudflareAccessApplication_AuthTypeForcesNewResource
    resource_cloudflare_access_application_test.go:1034: Step 1/2 error: Check failed: Check 1/1 error: cloudflare_access_application.nzhhzfioal: Attribute 'saas_app.0.auth_type' expected "saml", got ""
--- FAIL: TestAccCloudflareAccessApplication_AuthTypeForcesNewResource (6.01s)
=== CONT  TestAccCloudflareAccessApplication_WithSAMLSaas_Import
--- PASS: TestAccCloudflareAccessApplication_WithSAMLSaas_Import (10.64s)
=== CONT  TestAccCloudflareAccessApplication_WithOIDCSaas_Import
--- PASS: TestAccCloudflareAccessApplication_WithOIDCSaas_Import (10.55s)
FAIL
FAIL	github.com/cloudflare/terraform-provider-cloudflare/internal/sdkv2provider	306.816s
FAIL
make: *** [testacc] Error 1

are you able to run these tests locally and confirm it is working for you?

I am having trouble creating a token with the correct permissions:
Error: error creating Access Application for accounts "d3779d2938527f851f8ec693b2b045fd": error from makeRequest: access.api.error.invalid_request: Account does not have permission to use saml_attribute_transform_jsonata (12130)

These are the permissions I've assigned:

Account -> Access: Apps and Policies -> Revoke, Edit, Read
Zone -> Access: Apps and Policies -> Revoke, Edit, Read

nice one, that's got it.


FM encoding dam/idam

I noticed there aren't any formats that use the encoder's use_fm flag. Because the dam/idam are raw, they need to also be changed for FM encoding. I'm a little bit confused of what should be used here - the default bit pattern 0x5545 doesn't look like what I would expect.

The appropriate values for idam/dam are 0xf57e and 0xf56f, respectively.


Azure Defender EASM Public Preview

Description
The SDK for Defender EASM Public Preview
product documentation
introductory session ticket
Typespec PR: https://github.com/Azure/azure-rest-api-specs/pull/24937
arcboard: https://github.com/Azure/azure-sdk/issues/5062
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

Please see the automated PR in your spec PR for guide on the changes (e.g. root pom, version_client.txt, tsp-location.yaml, etc.)
https://github.com/azure-sdk/azure-sdk-for-java/pull/6184/files
Do use the correct package name and namespace.

@weidongxu-microsoft, shad is no longer working for Microsoft, so I'm taking over this PR this sprint. I'm currently not having the permissions to push to this PR. Is it possible for me to get permission to push my changes here? Or is it advised to clone the repo and create another PR to replace this PR instead?
Thank you

@thang-bit You should have permissions now. Can you please verify?
If this doesn't work, you should just create a new PR as the previous account may not be active and won't allow further updates to the PR.

@srnagar, I wasn't able to push my updates to this PR, so I created this PR: https://github.com/Azure/azure-sdk-for-java/pull/37034 instead

Closing this PR in favor of  https://github.com/Azure/azure-sdk-for-java/pull/37034


Login UI Implementation

Issue Type: UI related
Description:

Implement LogIn UI using NextUI or Material UI (mui) and Tailwind CSS according to the following design
On Clicking the Login button on HomePage, Login page will open
Make sure that the UI is fully responsive

Design:

@shreya024 I would like to work on this issue!
Please provide the images used in the design!
Thanks!

@shreya024 I have developed the homepage for the website.
I can complete this issue if you would assign this to me.
Please provide the resources of all images.logos,etc.
Thanks!

@shreya024 I have created the Signup pages for the website and raised the PR for the same.
Please assign me this issue!
Thanks!

@shreya024 mam,
Thank you for assigining me this issue.
Would you please provide the image used in the above design.
Thanks!

@shreya024 mam,
Thank you for assigning me this issue.
Would you please provide the image used in the above design?
Thanks!

@MahendraDani the image used in this is unDraw Environment

@shreya024 I will try to complete this issue within 2-3 days.
Will it be fine?

@shreya024 I will try to complete this issue within 2-3 days.
Will it be fine?

Yeah sure


Cannot build on Android

Error:
node_modules/react-native-oauth/android/src/main/java/io/fullstack/oauth/OAuthManagerFragmentController.java:32: error: cannot find symbol import com.github.scribejava.core.exceptions.OAuthConnectionException;                                             ^   symbol:   class OAuthConnectionException   location: package com.github.scribejava.core.exceptions /Users/alfredlau/Work/bite/node_modules/react-native-oauth/android/src/main/java/io/fullstack/oauth/OAuthManagerFragmentController.java:281: error: cannot find symbol       } catch (OAuthConnectionException ex) {
I'm unable to build my app. Looking into scribejava seems to suggest that exceptions/OAuthConnectionException no longer exists, though I'm not really fluent in Java.

Having the same issue. Looking into this.
OAuthConnectionException is still present in scribejava.
https://github.com/scribejava/scribejava/blob/c9ac8639566a67502fcfca52f3b6aac3d1df96f7/scribejava-core/src/main/java/com/github/scribejava/core/exceptions/OAuthConnectionException.java
But when I run ./gradlew assembleRelease --debug I get the following:
Evaluating project ':react-native-oauth' using build file '/Users/tryggvigylfason/workspace/repos/me/TravAble/app/node_modules/react-native-oauth/android/build.gradle'.
Creating configuration compile.
Creating configuration publish.
Creating configuration provided.
Creating configuration wearApp.
Creating configuration androidTestCompile.
Creating configuration androidTestPublish.
Creating configuration androidTestProvided.
Creating configuration androidTestWearApp.
Creating configuration testCompile.
Creating configuration testPublish.
Creating configuration testProvided.
Creating configuration testWearApp.
Creating configuration debugCompile.
Creating configuration debugPublish.
Creating configuration debugProvided.
Creating configuration debugWearApp.
Creating configuration testDebugCompile.
Creating configuration testDebugPublish.
Creating configuration testDebugProvided.
Creating configuration testDebugWearApp.
Creating configuration releaseCompile.
Creating configuration releasePublish.
Creating configuration releaseProvided.
Creating configuration releaseWearApp.
Creating configuration testReleaseCompile.
Creating configuration testReleasePublish.
Creating configuration testReleaseProvided.
Creating configuration testReleaseWearApp.
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]
Failed to get resource: GET. [HTTP HTTP/1.1 401 Repo not found or no access token provided: https://jitpack.io/com/github/scribejava/scribejava-apis/maven-metadata.xml]

Just came across the same issue.
scribejava 4.0 has breaking changes, fixed (for now) by limiting the dependency to
compile 'com.github.scribejava:scribejava-apis:3.+' in build.gradle

Yub, Thanks. modifying node_modules/react-native-oauth/android/build.gradle fixed this for me.
Replaced compile 'com.github.scribejava:scribejava-apis:+' with compile 'com.github.scribejava:scribejava-apis:3.+'

Did not see that the latest version has already done this.
https://github.com/fullstackreact/react-native-oauth/commit/93c38f62b9b11ed888a6a6accba980c7ef5fd682

Yep, the next npm release will fix this bug. (Working on #42 currently before I release a new patch version)

This should be fixed with the latest version (2.1.14)


Translate to Chinese

Hi @zedr, I finished translating this repo to Chinese. Can you please add the link of the Chinese version to this repo?

Done in 2f7b4841cba156b99b21611ea0f468842a3a1fe4 Thank you!
Forgot to close this


What is the unit of time in step_physics?

I wanted to know the unit of dt in step_physics function. I am working on a controller and want to update the velocity at every second, but I am confused about the unit of time. Is it milliseconds, seconds or something else?
Thanks!

@qureshinomaan Physics run at 60FPS by default (1/60 seconds), but it is adjustable in as kwarg in Simulator.step https://github.com/facebookresearch/habitat-sim/blob/a0605bc6809bf0e35ed1540817ab2ceb99b1a5f8/habitat_sim/simulator.py#L271
See our RigidObjects ColabTutorial for more information: https://colab.research.google.com/github/facebookresearch/habitat-sim/blob/master/examples/tutorials/colabs/rigid_object_tutorial.ipynb#scrollTo=7jURIkMODqCi&line=2&uniqifier=1

Thanks!
@Skylion007 One more thing that I wanted to know.
agents[0].action_space[some_action].actuation.amount = 1

Here what is the unit of action. For example if some_action='move_forward', then it would be in meters or centimetres or something else. Similarly if some_action='look_up', what is the action here?

It's in SI units. AKA meters. That action would make it go forward 1 meter.

@Skylion007
I think the angles are in degrees, which should have been in radians(following the SI convention).

@qureshinomaan Yeah, actuation for turn is in degree, actuation for movement is in meters.


Comment removed from match arm disjunction

             ast::StmtExpr(ref expr, _) => match expr.node {
                 // This catches deferred `let` statements
                 ast::ExprAssign(_, ref e) |
-                // Match statements allow you to bind onto the variable later in an arm
-                // We need not check arms individually since enum/struct fields are already
-                // linted in `check_struct_def` and `check_variant`
-                // (so there is no way of destructuring out a `#[must_root]` field)
                 ast::ExprMatch(ref e, _, _) => &**e,
                 // These are able to bind local variables, but are desugared into
                 // loops and matches pre-lint so should not be encountered
                 ast::ExprForLoop(..) => unreachable!(),
                 ast::ExprIfLet(..) => unreachable!(),
                 ast::ExprWhileLet(..) => unreachable!(),
-                _ => return
+                _ => return,

Resolved: fixed


Part 5

better use Decrypt9 Than Hourglass because lack of feature....

You don't need all of the feature in decrypt9 so it used hourglass9 insted

On Jun 6, 2016, at 1:06 PM, zfirered<EMAIL_ADDRESS>wrote:
better use Decrypt9 Than Hourglass because lack of feature....
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Iphone portrait mode has weird border

Expected: Video fills screen
Actual: Border of maybe 30px on each side for no reason

now that app is sorta working, gonna just figure this one out
http://stackoverflow.com/questions/30948801/video-element-not-quite-centered-at-all-widths

Fiiiiiixed this with the switch to portrait video and the re-encoding


API stoped responding

Hey guys -> wasn't sure where else to ask this.  Mine was working great this morning (tested with curl etc) and now it just times out and I get nothing from the PVS.
(was just installed today)

The local 'API' is slow as dirt and I do sometimes see a drop out for a few samples (1-2min).  I haven't seen any longer than that.  The PVS 6 seems slightly less prone to this than the PVS 5.


Go thru Hoodie issues and find something to work on

we have some great issues prepared for your pairing pleasure: https://github.com/hoodiehq/camp/issues


feat(/lib/theme): add Tailwind CSS colors to  <Alert>s

Description
(It's my first PR here lol. Looking forward to fix things if needed. :))
This change starts adding all colors to components in Flowbite. I'll be partially updating the components until I got every of then with all colors from FlowbiteColors avaliable.
Fixes # 473 (partially)
Type of change

[X] New feature

How Has This Been Tested?
Since it was a visual change I used the Storybook to validate if colors are changing as expected.

[x] Storybook

Checklist:

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

I can't merge this without a re-review from you @rluders


removes org.clojure/core.match

core.match clashes with [org.clojure/tools.reader "0.10.0"]. So, you could either fix dependencies in the project using cassaforte or just remove the core.match dependency, which is a no-brainer.
see #125 for more details.

@ifesdjeen please take a look.

Gladly :)

hopefully closer to the EOW, but I'll try my best earlier


Direct buffer count not decremented with HttpPostMultipartRequestDecoder

Expected behavior
After an upload where the file was released, the DIRECT_MEMORY_COUNTER in PlatformDependent should not maintain a value for the file
Actual behavior
After every upload the DIRECT_MEMORY_COUNTER retains a value for the previous upload. Eventually this will lead to an OutOfDirectMemoryError
Note that the file itself is in getting released correctly. I think this is related to how the unencodedChunk in HttpPostMultipartRequestDecoder is being used.
Steps to reproduce

./gradlew run
Upload a 25-30mb file 5-10 times (the project README has an example curl)
Observe the OutOfDirectMemoryError

You can also debug the run and set a breakpoint in PlatformDependent to observe the DIRECT_MEMORY_COUNTER value after uploading a file the first time and see it is not 0, or close to 0.
Minimal yet complete reproducer code (or URL to code)
https://github.com/jameskleeh/netty-memory-leak
Netty version
This started happening in 4.1.50 and is present in 4.1.63
JVM version (e.g. java -version)
JDK 8
OS version (e.g. uname -a)
Darwin MacBook-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64

There are some benchmarks within Netty that shows exactly the contrary (whatever Memory, Mixed or Disk Factory based).
The results are not using big file however, just 512KB but with more than 6 000 upload/s, so very quick, and about 3 GB/s.
I've tested by changing size to 25 MB, increasing Factory size to 1GB, and it gives 131 upload/s, so 3.2 GB/s (so less than 1s to upload).
Trace of benchmark using this 25 MB file test: (HttpPostMultipartRequestDecoderBenchmark.multipartRequestDecoderBigSimpleLevel is the reference in your cases)
 Benchmark                                                                           Mode  Cnt  Score   Error   Units
 HttpPostMultipartRequestDecoderBenchmark.multipartRequestDecoderBigAdvancedLevel   thrpt    6  0,132 ± 0,005  ops/ms
 HttpPostMultipartRequestDecoderBenchmark.multipartRequestDecoderBigDisabledLevel   thrpt    6  0,131 ± 0,005  ops/ms
 HttpPostMultipartRequestDecoderBenchmark.multipartRequestDecoderBigParanoidLevel   thrpt    6  0,118 ± 0,003  ops/ms
 HttpPostMultipartRequestDecoderBenchmark.multipartRequestDecoderBigSimpleLevel     thrpt    6  0,131 ± 0,001  ops/ms
 HttpPostMultipartRequestDecoderBenchmark.multipartRequestDecoderHighAdvancedLevel  thrpt    6  0,124 ± 0,004  ops/ms
 HttpPostMultipartRequestDecoderBenchmark.multipartRequestDecoderHighDisabledLevel  thrpt    6  0,125 ± 0,005  ops/ms
 HttpPostMultipartRequestDecoderBenchmark.multipartRequestDecoderHighParanoidLevel  thrpt    6  0,075 ± 0,002  ops/ms
 HttpPostMultipartRequestDecoderBenchmark.multipartRequestDecoderHighSimpleLevel    thrpt    6  0,125 ± 0,004  ops/ms

 [817.169s][info   ][gc,heap,exit ] Heap
 [817.169s][info   ][gc,heap,exit ]  garbage-first heap   total 522240K, used 69233K [0x0000000602400000, 0x0000000800000000)
 [817.169s][info   ][gc,heap,exit ]   region size 2048K, 35 young (71680K), 2 survivors (4096K)
 [817.169s][info   ][gc,heap,exit ]  Metaspace       used 17320K, capacity 17729K, committed 17792K, reserved 1064960K
 [817.169s][info   ][gc,heap,exit ]   class space    used 1790K, capacity 1906K, committed 1920K, reserved 1048576K

I also test using the Junit tests testBIgFileUploadDelimiterInMiddleChunkDecoderXxxxFactory (where Xxx can be Disk, Memory, Mixed) using a 25 MB file, and it gives less than 0.5s (even 0,05s with Memory Factory) and only 1 MB of memory allocated bu the Factory.
Maybe you are using a Factory Mixe or Memory based (mixed with a too high limit than file size), such that it depends too much on memory ?
Also, have you clean the factory and HttpData correctly ?
  for (InterfaceHttpData httpData: decoder.getBodyHttpDatas()) {
      httpData.release();
      factory.removeHttpDataFromClean(request, httpData);
  }
  factory.cleanAllHttpData();
  decoder.destroy();

Regarding the other issue, it seems the issue is on your side.
Could you setup a simple test without your Micronaut code ?

Yes all http data is getting released from the factory/decoder

@fredericBregier The way you have shown is not the only way. Doing so that way does not work for us because some of the data may have already been released by the time we do cleanup. I have verified all of the data produced by the decoder that is our responsibility to release has been released.
You can choose to ignore the issue, but it definitely is an issue. The Junit tests are obviously not catching this case

I didn't say there is no issue, I said that the way to free correctly the buffers is this way.
The reason is the difference of handling buffers between in Memory and on Disk.
You can check every data before calling the clean up using buffer.refCnt() > 0 to ensure it is ok to do so.
I didn't choose to ignore the issue, I just say that we have made Junit tests, and they didn't show this issue.
So the reason we'r (or I'm) asking you a simple reproducer in order to be able to detect, add the Junit test and fix it, if is real.

Javadoc for Factory:
/**
 * Remove all InterfaceHttpData from virtual File storage from clean list for all requests
 */
void cleanAllHttpData();

It means that only "file" based are released there, not "memory" based one.
Then on Decoder:
/**
 * Destroy the {@link HttpPostMultipartRequestDecoder} and release all it resources. After this method
 * was called it is not possible to operate on it anymore.
 */
@Override
public void destroy() {
    // Release all data items, including those not yet pulled
    cleanFiles();

    destroyed = true;

    if (undecodedChunk != null && undecodedChunk.refCnt() > 0) {
        undecodedChunk.release();
        undecodedChunk = null;
    }
}

Except that it calls cleanFiles() which calls  factory.cleanRequestHttpData(request); which Javadoc says:
/**
 * Remove all InterfaceHttpData from virtual File storage from clean list for the request
 *
 * @param request associated request
 */
void cleanRequestHttpData(HttpRequest request);

So yes, there is an issue, since only "Disk" based are free.
So what I can propose is to change as the following:
/**
 * Destroy the {@link HttpPostMultipartRequestDecoder} and release all it resources. After this method
 * was called it is not possible to operate on it anymore.
 */
@Override
public void destroy() {
    // Release all data items, including those not yet pulled
    cleanFiles();

    // Explicitely remove all HttpData but only if refCnt is > 0
    for (InterfaceHttpData httpData: getBodyHttpDatas()) {
       if (httpData.refCnt > 0) {
           httpData.release();
      }
      factory.removeHttpDataFromClean(request, httpData);
    }
    destroyed = true;

    if (undecodedChunk != null && undecodedChunk.refCnt() > 0) {
        undecodedChunk.release();
        undecodedChunk = null;
    }
}

You can do that however it has no relation to this issue. As I've said several times all of the data produced by the factory is getting cleaned correctly in this example.

For your intention, this issue was introduced 2 years ago (not by the last changes).

@jameskleeh Yes, I mixed up the 2 issues. You're right. Sorry for that.
Now, as I don't have this issue (and the change instead improves quite a lot, both on memory and time), I can't figure out without a simple reproducer...

@fredericBregier Is there any option for commercial support for Netty?

Well, we can see later on (too late for me right now).
When calling decoder.destroy(), the undecodedChunk is released.
I found out maybe another point (extra commit done and pushed), but it shouldn't be the case.
However, this is the only point where I can figure out a position where the undecodedChunk is not released correctly.
Can you check when you have time?

@fredericBregier I tried to reproduce the memory leak with 4.1.63 and it seems I can no longer reproduce it. Given how long it takes to send each request I was debugging the state of PlatformDependent and did observe the memory counter going up for each request. I was sure I also observed the error however @doom369 could not reproduce the memory leak in 4.1.63 so I tried it again and I can't reproduce. This definitely is an issue in 4.1.59 and it seems like something was changed to fix it between 4.1.60 and 4.1.63. I appreciate you helping out and sorry for wasting your time with this specific issue.

@jameskleeh However there was one issue still, but perhaps no more for you.
I thank you for your patience. It is not always simple to understood the issue. I did my best to help.


Python: StepWise planner often repeats thoughts forever, without final answer

Describe the bug
Entering a non-trivial, multi-step/multi-skill ask into the stepwise planner will often result in the planner never reaching a final answer.
To Reproduce
Steps to reproduce the behavior:

Load Stepwise planner with a set of skills
Submit an ask requiring use of multiple skills, summary of the findings.
Observe the same thought repeating over and over without a final answer.

Expected behavior
The Stepwise planner should reach a final answer, especially when the thoughts look like final answers.
Screenshots
I won't be able to share screenshots due to it being organizational private data.
Platform

OS: MacOS 14.0
IDE: Visual Studio Code
Language: Python
Source: main branch of repository

Additional context
I think I have identified a solution here but I'd like to discuss with others before I submit a PR for it. I took a look at the C# semantic skill and included the final conditions that the C# skill includes in the Python version. It seems to fix the problem.
This is the addition to StepwiseStep/skprompt.txt:
Every Question should be followed by a Thought.
Every Thought should be followed by an Action or Final Answer.
Every Action should be followed by an Observation.
Every Observation should be followed by a Thought or Final Answer.
Produce Thoughts and Actions as necessary until you have a Final Answer.

But I've also experimented with just adding:
Every Thought should be followed by an Action or Final Answer.

Which also seems to be effective at reaching a final answer. I think this works because the core problem is that the model tries to follow a THOUGHT with something that doesn't lead to information discovery or conclusions. Like another thought or observation, ending the completion request before it is able to offer a next step or answer.
This is my full StepwiseStep prompt now:
[INSTRUCTION]
Answer the following questions as accurately as possible using the provided functions.

[AVAILABLE FUNCTIONS]
The function definitions below are in the following format:
<functionName>: <description>
  inputs:
    - <parameterName>: <parameterDescription>
    - ...

{{$function_descriptions}}
[END AVAILABLE FUNCTIONS]

[USAGE INSTRUCTIONS]
To use the functions, specify a JSON blob representing an action. The JSON blob should contain an "action" key with the name of the function to use, and an "action_variables" key with a JSON object of string values to use when calling the function.
Do not call functions directly; they must be invoked through an action.
The "action_variables" value should always include an "input" key, even if the input value is empty. Additional keys in the "action_variables" value should match the defined [PARAMETERS] of the named "action" in [AVAILABLE FUNCTIONS].
Dictionary values in "action_variables" must be strings and represent the actual values to be passed to the function.
Ensure that the $JSON_BLOB contains only a SINGLE action; do NOT return multiple actions.
IMPORTANT: Use only the available functions listed in the [AVAILABLE FUNCTIONS] section. Do not attempt to use any other functions that are not specified.

Here is an example of a valid $JSON_BLOB:
{
  "action": "functionName",
  "action_variables": {"parameterName": "some value", ...}
}
[END USAGE INSTRUCTIONS]
[END INSTRUCTION]

[THOUGHT PROCESS]
[QUESTION]
the input question I must answer
[THOUGHT]
To solve this problem, I should carefully analyze the given question and identify the necessary steps. Any facts I discover earlier in my thought process should be repeated here to keep them readily available.
[ACTION]
{
  "action": "functionName",
  "action_variables": {"parameterName": "some value", ...}
}
[OBSERVATION]
The result of the action will be provided here.
... (These Thought/Action/Observation can repeat until the final answer is reached.)
Every observation should be followed by a Thought or Final Answer.
[FINAL ANSWER]
Once I have gathered all the necessary observations and performed any required actions, I can provide the final answer in a clear and human-readable format.
[END THOUGHT PROCESS]

Every Question should be followed by a Thought.
Every Thought should be followed by an Action or Final Answer.
Every Action should be followed by an Observation.
Every Observation should be followed by a Thought or Final Answer.
Produce Thoughts and Actions as necessary until you have a Final Answer.

Begin!

[QUESTION]
{{$question}}
{{$agent_scratch_pad}}

Any thoughts about submitting a PR for this? Any objections/concerns?

Just to clarify - happy to submit the PR here for my proposed changes. But I also would like some feedback on what kinds of tests are relevant for changing something like a planner. Thank you!

Thanks for recommending this fix. The Semantic Kernel team is currently doing some research to determine if we can rewrite our planners to be more effective, so for the time being, I would hold off on creating a PR.

Thanks for recommending this fix. The Semantic Kernel team is currently doing some research to determine if we can rewrite our planners to be more effective, so for the time being, I would hold off on creating a PR.

Thanks for the feedback and insight. Looking forward to what comes out of that process!

We recently released our v2 of Stepwise planner. Do you mind giving it a shot and see if it addresses the previous challenges?

We recently released our v2 of Stepwise planner. Do you mind giving it a shot and see if it addresses the previous challenges?

Will give it a try this week and let you know. Thanks for the message


Editor jumps upward upon cursor-placement when at EOF

Open brackets.js
Scroll all the way down to the bottom
Click somewhere in the editor to place the cursor

Result:
The editor shifts a little upward
Possibly a regression of the Code Folding work

git bisect points to c3c10de479e4ed1767174ab2c79ed32479a197c0. cc @peterflynn

@peterflynn The issue lies in this line change: https://github.com/adobe/brackets/commit/c3c10de479e4ed1767174ab2c79ed32479a197c0#diff-faf67ee120ecabfc547fc41ee34e0707R33

@MarcelGerber Thanks a lot Marcel for figuring this out.. You are right it was due to the padding on CodeMirror-foldgutter. Padding was done to keep folded/open marker sync with line number on left.


k8s plugins should detect portforwards as well as execs

Motivation
Currently the various example k8s alerting rules don't include detections for port-forwards.
Similar to the exec rule(s) there should be an example rule for port-forwards  because that actor could be sidestepping various network segmentation/auth steps.
Feature
Add port-forward detection, which should be almost identical to the exec detections
Alternatives
Additional context

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

/remove-lifecycle stale

sorry right now we are quite full but for sure this is an interesting feature! would you be interested in implementing it?

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

/remove-lifecycle stale


Unable to setup PKI infrastructure, error: cnpg-mutating-webhook-configuration not found

Hi,
When deploying the helm chart with mutating webhook disabled:
webhook:
  mutating:
    create: false

I get an error:
{"level":"error","ts":"2024-07-30T13:33:16Z","logger":"setup","msg":"unable to setup PKI infrastructure","error":"mutatingwebhookconfigurations.admissionregistration.k8s.io \"cnpg-mutating-webhook-configuration\" not found","stacktrace":"github.com/cloudnative-pg/cloudnative-pg/pkg/management/log.(*logger).Error\n\tpkg/management/log/log.go:125\ngithub.com/cloudnative-pg/cloudnative-pg/internal/cmd/manager/controller.ensurePKI\n\tinternal/cmd/manager/controller/controller.go:380\ngithub.com/cloudnative-pg/cloudnative-pg/internal/cmd/manager/controller.RunController\n\tinternal/cmd/manager/controller/controller.go:222\ngithub.com/cloudnative-pg/cloudnative-pg/internal/cmd/manager/controller.NewCmd.func1\n\tinternal/cmd/manager/controller/cmd.go:40\ngithub.com/spf13/cobra.(*Command).execute\n\tpkg/mod/github.com/spf13/cobra@v1.8.0/command.go:983\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tpkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\tpkg/mod/github.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\tcmd/manager/main.go:66\nruntime.main\n\t/opt/hostedtoolcache/go/1.22.4/x64/src/runtime/proc.go:271"}

I believe this is due to the helm chart not properly configuring the certificate directory when mutating webhooks are disabled.
Should I create a PR for this?

Same issue as this

@donchev7  A PR would be very appreciated!

Anyone looking for a workaround see my reply here. Imo before fixing this in the chart CNPG itself should implement an option to completely disable all admission functionality.


Handshapes: add fields (specify handshapes in terms of their distinctive features)

The handshapes that are now one long list can each be specified in terms of a set of sub-features. We want to be able to specify these features for each handshapes, and then search signs by sub-features.
List of fields:
Finger selection [list of values in field values]
Finger configuration [list of values in field values]
Aperture [list of values in field values]
Thumb [list of values in field values]
Unselected fingers [list of values in field values]
Spreading [list of values in field values]
We will add the values for each of the fields later in Django

At the moment, the user can Search Signs by setting Strong Hand to be Money (for example).
This returns a list of Glosses where Strong Hand is Money (fro example, 155 signs).
Assume the Handshape fields has been implemented (as described above)
and that the fields for Handshape Money (for example) have been set in a new Handshape Detail View for Handshape Money.
(then, for example, assume the above change has been implemented)
Would the new Handshape fields be visible in the Glosses with Strong Hand Money?
Should the Handshape Fields be visible in the Glosses with that Handshape? (probably not?)
Should there be a link in the Phonology panel of the gloss to go to the Handshape Detail view for example Strong Hand Money. (possibly)

The new Handshape Fields would be "per Handshape', rather than "handshape per Gloss".

My preference would be to find an economic way of listing the sub-features of each handshape when displaying a sign. (But not when editing it. I mean, we will still keep describing signs in terms of their handshapes by selecting a handshape from the menu, not by selecting subfeatures of handshape.)

(These questions are to help choose the best way to model the data.)
For each of the various field lists, is there a fixed or a variable number of elements?
E.g., Finger selection would be out of 10 fingers.
This could be modelled as each being true or false for each finger, or it could be a list of the selected fingers, with each element being a choice of 10 fingers.
Similarly for Unselected fingers. (Or this could be derived.)
Fingure configuration, are there a set of different choices for each finger?
(As for Selected fingers, which can be boolean, the configuration would be multiple values.)
Do the described specifications (the actual configurations) need to be dynamic (are new configurations introduced, or are there a finite number of possible configurations)
(Is this similar to the choice lists for phonology fields, or is it more like the keywords entry?)
For the field lists that are e.g. based on fingers (10), it could be shown with each finger as a pull-down menu of choices for that finger.
Are there images associated to the configurations? Or drawings? This could be displayed in the Gloss Detail view.

Aaaah, that ought to be 5 fingers.

Or 4 fingers and a Thumb.

Okay, hmmm.
www.ru.nl/publish/pages/514513/vanderkooij1998_lin_usf.pdf

http://clml.uchicago.edu/~jkeane/sll/Papers/Brentari-Companion to Phonology (chapter Handshape in Sign Language Phonology) (2011).pdf

Okay, it seems wise to make each field list be a choice menu
And to use a particular number of fields per each field list
So in the database record for a particular handshape, there will be fields for e.g. the finger configuration of each finger. These can then all be displayed in a row called Finger configuration.
I'll make something that shows what I think you mean.

Yes, selection of fingers has a rather specific list of values, not simple a number from 1-10, and it's language-specific. Configuration is less language-specific, but you may have already found in these two papers that different researchers have different takes on this. That's why I ask for a listing in Django's field values, so that we can specify and modify the values ourselves.

http://www.journal-labphon.org/articles/10.5334/labphon.45/

Okay, I started making "example data" so there can be a starting point. Then the actual values can be changed and tweaked in the database. (The actual lists of field values.)
(It's a bit chicken or egg.)
To start, I'm making it be:
finger_selection_index, finger_selection_middle, finger_selection_ring, finger_selection_pinkie, finger_selection_thumb
And for each one of those (together the list of finger selection)
Using the Joint configuration examples of the 2nd pub:
Fully open, Bent, Flat-open, Flat-closed, Curved open, Curved closed, Fully closed
For Spreading, I found: Plain, Spread, Stacked, Crossed
For Aperature, I found: Open, Closed
(Some initial values for field choices, since the database needs example data to code on top of.)

That's a good start Susan, thanks

Hi @susanodd , I've added two fields in the first comment above: "finger selection 2" and "finger configuration 2". I had forgotten about the need to include these, but there are cases where there are two sets of selected fingers with different properties. You can copy the initial values from what you proposed for the other fields for Finger Selection and Finger Configuration.

A question about Finger Selection. I've made it so that there are 5 finger selection fields.
In the database there are e.g., Finger Selection 1: Thumb, Finger Selection 1: Index, Finger Selection 1: Middle, Finger Selection 1: Ring, FInger Selection 1: Pinky
So Finger Selection 1 is a list of 5 things, each of which is a choice.
I put Plus and Minus as choices to start.
This seemed logical as a first step to assume that fingers can be either selected or not selected.
But since that might not be the case, it's implemented as a choice list rather than a boolean (checkbox).
The question is, could this be a boolean instead? It would make the display look better. I'll post a screenshot to show what it looks like at the moment.

I made the finger selection choices be Plus and Minus but if these are just boolean values, as well as Unselected Fingers, then a more economical display would be better.

Hi @susanodd , nice to see this coming about! The specification per finger is more complex than we need though, and thus also more complex than necessary for entering data. We'd prefer to specify the fields Finger Selection and Finger Configuration with a single string, like "TIM" for thumb + index + middle being selected. A single configuration feature applies to this finger selection, so it would suffice to have a single string there as well: "curved", "clawed", "hooked", for example. The "Finger Selection 2" caters for the rare handshapes where some fingers are in a different configuration. So all fields can be string values, which we can later alter/extend in Django if needed.

I modified the finger selections to be the TIM patterns.
I did it as a choice list rather than as a string to keep the data normalised. The choices can be modified in the admin page for Field choices.
I'm assuming there will need to be query facilities to find handshapes using the Thumb, etc.
I'm going to work on the List view of handshapes to see if more tweaking is needed.

Excellent! Yes, that's what I actually meant with 'string', a list of choices, sorry for the confusion.

Oh, one more thing, or two actually:

The field 'aperture dynamic' can be left out: we already have this encoded in 'handshape change' for each gloss, and we could also choose to include complex values to encode this (like 'open > closed')
What I forgot altogether: we will like to upload an image of each handshape, displayed and editable in this detail view, and also in a list view of handshapes (much like the image on the left of the glosses in the list view).

Looks good to me!


More info: data received via

Description:
Add data received via -section under More info.
Use same localisation string as on iOS.

QA passed


Forum

https://forum.metroui.org.ua

what is the issue in forum can you explain ?

The forum is intended for questions that require discussion or go beyond Metro 4


【Android】- Android R 获取内存与AS Profiler 不一致

        //28 为Android P
        if (sdkInt > 28) {
            // 统计进程的内存信息 totalPss
            memInfo = new Debug.MemoryInfo();
            Debug.getMemoryInfo(memInfo);
        } else {
            //As of Android Q, for regular apps this method will only return information about the memory info for the processes running as the caller's uid;
            // no other process memory info is available and will be zero. Also of Android Q the sample rate allowed by this API is significantly limited, if called faster the limit you will receive the same data as the previous call.

            Debug.MemoryInfo[] memInfos = mActivityManager.getProcessMemoryInfo(new int[]{Process.myPid()});
            if (memInfos != null && memInfos.length > 0) {
                memInfo = memInfos[0];
            }
        }

使用    Debug.MemoryInfo[] memInfos = mActivityManager.getProcessMemoryInfo(new int[]{Process.myPid()});
if (memInfos != null && memInfos.length > 0) {
memInfo = memInfos[0];
}
得到的数据跟 AS Profiler 是一致的

问题在3.5.x 版本已经解决


fixing build break due to recent DI changes

@bricelam

and I was stuck on this :cry:

Are you on an old build of DI? If you're having trouble switch to volatile. You shouldn't need to do this change.

Oh wow, our local mirror (at 15957) is significantly behind the ci (at 15983). @victorhurdugaci?

There's no more local mirror. There's only a cache of the local coherence. If you need a cache, you have to create job that does that.
We changed it so that all the test builds use the same configuration and do the same thing

I thought you're not using it for anything else other that the CI after syncing with @natemcmaster

Btw, the cache is now in D:\feeds\Coherence


test(frontend): improves react-testing-library configuration

SUMMARY
This PR improves current RTL configuration and contributes to SIP 56.
The changes made here aim to:
Avoid matchers conflict
Enzyme matchers were conflicting with jest-dom matchers. To avoid this I moved import '@testing-library/jest-dom/extend-expect'; from spec/helpers/setup.ts to spec/helpers/testing-library.tsx. This way Enzyme matchers are the default option (99% of the tests) and we can choose to use jest-dom matchers in our RTL tests using custom render functions from testing-library.tsx or importing @testing-library/jest-dom/extend-expect directly in each test file.
Improve user events simulation in our tests
With the use of @testing-library/user-event we have a better level of abstraction to simulate user events. Here are some examples of the new API that can be used in our tests:
click, dblClick, type, upload, clear, selectOptions, deselectOptions, tab, hover, unhover, paste, specialChars
Support additional ESLint rules
With the addition of plugin:jest-dom/recommended to ESLint plugins list we can enforce another set of tests best practices and improve the quality of our tests.
An important side note is that ESLint wasn't working properly for some files because of this configuration problem:
Error while loading rule 'jest/no-deprecated-functions': Unable to detect Jest version - please ensure jest package is installed, or otherwise set version explicitly
To fix this, I included a configuration option to automatically detect Jest version.
Another important point is that ESLint rules of eslint-plugin-testing-library are not currently working with the import of custom functions from a different library name.
In our case the rules will not be applied when using import { render, screen } from 'spec/helpers/testing-library';
If we use import { render, screen } from ‘@testing-library/react’; then ESLint works.
They are aware of this issue and are already working on a fix in version 4.
@ktmud @rusackas @geido @junlincc
TEST PLAN
1 - Execute all tests
2- They should pass
1 - Execute ESLint
2 - No errors should be found
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[x] Introduces new feature or API
[ ] Removes existing feature or API

I always think of "right-to-left" (as in language localization) when I see "RTL" so I changed the PR title a little bit.
Not sure when will Superset support RTL languages, but it's nice to keep the distinction for now to keep future GitHub/code searches easier.

This is the gold standard

So true! This is awesome work, @michael-s-molina!

This is the gold standard of what PR description should look like!

+1 ! @michael-s-molina

😆 by merging this PR we just bumped log file npm 7 @ktmud @rusackas

Hi all, eslint-plugin-testing-library author here! Sorry for jumping into this out of the blue, but I saw this issue referred in one from our plugin.

Another important point is that ESLint rules of eslint-plugin-testing-library are not currently working with the import of custom functions from a different library name.
In our case the rules will not be applied when using import { render, screen } from 'spec/helpers/testing-library';
If we use import { render, screen } from ‘@testing-library/react’; then ESLint works.
They are aware of this issue and are already working on a fix in version 4.

I've seen you have this problem when re-exporting Testing Library utils from a custom module, which is a pretty common one from plugin users. On this comment from couple of days ago you can find some info about how we addressed this. I'd be really interested into knowing if this would be enough for you, or you think you would need more options to cover this.
From what I saw on your comment I think our approach will cover your use case, but just in case.
Thanks!

Hi all, eslint-plugin-testing-library author here! Sorry for jumping into this out of the blue, but I saw this issue referred in one from our plugin.

Another important point is that ESLint rules of eslint-plugin-testing-library are not currently working with the import of custom functions from a different library name.
In our case the rules will not be applied when using import { render, screen } from 'spec/helpers/testing-library';
If we use import { render, screen } from ‘@testing-library/react’; then ESLint works.
They are aware of this issue and are already working on a fix in version 4.

I've seen you have this problem when re-exporting Testing Library utils from a custom module, which is a pretty common one from plugin users. On this comment from couple of days ago you can find some info about how we addressed this. I'd be really interested into knowing if this would be enough for you, or you think you would need more options to cover this.
From what I saw on your comment I think our approach will cover your use case, but just in case.
Thanks!

@Belco90 Thank you for the update! I was reviewing the thread and it seems that with this comment we'll have everything we need to setup ESLint nicely in our project. Thanks for this great plugin! 🚀


Ability to nest components

Hello 👋
Thanks for an amazing library, I've been trying it out and its very exciting!
I've got one question - is it possible to use a component inside of another component's definition?
Minimalistic example:

{{ slot }}

<c-cards.card style="background: red;">

{{ slot }}

</c-cards.card>

If used in a view:

<c-cards.special-card>
    Very special card
</c-cards.special-card>

The HTML contains the unrendered component tags (inner component is not rendered)
<c-cards.card style="background: red">

Very special card

</c-cards.card>

Expected result:

Very special card

Am I doing something wrong, or is this not supported?

@VojtechPetru your minimal example works for me as expected. The result I get (noting that you have double p tags) is:

Very special card

What version of cotton are you using?
Are you getting the same results from your minimal example?

Hello @wrabit 👋 thanks for such a quick response! I'm already AFK, so I'll re-try and share more info later. Glad to hear that its supposed to work and the problem is likely on my end. Again, amazing library ❤

Hello @wrabit 👋 I just tested it on a fresh project and it works as expected (except that I forgot to add {{ attrs }} to cotton/cards/card.html in the example). Must be some other dependency or settings in the old project thats causing the issue - I'll try to figure it out and open a new issue if I do. Closing this issue, thanks!
On a side note - is this project open to contributions? I've been exploring the source code a bit and would be willing to add type annotations, if you'd find it helpful.


⚠ ClamAV has degraded performance

In 7c043f0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 179 ms

Resolved: ClamAV performance has improved in 1e070c4.


fix(sheet): editor blur

[x] I am sure that the code is update-to-date with the dev branch.

close #

Missing issue


Revert "Faster buildsx (#11909)"

This reverts commit cc2b776e649bb72ba4baaf7c5ddd4f6ca6b2eb5f.
Fixes #

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[ ] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for feature-requests.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

Codecov Report

Merging #11954 (887d020) into main (50f71fb) will decrease coverage by 0%.
The diff coverage is 41%.

@@           Coverage Diff           @@
##            main   #11954    +/-   ##
=======================================
- Coverage     62%      62%    -1%
=======================================
  Files        492      494     +2
  Lines      34795    34967   +172
  Branches    5640     5653    +13
=======================================
- Hits       21877    21712   -165
- Misses     10845    11165   +320
- Partials    2073     2090    +17

Impacted Files
Coverage Δ

src/kernels/jupyter/jupyterUriProviderWrapper.ts
37% <0%> (-3%)
:arrow_down:

src/kernels/jupyter/types.ts
100% <ø> (ø)

src/notebooks/controllers/types.ts
100% <ø> (ø)

...llers/kernelSource/notebookKernelSourceSelector.ts
13% <7%> (+2%)
:arrow_up:

src/notebooks/controllers/connectionMru.node.ts
29% <10%> (-1%)
:arrow_down:

...ndalone/userJupyterServer/userServerUrlProvider.ts
10% <10%> (ø)

...lPythonAndRelatedNonPythonKernelSpecFinder.node.ts
71% <50%> (-3%)
:arrow_down:

src/platform/api/pythonApi.ts
69% <50%> (-2%)
:arrow_down:

src/platform/common/utils/localize.ts
75% <50%> (-1%)
:arrow_down:

src/standalone/serviceRegistry.node.ts
95% <60%> (-5%)
:arrow_down:

... and 68 more


💥 [DevOps] Server time not correct

💥 DevOps ticket

The Server time is not correct. It is currently GMT+0 which is 2 hours behind us due to summer time. In winter it would be 1 hour behind us. This results in wrong timestamps for the user.

How do we solve this?
Local time zone is used to correct?
Frontend or Backend?
Do we need a setting for the user to set up his local time?

cakephp can me give the right date if I give it a LOCALE

I moved this to the next release now. I believe its not that important at the given moment. I think we should find a solution soon tho, since transactions are timed and it has a certain importance ;)


[staging & production] Dataverse .jpg files give a redirect loop error

Reported by @nicipfeiffer on the 0.24 Trello board
Steps

Go to a project and configure the dataverse add-on
Go to the files tab of the project and click on a .jpg file to go the file detail page and render a view

Expected
Should see a rendered view of the file
Actual
After waiting a long time: receive a redirect loop error.

When opening a PDF file -- the following error occurs:
{"code": 500, "referrer": "https://staging.osf.io/6wsre/", "message_short": "Unable to resolve", "message_long": "OSF was unable to resolve your request. If this issue persists, please report it to <a href="mailto:support<EMAIL_ADDRESS>

With Dataverse work upcoming - I am going to defer this for now.

@caileyfitz check again after April 13th when dataverse update is done.

I have checked several .jpg files and have not been able to reproduce this issue with Dataverse 4.0.

Cool -- I will close. TY


Rework CI/CD system

Coverage decreased (-100.0%) to 0.0% when pulling 46062b4e37989e2fc8aefbba01c3d9325fb38744 on rework-ci-cd into 51146bfc290fabb4ac77f912030c964c8d7a79c0 on master.

Coverage remained the same at 100.0% when pulling 6fcd95fbd3364ff36fef7a5da11e39c1807f299b on rework-ci-cd into 51146bfc290fabb4ac77f912030c964c8d7a79c0 on master.


License

What is the license?

I already tried emailing the author about it but haven't heard back.. I must have been late last year when I tried. :/

I'll toss an ISC on it or something give me a few minutes, sorry I forgot about this project

@jtojnar @andir Have fun with this code, sorry it is a bit of a mess, I made it as I was learning rust, and I don't know if it still builds or works.

Thank you for starting this. My fork diverged a bit already.. Will update
license there next time In use it.
On Sat, 24 Nov 2018, 21:09 Wraithan (Chris McDonald), <
<EMAIL_ADDRESS>wrote:

@jtojnar https://github.com/jtojnar @andir https://github.com/andir
Have fun with this code, sorry it is a bit of a mess, I made it as I was
learning rust, and I don't know if it still builds or works.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wraithan/weechat_notifier/issues/1#issuecomment-441392533,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAm_dFxfkOqmerJOhmEpWn90fJfOEAfBks5uyaeJgaJpZM4SODzR
.


Entity Information

Can you share list of entities involues in this. Like calander, calendarrule and others

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

ID: 8312f041-c474-7836-33d8-ac18dcc8a3a3
Version Independent ID: 9781e3ec-5873-07af-d333-59ac371d990d
Content: Set work hours to define availability (Dynamics 365 for Customer Engagement for Customer Service)
Content Source: ce/customer-service/set-work-hours-resource.md
Service: dynamics-365-customerservice
GitHub Login: @anjgupta
Microsoft Alias: anjgup

Thanks for your feedback. We will soon look into this issue.

Any news on the entities involved?


Try removing AppleOAuth2 from list of AUTHENTICATION_BACKENDS

to avoid twitter/facebook signin to api server crash

I don't think I need the addition of the backend on  that list, it would only be if we wanted Login with Apple to the login to the API server.
Then it would be 'WeVoteServer.apple.AppleOAuth2' not just 'AppleOAuth2'


macOS: Add an option that allows to use app as an menu bar app only

Added some additional padding as well :)

Thanks for this contribution!


Schedule and automate payment distributions

With the introduction of derived keys, transactions can take place on behalf of users. This provide an opportunity for DeSo Ops to schedule payments daily, weekly, monthly, etc.

[ ] Create a section in the DeSo Ops Portal to manage Scheduled Payments
[ ] Create a Scheduled Payment profile, that looks similar to the current payment interface, but includes extra fields to schedule the payment
[ ] Create a scheduling engine to process active scheduled profiles based on their settings
[ ] Allow scheduling to occur:

[ ] every x days at a certain time
[ ] On certain days of the week
[ ] Once a month

[ ] Allow enabling/disabling of a schedule profile
[ ] Provide a history report for each schedule that occurred, which needs to include an exception should any errors have occurred

While there's documentation regarding the automated use of derived keys, Agilit-e needs to validate the actual use of automated transactions on the server-side.


apply_file not terminating once the processing is complete

Here are more details.
https://github.com/osmcode/pyosmium/discussions/233

Please do not double report your issues. It won't make it more likely that you get an answer.
Closing as duplicate and for missing any usable description of the problem.

Dear @lonvia,
I don't think it's double reporting of an issue. Originally, I have posted this as a discussion. Since then more people have reported the same problem which makes it worth to turn it into an issue, I believe. My Issue was already closed before (it included the full description btw), now this one from @pradeepgudipati. If you believe it will get the same amount of attention from contributors in Discussions I am happy leaving it there. But otherwise, I would like to move it to Issues. What do you think is the correct procedure to do that? Thank you very much for your time and for any reply!

I am not sure whether we understand each other. So you are saying you treat both Discussion and Issue as an Issue? Because at no point in time there was a duplication of any Issue on this topic.
Cheers

@kubatjak ,  @pradeepgudipati
Please, instead of repeatedly bringing up a one-year-old, poorly documented issue without new information,
invest your energy in debugging the problem and demonstrate your genuine interest in finding a solution.
For example, this program should work:

https://github.com/osmcode/pyosmium/blob/master/examples/osm_file_stats.py
If it doesn't, the issue might be with

the input data
or your (python) environment.

In next time please provide all relevant information for any pyosmium software issue!
1. Environment:

OS Version: Specify your operating system and version.
Hardware Specs: Indicate your hardware specifications, including architecture (32-bit or 64-bit, ARM, x86-64, etc.).
Python Version: Indicate the Python version(s) you're using.
Installation Method: Describe how Pyosmium was installed in your setup.

2. Example Programs is working?

Verification: Confirm that the example programs from Pyosmium's repository work in your environment.

https://github.com/osmcode/pyosmium/tree/master/examples

3. Documentation Check

Before submitting a report, please ensure you have checked the Pyosmium Documentation for a potential solution to your issue.

4. Please create a minimal reproducible example

Code: Include the smallest snippet of code that still exhibits the bug.
OSM File: Attach a minimal OSM file that replicates the issue.

5. Input File Integrity

Verification Process: Describe how you confirmed that the input OSM file is neither broken nor badly formatted.

https://docs.osmcode.org/osmium/latest/osmium-check-refs.html

6. Debugging Steps

Environment Testing: List any attempts to reproduce the issue in different environments (e.g., on a Linux system).
Diagnostic Efforts: Detail what you have tried in order to isolate or fix the bug.

7. Retesting as you can:

Multiple Python Versions: Test the issue across various Python versions (from 3.9 to 3.12).
Pyosmium Versions: Check the bug against multiple versions of Pyosmium (from 3.5 to 3.7).
Different Data Sets: Use various input data to assess if the issue persists across different scenarios.

8. Additional Information

Logs and Outputs: Provide any relevant logs, error messages, or outputs that might help diagnose the problem.
Communication: Keep your descriptions factual and objective to facilitate efficient problem-solving.

@ImreSamu
😀 😀 😀 thank you


TextInput hint_text is hidden on focus

Hiding the hint text on focus limits the usability of the feature, hint_text should always be visible unless there is text in the input.
HTML input fields also behave this way: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_placeholder.

I'll try fixing this. Looks simple.


ClientRolePolicy not requiring decisionStrategy and logic fields

Hello!
Thank you so much for maintaining this repository, this provider is awesome and extremely powerful.
Required Fields
In my playing around with it, I have noticed a small issue with the ClientRolePolicy resource. The first is that I believe the decisionStrategy and logic fields should both be required. If you exclude either of these, the keycloak server will respond with a 500 error, and in the keycloak log it will look something like this:
Caused by: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") to `org.keycloak.representations.idm.authorization.DecisionStrategy` value (but could if coercion was enabled using `CoercionConfi
at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 43] (through reference chain: org.keycloak.representations.idm.authorization.RolePolicyRepresentation["decisionStrategy"])

In the example above I purposely left out decisionStrategy, but a very similar error is thrown by the keycloak server when leaving out the logic field.
My guess too is that some other ClientXPolicy resources have this same issue.

Good catch, i'll look into that.
Please Provide a Minimal example and what you expect, so I can work with that 👍

@Breee No problem! I think the CRD that gets created by upjet should include decisionStrategy and logic in the array of required fields. I'm not super familiar with how upjet works other than having just read the docs a little bit to understand how this project is built, but it seems like it might just be something like this in config/openidclient/config.go
...
        p.AddResourceConfigurator("keycloak_openid_client_role_policy", func(r *config.Resource) {
		r.ShortGroup = Group

                if s, ok := r.TerraformResource.Schema["decisionStrategy"]; ok {
                    s.Optional = false
                }

              if s, ok := r.TerraformResource.Schema["logic"]; ok {
                  s.Optional = false
              }
	})

And then that would need to also be replicated on keycloak_openid_client_client_policy, keycloak_openid_client_group_policy, and keycloak_openid_client_user_policy as well I believe.
I'm basing this off of what I found on the upjet docs too so it's kind of just a guess at what needs to be done. If you'd like I'm more than happy to take a stab at trying to fix it and writing up a PR!

#156  should fix that - i'll merge that after #155

merged #156
new release v1.4.0 is available


My version

Here's my version, had it like this for a few years now.
I control the listings in a separate document, because I have so many different experiments there. But I also got the possibility to list everything in my localhost folder.

That's nice, @tnViking, thanks for sharing!
Do you have a repository of the project? Hit me with the link, I'm thinking of adding an “Alternatives” section on the README, so people can see the different approaches :D

I don't have a repo of it yet, but I'll clean up the code and post a repo link here
--
Martin Bratteng
http://bratteng.me
On 3. aug. 2015, 12.55 +0200, Edmundo<EMAIL_ADDRESS>wrote:

Closed#1(https://github.com/edmundojr/localhost/issues/1).
—
Reply to this email directly orview it on GitHub(https://github.com/edmundojr/localhost/issues/1#event-371840063).


fix typo based on other PR

thanks to @paulofilip3 - https://github.com/zalando/gin-oauth2/pull/56
Signed-off-by: Sandor Szücs<EMAIL_ADDRESS>

:+1:

:+1:

:+1:

:+1: