Move Extending Kubectl from the SIG CLI guides to the kubectl reference

This is a Feature Request

What would you like to be added

Move the pages under Extending Kubectl from the SIG CLI guides to the upstream kubectl reference
Why is this needed
Part of https://github.com/kubernetes/website/issues/25943. The source code to move resides here. You can refer to https://github.com/kubernetes/website/issues/45600 to see how it can be done.
Comments

/sig docs
/language-en
/help-wanted

/language en
/help

/triage accepted
/priority important-longterm

/assign


Readme待提升的点

0. Model performance

- [ ]  Convert 2D Fig to 3D by ITK-SNAP or something like that, .gif?.

1. Others

- [ ] opencv-python in requirements is not necessary.
- [ ] move shell scripts to specifically folder
- [ ] Link to a demo on AIStuidio?

All the issue is solved


Expense - Same results appear twice when search email on submit expense modal

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when validating #40235
Version Number: 9.0.1-0
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:

Go to FAB> Submit Expense
Enter amount> Next
Type email address that can be seen on the suggested list of emails
Check searched results

Expected Result:
Only one mail address in list results should be present
Actual Result:
Same results appear twice when search email on submit expense modal
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos
https://github.com/Expensify/App/assets/38435837/726a69d2-c785-4ddc-92a7-7e682335c5b6

View all open jobs on GitHub

@srikarparsi FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
We think that this bug might be related to  #vip-vsb

@TMisiukiewicz @rinej Regression from our PR. Could you plz check this

Thank you @Pujan92

@Pujan92 @srikarparsi I'm gonna take a look on this today

PR #44253 opened

Thanks @TMisiukiewicz, merged the PR, going to request a CP since it's a blocker

PR was CP'd. I see the blocker label was removed, but did we confirm this is fixed?

We did, answered here

I think we just need to pay @Pujan92 here for reviewing the PR right?

No payment for me @srikarparsi, it's regression from the PR I reviewed.

Issue is fixed!
https://github.com/Expensify/App/assets/93399543/8a136dbf-d7d1-40d9-b73e-94344892ecb1

No payment necessary


Branching strategy

Following the jenkinsfile example, we need to define a way to handle branches, after a long discussion/argument over the same solution, @madzfe and I came up with something like this:
...
stages:
  - name: Build Image
    type: docker_build
  - name: Run Tests
    type: command
    params:
      ...
  - name: Publish image
    type: docker_publish
  - name: handle branches
    type: multi_branch
    params:
      branches:
        staging:
          - type: command
            params: ...
          - type: command
            params: ...
        master:
           ...
        default**:
           ...

So far, we think this is a flexible way of handling branches. basically when a build is created, the multi-branch part will get parsed and the actual list of stages will be added to pipeline. the default** means it's the behaviour if no branch is matched.

the new pipeline format will have something similar too (after the api refactor).


PHP tests are broken

Description
After a minor ubuntu(ubuntu-latest == 18.04) update  20200817.1 -> 20200825.1 our tests are broken without any changes in repo
Area for Triage:
PHP, Databases
Question, Bug, or Feature?:
Bug
Virtual environments affected

[ ] macOS 10.15
[ ] Ubuntu 16.04 LTS
[x] Ubuntu 18.04 LTS
[ ] Ubuntu 20.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
tests pass normally
Actual behavior
Tests fail with error:
SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails

@Kitton , could you please provide minimal repro steps for your issue? Does your build use any external dependencies (like remote databases or similar)?
You can find all updates that come with 20200825.1 in pull-request: https://github.com/actions/virtual-environments/pull/1495. As I can see, new image doesn't bring any updates related to PHP or SQL

@maxim-lobanov it will be a bit tricky for me to create such repo.
We use<EMAIL_ADDRESS>from the marketplace and in ubuntu-20.04 20200825.1 everything keeps working fine

@Kitton ,
Unfortunately, we can't investigate issue deeper without repro steps.
Despite the fact that your build started to fail after 20200817.1 -> 20200825, I think that issue can be caused by something different because

Error message that you mentioned in the issue description comes from MySQL.
Your builds don't use pre-installed MySQL. Since you use mirromutth/mysql-action, it setup own MySQL instance using docker container and it is used by your build
ubuntu-18.04 20200825.1 and ubuntu20.04 20200825.1 were built on the same commit from this repository so they should be the same from content side. As you mentioned, switching from ubuntu18.04 to ubuntu20.04 resolved the issue.
No image changes were done that could cause this issue. Full diff of source code for 20200817.1 -> 20200825 can be found here.

I am closing this issue for now but please let us know if it is still an issue for you and you are ready to provide additional information


Test anvil with truncating history to ease memory usage of anvil

Testing shows truncating history doesn't ease memory usage. Won't do.


