clusterip service not work after running big service(1000 endpoints) with antrea-proxy enabled along with kube-proxy

Describe the bug
I enabled antrea-proxy along with kube-proxy in our k8s clusters and create big services with 250 endpoints, 1000 endpoints and 5000 endpoints. After the testing, the clusterip service functionality is broken.
To Reproduce

create 500 worker nodes cluster in TKGM1.3 with antrea-proxy enabled
download clusterloader2 source code and run the scripts of dep_svc_l.yaml, dep_svc_xl.yaml and dep_svc_exl.yaml by sequential.

Expected
clusterip service still works.
Actual behavior
after the testing, I found that the grafana can not show the dashboard, due to grafana failed to  access the prometheus clusterip service. The clusterip service function is broken.
I can succeed to access the pod's ip but failed to curl its service ip.
root@systest-runner:/tmp[40430]# kubectl  get pods -n monitoring -o wide
NAME                                  READY   STATUS    RESTARTS   AGE   IP             NODE                                NOMINATED NODE   READINESS GATES
grafana-69c5568879-hd2sm              1/1     Running   0          18h   <IP_ADDRESS>   workload-21-md-0-7cf7d99f68-snf2m   <none>           <none>
prometheus-k8s-0                      3/3     Running   1          18h   <IP_ADDRESS>    workload-21-md-0-7cf7d99f68-57jcs   <none>           <none>
prometheus-operator-7bf997fc6-vlk89   1/1     Running   0          18h   <IP_ADDRESS>   workload-21-md-0-7cf7d99f68-bxb6b   <none>           <none>
root@systest-runner:/tmp[40430]# kubectl  get svc -n monitoring
NAME                  TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)                       AGE
grafana               NodePort    <IP_ADDRESS>    <none>        3000:32066/TCP                18h
master                ClusterIP   None             <none>        6443/TCP,2379/TCP,10250/TCP   18h
prometheus-k8s        NodePort    <IP_ADDRESS>   <none>        9090:31820/TCP                18h
prometheus-operated   ClusterIP   None             <none>        9090/TCP                      18h
prometheus-operator   ClusterIP   None             <none>        8080/TCP                      18h

/ $ curl http://<IP_ADDRESS>:9090
Found.

/ $ curl http://<IP_ADDRESS>:9090
curl: (28) Failed to connect to <IP_ADDRESS> port 9090: Operation timed out

#Versions:
Please provide the following information:

Antrea version (Docker image tag). v0.11.3
Kubernetes version (use kubectl version). If your Kubernetes components have [different versions] v1.20.4
(https://kubernetes.io/docs/setup/release/version-skew-policy/), please provide the version for all of them.
Container runtime: which runtime are you using (e.g. containerd, cri-o, docker) and which version are you using? containerd
Linux kernel version on the Kubernetes Nodes (uname -r). 5.4.0-66-generic
If you chose to compile the Open vSwitch kernel module manually instead of using the kernel module built into the Linux kernel, which version of the OVS kernel module are you using? Include the output of modinfo openvswitch for the Kubernetes Nodes.

Additional context
Add any other context about the problem here, such as Antrea logs, kubelet logs, etc.
kubectl  exec -it antrea-agent-2r7rt -n kube-system -c antrea-ovs --  ovs-ofctl dump-groups br-int
NXST_GROUP_DESC reply (xid=0x2):
kubectl  exec -it antrea-agent-2r7rt -n kube-system -c antrea-ovs -- ovs-ofctl dump-flows br-int --no-stats --names > out2.log

Checking the antrea error log in the /var/log/antrea in each worker node, we could see the errors as following
E0413 15:30:09.010772       1 proxier.go:280] Error when installing Endpoints groups: error when installing Service Endpoints Group: message is canceled because of disconnection from the Switch
E0413 15:30:09.012386       1 proxier.go:275] Error when installing Endpoints flows: message is canceled because of disconnection from the Switch
E0413 15:30:10.077826       1 client.go:670] Error when replaying cached group 5: message is canceled because of disconnection from the Switch
E0413 15:30:10.077861       1 client.go:670] Error when replaying cached group 1: message is canceled because of disconnection from the Switch
E0413 15:30:10.077871       1 client.go:670] Error when replaying cached group 8: message is canceled because of disconnection from the Switch
E0413 15:30:10.077879       1 client.go:670] Error when replaying cached group 7: message is canceled because of disconnection from the Switch
E0413 15:30:10.077976       1 client.go:670] Error when replaying cached group 27: message is canceled because of disconnection from the Switch
E0413 15:30:10.077985       1 client.go:670] Error when replaying cached group 9: message is canceled because of disconnection from the Switch
E0413 15:30:10.077994       1 client.go:670] Error when replaying cached group 3: message is canceled because of disconnection from the Switch
E0413 15:30:10.078001       1 client.go:670] Error when replaying cached group 6: message is canceled because of disconnection from the Switch
E0413 15:30:10.078008       1 client.go:670] Error when replaying cached group 2: message is canceled because of disconnection from the Switch
E0413 15:30:12.819763       1 client.go:663] Error when replaying cached flows: one message in bundle failed
E0413 15:30:13.342754       1 client.go:663] Error when replaying cached flows: one message in bundle failed
E0413 15:30:13.439770       1 client.go:663] Error when replaying cached flows: one message in bundle failed
E0413 15:30:13.681335       1 client.go:663] Error when replaying cached flows: one message in bundle failed
E0413 15:30:14.100804       1 client.go:663] Error when replaying cached flows: one message in bundle failed
E0413 15:30:14.453300       1 client.go:663] Error when replaying cached flows: one message in bundle failed
E0413 15:30:14.604515       1 client.go:663] Error when replaying cached flows: one message in bundle failed
E0413 15:30:14.731602       1 client.go:663] Error when replaying cached flows: one message in bundle failed
E0413 15:30:14.770858       1 client.go:663] Error when replaying cached flows: one message in bundle failed

Whole bundle of test cases and log refer to tarball.
log.tar.gz
(Please consider pasting long output into a GitHub gist or any other pastebin.)

Tested that 500 endpoints per service(deployment) works fine. 1000 endpoints per service could consistently repo this issue.

Thanks @luwang-vmware for finding it and providing a way to reproduce it consistently! We will prioritize fixing this issue.
cc @jianjuns @antoninbas

I have made a test with ovs. I used the below script to generate a group with X buckets, and I use the generated command to run in antrea-ovs container.
#!/bin/bash
FILE="ovs-group.sh"
LAST=$1
echo "#!/bin/bash" > $FILE
echo "ovs-ofctl add-group br-int group_id=88,type=select,\\" >> $FILE

for (( i=0; i<`expr $LAST - 1`; i++ ))
do
      echo "bucket=bucket_id:$i,weight:100,actions=load:0xaf40204\-\>NXM_NX_REG3[],load:0x50\-\>NXM_NX_REG4[0..15],load:0x2\-\>NXM_NX_REG4[16..18],load:0x1\-\>NXM_NX_REG0[19],resubmit\(,42\),\\" >> $FILE
done
      echo "bucket=bucket_id:`expr $LAST - 1`,weight:100,actions=load:0xaf40204\-\>NXM_NX_REG3[],load:0x50\-\>NXM_NX_REG4[0..15],load:0x2\-\>NXM_NX_REG4[16..18],load:0x1\-\>NXM_NX_REG0[19],resubmit\(,42\)" >> $FILE

kubectl cp $FILE -n kube-system antrea-agent-rjll6:/root -c antrea-ovs

When the number of buckets < 512, it works
When the number of buckets >= 512, the output is stuck, and output is below.

root@k8s-node-control-plane:~# wc -l 1000-items.sh && bash 1000-items.sh
514 1000-items.sh
ovs-ofctl: talking to unix:/var/run/openvswitch/br-int.mgmt (End of file)

I made a test to verify that if the action in table 41 can be set with multiple groups, like this: ovs-ofctl add-flow br-int table=41,priority=200,tcp,reg4=0x10000/0x70000,nw_dst=<IP_ADDRESS>,tp_dst=80,actions=group:7,group:8.
This command is legal, but the test indicated that the group 8 never hits.
@tnqn @jianjuns @antoninbas

I think you are just reaching the max OpenFlow message size which is 64K bytes.
Without getting too accurate :), 64K bytes / 512 buckets is 128 bytes. Given that each bucket has a 16-byte header and that you also have 5 actions per bucket, you pretty much get to 128 bytes.
You can run your ovs-ofctl command with --verbose=dbg to get more information. You should also specify -O OpenFlow13 to avoid getting unrelated error messages.
At the end of the day, this needs to be fixed in Antrea: we need to stop setting all the buckets using one group mod message, as we quickly reach the max message size. My guess is that libOpenflow will map our API calls to a single message, hence the problem. We can set the max number of buckets per message to something like 128 or 256, and use several insert-buckets in the same bundle to achieve the same result.

Thanks @antoninbas @tnqnf. I first thought of the idea of solving this problem by modifying function func (self *Group) Install() error in github/contiv/ofnet/ofctrl/fgraphGroup.go  like this below.
func (self *Group) Install() error {
	command := openflow13.OFPGC_ADD
	if self.isInstalled {
		command = openflow13.OFPGC_MODIFY
	}
	groupMod := self.getGroupModMessage(command)

	if len(groupMod.Buckets) <= maxBucketsInsert {
		if err := self.Switch.Send(groupMod); err != nil {
			return err
		}
	} else {
		insertBuckets := groupMod.Buckets[maxBucketsInsert:]
		groupMod.Buckets = groupMod.Buckets[:maxBucketsInsert]
		if err := self.Switch.Send(groupMod); err != nil {
			return err
		}

		groupMod.Command = uint16(openflow13.OFPGC_INSERT_BUCKET)
		insertBucketsNum := len(insertBuckets)
		for i := 0; i < insertBucketsNum; i += maxBucketsInsert {
			start, end := i, (i+1)*maxBucketsInsert
			if end > insertBucketsNum {
				end = insertBucketsNum
			}

			groupMod.Buckets = insertBuckets[start:end]
			if err := self.Switch.Send(groupMod); err != nil {
				return err
			}
		}
	}

	// Mark it as installed
	self.isInstalled = true

	return nil
}

After discussed with @tnqn , he suggested that the group buckets should be added/inserted in a bundle way. I'm working on this now.

Unfortunately, guys, I'm stuck with bundle issue.  There are 2 issues:

I didn't find the reason that why when added a group in bundle,  deleting the group with groupID failed, but deleting it in bundle way can work.
INSERT-BUCKET doesn't work as expected. I write a simple test in PR #2101 https://github.com/vmware-tanzu/antrea/blob/b320a4dd63b8b51f9510ff74b1734897ae58663e/test/integration/agent/openflow_test.go#L487, the test has 4 endpoint, and I set the max number of inserting buckets is 3. The last one should be added by INSERT-BUCKET, but it failed. The output is below:

=== RUN   TestGroup
I0416 18:35:50.426456    2012 entry.go:314] Initialize connection or re-connect to /var/run/openvswitch/br01.mgmt.
I0416 18:35:51.427242    2012 entry.go:314] Connected to socket /var/run/openvswitch/br01.mgmt
I0416 18:35:51.427587    2012 entry.go:359] New connection..
I0416 18:35:51.427848    2012 entry.go:314] Send hello with OF version: 4
I0416 18:35:51.427953    2012 entry.go:359] Received Openflow 1.3 Hello message
I0416 18:35:51.428613    2012 entry.go:314] Received ofp1.3 Switch feature response: {Header:{Version:4 Type:6 Length:32 Xid:3} DPID:00:00:f6:81:90:ef:37:48 Buffers:0 NumTables:254 AuxilaryId:0 pad:[0 0] Capabilities:79 Actions:0 Ports:[]}
I0416 18:35:51.428717    2012 entry.go:359] Openflow Connection for new switch: 00:00:f6:81:90:ef:37:48
I0416 18:35:51.429269    2012 ofctrl_bridge.go:221] OFSwitch is connected: 00:00:f6:81:90:ef:37:48
E0416 18:35:51.433889    2012 entry.go:314] Received Vendor error: OFPBFC_MSG_FAILED on ONFT_BUNDLE_CONTROL message
    openflow_test.go:543:
                Error Trace:    openflow_test.go:543
                Error:          Received unexpected error:
                                error when installing Service Endpoints Group: one message in bundle failed
                Test:           TestGroup
                Messages:       no error should return when installing groups for Service
--- FAIL: TestGroup (1.02s)
FAIL
E0416 18:35:51.434699    2012 entry.go:314] Received Vendor error: NXBRC_UNENCODABLE_ERROR on ONFT_BUNDLE_ADD_MESSAGE message
I0416 18:35:51.434753    2012 entry.go:359] Controller is delete
coverage: 3.1% of statements in github.com/vmware-tanzu/antrea/pkg/...
FAIL    github.com/vmware-tanzu/antrea/test/integration/agent   1.062s
testing: warning: no tests to run
PASS
coverage: 1.2% of statements in github.com/vmware-tanzu/antrea/pkg/...
ok      github.com/vmware-tanzu/antrea/test/integration/ovs     0.043s  coverage: 1.2% of statements in github.com/vmware-tanzu/antrea/pkg/... [no tests to run]
FAIL

Could anyone give me some suggestions? Thanks.

I wanted to take a look at your code, but really couldn't make sense of the following:
	for i := insertBucketNum; i < endpointsNum; i += insertBucketNum {
		group := c.bridge.CreateGroup(fakeGroupId).ResetBuckets()
		c.bridge.DeleteGroup(fakeGroupId)
		group.SetGroupId(groupID)
		groups = append(groups, group)
	}

Why is there a fakeGroupId and why are we deleting it several times?
I think the interface needs to change so that AntreaProxy can provide a list of endpoints / buckets to insert and a list of endpoints / buckets to remove. The we generate the appropriate insertions & deletions. We shouldn't be deleting the group and re-adding it every time.

Agree with @antoninbas's question. @hongliangl For your second question, I can see the code in the PR installs a group twice: one is by bucketBuilder.Done, another by bundle, which might be the root cause. BTW, Could you raise code related issue in the PR in the future so there is a context and the discussion can be tracked properly?


Dependencies update

Pull Request Test Coverage Report for Build 184

0 of 0   changed or added relevant lines in 0 files are covered.
2285 unchanged lines in 38 files lost coverage.
Overall coverage decreased (-6.9%) to 84.258%

Files with Coverage Reduction
New Missed Lines
%

lib.rs
1
100.0%

block_preds.rs
4
100.0%

file_writer.rs
5
59.68%

file_reader.rs
8
81.67%

file_error.rs
8
24.24%

cli_utils.rs
11
89.19%

json_printer.rs
11
82.69%

integer_utils.rs
12
75.0%

general_error.rs
13
65.0%

cli_check.rs
13
92.86%

Totals

Change from base Build 182:
-6.9%

Covered Lines:
3281

Relevant Lines:
3894

💛  - Coveralls

Codecov Report

Merging #82 into master will decrease coverage by 6.95%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #82      +/-   ##
==========================================
- Coverage   91.22%   84.26%   -6.96%
==========================================
  Files          54       42      -12
  Lines        6494     3897    -2597
==========================================
- Hits         5924     3284    -2640
- Misses        570      613      +43

Impacted Files
Coverage Δ

src/multihash.rs
48.57% <0%> (-28.58%)
:arrow_down:

src/integer_utils.rs
75% <0%> (-25%)
:arrow_down:

src/sbx_block/metadata.rs
70.52% <0%> (-12.26%)
:arrow_down:

src/file_utils.rs
90.51% <0%> (-9.49%)
:arrow_down:

src/misc_utils.rs
85.43% <0%> (-7.95%)
:arrow_down:

src/sbx_block/mod.rs
82.74% <0%> (-6.73%)
:arrow_down:

src/rs_codec/repairer.rs
76.62% <0%> (-6.5%)
:arrow_down:

src/sbx_block/header.rs
96.22% <0%> (-2.26%)
:arrow_down:

src/sbx_specs.rs
88.46% <0%> (-1.93%)
:arrow_down:

src/crc_ccitt.rs
100% <0%> (ø)
:arrow_up:

... and 16 more

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 5a55ac3...55ef9fc. Read the comment docs.


[question] how to allow different domain to access casdoor?

hi team,
I want to allow apps to request tokens from another domain, but the browser cors policy blocks it.
Is there any option in the casdoor for adding a custom 'Access-Control-Allow-Origin' value into the response header

@jump2cn add it to application's redirect URIs


can we get real image instead of thermal image from seek thermal camera

No it doesn't have a visible light sensor


Deven branch

Before issuing a pull request, please see the contributing page.
Please complete this pull request.

Is the PivotCodeTELEOP test code? If so, can we name it as such?

The PivotCodeTELEOP is a TeleOp with only the pivot code.

Ok- I will merge this for now, but we may need to think about renaming that or organizing it better, since it would be a good idea to have that for every subsystem.


Not Found: /angular2-highcharts/index.js

angular2-polyfills.js:1243 Error: XHR error (404 Not Found) loading http://<IP_ADDRESS>:8000/angular2-highcharts/index.js(…)

Could you provide more details ?


publish a version @ bower repository

Hi,
would it by possible to publish a version that can be available via bower directly without the need to build it on my own?
Thank you.

I am not clear on this. The form builder is not a library, there is no single js file that users can import and extend their app's functionality. Why should we create a bower package?

project isn't maintained anymore, thanks.


Fix for multi operations with detect_buffers enabled

This fixes #263 where multi operations that properly should return arrays, return strings instead when detect_buffers: true.

This got fixed by #733. @jezell if I understand you correct the js parser is still not in line with hiredis? Would you be so kind and open another PR with fixing that issue and include a test for that?

@jezell the parser part seems to still be needed. Would you mind rebasing?


Update multi-user-authorization.md

While running through this in a new production tenant, I saw a lot of errors, and this was clearly because the provider was not registered automatically.
When doing examples that others must follow step by step, I think this is an important thing to mention.
#ATCP

@mardahl : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@mardahl - Thanks for your contribution. We'll validate the same with the product team and get back.

@mardahl : Thanks for your contribution! The author(s) have been notified to review your proposed change.

I expect the issue with missing resource providers would also appear if using separate subscriptions, as it has to be registered on the subscription.
I would love to write a longer piece on the scenario, but I am not sure how to fit it in without it taking up too much space.

#label:"aq-pr-triaged"

@mardahl - As the info you added is already present as a part of note in the introduction of the article, we can skip to mention it again in the same article.
Please write to us if you have any query or any document update needed. We'll continue our conversation.
As there's no doc update needed for now, I am closing this PR.
Thanks.
#please-close

If you are refering to the note at the begining.
That is no way clear enough.
Actually it does not explain to those who are not very experienced.
I get a lot of feedback from customers who don't understand the docs.
Please please reconsider adding the resource provider egostration information into the flow of the example steps.
We need to embrace diversity in reading. Not everyone will read this the same way, with the same skillset.

@mardahl - Thanks for writing to us. I will get back after discussing your views with the product team.

@mardahl - Discussed the product group and incorporated the change you suggested. This will reflect soon in the doc. Thanks.


想问下参数max_length和cutoff_length的参数含义用发

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
这两个在训练过程中怎么配合起来使用呢 请教一下大佬
Expected behavior
No response
System Info
No response
Others
No response

maxlength 在训练中没有用