Added visible option to \yii\bootstrap\Tab widget items. Instead of `a...

Added visible option to \yii\bootstrap\Tab widget items. Instead of active attribute it determines whether the item tab header and pane should be rendered or not.

Migrated to https://github.com/yiisoft/yii2-bootstrap/issues/40


HDDS-8016. updated the ozone doc for linked bucket and deletion async limitation

What changes were proposed in this pull request?

linked bucket behaviour clarity for quota usages
limitation for quota cleanup asynchronous

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8016
How was this patch tested?
document update

LGTM +1.  Thanks @sumitagrawl.


Secret Encryption

Good morning,
I'd like to ask regarding secret encryption feature..
I implemented it on our k3s cluster , but when I want recreate multiple times I'm getting mentioned errors
FATA[0000] see server log for details: https://<IP_ADDRESS>:6443/v1-k3s/encrypt/config: 400 Bad Request secrets-encrypt error ID 11737
as it is describe on "Secrets Encryption Test Plan"
is there any update about this feature please?
Thank You

I implemented it on our k3s cluster
How did you go about enabling secrets encryption?

when I want recreate multiple times I'm getting mentioned errors

What specific command are you running when you see this error?

curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --write-kubeconfig-mode 644 --secrets-encryption --disable=traefik --disable=coredns " sh -

Was this the first time K3s was installed on this node, or was k3s already installed and running when you added the --secrets-encryption flag?

400 Bad Request secrets-encrypt error ID 39582

Check the k3s service log for an error message with this same ID.


How to implement lists using TextKit 2

This sounds like you are looking for general help with TextKit 2. I'm afraid this is not the place! But, perhaps you want to check out the apple developer forums?


implements Record class style

I'v failed to implement Record class style using only extension templates because setters should be private and this needs to edit Class.liquid
So:

new Record class style is implemented
DotLiquid updated (previous version does not support sort array filter)
.editorconfig added for managing indents

Shouldn't we use lower cased (first letter) parameter names?

In general I would prefer lowerCamelCase for parameters. But while looking current implementation I'v stopped on property.Name as it is used already for JsonProperty.
If you do prefer using lowerCamelCase I'll look forward to introduce needed changes.

I think we should add this as built-in filter:
https://github.com/RSuter/NJsonSchema/blob/master/src/NJsonSchema.CodeGeneration/DefaultTemplateFactory.cs#L174
e.g. lowerCamelCase which we can use everywhere and so that we can also in other places (i.e. remove the BlaLower properties in other model classes). This should just call ConversionUtilities.ConvertToLowerCamelCase. What do you think?

Ok will do it! )

Done :)

Thank you, i've updated the ctor with the new filter... Why do we render the original constructor?

By default it is empty, so if user in some case wants to have another constructor, why should we stop him?


"Quickstart" and "Installation" documentation can benefit from an update

Very interesting package and excellent documentation.  Thank you.
Constructive feed back:

Throughout, the documentation, references are made only to pip, the Python 2 package utility.  It should be noted that pip3 (Python 3 package utility) works well to.  Ditto for conda of the popular Anaconda/Miniconda Python packaging strategies (Python 3).  I point this out because a large number of developers and scientists are migrating to Python 3 (or have already).

The use of statement terminators (;) in both flavors of Python is unnecessary.

In the example on the first page, %matplotlib inline is unnecessary.  The statement tpf.plot(frame=1) will get the job on its own.

The "If you get a PermissionError ..." paragraph: Linux and Unix users can employ the sudo utility to temporarily become the root (administrator).  Other OSes have analogous vehicles. If you install packages in a private directory (E.g. $HOME), then this might disrupt the overall strategy for package management.  Note that using Anaconda(your recommendation)/Miniconda instead of pip/pip3, of course, provides consistent package management among other features.  I would also steer Python package users to Anaconda/Miniconda.

I followed the github process documented for installing from github and making local documentation.  It would be helpful to note the additional required packages above and beyond the Requirements list:
sphinx_rtd_theme, nbsphinx, sphinx_automodapi
When completed, the documentation has the same appearance as on the web site - quite good.

Again, excellent documentation.
From Getting Started, the complete first program:
from lightkurve import KeplerTargetPixelFile

tpf = KeplerTargetPixelFile.from_archive(8462852, quarter=16,
                                         quality_bitmask='hardest')
tpf.plot(frame=1)
lc = tpf.to_lightcurve(aperture_mask='all')
print("lc.time:", lc.time, "\nlc.flux:", lc.flux)
lc.plot(linestyle='solid')

@texadactyl Many thanks for taking the time and effort to post constructive feedback, your input is very much appreciated.  We will seek to act on your comments via this issue soon!

Happy to assist.

On http://lightkurve.keplerscience.org/tutorials/2.02-recover-a-planet.html (example), the following is depicted towards the bottom "In [8]":
import matplotlib.pyplot as plt
but it is never used.  I am guessing that
flat.fold(best_fit).plot(alpha=0.4)
replaced the plt() call.


TMDM-9895 : [DI] TDS - Campaign Chooser back-end - Integrate with tDa…

…taStewardshipTaskOutput (refactor TdsConnection to improve performance)

Pull request test result: success :star:

Pull request test result: success :star:

OK to merge


Rclone sync from S3 to lakeFS failing

Running the command (rclone v1.56.2) to sync data from S3 to lakeFS (deployed on ECS):
rclone sync remote://lakefs-scale-demo/data/ lakefs:my-repo/main/ --dump requests
give the following response:
paulsingman@Pauls-MacBook-Pro ~ %  rclone sync remote://lakefs-scale-demo/data/ lakefs:my-repo/main/ --dump requests
2021/10/20 11:36:30 NOTICE: Automatically setting -vv as --dump is enabled
2021/10/20 11:36:30 DEBUG : rclone: Version "v1.56.2" starting with parameters ["rclone" "sync" "remote://lakefs-scale-demo/data/" "lakefs:my-repo/main/" "--dump" "requests"]
2021/10/20 11:36:30 DEBUG : Creating backend with remote "remote://lakefs-scale-demo/data/"
2021/10/20 11:36:30 DEBUG : Using config file from "/Users/paulsingman/.config/rclone/rclone.conf"
2021/10/20 11:36:30 DEBUG : You have specified to dump information. Please be noted that the Accept-Encoding as shown may not be correct in the request and the response may not show Content-Encoding if the go standard libraries auto gzip encoding was in effect. In this case the body of the request will be gunzipped before showing it.
2021/10/20 11:36:30 DEBUG : fs cache: renaming cache item "remote://lakefs-scale-demo/data/" to be canonical "remote:lakefs-scale-demo/data"
2021/10/20 11:36:30 DEBUG : Creating backend with remote "lakefs:my-repo/main/"
2021/10/20 11:36:30 DEBUG : You have specified to dump information. Please be noted that the Accept-Encoding as shown may not be correct in the request and the response may not show Content-Encoding if the go standard libraries auto gzip encoding was in effect. In this case the body of the request will be gunzipped before showing it.
2021/10/20 11:36:30 DEBUG : fs cache: renaming cache item "lakefs:my-repo/main/" to be canonical "lakefs:my-repo/main"
2021/10/20 11:36:30 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021/10/20 11:36:30 DEBUG : HTTP REQUEST (req 0xc000596800)
2021/10/20 11:36:30 DEBUG : GET /?delimiter=%2F&encoding-type=url&max-keys=1000&prefix=data%2F HTTP/1.1
Host: lakefs-scale-demo.s3.us-east-1.amazonaws.com
User-Agent: rclone/v1.56.2
Authorization: XXXX
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20211020T153630Z
Accept-Encoding: gzip

2021/10/20 11:36:30 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021/10/20 11:36:30 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021/10/20 11:36:30 DEBUG : HTTP REQUEST (req 0xc000428700)
2021/10/20 11:36:30 DEBUG : GET /my-repo?delimiter=%2F&max-keys=1000&prefix=main%2F HTTP/1.1
Host: penv.lakefs.dev
User-Agent: rclone/v1.56.2
Accept-Encoding: gzip

2021/10/20 11:36:30 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2021/10/20 11:36:32 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2021/10/20 11:36:32 DEBUG : HTTP RESPONSE (req 0xc000428700)
2021/10/20 11:36:32 DEBUG : HTTP/2.0 200 OK
Content-Length: 517
Accept-Ranges: bytes
Cache-Control: no-cache, private, max-age=0
Content-Type: text/html; charset=utf-8
Date: Wed, 20 Oct 2021 15:36:32 GMT
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Last-Modified: Sun, 10 Oct 2021 15:11:56 GMT
Pragma: no-cache
X-Accel-Expires: 0

2021/10/20 11:36:32 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2021/10/20 11:36:32 DEBUG : S3 bucket my-repo path main: Retrying listing because of characters which can't be XML encoded
2021/10/20 11:36:32 DEBUG : pacer: low level retry 1/10 (error SerializationError: failed to decode REST XML response
	status code: 200, request id:
caused by: XML syntax error on line 9: attribute name without = in element)

My rclone config looks like:
paulsingman@Pauls-MacBook-Pro ~ % cat /Users/paulsingman/.config/rclone/rclone.conf
[lakefs]
type = s3
provider = Other
endpoint = https://penv.lakefs.dev
no_check_bucket = true
force_path_style = true

[remote]
type = s3
provider = AWS
env_auth = true
region = us-east-1
acl = private
bucket_acl = private
sse_kms_key_id = q

Sorry!  I am unable to reproduce this so I would like some more information:

The reason for no_check_bucket is #2447.  However this prevents rclone from verifying some things, so (sorry) I'm going to have to ask you to verify that you have a repo my-repo with a branch main (e.g. lakectl fs ls lakefs://my-repo/main/)
What version of lakeFS are you using?
Can you try again, this time with --dump headers,bodies,requests,responses?  Maybe I can get enough information from there.


Expand on the goals of our reconciler patterns design

looks like i missed this PR by 1 minute lol 😼


Create 1_TwoSumLeetCode

Problem from the leetcode 1.Two Sum

Sorry to inform but this repository has been excluded from hacktoberfest. So inorder to make your PR count towards hacktoberfest, request you to make your contribution in this repository -> https://github.com/SR-Sunny-Raj/Hacktoberfest2022-for-all

Sorry to inform but this repository has been excluded from hacktoberfest. So inorder to make your PR count towards hacktoberfest, request you to make your contribution in this repository -> https://github.com/SR-Sunny-Raj/Hacktoberfest2022-for-everyone


As a CIF user, I want to update fields in the project details form using the routinely edited fields workflow, so that I can make edits while an Amendment is open

Description:
Broken out from 1158
Allow users to update the fields below without following the "New Revision" workflow. (In the backend, it would create a new revision of type 'general revision', apply the change and commit it. This will preserve change history while allowing quick edits to certain fields. Backend work handled in https://github.com/bcgov/cas-cif/issues/1380)
Example designs:

Generic example 1: for fields with Dropdown as front-end component
Generic example 2: for fields with Date Picker or Text Input as front-end component

Acceptance Criteria:
Given I am on the project details view page
When I update any of the fields on the page  and click "Update"
Then the changes are saved as a general revision and committed
All of the fields on this page should be updatable by routinely updated widget:

Tech Team Primary
Tech Team Secondary
Ops Team Primary
Ops Team Secondary
Primary Contact
Secondary Contact

Development Checklist:

[ ] The fields should use the widget created in #1382
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[x] User story is included
[x] User role and type are identified
[x] Acceptance criteria are included
[ ] Wireframes are included (if required)
[x] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[x] Story has been estimated (under 13 pts)

Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Project Status is a routinely updated field but is handled in a different ticket

Hey team! Please add your planning poker estimate with Zenhub @dleard @mikevespi @sam-warren @gurjmatharu @Sepehr-Sobhani @tmastrom

Backlog refinement (Feb 22, 2022): There are still a lot of outstanding questions to support moving amendments and revisions. Taking a pause to do a more in-depth review/whiteboarding session before continuing with the implementation of this EPIC.

@LindsayMacfarlane  @Dianadec This is part of routinely updated fields and can be iceboxed/retired for now

Removed from current Amendment & Revisions EPIC.


Content length response header incorrectly parsed

When requesting the length using ctx.length, Koa parses the content length response header using the double tilde operator: https://github.com/koajs/koa/blob/master/lib/response.js#L214 However, this operation also performs a 32-bit conversion, resulting in incorrect and weird results when serving large files. Isn't it therefore better to use the Math.trunc() function instead to parse the content length response header?

using Math.trunc is 5% slower on 100 000 000 iterations of res.length when it's set to 164 chars.

Fixed in 9be858312553002841725b617050aaff3c48951d


Solves CSP JavaScript problem for DatePicker

Description
As mentioned in bug #4529, there is still an issue with the DatePicker and CSP for inline JavaScript code. See
https://github.com/MudBlazor/MudBlazor/issues/4529#issuecomment-1150986829
The problem is the handling of the mouseover event on the control. This is where inline JavaScript code is dispatched, which is blocked by a restrictive CSP.
We have enabled unsafe-inline for CSS. But this also very reluctantly. But for JavaScript we can't do this for security reasons. And hash we don't want to manage. Hence this PR.
The problem can also be traced on MudBlazor.com. Here the problem occurs at the moment as well.

This PR solves this problem idem the JavaScript code was moved to MudBlazor.js.min.
In general, we wonder why this code is used by Mouseover Handling. Since it is working fine we didn't notice that the code execution was blocked. Only the browser log revealed that we probably have a problem here. If it is dead code, I will be happy to adjust the PR and remove the mouseover.
If other adjustments are needed, please provide feedback quickly. We hope it will be adopted this PR as soon as possible 😉
How Has This Been Tested?

Manual testing (JS integration)
The fix can also be reproduced with the examples in the documentation
UnitTest were adjusted

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Hi.
I don't think we need IMudDatePickerService \ MudDatePickerService, it's an overkill. Just leave the DatePickerInterop and initialize it in MudBaseDatePicker constructor as private readonly field.

Hi @ ScarletKuro
I have deleted the service and now inject the DatePickerInterop. Since it is a blazor component I can not pass the IJSRuntime in the constructor. If I want to work with a new keyword then I could do an inject of IJSRuntime and then set the private field in OnInitilize. But this is not nice either.
Is the customization ok like this?

I have deleted the service and now inject the DatePickerInterop. Since it is a blazor component I can not pass the IJSRuntime in the constructor.

You are right.

Is the change ok like this?

Yeah, leave it as is for now.

Sorry for seeing this so late. We have a policy to never directly call JS from any component. Of course @ScarletKuro is right, that an extra service is overkill in this case, but we'll want to move the js calls into our JsApiService which is where we collect all the JS calls that have no service.

We'll want to move the js calls into our JsApiService which is where we collect all the JS calls that have no service.

We then need to apply this for DropZone and ThemeveProvider as well.

We'll want to move the js calls into our JsApiService which is where we collect all the JS calls that have no service.

We then need to apply this for DropZone and ThemeveProvider as well.

Of course, that obviously slipped under my radar.

Hello @henon, @ScarletKuro
I have generalized the JavaScript code and moved the wrapper code to the JsApiService class. I hope the customization is ok like this?
I assume that the customizations to DropZone and ThemeProvider are not done in this PR? Since it is a refactoring but the function of DropZone and ThemeProvider do not lead to any CSP violation.

@henon what about this proposal?
public class JsApiService : IJsApiService
{
        private readonly IJSRuntime _jsRuntime;

        internal DatePickerInterop DatePickerInterop { get; }

        public JsApiService(IJSRuntime jsRuntime)
        {
            _jsRuntime = jsRuntime;
            DatePickerInterop = new DatePickerInterop(jsRuntime);
        }
        ...
    }
}

public abstract partial class MudBaseDatePicker
{
        [Inject] private IJsApiService JsApiService { get; set; }

        private ValueTask HandleMouseoverOnPickerCalendarDayButton(int tempId)
        {
            return this.JsApiService.DatePickerInterop .UpdateStyleProperty(_mudPickerCalendarContentElementId, "--selected-day", tempId);
        }
}

In future it will fix problem in case IJsApiService will have tons of javascript methods.
I also made it internal on purpose. Do we even care to make this methods public? 99% of users won't need it. Will give the flexibility to remove / refactor in future. For example, if some js method won't be needed anymore, we can just remove it from the xxxInterop and we won't need to keep the method and the unnecessary js for backward compatibility.

I assume that the customizations to DropZone and ThemeProvider are not done in this PR? Since it is a refactoring but the function of DropZone and ThemeProvider do not lead to any CSP violation.

Correct.

@ScarletKuro the only thing that speaks against encapsulating the method into a DatePickerInterop would be its general reusability. It looks to me like a method that could potentially be reused by other components too. But of course making the method  internal makes a lot of sense.
I don't think that there will ever be a ton of methods in that service and even if so that would not be a problem.

Do I need to make any adjustments so that we can bring back this PR? The discussion has gone back and forth a bit. There are still some open questions. Or should I close the PR and create a bug for the problem?

@henon: Do I need to make any adjustments so that we can bring back this PR? The discussion has gone back and forth a bit. There are still some open questions. Or should I close the PR and create a bug for the problem?

From @henon suggestions, I understood that it's enough to change:
public interface IJsApiService
{
        internal ValueTask UpdateStyleProperty(string elementId, string propertyName, object value);
}
public class JsApiService : IJsApiService
{
        internal ValueTask UpdateStyleProperty(string elementId, string propertyName, object value);
}

and reply on this concerns https://github.com/MudBlazor/MudBlazor/pull/7295#discussion_r1291353872
and it's ready.

Hello @ScarletKuro
public interface IJsApiService
{
        internal ValueTask UpdateStyleProperty(string elementId, string propertyName, object value);
}
public class JsApiService : IJsApiService
{
        internal ValueTask UpdateStyleProperty(string elementId, string propertyName, object value);
}

This suggestion results in an error: JsApiService.cs(14,35): Error CS0737 : 'JsApiService' does not implement interface member 'IJsApiService.UpdateStyleProperty.....
The following code would work:
public interface IJsApiService
{
        internal ValueTask UpdateStyleProperty(string elementId, string propertyName, object value);
}

public class JsApiService : IJsApiService
{
        public ValueTask UpdateStyleProperty(string elementId, string propertyName, object value);
}

But I don't really know if this is really good design. If this method should really become internal, I would rein it back into own service.  And mark this service also internal. This way it is also ensured that the service can't be exchanged by someone via DI.

Then can you make it like this?
public interface IJsApiService
{
        internal ValueTask UpdateStyleProperty(string elementId, string propertyName, object value);
}
public class JsApiService : IJsApiService
{
         ValueTask IJsApiService.UpdateStyleProperty(string elementId, string propertyName, object value);
}

i.e. explicit implantation, I checked and it works. I'd push the changes in this PR, but since you forked it on the organization I don't have the access.

But I don't really know if this is really good design.

This is ok for us for now, there is plan to refactor this is future major version anyway.

Thank you very much @Schaeri !

Haha, @ScarletKuro we were both trying to change title and merge at the same time. Sorry, I didn't notice

I didn't notice too, lol.


Fix bot config to merge PRs in next

This PR is intended to fix the merge bot used for merging PRs in next.
There are two auto-merge task added:

If the label -- msftbot: merge-next is added, the bot would squash-merge the PR in next
If the label -- main-next-integrate is added, the bot would merge the PR in next

Not sure if we want to have the merge functionality after adding the main-next-integrate label on main/next PRs. The reason being we anyways fast-forward the commit to avoid two merge commits in next. I was thinking of removing the

Not sure if we want to have the merge functionality after adding the main-next-integrate label on main/next PRs. The reason being we anyways fast-forward the commit to avoid two merge commits in next.


Svcs 316 initial deployment

Description

What's included?

One
Two
Three

Test Steps

[ ] npm run serve
[ ] then this
[ ] finally this

General Tests for Every PR

[ ] npm run serve:prod still works.
[ ] npm run tslint passes.
[ ] npm run stylelint passes.
[ ] npm test passes and code coverage is not lower.
[ ] npm run build:lib still works.

Screenshots or link to StackBlitz/Plunker

Requested by mistakenly.


Second assertion throws as error

For an assertion like here
      helper.world.browser.
          waitForExist('input[name="' + property + '"]').
          isExisting('input[name="' + property + '"]', function (err, result) {
            assert.equal(result, show, 'expected ' + property + ' existing to be ' + show)
          }).
          call(callback);

If the assertion fails for the second time, it throws as an error and the Meteor server is restarted.

This has virtually disappeared with https://github.com/xolvio/meteor-cucumber/commit/8b2a2da89f14e2cd581b2c19158aa0c32777fd59

Great to hear, though I'm still having some infinite error loop issues. Most likely due to error bubbling in the child_processes.


refactor: deprecate SignedXml.signingKey in favor of SignedXml.publicKey and SignedXml.privateKey

Originally posted by @djaqua in https://github.com/node-saml/xml-crypto/issues/295#issuecomment-1585340720
So, I'm late to the party, but I think I have caught up with what's happening here. Bare with me -- read this slowly because this should clear up a lot of confusion. I know I can be a bit long-winded, but I promise this will shed some light on the madness.
Private Keys and Public Keys
@shunkica , @cjbarth , @LoneRifle I ended up having to learn a lot more about digital signatures than I ever really wanted to learn in order to make a PR a few months ago. According to the Wikipedia on Digital Signatures (and you can verify this on the command line with openssl):

Two main properties are required. First, the authenticity of a signature generated from a fixed message and fixed private key can be verified by using the corresponding public key. Secondly, it should be computationally infeasible to generate a valid signature for a party without knowing that party's private key.

So this means that either a private key or a public key (i.e. a certificate) can be used to generate the signature itself. The API specs that dragged me into this project in the first place even say that the service will generate a signature in the response based on the public key I use in my request (e.g. a BinarySecurityToken from the WS-Security standard)
Current xml-crypto Implementation
So, with that understanding of the digital signatures, lets look at the two ways that SignedXml uses signingKey

generate a signature using a private key (e.g. line 897 in signed-xml.js)
validate a signature using a public key/certificate (e.g. line 407 in signed-xml.js)

When generating a signature, one need only set SignedXml.signingKey to the Private Key. Optionally, an implementation of KeyInfoProvider that implements getKeyInfo by returning a valid formatting of the public key can be used in order to transmit the public key. In this case, if you use StringKeyInfo or FileKeyInfo, it doesn't matter what you construct it with since the default implementation of getKeyInfo does nothing with the key parameter
When validating a signature, SignedXml.keyInfoProvider must be an instance of KeyInfoProvider that implements getKey by returning the private key. This means that if you use FileKeyInfo or StrignKeyInfo, you must construct it with the private key.
The Reason for the Confusion
you cannot use the same instance of KeyInfoProvider (regardless of implementation)  for both the generation and validation of a signature on the same instance of SignedXml because of line 380. This is because in one context, SignedXml.signingKey is being treated as the Private Key (for generating a signature) and in the other context, SignedXml.signingKey is being treated as the Public Key (for validating a signature).
The solution

deprecate SignedXml.signingKey altogether in favor of using SignedXml.publicKey and SignedXml.privateKey -- we may be able to deprecate KeyInfoProvider in favor of something like KeyInfoProviderV2
[out-of-scope, to be handled in future issue] implement the Facade that the other guy mentioned on that other thread. I have an idea of how to do this -- whose interested?

Conclusion
Again, sorry for the long explanation, but the situation needs to be understood holistically in order to put KeyInfoProvider issues to bed ... forever. Strange as it may sound, the purpose of KeyInfoProvider is pretty ingenious (@yaronn I actually love this thing even if it causes a lot of problems), but it needs some work.

@djaqua , does the linked PR address your immediate concerns as a phase 1? I don't think we ever came to a better solution for how we might rework KeyInfoProvider to be easy to use and address multiple needs.


Pscis submit 2023

spreadsheet is ready for final review and then it can be submitted

removed duplicate site
updated script to fix time zone issue
appended moti culvert ids and times.
moved pscis_export_submission.csv  to inputs_extracted folder
added structure, type, and size

Sweet.  Need the photos to

Here is the latest version of the script to get all the photos into one place https://github.com/NewGraphEnvironment/fish_passage_skeena_2023_reporting/blob/main/scripts/01_prep_inputs/0140-pscis-export-submission.R

of course will need to be run twice to get photos from both QGIS projects vs just the one as in the Skeena

maybe let me know via slack when you start if you get to it. Still focusing on Neexdzi Kwa and prepping for Fraser with available tiime.  Once the photos are there I can fire up the widows box and  go through the annoying submission process


Blockchain Explorer - Week - 3

📝 Weekly Report For TNB Team
Basic Details
🏟 Name of the TNB Team: Blockchain Explorer
📅 Report Date: 03-08-2021
📜 Team Work Report
✅ Accomplishments this week

Setup domain tnbexplorer.com
Launched faucet bank.tnbexplorer.com/faucet

🚩 Goals for next week

Transaction-log API
New screen designs
Various feature implementations

👨💻👩💻 Team Members Contribution Details
@w3bh4ck : 463f21863565e1f5e3c8b6d9af78571570df84129a084ef5d91834795e6c8b77

Setup Redux/Thunk for global state management - https://github.com/open-blockchain-explorer/Website/pull/9
Revert "Tooling: Updated linting and precommit hooks" - https://github.com/open-blockchain-explorer/Website/pull/8

@tomijaga : e5a28dabeb1d128ff3517143e009282e91d9294c1cd238a711e6debbd9c5a1c7 (already TNB member)

Updated Network stats, Header Nav and Transactions Page - https://github.com/open-blockchain-explorer/Website/pull/5
Fixed broken layout UI on MacOS

@dhakal0kushal : 22d0f0047b572a6acb6615f7aae646b0b96ddc58bfd54ed2775f885baeba3d6a (also in Coinratecap)

Made promo video for Testnet Faucet - https://www.youtube.com/watch?v=agePcwVa72Q

@nishp77 : 22d0f0047b572a6acb6615f7aae646b0b96ddc58bfd54ed2775f885baeba3d6a (already TNB member)

Did not work this week

@itsnikhil try to make it by Sunday UTC from next week.


[BUG] Fix bug with reasonable_startup_time spec test.

Describe the bug
The envoy / slow startup time spec test is reporting a startup time of 1sec. Which is incorrect and causing intermittent CI failures.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):

OS [e.g. Linux, iOS, Windows, Android]
Distro [e.g. Ubuntu]
Version [e.g. 18.04]
Architecture [e.g. x86, arm]
Browser [e.g. chrome, safari]

How will this be tested? aka Acceptance Criteria (optional)
(optional: unnecessary for things like spelling errors and such)
Once this issue is address how will the fix be verified?
Additional context
Add any other context about the problem here.

NOTE: you can enable higher logging level output via the command line or env var. to help with debugging
# cmd line
./cnf-testsuite -l debug test

# make sure to use -- if running from source
crystal src/cnf-testsuite.cr -- -l debug test

# env var
LOGLEVEL=DEBUG ./cnf-testsuite test

Also setting the verbose option for many tasks will add extra output to help with debugging
crystal src/cnf-testsuite.cr test_name verbose

Check usage documentation for more info about invoking commands and logging

@denverwilliams review. may be invalid and fixed else where

@denverwilliams @agentpoyo @HashNuke can this issue be closed?


Update how_to_launch_and_run_apollo.md

Corrected path of demo_guide

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Update users.asciidoc

Add Heroku Streaming Data Connectors (managed Debezium)

Haha, so should have I, also didn't realize it was there already :) Thanks for your effort nevertheless!


PIP 106: Negative acknowledgment backoff

Motivation
Apache Pulsar supports the at-least-once message delivery semantic which can tolerate the consumer failure such as the consumer write the data to the database but the database might offline for a while, call an external HTTP server but the HTTP server is not available or maybe the parts of the consumer fault(can’t connect to the database or HTTP server).
In general, the consumer is not able to process the message successfully, what we can do for the above case is we can redeliver the message after processing the message failure so that the message can be redelivered to other consumers(for the Shared subscription). This is a frequently used example:
Message msg = consumer.receive();

try {
      process(msg);
	consumer.acknowledge(msg);
} catch (Exception e) {
      consumer.negativeAcknowledge(msg);
}

But you might don’t want to redeliver the message immediately, give non-working services(HTTP server, Database) some time to recover to avoid the extra overhead caused by too frequent retries. Currently, we can specify a delay for the message redelivery by the negative acknowledgment.
client.newConsumer()
    ....
    .negativeAckRedeliveryDelay(1, TimeUnit.SECONDS)
    .subscribe();

But this is not flexible enough, so the proposal is to introduce a redelivery backoff mechanism which we can achieve redelivery with different delays according to the number of times the message is retried such as 1s, 2s, 4s, 8s, 16s in the next 5 times message redelivery.
-> reconsumeLater
Approach
The approach is to introduce a NegativeAckRedeliveryBackoff at the client-side, users can specify a NegativeAckRedeliveryBackoff for a consumer. And the client will provide an implementation NegativeAckRedeliveryExponentialBackoff.
The NegativeAckBackoff cannot be used with redelivery delay together, and the default redelivery delay will not change.
Users are also able to implement a specific NegativeAckRedeliveryBackoff, For some frequently used backoff implementations, we should also support it in pulsar clients to provide users with an out-of-the-box experience.
Notice: the consumer crashes will trigger the redelivery of the unacked message, this case will not respect the NegativeAckRedeliveryBackoff, which means the message might get redelivered earlier than the delay time from the backoff.
API changes
The new NegativeAckBackoff interface
interface NegativeAckBackoff {

	long next(int redeliveryCount);

}

A new method for building the consumer
client.newConsumer()
    ....
    .negativeAckRedeliveryBackoff(...)
    .subscribe();

Notice: the NegativeAckRedeliveryBackoff will not work with consumer.negativeAcknowledge(MessageId messageId) because we are not able to get the redelivery count from the message ID.
Compatibility
The proposal will not introduce any compatibility issues.
Tests Plan
Unit tests & integration tests

@eolivelli Yes, make sense, will update this part.

The PR get merged so close the issue for now.


Promote DeprecationWarning to UserWarning so people will see it

At the moment no-one sees this warning apart from in tests:
https://github.com/bluesky/bluesky/blob/0943efdc9ba8ecff9b5c59cb0f5a38d7bb8ef1c3/bluesky/utils/__init__.py#L1810
Promote it to a UserWarning so people see it

Reviewers: @jwlodek


Object conversion errors

I made a Fangame called FlappyBirdBetter, it shouldn´t be online, but I found out that Objects were not converted correctly. Some Objects had bigger hitboxes, some were not even converted, and some were just converted but not shown, or the were not shown really. @kaiec, I am going to send it to you on Discord.
The Conversion failed and sometimes objects were faster than they should be.
A solution to the Object conversion could be that Pystage could get the (.sprite3) Files out of the Projects ant convert them into PNG format (For transparency effects) without any trouble and then get the Codes from The Scratch Blocks and convert it to Python. If it already functions like that, then the conversion should be changed or made better.

I can't debug whole projects, please submit a minimal Scratch project that demonstrates the problem. SVG files are usually supported, NanoSVG is used: https://github.com/memononen/nanosvg
NanoSVG has some limitations so it is to be expected that sometimes images do not look correct.
Automatic conversion beyond NanoSVG is not easy, we tried this in the past. A converter would need the proper license and has to work cross-platform, so far none of the available ones worked good enough.
It is much easier and more reliable to have the users do the conversion themselves, so, yes, if you want maximum quality, you have to convert the files yourself. Inkscape is the recommended weapon of choice or some other graphics program (which obviously can't just be included in PyStage as another dependency). The recommended file format for images in PyStage is png.

Is there no converter from SVG to PNG? Maybe this is the problem:
Maybe you could use the SVG format to png Format with this converter: https://github.com/oslllo/svg2?tab=readme-ov-file
Also it can be used for multiple picture formats, which can be used if the SVG is not good enough, also you could use this tool for upgrading our system if you learn how to work with it. It may be awkward and very bad, but it could be possible. Or is it too complicated?

Closing this as not reproducible and/or resolved as not something that can be fixed in PyStage.


Revert cell memory metric changes

What
Reverts the changes made in #2551 because they broke the chart in prod and prod-lon.
How to review
Check I reverted all of the commits in the original PR.

🚨⚠ Please do not merge this pull request via the GitHub UI ⚠🚨

Not yet. I'm working on that today.


Add grouping support to MudSelect

Feature request type
Enhance component
Component name
MudSelect
Is your feature request related to a problem?
Currently, I can't group MudSelect items.
Describe the solution you'd like
Much like HTML allows for selects via its <optgroup> element, I'd like to request such support for MudSelect, too.
Have you seen this feature anywhere else?

(Taken from the MDN's <optgroup> article.)
Describe alternatives you've considered
None, because MudBlazor is the best for me & I'd rather submit enhancement requests than using other frameworks. ❤🔥
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

DUP #5405

Whoops, didn't found that one while searching for dups. Sorry 'bout that, will close immediately! 😅


Fix: fixes regex in YouTube AutoEmbedPlugin

Resolves #4887

@fantactuka could this be merged?

@ivailop7 multiple tests are failing including YouTube embed related ones, from what I see. Can we please revert or roll forward a fix?

@ivailop7 multiple tests are failing including YouTube embed related ones, from what I see. Can we please revert or roll forward a fix?

I saw them, but they seemed like the 'standard' test failures. Will revert.

There generally shouldn't be failures on retry outside of Linux collab tests, AFAIK

I've noticed sporadic failures on Mac and Windows as well, raised the revert commit.


WinUi 3 desktop app doesn't open camera. and is there any way that can open default system camera and capture image

CameraCaptureUI captureUI = new CameraCaptureUI();
        StorageFile photo = await captureUI.CaptureFileAsync(CameraCaptureUIMode.Photo);

        if (photo != null)
        {
            CameraCapture.Source = new BitmapImage(new Uri(photo.Path));
        }

CameraCaptureUI  it doesn't open camera. even  CaptureElement  does not find on UI

I think CameraCaptureUI requires you to invoke IInitializeWithWindow and pass the window handle.

hi @Jaiganeshkumaran ,here FileOpenPicker  IInitializeWithWindow . I was same tried  for CameraCaptureUI IInitializeWithWindow,but it's giving Exception "Element Not Found".I do not know CameraCaptureUI have different Guid or not.

Looks like the CameraCaptureUI does not support IInitializeWithWindow, and expects the caller to be on a CoreWindow thread.  The implementation uses multiple pickers and launchers that need the "with window" treatment. It's an interesting candidate for open-sourcing the implementation for improvement.

Is there any workaround in the meantime?

Just do exactly like Apple and everything will be fine. I know this new Windows SDK is 15 years behind the SDK of Android and Apple, so I won't be too mean. Our app cannot release until we have access to the camera, we need to be able to scan documents with a camera.

Looks like the CameraCaptureUI does not support IInitializeWithWindow, and expects the caller to be on a CoreWindow thread. The implementation uses multiple pickers and launchers that need the "with window" treatment. It's an interesting candidate for open-sourcing the implementation for improvement.

CameraCaptureUI is probably implemented as a wrapper on Launcher::LaunchUriForResultsAsync as it opens the Windows Camera app in a modal dialog, but Launcher::LaunchUriForResultsAsync doesn't work in desktop apps.

Any update on this issue?

No, surely things will get resolved over time. After all the hide-task-bar is still not working half the time 25 years later in Windows 11.

@jonwis What happens with this issue, please? This bug is now included in official release of .NET MAUI. That's not good.

Still wating for this issue to be resolved.

+1 here.
One of the reasons that lead us to believe in MAUI is the possibility of using the HW of the devices, the camera is the most important among them.

So, is this bug the reason why the "Camera" permission is listed as not supported on this MAUI docs page? https://docs.microsoft.com/en-us/dotnet/maui/platform-integration/appmodel/permissions?tabs=ios#available-permissions
This is a pretty important feature to be missing on a platform.

You can use DirectShow (WinUI3_DirectShow_Capture)
or Windows Media Foundation or AVICap for camera capture

I used CameraCaptureUI with Winui 2
https://docs.microsoft.com/en-us/uwp/api/windows.media.capture.cameracaptureui?view=winrt-22621

CameraCaptureUI works fine in UWP but doesn't work in WinUI3.

Any progress on this? A similar thing is happening for me using the Windows.Devices.PointOfService.PosPrinter API, calling PosPrinter.FromIdAsync(deviceInfo.id) returns null in MAUI/WinUI3. Exactly the same code, with the same pointOfService capability enabled in the mainifest, works fine with Xamarin Forms/UWP.

Any progress on this? A similar thing is happening for me using the Windows.Devices.PointOfService.PosPrinter API, calling PosPrinter.FromIdAsync(deviceInfo.id) returns null in MAUI/WinUI3. Exactly the same code, with the same pointOfService capability enabled in the mainifest, works fine with Xamarin Forms/UWP.
This would normally pop up a dialog for the user to confirm they want to pair with the printer, so I'm guessing this is a similar issue to this:
#1034 (comment)

Don't the docs say that the namespace is for UWP apps only?

Well, they come under /UWP in the docs hierarchy but it seems strange that this whole swathe of useful, generic functionality is only available to UWP apps. It's not like we have a choice - Xamarin is being deprecated, UWP is clearly being phased out and MAUI only supports WinUI3. Two years into a project to port a legacy system to modern cross-platform technologies we have essentially had the rug pulled from under us.
After all, most of this stuff - cash drawers, stripe readers, receipt printers etc - does not require any UI, especially in a non-sandboxed world outside of UWP. The dialog that asks you to pair with the printer (it's not even bluetooth, just ethernet) is completely unnecessary in a commercial environment, it preferably just gets done silently in the background.
Fortunately one of the brand of printers we use has their own SDK but we switched away from that to give us the flexibility to switch to any other brand that supports the POS standard. Hopefully there will be no issues with switching back...

In case any one else is working with receipt printers, cash drawers etc, we have now switched to the ESC-POS.NET library: https://github.com/lukevp/ESC-POS-.NET
It's not a particularly smooth process - we first get a list of network printer MAC addresses using the PointOfService API as before. Then use that to get the IP address corresponding to the MAC via some stackoverflow magic, before finally being able to connect to the printer using ESC-POS and build the receipt.

I'm having the same issue while developing in .NET Maui.  Using the .NET Maui Apis, I need to be able to use both MediaPicker.Default.CapturePhotoAsync() and MediaPicker.Default.CaptureVideoAsync() to take a photo and video.
According to the documentation it should work in Windows:
https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/device-media/picker?tabs=windows
...but it doesn't work.
Any progress fixing things?

I'm having the same issue while developing in .NET Maui. Using the .NET Maui Apis, I need to be able to use both MediaPicker.Default.CapturePhotoAsync() and MediaPicker.Default.CaptureVideoAsync() to take a photo and video.
According to the documentation it should work in Windows: https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/device-media/picker?tabs=windows ...but it doesn't work.
Any progress fixing things?

I have the same problems. Any info?

My UWP app uses DisplayRequest, CaptureElement, MediaCapture, BarcodeScanner and ClaimedBarcodeScanner to implement a QR code scanner. All of these APIs should be made available by the Windows App SDK.
I know that I could implement this myself in a different way when migrating to the Windows App SDK. But why would I have to? A QR code scanner is such a standard building block that it just makes no sense at all not having it in the Windows App SDK.

It is sad that nobody from Microsoft steps in to say when this will be fixed.  As a result of WinUI's fault, this is broken in both Maui and Uno.  And I must develop an app that captures pictures...  Sweet, isn't it.

@nikolayvpavlov I haven't tried this myself but I have seen a workaround for taking pictures here. Maybe it helps.

@jonwis after 6 months I am asking again, any progress? Who is responsible for these issues? Why is noone doing anything?

Stop it, don't hurt yourself anymore. Microsoft has abandoned Windows 15 years ago. You should port your app to Android and it will run natively on Windows 11 from the Amazon Store. We are in the same situation, the code is done since 2019 but we are still waiting for MS to provide us with a working webview that support Web 2.0. Webview2 is still not working, It is unusable.
We are stuck with a useless windows app for 3 years now and it will never work. MS is 15 years behind Android, iOS, macOS, Linux... They don't care about new apps. Microsoft is only used to run legacy software nowadays.
Good luck my friend. You should not keep trying at this point, Microsoft does not love you.

I think this PR will fix mui by using the cool community code, but maybe it can somehow be integrated into this SDK? https://github.com/dotnet/maui/pull/13220

one alternative is using the MediaCapture, MediaFrameReader, and relative classes, then, then render each frame to an XAML Image control.

one alternative is using the MediaCapture, MediaFrameReader, and relative classes, then, then render each frame to an XAML Image control.

Or also IMFCaptureEngine that I tested on Windows 10 (WriteableBitmap + Image control), with audio/video recording easy to use (StartRecord  does all the work, without implementing IMFCaptureSink)

I found a work around that works in 1.2 it uses LaunchUriForResultsAsync in a self-contained WinUI3 x64 desktop app:
`
public class CustomCameraCaptureUI
{
private LauncherOptions _launcherOptions;
    public CustomCameraCaptureUI()
    {
        var hndl = App.WindowHandle; //This is a custom helper to get the main window handle

        _launcherOptions = new LauncherOptions();
        InitializeWithWindow.Initialize(_launcherOptions, hndl);

        _launcherOptions.TreatAsUntrusted = false;
        _launcherOptions.DisplayApplicationPicker = false;
        _launcherOptions.TargetApplicationPackageFamilyName = "Microsoft.WindowsCamera_8wekyb3d8bbwe";
    }