Cuttoff length具体是指什么呀
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: hoshi-hiyouga @.>
发送时间: Tuesday, March 19, 2024 5:30:09 PM
收件人: hiyouga/LLaMA-Factory @.>
抄送: zhangfan-algo @.>; Author @.>
主题: Re: [hiyouga/LLaMA-Factory] 想问下参数max_length和cutoff_length的参数含义用发 (Issue #2891)
maxlength 在训练中没有用
―
Reply to this email directly, view it on GitHubhttps://github.com/hiyouga/LLaMA-Factory/issues/2891#issuecomment-2006494371, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALMJFNANO7AMBCEOE3NJ2YLYZAASDAVCNFSM6AAAAABE5DQ6KOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBWGQ4TIMZXGE.
You are receiving this because you authored the thread.Message ID: @.***>


Is it possible to update credentials from within an agent?

Hi,
I'm calling an endpoint and retrieving a authentication token, which is then used for further actions down the pipe. Is it possible for me to update credentials stored in Huginn (those accessed using a Liquid template {% credential %}) through an agent?
Would like to store the received token so it can just be retrieved by using Liquid

Hi!
The JavaScriptAgent can do that. Another option is to pass the value to another Agent like in this scenario.

You wouldn't happen to have a link to some info on how the JavaScriptAgent is able to achieve this would you?

I don't have an Agent that uses the function, you can call this.credential("credential_name", "value") to set the credential credential_name to value.

you saved my life!!!! thank you I had an issue like you a refresh token / bearer which could sometimes change
my solution :
    private

    def set_credential(name, value)
      c = user.user_credentials.find_or_initialize_by(credential_name: name)
      c.credential_value = value
      c.save!
    end
...
      if interpolated['refresh_token'] != payload['refresh_token']
        set_credential("strava_refresh_token", payload['refresh_token'])
        if interpolated['debug'] == 'true'
          log "strava_refresh_token credential updated"
        end
      end
      if interpolated['bearer_token'] != payload['access_token']
        set_credential("strava_bearer_token", payload['access_token'])
        if interpolated['debug'] == 'true'
          log "strava_bearer_token credential updated"
        end
      end`


feat: credentialStatus support

In order to support credential status checks a checkStatus function must be passed to vc.js's method verifyCredential. A signature of verifyCredentialLD method was changed to support the alternative call with checkStatus member.

Thank you for the contribution!
We had a slightly different idea for how credentialStatus fields could be handled and checked.
We were thinking that a Veramo plugin that exposes a method such as checkStatus(credential, options) would be a better option.
This method can be called automatically during verification, or directly by the user.
The first reason for this is that there can be multiple status methods (RevocationList2021, EthrStatusRegistry2019, CredentialList2017, etc..) and they have different requirements and implementations. From this perspective, this functionality is very similar to the DIDResolver plugin, which is also automatically used during credential verification.
These implementations should be "installed" during initialization and then the user doesn't have to interpret the credentialStatus field manually to decide which implementation fits. This could be done by the plugin that orchestrates these checks.
Also, all the plugin methods that we have so far in this core repository have serializable arguments. This enables us to call these methods over OpenAPI. We don't expect this requirement to hold for all possible plugins but we wish to keep it true for the core plugins.
Does this make sense? What do you think?

Thank you for the detailed explanation. That makes a lot of sense, and I think that approach is more in line with what's already implemented.
Have you already started working on the feature? If yes, I would join the discussion/implementation :)

See https://github.com/uport-project/credential-status/pull/39 for some progress on the credential format support

@tsabolov do you know of any implementations of credentialStatus methods that you can point to?

Sorry @mirceanis, somehow missed your message. Need to review my GitHub notifications settings.
We are going to use our own RevocationStatus2021LDAP for one of our projects. It's still a draft, so I'd not include it into the list yet.


Implement tooling for validating exhibit 21 extraction

Overview
To evaluate performance for exhibit 21 extraction models, we need to define validation criteria. Currently, the layoutlm model computes several evaluation metrics, but these are specific to the model and we should have generic metrics that could be used with any model we use.
We likely want a way to use already labeled data to compute validations, so while our labels are specific to layoutlm, we likely want to have a translation layer to more generic labels which can be used for this purpose.
Success Criteria
We have a pipeline that can apply a model to a labeled test set of filings and log to mlflow server.

[ ] Decide on metrics
[ ] Create translation from existing labels
[ ] Choose acceptable number of filings for test set
[ ] Record metrics for layoutlm model

@zschira does #34 make this issue obsolete?


Added migration for the resources db.

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #1902
Description

Updated version of db as part of the changed for  #1902 .
Added migration for the db.
Updated code to export schema (required for tests).
Added tests.

Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
No
Type
Choose one: Bug fix
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct.
[x] I have read the Contributing page.
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[x] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[x] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

@joiskash FYI


[Bug]: App crashes

Contact Details
<EMAIL_ADDRESS>What happened?
On clicking the share button in setting crashes the app. This is happening because app want to share a banner but app couldn't load it.

Relevant log output
No response
Code of Conduct

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

@maityamit Please assign this issue to me under iwoc label. Thanks


Version update after uploading v19 to MP

This PR is no more actual. I made one more update and also fixed JDK version to 17 in MP too.
https://github.com/jetbrains-academy/kotlin-onboarding-introduction/pull/242


Perform urgent OS security updates

[x] FSN
[x] HEL
[x] ams-pg-test
[x] monitoring

Since all boxes are checked on this issue, I am going to assume this was done and close it


Miners should return old data that is not md_0_1

Failed to attach files for pdb 1qcc with error: No files found for md_0_1 happens when we have old data, but we never finished the simulation. We should see this behaviour and start the simulation from the most advanced checkpoint we have if we haven't finished

fixed in #88


'KONTINUITY_CATAPULT_OPENSHIFT_URL'  when using Red Hat CDK

You need to specify KONTINUITY_CATAPULT_OPENSHIFT_URL=https://<IP_ADDRESS>:8443 env variable in order to successfully execute the integration tests

Thanks for this!  Turns out we actually can't use the CDK looking forward because we depend on features that aren't in an OpenShift release, but I've taken your points and made sure they were reflected in the new instructions using the ADB at #101.
Definitely looking forward to your contributions!


AB#5006

Proposed changes

Related issues

Checklist

[x] I consider the submitted work as finished
[x] I tested the code for its functionality
[ ] I wrote test cases for the relevant uses case
[ ] I added/update the relevant documentation (either on github or on notion)
[ ] Where necessary I refactored code to improve the overall quality

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

This was all css changes, @r-joyce please merge.


Update README and Markbind website

Can't show a screenshot of the updated website bcs I think these changes should be deployed first before we can see any changes

Website preview

Website preview


Vue3

TS
UT

Date: before Sept

How's the status of the Vue3 version?

doing

How's the status of the Vue3 version?

https://github.com/bennyxguo/vue3-scroll-spy

How's the status of the Vue3 version?

https://github.com/bennyxguo/vue3-scroll-spy
You can try it.


feat: add individual hints to checkbox and radio groups (fix #90)

This PR modifies the $options parameter for the Checkboxes and RadioButtons components to accept an array of strings which will be used as the checkboxes' or radio buttons' labels, or an associative array with values for label and hint respectively.

@jobara: related to this, I need to update the wiki item for Checkboxes and add one for Radio Buttons.

@jobara: there is a regression related to #111 that will cause some translation strings not to appear in this branch. I've resolved it in #113.

@jobara: there is a regression related to #111 that will cause some translation strings not to appear in this branch. I've resolved it in #113.

Thanks, it looks like I ran into this issue. Thanks for clarifying.


How to use OUSMLoss?

hi @analokmaus  san,
i am trying to use OSUMLoss like this :

def get_loss(name):
    loss_dict = {
        'CrossEntropy': F.cross_entropy,
        'SoftCrossEntropy': soft_cross_entropy_loss,
        'LabelSmoothingCrossEntropy':
        LabelSmoothingCrossEntropy(epsilon=0.1),
        'SCE': SymmetricCrossEntropy(),
        'BCEWithLogitsLoss': F.binary_cross_entropy_with_logits,
        'Coral': coral_loss,
        'MSELoss': F.mse_loss,
        'MAELoss': F.l1_loss,
        'huber': F.smooth_l1_loss,
    }
    return loss_dict[name]

class OUSMLoss(nn.Module):
    '''
    Implementation of
    Loss with Online Uncertainty Sample Mining:
    https://arxiv.org/pdf/1901.07759.pdf
    # Params
    k: num of samples to drop in a mini batch
    loss: loss function name (see get_loss function above)
    trigger: the epoch it starts to train on OUSM (please call `.update(epoch)` each epoch)
    '''

    def __init__(self, k=1,  trigger=5, ousm=True):
        super(OUSMLoss, self).__init__()
        self.k = k
        self.loss_name = 'CrossEntropy'
        self.loss = get_loss(self.loss_name)
        self.trigger = trigger
        self.ousm = ousm

    def forward(self, logits, targets, indices=None):
        logits, targets = _check_input_type(logits, targets, self.loss_name)
        bs = logits.shape[0]
        if self.ousm and bs - self.k > 0:
            losses = self.loss(logits, targets, reduction='none')
            if len(losses.shape) == 2:
                losses = losses.mean(1)
            _, idxs = losses.topk(bs-self.k, largest=False)
            losses = losses.index_select(0, idxs)
            return losses.mean()
        else:
            return self.loss(logits, targets)

    def update(self, current_epoch):
        self.current_epoch = current_epoch
        if current_epoch == self.trigger:
            self.ousm = True
            print('criterion: ousm is True.')

    def __repr__(self):
        return f'OUSM(loss={self.loss_name}, k={self.k}, trigger={self.trigger}, ousm={self.ousm})'

ref :  https://github.com/analokmaus/kaggle-panda-challenge-public/blob/208caf4c83a5ab9d181e66eee447cd2e475d58dc/models/noisy_loss.py
when i do  :
loss = OUSMLoss(logits, target)
loss.backward()

i get,
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<timed exec> in <module>

<ipython-input-105-6eecc42fef33> in train_epoch(loader, optimizer)
     16         loss = OUSMLoss(logits, target)
     17
---> 18         loss.backward()
     19         optimizer.step()
     20

/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py in __getattr__(self, name)
    592                 return modules[name]
    593         raise AttributeError("'{}' object has no attribute '{}'".format(
--> 594             type(self).__name__, name))
    595
    596     def __setattr__(self, name, value):

AttributeError: 'OUSMLoss' object has no attribute 'backward'

how can i modify your OUSMLoss so that i can call loss.backward()?
if i remove loss.backward() then i get OOM

Hi, @mobassir94
OUSMLoss is a nn.Module, you need to create a class before call them.
criterion = OUSMLoss(k=1)
loss = criterion(logits, target)

Please let me know if it works.

Hi, @mobassir94
OUSMLoss is a nn.Module, you need to create a class before call them.
criterion = OUSMLoss(k=1)
loss = criterion(logits, target)

Please let me know if it works.

thank you @analokmaus san <3
one last question, you said to do .update(epoch)
can you share a pseudo code that demonstrates how to use it ?
while calling train_one_epoch() i should pass epoch parameter and then
criterion = OUSMLoss(k=1)
criterion .update(epoch)
loss = criterion(logits, target)
loss.backward()

am i right?

thank you @analokmaus san <3
one last question, you said to do .update(epoch)
can you share a pseudo code that demonstrates how to use it ?
while calling train_one_epoch() i should pass epoch parameter and then
criterion = OUSMLoss(k=1)
criterion .update(epoch)
loss = criterion(logits, target)
loss.backward()

am i right?

@mobassir94
You're welcome. I was too lazy to add documentations to this code, so feel free to ask me questions :)
.update(epoch) is necessary only when you want to start OUSM amid your training at specific epoch.
For example, if you want to train your model normally until epoch 4 and start OUSM from epoch 5,
criterion = OUSMLoss(
    k=1,
    trigger=5 # the epoch OUSM starts
    ousm=False # default ousm status
)
### in training
for epoch in range(num_epochs):
    criterion.update(epoch)
    ### smth
    loss = criterion(logits, target)
    loss.backward()

If you want to train with OUSM from the beginning, just set ousm=True and .update() is not needed.
Is everything clear?

@mobassir94
You're welcome. I was too lazy to add documentations to this code, so feel free to ask me questions :)
.update(epoch) is necessary only when you want to start OUSM amid your training at specific epoch.
For example, if you want to train your model normally until epoch 4 and start OUSM from epoch 5,
criterion = OUSMLoss(
    k=1,
    trigger=5 # the epoch OUSM starts
    ousm=False # default ousm status
)
### in training
for epoch in range(num_epochs):
    criterion.update(epoch)
    ### smth
    loss = criterion(logits, target)
    loss.backward()

If you want to train with OUSM from the beginning, just set ousm=True and .update() is not needed.
Is everything clear?


Update hooks-effect.md

In the handleStatusChange function it receives an object as a parameter, but from the subscribeToFriendStatus and unsubscribeFromFriendStatus methods, these callback functions do not have any arguments passed to them. For the sake of verbosity I propose adding the arguments.

Hello @Eckhardt-D, thank you for taking the time to contribute!
I can see that useEffect page in react.dev contains updated info and the parts and samples you modify are no longer present there. Let me close this PR as outdated, but please create new PRs to address open issues if you would still like to contribute.


Feature request : display url arguments in Logger middleware

Hi,
this is a feature request : display url arguments in Logger middleware.
Best regards,
Stéphane

Hi @harobed,
I assume you mean the GET parameters?

Doh, missed the link to #137

We should change r.URL.Path to r.RequestURI. That captures everything.
Also, we should add -

r.UserAgent()
r.Referer()
r.RemoteAddr

and just store these in the LoggerEntry struct. Since the LoggerDefaultFormat is exported, the user can choose to add these extra variables. That way, the external behavior is unchanged.
If you agree with this, may I send a PR for it ?

:+1: I wonder if it makes sense to just pass the whole http.Request struct to the template.

Not a bad idea, except we would lose the template format string used to log. And, also I wanted log UserAgent() and Referer(), both of which are functions, not properties. Or can we specify function calls of structs from inside templates ? Is this valid - {{.Request.UserAgent()}} ?

You can call methods on template values in the same manner as properties ({{ .Request.UserAgent }} in your example).
I think we should keep the existing properties for compatibility, but possible also add Request as an available field to allow people the flexibility to log arbitrary fields.

Great ! PR incoming soon !


Extract root_dir from server's settings table

See #104 for details

You can customize individual servers using mason lspconfig like this:
    require("mason").setup()
    require("mason-lspconfig").setup()

    require("mason-lspconfig").setup_handlers {
        -- The first entry (without a key) will be the default handler
        -- and will be called for each installed server that doesn't have
        -- a dedicated handler.
        function (server_name) -- default handler (optional)
            require("lspconfig")[server_name].setup {}
        end,
        -- Next, you can provide a dedicated handler for specific servers.
        -- For example, a handler override for the `rust_analyzer`:
        ["rust_analyzer"] = function ()
            require("rust-tools").setup {}
        end
    }

This would be the recommended way you could override things for tsserver individually

Thanks for the suggestion tho!


Add cross compile to aarch64, armhf, and armel

Needed for nestybox/sysbox#360

Force push was due to missing signoffs

@abalmos, please check this out to meet the DCO requirement.


Add FFI from erlang to start a node

This change pulls in the net_kernel::start/2 function from erlang along with adding some extra types to make the function more usable in gleam.
NOTE: epmd must be running in order for the new start_test to work since starting a node depends on epmd running. In my research, I could not find an easy way to start epmd or at least confirm if it is already started.

Hello! Thank you for this but I think it would be better placed in a library. This package largely is for Erlang types and values that would be very commonly used in Gleam programs, and starting nodes is rather niche and could benefit from experimentation with potential different APIs.

Understood @lpil, thanks for taking a look.


Reconnecting blocks whole app.

I'm testing the auto reconnect features of ioredis, and i've noticed that everytime ioredis looses connection to the redis server (non cluster, non sentinel), it blocks everything for 1 minute per ioredis request.
I've managed to cut that down to 1 second by tweaking maxRetriesPerRequest = 1 and retryStrategy to 1s minimum, but when my http request do 10-20-100 redis requests (unable to bundle those into mget unfortunately) this slows down everything?
Can i make ioredis reconnect in the background naively, without having to implement custom logic?

Anyone has any ideas/clues how to prevent blocking?

Sorry for the late response.
You can set maxRetriesPerRequest to 0 so that commands will be rejected when the connection is lost, but the connection will keep reconnecting.


[EPIC] Check and review permissions

Good practices should be defined. For example :

Add @derive {Jason.Encoder, only: [...]} for every ecto schema to ensure that potentially critical new added field are not encoded and returned to the API (unless specifically allowed)
Add a base rule that deny every API request to any Route if not specifically allowed
Check if there is no better way to check permission than Bouncer. (using a plug maybe ?)

https://github.com/cpjk/canary
https://github.com/boydm/policy_wonk
https://github.com/schrockwell/bodyguard

A bunch of check and test should be done to ensure that the permission/access are correctly setup.

Is good practices are respected everywhere ?
Check that we cannot access API/Data route if we are not connected. (Add unit test if needed)
Check that we cannot access the Data from the "Data API" from another app/environment. (Add unit test if needed)
More generally, review every route to check :

Can we ask for data that we should not be able to see ?
Can we store/update/delete data that we should not be able to write ?
Is the returned data contain sensible information (credential, hashed password, private data...)
Can we find any security flaw ?
Is there is unit test that check everything ?

Suggestion :
We could add a test directory in every project that need it to group all the security unit test. Using naming convention, we can fast check if a route is fully covered from unit test or not.

@Nesqwik Is it managed by #209 ?

No, this only check that the token have the correct scope. Not the permissions.
This one relates to Bouncer, we must make sure that no resource is available to the wrong person and no-one can update/delete anything that he should not be able to.


webrtc-everywhere-console.exe not working

I have compiled webrtc and webrtc-everywhere projects in windows and successfully generated the dll's and exe, but when I try to run the console I am getting the below error. Please help me if I miss something. When I download the setup and install it is working fine in IE with the samples provided.
*INFO: _MediaStreamTrackAudio::~_MediaStreamTrackAudio
*INFO: _MediaStreamTrack::~_MediaStreamTrack
**ERROR: function: "_MediaStreamTrackVideo::_MediaStreamTrackVideo()"
file: "_MediaStreamTrack.cc"
line: "291"
MSG: Failed to open video capture device
*INFO: _MediaStreamTrackVideo::~_MediaStreamTrackVideo
*INFO: _MediaStreamTrack::~_MediaStreamTrack
*INFO: _RTCPeerConnection::OnRenegotiationNeeded
*INFO: ~DummyCreateSessionDescriptionObserver
*INFO: _MediaStreamTrackAudio::~_MediaStreamTrackAudio
*INFO: _MediaStreamTrack::~_MediaStreamTrack
*INFO: audioTracks.size() = 1
*INFO: videoTracks.size() = 0
*INFO: AudioTrack: 2_audio_track, audio, 5
*INFO: _MediaStreamTrackAudio::~_MediaStreamTrackAudio
*INFO: _MediaStreamTrack::~_MediaStreamTrack
*INFO: _MediaStream::~_MediaStream

Why do you want to test the console app?
This is the expected result.

Hi Thanks for your quick reply, can you please let me know why the opening of video capture device failed when I linked the webrtc-everywhere-common.dll of compiled source code that you provided, but the same case is executing successfully without any error when I try to link the webrtc-everywhere-common.dll from the setup you have provided. Is the dll generated from the source code that you have provided?

Hello,
I am also facing same issue, nagarjunabandi are able to resolve this ?
If yes let me know what is missing.
Thanks


Jongo Overriding the BasicDBObject to LazyBSONObject

Hi,
I'm facing a weird issue while using jongo in my code. I have some legacy code written using BasicDBObject/DBObject. When I added jongo dependencies, it's giving me following exception:
org.jboss.resteasy.spi.UnhandledException: java.lang.UnsupportedOperationException: Object is read only
    at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76)
    at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:212)
    at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:149)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:372)
    at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)

Caused by: java.lang.UnsupportedOperationException: Object is read only
    at org.bson.LazyBSONObject.put(LazyBSONObject.java:353)

My legacy code is something like this:
Mongo mongo = new MongoClient();
DBCollection coll = mongo.getDB("myDB").getCollection("myCollection");
DBCursor cursor = coll.find(new BasicDBObject("key","value").toString());
DBObject obj = cursor.next();
obj.put("newkey":"value");          // showing error it seems can't modify the ready only object

I have following dependencies:
<fasterxml.jackson.core.version>2.3.0</fasterxml.jackson.core.version>
<jongo.version>1.0</jongo.version>
<mongo-java-driver.version>2.12.2</mongo-java-driver.version>

Any idea what can be a possible cause. It was working fine before adding jongo dependecies, my guess is jongo is overriding the internal behaviour of BasicDBObject and converting it to read only.
Thanks

I hit this issue when trying to use the same MongoClient (and then get a DB used to build a Jongo instance) with spring-data.

I'm running into a similar issue, @mox601  So is the solution to not initialize Jongo with the MongoClient used by Spring Data?

FYI - for anyone else stumbling into this issue when trying to use some Jongo based features in a Spring Data MongoDB applicatoin, it is working for me to initialize Jongo with a fresh MongoClient instance instead of reusing the MongoClient in the Spring context.


[BUG] Node Management / Transactions - Expiry time are years

Describe the bug
A clear and concise description of what the bug is.
Node Management / Transactions - Expiry time are years
To Reproduce
Steps to reproduce the behavior:

Go to 'Enable node management'
Click on 'Node Management '
Scroll down to 'Transactions '
See invoice expiry times are carbage

Expected behavior
Show reasonable expiry times of invoices.
I'd estimate LN invoices should expire in less than hundrest or tens of thousands of years. See
Screenshots

Desktop (please complete the following information):

LNbits version: 0.11.1
Database sqlite

Additional context
I have not tested on more recent versions, and I have no possibility to make such tests.

0.12.1 - still the same

@tlindi  What node are you using?

LND on MyNode from separate host machine with LNDRestWallet Funding.


[Feature] Add support for vlc media player

VLC seems to support the flags required to feed a HTTP stream and subtitle files:

--sub-file for subtitles.
--play-and-exit to make VLC exit after the video.
--extraintf http --http-password 1234 to enable the HTTP server.

The HTTP server requires the set authentication and listens on port 8080 by default (controlled by --http-port). Request to http://<IP_ADDRESS>:8080/requests/status.xml yields an XML with length (in seconds) and position (ranges 0-1). Polling that and parsing the result seems to be a valid approach to track progress. With these elements, ulmas should be able to use VLC as an option.
Specifically for Windows, also look in the default installation directory if not in path.

Reminder: Check idx/sub support. See if it matches mpv's mechanism.


Are exports/imports supported?

I have:
// cow.es6

export default class {
  moo() {
    console.log("moooooo!");
  }
};

it compiles to this js:
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
// ...

and I get the error: ReferenceError: exports is not defined on line 3.  Any ideas?

It appears that babel is set to commonjs format for modules, which doesn't work in the browser.  Can we switch that to AMD?

Actually, for now, ignore might be the simplest. Certainly better than broken.

Not sure what you'd want to do here @TannerRogalsky It looks like you already have some module code in: https://github.com/TannerRogalsky/sprockets-es6/blob/7fb29910f68ea350fa1f0b49ddd05e0bdab9703c/lib/sprockets/es6.rb#L38-L40  But it's unclear how this is useful without setting the modules option.

I see this has been ported into rails/sprockets.  And I found the solution I needed:
https://github.com/rails/sprockets/issues/73#issuecomment-139113466

@jcoyne, Glad you got it working to your liking. For my part, I use this to add module support. https://github.com/TannerRogalsky/sprockets-commonjs


move pool token allowance setting to external adapter

allowance setting entails calling method "approve(address spender, uint256 amount)" on the target token/s. Therefore, it would be correct to move the related methods (setAllowance, setMultipleAllowances) to the external adapters.
If methods should be used to revoke allowances for security considerations (i.e. revoke allowances to external methods), then methods should be modified in the implementation to only allowing revoking those allowances (i.e. setAllowance(targetToken, spender, 0).

still relevant


Incompatible shapes caused by tf.reshape

In model graph definition, like nn4.py, the output is flattened by tf.reshape with hard-code dimension
however, it causes error for arbitrary size input images:
InvalidArgumentError (see above for traceback): Incompatible shapes: [750,896] vs. [30,896]
[[Node: sub_29 = Sub[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"](dropout/mul, Gather)]]
[[Node: total_loss/_591 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/gpu:0", send_device_incarnation=1, tensor_name="edge_37166_total_loss", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"]
the  hard-code dimension
net = tf.reshape(net, [-1, 896])
may be replaced with:
net = tf.contrib.layers.flatten(net)

Hi,
Since I don't have time to support this model it will most likely be removed soon. It should really be rewritten using slm but I don't have time for that.

@davidsandberg  You really did a good job! 3x


compiling layer_norm never ending

as captioned, processes are using CPU 100%, but the compiling just not ending. It stays at below message:

Emitting ninja build file /home/notebook/data/personal/80342508/text-generation-inference-main/server/flash-attention/csrc/layer_norm/build/temp.linux-x86_64-cpython-39/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
any one can give me a hint? Thanks!
My hardware is A100

With ninja it takes 4-5 mins to compile on a machine with 64 cores ( using the Pytorch container from Nvidia).

With ninja it takes 4-5 mins to compile on a machine with 64 cores ( using the Pytorch container from Nvidia).

Thank you for your note, I'll try with this kind of container

yes, using the pytorch from NVIDA, it's a lot faster, maybe less than 20 mins.


pcli --version / -V flag not working

Describe the bug
per #574  pcli is not titled correctly. In addition, the pcli --version and -V flags do not appear to be working, so it may be difficult to tell what version of the testnet one is on especially if one is updating from a previous testnet install.
To Reproduce
Steps to reproduce the behavior:

cargo run --quiet --release --bin pcli --version
OR cargo run --quiet --release --bin pcli -V
See "error: Found argument '-V' which wasn't expected, or isn't valid in this context"

Expected behavior
Print the tagged testnet version.
006-orthosie
Screenshots

I think part of this may be a Cargo behavior; running any binary with Cargo requires using -- to separate arguments for the binary from arguments for cargo.  I'm not sure there's much we can do about that, but I agree it's really unintuitive.


Theme or Extension installing problem

Clear instalation of CMS - have problem to install any extension or template

This is caused by the PHP configuration of your hoster. Can you ask them to allow the usage of that function?


Improve efficiency!

PGDrive has slowed down a lot! The example profile script shows the FPS is now 180 in CPII17 machine! @lqy0057

I found that the FPS is different in onscreen and none mode by using pstats. The reason is that when using onscreen mode and do real-time simulation, taskMgr.step() will be called for 5 times in one PGDrive frame. Actually, the FPS of the outer loop is the same.

And now the first thing we can optimize is rigidbody node culling

Before optimization:

After optimization:


dbvis: Update to version 23.2.5, fix checkver

Fix checkver.

Update to version 23.2.5.

[x] I have read the Contributing Guide.

/verify


Update index.md

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @haxsgvnbdus. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Revamp Resource Search

Now that the endpoint to list generic resources is created, we can work on revamping the resource search and resource details page.
Search results should only show one result per resource, regardless of the number of versions associated with the resource.
When viewing resource details, the "latest" version should be the default selection. A button should be located next to the selected version with the text "Change Version". Clicking the button should pop a modal (exact interaction TBD, up for debate if anyone has opinions) that has a list of all available resource versions with relevant information to help the user select the correct version for their needs.

First pass prototype

Simplified resource search result card

Shows name of resource, latest version, date that the latest version was created on (based on build occurrence of the resource, or fallback to ??)

Resource version picker

Version options show resource version, tags for that version, and date of version creation

Updated prototypes that include the generic resource/versioned resource screens

[ ] Add version selection to the existing resource details page
[ ] Update the resource search to return generic resources. Selecting a resource should default to latest (?) version
[ ] Once evaluation history or assignments exist, implement generic resource screen


[Feature]: Support new using syntax for browser and page

Feature description
There is a new ES proposal that is in Stage 3 and was also supported by TypeScript v5.2.
It's the Explicit Resource Management.
My feature proposal is to support that for Browser and Page classes by implementing the Symbol.asyncDispose symbol, so we could use the using syntax instead of having to use the "let, try, finally" approach

Thanks for the feature request. Browser and Page classes already define dispose symbols so you could probably already use them but we won't be making it the official part of our interface before the proposal moves to the next stage.


nginx rewrite

Any idea on an nginx rewrite? I know it shouldn't be that difficult but I am ashamed to be regex-challenged.

Hi,
Thanks for the excellent library :-)
We are also using NGinx and had to change the regex a bit, probably depends on the configuration, but here's the block we are using, both with rewrite for index.php as well as rewrite for asset files to Munee. Hope this helps someone:
index   index.php;

location ~ ^(.+\.(css|less|scss|js|coffee|gif|jpe?g|png))$ {
        rewrite ^(.+)$ /munee.php?files=$1 last;
}

location / {
        try_files $uri $uri/ @rewrite;
}

location @rewrite {
       rewrite ^/.*$ /index.php last;
}

 location ~ \.php$ {
       include fastcgi_params;
       ... and so on...
}

Take care!
Kinamo


error on build

Kendo.DynamicLinq.Core builded correctly but KendoUI.Core.Samples does not build
Win 10 64bit & VS 2017
1>------ Build started: Project: KendoUI.Core.Samples, Configuration: Debug Any CPU ------
1>It was not possible to find any compatible framework version
1>
1>The specified framework 'Microsoft.NETCore.App', version '1.0.0' was not found.
1>
1>  - Check application dependencies and target a framework version installed at:
1>
1>
1>
1>  - Alternatively, install the framework version '1.0.0'.
1>
1>E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples\KendoUI.Core.Samples.csproj(1602,5): error MSB3073: The command "dotnet bundle" exited with code -2147450749.
1>Done building project "KendoUI.Core.Samples.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

I think you are using an outdated VS2017. To prove that, just run the _1-dotnet_run.bat file (double click).
You have 2 choices here:

Update your VS 2017
Or remove it from your system (because its old/not updated build system will cause problems for VSCode) and start using VSCode.

No I have the latest VS 2017. I think your asp.net core is not v2.
My VS:
Microsoft Visual Studio Enterprise 2017
Version 15.5.1
VisualStudio.15.Release/15.5.1+27130.2003
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Enterprise
Visual Basic 2017   00369-90000-00000-AA417
Microsoft Visual Basic 2017
Visual C# 2017   00369-90000-00000-AA417
Microsoft Visual C# 2017
Visual F# 4.1   00369-90000-00000-AA417
Microsoft Visual F# 4.1
Application Insights Tools for Visual Studio Package   8.10.01106.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017   15.0.31125.0
ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services   1.0
Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2017   5.2.51007.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   15.0.31106.0
Azure App Service Tools v3.0.0
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
JavaScript Language Service   2.0
JavaScript Language Service
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.51120.3
Microsoft Continuous Delivery Tools for Visual Studio   0.3
Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
NuGet Package Manager   4.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
Snapshot Debugging Extension   1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Data Tools   15.1.61710.120
Microsoft SQL Server Data Tools
TypeScript Tools   15.5.11025.1
TypeScript Tools for Microsoft Visual Studio
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio

I run "_1-dotnet_run" and it's result:
E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples>dotnet watch run
watch : Started
E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples\KendoUI.Core.Samples.csproj(1602,5): error MSB3073: The command "dotnet bundle" exited with code -2147450749.
The build failed. Please fix the build errors and run again.
watch : Exited with error code 1
watch : Waiting for a file to change before restarting dotnet...

OK. You have problems running dotnet bundle command. To fix it, open the command prompt and then navigate to src\KendoUI.Core.Samples path, finally run the following commands, one by one:
dotnet restore
npm install
npm install -g bower
bower install

PS E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples> dotnet restore
Restore completed in 37.28 ms for E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples\KendoUI.Core.Samples.csproj.
Restore completed in 15.92 ms for E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\Kendo.DynamicLinq.Core\Kendo.DynamicLinq.Core.csproj.
Restore completed in 56.12 ms for E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples\KendoUI.Core.Samples.csproj.
Restore completed in 62.16 ms for E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples\KendoUI.Core.Samples.csproj.
Restore completed in 57.49 ms for E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples\KendoUI.Core.Samples.csproj.
PS E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples>
PS E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples> npm install
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
is correct and try again.
At line:1 char:1

npm install

  + CategoryInfo          : ObjectNotFound: (npm:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

PS E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples> npm install -g bower
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
is correct and try again.
At line:1 char:1

npm install -g bower

  + CategoryInfo          : ObjectNotFound: (npm:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

PS E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples> bower install
bower : The term 'bower' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1

bower install

  + CategoryInfo          : ObjectNotFound: (bower:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

PS E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples>

npm needs node.js, so you should install it too https://nodejs.org/en/download/

I installed node-v9.5.0-x64 but:
PS E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples> npm install
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

npm install

  + CategoryInfo          : ObjectNotFound: (npm:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

Yes. Npm is not a cmdlet, so don't use the NuGet power-shell command to run it. Use the command prompt of the OS.

In command prompt:
E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples>dotnet restore
Restore completed in 37.02 ms for E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples\KendoUI.Core.Samples.csproj.
Restore completed in 48.59 ms for E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples\KendoUI.Core.Samples.csproj.
Restore completed in 57.47 ms for E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples\KendoUI.Core.Samples.csproj.
Restore completed in 41.05 ms for E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\Kendo.DynamicLinq.Core\Kendo.DynamicLinq.Core.csproj.
Restore completed in 60.88 ms for E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples\KendoUI.Core.Samples.csproj.
E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples>npm install
npm notice created a lockfile as package-lock.json. You should commit this file.
up to date in 0.125s
E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples>npm install -g bower
npm WARN deprecated<EMAIL_ADDRESS>...psst! Your project can stop working at any moment because its dependencies can change. Prevent this by migrating to Yarn: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
C:\Users\SOFT\AppData\Roaming\npm\bower -> C:\Users\SOFT\AppData\Roaming\npm\node_modules\bower\bin\bower

<EMAIL_ADDRESS>added 1 package in 12.096s

E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples>bower install
E:\Learning\DotNetTips\KendoUI.Core.Samples-master\src\KendoUI.Core.Samples>
And steel error : The command "dotnet bundle" exited with code -2147450749.

just delete the package-lock.json file, if you have it.
update the BundlerMinifier.Core package to v 2.6.362

<DotNetCliToolReference Include="BundlerMinifier.Core" Version="2.6.362" />

Thank you my sir.


Documentation: Important changes in Readme.md

Documentation: Added Logo at Center, Text-Center Alignment,URL addition in Readme.md
PR Checklist

Please check all that apply to this PR using "x":

[ ] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[x] I have checked that this PR does not introduce a breaking change
[x] This PR introduces breaking changes and I have provided a detailed explanation below

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[x] Code style update (formatting)
[ ] Refactoring (no functional changes)
[x] Documentation changes
[ ] Other - Please describe:

Fixes
Issue Number:
What is the current behavior?
Just Simple Text was Written
What is the new behavior?
Added new Formatting in the documentation, added logo at the center, as well as center alignment of text including the addition of new 33 lines of code
Other information

Like really really important?

@seanyesmunt Please review the new changes and merge my PR! #3079

@tzarebczan Makes Readme attractive and readable

@seanyesmunt Review the changes in Readme and merge my PR. #3079
Updated Readme.md looks like :

@prateekpardeshi, thanks for the PR! Congrats on the first one here :)
Can we show you some appreciation for the contribution?
Also, we're giving away some Hacktoberfest bonuses and goodies for this month. We'll send you the information when you reach out to us.


holdingpen: author submission UI prototype

ref: cern-sis/issues-inspire#468

@karolina-siemieniuk-morawska have we deployed it?


openCL build fix

Fixes build fail on openCL @kiritigowda @LakshmiKumar23

[100%] Linking CXX shared library lib/librpp.so
[100%] Built target rpp

sudo make install
Consolidate compiler generated dependencies of target addkernels
[  5%] Built target addkernels
Consolidate compiler generated dependencies of target modules
[ 98%] Built target modules
[100%] Built target rpp


add save, formatted audio cues to editor accessibility help dialog

fix #195716

ในวันที่ พ. 18 ต.ค. 2023 07:58 น. Megan Rogge @.***>
เขียนว่า:

@.**** commented on this pull request.
In src/vs/editor/common/standaloneStrings.ts
https://github.com/microsoft/vscode/pull/195831#discussion_r1362969243:

@@ -25,6 +25,12 @@ export namespace AccessibilityHelpNLS {
export const tabFocusModeOffMsg = nls.localize("tabFocusModeOffMsg", "Pressing Tab in the current editor will insert the tab character. Toggle this behavior {0}.");
export const tabFocusModeOffMsgNoKb = nls.localize("tabFocusModeOffMsgNoKb", "Pressing Tab in the current editor will insert the tab character. The command {0} is currently not triggerable by a keybinding.");
export const showAccessibilityHelpAction = nls.localize("showAccessibilityHelpAction", "Show Accessibility Help");

export const saveAudioCueDisabled = nls.localize("saveAudioCueDisabled", "audioCues.save is disabled, so an alert will occur when a file is saved.");

It's an in product notification
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/pull/195831#discussion_r1362969243,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALVQ5WLVDZU5CUZXQE6ORIDX74SSHAVCNFSM6AAAAAA6EO45ZWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTMOBTG4YDIMRQGY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Add Support for Separate Time Windows

Been slowly working on implementing this design from @jsdelfino of supporting more than just day time windows in the usage.
To allow accumulation, aggregation, rating, and reporting of data across more time windows than just a day.

Changes will have to happen at accumulator, aggregator, rate, and report.
Changes that I'm in the process of doing to reach this are:

Quantity from a single object to a 7-length array of objects

The array will always be ordered in the following way: [second, minute, hour, day, month, year, forever]
Usage will be accumulated across those 7 time windows

The state document will change its partitioning logic

Instead of partitioning to a db of [prefix]-YYYYMM-X, the state document will go to a db of [prefix]-X

Lookup can be done by using the log documents

Given a time T, pick the latest document that has usage reported before the time T from the log
Currently in accumulator for instance, we have the logid as  const alogid = dbclient.kturi(k, [day(u.end), seqid()].join('/')); which may be problematic in doing this query logic in anything smaller than a day window. However, this id may be important for recovery, so we will need to figure out the cleanest way to do this.

Db name is currently formatted using  [name]-PP-YYYYMM  and shouldn't the new db name be formatted using [name]-PP-VV -  where PP is the partition, VV is the document schema version as an epoch and YYYYMM is year and month as an epoch.

Yes IMO using [name]-PP-VV would make more sense.

In terms of following this design with accumulator and aggregator, it was changing the quantity to a 7-length array.
When we get to rate, instead of making an equivalent 7-length array for costs. It'd be better to keep all the values associated with that quantity in one object(similar to the current and previous quantities in accumulator). Since it wouldn't make sense to just call it quantity despite having cost. Here's what the structure would most likely look like in terms of aggregated_usage:
{   aggregated_usage: [     {       metric: 'memory',       windows: [{         cost: 0,         quantity: 0       },       {         cost: 0,         quantity: 0       },       {         cost: 1,         quantity: 1       },       {         cost: 24,         quantity: 24       },       {         cost: 720,         quantity: 720       },       {         cost: 8640,         quantity: 8640       },       {         cost: 86400,         quantity: 86400       }]     }   ] }
windows would be holding the new quantity and cost in a 7-length array. Since charge & summary will also be added to this object during the report, the name ought to accommodate. At the risk of sounding redundant, would usage or usage_amount work here better, or is there other terms that would make more sense?
Thoughts? Suggestions?

This was discussed on cf-dev there<EMAIL_ADDRESS>

Closing this since this design was implemented as part of this commit 5a985b9abb4f17e97da5d0d13f662ed89ada2ec1


Accents in files created in CMS

Is your feature request related to a problem? Please describe.

An entry created with an accent in the title is created with the accent in the file. For example
title: AAAA for Régis
produces:
aaaa-for-régis.md
Describe the solution you'd like

Filenames are created with clean slugs, instead of:
title: A ~real "test" for—special & Characters in tïléß producing:
a-~real-test-for—special-characters-in-tïléß.md
it would produce:
a-real-test-for-special-characters-in-titles.md
Describe alternatives you've considered

Additional context

cc @regisphilibert recording some issues in our fork so we can decide on any given issue to find a solution ourselves, or report into the NCMS repo.
I think there is a package for this, but does not seem to work 100%. Still investigating.

config setting that may solve
slug:
  encoding: ascii
  clean_accents: true
  sanitize_replacement: "-"


[web]: The Flutter SDK is not available

I am able to run the hello_world web example app with no problem.   When I follow the same steps for my test project (works on flutter mobile), getting the error below.
C:\temp\recipes-master-web>webdev serve
Unhandled exception:
ProcessException: OUT
ERR
The Flutter SDK is not available.

Command: C:\Program Files\dart\dart-sdk\bin\pub.bat deps
#0      _runPubDeps (package:webdev/src/pubspec.dart:55:5)

#1      PubspecLock.read (package:webdev/src/pubspec.dart:70:11)

#2      CommandBase.runCore (package:webdev/src/command/command_base.dart:77:41)

#3      ServeCommand.run (package:webdev/src/command/serve_command.dart:98:24)
#4      CommandRunner.runCommand (package:args/command_runner.dart:196:27)

#5      _CommandRunner.runCommand (package:webdev/src/webdev_command_runner.dart:36:24)

#6      CommandRunner.run. (package:args/command_runner.dart:111:29)
#7      new Future.sync (dart:async/future.dart:224:31)
#8      CommandRunner.run (package:args/command_runner.dart:111:11)
#9      run (package:webdev/src/webdev_command_runner.dart:18:56)
#10     main (file:///C:/Users/amikaml/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/webdev-1.0.1/bin/webdev.dart:16:22)

#11     _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:298:32)
#12     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
Unhandled exception:
ProcessException: OUT
ERR
The Flutter SDK is not available.

Command: C:\Program Files\dart\dart-sdk\bin\pub.bat deps
#0      _runPubDeps (package:webdev/src/pubspec.dart:55:5)

#1      PubspecLock.read (package:webdev/src/pubspec.dart:70:11)

#2      CommandBase.runCore (package:webdev/src/command/command_base.dart:77:41)

#3      ServeCommand.run (package:webdev/src/command/serve_command.dart:98:24)
#4      CommandRunner.runCommand (package:args/command_runner.dart:196:27)

#5      _CommandRunner.runCommand (package:webdev/src/webdev_command_runner.dart:36:24)

#6      CommandRunner.run. (package:args/command_runner.dart:111:29)
#7      new Future.sync (dart:async/future.dart:224:31)
#8      CommandRunner.run (package:args/command_runner.dart:111:11)
#9      run (package:webdev/src/webdev_command_runner.dart:18:56)
#10     main (file:///C:/Users/amikaml/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/webdev-1.0.1/bin/webdev.dart:16:22)

#11     _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:298:32)
#12     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
C:\temp\recipes-master-web>nptepad
'nptepad' is not recognized as an internal or external command,
operable program or batch file.
C:\temp\recipes-master-web>notepad
C:\temp\recipes-master-web>webdev serve
Unhandled exception:
ProcessException: OUT
ERR
The Flutter SDK is not available.

Command: C:\Program Files\dart\dart-sdk\bin\pub.bat deps
#0      _runPubDeps (package:webdev/src/pubspec.dart:55:5)

#1      PubspecLock.read (package:webdev/src/pubspec.dart:70:11)

#2      CommandBase.runCore (package:webdev/src/command/command_base.dart:77:41)

#3      ServeCommand.run (package:webdev/src/command/serve_command.dart:98:24)
#4      CommandRunner.runCommand (package:args/command_runner.dart:196:27)

#5      _CommandRunner.runCommand (package:webdev/src/webdev_command_runner.dart:36:24)

#6      CommandRunner.run. (package:args/command_runner.dart:111:29)
#7      new Future.sync (dart:async/future.dart:224:31)
#8      CommandRunner.run (package:args/command_runner.dart:111:11)
#9      run (package:webdev/src/webdev_command_runner.dart:18:56)
#10     main (file:///C:/Users/amikaml/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/webdev-1.0.1/bin/webdev.dart:16:22)

#11     _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:298:32)
#12     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)
Unhandled exception:
ProcessException: OUT
ERR
The Flutter SDK is not available.

Command: C:\Program Files\dart\dart-sdk\bin\pub.bat deps
#0      _runPubDeps (package:webdev/src/pubspec.dart:55:5)

#1      PubspecLock.read (package:webdev/src/pubspec.dart:70:11)

#2      CommandBase.runCore (package:webdev/src/command/command_base.dart:77:41)

#3      ServeCommand.run (package:webdev/src/command/serve_command.dart:98:24)
#4      CommandRunner.runCommand (package:args/command_runner.dart:196:27)

#5      _CommandRunner.runCommand (package:webdev/src/webdev_command_runner.dart:36:24)

#6      CommandRunner.run. (package:args/command_runner.dart:111:29)
#7      new Future.sync (dart:async/future.dart:224:31)
#8      CommandRunner.run (package:args/command_runner.dart:111:11)
#9      run (package:webdev/src/webdev_command_runner.dart:18:56)
#10     main (file:///C:/Users/amikaml/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/webdev-1.0.1/bin/webdev.dart:16:22)

#11     _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:298:32)
#12     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

You cannot use the flutter package in your pubspec.yaml file. Take a look at the pubspec.yaml file for the example flutter_web project and yours.
You will also need to replace your import statements throughout your project from to use flutter_web and not flutter. For instance import 'package:flutter/material.dart'; should now look like import 'package:flutter_web/material.dart';.

That makes total sense.  Thanks!!

If you would like to get an existing Flutter app running on the Web, check out the migration guide for that: https://github.com/flutter/flutter_web/blob/master/docs/migration_guide.md
Please file an issue if that guide is not clear or something doesn't work.

Thank you!


Tls Passthrough support

Initial version cherry picked from: https://github.com/liwenwu-amazon/aws-application-networking-k8-publics/tree/tls-route-support-mar20
User experiences about TLSRoute, TargetGroupPolicy of this PR are same with the liwenwu-amazon:tls-route-support-mar20 branch.
main branch to  liwenwu-amazon:tls-route-support-mar20 branch diff: https://github.com/zijun726911/aws-application-networking-k8s/pull/3
TLS Passthrough Behaviors Summary

Users can create Kind:TLSRoute k8s resource, the controller will under the hood create VPC Lattice Service with TLS_PASSTHROUGH protocol listener and TCP type TargetGroup.
For cross cluster use case, users can create Kind:ServiceExport  k8s resource and create the Kind:TargetGroupPolicy resource to specify the TargetGroup protocol to TCP. The controller will under the hood create VPC Lattice TCP TargetGroup
By default, controller created TCP TargetGroups has healthcheck==disabled
Same as old TargetGroupPolicy use cases, users can create the Kind:TargetGroupPolicy  to override the healthcheck config for either Service (backendref by TLSRoute) or ServiceExport
For the TargetGroupPolicy with protocol==TCP && protocolVersion!=nil, it will be rejected.
The controller created TCP Target Groups have tag: application-networking.k8s.aws/ProtocolVersion:""

Changes
The controller logic changes:

Make the e2e code path (route_controller/serviceexport_controller --> model_build_xxxxx -->  xxx_synthesizer --> target_group_manager) support the TLSRoute, and the ServiceExport with protocol:TCP TargetGroupPolicy.
In the rule_synthesizer.go, skips to create rules for TLSRoute since Lattice TLS_PASSTHROUGH listener can only have one defaultAction and without any addition rules. In the listener_synthesizer.go, fill the lattice listener's defaultAction to point to the referred TCP TargetGroups.
To support Tls passthrough, both rule_synthesizer and listener_synthesizer need the ResolveRuleTgIds() function (originally resided in the rule_synthesizer.go), so I move the ResolveRuleTgIds()  and findSvcExportTG() to the target_group_manager.go to avoid copy paste same code, and the rule_synthesizer and listener_synthesizer can both use the same s.tgManager.ResolveRuleTgIds(ctx, rule, r.stack)
Encapsulate TLS_PATHTHROUGH listener related logic in the getLatticeListenerDefaultAction()
Added needToUpdateDefaultAction() to check do we need to call vpclattice.UpdateListener() api
Move the unit test Test_ResolveRuleTgIds() to the target_group_manager_test.go
Set healthcheck to disabled for TCP targetGroup by default (for both target_group_manager Create() and Update() methods). If the user specify the healthcheck setting by TargetGroupPolicy, the default healthcheck setting will be overridden. (Disable healthcheck by default for TCP TargetGroup is also the default VPC Lattice API default behavior) https://docs.aws.amazon.com/vpc-lattice/latest/ug/target-group-health-checks.html
Since VPC Lattice TCP TargetGroup don't have ProtocolVersion,  for the TCP TargetGroup, set the tag application-networking.k8s.aws/ProtocolVersion:"".  In the (t *TargetGroupSpec) Validate() remove the ProtocolVersion from requiredFields.
Improvement for targetgrouppolicy with targetRef ServiceExport, now, the targetgrouppolicy_controller Watch() the ServiceExport resource change

e2e test changes

Add new automation e2e tests to test TLSRoute and ServiceExport with protocol:TCP TargetGroupPolicy

CRDs && Image build && helm chart related changes

Added tlsroutes  create, delete, get, list, patch, update, watch permissions for the controller serviceAccount AuthZ permissions
Added gateway.networking.k8s.io_tlsroutes.yaml, included the tlsroutes CRDs in the helm chart and deploy.yaml

Testing

Following tls-passthrough.md steps to set up the single cluster e2e connectivity (TLSRoute backendref Service) and cross-cluster e2e connectivity (TLSRoute backendref ServiceImport + ServiceExport + TargetGroupPolicy) both work as expected.
2 new automation e2e tests can pass (one test TLSRoute and the other one test the TLSRoute+ ServiceImport+ ServiceExport + TargetGroupPolicy).
Ran the whole e2e test suite, all test can pass (skiped the RAM share test)

[SynchronizedAfterSuite]
/Volumes/workspace/aws-application-networking-k8s/test/suites/integration/suite_test.go:72
{“level”:“info”,“ts”:“2024-06-04T01:32:32.262-0700",“caller”:“test/framework.go:264",“msg”:“Deleting objects: *v1.Gateway/test-gateway, *v1.Pod/grpc-runner”}
{“level”:“info”,“ts”:“2024-06-04T01:32:32.312-0700",“caller”:“test/framework.go:282",“msg”:“Waiting for NotFound, objects: *v1.Gateway/test-gateway, *v1.Pod/grpc-runner”}
[SynchronizedAfterSuite] PASSED [31.091 seconds]
------------------------------
Ran 66 of 69 Specs in 2537.133 seconds
SUCCESS! -- 66 Passed | 0 Failed | 0 Pending | 3 Skipped

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

One other question around TLSRouteRule/BackendRef from the spec: https://github.com/kubernetes-sigs/gateway-api/blob/main/apis/v1alpha2/tlsroute_types.go#L103
	// BackendRefs defines the backend(s) where matching requests should be
	// sent. If unspecified or invalid (refers to a non-existent resource or
	// a Service with no endpoints), the rule performs no forwarding; if no
	// filters are specified that would result in a response being sent, the
	// underlying implementation must actively reject request attempts to this
	// backend, by rejecting the connection or returning a 500 status code.
	// Request rejections must respect weight; if an invalid backend is
	// requested to have 80% of requests, then 80% of requests must be rejected
	// instead.

Just curious what our current approach does with invalid BackendRefs. I think this is probably a less vital part of the spec to honour, especially given it's still experiemental, but would be good to describe the expected behaviour here.

One other question around TLSRouteRule/BackendRef from the spec: https://github.com/kubernetes-sigs/gateway-api/blob/main/apis/v1alpha2/tlsroute_types.go#L103
	// BackendRefs defines the backend(s) where matching requests should be
	// sent. If unspecified or invalid (refers to a non-existent resource or
	// a Service with no endpoints), the rule performs no forwarding; if no
	// filters are specified that would result in a response being sent, the
	// underlying implementation must actively reject request attempts to this
	// backend, by rejecting the connection or returning a 500 status code.
	// Request rejections must respect weight; if an invalid backend is
	// requested to have 80% of requests, then 80% of requests must be rejected
	// instead.

Just curious what our current approach does with invalid BackendRefs. I think this is probably a less vital part of the spec to honour, especially given it's still experiemental, but would be good to describe the expected behaviour here.

I will document this part. actually the current behavior is, for example for this TLSRoute:
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: TLSRoute
metadata:
  name: rate-tls-passthrough
spec:
  hostnames:
    - tls-rate.my-test.com
  parentRefs:
    - name: my-hotel-tls-passthrough
      sectionName: tls
  rules:
    - backendRefs:
        - name: tls-rate1
          kind: Service
          port: 443
          weight: 10
        - name: tls-rate2
          kind: ServiceImport
          port: 443
          weight: 90

If the tls-rate2 targetGroup is not ready, it will block the traffic for both tls-rate1 and tls-rate2
( base on the ResolveRuleTgIds() logic https://github.com/aws/aws-application-networking-k8s/blob/595fff8ab63ef901b81b7ce0d63a2461be4d1865/pkg/deploy/lattice/target_group_manager.go#L459 )

The reason I'd like to change is that right now we have a few comment lines explaining why the code should drop through to the else for TLS passthrough. A multi-line explanation in comments can be a warning sign we don't have the code structured correctly. I'd like us to rather take an approach that is explicit, intuitive to follow, and needs no justifying or explanatory comments. I think what I proposed (or something like it) would do the trick.
Ideally we would redefine the interfaces so there were separate L4 and L7 interfaces, and there would be no Matches() at all on TCPRoute. This would be a larger change and is probably OK to skip for now, but we should not be relying on the empty list behavior here.

Changed in the new revision. please check: https://github.com/aws/aws-application-networking-k8s/pull/643#discussion_r1629937229

Should we just drop this Expect() then since we don't really care?

Removed assertion for the tg port in the new revision.


Email sent to CLA Managers for approval request from a contributor needs a change

Following is the current email sent to CLA Managers for approval request from a contributor.
Subject: EasyCLA: Approval Request for contributor: bubba01202021
Hello Pranab Bajpai,
This is a notification email from EasyCLA regarding the organization 444.
The following contributor would like to submit a contribution to the 444 CLA Group Child2_SeriesLLC CLA Group and is requesting to be approved as a contributor for your organization:
Child2_SeriesLLC CLA Group - GitHub User Name: bubba01202021,GitHub ID: 77810174,Emails<EMAIL_ADDRESS>Approval can be done at https://lfx.staging.platform.linuxfoundation.org
Please notify the contributor once they are added to the approved list of contributors so that they can complete their code contribution.
If you need help or have questions about EasyCLA, you can read the documentation or reach out to us for support.
EasyCLA Support Team
Change the above email to the following:
Subject: EasyCLA: Approval Request for the contributor: bubba01202021
Hello Pranab Bajpai,
This is a notification email from EasyCLA regarding the organization 444.
The following contributor would like to submit a contribution to the project(s): [comma separated project names] associated with the CLA Group [CLA Group Name] and is requesting to be added to the approval list as a contributor for your organization:
GitHub User Name: bubba01202021,GitHub ID: 77810174,Emails<EMAIL_ADDRESS>Approval can be done at https://lfx.staging.platform.linuxfoundation.org. Visit any of the project(s): [comma separated links to the projects] and add the contributor to the approved list.
Please notify the contributor once they are added to the approved list of contributors so that they can complete their contribution process.
If you need help or have questions about EasyCLA, you can read the documentation or reach out to us for support.
EasyCLA Support Team

This one needs frontend change as well because it's coming from here : https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#operation/notifyCLAManagers and we only get claGroupName, we need claGroupID or projectSFID whatever is present on that screen for the frontend to be able to fetch all of the associated projects for that cla-group-name. @dealako @vinod-kadam

@wanyaland  & @amolsontakke3576  as discussed we will change the API to accept CLAGroupID instead of CLA Group Name (as what other APIs being called from Contributor Console do).
@wanyaland  please make the API change & the logic change for the email & inform @amolsontakke3576  so that he can verify from his end.

This is deployed to DEV, Staging & PROD.

A minor change is required which is as follows and highlighted in red:

@wanyaland  the sentence should say " is requesting to be added to the approval list.." and not "is requesting to be approved..".

Deployed to DEV, STAGING, and PROD.

Verified on Staging - the sentence is appearing fine now.
Hello Vinod Kadam,
This is a notification email from EasyCLA regarding the organization Proxima.
The following contributor would like to submit a contribution to the projects(s): vinods15foundation_child6, vinods15foundation_child5 and is requesting to be added to the approval list as a contributor for your organization:
GitHub User Name: vinod-kadam,GitHub ID: 63305651,LF Login: vinodkp3,LF Email: vinodk+p3@proximabiz.com,Emails<EMAIL_ADDRESS>Approval can be done at https://lfx.staging.platform.linuxfoundation.org. Visit any of the project(s):vinods15foundation_child6,vinods15foundation_child5 and add the contributor to the approved list.
Please notify the contributor once they are added to the approved list of contributors so that they can complete their contribution.
If you need help or have questions about EasyCLA, you can read the documentation or reach out to us for support.
EasyCLA Support Team


Add JavaScript Visualisation: 1D Wave

Given the online nature of the site I think there is scope to leverage a little javascript to do some visualisations (possibly even interactive)
I've played around previously with actually doing the drawing:
e.g.

Modes of 1D Wave
Thin Plate Model

Mainly looking for suggestions on what level of interactivity could be provided

There's some visualisation in the FEniCSx tutorial: https://knowledgebase.acoustics.ac.uk/tutorials/fem/fenicsx-helmholtz-tutorial.html
It uses pyvists. @jorgensd knows how it works.


Added the Super Hero app

Hey @Priyanshi662, added the Super Hero app for issue #65 .
Screenshot-

pull the changes and make PR @Lakshya0018UP

@Priyanshi662 Now see it


Viewer Certification Validation

The Viewer should be lax when connecting to self for certificate validation.
However, when not connecting to self, the viewer should force a well-known certificate, or the user should provide one.

The above change is mostly for dev purposes, so it would also only be in effect for debug builds as well.

Completed
https://github.com/smasherprog/Remote_Access_Library/commit/10b7ad2a660bb0bff30310df8f95164b131dddf9


i18n(es): Fix typos in tutorial

What kind of changes does this PR include?

New or updated content
Translated content

Description

What does this PR change? Give us a brief description.
Fixed some typos in tutorial

Gracias por la revisión 🤠


⚠ gorzdrav.org has degraded performance

In 42232e0, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 1782 ms

Resolved: gorzdrav.org performance has improved in 026aa6c.


Updating for Windows 10 notepad automation

Windows 10 Notepad is showing different dialog box when we press File->Exit. There is "Don't Save" button instead of "No". The "Don't Save" option is coming as "Button2" in this case.

Codecov Report

Merging #483 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #483      +/-   ##
==========================================
- Coverage    94.6%   94.58%   -0.03%
==========================================
  Files          49       49
  Lines       19902    19902
==========================================
- Hits        18828    18824       -4
- Misses       1074     1078       +4


fix bugs found during terraform applies

to: @Ryxias
cc: @airbnb/streamalert-maintainers
Changes

Removing an unused region variable from the tf_flow_logs module
Fixing list formatting bug in tf_cloudwatch_logs_destination module.

Testing
Update to unit tests.

Coverage remained the same at 96.126% when pulling 7e25feed0d711955ad3ba0f3cf57b0a3c172fb18 on ryandeivert-fix-bugs into 92fdf71c10c09552f382bb0fd937668b3b2934b3 on release-3-0-0.


gc logs report an error, the subnet checked which is not managed by kube-ovn is nil

Expected Behavior
1、It's correct for gc check with all lsps, net-attach-def lsps included.
Actual Behavior
1、When check net-attach-def subnet which is not managed by kube-ovn, it reports an error
Steps to Reproduce the Problem

create subnet not managed by kube-ovn
create pod with this subnet
wait and check gc log

Additional Info

Kubernetes version:
Output of kubectl version:

kube-ovn version:

v1.12.0

operation-system/kernel version:
Output of awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release:
Output of uname -r:
(paste your output here)

After  #2816 is merged, the annotation LogicalSwitchAnnotationTemplate in pod with net-attach-def  subnet will be deleted。
So gc should also adapt this process.


Updated translation

I updated ru_RU translation. Updated URL for Discord Developers and improved translation of some sentences to sound better in Russian.

Thanks for your contribution but these should be updated on crowdin.
https://crowdin.com/translate/gitea/68/enus-ru
Changing these files here would only end up with them being overwritten.


Custom script actions are not working as documented

Problem: Azure HDI cluster unable to access bash scripts submitted via custom script actions (in azure portal). Script actions isn’t working as expected like mentioned in the documentation.
According to the documentation:

A blob in an Azure Storage account that's either the primary or additional storage account for the HDInsight cluster. HDInsight is granted access to both of these types of storage accounts during cluster creation.

Test case 1: Submit a script that resides in a container in a primary storage account
HDI cluster created in a locked-down virtual network and has ADLS Gen 2 as primary storage. HDI uses MI for authentication. MI is assigned storage blob data owner role. ADLS Gen 2 is secured by a firewall and allows traffic only from the HDI virtual network.
Result: ErrorCode: InvalidScriptLocation; ErrorDescription: Failed to validate script action at URI https://adkumarahdidatalakegen2.blob.core.windows.net/scripts/empty.sh. Exception message: Script URI cannot be retrieved correctly. HTTP Status code: NotFound.
Test case 2: Submit a script that resides in a container in a secondary storage account (firewall enabled)
HDI cluster created in a locked-down virtual network has ADLS Gen 2 as primary storage. A secondary storage account was added at the time of cluster creation using Azure portal.
Result: Failed
Test case 3: Submit a script that resides in a container in storage other than primary/secondary storage account
According to this post, it mentions simply assign the managed identity to additional data lake storage.

To add a secondary Data Lake Storage Gen2 account, at the storage account level, simply assign the managed identity created earlier to the new Data Lake Storage Gen2 storage account that you want to add. Please be advised that adding a secondary Data Lake Storage Gen2 account via the "Additional storage accounts" blade on HDInsight isn't supported.

-HDI cluster created in a locked down virtual network and ADLS Gen 2 as primary storage.
-Bash script in a storage other than the primary/secondary storage. HDI managed identity is provided
-Storage is has firewall rules and only HDI vnet is allowed.
-HDI managed identity has Storage blob data owner.
Result: ErrorCode: InvalidScriptLocation; ErrorDescription: Failed to validate script action at URI https://teststorageadkumara.blob.core.windows.net/test/empty.sh. Exception message: Script URI cannot be retrieved correctly. HTTP Status code: Conflict.
Question:
Is secondary storage only way to store bash scripts?

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

ID: 90d2d7ab-bebd-c102-a3d1-1db3c3f2a62e
Version Independent ID: 7422c19c-b4e4-7086-4026-184985eab3ec
Content: Customize Azure HDInsight clusters by using script actions
Content Source: articles/hdinsight/hdinsight-hadoop-customize-cluster-linux.md
Service: hdinsight
GitHub Login: @hrasheed-msft
Microsoft Alias: hrasheed

@akumaranchath  Thank you for bringing this to our notice, our team will look into it and get back to you at the earliest.

Hello @akumaranchath thanks for reaching out and helping us to improve the docs. It seems like the improvements needed are beyond the scope of a documentation update, and will require extensive testing by the product team. I would encourage you to open a support case with Azure support, or open an issue on on the HDInsight QA forums. You can submit a support request from the Azure portal. Select Support from the menu bar or open the Help + support hub. For more detailed information, review How to create an Azure support request.

@hrasheed-msft : Opened a support request. Awaiting confirmation.

@akumaranchath  Let's resolve this thread as-is. Sounds like you got a discussion started with Azure support. If there is change needed to the docs, feel free to respond and we'll continue investigating.
Thanks, Jason
#please-close

@akumaranchath Let's resolve this thread as-is. Sounds like you got a discussion started with Azure support. If there is change needed to the docs, feel free to respond and we'll continue investigating.
Thanks, Jason
#please-close

Hi Jason, Engineering has confirmed that there is a bug. So this document needs to be corrected. I have sent an email to you separately.

Was there ever any response or documentation update? I'm experiencing similar issues. Every configuration/URL I try results in "ValidationFailed" in the portal when trying to use an authenticated script.