    public async Task<StorageFile> CaptureFileAsync(CameraCaptureUIMode mode)
    {
        var extension = mode == CameraCaptureUIMode.Photo ? ".jpg" : ".mp4";

        var tempFolder = await StorageFolder.GetFolderFromPathAsync(System.IO.Path.GetTempPath());
        var tempFileName = $"CCapture{extension}";
        var tempFile = await tempFolder.CreateFileAsync(tempFileName, CreationCollisionOption.GenerateUniqueName);
        var token = Windows.ApplicationModel.DataTransfer.SharedStorageAccessManager.AddFile(tempFile);

        var set = new ValueSet();
        if (mode == CameraCaptureUIMode.Photo)
        {
            set.Add("MediaType", "photo");
            set.Add("PhotoFileToken", token);
            set.Add("MaxResolution", (int)MaxResolution);
            set.Add("Format", 0);

        }
        else
        {
            set.Add("MediaType", "video");
            set.Add("VideoFileToken", token);
        }

        var uri = new Uri("microsoft.windows.camera.picker:");
        var result = await Windows.System.Launcher.LaunchUriForResultsAsync(uri, _launcherOptions, set);
        if (result.Status == LaunchUriStatus.Success)
        {
            return tempFile;
        }

        return null;
    }

    public CameraCaptureUIMaxPhotoResolution MaxResolution { get; set; } = CameraCaptureUIMaxPhotoResolution.HighestAvailable;
}`

Thank you @NicholasChrzan for the workaround. Found this from this trail:
https://github.com/dotnet/maui/issues/5849
https://github.com/microsoft/WindowsAppSDK/issues/3241
I need this for a dotnet MAUI project.
OK now @Microsoft SERIOUSLY? This is STILL an issue after 2 years?
Does anyone see the create date is JULY 3 2021? What's going on over there?

Another vote from a Xamarin user currently converting to .net Maui. Rather surprised to find THIS still being an issue.

I think we worked around this by launching the camera app directly in maui: https://github.com/dotnet/maui/pull/13220
This should be working in .NET 8 now. Does Windows have the ability to change the "default camera app"? Not sure if we are losing a feature by launching the windows camera directly. Not sure I ever saw a way to set an alternate default.

Hi everyone,
We’ve added a new CameraCaptureUI API as part of the WASDK 1.7 Experimental 1 release. The updated API is now available, and we've also added samples for both C++ and C# to demonstrate its usage.
WindowsAppSDK-Samples/Samples/CameraCaptureUI at release/experimental · microsoft/WindowsAppSDK-Samples
To test, please retarget your project to WASDK version 1.7.241114004-experimental1.
We’d appreciate your feedback on whether the samples and API usage are clear, and if the fix works as expected

CameraCaptureUI cameraUI = new CameraCaptureUI(windowId);
This is not pleasant and something that should be improved.  It must be possible to pass the current page / window / parent in the constructor, and it should be able to do the rest automatically.
var file = await cameraUI.CaptureFileAsync(CameraCaptureUIMode.Photo);
It is a bit limiting that we can only capture on a file.  Is it possible to extend the functionality of UWP, and capture on a stream?
Last, but not least: all these helpers in MainWIndow.xaml.cs must be integral part of the API without need for interop with Win32.

I think in the old days, UWP was sort of a "single window" world, so none of this mattered. But with WinUI and all the multi-window worlds, a modal dialog has to block some window and thus you need to specify which one.
Some magic could be added if you only have one window, then just use that. But, this now adds a layer of "worked when I did this, but now crashes with missing window errors" because the first test you only had 1 window, and the second test you had 3 windows.
I think it all has to do with the modal window idea. Maybe this API should not be blocking and have a non-modal option? So if you don't pass in a window ID then it just pops up a dialog with no blocking of the other windows.

Hi @nikolayvpavlov
Thank you for taking the time to test the new CameraCaptureUI API and for sharing your valuable feedback!
Regarding your points:
WindowId Constructor Parameters: We appreciate your suggestion to make the constructor more intuitive by passing the current page/window/parent directly. However, for now, we’ve kept the windowId parameter to ensure to support WinUi3 AppWindow (has Id()) & Window, and also Win32 apps which might be using HWNDs. Could you elaborate on the difficulties you see with the WindowId?
Capture on Stream: Great feedback. For WASDK1.7 release, our primary goal is to uplift the original UWP CameraCaptureUI API and support it in the WinAppSDK. We will explore it in upcoming release.

@mattleibow Thank you for sharing your thoughts.
We believe the current behavior of blocking the window is by design. The CameraCaptureUI flow is intended to be a modal interaction, meaning it should start and complete before allowing other user interactions. This ensures the camera capture process is smooth and doesn’t conflict with other UI actions, there also might be hardware limitations.
Could you elaborate on the issue you mentioned: "worked when I did this, but now crashes with missing window errors"?

Hi @Saharsh979 ,
Many thanks for following up.

Regarding your points:
WindowId Constructor Parameters: We appreciate your suggestion to make the constructor more intuitive by passing the current page/window/parent directly. However, for now, we’ve kept the windowId parameter to ensure to support WinUi3 AppWindow (has Id()) & Window, and also Win32 apps which might be using HWNDs. Could you elaborate on the difficulties you see with the WindowId?

The problem is not in the constructor, but the whole effort that must be taken in advance to retrieve the current window id.  Quoting your sample:
            // We have exposed a public variable called MainWindow in App.xaml.cs to fetch the window.
            var windowId = ((App)Application.Current).MainWindow.AppWindow.Id;

The comment speaks a lot.  One must customize your App class just to get the main window in order to get the Window Id.  It will not work if we have a multi-window app where developers must store the instance of each window and implement a way to find the right instance they need. Several APIs rely on window id to work (all that require a CoreWindow, if I am not mistaken).  WinUI must provide an easy way to get the current window (based on parenthood).
Perhaps the Window (Id) can be propagandized down to certain controls which are typically the main containers and whose code-behind orchestrate the behavior, such as Page,  Alternatively there can be some helpers to find the window id based on parenthood.  Such common tasks must not be off-loaded to developer to reinvent all the time.  For example, UIElement may have a method like GetWindow() which returns their container window, if any, or null.

The XamlRoot.ContentIslandEnvironment.AppWindowId() method should give you the window for a certain UI element.


shits not broken and it looks okay now for adding real shit

Coverage remained the same at 90.074% when pulling 9ed21f85c46b98a3c6dc1766faf67560b210ac3f on account-ui into a3979bd76473518e8218104de5144fc3e1a89621 on mobile-staging.

Coverage remained the same at 90.074% when pulling fc345a713229b2c8e3057fb09617ead69a3f32da on account-ui into a3979bd76473518e8218104de5144fc3e1a89621 on mobile-staging.


Mapping sqlalchemy and pydantic's dataclass decorator fails

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.8.2
            pydantic compiled: True
                 install path: /home/bay2rng/.local/share/virtualenvs/p356_rtp_production_scheduling-03q6S6S0/lib/python3.9/site-packages/pydantic
               python version: 3.9.5 (default, May  5 2021, 02:58:34)  [GCC 7.5.0]
                     platform: Linux-4.15.0-144-generic-x86_64-with-glibc2.27
     optional deps. installed: ['typing-extensions']

We are trying to map sqlalchemy (v. 1.4.17) and pydantic as described here using dataclass decorators.
The code below works fine with use_pydantic = False but fails with use_pydantic = True with the following message:
sqlalchemy.orm.exc.UnmappedInstanceError: Class '__main__.Table' is mapped, but this instance lacks instrumentation.  This occurs when the instance is created before sqlalchemy.orm.mapper(__main__.Table) was called.

Is this a corner case which is not supported by  pydantic.dataclasses.dataclass or is this a bug?
use_pydantic = True

from dataclasses import field

from sqlalchemy import Column, String
from sqlalchemy import create_engine
from sqlalchemy.orm import registry, Session

if use_pydantic:
    from pydantic.dataclasses import dataclass
else:
    from dataclasses import dataclass

mapper_registry = registry()
Base = mapper_registry.generate_base()

if __name__ == "__main__":
    engine = create_engine("sqlite:///:memory:")

    @mapper_registry.mapped
    @dataclass
    class Table:
        __tablename__ = "table"

        __sa_dataclass_metadata_key__ = "sa"

        id: str = field(metadata={"sa": Column(String(32), primary_key=True)})

    Base.metadata.create_all(engine)

    with Session(engine) as session:
        session.add(Table(id="123"))

I have experienced this issue and discussed it in #1089.
Apologies, I've only discovered this issue now. I think I've found the issue which is more general to pydantic's handling of dataclasses generally. I'll post a new issue in a moment with a working example.


Remove the implied Lukeness from the factory session

If Lukeness is required, make it explicit.  This fixes a problem when
you try to use the session factory twice and it complains that Luke's
email is already taken.
Sorry @look

Coverage remained the same at 52.482% when pulling f2445ef7944844278a66c35ca03257e9f0cf4e19 on remove_lukeness into 3d985cb4c9b414f9245b3f7fb15385db5f83b940 on master.

Ah, good change.


Allow for single bundle init without losing automatic loading

- Summary
Here is the proposed changes to allow for single bundle today!
- Test plan
yarn build
consume the assets in a project and make sure it is working :smile:
- Description for the changelog
see parent description
- A picture of a cute animal (not mandatory but encouraged)
🐧

Deploy preview for netlify-cms-www ready!
Built with commit 4e61ce0b35d62f95cd964681ad1dd47d5b995fe2
https://deploy-preview-1179--netlify-cms-www.netlify.com

Deploy preview for cms-demo ready!
Built with commit 4e61ce0b35d62f95cd964681ad1dd47d5b995fe2
https://deploy-preview-1179--cms-demo.netlify.com

Going ahead with merge so we can focus review efforts on the final PR and include cleanup of second bundle + doc changes there as well.


1.2 Beta 3 -- game crash when searching items in a craft grid.

Issue description:
When pressed q in the search box, the game crashes
What happens:
Game crashes
What you expected to happen:
Game not crashing
Steps to reproduce:

Press "q" in the search box (was looking for a black quartz ore) in crafting grid
Game crash

Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Refined Storage: 1.2 beta 2

If a (crash)log is relevant for this issue, link it here:
http://pastebin.com/uVGR31MH

Stacktrace:
    at com.raoulvdberge.refinedstorage.gui.grid.GuiGrid.updateJEI(GuiGrid.java:470)

Weird, seems like the JEI runtime is unavailable, even though the mod is loaded.

yea, this happened on beta 2 also, i put the release version back and it stopped happening.

I am not seeing this behavior in Beta4... did you update JEI past 328?  There were some changes.

ill check tonight.

looks like JEI updated to latest version fixes this issue.


GitHub thinks Octo files are Roff files

GitHub/Linguist is currently misclassifying .8o files as Roff files. This is not entirely uncommon, but the answer always seems to be to override it manually.
We can of course override it manually in all our repositories (JohnEarnest/chip8Archive perhaps being the main one), but what should we override it to?
Should we perhaps consider adding Octo support to Linguist?

@tobiasvl yes, this would be a worthwhile enhancement.
Are you interested in attempting to extend Linguist?

Yep, sure!

Is this still something @tobiasvl will be looking at?
I think Octo might meet linguist's language addition guidelines:

[x] A supported grammar under one of the permitted licenses: https://github.com/hoovercj/vscode-octo
[ ] At least 200 username/repo projects with the required language

I've seen PRs with vscode grammars on the linguist repo, but I'm less sure of the second item given it's not rare for people to put all their Octo projects into a single repo.


Specify gen_user macro more explicitly.

This gets better support for mls ranges, which weren't previously well
covered by the generic support.

Codecov Report

Merging #174 into master will increase coverage by 0.00%.
The diff coverage is 75.00%.

@@           Coverage Diff           @@
##           master     #174   +/-   ##
=======================================
  Coverage   92.69%   92.69%
=======================================
  Files          40       40
  Lines        7035     7038    +3
=======================================
+ Hits         6521     6524    +3
  Misses        514      514

Impacted Files
Coverage Δ

src/parse.y
83.47% <75.00%> (+0.21%)
:arrow_up:

Continue to review full report at Codecov.

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


[network] Remove address check on LostPeer notifs

During LostPeer notifications, the address may mismatch what is in
storage.  This removes that check and will disconnect the peer if it
doesn't match, and we'll let us later redial or otherwise handle the
connection.
Related to: https://github.com/libra/libra/issues/5182

@bors-libra r=philp9

:pushpin: Commit 4028b2a has been approved by philp9

:hourglass: Testing commit 4028b2a02a5dd66be394706ae4e31fc47f011f80 with merge d7cda3862b2a716e50fbbba9f721cbc7cc596a1b...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: philp9
Pushing d7cda3862b2a716e50fbbba9f721cbc7cc596a1b to master...


Consume fetch stream output in tests

This does not solve the problem behind #11878, but it does consume the stream and close it, so that the problem is not triggered in CI. The problem is not consistently reproducible since it relies on cache size pressure.
Closes #11879.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
[x] Unit tests have been written where possible.
[x] If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
or the Snowflake database integration, a run of the Extra Tests has been scheduled.

If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

This does not solve the problem behind #11878

Should it then close that ticket? If we close it, shall we create a new ticket to track the remaining issue?


ML extension updates

dashboardWidget to use updated button component - added an enum for buttonType.

@Charles-Gagnon
Here's the error I am encountering:

And this is with using the sqlExtHostApi version? Because that error seems to imply you're trying to use the azdata module - which is expected. (the thing you're adding this to is creating the module...so of course it doesn't exist yet 😛 )

Note that after modifying this stuff you'll need to restart the yarn run watch command.

@Charles-Gagnon I've already done all that. This error is still encountered AFTER restarting yarn watch. Exact same error, even the mention of azdata module. Do I need to add anything else? Last week I learned that I needed to duplicate my enum, initially added in azdata.propsed.d.ts, to src/sql/workbench/api/common/sqlExtHostTypes.ts as well.

Can you push your changes as you have them so we can see what they look like? And I assume you have no other changes locally that you haven't pushed to the branch that might be interfering right?

Ah - the issue is here : https://github.com/microsoft/azuredatastudio/pull/11817/files#diff-3bc3ceabb54550cfc4f529675c34aec1R162
You can't use the azdata module in the main process (it only exists in the extension host).
You need to reference the sqlExtHostTypes version of that there.
Technical explanation :
So you can reference azdata stuff ONLY if you're using the typings (i.e. build time stuff). But in this case you're using the actual enum object at runtime (by specifying the default) and since the azdata module doesn't exist at runtime it fails at that.

Coverage increased (+0.2%) to 38.856% when pulling 01c0b7ca49ea88a3abe9cac6dc4dbceda8b3fb86 on ml-extension into a34a72795b9767eb986092347714defaea4792a5 on main.

please attach screenshots of before and after

This is the finished product:

Dark and HC themes will need some work but the button layout is solid!

Please look at the failed checks for this PR.

Please merge main to this branch before merging this up.

We should avoid using px since they are static. It's advisable to use % or em instead since it's relative and automatically handles window resizing

@abist This entire feature is static. A separate, responsive overhaul will be needed in order to address the entire extension if/when that becomes a priority.


New Feature: Generic cloud service configuration

There are times when it is necessary to inject arbitrary header / footer code on the page.
One such time is when integrating AEM 6.3 with Adobe Launch.
I would like to introduce a generic cloud service configuration that projects can use for this purpose. It would be similar to the deprecated feature DTM cloud service configuration.

Link to the current suggested approach:
https://helpx.adobe.com/experience-manager/using/aem63_launch_integration.html#AddingAdobeLaunchsHeaderinAEM

Can't the Generic Analytics Snippet Cloud Service be used for this?

Thanks for the suggestion @justinedelson.
I wasn't aware of it, but I had a look and there are 3 issues I can see with using the Generic Analyics Snippet.

The contents of the configuration are embedded within a script tag, so you can't inject arbitrary HTML
There is only 1 field so you can't specify different contents for  or at the end of the .
The value is placed at the end of the , but the Adobe launch docs suggest that the launch embed code should be injected in the head (for async mode)

Any other ideas?

@justinedelson let me know if you think this is something worth contributing to ACS commons otherwise please go ahead and close.
I was also thinking of how we might be able to do this in a safe way to mitigate risks around introduction of XSS vulnerabilities.
Ultimately, it would be good for consumers to have the capability to control who can insert HTML in an unsafe context using this feature.


Expose coord_mode in .pad()

Is your feature request related to a problem?
I am experiencing some issues with the way coordinates are padded. Currently the coordinates are padded according to the mode parameter passed to pad() here. For my particular issue I want to be able to have different modes for the data, but effectively pin the mode that is used to pad the coordinate values.
A simple example:
import xarray as xr
import numpy as np

da = xr.DataArray([1,2,3], dims=['x'], coords={'x':[4,5,6]})
da

If I pad with constant
da.pad(x=(0,1), mode='constant')

I get this:

which is the coordinate padding I need.
But if I pad with wrap:
da.pad(x=(0,1), mode='wrap')

which gives me repeated coordinate values

Describe the solution you'd like
I would like to be able to do something like this:
da.pad(x=(0,1), mode='wrap', coord_pad_mode='constant')

and get something like this

Since #3596 internally already defines coord_pad_mode it should be easy enough to expose this to the user?
Possibly related (but I think not incompatible with the changes propsed here?): #3868
Happy to work with @TomNicholas on a PR, but wanted to get some feedback/comments first.
cc @dcherian @mark-boer who worked on this code.
Describe alternatives you've considered
No response
Additional context
No response

This change seems to be enough to get the behaviour @jbusecke wants without breaking any existing tests:
diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py
index 855718cf..21fb0203 100644
--- a/xarray/core/dataset.py
+++ b/xarray/core/dataset.py
@@ -7228,6 +7228,7 @@ class Dataset(DataWithCoords, DatasetReductions, DatasetArithmetic, Mapping):
         ) = None,
         end_values: int | tuple[int, int] | Mapping[Any, tuple[int, int]] | None = None,
         reflect_type: str = None,
+        coord_mode: str = None,
         **pad_width_kwargs: Any,
     ) -> Dataset:
         """Pad this dataset along one or more dimensions.
@@ -7304,6 +7305,7 @@ class Dataset(DataWithCoords, DatasetReductions, DatasetArithmetic, Mapping):
             default with an unaltered reflection around the edge value.  For
             the "odd" style, the extended part of the array is created by
             subtracting the reflected values from two times the edge value.
+        coord_mode : str, default: mode
         **pad_width_kwargs
             The keyword arguments form of ``pad_width``.
             One of ``pad_width`` or ``pad_width_kwargs`` must be provided.
@@ -7339,7 +7341,7 @@ class Dataset(DataWithCoords, DatasetReductions, DatasetArithmetic, Mapping):
         pad_width = either_dict_or_kwargs(pad_width, pad_width_kwargs, "pad")

         if mode in ("edge", "reflect", "symmetric", "wrap"):
-            coord_pad_mode = mode
+            coord_pad_mode = coord_mode if coord_mode is not None else mode
             coord_pad_options = {
                 "stat_length": stat_length,
                 "constant_values": constant_values,


Update cats-effect to 3.2.1

Updates org.typelevel:cats-effect from 3.0.2 to 3.2.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-effect" } ]

labels: library-update, semver-minor

Codecov Report

Merging #271 (7439b4c) into master (87310ce) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #271   +/-   ##
=======================================
  Coverage   43.72%   43.72%
=======================================
  Files          25       25
  Lines         263      263
  Branches        6        5    -1
=======================================
  Hits          115      115
  Misses        148      148

Continue to review full report at Codecov.

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

Superseded by #272.


Update simplemon widget to show only unhandled problems

fixes #17

can i use these code part for my icinga2 gem?

Of course :)

Thanks for the patch. I do have a different solution in mind already. This does not change the interface of countProblems() but adds the possibility to pass a state number or an array of state numbers (or nil which means all problems).
This allows to count all unhandled problems, without any differences between CIB data and problem counts. See more details in #24 - the commits are split so you can see what I did exactly.


1.25.2 no longer honors the formatting settings in ~/.omnisharp/omnisharp.json

Issue Description
Since 1.25.2 upgraded to a new version of OmniSharp, it no longer honors the formatting settings in ~/.omnisharp/omnisharp.json.
I can confirm that 1.25.0 does not have this issue.
Steps to Reproduce
In ~/.omnisharp/omnisharp.json, I have the following settings:
{
	"FormattingOptions": {
		"SpaceAfterControlFlowStatementKeyword": false
	},
	"RoslynExtensionsOptions": {
		"LocationPaths": [
			"/Users/Yuki/Roslyn Analyzers/"
		]
	}
}

In VS Code, open a C# project, write the following and do a format :
if(true)
{
}

Expected Behavior
With the configuration, the text should not change
Actual Behavior
A space is inserted after if despite the config.
Logs
OmniSharp log

Starting OmniSharp server at 11/11/2022, 1:24:50 AM
    Target: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/Polytone-NextGenClient.sln
OmniSharp server started with Mono 6.12.0 (/Library/Frameworks/Mono.framework/Versions/Current/).
Path: /Users/Yuki/.vscode/extensions/ms-dotnettools.csharp-1.25.2-darwin-arm64/.omnisharp/1.39.2/omnisharp/OmniSharp.exe
PID: 15260
    Starting OmniSharp on MacOS 13.0.1 (x64)

    Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK

    Using the 'dotnet' on the PATH.

    DotNetPath set to dotnet

    Located 1 MSBuild instance(s)
        1: Mono 16.10.1 - "/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin"

    Registered MSBuild instance: Mono 16.10.1 - "/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin"

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0

    Detecting Cake files in '/Users/Yuki/PlasticSCM/Polytone-NextGenClient'.

    Did not find any Cake files

    Detecting projects in '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/Polytone-NextGenClient.sln'.

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp-Editor.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp-firstpass.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/ACTk.Runtime.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/ACTk.Editor.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModelsV2.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4Geometry.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.GameFoundation.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Foundation.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModels.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/com.stella3d.sharedarray.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModels.Server.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Legacy.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Configuration.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4Math.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.UserExperience.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Configuration.Editor.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/SQLite.csproj'

    Queue project update for '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.GameFoundation.EditorTests.csproj'

    Detecting CSX files in '/Users/Yuki/PlasticSCM/Polytone-NextGenClient'.

    Did not find any CSX files

    Configuration finished.

    Omnisharp server running using Stdio at location '/Users/Yuki/PlasticSCM/Polytone-NextGenClient' on host 15225.

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp-Editor.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp-Editor.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp-Editor.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp-firstpass.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp-firstpass.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp-firstpass.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/Assembly-CSharp.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/ACTk.Runtime.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/ACTk.Runtime.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/ACTk.Runtime.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/ACTk.Editor.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/ACTk.Editor.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/ACTk.Editor.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModelsV2.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModelsV2.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModelsV2.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4Geometry.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4Geometry.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4Geometry.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.GameFoundation.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.GameFoundation.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.GameFoundation.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Foundation.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Foundation.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Foundation.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModels.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModels.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModels.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/com.stella3d.sharedarray.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/com.stella3d.sharedarray.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/com.stella3d.sharedarray.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModels.Server.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModels.Server.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4DataModels.Server.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Legacy.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Legacy.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Legacy.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Configuration.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Configuration.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Configuration.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4Math.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4Math.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4Math.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.UserExperience.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.UserExperience.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.UserExperience.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Configuration.Editor.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Configuration.Editor.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.Configuration.Editor.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/SQLite.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/SQLite.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/SQLite.csproj'

    Loading project: /Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.GameFoundation.EditorTests.csproj

    Successfully loaded project file '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.GameFoundation.EditorTests.csproj'.

    Adding project '/Users/Yuki/PlasticSCM/Polytone-NextGenClient/K4.GameFoundation.EditorTests.csproj'

    Update project: Assembly-CSharp-Editor

    Update project: Assembly-CSharp-firstpass

    Update project: Assembly-CSharp

    Update project: ACTk.Runtime

    Update project: ACTk.Editor

    Update project: K4DataModelsV2

    Update project: K4Geometry

    Update project: K4.GameFoundation

    Update project: K4.Foundation

    Update project: K4DataModels

    Update project: com.stella3d.sharedarray

    Update project: K4DataModels.Server

    Update project: K4.Legacy

    Update project: K4.Configuration

    Update project: K4Math

    Update project: K4.UserExperience

    Update project: K4.Configuration.Editor

    Update project: SQLite

    Update project: K4.GameFoundation.EditorTests

    Solution initialized -> queue all documents for code analysis. Initial document count: 489.

Received response for /v2/getcodeactions but could not find request.
Received response for /v2/getcodeactions but could not find request.

C# log
Empty
Environment information
VSCode version: 1.72.0
C# Extension: 1.25.2
Mono Information
        OmniSharp using mono: 6.12.0
Dotnet Information
.NET SDK:
 Version:   7.0.100
 Commit:    e12b7af219
Runtime Environment:
OS Name:     Mac OS X
OS Version:  13.0
OS Platform: Darwin
RID:         osx.13-arm64
Base Path:   /usr/local/share/dotnet/sdk/7.0.100/
Host:
Version:      7.0.0
Architecture: arm64
Commit:       d099f075e4
.NET SDKs installed:
6.0.201 [/usr/local/share/dotnet/sdk]
6.0.301 [/usr/local/share/dotnet/sdk]
6.0.402 [/usr/local/share/dotnet/sdk]
6.0.403 [/usr/local/share/dotnet/sdk]
7.0.100 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.11 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.11 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
x64   [/usr/local/share/dotnet]
registered at [/etc/dotnet/install_location_x64]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions

Extension
Author
Version

better-cpp-syntax
jeff-hykin
1.16.3

cpptools
ms-vscode
1.12.4

cpptools-extension-pack
ms-vscode
1.3.0

cpptools-themes
ms-vscode
2.0.0

csharp
ms-dotnettools
1.25.2

doxdocgen
cschlosser
1.4.0

errorlens
usernamehw
3.6.0

mono-debug
ms-vscode
0.16.3

shaderlabvscode
amlovey
1.2.4

subtitles-editor
pepri
1.1.7

unity-debug
deitry
3.0.11

vscode-antlr4
mike-lischke
2.3.1

vscode-clang
mitaki28
0.2.4

vscode-icons
vscode-icons-team
12.0.1

vscode-jupyter-slideshow
ms-toolsai
0.1.5

Thanks for reporting. This is a duplicate of https://github.com/OmniSharp/omnisharp-vscode/issues/5446.
See https://github.com/OmniSharp/omnisharp-vscode/issues/5446#issuecomment-1308655891 for explanation